[
  {
    "path": ".gitignore",
    "content": "## Ignore Visual Studio temporary files, build results, and\n## files generated by popular Visual Studio add-ons.\n\n# User-specific files\n*.suo\n*.user\n*.userosscache\n*.sln.docstates\n*.nupkg\npackage/lib/net45/\npackage/tools/\npackage/build/*.dll\npackage/build/*.xml\npackage/build/*.exe\npackage/build/*.config\n\n# User-specific files (MonoDevelop/Xamarin Studio)\n*.userprefs\n\n# Build results\n[Dd]ebug/\n[Dd]ebugPublic/\n[Rr]elease/\n[Rr]eleases/\nx64/\nx86/\nbld/\n[Bb]in/\n[Oo]bj/\n\n# Visual Studo 2015 cache/options directory\n.vs/\n\n# MSTest test Results\n[Tt]est[Rr]esult*/\n[Bb]uild[Ll]og.*\n\n# NUNIT\n*.VisualState.xml\nTestResult.xml\n\n# Build Results of an ATL Project\n[Dd]ebugPS/\n[Rr]eleasePS/\ndlldata.c\n\n*_i.c\n*_p.c\n*_i.h\n*.ilk\n*.meta\n*.obj\n*.pch\n*.pdb\n*.pgc\n*.pgd\n*.rsp\n*.sbr\n*.tlb\n*.tli\n*.tlh\n*.tmp\n*.tmp_proj\n*.log\n*.vspscc\n*.vssscc\n.builds\n*.pidb\n*.svclog\n*.scc\n\n# Chutzpah Test files\n_Chutzpah*\n\n# Visual C++ cache files\nipch/\n*.aps\n*.ncb\n*.opensdf\n*.sdf\n*.cachefile\n\n# Visual Studio profiler\n*.psess\n*.vsp\n*.vspx\n\n# TFS 2012 Local Workspace\n$tf/\n\n# Guidance Automation Toolkit\n*.gpState\n\n# ReSharper is a .NET coding add-in\n_ReSharper*/\n*.[Rr]e[Ss]harper\n*.DotSettings.user\n\n# JustCode is a .NET coding addin-in\n.JustCode\n\n# TeamCity is a build add-in\n_TeamCity*\n\n# DotCover is a Code Coverage Tool\n*.dotCover\n\n# NCrunch\n_NCrunch_*\n.*crunch*.local.xml\n\n# MightyMoose\n*.mm.*\nAutoTest.Net/\n\n# Web workbench (sass)\n.sass-cache/\n\n# Installshield output folder\n[Ee]xpress/\n\n# DocProject is a documentation generator add-in\nDocProject/buildhelp/\nDocProject/Help/*.HxT\nDocProject/Help/*.HxC\nDocProject/Help/*.hhc\nDocProject/Help/*.hhk\nDocProject/Help/*.hhp\nDocProject/Help/Html2\nDocProject/Help/html\n\n# Click-Once directory\npublish/\n\n# Publish Web Output\n*.[Pp]ublish.xml\n*.azurePubxml\n# TODO: Comment the next line if you want to checkin your web deploy settings \n# but database connection strings (with potential passwords) will be unencrypted\n*.pubxml\n*.publishproj\n\n# NuGet Packages\n*.nupkg\n# The packages folder can be ignored because of Package Restore\n**/packages/*\n# except build/, which is used as an MSBuild target.\n!**/packages/build/\n# Uncomment if necessary however generally it will be regenerated when needed\n#!**/packages/repositories.config\n\n# Windows Azure Build Output\ncsx/\n*.build.csdef\n\n# Windows Store app package directory\nAppPackages/\n\n# Others\n*.[Cc]ache\nClientBin/\n[Ss]tyle[Cc]op.*\n~$*\n*~\n*.dbmdl\n*.dbproj.schemaview\n*.pfx\n*.publishsettings\nnode_modules/\nbower_components/\n.idea\nReinforced.snk\n\n# RIA/Silverlight projects\nGenerated_Code/\n\n# Backup & report files from converting an old project file\n# to a newer Visual Studio version. Backup files are not needed,\n# because we have git ;-)\n_UpgradeReport_Files/\nBackup*/\nUpgradeLog*.XML\nUpgradeLog*.htm\n\n# SQL Server files\n*.mdf\n*.ldf\n\n# Business Intelligence projects\n*.rdl.data\n*.bim.layout\n*.bim_*.settings\n\n# Microsoft Fakes\nFakesAssemblies/\n\n# Node.js Tools for Visual Studio\n.ntvs_analysis.dat\n\n# Visual Studio 6 build log\n*.plg\n\n# Visual Studio 6 workspace options file\n.vscode\n*.opt\nPlayground/\n\n# Reinforced Typings specific\nReinforced.Typings.Private.sln\nReinforced.Typings.pfx\ndocplan.txt\n/package/build\n/package/buildMultiTargeting\n/package/lib\n/Reinforced.Typings/Reinforced.snk\n/Reinforced.Typings.Cli/Reinforced.snk\n/Reinforced.Typings.Integrate/Reinforced.snk\n\n\\.idea/\n/package\n"
  },
  {
    "path": "LICENSE.md",
    "content": "The MIT License (MIT)\n\nCopyright (c) 2019 Reinforced Opensource Products Family and Pavel B. Novikov personally\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
  },
  {
    "path": "README.md",
    "content": "What is that?\r\n=================\r\nYou develop frontend applications with TypeScript and .NET Backend? You need Reinforced.Typings.\r\n\r\nIt converts .NET classes into TypeScript code. Suffering has ended - you don't need to write and maintain boring TypeScript glue code for your DTOs/ViewModels/APIs anymore - RT can generate it from C# app. \r\nMoreover, it integrates with MSBuild build process and (re)generates glue code every time you rebuild .NET backend. So you get immediately notified when backend's API/DTOs changed and frontend is broken.\r\n\r\nCheck out [documentation](https://github.com/reinforced/Reinforced.Typings/wiki) to discover numbers of useful features (type substitutions, modules, code generators, fluent configuration, multi-file export, JSDOC). \r\n\r\nReinforced.Typings is available on [NuGet](https://www.nuget.org/packages/Reinforced.Typings/).\r\n=================\r\n```sh\r\nPM> Install-Package Reinforced.Typings\r\n```\r\n\r\n**Find out detailed information in Reinforced.Typings [wiki](https://github.com/reinforced/Reinforced.Typings/wiki)**\r\n\r\nNews\r\n=================\r\n> Version **1.6.7** released\r\n\r\n- .NET 10 support. Do not search for 1.6.6 😊\r\n\r\nSupport policy\r\n=================\r\n\r\nPlease **do not** ask your questions in github issues anymore. Such format is not suitable for storing FAQ. If you have question - please go to StackOverflow and ask it there. Tag your question with [reinforced-typings](https://stackoverflow.com/questions/tagged/reinforced-typings) tag. I watch full list of questions and will answer ASAP. Make experience that you've got available for other users! \r\n\r\nGitHub issues are for confirmed bugs/feature requests now. If you've found bug - please write and PR test if you can. If you have feature idea - please describe it from fluent/attribute configuration point of view. Describe how'd you gonna to configure RT for desired result. Thanks in advance!\r\n\r\nBest to be used for\r\n=================\r\n\r\nExporting ViewModels\r\n-----------------\r\n<table>\r\n<tr><td align=\"center\" width=\"48%\">C#</td><td></td><td align=\"center\"  width=\"48%\">TypeScript</td></tr>\r\n<tr>\r\n\t<td>\r\n<pre lang=\"csharp\">\r\nnamespace MyApp\r\n{\r\n    using Reinforced.Typings.Attributes;\r\n\r\n    [TsInterface]\r\n    public class Order\r\n    {\r\n        public string ItemName { get; set; }\r\n        public int Quantity { get; set; }\r\n        public double Subtotal { get; set; }\r\n        public bool IsPaid { get; set; }\r\n        public string ClientName { get; set; }\r\n        public string Address { get; set; }\r\n    }\r\n    \r\n    [TsClass]\r\n    public class User\r\n    {\r\n        public string FirstName { get; set; }\r\n        public string Email { get; set; }\r\n        public UserType Type { get; set; }\r\n    }\r\n\r\n    [TsEnum]\r\n    public enum UserType { One, Two }\r\n}\r\n</pre>\r\n</td>\r\n\t<td><h1>&#8680;</h1></td>\r\n\t<td>\r\n\t<pre lang=\"typescript\">\r\nmodule MyApp {\r\n\texport interface IOrder\r\n\t{\r\n\t\tItemName: string;\r\n\t\tQuantity: number;\r\n\t\tSubtotal: number;\r\n\t\tIsPaid: boolean;\r\n\t\tClientName: string;\r\n\t\tAddress: string;\r\n\t}\r\n\texport class User\r\n\t{\r\n\t\tpublic FirstName: string;\r\n\t\tpublic Email: string;\r\n\t\tpublic Type: MyApp.UserType;\r\n\t}\r\n\texport enum UserType { \r\n\t\tOne = 0, \r\n\t\tTwo = 1, \r\n\t}\r\n}\t\r\n\t</pre>\r\n\t</td>\r\n</tr>\r\n</table>\r\n\r\n...even complex ViewModels\r\n-------------\r\n<table>\r\n<tr><td align=\"center\" width=\"43%\">C#</td><td></td><td align=\"center\"  width=\"48%\">TypeScript</td></tr>\r\n<tr>\r\n\t<td>\r\n<pre lang=\"csharp\">\r\nnamespace MyApp\r\n{\r\n    using Reinforced.Typings.Attributes;\r\n\r\n    [TsInterface]\r\n    public class Page\r\n    {\r\n        public List<Order> Orders { get; set; }\r\n\r\n        public Dictionary<int, Order> \r\n                        Cache { get; set; }\r\n\r\n        public string[] Tags { get; set; }\r\n\r\n        public IEnumerable<object> \r\n                        Things { get; set; }\r\n    }\r\n}\r\n</pre>\r\n</td>\r\n\t<td><h1>&#8680;</h1></td>\r\n\t<td>\r\n\t<pre lang=\"typescript\">\r\nmodule MyApp {\r\n\texport interface IPage\r\n\t{\r\n\t\tOrders: MyApp.IOrder[];\r\n\t\tCache: { [key:number]: MyApp.IOrder };\r\n\t\tTags: string[];\r\n\t\tThings: any[];\r\n\t}\r\n}\t\r\n\t</pre>\r\n\t</td>\r\n</tr>\r\n</table>\r\n\r\nTemporary disabling TypeScript compilation in your project\r\n-------------\r\nNow you will not stay powerless when generated typings fail your TypeScript build in project. See [RtBypassTypeScriptCompilation](https://github.com/reinforced/Reinforced.Typings/wiki/Reinforced.Typings.settings.xml#RtBypassTypeScriptCompilation) configuration parameter.\r\n\r\nInheritance preservation\r\n-------------\r\n<table>\r\n<tr><td align=\"center\" width=\"43%\">C#</td><td></td><td align=\"center\"  width=\"48%\">TypeScript</td></tr>\r\n<tr>\r\n\t<td>\r\n<pre lang=\"csharp\">\r\nnamespace MyApp\r\n{\r\n    using Reinforced.Typings.Attributes;\r\n\r\n    public interface INonExport\r\n    {\r\n        string Boom { get; }\r\n    }\r\n\r\n    [TsInterface]\r\n    public class WithoutInterface\r\n                : INonExport\r\n    {\r\n        public string Boom { get; set; }\r\n    }\r\n\r\n    [TsInterface]\r\n    public interface IEntity\r\n    {\r\n        int Id { get; set; }\r\n    }\r\n\r\n    [TsInterface]\r\n    public class User : IEntity\r\n    {\r\n        public int Id { get; set; }\r\n\r\n        public string Login { get; set; }\r\n    }\r\n}\r\n</pre>\r\n</td>\r\n\t<td><h1>&#8680;</h1></td>\r\n\t<td>\r\n\t<pre lang=\"typescript\">\r\nmodule MyApp {\r\n\texport interface IWithoutInterface\r\n\t{\r\n\t\tBoom: string;\r\n\t}\r\n\texport interface IEntity\r\n\t{\r\n\t\tId: number;\r\n\t}\r\n\texport interface IUser extends MyApp.IEntity\r\n\t{\r\n\t\tId: number;\r\n\t\tLogin: string;\r\n\t}\r\n}\t\r\n\t</pre>\r\n\t</td>\r\n</tr>\r\n</table>\r\n\r\nUse fluent configuration\r\n-------------\r\nDetails can be found [on the corresponding wiki page](https://github.com/reinforced/Reinforced.Typings/wiki/Fluent-configuration)\r\n<table>\r\n<tr><td align=\"center\" width=\"43%\">C#</td><td></td><td align=\"center\"  width=\"48%\">TypeScript</td></tr>\r\n<tr>\r\n\t<td>\r\n<pre lang=\"csharp\">\r\nnamespace MyApp\r\n{\r\n    using Reinforced.Typings.Fluent;\r\n    using System.Web.Mvc;\r\n    \r\n    public class Configuration\r\n    {\r\n        public static void \r\n            Configure(ConfigurationBuilder builder)\r\n        {\r\n            builder\r\n            \t.ExportAsInterface<SelectListItem>()\r\n                .OverrideNamespace(\"MyApp\")\r\n                .WithPublicProperties();\r\n        }\r\n    }\r\n}\r\n</pre>\r\n</td>\r\n\t<td><h1>&#8680;</h1></td>\r\n\t<td>\r\n\t<pre lang=\"typescript\">\r\nmodule MyApp {\r\n\texport interface ISelectListItem\r\n\t{\r\n\t\tDisabled: boolean;\r\n\t\tGroup: any;\r\n\t\tSelected: boolean;\r\n\t\tText: string;\r\n\t\tValue: string;\r\n\t}\r\n}\t\r\n\t</pre>\r\n\t</td>\r\n</tr>\r\n<tr><td align=\"center\" colspan=\"3\">Reinforced.Typings.settings.xml: <code>&lt;RtConfigurationMethod&gt;MyApp.Configuration.Configure&lt;/RtConfigurationMethod&gt;</code></td></tr>\r\n</table>\r\n\r\nGenerate any custom glue code\r\n-------------\r\nRead more [here](https://github.com/reinforced/Reinforced.Typings/wiki#writing-custom-code-generators).\r\n\r\n<table>\r\n<tr><td align=\"center\" width=\"30%\">C#</td><td></td><td align=\"center\"  width=\"48%\">TypeScript</td></tr>\r\n<tr>\r\n\t<td>\r\n<pre lang=\"csharp\">\r\nnamespace MyApp\r\n{\r\n    using Reinforced.Typings.Fluent;\r\n    using System.Web.Mvc;\r\n    \r\n    [TsClass(CodeGeneratorType = typeof(AngularControllerGenerator)]\r\n    public class AngularController : Controller\r\n    {\r\n        [AngularMethod(typeof(SampleResponseModel))]\r\n        public ActionResult Save(Order order)\r\n        {\r\n            return Json(new {\r\n                Message = \"Success\",\r\n                Success = true\r\n            });\r\n        }\r\n    }\r\n    \r\n    public class AngularMethodAttribute \r\n            : TsFunctionAttribute\r\n    {\r\n        public AngularMethodAttribute(Type returnType)\r\n        {\r\n            StrongType = returnType;\r\n            CodeGeneratorType = typeof \r\n             (AngularActionCallGenerator);\r\n        }\r\n    }\r\n    \r\n    public class AngularActionCallGenerator \r\n            : MethodCodeGenerator\r\n    {\r\n        // too long - see sample\r\n    }\r\n    \r\n    public class AngularControllerGenerator \r\n            : ClassCodeGenerator\r\n    {\r\n        // too long - see sample\r\n    }\r\n    \r\n    [TsInterface]\r\n    public class SampleResponseModel\r\n    {\r\n        public string Message { get; set; }\r\n        public bool Success { get; set; }    \r\n    }\r\n}\r\n</pre>\r\n</td>\r\n\t<td><h1>&#8680;</h1></td>\r\n\t<td>\r\n\t<pre lang=\"typescript\">\r\nmodule MyApp {\r\n\texport interface ISampleResponseModel\r\n\t{\r\n\t\tMessage: string;\r\n\t\tSuccess: boolean;\r\n\t}\r\n    \r\n\tif (window['app']) {\r\n        window['app'].factory('Api.AngularController', \r\n        ['$http', \r\n            ($http: angular.IHttpService) => new AngularController($http)]);\r\n    }\r\n    \r\n\t/** Result of AngularControllerGenerator activity */\r\n\texport class AngularController\r\n\t{\r\n\t\tconstructor ($http: angular.IHttpService)\r\n\t\t{\r\n\t\t\tthis.http = $http;\r\n\t\t}\r\n\t\tpublic Save(order: IOrder) : angular.IPromise&lt;ISampleResponseModel&gt;\r\n\t\t{\r\n\t\t\tvar params = { 'order': order };\r\n\t\t\treturn this.http.post('/Angular/Save', params)\r\n\t\t\t    .then((response) => { return response.data; });\r\n\t\t}\r\n    }        \r\n}\t\r\n\t</pre>\r\n\t</td>\r\n</tr>\r\n</table>\r\n\r\n"
  },
  {
    "path": "Reinforced.Typings/AccessModifier.cs",
    "content": "﻿namespace Reinforced.Typings\n{\n    /// <summary>\n    ///     Represents member's access modifier\n    /// </summary>\n    public enum AccessModifier\n    {\n        /// <summary>\n        ///     private\n        /// </summary>\n        Private,\n\n        /// <summary>\n        ///     protected\n        /// </summary>\n        Protected,\n\n        /// <summary>\n        ///     public\n        /// </summary>\n        Public\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Ast/Dependency/RtImport.cs",
    "content": "﻿using System;\r\nusing System.Collections.Generic;\r\n\r\nnamespace Reinforced.Typings.Ast.Dependency\r\n{\r\n    /// <summary>\r\n    /// Import declaration\r\n    /// </summary>\r\n    public class RtImport : RtNode\r\n    {\r\n        private string _target;\r\n\r\n        /// <summary>\r\n        /// Targets list\r\n        /// </summary>\r\n        public string Target\r\n        {\r\n            get { return _target; }\r\n            set\r\n            {\r\n                _target = value == null ? null : value.Trim();\r\n                CheckWildcardImport();\r\n            }\r\n        }\r\n\r\n        /// <summary>\r\n        /// Gets flag whether RtImport is wildcard import\r\n        /// </summary>\r\n        public bool IsWildcard { get { return WildcardAlias != null; } }\r\n\r\n        /// <summary>\r\n        /// Gets wildcard alias of import\r\n        /// </summary>\r\n        public string WildcardAlias { get; private set; }\r\n\r\n        private void CheckWildcardImport()\r\n        {\r\n            if (_target.StartsWith(\"*\"))\r\n            {\r\n                var arr = _target.Split(new[] { \" as \" }, StringSplitOptions.RemoveEmptyEntries);\r\n                if (arr.Length < 2)\r\n                {\r\n                    WildcardAlias = null;\r\n\r\n                }\r\n                else\r\n                {\r\n                    WildcardAlias = arr[1];\r\n                }\r\n            }\r\n            else\r\n            {\r\n                WildcardAlias = null;\r\n            }\r\n        }\r\n\r\n        /// <summary>\r\n        /// Import source\r\n        /// </summary>\r\n        public string From { get; set; }\r\n\r\n        /// <summary>\r\n        /// When true, \"from\" part will be replaced with \"= require('From')\"\r\n        /// </summary>\r\n        public bool IsRequire { get; set; }\r\n\r\n        /// <inheritdoc />\r\n        public override IEnumerable<RtNode> Children { get { yield break; } }\r\n\r\n        /// <inheritdoc />\r\n        public override void Accept(IRtVisitor visitor)\r\n        {\r\n            visitor.Visit(this);\r\n        }\r\n\r\n        /// <inheritdoc />\r\n        public override void Accept<T>(IRtVisitor<T> visitor)\r\n        {\r\n            visitor.Visit(this);\r\n        }\r\n\r\n        /// <inheritdoc />\r\n        public override string ToString()\r\n        {\r\n            if (IsRequire) return string.Format(\"import {0} = require('{1}');\", Target, From);\r\n            return string.Format(\"import {0} from '{1}';\", Target, From);\r\n        }\r\n    }\r\n}\r\n"
  },
  {
    "path": "Reinforced.Typings/Ast/Dependency/RtReference.cs",
    "content": "﻿using System.Collections.Generic;\n\nnamespace Reinforced.Typings.Ast.Dependency\n{\n    /// <summary>\n    /// AST node for TS reference exposed as comment\n    /// </summary>\n    public class RtReference : RtNode\n    {\n        /// <summary>\n        /// File to reference\n        /// </summary>\n        public string Path { get; set; }\n\n        /// <inheritdoc />\n        public override IEnumerable<RtNode> Children { get { yield break; } }\n\n        /// <inheritdoc />\n        public override void Accept(IRtVisitor visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <inheritdoc />\n        public override void Accept<T>(IRtVisitor<T> visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <inheritdoc />\n        public override string ToString()\n        {\n            return string.Format(\"///<reference path='{0}' />\", Path);\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Ast/DocTag.cs",
    "content": "﻿using System.Reflection;\n\nnamespace Reinforced.Typings.Ast\n{\n    /// <summary>\n    /// Describes all possible JSDOC tags\n    /// </summary>\n    public enum DocTag\n    {\n        /// <summary> This member must be implemented (or overridden) by the inheritor. </summary> \n        [JsdocTag(\"@abstract\")]\n        Abstract,\n        /// <summary> Specify the access level of this member (private, public, or protected). </summary> \n        [JsdocTag(\"@access\")]\n        Access,\n        /// <summary> Treat a member as if it had a different name. </summary> \n        [JsdocTag(\"@alias\")]\n        Alias,\n        /// <summary> Indicate that a symbol inherits from, ands adds to, a parent symbol. </summary> \n        [JsdocTag(\"@augments\")]\n        Augments,\n        /// <summary> Identify the author of an item. </summary> \n        [JsdocTag(\"@author\")]\n        Author,\n        /// <summary> This object uses something from another object. </summary> \n        [JsdocTag(\"@borrows\")]\n        Borrows,\n        /// <summary> Document a callback function. </summary> \n        [JsdocTag(\"@callback\")]\n        Callback,\n        /// <summary> This function is intended to be called with the \"new\" keyword. </summary> \n        [JsdocTag(\"@class\")]\n        Class,\n        /// <summary> Use the following text to describe the entire class. </summary> \n        [JsdocTag(\"@classdesc\")]\n        Classdesc,\n        /// <summary> Document an object as a constant. </summary> \n        [JsdocTag(\"@constant\")]\n        Constant,\n        /// <summary> This function member will be the constructor for the previous class. </summary> \n        [JsdocTag(\"@constructs\")]\n        Constructs,\n        /// <summary> Document some copyright information. </summary> \n        [JsdocTag(\"@copyright\")]\n        Copyright,\n        /// <summary> Document the default value. </summary> \n        [JsdocTag(\"@default\")]\n        Default,\n        /// <summary> Document that this is no longer the preferred way. </summary> \n        [JsdocTag(\"@deprecated\")]\n        Deprecated,\n        /// <summary> Describe a symbol. </summary> \n        [JsdocTag(\"@description\")]\n        Description,\n        /// <summary> Document a collection of related properties. </summary> \n        [JsdocTag(\"@enum\")]\n        Enum,\n        /// <summary> Document an event. </summary> \n        [JsdocTag(\"@event\")]\n        Event,\n        /// <summary> Provide an example of how to use a documented item. </summary> \n        [JsdocTag(\"@example\")]\n        Example,\n        /// <summary> Identify the member that is exported by a JavaScript module. </summary> \n        [JsdocTag(\"@exports\")]\n        Exports,\n        /// <summary> Identifies an external class, namespace, or module. </summary> \n        [JsdocTag(\"@external\")]\n        External,\n        /// <summary> Describe a file. </summary> \n        [JsdocTag(\"@file\")]\n        File,\n        /// <summary> Describe the events this method may fire. </summary> \n        [JsdocTag(\"@fires\")]\n        Fires,\n        /// <summary> Describe a function or method. </summary> \n        [JsdocTag(\"@function\")]\n        Function,\n        /// <summary> Document a global object. </summary> \n        [JsdocTag(\"@global\")]\n        Global,\n        /// <summary> Omit a symbol from the documentation. </summary> \n        [JsdocTag(\"@ignore\")]\n        Ignore,\n        /// <summary> This symbol implements an interface. </summary> \n        [JsdocTag(\"@implements\")]\n        Implements,\n        /// <summary> Indicate that a symbol should inherit its parent's documentation. </summary> \n        [JsdocTag(\"@inheritdoc\")]\n        Inheritdoc,\n        /// <summary> Document an inner object. </summary> \n        [JsdocTag(\"@inner\")]\n        Inner,\n        /// <summary> Document an instance member. </summary> \n        [JsdocTag(\"@instance\")]\n        Instance,\n        /// <summary> This symbol is an interface that others can implement. </summary> \n        [JsdocTag(\"@interface\")]\n        Interface,\n        /// <summary> What kind of symbol is this? </summary> \n        [JsdocTag(\"@kind\")]\n        Kind,\n        /// <summary> Document properties on an object literal as if they belonged to a symbol with a given name. </summary> \n        [JsdocTag(\"@lends\")]\n        Lends,\n        /// <summary> Identify the license that applies to this code. </summary> \n        [JsdocTag(\"@license\")]\n        License,\n        /// <summary> List the events that a symbol listens for. </summary> \n        [JsdocTag(\"@listens\")]\n        Listens,\n        /// <summary> Document a member. </summary> \n        [JsdocTag(\"@member\")]\n        Member,\n        /// <summary> This symbol belongs to a parent symbol. </summary> \n        [JsdocTag(\"@memberof\")]\n        Memberof,\n        /// <summary> This object mixes in all the members from another object. </summary> \n        [JsdocTag(\"@mixes\")]\n        Mixes,\n        /// <summary> Document a mixin object. </summary> \n        [JsdocTag(\"@mixin\")]\n        Mixin,\n        /// <summary> Document a JavaScript module. </summary> \n        [JsdocTag(\"@module\")]\n        Module,\n        /// <summary> Document the name of an object. </summary> \n        [JsdocTag(\"@name\")]\n        Name,\n        /// <summary> Document a namespace object. </summary> \n        [JsdocTag(\"@namespace\")]\n        Namespace,\n        /// <summary> Indicate that a symbol overrides its parent. </summary> \n        [JsdocTag(\"@override\")]\n        Override,\n        /// <summary> Document the parameter to a function. </summary> \n        [JsdocTag(\"@param\")]\n        Param,\n        /// <summary> This symbol is meant to be private. </summary> \n        [JsdocTag(\"@private\")]\n        Private,\n        /// <summary> Document a property of an object. </summary> \n        [JsdocTag(\"@property\")]\n        Property,\n        /// <summary> This symbol is meant to be protected. </summary> \n        [JsdocTag(\"@protected\")]\n        Protected,\n        /// <summary> This symbol is meant to be public. </summary> \n        [JsdocTag(\"@public\")]\n        Public,\n        /// <summary> This symbol is meant to be read-only. </summary> \n        [JsdocTag(\"@readonly\")]\n        Readonly,\n        /// <summary> This file requires a JavaScript module. </summary> \n        [JsdocTag(\"@requires\")]\n        Requires,\n        /// <summary> Document the return value of a function. </summary> \n        [JsdocTag(\"@returns\")]\n        Returns,\n        /// <summary> Refer to some other documentation for more information. </summary> \n        [JsdocTag(\"@see\")]\n        See,\n        /// <summary> When was this feature added? </summary> \n        [JsdocTag(\"@since\")]\n        Since,\n        /// <summary> Document a static member. </summary> \n        [JsdocTag(\"@static\")]\n        Static,\n        /// <summary> A shorter version of the full description. </summary> \n        [JsdocTag(\"@summary\")]\n        Summary,\n        /// <summary> What does the 'this' keyword refer to here? </summary> \n        [JsdocTag(\"@this\")]\n        This,\n        /// <summary> Describe what errors could be thrown. </summary> \n        [JsdocTag(\"@throws\")]\n        Throws,\n        /// <summary> Document tasks to be completed. </summary> \n        [JsdocTag(\"@todo\")]\n        Todo,\n        /// <summary> Insert a link to an included tutorial file. </summary> \n        [JsdocTag(\"@tutorial\")]\n        Tutorial,\n        /// <summary> Document the type of an object. </summary> \n        [JsdocTag(\"@type\")]\n        Type,\n        /// <summary> Document a custom type. </summary> \n        [JsdocTag(\"@typedef\")]\n        Typedef,\n        /// <summary> Distinguish different objects with the same name. </summary> \n        [JsdocTag(\"@variation\")]\n        Variation,\n        /// <summary>\n        /// Documents the version number of an item\n        /// </summary>\n        [JsdocTag(\"@version\")]\n        Version,\n\n    }\n\n    /// <summary>\n    /// Extension methods for DocTag enum\n    /// </summary>\n    public static class DocTagExtensions\n    {\n        /// <summary>\n        /// Converts DocTag value to corresponding JSDOC-friendly name\n        /// </summary>\n        /// <param name=\"tag\">Tag instance</param>\n        /// <returns>JSDOC-friendly name</returns>\n        public static string Tagname(this DocTag tag)\n        {\n            var member = typeof (DocTag)._GetField(tag.ToString());\n            return member.GetCustomAttribute<JsdocTagAttribute>().RawTagName;\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Ast/IDecoratable.cs",
    "content": "﻿using System.Collections.Generic;\n\nnamespace Reinforced.Typings.Ast\n{\n    /// <summary>\n    /// Node containing decorators\n    /// </summary>\n    public interface IDecoratable\n    {\n        /// <summary>\n        /// Set of decorators applied to node\n        /// </summary>\n        List<RtDecorator> Decorators { get; }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Ast/IRtVisitor.cs",
    "content": "﻿using Reinforced.Typings.Ast.Dependency;\nusing Reinforced.Typings.Ast.TypeNames;\n\n#pragma warning disable 1591\nnamespace Reinforced.Typings.Ast\n{\n    /// <summary>\n    /// Base interface for visitor traversing simple TypeScript AST tree\n    /// </summary>\n    /// <typeparam name=\"T\">Node traverse result</typeparam>\n    public interface IRtVisitor<out T>\n    {\n        T Visit(RtNode node);\n        T Visit(RtField node);\n        T Visit(RtInterface node);\n        T Visit(RtFunction node);\n        T Visit(RtArgument node);\n        T Visit(RtClass node);\n        T Visit(RtIdentifier node);\n        T Visit(RtDelegateType node);\n        T Visit(RtSimpleTypeName node);\n        T Visit(RtRaw node);\n        T Visit(RtJsdocNode node);\n        T Visit(RtNamespace node);\n        T Visit(RtEnumValue node);\n        T Visit(RtEnum node);\n        T Visit(RtDictionaryType node);\n        T Visit(RtArrayType node);\n        T Visit(RtConstructor node);\n        T Visit(RtImport node);\n        T Visit(RtDecorator node);\n        T Visit(RtReference node);\n        T Visit(RtTuple node);\n    }\n\n    /// <summary>\n    /// Base interface for void visitor traversing simple TypeScript AST tree\n    /// </summary>\n    public interface IRtVisitor\n    {\n        void Visit(RtNode node);\n        void Visit(RtField node);\n        void Visit(RtInterface node);\n        void Visit(RtFunction node);\n        void Visit(RtArgument node);\n        void Visit(RtClass node);\n        void Visit(RtIdentifier node);\n        void Visit(RtDelegateType node);\n        void Visit(RtSimpleTypeName node);\n        void Visit(RtRaw node);\n        void Visit(RtJsdocNode node);\n        void Visit(RtNamespace node);\n        void Visit(RtEnumValue node);\n        void Visit(RtEnum node);\n        void Visit(RtDictionaryType node);\n        void Visit(RtArrayType node);\n        void Visit(RtConstructor node);\n        void Visit(RtImport node);\n        void Visit(RtDecorator node);\n        void Visit(RtReference node);\n        void Visit(RtTuple node);\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Ast/ITypeMember.cs",
    "content": "﻿using System.Collections.Generic;\nusing Reinforced.Typings.Ast.TypeNames;\n\nnamespace Reinforced.Typings.Ast\n{\n    /// <summary>\n    /// Abstraction for RtClass and RtInterface AST\n    /// </summary>\n    public interface ITypeMember\n    {\n        /// <summary>\n        /// Denotes current class to be exported\n        /// </summary>\n        bool Export { get; set; }\n\n        /// <summary>\n        /// Denotes that current class must be default export of module\n        /// </summary>\n        bool DefaultExport { get; set; }\n\n        /// <summary>\n        /// JSDOC\n        /// </summary>\n        RtJsdocNode Documentation { get; set; }\n\n        /// <summary>\n        /// Class/interface members\n        /// </summary>\n        List<RtNode> Members { get; }\n\n        /// <summary>\n        /// class/interface name\n        /// </summary>\n        RtSimpleTypeName Name { get; set; }\n\n        /// <summary>\n        /// Implementing types names\n        /// </summary>\n        List<RtSimpleTypeName> Implementees { get; }\n\n        /// <summary>\n        /// Order of writing\n        /// </summary>\n        double Order { get; set; }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Ast/JsdocTagAttribute.cs",
    "content": "﻿using System;\n\nnamespace Reinforced.Typings.Ast\n{\n    /// <summary>\n    /// JSDOC tag attribute to convert enum name back to JSDOC tag\n    /// </summary>\n    internal class JsdocTagAttribute : Attribute\n    {\n        /// <summary>\n        /// Raw tag name\n        /// </summary>\n        public string RawTagName { get; set; }\n\n        /// <summary>\n        /// Constructs new instance of JsdicTag attribute\n        /// </summary>\n        /// <param name=\"rawTagName\">Raw tag name</param>\n        public JsdocTagAttribute(string rawTagName)\n        {\n            RawTagName = rawTagName;\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Ast/RtArgument.cs",
    "content": "﻿using System.Collections.Generic;\nusing System.Text;\nusing Reinforced.Typings.Ast.TypeNames;\n\nnamespace Reinforced.Typings.Ast\n{\n    /// <summary>\n    /// AST node for method parameter\n    /// </summary>\n    public class RtArgument : RtNode, IDecoratable\n    {\n        /// <summary>\n        /// Constructs new RtArgument\n        /// </summary>\n        public RtArgument()\n        {\n            Decorators = new List<RtDecorator>();\n        }\n\n        /// <summary>\n        /// Parameter identifier\n        /// </summary>\n        public RtIdentifier Identifier { get; set; }\n\n        /// <summary>\n        /// Default value (raw typescript expression)\n        /// </summary>\n        public string DefaultValue { get; set; }\n\n        /// <summary>\n        /// Is this parameter represents variable method parameterss\n        /// </summary>\n        public bool IsVariableParameters { get; set; }\n\n        /// <summary>\n        /// Argument type\n        /// </summary>\n        public RtTypeName Type { get; set; }\n\n        /// <inheritdoc />\n        public override IEnumerable<RtNode> Children\n        {\n            get\n            {\n                foreach (var rtDecorator in Decorators)\n                {\n                    yield return rtDecorator;\n                }\n                yield return Identifier;\n                yield return Type;\n            }\n        }\n\n        /// <inheritdoc />\n        public override void Accept(IRtVisitor visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <inheritdoc />\n        public override void Accept<T>(IRtVisitor<T> visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <inheritdoc />\n        public override string ToString()\n        {\n            StringBuilder sb = new StringBuilder();\n            if (IsVariableParameters) sb.Append(\"...\");\n            sb.AppendFormat(\"{0}: {1}\", Identifier, Type);\n            if (!string.IsNullOrEmpty(DefaultValue))\n            {\n                sb.AppendFormat(\" = {0}\", DefaultValue);\n            }\n            return sb.ToString();\n        }\n\n        /// <inheritdoc />\n        public List<RtDecorator> Decorators { get; private set; }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Ast/RtClass.cs",
    "content": "﻿using System.Collections.Generic;\nusing Reinforced.Typings.Ast.TypeNames;\n\nnamespace Reinforced.Typings.Ast\n{\n    /// <summary>\n    /// AST node for TypeScript class\n    /// </summary>\n    public class RtClass : RtCompilationUnit, ITypeMember, IDecoratable\n    {\n        /// <inheritdoc />\n        public List<RtDecorator> Decorators { get; private set; }\n\n        /// <inheritdoc />\n        public RtJsdocNode Documentation { get; set; }\n\n        /// <inheritdoc />\n        public RtSimpleTypeName Name { get; set; }\n\n        /// <inheritdoc />\n        public List<RtSimpleTypeName> Implementees { get; private set; }\n\n        /// <summary>\n        /// Gets or sets type name that this class is being extened (inherit) from\n        /// </summary>\n        public RtTypeName Extendee { get; set; }\n\n        /// <inheritdoc />\n        public List<RtNode> Members { get; private set; } \n        \n        /// <summary>\n        /// Gets or sets whether generated class will be abstract or not\n        /// </summary>\n        public bool Abstract { get; set; }\n\n        /// <summary>\n        /// Constructs new instance of AST node\n        /// </summary>\n        public RtClass()\n        {\n            Members = new List<RtNode>();\n            Implementees = new List<RtSimpleTypeName>();\n            Decorators = new List<RtDecorator>();\n        }\n\n        /// <inheritdoc />\n        public override IEnumerable<RtNode> Children\n        {\n            get\n            {\n                yield return Documentation;\n\n                foreach (var rtDecorator in Decorators)\n                {\n                    yield return rtDecorator;\n                }\n                \n                yield return Name;\n                foreach (var implementee in Implementees)\n                {\n                    yield return implementee;\n                }\n                \n                yield return Extendee;\n                foreach (var rtMember in Members)\n                {\n                    yield return rtMember;\n                }\n            }\n        }\n\n        /// <inheritdoc />\n        public override void Accept(IRtVisitor visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <inheritdoc />\n        public override void Accept<T>(IRtVisitor<T> visitor)\n        {\n            visitor.Visit(this);\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Ast/RtCompilationUnit.cs",
    "content": "﻿namespace Reinforced.Typings.Ast\n{\n    /// <summary>\n    /// Abstract AST node for class/interface/enum\n    /// </summary>\n    public abstract class RtCompilationUnit : RtNode\n    {\n        /// <summary>\n        /// Denotes current class to be exported\n        /// </summary>\n        public bool Export { get; set; }\n\n        /// <summary>\n        /// Denotes that current class must be default export of module\n        /// </summary>\n        public bool DefaultExport { get; set; }\n\n        /// <summary>\n        /// Order of writing\n        /// </summary>\n        public double Order { get; set; }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Ast/RtConstructor.cs",
    "content": "﻿using System.Collections.Generic;\n\nnamespace Reinforced.Typings.Ast\n{\n    /// <summary>\n    /// AST node for class constructor\n    /// </summary>\n    public class RtConstructor : RtMember\n    {\n        /// <summary>\n        /// Constructor parameters\n        /// </summary>\n        public List<RtArgument> Arguments { get; set; }\n\n        /// <summary>\n        /// Array of arguments to be substitute to super(...) call\n        /// </summary>\n        public List<string> SuperCallParameters { get; private set; }\n\n        /// <summary>\n        /// When true, super(...) call will be generated. Otherwise will not\n        /// </summary>\n        public bool NeedsSuperCall { get; set; }\n\n        /// <summary>\n        /// Constructs new instance of AST node\n        /// </summary>\n        public RtConstructor()\n        {\n            Arguments = new List<RtArgument>();\n            SuperCallParameters = new List<string>();\n        }\n\n        /// <summary>\n        /// Implementation body (raw content)\n        /// </summary>\n        public RtRaw Body { get; set; }\n\n        /// <inheritdoc />\n        public override IEnumerable<RtNode> Children\n        {\n            get\n            {\n                foreach (var rtArgument in Arguments)\n                {\n                    yield return rtArgument;\n                }\n                yield return Body;\n            }\n        }\n\n        /// <inheritdoc />\n        public override void Accept(IRtVisitor visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <inheritdoc />\n        public override void Accept<T>(IRtVisitor<T> visitor)\n        {\n            visitor.Visit(this);\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Ast/RtDecorator.cs",
    "content": "﻿using System.Collections.Generic;\n\nnamespace Reinforced.Typings.Ast\n{\n    /// <summary>\n    /// Syntax node for TS decorator\n    /// </summary>\n    public class RtDecorator : RtNode\n    {\n        /// <summary>\n        /// Decorator name (everything that must follow after \"@\")\n        /// </summary>\n        public string Decorator { get; private set; }\n\n        /// <summary>\n        /// Order of appearence\n        /// </summary>\n        public double Order { get; set; }\n\n        /// <inheritdoc />\n        public override IEnumerable<RtNode> Children { get {yield break;} }\n\n        /// <inheritdoc />\n        public override void Accept(IRtVisitor visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <inheritdoc />\n        public override void Accept<T>(IRtVisitor<T> visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <summary>\n        /// Constructs new RtDecorator\n        /// </summary>\n        /// <param name=\"decorator\">Decorator content</param>\n        /// <param name=\"order\">Decorator order</param>\n        public RtDecorator(string decorator, double order = 0)\n        {\n            Decorator = decorator;\n            Order = order;\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Ast/RtEnum.cs",
    "content": "﻿using System.Collections.Generic;\nusing Reinforced.Typings.Ast.TypeNames;\n\nnamespace Reinforced.Typings.Ast\n{\n    /// <summary>\n    /// AST node for TypeScript enumeration\n    /// </summary>\n    public class RtEnum : RtCompilationUnit, IDecoratable\n    {\n        /// <summary>\n        /// JSDOC\n        /// </summary>\n        public RtJsdocNode Documentation { get; set; }\n\n        /// <summary>\n        /// Enum name\n        /// </summary>\n        public RtSimpleTypeName EnumName { get; set; }\n\n        /// <summary>\n        /// Enum values\n        /// </summary>\n        public List<RtEnumValue> Values { get; private set; }\n\n        /// <summary>\n        /// Constructs new instance of AST node\n        /// </summary>\n        public RtEnum()\n        {\n            Values = new List<RtEnumValue>();\n            Decorators = new List<RtDecorator>();\n        }\n\n        /// <summary>\n        /// When true, results \"const\" enum instead of usual\n        /// </summary>\n        public bool IsConst { get; set; }\n\n        /// <inheritdoc />\n        public override IEnumerable<RtNode> Children\n        {\n            get\n            {\n                foreach (var rtNode in Decorators)\n                {\n                    yield return rtNode;\n                }\n                if (Values != null)\n                {\n                    foreach (var rtEnumValue in Values)\n                    {\n                        yield return rtEnumValue;\n                    }\n                }\n            }\n        }\n\n        /// <inheritdoc />\n        public override void Accept(IRtVisitor visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <inheritdoc />\n        public override void Accept<T>(IRtVisitor<T> visitor)\n        {\n            visitor.Visit(this);\n        }\n\n\n        /// <inheritdoc />\n        public List<RtDecorator> Decorators { get; private set; }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Ast/RtEnumValue.cs",
    "content": "﻿using System.Collections.Generic;\n\nnamespace Reinforced.Typings.Ast\n{\n    /// <summary>\n    /// AST node for TypeScript enumeration value\n    /// </summary>\n    public class RtEnumValue : RtNode\n    {\n        /// <summary>\n        /// JSDOC\n        /// </summary>\n        public RtJsdocNode Documentation { get; set; }\n\n        /// <summary>\n        /// Value name\n        /// </summary>\n        public string EnumValueName { get; set; }\n\n        /// <summary>\n        /// Value value\n        /// </summary>\n        public string EnumValue { get; set; }\n\n        /// <summary>\n        /// Gets or sets line that will follow after member\n        /// </summary>\n        public string LineAfter { get; set; }\n\n        /// <inheritdoc />\n        public override IEnumerable<RtNode> Children\n        {\n            get { yield break; }\n        }\n\n        /// <inheritdoc />\n        public override void Accept(IRtVisitor visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <inheritdoc />\n        public override void Accept<T>(IRtVisitor<T> visitor)\n        {\n            visitor.Visit(this);\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Ast/RtField.cs",
    "content": "﻿using System.Collections.Generic;\nusing Reinforced.Typings.Ast.TypeNames;\n\nnamespace Reinforced.Typings.Ast\n{\n    /// <summary>\n    /// AST node for TypeScript field\n    /// </summary>\n    public class RtField : RtMember, IDecoratable\n    {\n        /// <summary>\n        /// Field name\n        /// </summary>\n        public RtIdentifier Identifier { get; set; }\n\n        /// <summary>\n        /// Field type\n        /// </summary>\n        public RtTypeName Type { get; set; }\n\n        /// <summary>\n        /// TypeScript expression to initialize field\n        /// </summary>\n        public string InitializationExpression { get; set; }\n\n        /// <inheritdoc />\n        public override IEnumerable<RtNode> Children\n        {\n            get\n            {\n                yield return Documentation;\n                foreach (var rtDecorator in Decorators)\n                {\n                    yield return rtDecorator;\n                }\n                yield return Identifier;\n                yield return Type;\n            }\n        }\n\n        /// <inheritdoc />\n        public override void Accept(IRtVisitor visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <inheritdoc />\n        public override void Accept<T>(IRtVisitor<T> visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <summary>\n        /// Constructs new RtField\n        /// </summary>\n        public RtField()\n        {\n            Decorators = new List<RtDecorator>();\n        }\n\n        /// <inheritdoc />\n        public List<RtDecorator> Decorators { get; private set; }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Ast/RtFunction.cs",
    "content": "﻿using System.Collections.Generic;\nusing Reinforced.Typings.Ast.TypeNames;\n\nnamespace Reinforced.Typings.Ast\n{\n    /// <summary>\n    /// AST node for TypeScript member function\n    /// </summary>\n    public class RtFunction : RtMember, IDecoratable\n    {\n        /// <summary>\n        /// Constructs new instance of AST node\n        /// </summary>\n        public RtFunction()\n        {\n            Arguments = new List<RtArgument>();\n            Decorators = new List<RtDecorator>();\n        }\n\n        /// <summary>\n        /// Gets or sets whether function is async\n        /// </summary>\n        public bool IsAsync { get; set; }\n\n        /// <summary>\n        /// Function name\n        /// </summary>\n        public RtIdentifier Identifier { get; set; }\n\n        /// <summary>\n        /// Function return type\n        /// </summary>\n        public RtTypeName ReturnType { get; set; }\n\n        /// <summary>\n        /// Function parameters\n        /// </summary>\n        public List<RtArgument> Arguments { get; private set; }\n\n        /// <inheritdoc />\n        public List<RtDecorator> Decorators { get; private set; }\n\n        /// <summary>\n        /// Function body (supplied as raw text)\n        /// </summary>\n        public RtRaw Body { get; set; }\n\n        /// <inheritdoc />\n        public override IEnumerable<RtNode> Children\n        {\n            get\n            {\n                foreach (var rtDecorator in Decorators)\n                {\n                    yield return rtDecorator;\n                }\n                yield return Identifier;\n                yield return ReturnType;\n                foreach (var rtArgument in Arguments)\n                {\n                    yield return rtArgument;\n                }\n                if (Body != null) yield return Body;\n            }\n        }\n\n        /// <inheritdoc />\n        public override void Accept(IRtVisitor visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <inheritdoc />\n        public override void Accept<T>(IRtVisitor<T> visitor)\n        {\n            visitor.Visit(this);\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Ast/RtIdentifier.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\n\nnamespace Reinforced.Typings.Ast\n{\n    /// <summary>\n    /// AST node for identifier name\n    /// </summary>\n    public class RtIdentifier : RtNode\n    {\n        /// <summary>\n        /// Constructs new instance of AST node\n        /// </summary>\n        public RtIdentifier()\n        {\n        }\n\n        /// <summary>\n        /// Constructs new instance of AST node\n        /// </summary>\n        /// <param name=\"identifierName\">identifier name</param>\n        public RtIdentifier(string identifierName)\n        {\n            IdentifierName = identifierName;\n        }\n\n        /// <summary>\n        /// Identifier name\n        /// </summary>\n        public string IdentifierName { get; set; }\n\n        /// <summary>\n        /// Is current identifier nullable\n        /// </summary>\n        public bool IsNullable { get; set; }\n\n        /// <inheritdoc />\n        public override IEnumerable<RtNode> Children\n        {\n            get { yield break; }\n        }\n\n        /// <inheritdoc />\n        public override void Accept(IRtVisitor visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <inheritdoc />\n        public override void Accept<T>(IRtVisitor<T> visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <inheritdoc />\n        public override string ToString()\n        {\n            return IdentifierName + (IsNullable?\"?\":String.Empty);\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Ast/RtInterface.cs",
    "content": "﻿using System.Collections.Generic;\nusing Reinforced.Typings.Ast.TypeNames;\n\nnamespace Reinforced.Typings.Ast\n{\n    /// <summary>\n    /// AST node for typeScript interface\n    /// </summary>\n    public class RtInterface : RtCompilationUnit, ITypeMember\n    {\n        /// <inheritdoc />\n        public RtSimpleTypeName Name { get; set; }\n\n        /// <inheritdoc />\n        public List<RtSimpleTypeName> Implementees { get; private set; }\n\n        /// <inheritdoc />\n        public RtJsdocNode Documentation { get; set; }\n\n        /// <inheritdoc />\n        public List<RtNode> Members { get; private set; }\n\n        /// <inheritdoc />\n        public override IEnumerable<RtNode> Children\n        {\n            get\n            {\n                yield return Documentation;\n                yield return Name;\n                foreach (var rtSimpleTypeName in Implementees)\n                {\n                    yield return rtSimpleTypeName;\n                }\n\n                foreach (var rtMember in Members)\n                {\n                    yield return rtMember;\n                }\n            }\n        }\n\n        /// <inheritdoc />\n        public override void Accept(IRtVisitor visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <inheritdoc />\n        public override void Accept<T>(IRtVisitor<T> visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <summary>\n        /// Constructs new instance of AST node\n        /// </summary>\n        public RtInterface()\n        {\n            Members = new List<RtNode>();\n            Implementees = new List<RtSimpleTypeName>();\n        }\n     \n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Ast/RtJsdocNode.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\n\nnamespace Reinforced.Typings.Ast\n{\n    /// <summary>\n    /// AST node for JSDOC documentation\n    /// </summary>\n    public class RtJsdocNode : RtNode\n    {\n        /// <summary>\n        /// Main documentation text\n        /// </summary>\n        public string Description { get; set; }\n\n        /// <summary>\n        /// Additional JSDOC documentation tags\n        /// </summary>\n        public List<Tuple<DocTag, string>> TagToDescription { get; private set; }\n\n        /// <summary>\n        /// Constructs new instance of AST node\n        /// </summary>\n        public RtJsdocNode()\n        {\n            TagToDescription = new List<Tuple<DocTag, string>>();\n        }\n\n        /// <inheritdoc />\n        public override IEnumerable<RtNode> Children\n        {\n            get { yield break; }\n        }\n\n        /// <inheritdoc />\n        public override void Accept(IRtVisitor visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <inheritdoc />\n        public override void Accept<T>(IRtVisitor<T> visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <summary>\n        /// Adds an additional JSDOC documentation tag.\n        /// </summary>\n        public void AddTag(DocTag tag, string value = null) =>\n            TagToDescription.Add(new Tuple<DocTag, string>(tag, value));\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Ast/RtMember.cs",
    "content": "﻿namespace Reinforced.Typings.Ast\n{\n    /// <summary>\n    /// Abstract AST node for class/interface member\n    /// </summary>\n    public abstract class RtMember : RtNode\n    {\n        /// <summary>\n        /// JSDOC\n        /// </summary>\n        public RtJsdocNode Documentation { get; set; }\n\n        /// <summary>\n        /// Access modifier\n        /// </summary>\n        public AccessModifier? AccessModifier { get; set; }\n\n        /// <summary>\n        /// Is member static\n        /// </summary>\n        public bool IsStatic { get; set; }\n\n        /// <summary>\n        /// Gets or sets line that will follow after member\n        /// </summary>\n        public string LineAfter { get; set; }\n\n        /// <summary>\n        /// Member order\n        /// </summary>\n        public double Order\n        {\n            get { return _order; }\n            set\n            {\n                _order = value;\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Ast/RtNamespace.cs",
    "content": "﻿using System.Collections.Generic;\n\nnamespace Reinforced.Typings.Ast\n{\n    /// <summary>\n    /// AST node for TypeScript module\n    /// </summary>\n    public class RtNamespace : RtNode\n    {\n        /// <summary>\n        /// Constructs new instance of AST node\n        /// </summary>\n        public RtNamespace()\n        {\n            CompilationUnits = new List<RtNode>();\n            Export = true;\n        }\n\n        /// <summary>\n        /// Identifies nameless namespace that only wraps CompilationUnits without module name\n        /// </summary>\n        public bool IsAmbientNamespace { get; set; }\n\n        /// <summary>\n        /// Module name\n        /// </summary>\n        public string Name { get; set; }\n\n        /// <summary>\n        /// Denotes whether namespace must be exported or not\n        /// </summary>\n        public bool Export { get; set; }\n\n        /// <summary>\n        /// Denotes namespace generation mode\n        /// </summary>\n        public NamespaceGenerationMode GenerationMode { get; internal set; }\n\n        /// <summary>\n        /// Members of module - compilation units. Classes/enums/interfaces\n        /// </summary>\n        public List<RtNode> CompilationUnits { get; set; }\n\n        /// <inheritdoc />\n        public override IEnumerable<RtNode> Children\n        {\n            get { return CompilationUnits; }\n        }\n\n        /// <inheritdoc />\n        public override void Accept(IRtVisitor visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <inheritdoc />\n        public override void Accept<T>(IRtVisitor<T> visitor)\n        {\n            visitor.Visit(this);\n        }\n    }\n\n    /// <summary>\n    /// Switches mode for generating namespace.\n    /// If UseModules set to true then namespace must be \n    /// exported as Namespaces.\n    /// If modules are not used then namespaces must represent modules\n    /// </summary>\n    public enum NamespaceGenerationMode\n    {\n        /// <summary>\n        /// Export namespace as module\n        /// </summary>\n        Module,\n\n        /// <summary>\n        /// Export namespace as namespace\n        /// </summary>\n        Namespace\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Ast/RtNode.cs",
    "content": "﻿using System.Collections.Generic;\n\nnamespace Reinforced.Typings.Ast\n{\n    /// <summary>\n    /// Base Reinforced.Typings AST node\n    /// </summary>\n    public abstract class RtNode\n    {\n        /// <summary>\n        /// Child nodes\n        /// </summary>\n        public abstract IEnumerable<RtNode> Children { get; }\n\n        /// <summary>\n        /// Visitor acceptance\n        /// </summary>\n        /// <param name=\"visitor\">Visitor</param>\n        public abstract void Accept(IRtVisitor visitor);\n\n        /// <summary>\n        /// Typed visitor acceptance\n        /// </summary>\n        /// <param name=\"visitor\">Visitor</param>\n        public abstract void Accept<T>(IRtVisitor<T> visitor);\n\n        internal double _order;\n\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Ast/RtRaw.cs",
    "content": "﻿using System.Collections.Generic;\n\nnamespace Reinforced.Typings.Ast\n{\n    /// <summary>\n    /// AST node exposing raw text to be output to resulting file\n    /// </summary>\n    public class RtRaw : RtNode\n    {\n        \n        /// <summary>\n        /// Constructs new instance of AST node\n        /// </summary>\n        public RtRaw()\n        {\n        }\n\n        /// <summary>\n        /// Constructs new instance of AST node\n        /// </summary>\n        /// <param name=\"rawContent\">Raw text to be output to resulting file</param>\n        public RtRaw(string rawContent)\n        {\n            RawContent = rawContent;\n        }\n\n        /// <summary>\n        /// Raw text to be output to resulting file\n        /// </summary>\n        public string RawContent { get; set; }\n\n        /// <summary>\n        /// Order of RtRaw appearance\n        /// </summary>\n        public double Order\n        {\n            get { return _order; }\n            set { _order = value; }\n        }\n\n        /// <inheritdoc />\n        public override IEnumerable<RtNode> Children\n        {\n            get { yield break; }\n        }\n\n        /// <inheritdoc />\n        public override void Accept(IRtVisitor visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <inheritdoc />\n        public override void Accept<T>(IRtVisitor<T> visitor)\n        {\n            visitor.Visit(this);\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Ast/TypeNames/RtArrayType.cs",
    "content": "using System;\nusing System.Collections.Generic;\n\nnamespace Reinforced.Typings.Ast.TypeNames\n{\n    /// <summary>\n    /// AST node for array type\n    /// </summary>\n    public sealed class RtArrayType : RtTypeName\n    {\n        /// <summary>\n        /// Array element type\n        /// </summary>\n        public RtTypeName ElementType { get; private set; }\n\n        /// <summary>\n        /// Constructs array type from existing type\n        /// </summary>\n        /// <param name=\"elementType\"></param>\n        public RtArrayType(RtTypeName elementType)\n        {\n            ElementType = elementType;\n        }\n\n        /// <inheritdoc />\n        public override IEnumerable<RtNode> Children\n        {\n            get { yield return ElementType; }\n        }\n\n        /// <inheritdoc />\n        public override void Accept(IRtVisitor visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <inheritdoc />\n        public override void Accept<T>(IRtVisitor<T> visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <inheritdoc />\n        public override string ToString()\n        {\n            return String.Format(\"{0}[]\",ElementType);\n        }\n\n        private bool Equals(RtArrayType other)\n        {\n            return Equals(ElementType, other.ElementType);\n        }\n\n        /// <summary>Determines whether the specified object is equal to the current object.</summary>\n        /// <param name=\"obj\">The object to compare with the current object.</param>\n        /// <returns>\n        /// <see langword=\"true\" /> if the specified object  is equal to the current object; otherwise, <see langword=\"false\" />.</returns>\n        public override bool Equals(object obj)\n        {\n            return ReferenceEquals(this, obj) || obj is RtArrayType other && Equals(other);\n        }\n\n        /// <summary>Serves as the default hash function.</summary>\n        /// <returns>A hash code for the current object.</returns>\n        public override int GetHashCode()\n        {\n            return (ElementType != null ? ElementType.GetHashCode() : 0);\n        }\n\n        /// <summary>Returns a value that indicates whether the values of two <see cref=\"T:Reinforced.Typings.Ast.TypeNames.RtArrayType\" /> objects are equal.</summary>\n        /// <param name=\"left\">The first value to compare.</param>\n        /// <param name=\"right\">The second value to compare.</param>\n        /// <returns>true if the <paramref name=\"left\" /> and <paramref name=\"right\" /> parameters have the same value; otherwise, false.</returns>\n        public static bool operator ==(RtArrayType left, RtArrayType right)\n        {\n            return Equals(left, right);\n        }\n\n        /// <summary>Returns a value that indicates whether two <see cref=\"T:Reinforced.Typings.Ast.TypeNames.RtArrayType\" /> objects have different values.</summary>\n        /// <param name=\"left\">The first value to compare.</param>\n        /// <param name=\"right\">The second value to compare.</param>\n        /// <returns>true if <paramref name=\"left\" /> and <paramref name=\"right\" /> are not equal; otherwise, false.</returns>\n        public static bool operator !=(RtArrayType left, RtArrayType right)\n        {\n            return !Equals(left, right);\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Ast/TypeNames/RtAsyncType.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Linq;\n\nnamespace Reinforced.Typings.Ast.TypeNames\n{\n    /// <summary>\n    /// AST node for async return types of type \"Promise\".\n    /// </summary>\n    /// <remarks>With TypeScript, \"Promise\" use \"generics\" to define the resulting type of the \"Promise\". This is\n    /// defined by a nested <see cref=\"TypeNameOfAsync\"/></remarks>\n    public sealed class RtAsyncType : RtTypeName\n    {\n        /// <summary>\n        /// Constructs new instance of AST node\n        /// </summary>\n        public RtAsyncType(RtTypeName nestedType)\n            : this()\n        {\n            TypeNameOfAsync = nestedType;\n        }\n\n        /// <summary>\n        /// Type name\n        /// </summary>\n        public RtTypeName TypeNameOfAsync { get; private set; }\n\n        /// <summary>\n        /// Constructs new instance of AST node\n        /// </summary>\n        public RtAsyncType()\n        {\n        }\n\n        /// <inheritdoc />\n        public override IEnumerable<RtNode> Children\n        {\n            get { yield break; }\n        }\n\n        /// <inheritdoc />\n        public override void Accept(IRtVisitor visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <inheritdoc />\n        public override void Accept<T>(IRtVisitor<T> visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <inheritdoc />\n        public override string ToString()\n        {\n            return $\"Promise<{TypeNameOfAsync?.ToString() ?? \"void\"}>\";\n        }\n\n        private bool Equals(RtAsyncType other)\n        {\n            return Equals(TypeNameOfAsync, other.TypeNameOfAsync);\n        }\n\n        /// <summary>Determines whether the specified object is equal to the current object.</summary>\n        /// <param name=\"obj\">The object to compare with the current object.</param>\n        /// <returns>\n        /// <see langword=\"true\" /> if the specified object  is equal to the current object; otherwise, <see langword=\"false\" />.</returns>\n        public override bool Equals(object obj)\n        {\n            return ReferenceEquals(this, obj) || obj is RtAsyncType other && Equals(other);\n        }\n\n        /// <summary>Serves as the default hash function.</summary>\n        /// <returns>A hash code for the current object.</returns>\n        public override int GetHashCode()\n        {\n            return (TypeNameOfAsync != null ? TypeNameOfAsync.GetHashCode() : 0);\n        }\n\n        /// <summary>Returns a value that indicates whether the values of two <see cref=\"T:Reinforced.Typings.Ast.TypeNames.RtAsyncType\" /> objects are equal.</summary>\n        /// <param name=\"left\">The first value to compare.</param>\n        /// <param name=\"right\">The second value to compare.</param>\n        /// <returns>true if the <paramref name=\"left\" /> and <paramref name=\"right\" /> parameters have the same value; otherwise, false.</returns>\n        public static bool operator ==(RtAsyncType left, RtAsyncType right)\n        {\n            return Equals(left, right);\n        }\n\n        /// <summary>Returns a value that indicates whether two <see cref=\"T:Reinforced.Typings.Ast.TypeNames.RtAsyncType\" /> objects have different values.</summary>\n        /// <param name=\"left\">The first value to compare.</param>\n        /// <param name=\"right\">The second value to compare.</param>\n        /// <returns>true if <paramref name=\"left\" /> and <paramref name=\"right\" /> are not equal; otherwise, false.</returns>\n        public static bool operator !=(RtAsyncType left, RtAsyncType right)\n        {\n            return !Equals(left, right);\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Ast/TypeNames/RtDelegateType.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Linq;\n\nnamespace Reinforced.Typings.Ast.TypeNames\n{\n    /// <summary>\n    /// AST node for delegate type\n    /// </summary>\n    public sealed class RtDelegateType : RtTypeName\n    {\n        private readonly RtArgument[] _arguments;\n\n        /// <summary>\n        /// Consumed arguments\n        /// </summary>\n        public RtArgument[] Arguments\n        {\n            get { return _arguments; }\n        }\n\n        /// <summary>\n        /// Returning result\n        /// </summary>\n        public RtTypeName Result { get; private set; }\n\n        /// <summary>\n        /// Constructs new instance of AST node\n        /// </summary>\n        /// <param name=\"arguments\">Delegate parameters</param>\n        /// <param name=\"result\">Delegate result type</param>\n        public RtDelegateType(RtArgument[] arguments, RtTypeName result)\n        {\n            _arguments = arguments;\n            Result = result;\n        }\n\n        /// <inheritdoc />\n        public override IEnumerable<RtNode> Children\n        {\n            get\n            {\n                foreach (var rtArgument in Arguments)\n                {\n                    yield return rtArgument;\n                }\n                yield return Result;\n            }\n        }\n\n        /// <inheritdoc />\n        public override void Accept(IRtVisitor visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <inheritdoc />\n        public override void Accept<T>(IRtVisitor<T> visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <inheritdoc />\n        public override string ToString()\n        {\n            return String.Format(\"({0}) => {1}\", String.Join(\", \", Arguments.AsEnumerable()), Result);\n        }\n\n        private bool Equals(RtDelegateType other)\n        {\n            return Equals(_arguments, other._arguments) && Equals(Result, other.Result);\n        }\n\n        /// <summary>Determines whether the specified object is equal to the current object.</summary>\n        /// <param name=\"obj\">The object to compare with the current object.</param>\n        /// <returns>\n        /// <see langword=\"true\" /> if the specified object  is equal to the current object; otherwise, <see langword=\"false\" />.</returns>\n        public override bool Equals(object obj)\n        {\n            return ReferenceEquals(this, obj) || obj is RtDelegateType other && Equals(other);\n        }\n\n        /// <summary>Serves as the default hash function.</summary>\n        /// <returns>A hash code for the current object.</returns>\n        public override int GetHashCode()\n        {\n            unchecked\n            {\n                return ((_arguments != null ? _arguments.GetHashCode() : 0) * 397) ^ (Result != null ? Result.GetHashCode() : 0);\n            }\n        }\n\n        /// <summary>Returns a value that indicates whether the values of two <see cref=\"T:Reinforced.Typings.Ast.TypeNames.RtDelegateType\" /> objects are equal.</summary>\n        /// <param name=\"left\">The first value to compare.</param>\n        /// <param name=\"right\">The second value to compare.</param>\n        /// <returns>true if the <paramref name=\"left\" /> and <paramref name=\"right\" /> parameters have the same value; otherwise, false.</returns>\n        public static bool operator ==(RtDelegateType left, RtDelegateType right)\n        {\n            return Equals(left, right);\n        }\n\n        /// <summary>Returns a value that indicates whether two <see cref=\"T:Reinforced.Typings.Ast.TypeNames.RtDelegateType\" /> objects have different values.</summary>\n        /// <param name=\"left\">The first value to compare.</param>\n        /// <param name=\"right\">The second value to compare.</param>\n        /// <returns>true if <paramref name=\"left\" /> and <paramref name=\"right\" /> are not equal; otherwise, false.</returns>\n        public static bool operator !=(RtDelegateType left, RtDelegateType right)\n        {\n            return !Equals(left, right);\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Ast/TypeNames/RtDictionaryType.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\n\nnamespace Reinforced.Typings.Ast.TypeNames\n{\n    /// <summary>\n    /// AST node for Dictionary type\n    /// </summary>\n    public sealed class RtDictionaryType : RtTypeName\n    {\n        /// <summary>\n        /// Constructs new instance of AST node\n        /// </summary>\n        public RtDictionaryType()\n        {\n\n        }\n\n        /// <summary>\n        /// Constructs new instance of AST node\n        /// </summary>\n        /// <param name=\"keySimpleType\">Type for dictionary key</param>\n        /// <param name=\"valueSimpleType\">Type for disctionary value</param>\n        public RtDictionaryType(RtTypeName keySimpleType, RtTypeName valueSimpleType)\n            : this(keySimpleType, valueSimpleType, false)\n        {\n        }\n\n        /// <summary>\n        /// Constructs new instance of AST node\n        /// </summary>\n        /// <param name=\"keySimpleType\">Type for dictionary key</param>\n        /// <param name=\"valueSimpleType\">Type for disctionary value</param>\n        /// <param name=\"isKeyEnum\">A flag specifying whether the key is an enum type.</param>\n        public RtDictionaryType(RtTypeName keySimpleType, RtTypeName valueSimpleType, bool isKeyEnum)\n        {\n            KeyType = keySimpleType;\n            ValueType = valueSimpleType;\n            IsKeyEnum = isKeyEnum;\n        }\n\n        /// <summary>\n        /// Type for dictionary key\n        /// </summary>\n        public RtTypeName KeyType { get; }\n\n        /// <summary>\n        /// Type for disctionary value\n        /// </summary>\n        public RtTypeName ValueType { get; }\n\n        /// <summary>\n        /// A flag indicating whether the key is an enum type, and a mapped type should be generated.\n        /// </summary>\n        public bool IsKeyEnum { get; }\n\n        /// <inheritdoc />\n        public override IEnumerable<RtNode> Children\n        {\n            get\n            {\n                yield return KeyType;\n                yield return ValueType;\n            }\n        }\n\n        /// <inheritdoc />\n        public override void Accept(IRtVisitor visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <inheritdoc />\n        public override void Accept<T>(IRtVisitor<T> visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <inheritdoc />\n        public override string ToString()\n        {\n            string keyTypeSpec = IsKeyEnum ? \" in \" : \":\";\n            return $\"{{ [key{keyTypeSpec}{KeyType}]: {ValueType} }}\";\n        }\n\n        private bool Equals(RtDictionaryType other)\n        {\n            return Equals(KeyType, other.KeyType) && Equals(ValueType, other.ValueType) && IsKeyEnum == other.IsKeyEnum;\n        }\n\n        /// <summary>Determines whether the specified object is equal to the current object.</summary>\n        /// <param name=\"obj\">The object to compare with the current object.</param>\n        /// <returns>\n        /// <see langword=\"true\" /> if the specified object  is equal to the current object; otherwise, <see langword=\"false\" />.</returns>\n        public override bool Equals(object obj)\n        {\n            return ReferenceEquals(this, obj) || obj is RtDictionaryType other && Equals(other);\n        }\n\n        /// <summary>Serves as the default hash function.</summary>\n        /// <returns>A hash code for the current object.</returns>\n        public override int GetHashCode()\n        {\n            unchecked\n            {\n                var hashCode = (KeyType != null ? KeyType.GetHashCode() : 0);\n                hashCode = (hashCode * 397) ^ (ValueType != null ? ValueType.GetHashCode() : 0);\n                hashCode = (hashCode * 397) ^ IsKeyEnum.GetHashCode();\n                return hashCode;\n            }\n        }\n\n        /// <summary>Returns a value that indicates whether the values of two <see cref=\"T:Reinforced.Typings.Ast.TypeNames.RtDictionaryType\" /> objects are equal.</summary>\n        /// <param name=\"left\">The first value to compare.</param>\n        /// <param name=\"right\">The second value to compare.</param>\n        /// <returns>true if the <paramref name=\"left\" /> and <paramref name=\"right\" /> parameters have the same value; otherwise, false.</returns>\n        public static bool operator ==(RtDictionaryType left, RtDictionaryType right)\n        {\n            return Equals(left, right);\n        }\n\n        /// <summary>Returns a value that indicates whether two <see cref=\"T:Reinforced.Typings.Ast.TypeNames.RtDictionaryType\" /> objects have different values.</summary>\n        /// <param name=\"left\">The first value to compare.</param>\n        /// <param name=\"right\">The second value to compare.</param>\n        /// <returns>true if <paramref name=\"left\" /> and <paramref name=\"right\" /> are not equal; otherwise, false.</returns>\n        public static bool operator !=(RtDictionaryType left, RtDictionaryType right)\n        {\n            return !Equals(left, right);\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Ast/TypeNames/RtSimpleTypeName.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Linq;\n\nnamespace Reinforced.Typings.Ast.TypeNames\n{\n    /// <summary>\n    /// AST node for simple type name\n    /// </summary>\n    public sealed class RtSimpleTypeName : RtTypeName\n    {\n        /// <summary>\n        /// Constructs new instance of AST node\n        /// </summary>\n        public RtSimpleTypeName(RtTypeName[] genericArguments, string ns, string typeName)\n        {\n            _genericArguments = genericArguments;\n            Prefix = ns;\n            TypeName = typeName;\n        }\n\n        /// <summary>\n        /// Constructs new instance of AST node\n        /// </summary>\n        public RtSimpleTypeName(string typeName)\n            : this()\n        {\n            TypeName = typeName;\n        }\n\n        /// <summary>\n        /// Constructs new instance of AST node\n        /// </summary>\n        public RtSimpleTypeName(string typeName, params RtTypeName[] genericArguments)\n        {\n            TypeName = typeName;\n            if (genericArguments == null) genericArguments = new RtTypeName[0];\n            _genericArguments = genericArguments;\n        }\n\n        private readonly RtTypeName[] _genericArguments;\n\n        /// <summary>\n        /// Type name generic arguments\n        /// </summary>\n        public RtTypeName[] GenericArguments { get { return _genericArguments; } }\n\n        /// <summary>\n        /// Type namespace\n        /// </summary>\n        public string Prefix { get; set; }\n\n        /// <summary>\n        /// <c>true</c> if the <see cref=\"Prefix\"/> is not empty.\n        /// </summary>\n        public bool HasPrefix => !string.IsNullOrEmpty(Prefix);\n\n        /// <summary>\n        /// Type name\n        /// </summary>\n        public string TypeName { get; private set; }\n\n        /// <summary>\n        /// Constructs new instance of AST node\n        /// </summary>\n        public RtSimpleTypeName()\n        {\n            _genericArguments = new RtTypeName[0];\n        }\n\n        /// <inheritdoc />\n        public override IEnumerable<RtNode> Children\n        {\n            get { yield break; }\n        }\n\n        /// <inheritdoc />\n        public override void Accept(IRtVisitor visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <inheritdoc />\n        public override void Accept<T>(IRtVisitor<T> visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <inheritdoc />\n        public override string ToString()\n        {\n            string generics = _genericArguments.Length > 0 ? \"<\" + String.Join(\",\", _genericArguments.AsEnumerable()) + \">\" : null;\n            var result = String.Concat(TypeName, generics);\n            if (HasPrefix)\n            {\n                result =  Prefix + \".\" + result;\n            }\n            return result;\n        }\n\n        private bool Equals(RtSimpleTypeName other)\n        {\n            return Prefix == other.Prefix && TypeName == other.TypeName;\n        }\n\n        /// <summary>Determines whether the specified object is equal to the current object.</summary>\n        /// <param name=\"obj\">The object to compare with the current object.</param>\n        /// <returns>\n        /// <see langword=\"true\" /> if the specified object  is equal to the current object; otherwise, <see langword=\"false\" />.</returns>\n        public override bool Equals(object obj)\n        {\n            return ReferenceEquals(this, obj) || obj is RtSimpleTypeName other && Equals(other);\n        }\n\n        /// <summary>Serves as the default hash function.</summary>\n        /// <returns>A hash code for the current object.</returns>\n        public override int GetHashCode()\n        {\n            unchecked\n            {\n                var hashCode = (_genericArguments != null ? _genericArguments.GetHashCode() : 0);\n                hashCode = (hashCode * 397) ^ (Prefix != null ? Prefix.GetHashCode() : 0);\n                hashCode = (hashCode * 397) ^ (TypeName != null ? TypeName.GetHashCode() : 0);\n                return hashCode;\n            }\n        }\n\n        /// <summary>Returns a value that indicates whether the values of two <see cref=\"T:Reinforced.Typings.Ast.TypeNames.RtSimpleTypeName\" /> objects are equal.</summary>\n        /// <param name=\"left\">The first value to compare.</param>\n        /// <param name=\"right\">The second value to compare.</param>\n        /// <returns>true if the <paramref name=\"left\" /> and <paramref name=\"right\" /> parameters have the same value; otherwise, false.</returns>\n        public static bool operator ==(RtSimpleTypeName left, RtSimpleTypeName right)\n        {\n            return Equals(left, right);\n        }\n\n        /// <summary>Returns a value that indicates whether two <see cref=\"T:Reinforced.Typings.Ast.TypeNames.RtSimpleTypeName\" /> objects have different values.</summary>\n        /// <param name=\"left\">The first value to compare.</param>\n        /// <param name=\"right\">The second value to compare.</param>\n        /// <returns>true if <paramref name=\"left\" /> and <paramref name=\"right\" /> are not equal; otherwise, false.</returns>\n        public static bool operator !=(RtSimpleTypeName left, RtSimpleTypeName right)\n        {\n            return !Equals(left, right);\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Ast/TypeNames/RtTuple.cs",
    "content": "﻿using System.Collections.Generic;\n\nnamespace Reinforced.Typings.Ast.TypeNames\n{\n    /// <summary>\n    /// AST node for TypeScript tuple type\n    /// </summary>\n    public class RtTuple : RtTypeName\n    {\n        /// <summary>\n        /// Constructs new RtTuple\n        /// </summary>\n        public RtTuple()\n        {\n            TupleTypes = new List<RtTypeName>();\n        }\n\n        /// <summary>\n        /// Constructs new RtTuple with specified type paranmeters\n        /// </summary>\n        /// <param name=\"tupleTypes\">Types for tuple</param>\n        public RtTuple(IEnumerable<RtTypeName> tupleTypes)\n        {\n            TupleTypes = new List<RtTypeName>(tupleTypes);\n        }\n\n        /// <summary>\n        /// Constructs new RtTuple with specified type paranmeters\n        /// </summary>\n        /// <param name=\"tupleTypes\">Types for tuple</param>\n        public RtTuple(params RtTypeName[] tupleTypes)\n        {\n            TupleTypes = new List<RtTypeName>(tupleTypes);\n        }\n\n        /// <summary>\n        /// All types that must participate tuple\n        /// </summary>\n        public List<RtTypeName> TupleTypes { get; private set; }\n\n        /// <inheritdoc />\n        public override IEnumerable<RtNode> Children\n        {\n            get\n            {\n                foreach (var rtTypeName in TupleTypes)\n                {\n                    yield return rtTypeName;\n                }\n            }\n        }\n\n        /// <inheritdoc />\n        public override void Accept(IRtVisitor visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <inheritdoc />\n        public override void Accept<T>(IRtVisitor<T> visitor)\n        {\n            visitor.Visit(this);\n        }\n\n        /// <inheritdoc />\n        public override string ToString()\n        {\n            return $\"[{string.Join(\", \", TupleTypes)}]\";\n        }\n\n        protected bool Equals(RtTuple other)\n        {\n            return Equals(TupleTypes, other.TupleTypes);\n        }\n\n        /// <summary>Determines whether the specified object is equal to the current object.</summary>\n        /// <param name=\"obj\">The object to compare with the current object.</param>\n        /// <returns>\n        /// <see langword=\"true\" /> if the specified object  is equal to the current object; otherwise, <see langword=\"false\" />.</returns>\n        public override bool Equals(object obj)\n        {\n            if (ReferenceEquals(null, obj)) return false;\n            if (ReferenceEquals(this, obj)) return true;\n            if (obj.GetType() != this.GetType()) return false;\n            return Equals((RtTuple) obj);\n        }\n\n        /// <summary>Serves as the default hash function.</summary>\n        /// <returns>A hash code for the current object.</returns>\n        public override int GetHashCode()\n        {\n            return (TupleTypes != null ? TupleTypes.GetHashCode() : 0);\n        }\n\n        /// <summary>Returns a value that indicates whether the values of two <see cref=\"T:Reinforced.Typings.Ast.TypeNames.RtTuple\" /> objects are equal.</summary>\n        /// <param name=\"left\">The first value to compare.</param>\n        /// <param name=\"right\">The second value to compare.</param>\n        /// <returns>true if the <paramref name=\"left\" /> and <paramref name=\"right\" /> parameters have the same value; otherwise, false.</returns>\n        public static bool operator ==(RtTuple left, RtTuple right)\n        {\n            return Equals(left, right);\n        }\n\n        /// <summary>Returns a value that indicates whether two <see cref=\"T:Reinforced.Typings.Ast.TypeNames.RtTuple\" /> objects have different values.</summary>\n        /// <param name=\"left\">The first value to compare.</param>\n        /// <param name=\"right\">The second value to compare.</param>\n        /// <returns>true if <paramref name=\"left\" /> and <paramref name=\"right\" /> are not equal; otherwise, false.</returns>\n        public static bool operator !=(RtTuple left, RtTuple right)\n        {\n            return !Equals(left, right);\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Ast/TypeNames/RtTypeName.cs",
    "content": "﻿namespace Reinforced.Typings.Ast.TypeNames\n{\n    /// <summary>\n    /// Abstract AST node for type name\n    /// </summary>\n    public abstract class RtTypeName : RtNode\n    {\n        \n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Attributes/IAutoexportSwitchAttribute.cs",
    "content": "﻿using System;\n\nnamespace Reinforced.Typings.Attributes\n{\n    /// <summary>\n    ///     Interface containing base properties for some attributes\n    /// </summary>\n    public interface IAutoexportSwitchAttribute\n    {\n        /// <summary>\n        ///     When true, code for all methods will be automatically generated\n        /// </summary>\n        bool AutoExportMethods { get; set; }\n\n        /// <summary>\n        ///     When true, code for all properties will be automatically generated\n        /// </summary>\n        bool AutoExportProperties { get; set; }\n\n        /// <summary>\n        ///     When true, code for all fields will be automatically generated\n        /// </summary>\n        bool AutoExportFields { get; }\n\n        /// <summary>\n        ///     Reference to code geenrator which will be applied to every method\n        /// </summary>\n        Type DefaultMethodCodeGenerator { get; }\n\n        /// <summary>\n        ///     When true, code for all constructors will be automatically generated\n        /// </summary>\n        bool AutoExportConstructors { get; }\n\n        \n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Attributes/TsAddTypeImportAttribute.cs",
    "content": "﻿using System;\nusing Reinforced.Typings.Ast.Dependency;\n\nnamespace Reinforced.Typings.Attributes\n{\n    /// <summary>\n    ///     This attribute is used to add import directive to file containing single TS class typing.\n    ///     It is only used while splitting generated type sto different files\n    /// </summary>\n    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Enum, AllowMultiple = true)]\n    public class TsAddTypeImportAttribute : Attribute\n    {\n        /// <summary>\n        /// What we are importing from module.\n        /// Everything that is placed after \"import\" keyword and before \"from\" or \"= require(..)\"\n        /// Examples: \n        /// - \"import * as shape from './Shapes'\" -> \"* as shape\" is target <br/>\n        /// - \"import { Foo } from 'Bar'\" -> \"{ Foo }\" is target <br/>\n        /// - \"import { Bar2 as bar } from 'Baz'\" -> \"{ Bar2 as bar }\" is target <br/>\n        /// If ImportTarget is null then side-effect import will be generated. \n        /// </summary>\n        public string ImportTarget { get; set; }\n\n        /// <summary>\n        /// Import source is everything that follows after \"from\" keyword. \n        /// Please note that you do not have to specify quotes here! Quotes will be added automatically\n        /// </summary>\n        public string ImportSource { get; set; }\n\n        /// <summary>\n        /// When true, import will be generated as \"import ImportTarget = require('ImportSource')\"\n        /// </summary>\n        public bool ImportRequire { get; set; }\n\n        /// <summary>\n        /// Cosntructs new Rtimport\n        /// </summary>\n        /// <param name=\"importTarget\">Target</param>\n        /// <param name=\"importSource\">Source</param>\n        /// <param name=\"importRequire\">Is import \"=require(...)\"</param>\n        public TsAddTypeImportAttribute(string importTarget, string importSource, bool importRequire = false)\n        {\n            ImportTarget = importTarget;\n            ImportSource = importSource;\n            ImportRequire = importRequire;\n        }\n\n        private RtImport _import;\n\n        internal RtImport ToImport()\n        {\n            if (_import == null) _import = new RtImport() { Target = ImportTarget, From = ImportSource, IsRequire = ImportRequire };\n            return _import;\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Attributes/TsAddTypeReference.cs",
    "content": "﻿using System;\nusing Reinforced.Typings.Ast.Dependency;\n\nnamespace Reinforced.Typings.Attributes\n{\n    /// <summary>\n    ///     This attribute is used to add reference directive to file containing single TS class typing.\n    ///     It is only used while splitting generated type sto different files\n    /// </summary>\n    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Enum, AllowMultiple = true)]\n    public class TsAddTypeReferenceAttribute : Attribute\n    {\n        /// <summary>\n        ///     Constructs new instance of TsAddTypeReferenceAttribute using referenced type\n        /// </summary>\n        /// <param name=\"type\">Type reference</param>\n        public TsAddTypeReferenceAttribute(Type type)\n        {\n            Type = type;\n        }\n\n        /// <summary>\n        ///     Constructs new instance of TsAddTypeReferenceAttribute using referenced type\n        /// </summary>\n        /// <param name=\"rawPath\">Raw reference</param>\n        public TsAddTypeReferenceAttribute(string rawPath)\n        {\n            RawPath = rawPath;\n        }\n\n        /// <summary>\n        ///     Type that should be referenced\n        /// </summary>\n        public Type Type { get; set; }\n\n        /// <summary>\n        ///     Raw reference path that will be added to target file\n        /// </summary>\n        public string RawPath { get; set; }\n\n        private RtReference _reference;\n\n        internal RtReference ToReference()\n        {\n            if (_reference == null) _reference = new RtReference() { Path = RawPath };\n            return _reference;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Attributes/TsAttributeBase.cs",
    "content": "﻿using System;\n\nnamespace Reinforced.Typings.Attributes\n{\n    /// <summary>\n    ///     Base for all attributes\n    /// </summary>\n    public abstract class TsAttributeBase : Attribute\n    {\n        /// <summary>\n        ///     Dummy function body generator\n        ///     If empty then it's being generated empty/return null body.\n        /// </summary>\n        public virtual Type CodeGeneratorType { get; set; }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Attributes/TsBaseParamAttribute.cs",
    "content": "﻿using System;\r\n\r\nnamespace Reinforced.Typings.Attributes\r\n{\r\n    /// <summary>\r\n    ///     Denotes parameter name and constant value for constructor's :base call\r\n    ///     We need this attribute because it is programmatically impossible to determine :base call parameters\r\n    ///     via reflection. So in this case we need some help from user's side\r\n    /// </summary>\r\n    [AttributeUsage(AttributeTargets.Constructor)]\r\n    public class TsBaseParamAttribute : Attribute\r\n    {\r\n        /// <summary>\r\n        ///     Creates instance of TsBaseParamAttribute\r\n        /// </summary>\r\n        /// <param name=\"value\">TypeScript expression to be supplied for super() call</param>\r\n        public TsBaseParamAttribute(string value)\r\n        {\r\n            Values = new []{ value };\r\n        }\r\n\r\n        /// <summary>\r\n        ///     Creates instance of TsBaseParamAttribute\r\n        /// </summary>\r\n        /// <param name=\"firstValue\">TypeScript expression to be supplied for super() call at position 1</param>\r\n        /// <param name=\"secondValue\">TypeScript expression to be supplied for super() call at position 2</param>\r\n        public TsBaseParamAttribute(string firstValue, string secondValue)\r\n        {\r\n            Values = new[] { firstValue, secondValue };\r\n        }\r\n\r\n        /// <summary>\r\n        ///     Creates instance of TsBaseParamAttribute\r\n        /// </summary>\r\n        /// <param name=\"firstValue\">TypeScript expression to be supplied for super() call at position 1</param>\r\n        /// <param name=\"secondValue\">TypeScript expression to be supplied for super() call at position 2</param>\r\n        /// <param name=\"thirdValue\">TypeScript expression to be supplied for super() call at position 3</param>\r\n        public TsBaseParamAttribute(string firstValue, string secondValue, string thirdValue)\r\n        {\r\n            Values = new[] { firstValue, secondValue, thirdValue };\r\n        }\r\n\r\n        /// <summary>\r\n        ///     Creates instance of TsBaseParamAttribute\r\n        /// </summary>\r\n        /// <param name=\"firstValue\">TypeScript expression to be supplied for super() call at position 1</param>\r\n        /// <param name=\"secondValue\">TypeScript expression to be supplied for super() call at position 2</param>\r\n        /// <param name=\"thirdValue\">TypeScript expression to be supplied for super() call at position 3</param>\r\n        /// <param name=\"fourthValue\">TypeScript expression to be supplied for super() call at position 4</param>\r\n        public TsBaseParamAttribute(string firstValue, string secondValue, string thirdValue, string fourthValue)\r\n        {\r\n            Values = new[] { firstValue, secondValue, thirdValue, fourthValue };\r\n        }\r\n\r\n        /// <summary>\r\n        ///     Creates instance of TsBaseParamAttribute\r\n        /// </summary>\r\n        /// <param name=\"firstValue\">TypeScript expression to be supplied for super() call at position 1</param>\r\n        /// <param name=\"secondValue\">TypeScript expression to be supplied for super() call at position 2</param>\r\n        /// <param name=\"thirdValue\">TypeScript expression to be supplied for super() call at position 3</param>\r\n        /// <param name=\"fourthValue\">TypeScript expression to be supplied for super() call at position 4</param>\r\n        /// <param name=\"fifthValue\">TypeScript expression to be supplied for super() call at position 5</param>\r\n        public TsBaseParamAttribute(string firstValue, string secondValue, string thirdValue, string fourthValue, string fifthValue)\r\n        {\r\n            Values = new[] { firstValue, secondValue, thirdValue, fourthValue, fifthValue };\r\n        }\r\n\r\n        /// <summary>\r\n        ///     Creates instance of TsBaseParamAttribute\r\n        /// </summary>\r\n        /// <param name=\"firstValue\">TypeScript expression to be supplied for super() call at position 1</param>\r\n        /// <param name=\"secondValue\">TypeScript expression to be supplied for super() call at position 2</param>\r\n        /// <param name=\"thirdValue\">TypeScript expression to be supplied for super() call at position 3</param>\r\n        /// <param name=\"fourthValue\">TypeScript expression to be supplied for super() call at position 4</param>\r\n        /// <param name=\"fifthValue\">TypeScript expression to be supplied for super() call at position 5</param>\r\n        /// <param name=\"sixthValue\">TypeScript expression to be supplied for super() call at position 6</param>\r\n        public TsBaseParamAttribute(string firstValue, string secondValue, string thirdValue, string fourthValue, string fifthValue, string sixthValue)\r\n        {\r\n            Values = new[] { firstValue, secondValue, thirdValue, fourthValue, fifthValue, sixthValue };\r\n        }\r\n\r\n        /// <summary>\r\n        ///     Creates instance of TsBaseParamAttribute\r\n        /// </summary>\r\n        /// <param name=\"firstValue\">TypeScript expression to be supplied for super() call at position 1</param>\r\n        /// <param name=\"secondValue\">TypeScript expression to be supplied for super() call at position 2</param>\r\n        /// <param name=\"thirdValue\">TypeScript expression to be supplied for super() call at position 3</param>\r\n        /// <param name=\"fourthValue\">TypeScript expression to be supplied for super() call at position 4</param>\r\n        /// <param name=\"fifthValue\">TypeScript expression to be supplied for super() call at position 5</param>\r\n        /// <param name=\"sixthValue\">TypeScript expression to be supplied for super() call at position 6</param>\r\n        /// <param name=\"seventhValue\">TypeScript expression to be supplied for super() call at position 7</param>\r\n        public TsBaseParamAttribute(string firstValue, string secondValue, string thirdValue, string fourthValue, string fifthValue, string sixthValue, string seventhValue)\r\n        {\r\n            Values = new[] { firstValue, secondValue, thirdValue, fourthValue, fifthValue, sixthValue, seventhValue };\r\n        }\r\n\r\n        /// <summary>\r\n        ///     Creates instance of TsBaseParamAttribute\r\n        /// </summary>\r\n        /// <param name=\"firstValue\">TypeScript expression to be supplied for super() call at position 1</param>\r\n        /// <param name=\"secondValue\">TypeScript expression to be supplied for super() call at position 2</param>\r\n        /// <param name=\"thirdValue\">TypeScript expression to be supplied for super() call at position 3</param>\r\n        /// <param name=\"fourthValue\">TypeScript expression to be supplied for super() call at position 4</param>\r\n        /// <param name=\"fifthValue\">TypeScript expression to be supplied for super() call at position 5</param>\r\n        /// <param name=\"sixthValue\">TypeScript expression to be supplied for super() call at position 6</param>\r\n        /// <param name=\"seventhValue\">TypeScript expression to be supplied for super() call at position 7</param>\r\n        /// <param name=\"eighthValue\">TypeScript expression to be supplied for super() call at position 8</param>\r\n        public TsBaseParamAttribute(string firstValue, string secondValue, string thirdValue, string fourthValue, string fifthValue, string sixthValue, string seventhValue, string eighthValue)\r\n        {\r\n            Values = new[] { firstValue, secondValue, thirdValue, fourthValue, fifthValue, sixthValue, seventhValue, eighthValue };\r\n        }\r\n\r\n        /// <summary>\r\n        ///     Parameters for super() call\r\n        ///     Here should be stored TypeScript expressions\r\n        /// </summary>\r\n        public string[] Values { get; set; }\r\n    }\r\n}"
  },
  {
    "path": "Reinforced.Typings/Attributes/TsClassAttribute.cs",
    "content": "﻿using System;\n\nnamespace Reinforced.Typings.Attributes\n{\n    /// <summary>\n    ///     This attribute will export member as typescript class definition\n    /// </summary>\n    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]\n    public class TsClassAttribute : TsDeclarationAttributeBase, IAutoexportSwitchAttribute\n    {\n        /// <summary>\n        ///     Constructs new instance of TsClassAttribute\n        /// </summary>\n        public TsClassAttribute()\n        {\n            // ReSharper disable VirtualMemberCallInConstructor\n            AutoExportProperties = true;\n            AutoExportMethods = true;\n            IncludeNamespace = true;\n            AutoExportConstructors = false;\n            // ReSharper restore VirtualMemberCallInConstructor\n        }\n\n        /// <summary>\n        ///     Export all methods automatically or not.\n        /// </summary>\n        public virtual bool AutoExportMethods { get; set; }\n\n        /// <summary>\n        ///     Export all properties automatically or not.\n        /// </summary>\n        public virtual bool AutoExportProperties { get; set; }\n\n        /// <summary>\n        ///     Export all fields automatically or not.\n        /// </summary>\n        public virtual bool AutoExportFields { get; set; }\n\n        /// <summary>\n        ///     Reference to code geenrator which will be applied to every method\n        /// </summary>\n        public virtual Type DefaultMethodCodeGenerator { get; set; }\n\n        /// <summary>\n        ///     When true, code for all constructors will be automatically generated\n        /// </summary>\n        public virtual bool AutoExportConstructors { get; set; }\n\n        \n\n        /// <summary>\n        /// Gets or sets whether class is being exported as abstract or not.\n        /// Null value means automatic detection\n        /// </summary>\n        public virtual bool? IsAbstract { get; set; }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Attributes/TsDeclarationAttributeBase.cs",
    "content": "﻿using System;\n\nnamespace Reinforced.Typings.Attributes\n{\n    /// <summary>\n    ///     Base attribute for so-called compilation unit (class, enum, interface etc)\n    /// </summary>\n    public abstract class TsDeclarationAttributeBase : TsAttributeBase\n    {\n        /// <summary>\n        ///     Constructs new instance of TsDeclarationAttributeBase\n        /// </summary>\n        protected TsDeclarationAttributeBase()\n        {\n            // ReSharper disable VirtualMemberCallInConstructor\n            IncludeNamespace = true;\n            // ReSharper restore VirtualMemberCallInConstructor\n            FlattenLimiter = typeof(object);\n        }\n\n        /// <summary>\n        ///     Place to corresponding namespace\n        /// </summary>\n        public virtual bool IncludeNamespace { get; set; }\n\n        /// <summary>\n        ///     Overrides namespace\n        /// </summary>\n        public virtual string Namespace { get; set; }\n\n        /// <summary>\n        ///     Overrides name\n        /// </summary>\n        public virtual string Name { get; set; }\n\n        /// <summary>\n        /// Sets order this membter will be written to output file in\n        /// </summary>\n        public double Order { get; set; }\n\n        /// <summary>\n        /// Gets or sets whether to generate properties/methods flattering inheritance hierarchy\n        /// </summary>\n        public bool FlattenHierarchy { get; set; }\n\n        /// <summary>\n        /// Flattering limiter. \n        /// All types \"deeper\" than specified parent will not be considered as exporting members donors\n        /// </summary>\n        public Type FlattenLimiter { get; set; }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Attributes/TsDecoratorAttribute.cs",
    "content": "﻿using System;\n\nnamespace Reinforced.Typings.Attributes\n{\n    /// <summary>\n    /// Adds decorator to class/method/parameter/property\n    /// </summary>\n    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.Field, AllowMultiple = true)]\n    public class TsDecoratorAttribute : Attribute\n    {\n        /// <summary>\n        /// Decorator text - everything that must follow after @\n        /// </summary>\n        public string Decorator { get; set; }\n\n        /// <summary>\n        /// Decorator order\n        /// </summary>\n        public double Order { get; set; }\n\n        /// <summary>\n        /// Creates decorator attribute\n        /// </summary>\n        /// <param name=\"decorator\">Decorator text - everything that follows after @</param>\n        /// <param name=\"order\">Decorator order of appearence</param>\n        public TsDecoratorAttribute(string decorator,double order = 0)\n        {\n            Decorator = decorator;\n            Order = order;\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Attributes/TsEnumAttribute.cs",
    "content": "﻿using System;\n\nnamespace Reinforced.Typings.Attributes\n{\n    /// <summary>\n    ///     Exports enum as TypeScript Enum\n    /// </summary>\n    [AttributeUsage(AttributeTargets.Enum)]\n    public class TsEnumAttribute : TsDeclarationAttributeBase\n    {\n        /// <summary>\n        /// When true, results \"const\" enum instead of usual\n        /// </summary>\n        public bool IsConst { get; set; }\n\n        /// <summary>\n        /// Gets or sets whetner enum fields must be exported with string initializers (TypeScript 2.4)\n        /// </summary>\n        public bool UseString { get; set; }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Attributes/TsFileAttribute.cs",
    "content": "﻿using System;\n\nnamespace Reinforced.Typings.Attributes\n{\n    /// <summary>\n    ///     Specifies file where to put generated code for type.\n    ///     This attribute is being ignored when RtDivideTypesAmongFiles is false.\n    /// </summary>\n    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Enum)]\n    public class TsFileAttribute : Attribute\n    {\n        /// <summary>\n        ///     Constructs new TsFile attribute\n        /// </summary>\n        /// <param name=\"fileName\">File name (related to RtTargetDirectory) where to put generated code</param>\n        public TsFileAttribute(string fileName)\n        {\n            FileName = fileName;\n        }\n\n        /// <summary>\n        ///     File name (related to RtTargetDirectory) where to put generated code\n        /// </summary>\n        public string FileName { get; set; }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Attributes/TsFunctionAttribute.cs",
    "content": "﻿using System;\nusing System.Reflection;\n\nnamespace Reinforced.Typings.Attributes\n{\n    /// <summary>\n    ///     Overrides function export\n    /// </summary>\n    [AttributeUsage(AttributeTargets.Method)]\n    public class TsFunctionAttribute : TsTypedMemberAttributeBase, ISupportsInferring<MethodInfo>\n    {\n        private readonly InlineTypeInferers<MethodInfo> _typeInferers = new InlineTypeInferers<MethodInfo>();\n\n        /// <summary>\n        /// Sets order this membter will be written to output file in\n        /// </summary>\n        public double Order { get; set; }\n\n        /// <summary>\n        /// Inline function code to be converted to RtRaw and used as function body\n        /// </summary>\n        public string Implementation { get; set; }\n\n        /// <summary>\n        /// Gets or sets whether function forcibly should be made async/left as usual function\n        /// </summary>\n        public bool? ForceAsync { get; set; }\n\n        /// <summary>\n        /// Type inferers set instance\n        /// </summary>\n        public InlineTypeInferers<MethodInfo> TypeInferers\n        {\n            get { return _typeInferers; }\n            // ReSharper disable once ValueParameterNotUsed\n            private set { }\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Attributes/TsGenericAttribute.cs",
    "content": "﻿using System;\n// ReSharper disable VirtualMemberCallInConstructor\n\nnamespace Reinforced.Typings.Attributes\n{\n    /// <summary>\n    ///     Denotes type for generic attribute\n    /// </summary>\n    [AttributeUsage(AttributeTargets.GenericParameter)]\n    public class TsGenericAttribute : TsTypedAttributeBase, ISupportsInferring<Type>\n    {\n        private readonly InlineTypeInferers<Type> _typeInferers = new InlineTypeInferers<Type>();\n\n        /// <summary>\n        ///     Constructs new instance of TsGenericAttribute\n        /// </summary>\n        /// <param name=\"type\">Raw TypeScript type name</param>\n        public TsGenericAttribute(string type)\n        {\n            Type = type;\n        }\n\n        /// <summary>\n        ///     Constructs new instance of TsGenericAttribute\n        /// </summary>\n        /// <param name=\"strongType\">Type to be resolved to TypeScript name during export</param>\n        public TsGenericAttribute(Type strongType)\n        {\n            StrongType = strongType;\n        }\n\n        /// <summary>\n        /// Type inferers set instance\n        /// </summary>\n        public InlineTypeInferers<Type> TypeInferers\n        {\n            get { return _typeInferers; }\n            private set { }\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Attributes/TsGlobalAttribute.cs",
    "content": "﻿using System;\nusing Reinforced.Typings.Fluent;\n\n\nnamespace Reinforced.Typings.Attributes\n{\n    /// <summary>\n    /// Sets global parameters for RT export.\n    /// Warning! Use Priority property to control [TsGlobal] processing order. \n    /// When exporting multiple assemblies and several ones will contain [TsGlobal] then the one with \n    /// highest priority will be used. Global parameters configured from fluent configuration \n    /// using builder.Global method always has highest priority\n    /// </summary>\n    [AttributeUsage(AttributeTargets.Assembly)]\n    public class TsGlobalAttribute : Attribute\n    {\n        /// <summary>\n        ///     Boolean parameter that controls writing of \"auto-generated warning\" comment to each generated file.\n        /// It meant the comment like \"// This code was generated blah blah blah...\"\n        /// 'true' (default) to write warning comment about auto-generated to every file.\n        /// 'false' to do not.\n        /// </summary>\n        public bool WriteWarningComment { get; set; }\n\n        /// <summary>\n        ///     Specifies root namespace for hierarchical export.\n        ///     Helps to avoid creating redundant directories when hierarchical export.\n        /// </summary>\n        public string RootNamespace { get; set; }\n\n        /// <summary>\n        ///     Use camelCase for methods naming\n        /// </summary>\n        public bool CamelCaseForMethods { get; set; }\n\n        /// <summary>\n        ///     Use camelCase for properties naming\n        /// </summary>\n        public bool CamelCaseForProperties { get; set; }\n\n        /// <summary>\n        ///     Enables or disables documentation generator\n        /// </summary>\n        public bool GenerateDocumentation { get; set; }\n\n        /// <summary>\n        /// Specifies symbol used for tabulation\n        /// </summary>\n        public string TabSymbol { get; set; }\n\n        /// <summary>\n        /// Specifies string used as the line terminator.\n        /// </summary>\n        public string NewLine { get; set; }\n\n        /// <summary>\n        /// Switches RT to using TS modules system (--module tsc.exe parameter) and import references\n        /// </summary>\n        public bool UseModules { get; set; }\n\n        /// <summary>\n        /// When true, RT will ignore classes' namespaces when arraging classes and interfaces among files. \n        /// This parameter only makes difference when using (--module)\n        /// </summary>\n        public bool DiscardNamespacesWhenUsingModules { get; set; }\n\n        /// <summary>\n        ///     If true, export will be performed in .d.ts manner (only typings, declare module etc).\n        ///     Otherwise, export will be performed to regulat .ts file\n        /// </summary>\n        public bool ExportPureTypings { get; set; }\n\n        ///// <summary>\n        ///// Set to true and all nullable value types will be revealed to \"type | null\"\n        ///// </summary>\n        //public bool StrictNullChecks { get; set; }\n\n        /// <summary>\n        /// Sets order of applying paramters from this attribute\n        /// </summary>\n        public double Priority { get; set; }\n\n        /// <summary>\n        /// Type of <see cref=\"Reinforced.Typings.ReferencesInspection.ReferenceProcessorBase\"/> to be used to\n        /// refilter/reorder references and imports while exporting files\n        /// </summary>\n        public Type ReferenceProcessorType { get; set; }\n\n        /// <summary>\n        ///  Gets or sets whether members reordering (aphabetical, constructors-fields-properties-methods) is enabled\n        ///  Warning! Enabling this option discards <see cref=\"MemberExportExtensions.Order(Reinforced.Typings.Fluent.MethodExportBuilder,double)\"/> calls as well as \"Order\" member attributes property\n        /// </summary>\n        public bool ReorderMembers { get; set; }\n\n        /// <summary>\n        /// Gets or sets whether all nullable properties must be exported as optional\n        /// </summary>\n        public bool AutoOptionalProperties { get; set; }\n\n        /// <summary>\n        /// Gets or sets whether unresolved types must be exported as 'unknown' instead of 'any'\n        /// </summary>\n        public bool UnresolvedToUnknown { get; set; }\n\n        /// <summary>\n        /// Default constructor for TsGlobal attribute\n        /// </summary>\n        public TsGlobalAttribute()\n        {\n            WriteWarningComment = true;\n            TabSymbol = \"\\t\";\n            NewLine = Environment.NewLine;\n        }\n\n        /// <summary>\n        /// Gets or sets type of AST visitor that will be used to write code to output.\n        /// Visitor has to be child class of <see cref=\"Reinforced.Typings.Visitors.TextExportingVisitor\"/>\n        /// </summary>\n        public Type VisitorType { get; set; }\n\n        /// <summary>\n        /// Gets or sets whether RT must automatically treat methods returning Task as async methods\n        /// </summary>\n        public bool AutoAsync { get; set; }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Attributes/TsIgnoreAttribute.cs",
    "content": "﻿using System;\n\nnamespace Reinforced.Typings.Attributes\n{\n    /// <summary>\n    ///     Instructs DynTyping do not to export mentioned member\n    /// </summary>\n    [AttributeUsage(\n        AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Method | AttributeTargets.Parameter |\n        AttributeTargets.Constructor)]\n    public class TsIgnoreAttribute : Attribute\n    {\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Attributes/TsImportAttribute.cs",
    "content": "﻿using System;\r\nusing Reinforced.Typings.Ast.Dependency;\r\n\r\nnamespace Reinforced.Typings.Attributes\r\n{\r\n    /// <summary>\r\n    ///     Specifies path of reference which required to be added to result .ts file\r\n    /// </summary>\r\n    [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]\r\n    public class TsImportAttribute : Attribute\r\n    {\r\n        /// <summary>\r\n        /// What we are importing from module.\r\n        /// Everything that is placed after \"import\" keyword and before \"from\" or \"= require(..)\"\r\n        /// Examples: \r\n        /// - \"import * as shape from './Shapes'\" -> \"* as shape\" is target <br/>\r\n        /// - \"import { Foo } from 'Bar'\" -> \"{ Foo }\" is target <br/>\r\n        /// - \"import { Bar2 as bar } from 'Baz'\" -> \"{ Bar2 as bar }\" is target <br/>\r\n        /// If ImportTarget is null then side-effect import will be generated. \r\n        /// </summary>\r\n        public string ImportTarget { get; set; }\r\n\r\n        /// <summary>\r\n        /// Import source is everything that follows after \"from\" keyword. \r\n        /// Please not the you do not have to specify quotes here! Quotes will be added automatically\r\n        /// </summary>\r\n        public string ImportSource { get; set; }\r\n\r\n        /// <summary>\r\n        /// When true, import will be generated as \"import ImportTarget = require('ImportSource')\"\r\n        /// </summary>\r\n        public bool ImportRequire { get; set; }\r\n\r\n        private RtImport _import;\r\n\r\n        internal RtImport ToImport()\r\n        {\r\n            if (_import==null) _import = new RtImport() {Target = ImportTarget, From = ImportSource, IsRequire = ImportRequire};\r\n            return _import;\r\n        }\r\n    }\r\n}\r\n"
  },
  {
    "path": "Reinforced.Typings/Attributes/TsInterfaceAttribute.cs",
    "content": "﻿using System;\n// ReSharper disable VirtualMemberCallInConstructor\n\nnamespace Reinforced.Typings.Attributes\n{\n    /// <summary>\n    ///     Exports specified class or interface as typescript interface\n    /// </summary>\n    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct)]\n    public class TsInterfaceAttribute : TsDeclarationAttributeBase, IAutoexportSwitchAttribute\n    {\n        /// <summary>\n        ///     Constructs new instance of TsInterfaceAttribute\n        /// </summary>\n        public TsInterfaceAttribute()\n        {\n            AutoI = true;\n            IncludeNamespace = true;\n            AutoExportMethods = true;\n            AutoExportProperties = true;\n        }\n\n        /// <summary>\n        ///     Automatically appends I prefix if non-interfaces\n        /// </summary>\n        public virtual bool AutoI { get; set; }\n\n        /// <summary>\n        ///     Export all methods automatically or not.\n        /// </summary>\n        public virtual bool AutoExportMethods { get; set; }\n\n        /// <summary>\n        ///     Export all properties automatically or not.\n        /// </summary>\n        public virtual bool AutoExportProperties { get; set; }\n\n        bool IAutoexportSwitchAttribute.AutoExportFields\n        {\n            get { return false; }\n        }\n\n        Type IAutoexportSwitchAttribute.DefaultMethodCodeGenerator\n        {\n            get { return null; }\n        }\n\n        bool IAutoexportSwitchAttribute.AutoExportConstructors\n        {\n            get { return false; }\n        }\n\n        \n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Attributes/TsParameterAttribute.cs",
    "content": "﻿using System;\nusing System.Reflection;\n\nnamespace Reinforced.Typings.Attributes\n{\n    /// <summary>\n    ///     Overrides settings for exporting parameters\n    /// </summary>\n    [AttributeUsage(AttributeTargets.Parameter)]\n    public class TsParameterAttribute : TsTypedMemberAttributeBase, ISupportsInferring<ParameterInfo>\n    {\n        private readonly InlineTypeInferers<ParameterInfo> _typeInferers = new InlineTypeInferers<ParameterInfo>();\n\n        /// <summary>\n        ///     Specifies default value\n        /// </summary>\n        public virtual object DefaultValue { get; set; }\n\n        /// <summary>\n        /// Type inferers set instance\n        /// </summary>\n        public InlineTypeInferers<ParameterInfo> TypeInferers\n        {\n            get { return _typeInferers; }\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Attributes/TsPropertyAttribute.cs",
    "content": "﻿using System;\nusing System.Reflection;\n// ReSharper disable ValueParameterNotUsed\n\nnamespace Reinforced.Typings.Attributes\n{\n    /// <summary>\n    ///     Overrides property/field export settings\n    /// </summary>\n    [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]\n    public class TsPropertyAttribute : TsTypedMemberAttributeBase,\n        ISupportsInferring<MemberInfo>\n\n    {\n        /// <summary>\n        /// Constructor\n        /// </summary>\n        public TsPropertyAttribute()\n        {\n            Constant = true;\n        }\n\n        private readonly InlineTypeInferers<MemberInfo> _typeInferers = new InlineTypeInferers<MemberInfo>();\n\n        /// <summary>\n        ///     Forces property to be a nullable\n        ///     E.g. `field:boolean` becomes `field?:boolean` when you specify `[TsProperty(ForceNullable = true)]` in attribute configuration\n        /// </summary>\n        internal virtual bool? NilForceNullable { get; set; }\n\n        /// <summary>\n        ///     Forces property to be a nullable\n        ///     E.g. `field:boolean` becomes `field?:boolean` when you specify `[TsProperty(ForceNullable = true)]` in attribute configuration\n        /// </summary>\n        public virtual bool ForceNullable { get { return NilForceNullable ?? false; } set { NilForceNullable = value; } }\n\n        /// <summary>\n        /// Sets order this membter will be written to output file in\n        /// </summary>\n        public double Order { get; set; }\n\n        /// <summary>\n        /// When true, static property with well-known simple static value will be exported as object property with corresponding static initializer. \n        /// Otherwise, setting this parameter to \"true\" will not take effect\n        /// </summary>\n        public bool Constant { get; set; }\n\n        internal Func<MemberInfo,TypeResolver, object, string> InitializerEvaluator { get; set; }\n\n        /// <summary>\n        /// Type inferers set instance\n        /// </summary>\n        public InlineTypeInferers<MemberInfo> TypeInferers\n        {\n            get { return _typeInferers; }\n            private set { }\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Attributes/TsReferenceAttribute.cs",
    "content": "﻿using System;\nusing Reinforced.Typings.Ast.Dependency;\n\nnamespace Reinforced.Typings.Attributes\n{\n    /// <summary>\n    ///     Specifies path of reference which required to be added to result .ts file\n    /// </summary>\n    [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]\n    public class TsReferenceAttribute : Attribute\n    {\n        /// <summary>\n        ///     Constructs new instance of TsReferenceAttribute\n        /// </summary>\n        /// <param name=\"path\">Path that should be written as file to reference tag</param>\n        public TsReferenceAttribute(string path)\n        {\n            Path = path;\n        }\n\n        /// <summary>\n        ///     Path to referenced TS file\n        /// </summary>\n        public virtual string Path { get; private set; }\n\n        private RtReference _reference;\n\n        internal RtReference ToReference()\n        {\n            if (_reference==null) _reference = new RtReference() {Path = Path};\n            return _reference;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Attributes/TsThirdPartyAttribute.cs",
    "content": "﻿using System;\nusing Reinforced.Typings.Ast.Dependency;\n\nnamespace Reinforced.Typings.Attributes\n{\n    /// <summary>\n    /// Prevents class or interface or enum to be exported.\n    /// Instead of that it will be used like type from third-party library.\n    /// Use <see cref=\"RtReference\"/> and <see cref=\"RtImport\"/> attributes to specify imports that must be used\n    /// when this type appears\n    /// </summary>\n    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Enum)]\n    public class TsThirdPartyAttribute : Attribute\n    {\n        /// <inheritdoc />\n        public TsThirdPartyAttribute(string name)\n        {\n            Name = name;\n        }\n\n        /// <summary>\n        /// Gets or sets full quialified name of third party type to avoid dealing with namespaces, I letters etc\n        /// </summary>\n        public string Name { get; internal set; }\n    }\n\n    /// <summary>\n    ///     This attribute is used to add import directive to any file using third-party type (that is marked with <see cref=\"TsThirdPartyAttribute\"/>)\n    /// </summary>\n    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Enum, AllowMultiple = true)]\n    public class TsThirdPartyImportAttribute : Attribute\n    {\n        /// <summary>\n        /// What we are importing from module.\n        /// Everything that is placed after \"import\" keyword and before \"from\" or \"= require(..)\"\n        /// Examples: \n        /// - \"import * as shape from './Shapes'\" -> \"* as shape\" is target <br/>\n        /// - \"import { Foo } from 'Bar'\" -> \"{ Foo }\" is target <br/>\n        /// - \"import { Bar2 as bar } from 'Baz'\" -> \"{ Bar2 as bar }\" is target <br/>\n        /// If ImportTarget is null then side-effect import will be generated. \n        /// </summary>\n        public string ImportTarget { get; set; }\n\n        /// <summary>\n        /// Import source is everything that follows after \"from\" keyword. \n        /// Please note that you do not have to specify quotes here! Quotes will be added automatically\n        /// </summary>\n        public string ImportSource { get; set; }\n\n        /// <summary>\n        /// When true, import will be generated as \"import ImportTarget = require('ImportSource')\"\n        /// </summary>\n        public bool ImportRequire { get; set; }\n\n        /// <summary>\n        /// Cosntructs new Rtimport\n        /// </summary>\n        /// <param name=\"importTarget\">Target</param>\n        /// <param name=\"importSource\">Source</param>\n        /// <param name=\"importRequire\">Is import \"=require(...)\"</param>\n        public TsThirdPartyImportAttribute(string importTarget, string importSource, bool importRequire = false)\n        {\n            ImportTarget = importTarget;\n            ImportSource = importSource;\n            ImportRequire = importRequire;\n        }\n\n        private RtImport _import;\n\n        internal RtImport ToImport()\n        {\n            if (_import == null) _import = new RtImport() { Target = ImportTarget, From = ImportSource, IsRequire = ImportRequire };\n            return _import;\n        }\n    }\n\n    /// <summary>\n    ///     This attribute is used to add reference directive to file using third-party type (that is marked with <see cref=\"TsThirdPartyAttribute\"/>)\n    /// </summary>\n    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Enum, AllowMultiple = true)]\n    public class TsThirdPartyReferenceAttribute : Attribute\n    {\n        \n        /// <summary>\n        ///     Constructs new instance of TsAddTypeReferenceAttribute using referenced type\n        /// </summary>\n        /// <param name=\"path\">Raw reference</param>\n        public TsThirdPartyReferenceAttribute(string path)\n        {\n            Path = path;\n        }\n        \n        /// <summary>\n        ///     Raw reference path that will be added to target file\n        /// </summary>\n        public string Path { get; set; }\n\n        private RtReference _reference;\n\n        internal RtReference ToReference()\n        {\n            if (_reference == null) _reference = new RtReference() { Path = Path };\n            return _reference;\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Attributes/TsTypedAttributeBase.cs",
    "content": "﻿using System;\n\nnamespace Reinforced.Typings.Attributes\n{\n    /// <summary>\n    ///     Base attribute for typed members/parameters\n    /// </summary>\n    public abstract class TsTypedAttributeBase : TsAttributeBase\n    {\n        /// <summary>\n        ///     Overrides member type name in resulting TypeScript. \n        ///     Supplied as string. Helpful when property type is not present in your project. \n        ///     E.g. - JQquery object.\n        /// </summary>\n        public virtual string Type { get; set; }\n\n        /// <summary>\n        ///     Similar to `Type`, but you can specify .NET type using typeof. \n        ///     It is useful e.g. for delegates\n        /// </summary>\n        public virtual Type StrongType { get; set; }\n\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Attributes/TsTypedMemberAttributeBase.cs",
    "content": "﻿namespace Reinforced.Typings.Attributes\n{\n    /// <summary>\n    ///     Base attribute for class members and method parameters\n    /// </summary>\n    public abstract class TsTypedMemberAttributeBase : TsTypedAttributeBase\n    {\n        /// <summary>\n        ///     When true them member name will be camelCased regardless configuration setting\n        /// </summary>\n        public bool ShouldBeCamelCased { get; set; }\n\n        /// <summary>\n        ///     When true them member name will be PascalCased regardless configuration setting\n        /// </summary>\n        public bool ShouldBePascalCased { get; set; }\n\n        /// <summary>\n        ///     Overrides member name\n        /// </summary>\n        public virtual string Name { get; set; }\n\n        \n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Attributes/TsValueAttribute.cs",
    "content": "﻿using System;\n\nnamespace Reinforced.Typings.Attributes\n{\n    /// <summary>\n    ///     Specifies exporting enum value\n    /// </summary>\n    [AttributeUsage(AttributeTargets.Field)]\n    public class TsValueAttribute : TsAttributeBase\n    {\n        /// <summary>\n        ///     Overrides enum value name\n        /// </summary>\n        public virtual string Name { get; set; }\n\n        /// <summary>\n        /// Overrides enum value's string initializer. This property works only if there is <see cref=\"TsEnumAttribute.UseString\"/> property set to true.\n        /// Please escape quotes manually.\n        /// </summary>\n        public string Initializer { get; set; }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/DictionaryExtensions.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Linq;\n\nnamespace Reinforced.Typings\n{\n    internal static class DictionaryExtensions\n    {\n        public static TV GetOrNull<T, TV>(this Dictionary<T, TV> dictionary, T key)\n        {\n            if (!dictionary.ContainsKey(key)) return default(TV);\n            return dictionary[key];\n        }\n\n        public static TV GetOr<T, TV>(this Dictionary<T, TV> dictionary, T key, Func<TV> or)\n        {\n            if (!dictionary.ContainsKey(key))\n            {\n                var v = or();\n                if (v != null) dictionary[key] = v;\n                return v;\n            }\n            return dictionary[key];\n        }\n\n        public static TV GetUnion<T, TV, TV2>(this Dictionary<T, TV> dictionary, T key, Func<TV> union)\n            where TV : IEnumerable<TV2>\n        {\n            var u = union();\n            if (dictionary.ContainsKey(key))\n            {\n                u = (TV) u.Union(dictionary[key]);\n            }\n            return u;\n        }\n\n        public static TV GetOrCreate<T, TV>(this Dictionary<T, TV> dictionary, T key) where TV : new()\n        {\n            TV result;\n            if (dictionary.ContainsKey(key)) result = dictionary[key];\n            else\n            {\n                result = new TV();\n                dictionary[key] = result;\n            }\n            return result;\n        }\n\n        public static TV GetOrCreate<T, TV>(this Dictionary<T, TV> dictionary, T key, Func<TV> createDelegate)\n        {\n            TV result;\n            if (dictionary.ContainsKey(key)) result = dictionary[key];\n            else\n            {\n                result = createDelegate();\n                dictionary[key] = result;\n            }\n            return result;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Exceptions/ErrorMessage.cs",
    "content": "﻿namespace Reinforced.Typings.Exceptions\n{\n    /// <summary>\n    /// Data object for RT error message\n    /// </summary>\n    public class ErrorMessage\n    {\n        /// <summary>\n        /// Error code\n        /// </summary>\n        public int Code { get; private set; }\n\n        /// <summary>\n        /// Message test\n        /// </summary>\n        public string MessageText { get; private set; }\n\n        /// <summary>\n        /// Error message subcategory (for Visual Studio)\n        /// </summary>\n        public string Subcategory { get; private set; }\n\n        public ErrorMessage(int code, string messageText, string subcategory = \"\")\n        {\n            Code = code;\n            MessageText = messageText;\n            Subcategory = subcategory;\n        }\n\n        /// <summary>\n        /// Throws error message as exception\n        /// </summary>\n        /// <param name=\"formatParameters\">Format arguments</param>\n        /// <exception cref=\"RtException\">RtException corresponding to error message will be thrown in all cases</exception>\n        public void Throw(params object[] formatParameters)\n        {\n            throw new RtException(string.Format(MessageText, formatParameters), Code, Subcategory);\n        }\n\n        /// <summary>\n        /// Converts error message to RtWarning to be processed further\n        /// </summary>\n        /// <param name=\"formatParameters\"></param>\n        /// <returns></returns>\n        public RtWarning Warn(params object[] formatParameters)\n        {\n            return new RtWarning(Code, text: string.Format(MessageText, formatParameters), subcategory: Subcategory);\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Exceptions/ErrorMessages.cs",
    "content": "﻿\nnamespace Reinforced.Typings.Exceptions\n{\n    /// <summary>\n    /// This class contains all RT's error and siagnostic messages. \n    /// Why didnt I use resources? I dont want to add one more .dll to RT's NuGet package. \n    /// if localization will be required through issues then I will add one\n    /// </summary>\n    class ErrorMessages\n    {\n        #region Errors\n        /// <summary>\n        /// Could not acquire temporary file {0}: {1}\n        /// </summary>\n        public static readonly ErrorMessage RTE0001_TempFileError = new ErrorMessage(0001,\"Could not acquire temporary file {0}: {1}\",\"IO\");\n\n        /// <summary>\n        /// Could not replace source file {0}: {1}\n        /// </summary>\n        public static readonly ErrorMessage RTE0002_DeployingFilesError = new ErrorMessage(0002,\"Could not replace source file {0}: {1}\",\"IO\");\n\n        /// <summary>\n        /// Could not instantiate code generator {0}: {1}\n        /// </summary>\n        public static readonly ErrorMessage RTE0003_GeneratorInstantiate = new ErrorMessage(0003,\"Could not instantiate code generator {0}: {1}\",\"Code generation\");\n\n        /// <summary>\n        /// Code generator {0} has thrown an error: {1}\n        /// </summary>\n        public static readonly ErrorMessage RTE0004_GeneratorError = new ErrorMessage(0004,\"Code generator {0} has thrown an error: {1}\",\"Code generation\");\n\n        /// <summary>\n        /// Could not resolve type for {0}. An error occured: {1}\n        /// </summary>\n        public static readonly ErrorMessage RTE0005_TypeResolvationError = new ErrorMessage(0005, \"Could not resolve type for {0}. An error occured: {1}\", \"Type resolvation\");\n\n        /// <summary>\n        /// Exception thrown when applying fluent configuration method for {1} '{2}': {0}\n        /// </summary>\n        public static readonly ErrorMessage RTE0006_FluentSingleError = new ErrorMessage(0006, \"Exception thrown when applying fluent configuration method for {1} '{2}': {0}\", \"Fluent configuration\");\n\n        /// <summary>\n        /// Exception thrown when applying fluent configuration method for collection of {1}: {0}\n        /// </summary>\n        public static readonly ErrorMessage RTE0007_FluentBatchError = new ErrorMessage(0007, \"Exception thrown when applying fluent configuration method for collection of {1}: {0}\", \"Fluent configuration\");\n\n        /// <summary>\n        /// MethodCallExpression should be provided for .WithMethod call. Please use only lamba expressions in this place.\n        /// </summary>\n        public static readonly ErrorMessage RTE0008_FluentWithMethodError = new ErrorMessage(0008, \"MethodCallExpression should be provided for .WithMethod call. Please use only lamba expressions in this place.\", \"Fluent configuration\");\n\n        /// <summary>\n        /// Sorry, but {0} is not very good idea for parameter configuration. Try using simplier lambda expression.\n        /// </summary>\n        public static readonly ErrorMessage RTE0009_FluentWithMethodCouldNotParse = new ErrorMessage(0009, \"Sorry, but {0} is not very good idea for parameter configuration. Try using simplier lambda expression.\", \"Fluent configuration\");\n\n        /// <summary>\n        /// Property lambda expression expected in {0}\n        /// </summary>\n        public static readonly ErrorMessage RTE0010_PropertyLambdaExpected = new ErrorMessage(0010, \"Property lambda expression expected in {0}\", \"Fluent configuration\");\n        \n        /// <summary>\n        /// Field lambda expression expected in {0}\n        /// </summary>\n        public static readonly ErrorMessage RTE0011_FieldLambdaExpected = new ErrorMessage(0011, \"Field lambda expression expected in {0}\", \"Fluent configuration\");\n\n        /// <summary>\n        /// NewExpression should be provided for .WithConstructor call. Please use only lamba expressions in this place.\n        /// </summary>\n        public static readonly ErrorMessage RTE0012_NewExpressionLambdaExpected = new ErrorMessage(0012, \"NewExpression should be provided for .WithConstructor call. Please use only 'new ...' lamba expressions in this place.\", \"Fluent configuration\");\n\n        /// <summary>\n        /// Error when trying to locate particular field\n        /// </summary>\n        public static readonly ErrorMessage RTE0013_InvalidField = new ErrorMessage(0013, \"Could not locate field {0} in class {1}\", \"Reflection\");\n\n        /// <summary>\n        /// Error when trying to locate particular property\n        /// </summary>\n        public static readonly ErrorMessage RTE0014_InvalidProperty = new ErrorMessage(0014, \"Could not locate property {0} in class {1}\", \"Reflection\");\n\n        /// <summary>\n        /// Error when trying to locate particular property\n        /// </summary>\n        public static readonly ErrorMessage RTE0015_CannotFlatten = new ErrorMessage(0015, \"Could not flatten hierarchy for class {0}. Hierarchy flattening must appear before .With* methods\", \"Hierarchy flattening\");\n\n        /// <summary>\n        /// Error when trying to specify invalid references processor type\n        /// </summary>\n        public static readonly ErrorMessage RTE0016_InvalidRefProcessorType = new ErrorMessage(0016, \"Type {0} does not seem to be inherit from Reinforced.Typings.ReferencesInspection.ReferenceProcessorBase type\", \"References processor\");\n\n        /// <summary>\n        /// Contradictious export instructions: class {0} cannot be exported as {1} because it is already exported as something else\n        /// </summary>\n        public static readonly ErrorMessage RTE0017_FluentContradict = new ErrorMessage(0017, \"Contradictious export instructions: class {0} cannot be exported as {1} because it is already exported as something else (probably via attributes)\", \"Fluent configuration\");\n\n        /// <summary>\n        /// Contradictious export instructions: class {0} cannot be exported as {1} because it is already exported as something else\n        /// </summary>\n        public static readonly ErrorMessage RTE0018_FluentThirdParty = new ErrorMessage(0018, \"Contradictious export instructions: class {0} is already being exported as third-party, but you try to reexport it as {1}\", \"Fluent configuration\");\n        #endregion\n\n        #region Warnings\n        /// <summary>\n        /// XMLDOC file not supplied\n        /// </summary>\n        public static readonly ErrorMessage RTW0001_DocumentationNotSupplied = new ErrorMessage(0001, \"XMLDOC file not supplied\", \"JSDOC\");\n\n        /// <summary>\n        /// Could not find XMLDOC file {0}\n        /// </summary>\n        public static readonly ErrorMessage RTW0002_DocumentationNotFound = new ErrorMessage(0002, \"Could not find XMLDOC file {0}\", \"JSDOC\");\n\n        /// <summary>\n        /// Could not find suitable TypeScript type for {0}. 'any' assumed.\n        /// </summary>\n        public static readonly ErrorMessage RTW0003_TypeUnknown = new ErrorMessage(0003, \"Could not find suitable TypeScript type for {0}. '{1}' assumed.\", \"Type resolvation\");\n\n        /// <summary>\n        /// No suitable base constructor found for {0}. Generating 'super' call with all nulls.\n        /// </summary>\n        public static readonly ErrorMessage RTW0004_DefaultSuperCall = new ErrorMessage(0004, \"No suitable base constructor found for {0}. Generating 'super' call with all nulls.\", \"Class code generation\");\n        \n        /// <summary>\n        /// Class {0} (base for {1}) is exported as interface. It is potentially unsafe facility.\n        /// </summary>\n        public static readonly ErrorMessage RTW0005_BaseClassExportingAsInterface = new ErrorMessage(0005, \"Class {0} (base for {1}) is exported as interface. It is potentially unsafe facility.\", \"Class code generation\");\n\n        /// <summary>\n        /// Error parsering XMLDOC file {0}: {1}\n        /// </summary>\n        public static readonly ErrorMessage RTW0006_DocumentationParseringError = new ErrorMessage(0006, \"Error parsing XMLDOC file {0}: {1}\", \"JSDOC\");\n\n        /// <summary>\n        /// Error parsering XMLDOC file {0}: {1}\n        /// </summary>\n        public static readonly ErrorMessage RTW0007_InvalidDictionaryKey = new ErrorMessage(0007, \"{0} is not valid type for JS object key (original type {1})\", \"Type resolvation\");\n\n        /// <summary>\n        /// Error of type loding\n        /// </summary>\n        public static readonly ErrorMessage RTW0008_TypeloadException = new ErrorMessage(0008, \"Some types cannot be loaded via reflection: {0}\", \"Type loading\");\n\n        \n\n        #endregion\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Exceptions/RtException.cs",
    "content": "﻿using System;\n\nnamespace Reinforced.Typings.Exceptions\n{\n    /// <summary>\n    /// Base class for RT exception. \n    /// All the RT exceptions will be provided to VisualStudio's errors tab\n    /// </summary>\n    public class RtException : Exception\n    {\n        /// <summary>\n        /// Internal error code\n        /// </summary>\n        public int Code { get; private set; }\n\n        /// <summary>\n        /// Error subcategory\n        /// </summary>\n        public string Subcategory { get; private set; }\n\n        /// <summary>\n        /// Constructs new RT exception\n        /// </summary>\n        /// <param name=\"message\">Error message</param>\n        /// <param name=\"code\">Error code</param>\n        /// <param name=\"subcategory\">Error subcategory (optional)</param>\n        public RtException(string message, int code, string subcategory = \"\") : base(message)\n        {\n            Code = code;\n            Subcategory = subcategory;\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Exceptions/RtWarning.cs",
    "content": "﻿namespace Reinforced.Typings.Exceptions\n{\n    /// <summary>\n    /// Represents warning message that could be displayed during build. \n    /// Warnings can be added to global warnings collection located at ExportContext.Warnings. \n    /// ExportContext instance can be found inside every TsCodeGeneratorBase\n    /// </summary>\n    public class RtWarning\n    {\n        /// <summary>\n        /// Warning code\n        /// </summary>\n        public int Code { get; set; }\n\n        /// <summary>\n        /// Warning subcategory\n        /// </summary>\n        public string Subcategory { get; set; }\n\n        /// <summary>\n        /// Warning detailed text\n        /// </summary>\n        public string Text { get; set; }\n\n        /// <summary>\n        /// Instantiates new RtWarning that is suitable be added to warnings collection.  \n        /// </summary>\n        /// <param name=\"code\">Warning code</param>\n        /// <param name=\"subcategory\">Warning subcategory (optional). Important! Warning subcategory should not contain word \"warning\" and \":\" symbol</param>\n        /// <param name=\"text\">Warning text</param>\n        public RtWarning(int code, string subcategory = null, string text = null)\n        {\n            Code = code;\n            Subcategory = subcategory;\n            Text = text;\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/ExportContext/ExportContext.Configurables.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing Reinforced.Typings.Fluent;\n// ReSharper disable CheckNamespace\nnamespace Reinforced.Typings\n{\n    /// <summary>\n    ///     TsExport exporting settings\n    /// </summary>\n    public partial class ExportContext\n    {\n\n        private bool _hierarchical;\n        /// <summary>\n        ///     True to create project hierarchy in target folder.\n        ///     False to store generated typings in single file\n        /// </summary>\n        public bool Hierarchical\n        {\n            get { return _hierarchical; }\n            set\n            {\n                if (_isLocked) return;\n                _hierarchical = value;\n            }\n        }\n\n        private string _targetDirectory;\n        /// <summary>\n        ///     Target directory where to store generated typing files.\n        ///     This parameter is not used when Hierarcy is false\n        /// </summary>\n        public string TargetDirectory\n        {\n            get { return _targetDirectory; }\n            set\n            {\n                if (_isLocked) return;\n                _targetDirectory = value;\n            }\n        }\n        \n        private string _targetFile;\n        /// <summary>\n        ///     Target file where to store generated sources.\n        ///     This parameter is not used when Hierarchy is true\n        /// </summary>\n        public string TargetFile\n        {\n            get { return _targetFile; }\n            set\n            {\n                if (_isLocked) return;\n                _targetFile = value;\n            }\n        }\n        \n        private Action<ConfigurationBuilder> _configurationMethod;\n        /// <summary>\n        ///     Fluent configuration method\n        /// </summary>\n        public Action<ConfigurationBuilder> ConfigurationMethod\n        {\n            get { return _configurationMethod; }\n            set\n            {\n                if (_isLocked) return;\n                _configurationMethod = value;\n            }\n        }\n\n        private string _documentationFilePath;\n        /// <summary>\n        ///     Path to assembly's XMLDOC file\n        /// </summary>\n        public string DocumentationFilePath\n        {\n            get { return _documentationFilePath; }\n            set\n            {\n                if (_isLocked) return;\n                _documentationFilePath = value;\n            }\n        }\n        \n        private HashSet<int> _suppressedWarningCodes = new HashSet<int>();\n        /// <summary>\n        ///     Gets or sets the list of suppressed warning codes\n        /// </summary>\n        public IEnumerable<int> SuppressedWarningCodes\n        {\n            get { return _suppressedWarningCodes; }\n            set\n            {\n                if (_isLocked) return;\n                _suppressedWarningCodes = new HashSet<int>(value);\n            }\n        }\n\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/ExportContext/ExportContext.Initialization.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Reflection;\nusing Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Fluent;\nusing Reinforced.Typings.ReferencesInspection;\nusing Reinforced.Typings.Xmldoc;\n// ReSharper disable CheckNamespace\nnamespace Reinforced.Typings\n{\n    /// <summary>\n    ///     TsExport exporting settings\n    /// </summary>\n    public partial class ExportContext\n    {\n        private bool _isInitialized;\n\n        internal void Initialize()\n        {\n            if (_isInitialized) return;\n\n            ApplyFluent();\n            InitializeDocumentation();\n            BuildTypesCache();\n            InspectGlobalReferences();\n            Generators = new GeneratorManager(this);\n\n            _isInitialized = true;\n        }\n\n        private void ApplyFluent()\n        {\n            var hasFluentConfiguration = ConfigurationMethod != null;\n            if (hasFluentConfiguration)\n            {\n                var configurationBuilder = new ConfigurationBuilder(this);\n                ConfigurationMethod(configurationBuilder);\n            }\n        }\n\n        private void InitializeDocumentation()\n        {\n            Documentation =\n                new DocumentationManager(Global.GenerateDocumentation ? DocumentationFilePath : null, this);\n            foreach (var additionalDocumentationPath in Project.AdditionalDocumentationPathes)\n            {\n                Documentation.CacheDocumentation(additionalDocumentationPath, this);\n            }\n        }\n\n        internal InspectedReferences _globalReferences;\n        private void InspectGlobalReferences()\n        {\n            var assemblies = SourceAssemblies;\n            var references = assemblies.Where(c => c.GetCustomAttributes<TsReferenceAttribute>().Any())\n                .SelectMany(c => c.GetCustomAttributes<TsReferenceAttribute>())\n                .Select(c => c.ToReference())\n                .Union(Project.References);\n\n            if (Global.UseModules)\n            {\n                var imports = assemblies.Where(c => c.GetCustomAttributes<TsImportAttribute>().Any())\n                    .SelectMany(c => c.GetCustomAttributes<TsImportAttribute>())\n                    .Select(c => c.ToImport())\n                    .Union(Project.Imports);\n                _globalReferences = new InspectedReferences(references, imports);\n                return;\n            }\n            _globalReferences = new InspectedReferences(references);\n        }\n\n\n\n        private HashSet<Type> _allTypesHash;\n        private void BuildTypesCache()\n        {\n            var allTypes = SourceAssemblies\n                .SelectMany(c => c._GetTypes(this)\n                    .Where(d => d.GetCustomAttribute<TsAttributeBase>(false) != null || d.GetCustomAttribute<TsThirdPartyAttribute>() != null))\n                .Union(Project.BlueprintedTypes)\n                .Distinct()\n                .ToList();\n\n            _allTypesHash = new HashSet<Type>(allTypes);\n            if (Hierarchical)\n            {\n                foreach (var type in _allTypesHash)\n                {\n                    Project.AddFileSeparationSettings(type);\n                }\n            }\n            if (!Hierarchical) TypesToFilesMap = new Dictionary<string, IEnumerable<Type>>();\n            else TypesToFilesMap =\n                allTypes.Where(d => Project.Blueprint(d).ThirdParty == null)\n                    .GroupBy(c => GetPathForType(c, stripExtension: false))\n                    .ToDictionary(c => c.Key, c => c.AsEnumerable());\n\n\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/ExportContext/ExportContext.Operations.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing Reinforced.Typings.Exceptions;\n\n// ReSharper disable CheckNamespace\nnamespace Reinforced.Typings\n{\n    /// <summary>\n    ///     TsExport exporting settings\n    /// </summary>\n    public partial class ExportContext\n    {\n        internal void Lock()\n        {\n            _isLocked = true;\n            Global.Lock();\n        }\n\n        internal void Unlock()\n        {\n            _isLocked = false;\n            Global.Unlock();\n        }\n\n        /// <summary>\n        /// Retrieves full path to file where specified type will be exported to\n        /// </summary>\n        /// <param name=\"t\">Type</param>\n        /// <param name=\"stripExtension\">Remove file extension. Set to false if you still want to get path with extension in case of module export</param>\n        /// <returns>Full path to file containing exporting type</returns>\n        internal string GetPathForType(Type t, bool stripExtension = true)\n        {\n            var fromConfiguration = Project.GetPathForFile(t);\n            if (!string.IsNullOrEmpty(fromConfiguration))\n            {\n                if (Global.UseModules && stripExtension)\n                {\n                    if (fromConfiguration.EndsWith(\".d.ts\"))\n                        fromConfiguration = fromConfiguration.Substring(0, fromConfiguration.Length - 5);\n                    if (fromConfiguration.EndsWith(\".ts\"))\n                        fromConfiguration = fromConfiguration.Substring(0, fromConfiguration.Length - 3);\n                }\n                var r = Path.Combine(TargetDirectory, fromConfiguration);\n                return r;\n            }\n\n            var ns = Project.Blueprint(t).GetNamespace();\n            var tn = Project.Blueprint(t).GetName().ToString();\n\n            var idx = tn.IndexOf('<');\n            if (idx != -1) tn = tn.Substring(0, idx);\n            if (!Global.UseModules || !stripExtension)\n            {\n                if (Global.ExportPureTypings) tn = tn + \".d.ts\";\n                else tn = tn + \".ts\";\n            }\n\n            if (string.IsNullOrEmpty(ns)) return Path.Combine(TargetDirectory, tn);\n            if (!string.IsNullOrEmpty(Global.RootNamespace))\n            {\n                ns = ns.Replace(Global.RootNamespace, string.Empty);\n            }\n            ns = ns.Trim('.').Replace('.', Path.DirectorySeparatorChar);\n\n            var pth =\n                Path.Combine(\n                    !string.IsNullOrEmpty(ns) ? Path.Combine(TargetDirectory, ns) : TargetDirectory,\n                    tn);\n\n            return pth;\n        }\n\n        /// <summary>\n        /// Sets up exported file dummy\n        /// </summary>\n        /// <param name=\"fileName\">File name</param>\n        /// <returns>Exported file dummy</returns>\n        public ExportedFile CreateExportedFile(string fileName = null)\n        {\n            if (!Hierarchical && fileName == TargetFile) fileName = null;\n            IEnumerable<Type> types = null;\n            if (!string.IsNullOrEmpty(fileName))\n            {\n                if (!TypesToFilesMap.ContainsKey(fileName))\n                {\n                    var allFiles = string.Join(\", \", TypesToFilesMap.Keys);\n                    throw new Exception(\"Current configuration does not contain file \" + fileName + \", only \" + allFiles);\n                }\n\n                types = new HashSet<Type>(TypesToFilesMap[fileName]);\n            }\n            else\n            {\n                types = _allTypesHash;\n            }\n            var typesHash = new HashSet<Type>(types.Where(d => Project.Blueprint(d).ThirdParty == null));\n\n            ExportedFile ef = new ExportedFile(typesHash, fileName, _globalReferences.Duplicate(), this);\n            return ef;\n        }\n        \n        \n        /// <summary>\n        /// Adds export-time warning that will be raised to the common warnings list ar the end\n        /// </summary>\n        /// <param name=\"warning\">Warning instance</param>\n        public void AddWarning(RtWarning warning)\n        {\n            if (!_suppressedWarningCodes.Contains(warning.Code))\n            {\n                _warnings.Add(warning);\n            }\n        }\n        \n        /// <summary>\n        /// Clears warnings list\n        /// </summary>\n        public void ClearWarnings()\n        {\n            _warnings.Clear();\n        }\n\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/ExportContext/ExportContext.Readonly.cs",
    "content": "﻿using System.Collections.Generic;\nusing System.Reflection;\nusing Reinforced.Typings.Exceptions;\nusing Reinforced.Typings.ReferencesInspection;\nusing Reinforced.Typings.Xmldoc;\n// ReSharper disable CheckNamespace\nnamespace Reinforced.Typings\n{\n    /// <summary>\n    ///     TsExport exporting settings\n    /// </summary>\n    public partial class ExportContext\n    {\n        /// <summary>\n        /// File I/O operations frontend\n        /// </summary>\n        public IFilesOperations FileOperations { get; private set; }\n\n        /// <summary>\n        /// Identifies where current export is performed in terms of AST. \n        /// Context.Location could be used to conditionally add members to different places of generated source code\n        /// </summary>\n        public Location Location { get; private set; }\n\n        /// <summary>\n        ///     Gets the assemblies to extract typings from.\n        ///     Important! TsExporter do not perform any job for loading assemblies. It is left upon a calling side.\n        ///     That is because loading assemblies is highly dependent on calling side's AppDomain.\n        ///     TsExporter shouldnt handle all this shit\n        /// </summary>\n        public Assembly[] SourceAssemblies { get; private set; }\n\n        /// <summary>\n        ///     Documentation manager\n        /// </summary>\n        public DocumentationManager Documentation { get; private set; }\n\n        private readonly List<RtWarning> _warnings = new List<RtWarning>();\n        \n        /// <summary>\n        /// Warnings that should be displayed after build. \n        /// Feel free to add messages from generators here.\n        /// </summary>\n        public IEnumerable<RtWarning> Warnings \n        {\n            get\n            {\n                return _warnings;\n            } \n        }\n\n        /// <summary>\n        /// Blueprint of type currently being exported\n        /// </summary>\n        public TypeBlueprint CurrentBlueprint\n        {\n            get\n            {\n                if (Location._typesStack.Count == 0) return null;\n                return Location._typesStack.Peek();\n            }\n        }\n\n        /// <summary>\n        /// Global generation parameters\n        /// </summary>\n        public GlobalParameters Global { get; private set; }\n\n        /// <summary>\n        /// Generators cache\n        /// </summary>\n        public GeneratorManager Generators { get; private set; }\n\n        /// <summary>\n        /// Project blueprint\n        /// </summary>\n        public ProjectBlueprint Project { get; private set; }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/ExportContext/ExportContext.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Reflection;\n\nnamespace Reinforced.Typings\n{\n    /// <summary>\n    ///     TsExport exporting settings\n    /// </summary>\n    public sealed partial class ExportContext : IWarningsCollector\n    {\n\n        private bool _isLocked;\n        \n        /// <summary>\n        /// Instantiates new ExportContext instance (only for testing/integration)\n        /// </summary>\n        public ExportContext(Assembly[] sourceAssemblies, IFilesOperations fileOperationsServiceOverride = null)\n        {\n            FileOperations = fileOperationsServiceOverride ?? new FilesOperations();\n            FileOperations.Context = this;\n            Global = new GlobalParameters(sourceAssemblies);\n            SourceAssemblies = sourceAssemblies;\n            Location = new Location(this);\n            Project = new ProjectBlueprint();\n        }\n\n        /// <summary>\n        ///     There is a case when you are exporting base class as interface. It may lead to some unusual handling of generation,\n        ///     so I'm using this property to denote such cases and fix it in-place\n        /// </summary>\n        internal bool SpecialCase { get; set; }\n\n        internal Dictionary<string, IEnumerable<Type>> TypesToFilesMap { get; private set; }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/ExportContext/IWarningsCollector.cs",
    "content": "﻿using Reinforced.Typings.Exceptions;\n\nnamespace Reinforced.Typings\n{\n    internal interface IWarningsCollector\n    {\n        void AddWarning(RtWarning warning);\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/ExportedFile.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Text;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Ast.Dependency;\nusing Reinforced.Typings.ReferencesInspection;\n\nnamespace Reinforced.Typings\n{\n    /// <summary>\n    /// Resulting TS file model\n    /// </summary>\n    public class ExportedFile\n    {\n        private readonly ExportContext _context;\n\n        internal ExportContext Context\n        {\n            get { return _context; }\n        }\n\n        /// <summary>Initializes a new instance of the <see cref=\"T:System.Object\" /> class.</summary>\n        internal ExportedFile(HashSet<Type> typesToExport, string fileName, InspectedReferences references, ExportContext context)\n        {\n            _context = context;\n            TypesToExport = typesToExport;\n            FileName = fileName;\n            AllTypesIsSingleFile = !_context.Hierarchical;\n            References = references;\n            TypeResolver = new TypeResolver(this);\n            AddReferencesFromTypes();\n        }\n\n        /// <summary>\n        /// File references and imports\n        /// </summary>\n        public InspectedReferences References { get; private set; }\n\n        /// <summary>\n        /// Namespaces ASTs\n        /// </summary>\n        public RtNamespace[] Namespaces { get; internal set; }\n\n        /// <summary>\n        /// Type Resolver object\n        /// </summary>\n        public TypeResolver TypeResolver { get; private set; }\n\n        /// <summary>\n        /// Gets or sets whether all exported types are stored in single file\n        /// </summary>\n        public bool AllTypesIsSingleFile { get; private set; }\n\n        /// <summary>\n        /// Set of types being exported within this file\n        /// </summary>\n        public HashSet<Type> TypesToExport { get; private set; }\n\n        /// <summary>\n        /// Absolute file path+name+extension\n        /// </summary>\n        public string FileName { get; private set; }\n\n        private IEnumerable<RtReference> _refinedReferences;\n        private IEnumerable<RtImport> _refinedImports;\n\n        /// <summary>\n        /// Gets final version of references (after conditional user processing)\n        /// </summary>\n        public IEnumerable<RtReference> FinalReferences\n        {\n            get { return _refinedReferences ?? References.References; }\n        }\n\n        /// <summary>\n        /// Gets final version of references (after conditional user processing)\n        /// </summary>\n        public IEnumerable<RtImport> FinalImports\n        {\n            get { return _refinedImports ?? References.Imports; }\n        }\n\n        internal void ApplyReferenceProcessor(ReferenceProcessorBase refProcessor = null)\n        {\n            if (refProcessor == null) return;\n\n            var references = References.References;\n            references = refProcessor.FilterReferences(references, this);\n            if (references == null) references = new RtReference[0];\n            _refinedReferences = references;\n\n            var imports = References.Imports;\n            imports = refProcessor.FilterImports(imports, this);\n            if (imports == null) imports = new RtImport[0];\n\n            _refinedImports = imports;\n        }\n\n        /// <summary>\n        /// Ensures that imports for specified type presents in specified file\n        /// </summary>\n        /// <param name=\"t\">Type to import</param>\n        /// <param name=\"typeName\">Type name (probably overriden)</param>\n        /// <returns>Import AST node or null if no import needed. Returns existing import in case if type is already imported</returns>\n        internal RtImport EnsureImport(Type t, string typeName)\n        {\n            if (TypesToExport.Contains(t)) return null;\n\n            var bp = _context.Project.Blueprint(t);\n            if (bp.ThirdParty != null)\n            {\n                foreach (var tpi in bp.ThirdPartyImports)\n                {\n                    References.AddImport(tpi);\n                }\n\n                return null;\n            }\n\n            if (AllTypesIsSingleFile) return null;\n\n            var relPath = GetRelativePathForType(t, FileName);\n            if (string.IsNullOrEmpty(relPath)) return null;\n\n            RtImport result = null;\n\n            if (References.StarImports.ContainsKey(relPath))\n            {\n                return References.StarImports[relPath];\n            }\n\n            if (_context.Global.DiscardNamespacesWhenUsingModules)\n            {\n                var target = string.Format(\"{{ {0} }}\", typeName);\n                result = new RtImport() { From = relPath, Target = target };\n                References.AddImport(result);\n            }\n            else\n            {\n                var alias = Path.GetFileNameWithoutExtension(relPath);\n                var target = string.Format(\"* as {0}\", alias);\n                result = new RtImport() { From = relPath, Target = target };\n                References.AddImport(result);\n            }\n            return result;\n        }\n\n        /// <summary>\n        /// Ensures that reference for specified type presents in specified file\n        /// </summary>\n        /// <param name=\"t\">Type to reference</param>\n        /// <returns>Reference AST node or null if no reference needed. Returns existing reference in case if type is already referenced</returns>\n        internal void EnsureReference(Type t)\n        {\n            if (TypesToExport.Contains(t)) return;\n            var bp = _context.Project.Blueprint(t);\n            if (bp.ThirdParty != null)\n            {\n                foreach (var tpi in bp.ThirdPartyReferences)\n                {\n                    References.AddReference(tpi);\n                }\n                return;\n            }\n            if (AllTypesIsSingleFile) return;\n            var relPath = GetRelativePathForType(t, FileName);\n            var result = new RtReference() { Path = relPath };\n            References.AddReference(result);\n        }\n\n        private string GetRelativePathForType(Type typeToReference, string currentFile)\n        {\n            if (_context.Global.UseModules)\n            {\n                currentFile = Path.Combine(Path.GetDirectoryName(currentFile), Path.GetFileNameWithoutExtension(currentFile));\n            }\n            var desiredFile = _context.GetPathForType(typeToReference);\n            if (currentFile == desiredFile) return String.Empty;\n\n            var desiredFileName = Path.GetFileName(desiredFile);\n\n            var relPath = GetRelativeNamespacePath(Path.GetDirectoryName(currentFile),\n                Path.GetDirectoryName(desiredFile));\n\n            relPath = Path.Combine(relPath, desiredFileName);\n            if (_context.Global.UseModules)\n            {\n                if (!relPath.StartsWith(\".\")) relPath = \"./\" + relPath;\n            }\n            return relPath;\n        }\n\n        private string GetRelativeNamespacePath(string currentNamespace, string desiredNamespace)\n        {\n            if (currentNamespace == desiredNamespace) return string.Empty;\n            if (string.IsNullOrEmpty(currentNamespace)) return desiredNamespace;\n\n            var current = currentNamespace.Split(new[] { Path.DirectorySeparatorChar }, StringSplitOptions.RemoveEmptyEntries);\n            var desired = desiredNamespace.Split(new[] { Path.DirectorySeparatorChar }, StringSplitOptions.RemoveEmptyEntries);\n\n            var result = new StringBuilder();\n            if (string.IsNullOrEmpty(desiredNamespace))\n            {\n                for (var i = 0; i < current.Length; i++) result.Append(\"../\");\n            }\n            else\n            {\n                var level = current.Length;\n                //var cr1 = current.I(level);\n                //var ds1 = desired.I(level);\n                while (level >= 0 && (!ArrayExtensions.PartialCompare(current, desired, level)))\n                {\n                    //var cr = current.I(level);\n                    //var ds = desired.I(level);\n                    result.Append(\"../\");\n                    level--;\n\n                }\n                //level++;\n                for (; level < desired.Length; level++)\n                {\n                    result.AppendFormat(\"{0}/\", desired[level]);\n                }\n            }\n            return result.ToString().Trim(Path.DirectorySeparatorChar);\n        }\n\n        private void AddReferencesFromTypes()\n        {\n            foreach (var type in TypesToExport)\n            {\n                AddTypeSpecificReferences(type);\n                if (_context.Global.UseModules) AddTypeSpecificImports(type);\n            }\n        }\n\n        private void AddTypeSpecificReferences(Type t)\n        {\n            var references = _context.Project.Blueprint(t).References;\n\n            foreach (var tsAddTypeReferenceAttribute in references)\n            {\n                if (tsAddTypeReferenceAttribute.Type != null)\n                {\n                    TypeResolver.ResolveTypeName(tsAddTypeReferenceAttribute.Type);\n                }\n                else\n                {\n                    References.AddReference(tsAddTypeReferenceAttribute.ToReference());\n                }\n            }\n\n        }\n\n        private void AddTypeSpecificImports(Type t)\n        {\n            var imports = _context.Project.Blueprint(t).Imports;\n            foreach (var tsAddTypeImportAttribute in imports)\n            {\n                References.AddImport(tsAddTypeImportAttribute.ToImport());\n            }\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/FilesOperations.cs",
    "content": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing Reinforced.Typings.Ast.Dependency;\nusing Reinforced.Typings.Exceptions;\nusing Reinforced.Typings.ReferencesInspection;\nusing Reinforced.Typings.Visitors;\nusing Reinforced.Typings.Visitors.TypeScript;\nusing Reinforced.Typings.Visitors.Typings;\n\nnamespace Reinforced.Typings\n{\n    /// <summary>\r\n    /// Implementation of file operations abstraction\r\n    /// </summary>\n    public class FilesOperations : IFilesOperations\n    {\n        private readonly List<string> _tmpFiles = new List<string>();\n\n        /// <summary>\n        /// <inheritdoc />\n        /// </summary>\n        public ExportContext Context { get; set; }\n\n        /// <summary>\n        /// <inheritdoc />\n        /// </summary>\n        public void DeployTempFiles()\n        {\n            foreach (var tmpFile in _tmpFiles)\n            {\n                var origFile = Path.GetFileNameWithoutExtension(tmpFile);\n                var origDir = Path.GetDirectoryName(tmpFile);\n                origFile = Path.Combine(origDir, origFile);\n                try\n                {\n                    if (File.Exists(origFile)) File.Delete(origFile);\n                    File.Move(tmpFile, origFile);\n#if DEBUG\n                    Console.WriteLine(\"File replaced: {0} -> {1}\", tmpFile, origFile);\n#endif\n                }\n                catch (Exception ex)\n                {\n                    ErrorMessages.RTE0002_DeployingFilesError.Throw(origFile, ex.Message);\n                }\n            }\n        }\n\n        /// <summary>\r\n        /// Internal implementation of file Export operation\r\n        /// </summary>\r\n        /// <param name=\"tw\">Target stream</param>\r\n        /// <param name=\"file\">Exported file</param>\n        protected virtual void ExportCore(StreamWriter tw, ExportedFile file)\n        {\n\n            var visitor =\n                Context.Global.VisitorType == null\n                    ? Context.Global.ExportPureTypings\n                        ? new TypingsExportVisitor(tw, Context)\n                        : new TypeScriptExportVisitor(tw, Context)\n                    : (TextExportingVisitor) Activator.CreateInstance(Context.Global.VisitorType, new object[] { tw, Context });\n\n            WriteWarning(tw);\n\n            visitor.VisitFile(file);\n        }\n\n        /// <summary>\n        /// <inheritdoc />\n        /// </summary>\n        public void Export(string fileName, ExportedFile file)\n        {\n            using (var fs = GetTmpFile(fileName))\n            {\n                using (var tw = new StreamWriter(fs))\n                {\n                    tw.NewLine = Context.Global.NewLine;\n                    ExportCore(tw, file);\n                }\n            }\n        }\n\n        private void WriteWarning(TextWriter tw)\n        {\n            if (Context.Global.WriteWarningComment)\n            {\n                tw.WriteLine(\"//     This code was generated by a Reinforced.Typings tool.\");\n                tw.WriteLine(\"//     Changes to this file may cause incorrect behavior and will be lost if\");\n                tw.WriteLine(\"//     the code is regenerated.\");\n                tw.WriteLine();\n            }\n        }\n\n        private Stream GetTmpFile(string fileName)\n        {\n            fileName = fileName + \".tmp\";\n            try\n            {\n                var dir = Path.GetDirectoryName(fileName);\n                if (!Directory.Exists(dir)) Directory.CreateDirectory(dir);\n\n                if (File.Exists(fileName))\n                {\n                    File.Delete(fileName);\n                }\n#if DEBUG\n                Console.WriteLine(\"Temp file aquired: {0}\", fileName);\n#endif\n                _tmpFiles.Add(fileName);\n            }\n            catch (Exception ex)\n            {\n                ErrorMessages.RTE0001_TempFileError.Throw(fileName, ex.Message);\n            }\n\n            return File.OpenWrite(fileName);\n        }\n\n        /// <summary>\n        /// <inheritdoc />\n        /// </summary>\n        public void ClearTempRegistry()\n        {\n            _tmpFiles.Clear();\n        }\n    }\n\n    internal static class ArrayExtensions\n    {\n        public static bool PartialCompare(string[] array1, string[] array2, int idx)\n        {\n            var minLen = array1.Length > array2.Length ? array2.Length : array1.Length;\n            if (idx > minLen) return false;\n            for (int i = 0; i < idx; i++)\n            {\n                if (array1[i] != array2[i]) return false;\n            }\n\n            return true;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/ConfigurationBuilder.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing Reinforced.Typings.Ast.Dependency;\nusing Reinforced.Typings.Ast.TypeNames;\nusing Reinforced.Typings.Exceptions;\n\nnamespace Reinforced.Typings.Fluent\n{\n    /// <summary>\n    ///     Fluent configuration builder\n    /// </summary>\n    public class ConfigurationBuilder\n    {\n       \n        private readonly Dictionary<Type, TypeExportBuilder> _typeExportBuilders = new Dictionary<Type, TypeExportBuilder>();\n        private readonly Dictionary<Type, ThirdPartyExportBuilder> _thirdPartyBuilders = new Dictionary<Type, ThirdPartyExportBuilder>();\n\n        /// <summary>\n        /// Export context\n        /// </summary>\n        public ExportContext Context { get; private set; }\n        internal ConfigurationBuilder(ExportContext context)\n        {\n            Context = context;\n            GlobalBuilder = new GlobalConfigurationBuilder(context.Global);\n        }\n\n        internal List<string> AdditionalDocumentationPathes\n        {\n            get { return Context.Project.AdditionalDocumentationPathes; }\n        }\n\n        internal List<RtReference> References\n        {\n            get { return Context.Project.References; }\n        }\n\n        internal List<RtImport> Imports\n        {\n            get { return Context.Project.Imports; }\n        }\n\n        internal Dictionary<Type, TypeExportBuilder> TypeExportBuilders\n        {\n            get { return _typeExportBuilders; }\n        }\n\n        internal Dictionary<Type, ThirdPartyExportBuilder> ThirdPartyBuilders\n        {\n            get { return _thirdPartyBuilders; }\n        }\n\n        internal Dictionary<Type, RtTypeName> GlobalSubstitutions\n        {\n            get { return Context.Project.GlobalSubstitutions; }\n        }\n\n        internal Dictionary<Type, Func<Type, TypeResolver, RtTypeName>> GenericSubstitutions\n        {\n            get { return Context.Project.GlobalGenericSubstitutions; }\n        }\n\n        internal GlobalConfigurationBuilder GlobalBuilder { get; private set; }\n\n        internal TypeBlueprint GetCheckedBlueprint<TAttr>(Type type)\n        {\n            var bp = Context.Project.Blueprint(type);\n            if (bp.TypeAttribute != null && !typeof(TAttr)._IsAssignableFrom(bp.TypeAttribute.GetType()))\n            {\n                var name = typeof(TAttr).Name.Substring(2).Replace(\"Attribute\", string.Empty).ToLower();\n\n                ErrorMessages.RTE0017_FluentContradict.Throw(type, name);\n            }\n\n            if (bp.ThirdParty != null)\n            {\n                var name = typeof(TAttr).Name.Substring(2).Replace(\"Attribute\", string.Empty).ToLower();\n                ErrorMessages.RTE0018_FluentThirdParty.Throw(type, name);\n            }\n            return bp;\n        }\n\n        internal TypeBlueprint GetCheckedThirdPartyBlueprint(Type type)\n        {\n            var bp = Context.Project.Blueprint(type);\n\n            if (bp.TypeAttribute != null)\n            {\n                ErrorMessages.RTE0017_FluentContradict.Throw(type, \"third party\");\n            }\n\n            return bp;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/ConfigurationBuilderExtensions.cs",
    "content": "﻿using System;\nusing System.IO;\nusing System.Reflection;\nusing Reinforced.Typings.Ast.Dependency;\nusing Reinforced.Typings.Ast.TypeNames;\n\nnamespace Reinforced.Typings.Fluent\n{\n    /// <summary>\n    /// Set of extensions for configuration builder\n    /// </summary>\n    public static class ConfigurationBuilderExtensions\n    {\n        /// <summary>\n        ///     Adds global reference to another typescript library\n        /// </summary>\n        /// <param name=\"conf\">Table configurator</param>\n        /// <param name=\"path\">Full path to .d.ts or .ts file</param>\n        /// <returns>Fluent</returns>\n        public static ConfigurationBuilder AddReference(this ConfigurationBuilder conf, string path)\n        {\n            conf.Context.Project.References.Add(new RtReference { Path = path });\n            return conf;\n        }\n\n        /// <summary>\n        ///     Adds import directive to file containing typing for current type\n        ///     This method is only used while splitting generated types to different files\n        /// </summary>\n        /// <param name=\"conf\">Configurator</param>\n        /// <param name=\"target\">\n        /// What we are importing from module.\n        /// Everything that is placed after \"import\" keyword and before \"from\" or \"= require(..)\"\n        /// Examples: \n        /// - \"import * as shape from './Shapes'\" -> \"* as shape\" is target <br/>\n        /// - \"import { Foo } from 'Bar'\" -> \"{ Foo }\" is target <br/>\n        /// - \"import { Bar2 as bar } from 'Baz'\" -> \"{ Bar2 as bar }\" is target <br/>\n        /// If ImportTarget is null then side-effect import will be generated. \n        /// </param>\n        /// <param name=\"from\">\n        /// Import source is everything that follows after \"from\" keyword. \n        /// Please not the you do not have to specify quotes here! Quotes will be added automatically\n        /// </param>\n        /// <param name=\"isRequire\">When true, import will be generated as \"import ImportTarget = require('ImportSource')\"</param>\n        public static ConfigurationBuilder AddImport(this ConfigurationBuilder conf, string target, string from, bool isRequire = false)\n        {\n            conf.Imports.Add(new RtImport() { Target = target, From = from, IsRequire = isRequire });\n            return conf;\n        }\n\n        /// <summary>\n        /// Defines global type substitution. Substituted type will be strictly replaced with substitution during export\n        /// </summary>\n        /// <param name=\"builder\"></param>\n        /// <param name=\"substitute\">Type to substitute</param>\n        /// <param name=\"substitution\">Substitution for type</param>\n        /// <returns>Fluent</returns>\n        public static ConfigurationBuilder Substitute(this ConfigurationBuilder builder, Type substitute,\n            RtTypeName substitution)\n        {\n            builder.GlobalSubstitutions[substitute] = substitution;\n            return builder;\n        }\n\n        /// <summary>\n        /// Defines global generic type substitution. Substituted type will be strictly replaced with substitution during export\n        /// </summary>\n        /// <param name=\"builder\"></param>\n        /// <param name=\"genericType\">Type to substitute</param>\n        /// <param name=\"substitutionFn\">Substitution for type</param>\n        /// <returns>Fluent</returns>\n        public static ConfigurationBuilder SubstituteGeneric(this ConfigurationBuilder builder, Type genericType,\n            Func<Type, TypeResolver, RtTypeName> substitutionFn)\n        {\n            if (!genericType._IsGenericTypeDefinition())\n            {\n                if (!genericType._IsGenericType())\n                {\n                    throw new Exception(string.Format(\n                        \"Type {0} does not appear to be generic type definition. Use MyType<> to define substitution\",\n                        genericType.FullName));\n                }\n\n                genericType = genericType.GetGenericTypeDefinition();\n            }\n            builder.GenericSubstitutions[genericType] = substitutionFn;\n            return builder;\n        }\n\n\n        /// <summary>\n        ///     Tries to find documentation .xml file for specified assembly and take it in account when generating documentaion\n        /// </summary>\n        /// <param name=\"conf\">Table configurator</param>\n        /// <param name=\"assmbly\">Assembly which documentation should be included</param>\n        /// <param name=\"documentationFileName\">Override XMLDOC file name if differs (please include .xml extension)</param>\n        /// <returns>Fluent</returns>\n        public static ConfigurationBuilder TryLookupDocumentationForAssembly(this ConfigurationBuilder conf,\n            Assembly assmbly, string documentationFileName = null)\n        {\n            if (!string.IsNullOrEmpty(documentationFileName)\n                && Path.IsPathRooted(documentationFileName))\n            {\n                conf.AdditionalDocumentationPathes.Add(documentationFileName);\n                return conf;\n            }\n\n            var locationFilePath = Path.Combine(\n                string.IsNullOrEmpty(assmbly.Location) ? string.Empty : Path.GetDirectoryName(assmbly.Location),\n                string.IsNullOrEmpty(documentationFileName)\n                    ? Path.GetFileNameWithoutExtension(assmbly.Location) + \".xml\"\n                    : documentationFileName);\n\n            var codebaseFilePath = Path.Combine(\n                Path.GetDirectoryName(assmbly.GetCodeBase()),\n                string.IsNullOrEmpty(documentationFileName)\n                    ? Path.GetFileNameWithoutExtension(assmbly.CodeBase) + \".xml\"\n                    : documentationFileName);\n            if (File.Exists(locationFilePath)) conf.AdditionalDocumentationPathes.Add(locationFilePath);\n            else if (File.Exists(codebaseFilePath)) conf.AdditionalDocumentationPathes.Add(codebaseFilePath);\n            return conf;\n        }\n\n        private static string GetCodeBase(this Assembly asmbly)\n        {\n            if (string.IsNullOrEmpty(asmbly.CodeBase)) return string.Empty;\n            return asmbly.CodeBase.Replace(\"file:///\", string.Empty);\n\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Fluent/GlobalConfigurationBuilder.cs",
    "content": "﻿using System;\nusing Reinforced.Typings.ReferencesInspection;\nusing Reinforced.Typings.Visitors;\n\nnamespace Reinforced.Typings.Fluent\n{\n    /// <summary>\n    /// Global configuration builder\n    /// </summary>\n    public class GlobalConfigurationBuilder\n    {\n        internal GlobalConfigurationBuilder(GlobalParameters parameters)\n        {\n            Parameters = parameters;\n        }\n\n        internal GlobalParameters Parameters { get; private set; }\n    }\n\n    /// <summary>\n    /// Set of extensions for global configuration\n    /// </summary>\n    public static class GlobalConfigurationExtensions\n    {\n        /// <summary>\n        /// Configures global exporting parameters\n        /// </summary>\n        /// <param name=\"builder\">Conf builder</param>\n        /// <param name=\"config\">Global configuration action</param>\n        public static void Global(this ConfigurationBuilder builder, Action<GlobalConfigurationBuilder> config)\n        {\n            config(builder.GlobalBuilder);\n        }\n\n        /// <summary>\n        /// Disables writing of \"auto-generated warning\" comment to each generated file.\n        /// It meant the comment like \"// This code was generated blah blah blah...\"\n        /// </summary>\n        /// <param name=\"builder\">Conf builder</param>\n        /// <param name=\"dontWrite\">Pass 'true' (default) to disable adding warning comment to target file. Pass 'false' to leave this label in place.</param>\n        public static GlobalConfigurationBuilder DontWriteWarningComment(this GlobalConfigurationBuilder builder,\n            bool dontWrite = true)\n        {\n            builder.Parameters.WriteWarningComment = !dontWrite;\n            return builder;\n        }\n\n        /// <summary>\n        /// Changes indentation symbol (by default is \\t). \n        /// This ability is made by @jonsa's request - boring perfectionist\n        /// </summary>\n        /// <param name=\"builder\">Conf builder</param>\n        /// <param name=\"symbol\">New indentation symbol</param>\n        public static GlobalConfigurationBuilder TabSymbol(this GlobalConfigurationBuilder builder,\n            string symbol)\n        {\n            builder.Parameters.TabSymbol = symbol;\n            return builder;\n        }\n\n        /// <summary>\n        /// Changes line termination string. Default is <see cref=\"Environment.NewLine\"/>.\n        /// </summary>\n        /// <param name=\"builder\">Conf builder</param>\n        /// <param name=\"newLine\">String that used as the line terminator.</param>\n        public static GlobalConfigurationBuilder NewLine(this GlobalConfigurationBuilder builder,\n            string newLine) \n        {\n            builder.Parameters.NewLine = newLine;\n            return builder;\n        }\n\n        /// <summary>\n        ///     Specifies root namespace for hierarchical export.\n        ///     Helps to avoid creating redundant directories when hierarchical export.\n        /// </summary>\n        /// <param name=\"builder\">Conf builder</param>\n        /// <param name=\"rootNamespace\">Application root namespace</param>\n        public static GlobalConfigurationBuilder RootNamespace(this GlobalConfigurationBuilder builder,\n            string rootNamespace)\n        {\n            builder.Parameters.RootNamespace = rootNamespace;\n            return builder;\n        }\n\n        /// <summary>\n        /// Use camelCase for methods naming\n        /// </summary>\n        /// <param name=\"builder\">Conf builder</param>\n        /// <param name=\"cameCase\">Pass 'true' to convert all MethodsNames to camelCase </param>\n        public static GlobalConfigurationBuilder CamelCaseForMethods(this GlobalConfigurationBuilder builder,\n            bool cameCase = true)\n        {\n            builder.Parameters.CamelCaseForMethods = cameCase;\n            return builder;\n        }\n\n        /// <summary>\n        /// Use camelCase for properties naming\n        /// </summary>\n        /// <param name=\"builder\">Conf builder</param>\n        /// <param name=\"cameCase\">Pass 'true' to convert all MethodsNames to camelCase </param>\n        public static GlobalConfigurationBuilder CamelCaseForProperties(this GlobalConfigurationBuilder builder,\n            bool cameCase = true)\n        {\n            builder.Parameters.CamelCaseForProperties = cameCase;\n            return builder;\n        }\n\n        /// <summary>\n        /// Enables documentation generator\n        /// </summary>\n        /// <param name=\"builder\">Conf builder</param>\n        /// <param name=\"generate\">Pass 'true' to generate JSDOC for exported types from XMLDOC</param>\n        public static GlobalConfigurationBuilder GenerateDocumentation(this GlobalConfigurationBuilder builder,\n            bool generate = true)\n        {\n            builder.Parameters.GenerateDocumentation = generate;\n            return builder;\n        }\n\n        /// <summary>\n        /// Enables adaptation for TS modules system (--modules tsc.exe option)\n        /// </summary>\n        /// <param name=\"builder\">Conf builder</param>\n        /// <param name=\"useModules\">True will enable usage of modules system and exports/imports</param>\n        /// <param name=\"discardNamespaces\">True will automatically ignore namespaces while exporting types</param>\n        public static GlobalConfigurationBuilder UseModules(this GlobalConfigurationBuilder builder,\n            bool useModules = true, bool discardNamespaces = true)\n        {\n            builder.Parameters.UseModules = useModules;\n            builder.Parameters.DiscardNamespacesWhenUsingModules = discardNamespaces;\n            return builder;\n        }\n\n        /// <summary>\n        ///  If true, export will be performed in .d.ts manner (only typings, declare module etc).\n        ///  Otherwise, export will be performed to regulat .ts file\n        /// </summary>\n        /// <param name=\"builder\">Conf builder</param>\n        /// <param name=\"typings\">Enables or disables option</param>\n        public static GlobalConfigurationBuilder ExportPureTypings(this GlobalConfigurationBuilder builder,\n            bool typings = true)\n        {\n            builder.Parameters.ExportPureTypings = typings;\n            return builder;\n        }\n\n        /// <summary>\n        ///  Sets rype of <see cref=\"Reinforced.Typings.ReferencesInspection.ReferenceProcessorBase\"/> to be used to\n        /// refilter/reorder references and imports while exporting files\n        /// </summary>\n        /// <typeparam name=\"T\">Type of references processor to be used</typeparam>\n        /// <param name=\"builder\">Conf builder</param>\n        /// <param name=\"use\">When false then disables usage of references processor</param>\n        public static GlobalConfigurationBuilder WithReferencesProcessor<T>(this GlobalConfigurationBuilder builder, bool use = true)\n        where T:ReferenceProcessorBase\n        {\n            builder.Parameters.ReferencesProcessorType = use ? typeof(T) : null;\n            return builder;\n        }\n\n        /// <summary>\n        ///  Enables or disables exporting members reordering (aphabetical, constructors-fields-properties-methods).\n        ///  Warning! Enabling this option discards <see cref=\"MemberExportExtensions.Order(Reinforced.Typings.Fluent.MethodExportBuilder,double)\"/> calls as well as \"Order\" member attributes property\n        /// </summary>\n        /// <param name=\"builder\">Conf builder</param>\n        /// <param name=\"reorder\">True to reorder exported members alphabetically, false otherwise</param>\n        public static GlobalConfigurationBuilder ReorderMembers(this GlobalConfigurationBuilder builder, bool reorder = true)\n        {\n            builder.Parameters.ReorderMembers = reorder;\n            return builder;\n        }\n\n        /// <summary>\n        ///  Sets override of type of AST visitor that will be used to write code to output.\n        /// Warning! This option overrides <see cref=\"ExportPureTypings\"/> configuration!\n        /// </summary>\n        /// <param name=\"builder\">Conf builder</param>\n        public static GlobalConfigurationBuilder UseVisitor<T>(this GlobalConfigurationBuilder builder)\n            where T:TextExportingVisitor\n        {\n            builder.Parameters.VisitorType = typeof(T);\n            return builder;\n        }\n\n        /// <summary>\n        ///  Tells RT to make all nullable value-type properties optional automatically\n        /// </summary>\n        /// <param name=\"builder\">Conf builder</param>\n        /// <param name=\"autoOptional\">True to export make all nullable-typed properties optional</param>\n        public static GlobalConfigurationBuilder AutoOptionalProperties(this GlobalConfigurationBuilder builder, bool autoOptional = true)\n        {\n            builder.Parameters.AutoOptionalProperties = autoOptional;\n            return builder;\n        }\n\n        /// <summary>\n        /// Makes RT to export unresolved types as 'unknown' instead of 'any'\n        /// </summary>\n        /// <param name=\"builder\">Conf builder</param>\n        /// <param name=\"unresolvedToUnknown\">True to export unresolved types as 'unknown', false to export as 'any'</param>\n        public static GlobalConfigurationBuilder UnresolvedToUnknown(this GlobalConfigurationBuilder builder, bool unresolvedToUnknown = false)\n        {\n            builder.Parameters.UnresolvedToUnknown = unresolvedToUnknown;\n            return builder;\n        }\n\n        /// <summary>\n        ///     Makes RT automatically to turn methods returning Task into async ones\n        /// </summary>\n        /// <param name=\"builder\">Conf builder</param>\n        /// <param name=\"value\">True to enable the feature</param>\n        public static GlobalConfigurationBuilder AutoAsync(this GlobalConfigurationBuilder builder,\n            bool value = true)\n        {\n            builder.Parameters.AutoAsync = value;\n            return builder;\n        }\n\n        //{\n        //    bool strict = true)\n        //public static GlobalConfigurationBuilder StrictNullChecks(this GlobalConfigurationBuilder builder,\n        ///// <param name=\"strict\">Pass 'true' reveal all nullable types to \"type | null\" </param>\n        ///// <param name=\"builder\">Conf builder</param>\n        ///// </summary>\n        ///// Enables strict null checks. Particularry, makes all exported nullable value-types of type \"type | null\"\n\n        ///// <summary>\n        //    builder.Parameters.StrictNullChecks = strict;\n        //    return builder;\n        //}\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/InferringExtensions.cs",
    "content": "﻿using System;\nusing Reinforced.Typings.Ast.TypeNames;\n\n// ReSharper disable CheckNamespace\n\nnamespace Reinforced.Typings.Fluent\n{\n    /// <summary>\n    /// Set of extensions for inline inferring\n    /// </summary>\n    public static class InferringExtensions\n    {\n        /// <summary>\n        /// Overrides type resolver for member type\n        /// </summary>\n        /// <typeparam name=\"T\"></typeparam>\n        /// <param name=\"x\">Inferrable</param>\n        /// <param name=\"inferrer\">Type inferer</param>\n        /// <returns>Fluent</returns>\n        public static ISupportsInferring<T> InferType<T>(this ISupportsInferring<T> x, Func<T, TypeResolver, string> inferrer)\n        {\n            x.TypeInferers.StringResolver = inferrer;\n            return x;\n        }\n\n        /// <summary>\n        /// Overrides type resolver for member type\n        /// </summary>\n        /// <typeparam name=\"T\"></typeparam>\n        /// <param name=\"x\">Inferrable</param>\n        /// <param name=\"inferrer\">Type inferer</param>\n        /// <returns>Fluent</returns>\n        public static ISupportsInferring<T> InferType<T>(this ISupportsInferring<T> x, Func<T, TypeResolver, RtTypeName> inferrer)\n        {\n            x.TypeInferers.TypenameResolver = inferrer;\n            return x;\n        }\n\n        /// <summary>\n        /// Overrides type resolver for member type\n        /// </summary>\n        /// <typeparam name=\"T\"></typeparam>\n        /// <param name=\"x\">Inferrable</param>\n        /// <param name=\"inferrer\">Type inferer</param>\n        /// <returns>Fluent</returns>\n        public static ISupportsInferring<T> InferType<T>(this ISupportsInferring<T> x, Func<T, string> inferrer)\n        {\n            x.TypeInferers.StringSimpleResolver = inferrer;\n            return x;\n        }\n\n        /// <summary>\n        /// Overrides type resolver for member type\n        /// </summary>\n        /// <typeparam name=\"T\"></typeparam>\n        /// <param name=\"x\">Inferrable</param>\n        /// <param name=\"inferrer\">Type inferer</param>\n        /// <returns>Fluent</returns>\n        public static ISupportsInferring<T> InferType<T>(this ISupportsInferring<T> x, Func<T, RtTypeName> inferrer)\n        {\n            x.TypeInferers.TypenameSimpleResolver = inferrer;\n            return x;\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Fluent/LambdaHelpers.cs",
    "content": "﻿using System;\nusing System.Linq.Expressions;\nusing System.Reflection;\nusing Reinforced.Typings.Exceptions;\n// ReSharper disable PossibleNullReferenceException\n\nnamespace Reinforced.Typings.Fluent\n{\n    /// <summary>\n    ///     Set of helper reflection methods\n    /// </summary>\n    internal static class LambdaHelpers\n    {\n        /// <summary>\n        ///     Parses supplied lambda expression and retrieves PropertyInfo from it\n        /// </summary>\n        /// <typeparam name=\"T1\">T1</typeparam>\n        /// <typeparam name=\"T2\">T2</typeparam>\n        /// <param name=\"lambda\">Property Lambda expression</param>\n        /// <returns>PropertyInfo referenced by this expression</returns>\n        public static PropertyInfo ParsePropertyLambda<T1, T2>(Expression<Func<T1, T2>> lambda)\n        {\n            return ParsePropertyLambda((LambdaExpression)lambda);\n        }\n\n        /// <summary>\n        ///     Parses supplied lambda expression and retrieves PropertyInfo from it\n        /// </summary>\n        /// <param name=\"lambda\">Property Lambda expression</param>\n        /// <returns>PropertyInfo referenced by this expression</returns>\n        public static PropertyInfo ParsePropertyLambda(LambdaExpression lambda)\n        {\n            var mex = lambda.Body as MemberExpression;\n            if (mex == null) ErrorMessages.RTE0010_PropertyLambdaExpected.Throw(lambda.ToString());\n            var pi = mex.Member as PropertyInfo;\n            if (pi == null) ErrorMessages.RTE0010_PropertyLambdaExpected.Throw(lambda.ToString());\n            return pi;\n        }\n\n        /// <summary>\n        ///     Parses supplied lambda expression and retrieves PropertyInfo from it\n        /// </summary>\n        /// <typeparam name=\"T1\">T1</typeparam>\n        /// <typeparam name=\"T2\">T2</typeparam>\n        /// <param name=\"lambda\">Property Lambda expression</param>\n        /// <returns>PropertyInfo referenced by this expression</returns>\n        public static FieldInfo ParseFieldLambda<T1, T2>(Expression<Func<T1, T2>> lambda)\n        {\n            return ParseFieldLambda((LambdaExpression)lambda);\n        }\n\n        /// <summary>\n        ///     Parses supplied lambda expression and retrieves PropertyInfo from it\n        /// </summary>\n        /// <param name=\"lambda\">Property Lambda expression</param>\n        /// <returns>PropertyInfo referenced by this expression</returns>\n        public static FieldInfo ParseFieldLambda(LambdaExpression lambda)\n        {\n            var mex = lambda.Body as MemberExpression;\n            if (mex == null) ErrorMessages.RTE0011_FieldLambdaExpected.Throw(lambda.ToString());\n            var pi = mex.Member as FieldInfo;\n            if (pi == null) ErrorMessages.RTE0011_FieldLambdaExpected.Throw(lambda.ToString());\n            return pi;\n        }\n\n        /// <summary>\n        ///     Parses supplied lambda expression and retrieves MethodInfo from it\n        /// </summary>\n        /// <param name=\"lambda\">Method lambda expression</param>\n        /// <returns>MethodInfo referenced by this expression</returns>\n        public static MethodInfo ParseMethodLambda(LambdaExpression lambda)\n        {\n            var mex = lambda.Body as MethodCallExpression;\n            if (mex == null) ErrorMessages.RTE0008_FluentWithMethodError.Throw();\n            return mex.Method;\n        }\n\n        /// <summary>\n        ///     Parses supplied lambda expression and retrieves ConstructorInfo from it\n        /// </summary>\n        /// <param name=\"lambda\">Constructor lambda expression ( => new Obejct(Ts.Parameter...))</param>\n        /// <returns>Constructor referenced by this expression</returns>\n        public static ConstructorInfo ParseConstructorLambda(LambdaExpression lambda)\n        {\n            var nex = lambda.Body as NewExpression;\n            if (nex == null) ErrorMessages.RTE0012_NewExpressionLambdaExpected.Throw();\n            return nex.Constructor;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/MemberBuilders/MemberExportBuilder.EnumValue.cs",
    "content": "﻿using System.Collections.Generic;\nusing System.Reflection;\nusing Reinforced.Typings.Attributes;\n// ReSharper disable CheckNamespace\n\nnamespace Reinforced.Typings.Fluent\n{\n    /// <summary>\n    /// Fluent export configuration builder for enum value\n    /// </summary>\n    public class EnumValueExportBuilder \n    {\n        internal TypeBlueprint _containingTypeBlueprint;\n        internal FieldInfo _member;\n\n        /// <summary>Initializes a new instance of the <see cref=\"T:System.Object\" /> class.</summary>\n        internal EnumValueExportBuilder(TypeBlueprint containingTypeBlueprint, FieldInfo member)\n        {\n            _containingTypeBlueprint = containingTypeBlueprint;\n            _member = member;\n        }\n\n        internal bool Ignore\n        {\n            get { return _containingTypeBlueprint.IsIgnored(_member); }\n            set\n            {\n                if (value) _containingTypeBlueprint.Ignored.Add(_member);\n                else if (_containingTypeBlueprint.Ignored.Contains(_member)) _containingTypeBlueprint.Ignored.Remove(_member);\n            }\n        }\n\n        internal List<TsDecoratorAttribute> Decorators\n        {\n            get { return _containingTypeBlueprint.DecoratorsListFor(_member); }\n        }\n\n        internal TsValueAttribute Attr\n        {\n            get { return _containingTypeBlueprint.ForEnumValue(_member,true); }\n        }\n\n        /// <summary>\n        /// Gets value being configured\n        /// </summary>\n        public FieldInfo Member\n        {\n            get { return _member; }\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/MemberBuilders/MemberExportBuilder.Field.cs",
    "content": "﻿using System.Reflection;\n// ReSharper disable CheckNamespace\n\nnamespace Reinforced.Typings.Fluent\n{\n    /// <summary>\n    /// Fluent export configuration builder for a field\n    /// </summary>\n    public class FieldExportBuilder : PropertyExportBuilder\n    {\n        /// <summary>Initializes a new instance of the <see cref=\"T:System.Object\" /> class.</summary>\n        internal FieldExportBuilder(TypeBlueprint containingTypeBlueprint, MemberInfo member) : base(containingTypeBlueprint, member)\n        {\n        }\n\n        /// <summary>\n        /// Gets property being configured\n        /// </summary>\n        public new FieldInfo Member\n        {\n            get { return (FieldInfo) _member; }\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/MemberBuilders/MemberExportBuilder.Method.cs",
    "content": "﻿using System.Reflection;\nusing Reinforced.Typings.Attributes;\n// ReSharper disable CheckNamespace\n\nnamespace Reinforced.Typings.Fluent\n{\n    /// <summary>\n    /// Fluent export configuration builder for method\n    /// </summary>\n    public class MethodExportBuilder : MemberExportBuilder, ISupportsInferring<MethodInfo>\n    {\n        /// <summary>Initializes a new instance of the <see cref=\"T:System.Object\" /> class.</summary>\n        internal MethodExportBuilder(TypeBlueprint containingTypeBlueprint, MemberInfo member) : base(containingTypeBlueprint, member)\n        {\n        }\n\n        internal TsFunctionAttribute Attr\n        {\n            get { return (TsFunctionAttribute)_forMember; }\n        }\n\n        /// <summary>\n        /// Gets method being configured\n        /// </summary>\n        public MethodInfo Member\n        {\n            get { return (MethodInfo)_member; }\n        }\n\n        /// <summary>\n        /// Type inferers set instance\n        /// </summary>\n        public InlineTypeInferers<MethodInfo> TypeInferers\n        {\n            get { return Attr.TypeInferers; }\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/MemberBuilders/MemberExportBuilder.Parameter.cs",
    "content": "﻿using System.Collections.Generic;\nusing System.Reflection;\nusing Reinforced.Typings.Attributes;\n// ReSharper disable CheckNamespace\n\nnamespace Reinforced.Typings.Fluent\n{\n    /// <summary>\n    /// Fluent export configuration builder for method parameter\n    /// </summary>\n    public class ParameterExportBuilder : MemberExportBuilder, ISupportsInferring<ParameterInfo>\n    {\n        private readonly ParameterInfo _parMember;\n\n        internal ParameterExportBuilder(TypeBlueprint containingTypeBlueprint, ParameterInfo member)\n            : base(containingTypeBlueprint, null)\n        {\n            _parMember = member;\n            _forMember = containingTypeBlueprint.ForMember(member, true);\n        }\n\n        internal TsParameterAttribute Attr\n        {\n            get { return (TsParameterAttribute)_forMember; }\n        }\n\n        internal override bool IsIgnored\n        {\n            get { return _containingTypeBlueprint.IsIgnored(_parMember); }\n            set\n            {\n                if (value) _containingTypeBlueprint.Ignored.Add(_parMember);\n                else if (_containingTypeBlueprint.Ignored.Contains(_parMember)) _containingTypeBlueprint.Ignored.Remove(_parMember);\n            }\n        }\n\n        internal override List<TsDecoratorAttribute> Decorators\n        {\n            get { return _containingTypeBlueprint.DecoratorsListFor(_parMember); }\n        }\n\n        /// <summary>\n        /// Gets parameter being configured\n        /// </summary>\n        public ParameterInfo Member\n        {\n            get { return _parMember; }\n        }\n\n        /// <summary>\n        /// Type inferers set instance\n        /// </summary>\n        public InlineTypeInferers<ParameterInfo> TypeInferers\n        {\n            get { return Attr.TypeInferers; }\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/MemberBuilders/MemberExportBuilder.Property.cs",
    "content": "﻿using System.Reflection;\nusing Reinforced.Typings.Attributes;\n// ReSharper disable CheckNamespace\n\nnamespace Reinforced.Typings.Fluent\n{\n    /// <summary>\n    /// Fluent export configuration builder for property or field\n    /// </summary>\n    public class PropertyExportBuilder : MemberExportBuilder, ISupportsInferring<MemberInfo>\n    {\n        /// <summary>Initializes a new instance of the <see cref=\"T:System.Object\" /> class.</summary>\n        internal PropertyExportBuilder(TypeBlueprint containingTypeBlueprint, MemberInfo member) : base(containingTypeBlueprint, member)\n        {\n        }\n\n        internal TsPropertyAttribute Attr\n        {\n            get { return (TsPropertyAttribute)_forMember; }\n        }\n\n        /// <summary>\n        /// Gets property being configured\n        /// </summary>\n        public PropertyInfo Member\n        {\n            get { return (PropertyInfo) _member; }\n        }\n\n        /// <summary>\n        /// Type inferers set instance\n        /// </summary>\n        public InlineTypeInferers<MemberInfo> TypeInferers\n        {\n            get { return Attr.TypeInferers; }\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/MemberBuilders/MemberExportBuilder.cs",
    "content": "﻿using System.Collections.Generic;\nusing System.Reflection;\nusing Reinforced.Typings.Attributes;\n// ReSharper disable CheckNamespace\n\nnamespace Reinforced.Typings.Fluent\n{\n    /// <summary>\n    /// Fluent export configuration builder for Type Member\n    /// </summary>\n    public class MemberExportBuilder\n    {\n        internal TypeBlueprint _containingTypeBlueprint;\n        internal readonly MemberInfo _member;\n        internal TsTypedMemberAttributeBase _forMember;\n\n        /// <summary>Initializes a new instance of the <see cref=\"T:System.Object\" /> class.</summary>\n        internal MemberExportBuilder(TypeBlueprint containingTypeBlueprint, MemberInfo member)\n        {\n            _containingTypeBlueprint = containingTypeBlueprint;\n            if (member != null)\n            {\n                _member = member;\n                _forMember = containingTypeBlueprint.ForMember(member,true);\n            }\n        }\n\n        internal virtual bool IsIgnored\n        {\n            get { return _containingTypeBlueprint.IsIgnored(_member); }\n            set\n            {\n                if (value) _containingTypeBlueprint.Ignored.Add(_member);\n                else if (_containingTypeBlueprint.Ignored.Contains(_member)) _containingTypeBlueprint.Ignored.Remove(_member);\n            }\n        }\n\n        internal virtual List<TsDecoratorAttribute> Decorators\n        {\n            get { return _containingTypeBlueprint.DecoratorsListFor(_member); }\n        }\n\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Fluent/MemberExtensions/MemberExportExtensions.EnumValue.cs",
    "content": "﻿using Reinforced.Typings.Attributes;\n// ReSharper disable CheckNamespace\n\nnamespace Reinforced.Typings.Fluent\n{\n    public static partial class MemberExportExtensions\n    {\n        /// <summary>\n        /// Adds decorator to member\n        /// </summary>\n        /// <param name=\"conf\">Member configurator</param>\n        /// <param name=\"decorator\">Decorator to add (everything that must follow after \"@\")</param>\n        /// <param name=\"order\">Order of appearence</param>\n        /// <returns>Fluent</returns>\n        public static EnumValueExportBuilder Decorator(this EnumValueExportBuilder conf, string decorator, double order = 0)\n        {\n            conf.Decorators.Add(new TsDecoratorAttribute(decorator, order));\n            return conf;\n        }\n\n        /// <summary>\n        ///     Overrides name of exported type\n        /// </summary>\n        /// <param name=\"conf\">Configuration</param>\n        /// <param name=\"name\">Custom name to be used</param>\n        public static EnumValueExportBuilder OverrideName(this EnumValueExportBuilder conf, string name)\n        {\n            conf.Attr.Name = name;\n            return conf;\n        }\n\n        /// <summary>\n        ///     Ignores specified mambers during exporting\n        /// </summary>\n        public static EnumValueExportBuilder Ignore(this EnumValueExportBuilder conf, bool ignore = true)\n        {\n            conf.Ignore = ignore;\n            return conf;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/MemberExtensions/MemberExportExtensions.Method.cs",
    "content": "﻿using System;\nusing System.Reflection;\nusing Reinforced.Typings.Generators;\n// ReSharper disable CheckNamespace\n\nnamespace Reinforced.Typings.Fluent\n{\n    public static partial class MemberExportExtensions\n    {\n        /// <summary>\n        ///     Specifies code generator for member\n        /// </summary>\n        public static MethodExportBuilder WithCodeGenerator<T>(this MethodExportBuilder conf)\n            where T : ITsCodeGenerator<MethodInfo>\n        {\n            conf.Attr.CodeGeneratorType = typeof(T);\n            return conf;\n        }\n\n        /// <summary>\n        /// Sets order this membter will be written to output file in\n        /// </summary>\n        /// <param name=\"conf\">Configurator</param>\n        /// <param name=\"order\">Order of member</param>\n        /// <returns>Fluent</returns>\n        public static MethodExportBuilder Order(this MethodExportBuilder conf, double order)\n        {\n            conf.Attr.Order = order;\n            return conf;\n        }\n\n        /// <summary>\n        /// Sets function body (works in case of class export) that will be converted to RtRaw and inserted as code block\n        /// </summary>\n        /// <param name=\"builder\"></param>\n        /// <param name=\"functionCode\">Function code</param>\n        /// <returns></returns>\n        public static MethodExportBuilder Implement(this MethodExportBuilder builder, string functionCode)\n        {\n            builder.Attr.Implementation = functionCode;\n            return builder;\n        }\n\n        /// <summary>\n        ///     Overrides member type name on export with textual string.\n        ///     Beware of using this setting because specified type may not present in your TypeScript code and\n        ///     this will lead to TypeScript compilation errors.\n        ///     Actually this method does the same as .Type call. Just for your convinence\n        /// </summary>\n        /// <param name=\"conf\">Configurator</param>\n        /// <param name=\"typeName\">TS-friendly type name</param>\n        /// <returns></returns>\n        public static MethodExportBuilder Returns(this MethodExportBuilder conf, string typeName)\n        {\n            conf.Attr.Type = typeName;\n            return conf;\n        }\n\n        /// <summary>\n        ///     Overrides member type on export with strong type.\n        ///     Feel free to use delegates here. It is very comfortable instead of regular TS functions syntax.\n        ///     Actually this method does the same as .Type call. Just for your convinence\n        /// </summary>\n        /// <param name=\"conf\">Configurator</param>\n        public static MethodExportBuilder Returns<T>(this MethodExportBuilder conf)\n        {\n            conf.Attr.StrongType = typeof(T);\n            return conf;\n        }\n\n        /// <summary>\n        ///     Overrides member type on export with strong type.\n        ///     Feel free to use delegates here. It is very comfortable instead of regular TS functions syntax.\n        ///     Actually this method does the same as .Type call. Just for your convinence\n        /// </summary>\n        /// <param name=\"conf\">Configurator</param>\n        /// <param name=\"type\">Type to override with</param>\n        /// <returns></returns>\n        public static MethodExportBuilder Returns(this MethodExportBuilder conf, Type type) \n        {\n            conf.Attr.StrongType = type;\n            return conf;\n        }\n\n        /// <summary>\n        ///     Specifies whether exported method must be considered async.\n        ///     If this value is specified explicitly then exported method will be considered async based on\n        ///     this value. If the value is null then RT will automatically decide whether method must be async\n        ///     based on its return type (Task`N).\n        /// </summary>\n        /// <param name=\"conf\">Configurator</param>\n        /// <param name=\"isAsync\">True to make method async, false otherwise</param>\n        /// <returns></returns>\n        public static MethodExportBuilder ForceAsync(this MethodExportBuilder conf, bool? isAsync)\n        {\n            conf.Attr.ForceAsync = isAsync;\n            return conf;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/MemberExtensions/MemberExportExtensions.Parameter.cs",
    "content": "﻿using System.Reflection;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Generators;\n// ReSharper disable CheckNamespace\n\nnamespace Reinforced.Typings.Fluent\n{\n    public static partial class MemberExportExtensions\n    {\n        /// <summary>\n        ///     Sets parameter default value.\n        /// </summary>\n        /// <param name=\"conf\">Configuration</param>\n        /// <param name=\"value\">Default value for parameter</param>\n        public static ParameterExportBuilder DefaultValue(this ParameterExportBuilder conf, object value)\n        {\n            conf.Attr.DefaultValue = value;\n            return conf;\n        }\n\n        /// <summary>\n        ///     Specifies code generator for member\n        /// </summary>\n        public static ParameterExportBuilder WithCodeGenerator<T>(this ParameterExportBuilder conf)\n            where T : TsCodeGeneratorBase<ParameterInfo, RtArgument>\n        {\n            conf.Attr.CodeGeneratorType = typeof(T);\n            return conf;\n        }\n\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/MemberExtensions/MemberExportExtensions.Property.cs",
    "content": "﻿using System;\nusing System.Reflection;\nusing Reinforced.Typings.Generators;\n// ReSharper disable CheckNamespace\n\nnamespace Reinforced.Typings.Fluent\n{\n    public static partial class MemberExportExtensions\n    {\n\n        /// <summary>\n        ///     Specifies code generator for member\n        /// </summary>\n        public static PropertyExportBuilder WithCodeGenerator<T>(this PropertyExportBuilder conf)\n            where T : ITsCodeGenerator<PropertyInfo>\n        {\n            conf.Attr.CodeGeneratorType = typeof(T);\n            return conf;\n        }\n\n        /// <summary>\n        ///     Specifies code generator for member\n        /// </summary>\n        public static FieldExportBuilder WithFieldCodeGenerator<T>(this FieldExportBuilder conf)\n            where T : ITsCodeGenerator<FieldInfo>\n        {\n            conf.Attr.CodeGeneratorType = typeof(T);\n            return conf;\n        }\n\n        /// <summary>\n        /// Sets order this membter will be written to output file in\n        /// </summary>\n        /// <param name=\"conf\">Configurator</param>\n        /// <param name=\"order\">Order of member</param>\n        /// <returns>Fluent</returns>\n        public static PropertyExportBuilder Order(this PropertyExportBuilder conf, double order)\n        {\n            conf.Attr.Order = order;\n            return conf;\n        }\n\n        /// <summary>\n        ///     Forces property to be a nullable.\n        ///     When set to true then property will be generated as [property]? : [type] with\n        ///     forcibly added question mark denoting nullable field.\n        /// </summary>\n        /// <param name=\"conf\">Configuration</param>\n        /// <param name=\"force\">Force nullable or not</param>\n        public static PropertyExportBuilder ForceNullable(this PropertyExportBuilder conf, bool? force = true)\n        {\n            conf.Attr.NilForceNullable = force;\n            return conf;\n        }\n\n        /// <summary>\n        ///     Forces static property to be exported with constant initializer.\n        ///     Works only on numeric/boolean/string/null properties\n        /// </summary>\n        /// <param name=\"conf\">Configuration</param>\n        /// <param name=\"constant\">Switches constant export behavior</param>\n        public static PropertyExportBuilder Constant(this PropertyExportBuilder conf, bool constant = true)\n        {\n            conf.Attr.Constant = constant;\n            return conf;\n        }\n\n        /// <summary>\n        ///     Specifies initialization expression evaluator for property\n        /// </summary>\n        /// <param name=\"conf\">Configuration</param>\n        /// <param name=\"evaluator\">\n        /// Initialization expression evaluator. Returns TypeScript code that will be used as initialization expression for \n        /// particular property\n        /// </param>\n        public static PropertyExportBuilder InitializeWith(this PropertyExportBuilder conf, Func<MemberInfo, TypeResolver, object, string> evaluator)\n        {\n            conf.Attr.InitializerEvaluator = evaluator;\n            return conf;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/MemberExtensions/MemberExportExtensions.cs",
    "content": "﻿using System;\nusing Reinforced.Typings.Attributes;\n// ReSharper disable CheckNamespace\n\nnamespace Reinforced.Typings.Fluent\n{\n    /// <summary>\n    /// Extensions for members export configuration\n    /// </summary>\n    public static partial class MemberExportExtensions\n    {\n        /// <summary>\n        ///     Forces member name to be camelCase\n        /// </summary>\n        /// <param name=\"conf\">Configuration</param>\n        public static T CamelCase<T>(this T conf) where T : MemberExportBuilder\n        {\n            conf._forMember.ShouldBeCamelCased = true;\n            return conf;\n        }\n\n        /// <summary>\n        ///     Forces member name to be PascalCase\n        /// </summary>\n        /// <param name=\"conf\">Configuration</param>\n        public static T PascalCase<T>(this T conf) where T : MemberExportBuilder\n        {\n            conf._forMember.ShouldBePascalCased = true;\n            return conf;\n        }\n\n        /// <summary>\n        /// Adds decorator to member\n        /// </summary>\n        /// <param name=\"conf\">Member configurator</param>\n        /// <param name=\"decorator\">Decorator to add (everything that must follow after \"@\")</param>\n        /// <param name=\"order\">Order of appearence</param>\n        /// <returns>Fluent</returns>\n        public static MemberExportBuilder Decorator(this MemberExportBuilder conf, string decorator, double order = 0)\n        {\n            conf.Decorators.Add(new TsDecoratorAttribute(decorator, order));\n            return conf;\n        }\n\n        /// <summary>\n        ///     Overrides name of exported type\n        /// </summary>\n        /// <param name=\"conf\">Configuration</param>\n        /// <param name=\"name\">Custom name to be used</param>\n        public static MemberExportBuilder OverrideName(this MemberExportBuilder conf, string name)\n        {\n            conf._forMember.Name = name;\n            return conf;\n        }\n\n        /// <summary>\n        ///     Overrides member type name on export with textual string.\n        ///     Beware of using this setting because specified type may not present in your TypeScript code and\n        ///     this will lead to TypeScript compilation errors\n        /// </summary>\n        /// <param name=\"conf\">Configurator</param>\n        /// <param name=\"typeName\">TS-friendly type name</param>\n        /// <returns></returns>\n        public static MemberExportBuilder Type(this MemberExportBuilder conf, string typeName)\n        {\n            conf._forMember.Type = typeName;\n            return conf;\n        }\n\n        /// <summary>\n        ///     Overrides member type on export with strong type.\n        ///     Feel free to use delegates here. It is very comfortable instead of regular TS functions syntax.\n        /// </summary>\n        /// <param name=\"conf\">Configurator</param>\n        public static MemberExportBuilder Type<T>(this MemberExportBuilder conf)\n        {\n            conf._forMember.StrongType = typeof(T);\n            return conf;\n        }\n\n        /// <summary>\n        ///     Overrides member type on export with strong type.\n        ///     Feel free to use delegates here. It is very comfortable instead of regular TS functions syntax.\n        /// </summary>\n        /// <param name=\"conf\">Configurator</param>\n        /// <param name=\"type\">Type to override with</param>\n        /// <returns></returns>\n        public static MemberExportBuilder Type(this MemberExportBuilder conf, Type type)\n        {\n            conf._forMember.StrongType = type;\n            return conf;\n        }\n\n        /// <summary>\n        ///     Ignores specified members during exporting\n        /// </summary>\n        public static MemberExportBuilder Ignore(this MemberExportBuilder conf)\n        {\n            conf.IsIgnored = true;\n            return conf;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/Parameter.cs",
    "content": "﻿using System;\nusing System.Linq.Expressions;\nusing System.Reflection;\n\nnamespace Reinforced.Typings.Fluent\n{\n    /// <summary>\n    ///     Shortcut for method parameters mocking\n    /// </summary>\n    public class Ts\n    {\n\n        internal static MethodInfo ParametrizedParameterMethod;\n\n        static Ts()\n        {\n            Expression<Func<object>> lambda = () => Parameter<object>(a => a.Ignore());\n            ParametrizedParameterMethod = LambdaHelpers.ParseMethodLambda(lambda).GetGenericMethodDefinition();\n        }\n\n        /// <summary>\n        ///     Parameter mock for specified type\n        /// </summary>\n        /// <typeparam name=\"T\">Parameter type</typeparam>\n        /// <returns>Mock</returns>\n        public static T Parameter<T>()\n        {\n            return default(T);\n        }\n\n        /// <summary>\n        ///     Parameter mock with parameter configuration\n        /// </summary>\n        /// <typeparam name=\"T\">Parameter type</typeparam>\n        /// <param name=\"configuration\">Fluent parameter configuration</param>\n        /// <returns>Mock</returns>\n        public static T Parameter<T>(Action<ParameterExportBuilder> configuration)\n        {\n            return default(T);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/TypeBuilders/TypeExportBuilder.Class.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Reflection;\nusing Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Exceptions;\n// ReSharper disable CheckNamespace\n\nnamespace Reinforced.Typings.Fluent\n{\n    /// <summary>\n    /// Fluent export configuration builder for class\n    /// </summary>\n    public class ClassExportBuilder : ClassOrInterfaceExportBuilder\n    {\n        internal ClassExportBuilder(TypeBlueprint blueprint) : base(blueprint)\n        {\n            if (Blueprint.TypeAttribute == null)\n                Blueprint.TypeAttribute = new TsClassAttribute\n                {\n                    AutoExportConstructors = false,\n                    AutoExportFields = false,\n                    AutoExportProperties = false,\n                    AutoExportMethods = false\n                };\n        }\n\n        internal TsClassAttribute Attr\n        {\n            get { return (TsClassAttribute)Blueprint.TypeAttribute; }\n        }\n    }\n\n    /// <summary>\n    /// Set of extensions for type export configuration\n    /// </summary>\n    public static partial class TypeConfigurationBuilderExtensions\n    {\n        /// <summary>\n        ///     Includes specified type to resulting typing exported as TypeScript class\n        /// </summary>\n        /// <typeparam name=\"T\">Type to include</typeparam>\n        /// <param name=\"builder\">Configuration builder</param>\n        /// <returns>Fluent</returns>\n        public static ClassExportBuilder<T> ExportAsClass<T>(this ConfigurationBuilder builder)\n        {\n            var bp = builder.GetCheckedBlueprint<TsClassAttribute>(typeof(T));\n\n            var conf =\n                builder.TypeExportBuilders.GetOrCreate(typeof(T), () => new ClassExportBuilder<T>(bp))\n                    as ClassExportBuilder<T>;\n            if (conf == null)\n            {\n                ErrorMessages.RTE0017_FluentContradict.Throw(typeof(T), \"class\");\n            }\n\n            return conf;\n\n        }\n\n        /// <summary>\n        ///     Includes specified types to resulting typing exported as TypeScript classes\n        /// </summary>\n        /// <param name=\"builder\">Configuration builder</param>\n        /// <param name=\"types\">Types to include</param>\n        /// <param name=\"configuration\">Configuration to be applied to each type</param>\n        /// <returns>Fluent</returns>\n        public static void ExportAsClasses(this ConfigurationBuilder builder, IEnumerable<Type> types,\n            Action<ClassExportBuilder> configuration = null)\n        {\n            foreach (var type in types)\n            {\n                var untypedConf = builder.TypeExportBuilders.GetOrCreate(type, () =>\n                {\n                    var bp = builder.GetCheckedBlueprint<TsClassAttribute>(type);\n                    if (!type._IsGenericTypeDefinition())\n                    {\n                        var t = typeof(ClassExportBuilder<>).MakeGenericType(type);\n                        return (ClassExportBuilder)t.InstanceInternal(bp);\n                    }\n\n                    return new ClassExportBuilder(bp);\n                });\n\n                var conf = untypedConf as ClassExportBuilder;\n                if (conf == null)\n                {\n                    ErrorMessages.RTE0017_FluentContradict.Throw(type, \"class\");\n                }\n\n                if (configuration != null)\n                {\n                    try\n                    {\n                        configuration(conf);\n                    }\n                    catch (Exception ex)\n                    {\n                        ErrorMessages.RTE0006_FluentSingleError.Throw(ex.Message, \"type\", type.FullName);\n                    }\n                }\n            }\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/TypeBuilders/TypeExportBuilder.ClassOrInterface.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Reflection;\n// ReSharper disable CheckNamespace\n\nnamespace Reinforced.Typings.Fluent\n{\n    /// <summary>\n    /// Fluent export configuration builder for class or interface\n    /// </summary>\n    public abstract class ClassOrInterfaceExportBuilder : TypeExportBuilder\n    {\n        internal ClassOrInterfaceExportBuilder(TypeBlueprint blueprint) : base(blueprint)\n        {\n        }\n\n        /// <summary>\n        ///     Include specified methods to resulting typing.\n        /// </summary>\n        /// <param name=\"methods\">Methods to include</param>\n        /// <param name=\"configuration\">Configuration to be applied to each method</param>\n        /// <returns>Fluent</returns>\n        public void WithMethods(IEnumerable<MethodInfo> methods, Action<MethodExportBuilder> configuration = null)\n        {\n            ApplyMethodsConfiguration(methods, configuration);\n        }\n\n\n        /// <summary>\n        ///     Include specified properties to resulting typing\n        /// </summary>\n        /// <param name=\"properties\">Properties to include</param>\n        /// <param name=\"configuration\">Configuration to be applied to each property</param>\n        /// <returns>Fluent</returns>\n        public void WithProperties(IEnumerable<PropertyInfo> properties, Action<PropertyExportBuilder> configuration = null)\n        {\n            ApplyMembersConfiguration(properties, configuration);\n        }\n\n\n        /// <summary>\n        ///     Include specified fields to resulting typing\n        /// </summary>\n        /// <param name=\"fields\">Fields to include</param>\n        /// <param name=\"configuration\">Configuration to be applied to each field</param>\n        /// <returns>Fluent</returns>\n        public void WithFields(IEnumerable<FieldInfo> fields, Action<FieldExportBuilder> configuration = null)\n        {\n            ApplyMembersConfiguration(fields, configuration);\n        }\n    }\n\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/TypeBuilders/TypeExportBuilder.Class`1.cs",
    "content": "﻿using System;\nusing System.Linq.Expressions;\n\nnamespace Reinforced.Typings.Fluent\n{\n    /// <summary>\n    /// Fluent export configuration builder for class (generic)\n    /// </summary>\n    public class ClassExportBuilder<T> : ClassExportBuilder, ITypedExportBuilder<T>\n    {\n        internal ClassExportBuilder(TypeBlueprint blueprint) : base(blueprint)\n        {\n        }\n\n        /// <summary>\n        ///     Include specified field to resulting typing\n        /// </summary>\n        /// <param name=\"field\">Field to include</param>\n        /// <param name=\"configuration\">Configuration to be applied to selected field</param>\n        /// <returns>Fluent</returns>\n        public ClassExportBuilder<T> WithField<TData>(Expression<Func<T, TData>> field, Action<PropertyExportBuilder> configuration)\n        {\n            ApplyMembersConfiguration(new[] { LambdaHelpers.ParseFieldLambda(field) }, configuration);\n            return this;\n        }\n\n        /// <summary>\n        ///     Include specified method to resulting typing.\n        ///     User <see cref=\"Ts.Parameter{T}()\" /> to mock up method parameters or specify configuration for perticular method\n        ///     parameter\n        /// </summary>\n        /// <param name=\"method\">Method to include</param>\n        /// <param name=\"configuration\">configuration to be applied to method</param>\n        /// <returns>Fluent</returns>\n        public ClassExportBuilder<T> WithMethod<TData>(Expression<Func<T, TData>> method, Action<MethodExportBuilder> configuration)\n        {\n            WithMethods(new[] { LambdaHelpers.ParseMethodLambda(method) }, configuration);\n            ExtractParameters(method);\n            return this;\n        }\n\n        /// <summary>\n        ///     Include specified method to resulting typing.\n        ///     User <see cref=\"Ts.Parameter{T}()\" /> to mock up method parameters or specify configuration for perticular method\n        ///     parameter\n        /// </summary>\n        /// <param name=\"method\">Method to include</param>\n        /// <param name=\"configuration\">configuration to be applied to method</param>\n        /// <returns>Fluent</returns>\n        public ClassExportBuilder<T> WithMethod(Expression<Action<T>> method, Action<MethodExportBuilder> configuration)\n        {\n            WithMethods(new[] { LambdaHelpers.ParseMethodLambda(method) }, configuration);\n            ExtractParameters(method);\n            return this;\n        }\n\n        /// <summary>\n        ///     Include specified property to resulting typing\n        /// </summary>\n        /// <param name=\"property\">Property to include</param>\n        /// <param name=\"configuration\">Configuration to be applied to selected property</param>\n        /// <returns>Fluent</returns>\n        public ClassExportBuilder<T> WithProperty<TData>(Expression<Func<T, TData>> property, Action<PropertyExportBuilder> configuration)\n        {\n            WithProperties(new[] { LambdaHelpers.ParsePropertyLambda(property) }, configuration);\n            return this;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/TypeBuilders/TypeExportBuilder.Enum.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Exceptions;\n// ReSharper disable CheckNamespace\n\nnamespace Reinforced.Typings.Fluent\n{\n    /// <summary>\n    /// Fluent export configuration builder for enum\n    /// </summary>\n    public class EnumExportBuilder : TypeExportBuilder\n    {\n        internal EnumExportBuilder(TypeBlueprint blueprint) : base(blueprint)\n        {\n            if (Blueprint.TypeAttribute == null) Blueprint.TypeAttribute = new TsEnumAttribute();\n        }\n\n        internal TsEnumAttribute Attr\n        {\n            get { return (TsEnumAttribute)Blueprint.TypeAttribute; }\n        }\n\n        /// <summary>\n        ///     Retrieves configuration builder for particular enumeration value\n        /// </summary>\n        /// <param name=\"propertyName\">String enum property name</param>\n        /// <returns>Configuration builder</returns>\n        public EnumValueExportBuilder Value(string propertyName)\n        {\n            var field = Blueprint.Type._GetField(propertyName);\n            var c = new EnumValueExportBuilder(Blueprint, field);\n            return c;\n        }\n\n\n\n    }\n\n    /// <summary>\n    /// Fluent export configuration builder for enum (generic)\n    /// </summary>\n    public class EnumExportBuilder<T> : EnumExportBuilder where T : struct\n    {\n        internal EnumExportBuilder(TypeBlueprint blueprint) : base(blueprint)\n        {\n        }\n\n        /// <summary>\n        ///     Retrieves configuration builder for particular enumeration value\n        /// </summary>\n        /// <param name=\"value\">Enum value</param>\n        /// <returns>Configuration builder</returns>\n        public EnumValueExportBuilder Value(T value)\n        {\n            var n = Enum.GetName(typeof(T), value);\n            var field = typeof(T)._GetField(n);\n            var c = new EnumValueExportBuilder(Blueprint, field);\n            return c;\n        }\n\n        /// <summary>\n        ///     Configures export of particular enumeration value\n        /// </summary>\n        /// <param name=\"value\">Enum value</param>\n        /// <param name=\"valueConf\">Enum value export configuration</param>\n        /// <returns>Configuration builder</returns>\n        public EnumExportBuilder<T> Value(T value, Action<EnumValueExportBuilder> valueConf)\n        {\n            var n = Enum.GetName(typeof(T), value);\n            var field = typeof(T)._GetField(n);\n            var c = new EnumValueExportBuilder(Blueprint, field);\n            valueConf(c);\n            return this;\n        }\n    }\n\n    public static partial class TypeConfigurationBuilderExtensions\n    {\n\n        /// <summary>\n        ///     Configures export of particular enumeration value\n        /// </summary>\n        /// <param name=\"conf\">Configuration builder</param>\n        /// <param name=\"propertyName\">String enum property name</param>\n        /// <param name=\"valueConf\">Enum value export configuration</param>\n        /// <returns>Configuration builder</returns>\n        public static T Value<T>(this T conf, string propertyName, Action<EnumValueExportBuilder> valueConf)\n            where T : EnumExportBuilder\n        {\n            var ve = conf.Value(propertyName);\n            valueConf(ve);\n            return conf;\n        }\n\n        /// <summary>\n        /// Overrides enum value's string initializer. Please escape quotes manually.\n        /// </summary>\n        /// <param name=\"conf\"></param>\n        /// <param name=\"initializer\"></param>\n        /// <returns></returns>\n        public static EnumValueExportBuilder Initializer(this EnumValueExportBuilder conf, string initializer)\n        {\n            conf.Attr.Initializer = initializer;\n            return conf;\n        }\n\n\n\n        /// <summary>\n        ///     Includes specified type to resulting typing exported as TypeScript enumeration\n        /// </summary>\n        /// <typeparam name=\"T\">Type to include</typeparam>\n        /// <param name=\"builder\">Configuration builder</param>\n        /// <returns>Fluent</returns>\n        public static EnumExportBuilder<T> ExportAsEnum<T>(this ConfigurationBuilder builder)\n            where T : struct\n        {\n            var bp = builder.GetCheckedBlueprint<TsEnumAttribute>(typeof(T));\n            var conf =\n                builder.TypeExportBuilders.GetOrCreate(typeof(T), () => new EnumExportBuilder<T>(bp))\n                    as EnumExportBuilder<T>;\n            if (conf == null)\n            {\n                ErrorMessages.RTE0017_FluentContradict.Throw(typeof(T), \"enum\");\n            }\n\n            return conf;\n        }\n\n        /// <summary>\n        ///     Includes specified types to resulting typing exported as TypeScript enumerations\n        /// </summary>\n        /// <param name=\"builder\">Configuration builder</param>\n        /// <param name=\"types\">Types to include</param>\n        /// <param name=\"configuration\">Configuration to be applied to each type</param>\n        /// <returns>Fluent</returns>\n        public static void ExportAsEnums(this ConfigurationBuilder builder, IEnumerable<Type> types,\n            Action<EnumExportBuilder> configuration = null)\n        {\n            foreach (var type in types)\n            {\n                var untypedConf = builder.TypeExportBuilders.GetOrCreate(type, () =>\n                {\n                    var bp = builder.GetCheckedBlueprint<TsEnumAttribute>(type);\n                    var t = typeof(EnumExportBuilder<>).MakeGenericType(type);\n                    return (EnumExportBuilder)t.InstanceInternal(bp);\n                });\n\n                var conf = untypedConf as EnumExportBuilder;\n                if (conf == null)\n                {\n                    ErrorMessages.RTE0017_FluentContradict.Throw(type, \"enum\");\n                }\n\n                if (configuration != null)\n                {\n                    try\n                    {\n                        configuration(conf);\n                    }\n                    catch (Exception ex)\n                    {\n                        ErrorMessages.RTE0006_FluentSingleError.Throw(ex.Message, \"enum\", type.FullName);\n                    }\n                }\n            }\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/TypeBuilders/TypeExportBuilder.Interface.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Reflection;\nusing Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Exceptions;\n// ReSharper disable CheckNamespace\n\nnamespace Reinforced.Typings.Fluent\n{\n    /// <summary>\n    /// Fluent export configuration builder for interface\n    /// </summary>\n    public class InterfaceExportBuilder : ClassOrInterfaceExportBuilder\n    {\n        internal InterfaceExportBuilder(TypeBlueprint blueprint) : base(blueprint)\n        {\n            if (Blueprint.TypeAttribute == null)\n                Blueprint.TypeAttribute = new TsInterfaceAttribute\n                {\n                    AutoExportProperties = false,\n                    AutoExportMethods = false\n                };\n        }\n\n        internal TsInterfaceAttribute Attr\n        {\n            get { return (TsInterfaceAttribute)Blueprint.TypeAttribute; }\n        }\n    }\n\n    public static partial class TypeConfigurationBuilderExtensions\n    {\n        /// <summary>\n        ///     Includes specified type to resulting typing exported as TypeScript class\n        /// </summary>\n        /// <typeparam name=\"T\">Type to include</typeparam>\n        /// <param name=\"builder\">Configuration builder</param>\n        /// <returns>Fluent</returns>\n        public static InterfaceExportBuilder<T> ExportAsInterface<T>(this ConfigurationBuilder builder)\n        {\n            var bp = builder.GetCheckedBlueprint<TsInterfaceAttribute>(typeof(T));\n\n            var conf =\n                builder.TypeExportBuilders.GetOrCreate(typeof(T), () => new InterfaceExportBuilder<T>(bp))\n                as InterfaceExportBuilder<T>;\n            if (conf == null)\n            {\n                ErrorMessages.RTE0017_FluentContradict.Throw(typeof(T), \"interface\");\n            }\n\n            return conf;\n\n        }\n\n        /// <summary>\n        ///     Includes specified types to resulting typing exported as TypeScript classes\n        /// </summary>\n        /// <param name=\"builder\">Configuration builder</param>\n        /// <param name=\"types\">Types to include</param>\n        /// <param name=\"configuration\">Configuration to be applied to each type</param>\n        /// <returns>Fluent</returns>\n        public static void ExportAsInterfaces(this ConfigurationBuilder builder, IEnumerable<Type> types,\n            Action<InterfaceExportBuilder> configuration = null)\n        {\n            foreach (var type in types)\n            {\n                var untypedConf = builder.TypeExportBuilders.GetOrCreate(type, () =>\n                {\n                    var bp = builder.GetCheckedBlueprint<TsInterfaceAttribute>(type);\n\n                    if (!type._IsGenericTypeDefinition())\n                    {\n                        var t = typeof(InterfaceExportBuilder<>).MakeGenericType(type);\n                        return (InterfaceExportBuilder)t.InstanceInternal(bp);\n                    }\n\n                    return new InterfaceExportBuilder(bp);\n                });\n\n                var conf = untypedConf as InterfaceExportBuilder;\n                if (conf == null)\n                {\n                    ErrorMessages.RTE0017_FluentContradict.Throw(type, \"interface\");\n                }\n\n                if (configuration != null)\n                {\n                    try\n                    {\n                        configuration(conf);\n                    }\n                    catch (Exception ex)\n                    {\n                        ErrorMessages.RTE0006_FluentSingleError.Throw(ex.Message, \"type\", type.FullName);\n                    }\n                }\n            }\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/TypeBuilders/TypeExportBuilder.Interface`1.cs",
    "content": "﻿using System;\nusing System.Linq.Expressions;\n// ReSharper disable CheckNamespace\n\nnamespace Reinforced.Typings.Fluent\n{\n    /// <summary>\n    /// Fluent export configuration builder for interface (generic)\n    /// </summary>\n    public class InterfaceExportBuilder<T> : InterfaceExportBuilder, ITypedExportBuilder<T>\n    {\n        internal InterfaceExportBuilder(TypeBlueprint blueprint) : base(blueprint)\n        {\n        }\n        \n        /// <summary>\n        ///     Include specified field to resulting typing\n        /// </summary>\n        /// <param name=\"field\">Field to include</param>\n        /// <param name=\"configuration\">Configuration to be applied to selected field</param>\n        /// <returns>Fluent</returns>\n        public InterfaceExportBuilder<T> WithField<TData>(Expression<Func<T, TData>> field, Action<PropertyExportBuilder> configuration)\n        {\n            ApplyMembersConfiguration(new[] { LambdaHelpers.ParseFieldLambda(field) }, configuration);\n            return this;\n        }\n\n        /// <summary>\n        ///     Include specified method to resulting typing.\n        ///     User <see cref=\"Ts.Parameter{T}()\" /> to mock up method parameters or specify configuration for perticular method\n        ///     parameter\n        /// </summary>\n        /// <param name=\"method\">Method to include</param>\n        /// <param name=\"configuration\">configuration to be applied to method</param>\n        /// <returns>Fluent</returns>\n        public InterfaceExportBuilder<T> WithMethod<TData>(Expression<Func<T, TData>> method, Action<MethodExportBuilder> configuration)\n        {\n            this.WithMethods(new[] { LambdaHelpers.ParseMethodLambda(method) }, configuration);\n            ExtractParameters(method);\n            return this;\n        }\n\n        /// <summary>\n        ///     Include specified method to resulting typing.\n        ///     User <see cref=\"Ts.Parameter{T}()\" /> to mock up method parameters or specify configuration for perticular method\n        ///     parameter\n        /// </summary>\n        /// <param name=\"method\">Method to include</param>\n        /// <param name=\"configuration\">configuration to be applied to method</param>\n        /// <returns>Fluent</returns>\n        public InterfaceExportBuilder<T> WithMethod(Expression<Action<T>> method, Action<MethodExportBuilder> configuration)\n        {\n            this.WithMethods(new[] { LambdaHelpers.ParseMethodLambda(method) }, configuration);\n            ExtractParameters(method);\n            return this;\n        }\n\n        /// <summary>\n        ///     Include specified property to resulting typing\n        /// </summary>\n        /// <param name=\"property\">Property to include</param>\n        /// <param name=\"configuration\">Configuration to be applied to selected property</param>\n        /// <returns>Fluent</returns>\n        public InterfaceExportBuilder<T> WithProperty<TData>(Expression<Func<T, TData>> property, Action<PropertyExportBuilder> configuration)\n        {\n            WithProperties(new[] { LambdaHelpers.ParsePropertyLambda(property) }, configuration);\n            return this;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/TypeBuilders/TypeExportBuilder.ThirdParty.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Reflection;\nusing Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Exceptions;\n// ReSharper disable CheckNamespace\n\nnamespace Reinforced.Typings.Fluent\n{\n    /// <summary>\n    /// Fluent export configuration builder for class\n    /// </summary>\n    public class ThirdPartyExportBuilder\n    {\n        internal TypeBlueprint Blueprint { get; private set; }\n        internal ThirdPartyExportBuilder(TypeBlueprint blueprint)\n        {\n            Blueprint = blueprint;\n            if (blueprint.ThirdParty == null)\n            {\n                blueprint.ThirdParty = new TsThirdPartyAttribute(Type.FullName);\n            }\n        }\n\n        /// <summary>\n        /// Gets type that is being configured for export\n        /// </summary>\n        public Type Type\n        {\n            get { return Blueprint.Type; }\n        }\n\n        internal TsThirdPartyAttribute Attr\n        {\n            get { return Blueprint.ThirdParty; }\n        }\n    }\n\n    /// <summary>\n    /// Set of extensions for type export configuration\n    /// </summary>\n    public static partial class TypeConfigurationBuilderExtensions\n    {\n       \n        /// <summary>\n        ///     Makes RT to treat specified type as type from third-party library\n        /// </summary>\n        /// <typeparam name=\"T\">Type to include</typeparam>\n        /// <param name=\"builder\">Configuration builder</param>\n        /// <returns>Fluent</returns>\n        public static ThirdPartyExportBuilder<T> ExportAsThirdParty<T>(this ConfigurationBuilder builder)\n        {\n            var bp = builder.GetCheckedThirdPartyBlueprint(typeof(T));\n\n            if (builder.TypeExportBuilders.ContainsKey(typeof(T)))\n            {\n                ErrorMessages.RTE0017_FluentContradict.Throw(typeof(T), \"third party\");\n            }\n\n            var conf =\n                builder.ThirdPartyBuilders.GetOrCreate(typeof(T), () => new ThirdPartyExportBuilder<T>(bp))\n                    as ThirdPartyExportBuilder<T>;\n            if (conf == null)\n            {\n                ErrorMessages.RTE0017_FluentContradict.Throw(typeof(T), \"third party\");\n            }\n\n\n            return conf;\n\n        }\n\n        /// <summary>\n        ///     Makes RT to treat specified types as types from third-party library\n        /// </summary>\n        /// <param name=\"builder\">Configuration builder</param>\n        /// <param name=\"types\">Types to include</param>\n        /// <param name=\"configuration\">Configuration to be applied to each type</param>\n        /// <returns>Fluent</returns>\n        public static void ExportAsThirdParty(this ConfigurationBuilder builder, IEnumerable<Type> types,\n            Action<ThirdPartyExportBuilder> configuration = null)\n        {\n            foreach (var type in types)\n            {\n                if (builder.TypeExportBuilders.ContainsKey(type))\n                {\n                    ErrorMessages.RTE0017_FluentContradict.Throw(type, \"third party\");\n                }\n                var conf = builder.ThirdPartyBuilders.GetOrCreate(type, () =>\n                {\n                    var bp = builder.GetCheckedThirdPartyBlueprint(type);\n                    if (!type._IsGenericTypeDefinition())\n                    {\n                        var t = typeof(ThirdPartyExportBuilder<>).MakeGenericType(type);\n                        return (ThirdPartyExportBuilder)t.InstanceInternal(bp);\n                    }\n\n                    return new ThirdPartyExportBuilder(bp);\n                });\n\n                if (configuration != null)\n                {\n                    try\n                    {\n                        configuration(conf);\n                    }\n                    catch (Exception ex)\n                    {\n                        ErrorMessages.RTE0006_FluentSingleError.Throw(ex.Message, \"type\", type.FullName);\n                    }\n                }\n            }\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/TypeBuilders/TypeExportBuilder.ThirdParty`1.cs",
    "content": "﻿using System;\nusing System.Linq.Expressions;\n\nnamespace Reinforced.Typings.Fluent\n{\n    /// <summary>\n    /// Fluent export configuration builder for class (generic)\n    /// </summary>\n    public class ThirdPartyExportBuilder<T> : ThirdPartyExportBuilder\n    {\n        internal ThirdPartyExportBuilder(TypeBlueprint blueprint) : base(blueprint)\n        {\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/TypeBuilders/TypeExportBuilder.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Linq.Expressions;\nusing System.Reflection;\nusing Reinforced.Typings.Exceptions;\n// ReSharper disable CheckNamespace\n// ReSharper disable UnusedTypeParameter\n// ReSharper disable PossibleNullReferenceException\n#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member\nnamespace Reinforced.Typings.Fluent\n{\n    /// <summary>\n    /// Generic fluent configuration builder\n    /// </summary>\n    public interface ITypedExportBuilder<T>\n    {\n\n    }\n\n    /// <summary>\n    /// Fluent export configuration builder for type\n    /// </summary>\n    public abstract class TypeExportBuilder\n    {\n        internal TypeBlueprint Blueprint { get; private set; }\n        internal TypeExportBuilder(TypeBlueprint blueprint)\n        {\n            Blueprint = blueprint;\n            blueprint.IsExportedExplicitly = true;\n        }\n\n        /// <summary>\n        /// Gets type that is being configured for export\n        /// </summary>\n        public Type Type\n        {\n            get { return Blueprint.Type; }\n        }\n\n        protected internal void ApplyMembersConfiguration<T>(IEnumerable<MemberInfo> members, Action<T> configuration = null) where T : MemberExportBuilder\n        {\n            Blueprint.NotifyFlattenTouched();\n            foreach (var member in members)\n            {\n                var conf = (T)typeof(T).InstanceInternal(Blueprint, member);\n                if (configuration == null) continue;\n                try\n                {\n                    configuration(conf);\n                }\n                catch (Exception ex)\n                {\n                    ErrorMessages.RTE0006_FluentSingleError.Throw(ex.Message, \"property\",\n                        string.Format(\"{0}.{1}\", member.DeclaringType.FullName, member.Name));\n                }\n            }\n        }\n\n\n        protected internal void ApplyMethodsConfiguration(IEnumerable<MethodInfo> methds,\n\n            Action<MethodExportBuilder> configuration = null)\n        {\n\n            Blueprint.NotifyFlattenTouched();\n            foreach (var methodInfo in methds)\n            {\n                var conf = new MethodExportBuilder(Blueprint, methodInfo);\n                if (configuration == null) continue;\n                try\n                {\n                    configuration(conf);\n                }\n                catch (Exception ex)\n                {\n                    ErrorMessages.RTE0006_FluentSingleError.Throw(ex.Message, \"method\",\n                        string.Format(\"{0}.{1}(...)\", methodInfo.DeclaringType.FullName, methodInfo.Name));\n                }\n            }\n        }\n\n        internal void ExtractParameters(LambdaExpression methodLambda)\n        {\n            var mex = methodLambda.Body as MethodCallExpression;\n            if (mex == null) ErrorMessages.RTE0008_FluentWithMethodError.Throw();\n            var mi = mex.Method;\n\n            var methodParameters = mi.GetParameters();\n            if (methodParameters.Length == 0) return;\n\n\n            var i = 0;\n            foreach (var expression in mex.Arguments)\n            {\n                var pi = methodParameters[i];\n                i++;\n\n                var call = expression as MethodCallExpression;\n                if (call != null)\n                {\n                    if (call.Method.IsGenericMethod &&\n                        call.Method.GetGenericMethodDefinition() == Ts.ParametrizedParameterMethod)\n                    {\n                        var pcb = new ParameterExportBuilder(Blueprint, pi);\n\n                        var parsed = false;\n                        var arg = call.Arguments[0] as LambdaExpression;\n                        if (arg != null)\n                        {\n                            var delg = arg.Compile();\n                            delg.DynamicInvoke(pcb);\n                            parsed = true;\n                        }\n                        var uarg = call.Arguments[0] as UnaryExpression; // convert expression\n                        if (uarg != null)\n                        {\n                            var operand = uarg.Operand as MethodCallExpression;\n                            if (operand != null)\n                            {\n                                var actionArg = operand.Object as ConstantExpression;\n                                if (actionArg != null)\n                                {\n                                    var value = actionArg.Value as MethodInfo;\n                                    if (value != null)\n                                    {\n                                        var param = Expression.Parameter(typeof(ParameterExportBuilder));\n                                        var newCall = Expression.Call(value, param);\n                                        var newLambda = Expression.Lambda(newCall, param);\n                                        var delg = newLambda.Compile();\n                                        delg.DynamicInvoke(pcb);\n                                        parsed = true;\n                                    }\n                                }\n                            }\n                            if (!parsed)\n                                ErrorMessages.RTE0009_FluentWithMethodCouldNotParse.Throw(call.Arguments[0]);\n                        }\n                    }\n                }\n            }\n        }\n    }\n}\n#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member"
  },
  {
    "path": "Reinforced.Typings/Fluent/TypeExtensions/TypeExportExtensions.All.NamesAndNamespaces.cs",
    "content": "﻿// ReSharper disable CheckNamespace\nnamespace Reinforced.Typings.Fluent\n{\n    /// <summary>\n    /// Set of extensions for types exporting configuration\n    /// </summary>\n    public static partial class TypeExportExtensions\n    {\n        /// <summary>\n        ///     Overrides name of exported type\n        /// </summary>\n        /// <param name=\"conf\">Configuration</param>\n        /// <param name=\"name\">Custom name to be used</param>\n        public static TypeExportBuilder OverrideName(this TypeExportBuilder conf, string name)\n        {\n            conf.Blueprint.TypeAttribute.Name = name;\n            return conf;\n        }\n\n        /// <summary>\n        ///     Configures exporter do not to export member to corresponding namespace\n        /// </summary>\n        public static T DontIncludeToNamespace<T>(this T conf, bool include = false)\n            where T : TypeExportBuilder\n        {\n            conf.Blueprint.TypeAttribute.IncludeNamespace = include;\n            return conf;\n        }\n\n        /// <summary>\n        ///     Configures exporter to export type to specified namespace\n        /// </summary>\n        /// <param name=\"conf\">Configuration</param>\n        /// <param name=\"nameSpace\">Namespace name</param>\n        public static T OverrideNamespace<T>(this T conf, string nameSpace)\n            where T : TypeExportBuilder\n        {\n            conf.Blueprint.TypeAttribute.Namespace = nameSpace;\n            return conf;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/TypeExtensions/TypeExportExtensions.All.ReferencesAndImports.cs",
    "content": "﻿using System;\nusing Reinforced.Typings.Attributes;\n// ReSharper disable CheckNamespace\n\nnamespace Reinforced.Typings.Fluent\n{\n    public static partial class TypeExportExtensions\n    {\n        /// <summary>\n        ///     Adds reference directive to file containing typing for current type\n        ///     This method is only used while splitting generated types to different files\n        /// </summary>\n        /// <param name=\"configuration\">Configurator</param>\n        /// <param name=\"referenceFile\">Path to referenced file</param>\n        public static T AddReference<T>(this T configuration, string referenceFile)\n            where T : TypeExportBuilder\n        {\n            configuration.Blueprint.References.Add(new TsAddTypeReferenceAttribute(referenceFile));\n            return configuration;\n        }\n\n        /// <summary>\n        ///     Adds reference directive to file containing typing for current type\n        ///     This method is only used while splitting generated types to different files\n        /// </summary>\n        /// <param name=\"configuration\">Configurator</param>\n        /// <param name=\"referencedType\">Another generated type that should be referenced</param>\n        public static T AddReference<T>(this T configuration, Type referencedType)\n            where T : TypeExportBuilder\n        {\n            configuration.Blueprint.References.Add(new TsAddTypeReferenceAttribute(referencedType));\n            return configuration;\n        }\n\n        /// <summary>\n        ///     Adds import directive to file containing typing for current type\n        ///     This method is only used while splitting generated types to different files\n        /// </summary>\n        /// <param name=\"conf\">Configurator</param>\n        /// <param name=\"target\">\n        /// What we are importing from module.\n        /// Everything that is placed after \"import\" keyword and before \"from\" or \"= require(..)\"\n        /// Examples: \n        /// - \"import * as shape from './Shapes'\" -> \"* as shape\" is target <br/>\n        /// - \"import { Foo } from 'Bar'\" -> \"{ Foo }\" is target <br/>\n        /// - \"import { Bar2 as bar } from 'Baz'\" -> \"{ Bar2 as bar }\" is target <br/>\n        /// If ImportTarget is null then side-effect import will be generated. \n        /// </param>\n        /// <param name=\"from\">\n        /// Import source is everything that follows after \"from\" keyword. \n        /// Please not the you do not have to specify quotes here! Quotes will be added automatically\n        /// </param>\n        /// <param name=\"isRequire\">When true, import will be generated as \"import ImportTarget = require('ImportSource')\"</param>\n        public static T AddImport<T>(this T conf, string target, string from, bool isRequire = false)\n            where T : TypeExportBuilder\n        {\n            conf.Blueprint.Imports.Add(new TsAddTypeImportAttribute(target, @from, isRequire));\n            return conf;\n        }\n\n        /// <summary>\n        ///     Overrides target file name where specified name will be exported.\n        ///     This option will only be processed when RtDivideTypesAmongFiles is true.\n        /// </summary>\n        /// <param name=\"configuration\">Configurator</param>\n        /// <param name=\"fileName\">Target file path override. Related to RtTargetDirectory</param>\n        public static T ExportTo<T>(this T configuration, string fileName) where T : TypeExportBuilder\n        {\n            configuration.Blueprint.PathToFile = fileName;\n            return configuration;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/TypeExtensions/TypeExportExtensions.All.Substitutions.cs",
    "content": "﻿using System;\nusing Reinforced.Typings.Ast.TypeNames;\n// ReSharper disable CheckNamespace\n\nnamespace Reinforced.Typings.Fluent\n{\n    public static partial class TypeExportExtensions\n    {\n        /// <summary>\n        /// Defines local type substitution that will work only when exporting current class. \n        /// Substituted type will be strictly replaced with substitution during export but this option will take effect only when \n        /// exporting currently configurable type\n        /// </summary>\n        /// <param name=\"builder\"></param>\n        /// <param name=\"substitute\">Type to substitute</param>\n        /// <param name=\"substitution\">Substitution for type</param>\n        /// <returns>Fluent</returns>\n        public static T Substitute<T>(this T builder, Type substitute, RtTypeName substitution)\n            where T : TypeExportBuilder\n        {\n            builder.Blueprint.Substitutions[substitute] = substitution;\n            return builder;\n        }\n\n        /// <summary>\n        /// Defines local generic type substitution that will work only when exporting current class. \n        /// Substituted type will be strictly replaced with substitution during export but this option will take effect only when \n        /// exporting currently configurable type\n        /// </summary>\n        /// <param name=\"builder\"></param>\n        /// <param name=\"genericType\">Type to substitute</param>\n        /// <param name=\"substitutionFn\">Substitution for type</param>\n        /// <returns>Fluent</returns>\n        public static T SubstituteGeneric<T>(this T builder, Type genericType,\n            Func<Type, TypeResolver, RtTypeName> substitutionFn)\n            where T : TypeExportBuilder\n        {\n            if (!genericType._IsGenericTypeDefinition())\n            {\n                if (!genericType._IsGenericType())\n                {\n                    throw new Exception(string.Format(\n                        \"Type {0} does not appear to be generic type definition. Use typeof(MyType<>) to define generic substitution\",\n                        genericType.FullName));\n                }\n\n                genericType = genericType.GetGenericTypeDefinition();\n            }\n\n            builder.Blueprint.GenericSubstitutions[genericType] = substitutionFn;\n            return builder;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/TypeExtensions/TypeExportExtensions.All.ThirdParty.cs",
    "content": "﻿using Reinforced.Typings.Ast.Dependency;\n\n// ReSharper disable CheckNamespace\n\nnamespace Reinforced.Typings.Fluent\n{\n    public static partial class TypeExportExtensions\n    {\n        /// <summary>\n        ///  Overrides name of third-party type. Use full-qualified name.\n        /// </summary>\n        /// <param name=\"builder\"></param>\n        /// <param name=\"fullQualifiedName\">Full-qualified name of third-party type</param>\n        /// <returns></returns>\n        public static T WithName<T>(this T builder, string fullQualifiedName)\n            where T : ThirdPartyExportBuilder\n        {\n            builder.Blueprint.ThirdParty.Name = fullQualifiedName;\n            return builder;\n        }\n\n        /// <summary>\n        /// Specifies set of references that third-party type will add to each file it is being used in\n        /// </summary>\n        /// <param name=\"builder\"></param>\n        /// <param name=\"references\">Set of references</param>\n        /// <returns>Fluent</returns>\n        public static T References<T>(this T builder, params RtReference[] references)\n            where T : ThirdPartyExportBuilder\n        {\n            if (references != null) builder.Blueprint.ThirdPartyReferences.AddRange(references);\n            return builder;\n        }\n\n        /// <summary>\n        /// Specifies set of imports that third-party type will add to each file it is being used in\n        /// </summary>\n        /// <param name=\"builder\"></param>\n        /// <param name=\"imports\">Set of imports</param>\n        /// <returns>Fluent</returns>\n        public static T Imports<T>(this T builder, params RtImport[] imports)\n            where T : ThirdPartyExportBuilder\n        {\n            if (imports != null) builder.Blueprint.ThirdPartyImports.AddRange(imports);\n            return builder;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/TypeExtensions/TypeExportExtensions.Class.cs",
    "content": "﻿using System;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Generators;\n// ReSharper disable CheckNamespace\n\nnamespace Reinforced.Typings.Fluent\n{\n    public static partial class TypeExportExtensions\n    {\n        /// <summary>\n        ///     Specifies code generator for member\n        /// </summary>\n        public static ClassExportBuilder WithCodeGenerator<T>(this ClassExportBuilder conf)\n            where T : ITsCodeGenerator<Type>\n        {\n            conf.Attr.CodeGeneratorType = typeof(T);\n            return conf;\n        }\n\n        /// <summary>\n        ///   Configures class to be exported as abstract or not.\n        ///   Pass null value to identify automatically\n        /// </summary>\n        public static T Abstract<T>(this T conf, bool? isAbstract = true)\n            where T : ClassExportBuilder\n        {\n            conf.Attr.IsAbstract = isAbstract;\n\n            return conf;\n        }\n\n        /// <summary>\n        /// Configures class to export constructor\n        /// If constructor body is not specified, then default body will be generated.\n        /// Default body is empty if there are no inheritance.\n        /// If there is inheritance then RT will try to generate optimal super() call \n        /// that can be controlled by <see cref=\"TsBaseParamAttribute\"/>\n        /// </summary>\n        /// <typeparam name=\"T\"></typeparam>\n        /// <param name=\"conf\"></param>\n        /// <param name=\"exportConstructors\">When true, constructor will be exported</param>\n        /// <param name=\"constructorBody\">Optional constructor body implementation</param>\n        /// <returns></returns>\n        public static T WithConstructor<T>(this T conf, RtRaw constructorBody = null, bool exportConstructors = true)\n            where T : ClassExportBuilder\n        {\n            conf.Attr.AutoExportConstructors = exportConstructors;\n            conf.Blueprint.ConstructorBody = constructorBody;\n            return conf;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/TypeExtensions/TypeExportExtensions.Enum.cs",
    "content": "﻿using System;\nusing Reinforced.Typings.Generators;\n// ReSharper disable CheckNamespace\n\nnamespace Reinforced.Typings.Fluent\n{\n    public static partial class TypeExportExtensions\n    {\n        /// <summary>\n        ///     Specifies code generator for member\n        /// </summary>\n        public static EnumExportBuilder WithCodeGenerator<T>(this EnumExportBuilder conf)\n            where T : ITsCodeGenerator<Type>\n        {\n            conf.Attr.CodeGeneratorType = typeof(T);\n            return conf;\n        }\n\n        /// <summary>\n        /// Turns enum to constant enum\n        /// </summary>\n        /// <typeparam name=\"T\"></typeparam>\n        /// <param name=\"conf\">Enum configurator</param>\n        /// <param name=\"isConst\">When true, \"const enum\" will be generated. Regular enum otherwise</param>\n        /// <returns>Fluent</returns>\n        public static T Const<T>(this T conf, bool isConst = true) where T : EnumExportBuilder\n        {\n            conf.Attr.IsConst = isConst;\n            return conf;\n        }\n\n        /// <summary>\n        /// Makes enum to use string initializer for its values (TypeScript 2.4)\n        /// </summary>\n        /// <typeparam name=\"T\"></typeparam>\n        /// <param name=\"conf\">Enum configurator</param>\n        /// <param name=\"useString\">When true, enum values will be exported with string initializers</param>\n        /// <returns>Fluent</returns>\n        public static T UseString<T>(this T conf, bool useString = true) where T : EnumExportBuilder\n        {\n            conf.Attr.UseString = useString;\n            return conf;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/TypeExtensions/TypeExportExtensions.Interface.cs",
    "content": "﻿using System;\nusing Reinforced.Typings.Generators;\n// ReSharper disable CheckNamespace\n\nnamespace Reinforced.Typings.Fluent\n{\n    public static partial class TypeExportExtensions\n    {\n        /// <summary>\n        ///     Specifies code generator for member\n        /// </summary>\n        public static InterfaceExportBuilder WithCodeGenerator<T>(this InterfaceExportBuilder conf)\n            where T : ITsCodeGenerator<Type>\n        {\n            conf.Attr.CodeGeneratorType = typeof(T);\n            return conf;\n        }\n\n\n        /// <summary>\n        ///     Forces exporter to add I letter as interface prefix.\n        /// </summary>\n        /// <param name=\"conf\">Configuration</param>\n        /// <param name=\"auto\">Add I automatically or not</param>\n        public static T AutoI<T>(this T conf, bool auto = true) where T: InterfaceExportBuilder\n        {\n            conf.Attr.AutoI = auto;\n            return conf;\n        }\n\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/TypeExtensions/TypeExportExtensions.cs",
    "content": "﻿using System;\nusing Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Exceptions;\n// ReSharper disable CheckNamespace\n\nnamespace Reinforced.Typings.Fluent\n{\n    public static partial class TypeExportExtensions\n    {\n        /// <summary>\n        /// Sets order this membter will be written to output file in\n        /// </summary>\n        /// <param name=\"conf\">Configurator</param>\n        /// <param name=\"order\">Order of member</param>\n        /// <returns>Fluent</returns>\n        public static TypeExportBuilder Order(this TypeExportBuilder conf, double order)\n        {\n            conf.Blueprint.TypeAttribute.Order = order;\n            return conf;\n        }\n\n        /// <summary>\n        ///     Configures exporter to flatten inheritance hierarchy for supplied type\n        /// </summary>\n        /// <param name=\"conf\">Configuration</param>\n        /// <param name=\"until\">\n        /// All classes \"deeper\" than specified (including) will not be considered as exportable members donors. \n        /// By default this parameter is equal to typeof(object)\n        /// </param>\n        public static T FlattenHierarchy<T>(this T conf, Type until = null) where T: TypeExportBuilder\n        {\n            if (!conf.Blueprint.TypeAttribute.FlattenHierarchy)\n            {\n                if (!conf.Blueprint.CanFlatten())\n                {\n                    ErrorMessages.RTE0015_CannotFlatten.Throw(conf.Blueprint.Type.FullName);\n                }\n\n                conf.Blueprint.NotifyFlattenTouched();\n            }\n\n            conf.Blueprint.TypeAttribute.FlattenHierarchy = true;\n            if (until != null)\n            {\n                conf.Blueprint.TypeAttribute.FlattenLimiter = until;\n            }\n            return conf;\n        }\n\n        /// <summary>\n        /// Adds decorator to member\n        /// </summary>\n        /// <param name=\"conf\">Member configurator</param>\n        /// <param name=\"decorator\">Decorator to add (everything that must follow after \"@\")</param>\n        /// <param name=\"order\">Order of appearence</param>\n        /// <returns>Fluent</returns>\n        public static TypeExportBuilder Decorator(this TypeExportBuilder conf, string decorator, double order = 0)\n        {\n            conf.Blueprint.Decorators.Add(new TsDecoratorAttribute(decorator, order));\n            return conf;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Fluent/WithExtensions/WithExtensions.Fields.cs",
    "content": "﻿using System;\nusing System.Linq;\nusing System.Linq.Expressions;\nusing System.Reflection;\nusing Reinforced.Typings.Exceptions;\n// ReSharper disable CheckNamespace\n// ReSharper disable PossibleNullReferenceException\n\nnamespace Reinforced.Typings.Fluent\n{\n    /// <summary>\n    /// Set of .With-extensions\n    /// </summary>\n    public static partial class WithExtensions\n    {\n        /// <summary>\n        ///     Include specified field to resulting typing\n        /// </summary>\n        /// <param name=\"tc\">Configuration builder</param>\n        /// <param name=\"field\">Field to include</param>\n        /// <returns>Fluent</returns>\n        public static FieldExportBuilder WithField<T, TData>(this ITypedExportBuilder<T> tc,\n            Expression<Func<T, TData>> field)\n        {\n            var prop = LambdaHelpers.ParseFieldLambda(field);\n            ClassOrInterfaceExportBuilder tcb = tc as ClassOrInterfaceExportBuilder;\n            return new FieldExportBuilder(tcb.Blueprint, prop);\n        }\n\n        /// <summary>\n        ///     Include specified field to resulting typing\n        /// </summary>\n        /// <param name=\"tc\">Configuration builder</param>\n        /// <param name=\"fieldName\">Name of field to include</param>\n        /// <param name=\"configuration\">Configuration to be applied to selected field</param>\n        /// <returns>Fluent</returns>\n        public static T WithField<T>(this T tc, string fieldName, Action<FieldExportBuilder> configuration)\n            where T : ClassOrInterfaceExportBuilder\n        {\n            var field = tc.Blueprint.Type._GetField(fieldName);\n            if (field == null)\n            {\n                ErrorMessages.RTE0013_InvalidField.Throw(fieldName, tc.Blueprint.Type.FullName);\n            }\n            tc.WithFields(new[] { field }, configuration);\n            return tc;\n        }\n\n        \n\n        /// <summary>\n        ///     Include specified fields to resulting typing\n        /// </summary>\n        /// <param name=\"tc\">Configuration builder</param>\n        /// <param name=\"predicate\">Predicate function that should mathc for fields to include</param>\n        /// <param name=\"configuration\">Configuration to be applied to each field</param>\n        /// <returns>Fluent</returns>\n        public static T WithFields<T>(this T tc, Func<FieldInfo, bool> predicate,\n            Action<FieldExportBuilder> configuration = null) where T : ClassOrInterfaceExportBuilder\n        {\n            var prop = tc.Blueprint.GetExportingMembers((t, b) => t._GetFields(b))\n                .Where(predicate);\n            tc.WithFields(prop, configuration);\n            return tc;\n        }\n\n        /// <summary>\n        ///     Include all fields to resulting typing\n        /// </summary>\n        /// <param name=\"tc\">Configuration builder</param>\n        /// <param name=\"configuration\">Configuration to be applied to each field</param>\n        /// <returns>Fluent</returns>\n        public static T WithAllFields<T>(this T tc, Action<FieldExportBuilder> configuration = null)\n            where T : ClassOrInterfaceExportBuilder\n        {\n            var prop = tc.Blueprint.GetExportingMembers((t, b) => t._GetFields(b));\n            tc.WithFields(prop, configuration);\n            return tc;\n        }\n\n        /// <summary>\n        ///     Include all public fields to resulting typing\n        /// </summary>\n        /// <param name=\"tc\">Configuration builder</param>\n        /// <param name=\"configuration\">Configuration to be applied to each field</param>\n        /// <returns>Fluent</returns>\n        public static T WithPublicFields<T>(this T tc, Action<FieldExportBuilder> configuration = null)\n            where T : ClassOrInterfaceExportBuilder\n        {\n            var prop =\n                tc.Blueprint\n                    .GetExportingMembers((t, b) => t._GetFields(b), true);\n            tc.WithFields(prop, configuration);\n            return tc;\n        }\n\n        /// <summary>\n        ///     Include specified fields to resulting typing\n        /// </summary>\n        /// <param name=\"tc\">Configuration builder</param>\n        /// <param name=\"bindingFlags\">BindingFlags describing fields to include</param>\n        /// <param name=\"configuration\">Configuration to be applied to each field</param>\n        /// <returns>Fluent</returns>\n        public static T WithFields<T>(this T tc, BindingFlags bindingFlags,\n            Action<FieldExportBuilder> configuration = null) where T : ClassOrInterfaceExportBuilder\n        {\n            var prop = tc.Blueprint.Type._GetFields(bindingFlags);\n            tc.WithFields(prop, configuration);\n            return tc;\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Fluent/WithExtensions/WithExtensions.Methods.cs",
    "content": "﻿using System;\nusing System.Linq;\nusing System.Linq.Expressions;\nusing System.Reflection;\n// ReSharper disable CheckNamespace\n// ReSharper disable PossibleNullReferenceException\n\nnamespace Reinforced.Typings.Fluent\n{\n    public static partial class WithExtensions\n    {\n        /// <summary>\n        ///     Include specified method to resulting typing.\n        ///     User <see cref=\"Ts.Parameter{T}()\" /> to mock up method parameters or specify configuration for perticular method\n        ///     parameter\n        /// </summary>\n        /// <param name=\"tc\">Configuration builder</param>\n        /// <param name=\"method\">Method to include</param>\n        /// <returns>Fluent</returns>\n        public static MethodExportBuilder WithMethod<T, TData>(this ITypedExportBuilder<T> tc,\n            Expression<Func<T, TData>> method)\n        {\n            var prop = LambdaHelpers.ParseMethodLambda(method);\n            ClassOrInterfaceExportBuilder tcb = tc as ClassOrInterfaceExportBuilder;\n            var methodConf = new MethodExportBuilder(tcb.Blueprint, prop);\n            tcb.ExtractParameters(method);\n            return methodConf;\n        }\n        \n        /// <summary>\n        ///     Include specified method to resulting typing.\n        ///     User <see cref=\"Ts.Parameter{T}()\" /> to mock up method parameters or specify configuration for perticular method\n        ///     parameter\n        /// </summary>\n        /// <param name=\"tc\">Configuration builder</param>\n        /// <param name=\"method\">Method to include</param>\n        /// <returns>Fluent</returns>\n        public static MethodExportBuilder WithMethod<T>(this ITypedExportBuilder<T> tc,\n            Expression<Action<T>> method)\n        {\n            var prop = LambdaHelpers.ParseMethodLambda(method);\n            ClassOrInterfaceExportBuilder tcb = tc as ClassOrInterfaceExportBuilder;\n            var methodConf = new MethodExportBuilder(tcb.Blueprint, prop);\n            tcb.ExtractParameters(method);\n            return methodConf;\n        }\n\n        /// <summary>\n        ///     Include specified methods to resulting typing.\n        /// </summary>\n        /// <param name=\"tc\">Configuration builder</param>\n        /// <param name=\"predicate\">Predicate function that should mathc for methods to include</param>\n        /// <param name=\"configuration\">Configuration to be applied to each method</param>\n        /// <returns>Fluent</returns>\n        public static T WithMethods<T>(this T tc, Func<MethodInfo, bool> predicate,\n            Action<MethodExportBuilder> configuration = null) where T : ClassOrInterfaceExportBuilder\n        {\n            var prop = tc.Blueprint.GetExportingMembers((t, b) => t._GetMethods(b))\n                .Where(predicate);\n\n            tc.WithMethods(prop, configuration);\n            return tc;\n        }\n\n        /// <summary>\n        ///     Include specified methods to resulting typing.\n        /// </summary>\n        /// <param name=\"tc\">Configuration builder</param>\n        /// <param name=\"bindingFlags\">BindingFlags describing methods to include</param>\n        /// <param name=\"configuration\">Configuration to be applied to each method</param>\n        /// <returns>Fluent</returns>\n        public static T WithMethods<T>(this T tc, BindingFlags bindingFlags,\n            Action<MethodExportBuilder> configuration = null) where T : ClassOrInterfaceExportBuilder\n        {\n            var prop = \n                tc.Blueprint.GetExportingMembers((t, b) => t._GetMethods(bindingFlags));\n             tc.WithMethods(prop, configuration);\n            return tc;\n        }\n\n\n        /// <summary>\n        ///     Include all methods to resulting typing\n        /// </summary>\n        /// <param name=\"tc\">Configuration builder</param>\n        /// <param name=\"configuration\">Configuration to be applied to each method</param>\n        /// <returns>Fluent</returns>\n        public static T WithAllMethods<T>(this T tc, Action<MethodExportBuilder> configuration = null)\n            where T : ClassOrInterfaceExportBuilder\n        {\n            var prop = \n                tc.Blueprint.GetExportingMembers((t, b) => t._GetMethods(b));\n            tc.WithMethods(prop, configuration);\n            return tc;\n        }\n\n        /// <summary>\n        ///     Include all methods to resulting typing\n        /// </summary>\n        /// <param name=\"tc\">Configuration builder</param>\n        /// <param name=\"configuration\">Configuration to be applied to each method</param>\n        /// <returns>Fluent</returns>\n        public static T WithPublicMethods<T>(this T tc, Action<MethodExportBuilder> configuration = null)\n            where T : ClassOrInterfaceExportBuilder\n        {\n            var prop =\n                tc.Blueprint.GetExportingMembers((t, b) => t._GetMethods(b), true);\n            tc.WithMethods(prop, configuration);\n            return tc;\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Fluent/WithExtensions/WithExtensions.Properties.cs",
    "content": "﻿using System;\nusing System.Linq;\nusing System.Linq.Expressions;\nusing System.Reflection;\nusing Reinforced.Typings.Exceptions;\n// ReSharper disable CheckNamespace\n// ReSharper disable PossibleNullReferenceException\n\nnamespace Reinforced.Typings.Fluent\n{\n    public static partial class WithExtensions\n    {\n        /// <summary>\n        ///     Include specified property to resulting typing\n        /// </summary>\n        /// <param name=\"tc\">Configuration builder</param>\n        /// <param name=\"property\">Property to include</param>\n        /// <returns>Fluent</returns>\n        public static PropertyExportBuilder WithProperty<T, TData>(this ITypedExportBuilder<T> tc,\n            Expression<Func<T, TData>> property)\n        {\n            var prop = LambdaHelpers.ParsePropertyLambda(property);\n            ClassOrInterfaceExportBuilder tcb = tc as ClassOrInterfaceExportBuilder;\n            return new PropertyExportBuilder(tcb.Blueprint, prop);\n        }\n\n        /// <summary>\n        ///     Include specified property to resulting typing\n        /// </summary>\n        /// <param name=\"tc\">Configuration builder</param>\n        /// <param name=\"propertyName\">Name of property to include</param>\n        /// <param name=\"configuration\">Configuration to be applied to selected property</param>\n        /// <returns>Fluent</returns>\n        public static T WithProperty<T>(this T tc, string propertyName,\n            Action<PropertyExportBuilder> configuration) where T:ClassOrInterfaceExportBuilder\n        {\n            var prop = tc.Blueprint.Type._GetProperty(propertyName);\n            if (prop == null)\n            {\n                ErrorMessages.RTE0014_InvalidProperty.Throw(propertyName, tc.Blueprint.Type.FullName);\n            }\n            tc.WithProperties(new[] { prop }, configuration);\n            return tc;\n        }\n\n\n\n        /// <summary>\n        ///     Include specified properties to resulting typing\n        /// </summary>\n        /// <param name=\"tc\">Configuration builder</param>\n        /// <param name=\"predicate\">Predicate function for properties to include</param>\n        /// <param name=\"configuration\">Configuration to be applied to each property</param>\n        /// <returns>Fluent</returns>\n        public static T WithProperties<T>(this T tc, Func<PropertyInfo, bool> predicate,\n            Action<PropertyExportBuilder> configuration = null) where T : ClassOrInterfaceExportBuilder\n        {\n            var prop = tc.Blueprint.GetExportingMembers( (t, b) => t._GetProperties(b)).Where(predicate);\n            tc.WithProperties(prop, configuration);\n            return tc;\n        }\n\n        /// <summary>\n        ///     Include specified properties to resulting typing\n        /// </summary>\n        /// <param name=\"tc\">Configuration builder</param>\n        /// <param name=\"bindingFlags\">BindingFlags describing properties to include</param>\n        /// <param name=\"configuration\">Configuration to be applied to each property</param>\n        /// <returns>Fluent</returns>\n        public static T WithProperties<T>(this T tc, BindingFlags bindingFlags,\n            Action<PropertyExportBuilder> configuration = null)\n            where T : ClassOrInterfaceExportBuilder\n        {\n            var prop = tc.Blueprint.GetExportingMembers( (t, b) => t._GetProperties(bindingFlags));\n            tc.WithProperties(prop, configuration);\n            return tc;\n        }\n\n        /// <summary>\n        ///     Include all properties to resulting typing\n        /// </summary>\n        /// <param name=\"tc\">Configuration builder</param>\n        /// <param name=\"configuration\">Configuration to be applied to each property</param>\n        /// <returns>Fluent</returns>\n        public static T WithAllProperties<T>(this T tc, Action<PropertyExportBuilder> configuration = null)\n            where T : ClassOrInterfaceExportBuilder\n        {\n            var prop = tc.Blueprint.GetExportingMembers( (t, b) => t._GetProperties(b));\n            tc.WithProperties(prop, configuration);\n            return tc;\n        }\n\n        /// <summary>\n        ///     Include all public properties to resulting typing\n        /// </summary>\n        /// <param name=\"tc\">Configuration builder</param>\n        /// <param name=\"configuration\">Configuration to be applied to each property</param>\n        /// <returns>Fluent</returns>\n        public static T WithPublicProperties<T>(this T tc,\n            Action<PropertyExportBuilder> configuration = null)\n            where T : ClassOrInterfaceExportBuilder\n        {\n            var prop = tc.Blueprint\n                .GetExportingMembers( (t, b) => t._GetProperties(b), true);\n            tc.WithProperties(prop, configuration);\n            return tc;\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/GeneratorManager.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Reflection;\nusing Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Exceptions;\nusing Reinforced.Typings.Generators;\n\nnamespace Reinforced.Typings\n{\n    /// <summary>\n    /// Class for managing and instantiating code generators\n    /// </summary>\n    public class GeneratorManager\n    {\n        private readonly ITsCodeGenerator<Type> _defaultClassGenerator;\n        private readonly ITsCodeGenerator<Type> _defaultEnumGenerator;\n        private readonly Dictionary<MemberTypes, object> _defaultGenerators = new Dictionary<MemberTypes, object>();\n        private readonly ITsCodeGenerator<Type> _defaultInterfaceGenerator;\n        private readonly NamespaceCodeGenerator _defaultNsgenerator;\n        private readonly ITsCodeGenerator<ParameterInfo> _defaultParameterGenerator;\n        private readonly Dictionary<Type, object> _generatorsCache = new Dictionary<Type, object>();\n\n        private readonly ExportContext _context;\n\n        internal GeneratorManager(ExportContext context)\n        {\n            _defaultGenerators[MemberTypes.Property] = new PropertyCodeGenerator { Context = context };\n            _defaultGenerators[MemberTypes.Field] = new FieldCodeGenerator { Context = context };\n            _defaultGenerators[MemberTypes.Method] = new MethodCodeGenerator { Context = context };\n            _defaultGenerators[MemberTypes.Constructor] = new ConstructorCodeGenerator { Context = context };\n            _defaultParameterGenerator = new ParameterCodeGenerator { Context = context };\n            _defaultClassGenerator = new ClassCodeGenerator { Context = context };\n            _defaultInterfaceGenerator = new InterfaceCodeGenerator { Context = context };\n            _defaultEnumGenerator = new EnumGenerator { Context = context };\n            _defaultNsgenerator = new NamespaceCodeGenerator { Context = context };\n            _context = context;\n        }\n\n        /// <summary>\n        ///     Reteieves code generator instance for specified type member.\n        ///     Also this method considers Typings attribute and instantiates generator specified there if necessary\n        /// </summary>\n        /// <typeparam name=\"T\">Type member info type</typeparam>\n        /// <param name=\"member\">Type member info</param>\n        /// <returns>Code generator for specified type member</returns>\n        public ITsCodeGenerator<T> GeneratorFor<T>(T member)\n            where T : MemberInfo\n        {\n            var attr = _context.CurrentBlueprint.ForMember<TsTypedMemberAttributeBase>(member);\n            var fromAttr = GetFromAttribute<T>(attr);\n            if (fromAttr != null) return fromAttr;\n            if (member is MethodInfo)\n            {\n                var classAttr = _context.CurrentBlueprint.Attr<TsClassAttribute>();\n                if (classAttr != null && classAttr.DefaultMethodCodeGenerator != null)\n                {\n                    return LazilyInstantiateGenerator<T>(classAttr.DefaultMethodCodeGenerator);\n                }\n            }\n            var gen = (ITsCodeGenerator<T>)_defaultGenerators[member.MemberType];\n            gen.Context = _context;\n            return gen;\n        }\n\n        /// <summary>\n        ///     Retrieves code generator for ParameterInfo (since ParameterInfo does not derive from MemberInfo).\n        ///     Also this method considers Typings attribute and instantiates generator specified there if necessary\n        /// </summary>\n        /// <param name=\"member\">Parameter info</param>\n        /// <returns>Code generator for parameter info</returns>\n        public ITsCodeGenerator<ParameterInfo> GeneratorFor(ParameterInfo member)\n        {\n            var attr = _context.CurrentBlueprint.ForMember(member);\n            var fromAttr = GetFromAttribute<ParameterInfo>(attr);\n            if (fromAttr != null) return fromAttr;\n            return _defaultParameterGenerator;\n        }\n\n        /// <summary>\n        ///     Retrieves code generator for specified type\n        ///     Also this method considers Typings attribute and instantiates generator specified there if necessary\n        /// </summary>\n        /// <param name=\"member\">Type info</param>\n        /// <returns>Code generator for specified type</returns>\n        public ITsCodeGenerator<Type> GeneratorFor(Type member)\n        {\n            var attr = _context.Project.Blueprint(member).TypeAttribute;\n            var fromAttr = GetFromAttribute<Type>(attr);\n            if (fromAttr != null) return fromAttr;\n\n            var isClass = attr is TsClassAttribute;\n            var isInterface = attr is TsInterfaceAttribute;\n            var isEnum = attr is TsEnumAttribute;\n\n            if (isClass) return _defaultClassGenerator;\n            if (isInterface) return _defaultInterfaceGenerator;\n            if (isEnum) return _defaultEnumGenerator;\n            return null;\n        }\n\n        /// <summary>\n        ///     Retrieves code generator for namespaces\n        /// </summary>\n        /// <returns></returns>\n        public NamespaceCodeGenerator GeneratorForNamespace()\n        {\n            _defaultNsgenerator.Context = _context;\n            return _defaultNsgenerator;\n        }\n\n        private ITsCodeGenerator<T> GetFromAttribute<T>(TsAttributeBase attr)\n        {\n            if (attr != null)\n            {\n                var t = attr.CodeGeneratorType;\n                if (t != null) return LazilyInstantiateGenerator<T>(t);\n            }\n            return null;\n        }\n\n        private ITsCodeGenerator<T> LazilyInstantiateGenerator<T>(Type generatorType)\n        {\n            lock (_generatorsCache)\n            {\n                if (!_generatorsCache.ContainsKey(generatorType))\n                {\n                    try\n                    {\n                        _generatorsCache[generatorType] = Activator.CreateInstance(generatorType);\n                        var gen = (ITsCodeGenerator<T>)_generatorsCache[generatorType];\n                        gen.Context = _context;\n                    }\n                    catch (Exception ex)\n                    {\n                        ErrorMessages.RTE0003_GeneratorInstantiate.Throw(generatorType.FullName, ex.Message);\n                    }\n                }\n                return (ITsCodeGenerator<T>)_generatorsCache[generatorType];\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Generators/ClassAndInterfaceGeneratorBase.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Reflection;\nusing System.Runtime.CompilerServices;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Ast.TypeNames;\nusing Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Exceptions;\nusing Reinforced.Typings.Xmldoc.Model;\n\nnamespace Reinforced.Typings.Generators\n{\n    /// <summary>\n    /// Base code generator both for TypeScript class and interface\n    /// </summary>\n    /// <typeparam name=\"TNode\">Resulting node type (RtClass or RtInterface)</typeparam>\n    public abstract class ClassAndInterfaceGeneratorBase<TNode> : TsCodeGeneratorBase<Type, TNode> where TNode : RtNode, new()\n    {\n\n        /// <summary>\n        ///     Exports entire class to specified writer\n        /// </summary>\n        /// <param name=\"result\">Exporting result</param>\n        /// <param name=\"type\">Exporting class type</param>\n        /// <param name=\"resolver\">Type resolver</param>\n        /// <param name=\"swtch\">Pass here type attribute inherited from IAutoexportSwitchAttribute</param>\n        protected virtual void Export(ITypeMember result, Type type, TypeResolver resolver, IAutoexportSwitchAttribute swtch)\n        {\n\n            var bp = Context.Project.Blueprint(type);\n            result.Name = bp.GetName();\n            result.Order = bp.GetOrder();\n\n            var doc = Context.Documentation.GetDocumentationMember(type);\n            if (doc != null)\n            {\n                RtJsdocNode docNode = new RtJsdocNode();\n                if (doc.HasInheritDoc()) docNode.AddTag(DocTag.Inheritdoc);\n                if (doc.HasSummary()) docNode.Description = doc.Summary.Text;\n                result.Documentation = docNode;\n            }\n\n            var materializedGenericParameters = type._GetGenericArguments()\n                .Where(c => c.GetCustomAttribute<TsGenericAttribute>() != null)\n                .ToDictionary(c => c.Name, resolver.ResolveTypeName);\n\n            if (materializedGenericParameters.Count == 0) materializedGenericParameters = null;\n\n            if (!bp.IsFlatten())\n            {\n                var baseType = type._BaseType();\n                var implementees = ExtractImplementees(type, resolver, materializedGenericParameters).ToList();\n\n                if (baseType != null && baseType != typeof(object))\n                {\n                    bool baseAsInterface = false;\n                    RtTypeName inferredBaseType = null;\n                    if (baseType._IsGenericType())\n                    {\n                        var genericBase = baseType.GetGenericTypeDefinition();\n                        var genericBaseBp = Context.Project.Blueprint(genericBase);\n                        if (genericBaseBp.TypeAttribute != null || genericBaseBp.ThirdParty != null)\n                        {\n                            inferredBaseType = resolver.ResolveTypeName(baseType,\n                                MergeMaterializedGenerics(baseType, resolver, materializedGenericParameters));\n                            baseAsInterface = Context.Project.Blueprint(genericBase).IsExportingAsInterface();\n                        }\n                    }\n                    if (inferredBaseType == null || !baseType._IsGenericType())\n                    {\n                        var bsBp = Context.Project.Blueprint(baseType);\n                        if (bsBp.TypeAttribute != null || bsBp.ThirdParty != null)\n                        {\n                            baseAsInterface = Context.Project.Blueprint(baseType).IsExportingAsInterface();\n                            inferredBaseType = resolver.ResolveTypeName(baseType,\n                                MergeMaterializedGenerics(baseType, resolver, materializedGenericParameters));\n                        }\n                    }\n\n                    if (inferredBaseType != null)\n                    {\n                        if (baseAsInterface || result is RtInterface)\n                        {\n                            implementees.Add(inferredBaseType);\n                        }\n                        else\n                        {\n                            ((RtClass)result).Extendee = inferredBaseType;\n                        }\n                    }\n                }\n\n                result.Implementees.AddRange(implementees.OfType<RtSimpleTypeName>());\n            }\n\n            ExportMembers(type, resolver, result, swtch);\n        }\n\n        private Dictionary<string, RtTypeName> MergeMaterializedGenerics(Type t, TypeResolver resovler, Dictionary<string, RtTypeName> existing)\n        {\n            if (!t._IsGenericType()) return existing;\n            var args = t._GetGenericArguments();\n            if (args.All(c => c.IsGenericParameter)) return existing;\n            var genDef = t.GetGenericTypeDefinition()._GetGenericArguments();\n            Dictionary<string, RtTypeName> result = new Dictionary<string, RtTypeName>();\n            if (existing != null)\n            {\n                foreach (var rtTypeName in existing)\n                {\n                    result[rtTypeName.Key] = rtTypeName.Value;\n                }\n            }\n            for (int i = 0; i < args.Length; i++)\n            {\n                if (!args[i].IsGenericParameter)\n                {\n                    result[genDef[i].Name] = resovler.ResolveTypeName(args[i],\n                        MergeMaterializedGenerics(args[i], resovler, existing));\n                }\n                else\n                {\n                    if (args[i].Name != genDef[i].Name)\n                    {\n                        result[genDef[i].Name] = new RtSimpleTypeName(args[i].Name);\n                    }\n                }\n\n            }\n            if (result.Count == 0) return null;\n            return result;\n\n        }\n\n        private IEnumerable<RtTypeName> ExtractImplementees(Type type, TypeResolver resolver, Dictionary<string, RtTypeName> materializedGenericParameters)\n        {\n            var ifaces = type._GetInterfaces();\n            foreach (var iface in ifaces)\n            {\n\n                RtTypeName inferredBaseType = null;\n                if (iface._IsGenericType())\n                {\n                    var genericBase = iface.GetGenericTypeDefinition();\n                    var genericBaseBp = Context.Project.Blueprint(genericBase);\n                    if (genericBaseBp.TypeAttribute != null || genericBaseBp.ThirdParty != null)\n                    {\n                        inferredBaseType = resolver.ResolveTypeName(iface,\n                            MergeMaterializedGenerics(iface, resolver, materializedGenericParameters));\n                    }\n                }\n                if (inferredBaseType == null || !iface._IsGenericType())\n                {\n                    var bsBp = Context.Project.Blueprint(iface);\n                    if (bsBp.TypeAttribute != null || bsBp.ThirdParty != null)\n                    {\n                        inferredBaseType = resolver.ResolveTypeName(iface,\n                            MergeMaterializedGenerics(iface, resolver, materializedGenericParameters));\n                    }\n                }\n\n                if (inferredBaseType != null) yield return inferredBaseType;\n            }\n        }\n\n        /// <summary>\n        ///     Exports all type members sequentially\n        /// </summary>\n        /// <param name=\"element\">Type itself</param>\n        /// <param name=\"resolver\">Type resolver</param>\n        /// <param name=\"typeMember\">Placeholder for members</param>\n        /// <param name=\"swtch\">Pass here type attribute inherited from IAutoexportSwitchAttribute</param>\n        protected virtual void ExportMembers(Type element, TypeResolver resolver, ITypeMember typeMember,\n            IAutoexportSwitchAttribute swtch)\n        {\n            ExportConstructors(typeMember, element, resolver, swtch);\n            ExportFields(typeMember, element, resolver, swtch);\n            ExportProperties(typeMember, element, resolver, swtch);\n            ExportMethods(typeMember, element, resolver, swtch);\n            HandleBaseClassExportingAsInterface(typeMember, element, resolver, swtch);\n        }\n\n        /// <summary>\n        ///     Here you can customize what to export when base class is class but exporting as interface\n        /// </summary>\n        /// <param name=\"sw\">Output writer</param>\n        /// <param name=\"element\">Type itself</param>\n        /// <param name=\"resolver\">Type resolver</param>\n        /// <param name=\"swtch\">Pass here type attribute inherited from IAutoexportSwitchAttribute</param>\n        protected virtual void HandleBaseClassExportingAsInterface(ITypeMember sw, Type element, TypeResolver resolver, IAutoexportSwitchAttribute swtch)\n        {\n            if (element._BaseType() != null)\n            {\n                var baseBp = Context.Project.Blueprint(element._BaseType(), false);\n                var bp = Context.Project.Blueprint(element);\n\n                //if we cannot determine what is being exported - then.. well. okay\n                if (baseBp == null) return;\n                if (bp == null) return;\n\n                if ((!bp.IsExportingAsInterface()) && baseBp.IsExportingAsInterface())\n                {\n                    // well.. bad but often case. \n                    // Here we should export members also for base class\n                    // we do not export methods - just properties and fields\n                    // but still. It is better thatn nothing\n\n                    if (sw.Documentation == null) sw.Documentation = new RtJsdocNode();\n                    sw.Documentation.AddTag(DocTag.Todo,\n                        string.Format(\"Automatically implemented from {0}\", resolver.ResolveTypeName(element._BaseType())));\n\n                    var baseBlueprint = Context.Project.Blueprint(element._BaseType());\n                    var basExSwtch = baseBlueprint.Attr<TsInterfaceAttribute>();\n                    Context.SpecialCase = true;\n                    ExportFields(sw, element._BaseType(), resolver, basExSwtch);\n                    ExportProperties(sw, element._BaseType(), resolver, basExSwtch);\n                    ExportMethods(sw, element._BaseType(), resolver, basExSwtch);\n                    Context.SpecialCase = false;\n                    Context.AddWarning(ErrorMessages.RTW0005_BaseClassExportingAsInterface.Warn(element._BaseType().FullName, element.FullName));\n                }\n            }\n        }\n\n        /// <summary>\n        ///     Exports type fields\n        /// </summary>\n        /// <param name=\"typeMember\">Output writer</param>\n        /// <param name=\"element\">Type itself</param>\n        /// <param name=\"resolver\">Type resolver</param>\n        /// <param name=\"swtch\">Pass here type attribute inherited from IAutoexportSwitchAttribute</param>\n        protected virtual void ExportFields(ITypeMember typeMember, Type element, TypeResolver resolver, IAutoexportSwitchAttribute swtch)\n        {\n            GenerateMembers(element, resolver, typeMember, Context.Project.Blueprint(element).GetExportedFields());\n        }\n\n        /// <summary>\n        ///     Exports type properties\n        /// </summary>\n        /// <param name=\"typeMember\">Output writer</param>\n        /// <param name=\"element\">Type itself</param>\n        /// <param name=\"resolver\">Type resolver</param>\n        /// <param name=\"swtch\">Pass here type attribute inherited from IAutoexportSwitchAttribute</param>\n        protected virtual void ExportProperties(ITypeMember typeMember, Type element, TypeResolver resolver, IAutoexportSwitchAttribute swtch)\n        {\n            GenerateMembers(element, resolver, typeMember, Context.Project.Blueprint(element).GetExportedProperties());\n        }\n\n        /// <summary>\n        ///     Exports type methods\n        /// </summary>\n        /// <param name=\"typeMember\">Output writer</param>\n        /// <param name=\"element\">Type itself</param>\n        /// <param name=\"resolver\">Type resolver</param>\n        /// <param name=\"swtch\">Pass here type attribute inherited from IAutoexportSwitchAttribute</param>\n        protected virtual void ExportMethods(ITypeMember typeMember, Type element, TypeResolver resolver, IAutoexportSwitchAttribute swtch)\n        {\n            GenerateMembers(element, resolver, typeMember, Context.Project.Blueprint(element).GetExportedMethods());\n        }\n\n        /// <summary>\n        ///     Exports type constructors\n        /// </summary>\n        /// <param name=\"typeMember\">Output writer</param>\n        /// <param name=\"element\">Type itself</param>\n        /// <param name=\"resolver\">Type resolver</param>\n        /// <param name=\"swtch\">Pass here type attribute inherited from IAutoexportSwitchAttribute</param>\n        protected virtual void ExportConstructors(ITypeMember typeMember, Type element, TypeResolver resolver, IAutoexportSwitchAttribute swtch)\n        {\n            var bp = Context.Project.Blueprint(element);\n            if (swtch.AutoExportConstructors)\n            {\n                if (!bp.IsExportingAsInterface()) // constructors are not allowed on interfaces\n                {\n                    var constructors =\n                        element._GetConstructors(TypeExtensions.MembersFlags)\n                            .Where(c => (c.GetCustomAttribute<CompilerGeneratedAttribute>() == null) && !bp.IsIgnored(c));\n                    if (!constructors.Any())\n                        constructors =\n                            element._GetConstructors(TypeExtensions.MembersFlags)\n                                .Where(c => !bp.IsIgnored(c));\n                    GenerateMembers(element, resolver, typeMember, constructors.Take(1));\n                }\n            }\n        }\n\n        /// <summary>\n        ///     Exports list of type members\n        /// </summary>\n        /// <typeparam name=\"T\">Type member type</typeparam>\n        /// <param name=\"element\">Exporting class</param>\n        /// <param name=\"resolver\">Type resolver</param>\n        /// <param name=\"typeMember\">Output writer</param>\n        /// <param name=\"members\">Type members to export</param>\n        protected virtual void GenerateMembers<T>(Type element, TypeResolver resolver, ITypeMember typeMember,\n            IEnumerable<T> members) where T : MemberInfo\n        {\n            foreach (var m in members)\n            {\n                var generator = Context.Generators.GeneratorFor(m);\n                var member = generator.Generate(m, resolver);\n                if (member != null) typeMember.Members.Add(member);\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Generators/ClassCodeGenerator.cs",
    "content": "﻿using System;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Attributes;\n\nnamespace Reinforced.Typings.Generators\n{\n    /// <summary>\n    ///     Default code generator for CLR type (class)\n    /// </summary>\n    public class ClassCodeGenerator : ClassAndInterfaceGeneratorBase<RtClass>\n    {\n        /// <summary>\n        ///     Main code generator method. This method should write corresponding TypeScript code for element (1st argument) to\n        ///     WriterWrapper (3rd argument) using TypeResolver if necessary\n        /// </summary>\n        /// <param name=\"element\">Element code to be generated to output</param>\n        /// <param name=\"result\">Resulting node</param>\n        /// <param name=\"resolver\">Type resolver</param>\n        public override RtClass GenerateNode(Type element, RtClass result, TypeResolver resolver)\n        {\n\n            var clsbp = Context.Project.Blueprint(element);\n            var tc = Context.Project.Blueprint(element).Attr<TsClassAttribute>();\n            if (tc == null) throw new ArgumentException(\"TsClassAttribute is not present\", \"element\");\n            Export(result, element, resolver, tc);\n            AddDecorators(result, clsbp.GetDecorators());\n            if (!tc.IsAbstract.HasValue)\n            {\n                result.Abstract = element._IsAbstract() && !element._IsInterface();\n            }\n            else\n            {\n                result.Abstract = tc.IsAbstract.Value;\n            }\n            return result;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Generators/ConstructorCodeGenerator.cs",
    "content": "﻿using System;\nusing System.Linq;\nusing System.Reflection;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Exceptions;\nusing Reinforced.Typings.Xmldoc.Model;\n\nnamespace Reinforced.Typings.Generators\n{\n    /// <summary>\n    ///     Default code generator for constructor\n    /// </summary>\n    public class ConstructorCodeGenerator : TsCodeGeneratorBase<ConstructorInfo, RtConstructor>\n    {\n        /// <summary>\n        ///     Main code generator method. This method should write corresponding TypeScript code for element (1st argument) to\n        ///     WriterWrapper (3rd argument) using TypeResolver if necessary\n        /// </summary>\n        /// <param name=\"element\">Element code to be generated to output</param>\n        /// <param name=\"result\">Resulting node</param>\n        /// <param name=\"resolver\">Type resolver</param>\n        public override RtConstructor GenerateNode(ConstructorInfo element, RtConstructor result, TypeResolver resolver)\n        {\n            if (Context.CurrentBlueprint.IsIgnored(element)) return null;\n            \n            var doc = Context.Documentation.GetDocumentationMember(element);\n            if (doc != null)\n            {\n                RtJsdocNode jsdoc = new RtJsdocNode();\n                if (doc.HasInheritDoc()) jsdoc.AddTag(DocTag.Inheritdoc);\n                if (doc.HasSummary()) jsdoc.Description = doc.Summary.Text;\n                if (doc.Parameters != null)\n                {\n                    foreach (var documentationParameter in doc.Parameters)\n                    {\n                        jsdoc.AddTag(DocTag.Param, documentationParameter.Name + \" \" + documentationParameter.Description);\n                    }\n                }\n\n                result.Documentation = jsdoc;\n            }\n\n            var p = element.GetParameters();\n            foreach (var param in p)\n            {\n                if (Context.CurrentBlueprint.IsIgnored(param)) continue;\n                var generator = Context.Generators.GeneratorFor(param);\n                var argument = generator.Generate(param, resolver);\n                result.Arguments.Add((RtArgument)argument);\n            }\n\n            var bp = Context.Project.Blueprint(element.DeclaringType);\n            if (bp.ConstructorBody != null)\n            {\n                result.SuperCallParameters.Clear();\n                result.Body = bp.ConstructorBody;\n            }else SetupSuperCall(result, element, bp.ForMember(element));\n            return result;\n        }\n\n        private void SetupSuperCall(RtConstructor constructor, ConstructorInfo element, TsBaseParamAttribute attr)\n        {\n            constructor.SuperCallParameters.Clear();\n            // 1. Check presence of base type \n            var bt = element.DeclaringType != null ? element.DeclaringType._BaseType() : null;\n            var bp = Context.Project.Blueprint(bt);\n\n            if ((bt == typeof(object) || bp.IsExportingAsInterface()) || !bp.IsExportingAsClass()) bt = null;\n\n            if (bt == null)\n            {\n                // 1. If not present then generate empty constructor body\n                return;\n            }\n            var parameters = element.GetParameters();\n            // 2. Check presence of [TsBaseParam]\n\n            if (attr != null)\n            {\n                // 2. If present then generate super() call with supplied parameters\n                constructor.SuperCallParameters.AddRange(attr.Values.Take(parameters.Length).ToList());\n                if (constructor.SuperCallParameters.Count > 0)\n                {\n                    constructor.NeedsSuperCall = true;\n                }\n                return;\n            }\n            var baseConstructors =\n                bt._GetConstructors(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance |\n                                   BindingFlags.Static |\n                                   BindingFlags.DeclaredOnly);\n\n            // 3. Trying to lookup constructor with same parameters\n            var found = false;\n\n            var paramTypes = parameters.Select(c => c.ParameterType).ToArray();\n            var corresponding = TypeExtensions.GetMethodWithSameParameters(\n                baseConstructors.Cast<MethodBase>().ToArray(), paramTypes);\n            found = corresponding != null;\n\n            if (found)\n            {\n                // 3.If constructor with same parameters found - just use it\n                constructor.SuperCallParameters.AddRange(parameters.Select(c => Context.CurrentBlueprint.GetName(c)));\n                if (constructor.SuperCallParameters.Count > 0)\n                {\n                    constructor.NeedsSuperCall = true;\n                }\n                return;\n            }\n\n            // 4. Maybe parameterles constructor?\n            if (baseConstructors.Any(c => c.GetParameters().Length == 0))\n            {\n                // 4. If not present then generate empty super() call\n                constructor.NeedsSuperCall = true;\n                return;\n            }\n\n            // 5. If nothing found - well... we simply leave here super with all nulls supplied\n            var maxParams = baseConstructors.Max(c => c.GetParameters().Length);\n            var mockedCtorParams = Enumerable.Repeat(\"null\", maxParams);\n            constructor.NeedsSuperCall = true;\n            constructor.SuperCallParameters.AddRange(mockedCtorParams);\n            Context.AddWarning(ErrorMessages.RTW0004_DefaultSuperCall.Warn(element.DeclaringType.FullName));\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Generators/ContextExtensions.cs",
    "content": "﻿namespace Reinforced.Typings.Generators\n{\n    /// <summary>\n    ///     Various extensions for settings\n    /// </summary>\n    public static class ContextExtensions\n    {\n        /// <summary>\n        ///     Conditionally (based on settings) turns method name to camelCase\n        /// </summary>\n        /// <param name=\"context\">Settings object</param>\n        /// <param name=\"regularName\">Regular method name</param>\n        /// <returns>Method name in camelCase if camelCasing enabled, initial string otherwise</returns>\n        public static string ConditionallyConvertMethodNameToCamelCase(this ExportContext context, string regularName)\n        {\n            if (!context.Global.CamelCaseForMethods) return regularName;\n            return TypeBlueprint.ConvertToCamelCase(regularName);\n        }\n\n        /// <summary>\n        ///     Conditionally (based on settings) turns method name to PascalCase\n        /// </summary>\n        /// <param name=\"context\">Settings object</param>\n        /// <param name=\"regularName\">Regular method name</param>\n        /// <returns>Method name in camelCase if camelCasing enabled, initial string otherwise</returns>\n        public static string ConditionallyConvertMethodNameToPascalCase(this ExportContext context, string regularName)\n        {\n            if (!context.Global.CamelCaseForMethods) return regularName;\n            return TypeBlueprint.ConvertToCamelCase(regularName);\n        }\n\n        /// <summary>\n        ///     Conditionally (based on settings) turns property name to camelCase\n        /// </summary>\n        /// <param name=\"context\">Settings object</param>\n        /// <param name=\"regularName\">Regular property name</param>\n        /// <returns>Property name in camelCase if camelCasing enabled, initial string otherwise</returns>\n        public static string ConditionallyConvertPropertyNameToCamelCase(this ExportContext context,\n            string regularName)\n        {\n            if (!context.Global.CamelCaseForProperties) return regularName;\n            return TypeBlueprint.ConvertToCamelCase(regularName);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Generators/EnumGenerator.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Xmldoc.Model;\n\nnamespace Reinforced.Typings.Generators\n{\n    /// <summary>\n    ///     Default code generator for enums\n    /// </summary>\n    public class EnumGenerator : TsCodeGeneratorBase<Type, RtEnum>\n    {\n        /// <summary>\n        ///     Main code generator method. This method should write corresponding TypeScript code for element (1st argument) to\n        ///     WriterWrapper (3rd argument) using TypeResolver if necessary\n        /// </summary>\n        /// <param name=\"element\">Element code to be generated to output</param>\n        /// <param name=\"result\">Resulting node</param>\n        /// <param name=\"resolver\">Type resolver</param>\n        public override RtEnum GenerateNode(Type element, RtEnum result, TypeResolver resolver)\n        {\n            Context.Location.SetCurrentType(element);\n\n            var names = Enum.GetNames(element);\n            var bp = Context.Project.Blueprint(element);\n            result.EnumName = bp.GetName();\n            result.Order = bp.GetOrder();\n\n            var fields = element._GetFields().Where(c => !c.IsSpecialName).ToDictionary(c => c.Name, c => c);\n            var doc = Context.Documentation.GetDocumentationMember(element);\n            if (doc != null)\n            {\n                RtJsdocNode docNode = new RtJsdocNode();\n                if (doc.HasInheritDoc()) docNode.AddTag(DocTag.Inheritdoc);\n                if (doc.HasSummary()) docNode.Description = doc.Summary.Text;\n                result.Documentation = docNode;\n            }\n\n            bool stringInit = false;\n            var ea = Context.CurrentBlueprint.Attr<TsEnumAttribute>();\n            if (ea != null)\n            {\n                result.IsConst = ea.IsConst;\n                stringInit = ea.UseString;\n            }\n            List<RtEnumValue> valuesResult = new List<RtEnumValue>();\n            for (var index = 0; index < names.Length; index++)\n            {\n                var n = names.GetValue(index) as string;\n                var v = Enum.Parse(element, n);\n\n                if (fields.ContainsKey(n))\n                {\n                    var fieldItself = fields[n];\n\n                    if (Context.CurrentBlueprint.Ignored.Contains(fieldItself))\n                        continue;\n\n                    var attr = Context.CurrentBlueprint.ForEnumValue(fieldItself);\n                    if (attr != null) n = attr.Name;\n                    if (string.IsNullOrEmpty(n)) n = fieldItself.Name;\n                    RtEnumValue value = new RtEnumValue\n                    {\n                        EnumValueName = n,\n                        EnumValue = Convert.ToInt64(v).ToString()\n                    };\n\n                    if (stringInit)\n                    {\n                        if (attr != null && !string.IsNullOrEmpty(attr.Initializer)) value.EnumValue = String.Concat(\"\\\"\", attr.Initializer, \"\\\"\");\n                        else\n                        {\n                            value.EnumValue = String.Concat(\"\\\"\", n, \"\\\"\");\n                        }\n                    }\n\n                    var valueDoc = Context.Documentation.GetDocumentationMember(fieldItself);\n                    if (valueDoc != null)\n                    {\n                        RtJsdocNode docNode = new RtJsdocNode();\n                        if (valueDoc.HasInheritDoc()) docNode.AddTag(DocTag.Inheritdoc);\n                        if (valueDoc.HasSummary()) docNode.Description = valueDoc.Summary.Text;\n                        value.Documentation = docNode;\n                    }\n\n                    valuesResult.Add(value);\n                }\n            }\n            result.Values.AddRange(valuesResult);\n            AddDecorators(result, Context.CurrentBlueprint.GetDecorators());\n\n            Context.Location.ResetCurrentType();\n            return result;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Generators/FieldCodeGenerator.cs",
    "content": "﻿using System;\nusing System.Reflection;\n\nnamespace Reinforced.Typings.Generators\n{\n    /// <summary>\n    ///     Default code generator for fields\n    /// </summary>\n    public class FieldCodeGenerator : PropertyCodeGenerator\n    {\n        /// <summary>\n        ///     That's it - overriden GetType for property since properties and fields are exported to TypeScript almost same way.\n        /// </summary>\n        /// <param name=\"mi\">Member info (Fields behind)</param>\n        /// <returns>Field type</returns>\n        protected override Type GetType(MemberInfo mi)\n        {\n            var pi = (FieldInfo) mi;\n            return pi.FieldType;\n        }\n\n        /// <summary>\n        /// Retrieves static value \n        /// </summary>\n        /// <param name=\"element\"></param>\n        /// <returns></returns>\n        protected override object GetStaticValue(MemberInfo element)\n        {\n            var fi = element as FieldInfo;\n            return fi.GetValue(null) ?? fi.GetRawConstantValue();\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Generators/ITsCodeGenerator.cs",
    "content": "﻿using Reinforced.Typings.Ast;\n\nnamespace Reinforced.Typings.Generators\n{\n    /// <summary>\n    ///     TypeScript code generator interface\n    /// </summary>\n    /// <typeparam name=\"TElement\"></typeparam>\n    public interface ITsCodeGenerator<in TElement>\n    {\n        /// <summary>\n        ///     Export settings\n        /// </summary>\n        ExportContext Context { get; set; }\n\n        /// <summary>\n        ///     Main code generator method. This method should return corresponding AST node for provided \n        ///     reflection element using source Reflection element and RT's Type Resolver\n        /// </summary>\n        /// <param name=\"element\">Element code to be generated to output</param>\n        /// <param name=\"resolver\">Type resolver</param>\n        RtNode Generate(TElement element, TypeResolver resolver);\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Generators/InterfaceCodeGenerator.cs",
    "content": "﻿using System;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Attributes;\n\nnamespace Reinforced.Typings.Generators\n{\n    /// <summary>\n    ///     Default code generator for interfaces. Derived from class generator since interfaces are very similar to classes in\n    ///     TypeScript\n    /// </summary>\n    public class InterfaceCodeGenerator : ClassAndInterfaceGeneratorBase<RtInterface>\n    {\n        /// <summary>\n        ///     Main code generator method. This method should write corresponding TypeScript code for element (1st argument) to\n        ///     WriterWrapper (3rd argument) using TypeResolver if necessary\n        /// </summary>\n        /// <param name=\"element\">Element code to be generated to output</param>\n        /// <param name=\"result\">Resulting node</param>\n        /// <param name=\"resolver\">Type resolver</param>\n        public override RtInterface GenerateNode(Type element,RtInterface result, TypeResolver resolver)\n        {\n            var tc = Context.Project.Blueprint(element).Attr<TsInterfaceAttribute>();\n            if (tc == null) throw new ArgumentException(\"TsInterfaceAttribute is not present\", \"element\");\n            Export(result, element, resolver, tc);\n            return result;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Generators/MethodCodeGenerator.cs",
    "content": "﻿using System;\nusing System.Linq;\nusing System.Reflection;\nusing System.Threading.Tasks;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Ast.TypeNames;\nusing Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Xmldoc.Model;\n\nnamespace Reinforced.Typings.Generators\n{\n    /// <summary>\n    ///     Default typescript code generator for method\n    /// </summary>\n    public class MethodCodeGenerator : TsCodeGeneratorBase<MethodInfo, RtFunction>\n    {\n        /// <summary>\n        ///     Main code generator method. This method should write corresponding TypeScript code for element (1st argument) to\n        ///     WriterWrapper (3rd argument) using TypeResolver if necessary\n        /// </summary>\n        /// <param name=\"element\">Element code to be generated to output</param>\n        /// <param name=\"result\">Resulting node</param>\n        /// <param name=\"resolver\">Type resolver</param>\n        public override RtFunction GenerateNode(MethodInfo element, RtFunction result, TypeResolver resolver)\n        {\n            if (Context.CurrentBlueprint.IsIgnored(element)) return null;\n\n            string name;\n            RtTypeName type;\n\n            GetFunctionNameAndReturnType(element, resolver, out name, out type);\n            result.Identifier = new RtIdentifier(name);\n            result.ReturnType = type;\n\n            var doc = Context.Documentation.GetDocumentationMember(element);\n            if (doc != null)\n            {\n                RtJsdocNode jsdoc = new RtJsdocNode();\n                if (doc.HasInheritDoc()) jsdoc.AddTag(DocTag.Inheritdoc);\n                if (doc.HasSummary()) jsdoc.Description = doc.Summary.Text;\n                if (doc.Parameters != null)\n                {\n                    foreach (var documentationParameter in doc.Parameters)\n                    {\n                        jsdoc.AddTag(DocTag.Param, documentationParameter.Name + \" \" + documentationParameter.Description);\n                    }\n                }\n\n                if (doc.HasReturns())\n                {\n                    jsdoc.AddTag(DocTag.Returns, doc.Returns.Text);\n                }\n                result.Documentation = jsdoc;\n            }\n            result.Order = Context.CurrentBlueprint.GetOrder(element);\n\n\n            result.AccessModifier = element.GetModifier();\n            if (Context.SpecialCase) result.AccessModifier = AccessModifier.Public;\n            result.Identifier = new RtIdentifier(name);\n            result.IsStatic = element.IsStatic;\n\n            var p = element.GetParameters();\n            foreach (var param in p)\n            {\n                if (Context.CurrentBlueprint.IsIgnored(param)) continue;\n                var generator = Context.Generators.GeneratorFor(param);\n                var argument = generator.Generate(param, resolver);\n                result.Arguments.Add((RtArgument)argument);\n            }\n            var fa = Context.CurrentBlueprint.ForMember(element);\n\n            if (fa != null && !string.IsNullOrEmpty(fa.Implementation))\n            {\n                result.Body = new RtRaw(fa.Implementation);\n            }\n            if (fa != null && fa.ForceAsync != null)\n            {\n                result.IsAsync = (bool)fa.ForceAsync;\n            }\n            else\n            {\n                if (Context.Global.AutoAsync)\n                {\n                    result.IsAsync = element.IsAsync();\n                }\n            }\n\n            AddDecorators(result, Context.CurrentBlueprint.DecoratorsFor(element));\n            return result;\n        }\n\n        protected RtTypeName ResolveAsyncReturnType(TsFunctionAttribute fa, MethodInfo element, TypeResolver resolver)\n        {\n            bool needAsync = (fa != null && fa.ForceAsync == true) || (Context.Global.AutoAsync && element.IsAsync());\n            return resolver.ResolveTypeName(element.ReturnType, needAsync);\n        }\n\n        /// <summary>\n        ///     Retrieves function name corresponding to method and return type. Fell free to override it.\n        /// </summary>\n        /// <param name=\"element\">Method info</param>\n        /// <param name=\"resolver\">Type resolver</param>\n        /// <param name=\"name\">Resulting method name</param>\n        /// <param name=\"type\">Resulting return type name</param>\n        protected virtual void GetFunctionNameAndReturnType(MethodInfo element, TypeResolver resolver, out string name, out RtTypeName type)\n        {\n            name = element.Name;\n            bool isNameOverridden = false;\n            var fa = Context.CurrentBlueprint.ForMember(element);\n\n            if (fa != null)\n            {\n                if (!string.IsNullOrEmpty(fa.Name))\n                {\n                    name = fa.Name;\n                    isNameOverridden = true;\n                }\n\n                if (!string.IsNullOrEmpty(fa.Type)) type = new RtSimpleTypeName(fa.Type);\n                else if (fa.StrongType != null) type = resolver.ResolveTypeName(fa.StrongType);\n                else\n                {\n\n                    type = ResolveAsyncReturnType(fa, element, resolver);\n                }\n                type = fa.TypeInferers.Infer(element, resolver) ?? type;\n            }\n            else\n            {\n                type = ResolveAsyncReturnType(null, element, resolver);\n            }\n\n            if (!isNameOverridden)\n            {\n                name = Context.ConditionallyConvertMethodNameToCamelCase(name);\n                name = Context.CurrentBlueprint.CamelCaseFromAttribute(element, name);\n                name = Context.CurrentBlueprint.PascalCaseFromAttribute(element, name);\n            }\n            if (element.IsGenericMethod)\n            {\n                if (!(name.Contains(\"<\") || name.Contains(\">\")))\n                {\n                    var args = element.GetGenericArguments();\n                    var names = args.Select(resolver.ResolveTypeName);\n                    name = string.Concat(name, \"<\", string.Join(\",\", names), \">\");\n                }\n            }\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Generators/NamespaceCodeGenerator.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing Reinforced.Typings.Ast;\n\nnamespace Reinforced.Typings.Generators\n{\n    /// <summary>\n    ///     Default code generator for namespace\n    /// </summary>\n    public class NamespaceCodeGenerator\n    {\n        /// <summary>\n        ///     Export settings\n        /// </summary>\n        public ExportContext Context { get; set; }\n\n        /// <summary>\n        ///     Generates namespace source code\n        /// </summary>\n        /// <param name=\"types\">Types list</param>\n        /// <param name=\"namespaceName\">Namespace name</param>\n        /// <param name=\"resolver\">Type resolver</param>\n        public virtual RtNamespace Generate(IEnumerable<Type> types, string namespaceName, TypeResolver resolver)\n        {\n            RtNamespace ns = new RtNamespace();\n            var needToDiscard = Context.Global.UseModules && Context.Global.DiscardNamespacesWhenUsingModules;\n\n            if (string.IsNullOrEmpty(namespaceName) || needToDiscard) ns.IsAmbientNamespace = true;\n            ns.Name = namespaceName;\n\n            Context.Location.SetLocation(ns);\n            foreach (var type in types)\n            {\n                var typeGenerator = Context.Generators.GeneratorFor(type);\n                if (typeGenerator == null) continue;\n                var member = typeGenerator.Generate(type, resolver);\n                var m = member as RtCompilationUnit;\n                if (m != null)\n                {\n                    if (Context.Global.UseModules)\n                    {\n                        m.Export = true;\n                    }\n                    else\n                    {\n                        m.Export = !ns.IsAmbientNamespace;\n                    }\n                }\n\n\n                if (member!=null) ns.CompilationUnits.Add(member);\n#if DEBUG\n                Console.WriteLine(\"Exported {0}\", type);\n#endif\n            }\n\n            if (Context.Global.UseModules) ns.GenerationMode = NamespaceGenerationMode.Namespace;\n\n            Context.Location.ResetLocation(ns);\n            return ns;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Generators/ParameterCodeGenerator.cs",
    "content": "﻿using System;\nusing System.Reflection;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Ast.TypeNames;\nusing Reinforced.Typings.Attributes;\n\nnamespace Reinforced.Typings.Generators\n{\n    /// <summary>\n    ///     Default code generator for method parameter\n    /// </summary>\n    public class ParameterCodeGenerator : TsCodeGeneratorBase<ParameterInfo,RtArgument>\n    {\n        /// <summary>\n        ///     Main code generator method. This method should write corresponding TypeScript code for element (1st argument) to\n        ///     WriterWrapper (3rd argument) using TypeResolver if necessary\n        /// </summary>\n        /// <param name=\"element\">Element code to be generated to output</param>\n        /// <param name=\"result\">Resulting node</param>\n        /// <param name=\"resolver\">Type resolver</param>\n        public override RtArgument GenerateNode(ParameterInfo element,RtArgument result, TypeResolver resolver)\n        {\n            if (Context.CurrentBlueprint.IsIgnored(element)) return null;\n            var name = element.Name;\n            RtTypeName type;\n            var isNullable = false;\n\n            var fa = Context.CurrentBlueprint.ForMember(element);\n            var defaultValue = GetDefaultValue(element, fa);\n            if (fa != null)\n            {\n                if (!string.IsNullOrEmpty(fa.Name)) name = fa.Name;\n\n                if (!string.IsNullOrEmpty(fa.Type)) type = new RtSimpleTypeName(fa.Type);\n                else if (fa.StrongType != null)\n                {\n                    type = resolver.ResolveTypeName(fa.StrongType);\n                    isNullable = element.IsOptional || element.IsReferenceForcedNullable();\n                }\n                else type = resolver.ResolveTypeName(element.ParameterType);\n                type = fa.TypeInferers.Infer(element, resolver) ?? type;\n            }\n            else\n            {\n                type = resolver.ResolveTypeName(element.ParameterType);\n                isNullable = element.IsOptional || element.IsReferenceForcedNullable();\n            }\n            if (element.GetCustomAttribute<ParamArrayAttribute>() != null)\n            {\n                result.IsVariableParameters = true;\n            }\n            result.Identifier = new RtIdentifier(name);\n            result.Type = type;\n            if (isNullable && defaultValue == null) result.Identifier.IsNullable = true;\n            if (defaultValue != null)\n            {\n                //if parameter is having enum type then simple string value assignment is now right\n                //so for Enum type result.DefaultValue should be equal to ENUME_NAME+\".\"+DefaultValue\n                if (element.ParameterType._IsEnum())\n                {\n                    result.DefaultValue = result.Type + \".\" + defaultValue;\n                }\n                else\n                    result.DefaultValue = defaultValue;\n            }\n            AddDecorators(result, Context.CurrentBlueprint.DecoratorsFor(element));\n            return result;\n        }\n\n        /// <summary>\n        ///     Returns default value for specified parameter info\n        /// </summary>\n        /// <param name=\"element\">Parameter info</param>\n        /// <param name=\"attr\">Parameter attribute</param>\n        /// <returns>Serialized to string default value of type that is exposed by mentioned parameter</returns>\n        protected virtual string GetDefaultValue(ParameterInfo element, TsParameterAttribute attr)\n        {\n            object defVal = null;\n            if (attr != null)\n            {\n                defVal = attr.DefaultValue;\n            }\n            if (defVal == null)\n            {\n                defVal = element.DefaultValue;\n            }\n\n            if (defVal == null) return null;\n\n            if (defVal is string)\n            {\n                return string.Format(\"\\\"{0}\\\"\", defVal);\n            }\n            if (defVal is bool)\n            {\n                return ((bool) defVal) ? \"true\" : \"false\";\n            }\n            var ts = defVal.ToString();\n            if (string.IsNullOrEmpty(ts)) return null;\n            return ts;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Generators/PropertyCodeGenerator.cs",
    "content": "﻿using System;\nusing System.Globalization;\nusing System.Reflection;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Ast.TypeNames;\nusing Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Xmldoc.Model;\n\nnamespace Reinforced.Typings.Generators\n{\n    /// <summary>\n    ///     Default code generator for properties\n    /// </summary>\n    public class PropertyCodeGenerator : TsCodeGeneratorBase<MemberInfo, RtField>\n    {\n        private bool HasToBeNullable(TsPropertyAttribute tp, Type propType)\n        {\n            var hasNullable = tp != null && tp.NilForceNullable.HasValue;\n            if (hasNullable)\n            {\n                return tp.NilForceNullable.Value;\n            }\n\n            if (Context.Global.AutoOptionalProperties)\n            {\n                return propType.IsNullable();\n            }\n\n            return false;\n        }\n\n        /// <summary>\n        ///     Main code generator method. This method should write corresponding TypeScript code for element (1st argument) to\n        ///     WriterWrapper (3rd argument) using TypeResolver if necessary\n        /// </summary>\n        /// <param name=\"element\">Element code to be generated to output</param>\n        /// <param name=\"result\">Resulting node</param>\n        /// <param name=\"resolver\">Type resolver</param>\n        public override RtField GenerateNode(MemberInfo element, RtField result, TypeResolver resolver)\n        {\n            if (Context.CurrentBlueprint.IsIgnored(element)) return null;\n            result.IsStatic = element.IsStatic();\n            result.Order = Context.CurrentBlueprint.GetOrder(element);\n\n            var doc = Context.Documentation.GetDocumentationMember(element);\n            if (doc != null)\n            {\n                RtJsdocNode jsdoc = new RtJsdocNode();\n                if (doc.HasInheritDoc()) jsdoc.AddTag(DocTag.Inheritdoc);\n                if (doc.HasSummary()) jsdoc.Description = doc.Summary.Text;\n                result.Documentation = jsdoc;\n            }\n\n            var t = GetType(element);\n            RtTypeName type = null;\n            var propName = new RtIdentifier(element.Name);\n            bool isNameOverridden = false;\n            var tp = Context.CurrentBlueprint.ForMember<TsPropertyAttribute>(element);\n\n            if (tp != null)\n            {\n                if (tp.StrongType != null)\n                {\n                    type = resolver.ResolveTypeName(tp.StrongType);\n                }\n                else if (!string.IsNullOrEmpty(tp.Type))\n                {\n                    type = new RtSimpleTypeName(tp.Type);\n                }\n\n                type = tp.TypeInferers.Infer(element, resolver) ?? type;\n\n                if (!string.IsNullOrEmpty(tp.Name))\n                {\n                    propName.IdentifierName = tp.Name;\n                    isNameOverridden = true;\n                }\n            }\n            \n            if (!Context.SpecialCase)\n            {\n                propName.IsNullable = HasToBeNullable(tp, t) \n                                      || Context.Global.AutoOptionalProperties && element.IsReferenceForcedNullable();\n            }\n\n            if (type == null) type = resolver.ResolveTypeName(t);\n            \n            if (!isNameOverridden)\n            {\n                if (element is PropertyInfo)\n                {\n                    propName.IdentifierName =\n                        Context.ConditionallyConvertPropertyNameToCamelCase(propName.IdentifierName);\n                }\n                propName.IdentifierName = Context.CurrentBlueprint.CamelCaseFromAttribute(element, propName.IdentifierName);\n                propName.IdentifierName = Context.CurrentBlueprint.PascalCaseFromAttribute(element, propName.IdentifierName);\n            }\n\n            if (this.Context.Location.CurrentClass != null)\n            {\n                this.FillInitialization(element, result, resolver, t, tp);\n            }\n            result.Identifier = propName;\n            result.AccessModifier = Context.SpecialCase ? AccessModifier.Public : element.GetModifier();\n            result.Type = type;\n            AddDecorators(result, Context.CurrentBlueprint.DecoratorsFor(element));\n            return result;\n        }\n        private static readonly IFormatProvider JsNumberFormat = new NumberFormatInfo() { NumberDecimalSeparator = \".\" };\n        /// <summary>\n        /// Fills in initialization expression\n        /// </summary>\n        /// <param name=\"element\">Class member</param>\n        /// <param name=\"result\">Resulting AST</param>\n        /// <param name=\"resolver\">Type resolver</param>\n        /// <param name=\"memberType\">Field/property type</param>\n        /// <param name=\"attr\">Attribute</param>\n        protected virtual void FillInitialization(MemberInfo element, RtField result, TypeResolver resolver, Type memberType, TsPropertyAttribute attr)\n        {\n            bool exportConstant = true;\n            if (attr != null) exportConstant = attr.Constant;\n            if (element.IsStatic() && exportConstant)\n            {\n                if (TypeResolver.NumericTypes.Contains(memberType))\n                {\n                    var val = GetStaticValue(element);\n                    if (val == null) result.InitializationExpression = \"null\";\n                    else if (TypeResolver.IntegerTypes.Contains(memberType))\n                    {\n                        result.InitializationExpression = val.ToString();\n                    }\n                    else\n                    {\n                        double dVal = (double)val;\n                        result.InitializationExpression = dVal.ToString(JsNumberFormat);\n                    }\n                }\n\n                if (memberType == typeof(bool))\n                {\n                    var val = GetStaticValue(element);\n                    if (val == null) result.InitializationExpression = \"null\";\n                    else result.InitializationExpression = (bool)val ? \"true\" : \"false\";\n                }\n\n                if (memberType == typeof(string))\n                {\n                    var val = GetStaticValue(element);\n                    if (val == null) result.InitializationExpression = \"null\";\n                    else\n                    {\n                        var sv = string.Format(\"`{0}`\", val.ToString().Replace(\"'\", \"\\\\'\").Replace(\"`\", \"\\\\`\"));\n                        result.InitializationExpression = sv;\n                    }\n                }\n\n                if (memberType._IsEnum())\n                {\n                    var val = GetStaticValue(element);\n                    if (val == null) result.InitializationExpression = \"null\";\n                    else\n                    {\n                        var bp = Context.Project.Blueprint(memberType, false);\n                        if (bp != null)\n                        {\n                            var tn = resolver.ResolveTypeName(memberType);\n                            var name = Enum.GetName(memberType, val);\n                            result.InitializationExpression = string.Format(\"{0}.{1}\", tn, name);\n                        }\n                        else\n                        {\n\n                            var v = (int)val;\n                            result.InitializationExpression = v.ToString();\n                        }\n                    }\n                }\n            }\n\n            if (attr?.InitializerEvaluator != null)\n            {\n                var val = element.IsStatic() ? GetStaticValue(element) : null;\n                result.InitializationExpression = attr.InitializerEvaluator(element, resolver, val);\n            }\n        }\n\n        /// <summary>\n        /// Retrieves static value \n        /// </summary>\n        /// <param name=\"element\"></param>\n        /// <returns></returns>\n        protected virtual object GetStaticValue(MemberInfo element)\n        {\n            var pi = element as PropertyInfo;\n            return (pi.GetValue(null) ?? pi.GetConstantValue()) ?? pi.GetRawConstantValue();\n        }\n\n        /// <summary>\n        ///     Returns type of specified property. It is useful for overloads sometimes\n        /// </summary>\n        /// <param name=\"mi\">Method Info</param>\n        /// <returns>Property info type</returns>\n        protected virtual Type GetType(MemberInfo mi)\n        {\n            var pi = (PropertyInfo)mi;\n            return pi.PropertyType;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Generators/TsCodeGeneratorBase.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Exceptions;\n\nnamespace Reinforced.Typings.Generators\n{\n    /// <summary>\n    /// Base for strongly-typed code generator with automatical Context.Location handling\n    /// </summary>\n    /// <typeparam name=\"T\">Source reflection [Something]Info type. Possible: Type, MethodInfo, PropertyInfo, ConstructorInfo, FieldInfo</typeparam>\n    /// <typeparam name=\"TNode\">Resulting node type</typeparam>\n    public abstract class TsCodeGeneratorBase<T, TNode> : ITsCodeGenerator<T>\n        where TNode : RtNode, new()\n    {\n        /// <summary>\n        ///  Export settings\n        /// </summary>\n        public ExportContext Context { get; set; }\n\n        /// <summary>\n        /// Generate method implementation. \n        /// Calls GenerateNode inside, creates node dummy, sets and resets location\n        /// </summary>\n        /// <param name=\"element\">Reflection element instance</param>\n        /// <param name=\"resolver\">Type resolver</param>\n        /// <returns>Generated node or null</returns>\n        public RtNode Generate(T element, TypeResolver resolver)\n        {\n            try\n            {\n                TNode currentNode = new TNode();\n                Context.Location.SetLocation(currentNode);\n                if (element is Type)\n                {\n                    Context.Location.SetCurrentType((Type)(object)element);\n                }\n                var result = GenerateNode(element, currentNode, resolver);\n                Context.Location.ResetLocation(currentNode);\n                if (element is Type)\n                {\n                    Context.Location.ResetCurrentType();\n                }\n                return result;\n            }\n            catch (Exception ex)\n            {\n                ErrorMessages.RTE0004_GeneratorError.Throw(GetType().FullName, ex.Message);\n                return null; // unreacheable\n            }\n\n        }\n\n        /// <summary>\n        /// Main entry point for resulting node generation.  \n        /// </summary>\n        /// <param name=\"element\">Reflection element</param>\n        /// <param name=\"node\">Resulting node to be modified</param>\n        /// <param name=\"resolver\">Type resolver</param>\n        /// <returns>Resulting node or null</returns>\n        public abstract TNode GenerateNode(T element, TNode node, TypeResolver resolver);\n\n\n        /// <summary>\n        /// Appends decorators to decoratable node\n        /// </summary>\n        /// <param name=\"node\">Decoratable syntax node</param>\n        /// <param name=\"decorators\">Set of decorator attributes</param>\n        protected void AddDecorators(IDecoratable node, IEnumerable<TsDecoratorAttribute> decorators)\n        {\n            var decs = decorators.Select(c => new RtDecorator(c.Decorator, c.Order));\n            node.Decorators.AddRange(decs);\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/GlobalParameters.cs",
    "content": "﻿using System;\nusing System.Linq;\nusing System.Reflection;\nusing Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Exceptions;\nusing Reinforced.Typings.ReferencesInspection;\n\nnamespace Reinforced.Typings\n{\n    /// <summary>\n    /// Collections of global TS generation parameters\n    /// </summary>\n    public class GlobalParameters\n    {\n        private bool _isLocked;\n        \n        private readonly TsGlobalAttribute _attr;\n\n        internal GlobalParameters(Assembly[] sourceAssemblies)\n        {\n            var tsGlobal = sourceAssemblies.Select(c => c.GetCustomAttribute<TsGlobalAttribute>())\n                .Where(c => c != null)\n                .OrderByDescending(c => c.Priority)\n                .FirstOrDefault();\n            _attr = tsGlobal ?? new TsGlobalAttribute();\n        }\n\n        /// <summary>\n        ///     Boolean parameter that controls writing of \"auto-generated warning\" comment to each generated file.\n        /// It meant the comment like \"// This code was generated blah blah blah...\"\n        /// 'true' (default) to write warning comment about auto-generated to every file.\n        /// 'false' to do not.\n        /// </summary>\n        public bool WriteWarningComment\n        {\n            get { return _attr == null ? true : _attr.WriteWarningComment; }\n            set\n            {\n                if (_isLocked) return;\n                _attr.WriteWarningComment = value;\n            }\n        }\n\n        /// <summary>\n        ///     Specifies root namespace for hierarchical export.\n        ///     Helps to avoid creating redundant directories when hierarchical export.\n        /// </summary>\n        public string RootNamespace\n        {\n            get { return _attr.RootNamespace; }\n            set\n            {\n                if (_isLocked) return;\n                _attr.RootNamespace = value;\n            }\n        }\n\n        /// <summary>\n        ///     Use camelCase for methods naming\n        /// </summary>\n        public bool CamelCaseForMethods\n        {\n            get { return _attr.CamelCaseForMethods; }\n            set\n            {\n                if (_isLocked) return;\n                _attr.CamelCaseForMethods = value;\n            }\n        }\n\n        /// <summary>\n        ///     Use camelCase for properties naming\n        /// </summary>\n        public bool CamelCaseForProperties\n        {\n            get { return _attr.CamelCaseForProperties; }\n            set\n            {\n                if (_isLocked) return;\n                _attr.CamelCaseForProperties = value;\n            }\n        }\n\n        /// <summary>\n        ///     Enables or disables documentation generator\n        /// </summary>\n        public bool GenerateDocumentation\n        {\n            get { return _attr.GenerateDocumentation; }\n            set\n            {\n                if (_isLocked) return;\n                _attr.GenerateDocumentation = value;\n            }\n        }\n\n        /// <summary>\n        ///    Gets or sets whether all nullable properties must be exported as optional\n        /// </summary>\n        public bool AutoOptionalProperties\n        {\n            get { return _attr.AutoOptionalProperties; }\n            set\n            {\n                if (_isLocked) return;\n                _attr.AutoOptionalProperties = value;\n            }\n        }\n\n        ///// <summary>\n        /////     Enables or disables documentation generator\n        ///// </summary>\n        //public bool StrictNullChecks\n        //{\n        //    get { return _strictNullChecks; }\n        //    set\n        //    {\n        //        if (_isLocked) return;\n        //        _strictNullChecks = value;\n        //    }\n        //}\n\n        internal void Lock()\n        {\n            _isLocked = true;\n        }\n\n        internal void Unlock()\n        {\n            _isLocked = false;\n        }\n\n        /// <summary>\n        /// Specifies symbol used for tabulation\n        /// </summary>\n        public string TabSymbol\n        {\n            get { return _attr.TabSymbol; }\n            set\n            {\n                if (_isLocked) return;\n                _attr.TabSymbol = value;\n            }\n        }\n\n        /// <summary>\n        /// Specifies string used as the line terminator.\n        /// </summary>\n        public string NewLine {\n            get { return _attr.NewLine; }\n            set {\n                if(_isLocked) return;\n                _attr.NewLine = value;\n            }\n        }\n\n        /// <summary>\n        /// Switches RT to using TS modules system (--module) parameter and import references\n        /// </summary>\n        public bool UseModules\n        {\n            get { return _attr.UseModules; }\n            set\n            {\n                if (_isLocked) return;\n                _attr.UseModules = value;\n            }\n        }\n\n        /// <summary>\n        /// When true, RT will ignore classes' namespaces when arraging classes and interfaces among files. \n        /// This parameter only makes difference when using (--module)\n        /// </summary>\n        public bool DiscardNamespacesWhenUsingModules\n        {\n            get { return _attr.DiscardNamespacesWhenUsingModules; }\n            set\n            {\n                if (_isLocked) return;\n                _attr.DiscardNamespacesWhenUsingModules = value;\n            }\n        }\n\n\n        /// <summary>\n        ///     If true, export will be performed in .d.ts manner (only typings, declare module etc).\n        ///     Otherwise, export will be performed to regular .ts file\n        /// </summary>\n        public bool ExportPureTypings\n        {\n            get { return _attr.ExportPureTypings; }\n            set\n            {\n                if (_isLocked) return;\n                _attr.ExportPureTypings = value;\n            }\n        }\n\n        /// <summary>\n        /// Gets or sets type of <see cref=\"Reinforced.Typings.ReferencesInspection.ReferenceProcessorBase\"/> to be used while exporting files\n        /// </summary>\n        public Type ReferencesProcessorType\n        {\n            get { return _attr.ReferenceProcessorType; }\n            set\n            {\n                if (_isLocked) return;\n                if (!typeof(ReferenceProcessorBase)._IsAssignableFrom(value))\n                {\n                    ErrorMessages.RTE0016_InvalidRefProcessorType.Throw(value);\n                }\n                _attr.ReferenceProcessorType = value;\n            }\n        }\n\n        /// <summary>\n        ///     Gets or sets whether it is needed to sort exported members alphabetically\n        /// </summary>\n        public bool ReorderMembers\n        {\n            get { return _attr.ReorderMembers; }\n            set\n            {\n                if (_isLocked) return;\n                _attr.ReorderMembers = value;\n            }\n        }\n        /// <summary>\n        /// Gets or sets type of AST visitor that will be used to write code to output.\n        /// Visitor has to be child class of <see cref=\"Reinforced.Typings.Visitors.TextExportingVisitor\"/>\n        /// </summary>\n        public Type VisitorType\n        {\n            get { return _attr.VisitorType; }\n            set\n            {\n                if (_isLocked) return;\n                _attr.VisitorType = value;\n            }\n        }\n\n        /// <summary>\n        /// Gets or sets whether unresolved types must be exported as 'unknown' instead of 'any'\n        /// </summary>\n        public bool UnresolvedToUnknown\n        {\n            get { return _attr.UnresolvedToUnknown; }\n            set\n            {\n                if (_isLocked) return;\n                _attr.UnresolvedToUnknown = value;\n            }\n        }\n\n        /// <summary>\n        /// Gets or sets whether RT must automatically treat methods returning Task as async methods\n        /// </summary>\n        public bool AutoAsync\n        {\n            get { return _attr.AutoAsync; }\n            set\n            {\n                if (_isLocked) return;\n                _attr.AutoAsync = value;\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/IFilesOperations.cs",
    "content": "﻿using Reinforced.Typings.ReferencesInspection;\n\nnamespace Reinforced.Typings\n{\n    /// <summary>\n    /// Interface of files operator\n    /// It has to be public for testing purposes\n    /// </summary>\n    public interface IFilesOperations\n    {\n        /// <summary>\n        /// Export context\n        /// </summary>\n        ExportContext Context { set; }\n\n        /// <summary>\n        /// Writes temporary files contents to disk\n        /// </summary>\n        void DeployTempFiles();\n\n        /// <summary>\n        /// Cleans up temporary files registry\n        /// </summary>\n        void ClearTempRegistry();\n\n        /// <summary>\n        /// Exports specified syntax nodes to specified file\n        /// </summary>\n        /// <param name=\"fileName\">File name</param>\n        /// <param name=\"file\">File to be exported</param>\n        void Export(string fileName, ExportedFile file);\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/InlineTypeInferers.cs",
    "content": "﻿using System;\nusing Reinforced.Typings.Ast.TypeNames;\n\nnamespace Reinforced.Typings\n{\n    /// <summary>\n    /// Class holding inline type inferers for specified node\n    /// </summary>\n    /// <typeparam name=\"T\"></typeparam>\n    public class InlineTypeInferers<T>\n    {\n        internal Type StrongType { get; set; }\n        internal string Type { get; set; }\n\n        private Func<T, TypeResolver, string> _stringResolver;\n        private Func<T, TypeResolver, RtTypeName> _typenameResolver;\n        private Func<T, string> _stringSimpleResolver;\n        private Func<T, RtTypeName> _typenameSimpleResolver;\n\n        internal Func<T, TypeResolver, string> StringResolver\n        {\n            get { return _stringResolver; }\n            set\n            {\n                _stringResolver = value;\n                _typenameResolver = null;\n                _stringSimpleResolver = null;\n                _typenameSimpleResolver = null;\n            }\n        }\n\n        internal Func<T, TypeResolver, RtTypeName> TypenameResolver\n        {\n            get { return _typenameResolver; }\n            set\n            {\n                _typenameResolver = value;\n                _stringResolver = null;\n                _stringSimpleResolver = null;\n                _typenameSimpleResolver = null;\n            }\n        }\n\n        internal Func<T, string> StringSimpleResolver\n        {\n            get { return _stringSimpleResolver; }\n            set\n            {\n                _stringSimpleResolver = value;\n                _typenameResolver = null;\n                _stringResolver = null;\n                _typenameSimpleResolver = null;\n            }\n        }\n\n        internal Func<T, RtTypeName> TypenameSimpleResolver\n        {\n            get { return _typenameSimpleResolver; }\n            set\n            {\n                _typenameSimpleResolver = value;\n                _stringSimpleResolver = null;\n                _stringResolver = null;\n                _typenameResolver = null;\n            }\n        }\n\n        internal RtTypeName Infer(T src, TypeResolver resolver)\n        {\n            if (StringResolver != null)\n            {\n                var r = StringResolver(src, resolver);\n                return new RtSimpleTypeName(r);\n            }\n\n            if (TypenameSimpleResolver != null)\n            {\n                var r = TypenameSimpleResolver(src);\n                return r;\n            }\n\n            if (StringSimpleResolver != null)\n            {\n                var r = StringSimpleResolver(src);\n                return new RtSimpleTypeName(r);\n            }\n\n            if (TypenameResolver != null)\n            {\n                var r = TypenameResolver(src, resolver);\n                return r;\n            }\n            return null;\n        }\n    }\n\n    /// <summary>\n    /// Decorates member that supports inline type inferring\n    /// </summary>\n    /// <typeparam name=\"T\">Member Type</typeparam>\n    public interface ISupportsInferring<T>\n    {\n        /// <summary>\n        /// Type inferers set instance\n        /// </summary>\n        InlineTypeInferers<T> TypeInferers { get; }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Location.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing Reinforced.Typings.Ast;\n\nnamespace Reinforced.Typings\n{\n    /// <summary>\n    /// Identifies where current export is performed in terms of AST. \n    /// Context.Location could be used to conditionally add members to different places of generated source code\n    /// </summary>\n    public class Location\n    {\n        private readonly ExportContext _exContext;\n        /// <summary>\n        /// Current Class \n        /// </summary>\n        public RtClass CurrentClass { get; private set; }\n\n        /// <summary>\n        /// Current Interface\n        /// </summary>\n        public RtInterface CurrentInterface { get; private set; }\n\n        /// <summary>\n        /// Current Enum\n        /// </summary>\n        public RtEnum CurrentEnum { get; private set; }\n\n        /// <summary>\n        /// Current Module\n        /// </summary>\n        public RtNamespace CurrentNamespace { get; private set; }\n\n        /// <summary>\n        /// References currently exported type\n        /// </summary>\n        public Type CurrentType\n        {\n            get\n            {\n                if (_typesStack.Count == 0) return null;\n                return _typesStack.Peek().Type;\n            }\n        }\n\n        /// <summary>\n        /// Sets current location\n        /// </summary>\n        /// <param name=\"location\"></param>\n        public void SetLocation(RtNode location)\n        {\n            if (location is RtClass) CurrentClass = (RtClass)location;\n            if (location is RtInterface) CurrentInterface = (RtInterface)location;\n            if (location is RtEnum) CurrentEnum = (RtEnum)location;\n            if (location is RtNamespace) CurrentNamespace = (RtNamespace)location;\n        }\n\n        /// <summary>\n        /// Sets current location\n        /// </summary>\n        /// <param name=\"location\"></param>\n        public void ResetLocation(RtNode location)\n        {\n            if (location is RtClass) CurrentClass = null;\n            if (location is RtInterface) CurrentInterface = null;\n            if (location is RtEnum) CurrentEnum = null;\n            if (location is RtNamespace) CurrentNamespace = null;\n        }\n\n        internal Stack<TypeBlueprint> _typesStack = new Stack<TypeBlueprint>();\n\n        internal Location(ExportContext exContext)\n        {\n            _exContext = exContext;\n        }\n\n        /// <summary>\n        /// Sets currently exported type\n        /// </summary>\n        /// <param name=\"t\"></param>\n        public void SetCurrentType(Type t)\n        {\n            _typesStack.Push(_exContext.Project.Blueprint(t));\n        }\n\n        /// <summary>\n        /// Resets currently exported type\n        /// </summary>\n        public void ResetCurrentType()\n        {\n            if (_typesStack.Count > 0) _typesStack.Pop();\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/ProjectBlueprint.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Reflection;\nusing Reinforced.Typings.Ast.Dependency;\nusing Reinforced.Typings.Ast.TypeNames;\nusing Reinforced.Typings.Attributes;\n\nnamespace Reinforced.Typings\n{\n    /// <summary>\n    /// Class that holds information of all exported types' parameters and helper methods for it\n    /// </summary>\n    public class ProjectBlueprint\n    {\n        /// <summary>Initializes a new instance of the <see cref=\"T:System.Object\" /> class.</summary>\n        public ProjectBlueprint()\n        {\n            PathesToFiles = new Dictionary<Type, string>();\n            TypesInFiles = new Dictionary<string, List<Type>>();\n            AdditionalDocumentationPathes = new List<string>();\n            References = new List<RtReference>();\n            Imports = new List<RtImport>();\n            GlobalGenericSubstitutions = new Dictionary<Type, Func<Type, TypeResolver, RtTypeName>>();\n            GlobalSubstitutions = new Dictionary<Type, RtTypeName>();\n        }\n\n        private readonly Dictionary<Type, TypeBlueprint> _blueprints = new Dictionary<Type, TypeBlueprint>();\n\n\n        internal IEnumerable<Type> BlueprintedTypes\n        {\n            get { return _blueprints.Keys; }\n        }\n\n        /// <summary>\n        /// Returns blueprint for type. Never returns null\n        /// </summary>\n        /// <param name=\"t\">Type</param>\n        /// <returns>Type blueprint</returns>\n        public TypeBlueprint Blueprint(Type t)\n        {\n            if (t == null) return null;\n            return _blueprints.GetOrCreate(t, () => new TypeBlueprint(t));\n        }\n\n        /// <summary>\n        /// Returns blueprint for type.\n        /// </summary>\n        /// <param name=\"t\">Type</param>\n        /// <param name=\"create\">True to create blueprint if it does not exist</param>\n        /// <returns>Type blueprint</returns>\n        public TypeBlueprint Blueprint(Type t, bool create)\n        {\n            if (t == null) return null;\n            if (create) return _blueprints.GetOrCreate(t, () => new TypeBlueprint(t));\n            if (!_blueprints.ContainsKey(t)) return null;\n            return _blueprints[t];\n        }\n\n        internal void AddFileSeparationSettings(Type type)\n        {\n            var bp = Blueprint(type);\n            if (bp.ThirdParty != null) return;\n\n            if (!string.IsNullOrEmpty(bp.PathToFile))\n            {\n                TrackTypeFile(type, bp.PathToFile);\n            }\n            else\n            {\n                var fileAttr = type.GetCustomAttribute<TsFileAttribute>();\n\n                if (fileAttr != null)\n                {\n                    TrackTypeFile(type, fileAttr.FileName);\n                }\n            }\n\n        }\n\n        internal void TrackTypeFile(Type t, string fileName)\n        {\n            if (string.IsNullOrEmpty(fileName)) return;\n            var typesPerFile = TypesInFiles.GetOrCreate(fileName);\n            if (!typesPerFile.Contains(t)) typesPerFile.Add(t);\n            PathesToFiles[t] = fileName;\n        }\n\n        internal string GetPathForFile(Type t)\n        {\n            if (PathesToFiles.ContainsKey(t)) return PathesToFiles[t];\n            return null;\n        }\n\n        /// <summary>\n        /// Dictionary holds pathes to files\n        /// </summary>\n        public Dictionary<Type, string> PathesToFiles { get; private set; }\n\n        /// <summary>\n        /// Dictionary that holds types within each file\n        /// </summary>\n        public Dictionary<string, List<Type>> TypesInFiles { get; private set; }\n\n        /// <summary>\n        /// Additional pathes to look up documentation for\n        /// </summary>\n        public List<string> AdditionalDocumentationPathes { get; private set; }\n\n        /// <summary>\n        /// References that will be added to each exported file\n        /// </summary>\n        public List<RtReference> References { get; private set; }\n\n        /// <summary>\n        /// Imports that will be added to each exported file\n        /// </summary>\n        public List<RtImport> Imports { get; private set; }\n\n\n        internal Dictionary<Type, RtTypeName> GlobalSubstitutions { get; private set; }\n        internal Dictionary<Type, Func<Type, TypeResolver, RtTypeName>> GlobalGenericSubstitutions { get; private set; }\n\n        /// <summary>\n        /// Obtains substitution for type\n        /// </summary>\n        /// <param name=\"t\">Type to find substitution for</param>\n        /// <param name=\"tr\">Type resolver instance</param>\n        /// <returns>Substitution AST</returns>\n        public RtTypeName Substitute(Type t, TypeResolver tr)\n        {\n            Type genericDef = t._IsGenericType() ? t.GetGenericTypeDefinition() : null;\n\n            if (GlobalSubstitutions.ContainsKey(t)) return GlobalSubstitutions[t];\n            if (genericDef != null)\n            {\n                if (GlobalGenericSubstitutions.ContainsKey(genericDef))\n                {\n                    var ts = GlobalGenericSubstitutions[genericDef](t, tr);\n                    if (ts != null) return ts;\n                }\n            }\n            return null;\n        }\n\n\n\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Properties/AssemblyInfo.cs",
    "content": "﻿using System;\nusing System.Reflection;\nusing System.Runtime.InteropServices;\n\n// General Information about an assembly is controlled through the following \n// set of attributes. Change these attribute values to modify the information\n// associated with an assembly.\n\n[assembly: AssemblyTitle(\"DynamicMvcTypings\")]\n[assembly: AssemblyDescription(\"\")]\n[assembly: AssemblyConfiguration(\"\")]\n[assembly: AssemblyCompany(\"\")]\n[assembly: AssemblyProduct(\"DynamicMvcTypings\")]\n[assembly: AssemblyCopyright(\"Copyright ©  2015\")]\n[assembly: AssemblyTrademark(\"\")]\n[assembly: AssemblyCulture(\"\")]\n[assembly: CLSCompliant(true)]\n\n// Setting ComVisible to false makes the types in this assembly not visible \n// to COM components.  If you need to access a type in this assembly from \n// COM, set the ComVisible attribute to true on that type.\n\n[assembly: ComVisible(false)]\n\n// The following GUID is for the ID of the typelib if this project is exposed to COM\n\n[assembly: Guid(\"f05e4940-fa83-446c-97ff-b0d7fb56daee\")]\n\n// Version information for an assembly consists of the following four values:\n//\n//      Major Version\n//      Minor Version \n//      Build Number\n//      Revision\n//\n// You can specify all the values or you can default the Build and Revision Numbers \n// by using the '*' as shown below:\n// [assembly: AssemblyVersion(\"1.0.*\")]\n\n[assembly: AssemblyVersion(\"1.0.0.0\")]\n[assembly: AssemblyFileVersion(\"1.0.0.0\")]"
  },
  {
    "path": "Reinforced.Typings/ReferencesInspection/ImportComparer.cs",
    "content": "﻿using System.Collections.Generic;\nusing Reinforced.Typings.Ast.Dependency;\n\nnamespace Reinforced.Typings.ReferencesInspection\n{\n    sealed class ImportComparer : IEqualityComparer<RtImport>\n    {\n        public bool Equals(RtImport x, RtImport y)\n        {\n            if (ReferenceEquals(x, y)) return true;\n            if (ReferenceEquals(x, null)) return false;\n            if (ReferenceEquals(y, null)) return false;\n            if (x.GetType() != y.GetType()) return false;\n            return string.Equals(x.Target, y.Target) && string.Equals(x.From, y.From) && x.IsRequire == y.IsRequire;\n        }\n\n        public int GetHashCode(RtImport obj)\n        {\n            unchecked\n            {\n                var hashCode = (obj.Target != null ? obj.Target.GetHashCode() : 0);\n                hashCode = (hashCode * 397) ^ (obj.From != null ? obj.From.GetHashCode() : 0);\n                hashCode = (hashCode * 397) ^ obj.IsRequire.GetHashCode();\n                return hashCode;\n            }\n        }\n\n        private static readonly ImportComparer _instance = new ImportComparer();\n\n        public static ImportComparer Instance\n        {\n            get { return _instance; }\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/ReferencesInspection/InspectedReferences.cs",
    "content": "﻿using System.Collections.Generic;\nusing System.Linq;\nusing Reinforced.Typings.Ast.Dependency;\n\nnamespace Reinforced.Typings.ReferencesInspection\n{\n    /// <summary>\n    /// Represents inspected references for type or global references\n    /// </summary>\n    public class InspectedReferences\n    {\n        private readonly HashSet<RtReference> _references = new HashSet<RtReference>(ReferenceComparer.Instance);\n        private readonly HashSet<RtImport> _imports = new HashSet<RtImport>(ImportComparer.Instance);\n        private readonly Dictionary<string, RtImport> _starImportsAs = new Dictionary<string, RtImport>();\n\n        /// <summary>\n        /// References exposed via &lt;reference path=\"...\"&gt; tag\n        /// </summary>\n        public IEnumerable<RtReference> References { get { return _references; } }\n\n        /// <summary>\n        /// References exposed via imports\n        /// </summary>\n        public IEnumerable<RtImport> Imports { get { return _imports; } }\n\n        /// <summary>\n        /// Cache of starred imports. Key is \"from\", value is star import alias\n        /// </summary>\n        public IReadOnlyDictionary<string, RtImport> StarImports { get { return _starImportsAs; } }\n\n        /// <summary>\n        /// Constructs new inspected references set\n        /// </summary>\n        /// <param name=\"references\">References</param>\n        /// <param name=\"imports\">Imports</param>\n        public InspectedReferences(IEnumerable<RtReference> references, IEnumerable<RtImport> imports = null)\n        {\n            foreach (var rtReference in references)\n            {\n                _references.AddIfNotExists(rtReference);\n            }\n\n            if (imports != null)\n            {\n                foreach (var rtImport in imports.Where(c => c.IsWildcard))\n                {\n                    _imports.AddIfNotExists(rtImport);\n                    _starImportsAs[rtImport.From] = rtImport;\n                }\n\n                foreach (var rtImport in imports.Where(c => !c.IsWildcard))\n                {\n                    _imports.AddIfNotExists(rtImport);\n                }\n            }\n        }\n\n        /// <summary>\n        /// Duplicates inspected references for further usage\n        /// </summary>\n        /// <returns></returns>\n        public InspectedReferences Duplicate()\n        {\n            return new InspectedReferences(_references, _imports);\n        }\n\n        /// <summary>\n        /// Attaches new reference to existing ones\n        /// </summary>\n        /// <param name=\"reference\">New reference</param>\n        public void AddReference(RtReference reference)\n        {\n            _references.AddIfNotExists(reference);\n        }\n\n        /// <summary>\n        /// Attaches new import to existing ones\n        /// </summary>\n        /// <param name=\"import\">Import</param>\n        public void AddImport(RtImport import)\n        {\n            if (import.IsWildcard)\n            {\n                if (_starImportsAs.ContainsKey(import.From)) return;\n                _imports.RemoveWhere(c => c.From == import.From);\n                _imports.Add(import);\n                _starImportsAs[import.From] = import;\n            }\n            else\n            {\n                _imports.AddIfNotExists(import);\n            }\n        }\n    }\n\n\n}"
  },
  {
    "path": "Reinforced.Typings/ReferencesInspection/ReferenceComparer.cs",
    "content": "﻿using System.Collections.Generic;\nusing Reinforced.Typings.Ast.Dependency;\n\nnamespace Reinforced.Typings.ReferencesInspection\n{\n    sealed class ReferenceComparer : IEqualityComparer<RtReference>\n    {\n        public bool Equals(RtReference x, RtReference y)\n        {\n            return x.Path == y.Path;\n        }\n\n        public int GetHashCode(RtReference obj)\n        {\n            return obj.Path.GetHashCode();\n        }\n\n        private static readonly ReferenceComparer _instance = new ReferenceComparer();\n\n        public static ReferenceComparer Instance\n        {\n            get { return _instance; }\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/ReferencesInspection/ReferenceProcessorBase.cs",
    "content": "﻿using System.Collections.Generic;\nusing Reinforced.Typings.Ast.Dependency;\n\nnamespace Reinforced.Typings.ReferencesInspection\n{\n    /// <summary>\n    /// Base class for reference post-processor.\n    /// </summary>\n    public abstract class ReferenceProcessorBase\n    {\n        /// <summary>\n        /// Returns refiltered and reordered import directives that must appear in resulting file.\n        /// Return null to remain references list untouched\n        /// </summary>\n        /// <param name=\"imports\">Set on initially computed imports</param>\n        /// <param name=\"file\">File that is being exported currently</param>\n        /// <returns>Set of refiltered/reordered imports</returns>\n        public abstract IEnumerable<RtImport> FilterImports(IEnumerable<RtImport> imports, ExportedFile file);\n\n        /// <summary>\n        /// Returns refiltered and reordered reference directives that must appear in resulting file\n        /// Return null to remain imports list untouched\n        /// </summary>\n        /// <param name=\"references\">Set on initially computed references</param>\n        /// <param name=\"file\">File that is being exported currently</param>\n        /// <returns>Set of refiltered/reordered references</returns>\n        public abstract IEnumerable<RtReference> FilterReferences(IEnumerable<RtReference> references, ExportedFile file);\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Reinforced.Typings.Dev.csproj",
    "content": "<Project Sdk=\"Microsoft.NET.Sdk\">\n  <PropertyGroup>\n    <TargetFramework>net5.0</TargetFramework>\n    <RootNamespace>Reinforced.Typings</RootNamespace>\n    <GeneratePackageOnBuild>false</GeneratePackageOnBuild>\n    <PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>\n    <DebugSymbols Condition=\"$(Configuration) == 'Release'\">false</DebugSymbols>\n    <DebugType Condition=\"$(Configuration) == 'Release'\">None</DebugType>\n    <Platforms>AnyCPU;x64;x86</Platforms>\n\t\n\t<AssemblyName>Reinforced.Typings</AssemblyName>\n\t<Company>Reinforced Software Construction OSS</Company>\n\t<Copyright>Pavel B. Novikov 2019</Copyright>\n\t<AssemblyTitle>$(AssemblyName)</AssemblyTitle>\n\t<AssemblyVersion>1.5.9</AssemblyVersion>\n\t<FileVersion>1.5.9</FileVersion>\n\t<InformationalVersion>1.5.9</InformationalVersion>\n\t<DefineConstants>$(DefineConstants);NETCORE;</DefineConstants>\n  </PropertyGroup>    \n  <ItemGroup>\n    <Compile Remove=\"Properties\\AssemblyInfo.cs\" />\n  </ItemGroup>\n\n  <ItemGroup>\n    <Folder Include=\"Properties\\\" />\n  </ItemGroup>\n\n</Project>\n"
  },
  {
    "path": "Reinforced.Typings/Reinforced.Typings.NETCore.csproj",
    "content": "<Project Sdk=\"Microsoft.NET.Sdk\">\r\n  <PropertyGroup>\r\n    <TargetFramework>net10.0</TargetFramework>\r\n    <RootNamespace>Reinforced.Typings</RootNamespace>\r\n    <GeneratePackageOnBuild>false</GeneratePackageOnBuild>\r\n    <PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>\r\n    <DebugSymbols Condition=\"$(Configuration) == 'Release'\">false</DebugSymbols>\r\n    <DebugType Condition=\"$(Configuration) == 'Release'\">None</DebugType>\r\n    <Platforms>AnyCPU;x64;x86</Platforms>\r\n\t\r\n\t<AssemblyName>Reinforced.Typings</AssemblyName>\r\n\t<Company>Reinforced Software Construction OSS</Company>\r\n\t<Copyright>Pavel B. Novikov 2019</Copyright>\r\n\t<AssemblyTitle>$(AssemblyName)</AssemblyTitle>\r\n\t<AssemblyVersion>1.6.7</AssemblyVersion>\r\n\t<FileVersion>1.6.7</FileVersion>\r\n\t<InformationalVersion>1.6.7</InformationalVersion>\r\n\t<DefineConstants>$(DefineConstants);$(RtAdditionalConstants);</DefineConstants>\r\n  </PropertyGroup>    \r\n  <ItemGroup>\r\n    <Compile Remove=\"Properties\\AssemblyInfo.cs\" />\r\n  </ItemGroup>\r\n\r\n  <ItemGroup>\r\n    <Folder Include=\"Properties\\\" />\r\n  </ItemGroup>\r\n\r\n  <ItemGroup Condition=\"($(RtNetCore)=='True') AND ($(TargetFramework) != 'netstandard2.0')\">    \r\n    <PackageReference Include=\"System.Xml.XmlSerializer\" Version=\"4.3.0\" />        \r\n  </ItemGroup>\r\n\r\n</Project>\r\n"
  },
  {
    "path": "Reinforced.Typings/Reinforced.Typings.csproj",
    "content": "﻿<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<Project ToolsVersion=\"12.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\r\n  <Import Project=\"$(MSBuildExtensionsPath)\\$(MSBuildToolsVersion)\\Microsoft.Common.props\" Condition=\"Exists('$(MSBuildExtensionsPath)\\$(MSBuildToolsVersion)\\Microsoft.Common.props')\" />\r\n  <PropertyGroup>\r\n    <Configuration Condition=\" '$(Configuration)' == '' \">Debug</Configuration>\r\n    <Platform Condition=\" '$(Platform)' == '' \">AnyCPU</Platform>\r\n    <ProjectGuid>{2A5CCD5C-E660-4088-8937-9632ABBBCDBB}</ProjectGuid>\r\n    <OutputType>Library</OutputType>\r\n    <AppDesignerFolder>Properties</AppDesignerFolder>\r\n    <RootNamespace>Reinforced.Typings</RootNamespace>\r\n    <AssemblyName>Reinforced.Typings</AssemblyName>\r\n    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>\r\n    <FileAlignment>512</FileAlignment>\r\n    <TargetFrameworkProfile />\r\n  </PropertyGroup>\r\n  <PropertyGroup Condition=\" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' \">\r\n    <DebugSymbols>true</DebugSymbols>\r\n    <DebugType>full</DebugType>\r\n    <Optimize>false</Optimize>\r\n    <OutputPath>bin\\Debug\\</OutputPath>\r\n    <DefineConstants>DEBUG;TRACE</DefineConstants>\r\n    <ErrorReport>prompt</ErrorReport>\r\n    <WarningLevel>4</WarningLevel>\r\n    <Prefer32Bit>false</Prefer32Bit>\r\n    <DocumentationFile>bin\\Debug\\Reinforced.Typings.XML</DocumentationFile>\r\n  </PropertyGroup>\r\n  <PropertyGroup Condition=\" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' \">\r\n    <DebugType>pdbonly</DebugType>\r\n    <Optimize>true</Optimize>\r\n    <OutputPath>bin\\Release\\</OutputPath>\r\n    <DefineConstants>TRACE</DefineConstants>\r\n    <ErrorReport>prompt</ErrorReport>\r\n    <WarningLevel>4</WarningLevel>\r\n    <DocumentationFile>bin\\Release\\Reinforced.Typings.xml</DocumentationFile>\r\n    <Prefer32Bit>false</Prefer32Bit>\r\n    <GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>\r\n  </PropertyGroup>\r\n  <PropertyGroup>\r\n    <StartupObject>\r\n    </StartupObject>\r\n  </PropertyGroup>\r\n  <PropertyGroup>\r\n    <SignAssembly>true</SignAssembly>\r\n  </PropertyGroup>\r\n  <PropertyGroup>\r\n    <AssemblyOriginatorKeyFile>\r\n    </AssemblyOriginatorKeyFile>\r\n  </PropertyGroup>\r\n  <ItemGroup>\r\n    <Reference Include=\"mscorlib\" />\r\n    <Reference Include=\"System\" />\r\n    <Reference Include=\"System.Core\" />\r\n    <Reference Include=\"System.Xml.Linq\" />\r\n    <Reference Include=\"System.Data.DataSetExtensions\" />\r\n    <Reference Include=\"Microsoft.CSharp\" />\r\n    <Reference Include=\"System.Data\" />\r\n    <Reference Include=\"System.Xml\" />\r\n  </ItemGroup>\r\n  <ItemGroup>\r\n    <Compile Include=\"AccessModifier.cs\" />\r\n    <Compile Include=\"Ast\\DocTag.cs\" />\r\n    <Compile Include=\"Ast\\IDecoratable.cs\" />\r\n    <Compile Include=\"Ast\\ITypeMember.cs\" />\r\n    <Compile Include=\"Ast\\IRtVisitor.cs\" />\r\n    <Compile Include=\"Ast\\JsdocTagAttribute.cs\" />\r\n    <Compile Include=\"Ast\\RtArgument.cs\" />\r\n    <Compile Include=\"Ast\\TypeNames\\RtArrayType.cs\" />\r\n    <Compile Include=\"Ast\\RtClass.cs\" />\r\n    <Compile Include=\"Ast\\RtCompilationUnit.cs\" />\r\n    <Compile Include=\"Ast\\RtConstructor.cs\" />\r\n    <Compile Include=\"Ast\\RtDecorator.cs\" />\r\n    <Compile Include=\"Ast\\TypeNames\\RtAsyncType.cs\" />\r\n    <Compile Include=\"Ast\\TypeNames\\RtDelegateType.cs\" />\r\n    <Compile Include=\"Ast\\TypeNames\\RtDictionaryType.cs\" />\r\n    <Compile Include=\"Ast\\RtEnum.cs\" />\r\n    <Compile Include=\"Ast\\RtEnumValue.cs\" />\r\n    <Compile Include=\"Ast\\RtField.cs\" />\r\n    <Compile Include=\"Ast\\RtFunction.cs\" />\r\n    <Compile Include=\"Ast\\RtIdentifier.cs\" />\r\n    <Compile Include=\"Ast\\Dependency\\RtImport.cs\" />\r\n    <Compile Include=\"Ast\\RtInterface.cs\" />\r\n    <Compile Include=\"Ast\\RtJsdocNode.cs\" />\r\n    <Compile Include=\"Ast\\RtMember.cs\" />\r\n    <Compile Include=\"Ast\\RtNamespace.cs\" />\r\n    <Compile Include=\"Ast\\RtNode.cs\" />\r\n    <Compile Include=\"Ast\\RtRaw.cs\" />\r\n    <Compile Include=\"Ast\\Dependency\\RtReference.cs\" />\r\n    <Compile Include=\"Ast\\TypeNames\\RtSimpleTypeName.cs\" />\r\n    <Compile Include=\"Ast\\TypeNames\\RtTuple.cs\" />\r\n    <Compile Include=\"Ast\\TypeNames\\RtTypeName.cs\" />\r\n    <Compile Include=\"Attributes\\IAutoexportSwitchAttribute.cs\" />\r\n    <Compile Include=\"Attributes\\TsThirdPartyAttribute.cs\" />\r\n    <Compile Include=\"ExportContext\\ExportContext.Operations.cs\" />\r\n    <Compile Include=\"ExportContext\\ExportContext.Readonly.cs\" />\r\n    <Compile Include=\"ExportContext\\ExportContext.Configurables.cs\" />\r\n    <Compile Include=\"ExportContext\\ExportContext.Initialization.cs\" />\r\n    <Compile Include=\"Fluent\\ConfigurationBuilderExtensions.cs\" />\r\n    <Compile Include=\"Fluent\\MemberBuilders\\MemberExportBuilder.EnumValue.cs\" />\r\n    <Compile Include=\"Fluent\\MemberBuilders\\MemberExportBuilder.cs\" />\r\n    <Compile Include=\"Fluent\\MemberBuilders\\MemberExportBuilder.Field.cs\" />\r\n    <Compile Include=\"Fluent\\MemberExtensions\\MemberExportExtensions.EnumValue.cs\" />\r\n    <Compile Include=\"Fluent\\MemberExtensions\\MemberExportExtensions.cs\" />\r\n    <Compile Include=\"Fluent\\MemberExtensions\\MemberExportExtensions.Property.cs\" />\r\n    <Compile Include=\"Fluent\\MemberExtensions\\MemberExportExtensions.Parameter.cs\" />\r\n    <Compile Include=\"Fluent\\MemberExtensions\\MemberExportExtensions.Method.cs\" />\r\n    <Compile Include=\"Fluent\\MemberBuilders\\MemberExportBuilder.Method.cs\" />\r\n    <Compile Include=\"Fluent\\MemberBuilders\\MemberExportBuilder.Property.cs\" />\r\n    <Compile Include=\"Fluent\\MemberBuilders\\MemberExportBuilder.Parameter.cs\" />\r\n    <Compile Include=\"Fluent\\TypeBuilders\\TypeExportBuilder.ThirdParty`1.cs\" />\r\n    <Compile Include=\"Fluent\\TypeBuilders\\TypeExportBuilder.Class`1.cs\" />\r\n    <Compile Include=\"Fluent\\TypeBuilders\\TypeExportBuilder.Interface`1.cs\" />\r\n    <Compile Include=\"Fluent\\TypeBuilders\\TypeExportBuilder.Enum.cs\" />\r\n    <Compile Include=\"Fluent\\TypeBuilders\\TypeExportBuilder.Interface.cs\" />\r\n    <Compile Include=\"Fluent\\TypeBuilders\\TypeExportBuilder.Class.cs\" />\r\n    <Compile Include=\"Fluent\\TypeBuilders\\TypeExportBuilder.ThirdParty.cs\" />\r\n    <Compile Include=\"Fluent\\TypeBuilders\\TypeExportBuilder.ClassOrInterface.cs\" />\r\n    <Compile Include=\"Fluent\\TypeBuilders\\TypeExportBuilder.cs\" />\r\n    <Compile Include=\"Fluent\\TypeExtensions\\TypeExportExtensions.All.ThirdParty.cs\" />\r\n    <Compile Include=\"Fluent\\TypeExtensions\\TypeExportExtensions.Enum.cs\" />\r\n    <Compile Include=\"Fluent\\TypeExtensions\\TypeExportExtensions.Interface.cs\" />\r\n    <Compile Include=\"Fluent\\TypeExtensions\\TypeExportExtensions.Class.cs\" />\r\n    <Compile Include=\"Fluent\\TypeExtensions\\TypeExportExtensions.cs\" />\r\n    <Compile Include=\"Fluent\\TypeExtensions\\TypeExportExtensions.All.NamesAndNamespaces.cs\" />\r\n    <Compile Include=\"Fluent\\TypeExtensions\\TypeExportExtensions.All.ReferencesAndImports.cs\" />\r\n    <Compile Include=\"Fluent\\TypeExtensions\\TypeExportExtensions.All.Substitutions.cs\" />\r\n    <Compile Include=\"Fluent\\WithExtensions\\WithExtensions.Properties.cs\" />\r\n    <Compile Include=\"Fluent\\WithExtensions\\WithExtensions.Methods.cs\" />\r\n    <Compile Include=\"Fluent\\WithExtensions\\WithExtensions.Fields.cs\" />\r\n    <Compile Include=\"Fluent\\InferringExtensions.cs\" />\r\n    <Compile Include=\"InlineTypeInferers.cs\" />\r\n    <Compile Include=\"Attributes\\TsAddTypeImportAttribute.cs\" />\r\n    <Compile Include=\"Attributes\\TsAddTypeReference.cs\" />\r\n    <Compile Include=\"Attributes\\TsAttributeBase.cs\" />\r\n    <Compile Include=\"Attributes\\TsClassAttribute.cs\" />\r\n    <Compile Include=\"Attributes\\TsBaseParamAttribute.cs\" />\r\n    <Compile Include=\"Attributes\\TsDeclarationAttributeBase.cs\" />\r\n    <Compile Include=\"Attributes\\TsDecoratorAttribute.cs\" />\r\n    <Compile Include=\"Attributes\\TsEnumAttribute.cs\" />\r\n    <Compile Include=\"Attributes\\TsFileAttribute.cs\" />\r\n    <Compile Include=\"Attributes\\TsFunctionAttribute.cs\" />\r\n    <Compile Include=\"Attributes\\TsGenericAttribute.cs\" />\r\n    <Compile Include=\"Attributes\\TsGlobalAttribute.cs\" />\r\n    <Compile Include=\"Attributes\\TsIgnoreAttribute.cs\" />\r\n    <Compile Include=\"Attributes\\TsImportAttribute.cs\" />\r\n    <Compile Include=\"Attributes\\TsInterfaceAttribute.cs\" />\r\n    <Compile Include=\"Attributes\\TsParameterAttribute.cs\" />\r\n    <Compile Include=\"Attributes\\TsPropertyAttribute.cs\" />\r\n    <Compile Include=\"Attributes\\TsReferenceAttribute.cs\" />\r\n    <Compile Include=\"Attributes\\TsTypedAttributeBase.cs\" />\r\n    <Compile Include=\"Attributes\\TsTypedMemberAttributeBase.cs\" />\r\n    <Compile Include=\"Attributes\\TsValueAttribute.cs\" />\r\n    <Compile Include=\"DictionaryExtensions.cs\" />\r\n    <Compile Include=\"Exceptions\\ErrorMessage.cs\" />\r\n    <Compile Include=\"Exceptions\\ErrorMessages.cs\" />\r\n    <Compile Include=\"Exceptions\\RtException.cs\" />\r\n    <Compile Include=\"Exceptions\\RtWarning.cs\" />\r\n    <Compile Include=\"ExportedFile.cs\" />\r\n    <Compile Include=\"Fluent\\GlobalConfigurationBuilder.cs\" />\r\n    <Compile Include=\"Fluent\\LambdaHelpers.cs\" />\r\n    <Compile Include=\"Fluent\\Parameter.cs\" />\r\n    <Compile Include=\"Fluent\\ConfigurationBuilder.cs\" />\r\n    <Compile Include=\"GeneratorManager.cs\" />\r\n    <Compile Include=\"Generators\\ClassAndInterfaceGeneratorBase.cs\" />\r\n    <Compile Include=\"Generators\\TsCodeGeneratorBase.cs\" />\r\n    <Compile Include=\"GlobalParameters.cs\" />\r\n    <Compile Include=\"IFilesOperations.cs\" />\r\n    <Compile Include=\"ProjectBlueprint.cs\" />\r\n    <Compile Include=\"ReferencesInspection\\ImportComparer.cs\" />\r\n    <Compile Include=\"ReferencesInspection\\InspectedReferences.cs\" />\r\n    <Compile Include=\"Location.cs\" />\r\n    <Compile Include=\"ReferencesInspection\\ReferenceComparer.cs\" />\r\n    <Compile Include=\"ReferencesInspection\\ReferenceProcessorBase.cs\" />\r\n    <Compile Include=\"TypeBlueprint.cs\" />\r\n    <Compile Include=\"Visitors\\TextExportingVisitor.cs\" />\r\n    <Compile Include=\"Visitors\\TypedVisitorBase.cs\" />\r\n    <Compile Include=\"Visitors\\TypeScript\\TypeScriptExportVisitor.cs\" />\r\n    <Compile Include=\"Visitors\\TypeScript\\TypeScriptExportVisitor.Dependencies.cs\" />\r\n    <Compile Include=\"Visitors\\TypeScript\\TypeScriptExportVisitor.RtConstructor.cs\" />\r\n    <Compile Include=\"Visitors\\TypeScript\\TypeScriptExportVisitor.RtEnum.cs\" />\r\n    <Compile Include=\"Visitors\\TypeScript\\TypeScriptExportVisitor.RtEnumValue.cs\" />\r\n    <Compile Include=\"Visitors\\TypeScript\\TypeScriptExportVisitor.RtFunction.cs\" />\r\n    <Compile Include=\"Visitors\\TypeScript\\TypeScriptExportVisitor.RtJsdocNode.cs\" />\r\n    <Compile Include=\"Visitors\\TypeScript\\TypeScriptExportVisitor.RtIdentifier.cs\" />\r\n    <Compile Include=\"Visitors\\TypeScript\\TypeScriptExportVisitor.RtNamespace.cs\" />\r\n    <Compile Include=\"Visitors\\TypeScript\\TypeScriptExportVisitor.RtRaw.cs\" />\r\n    <Compile Include=\"Visitors\\TypeScript\\TypeScriptExportVisitor.RtClass.cs\" />\r\n    <Compile Include=\"Visitors\\TypeScript\\TypeScriptExportVisitor.RtArgument.cs\" />\r\n    <Compile Include=\"Visitors\\TypeScript\\TypeScriptExportVisitor.RtInterface.cs\" />\r\n    <Compile Include=\"Visitors\\TypeScript\\TypeScriptExportVisitor.RtField.cs\" />\r\n    <Compile Include=\"Visitors\\TypeScript\\Types\\TypeScriptExportVisitor.RtAsyncType.cs\" />\r\n    <Compile Include=\"Visitors\\TypeScript\\Types\\TypeScriptExportVisitor.RtSimpleTypeName.cs\" />\r\n    <Compile Include=\"Visitors\\TypeScript\\Types\\TypeScriptExportVisitor.RtTuple.cs\" />\r\n    <Compile Include=\"Visitors\\TypeScript\\Types\\TypeScriptExportVisitor.RtArrayType.cs\" />\r\n    <Compile Include=\"Visitors\\TypeScript\\Types\\TypeScriptExportVisitor.RtDelegateType.cs\" />\r\n    <Compile Include=\"Visitors\\TypeScript\\Types\\TypeScriptExportVisitor.RtDictionaryType.cs\" />\r\n    <Compile Include=\"Visitors\\Typings\\TypingsExportVisitor.RtEnum.cs\" />\r\n    <Compile Include=\"Visitors\\Typings\\TypingsExportVisitor.cs\" />\r\n    <Compile Include=\"Visitors\\Typings\\TypingsExportVisitor.RtClass.cs\" />\r\n    <Compile Include=\"Visitors\\Typings\\TypingsExportVisitor.RtConstructor.cs\" />\r\n    <Compile Include=\"Visitors\\Typings\\TypingsExportVisitor.RtField.cs\" />\r\n    <Compile Include=\"Visitors\\Typings\\TypingsExportVisitor.RtFunction.cs\" />\r\n    <Compile Include=\"Visitors\\Typings\\TypingsExportVisitor.RtModule.cs\" />\r\n    <Compile Include=\"Visitors\\VisitorBase.cs\" />\r\n    <Compile Include=\"Xmldoc\\DocumentationManager.cs\" />\r\n    <Compile Include=\"Xmldoc\\Model\\DocumentationMemberType.cs\" />\r\n    <Compile Include=\"Xmldoc\\Model\\DocumentationMemberExtensions.cs\" />\r\n    <Compile Include=\"Xmldoc\\Model\\Model.cs\" />\r\n    <Compile Include=\"Xmldoc\\Model\\XmlIgnoreInner.cs\" />\r\n    <Compile Include=\"ExportContext\\ExportContext.cs\" />\r\n    <Compile Include=\"FilesOperations.cs\" />\r\n    <Compile Include=\"Generators\\ClassCodeGenerator.cs\" />\r\n    <Compile Include=\"Generators\\ConstructorCodeGenerator.cs\" />\r\n    <Compile Include=\"Generators\\EnumGenerator.cs\" />\r\n    <Compile Include=\"Generators\\FieldCodeGenerator.cs\" />\r\n    <Compile Include=\"Generators\\InterfaceCodeGenerator.cs\" />\r\n    <Compile Include=\"Generators\\ITsCodeGenerator.cs\" />\r\n    <Compile Include=\"Generators\\MethodCodeGenerator.cs\" />\r\n    <Compile Include=\"Generators\\NamespaceCodeGenerator.cs\" />\r\n    <Compile Include=\"Generators\\ParameterCodeGenerator.cs\" />\r\n    <Compile Include=\"Generators\\PropertyCodeGenerator.cs\" />\r\n    <Compile Include=\"Generators\\ContextExtensions.cs\" />\r\n    <Compile Include=\"Properties\\AssemblyInfo.cs\" />\r\n    <Compile Include=\"TsExporter.cs\" />\r\n    <Compile Include=\"TypeExtensions.cs\" />\r\n    <Compile Include=\"TypeResolver.cs\" />\r\n  </ItemGroup>\r\n  <Import Project=\"$(MSBuildToolsPath)\\Microsoft.CSharp.targets\" />\r\n  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. \r\n       Other similar extension points exist, see Microsoft.Common.targets.\r\n  <Target Name=\"BeforeBuild\">\r\n  </Target>\r\n  <Target Name=\"AfterBuild\">\r\n  </Target>\r\n  -->\r\n</Project>"
  },
  {
    "path": "Reinforced.Typings/Sign.cs",
    "content": "﻿using System.Reflection;\n\n[assembly: AssemblyKeyFile(\"Reinforced.snk\")]\n"
  },
  {
    "path": "Reinforced.Typings/TsExporter.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Fluent;\nusing Reinforced.Typings.ReferencesInspection;\n\nnamespace Reinforced.Typings\n{\n    /// <summary>\n    ///     Facade for final TypeScript export. This class supplies assemblies names or assemblies itself as parameter and\n    ///     exports resulting TypeScript file to file or to string\n    /// </summary>\n    public sealed class TsExporter //: MarshalByRefObject\n    {\n        private readonly ExportContext _context;\n\n        /// <summary>\n        /// Obtains export context\n        /// </summary>\n        public ExportContext Context\n        {\n            get { return _context; }\n        }\n\n        private bool _isInitialized;\n        \n       \n        #region Constructors\n\n        /// <summary>\n        ///     Constructs new instance of TypeScript exporter\n        /// </summary>\n        /// <param name=\"context\"></param>\n        public TsExporter(ExportContext context)\n        {\n            _context = context;\n        }\n\n        #endregion\n\n        /// <summary>\n        /// Initializes TS exporter. Reads all types configuration, applies fluent configuration, resolves references\n        /// </summary>\n        public void Initialize()\n        {\n            if (_isInitialized) return;\n\n            _context.Initialize();\n            \n            _isInitialized = true;\n        }\n\n        \n\n        /// <summary>\n        ///     Exports TypeScript source to specified TextWriter according to settings\n        /// </summary>\n        /// <param name=\"fileName\">File name to export files to</param>\n        private ExportedFile ExportTypes(string fileName = null)\n        {\n            var ef = _context.CreateExportedFile(fileName);\n            var gen = _context.Generators.GeneratorForNamespace();\n            var grp = ef.TypesToExport.GroupBy(c => _context.Project.Blueprint(c).GetNamespace(true));\n            var nsp = grp.Where(g => !string.IsNullOrEmpty(g.Key)) // avoid anonymous types\n                .ToDictionary(k => k.Key, v => v.ToList());\n\n            List<RtNamespace> result = new List<RtNamespace>(nsp.Count);\n            foreach (var n in nsp)\n            {\n                var ns = n.Key;\n                if (ns == \"-\") ns = string.Empty;\n                var module = gen.Generate(n.Value, ns, ef.TypeResolver);\n                result.Add(module);\n            }\n            ef.Namespaces = result.ToArray();\n            return ef;\n        }\n\n        /// <summary>\n        ///     Exports TypeScript source according to settings\n        /// </summary>\n        public void Export()\n        {\n            _context.FileOperations.ClearTempRegistry();\n            Initialize();\n\n            _context.Lock();\n            ReferenceProcessorBase refProc = null;\n            if (_context.Global.ReferencesProcessorType != null)\n            {\n                refProc = (ReferenceProcessorBase)Activator.CreateInstance(_context.Global.ReferencesProcessorType);\n            }\n            if (!_context.Hierarchical)\n            {\n                var file = ExportTypes();\n                file.ApplyReferenceProcessor(refProc);\n                _context.FileOperations.Export(_context.TargetFile, file);\n            }\n            else\n            {\n                foreach (var kv in _context.TypesToFilesMap)\n                {\n                    var path = kv.Key;\n                    var file = ExportTypes(kv.Key);\n                    file.ApplyReferenceProcessor(refProc);\n                    _context.FileOperations.Export(path, file);\n                }\n            }\n\n            _context.Unlock();\n            _context.FileOperations.DeployTempFiles();\n        }\n\n\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/TypeBlueprint.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Reflection;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Ast.Dependency;\nusing Reinforced.Typings.Ast.TypeNames;\nusing Reinforced.Typings.Attributes;\n\nnamespace Reinforced.Typings\n{\n    /// <summary>\n    /// Holds all information that is necessary to export particular type\n    /// </summary>\n    public class TypeBlueprint\n    {\n        /// <summary>Initializes a new instance of the <see cref=\"T:System.Object\" /> class.</summary>\n        internal TypeBlueprint(Type t)\n        {\n            _attributesForParameters = new Dictionary<ParameterInfo, TsParameterAttribute>();\n            _attributesForProperties = new Dictionary<PropertyInfo, TsPropertyAttribute>();\n            _attributesForMethods = new Dictionary<MethodInfo, TsFunctionAttribute>();\n            _attributesForFields = new Dictionary<FieldInfo, TsPropertyAttribute>();\n            _attributesForEnumValues = new Dictionary<FieldInfo, TsValueAttribute>();\n\n            Substitutions = new Dictionary<Type, RtTypeName>();\n            GenericSubstitutions = new Dictionary<Type, Func<Type, TypeResolver, RtTypeName>>();\n            References = new List<TsAddTypeReferenceAttribute>();\n            Imports = new List<TsAddTypeImportAttribute>();\n            DecoratorsForMembers = new Dictionary<MemberInfo, List<TsDecoratorAttribute>>();\n            DecoratorsForParameters = new Dictionary<ParameterInfo, List<TsDecoratorAttribute>>();\n            Decorators = new List<TsDecoratorAttribute>();\n            Type = t;\n            ThirdPartyImports = new List<RtImport>();\n            ThirdPartyReferences = new List<RtReference>();\n            TypeAttribute = Type.GetCustomAttribute<TsEnumAttribute>(false)\n                            ?? Type.GetCustomAttribute<TsInterfaceAttribute>(false)\n                            ?? (TsDeclarationAttributeBase)Type.GetCustomAttribute<TsClassAttribute>(false);\n            IsExportedExplicitly = TypeAttribute != null;\n            _thirdPartyAttribute = Type.GetCustomAttribute<TsThirdPartyAttribute>();\n            InitFromAttributes();\n        }\n\n        /// <summary>\n        /// Gets whether specified type is exported explicitly\n        /// </summary>\n        public bool IsExportedExplicitly { get; internal set; }\n\n        private bool _flattenTouched = false;\n        internal void NotifyFlattenTouched()\n        {\n            _flattenTouched = true;\n        }\n\n        /// <summary>\n        /// Path to file that blueprinted type will be exported to\n        /// </summary>\n        public string PathToFile { get; internal set; }\n\n        private void InitFromAttributes()\n        {\n            var typeRefs = Type.GetCustomAttributes<TsAddTypeReferenceAttribute>();\n            References.AddRange(typeRefs);\n            var typeImports = Type.GetCustomAttributes<TsAddTypeImportAttribute>();\n            Imports.AddRange(typeImports);\n\n            InitThirdPartyImports();\n            \n        }\n\n        private void InitThirdPartyImports()\n        {\n            if (ThirdParty != null)\n            {\n                ThirdPartyReferences.Clear();\n                ThirdPartyImports.Clear();\n\n                var tpRefs = Type.GetCustomAttributes<TsThirdPartyReferenceAttribute>();\n                foreach (var a in tpRefs)\n                {\n                    ThirdPartyReferences.Add(a.ToReference());\n                }\n\n                var tpImpots = Type.GetCustomAttributes<TsThirdPartyImportAttribute>();\n                foreach (var a in tpImpots)\n                {\n                    ThirdPartyImports.Add(a.ToImport());\n                }\n            }\n        }\n\n        /// <summary>\n        ///     Type is being exported\n        /// </summary>\n        public Type Type { get; private set; }\n\n        /// <summary>\n        /// Attribute for exporting class\n        /// </summary>\n        public TsDeclarationAttributeBase TypeAttribute\n        {\n            get { return _typeAttribute; }\n            internal set\n            {\n                _typeAttribute = value;\n                InitFromAttributes();\n            }\n        }\n\n        internal RtRaw ConstructorBody { get; set; }\n\n        #region Third-Party type handling\n        private TsThirdPartyAttribute _thirdPartyAttribute;\n        internal List<RtImport> ThirdPartyImports { get; private set; }\n        internal List<RtReference> ThirdPartyReferences { get; private set; }\n\n        /// <summary>\n        /// Gets whether type is used as third-party type only without export being performed\n        /// </summary>\n        public TsThirdPartyAttribute ThirdParty\n        {\n            get { return _thirdPartyAttribute; }\n            set\n            {\n                _thirdPartyAttribute = value;\n                InitFromAttributes();\n            }\n        }\n        #endregion\n\n        private readonly HashSet<object> _ignored = new HashSet<object>();\n\n        /// <summary>\n        /// Set of ignored members\n        /// </summary>\n        internal HashSet<object> Ignored\n        {\n            get { return _ignored; }\n            private set { }\n        }\n\n        private readonly Dictionary<PropertyInfo, TsPropertyAttribute> _attributesForProperties;\n        private readonly Dictionary<MethodInfo, TsFunctionAttribute> _attributesForMethods;\n        private readonly Dictionary<ParameterInfo, TsParameterAttribute> _attributesForParameters;\n        private readonly Dictionary<FieldInfo, TsPropertyAttribute> _attributesForFields;\n        private readonly Dictionary<FieldInfo, TsValueAttribute> _attributesForEnumValues;\n        private TsDeclarationAttributeBase _typeAttribute;\n\n        /// <summary>\n        /// Substitutions\n        /// </summary>\n        public Dictionary<Type, RtTypeName> Substitutions { get; private set; }\n\n        /// <summary>\n        /// Generic substitutions\n        /// </summary>\n        public Dictionary<Type, Func<Type, TypeResolver, RtTypeName>> GenericSubstitutions { get; private set; }\n\n        /// <summary>\n        /// References\n        /// </summary>\n        public List<TsAddTypeReferenceAttribute> References { get; private set; }\n\n        /// <summary>\n        /// Imports\n        /// </summary>\n        public List<TsAddTypeImportAttribute> Imports { get; private set; }\n\n\n        /// <summary>\n        /// Decorators\n        /// </summary>\n        public List<TsDecoratorAttribute> Decorators { get; set; }\n\n        /// <summary>\n        /// Decorators for type members\n        /// </summary>\n        public Dictionary<MemberInfo, List<TsDecoratorAttribute>> DecoratorsForMembers { get; private set; }\n\n        /// <summary>\n        /// Decorators for parameters\n        /// </summary>\n        public Dictionary<ParameterInfo, List<TsDecoratorAttribute>> DecoratorsForParameters { get; private set; }\n\n        /// <summary>\n        /// Retrieves configuration attribute for type member\n        /// </summary>\n        /// <param name=\"member\">Type member</param>\n        /// <param name=\"create\">When true, attribute will be created if not exists</param>\n        /// <returns>Configuration attribute</returns>\n        public TsTypedMemberAttributeBase ForMember(MemberInfo member, bool create = false)\n        {\n            if (member is PropertyInfo) return ForMember((PropertyInfo)member, create);\n            if (member is MethodInfo) return ForMember((MethodInfo)member, create);\n            if (member is FieldInfo) return ForMember((FieldInfo)member, create);\n            return null;\n        }\n\n        /// <summary>\n        /// Retrieves configuration attribute for type member\n        /// </summary>\n        /// <param name=\"member\">Type member</param>\n        /// <param name=\"create\">When true, attribute will be created if not exists</param>\n        /// <returns>Configuration attribute</returns>\n        public T ForMember<T>(MemberInfo member, bool create = false) where T : TsTypedMemberAttributeBase\n        {\n            if (member is PropertyInfo) return (T)(object)ForMember((PropertyInfo)member, create);\n            if (member is MethodInfo) return (T)(object)ForMember((MethodInfo)member, create);\n            if (member is FieldInfo) return (T)(object)ForMember((FieldInfo)member, create);\n            return null;\n        }\n\n\n        /// <summary>\n        /// Retrieves configuration attribute for method\n        /// </summary>\n        /// <param name=\"member\">Type member</param>\n        /// <param name=\"create\">When true, attribute will be created if not exists</param>\n        /// <returns>Configuration attribute</returns>\n        public TsFunctionAttribute ForMember(MethodInfo member, bool create = false)\n        {\n            var v = _attributesForMethods.GetOr(member, () => member.GetCustomAttribute<TsFunctionAttribute>(false));\n            if (create && v == null)\n            {\n                return _attributesForMethods.GetOrCreate(member);\n            }\n            return v;\n        }\n\n        /// <summary>\n        /// Retrieves configuration attribute for method parameter\n        /// </summary>\n        /// <param name=\"member\">Type member</param>\n        /// <param name=\"create\">When true, attribute will be created if not exists</param>\n        /// <returns>Configuration attribute</returns>\n        public TsParameterAttribute ForMember(ParameterInfo member, bool create = false)\n        {\n            var v = _attributesForParameters.GetOr(member, () => member.GetCustomAttribute<TsParameterAttribute>(false));\n            if (create && v == null)\n            {\n                return _attributesForParameters.GetOrCreate(member);\n            }\n            return v;\n        }\n\n        /// <summary>\n        /// Retrieves configuration attribute for property\n        /// </summary>\n        /// <param name=\"member\">Type member</param>\n        /// <param name=\"create\">When true, attribute will be created if not exists</param>\n        /// <returns>Configuration attribute</returns>\n        public TsPropertyAttribute ForMember(PropertyInfo member, bool create = false)\n        {\n            var v = _attributesForProperties.GetOr(member, () => member.GetCustomAttribute<TsPropertyAttribute>(false));\n            if (create && v == null)\n            {\n                return _attributesForProperties.GetOrCreate(member);\n            }\n            return v;\n        }\n\n        /// <summary>\n        /// Retrieves configuration attribute for field\n        /// </summary>\n        /// <param name=\"member\">Type member</param>\n        /// <param name=\"create\">When true, attribute will be created if not exists</param>\n        /// <returns>Configuration attribute</returns>\n        public TsPropertyAttribute ForMember(FieldInfo member, bool create = false)\n        {\n            var v = _attributesForFields.GetOr(member, () => member.GetCustomAttribute<TsPropertyAttribute>(false));\n            if (create && v == null)\n            {\n                return _attributesForFields.GetOrCreate(member);\n            }\n            return v;\n        }\n\n        /// <summary>\n        /// Retrieves configuration attribute for constructor\n        /// </summary>\n        /// <param name=\"member\">Type member</param>\n        /// <returns>Configuration attribute</returns>\n        public TsBaseParamAttribute ForMember(ConstructorInfo member)\n        {\n            return member.GetCustomAttribute<TsBaseParamAttribute>(false);\n        }\n\n        /// <summary>\n        /// Retrieves configuration attribute for enum value\n        /// </summary>\n        /// <param name=\"member\">Type member</param>\n        /// <param name=\"create\">When true, attribute will be created if not exists</param>\n        /// <returns>Configuration attribute</returns>\n        public TsValueAttribute ForEnumValue(FieldInfo member, bool create = false)\n        {\n            var v = _attributesForEnumValues.GetOr(member, () => member.GetCustomAttribute<TsValueAttribute>(false));\n            if (create && v == null)\n            {\n                return _attributesForEnumValues.GetOrCreate(member);\n            }\n            return v;\n        }\n\n        /// <summary>\n        /// Retrieves type's exported fields\n        /// </summary>\n        /// <returns>Array of exported fields</returns>\n        public FieldInfo[] GetExportedFields()\n        {\n            var t = Type;\n            if (IsIgnored()) return new FieldInfo[0];\n            if (t._IsEnum()) return new FieldInfo[0];\n\n\n            var typeAttr = TypeAttribute;\n            var aexpSwith = typeAttr as IAutoexportSwitchAttribute;\n\n            if (aexpSwith != null)\n            {\n                var allMembers = this.GetExportingMembers(typeAttr.FlattenHierarchy, (tp, b) => tp._GetFields(b), typeAttr.FlattenLimiter);\n\n                if (!aexpSwith.AutoExportFields)\n                {\n                    allMembers = allMembers.Where(c => ForMember(c) != null);\n                }\n                return allMembers.ToArray();\n            }\n            return new FieldInfo[0];\n        }\n\n        /// <summary>\n        /// Retrieves type's exported properties\n        /// </summary>\n        /// <returns>Array of exported properties</returns>\n        public PropertyInfo[] GetExportedProperties()\n        {\n            var t = Type;\n            if (IsIgnored()) return new PropertyInfo[0];\n            if (t._IsEnum()) return new PropertyInfo[0];\n\n            var typeAttr = TypeAttribute;\n            var aexpSwith = typeAttr as IAutoexportSwitchAttribute;\n\n            if (aexpSwith != null)\n            {\n                var allMembers = this.GetExportingMembers(typeAttr.FlattenHierarchy, (tp, b) => tp._GetProperties(b), typeAttr.FlattenLimiter);\n\n                if (!aexpSwith.AutoExportProperties)\n                {\n                    allMembers = allMembers.Where(c => ForMember(c) != null);\n                }\n                return allMembers.ToArray();\n            }\n            return new PropertyInfo[0];\n        }\n\n        /// <summary>\n        /// Retrieves type's exported methods\n        /// </summary>\n        /// <returns>Array of exported methods</returns>\n        public MethodInfo[] GetExportedMethods()\n        {\n            var t = Type;\n            if (IsIgnored()) return new MethodInfo[0];\n            if (t._IsEnum()) return new MethodInfo[0];\n\n            var typeAttr = TypeAttribute;\n            var aexpSwith = typeAttr as IAutoexportSwitchAttribute;\n\n            if (aexpSwith != null)\n            {\n                var allMembers = this.GetExportingMembers(typeAttr.FlattenHierarchy, (tp, b) => tp._GetMethods(b).Where(x => !x.IsSpecialName).ToArray(), typeAttr.FlattenLimiter);\n\n                if (!aexpSwith.AutoExportMethods)\n                {\n                    allMembers = allMembers.Where(c => ForMember(c) != null);\n                }\n                return allMembers.Where(c => !c.IsSpecialName).ToArray();\n            }\n            return new MethodInfo[0];\n        }\n\n        #region Ignorance tracking methods\n\n        /// <summary>\n        /// Checks whether type is ignored during export\n        /// </summary>\n        /// <returns>True, when type is ignored. False otherwise</returns>\n        private bool IsIgnored()\n        {\n            return TypeAttribute == null;\n        }\n\n        /// <summary>\n        /// Checks whether constructor is ignored during export\n        /// </summary>\n        /// <returns>True, when constructor is ignored. False otherwise</returns>\n        public bool IsIgnored(ConstructorInfo member)\n        {\n            return (member.GetCustomAttribute<TsIgnoreAttribute>(false) != null);\n        }\n\n        /// <summary>\n        /// Checks whether field is ignored during export\n        /// </summary>\n        /// <returns>True, when field is ignored. False otherwise</returns>\n        public bool IsIgnored(FieldInfo member)\n        {\n            return _ignored.Contains(member) || (member.GetCustomAttribute<TsIgnoreAttribute>() != null);\n        }\n\n        /// <summary>\n        /// Checks whether property is ignored during export\n        /// </summary>\n        /// <returns>True, when property is ignored. False otherwise</returns>\n        public bool IsIgnored(PropertyInfo member)\n        {\n            return _ignored.Contains(member) || (member.GetCustomAttribute<TsIgnoreAttribute>() != null);\n        }\n\n        /// <summary>\n        /// Checks whether parameter is ignored during export\n        /// </summary>\n        /// <returns>True, when parameter is ignored. False otherwise</returns>\n        public bool IsIgnored(ParameterInfo member)\n        {\n            return _ignored.Contains(member) || (member.GetCustomAttribute<TsIgnoreAttribute>() != null);\n        }\n\n        /// <summary>\n        /// Checks whether type member is ignored during export\n        /// </summary>\n        /// <returns>True, when type member is ignored. False otherwise</returns>\n        public bool IsIgnored(MemberInfo member)\n        {\n#if NETCORE\n#else\n            //if (member is Type) return IsIgnored((Type)member);\n#endif\n            if (member is PropertyInfo) return IsIgnored((PropertyInfo)member);\n            if (member is MethodInfo) return IsIgnored((MethodInfo)member);\n            if (member is FieldInfo) return IsIgnored((FieldInfo)member);\n            return false;\n        }\n\n        /// <summary>\n        /// Checks whether method is ignored during export\n        /// </summary>\n        /// <returns>True, when method is ignored. False otherwise</returns>\n        public bool IsIgnored(MethodInfo member)\n        {\n            return _ignored.Contains(member) || (member.GetCustomAttribute<TsIgnoreAttribute>(false) != null);\n        }\n\n        #endregion\n\n\n        internal List<TsDecoratorAttribute> DecoratorsListFor(MemberInfo t)\n        {\n            return DecoratorsForMembers.GetOrCreate(t);\n        }\n\n        internal List<TsDecoratorAttribute> DecoratorsListFor(ParameterInfo t)\n        {\n            return DecoratorsForParameters.GetOrCreate(t);\n        }\n\n\n\n        /// <summary>\n        /// Retrieves decorators for type\n        /// </summary>\n        /// <returns>Set of type's decorators</returns>\n        public IEnumerable<TsDecoratorAttribute> GetDecorators()\n        {\n            var inlineDecorators = Type.GetCustomAttributes<TsDecoratorAttribute>();\n\n            return inlineDecorators.Union(Decorators);\n        }\n\n        /// <summary>\n        /// Retrieves set of decorators for method parameter\n        /// </summary>\n        /// <param name=\"t\">Method's parameter</param>\n        /// <returns>Set of decorators</returns>\n        public IEnumerable<TsDecoratorAttribute> DecoratorsFor(ParameterInfo t)\n        {\n            var inlineDecorators = t.GetCustomAttributes<TsDecoratorAttribute>();\n            var fluentDecorators = DecoratorsForParameters.ContainsKey(t) ? DecoratorsForParameters[t] : null;\n\n            if (fluentDecorators == null) return inlineDecorators;\n            return inlineDecorators.Union(fluentDecorators);\n        }\n\n        /// <summary>\n        /// Retrieves set of decorators for type's member\n        /// </summary>\n        /// <param name=\"t\">Member's parameter</param>\n        /// <returns>Set of decorators</returns>\n        public IEnumerable<TsDecoratorAttribute> DecoratorsFor(MemberInfo t)\n        {\n            var inlineDecorators = t.GetCustomAttributes<TsDecoratorAttribute>();\n            var fluentDecorators = DecoratorsForMembers.ContainsKey(t) ? DecoratorsForMembers[t] : null;\n\n            if (fluentDecorators == null) return inlineDecorators;\n            return inlineDecorators.Union(fluentDecorators);\n        }\n\n        /// <summary>\n        /// Retrieves type's configuration attribute\n        /// </summary>\n        /// <typeparam name=\"T\">Attribute type. Subclass of <see cref=\"TsDeclarationAttributeBase\"/></typeparam>\n        /// <returns>Configuration attribute. May be null</returns>\n        public T Attr<T>() where T : TsDeclarationAttributeBase\n        {\n            return TypeAttribute as T;\n        }\n\n        /// <summary>\n        ///     Conditionally (based on attribute setting) turns member name to camelCase\n        /// </summary>\n        /// <param name=\"member\">Member</param>\n        /// <param name=\"regularName\">Regular property name</param>\n        /// <returns>Property name in camelCase if camelCasing enabled, initial string otherwise</returns>\n        public string CamelCaseFromAttribute(MemberInfo member, string regularName)\n        {\n            var attr = ForMember<TsTypedMemberAttributeBase>(member);\n            if (attr == null) return regularName;\n            if (attr.ShouldBeCamelCased) return ConvertToCamelCase(regularName);\n            return regularName;\n        }\n\n        /// <summary>\n        ///     Conditionally (based on attribute setting) turns member name to PascalCase\n        /// </summary>\n        /// <param name=\"member\">Member</param>\n        /// <param name=\"regularName\">Regular property name</param>\n        /// <returns>Property name in PascalCase if pascalCasing enabled, initial string otherwise</returns>\n        public string PascalCaseFromAttribute(MemberInfo member, string regularName)\n        {\n            var attr = ForMember<TsTypedMemberAttributeBase>(member);\n            if (attr == null) return regularName;\n            if (attr.ShouldBePascalCased) return ConvertToPascalCase(regularName);\n            return regularName;\n        }\n\n        /// <summary>\n        /// Converts string to camelCase\n        /// </summary>\n        /// <param name=\"s\">Source string in any case</param>\n        /// <returns>Resulting string in camelCase</returns>\n        public static string ConvertToCamelCase(string s)\n        {\n            if (string.IsNullOrEmpty(s) || !char.IsUpper(s[0]))\n            {\n                return s;\n            }\n\n            char[] chars = s.ToCharArray();\n\n            for (int i = 0; i < chars.Length; i++)\n            {\n                if (i == 1 && !char.IsUpper(chars[i]))\n                {\n                    break;\n                }\n\n                bool hasNext = i + 1 < chars.Length;\n                if (i > 0 && hasNext && !char.IsUpper(chars[i + 1]))\n                {\n                    // ABCa -> abCa\n                    break;\n                }\n\n                chars[i] = char.ToLowerInvariant(chars[i]);\n            }\n\n            return new string(chars);\n        }\n\n        private string ConvertToPascalCase(string s)\n        {\n            if (!char.IsLetter(s[0])) return s;\n            if (char.IsLower(s[0]))\n            {\n                return char.ToUpper(s[0]) + s.Substring(1);\n            }\n            return s;\n        }\n\n        #region Order\n        /// <summary>\n        ///     Retrieves member order\n        /// </summary>\n        /// <param name=\"element\">Method info</param>\n        /// <returns>Method order</returns>\n        public double GetOrder(MemberInfo element)\n        {\n            if (element is MethodInfo) return GetOrder((MethodInfo)element);\n            if (element is PropertyInfo) return GetOrder((PropertyInfo)element);\n            if (element is FieldInfo) return GetOrder((FieldInfo)element);\n            return 0;\n        }\n\n        /// <summary>\n        ///     Retrieves member order\n        /// </summary>\n        /// <param name=\"element\">Method info</param>\n        /// <returns>Method order</returns>\n        public double GetOrder(MethodInfo element)\n        {\n            var fa = ForMember(element);\n            if (fa != null) return fa.Order;\n            return 0;\n        }\n\n        /// <summary>\n        ///     Retrieves member order\n        /// </summary>\n        /// <param name=\"element\">Method info</param>\n        /// <returns>Method order</returns>\n        public double GetOrder(PropertyInfo element)\n        {\n            var fa = ForMember(element);\n            if (fa != null) return fa.Order;\n            return 0;\n        }\n\n        /// <summary>\n        ///     Retrieves member order\n        /// </summary>\n        /// <param name=\"element\">Method info</param>\n        /// <returns>Method order</returns>\n        public double GetOrder(FieldInfo element)\n        {\n            var fa = ForMember(element);\n            if (fa != null) return fa.Order;\n            return 0;\n        }\n\n        /// <summary>\n        ///     Retrieves type order to appear in results file\n        /// </summary>\n\n        /// <returns>Type name</returns>\n        public double GetOrder()\n        {\n            if (Type._IsEnum())\n            {\n                var te = Attr<TsEnumAttribute>();\n                return te.Order;\n            }\n\n            var tc = Attr<TsClassAttribute>();\n            var ti = Attr<TsInterfaceAttribute>();\n            var order = tc != null ? tc.Order : ti != null ? ti.Order : 0;\n            return order;\n        }\n        #endregion\n\n        #region Names\n\n\n        /// <summary>\n        ///     Retrieves parameter name from corresponding attribute. If attribute not present then takes parameter name via\n        ///     reflection\n        /// </summary>\n        /// <param name=\"element\">Parameter info</param>\n        /// <returns>Parameter name</returns>\n        public string GetName(ParameterInfo element)\n        {\n            var fa = ForMember(element);\n            if (fa != null && !string.IsNullOrEmpty(fa.Name)) return fa.Name;\n            return element.Name;\n        }\n\n        /// <summary>\n        ///     Retrieves type name from type itself or from corresponding Reinforced.Typings attribute\n        /// </summary>\n        /// <param name=\"genericArguments\">Generic arguments to be substituted to type</param>\n        /// <returns>Type name</returns>\n        public RtSimpleTypeName GetName(RtTypeName[] genericArguments = null)\n        {\n            var t = Type;\n            string name = null;\n            if (ThirdParty == null)\n            {\n                if (t._IsEnum())\n                {\n                    var te = Attr<TsEnumAttribute>();\n                    var ns = t.Name;\n                    if (te != null && !string.IsNullOrEmpty(te.Name))\n                    {\n                        ns = te.Name;\n                    }\n\n                    return new RtSimpleTypeName(ns);\n                }\n\n                var tc = Attr<TsClassAttribute>();\n                var ti = Attr<TsInterfaceAttribute>();\n                var nameFromAttr = tc != null ? tc.Name : ti != null ? ti.Name : null;\n                name = (!string.IsNullOrEmpty(nameFromAttr) ? nameFromAttr : t.CleanGenericName());\n                if (ti != null)\n                {\n                    if (ti.AutoI)\n                    {\n                        if (t._IsClass()) name = \"I\" + name;\n                        else if (!name.StartsWith(\"I\")) name = \"I\" + name;\n                    }\n                }\n            }\n            else\n            {\n                name = ThirdParty.Name;\n            }\n\n            if (genericArguments == null) genericArguments = t.SerializeGenericArguments();\n\n            \n            return new RtSimpleTypeName(name, genericArguments);\n        }\n        #endregion\n\n        /// <summary>\n        /// Gets whether type configuration required flattering inheritance hierarchy\n        /// </summary>\n\n        /// <returns>True, when hierarchy must be flatten, false otherwise</returns>\n        public bool IsFlatten()\n        {\n            var tc = Attr<TsClassAttribute>();\n            var ti = Attr<TsInterfaceAttribute>();\n            return tc != null ? tc.FlattenHierarchy : ti != null ? ti.FlattenHierarchy : false;\n        }\n\n        #region Is exported (as)\n\n        /// <summary>\n        ///     Determines should type be exported as interface or not\n        /// </summary>\n\n        /// <returns>True, if supplied type should be exported as interface. False otherwise</returns>\n        public bool IsExportingAsInterface()\n        {\n            return Attr<TsInterfaceAttribute>() != null;\n        }\n\n        /// <summary>\n        ///     Determines should type be exported as class or not\n        /// </summary>\n\n        /// <returns>True, if supplied type should be exported as interface. False otherwise</returns>\n        public bool IsExportingAsClass()\n        {\n            return Attr<TsClassAttribute>() != null;\n        }\n\n        #endregion\n\n        /// <summary>\n        ///     Retrieves type namespace from type itself or from corresponding Typings attribute\n        /// </summary>\n        /// <param name=\"distinguishAutoTypes\">\n        ///     Forces GetNamespace to return \"-\" for interfaces with IncludeInterface = false and\n        ///     null for anonymous types\n        /// </param>\n        /// <returns>Full-qualified namespace name</returns>\n        internal string GetNamespace(bool distinguishAutoTypes = false)\n        {\n            var t = Type;\n            if (t._IsEnum())\n            {\n                var te = Attr<TsEnumAttribute>();\n                if (te == null) return t.Namespace;\n                var ns = te.Namespace;\n                if (!te.IncludeNamespace) return distinguishAutoTypes ? \"-\" : string.Empty;\n                if (!string.IsNullOrEmpty(ns)) return ns;\n                return t.Namespace;\n            }\n            var tc = Attr<TsClassAttribute>();\n            var ti = Attr<TsInterfaceAttribute>();\n            if (tc == null && ti == null) return t.Namespace;\n            var nsFromAttr = tc != null ? tc.Namespace : ti.Namespace;\n            var includeNamespace = tc != null ? tc.IncludeNamespace : ti.IncludeNamespace;\n\n            if (!includeNamespace) return distinguishAutoTypes ? \"-\" : string.Empty;\n            if (!string.IsNullOrEmpty(nsFromAttr)) return nsFromAttr;\n            return t.Namespace;\n        }\n\n\n        /// <summary>\n        /// Obtains substitution for type\n        /// </summary>\n        /// <param name=\"t\">Type to find substitution for</param>\n        /// <param name=\"tr\">Type resolver instance</param>\n        /// <returns>Substitution AST</returns>\n        public RtTypeName Substitute(Type t, TypeResolver tr)\n        {\n            Type genericDef = t._IsGenericType() ? t.GetGenericTypeDefinition() : null;\n            if (Substitutions.ContainsKey(t)) return Substitutions[t];\n            if (genericDef != null)\n            {\n                if (GenericSubstitutions.ContainsKey(genericDef))\n                {\n                    var r = GenericSubstitutions[genericDef];\n                    var ts = r(t, tr);\n                    if (ts != null) return ts;\n                }\n            }\n            return null;\n        }\n\n\n        /// <summary>\n        /// Gets whether type hierarchy can be flatten\n        /// </summary>\n        /// <returns></returns>\n        public bool CanFlatten()\n        {\n            if (_flattenTouched) return false;\n            if (_attributesForProperties.Count > 0) return false;\n            if (_attributesForParameters.Count > 0) return false;\n            if (_attributesForFields.Count > 0) return false;\n            if (_attributesForMethods.Count > 0) return false;\n            if (_attributesForEnumValues.Count > 0) return false;\n            return true;\n        }\n\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/TypeExtensions.cs",
    "content": "﻿using System;\nusing System.Collections;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Threading.Tasks;\nusing Reinforced.Typings.Ast.TypeNames;\nusing Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Exceptions;\n\nnamespace Reinforced.Typings\n{\n    internal static class HashSetExtensions\n    {\n        internal static void AddIfNotExists<T>(this HashSet<T> hashSet, T val)\n        {\n            if (hashSet.Contains(val)) return;\n            hashSet.Add(val);\n        }\n\n\n    }\n\n    /// <summary>\n    ///     Useful extensions for reflection\n    /// </summary>\n    public static class TypeExtensions\n    {\n        internal static object InstanceInternal(this Type t, params object[] parameters)\n        {\n#if NETCOREAPP1_0\n            var dc = t.GetTypeInfo().DeclaredConstructors;\n            var needed = dc.Where(d=>d.GetParameters().Length == parameters.Length).FirstOrDefault();\n            return needed.Invoke(parameters);\n#elif NETSTANDARD1_5\n            var dc = t.GetTypeInfo().DeclaredConstructors;\n            var needed = dc.Where(d=>d.GetParameters().Length == parameters.Length).FirstOrDefault();\n            return needed.Invoke(parameters);\n#elif NETSTANDARD1_6\n            var dc = t.GetTypeInfo().DeclaredConstructors;\n            var needed = dc.Where(d=>d.GetParameters().Length == parameters.Length).FirstOrDefault();\n            return needed.Invoke(parameters);\n#else\n            return Activator.CreateInstance(t, BindingFlags.NonPublic | BindingFlags.Instance, null, parameters, null);\n#endif\n        }\n\n        internal static IEnumerable<Type> _GetTypes(this Assembly a, IWarningsCollector warnings)\n        {\n            try\n            {\n                return a.GetTypes();\n            }\n            catch (ReflectionTypeLoadException e)\n            {\n                foreach (var elo in e.LoaderExceptions)\n                {\n                    warnings.AddWarning(ErrorMessages.RTW0008_TypeloadException.Warn(elo.Message));\n                }\n                return e.Types.Where(t => t != null);\n            }\n\n        }\n\n        internal static T RetrieveOrCreateCustomAttribute<T>(this ICustomAttributeProvider member) where T : Attribute, new()\n        {\n            T proto = null;\n            var attrs = member.GetCustomAttributes(true);\n            foreach (var attribute in attrs)\n            {\n                if (typeof(T)._IsAssignableFrom(attribute.GetType()))\n                {\n                    proto = (T)attribute;\n                }\n            }\n            if (proto == null) proto = new T();\n            return proto;\n        }\n\n#if NETCORE\n        internal static T GetCustomAttribute<T>(this Type t, bool inherit = true) where T : Attribute\n        {\n            return CustomAttributeExtensions.GetCustomAttribute<T>(t.GetTypeInfo(), inherit);\n        }\n        internal static IEnumerable<T> GetCustomAttributes<T>(this Type t, bool inherit = true) where T : Attribute\n        {\n            return CustomAttributeExtensions.GetCustomAttributes<T>(t.GetTypeInfo(), inherit);\n        }\n#endif\n\n        internal static IEnumerable<object> _GetCustomAttributes(this Type t, bool inherit = true)\n        {\n#if NETCORE\n            return t.GetTypeInfo().GetCustomAttributes(inherit);\n#else\n            return t.GetCustomAttributes(inherit);\n#endif\n            \n        }\n\n        public static bool IsReferenceForcedNullable(this MemberInfo member)\n        {\n            byte[] nullableFlag = GetNullableAttributeValue(member);\n            return nullableFlag != null && nullableFlag.Length > 0 && nullableFlag[0] == 2;\n        }\n\n        public static bool IsReferenceForcedNullable(this ParameterInfo member)\n        {\n            byte[] nullableFlag = GetNullableAttributeValue(member);\n            return nullableFlag != null && nullableFlag.Length > 0 && nullableFlag[0] == 2;\n        }\n\n        internal static bool _IsGenericType(this Type t)\n        {\n#if NETCORE\n            return t.GetTypeInfo().IsGenericType;\n#else\n            return t.IsGenericType;\n#endif\n        }\n\n        internal static bool _IsGenericTypeDefinition(this Type t)\n        {\n#if NETCORE\n            return t.GetTypeInfo().IsGenericTypeDefinition;\n#else\n            return t.IsGenericTypeDefinition;\n#endif\n        }\n        internal static Type _BaseType(this Type t)\n        {\n#if NETCORE\n            return t.GetTypeInfo().BaseType;\n#else\n            return t.BaseType;\n#endif\n        }\n        internal static bool _IsEnum(this Type t)\n        {\n#if NETCORE\n            return t.GetTypeInfo().IsEnum;\n#else\n            return t.IsEnum;\n#endif\n        }\n        internal static bool _IsClass(this Type t)\n        {\n#if NETCORE\n            return t.GetTypeInfo().IsClass;\n#else\n            return t.IsClass;\n#endif\n        }\n\n        internal static bool _IsAssignableFrom(this Type t, Type t2)\n        {\n#if NETCORE\n            return t.GetTypeInfo().IsAssignableFrom(t2);\n#else\n            return t.IsAssignableFrom(t2);\n#endif\n        }\n\n        internal static bool _IsAbstract(this Type t)\n        {\n#if NETCORE\n            return t.GetTypeInfo().IsAbstract;\n#else\n            return t.IsAbstract;\n#endif\n        }\n\n        internal static bool _IsInterface(this Type t)\n        {\n#if NETCORE\n            return t.GetTypeInfo().IsInterface;\n#else\n            return t.IsInterface;\n#endif\n        }\n\n        internal static bool _IsArray(this Type t)\n        {\n#if NETCORE\n            return t.GetTypeInfo().IsArray;\n#else\n            return t.IsArray;\n#endif\n        }\n\n        internal static bool _IsReferenceType(this Type t)\n        {\n            return t._IsClass() || t._IsInterface() || t._IsArray() || typeof(string)._IsAssignableFrom(t);\n        }\n\n        internal static IEnumerable<Type> _GetInterfaces(this Type t)\n        {\n#if NETCORE\n            return t.GetTypeInfo().GetInterfaces();\n#else\n            return t.GetInterfaces();\n#endif\n        }\n        internal static FieldInfo[] _GetFields(this Type t, BindingFlags flags)\n        {\n#if NETCORE\n            return t.GetTypeInfo().GetFields(flags);\n#else\n            return t.GetFields(flags);\n#endif\n        }\n\n        internal static FieldInfo[] _GetFields(this Type t)\n        {\n#if NETCORE\n            return t.GetTypeInfo().GetFields();\n#else\n            return t.GetFields();\n#endif\n        }\n\n        internal static FieldInfo _GetField(this Type t, string name)\n        {\n#if NETCORE\n            return t.GetTypeInfo().GetField(name, MembersFlags);\n#else\n            return t.GetField(name, MembersFlags);\n#endif\n        }\n\n        internal static ConstructorInfo[] _GetConstructors(this Type t, BindingFlags flags)\n        {\n#if NETCORE\n            return t.GetTypeInfo().GetConstructors(flags);\n#else\n            return t.GetConstructors(flags);\n#endif\n        }\n\n\n        internal static PropertyInfo[] _GetProperties(this Type t, BindingFlags flags)\n        {\n#if NETCORE\n            return t.GetTypeInfo().GetProperties(flags);\n#else\n            return t.GetProperties(flags);\n#endif\n        }\n\n        internal static MethodInfo[] _GetMethods(this Type t, BindingFlags flags)\n        {\n#if NETCORE\n            return t.GetTypeInfo().GetMethods(flags);\n#else\n            return t.GetMethods(flags);\n#endif\n        }\n\n        internal static MethodInfo _GetMethod(this Type t, string name)\n        {\n#if NETCORE\n            return t.GetTypeInfo().GetMethod(name, MembersFlags);\n#else\n            return t.GetMethod(name, MembersFlags);\n#endif\n        }\n        internal static Type[] _GetGenericArguments(this Type t)\n        {\n#if NETCORE\n            return t.GetTypeInfo().GetGenericArguments();\n#else\n            return t.GetGenericArguments();\n#endif\n        }\n\n        internal static PropertyInfo _GetProperty(this Type t, string name)\n        {\n#if NETCORE\n            return t.GetTypeInfo().GetProperty(name, MembersFlags);\n#else\n            return t.GetProperty(name, MembersFlags | BindingFlags.GetProperty | BindingFlags.SetProperty);\n#endif\n        }\n\n\n        /// <summary>\n        ///     Binding flags for searching all members\n        /// </summary>\n        public const BindingFlags MembersFlags = PublicMembersFlags | BindingFlags.NonPublic;\n\n        /// <summary>\n        ///     Binding flags for searching all members\n        /// </summary>\n        public const BindingFlags PublicMembersFlags =\n            BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static |\n            BindingFlags.DeclaredOnly;\n\n#region Inheritance flatten\n        /// <summary>\n        /// Simple comparer to detect overridden methods\n        /// </summary>\n        private class MethodEqComparer : IEqualityComparer<MethodInfo>\n        {\n            public static readonly MethodEqComparer Instance = new MethodEqComparer();\n\n            public bool Equals(MethodInfo x, MethodInfo y)\n            {\n                if (x == null && y == null) return true;\n                if (x == null && y != null) return false;\n                if (y == null && x != null) return false;\n\n                if (x.Name != y.Name) return false;\n                var xparms = x.GetParameters();\n                var yparms = y.GetParameters();\n                if (xparms.Length != yparms.Length) return false;\n                for (int i = 0; i < xparms.Length; i++)\n                {\n                    if (xparms[i].Name != yparms[i].Name) return false;\n                }\n                return true;\n            }\n\n            public int GetHashCode(MethodInfo obj)\n            {\n                unchecked\n                {\n                    int hashCode = obj.Name.GetHashCode();\n                    var parms = obj.GetParameters();\n                    hashCode = (hashCode * 397) ^ parms.Length;\n                    foreach (var pi in parms)\n                    {\n                        hashCode = (hashCode * 397) ^ pi.Name.GetHashCode();\n                    }\n                    return hashCode;\n                }\n            }\n        }\n\n\n\n        private class NameEqComparer<T> : IEqualityComparer<T> where T : MemberInfo\n        {\n            public static readonly NameEqComparer<T> Instance = new NameEqComparer<T>();\n\n            public bool Equals(T x, T y)\n            {\n                if (x == null && y == null) return true;\n                if (x == null && y != null) return false;\n                if (y == null && x != null) return false;\n\n                if (x.Name != y.Name) return false;\n                return true;\n            }\n\n            public int GetHashCode(T obj) { return obj.Name.GetHashCode(); }\n        }\n\n        private static IEqualityComparer<T> GetInheritanceEqComparer<T>() where T : MemberInfo\n        {\n            if (typeof(T) == typeof(MethodInfo)) return (IEqualityComparer<T>)MethodEqComparer.Instance;\n            return NameEqComparer<T>.Instance;\n        }\n\n        internal static T[] GetInheritedMembers<T>(this Type type, Func<Type, T[]> membersGetter, Type limiter)\n            where T : MemberInfo\n        {\n            var members = new HashSet<T>(GetInheritanceEqComparer<T>());\n\n            var considered = new List<Type>();\n            var queue = new Queue<Type>();\n            considered.Add(type);\n            queue.Enqueue(type);\n            bool limitReached = false;\n            while (queue.Count > 0)\n            {\n                var subType = queue.Dequeue();\n\n                foreach (var subInterface in subType._GetInterfaces())\n                {\n                    if (considered.Contains(subInterface)) continue;\n\n                    considered.Add(subInterface);\n                    queue.Enqueue(subInterface);\n                }\n\n                if (!limitReached)\n                {\n                    var bt = subType._BaseType();\n                    if (bt != null)\n                    {\n                        if (bt == limiter)\n                        {\n                            limitReached = true;\n                        }\n                        else\n                        {\n                            if (considered.Contains(bt)) continue;\n\n                            considered.Add(bt);\n                            queue.Enqueue(bt);\n                        }\n                    }\n                }\n\n                var typeMembers = membersGetter(subType);\n                foreach (var newMember in typeMembers)\n                {\n                    if (!members.Contains(newMember)) members.Add(newMember);\n                }\n            }\n            return members.ToArray();\n        }\n\n        internal static IEnumerable<T> GetExportingMembers<T>(this TypeBlueprint t,\n            bool flattenHierarchy,\n            Func<Type, BindingFlags, T[]> membersGetter,\n            Type limiter,\n            bool publicOnly = false)\n            where T : MemberInfo\n        {\n            var declaredFlags = publicOnly ? PublicMembersFlags : MembersFlags;\n\n            T[] baseSet = null;\n            baseSet = flattenHierarchy ?\n                GetInheritedMembers(t.Type, x => membersGetter(x, declaredFlags), limiter)\n                : membersGetter(t.Type, declaredFlags);\n\n            var allMembers = baseSet.Where(x => (x.GetCustomAttribute<CompilerGeneratedAttribute>() == null) && !t.IsIgnored(x)).OfType<T>();\n            return allMembers.ToArray();\n        }\n\n        internal static IEnumerable<T> GetExportingMembers<T>(this TypeBlueprint t,\n            Func<Type, BindingFlags, T[]> membersGetter,\n            bool publicOnly = false)\n            where T : MemberInfo\n        {\n            var declaredFlags = publicOnly ? PublicMembersFlags : MembersFlags;\n            var flattenHierarchy = t.TypeAttribute.FlattenHierarchy;\n            var limiter = t.TypeAttribute.FlattenLimiter;\n\n            T[] baseSet = null;\n            baseSet = flattenHierarchy ?\n                GetInheritedMembers(t.Type, x => membersGetter(x, declaredFlags), limiter)\n                : membersGetter(t.Type, declaredFlags);\n\n            var allMembers = baseSet.Where(x => (x.GetCustomAttribute<CompilerGeneratedAttribute>() == null) && !t.IsIgnored(x)).OfType<T>();\n            return allMembers.ToArray();\n        }\n\n#endregion\n\n#region IsStatic\n\n        /// <summary>\n        ///     Determines is type is static\n        /// </summary>\n        /// <param name=\"t\">Type</param>\n        /// <returns>True if type is static. False otherwise</returns>\n        public static bool IsStatic(this Type t)\n        {\n#if NETCORE\n            return (t.GetTypeInfo().IsAbstract && t.GetTypeInfo().IsSealed);\n#else\n            return (t.IsAbstract && t.IsSealed);\n#endif\n        }\n\n        /// <summary>\n        ///     Determines is member static or not\n        /// </summary>\n        /// <param name=\"member\">Type member</param>\n        /// <returns>True if member is static. False otherwise</returns>\n        public static bool IsStatic(this MemberInfo member)\n        {\n            if (member is PropertyInfo) return IsStatic((PropertyInfo)member);\n            if (member is MethodInfo) return ((MethodInfo)member).IsStatic;\n            if (member is FieldInfo) return ((FieldInfo)member).IsStatic;\n            return false;\n        }\n\n        /// <summary>\n        ///     Determines is property static or not\n        /// </summary>\n        /// <param name=\"propertyInfo\">Property</param>\n        /// <returns>True if member is static. False otherwise</returns>\n        public static bool IsStatic(this PropertyInfo propertyInfo)\n        {\n            if (propertyInfo.GetMethod != null)\n            {\n                return propertyInfo.GetMethod.IsStatic;\n            }\n\n            if (propertyInfo.SetMethod != null)\n            {\n                return propertyInfo.SetMethod.IsStatic;\n            }\n            return false;\n        }\n\n#endregion\n\n#region Type distinguishing\n\n        /// <summary>\n        ///     Determines is type derived from Nullable or not\n        /// </summary>\n        /// <param name=\"t\">Type</param>\n        /// <returns>True if type is nullable value type. False otherwise</returns>\n        public static bool IsNullable(this Type t)\n        {\n            return (t._IsGenericType() && (t.GetGenericTypeDefinition() == typeof(Nullable<>)));\n        }\n\n        /// <summary>\n        /// Determines if type is one of System.Tuple types set\n        /// </summary>\n        /// <param name=\"t\">Type to check</param>\n        /// <returns>True when type is tuple, false otherwise</returns>\n        public static bool IsTuple(this Type t)\n        {\n            if (!t._IsGenericType()) return false;\n            var gen = t.GetGenericTypeDefinition();\n            if (gen == typeof(System.Tuple<>)) return true;\n            if (gen == typeof(System.Tuple<,>)) return true;\n            if (gen == typeof(System.Tuple<,,>)) return true;\n            if (gen == typeof(System.Tuple<,,,>)) return true;\n            if (gen == typeof(System.Tuple<,,,,>)) return true;\n            if (gen == typeof(System.Tuple<,,,,,>)) return true;\n            if (gen == typeof(System.Tuple<,,,,,,>)) return true;\n            if (gen == typeof(System.Tuple<,,,,,,,>)) return true;\n            if (gen == typeof(System.Tuple<,,,,,,,>)) return true;\n            if (gen.FullName != null && gen.FullName.StartsWith(\"System.ValueTuple`\")) return true;\n\n            return false;\n        }\n\n        /// <summary>\n        ///     Determines if type is Dictionary-like\n        /// </summary>\n        /// <param name=\"t\">Type</param>\n        /// <returns>True if type is derived from dictionary type</returns>\n        public static bool IsDictionary(this Type t)\n        {\n            if (t._IsGenericType())\n            {\n                var tg = t.GetGenericTypeDefinition();\n\n                if (typeof(IDictionary<,>)._IsAssignableFrom(tg)) return true;\n                if (typeof(IReadOnlyDictionary<,>)._IsAssignableFrom(tg)) return true;\n                if (typeof(Dictionary<,>)._IsAssignableFrom(tg)) return true;\n                if (typeof(IDictionary)._IsAssignableFrom(t)) return true;\n            }\n            else\n            {\n                if (typeof(IDictionary)._IsAssignableFrom(t)) return true;\n            }\n            return false;\n        }\n\n        /// <summary>\n        ///     Determines if type is enumerable regardless of generic spec\n        /// </summary>\n        /// <param name=\"t\">Type</param>\n        /// <returns>True if type is enumerable (incl. array type). False otherwise.</returns>\n        public static bool IsEnumerable(this Type t)\n        {\n            if (t.IsArray) return true;\n            if (typeof(IEnumerable)._IsAssignableFrom(t)) return true;\n            if (t._IsGenericType())\n            {\n                var tg = t.GetGenericTypeDefinition();\n                if (typeof(IEnumerable<>)._IsAssignableFrom(tg)) return true;\n            }\n            return false;\n        }\n\n        /// <summary>\n        ///     Determines if supplied type is non-generic enumerable\n        /// </summary>\n        /// <param name=\"t\">Type</param>\n        /// <returns>True if supplied type is nongeneric enumerable. False otherwise</returns>\n        public static bool IsNongenericEnumerable(this Type t)\n        {\n            if (t._IsGenericType() && t.GetGenericTypeDefinition() == typeof(IEnumerable<>)) return false;\n            var interfaces = t._GetInterfaces();\n            var containsEnumerable = interfaces.Contains(typeof(IEnumerable));\n            var containsGenericEnumerable =\n                interfaces.Any(c => c._IsGenericType() && c.GetGenericTypeDefinition() == typeof(IEnumerable<>));\n\n            return containsEnumerable && !containsGenericEnumerable;\n        }\n\n        /// <summary>\n        ///     Determines if supplied type is delegate type\n        /// </summary>\n        /// <param name=\"t\">Type</param>\n        /// <returns>True, if supplied type is delegate, false otherwise</returns>\n        public static bool IsDelegate(this Type t)\n        {\n            if (t._BaseType() == null) return false;\n            return typeof(MulticastDelegate)._IsAssignableFrom(t._BaseType());\n        }\n\n        /// <summary>\n        /// Determines if type is one of System.Tuple types set\n        /// </summary>\n        /// <param name=\"t\">Type to check</param>\n        /// <returns>True when type is tuple, false otherwise</returns>\n        public static bool _IsAsyncType(this Type t)\n        {\n            return t._IsAssignableFrom(typeof(Task)) || (\n                t._IsGenericType()\n                && t._BaseType() != null\n                && t._BaseType()._IsAssignableFrom(typeof(Task))\n\n                // exclude \"object\" as \"Task\" is assignable to it, too\n                && !t._BaseType()._IsAssignableFrom(typeof(Object))\n            );\n        }\n\n#endregion\n\n#region Modifiers\n\n        /// <summary>\n        ///     Returns access modifier for specified field\n        /// </summary>\n        /// <param name=\"fieldInfo\">Field</param>\n        /// <returns>Access modifier string</returns>\n        public static AccessModifier GetModifier(this FieldInfo fieldInfo)\n        {\n            if (fieldInfo.IsPrivate) return AccessModifier.Private;\n            if (fieldInfo.IsFamily) return AccessModifier.Protected;\n            return AccessModifier.Public;\n        }\n\n        /// <summary>\n        ///     Returns access modifier for specified method\n        /// </summary>\n        /// <param name=\"methodInfo\">Method</param>\n        /// <returns>Access modifier string</returns>\n        public static AccessModifier GetModifier(this MethodInfo methodInfo)\n        {\n            if (methodInfo.IsPrivate) return AccessModifier.Private;\n            if (methodInfo.IsFamily) return AccessModifier.Protected;\n            return AccessModifier.Public;\n        }\n\n        /// <summary>\n        ///     Returns access modifier for specified method\n        /// </summary>\n        /// <param name=\"methodInfo\">Method</param>\n        /// <returns>Access modifier string</returns>\n        public static bool IsAsync(this MethodInfo methodInfo)\n        {\n            var ret = methodInfo.ReturnType;\n            return ret._IsAsyncType();\n        }\n\n        /// <summary>\n        ///     Returns access modifier for specified constructor\n        /// </summary>\n        /// <param name=\"constructorInfo\">Constructor</param>\n        /// <returns>Access modifier string</returns>\n        public static AccessModifier GetModifier(this ConstructorInfo constructorInfo)\n        {\n            if (constructorInfo.IsPrivate) return AccessModifier.Private;\n            if (constructorInfo.IsFamily) return AccessModifier.Protected;\n            return AccessModifier.Public;\n        }\n\n        /// <summary>\n        ///     Returns access modifier for specified constructor\n        /// </summary>\n        /// <param name=\"propertyInfo\">Property</param>\n        /// <returns>Access modifier string</returns>\n        public static AccessModifier GetModifier(this PropertyInfo propertyInfo)\n        {\n            if (propertyInfo.GetMethod == null)\n            {\n                return GetModifier(propertyInfo.SetMethod);\n            }\n\n            if (propertyInfo.SetMethod == null)\n            {\n                return GetModifier(propertyInfo.GetMethod);\n            }\n            var getAccessor = GetModifier(propertyInfo.GetMethod);\n            var setAccessor = GetModifier(propertyInfo.SetMethod);\n\n            return getAccessor > setAccessor ? getAccessor : setAccessor;\n        }\n\n        /// <summary>\n        ///     Returns access modifier for specified type member\n        /// </summary>\n        /// <param name=\"member\">Type member</param>\n        /// <returns>Access modifier string</returns>\n        public static AccessModifier GetModifier(this MemberInfo member)\n        {\n            if (member is PropertyInfo) return GetModifier((PropertyInfo)member);\n            if (member is MethodInfo) return GetModifier((MethodInfo)member);\n            if (member is FieldInfo) return GetModifier((FieldInfo)member);\n            return AccessModifier.Public;\n        }\n\n        /// <summary>\n        ///     Converts AccessModifier to corresponding TypeScript source text\n        /// </summary>\n        /// <param name=\"modifier\">Access modifier</param>\n        /// <returns>Access modifier text</returns>\n        public static string ToModifierText(this AccessModifier modifier)\n        {\n            switch (modifier)\n            {\n                case AccessModifier.Private:\n                    return \"private\";\n                case AccessModifier.Protected:\n                    return \"protected\";\n            }\n            return \"public\";\n        }\n\n        /// <summary>\n        ///     Converts AccessModifier to corresponding TypeScript source text\n        /// </summary>\n        /// <param name=\"modifier\">Access modifier</param>\n        /// <returns>Access modifier text</returns>\n        public static string ToModifierOmitPublic(this AccessModifier modifier)\n        {\n            switch (modifier)\n            {\n                case AccessModifier.Private:\n                    return \"private\";\n                case AccessModifier.Protected:\n                    return \"protected\";\n            }\n            return string.Empty;\n        }\n\n#endregion\n\n#region Utility methods\n\n        /// <summary>\n        ///     Retrieves first type argument of type\n        /// </summary>\n        /// <param name=\"t\">Type</param>\n        /// <returns>First type argument</returns>\n        public static Type GetArg(this Type t)\n        {\n            return t._GetGenericArguments()[0];\n        }\n\n        /// <summary>\n        ///     Removes generics postfix (all text after '`') from typename\n        /// </summary>\n        /// <param name=\"t\">Type</param>\n        /// <returns>Clean, genericless name</returns>\n        internal static string CleanGenericName(this Type t)\n        {\n            if (t._IsGenericType())\n            {\n                var name = t.Name;\n                var qidx = name.IndexOf('`');\n                return name.Substring(0, qidx);\n            }\n            return t.Name;\n        }\n\n        internal static RtTypeName[] SerializeGenericArguments(this Type t)\n        {\n            if (!t._IsGenericTypeDefinition()) return new RtTypeName[0];\n            if (t._IsGenericTypeDefinition())\n            {\n                // arranged generic attribute means that generic type is replaced with real one\n                var args = t._GetGenericArguments().Where(g => g.GetCustomAttribute<TsGenericAttribute>() == null);\n                var argsStr = args.Select(c => new RtSimpleTypeName(c.Name)).Cast<RtTypeName>().ToArray();\n                return argsStr;\n            }\n            return new RtTypeName[0];\n        }\n\n        /// <summary>\n        ///     Determines if propercy is \"bounced\".\n        ///     It means property with different accesor's access level\n        /// </summary>\n        /// <param name=\"propertyInfo\">Property</param>\n        /// <returns>True if property has different access levels for accessor</returns>\n        public static bool IsBounceProperty(this PropertyInfo propertyInfo)\n        {\n            var g = propertyInfo.GetMethod;\n            var s = propertyInfo.SetMethod;\n            if ((g == null) || (s == null)) return true;\n            return\n                g.IsPublic != s.IsPublic\n                || g.IsFamily != s.IsFamily\n                || g.IsPrivate != s.IsPrivate;\n        }\n\n        internal static MethodBase GetMethodWithSameParameters(MethodBase[] methodsSet, Type[] parameters)\n        {\n            MethodBase result = null;\n            foreach (var method in methodsSet)\n            {\n                var methodParams = method.GetParameters();\n                if (methodParams.Length != parameters.Length) continue;\n\n                var parametersMatch = true;\n                for (var i = 0; i < parameters.Length; i++)\n                {\n                    if (parameters[i] != methodParams[i].ParameterType)\n                    {\n                        parametersMatch = false;\n                        break;\n                    }\n                }\n                if (parametersMatch)\n                {\n                    result = method;\n                    break;\n                }\n            }\n            return result;\n        }\n\n#endregion\n\n        /// <summary>\n        /// Reads the new compiler specific nullable attribute of the parameter or its parent scopes.\n        /// </summary>\n        /// <param name=\"member\">The parameter to check for the availability of a nullable attribute.</param>\n        /// <returns>the value of the first attribute to find or <c>null</c> if none is available.</returns>\n        public static byte[] GetNullableAttributeValue(this ParameterInfo member)\n        {\n            // non reference types will be converted to Nullable<> if they are nullable.\n            // C# 8.0 nullable flag just changes the way reference types are handled. If enabled, then they are\n            // not implicitly nullable anymore!\n            if (member?.ParameterType == null || !member.ParameterType._IsReferenceType())\n            {\n                return null;\n            }\n\n            return GetNullableAttributeValue(member.GetCustomAttributes(), false) ??\n                   GetNullableAttributeValue(member.Member.GetCustomAttributes(), true) ??\n                   GetNullableAttributeValue(member.Member.DeclaringType._GetCustomAttributes(true), true);\n        }\n\n\n        /// <summary>\n        /// Reads the new compiler specific nullable attribute of a property or field or their parent scopes.\n        /// </summary>\n        /// <param name=\"member\">The property or field to check for the availability of a nullable attribute.</param>\n        /// <returns>the value of the first attribute to find or <c>null</c> if none is available.</returns>\n        public static byte[] GetNullableAttributeValue(this MemberInfo member)\n        {\n            Type memberType = member is PropertyInfo propertyInfo ? propertyInfo.PropertyType : (\n                member is FieldInfo fieldInfo ? fieldInfo.FieldType : null\n            );\n\n            if (memberType == null || !memberType._IsReferenceType())\n            {\n                return null;\n            }\n\n            return GetNullableAttributeValue(member.GetCustomAttributes(true), false) \n                   ?? GetNullableAttributeValue(member.DeclaringType._GetCustomAttributes(true), true);\n        }\n\n        private static byte[] GetNullableAttributeValue(IEnumerable<object> attributes, bool fromParent)\n        {\n            if (attributes == null) return null;\n\n            // need to retrieve all attributes and find by class name.\n            // see: http://code.fitness/post/2019/02/nullableattribute.html\n            // https://github.com/dotnet/roslyn/blob/master/docs/features/nullable-metadata.md\n            foreach(var customAttribute in attributes)\n            {\n                if (customAttribute is Attribute nullableAttribute) \n                {\n                    bool isNullableAttribute = string.Equals(\n                        customAttribute.GetType().FullName, \n                        \"System.Runtime.CompilerServices.NullableAttribute\",\n                        StringComparison.OrdinalIgnoreCase\n                    ); \n\n                    bool isNullableContextAttribute = fromParent && !isNullableAttribute && string.Equals(\n                       customAttribute.GetType().FullName, \n                       \"System.Runtime.CompilerServices.NullableContextAttribute\",\n                       StringComparison.OrdinalIgnoreCase\n                    );\n\n                    if (!isNullableAttribute && !isNullableContextAttribute)\n                    {\n                        continue;\n                    }\n\n                    FieldInfo flagField = isNullableAttribute\n                        ? nullableAttribute.GetType().GetRuntimeField(\"NullableFlags\")\n                        : nullableAttribute.GetType().GetRuntimeField(\"Flag\");\n                        \n                    object flagsData = flagField?.GetValue(nullableAttribute);\n                    byte[] flags = flagsData is byte[] flagsDataBytes ? flagsDataBytes : null;\n                    flags = flags is null && flagsData is byte flagsDataSingleByte ?\n                        new byte[] {flagsDataSingleByte} : flags;\n\n                    return flags != null && flags.Length > 0 ? flags : null;\n                }\n            }\n\n            return null;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/TypeResolver.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Reflection;\nusing System.Threading.Tasks;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Ast.TypeNames;\nusing Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Exceptions;\n\nnamespace Reinforced.Typings\n{\n    /// <summary>\n    ///     Type resolver. It is helper class to convert source types, members and parameter names to typescript ones\n    /// </summary>\n    public sealed class TypeResolver\n    {\n        private static readonly RtSimpleTypeName AnyType = new RtSimpleTypeName(\"any\");\n        private static readonly RtSimpleTypeName NumberType = new RtSimpleTypeName(\"number\");\n        private static readonly RtSimpleTypeName StringType = new RtSimpleTypeName(\"string\");\n        private static readonly RtSimpleTypeName UnknownType = new RtSimpleTypeName(\"unknown\");\n\n        /// <summary>\n        /// Hash set of all numeric types\n        /// </summary>\n        public static readonly HashSet<Type> NumericTypes = new HashSet<Type>(new[]\n        {\n            typeof (byte),\n            typeof (sbyte),\n            typeof (short),\n            typeof (ushort),\n            typeof (int),\n            typeof (uint),\n            typeof (long),\n            typeof (ulong),\n            typeof (float),\n            typeof (double),\n            typeof (decimal),\n            typeof (byte?),\n            typeof (sbyte?),\n            typeof (short?),\n            typeof (ushort?),\n            typeof (int?),\n            typeof (uint?),\n            typeof (long?),\n            typeof (ulong?),\n            typeof (float?),\n            typeof (double?),\n            typeof (decimal?)\n        });\n\n        /// <summary>\n        /// Hash set of all integer types\n        /// </summary>\n        public static readonly HashSet<Type> IntegerTypes = new HashSet<Type>(new[]\n        {\n            typeof (byte),\n            typeof (sbyte),\n            typeof (short),\n            typeof (ushort),\n            typeof (int),\n            typeof (uint),\n            typeof (long),\n            typeof (ulong),\n            typeof (byte?),\n            typeof (sbyte?),\n            typeof (short?),\n            typeof (ushort?),\n            typeof (int?),\n            typeof (uint?),\n            typeof (long?),\n            typeof (ulong?)\n        });\n\n        private readonly Dictionary<Type, RtTypeName> _resolveCache = new Dictionary<Type, RtTypeName>\n        {\n            {typeof (object), AnyType},\n            {typeof (void), new RtSimpleTypeName(\"void\")},\n            {typeof (string), StringType},\n            {typeof (char),StringType},\n            {typeof (bool), new RtSimpleTypeName(\"boolean\")},\n            {typeof (byte), NumberType},\n            {typeof (sbyte), NumberType},\n            {typeof (short), NumberType},\n            {typeof (ushort), NumberType},\n            {typeof (int), NumberType},\n            {typeof (uint), NumberType},\n            {typeof (long), NumberType},\n            {typeof (ulong), NumberType},\n            {typeof (float), NumberType},\n            {typeof (double), NumberType},\n            {typeof (decimal), NumberType}\n        };\n\n        private readonly RtSimpleTypeName _anyOrUnknown;\n\n        private ExportContext Context\n        {\n            get { return _file.Context; }\n        }\n\n        private readonly ExportedFile _file;\n\n        /// <summary>\n        ///     Constructs new type resolver\n        /// </summary>\n        internal TypeResolver(ExportedFile file)\n        {\n            _file = file;\n\n            _anyOrUnknown = _file.Context.Global.UnresolvedToUnknown\n                        ? UnknownType\n                        : AnyType;            \n        }\n\n        private RtTypeName[] GetConcreteGenericArguments(Type t, Dictionary<string, RtTypeName> materializedGenerics = null)\n        {\n            if (!t._IsGenericType()) return new RtTypeName[0];\n            var args = t._GetGenericArguments();\n            if (materializedGenerics == null) return args.Select(ResolveTypeName).ToArray();\n            else\n            {\n                List<RtTypeName> result = new List<RtTypeName>();\n                foreach (var type in args)\n                {\n                    if (materializedGenerics.ContainsKey(type.Name)) result.Add(materializedGenerics[type.Name]);\n                    else result.Add(ResolveTypeName(type));\n                }\n                return result.ToArray();\n            }\n        }\n\n        private RtTypeName Cache(Type t, RtTypeName name)\n        {\n            _resolveCache[t] = name;\n            return name;\n        }\n\n        internal RtTypeName ResolveTypeName(Type t, Dictionary<string, RtTypeName> materializedGenerics)\n        {\n            if (materializedGenerics == null) return ResolveTypeName(t);\n\n            try\n            {\n                return ResolveTypeNameInner(t, materializedGenerics);\n            }\n            catch (Exception ex)\n            {\n                ErrorMessages.RTE0005_TypeResolvationError.Throw(t.FullName, ex.Message);\n                return null; // unreacheable\n            }\n        }\n\n        /// <summary>\n        ///     Returns typescript-friendly type name node for specified type.\n        ///     This method successfully handles dictionaries, IEnumerables, arrays, another TsExport-ed types, void, delegates,\n        ///     most of CLR built-in types, parametrized types etc.\n        ///     It also considers Ts*-attributes while resolving type names\n        ///     If it cannot handle anything then it will return \"any\"\n        /// </summary>\n        /// <param name=\"t\">Specified type</param>\n        /// <returns>Typescript-friendly type name</returns>\n        public RtTypeName ResolveTypeName(Type t)\n        {\n            return ResolveTypeName(t, true);\n        }\n\n\n        /// <summary>\n        ///     Returns typescript-friendly type name node for specified type.\n        ///     This method successfully handles dictionaries, IEnumerables, arrays, another TsExport-ed types, void, delegates,\n        ///     most of CLR built-in types, parametrized types etc.\n        ///     It also considers Ts*-attributes while resolving type names\n        ///     If it cannot handle anything then it will return \"any\"\n        /// </summary>\n        /// <param name=\"t\">Specified type</param>\n        /// <param name=\"usePromiseType\">if true, then async types like \"Task\" are supported and translated to \"Promise\".\n        /// Otherwise the generics value of \"Task\" is used or \"void\".</param>\n        /// <returns>Typescript-friendly type name</returns>\n        public RtTypeName ResolveTypeName(Type t, bool usePromiseType)\n        {\n            try\n            {\n                return ResolveTypeNameInner(t, null, usePromiseType);\n            }\n            catch (Exception ex)\n            {\n                ErrorMessages.RTE0005_TypeResolvationError.Throw(t.FullName, ex.Message);\n                return null; // unreacheable\n            }\n        }\n\n\n        internal RtTypeName ResolveTypeNameInner(Type t, Dictionary<string, RtTypeName> materializedGenerics = null, bool usePromiseType = true)\n        {\n            var substitution = Context.Project.Substitute(t, this);\n            if (substitution != null) return substitution; // order important!\n\n            if (Context.CurrentBlueprint != null)\n            {\n                var localSubstitution = Context.CurrentBlueprint.Substitute(t, this);\n                if (localSubstitution != null) return localSubstitution;\n            }\n            if (t.IsGenericParameter)\n            {\n                var genAt = t.GetCustomAttribute<TsGenericAttribute>(false);\n                if (genAt != null)\n                {\n                    if (genAt.StrongType != null) return ResolveTypeName(genAt.StrongType);\n                    if (genAt.Type != null) return new RtSimpleTypeName(genAt.Type);\n                }\n                return new RtSimpleTypeName(t.Name);\n            }\n\n            if (materializedGenerics == null && _resolveCache.ContainsKey(t)) return _resolveCache[t];\n\n            var bp = Context.Project.Blueprint(t, false);\n            if (bp != null && bp.ThirdParty != null)\n            {\n                var result = bp.GetName(bp.IsExportedExplicitly ? null : GetConcreteGenericArguments(t, materializedGenerics));\n                if (Context.Global.UseModules) _file.EnsureImport(t, result.TypeName);\n                _file.EnsureReference(t);\n                return Cache(t, result);\n            }\n            else\n            {\n                var declaration = bp == null ? null : bp.TypeAttribute;\n                if (declaration != null)\n                {\n                    var ns = t.Namespace;\n                    if (!string.IsNullOrEmpty(declaration.Namespace)) ns = declaration.Namespace;\n                    if (!declaration.IncludeNamespace) ns = string.Empty;\n                    var result = bp.GetName(bp.IsExportedExplicitly ? null : GetConcreteGenericArguments(t, materializedGenerics));\n\n                    if (Context.Global.UseModules)\n                    {\n                        var import = _file.EnsureImport(t, result.TypeName);\n                        if (Context.Global.DiscardNamespacesWhenUsingModules) ns = string.Empty;\n                        if (import == null || !import.IsWildcard)\n                        {\n                            result.Prefix = ns;\n                            return Cache(t, result);\n                        }\n\n                        result.Prefix = string.IsNullOrEmpty(ns)\n                            ? import.WildcardAlias\n                            : string.Format(\"{0}.{1}\", import.WildcardAlias, ns);\n                        return Cache(t, result);\n                    }\n                    else\n                    {\n                        _file.EnsureReference(t);\n                        if (!string.IsNullOrEmpty(declaration.Namespace)) ns = declaration.Namespace;\n                        result.Prefix = ns;\n                        return Cache(t, result);\n                    }\n                }\n            }\n\n            if (t.IsNullable())\n            {\n                return ResolveTypeName(t.GetArg());\n            }\n            if (t.IsTuple())\n            {\n                var args = t._GetGenericArguments().Select(ResolveTypeName);\n                return Cache(t, new RtTuple(args));\n            }\n            if (t.IsDictionary())\n            {\n                if (!t._IsGenericType())\n                {\n                    Context.AddWarning(ErrorMessages.RTW0007_InvalidDictionaryKey.Warn(AnyType, typeof(object)));\n                    return Cache(t, new RtDictionaryType(AnyType, AnyType));\n                }\n                var gargs = t._GetGenericArguments();\n                bool isKeyEnum = gargs[0]._IsEnum();\n                var key = ResolveTypeName(gargs[0]);\n                if (!NumberType.Equals(key) && !StringType.Equals(key) && !isKeyEnum)\n                {\n                    Context.AddWarning(ErrorMessages.RTW0007_InvalidDictionaryKey.Warn(key, gargs[0]));\n                }\n                var value = ResolveTypeName(gargs[1]);\n                return Cache(t, new RtDictionaryType(key, value, isKeyEnum));\n            }\n            if (t.IsNongenericEnumerable())\n            {\n                return Cache(t, new RtArrayType(AnyType));\n            }\n            if (t.IsEnumerable())\n            {\n                if (t.IsArray)\n                {\n                    return Cache(t, new RtArrayType(ResolveTypeName(t.GetElementType())));\n                }\n                var enumerable =\n                    t._GetInterfaces()\n                        .FirstOrDefault(c => c._IsGenericType() && c.GetGenericTypeDefinition() == typeof(IEnumerable<>));\n                if (enumerable == null)\n                {\n                    if (t._IsGenericType() && t.GetGenericTypeDefinition() == typeof(IEnumerable<>)) enumerable = t;\n                }\n                if (enumerable == null) return Cache(t, new RtArrayType(AnyType));\n                return Cache(t, new RtArrayType(ResolveTypeName(enumerable.GetArg())));\n            }\n            if (t._IsAsyncType())\n            {\n                var deliveredTypeOfTask =\n                    t._IsGenericType() ? ResolveTypeName(t.GetArg(), usePromiseType) : ResolveTypeName(typeof(void));\n\n                if (usePromiseType || Context.Global.AutoAsync)\n                {\n                    return Cache(t, new RtAsyncType(deliveredTypeOfTask));\n                }\n                else\n                {\n                    // Unfold the generics value of the task but do NOT cache. Caching would interfere with\n                    // parameter resolving, which always uses promise type.\n                    return deliveredTypeOfTask;\n                }\n            }\n\n            if (typeof(MulticastDelegate)._IsAssignableFrom(t._BaseType()))\n            {\n                var methodInfo = t._GetMethod(\"Invoke\");\n                return Cache(t, ConstructFunctionType(methodInfo, materializedGenerics));\n            }\n\n\n            if (t._IsGenericType() && !t._IsGenericTypeDefinition())\n            {\n                var def = t.GetGenericTypeDefinition();\n                var tsFriendly = ResolveTypeNameInner(def) as RtSimpleTypeName;\n                if (tsFriendly != null && tsFriendly != AnyType && tsFriendly != UnknownType)\n                {\n                    var parametrized = new RtSimpleTypeName(tsFriendly.TypeName,\n                        t._GetGenericArguments().Select(c => ResolveTypeNameInner(c, null)).ToArray())\n                    {\n                        Prefix = tsFriendly.Prefix\n                    };\n                    return Cache(t, parametrized);\n                }\n\n            }\n\n            if (t._IsEnum())\n            {\n                return Cache(t, NumberType);\n            }\n\n            Context.AddWarning(ErrorMessages.RTW0003_TypeUnknown.Warn(t.FullName, _anyOrUnknown));\n\n            return Cache(t, _anyOrUnknown);\n        }\n\n        private RtDelegateType ConstructFunctionType(MethodInfo methodInfo, Dictionary<string, RtTypeName> materializedGenerics = null)\n        {\n            var retType = ResolveTypeName(methodInfo.ReturnType, materializedGenerics);\n            var result = retType;\n\n            var argAggreagtor = 0;\n            List<RtArgument> arguments = new List<RtArgument>();\n            foreach (var parameterInfo in methodInfo.GetParameters())\n            {\n                var argName = argAggreagtor > 0 ? \"arg\" + argAggreagtor : \"arg\";\n                var typeName = ResolveTypeName(parameterInfo.ParameterType, materializedGenerics);\n                arguments.Add(new RtArgument() { Identifier = new RtIdentifier(argName), Type = typeName });\n                argAggreagtor++;\n            }\n\n            return new RtDelegateType(arguments.ToArray(), result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Visitors/TextExportingVisitor.cs",
    "content": "﻿using System.IO;\nusing System.Text;\nusing Reinforced.Typings.Ast.Dependency;\n\n#pragma warning disable 1591\n\nnamespace Reinforced.Typings.Visitors\n{\n    public abstract class TextExportingVisitor : VisitorBase\n    {\n        private readonly TextWriter _writer;\n\n        private int _tabsCount;\n        private string _tabsLine;\n        private readonly string _tabulation;\n        protected TextWriter Writer { get { return _writer; } }\n\n        /// <summary>\n        /// Gets current export context\n        /// </summary>\n        protected ExportContext ExportContext { get; private set; }\n\n        protected TextExportingVisitor(TextWriter writer, ExportContext exportContext)\n        {\n            _writer = writer;\n            _tabulation = exportContext.Global.TabSymbol;\n            ExportContext = exportContext;\n        }\n\n        private string TabLine(int count)\n        {\n            StringBuilder sb = new StringBuilder();\n            for (int i = 0; i < count; i++)\n            {\n                sb.Append(_tabulation);\n            }\n            return sb.ToString();\n        }\n\n        protected void Tab()\n        {\n            _tabsCount++;\n            _tabsLine = TabLine(_tabsCount);\n        }\n\n        protected void UnTab()\n        {\n            if (_tabsCount > 0) _tabsCount--;\n            _tabsLine = TabLine(_tabsCount);\n        }\n\n        protected void Indent()\n        {\n            AppendTabs();\n        }\n\n        protected void AppendTabs()\n        {\n            _writer.Write(_tabsLine);\n        }\n\n        public void Br()\n        {\n            _writer.WriteLine();\n        }\n\n        protected void WriteLines(string str)\n        {\n            var result = str.Split('\\n');\n            foreach (var s in result)\n            {\n                AppendTabs();\n                _writer.WriteLine(s.Replace(\"\\n\", null).Replace(\"\\r\", null));\n            }\n        }\n\n        protected void WriteLines(string format, params object[] args)\n        {\n            var formatted = string.Format(format, args);\n            var result = formatted.Split('\\n');\n            foreach (var s in result)\n            {\n                AppendTabs();\n                _writer.Write(s.Replace(\"\\n\", null).Replace(\"\\r\", null));\n                _writer.WriteLine();\n            }\n        }\n\n        protected void Write(string text)\n        {\n            _writer.Write(text);\n        }\n        protected void WriteLine(string text)\n        {\n            _writer.WriteLine(text);\n        }\n\n        public override void VisitFile(ExportedFile file)\n        {\n            bool hasReferences = false, hasImports = false;\n\n            foreach (var rtReference in file.FinalReferences)\n            {\n                Visit(rtReference);\n                hasReferences = true;\n            }\n\n            foreach (var rtImport in file.FinalImports)\n            {\n                Visit(rtImport);\n                hasImports = true;\n            }\n            if (hasReferences || hasImports) Br();\n\n            foreach (var fileNamespace in file.Namespaces)\n            {\n                Visit(fileNamespace);\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Visitors/TypeScript/TypeScriptExportVisitor.Dependencies.cs",
    "content": "using Reinforced.Typings.Ast.Dependency;\nusing Reinforced.Typings.Ast.TypeNames;\n\n#pragma warning disable 1591\n\nnamespace Reinforced.Typings.Visitors.TypeScript\n{\n    partial class TypeScriptExportVisitor\n    {\n        public override void Visit(RtImport node)\n        {\n            Write(\"import \");\n            if (node.Target != null)\n            {\n                Write(node.Target);\n                Write(\" \");\n                if (node.IsRequire)\n                {\n                    WriteLine(string.Format(\"= require('{0}');\", node.From));\n                }\n                else\n                {\n                    WriteLine(string.Format(\"from '{0}';\", node.From));\n                }\n            }\n            else\n            {\n                WriteLine(string.Format(\"'{0}';\", node.From));\n            }\n            \n        }\n\n        public override void Visit(RtReference node)\n        {\n            WriteLine(string.Format(\"///<reference path=\\\"{0}\\\"/>\", node.Path));\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Visitors/TypeScript/TypeScriptExportVisitor.RtArgument.cs",
    "content": "﻿using Reinforced.Typings.Ast;\n#pragma warning disable 1591\nnamespace Reinforced.Typings.Visitors.TypeScript\n{\n    partial class TypeScriptExportVisitor\n    {\n        public override void Visit(RtArgument node)\n        {\n            if (node == null) return;\n            Decorators(node);\n            if (node.IsVariableParameters) Write(\"...\");\n            Visit(node.Identifier);\n\n            // if a default value is used, then the parameter may be omitted as the default value is in place.\n            if (Context == WriterContext.Interface && !node.Identifier.IsNullable && !string.IsNullOrEmpty(node.DefaultValue))\n            {\n                Write(\"?\");\n            }\n\n            Write(\": \");\n            Visit(node.Type);\n            if (Context != WriterContext.Interface && !string.IsNullOrEmpty(node.DefaultValue))\n            {\n                Write(\" = \");\n                Write(node.DefaultValue);\n            }\n        }\n\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Visitors/TypeScript/TypeScriptExportVisitor.RtClass.cs",
    "content": "﻿using System.Linq;\nusing Reinforced.Typings.Ast;\n#pragma warning disable 1591\nnamespace Reinforced.Typings.Visitors.TypeScript\n{\n    partial class TypeScriptExportVisitor\n    {\n        public override void Visit(RtClass node)\n        {\n            if (node == null) return;\n            Visit(node.Documentation);\n            var prev = Context;\n            Context = WriterContext.Class;\n            AppendTabs();\n            Decorators(node);\n            if (node.Export) Write(\"export \");\n            if (node.Abstract) Write(\"abstract \");\n            Write(\"class \");\n            Visit(node.Name);\n            if (node.Extendee != null)\n            {\n                Write(\" extends \");\n                Visit(node.Extendee);\n            }\n            if (node.Implementees.Count > 0)\n            {\n                Write(\" implements \");\n                SequentialVisit(node.Implementees, \", \");\n            }\n            Br(); AppendTabs();\n            Write(\"{\"); Br();\n            Tab();\n            var members = DoSortMembers(node.Members);\n            foreach (var rtMember in members)\n            {\n                Visit(rtMember);\n            }\n            UnTab();\n            AppendTabs(); WriteLine(\"}\");\n            Context = prev;\n        }\n\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Visitors/TypeScript/TypeScriptExportVisitor.RtConstructor.cs",
    "content": "using System;\nusing Reinforced.Typings.Ast;\n#pragma warning disable 1591\nnamespace Reinforced.Typings.Visitors.TypeScript\n{\n    partial class TypeScriptExportVisitor\n    {\n        public override void Visit(RtConstructor node)\n        {\n            if (node == null) return;\n            if (Context == WriterContext.Interface) return;\n            Visit(node.Documentation);\n            AppendTabs();\n            Write(\"constructor (\");\n            SequentialVisit(node.Arguments, \", \");\n            Write(\")\");\n            if (node.NeedsSuperCall && node.Body == null)\n            {\n                string ncp = string.Empty;\n                if (node.SuperCallParameters != null) ncp = string.Join(\", \", node.SuperCallParameters);\n                node.Body = new RtRaw(String.Format(\"super({0});\", ncp));\n            }\n\n            if (node.Body != null && !string.IsNullOrEmpty(node.Body.RawContent))\n            {\n                CodeBlock(node.Body);\n            }\n            else\n            {\n                EmptyBody(null);\n            }\n\n            if (!string.IsNullOrEmpty(node.LineAfter))\n            {\n                AppendTabs();\n                Write(node.LineAfter);\n                Br();\n            }\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Visitors/TypeScript/TypeScriptExportVisitor.RtEnum.cs",
    "content": "using Reinforced.Typings.Ast;\n#pragma warning disable 1591\nnamespace Reinforced.Typings.Visitors.TypeScript\n{\n    partial class TypeScriptExportVisitor\n    {\n        public override void Visit(RtEnum node)\n        {\n            if (node == null) return;\n            Visit(node.Documentation);\n            var prev = Context;\n            Context = WriterContext.Enum;\n            AppendTabs();\n            if (node.Export) Write(\"export \");\n            if (node.IsConst) Write(\"const \");\n            Write(\"enum \");\n            Visit(node.EnumName);\n            WriteLine(\" {\");\n            Tab();\n            var arr = node.Values.ToArray();\n            for (int i = 0; i < arr.Length; i++)\n            {\n                Visit(arr[i]);\n                if (i != arr.Length - 1) WriteLine(\",\");\n                if (!string.IsNullOrEmpty(arr[i].LineAfter))\n                {\n                    AppendTabs();\n                    Write(arr[i].LineAfter);\n                    Br();\n                }\n            }\n            WriteLine(string.Empty);\n            UnTab();\n            AppendTabs();\n            WriteLine(\"}\");\n            Context = prev;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Visitors/TypeScript/TypeScriptExportVisitor.RtEnumValue.cs",
    "content": "using Reinforced.Typings.Ast;\n#pragma warning disable 1591\nnamespace Reinforced.Typings.Visitors.TypeScript\n{\n    partial class TypeScriptExportVisitor\n    {\n        public override void Visit(RtEnumValue node)\n        {\n            if (node == null) return;\n            Visit(node.Documentation);\n            AppendTabs();\n            Write(node.EnumValueName);\n            if (!string.IsNullOrEmpty(node.EnumValue))\n            {\n                Write(\" = \");\n                Write(node.EnumValue);\n            }\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Visitors/TypeScript/TypeScriptExportVisitor.RtField.cs",
    "content": "﻿using Reinforced.Typings.Ast;\n#pragma warning disable 1591\nnamespace Reinforced.Typings.Visitors.TypeScript\n{\n    partial class TypeScriptExportVisitor\n    {\n        public override void Visit(RtField node)\n        {\n            if (node == null) return;\n            Visit(node.Documentation);\n            AppendTabs();\n            if (Context != WriterContext.Interface)\n            {\n                Decorators(node);\n                Modifiers(node);\n            }\n            Visit(node.Identifier);\n            Write(\": \");\n            Visit(node.Type);\n            if (!string.IsNullOrEmpty(node.InitializationExpression))\n            {\n                Write(\" = \");\n                Write(node.InitializationExpression);\n            }\n            Write(\";\");\n            Br();\n            if (!string.IsNullOrEmpty(node.LineAfter))\n            {\n                AppendTabs();\n                Write(node.LineAfter);\n                Br();\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Visitors/TypeScript/TypeScriptExportVisitor.RtFunction.cs",
    "content": "using Reinforced.Typings.Ast;\n#pragma warning disable 1591\nnamespace Reinforced.Typings.Visitors.TypeScript\n{\n    partial class TypeScriptExportVisitor\n    {\n        public override void Visit(RtFunction node)\n        {\n            if (node == null) return;\n            Visit(node.Documentation);\n            AppendTabs();\n            if (Context != WriterContext.Interface)\n            {\n                Decorators(node);\n                Modifiers(node);\n                if (node.IsAsync)\n                {\n                    Write(\"async \");\n                }\n            }\n            Visit(node.Identifier);\n            Write(\"(\");\n            SequentialVisit(node.Arguments, \", \");\n            Write(\") \");\n            if (node.ReturnType != null)\n            {\n                Write(\": \");\n                Visit(node.ReturnType);\n            }\n\n            if (Context == WriterContext.Interface)\n            {\n                WriteLine(\";\");\n            }\n            else\n            {\n                if (node.Body != null && !string.IsNullOrEmpty(node.Body.RawContent))\n                {\n                    CodeBlock(node.Body);\n                }\n                else\n                {\n                    EmptyBody(node.ReturnType, node.IsAsync);\n                }\n            }\n\n            if (!string.IsNullOrEmpty(node.LineAfter))\n            {\n                AppendTabs();\n                Write(node.LineAfter);\n                Br();\n            }\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Visitors/TypeScript/TypeScriptExportVisitor.RtIdentifier.cs",
    "content": "﻿using Reinforced.Typings.Ast;\n#pragma warning disable 1591\nnamespace Reinforced.Typings.Visitors.TypeScript\n{\n    partial class TypeScriptExportVisitor\n    {\n        public override void Visit(RtIdentifier node)\n        {\n            if (node == null) return;\n            Write(node.IdentifierName);\n            if (node.IsNullable) Write(\"?\");\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Visitors/TypeScript/TypeScriptExportVisitor.RtInterface.cs",
    "content": "﻿using System.Linq;\nusing Reinforced.Typings.Ast;\n#pragma warning disable 1591\nnamespace Reinforced.Typings.Visitors.TypeScript\n{\n    partial class TypeScriptExportVisitor\n    {\n        public override void Visit(RtInterface node)\n        {\n            if (node == null) return;\n            Visit(node.Documentation);\n            var prev = Context;\n            Context = WriterContext.Interface;\n            AppendTabs();\n            if (node.Export) Write(\"export \");\n            Write(\"interface \");\n            Visit(node.Name);\n            if (node.Implementees.Count > 0)\n            {\n                Write(\" extends \");\n                SequentialVisit(node.Implementees, \", \");\n            }\n            Br(); AppendTabs();\n            Write(\"{\"); Br();\n            Tab();\n            foreach (var rtMember in DoSortMembers(node.Members))\n            {\n                Visit(rtMember);\n            }\n            UnTab();\n            AppendTabs(); WriteLine(\"}\");\n            Context = prev;\n        }\n\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Visitors/TypeScript/TypeScriptExportVisitor.RtJsdocNode.cs",
    "content": "﻿using Reinforced.Typings.Ast;\n#pragma warning disable 1591\nnamespace Reinforced.Typings.Visitors.TypeScript\n{\n    partial class TypeScriptExportVisitor\n    {\n        public override void Visit(RtJsdocNode node)\n        {\n            if (node == null) return;\n\n            if (!string.IsNullOrEmpty(node.Description) && !node.Description.Contains(\"\\n\") && node.TagToDescription.Count == 0)\n            {\n                //handle single-line JSDOC\n                AppendTabs(); Write(\"/** \"); Write(node.Description); WriteLine(\" */\");\n            }\n            else\n            {\n                AppendTabs(); WriteLine(\"/**\");\n                if (!string.IsNullOrEmpty(node.Description))\n                {\n                    Summary(node.Description);\n                    if (node.TagToDescription.Count > 0) DocLine();\n                }\n                foreach (var tuple in node.TagToDescription)\n                {\n                    DocTag(tuple.Item1, tuple.Item2);\n                }\n                AppendTabs(); WriteLine(\"*/\");\n            }\n        }\n\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Visitors/TypeScript/TypeScriptExportVisitor.RtNamespace.cs",
    "content": "using System;\nusing System.Linq;\nusing Reinforced.Typings.Ast;\n#pragma warning disable 1591\nnamespace Reinforced.Typings.Visitors.TypeScript\n{\n    partial class TypeScriptExportVisitor\n    {\n        public override void Visit(RtNamespace node)\n        {\n            if (node == null) return;\n\n            if (!node.IsAmbientNamespace)\n            {\n                Context = WriterContext.Module;\n                AppendTabs();\n                if (node.GenerationMode == NamespaceGenerationMode.Module)\n                {\n                    WriteLine(String.Format(\"module {0} {{\", node.Name));\n                }\n                else\n                {\n                    if (node.Export) Write(\"export \");\n                    WriteLine(String.Format(\"namespace {0} {{\", node.Name));\n                }\n                Tab();\n            }\n            foreach (var rtCompilationUnit in node.CompilationUnits.OrderBy(c => c is RtCompilationUnit ? ((RtCompilationUnit) c).Order : 0))\n            {\n                Visit(rtCompilationUnit);\n            }\n            if (!node.IsAmbientNamespace)\n            {\n                Context = WriterContext.None;\n                UnTab();\n                AppendTabs();\n                WriteLine(\"}\");\n            }\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Visitors/TypeScript/TypeScriptExportVisitor.RtRaw.cs",
    "content": "﻿using Reinforced.Typings.Ast;\n#pragma warning disable 1591\nnamespace Reinforced.Typings.Visitors.TypeScript\n{\n    partial class TypeScriptExportVisitor\n    {\n        public override void Visit(RtRaw node)\n        {\n            if (node == null) return;\n            if (string.IsNullOrEmpty(node.RawContent)) return;\n            WriteLines(node.RawContent);\n        }\n\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Visitors/TypeScript/TypeScriptExportVisitor.cs",
    "content": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Ast.TypeNames;\n#pragma warning disable 1591\n\nnamespace Reinforced.Typings.Visitors.TypeScript\n{\n    /// <summary>\n    /// Visitor that generates TypeScript code (.ts) from existing model\n    /// </summary>\n    public partial class TypeScriptExportVisitor : TextExportingVisitor\n    {\n        protected WriterContext Context { get; set; }\n        \n\n        /// <summary>\n        /// Writes modifiers for type member\n        /// </summary>\n        /// <param name=\"member\">Type member</param>\n        protected void Modifiers(RtMember member)\n        {\n            if (member.AccessModifier != null)\n            {\n                Write(member.AccessModifier.Value.ToModifierText());\n                Write(\" \");\n            }\n            if (member.IsStatic)\n            {\n                Write(\"static \");\n            }\n        }\n\n        protected void Decorators(IDecoratable member)\n        {\n            foreach (var memberDecorator in member.Decorators.OrderBy(c => c.Order))\n            {\n                Visit(memberDecorator);\n            }\n        }\n\n        #region Documentation\n        protected void DocTag(DocTag tag, string value)\n        {\n            var tagText = tag.Tagname();\n            if (string.IsNullOrEmpty(value))\n            {\n                DocLine(tagText);\n            }\n            else\n            {\n                value = value.Replace(\"\\r\", null).Replace(\"\\n\", null);\n                DocLine(String.Format(\"{0} {1}\", tagText, value));\n            }\n        }\n        protected void DocLine(string line = null)\n        {\n            if (string.IsNullOrEmpty(line))\n            {\n                AppendTabs(); WriteLine(\"*\");\n            }\n            else\n            {\n                AppendTabs(); WriteLine(String.Format(\"* {0}\", line));\n            }\n        }\n\n        private void Summary(string summary)\n        {\n            if (string.IsNullOrEmpty(summary)) return;\n            var summaryLines = summary.Split(new[] { '\\r', '\\n' }, StringSplitOptions.RemoveEmptyEntries);\n            foreach (var summaryLine in summaryLines)\n            {\n                DocLine(summaryLine);\n            }\n        }\n        #endregion\n\n        /// <summary>\n        /// Writes empty method body of known return type\n        /// </summary>\n        /// <param name=\"returnType\">Method return type</param>\n        /// <param name=\"isAsyncMethod\">Whether the method is tagged as \"async\", then no Promise need to be created\n        /// directly. TypeScript compiler does it for us.</param>\n        protected void EmptyBody(RtTypeName returnType, bool isAsyncMethod = false)\n        {\n            // unfold the Promise return value\n            if (returnType is RtAsyncType)\n            {\n                if (isAsyncMethod)\n                {\n                    returnType = ((RtAsyncType) returnType).TypeNameOfAsync;\n                }\n                else\n                {\n                    CodeBlock(\"return Promise.resolve(null);\");\n                    return;\n                }\n            }\n\n            if (returnType == null || returnType.IsVoid())\n            {\n                WriteLine(\" { } \");\n            }\n            else\n            {\n                CodeBlock(\"return null;\");\n            }\n        }\n\n        /// <summary>\n        /// Writes code block with correct tabulation\n        /// </summary>\n        /// <param name=\"content\">Code content</param>\n        protected void CodeBlock(string content)\n        {\n            Br();\n            AppendTabs();\n            WriteLine(\"{\");\n            Tab();\n            WriteLines(content);\n            UnTab();\n            AppendTabs();\n            WriteLine(\"}\");\n        }\n\n        /// <summary>\n        /// Writes AST node as code block with correct tabulation\n        /// </summary>\n        /// <param name=\"content\">Code content</param>\n        protected void CodeBlock(RtRaw content)\n        {\n            Br();\n            AppendTabs();\n            WriteLine(\"{\");\n            Tab();\n            Visit(content);\n            UnTab();\n            AppendTabs();\n            WriteLine(\"}\");\n        }\n\n        /// <summary>\n        /// Performs sequential visiting of AST nodes inserting separator in between\n        /// </summary>\n        /// <typeparam name=\"T\"></typeparam>\n        /// <param name=\"nodes\">Nodes to visit</param>\n        /// <param name=\"separator\">Seperator string</param>\n        protected void SequentialVisit<T>(IEnumerable<T> nodes, string separator)\n            where T : RtNode\n        {\n            var n = nodes.ToArray();\n            for (int index = 0; index < n.Length; index++)\n            {\n                var rtArgument = n[index];\n                Visit(rtArgument);\n                if (index < n.Length - 1) Write(separator);\n            }\n        }\n\n        public override void Visit(RtDecorator node)\n        {\n            if (node == null) return;\n            Write(\"@\");\n            Write(node.Decorator);\n            Write(\" \");\n        }\n\n        private bool IsKnownMember(RtNode n)\n        {\n            if (n is RtConstructor) return true;\n            if (n is RtField) return true;\n            if (n is RtFunction) return true;\n            return false;\n        }\n\n        private IEnumerable<RtNode> DoNodesOrder(List<RtNode> nodes)\n        {\n            var constructors = nodes.Where(d => d is RtConstructor).OfType<RtConstructor>();\n            var fields = nodes.Where(d => d is RtField).OfType<RtField>().OrderBy(d => d.Identifier.IdentifierName);\n            var methods = nodes.Where(d => d is RtFunction).OfType<RtFunction>().OrderBy(d => d.Identifier.IdentifierName);\n            var rest = nodes.Where(d => !IsKnownMember(d));\n\n            return constructors.Cast<RtNode>()\n                    .Union(fields)\n                    .Union(methods)\n                    .Union(rest);\n        }\n\n        protected IEnumerable<RtNode> DoSortMembers(List<RtNode> nodes)\n        {\n            if (ExportContext.Global.ReorderMembers)\n            {\n                return DoNodesOrder(nodes);\n            }\n            else\n            {\n                if (nodes.Any(d => d._order != 0))\n                    return nodes.OrderBy(c =>\n                        c is RtConstructor\n                            ? int.MinValue\n                            : c._order);\n                return nodes;\n\n            }\n        }\n\n        public TypeScriptExportVisitor(TextWriter writer, ExportContext exportContext) : base(writer, exportContext)\n        {\n            Context = WriterContext.None;\n        }\n    }\n\n    public enum WriterContext\n    {\n        None,\n        Class,\n        Interface,\n        Enum,\n        Module\n    }\n\n    internal static class ExportExtensions\n    {\n        public static bool IsVoid(this RtTypeName typeName)\n        {\n            if (typeName == null) return true;\n            var tn = typeName as RtSimpleTypeName;\n            if (tn == null) return false;\n            return tn.TypeName == \"void\";\n        }\n    }\n\n}\n"
  },
  {
    "path": "Reinforced.Typings/Visitors/TypeScript/Types/TypeScriptExportVisitor.RtArrayType.cs",
    "content": "using Reinforced.Typings.Ast.TypeNames;\n#pragma warning disable 1591\nnamespace Reinforced.Typings.Visitors.TypeScript\n{\n    partial class TypeScriptExportVisitor\n    {\n        #region Types\n\n        public override void Visit(RtArrayType node)\n        {\n            if (node == null) return;\n            Visit(node.ElementType);\n            Write(\"[]\");\n        }\n\n        #endregion\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Visitors/TypeScript/Types/TypeScriptExportVisitor.RtAsyncType.cs",
    "content": "using Reinforced.Typings.Ast.TypeNames;\n#pragma warning disable 1591\nnamespace Reinforced.Typings.Visitors.TypeScript\n{\n    partial class TypeScriptExportVisitor\n    {\n        #region Types\n\n        public override void Visit(RtAsyncType node)\n        {\n            Write(\"Promise<\");\n\n            if (node.TypeNameOfAsync != null) this.Visit(node.TypeNameOfAsync);\n            else Write(\"void\");\n\n            Write(\">\");\n        }\n\n        #endregion\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Visitors/TypeScript/Types/TypeScriptExportVisitor.RtDelegateType.cs",
    "content": "using Reinforced.Typings.Ast.TypeNames;\n#pragma warning disable 1591\nnamespace Reinforced.Typings.Visitors.TypeScript\n{\n    partial class TypeScriptExportVisitor\n    {\n        #region Types\n\n        public override void Visit(RtDelegateType node)\n        {\n            if (node == null) return;\n            Write(\"(\");\n            SequentialVisit(node.Arguments, \", \");\n            Write(\") => \");\n            Visit(node.Result);\n        }\n\n        #endregion\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Visitors/TypeScript/Types/TypeScriptExportVisitor.RtDictionaryType.cs",
    "content": "using Reinforced.Typings.Ast.TypeNames;\n#pragma warning disable 1591\nnamespace Reinforced.Typings.Visitors.TypeScript\n{\n    partial class TypeScriptExportVisitor\n    {\n        #region Types\n\n        public override void Visit(RtDictionaryType node)\n        {\n            if (node == null) return;\n            string keyTypeSpec = node.IsKeyEnum ? \" in \" : \":\";\n            Write(\"{ [key\");\n            Write(keyTypeSpec);\n            Visit(node.KeyType);\n            Write(\"]: \");\n            Visit(node.ValueType);\n            Write(\" }\");\n        }\n\n        #endregion\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Visitors/TypeScript/Types/TypeScriptExportVisitor.RtSimpleTypeName.cs",
    "content": "using Reinforced.Typings.Ast.TypeNames;\n#pragma warning disable 1591\nnamespace Reinforced.Typings.Visitors.TypeScript\n{\n    partial class TypeScriptExportVisitor\n    {\n        #region Types\n\n        public override void Visit(RtSimpleTypeName node)\n        {\n            if (node.HasPrefix)\n            {\n                Write(node.Prefix);\n                Write(\".\");\n            }\n            Write(node.TypeName);\n            if (node.GenericArguments.Length > 0)\n            {\n                Write(\"<\");\n                SequentialVisit(node.GenericArguments, \", \");\n                Write(\">\");\n            }\n        }\n\n        #endregion\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Visitors/TypeScript/Types/TypeScriptExportVisitor.RtTuple.cs",
    "content": "using Reinforced.Typings.Ast.TypeNames;\n#pragma warning disable 1591\nnamespace Reinforced.Typings.Visitors.TypeScript\n{\n    partial class TypeScriptExportVisitor\n    {\n        #region Types\n        public override void Visit(RtTuple node)\n        {\n            if (node==null) return;\n            Write(\"[\");\n            SequentialVisit(node.TupleTypes,\",\");\n            Write(\"]\");\n        }\n\n\n        #endregion\n\n\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Visitors/TypedVisitorBase.cs",
    "content": "﻿using System;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Ast.Dependency;\nusing Reinforced.Typings.Ast.TypeNames;\n\nnamespace Reinforced.Typings.Visitors\n{\n    abstract class TypedVisitorBase<T> : IRtVisitor<T>\n    {\n        public T Visit(RtNode node)\n        {\n            if (node is RtField) return Visit((RtField)node);\n            if (node is RtInterface) return Visit((RtInterface)node);\n            if (node is RtFunction) return Visit((RtFunction)node);\n            if (node is RtArgument) return Visit((RtArgument)node);\n            if (node is RtClass) return Visit((RtClass)node);\n            if (node is RtIdentifier) return Visit((RtIdentifier)node);\n            if (node is RtDelegateType) return Visit((RtDelegateType)node);\n            if (node is RtSimpleTypeName) return Visit((RtSimpleTypeName)node);\n            if (node is RtRaw) return Visit((RtRaw)node);\n            if (node is RtJsdocNode) return Visit((RtJsdocNode)node);\n            if (node is RtNamespace) return Visit((RtNamespace)node);\n            if (node is RtEnumValue) return Visit((RtEnumValue)node);\n            if (node is RtEnum) return Visit((RtEnum)node);\n            if (node is RtDictionaryType) return Visit((RtDictionaryType)node);\n            if (node is RtArrayType) return Visit((RtArrayType)node);\n            if (node is RtConstructor) return Visit((RtConstructor)node);\n            if (node is RtImport) return Visit((RtImport)node);\n            if (node is RtDecorator) return Visit((RtDecorator)node);\n            if (node is RtReference) return Visit((RtReference)node);\n            if (node is RtTuple) return Visit((RtTuple)node);\n            throw new Exception(\"Unknown node passed\");\n        }\n\n        public abstract T Visit(RtField node);\n        public abstract T Visit(RtInterface node);\n        public abstract T Visit(RtFunction node);\n        public abstract T Visit(RtArgument node);\n        public abstract T Visit(RtClass node);\n        public abstract T Visit(RtIdentifier node);\n        public abstract T Visit(RtDelegateType node);\n        public abstract T Visit(RtSimpleTypeName node);\n        public abstract T Visit(RtRaw node);\n        public abstract T Visit(RtJsdocNode node);\n        public abstract T Visit(RtNamespace node);\n        public abstract T Visit(RtEnumValue node);\n        public abstract T Visit(RtEnum node);\n        public abstract T Visit(RtDictionaryType node);\n        public abstract T Visit(RtArrayType node);\n        public abstract T Visit(RtConstructor node);\n        public abstract T Visit(RtImport node);\n        public abstract T Visit(RtDecorator node);\n        public abstract T Visit(RtReference node);\n        \n        public abstract T Visit(RtTuple node);\n        public abstract T VisitFile(ExportedFile file);\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Visitors/Typings/TypingsExportVisitor.RtClass.cs",
    "content": "﻿using System.Linq;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Visitors.TypeScript;\n#pragma warning disable 1591\nnamespace Reinforced.Typings.Visitors.Typings\n{\n    partial class TypingsExportVisitor\n    {\n        public override void Visit(RtClass node)\n        {\n            if (node == null) return;\n            Visit(node.Documentation);\n            var prev = Context;\n            Context = WriterContext.Class;\n            AppendTabs();\n            if (prev == WriterContext.Module) Write(\"export \");\n            else Write(\"declare \");\n            if (node.Abstract) Write(\"abstract \");\n            Write(\"class \");\n            Visit(node.Name);\n            if (node.Extendee != null)\n            {\n                Write(\" extends \");\n                Visit(node.Extendee);\n            }\n            if (node.Implementees.Count > 0)\n            {\n                Write(\" implements \");\n                SequentialVisit(node.Implementees, \", \");\n            }\n            Br();\n            AppendTabs();\n            Write(\"{\");\n            Br();\n            Tab();\n            var members = DoSortMembers(node.Members);\n            foreach (var rtMember in members)\n            {\n                Visit(rtMember);\n            }\n            UnTab();\n            AppendTabs();\n            WriteLine(\"}\");\n            Context = prev;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Visitors/Typings/TypingsExportVisitor.RtConstructor.cs",
    "content": "﻿using Reinforced.Typings.Ast;\nusing Reinforced.Typings.Visitors.TypeScript;\n#pragma warning disable 1591\nnamespace Reinforced.Typings.Visitors.Typings\n{\n    partial class TypingsExportVisitor\n    {\n        public override void Visit(RtConstructor node)\n        {\n            if (node == null) return;\n            Visit(node.Documentation);\n            AppendTabs();\n            if (Context == WriterContext.Interface)\n            {\n                Write(\"new (\");\n            }\n            else\n            {\n                Write(\"constructor (\");\n            }\n            SequentialVisit(node.Arguments, \", \");\n            WriteLine(\");\");\n\n            if (!string.IsNullOrEmpty(node.LineAfter))\n            {\n                AppendTabs();\n                Write(node.LineAfter);\n                Br();\n            }\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Visitors/Typings/TypingsExportVisitor.RtEnum.cs",
    "content": "using Reinforced.Typings.Ast;\nusing Reinforced.Typings.Visitors.TypeScript;\n\n#pragma warning disable 1591\nnamespace Reinforced.Typings.Visitors.Typings\n{\n    partial class TypingsExportVisitor\n    {\n        public override void Visit(RtEnum node)\n        {\n            if (node == null) return;\n            Visit(node.Documentation);\n            var prev = Context;\n            Context = WriterContext.Enum;\n            AppendTabs();\n            if (node.Export)\n            {\n                if (prev == WriterContext.Module) Write(\"export \");\n                else Write(\"declare \");\n            }\n            if (node.IsConst) Write(\"const \");\n            Write(\"enum \");\n            Visit(node.EnumName);\n            WriteLine(\" {\");\n            Tab();\n            var arr = node.Values.ToArray();\n            for (int i = 0; i < arr.Length; i++)\n            {\n                Visit(arr[i]);\n                if (i != arr.Length - 1) WriteLine(\",\");\n                if (!string.IsNullOrEmpty(arr[i].LineAfter))\n                {\n                    AppendTabs();\n                    Write(arr[i].LineAfter);\n                    Br();\n                }\n            }\n            WriteLine(string.Empty);\n            UnTab();\n            AppendTabs();\n            WriteLine(\"}\");\n            Context = prev;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Visitors/Typings/TypingsExportVisitor.RtField.cs",
    "content": "﻿using Reinforced.Typings.Ast;\nusing Reinforced.Typings.Visitors.TypeScript;\n#pragma warning disable 1591\nnamespace Reinforced.Typings.Visitors.Typings\n{\n    partial class TypingsExportVisitor\n    {\n        public override void Visit(RtField node)\n        {\n            if (node == null) return;\n            Visit(node.Documentation);\n            AppendTabs();\n\n            if (Context == WriterContext.Module) Write(\"export var \");\n            if (Context == WriterContext.None) Write(\"declare var \");\n            if (Context == WriterContext.Class) Modifiers(node);\n\n            Visit(node.Identifier);\n            Write(\": \");\n            Visit(node.Type);\n            WriteLine(\";\");\n            if (!string.IsNullOrEmpty(node.LineAfter))\n            {\n                AppendTabs();\n                Write(node.LineAfter);\n                Br();\n            }\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Visitors/Typings/TypingsExportVisitor.RtFunction.cs",
    "content": "﻿using Reinforced.Typings.Ast;\nusing Reinforced.Typings.Visitors.TypeScript;\n#pragma warning disable 1591\nnamespace Reinforced.Typings.Visitors.Typings\n{\n    partial class TypingsExportVisitor\n    {\n        public override void Visit(RtFunction node)\n        {\n            if (node == null) return;\n            Visit(node.Documentation);\n            AppendTabs();\n            if (Context != WriterContext.Interface) Modifiers(node);\n            if (Context == WriterContext.Module) Write(\"export function \");\n            Visit(node.Identifier);\n            Write(\"(\");\n            SequentialVisit(node.Arguments, \", \");\n            Write(\") \");\n            if (node.ReturnType != null)\n            {\n                Write(\": \");\n                Visit(node.ReturnType);\n            }\n            WriteLine(\";\");\n            if (!string.IsNullOrEmpty(node.LineAfter))\n            {\n                AppendTabs();\n                Write(node.LineAfter);\n                Br();\n            }\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Visitors/Typings/TypingsExportVisitor.RtModule.cs",
    "content": "﻿using System;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Visitors.TypeScript;\n#pragma warning disable 1591\nnamespace Reinforced.Typings.Visitors.Typings\n{\n    partial class TypingsExportVisitor\n    {\n        public override void Visit(RtNamespace node)\n        {\n            if (node == null) return;\n\n            if (!node.IsAmbientNamespace)\n            {\n                Context = WriterContext.Module;\n                AppendTabs();\n                WriteLine(String.Format(\"declare module {0} {{\", node.Name));\n                Tab();\n            }\n            foreach (var rtCompilationUnit in node.CompilationUnits)\n            {\n                Visit(rtCompilationUnit);\n            }\n            if (!node.IsAmbientNamespace)\n            {\n                Context = WriterContext.None;\n                UnTab();\n                AppendTabs();\n                WriteLine(\"}\");\n            }\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Visitors/Typings/TypingsExportVisitor.cs",
    "content": "﻿using System.IO;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Visitors.TypeScript;\n#pragma warning disable 1591\nnamespace Reinforced.Typings.Visitors.Typings\n{\n    /// <summary>\n    /// Visitor that is generating .d.ts from existing model\n    /// </summary>\n    public partial class TypingsExportVisitor : TypeScriptExportVisitor\n    {\n        public override void Visit(RtDecorator node)\n        {\n            //no decorators allowed in the .d.ts\n        }\n\n\n        public TypingsExportVisitor(TextWriter writer, ExportContext exportContext) : base(writer, exportContext)\n        {\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Visitors/VisitorBase.cs",
    "content": "﻿using System;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Ast.Dependency;\nusing Reinforced.Typings.Ast.TypeNames;\n#pragma warning disable 1591\nnamespace Reinforced.Typings.Visitors\n{\n    public abstract class VisitorBase : IRtVisitor\n    {\n        public void Visit(RtNode node)\n        {\n            if (node == null) return;\n            if (node is RtField) { Visit((RtField)node); return; }\n            if (node is RtInterface) { Visit((RtInterface)node); return; }\n            if (node is RtFunction) { Visit((RtFunction)node); return; }\n            if (node is RtArgument) { Visit((RtArgument)node); return; }\n            if (node is RtClass) { Visit((RtClass)node); return; }\n            if (node is RtIdentifier) { Visit((RtIdentifier)node); return; }\n            if (node is RtDelegateType) { Visit((RtDelegateType)node); return; }\n            if (node is RtSimpleTypeName) { Visit((RtSimpleTypeName)node); return; }\n            if (node is RtRaw) { Visit((RtRaw)node); return; }\n            if (node is RtJsdocNode) { Visit((RtJsdocNode)node); return; }\n            if (node is RtNamespace) { Visit((RtNamespace)node); return; }\n            if (node is RtEnumValue) { Visit((RtEnumValue)node); return; }\n            if (node is RtEnum) { Visit((RtEnum)node); return; }\n            if (node is RtDictionaryType) { Visit((RtDictionaryType)node); return; }\n            if (node is RtArrayType) { Visit((RtArrayType)node); return; }\n            if (node is RtConstructor) { Visit((RtConstructor)node); return; }\n            if (node is RtImport) { Visit((RtImport)node); return; }\n            if (node is RtDecorator) { Visit((RtDecorator)node); return; }\n            if (node is RtReference) { Visit((RtReference)node); return; }\n            if (node is RtTuple) { Visit((RtTuple)node); return; }\n            if (node is RtAsyncType) { Visit((RtAsyncType)node); return; }\n\n            throw new Exception(\"Unknown node passed\");\n        }\n\n        public abstract void Visit(RtField node);\n        public abstract void Visit(RtInterface node);\n        public abstract void Visit(RtFunction node);\n        public abstract void Visit(RtArgument node);\n        public abstract void Visit(RtClass node);\n        public abstract void Visit(RtIdentifier node);\n        public abstract void Visit(RtDelegateType node);\n        public abstract void Visit(RtSimpleTypeName node);\n        public abstract void Visit(RtRaw node);\n        public abstract void Visit(RtJsdocNode node);\n        public abstract void Visit(RtNamespace node);\n        public abstract void Visit(RtEnumValue node);\n        public abstract void Visit(RtEnum node);\n        public abstract void Visit(RtDictionaryType node);\n        public abstract void Visit(RtArrayType node);\n        public abstract void Visit(RtConstructor node);\n        public abstract void Visit(RtImport node);\n        public abstract void Visit(RtDecorator node);\n        public abstract void Visit(RtReference node);\n        public abstract void Visit(RtTuple node);\n        public abstract void Visit(RtAsyncType node);\n        public abstract void VisitFile(ExportedFile file);\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings/Xmldoc/DocumentationManager.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Reflection;\nusing System.Text;\nusing System.Xml.Serialization;\nusing Reinforced.Typings.Exceptions;\nusing Reinforced.Typings.Xmldoc.Model;\n\n// ReSharper disable PossibleNullReferenceException\n\nnamespace Reinforced.Typings.Xmldoc\n{\n    /// <summary>\n    ///     XMLDOC documentation manager\n    /// </summary>\n    public class DocumentationManager\n    {\n        private readonly Dictionary<string, DocumentationMember> _documentationCache =\n            new Dictionary<string, DocumentationMember>();\n\n        private bool _isDocumentationExists;\n\n        internal DocumentationManager(string docFilePath, IWarningsCollector warnings)\n        {\n            CacheDocumentation(docFilePath, warnings);\n        }\n\n        internal DocumentationManager(string[] docFilePath, IWarningsCollector warnings)\n        {\n            foreach (var s in docFilePath)\n            {\n                CacheDocumentation(s, warnings);\n            }\n        }\n\n        internal void CacheDocumentation(string docFilePath, IWarningsCollector warnings)\n        {\n            if (string.IsNullOrEmpty(docFilePath))\n            {\n                return;\n            }\n            if (!File.Exists(docFilePath))\n            {\n                warnings.AddWarning(ErrorMessages.RTW0002_DocumentationNotFound.Warn(docFilePath));\n                return;\n            }\n            try\n            {\n                var ser = new XmlSerializer(typeof(Documentation));\n                \n                Documentation documentation;\n                using (var fs = File.OpenRead(docFilePath))\n                {\n                    documentation = (Documentation)ser.Deserialize(fs);\n                }\n                foreach (var documentationMember in documentation.Members)\n                {\n                    _documentationCache[documentationMember.Name] = documentationMember;\n                }\n                _isDocumentationExists = true;\n            }\n            catch (Exception ex)\n            {\n                _isDocumentationExists = false;\n                warnings.AddWarning(ErrorMessages.RTW0006_DocumentationParseringError.Warn(docFilePath, ex.Message));\n            }\n        }\n\n        private static string GetDocFriendlyParameterName(Type parameterType,\n            Dictionary<Type, int> typeGenericsDict,\n            Dictionary<Type, int> methodGenericArgsDict)\n        {\n            if (typeGenericsDict.ContainsKey(parameterType))\n            {\n                return (\"`\" + typeGenericsDict[parameterType]);\n            }\n            if (methodGenericArgsDict.ContainsKey(parameterType))\n            {\n                return (\"``\" + methodGenericArgsDict[parameterType]);\n            }\n\n            if (parameterType._IsGenericType())\n            {\n                var gen = parameterType.GetGenericTypeDefinition();\n                var name = gen.FullName;\n                var quote = name.IndexOf('`');\n                name = name.Substring(0, quote);\n                var genericParams = parameterType._GetGenericArguments()\n                    .Select(c => GetDocFriendlyParameterName(c, typeGenericsDict, methodGenericArgsDict)).ToArray();\n                name = string.Format(\"{0}{{{1}}}\", name, string.Join(\",\", genericParams));\n                return name;\n            }\n            return parameterType.FullName.Trim('&');\n        }\n\n        private string GetIdentifierForMethod(MethodBase method, string name)\n        {\n            var isCtor = name == \"#ctor\";\n            var sb = new StringBuilder(string.Format(\"M:{0}.{1}\", method.DeclaringType.FullName.Replace('+', '.'), name));\n            if (!isCtor)\n            {\n                var cnt = method.GetGenericArguments().Length;\n                if (cnt > 0) sb.AppendFormat(\"``{0}\", cnt);\n            }\n            var prs = method.GetParameters();\n            if (prs.Length > 0)\n            {\n                sb.Append('(');\n\n                var typeGenericsDict =\n                    method.DeclaringType._GetGenericArguments()\n                        .Select((a, i) => new { a, i })\n                        .ToDictionary(c => c.a, c => c.i); // type -> `0, type -> `1\n\n\n                var methodGenericArgsDict = isCtor\n                    ? new Dictionary<Type, int>()\n                    : method.GetGenericArguments()\n                        .Select((a, i) => new { a, i })\n                        .ToDictionary(c => c.a, c => c.i); //type -> ``0, type -> ``1\n                var names = new List<string>();\n                foreach (var param in prs)\n                {\n                    var friendlyName = GetDocFriendlyParameterName(param.ParameterType, typeGenericsDict,\n                        methodGenericArgsDict);\n                    if (param.IsOut || param.ParameterType.IsByRef) friendlyName = friendlyName + \"@\";\n                    names.Add(friendlyName);\n                }\n                sb.Append(string.Join(\",\", names));\n                sb.Append(')');\n            }\n            return sb.ToString();\n        }\n\n        private string GetPrefix(MemberTypes mt)\n        {\n            switch (mt)\n            {\n                case MemberTypes.Property:\n                    return \"P\";\n                case MemberTypes.Field:\n                    return \"F\";\n                case MemberTypes.Method:\n                    return \"M\";\n                case MemberTypes.Event:\n                    return \"E\";\n            }\n            return string.Empty;\n        }\n\n        private string GetIdentifierForMember(MemberInfo member)\n        {\n\n            if (member is MethodInfo) return GetIdentifierForMethod((MethodBase)member, member.Name);\n            var path = member.DeclaringType.FullName;\n            if (string.IsNullOrEmpty(path))\n            {\n                path = member.DeclaringType.Namespace + \".\" + member.DeclaringType.Name;\n            }\n            var id = string.Format(\"{0}:{1}.{2}\", GetPrefix(member.MemberType),\n                path.Replace('+', '.'),\n                member.Name);\n            return id;\n\n        }\n\n        private string GetIdentifierForType(Type type)\n        {\n            return string.Format(\"T:{0}\", type.FullName.Replace('+', '.'));\n        }\n\n        private string GetIdentifierForConstructor(ConstructorInfo constructor)\n        {\n            return GetIdentifierForMethod(constructor, \"#ctor\");\n        }\n\n        /// <summary>\n        ///     Returns documentation member for class member\n        /// </summary>\n        /// <param name=\"member\">Class member</param>\n        public DocumentationMember GetDocumentationMember(MemberInfo member)\n        {\n            if (member == null) return null;\n            if (!_isDocumentationExists) return null;\n            var id = GetIdentifierForMember(member);\n            if (!_documentationCache.ContainsKey(id)) return null;\n            var info = member as MethodInfo;\n            if (info != null)\n            {\n                return GetDocumentationMember(info);\n            }\n            var doc = _documentationCache[id];\n            if (!doc.HasInheritDoc() && !doc.HasSummary()) return null;\n            return doc;\n        }\n\n        /// <summary>\n        /// Returns documentation member for method\n        /// </summary>\n        /// <param name=\"method\"></param>\n        /// <returns></returns>\n        public DocumentationMember GetDocumentationMember(MethodInfo method)\n        {\n            if (method == null) return null;\n            if (!_isDocumentationExists) return null;\n            var id = GetIdentifierForMethod(method, method.Name);\n            if (!_documentationCache.ContainsKey(id)) return null;\n            var doc = _documentationCache[id];\n\n            if (!doc.HasInheritDoc() && !doc.HasSummary() && !doc.HasParameters() && !doc.HasReturns()) return null;\n            return doc;\n        }\n\n        /// <summary>\n        ///     Returns documentation for constructor\n        /// </summary>\n        /// <param name=\"constructor\">Constructor</param>\n        public DocumentationMember GetDocumentationMember(ConstructorInfo constructor)\n        {\n            if (constructor == null) return null;\n            if (!_isDocumentationExists) return null;\n            var id = GetIdentifierForConstructor(constructor);\n            if (!_documentationCache.ContainsKey(id)) return null;\n            var doc = _documentationCache[id];\n            if (!doc.HasInheritDoc() && !doc.HasSummary() && !doc.HasParameters()) return null;\n            return doc;\n        }\n\n\n        /// <summary>\n        ///     Returns documentation for type\n        /// </summary>\n        /// <param name=\"type\">Type</param>\n        public DocumentationMember GetDocumentationMember(Type type)\n        {\n            if (type == null) return null;\n            if (!_isDocumentationExists) return null;\n            var id = GetIdentifierForType(type);\n            if (!_documentationCache.ContainsKey(id)) return null;\n            var typeDoc = _documentationCache[id];\n            if (!typeDoc.HasInheritDoc() && !typeDoc.HasSummary()) return null;\n            return typeDoc;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Xmldoc/Model/DocumentationMemberExtensions.cs",
    "content": "﻿namespace Reinforced.Typings.Xmldoc.Model\n{\n    internal static class DocumentationMemberExtensions\n    {\n        public static DocumentationMemberType MemberType(this string name)\n        {\n            if (string.IsNullOrEmpty(name)) return DocumentationMemberType.Unknown;\n            if (name.Contains(\"#ctor\")) return DocumentationMemberType.Constructor;\n            if (name.StartsWith(\"M:\")) return DocumentationMemberType.Method;\n            if (name.StartsWith(\"T:\")) return DocumentationMemberType.Type;\n            if (name.StartsWith(\"P:\")) return DocumentationMemberType.Property;\n            if (name.StartsWith(\"E:\")) return DocumentationMemberType.Event;\n            if (name.StartsWith(\"N:\")) return DocumentationMemberType.Namespace;\n            if (name.StartsWith(\"F:\")) return DocumentationMemberType.Field;\n\n            return DocumentationMemberType.Unknown;\n        }\n\n        public static bool HasInheritDoc(this DocumentationMember dm)\n        {\n            return dm.InheritDoc != null;\n        }\n\n        public static bool HasSummary(this DocumentationMember dm)\n        {\n            return dm.Summary != null && !string.IsNullOrEmpty(dm.Summary.Text);\n        }\n\n        public static bool HasRemarks(this DocumentationMember dm)\n        {\n            return dm.Remarks != null && !string.IsNullOrEmpty(dm.Remarks.Text);\n        }\n\n        public static bool HasParameters(this DocumentationMember dm)\n        {\n            return dm.Parameters != null && dm.Parameters.Length > 0;\n        }\n\n        public static bool HasReturns(this DocumentationMember dm)\n        {\n            return dm.Returns != null && !string.IsNullOrEmpty(dm.Returns.Text);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Xmldoc/Model/DocumentationMemberType.cs",
    "content": "\n#pragma warning disable 1591\n\nnamespace Reinforced.Typings.Xmldoc.Model\n{\n    public enum DocumentationMemberType\n    {\n        Type,\n        Property,\n        Field,\n        Event,\n        Namespace,\n        Method,\n        Constructor,\n        Unknown\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Xmldoc/Model/Model.cs",
    "content": "﻿using System;\nusing System.Xml;\nusing System.Xml.Serialization;\nusing Reinforced.Typings.Ast;\n\n#pragma warning disable 1591\n\nnamespace Reinforced.Typings.Xmldoc.Model\n{\n    [XmlRoot(\"doc\")]\n    [XmlType(\"doc\")]\n    [XmlInclude(typeof (DocumentationMember))]\n    [XmlInclude(typeof (DocumentationParameter))]\n    public class Documentation\n    {\n        [XmlArray(\"members\")]\n        [XmlArrayItem(\"member\")]\n        public DocumentationMember[] Members { get; set; }\n    }\n\n    public class DocumentationMember\n    {\n        private string _name;\n\n        [XmlAttribute(\"name\")]\n        public string Name\n        {\n            get { return _name; }\n            set\n            {\n                _name = value;\n                MemberType = _name.MemberType();\n            }\n        }\n\n        [XmlIgnore]\n        public DocumentationMemberType MemberType { get; private set; }\n\n        [XmlElement(ElementName = \"summary\")]\n        public DocumentationSummary Summary { get; set; }\n\n        [XmlElement(ElementName = \"remarks\")]\n        public DocumentationRemarks Remarks { get; set; }\n\n        [XmlElement(ElementName = \"inheritdoc\")]\n        public DocumentationInheritDoc InheritDoc { get; set; }\n\n        [XmlElement(ElementName = \"param\")]\n        public DocumentationParameter[] Parameters { get; set; }\n\n        [XmlElement(ElementName = \"returns\")]\n        public DocumentationReturns Returns { get; set; }\n\n        public override string ToString()\n        {\n            return string.Format(\"({0}) {1}\", MemberType, Name);\n        }\n    }\n\n\n    public class DocumentationParameter : XmlIgnoreInner\n    {\n        public string Name { get; set; }\n        public string Description { get; set; }\n\n        public override void ReadXml(XmlReader reader)\n        {\n            Name = reader.GetAttribute(\"name\");\n            Description = reader.ReadInnerXml().Trim();\n            if (Description.Contains(\"this method interface declaration\"))\n            {\n            }\n        }\n\n        public override string ToString()\n        {\n            return Name;\n        }\n    }\n\n    public class DocumentationSummary : XmlIgnoreInner\n    {\n        public string Text { get; set; }\n        public string Cref { get; set; }\n\n        public override string ToString()\n        {\n            return Text;\n        }\n\n        public override void ReadXml(XmlReader reader)\n        {\n            Cref = reader.GetAttribute(\"cref\");\n            Text = reader.ReadInnerXml().Trim();\n        }\n    }\n\n    public class DocumentationRemarks : XmlIgnoreInner\n    {\n        public string Text { get; set; }\n\n        public override string ToString()\n        {\n            return Text;\n        }\n\n        public override void ReadXml(XmlReader reader)\n        {\n            Text = reader.ReadInnerXml().Trim();\n        }\n    }\n\n    public class DocumentationInheritDoc : XmlIgnoreInner\n    {\n        /// <summary>\n        /// TODO: Find a type by this cref and get its documentation?\n        /// </summary>\n        public string Cref { get; set; }\n\n        public override string ToString()\n        {\n            return string.Empty;\n        }\n\n        public override void ReadXml(XmlReader reader)\n        {\n            Cref = reader.GetAttribute(\"cref\");\n        }\n    }\n\n    public class DocumentationReturns : XmlIgnoreInner\n    {\n        [XmlText]\n        public string Text { get; set; }\n\n        public override void ReadXml(XmlReader reader)\n        {\n            Text = reader.ReadInnerXml().Trim();\n        }\n\n        public override string ToString()\n        {\n            return Text;\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings/Xmldoc/Model/XmlIgnoreInner.cs",
    "content": "using System;\nusing System.Xml;\nusing System.Xml.Schema;\nusing System.Xml.Serialization;\n\n#pragma warning disable 1591\n\nnamespace Reinforced.Typings.Xmldoc.Model\n{\n    public abstract class XmlIgnoreInner : IXmlSerializable\n    {\n        public XmlSchema GetSchema()\n        {\n            throw new NotImplementedException();\n        }\n\n        public abstract void ReadXml(XmlReader reader);\n\n        public void WriteXml(XmlWriter writer)\n        {\n            throw new NotImplementedException();\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Cli/AssemblyManager.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Linq.Expressions;\nusing System.Reflection;\nusing Reinforced.Typings.Exceptions;\n#if NETCORE\nusing System.Runtime.Loader;\n#endif\n\nnamespace Reinforced.Typings.Cli\n{\n    internal class AssemblyLocation\n    {\n        public AssemblyLocation(string assemblyName, string fileName)\n        {\n            AssemblyName = assemblyName;\n            FileName = fileName;\n        }\n\n        public string FileName { get; private set; }\n        public string AssemblyName { get; private set; }\n    }\n    internal class AssemblyManager\n    {\n        private readonly string[] _sourceAssemblies;\n        private int _totalLoadedAssemblies;\n\n        public int TotalLoadedAssemblies\n        {\n            get { return _totalLoadedAssemblies; }\n        }\n\n        private readonly HashSet<string> _allAssembliesDirs = new HashSet<string>();\n        private readonly string _referencesTmpFilePath;\n        private readonly TextReader _profileReader;\n        private readonly Dictionary<string, Assembly> _alreadyLoaded = new Dictionary<string, Assembly>();\n        private readonly List<AssemblyLocation> _referencesCache = new List<AssemblyLocation>();\n        private readonly Action<ErrorMessage, object[]> BuildWarn;\n\n        public AssemblyManager(string[] sourceAssemblies, TextReader profileReader, string referencesTmpFilePath, Action<ErrorMessage, object[]> buildWarn)\n        {\n            _sourceAssemblies = sourceAssemblies;\n            _profileReader = profileReader;\n            _referencesTmpFilePath = referencesTmpFilePath;\n            BuildWarn = buildWarn;\n        }\n\n        internal void TurnOffAdditionalResolvation()\n        {\n#if NETCORE\n            AssemblyLoadContext.Default.Resolving -= CurrentDomainOnAssemblyResolve;\n#else\n            AppDomain.CurrentDomain.AssemblyResolve -= CurrentDomainOnAssemblyResolve;\n\n#endif\n        }\n\n        public Assembly[] GetAssembliesFromArgs()\n        {\n            BuildReferencesCache();\n\n#if NETCORE\n            AssemblyLoadContext.Default.Resolving += CurrentDomainOnAssemblyResolve;\n#else\n            AppDomain.CurrentDomain.AssemblyResolve += CurrentDomainOnAssemblyResolve;\n\n#endif\n            List<Assembly> assemblies = new List<Assembly>();\n\n            foreach (var assemblyPath in _sourceAssemblies)\n            {\n                var pathes = LookupPossibleAssemblyPath(assemblyPath);\n                foreach (var path in pathes)\n                {\n                    if (!Path.IsPathRooted(assemblyPath))\n                    {\n                        BuildWarn(ErrorMessages.RTW0013_AssemblyMayNotBeResolvedIncorrectly, new object[] { assemblyPath });\n                    }\n\n                    try\n                    {\n#if NETCORE\n                        var a = AssemblyLoadContext.Default.LoadFromAssemblyPath(path);\n#else\n                        var a = Assembly.LoadFrom(path);\n#endif\n                        _totalLoadedAssemblies++;\n                        assemblies.Add(a);\n                    }\n                    catch (Exception ex)\n                    {\n                        BuildWarn(ErrorMessages.RTW0014_AssemblyFailedToLoad, new object[] { path, ex });\n                    }\n                }\n            }\n\n\n            return assemblies.ToArray();\n        }\n\n        private void BuildReferencesCache()\n        {\n            _referencesCache.Clear();\n\n            if (string.IsNullOrEmpty(_referencesTmpFilePath) && _profileReader == null) return;\n            TextReader tr = null;\n            try\n            {\n                if (_profileReader == null)\n                {\n                    tr = File.OpenText(_referencesTmpFilePath);\n                }\n                else\n                {\n                    tr = _profileReader;\n                }\n                string reference;\n                while ((reference = tr.ReadLine()) != null)\n                {\n                    _referencesCache.Add(new AssemblyLocation(Path.GetFileName(reference), reference));\n                }\n            }\n            finally\n            {\n                if (tr != null)\n                {\n                    if (_profileReader == null) tr.Dispose();\n                }\n            }\n        }\n\n#if NETCORE\n\n        private Assembly CurrentDomainOnAssemblyResolve(AssemblyLoadContext context, AssemblyName assemblyName)\n        {\n            //AssemblyLoadContext.Default.Resolving -= CurrentDomainOnAssemblyResolve;\n            \n            if (assemblyName.Name.StartsWith(\"Reinforced.Typings.XmlSerializers\")) return Assembly.GetEntryAssembly();\n            if (_alreadyLoaded.ContainsKey(assemblyName.FullName)) return _alreadyLoaded[assemblyName.FullName];\n            AssemblyName nm = new AssemblyName(assemblyName.Name);\n            var paths = LookupPossibleAssemblyPath(nm.Name, false);\n            Assembly a = null;\n            \n            foreach (var path in paths)\n            {\n                try\n                {\n                    if (!Path.IsPathRooted(path))\n                    {\n                        BuildWarn(ErrorMessages.RTW0013_AssemblyMayNotBeResolvedIncorrectly, new object[] { string.Format(\"{0} (from {1})\",nm.Name, path) });\n                        continue;\n                    }\n                    \n                    a = context.LoadFromAssemblyPath(path);\n                }\n                catch (Exception ex)\n                {\n                    BuildWarn(ErrorMessages.RTW0014_AssemblyFailedToLoad, new object[] { string.Format(\"{0} (from {1})\",nm.Name, path), ex });\n                    continue;\n                }\n                \n                _alreadyLoaded[assemblyName.FullName] = a;\n                _totalLoadedAssemblies++;\n                break;\n#if DEBUG\n                Console.WriteLine(\"{0} additionally resolved\", nm);\n#endif\n            }\n\n            //AssemblyLoadContext.Default.Resolving += CurrentDomainOnAssemblyResolve;\n            return a;\n        }\n#else\n        private Assembly CurrentDomainOnAssemblyResolve(object sender, ResolveEventArgs args)\n        {\n            if (args.Name.StartsWith(\"Reinforced.Typings.XmlSerializers\")) return Assembly.GetExecutingAssembly();\n            if (_alreadyLoaded.ContainsKey(args.Name)) return _alreadyLoaded[args.Name];\n            AssemblyName nm = new AssemblyName(args.Name);\n            var paths = LookupPossibleAssemblyPath(nm.Name, false);\n            Assembly a = null;\n            foreach (var path in paths)\n            {\n                try\n                {\n                    if (!Path.IsPathRooted(path))\n                    {\n                        BuildWarn(ErrorMessages.RTW0013_AssemblyMayNotBeResolvedIncorrectly, new object[] { string.Format(\"{0} (from {1})\",nm.Name, path) });\n                        continue;\n                    }\n                    \n                    a = Assembly.LoadFrom(path);\n                }\n                catch (Exception ex)\n                {\n                    BuildWarn(ErrorMessages.RTW0014_AssemblyFailedToLoad, new object[] { string.Format(\"{0} (from {1})\",nm.Name, path), ex });\n                    continue;\n                }\n\n                \n                _alreadyLoaded[args.Name] = a;\n                _totalLoadedAssemblies++;\n                \n#if DEBUG\n                Console.WriteLine(\"{0} additionally resolved\", nm);\n#endif\n            }\n\n            return a;\n        }\n#endif\n\n\n        private string[] LookupAssemblyPathInternal(string assemblyNameOrFullPath, bool storeIfFullName = true)\n        {\n#if DEBUG\n            Console.WriteLine(\"Looking up for assembly {0}\", assemblyNameOrFullPath);\n#endif\n\n            if (Path.IsPathRooted(assemblyNameOrFullPath) && File.Exists(assemblyNameOrFullPath))\n            {\n                if (storeIfFullName)\n                {\n                    var lastAssemblyLocalDir = Path.GetDirectoryName(assemblyNameOrFullPath) + Path.DirectorySeparatorChar;\n                    if (!_allAssembliesDirs.Contains(lastAssemblyLocalDir)) _allAssembliesDirs.Add(lastAssemblyLocalDir);\n                }\n#if DEBUG\n                Console.WriteLine(\"Already have full path to assembly {0}\", assemblyNameOrFullPath);\n#endif\n                return new[] { assemblyNameOrFullPath };\n            }\n\n            var possiblePathes = _referencesCache.Where(d => d.AssemblyName == assemblyNameOrFullPath)\n                .Select(d => d.FileName)\n                .ToArray();\n\n\n            if (possiblePathes.Length > 0)\n            {\n\n#if DEBUG\n                Console.WriteLine(\"Assembly {0} could be found at:\", assemblyNameOrFullPath);\n                foreach (var assemblyLocation in possiblePathes)\n                {\n                    Console.WriteLine(\"\\t{0}\", assemblyLocation);\n                }\n#endif\n                return possiblePathes;\n            }\n\n            List<string> result = new List<string>();\n            foreach (var dir in _allAssembliesDirs)\n            {\n                var p = Path.Combine(dir, assemblyNameOrFullPath);\n                if (File.Exists(p))\n                {\n#if DEBUG\n                    Console.WriteLine(\"Assembly {0} found at {1}\", assemblyNameOrFullPath, p);\n#endif\n                    result.Add(p);\n                }\n            }\n\n            return result.ToArray();\n        }\n\n        private IEnumerable<string> LookupPossibleAssemblyPath(string assemblyNameOrFullPath, bool storeIfFullName = true)\n        {\n            string[] checkResult;\n            if (!assemblyNameOrFullPath.EndsWith(\".dll\") && !assemblyNameOrFullPath.EndsWith(\".exe\"))\n            {\n                var check = assemblyNameOrFullPath + \".dll\";\n                checkResult = LookupAssemblyPathInternal(check, storeIfFullName);\n\n                if (checkResult.Length > 0 && checkResult.Any(d => !string.IsNullOrEmpty(d))) return checkResult.Where(d => !string.IsNullOrEmpty(d));\n\n                check = assemblyNameOrFullPath + \".exe\";\n                checkResult = LookupAssemblyPathInternal(check, storeIfFullName);\n\n                if (checkResult.Length > 0 && checkResult.Any(d => !string.IsNullOrEmpty(d))) return checkResult.Where(d => !string.IsNullOrEmpty(d));\n            }\n\n            var p = assemblyNameOrFullPath;\n            checkResult = LookupAssemblyPathInternal(p, storeIfFullName);\n            if (checkResult.Length > 0 && checkResult.Any(d => !string.IsNullOrEmpty(d))) return checkResult.Where(d => !string.IsNullOrEmpty(d));\n\n\n            return new[] { assemblyNameOrFullPath };\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings.Cli/Bootstrapper.cs",
    "content": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Reflection;\n#if NETCORE\nusing System.Runtime.Loader;\n#endif\nusing Reinforced.Typings.Exceptions;\nusing Reinforced.Typings.Fluent;\n\nnamespace Reinforced.Typings.Cli\n{\n    internal static class CoreTypeExtensions\n    {\n\n        internal static PropertyInfo[] _GetProperties(this Type t, BindingFlags flags)\n        {\n#if NETCORE\n            return t.GetTypeInfo().GetProperties(flags);\n#else\n            return t.GetProperties(flags);\n#endif\n        }\n        internal static PropertyInfo _GetProperty(this Type t, string name)\n        {\n#if NETCORE\n            return t.GetTypeInfo().GetProperty(name);\n#else\n            return t.GetProperty(name);\n#endif\n        }\n\n        internal static MethodInfo _GetMethod(this Type t, string name)\n        {\n#if NETCORE\n            return t.GetTypeInfo().GetMethod(name);\n#else\n            return t.GetMethod(name);\n#endif\n        }\n\n    }\n\n    internal class ReferenceCacheEntry\n    {\n\n    }\n    /// <summary>\n    /// Class for CLI typescript typings utility\n    /// </summary>\n    public static class Bootstrapper\n    {\n        \n        private static TextReader _profileReader;\n        private static string _profilePath;\n        private static AssemblyManager _assemblyManager;\n        private static HashSet<int> _suppressedWarnings = new HashSet<int>();\n        \n        /// <summary>\n        /// Usage: rtcli.exe Assembly.dll [Assembly2.dll Assembly3.dll ... etc] file.ts\n        /// </summary>\n        /// <param name=\"args\"></param>\n        public static void Main(string[] args)\n        {\n            Console.WriteLine(\"Reinforced.Typings CLI generator (c) 2015-2018 by Pavel B. Novikov\");\n\n            ExporterConsoleParameters parameters = null;\n            if (args.Length == 0)\n            {\n                PrintHelp();\n                return;\n            }\n            try\n            {\n                if (string.Compare(args[0], \"profile\",\n#if NETCORE\n                StringComparison.CurrentCultureIgnoreCase\n#else\n                StringComparison.InvariantCultureIgnoreCase\n#endif\n                    ) == 0)\n                {\n                    if (!File.Exists(args[1]))\n                    {\n                        Console.WriteLine(\"Cannot find profile {0}, exiting\", args[1]);\n                        return;\n                    }\n                    parameters = ExtractParametersFromFile(args[1]);\n                }\n                else\n                {\n                    parameters = ExtractParametersFromArgs(args);\n                }\n                if (parameters == null)\n                {\n                    Console.WriteLine(\"No valid parameters found. Exiting.\");\n                    return;\n                }\n\n                _suppressedWarnings = ParseSuppressedWarnings(parameters.SuppressedWarnings);\n                var settings = InstantiateExportContext(parameters);\n                ResolveFluentMethod(settings,parameters);\n                TsExporter exporter = new TsExporter(settings);\n                exporter.Export();\n                _assemblyManager.TurnOffAdditionalResolvation();\n                foreach (var rtWarning in settings.Warnings)\n                {\n                    var msg = VisualStudioFriendlyErrorMessage.Create(rtWarning);\n                    Console.WriteLine(msg.ToString());\n                }\n                ReleaseReferencesTempFile(parameters);\n            }\n            catch (RtException rtException)\n            {\n                var error = VisualStudioFriendlyErrorMessage.Create(rtException);\n                Console.WriteLine(error.ToString());\n                Console.WriteLine(rtException.StackTrace);\n                ReleaseReferencesTempFile(parameters);\n                Environment.Exit(1);\n            }\n            catch (TargetInvocationException ex)\n            {\n                var e = ex.InnerException;\n                // ReSharper disable once PossibleNullReferenceException\n                BuildError(e.Message);\n                Console.WriteLine(e.StackTrace);\n                Environment.Exit(1);\n            }\n            catch (ReflectionTypeLoadException ex)\n            {\n                BuildError(ex.Message);\n                Console.WriteLine(ex.StackTrace);\n                if (ex.LoaderExceptions != null)\n                {\n                    foreach (var elo in ex.LoaderExceptions)\n                    {\n                        BuildError(elo.Message);\n                        Console.WriteLine(elo.StackTrace);\n                    }\n                }\n                \n                Environment.Exit(1);\n            }\n            catch (Exception ex)\n            {\n                BuildError(ex.Message);\n                Console.WriteLine(ex.StackTrace);\n                Environment.Exit(1);\n            }\n\n            if (_assemblyManager != null)\n            {\n                Console.WriteLine(\"Reinforced.Typings generation finished with total {0} assemblies loaded\",\n                    _assemblyManager.TotalLoadedAssemblies);\n            }\n\n            Console.WriteLine(\"Please build CompileTypeScript task to update javascript sources\");\n        }\n\n        private static void ReleaseReferencesTempFile(ExporterConsoleParameters parameters)\n        {\n            if (_profileReader != null) _profileReader.Dispose();\n            if (!string.IsNullOrEmpty(_profilePath)) File.Delete(_profilePath);\n            if (parameters == null) return;\n            if (!string.IsNullOrEmpty(parameters.ReferencesTmpFilePath)) File.Delete(parameters.ReferencesTmpFilePath);\n        }\n\n        private static void ResolveFluentMethod(ExportContext context, ExporterConsoleParameters parameters)\n        {\n            if (string.IsNullOrEmpty(parameters.ConfigurationMethod)) return;\n            var methodPath = parameters.ConfigurationMethod;\n            var path = new Stack<string>(methodPath.Split('.'));\n            var method = path.Pop();\n            var fullQualifiedType = string.Join(\".\", path.Reverse());\n            bool isFound = false;\n\n            foreach (var sourceAssembly in context.SourceAssemblies)\n            {\n                var type = sourceAssembly.GetType(fullQualifiedType, false);\n                if (type != null)\n                {\n                    var constrMethod = type._GetMethod(method);\n                    if (constrMethod != null && constrMethod.IsStatic)\n                    {\n\n                        var pars = constrMethod.GetParameters();\n                        if (pars.Length == 1/* && pars[0].ParameterType == typeof(ConfigurationBuilder)*/)\n                        {\n                            isFound = true;\n                            context.ConfigurationMethod = builder => constrMethod.Invoke(null, new object[] { builder });\n                            break;\n                        }\n                    }\n                }\n            }\n            if (!isFound) BuildWarn(ErrorMessages.RTW0009_CannotFindFluentMethod, methodPath);\n        }\n\n        public static ExportContext InstantiateExportContext(ExporterConsoleParameters parameters)\n        {\n            _assemblyManager = new AssemblyManager(parameters.SourceAssemblies,_profileReader,parameters.ReferencesTmpFilePath,BuildWarn);\n\n            var srcAssemblies = _assemblyManager.GetAssembliesFromArgs();\n            ExportContext context = new ExportContext(srcAssemblies)\n            {\n                Hierarchical = parameters.Hierarchy,\n                TargetDirectory = parameters.TargetDirectory,\n                TargetFile = parameters.TargetFile,\n                DocumentationFilePath = parameters.DocumentationFilePath,\n                SuppressedWarningCodes = ParseSuppressedWarnings(parameters.SuppressedWarnings)\n            };\n            return context;\n        }\n\n        public static void PrintHelp()\n        {\n            Console.WriteLine(\"Available parameters:\");\n            Console.WriteLine();\n\n            var t = typeof(ExporterConsoleParameters);\n            var props = t._GetProperties(BindingFlags.Public | BindingFlags.Instance);\n            foreach (var propertyInfo in props)\n            {\n                var attr = propertyInfo.GetCustomAttribute<ConsoleHelpAttribute>();\n                if (attr != null)\n                {\n                    var req = attr.RequiredType;\n                    string requiredText = null;\n                    switch (req)\n                    {\n                        case Required.Not:\n                            requiredText = \"(not required)\";\n                            break;\n                        case Required.Is:\n                            requiredText = \"(required)\";\n                            break;\n                        case Required.Partially:\n                            requiredText = \"(sometimes required)\";\n                            break;\n                    }\n                    Console.WriteLine(propertyInfo.Name + \" \" + requiredText);\n\n                    var lines = attr.HelpText.Split(new[] { '\\r', '\\n' }, StringSplitOptions.RemoveEmptyEntries);\n                    foreach (var line in lines)\n                    {\n                        Console.WriteLine(\"\\t{0}\", line);\n                    }\n\n                    Console.WriteLine();\n                }\n            }\n        }\n\n        private static void BuildWarn(ErrorMessage msg, params object[] args)\n        {\n            \n            if (_suppressedWarnings.Contains(msg.Code)) return;\n            VisualStudioFriendlyErrorMessage vsm = VisualStudioFriendlyErrorMessage.Create(msg.Warn(args));\n            Console.WriteLine(vsm.ToString());\n        }\n\n        private static void BuildError(string message, params object[] args)\n        {\n            var errorMessage = string.Format(message, args);\n            VisualStudioFriendlyErrorMessage vsm = new VisualStudioFriendlyErrorMessage(999, errorMessage, VisualStudioFriendlyMessageType.Error, \"Unexpected\");\n            Console.WriteLine(vsm.ToString());\n        }\n\n        public static HashSet<int> ParseSuppressedWarnings(string input)\n        {\n            var result = new HashSet<int>();\n            if (string.IsNullOrEmpty(input)) return result;\n            var values = input.Split(';');\n            foreach (var warningCode in values)\n            {\n                //for some reason there is no StringSplitOptions for netcoreapp1.0\n                if (string.IsNullOrEmpty(warningCode)) continue;\n                var filtered = new string(warningCode.Where(char.IsDigit).ToArray());\n                bool parsed = int.TryParse(filtered, out int intWarningCode);\n                if (parsed) result.Add(intWarningCode);\n                else\n                {\n                    BuildWarn(ErrorMessages.RTW0010_CannotParseWarningCode,warningCode);\n                }\n            }\n\n            return result;\n        }\n\n        private static ExporterConsoleParameters ExtractParametersFromFile(string fileName)\n        {\n            _profilePath = fileName;\n            _profileReader = File.OpenText(fileName);\n            return ExporterConsoleParameters.FromFile(_profileReader);\n        }\n\n        public static ExporterConsoleParameters ExtractParametersFromArgs(string[] args)\n        {\n            var t = typeof(ExporterConsoleParameters);\n            var instance = new ExporterConsoleParameters();\n            foreach (var s in args)\n            {\n                var trimmed = s.TrimStart('-');\n                var kv = trimmed.Split('=');\n                if (kv.Length != 2)\n                {\n                    BuildWarn(ErrorMessages.RTW0011_UnrecognizedConfigurationParameter, s);\n                    continue;\n                }\n\n                var key = kv[0].Trim();\n                var value = kv[1].Trim().Trim('\"');\n\n                var prop = t._GetProperty(key);\n                if (prop == null)\n                {\n                    BuildWarn(ErrorMessages.RTW0011_UnrecognizedConfigurationParameter, key);\n                    continue;\n                }\n\n                if (prop.PropertyType == typeof(bool))\n                {\n                    bool parsedValue = Boolean.Parse(value);\n                    prop.SetValue(instance, parsedValue);\n                    continue;\n                }\n\n                if (prop.PropertyType == typeof(string))\n                {\n                    prop.SetValue(instance, value);\n                    continue;\n                }\n\n                if (prop.PropertyType == typeof(string[]))\n                {\n                    var parsedValue = value.Split(';');\n                    prop.SetValue(instance, parsedValue);\n                    continue;\n                }\n\n                BuildWarn(ErrorMessages.RTW0012_UnrecognizedConfigurationParameterValue, key);\n            }\n\n            try\n            {\n                instance.Validate();\n            }\n            catch (Exception ex)\n            {\n                BuildError(\"Parameter validation error: {0}\", ex.Message);\n                PrintHelp();\n                return null;\n            }\n\n            return instance;\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings.Cli/ConsoleHelpAttribute.cs",
    "content": "﻿using System;\n\nnamespace Reinforced.Typings.Cli\n{\n    /// <summary>\n    /// Denotes console help for parameter\n    /// </summary>\n    public class ConsoleHelpAttribute : Attribute\n    {\n        /// <summary>\n        /// Help text\n        /// </summary>\n        public string HelpText { get; set; }\n\n        public Required RequiredType { get; set; }\n\n\n        public ConsoleHelpAttribute(string helpText,Required requiredType = Required.Not)\n        {\n            HelpText = helpText;\n            RequiredType = requiredType;\n        }\n    }\n\n    public enum Required\n    {\n        Is,\n        Not,\n        Partially\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings.Cli/ErrorMessages.cs",
    "content": "﻿using Reinforced.Typings.Exceptions;\n\nnamespace Reinforced.Typings.Cli\n{\n    class ErrorMessages\n    {\n        /// <summary>\n        /// Error of fluent method loading\n        /// </summary>\n        public static readonly ErrorMessage RTW0009_CannotFindFluentMethod = new ErrorMessage(0009, \"Cannot find configured fluent method '{0}'\", \"Type loading\");\n        \n        /// <summary>\n        /// Error of suppressed warning code parsing\n        /// </summary>\n        public static readonly ErrorMessage RTW0010_CannotParseWarningCode = new ErrorMessage(0010, \"Cannot parse warning code '{0}'\", \"Parameters parsering\");\n        \n        /// <summary>\n        /// Error of configuration parameter parsing\n        /// </summary>\n        public static readonly ErrorMessage RTW0011_UnrecognizedConfigurationParameter = new ErrorMessage(0011, \"Unrecognized configuration parameter: {0}\", \"Parameters parsering\");\n        \n        /// <summary>\n        /// Error of configuration parameter value parsing\n        /// </summary>\n        public static readonly ErrorMessage RTW0012_UnrecognizedConfigurationParameterValue = new ErrorMessage(0012, \"Unrecognized configuration parameter value: {0}\", \"Parameters parsering\");\n        \n        /// <summary>\n        /// Warning of potentially incorrect assembly resolve\n        /// </summary>\n        public static readonly ErrorMessage RTW0013_AssemblyMayNotBeResolvedIncorrectly = new ErrorMessage(0013, \"Assembly {0} may be resolved incorrectly\", \"Assembly loading\");\n        \n        /// <summary>\n        /// Warning of failed assembly load\n        /// </summary>\n        public static readonly ErrorMessage RTW0014_AssemblyFailedToLoad = new ErrorMessage(0014, \"Assembly {0} failed to load: {1}\", \"Assembly loading\");\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Cli/ExporterConsoleParameters.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Reflection;\nusing System.Text;\n\nnamespace Reinforced.Typings.Cli\n{\n    /// <summary>\n    /// Reinforced.Typings generator CLI parameters\n    /// </summary>\n    public class ExporterConsoleParameters\n    {\n        /// <summary>\n        /// Source assemblies. \n        /// The assemblies to extract typings from\n        /// </summary>\n        [ConsoleHelp(@\"\nThe semicolon-separated list of assemblies to extract typings from.\nExample:   rtcli.exe SourceAssemblies=\"\"C:\\TestProject\\Assembly1.dll;C:\\TestProject\\Assembly2.dll\"\"\n\", Required.Is)]\n        public string[] SourceAssemblies { get; set; }\n\n        /// <summary>\n        /// Target file where to store generated sources. \n        /// This parameter is not used when Hierarchy is true\n        /// </summary>\n        [ConsoleHelp(@\"\nTarget file to store generated sources.\nNot required if Hierarchy=\"\"true\"\" specified. Otherwise required.\nExample:   rtcli.exe TargetFile=\"\"C:\\path\\to\\target\\file.ts\"\"\", Required.Partially)]\n        public string TargetFile { get; set; }\n\n        /// <summary>\n        /// Target directory where to store generated typing files. \n        /// This parameter is not used when Hierarchy is false\n        /// </summary>\n        [ConsoleHelp(@\"\nTarget directory to store generated typing files. \nNot required if Hierarchy=\"\"false\"\" or not specified. Otherwise required.\nExample:   rtcli.exe TargetDirectory=\"\"C:\\path\\to\\project\\\"\" (trailing slash optional)\", Required.Partially)]\n        public string TargetDirectory { get; set; }\n\n        /// <summary>\n        /// Full list of referenced assemblies. \n        /// If not specified then the CLI will try to resolve reference assemblies from same directory as target assembly\n        /// </summary>\n        [ConsoleHelp(@\"\nPath to temporary file containing all references for project. One reference per line.\nIf not specified then the CLI will try to resolve reference assemblies \nfrom same directory as target assembly. \nExample:   rtcli.exe References=\"\"C:\\Users\\AppData\\Local\\Temp\\ANGhgRuDPG.tmp\"\" \")]\n        public string ReferencesTmpFilePath { get; set; }\n\n        /// <summary>\n        /// True to create project hierarchy in target folder. \n        /// False to store generated typings in single file\n        /// </summary>\n        [ConsoleHelp(@\"\nBoolean parameter that switches hierarchy generation ability.\nTrue to create project hierarchy in target folder. \nFalse (default) to store generated typings in single file. \nExample:   rtcli.exe Hierarchy=\"\"true\"\" \")]\n        public bool Hierarchy { get; set; }\n\n        /// <summary>\n        /// Full path to assembly's XMLDOC file.\n        /// If this parameter is not specified or contains invalid path then documentation will not be generated without any exception\n        /// </summary>\n        [ConsoleHelp(@\"\nFull path to assembly's XMLDOC file.\nIf this parameter is not specified or contains invalid path \nthen documentation will not be generated without any exception\nExample:   rtcli.exe DocumentationFilePath=\"\"C:\\MyAssembly\\Assembly.XML\"\" \")]\n        public string DocumentationFilePath { get; set; }\n\n        /// <summary>\n        /// Sets full-qualified name of configuration method to be applied to retrieve fluent configuration instead of attribute-based configuration.\n        /// Configuration method should be static and consume Reinforced.Typings.Fluent.ConfigurationBuilder as first parameter. \n        /// Warning! It is important for Configuration method to be full-qualified and it should be located in the one of referenced assemblies!\n        /// </summary>\n        [ConsoleHelp(@\"\nSets full-qualified name of configuration method \nto be applied to retrieve fluent configuration \ninstead of attribute-based configuration. \nConfiguration method should be static and consume \nConfigurationBuilder as first parameter.\nExample:   rtcli.exe ConfigurationMethod=\"\"My.Assembly.Name.Configuration.ConfigureTypings\"\" \")]\n        public string ConfigurationMethod { get; set; }\n        \n        /// <summary>\n        /// Sets list of warnings to be suppressed. Semi-colon separated values.\n        /// All letters will be discarded when parsing, so can be specified in any convenient format \n        /// </summary>\n        [ConsoleHelp(@\"\nSets list of warnings to be suppressed. \nSemi-colon separated values. All letters \nwill be discarded when parsering, so \ncan be specified in any convenient format \nExample:   rtcli.exe SuppressedWarnings=\"\"RTW0001;2;3\"\" \")]\n        public string SuppressedWarnings { get; set; }\n\n        /// <summary>\n        /// Validates input parameters\n        /// </summary>\n        public void Validate()\n        {\n            if (!Hierarchy && string.IsNullOrEmpty(TargetFile))\n                throw new Exception(\"Target file must be specified in case of non-hierarchy generation\");\n\n            if (Hierarchy && string.IsNullOrEmpty(TargetDirectory))\n                throw new Exception(\"Target directory must be specified in case of hierarchy generation\");\n\n            if (SourceAssemblies == null || SourceAssemblies.Length == 0)\n                throw new Exception(\"No source assemblies specified. Nothing to export\");\n        }\n\n        public ExporterConsoleParameters()\n        {\n\n        }\n\n        public static ExporterConsoleParameters FromFile(TextReader tr)\n        {\n            ExporterConsoleParameters result = new ExporterConsoleParameters();\n            result.TargetFile = tr.ReadLine();\n            result.ReferencesTmpFilePath = tr.ReadLine();\n            result.TargetDirectory = tr.ReadLine();\n            result.Hierarchy = bool.Parse(tr.ReadLine());\n            result.DocumentationFilePath = tr.ReadLine();\n            result.ConfigurationMethod = tr.ReadLine();\n            result.SuppressedWarnings = tr.ReadLine();\n            result.SourceAssemblies = new string[int.Parse(tr.ReadLine())];\n            for (int i = 0; i < result.SourceAssemblies.Length; i++)\n            {\n                result.SourceAssemblies[i] = tr.ReadLine();\n            }\n            return result;\n        }\n\n        public void ToFile(TextWriter tw)\n        {\n            tw.WriteLine(TargetFile);\n            tw.WriteLine(ReferencesTmpFilePath);\n            tw.WriteLine(TargetDirectory);\n            tw.WriteLine(Hierarchy);\n            tw.WriteLine(DocumentationFilePath);\n            tw.WriteLine(ConfigurationMethod);\n            tw.WriteLine(SuppressedWarnings);\n            tw.WriteLine(SourceAssemblies.Length);\n            foreach (var sourceAssembly in SourceAssemblies)\n            {\n                tw.WriteLine(sourceAssembly);\n            }\n        }\n\n        /// <summary>\n        /// Produces command line arguments suitable for rtcli.exe\n        /// </summary>\n        /// <returns>Command line arguments string</returns>\n        public string ExportConsoleParameters()\n        {\n            List<string> arguments = new List<string>();\n\n            var props = typeof(ExporterConsoleParameters)._GetProperties(BindingFlags.Public | BindingFlags.Instance);\n            const string propFormat = \"{0}=\\\"{1}\\\"\";\n            foreach (var propertyInfo in props)\n            {\n                var pi = propertyInfo.GetValue(this);\n                if (pi == null) continue;\n                if (propertyInfo.PropertyType == (typeof(string[])))\n                {\n                    var strings = (string[])pi;\n                    if (strings.Length == 0) continue;\n                    pi = string.Join(\";\", strings);\n                }\n\n                arguments.Add(String.Format(propFormat, propertyInfo.Name, pi));\n            }\n\n            return String.Join(\" \", arguments);\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings.Cli/Properties/AssemblyInfo.cs",
    "content": "﻿using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Information about an assembly is controlled through the following \n// set of attributes. Change these attribute values to modify the information\n// associated with an assembly.\n[assembly: AssemblyTitle(\"Reinforced.WebTypings.Console\")]\n[assembly: AssemblyDescription(\"\")]\n[assembly: AssemblyConfiguration(\"\")]\n[assembly: AssemblyCompany(\"\")]\n[assembly: AssemblyProduct(\"Reinforced.WebTypings.Console\")]\n[assembly: AssemblyCopyright(\"Copyright ©  2015\")]\n[assembly: AssemblyTrademark(\"\")]\n[assembly: AssemblyCulture(\"\")]\n\n// Setting ComVisible to false makes the types in this assembly not visible \n// to COM components.  If you need to access a type in this assembly from \n// COM, set the ComVisible attribute to true on that type.\n[assembly: ComVisible(false)]\n\n// The following GUID is for the ID of the typelib if this project is exposed to COM\n[assembly: Guid(\"b1103c7e-f5a2-4ac5-a5bc-7107b4d0fd69\")]\n\n// Version information for an assembly consists of the following four values:\n//\n//      Major Version\n//      Minor Version \n//      Build Number\n//      Revision\n//\n// You can specify all the values or you can default the Build and Revision Numbers \n// by using the '*' as shown below:\n// [assembly: AssemblyVersion(\"1.0.*\")]\n[assembly: AssemblyVersion(\"1.0.0.0\")]\n[assembly: AssemblyFileVersion(\"1.0.0.0\")]\n"
  },
  {
    "path": "Reinforced.Typings.Cli/Properties/launchSettings.json",
    "content": "{\n  \"profiles\": {\n    \"Reinforced.Typings.Cli.NETCore\": {\n      \"commandName\": \"Project\",\n      \"commandLineArgs\": \"profile \\\"w:\\\\Work\\\\Reinforced\\\\Typings\\\\testfile.txt\\\"\"\n    }\n  }\n}"
  },
  {
    "path": "Reinforced.Typings.Cli/Reinforced.Typings.Cli.Dev.csproj",
    "content": "<Project Sdk=\"Microsoft.NET.Sdk.Web\">\n\t<PropertyGroup>\n\t\t<TargetFramework>net5.0</TargetFramework>\n\t\t<OutputType>Exe</OutputType>\n\t\t<RootNamespace>Reinforced.Typings.Cli</RootNamespace>\n\t\t<GeneratePackageOnBuild>false</GeneratePackageOnBuild>    \n\t\t<DebugSymbols Condition=\"$(Configuration) == 'Release'\">false</DebugSymbols>\n\t\t<DebugType Condition=\"$(Configuration) == 'Release'\">None</DebugType>\n\t\t<StartupObject>Reinforced.Typings.Cli.Bootstrapper</StartupObject>\n\t\t<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>\n\t\t<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>\n\t\t<Platforms>AnyCPU;x64;x86</Platforms>\n\t\t\n\t\t<AssemblyName>rtcli</AssemblyName>\n\t\t<Company>Reinforced Software Construction OSS</Company>\n\t\t<Copyright>Pavel B. Novikov 2019</Copyright>\n\t\t<AssemblyTitle>$(AssemblyName)</AssemblyTitle>\n\t\t<AssemblyVersion>1.5.9</AssemblyVersion>\n\t\t<FileVersion>1.5.9</FileVersion>\n\t\t<InformationalVersion>1.5.9</InformationalVersion>\n\t\t<DefineConstants>$(DefineConstants);NETCORE;</DefineConstants>\n\t</PropertyGroup>    \n\t<ItemGroup>\n\t\t<Compile Remove=\"Properties\\AssemblyInfo.cs\" />\n\t</ItemGroup>\t\n\t<ItemGroup>\n\t\t<Folder Include=\"Properties\\\" />\n\t</ItemGroup>\n\t\n\t<ItemGroup>\n\t\t<ProjectReference Include=\"..\\Reinforced.Typings\\Reinforced.Typings.Dev.csproj\" />\n\t</ItemGroup>\n\n</Project>\n"
  },
  {
    "path": "Reinforced.Typings.Cli/Reinforced.Typings.Cli.NETCore.csproj",
    "content": "<Project Sdk=\"Microsoft.NET.Sdk.Web\">\r\n\t<PropertyGroup>\r\n\t\t<TargetFramework>net10.0</TargetFramework>\r\n\t\t<OutputType>Exe</OutputType>\r\n\t\t<RootNamespace>Reinforced.Typings.Cli</RootNamespace>\r\n\t\t<GeneratePackageOnBuild>false</GeneratePackageOnBuild>    \r\n\t\t<DebugSymbols Condition=\"$(Configuration) == 'Release'\">false</DebugSymbols>\r\n\t\t<DebugType Condition=\"$(Configuration) == 'Release'\">None</DebugType>\r\n\t\t<StartupObject>Reinforced.Typings.Cli.Bootstrapper</StartupObject>\r\n\t\t<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>\r\n\t\t<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>\r\n\t\t<Platforms>AnyCPU;x64;x86</Platforms>\r\n\t\t\r\n\t\t<AssemblyName>rtcli</AssemblyName>\r\n\t\t<Company>Reinforced Software Construction OSS</Company>\r\n\t\t<Copyright>Pavel B. Novikov 2019</Copyright>\r\n\t\t<AssemblyTitle>$(AssemblyName)</AssemblyTitle>\r\n\t\t<AssemblyVersion>1.6.7</AssemblyVersion>\r\n\t\t<FileVersion>1.6.7</FileVersion>\r\n\t\t<InformationalVersion>1.6.7</InformationalVersion>\r\n\t\t<DefineConstants>$(DefineConstants);$(RtAdditionalConstants);</DefineConstants>\r\n\t</PropertyGroup>    \r\n\t<ItemGroup>\r\n\t\t<Compile Remove=\"Properties\\AssemblyInfo.cs\" />\r\n\t</ItemGroup>\r\n\t<ItemGroup>\r\n\t  <Compile Include=\"..\\Reinforced.Typings\\Sign.cs\" Link=\"Sign.cs\" />\r\n\t</ItemGroup>\r\n\t<ItemGroup>\r\n\t\t<Folder Include=\"Properties\\\" />\r\n\t</ItemGroup>\r\n\r\n\t<ItemGroup Condition=\"$(RtNetCore)=='True'\">\r\n\t\t<PackageReference Include=\"System.Runtime\" Version=\"4.3.0\" />\r\n\t\t<PackageReference Include=\"System.Runtime.Loader\" Version=\"4.3.0\" />\r\n\t\t<PackageReference Include=\"System.Xml.XmlSerializer\" Version=\"4.3.0\" />\r\n\t</ItemGroup>\r\n\r\n\t<ItemGroup>\r\n\t\t<ProjectReference Include=\"..\\Reinforced.Typings\\Reinforced.Typings.NETCore.csproj\" />\r\n\t</ItemGroup>\r\n\r\n</Project>\r\n"
  },
  {
    "path": "Reinforced.Typings.Cli/Reinforced.Typings.Cli.csproj",
    "content": "﻿<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"12.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\n  <Import Project=\"$(MSBuildExtensionsPath)\\$(MSBuildToolsVersion)\\Microsoft.Common.props\" Condition=\"Exists('$(MSBuildExtensionsPath)\\$(MSBuildToolsVersion)\\Microsoft.Common.props')\" />\n  <PropertyGroup>\n    <Configuration Condition=\" '$(Configuration)' == '' \">Debug</Configuration>\n    <Platform Condition=\" '$(Platform)' == '' \">AnyCPU</Platform>\n    <ProjectGuid>{006290E6-CC0D-4222-87F8-9E67469AD2C9}</ProjectGuid>\n    <OutputType>Exe</OutputType>\n    <AppDesignerFolder>Properties</AppDesignerFolder>\n    <RootNamespace>Reinforced.Typings.Cli</RootNamespace>\n    <AssemblyName>rtcli</AssemblyName>\n    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>\n    <FileAlignment>512</FileAlignment>\n    <TargetFrameworkProfile />\n  </PropertyGroup>\n  <PropertyGroup Condition=\" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' \">\n    <PlatformTarget>AnyCPU</PlatformTarget>\n    <DebugSymbols>true</DebugSymbols>\n    <DebugType>full</DebugType>\n    <Optimize>false</Optimize>\n    <OutputPath>bin\\Debug\\</OutputPath>\n    <DefineConstants>DEBUG;TRACE</DefineConstants>\n    <ErrorReport>prompt</ErrorReport>\n    <WarningLevel>4</WarningLevel>\n  </PropertyGroup>\n  <PropertyGroup Condition=\" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' \">\n    <PlatformTarget>AnyCPU</PlatformTarget>\n    <DebugType>pdbonly</DebugType>\n    <Optimize>true</Optimize>\n    <OutputPath>bin\\Release\\</OutputPath>\n    <DefineConstants>TRACE</DefineConstants>\n    <ErrorReport>prompt</ErrorReport>\n    <WarningLevel>4</WarningLevel>\n  </PropertyGroup>\n  <PropertyGroup>\n    <StartupObject />\n  </PropertyGroup>\n  <ItemGroup>\n    <Reference Include=\"mscorlib\" />\n    <Reference Include=\"System\" />\n    <Reference Include=\"System.Core\" />\n    <Reference Include=\"System.Xml.Linq\" />\n    <Reference Include=\"System.Data.DataSetExtensions\" />\n    <Reference Include=\"Microsoft.CSharp\" />\n    <Reference Include=\"System.Data\" />\n    <Reference Include=\"System.Xml\" />\n  </ItemGroup>\n  <ItemGroup>\n    <Compile Include=\"AssemblyManager.cs\" />\n    <Compile Include=\"Bootstrapper.cs\" />\n    <Compile Include=\"ConsoleHelpAttribute.cs\" />\n    <Compile Include=\"VisualStudioFriendlyMessageType.cs\" />\n    <Compile Include=\"ExporterConsoleParameters.cs\" />\n    <Compile Include=\"Properties\\AssemblyInfo.cs\" />\n    <Compile Include=\"VisualStudioFriendlyErrorMessage.cs\" />\n  </ItemGroup>\n  <ItemGroup>\n    <ProjectReference Include=\"..\\Reinforced.Typings\\Reinforced.Typings.csproj\">\n      <Project>{2a5ccd5c-e660-4088-8937-9632abbbcdbb}</Project>\n      <Name>Reinforced.Typings</Name>\n    </ProjectReference>\n  </ItemGroup>\n  <ItemGroup>\n    <None Include=\"app.config\" />\n  </ItemGroup>\n  <Import Project=\"$(MSBuildToolsPath)\\Microsoft.CSharp.targets\" />\n  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. \n       Other similar extension points exist, see Microsoft.Common.targets.\n  <Target Name=\"BeforeBuild\">\n  </Target>\n  <Target Name=\"AfterBuild\">\n  </Target>\n  -->\n</Project>"
  },
  {
    "path": "Reinforced.Typings.Cli/VisualStudioFriendlyErrorMessage.cs",
    "content": "using Reinforced.Typings.Exceptions;\n\nnamespace Reinforced.Typings.Cli\n{\n    /// <summary>\n    /// Class that formats messages in appropriate way to be shown at \n    /// VisualStudio's errors list\n    /// \n    /// Explanation is taken from here:\n    /// http://blogs.msdn.com/b/msbuild/archive/2006/11/03/msbuild-visual-studio-aware-error-messages-and-message-formats.aspx\n    /// </summary>\n    class VisualStudioFriendlyErrorMessage\n    {\n        public string Origin { get { return \"Reinforced.Typings\"; } }\n\n        public string Subcategory { get; set; }\n\n        public VisualStudioFriendlyMessageType Type { get; set; }\n\n        public int Code { get; set; }\n\n        public string CodeName { get { return string.Format(\"RT{0:0000}\", Code); } }\n\n        public string ErrorText { get; set; }\n\n        public VisualStudioFriendlyErrorMessage(int code, string errorText, VisualStudioFriendlyMessageType type, string subcategory = \"\")\n        {\n            Code = code;\n            ErrorText = errorText;\n            Subcategory = subcategory;\n            Type = type;\n        }\n\n        public override string ToString()\n        {\n            return string.Format(\"{0} : {1} {2} {3}: {4}\", Origin, Subcategory, Type == VisualStudioFriendlyMessageType.Error ? \"error\" : \"warning\", CodeName, ErrorText);\n        }\n\n        public static VisualStudioFriendlyErrorMessage Create(RtWarning warning)\n        {\n            return new VisualStudioFriendlyErrorMessage(warning.Code,warning.Text,VisualStudioFriendlyMessageType.Warning,warning.Subcategory);\n        }\n\n        public static VisualStudioFriendlyErrorMessage Create(RtException error)\n        {\n            return new VisualStudioFriendlyErrorMessage(error.Code, error.Message, VisualStudioFriendlyMessageType.Error, error.Subcategory);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Cli/VisualStudioFriendlyMessageType.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace Reinforced.Typings.Cli\n{\n    public enum VisualStudioFriendlyMessageType\n    {\n        Error,\n        Warning\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings.Cli/app.config",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<configuration>\r\n<startup><supportedRuntime version=\"v4.0\" sku=\".NETFramework,Version=v4.5\"/></startup></configuration>\r\n"
  },
  {
    "path": "Reinforced.Typings.Dev.sln",
    "content": "﻿\nMicrosoft Visual Studio Solution File, Format Version 12.00\n# Visual Studio Version 16\nVisualStudioVersion = 16.0.30717.126\nMinimumVisualStudioVersion = 10.0.40219.1\nProject(\"{9A19103F-16F7-4668-BE54-9A1E7A4F7556}\") = \"Reinforced.Typings.Dev\", \"Reinforced.Typings\\Reinforced.Typings.Dev.csproj\", \"{ADDC2C7F-C429-4772-A00C-0587B9DEC2EB}\"\nEndProject\nProject(\"{9A19103F-16F7-4668-BE54-9A1E7A4F7556}\") = \"Reinforced.Typings.Cli.Dev\", \"Reinforced.Typings.Cli\\Reinforced.Typings.Cli.Dev.csproj\", \"{E69ACAC0-16DB-4AB9-BB4A-03EC33538D1E}\"\nEndProject\nProject(\"{9A19103F-16F7-4668-BE54-9A1E7A4F7556}\") = \"Reinforced.Typings.Integrate.Dev\", \"Reinforced.Typings.Integrate\\Reinforced.Typings.Integrate.Dev.csproj\", \"{836424C9-8003-4C0F-84E1-2C17FE498648}\"\nEndProject\nProject(\"{2150E333-8FDC-42A3-9474-1A3956D46DE8}\") = \"cake\", \"cake\", \"{71091BA9-1588-4878-B1FA-3EF908CCD61C}\"\n\tProjectSection(SolutionItems) = preProject\n\t\tcake\\build.cake = cake\\build.cake\n\tEndProjectSection\nEndProject\nProject(\"{9A19103F-16F7-4668-BE54-9A1E7A4F7556}\") = \"Reinforced.Typings.Tests.Dev\", \"Reinforced.Typings.Tests\\Reinforced.Typings.Tests.Dev.csproj\", \"{6E812A62-42E1-4CBF-97A4-A1F73BB5E96E}\"\nEndProject\nProject(\"{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}\") = \"TestFluentAssembly.Dev\", \"TestFluentAssembly\\TestFluentAssembly.Dev.csproj\", \"{D72B9639-9CC3-403E-8E7E-636115429A38}\"\nEndProject\nGlobal\n\tGlobalSection(SolutionConfigurationPlatforms) = preSolution\n\t\tDebug|Any CPU = Debug|Any CPU\n\t\tDebug|x64 = Debug|x64\n\t\tDebug|x86 = Debug|x86\n\t\tRelease|Any CPU = Release|Any CPU\n\t\tRelease|x64 = Release|x64\n\t\tRelease|x86 = Release|x86\n\tEndGlobalSection\n\tGlobalSection(ProjectConfigurationPlatforms) = postSolution\n\t\t{ADDC2C7F-C429-4772-A00C-0587B9DEC2EB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\n\t\t{ADDC2C7F-C429-4772-A00C-0587B9DEC2EB}.Debug|Any CPU.Build.0 = Debug|Any CPU\n\t\t{ADDC2C7F-C429-4772-A00C-0587B9DEC2EB}.Debug|x64.ActiveCfg = Debug|x64\n\t\t{ADDC2C7F-C429-4772-A00C-0587B9DEC2EB}.Debug|x64.Build.0 = Debug|x64\n\t\t{ADDC2C7F-C429-4772-A00C-0587B9DEC2EB}.Debug|x86.ActiveCfg = Debug|x86\n\t\t{ADDC2C7F-C429-4772-A00C-0587B9DEC2EB}.Debug|x86.Build.0 = Debug|x86\n\t\t{ADDC2C7F-C429-4772-A00C-0587B9DEC2EB}.Release|Any CPU.ActiveCfg = Release|Any CPU\n\t\t{ADDC2C7F-C429-4772-A00C-0587B9DEC2EB}.Release|Any CPU.Build.0 = Release|Any CPU\n\t\t{ADDC2C7F-C429-4772-A00C-0587B9DEC2EB}.Release|x64.ActiveCfg = Release|x64\n\t\t{ADDC2C7F-C429-4772-A00C-0587B9DEC2EB}.Release|x64.Build.0 = Release|x64\n\t\t{ADDC2C7F-C429-4772-A00C-0587B9DEC2EB}.Release|x86.ActiveCfg = Release|x86\n\t\t{ADDC2C7F-C429-4772-A00C-0587B9DEC2EB}.Release|x86.Build.0 = Release|x86\n\t\t{E69ACAC0-16DB-4AB9-BB4A-03EC33538D1E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\n\t\t{E69ACAC0-16DB-4AB9-BB4A-03EC33538D1E}.Debug|Any CPU.Build.0 = Debug|Any CPU\n\t\t{E69ACAC0-16DB-4AB9-BB4A-03EC33538D1E}.Debug|x64.ActiveCfg = Debug|x64\n\t\t{E69ACAC0-16DB-4AB9-BB4A-03EC33538D1E}.Debug|x64.Build.0 = Debug|x64\n\t\t{E69ACAC0-16DB-4AB9-BB4A-03EC33538D1E}.Debug|x86.ActiveCfg = Debug|x86\n\t\t{E69ACAC0-16DB-4AB9-BB4A-03EC33538D1E}.Debug|x86.Build.0 = Debug|x86\n\t\t{E69ACAC0-16DB-4AB9-BB4A-03EC33538D1E}.Release|Any CPU.ActiveCfg = Release|Any CPU\n\t\t{E69ACAC0-16DB-4AB9-BB4A-03EC33538D1E}.Release|Any CPU.Build.0 = Release|Any CPU\n\t\t{E69ACAC0-16DB-4AB9-BB4A-03EC33538D1E}.Release|x64.ActiveCfg = Release|x64\n\t\t{E69ACAC0-16DB-4AB9-BB4A-03EC33538D1E}.Release|x64.Build.0 = Release|x64\n\t\t{E69ACAC0-16DB-4AB9-BB4A-03EC33538D1E}.Release|x86.ActiveCfg = Release|x86\n\t\t{E69ACAC0-16DB-4AB9-BB4A-03EC33538D1E}.Release|x86.Build.0 = Release|x86\n\t\t{836424C9-8003-4C0F-84E1-2C17FE498648}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\n\t\t{836424C9-8003-4C0F-84E1-2C17FE498648}.Debug|Any CPU.Build.0 = Debug|Any CPU\n\t\t{836424C9-8003-4C0F-84E1-2C17FE498648}.Debug|x64.ActiveCfg = Debug|x64\n\t\t{836424C9-8003-4C0F-84E1-2C17FE498648}.Debug|x64.Build.0 = Debug|x64\n\t\t{836424C9-8003-4C0F-84E1-2C17FE498648}.Debug|x86.ActiveCfg = Debug|x86\n\t\t{836424C9-8003-4C0F-84E1-2C17FE498648}.Debug|x86.Build.0 = Debug|x86\n\t\t{836424C9-8003-4C0F-84E1-2C17FE498648}.Release|Any CPU.ActiveCfg = Release|Any CPU\n\t\t{836424C9-8003-4C0F-84E1-2C17FE498648}.Release|Any CPU.Build.0 = Release|Any CPU\n\t\t{836424C9-8003-4C0F-84E1-2C17FE498648}.Release|x64.ActiveCfg = Release|x64\n\t\t{836424C9-8003-4C0F-84E1-2C17FE498648}.Release|x64.Build.0 = Release|x64\n\t\t{836424C9-8003-4C0F-84E1-2C17FE498648}.Release|x86.ActiveCfg = Release|x86\n\t\t{836424C9-8003-4C0F-84E1-2C17FE498648}.Release|x86.Build.0 = Release|x86\n\t\t{6E812A62-42E1-4CBF-97A4-A1F73BB5E96E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\n\t\t{6E812A62-42E1-4CBF-97A4-A1F73BB5E96E}.Debug|Any CPU.Build.0 = Debug|Any CPU\n\t\t{6E812A62-42E1-4CBF-97A4-A1F73BB5E96E}.Debug|x64.ActiveCfg = Debug|Any CPU\n\t\t{6E812A62-42E1-4CBF-97A4-A1F73BB5E96E}.Debug|x64.Build.0 = Debug|Any CPU\n\t\t{6E812A62-42E1-4CBF-97A4-A1F73BB5E96E}.Debug|x86.ActiveCfg = Debug|Any CPU\n\t\t{6E812A62-42E1-4CBF-97A4-A1F73BB5E96E}.Debug|x86.Build.0 = Debug|Any CPU\n\t\t{6E812A62-42E1-4CBF-97A4-A1F73BB5E96E}.Release|Any CPU.ActiveCfg = Release|Any CPU\n\t\t{6E812A62-42E1-4CBF-97A4-A1F73BB5E96E}.Release|Any CPU.Build.0 = Release|Any CPU\n\t\t{6E812A62-42E1-4CBF-97A4-A1F73BB5E96E}.Release|x64.ActiveCfg = Release|Any CPU\n\t\t{6E812A62-42E1-4CBF-97A4-A1F73BB5E96E}.Release|x64.Build.0 = Release|Any CPU\n\t\t{6E812A62-42E1-4CBF-97A4-A1F73BB5E96E}.Release|x86.ActiveCfg = Release|Any CPU\n\t\t{6E812A62-42E1-4CBF-97A4-A1F73BB5E96E}.Release|x86.Build.0 = Release|Any CPU\n\t\t{D72B9639-9CC3-403E-8E7E-636115429A38}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\n\t\t{D72B9639-9CC3-403E-8E7E-636115429A38}.Debug|Any CPU.Build.0 = Debug|Any CPU\n\t\t{D72B9639-9CC3-403E-8E7E-636115429A38}.Debug|x64.ActiveCfg = Debug|Any CPU\n\t\t{D72B9639-9CC3-403E-8E7E-636115429A38}.Debug|x64.Build.0 = Debug|Any CPU\n\t\t{D72B9639-9CC3-403E-8E7E-636115429A38}.Debug|x86.ActiveCfg = Debug|Any CPU\n\t\t{D72B9639-9CC3-403E-8E7E-636115429A38}.Debug|x86.Build.0 = Debug|Any CPU\n\t\t{D72B9639-9CC3-403E-8E7E-636115429A38}.Release|Any CPU.ActiveCfg = Release|Any CPU\n\t\t{D72B9639-9CC3-403E-8E7E-636115429A38}.Release|Any CPU.Build.0 = Release|Any CPU\n\t\t{D72B9639-9CC3-403E-8E7E-636115429A38}.Release|x64.ActiveCfg = Release|Any CPU\n\t\t{D72B9639-9CC3-403E-8E7E-636115429A38}.Release|x64.Build.0 = Release|Any CPU\n\t\t{D72B9639-9CC3-403E-8E7E-636115429A38}.Release|x86.ActiveCfg = Release|Any CPU\n\t\t{D72B9639-9CC3-403E-8E7E-636115429A38}.Release|x86.Build.0 = Release|Any CPU\n\tEndGlobalSection\n\tGlobalSection(SolutionProperties) = preSolution\n\t\tHideSolutionNode = FALSE\n\tEndGlobalSection\n\tGlobalSection(ExtensibilityGlobals) = postSolution\n\t\tSolutionGuid = {222B89C5-FC73-4A1A-AF3C-8BEB9CEF8EB3}\n\tEndGlobalSection\nEndGlobal\n"
  },
  {
    "path": "Reinforced.Typings.Integrate/Properties/AssemblyInfo.cs",
    "content": "﻿using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Information about an assembly is controlled through the following \n// set of attributes. Change these attribute values to modify the information\n// associated with an assembly.\n[assembly: AssemblyTitle(\"Reinforced.Typings.Integrate\")]\n[assembly: AssemblyDescription(\"\")]\n[assembly: AssemblyConfiguration(\"\")]\n[assembly: AssemblyCompany(\"\")]\n[assembly: AssemblyProduct(\"Reinforced.Typings.Integrate\")]\n[assembly: AssemblyCopyright(\"Copyright ©  2015\")]\n[assembly: AssemblyTrademark(\"\")]\n[assembly: AssemblyCulture(\"\")]\n\n// Setting ComVisible to false makes the types in this assembly not visible \n// to COM components.  If you need to access a type in this assembly from \n// COM, set the ComVisible attribute to true on that type.\n[assembly: ComVisible(false)]\n\n// The following GUID is for the ID of the typelib if this project is exposed to COM\n[assembly: Guid(\"0e333cad-85ca-4636-88e8-f72a8ad9b8c5\")]\n\n// Version information for an assembly consists of the following four values:\n//\n//      Major Version\n//      Minor Version \n//      Build Number\n//      Revision\n//\n// You can specify all the values or you can default the Build and Revision Numbers \n// by using the '*' as shown below:\n// [assembly: AssemblyVersion(\"1.0.*\")]\n[assembly: AssemblyVersion(\"1.0.0.0\")]\n[assembly: AssemblyFileVersion(\"1.0.0.0\")]\n"
  },
  {
    "path": "Reinforced.Typings.Integrate/Reinforced.Typings.Integrate.Dev.csproj",
    "content": "<Project Sdk=\"Microsoft.NET.Sdk\">\n  <PropertyGroup>\n    <TargetFrameworks>net46;netstandard2.0</TargetFrameworks>\n    <RootNamespace>Reinforced.Typings.Integrate</RootNamespace>\n    <GeneratePackageOnBuild>false</GeneratePackageOnBuild>\n    <DebugSymbols Condition=\"$(Configuration) == 'Release'\">false</DebugSymbols>\n    <DebugType Condition=\"$(Configuration) == 'Release'\">None</DebugType>\n    <Platforms>AnyCPU;x64;x86</Platforms>\n\t\n\t<AssemblyName>Reinforced.Typings.Integrate</AssemblyName>\n\t<Company>Reinforced Software Construction OSS</Company>\n\t<Copyright>Pavel B. Novikov 2019</Copyright>\n\t<AssemblyTitle>$(AssemblyName)</AssemblyTitle>\n\t<AssemblyVersion>1.5.9</AssemblyVersion>\n\t<FileVersion>1.5.9</FileVersion>\n\t<InformationalVersion>1.5.9</InformationalVersion>\n\t<DefineConstants>$(DefineConstants);NETCORE;</DefineConstants>\n  </PropertyGroup>\n  \n  <ItemGroup>\n    <Compile Remove=\"Properties\\AssemblyInfo.cs\" />\n  </ItemGroup>\n  \n  <ItemGroup>\n    <Compile Include=\"..\\Reinforced.Typings.Cli\\ConsoleHelpAttribute.cs\" Link=\"ConsoleHelpAttribute.cs\" />\n    <Compile Include=\"..\\Reinforced.Typings.Cli\\ExporterConsoleParameters.cs\" Link=\"ExporterConsoleParameters.cs\" />    \n  </ItemGroup>\n\n  <ItemGroup>\n    <Folder Include=\"Properties\\\" />\n  </ItemGroup>\n  \n  <ItemGroup>\n    <PackageReference Include=\"Microsoft.Build.Framework\" Version=\"15.1.1012\" />\n    <PackageReference Include=\"Microsoft.Build.Utilities.Core\" Version=\"15.1.1012\" />    \n    <PackageReference Update=\"@(PackageReference)\" PrivateAssets=\"All\" />    \n    <PackageReference Include=\"System.Runtime.InteropServices.RuntimeInformation\" Version=\"4.3.0\" />\n  </ItemGroup> \n\n</Project>\n"
  },
  {
    "path": "Reinforced.Typings.Integrate/Reinforced.Typings.Integrate.NETCore.csproj",
    "content": "<Project Sdk=\"Microsoft.NET.Sdk\">\r\n  <PropertyGroup>\r\n    <TargetFrameworks>net46;netstandard2.0</TargetFrameworks>\r\n    <RootNamespace>Reinforced.Typings.Integrate</RootNamespace>\r\n    <GeneratePackageOnBuild>false</GeneratePackageOnBuild>\r\n    <DebugSymbols Condition=\"$(Configuration) == 'Release'\">false</DebugSymbols>\r\n    <DebugType Condition=\"$(Configuration) == 'Release'\">None</DebugType>\r\n    <Platforms>AnyCPU;x64;x86</Platforms>\r\n\t\r\n\t<AssemblyName>Reinforced.Typings.Integrate</AssemblyName>\r\n\t<Company>Reinforced Software Construction OSS</Company>\r\n\t<Copyright>Pavel B. Novikov 2019</Copyright>\r\n\t<AssemblyTitle>$(AssemblyName)</AssemblyTitle>\r\n\t<AssemblyVersion>1.6.7</AssemblyVersion>\r\n\t<FileVersion>1.6.7</FileVersion>\r\n\t<InformationalVersion>1.6.7</InformationalVersion>\r\n\t<DefineConstants>$(DefineConstants);$(RtAdditionalConstants);</DefineConstants>\r\n  </PropertyGroup>\r\n  \r\n  <ItemGroup>\r\n    <Compile Remove=\"Properties\\AssemblyInfo.cs\" />\r\n  </ItemGroup>\r\n  \r\n  <ItemGroup>\r\n    <Compile Include=\"..\\Reinforced.Typings.Cli\\ConsoleHelpAttribute.cs\" Link=\"ConsoleHelpAttribute.cs\" />\r\n    <Compile Include=\"..\\Reinforced.Typings.Cli\\ExporterConsoleParameters.cs\" Link=\"ExporterConsoleParameters.cs\" />\r\n    <Compile Include=\"..\\Reinforced.Typings\\Sign.cs\" Link=\"Sign.cs\" />\r\n  </ItemGroup>\r\n\r\n  <ItemGroup>\r\n    <Folder Include=\"Properties\\\" />\r\n  </ItemGroup>\r\n  \r\n  <ItemGroup>\r\n    <PackageReference Include=\"Microsoft.Build.Framework\" Version=\"15.1.1012\" />\r\n    <PackageReference Include=\"Microsoft.Build.Utilities.Core\" Version=\"15.1.1012\" />    \r\n    <PackageReference Update=\"@(PackageReference)\" PrivateAssets=\"All\" />\r\n  </ItemGroup> \r\n\r\n</Project>\r\n"
  },
  {
    "path": "Reinforced.Typings.Integrate/Reinforced.Typings.Integrate.csproj",
    "content": "﻿<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"12.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\n  <Import Project=\"$(MSBuildExtensionsPath)\\$(MSBuildToolsVersion)\\Microsoft.Common.props\" Condition=\"Exists('$(MSBuildExtensionsPath)\\$(MSBuildToolsVersion)\\Microsoft.Common.props')\" />\n  <PropertyGroup>\n    <Configuration Condition=\" '$(Configuration)' == '' \">Debug</Configuration>\n    <Platform Condition=\" '$(Platform)' == '' \">AnyCPU</Platform>\n    <ProjectGuid>{F4830436-B660-4FAF-8F1B-4ADD0732AF02}</ProjectGuid>\n    <OutputType>Library</OutputType>\n    <AppDesignerFolder>Properties</AppDesignerFolder>\n    <RootNamespace>Reinforced.Typings.Integrate</RootNamespace>\n    <AssemblyName>Reinforced.Typings.Integrate</AssemblyName>\n    <TargetFrameworkVersion>v4.6</TargetFrameworkVersion>\n    <FileAlignment>512</FileAlignment>\n    <TargetFrameworkProfile />\n  </PropertyGroup>\n  <PropertyGroup Condition=\" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' \">\n    <DebugSymbols>true</DebugSymbols>\n    <DebugType>full</DebugType>\n    <Optimize>false</Optimize>\n    <OutputPath>bin\\Debug\\</OutputPath>\n    <DefineConstants>DEBUG;TRACE</DefineConstants>\n    <ErrorReport>prompt</ErrorReport>\n    <WarningLevel>4</WarningLevel>\n  </PropertyGroup>\n  <PropertyGroup Condition=\" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' \">\n    <DebugType>pdbonly</DebugType>\n    <Optimize>true</Optimize>\n    <OutputPath>bin\\Release\\</OutputPath>\n    <DefineConstants>TRACE</DefineConstants>\n    <ErrorReport>prompt</ErrorReport>\n    <WarningLevel>4</WarningLevel>\n  </PropertyGroup>\n  <ItemGroup>\n    <Reference Include=\"Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL\">\n      <HintPath>..\\packages\\Microsoft.Build.Framework.15.9.20\\lib\\net46\\Microsoft.Build.Framework.dll</HintPath>\n      <Private>True</Private>\n    </Reference>\n    <Reference Include=\"Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL\">\n      <HintPath>..\\packages\\Microsoft.Build.Utilities.Core.15.9.20\\lib\\net46\\Microsoft.Build.Utilities.Core.dll</HintPath>\n      <Private>True</Private>\n    </Reference>\n    <Reference Include=\"Microsoft.VisualStudio.Setup.Configuration.Interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL\">\n      <HintPath>..\\packages\\Microsoft.VisualStudio.Setup.Configuration.Interop.1.16.30\\lib\\net35\\Microsoft.VisualStudio.Setup.Configuration.Interop.dll</HintPath>\n      <Private>True</Private>\n      <EmbedInteropTypes>True</EmbedInteropTypes>\n    </Reference>\n    <Reference Include=\"mscorlib\" />\n    <Reference Include=\"System\" />\n    <Reference Include=\"System.Collections.Immutable, Version=1.2.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL\">\n      <HintPath>..\\packages\\System.Collections.Immutable.1.5.0\\lib\\netstandard1.3\\System.Collections.Immutable.dll</HintPath>\n      <Private>True</Private>\n    </Reference>\n    <Reference Include=\"System.Configuration\" />\n    <Reference Include=\"System.Core\" />\n    <Reference Include=\"System.Runtime.InteropServices.RuntimeInformation, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL\">\n      <HintPath>..\\packages\\System.Runtime.InteropServices.RuntimeInformation.4.3.0\\lib\\net45\\System.Runtime.InteropServices.RuntimeInformation.dll</HintPath>\n      <Private>True</Private>\n    </Reference>\n    <Reference Include=\"System.Xaml\" />\n    <Reference Include=\"System.Xml.Linq\" />\n    <Reference Include=\"System.Data.DataSetExtensions\" />\n    <Reference Include=\"Microsoft.CSharp\" />\n    <Reference Include=\"System.Data\" />\n    <Reference Include=\"System.Xml\" />\n  </ItemGroup>\n  <ItemGroup>\n    <Compile Include=\"Properties\\AssemblyInfo.cs\" />\n    <Compile Include=\"RemoveTypescriptStep.cs\" />\n    <Compile Include=\"RtCli.cs\" />\n  </ItemGroup>\n  <ItemGroup>\n    <ProjectReference Include=\"..\\Reinforced.Typings.Cli\\Reinforced.Typings.Cli.csproj\">\n      <Project>{006290e6-cc0d-4222-87f8-9e67469ad2c9}</Project>\n      <Name>Reinforced.Typings.Cli</Name>\n    </ProjectReference>\n  </ItemGroup>\n  <ItemGroup>\n    <None Include=\"packages.config\" />\n  </ItemGroup>\n  <Import Project=\"$(MSBuildToolsPath)\\Microsoft.CSharp.targets\" />\n  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. \n       Other similar extension points exist, see Microsoft.Common.targets.\n  <Target Name=\"BeforeBuild\">\n  </Target>\n  <Target Name=\"AfterBuild\">\n  </Target>\n  -->\n</Project>"
  },
  {
    "path": "Reinforced.Typings.Integrate/RemoveTypescriptStep.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing Microsoft.Build.Framework;\n\nnamespace Reinforced.Typings.Integrate\n{\n    public class RemoveTypescriptStep : ITask\n    {\n        [Output]\n        public string[] Fixed { get; set; }\n\n        [Required]\n        public string Original { get; set; }\n\n        /// <summary>Executes a task.</summary>\n        /// <returns>true if the task executed successfully; otherwise, false.</returns>\n        public bool Execute()\n        {\n            Console.WriteLine(\"RT is fixing build tasks\");\n            string[] targets = Original.Trim().Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries);\n            List<string> result = new List<string>();\n            foreach (string s in targets)\n            {\n                string v = s.Trim();\n                bool isCompileTs = (v == \"CompileTypeScript\");\n                bool isCompileTsConfig = (v == \"CompileTypeScriptWithTSConfig\");\n                bool isGetTypeScriptOutputForPublishing = (v == \"GetTypeScriptOutputForPublishing\");\n                if ((!isCompileTs) && (!isCompileTsConfig) && (!isGetTypeScriptOutputForPublishing))\n                {\n                    result.Add(v);\n                }\n                else\n                {\n                    Console.WriteLine(v + \" task will be removed\");\n                }\n            }\n            Fixed = result.ToArray();\n            Console.WriteLine(\"RT has fixed build tasks:\" + string.Join(\";\", Fixed));\n            return true;\n        }\n\n        /// <summary>Gets or sets the build engine associated with the task.</summary>\n        /// <returns>The build engine associated with the task.</returns>\n        public IBuildEngine BuildEngine { get; set; }\n\n        /// <summary>Gets or sets any host object that is associated with the task.</summary>\n        /// <returns>The host object associated with the task.</returns>\n        public ITaskHost HostObject { get; set; }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings.Integrate/RtCli.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Reflection;\nusing System.Runtime.InteropServices;\nusing Microsoft.Build.Framework;\nusing Microsoft.Build.Utilities;\nusing Reinforced.Typings.Cli;\n\nnamespace Reinforced.Typings.Cli\n{\n    public static class TypeExtensions\n    {\n        internal static PropertyInfo[] _GetProperties(this Type t, BindingFlags flags)\n        {\n#if NETCORE\n            return t.GetTypeInfo().GetProperties(flags);\n#else\n            return t.GetProperties(flags);\n#endif\n        }\n    }\n}\n\n\nnamespace Reinforced.Typings.Integrate\n{\n    /// <summary>\n    /// Task for gathering dynamic typings\n    /// </summary>\n    public class RtCli : ToolTask\n    {\n        /// <summary>\n        /// Framework version to invoke rtcli\n        /// </summary>\n        public string TargetFramework { get; set; }\n\n        /// <summary>\n        /// Forced usage of target framework\n        /// </summary>\n        public string RtForceTargetFramework { get; set; }\n\n        /// <summary>\n        /// Package's \"build\" directory\n        /// </summary>\n        [Required]\n        public string BuildDirectory { get; set; }\n\n        /// <summary>\n        /// Additional library references\n        /// </summary>\n        [Required]\n        public ITaskItem[] References { get; set; }\n\n        /// <summary>\n        /// Source assembly\n        /// </summary>\n        [Required]\n        public ITaskItem[] SourceAssembly { get; set; }\n\n        /// <summary>\n        /// Target .td/.d.ts file\n        /// </summary>\n        public string TargetFile { get; set; }\n\n        /// <summary>\n        /// Target directory for hierarchical generation\n        /// </summary>\n        public string TargetDirectory { get; set; }\n\n        /// <summary>\n        /// Generate types to multiple files\n        /// </summary>\n        public bool Hierarchical { get; set; }\n\n        /// <summary>\n        /// Additional source assemblies to import\n        /// </summary>\n        public ITaskItem[] AdditionalSourceAssemblies { get; set; }\n\n        /// <summary>\n        /// ProjectDir variable\n        /// </summary>\n        public string ProjectRoot { get; set; }\n\n        /// <summary>\n        /// Path to documentation XML\n        /// </summary>\n        public string DocumentationFilePath { get; set; }\n\n\n        /// <summary>\n        /// Full-qualified name of fluent configuration method\n        /// </summary>\n        public string ConfigurationMethod { get; set; }\n        \n        /// <summary>\n        /// Semicolon-separated list of warnings to be suppressed\n        /// </summary>\n        public string SuppressedWarnings { get; set; }\n\n        /// <summary>Projects may set this to override a task's ToolName. Tasks may override this to prevent that.</summary>\n        public override string ToolExe\n        {\n            get; set;\n        }\n\n        protected override string GenerateFullPathToTool()\n        {\n            if (IsCore)\n            {\n#if NETCORE\n                return\n                    RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ?\n                    \"dotnet.exe\"\n                    : \"dotnet\";\n#else\n                return \"dotnet.exe\"; \n#endif\n            }\n            return Path.Combine(GetProperRtcliPath(), ToolName);\n        }\n\n        private string GetProperRtcliPath()\n        {\n            var bd = new DirectoryInfo(BuildDirectory);\n            var toolsPath = Path.Combine(bd.Parent.FullName, \"tools\");\n            var fwPath = Path.Combine(toolsPath, NormalizeFramework());\n            return fwPath;\n        }\n\n        private string NormalizeFramework()\n        {\n            if (!string.IsNullOrEmpty(RtForceTargetFramework)) return RtForceTargetFramework;\n            if (string.IsNullOrEmpty(TargetFramework))\n#if NETCORE\n                return \"netcoreapp2.0\";\n#else\n                return \"net45\";\n#endif\n\n            if (TargetFramework.StartsWith(\"netstandard\"))\n            {\n                var version = int.Parse(TargetFramework.Substring(\"netstandard\".Length)[0].ToString());\n                if (version == 1) return \"netcoreapp1.0\";\n                return \"netcoreapp2.0\";\n            }\n            if (TargetFramework.StartsWith(\"netcoreapp\")) return TargetFramework;\n\n            if (TargetFramework.StartsWith(\"net46\")) return \"net461\";\n            if (TargetFramework.StartsWith(\"net47\")) return \"net461\";\n            if (TargetFramework.StartsWith(\"net48\")) return \"net461\";\n            return TargetFramework;\n        }\n\n        private bool IsCore\n        {\n            get\n            {\n                var fw = NormalizeFramework();\n                if (string.IsNullOrEmpty(fw)) return false;\n                if (fw.StartsWith(\"netstandard\")) return true;\n                if (fw.StartsWith(\"netcoreapp\")) return true;\n                if (fw.StartsWith(\"net5\")) return true;\n                if (fw.StartsWith(\"net6\")) return true;\n                if (fw.StartsWith(\"net7\")) return true;\n                if (fw.StartsWith(\"net8\")) return true;\n                if (fw.StartsWith(\"net9\")) return true;\n                if (fw.StartsWith(\"net10\")) return true;\n                return false;\n            }\n        }\n\n\n        protected override string ToolName\n        {\n            get\n            {\n                if (IsCore)\n                {\n#if NETCORE\n                    return\n                        RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ?\n                            \"dotnet.exe\"\n                            : \"dotnet\";\n#else\n                return \"dotnet.exe\";\n#endif\n                }\n                return \"rtcli.exe\";\n            }\n        }\n\n        protected override string GenerateCommandLineCommands()\n        {\n            ExporterConsoleParameters consoleParams = new ExporterConsoleParameters()\n            {\n                Hierarchy = Hierarchical,\n                TargetDirectory = FixTargetPath(TargetDirectory),\n                TargetFile = FixTargetPath(TargetFile),\n                ReferencesTmpFilePath = string.Empty,\n                SourceAssemblies = ExtractSourceAssemblies(),\n                SuppressedWarnings = SuppressedWarnings,\n                DocumentationFilePath = DocumentationFilePath.EndsWith(\".xml\",\n#if NETCORE\n                StringComparison.CurrentCultureIgnoreCase\n#else\n                StringComparison.InvariantCultureIgnoreCase\n#endif\n                ) ? DocumentationFilePath : String.Empty,\n                ConfigurationMethod = ConfigurationMethod\n            };\n\n            var tmpFile = Path.GetTempFileName();\n            using (var fs = File.OpenWrite(tmpFile))\n            {\n                using (var tw = new StreamWriter(fs))\n                {\n                    consoleParams.ToFile(tw);\n                    PutReferencesToTempFile(tw);\n                    tw.Flush();\n                }\n            }\n            if (IsCore)\n            {\n                var pth = Path.Combine(GetProperRtcliPath(), \"rtcli.dll\");\n                return string.Format(\"\\\"{1}\\\" profile \\\"{0}\\\"\", tmpFile, pth);\n            }\n            return string.Format(\"profile \\\"{0}\\\"\", tmpFile);\n\n        }\n\n        private string FixTargetPath(string path)\n        {\n            if (!string.IsNullOrEmpty(path))\n            {\n                if (!Path.IsPathRooted(path))\n                {\n                    return Path.Combine(ProjectRoot, path);\n                }\n            }\n            return path;\n        }\n\n\n        private void PutReferencesToTempFile(TextWriter tw)\n        {\n            if (References == null) return;\n            foreach (var rf in References.Select(c => c.ItemSpec))\n            {\n                tw.WriteLine(rf);\n            }\n            tw.Flush();\n\n        }\n\n        private string[] ExtractSourceAssemblies()\n        {\n            List<string> srcAssemblies = new List<string>();\n            if (AdditionalSourceAssemblies != null)\n            {\n                srcAssemblies.AddRange(AdditionalSourceAssemblies.Select(c => c.ItemSpec));\n            }\n            if (SourceAssembly != null)\n            {\n                srcAssemblies.AddRange(SourceAssembly.Select(c => Path.Combine(ProjectRoot, c.ItemSpec)));\n            }\n            return srcAssemblies.ToArray();\n        }\n\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings.Integrate/packages.config",
    "content": "﻿<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<packages>\n  <package id=\"Microsoft.Build.Framework\" version=\"15.9.20\" targetFramework=\"net46\" />\n  <package id=\"Microsoft.Build.Utilities.Core\" version=\"15.9.20\" targetFramework=\"net46\" />\n  <package id=\"Microsoft.VisualStudio.Setup.Configuration.Interop\" version=\"1.16.30\" targetFramework=\"net46\" developmentDependency=\"true\" />\n  <package id=\"System.Collections.Immutable\" version=\"1.5.0\" targetFramework=\"net46\" />\n  <package id=\"System.Runtime.InteropServices.RuntimeInformation\" version=\"4.3.0\" targetFramework=\"net46\" />\n</packages>"
  },
  {
    "path": "Reinforced.Typings.NETCore.sln",
    "content": "﻿\nMicrosoft Visual Studio Solution File, Format Version 12.00\n# Visual Studio 15\nVisualStudioVersion = 15.0.26730.16\nMinimumVisualStudioVersion = 10.0.40219.1\nProject(\"{9A19103F-16F7-4668-BE54-9A1E7A4F7556}\") = \"Reinforced.Typings.NETCore\", \"Reinforced.Typings\\Reinforced.Typings.NETCore.csproj\", \"{ADDC2C7F-C429-4772-A00C-0587B9DEC2EB}\"\nEndProject\nProject(\"{9A19103F-16F7-4668-BE54-9A1E7A4F7556}\") = \"Reinforced.Typings.Cli.NETCore\", \"Reinforced.Typings.Cli\\Reinforced.Typings.Cli.NETCore.csproj\", \"{E69ACAC0-16DB-4AB9-BB4A-03EC33538D1E}\"\nEndProject\nProject(\"{9A19103F-16F7-4668-BE54-9A1E7A4F7556}\") = \"Reinforced.Typings.Integrate.NETCore\", \"Reinforced.Typings.Integrate\\Reinforced.Typings.Integrate.NETCore.csproj\", \"{836424C9-8003-4C0F-84E1-2C17FE498648}\"\nEndProject\nProject(\"{2150E333-8FDC-42A3-9474-1A3956D46DE8}\") = \"cake\", \"cake\", \"{71091BA9-1588-4878-B1FA-3EF908CCD61C}\"\n\tProjectSection(SolutionItems) = preProject\n\t\tcake\\build.cake = cake\\build.cake\n\t\tcake\\build.ps1 = cake\\build.ps1\n\t\tcake\\build.sh = cake\\build.sh\n\tEndProjectSection\nEndProject\nProject(\"{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}\") = \"Reinforced.Typings.Tests.NETCore\", \"Reinforced.Typings.Tests\\Reinforced.Typings.Tests.NETCore.csproj\", \"{5D126898-7E5D-4967-8732-3FC8722F532E}\"\nEndProject\nProject(\"{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}\") = \"TestFluentAssembly.NETCore\", \"TestFluentAssembly\\TestFluentAssembly.NETCore.csproj\", \"{E7E010D2-1CE5-4877-ABA7-36EA8EC62118}\"\nEndProject\nGlobal\n\tGlobalSection(SolutionConfigurationPlatforms) = preSolution\n\t\tDebug|Any CPU = Debug|Any CPU\n\t\tDebug|x64 = Debug|x64\n\t\tDebug|x86 = Debug|x86\n\t\tRelease|Any CPU = Release|Any CPU\n\t\tRelease|x64 = Release|x64\n\t\tRelease|x86 = Release|x86\n\tEndGlobalSection\n\tGlobalSection(ProjectConfigurationPlatforms) = postSolution\n\t\t{ADDC2C7F-C429-4772-A00C-0587B9DEC2EB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\n\t\t{ADDC2C7F-C429-4772-A00C-0587B9DEC2EB}.Debug|Any CPU.Build.0 = Debug|Any CPU\n\t\t{ADDC2C7F-C429-4772-A00C-0587B9DEC2EB}.Debug|x64.ActiveCfg = Debug|x64\n\t\t{ADDC2C7F-C429-4772-A00C-0587B9DEC2EB}.Debug|x64.Build.0 = Debug|x64\n\t\t{ADDC2C7F-C429-4772-A00C-0587B9DEC2EB}.Debug|x86.ActiveCfg = Debug|x86\n\t\t{ADDC2C7F-C429-4772-A00C-0587B9DEC2EB}.Debug|x86.Build.0 = Debug|x86\n\t\t{ADDC2C7F-C429-4772-A00C-0587B9DEC2EB}.Release|Any CPU.ActiveCfg = Release|Any CPU\n\t\t{ADDC2C7F-C429-4772-A00C-0587B9DEC2EB}.Release|Any CPU.Build.0 = Release|Any CPU\n\t\t{ADDC2C7F-C429-4772-A00C-0587B9DEC2EB}.Release|x64.ActiveCfg = Release|x64\n\t\t{ADDC2C7F-C429-4772-A00C-0587B9DEC2EB}.Release|x64.Build.0 = Release|x64\n\t\t{ADDC2C7F-C429-4772-A00C-0587B9DEC2EB}.Release|x86.ActiveCfg = Release|x86\n\t\t{ADDC2C7F-C429-4772-A00C-0587B9DEC2EB}.Release|x86.Build.0 = Release|x86\n\t\t{E69ACAC0-16DB-4AB9-BB4A-03EC33538D1E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\n\t\t{E69ACAC0-16DB-4AB9-BB4A-03EC33538D1E}.Debug|Any CPU.Build.0 = Debug|Any CPU\n\t\t{E69ACAC0-16DB-4AB9-BB4A-03EC33538D1E}.Debug|x64.ActiveCfg = Debug|x64\n\t\t{E69ACAC0-16DB-4AB9-BB4A-03EC33538D1E}.Debug|x64.Build.0 = Debug|x64\n\t\t{E69ACAC0-16DB-4AB9-BB4A-03EC33538D1E}.Debug|x86.ActiveCfg = Debug|x86\n\t\t{E69ACAC0-16DB-4AB9-BB4A-03EC33538D1E}.Debug|x86.Build.0 = Debug|x86\n\t\t{E69ACAC0-16DB-4AB9-BB4A-03EC33538D1E}.Release|Any CPU.ActiveCfg = Release|Any CPU\n\t\t{E69ACAC0-16DB-4AB9-BB4A-03EC33538D1E}.Release|Any CPU.Build.0 = Release|Any CPU\n\t\t{E69ACAC0-16DB-4AB9-BB4A-03EC33538D1E}.Release|x64.ActiveCfg = Release|x64\n\t\t{E69ACAC0-16DB-4AB9-BB4A-03EC33538D1E}.Release|x64.Build.0 = Release|x64\n\t\t{E69ACAC0-16DB-4AB9-BB4A-03EC33538D1E}.Release|x86.ActiveCfg = Release|x86\n\t\t{E69ACAC0-16DB-4AB9-BB4A-03EC33538D1E}.Release|x86.Build.0 = Release|x86\n\t\t{836424C9-8003-4C0F-84E1-2C17FE498648}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\n\t\t{836424C9-8003-4C0F-84E1-2C17FE498648}.Debug|Any CPU.Build.0 = Debug|Any CPU\n\t\t{836424C9-8003-4C0F-84E1-2C17FE498648}.Debug|x64.ActiveCfg = Debug|x64\n\t\t{836424C9-8003-4C0F-84E1-2C17FE498648}.Debug|x64.Build.0 = Debug|x64\n\t\t{836424C9-8003-4C0F-84E1-2C17FE498648}.Debug|x86.ActiveCfg = Debug|x86\n\t\t{836424C9-8003-4C0F-84E1-2C17FE498648}.Debug|x86.Build.0 = Debug|x86\n\t\t{836424C9-8003-4C0F-84E1-2C17FE498648}.Release|Any CPU.ActiveCfg = Release|Any CPU\n\t\t{836424C9-8003-4C0F-84E1-2C17FE498648}.Release|Any CPU.Build.0 = Release|Any CPU\n\t\t{836424C9-8003-4C0F-84E1-2C17FE498648}.Release|x64.ActiveCfg = Release|x64\n\t\t{836424C9-8003-4C0F-84E1-2C17FE498648}.Release|x64.Build.0 = Release|x64\n\t\t{836424C9-8003-4C0F-84E1-2C17FE498648}.Release|x86.ActiveCfg = Release|x86\n\t\t{836424C9-8003-4C0F-84E1-2C17FE498648}.Release|x86.Build.0 = Release|x86\n\t\t{5D126898-7E5D-4967-8732-3FC8722F532E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\n\t\t{5D126898-7E5D-4967-8732-3FC8722F532E}.Debug|Any CPU.Build.0 = Debug|Any CPU\n\t\t{5D126898-7E5D-4967-8732-3FC8722F532E}.Debug|x64.ActiveCfg = Debug|Any CPU\n\t\t{5D126898-7E5D-4967-8732-3FC8722F532E}.Debug|x64.Build.0 = Debug|Any CPU\n\t\t{5D126898-7E5D-4967-8732-3FC8722F532E}.Debug|x86.ActiveCfg = Debug|Any CPU\n\t\t{5D126898-7E5D-4967-8732-3FC8722F532E}.Debug|x86.Build.0 = Debug|Any CPU\n\t\t{5D126898-7E5D-4967-8732-3FC8722F532E}.Release|Any CPU.ActiveCfg = Release|Any CPU\n\t\t{5D126898-7E5D-4967-8732-3FC8722F532E}.Release|Any CPU.Build.0 = Release|Any CPU\n\t\t{5D126898-7E5D-4967-8732-3FC8722F532E}.Release|x64.ActiveCfg = Release|Any CPU\n\t\t{5D126898-7E5D-4967-8732-3FC8722F532E}.Release|x64.Build.0 = Release|Any CPU\n\t\t{5D126898-7E5D-4967-8732-3FC8722F532E}.Release|x86.ActiveCfg = Release|Any CPU\n\t\t{5D126898-7E5D-4967-8732-3FC8722F532E}.Release|x86.Build.0 = Release|Any CPU\n\t\t{E7E010D2-1CE5-4877-ABA7-36EA8EC62118}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\n\t\t{E7E010D2-1CE5-4877-ABA7-36EA8EC62118}.Debug|Any CPU.Build.0 = Debug|Any CPU\n\t\t{E7E010D2-1CE5-4877-ABA7-36EA8EC62118}.Debug|x64.ActiveCfg = Debug|Any CPU\n\t\t{E7E010D2-1CE5-4877-ABA7-36EA8EC62118}.Debug|x64.Build.0 = Debug|Any CPU\n\t\t{E7E010D2-1CE5-4877-ABA7-36EA8EC62118}.Debug|x86.ActiveCfg = Debug|Any CPU\n\t\t{E7E010D2-1CE5-4877-ABA7-36EA8EC62118}.Debug|x86.Build.0 = Debug|Any CPU\n\t\t{E7E010D2-1CE5-4877-ABA7-36EA8EC62118}.Release|Any CPU.ActiveCfg = Release|Any CPU\n\t\t{E7E010D2-1CE5-4877-ABA7-36EA8EC62118}.Release|Any CPU.Build.0 = Release|Any CPU\n\t\t{E7E010D2-1CE5-4877-ABA7-36EA8EC62118}.Release|x64.ActiveCfg = Release|Any CPU\n\t\t{E7E010D2-1CE5-4877-ABA7-36EA8EC62118}.Release|x64.Build.0 = Release|Any CPU\n\t\t{E7E010D2-1CE5-4877-ABA7-36EA8EC62118}.Release|x86.ActiveCfg = Release|Any CPU\n\t\t{E7E010D2-1CE5-4877-ABA7-36EA8EC62118}.Release|x86.Build.0 = Release|Any CPU\n\tEndGlobalSection\n\tGlobalSection(SolutionProperties) = preSolution\n\t\tHideSolutionNode = FALSE\n\tEndGlobalSection\n\tGlobalSection(ExtensibilityGlobals) = postSolution\n\t\tSolutionGuid = {222B89C5-FC73-4A1A-AF3C-8BEB9CEF8EB3}\n\tEndGlobalSection\nEndGlobal\n"
  },
  {
    "path": "Reinforced.Typings.Tests/BasicTypesResolvationTests.cs",
    "content": "﻿using System;\nusing System.Collections;\nusing System.Collections.Generic;\nusing System.Collections.ObjectModel;\nusing System.Linq;\nusing System.Reflection;\nusing Reinforced.Typings.Ast.TypeNames;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests\n{\n    public class BasicTypesResolvationTests\n    {\n        private readonly TypeResolver _tr;\n        private readonly TypeNameEqualityComparer _comparer;\n\n        private readonly ExportContext _context;\n\n        private static readonly RtSimpleTypeName AnyType = new RtSimpleTypeName(\"any\");\n        private static readonly RtSimpleTypeName NumberType = new RtSimpleTypeName(\"number\");\n        private static readonly RtSimpleTypeName StringType = new RtSimpleTypeName(\"string\");\n        private static readonly RtArrayType AnyArrayType = new RtArrayType(AnyType);\n\n        public BasicTypesResolvationTests()\n        {\n            _context = new ExportContext(new[] { Assembly.GetExecutingAssembly() })\n            {\n                TargetDirectory = \"targetDir/\"\n            };\n            var exporter = new TsExporter(_context);\n            exporter.Initialize();\n            _tr = _context.CreateExportedFile().TypeResolver;\n            _comparer = new TypeNameEqualityComparer();\n        }\n\n        [Fact]\n        public void NumericsToNumber()\n        {\n            Assert.Equal(NumberType, _tr.ResolveTypeName(typeof(int)), _comparer);\n            Assert.Equal(NumberType, _tr.ResolveTypeName(typeof(uint)), _comparer);\n            Assert.Equal(NumberType, _tr.ResolveTypeName(typeof(long)), _comparer);\n            Assert.Equal(NumberType, _tr.ResolveTypeName(typeof(ulong)), _comparer);\n            Assert.Equal(NumberType, _tr.ResolveTypeName(typeof(short)), _comparer);\n            Assert.Equal(NumberType, _tr.ResolveTypeName(typeof(ushort)), _comparer);\n            Assert.Equal(NumberType, _tr.ResolveTypeName(typeof(byte)), _comparer);\n            Assert.Equal(NumberType, _tr.ResolveTypeName(typeof(double)), _comparer);\n            Assert.Equal(NumberType, _tr.ResolveTypeName(typeof(float)), _comparer);\n            Assert.Equal(NumberType, _tr.ResolveTypeName(typeof(decimal)), _comparer);\n        }\n\n        [Fact]\n        public void StringsAndCharsToString()\n        {\n            Assert.Equal(StringType, _tr.ResolveTypeName(typeof(string)), _comparer);\n            Assert.Equal(StringType, _tr.ResolveTypeName(typeof(char)), _comparer);\n        }\n\n        [Fact]\n        public void NullableNumbersToNumber()\n        {\n            Assert.Equal(NumberType, _tr.ResolveTypeName(typeof(int?)), _comparer);\n            Assert.Equal(NumberType, _tr.ResolveTypeName(typeof(uint?)), _comparer);\n            Assert.Equal(NumberType, _tr.ResolveTypeName(typeof(long?)), _comparer);\n            Assert.Equal(NumberType, _tr.ResolveTypeName(typeof(ulong?)), _comparer);\n            Assert.Equal(NumberType, _tr.ResolveTypeName(typeof(short?)), _comparer);\n            Assert.Equal(NumberType, _tr.ResolveTypeName(typeof(ushort?)), _comparer);\n            Assert.Equal(NumberType, _tr.ResolveTypeName(typeof(byte?)), _comparer);\n            Assert.Equal(NumberType, _tr.ResolveTypeName(typeof(double?)), _comparer);\n            Assert.Equal(NumberType, _tr.ResolveTypeName(typeof(float?)), _comparer);\n            Assert.Equal(NumberType, _tr.ResolveTypeName(typeof(decimal?)), _comparer);\n        }\n\n        [Fact]\n        public void VoidToVoid()\n        {\n            Assert.Equal(new RtSimpleTypeName(\"void\"), _tr.ResolveTypeName(typeof(void)), _comparer);\n        }\n\n        [Fact]\n        public void ObjectToAny()\n        {\n            Assert.Equal(AnyType, _tr.ResolveTypeName(typeof(object)), _comparer);\n        }\n\n        [Fact]\n        public void NongenericCollectionsToAnyArray()\n        {\n            Assert.Equal(AnyArrayType, _tr.ResolveTypeName(typeof(IEnumerable)), _comparer);\n            Assert.Equal(AnyArrayType, _tr.ResolveTypeName(typeof(IQueryable)), _comparer);\n            Assert.Equal(AnyArrayType, _tr.ResolveTypeName(typeof(IList)), _comparer);\n            Assert.Equal(AnyArrayType, _tr.ResolveTypeName(typeof(Stack)), _comparer);\n            Assert.Equal(AnyArrayType, _tr.ResolveTypeName(typeof(Queue)), _comparer);\n            Assert.Equal(AnyArrayType, _tr.ResolveTypeName(typeof(ArrayList)), _comparer);\n            Assert.Equal(AnyArrayType, _tr.ResolveTypeName(typeof(CollectionBase)), _comparer);\n        }\n\n        [Fact]\n        public void DictionaryToObject()\n        {\n            Assert.Equal(new RtDictionaryType(AnyType, AnyType), _tr.ResolveTypeName(typeof(IDictionary)), _comparer);\n            Assert.True(_context.Warnings.Any(c => c.Code == 7));\n            _context.ClearWarnings();\n\n            Assert.Equal(new RtDictionaryType(AnyType, AnyType), _tr.ResolveTypeName(typeof(IDictionary<object, object>)), _comparer);\n            Assert.True(_context.Warnings.Any(c => c.Code == 7));\n            _context.ClearWarnings();\n\n            Assert.Equal(new RtDictionaryType(StringType, AnyType), _tr.ResolveTypeName(typeof(IDictionary<string, object>)), _comparer);\n            Assert.Equal(new RtDictionaryType(NumberType, AnyType), _tr.ResolveTypeName(typeof(IDictionary<int, object>)), _comparer);\n\n            Assert.Equal(new RtDictionaryType(AnyType, AnyType), _tr.ResolveTypeName(typeof(Dictionary<object, object>)), _comparer);\n            Assert.True(_context.Warnings.Any(c => c.Code == 7));\n            _context.ClearWarnings();\n\n            Assert.Equal(new RtDictionaryType(StringType, AnyType), _tr.ResolveTypeName(typeof(Dictionary<string, object>)), _comparer);\n            Assert.Equal(new RtDictionaryType(NumberType, AnyType), _tr.ResolveTypeName(typeof(Dictionary<int, object>)), _comparer);\n        }\n\n        private void GenericCollectionsOfType<T>(RtTypeName targetType)\n        {\n            Assert.Equal(targetType, _tr.ResolveTypeName(typeof(IEnumerable<T>)), _comparer);\n            Assert.Equal(targetType, _tr.ResolveTypeName(typeof(IQueryable<T>)), _comparer);\n            Assert.Equal(targetType, _tr.ResolveTypeName(typeof(IList<T>)), _comparer);\n            Assert.Equal(targetType, _tr.ResolveTypeName(typeof(Stack<T>)), _comparer);\n            Assert.Equal(targetType, _tr.ResolveTypeName(typeof(Queue<T>)), _comparer);\n            Assert.Equal(targetType, _tr.ResolveTypeName(typeof(Collection<T>)), _comparer);\n            Assert.Equal(targetType, _tr.ResolveTypeName(typeof(ICollection<T>)), _comparer);\n            Assert.Equal(targetType, _tr.ResolveTypeName(typeof(T[])), _comparer);\n        }\n\n        [Fact]\n        public void CollectionsToCorrespondingArray()\n        {\n            var numArray = new RtArrayType(NumberType);\n            GenericCollectionsOfType<int>(numArray);\n            GenericCollectionsOfType<uint>(numArray);\n            GenericCollectionsOfType<long>(numArray);\n            GenericCollectionsOfType<ulong>(numArray);\n            GenericCollectionsOfType<short>(numArray);\n            GenericCollectionsOfType<ushort>(numArray);\n            GenericCollectionsOfType<byte>(numArray);\n            GenericCollectionsOfType<double>(numArray);\n            GenericCollectionsOfType<float>(numArray);\n            GenericCollectionsOfType<decimal>(numArray);\n            GenericCollectionsOfType<string>(new RtArrayType(StringType));\n            GenericCollectionsOfType<bool>(new RtArrayType(new RtSimpleTypeName(\"boolean\")));\n        }\n\n        [Fact]\n        public void SystemTuplesToTsTuples()\n        {\n            for (int i = 1; i < 8; i++)\n            {\n                var expected = new RtTuple();\n                List<Type> args = new List<Type>();\n                for (int j = 0; j < i; j++)\n                {\n                    expected.TupleTypes.Add(AnyType);\n                    args.Add(typeof(object));\n                }\n\n                var correspondingTuple = Type.GetType(\"System.Tuple`\" + i);\n                var arrange = correspondingTuple.MakeGenericType(args.ToArray());\n\n                Assert.Equal(expected, _tr.ResolveTypeName(arrange), _comparer);\n            }\n        }\n\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings.Tests/ClassicMultiFileResolvationTests.cs",
    "content": "using System;\nusing System.IO;\nusing System.Linq;\nusing Reinforced.Typings.Ast.TypeNames;\nusing Reinforced.Typings.Fluent;\nusing Reinforced.Typings.Tests.Core;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests\n{\n    public class ClassicMultiFileResolvationTests : RtExporterTestBase\n    {\n        private readonly TypeNameEqualityComparer _comparer = new TypeNameEqualityComparer();\n\n        protected ExportedFile Setup2Files(string filePath1, string filePath2, Action<ConfigurationBuilder> builder)\n        {\n            var setup = base.InitializeMultipleFiles(a =>\n            {\n                builder(a);\n                a.ExportAsInterface<TestFluentAssembly.TwoInterfaces.IInterface1>().ExportTo(filePath1);\n                a.ExportAsInterface<TestFluentAssembly.TwoInterfaces.IInterface2>().ExportTo(filePath2);\n            });\n\n            return setup.Exporter.Context.CreateExportedFile(Path.Combine(TargetDir, filePath1));\n        }\n\n        [Fact]\n        public void SimpleReferenceResolvationTestSingleDir()\n        {\n            var file = Setup2Files(\"File1.ts\", \"File2.ts\", x => x.Global(a => a.UseModules(false)));\n            var typeName = file.TypeResolver.ResolveTypeName(typeof(TestFluentAssembly.TwoInterfaces.IInterface2));\n\n            Assert.Equal(new RtSimpleTypeName(\"IInterface2\") { Prefix = \"TestFluentAssembly.TwoInterfaces\" }, typeName, _comparer);\n            Assert.Single(file.References.References);\n            var rf = file.References.References.First();\n            Assert.Equal(\"File2.ts\", rf.Path);\n        }\n\n        [Fact]\n        public void SimpleModuleResolvationTestSingleDir()\n        {\n            var file = Setup2Files(\"File1.ts\", \"File2.ts\", x => x.Global(a => a.UseModules()));\n\n            //todo this fails in mono, the Prefix property of this below is \"\" - but Prefix of one below is null\n            var typeName = file.TypeResolver.ResolveTypeName(typeof(TestFluentAssembly.TwoInterfaces.IInterface2));\n\n            Assert.Equal(new RtSimpleTypeName(\"IInterface2\"), typeName, _comparer);\n            Assert.Single(file.References.Imports);\n            var rf = file.References.Imports.First();\n            Assert.Equal(\"./File2\", rf.From);\n            Assert.Equal(\"{ IInterface2 }\", rf.Target);\n        }\n\n        [Fact]\n        public void SimpleModuleWithNamespaceResolvationTestSingleDir()\n        {\n            var file = Setup2Files(\"File1.ts\", \"File2.ts\", x => x.Global(a => a.UseModules(discardNamespaces: false)));\n\n            var typeName = file.TypeResolver.ResolveTypeName(typeof(TestFluentAssembly.TwoInterfaces.IInterface2));\n\n            Assert.Equal(new RtSimpleTypeName(\"IInterface2\") { Prefix = \"File2.TestFluentAssembly.TwoInterfaces\" }, typeName, _comparer);\n            Assert.Single(file.References.Imports);\n            var rf = file.References.Imports.First();\n            Assert.True(rf.IsWildcard);\n            Assert.Equal(\"File2\", rf.WildcardAlias);\n\n            Assert.Equal(\"./File2\", rf.From);\n            Assert.Equal(\"* as File2\", rf.Target);\n        }\n\n        [Fact]\n        public void SimpleReferenceResolvationTestDifferentDirs()\n        {\n            var file = Setup2Files(\"File1.ts\", \"Another/File2.ts\", x => x.Global(a => a.UseModules(false)));\n            var typeName = file.TypeResolver.ResolveTypeName(typeof(TestFluentAssembly.TwoInterfaces.IInterface2));\n\n            Assert.Equal(new RtSimpleTypeName(\"IInterface2\") { Prefix = \"TestFluentAssembly.TwoInterfaces\" }, typeName, _comparer);\n            Assert.Single(file.References.References);\n            var rf = file.References.References.First();\n            Assert.Equal(\"Another/File2.ts\", rf.Path);\n        }\n\n        \n        [Fact]\n        public void SimpleModuleResolvationTestDifferentDirs()\n        {\n            var file = Setup2Files(\"File1.ts\", \"Another/File2.ts\", x => x.Global(a => a.UseModules()));\n\n            //todo this fails in mono, the Prefix property of this below is \"\" - but Prefix of one below is null\n            var typeName = file.TypeResolver.ResolveTypeName(typeof(TestFluentAssembly.TwoInterfaces.IInterface2));\n\n            Assert.Equal(new RtSimpleTypeName(\"IInterface2\"), typeName, _comparer);\n            Assert.Single(file.References.Imports);\n            var rf = file.References.Imports.First();\n            Assert.Equal(\"./Another/File2\", rf.From);\n            Assert.Equal(\"{ IInterface2 }\", rf.Target);\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings.Tests/ConfigurationBuilderTestBase.cs",
    "content": "﻿using System;\nusing System.Reflection;\nusing Reinforced.Typings.Fluent;\nusing Reinforced.Typings.Tests.Core;\n\nnamespace Reinforced.Typings.Tests\n{\n    public abstract class ConfigurationBuilderTestBase\n    {\n        protected const string TargetDir = \"targetDir\";\n        protected const string Sample = \"target.ts\";\n\n        protected TestInitializationData InitializeSingleFile(Action<ConfigurationBuilder> configuration)\n        {\n            MockFileOperations mfo = new MockFileOperations();\n\n            ExportContext ec = new ExportContext(new Assembly[] { Assembly.GetExecutingAssembly(), typeof(TestFluentAssembly.TwoInterfaces.IInterface1).Assembly },mfo)\n            {\n                ConfigurationMethod = configuration,\n                Hierarchical = false,\n                TargetDirectory = TargetDir,\n                TargetFile = Sample\n            };\n            TsExporter te = new TsExporter(ec);\n            te.Initialize();\n            return new TestInitializationData(mfo, te);\n        }\n        \n        protected TestInitializationData InitializeMultipleFiles(Action<ConfigurationBuilder> configuration)\n        {\n            MockFileOperations mfo = new MockFileOperations();\n\n            ExportContext ec = new ExportContext(new Assembly[] { Assembly.GetExecutingAssembly(), typeof(TestFluentAssembly.TwoInterfaces.IInterface1).Assembly },mfo)\n            {\n                ConfigurationMethod = configuration,\n                Hierarchical = true,\n                TargetDirectory = TargetDir\n            };\n            TsExporter te = new TsExporter(ec);\n            te.Initialize();\n            return new TestInitializationData(mfo, te);\n        }\n\n    }\n\n    public class TestInitializationData\n    {\n        public MockFileOperations Files { get; private set; }\n\n        public TsExporter Exporter { get; private set; }\n\n        public TestInitializationData(MockFileOperations files, TsExporter exporter)\n        {\n            Files = files;\n            Exporter = exporter;\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings.Tests/Core/MockFileOperations.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing Reinforced.Typings.Ast.Dependency;\nusing Reinforced.Typings.ReferencesInspection;\nusing Reinforced.Typings.Visitors;\nusing Reinforced.Typings.Visitors.TypeScript;\nusing Reinforced.Typings.Visitors.Typings;\n\nnamespace Reinforced.Typings.Tests.Core\n{\n    public class MockFileOperations : IFilesOperations\n    {\n        public bool DeployCalled { get; private set; }\n        public bool TempRegistryCleared { get; private set; }\n\n        public ExportContext Context { get; set; }\n\n        public Dictionary<string, string> ExportedFiles { get; private set; }\n\n        public MockFileOperations()\n        {\n            ExportedFiles = new Dictionary<string, string>();\n        }\n\n        public void DeployTempFiles()\n        {\n            DeployCalled = true;\n        }\n\n        public void ClearTempRegistry()\n        {\n            TempRegistryCleared = true;\n        }\n\n        public void Export(string fileName, ExportedFile file)\n        {\n            StringBuilder sb = new StringBuilder();\n            using (var sw = new StringWriter(sb))\n            {\n                sw.NewLine = Context.Global.NewLine;\n                ExportCore(sw, file);\n            }\n            ExportedFiles[fileName] = sb.ToString();\n        }\n\n        protected virtual void ExportCore(TextWriter tw, ExportedFile file)\n        {\n            var visitor =\n                Context.Global.VisitorType == null\n                    ? Context.Global.ExportPureTypings\n                        ? new TypingsExportVisitor(tw, Context)\n                        : new TypeScriptExportVisitor(tw, Context)\n                    : (TextExportingVisitor)Activator.CreateInstance(Context.Global.VisitorType, new object[] { tw, Context });\n            WriteWarning(tw);\n\n            visitor.VisitFile(file);\n        }\n\n        private void WriteWarning(TextWriter tw)\n        {\n            if (Context.Global.WriteWarningComment)\n            {\n                tw.WriteLine(\"//     This code was generated by a Reinforced.Typings tool. \");\n                tw.WriteLine(\"//     Changes to this file may cause incorrect behavior and will be lost if\");\n                tw.WriteLine(\"//     the code is regenerated.\");\n                tw.WriteLine();\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings.Tests/Core/RtExporterTestBase.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing Reinforced.Typings.Fluent;\nusing Reinforced.Typings.Tests.Tokenizing;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.Core\n{\n    public abstract class RtExporterTestBase : ConfigurationBuilderTestBase\n    {\n        protected string AssertConfiguration(Action<ConfigurationBuilder> configuration, string result, bool compareComments = false)\n        {\n            var data = InitializeSingleFile(configuration);\n            var te = data.Exporter;\n            var mfo = data.Files;\n            te.Export();\n            Assert.True(mfo.DeployCalled);\n            Assert.True(mfo.TempRegistryCleared);\n            var actual = mfo.ExportedFiles[Sample]; //<--- variable to check in debugger\n            Assert.True(actual.TokenizeCompare(result, compareComments)); //<--- best place to put breakpoint\n            return actual;\n        }\n\n        protected string AssertConfiguration(Action<ConfigurationBuilder> configuration, string result, Action<TsExporter> expAction, bool compareComments = false)\n        {\n            var data = InitializeSingleFile(configuration);\n            var te = data.Exporter;\n            var mfo = data.Files;\n            te.Export();\n            expAction(te);\n            Assert.True(mfo.DeployCalled);\n            Assert.True(mfo.TempRegistryCleared);\n            var actual = mfo.ExportedFiles[Sample]; //<--- variable to check in debugger\n            Assert.True(actual.TokenizeCompare(result, compareComments)); //<--- best place to put breakpoint\n            return actual;\n        }\n\n        protected void AssertConfiguration(Action<ConfigurationBuilder> configuration, Dictionary<string,string> results, bool compareComments = false)\n        {\n            var data = InitializeMultipleFiles(configuration);\n            var te = data.Exporter;\n            var mfo = data.Files;\n            te.Export();\n            Assert.True(mfo.DeployCalled);\n            Assert.True(mfo.TempRegistryCleared);\n            var exportedFiles = mfo.ExportedFiles; //<--- variable to check in debugger\n            foreach (var mfoExportedFile in exportedFiles) \n            {\n                var generated = mfoExportedFile.Value; //<--- variable to check in debugger\n                Assert.True(results.ContainsKey(mfoExportedFile.Key)); //<--- best place to put breakpoint\n                var expected = results[mfoExportedFile.Key];\n                Assert.True(generated.TokenizeCompare(expected,compareComments));\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings.Tests/Properties/AssemblyInfo.cs",
    "content": "﻿using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Information about an assembly is controlled through the following \n// set of attributes. Change these attribute values to modify the information\n// associated with an assembly.\n[assembly: AssemblyTitle(\"Reinforced.Typings.Tests\")]\n[assembly: AssemblyDescription(\"\")]\n[assembly: AssemblyConfiguration(\"\")]\n[assembly: AssemblyCompany(\"\")]\n[assembly: AssemblyProduct(\"Reinforced.Typings.Tests\")]\n[assembly: AssemblyCopyright(\"Copyright ©  2017\")]\n[assembly: AssemblyTrademark(\"\")]\n[assembly: AssemblyCulture(\"\")]\n\n// Setting ComVisible to false makes the types in this assembly not visible \n// to COM components.  If you need to access a type in this assembly from \n// COM, set the ComVisible attribute to true on that type.\n[assembly: ComVisible(false)]\n\n// The following GUID is for the ID of the typelib if this project is exposed to COM\n[assembly: Guid(\"5d126898-7e5d-4967-8732-3fc8722f532e\")]\n\n// Version information for an assembly consists of the following four values:\n//\n//      Major Version\n//      Minor Version \n//      Build Number\n//      Revision\n//\n// You can specify all the values or you can default the Build and Revision Numbers \n// by using the '*' as shown below:\n// [assembly: AssemblyVersion(\"1.0.*\")]\n[assembly: AssemblyVersion(\"1.0.0.0\")]\n[assembly: AssemblyFileVersion(\"1.0.0.0\")]\n"
  },
  {
    "path": "Reinforced.Typings.Tests/Reinforced.Typings.Tests.Dev.csproj",
    "content": "<Project Sdk=\"Microsoft.NET.Sdk\">\n\n  <PropertyGroup>\n    <TargetFramework>net5.0</TargetFramework>\n\n    <IsPackable>false</IsPackable>\n\t<LangVersion>Preview</LangVersion> \n  </PropertyGroup>\n\n  <PropertyGroup Condition=\"'$(Configuration)|$(Platform)'=='Debug|AnyCPU'\">\n    <DocumentationFile>w:\\Work\\Reinforced\\Typings\\Reinforced.Typings\\Reinforced.Typings.Tests\\Reinforced.Typings.Tests.Dev.xml</DocumentationFile>\n  </PropertyGroup>\n\n  <ItemGroup>\n    <Compile Remove=\"Properties\\**\" />\n    <EmbeddedResource Remove=\"Properties\\**\" />\n    <None Remove=\"Properties\\**\" />\n  </ItemGroup>\n\n  <ItemGroup>\n    <PackageReference Include=\"Microsoft.NET.Test.Sdk\" Version=\"16.7.1\" />\n    <PackageReference Include=\"xunit\" Version=\"2.4.1\" />\n    <PackageReference Include=\"xunit.runner.visualstudio\" Version=\"2.4.3\">\n      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>\n      <PrivateAssets>all</PrivateAssets>\n    </PackageReference>\n    <PackageReference Include=\"coverlet.collector\" Version=\"1.3.0\">\n      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>\n      <PrivateAssets>all</PrivateAssets>\n    </PackageReference>\n  </ItemGroup>\n\n  <ItemGroup>\n    <ProjectReference Include=\"..\\Reinforced.Typings.Cli\\Reinforced.Typings.Cli.Dev.csproj\" />\n    <ProjectReference Include=\"..\\Reinforced.Typings\\Reinforced.Typings.Dev.csproj\" />\n    <ProjectReference Include=\"..\\TestFluentAssembly\\TestFluentAssembly.Dev.csproj\" />\n  </ItemGroup>\n\n</Project>\n"
  },
  {
    "path": "Reinforced.Typings.Tests/Reinforced.Typings.Tests.Dev.xml",
    "content": "<?xml version=\"1.0\"?>\n<doc>\n    <assembly>\n        <name>Reinforced.Typings.Tests.Dev</name>\n    </assembly>\n    <members>\n        <member name=\"M:Reinforced.Typings.Tests.SpecificCases.SpecificTestCases.ClassWithParametersConstructor.#ctor(System.Int32,System.String,System.Boolean)\">\n            <summary>Initializes a new instance of the <see cref=\"T:System.Object\" /> class.</summary>\n        </member>\n        <member name=\"T:Reinforced.Typings.Tests.SpecificCases.SpecificTestCases.SomeReallyNestedClass\">\n            <summary>\n            Some documentation for nested class\n            </summary>\n        </member>\n        <member name=\"M:Reinforced.Typings.Tests.SpecificCases.SpecificTestCases.SomeReallyNestedClass.#ctor(System.Int32)\">\n            <summary>Ctor comment</summary>\n        </member>\n        <member name=\"M:Reinforced.Typings.Tests.SpecificCases.SpecificTestCases.LineAfterAddingGenerator.GenerateNode(System.Type,Reinforced.Typings.Ast.RtEnum,Reinforced.Typings.TypeResolver)\">\n            <summary>\n                Main code generator method. This method should write corresponding TypeScript code for element (1st argument) to\n                WriterWrapper (3rd argument) using TypeResolver if necessary\n            </summary>\n            <param name=\"element\">Element code to be generated to output</param>\n            <param name=\"result\">Resulting node</param>\n            <param name=\"resolver\">Type resolver</param>\n        </member>\n        <member name=\"T:Reinforced.Typings.Tests.SpecificCases.SpecificTestCases.MyRefProcessor\">\n            <summary>\n            Example of implementation of custom reference processor\n            </summary>\n        </member>\n        <member name=\"M:Reinforced.Typings.Tests.SpecificCases.SpecificTestCases.MyRefProcessor.FilterImports(System.Collections.Generic.IEnumerable{Reinforced.Typings.Ast.Dependency.RtImport},Reinforced.Typings.ExportedFile)\">\n            <summary>\n            Returns refiltered and reordered import directives that must appear in resulting file.\n            Return null to remain references list untouched\n            </summary>\n            <param name=\"imports\">Set on initially computed imports</param>\n            <param name=\"file\">File that is being exported currently</param>\n            <returns>Set of refiltered/reordered imports</returns>\n        </member>\n        <member name=\"M:Reinforced.Typings.Tests.SpecificCases.SpecificTestCases.MyRefProcessor.FilterReferences(System.Collections.Generic.IEnumerable{Reinforced.Typings.Ast.Dependency.RtReference},Reinforced.Typings.ExportedFile)\">\n            <summary>\n            Returns refiltered and reordered reference directives that must appear in resulting file\n            Return null to remain imports list untouched\n            </summary>\n            <param name=\"references\">Set on initially computed references</param>\n            <param name=\"file\">File that is being exported currently</param>\n            <returns>Set of refiltered/reordered references</returns>\n        </member>\n        <member name=\"T:Reinforced.Typings.Tests.SpecificCases.FSharpMap`2\">\n            <summary>\n            Simulate F# map\n            </summary>\n        </member>\n        <member name=\"F:Reinforced.Typings.Tests.SpecificCases.TestEnum2.C\">\n            <summary>\n            C Value\n            </summary>\n        </member>\n        <member name=\"F:Reinforced.Typings.Tests.SpecificCases.TestEnum2.D\">\n            <summary>\n            D Value\n            </summary>\n        </member>\n        <member name=\"F:Reinforced.Typings.Tests.SpecificCases.TestEnum2.E\">\n            <summary>\n            E Value\n            </summary>\n        </member>\n        <member name=\"T:Reinforced.Typings.Tests.SpecificCases.ISomeInterfaceWithDocs\">\n            <summary>\n            Some documentation for interface.\n            </summary>\n        </member>\n        <member name=\"P:Reinforced.Typings.Tests.SpecificCases.ISomeInterfaceWithDocs.InterfaceProp\">\n            <summary>\n            Some documentation for interface property.\n            </summary>\n        </member>\n        <member name=\"M:Reinforced.Typings.Tests.SpecificCases.ISomeInterfaceWithDocs.InterfaceMethod\">\n            <summary>\n            Some documentation for interface method.\n            </summary>\n        </member>\n        <member name=\"T:Reinforced.Typings.Tests.SpecificCases.ISomeInterfaceWithInheritDoc\">\n            <inheritdoc/>\n        </member>\n        <member name=\"T:Reinforced.Typings.Tests.SpecificCases.SomeClassWithInterfaceInheritDoc\">\n            <inheritdoc/>\n        </member>\n        <member name=\"P:Reinforced.Typings.Tests.SpecificCases.SomeClassWithInterfaceInheritDoc.InterfaceProp\">\n            <inheritdoc/>\n        </member>\n        <member name=\"M:Reinforced.Typings.Tests.SpecificCases.SomeClassWithInterfaceInheritDoc.InterfaceMethod\">\n            <inheritdoc/>\n        </member>\n        <member name=\"T:Reinforced.Typings.Tests.SpecificCases.SomeClassWithDocs\">\n            <summary>\n            Some documentation for class.\n            </summary>\n        </member>\n        <member name=\"M:Reinforced.Typings.Tests.SpecificCases.SomeClassWithDocs.#ctor\">\n            <summary>\n            Some documentation for constructor.\n            </summary>\n        </member>\n        <member name=\"P:Reinforced.Typings.Tests.SpecificCases.SomeClassWithDocs.SomeProp\">\n            <summary>\n            Some documentation for property.\n            </summary>\n        </member>\n        <member name=\"M:Reinforced.Typings.Tests.SpecificCases.SomeClassWithDocs.SomeMethod\">\n            <summary>\n            Some documentation for method.\n            </summary>\n        </member>\n        <member name=\"T:Reinforced.Typings.Tests.SpecificCases.SomeClassWithInheritDoc\">\n            <inheritdoc/>\n        </member>\n        <member name=\"M:Reinforced.Typings.Tests.SpecificCases.SomeClassWithInheritDoc.#ctor\">\n            <inheritdoc/>\n        </member>\n        <member name=\"P:Reinforced.Typings.Tests.SpecificCases.SomeClassWithInheritDoc.SomeProp\">\n            <inheritdoc/>\n        </member>\n        <member name=\"M:Reinforced.Typings.Tests.SpecificCases.SomeClassWithInheritDoc.SomeMethod\">\n            <inheritdoc/>\n        </member>\n        <member name=\"T:Reinforced.Typings.Tests.SpecificCases.SomeClassWithInheritDocCref\">\n            <inheritdoc cref=\"T:Reinforced.Typings.Tests.SpecificCases.SomeClassWithDocs\"/>\n        </member>\n        <member name=\"M:Reinforced.Typings.Tests.SpecificCases.SomeClassWithInheritDocCref.#ctor\">\n            <inheritdoc cref=\"M:Reinforced.Typings.Tests.SpecificCases.SomeClassWithDocs.#ctor\"/>\n        </member>\n        <member name=\"P:Reinforced.Typings.Tests.SpecificCases.SomeClassWithInheritDocCref.AnotherProp\">\n            <inheritdoc cref=\"P:Reinforced.Typings.Tests.SpecificCases.SomeClassWithDocs.SomeProp\"/>\n        </member>\n        <member name=\"M:Reinforced.Typings.Tests.SpecificCases.SomeClassWithInheritDocCref.AnotherMethod\">\n            <inheritdoc cref=\"M:Reinforced.Typings.Tests.SpecificCases.SomeClassWithDocs.SomeMethod\"/>\n        </member>\n        <member name=\"M:Reinforced.Typings.Tests.SpecificCases.TestFunctionGenerator.GenerateNode(System.Reflection.MethodInfo,Reinforced.Typings.Ast.RtFunction,Reinforced.Typings.TypeResolver)\">\n            <summary>\n                Main code generator method. This method should write corresponding TypeScript code for element (1st argument) to\n                WriterWrapper (3rd argument) using TypeResolver if necessary\n            </summary>\n            <param name=\"element\">Element code to be generated to output</param>\n            <param name=\"result\">Resulting node</param>\n            <param name=\"resolver\">Type resolver</param>\n        </member>\n        <member name=\"M:Reinforced.Typings.Tests.SpecificCases.TestFunctionWithEnumGenerator.GenerateNode(System.Reflection.MethodInfo,Reinforced.Typings.Ast.RtFunction,Reinforced.Typings.TypeResolver)\">\n            <summary>\n                Main code generator method. This method should write corresponding TypeScript code for element (1st argument) to\n                WriterWrapper (3rd argument) using TypeResolver if necessary\n            </summary>\n            <param name=\"element\">Element code to be generated to output</param>\n            <param name=\"result\">Resulting node</param>\n            <param name=\"resolver\">Type resolver</param>\n        </member>\n        <member name=\"M:Reinforced.Typings.Tests.SpecificCases.LegacyPropertyDuplicator.GenerateNode(System.Reflection.MemberInfo,Reinforced.Typings.Ast.RtField,Reinforced.Typings.TypeResolver)\">\n            <summary>\n                Main code generator method. This method should write corresponding TypeScript code for element (1st argument) to\n                WriterWrapper (3rd argument) using TypeResolver if necessary\n            </summary>\n            <param name=\"element\">Element code to be generated to output</param>\n            <param name=\"result\">Resulting node</param>\n            <param name=\"resolver\">Type resolver</param>\n        </member>\n    </members>\n</doc>\n"
  },
  {
    "path": "Reinforced.Typings.Tests/Reinforced.Typings.Tests.NETCore.csproj",
    "content": "<Project Sdk=\"Microsoft.NET.Sdk\">\n  <PropertyGroup>\n    <Configuration Condition=\" '$(Configuration)' == '' \">Debug</Configuration>\n    <Platform Condition=\" '$(Platform)' == '' \">AnyCPU</Platform>\n    <ProjectGuid>{5D126898-7E5D-4967-8732-3FC8722F532E}</ProjectGuid>\n    <OutputType>Library</OutputType>\n    <AppDesignerFolder>Properties</AppDesignerFolder>\n    <RootNamespace>Reinforced.Typings.Tests</RootNamespace>\n    <AssemblyName>Reinforced.Typings.Tests</AssemblyName>\n    <TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp2.1;netcoreapp3.1;netcoreapp2.2</TargetFrameworks>\n    <FileAlignment>512</FileAlignment>\n  </PropertyGroup>\n  <PropertyGroup Condition=\" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' \">\n    <DebugSymbols>true</DebugSymbols>\n    <DebugType>full</DebugType>\n    <Optimize>false</Optimize>\n    <OutputPath>bin\\Debug\\</OutputPath>\n    <DefineConstants>DEBUG;TRACE</DefineConstants>\n    <ErrorReport>prompt</ErrorReport>\n    <WarningLevel>4</WarningLevel>\n    <DocumentationFile>bin\\Debug\\Reinforced.Typings.Tests.XML</DocumentationFile>\n  </PropertyGroup>\n  <PropertyGroup Condition=\" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' \">\n    <DebugType>pdbonly</DebugType>\n    <Optimize>true</Optimize>\n    <OutputPath>bin\\Release\\</OutputPath>\n    <DefineConstants>TRACE</DefineConstants>\n    <ErrorReport>prompt</ErrorReport>\n    <WarningLevel>4</WarningLevel>\n  </PropertyGroup>\n  <ItemGroup>\n    <Service Include=\"{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}\" />\n  </ItemGroup>\n  <ItemGroup>\n    <ProjectReference Include=\"..\\Reinforced.Typings.Cli\\Reinforced.Typings.Cli.NETCore.csproj\" />\n    <ProjectReference Include=\"..\\Reinforced.Typings\\Reinforced.Typings.NETCore.csproj\" />\n    <ProjectReference Include=\"..\\TestFluentAssembly\\TestFluentAssembly.NETCore.csproj\" />\n  </ItemGroup>\n  <ItemGroup>\n    <PackageReference Include=\"Microsoft.NET.Test.Sdk\" Version=\"16.7.1\" />\n    <PackageReference Include=\"xunit\" Version=\"2.4.1\" />\n    <PackageReference Include=\"xunit.runner.visualstudio\" Version=\"2.4.3\" />\n  </ItemGroup>\n  <ItemGroup>\n    <Compile Remove=\"Properties\\AssemblyInfo.cs\" />\n  </ItemGroup>\n  <Target Name=\"EnsureNuGetPackageBuildImports\" BeforeTargets=\"PrepareForBuild\">\n    <PropertyGroup>\n      <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>\n    </PropertyGroup>\n    <Error Condition=\"!Exists('..\\packages\\xunit.runner.visualstudio.2.1.0\\build\\net20\\xunit.runner.visualstudio.props')\" Text=\"$([System.String]::Format('$(ErrorText)', '..\\packages\\xunit.runner.visualstudio.2.1.0\\build\\net20\\xunit.runner.visualstudio.props'))\" />\n  </Target>\n  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. \n       Other similar extension points exist, see Microsoft.Common.targets.\n  <Target Name=\"BeforeBuild\">\n  </Target>\n  <Target Name=\"AfterBuild\">\n  </Target>\n  -->\n</Project>"
  },
  {
    "path": "Reinforced.Typings.Tests/Reinforced.Typings.Tests.csproj",
    "content": "﻿<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"14.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\n  <Import Project=\"..\\packages\\xunit.runner.visualstudio.2.1.0\\build\\net20\\xunit.runner.visualstudio.props\" Condition=\"Exists('..\\packages\\xunit.runner.visualstudio.2.1.0\\build\\net20\\xunit.runner.visualstudio.props')\" />\n  <Import Project=\"$(MSBuildExtensionsPath)\\$(MSBuildToolsVersion)\\Microsoft.Common.props\" Condition=\"Exists('$(MSBuildExtensionsPath)\\$(MSBuildToolsVersion)\\Microsoft.Common.props')\" />\n  <PropertyGroup>\n    <Configuration Condition=\" '$(Configuration)' == '' \">Debug</Configuration>\n    <Platform Condition=\" '$(Platform)' == '' \">AnyCPU</Platform>\n    <ProjectGuid>{5D126898-7E5D-4967-8732-3FC8722F532E}</ProjectGuid>\n    <OutputType>Library</OutputType>\n    <AppDesignerFolder>Properties</AppDesignerFolder>\n    <RootNamespace>Reinforced.Typings.Tests</RootNamespace>\n    <AssemblyName>Reinforced.Typings.Tests</AssemblyName>\n    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>\n    <FileAlignment>512</FileAlignment>\n    <TargetFrameworkProfile />\n    <NuGetPackageImportStamp>\n    </NuGetPackageImportStamp>\n  </PropertyGroup>\n  <PropertyGroup Condition=\" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' \">\n    <DebugSymbols>true</DebugSymbols>\n    <DebugType>full</DebugType>\n    <Optimize>false</Optimize>\n    <OutputPath>bin\\Debug\\</OutputPath>\n    <DefineConstants>DEBUG;TRACE</DefineConstants>\n    <ErrorReport>prompt</ErrorReport>\n    <WarningLevel>4</WarningLevel>\n    <DocumentationFile>bin\\Debug\\Reinforced.Typings.Tests.XML</DocumentationFile>\n  </PropertyGroup>\n  <PropertyGroup Condition=\" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' \">\n    <DebugType>pdbonly</DebugType>\n    <Optimize>true</Optimize>\n    <OutputPath>bin\\Release\\</OutputPath>\n    <DefineConstants>TRACE</DefineConstants>\n    <ErrorReport>prompt</ErrorReport>\n    <WarningLevel>4</WarningLevel>\n  </PropertyGroup>\n  <ItemGroup>\n    <Reference Include=\"mscorlib\" />\n    <Reference Include=\"System\" />\n    <Reference Include=\"System.Core\" />\n    <Reference Include=\"System.Xml.Linq\" />\n    <Reference Include=\"System.Data.DataSetExtensions\" />\n    <Reference Include=\"Microsoft.CSharp\" />\n    <Reference Include=\"System.Data\" />\n    <Reference Include=\"System.Net.Http\" />\n    <Reference Include=\"System.Xml\" />\n    <Reference Include=\"xunit.abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL\">\n      <HintPath>..\\packages\\xunit.abstractions.2.0.0\\lib\\net35\\xunit.abstractions.dll</HintPath>\n      <Private>True</Private>\n    </Reference>\n    <Reference Include=\"xunit.assert, Version=2.1.0.3179, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL\">\n      <HintPath>..\\packages\\xunit.assert.2.1.0\\lib\\dotnet\\xunit.assert.dll</HintPath>\n      <Private>True</Private>\n    </Reference>\n    <Reference Include=\"xunit.core, Version=2.1.0.3179, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL\">\n      <HintPath>..\\packages\\xunit.extensibility.core.2.1.0\\lib\\dotnet\\xunit.core.dll</HintPath>\n      <Private>True</Private>\n    </Reference>\n    <Reference Include=\"xunit.execution.desktop, Version=2.1.0.3179, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL\">\n      <HintPath>..\\packages\\xunit.extensibility.execution.2.1.0\\lib\\net45\\xunit.execution.desktop.dll</HintPath>\n      <Private>True</Private>\n    </Reference>\n  </ItemGroup>\n  <ItemGroup>\n    <Compile Include=\"ClassicMultiFileResolvationTests.cs\" />\n    <Compile Include=\"ConfigurationBuilderTestBase.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.All.cs\" />\n    <Compile Include=\"Core\\MockFileOperations.cs\" />\n    <Compile Include=\"Core\\RtExporterTestBase.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.CrozinSubstitutions.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.DaggmanoAutoIBug.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.DDanteInheritanceBug.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.DGoncharovGenericsCase.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.EnumStringInitializerIgnoreManyValues.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.ExportEnumsInDtsWithDeclareKeyword.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.GenericsExport3.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.GenericsExport2.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.GenericsExport.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.HierarchyFlattening4.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.InheritDoc.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.InvalidFlattenOrder.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.HierarchyFlattening3.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.HierarchyFlattening2.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.InlineFunctionImplementation.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.JonsaCustomIndentationTest.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.DecoratorsTest.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.ExportOrderTest1.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.ExportOrderTest2.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.FunctionalNames.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.NewLineTest.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.LineAfterAnotherWay.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.NewForceNullable.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.InferTypeTest.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.ReferencesPart6ByDanielWest.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.ThirdParty.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.RluitenConstEnums.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.TsFunctionWorksWithEnum.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.TsFunctionWorks.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.TsPropertyWorks.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.OverridenNamesNotCamelCased.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.NestedClassInheritance.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.HierarchyFlattening.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.ClassCodeGenerators.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.FQNs.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.GenericSubstitutions.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.ConstantProperties.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.ExportEnums.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.EnumStringInitializers.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.ReferencesProcessor.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.Constructor.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.DocumentationForNestedTypes.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.LineAfterTest.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.AutoOptional.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.OverrideNamespaceWithModules.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.DtsNoDeclareEnumWithoutAmbientScope.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.KpKozakIssueWithInheritance.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.NvirthMultilineString.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.AutoAsync.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.ADIXReadonlyDictionaryWorkaround.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases._CopyMe_.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.JonsaEnumWithouNamespaceTest.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.PandaWoodCamelCase.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.PandaWoodForceNullableTest.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.ReferencesPart1.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.ReferencesPart2.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.ReferencesPart3.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.ReferencesPart4.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.ReferencesPart5.cs\" />\n    <Compile Include=\"SpecificCases\\SpecificTestCases.WeirdInheritanceCase.cs\" />\n    <Compile Include=\"SpecificCases\\SpecifiicTestCases.UnresolvedToUnknown.cs\" />\n    <Compile Include=\"SpecificCases\\TestCases.cs\" />\n    <Compile Include=\"Properties\\AssemblyInfo.cs\" />\n    <Compile Include=\"Tokenizing\\SimpleTokenizer.cs\" />\n    <Compile Include=\"Tokenizing\\TokenizingComparer.cs\" />\n    <Compile Include=\"TokenizingComparerTests.cs\" />\n    <Compile Include=\"TypeNameEqualityComparer.cs\" />\n    <Compile Include=\"BasicTypesResolvationTests.cs\" />\n  </ItemGroup>\n  <ItemGroup>\n    <None Include=\"packages.config\" />\n  </ItemGroup>\n  <ItemGroup>\n    <Service Include=\"{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}\" />\n  </ItemGroup>\n  <ItemGroup>\n    <ProjectReference Include=\"..\\Reinforced.Typings.Cli\\Reinforced.Typings.Cli.csproj\">\n      <Project>{006290E6-CC0D-4222-87F8-9E67469AD2C9}</Project>\n      <Name>Reinforced.Typings.Cli</Name>\n    </ProjectReference>\n    <ProjectReference Include=\"..\\Reinforced.Typings\\Reinforced.Typings.csproj\">\n      <Project>{2A5CCD5C-E660-4088-8937-9632ABBBCDBB}</Project>\n      <Name>Reinforced.Typings</Name>\n    </ProjectReference>\n    <ProjectReference Include=\"..\\TestFluentAssembly\\TestFluentAssembly.csproj\">\n      <Project>{e7e010d2-1ce5-4877-aba7-36ea8ec62118}</Project>\n      <Name>TestFluentAssembly</Name>\n    </ProjectReference>\n  </ItemGroup>\n  <Import Project=\"$(MSBuildToolsPath)\\Microsoft.CSharp.targets\" />\n  <Target Name=\"EnsureNuGetPackageBuildImports\" BeforeTargets=\"PrepareForBuild\">\n    <PropertyGroup>\n      <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>\n    </PropertyGroup>\n    <Error Condition=\"!Exists('..\\packages\\xunit.runner.visualstudio.2.1.0\\build\\net20\\xunit.runner.visualstudio.props')\" Text=\"$([System.String]::Format('$(ErrorText)', '..\\packages\\xunit.runner.visualstudio.2.1.0\\build\\net20\\xunit.runner.visualstudio.props'))\" />\n  </Target>\n  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. \n       Other similar extension points exist, see Microsoft.Common.targets.\n  <Target Name=\"BeforeBuild\">\n  </Target>\n  <Target Name=\"AfterBuild\">\n  </Target>\n  -->\n</Project>"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.ADIXReadonlyDictionaryWorkaround.cs",
    "content": "﻿using System.Collections;\nusing System.Collections.Generic;\nusing System.Reflection;\nusing System.Threading.Tasks;\nusing Reinforced.Typings.Ast.TypeNames;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        interface User\n        {\n            int Id { get; }\n\n            string Name { get; }\n\n            FSharpMap<string,int> AccessRights { get; }\n\n            FSharpMap<int, FSharpMap<string,string>> Privilegies { get; }\n        }\n\n        [Fact]\n        public void ADIXReadonlyDictionaryWorkaround()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport interface IUser\n\t{\n\t\tId: number;\n\t\tName: string;\n\t\tAccessRights: { [key:string]: number };\n\t\tPrivilegies: { [key:number]: { [key:string]: string } };\n\t}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment());\n\n                s.SubstituteGeneric(typeof(FSharpMap<,>), (t, tr) =>\n                {\n                    var args = t.GetGenericArguments();\n                    return new RtDictionaryType(tr.ResolveTypeName(args[0]),tr.ResolveTypeName(args[1]));\n                });\n\n                s.ExportAsInterface<User>().WithAllProperties();\n            }, result);\n        }\n    }\n\n    /// <summary>\n    /// Simulate F# map\n    /// </summary>\n    class FSharpMap<T, V> : IReadOnlyDictionary<T, V>\n    {\n       \n        public IEnumerator<KeyValuePair<T, V>> GetEnumerator()\n        {\n            throw new System.NotImplementedException();\n        }\n\n        IEnumerator IEnumerable.GetEnumerator()\n        {\n            return GetEnumerator();\n        }\n\n        public int Count { get; }\n\n        public bool ContainsKey(T key)\n        {\n            throw new System.NotImplementedException();\n        }\n\n        public bool TryGetValue(T key, out V value)\n        {\n            throw new System.NotImplementedException();\n        }\n\n        public V this[T key]\n        {\n            get { throw new System.NotImplementedException(); }\n        }\n\n        public IEnumerable<T> Keys { get; }\n\n        public IEnumerable<V> Values { get; }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.All.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing Reinforced.Typings.Cli;\nusing Reinforced.Typings.Fluent;\nusing Reinforced.Typings.ReferencesInspection;\nusing Reinforced.Typings.Tests.Core;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases : RtExporterTestBase\n    {\n        \n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.AutoAsync.cs",
    "content": "﻿using System.Threading.Tasks;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    class TestAsync\n    {\n        public async Task DoVoid()\n        {\n\n        }\n\n        public async Task<string> DoArgument()\n        {\n            return \"aaa\";\n        }\n    }\n\n    class TestAsync2\n    {\n        public async Task DoVoid()\n        {\n\n        }\n\n        public async Task<string> DoArgument()\n        {\n            return \"aaa\";\n        }\n    }\n\n    interface ITestAsync\n    {\n        Task DoVoid();\n\n        Task<string> DoArgument();\n    }\n\n    interface ITestAsyncParameter\n    {\n        Task<string> EvaluatePromise(Task<string> taskParameter);\n    }\n\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void AutoAsyncWorks()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport class TestAsync\n\t{\n\t\tpublic async DoVoid() : Promise<void> { } \n\t\tpublic async DoArgument() : Promise<string>\n\t\t{\n\t\t\treturn null;\n\t\t}\n\t}\n\texport interface ITestAsync2\n\t{\n\t\tDoVoid() : Promise<void>;\n\t\tDoArgument() : Promise<string>;\n\t}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().AutoAsync());\n                s.ExportAsClass<TestAsync>().WithPublicMethods();\n                s.ExportAsInterface<TestAsync2>().WithPublicMethods();\n            }, result);\n        }\n\n        [Fact]\n        public void AutoAsyncInterfaceWorks()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport interface ITestAsync\n\t{\n\t\tDoVoid() : Promise<void>;\n\t\tDoArgument() : Promise<string>;\n\t}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().AutoAsync());\n                s.ExportAsInterface<ITestAsync>().WithPublicMethods();\n            }, result);\n        }\n\n        [Fact]\n        public void NoAutoAsyncInterfaceWorks()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport interface ITestAsync\n\t{\n\t\tDoVoid() : void;\n\t\tDoArgument() : string;\n\t}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.ExportAsInterface<ITestAsync>().WithPublicMethods();\n            }, result);\n        }\n\n        [Fact]\n        public void PromiseTaskInParamterIsMaintained()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport interface ITestAsyncParameter\n\t{\n\t\tEvaluatePromise(taskParameter: Promise<string>) : string;\n\t}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.ExportAsInterface<ITestAsyncParameter>().WithPublicMethods();\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.AutoOptional.cs",
    "content": "﻿using System;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        interface OptionalTestInterface\n        {\n            DateTime? Date { get; }\n            int? Number { get; }\n            string String { get; }\n        }\n\n        class OptionalTestClass\n        {\n            public DateTime? Date { get; }\n            public int? Number { get; }\n            public string String { get; }\n        }\n        [Fact]\n        public void AutoOptional()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport interface IOptionalTestInterface\n\t{\n\t\tDate?: any;\n\t\tNumber?: number;\n\t\tString: string;\n\t}\n\texport interface IOptionalTestClass\n\t{\n\t\tDate?: any;\n\t\tNumber?: number;\n\t\tString: string;\n\t}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().AutoOptionalProperties());\n                s.ExportAsInterface<OptionalTestInterface>().WithPublicProperties();\n                s.ExportAsInterface<OptionalTestClass>().WithPublicProperties();\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.AutoOptionalWithCompilerNullable.cs",
    "content": "﻿#if CUSTOM_FLAG_NULLABLE_AVAILABLE\nusing System;\nusing System.Collections.Generic;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\n#nullable enable\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        public interface OptionalTestInterfaceNullableAttribute\n        {\n            DateTime? Date { get; }\n            int Number { get; }\n            public int[]? Numbers { get; }\n            string? String { get; set; }\n            public IList<int>? SomeList { get; }\n        }\n\n        public class OptionalTestClassNullableAttribute\n        {\n            public DateTime? Date { get; }\n            public int? Number { get; }\n            public int[] Numbers { get; }\n            public string String { get; }\n            public IList<int> SomeList { get; }\n        }\n\n        [Fact]\n        public void AutoOptionalIfCompilerNullableAttribute()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport interface IOptionalTestInterfaceNullableAttribute\n\t{\n\t\tDate?: any;\n\t\tNumber: number;\n\t\tNumbers?: number[];\n\t\tString?: string;\n\t\tSomeList?: number[];\n\t}\n\texport interface IOptionalTestClassNullableAttribute\n\t{\n\t\tDate?: any;\n\t\tNumber?: number;\n\t\tNumbers: number[];\n\t\tString: string;\n\t\tSomeList: number[];\n\t}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().AutoOptionalProperties());\n                s.ExportAsInterface<OptionalTestInterfaceNullableAttribute>().WithPublicProperties();\n                s.ExportAsInterface<OptionalTestClassNullableAttribute>().WithPublicProperties();\n            }, result);\n        }\n        \n        public interface OptionalTestParameterInterfaceNullableAttribute\n        {\n\t        public int TransformSomeValue(int mode, string? data);\n\t        public string TransformSomeValueNonNullParameter(int mode, string data);\n        }\n\n        [Fact]\n        public void AutoOptionalOfParameterIfCompilerNullableAttribute()\n        {\n\t        const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport interface IOptionalTestParameterInterfaceNullableAttribute\n\t{\n\t\tTransformSomeValue(mode: number, data?: string) : number;\n\t\tTransformSomeValueNonNullParameter(mode: number, data: string) : string;\n\t}\n}\";\n\t        AssertConfiguration(s =>\n\t        {\n\t\t        s.Global(a => a.DontWriteWarningComment().AutoOptionalProperties());\n\t\t        s.ExportAsInterface<OptionalTestParameterInterfaceNullableAttribute>().WithPublicMethods();\n\t        }, result);\n        }\n    }\n}\n\n#endif\n"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.ClassCodeGenerators.cs",
    "content": "﻿using System;\nusing System.CodeDom;\nusing System.Text;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Ast.TypeNames;\nusing Reinforced.Typings.Fluent;\nusing Reinforced.Typings.Generators;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public class CodeGeneratedClass\n    {\n        public void DoSomething() { }\n\n        public string GetName(int arg) { return string.Empty; }\n    }\n\n    public class FunClassCodeGenerator : ClassCodeGenerator\n    {\n        public override RtClass GenerateNode(Type element, RtClass result, TypeResolver resolver)\n        {\n            // obtain current namespace\n            var ns = this.Context.Location.CurrentNamespace;\n            var r = base.GenerateNode(element, result, resolver);\n            foreach (var rMember in r.Members)\n            {\n                var m = rMember as RtFunction;\n                if (m != null)\n                {\n                    m.AccessModifier = null;\n\n                    ns.CompilationUnits.Add(m);\n                }\n            }\n\n            // return null instead of result to \n            // suppress writing AST of original class \n            // to resulting file\n            return null;\n        }\n    }\n    \n\npublic class AdditionalEnumGenerator : EnumGenerator\n{\n    public override RtEnum GenerateNode(Type element, RtEnum result, TypeResolver resolver)\n    {\n        var resultEnum = base.GenerateNode(element, result, resolver);\n\n        if (Context.Location.CurrentNamespace!=null)\n        {\n            Context.Location.CurrentNamespace.CompilationUnits.Add(resultEnum);\n\n            StringBuilder enumdescriptor = new StringBuilder();\n            enumdescriptor.AppendLine();\n            enumdescriptor.AppendLine($\"const {resultEnum.EnumName} = new Map<number, string>([\");\n            bool first = true;\n            foreach (var resultEnumValue in resultEnum.Values)\n            {\n                if (!first) enumdescriptor.AppendLine(\",\");\n                first = false;\n                var enumDescription = resultEnumValue.EnumValueName.ToUpper(); //<- here you get your desired enum description string somehow\n                enumdescriptor.Append($\"[{resultEnum.EnumName}.{resultEnumValue.EnumValueName},'{enumDescription}']\");\n            }\n            enumdescriptor.AppendLine(\"]);\");\n\n            Context.Location.CurrentNamespace.CompilationUnits.Add(new RtRaw(enumdescriptor.ToString()));\n\n        }\n\n        return null;\n    }\n    }\n\n    \n\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void ClassCodeGenerators()\n        {\n            const string result = @\"\nDoSomething() : void { } \nGetName(arg: number) : string\n{\n\treturn null;\n}\nenum SomeEnum { \n\tOne = 0, \n\tTwo = 1\n}\n\nconst SomeEnum = new Map<number, string>([\n[SomeEnum.One,'ONE'],\n[SomeEnum.Two,'TWO']]);\n\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().ReorderMembers());\n                s.ExportAsClass<CodeGeneratedClass>()\n                    .WithPublicMethods()\n                    .WithCodeGenerator<FunClassCodeGenerator>()\n                    .DontIncludeToNamespace();\n                s.ExportAsEnum<SomeEnum>().WithCodeGenerator<AdditionalEnumGenerator>().DontIncludeToNamespace();\n                    ;\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.ConstantProperties.cs",
    "content": "﻿using Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    enum ExportedEnum\n    {\n        One = 1\n    }\n\n    enum NotExportedEnum\n    {\n        Two = 2\n    }\n    class ConstantTestA\n    {\n        public const string ConstantString = \"a\";\n        public static string StaticString = \"b\";\n\n        public static int StaticNumber = 42;\n        public const int ConstantNumber = 42;\n\n        public const ExportedEnum ConstExEnum = ExportedEnum.One;\n        public static ExportedEnum StaticExEnum = ExportedEnum.One;\n\n        public const NotExportedEnum ConstNotExEnum = NotExportedEnum.Two;\n        public static NotExportedEnum StaticNotExEnum = NotExportedEnum.Two;\n\n    }\n    class ConstantTestB\n    {\n        public static string StaticString = \"b\";\n        public object MyObject { get; set; }\n    }\n\n    class ConstantTestC\n    {\n        public const string WillBeInitialized = \"a\";\n        public static string WillNotBeInitialized = \"b\";\n    }\n\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void ConstantProperties()\n        {\n\t        // NB this test fails on Mono because the Members property of RtClass does not \n\t        // order the tokens in the same order as the CLR on Windows (ie it's CLR-specific, relying on a certain order)\n\t        // (Similar to the way that the order of attributes in C# code is CLR-dependent and shouldn't be relied on)\n            const string result = @\"\nmodule Test {\n\texport enum ExportedEnum { \n\t\tOne = 1\n\t}\n\texport class ConstantTestA\n\t{\n\t\tpublic static ConstantNumber: number = 42;\n\t\tpublic static ConstantString: string = `a`;\n\t\tpublic static ConstExEnum: Test.ExportedEnum = Test.ExportedEnum.One;\n\t\tpublic static ConstNotExEnum: number = 2;\n\t\tpublic static StaticExEnum: Test.ExportedEnum = Test.ExportedEnum.One;\n\t\tpublic static StaticNotExEnum: number = 2;\n\t\tpublic static StaticNumber: number = 42;\n\t\tpublic static StaticString: string = `b`;\n\t}\n\texport class ConstantTestB\n\t{\n\t\tpublic MyObject: any = { a: 10, b: 5 };\n\t\tpublic static StaticString: string = 'Hello, I\\'m string that originally was \\'b\\'';\n\t}\n\texport class ConstantTestC\n\t{\n\t\tpublic static WillBeInitialized: string = `a`;\n\t\tpublic static WillNotBeInitialized: string;\n\t}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().ReorderMembers());\n                s.ExportAsEnum<ExportedEnum>().OverrideNamespace(\"Test\");\n                s.ExportAsClass<ConstantTestA>()\n                    .WithAllFields()\n                    .WithAllProperties().OverrideNamespace(\"Test\");\n\n                s.ExportAsClass<ConstantTestB>()\n                    .OverrideNamespace(\"Test\")\n                    .WithProperty(x => x.MyObject, x => x.InitializeWith((m, tr, v) => \"{ a: 10, b: 5 }\"))\n                    .WithField(\"StaticString\",\n                        x => x.InitializeWith((m, tr, v) => $\"'Hello, I\\\\'m string that originally was \\\\'{v}\\\\''\"));\n\n                s.ExportAsClass<ConstantTestC>()\n                    .WithPublicFields()\n                    .OverrideNamespace(\"Test\")\n                    .WithField(\"WillNotBeInitialized\", c => c.Constant(false));\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.Constructor.cs",
    "content": "﻿using Reinforced.Typings.Ast;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        class ClassWithDefaultConstructor\n        {\n            \n        }\n\n        class ClassWithDefaultConstructorWithBody\n        {\n            \n        }\n\n        class ClassWithParametersConstructor\n        {\n            /// <summary>Initializes a new instance of the <see cref=\"T:System.Object\" /> class.</summary>\n            public ClassWithParametersConstructor(int x, string y, bool z)\n            {\n            }\n        }\n        [Fact]\n        public void GenerateConstructors()\n        {\n            const string result = @\"\nexport class ClassWithDefaultConstructor\n{\n\tconstructor () { } \n}\nexport class ClassWithDefaultConstructorWithBody\n{\n\tconstructor ()\n\t{\n\t\tthis.invokeSomeMethod();\n\t}\n}\nexport class ClassWithParametersConstructor\n{\n\tconstructor (x: number, y: string, z: boolean)\n\t{\n\t\tthis.x = x; this.y = y; this.z = z;\n\t}\n}\n\";\n\n            const string resultDts = @\"\ndeclare class ClassWithDefaultConstructor\n{\n\tconstructor (); \n}\ndeclare class ClassWithDefaultConstructorWithBody\n{\n\tconstructor (); \n}\ndeclare class ClassWithParametersConstructor\n{\n\tconstructor (x: number, y: string, z: boolean); \n}\n\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().UseModules().ReorderMembers());\n\n                s.ExportAsClass<ClassWithDefaultConstructor>()\n                    .WithPublicProperties()\n                    .WithPublicMethods()\n                    .WithConstructor()\n                    ;\n                s.ExportAsClass<ClassWithDefaultConstructorWithBody>()\n                    .WithPublicProperties()\n                    .WithPublicMethods()\n                    .WithConstructor(new RtRaw(\"this.invokeSomeMethod();\"))\n                    ;\n                s.ExportAsClass<ClassWithParametersConstructor>()\n                    .WithPublicProperties()\n                    .WithPublicMethods()\n                    .WithConstructor(new RtRaw(\"this.x = x; this.y = y; this.z = z;\"))\n                    ;\n            }, result, compareComments: true);\n\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().UseModules().ReorderMembers().ExportPureTypings());\n\n                s.ExportAsClass<ClassWithDefaultConstructor>()\n                    .WithPublicProperties()\n                    .WithPublicMethods()\n                    .WithConstructor()\n                    ;\n                s.ExportAsClass<ClassWithDefaultConstructorWithBody>()\n                    .WithPublicProperties()\n                    .WithPublicMethods()\n                    .WithConstructor(new RtRaw(\"this.invokeSomeMethod();\"))\n                    ;\n                s.ExportAsClass<ClassWithParametersConstructor>()\n                    .WithPublicProperties()\n                    .WithPublicMethods()\n                    .WithConstructor(new RtRaw(\"this.x = x; this.y = y; this.z = z;\"))\n                    ;\n            }, resultDts, compareComments: true);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.CrozinSubstitutions.cs",
    "content": "﻿using System;\nusing Reinforced.Typings.Ast.TypeNames;\nusing Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        #region Substitutions\n\n        public class CrozinSubstitutionTest\n        {\n            public Guid GuidProperty { get; set; }\n\n            public DateTime TimeProperty { get; set; }\n        }\n\n        public class CrozinLocalSubstitutionTest\n        {\n            public Guid OneMoreGuidProperty { get; set; }\n\n            public DateTime OneMoreTimeProperty { get; set; }\n        }\n\n        #endregion\n\n        [Fact]\n        public void CrozinSubstitutions()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport interface ICrozinSubstitutionTest\n\t{\n\t\tGuidProperty: string;\n\t\tTimeProperty: any;\n\t}\n\texport interface ICrozinLocalSubstitutionTest\n\t{\n\t\tOneMoreGuidProperty: string;\n\t\tOneMoreTimeProperty: Date;\n\t}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(x => x.DontWriteWarningComment().ReorderMembers());\n                s.Substitute(typeof(Guid), new RtSimpleTypeName(\"string\"));\n                s.ExportAsInterface<CrozinSubstitutionTest>().WithPublicProperties();\n                s.ExportAsInterface<CrozinLocalSubstitutionTest>()\n                    .WithPublicProperties()\n                    .Substitute(typeof(DateTime), new RtSimpleTypeName(\"Date\"));\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.DDanteInheritanceBug.cs",
    "content": "﻿using System;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        #region DDante case\n\n        public abstract class PolluxEntity<Key>\n        {\n            public Key EntityId { get; set; }\n\n            public DateTime CreatedOn { get; set; }\n\n            public DateTime? ModifiedOn { get; set; }\n\n\n            public PolluxEntity()\n            {\n                this.CreatedOn = DateTime.Now;\n            }\n        }\n\n\n        public class ContactData : PolluxEntity<long>\n        {\n            public string Phone { get; set; }\n            public string AlternatePhone { get; set; }\n            public bool PhoneConfirmed { get; set; }\n\n            public string Email { get; set; }\n            public string AlternateEmail { get; set; }\n            public bool EmailConfirmed { get; set; }\n\n            public virtual string OwnerId { get; set; }\n\n            public ContactData()\n            {\n            }\n        }\n\n        public class OtherData<T> : PolluxEntity<T>\n        {\n            public string Something { get; set; }\n        }\n\n        #endregion\n\n        [Fact]\n        public void DDanteInheritanceBug()\n        {\n            const string result = @\"\nmodule Pollux.Models {\n\texport interface IPolluxEntity<Key>\n\t{\n\t\tCreatedOn: any;\n\t\tEntityId: Key;\n\t\tModifiedOn?: any;\n\t}\n\texport interface IContactData extends Pollux.Models.IPolluxEntity<number>\n\t{\n\t\tAlternateEmail: string;\n\t\tAlternatePhone: string;\n\t\tEmail: string;\n\t\tEmailConfirmed: boolean;\n\t\tOwnerId: string;\n\t\tPhone: string;\n\t\tPhoneConfirmed: boolean;\n\t}\t\n    export interface IOtherData<T> extends Pollux.Models.IPolluxEntity<T>\n\t{\n\t\tSomething: string;\n\t}\n}\";\n            AssertConfiguration(config =>\n            {\n                config.Global(a => a.DontWriteWarningComment().ReorderMembers().AutoOptionalProperties());\n                var polluxBase = typeof(PolluxEntity<>);\n\n                var types = new[] { polluxBase, typeof(ContactData), typeof(OtherData<>) };\n                // stripped to fit the test\n\n                config.ExportAsInterfaces(types, _icb =>\n                {\n                    _icb.OverrideNamespace(\"Pollux.Models\")\n                        .WithPublicProperties();\n                });\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.DGoncharovGenericsCase.cs",
    "content": "﻿using System.Collections.Generic;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        #region DGoncharovGenericsTestCase\n\n        public class SelectListItem\n        {\n            public string Text { get; set; }\n\n            public string Value { get; set; }\n        }\n\n        public class TypedBasicResult<T>\n        {\n            public int Status { get; set; }\n\n            public string Message { get; set; }\n\n            public T Data { get; set; }\n        }\n\n        public class RequestHandler\n        {\n            public TypedBasicResult<IEnumerable<SelectListItem>> DoRequest()\n            {\n                return null;\n            }\n        }\n\n        #endregion\n\n        [Fact]\n        public void DGoncharovGenericsCase()\n        {\n            const string result = @\"\nexport interface ITypedBasicResult<T>\n{\n\tData: T;\n\tMessage: string;\n\tStatus: number;\n}\nexport interface ISelectListItem\n{\n\tText: string;\n\tValue: string;\n}\nexport class RequestHandler\n{\n\tpublic DoRequest() : ITypedBasicResult<ISelectListItem[]>\n\t{\n\t\treturn null;\n\t}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().UseModules().ReorderMembers());\n                s.ExportAsInterfaces(new[] {typeof(TypedBasicResult<>)}, x => x.WithPublicProperties());\n                s.ExportAsInterface<SelectListItem>().WithPublicProperties();\n                s.ExportAsClass<RequestHandler>().WithPublicMethods();\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.DaggmanoAutoIBug.cs",
    "content": "﻿using Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void DaggmanoAutoIBug()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport interface IInternalUserDaggmano\n\t{\n\t\tName: string;\n\t}\n\texport interface IExternalUserDaggmano\n\t{\n\t\tName: string;\n\t}\n\texport interface IAlreadyContainsI\n\t{\n\t\tName: string;\n\t}\n\texport interface IDoesntContainI\n\t{\n\t\tName: string;\n\t}\n\texport class DoNotNeedIAtAll\n\t{\n\t\tpublic Name: string;\n\t}\n\texport class ICannotBeRemovedHere\n\t{\n\t\tpublic Name: string;\n\t}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().ReorderMembers());\n                s.ExportAsInterface<InternalUserDaggmano>().WithPublicProperties();\n                s.ExportAsInterface<ExternalUserDaggmano>().WithPublicProperties();\n                s.ExportAsInterface<IAlreadyContainsI>().WithPublicProperties();\n                s.ExportAsInterface<DoesntContainI>().WithPublicProperties();\n                s.ExportAsClass<DoNotNeedIAtAll>().WithPublicProperties();\n                s.ExportAsClass<ICannotBeRemovedHere>().WithPublicProperties();\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.DecoratorsTest.cs",
    "content": "﻿using Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        #region Decorators\n\n        public class ClassWithMethods\n        {\n            public string String { get; set; }\n            public int Int { get; set; }\n\n            [TsDecorator(\"b()\")]\n            public void DoSomethinig()\n            {\n\n            }\n        }\n\n\n\n        #endregion\n\n        [Fact]\n        public void DecoratorsTest()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\t@sealed export class ClassWithMethods\n\t{\n\t\t@bind public Int: number;\n\t\t@bind public String: string;\n\t\t@a() @b() public DoSomethinig() : void { } \n\t}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().ReorderMembers());\n                s.ExportAsClass<ClassWithMethods>()\n                    .WithPublicProperties(a => a.Decorator(\"bind\"))\n                    .WithMethod(c => c.DoSomethinig(), c => c.Decorator(\"a()\", -1))\n                    .Decorator(\"sealed\")\n                    ;\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.DocumentationForNestedTypes.cs",
    "content": "﻿using Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        /// <summary>\n        /// Some documentation for nested class\n        /// </summary>\n        public class SomeReallyNestedClass\n        {\n            /// <summary>Ctor comment</summary>\n            public SomeReallyNestedClass(int x)\n            {\n            }\n        }\n        [Fact]\n        public void DocumentationForNestedTypes()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\t/** Some documentation for nested class */\n\texport class SomeReallyNestedClass\n\t{\n\t\t/** Ctor comment */\n\t\tconstructor (x: number) { } \n\t}\n}\n\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().GenerateDocumentation());\n                s.TryLookupDocumentationForAssembly(typeof(SpecificTestCases).Assembly);\n                s.ExportAsClass<SomeReallyNestedClass>()\n                    .WithPublicProperties()\n                    .WithConstructor();\n            }, result, exp =>\n            {\n                var doc = exp.Context.Documentation.GetDocumentationMember(typeof(SomeReallyNestedClass));\n                Assert.NotNull(doc);\n            }, compareComments: true);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.DtsNoDeclareEnumWithoutAmbientScope.cs",
    "content": "﻿using Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Enum.Test\n{\n    public enum Version\n    {\n        Current = 1\n    }\n}\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void DtsNoDeclareEnumWithoutAmbientScope()\n        {\n            const string result = @\"\ndeclare module Enum.Test {\n\texport const enum Version { \n\t\tCurrent = 1\n\t}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().UseModules(false, false)\n                    .ExportPureTypings(true));\n                s.ExportAsEnum<Enum.Test.Version>().Const();\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.EnumKeyedDictionary.cs",
    "content": "﻿using Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void EnumKeyedDictionary()\n        {\n            const string result = @\"\nexport enum SomeEnum { \n\tOne = 0, \n\tTwo = 1\n}\nexport interface IParametrizedGenericsInterface\n{\n\tBag: { [key in SomeEnum]: string };\n\tBag2: { [key:string]: SomeEnum }[];\n\tBag3: { [key in SomeEnum]: SomeEnum }[][];\n\tBag4: { [key in SomeEnum]: { [key:string]: SomeEnum[][] } };\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().UseModules());\n                s.ExportAsEnum<SomeEnum>();\n                s.ExportAsInterfaces(\n                    new[] {typeof(IParametrizedGenericsInterface<SomeEnum, string>)},\n                    x => x.WithPublicProperties().WithPublicMethods());\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.EnumStringInitializerIgnoreManyValues.cs",
    "content": "﻿using Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n\tpublic partial class SpecificTestCases\n\t{\n\t\tenum EnumToIgnoreSomeValues\n\t\t{\n\t\t\tValue1, \n\t\t\tValue2, \n\t\t\tValue3\n\t\t}\n        \n\t\t[Fact]\n\t\tpublic void EnumMultipleIgnoreValuesShouldPass()\n\t\t{\n\t\t\tconst string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport enum EnumToIgnoreSomeValues { \n        Value3 = \"\"Value3\"\" \n    }\n}\";\n\t\t\tAssertConfiguration(s =>\n\t\t\t{\n\t\t\t\ts.Global(a => a.DontWriteWarningComment());\n\t\t\t\ts.ExportAsEnum<EnumToIgnoreSomeValues>()\n\t\t\t\t\t.Value(EnumToIgnoreSomeValues.Value1, d => d.Ignore())\n\t\t\t\t\t.Value(EnumToIgnoreSomeValues.Value2, d => d.Ignore())\n\t\t\t\t\t.UseString();\n\t\t\t}, result);\n\t\t}\n\t}\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.EnumStringInitializers.cs",
    "content": "﻿using Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        enum SomeInitializerEnum\n        {\n            Value1, \n            Value2, \n            [TsValue(Initializer = \"Three\")]\n            Value3\n        }\n        [Fact]\n        public void EnumStringInitializers()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport enum SomeInitializerEnum { \n\t\tValue1 = \"\"One\"\", \n\n            Value2 = \"\"Two\"\", \n            Value3 = \"\"Three\"\"\n\n        }\n    }\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment());\n                s.ExportAsEnum<SomeInitializerEnum>()\n                    .Value(SomeInitializerEnum.Value1, d => d.Initializer(\"One\"))\n                    .Value(SomeInitializerEnum.Value2, d => d.Initializer(\"Two\"))\n                    .UseString();\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.ExportEnums.cs",
    "content": "﻿using Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public enum TestEnum1\n    {\n        A, B, C\n    }\n\n    public enum TestEnum2\n    {\n        /// <summary>\n        /// C Value\n        /// </summary>\n        C,\n\n        /// <summary>\n        /// D Value\n        /// </summary>\n        D,\n        /// <summary>\n        /// E Value\n        /// </summary>\n        E\n    }\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void ExportEnums()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport enum TestEnum1 { \n\t\tA = 0, \n\t\tB = 1, \n\t\tC = 2\n\t}\n\texport enum TestEnum2 { \n\t\tC = 0, \n\t\tD = 1, \n\t\tE = 2\n\t}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment());\n                s.ExportAsEnums(new[] { typeof(TestEnum1), typeof(TestEnum2) });\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.ExportEnumsInDtsWithDeclareKeyword.cs",
    "content": "﻿using Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void ExportEnumsInDtsWithDeclareKeyword()\n        {\n            const string result = @\"\ndeclare module Reinforced.Typings.Tests.SpecificCases {\n\texport enum TestEnum1 { \n\t\tA = 0, \n\t\tB = 1, \n\t\tC = 2\n\t}\n\texport enum TestEnum2 { \n\t\tC = 0, \n\t\tD = 1, \n\t\tE = 2\n\t}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().ExportPureTypings());\n                s.ExportAsEnums(new[] { typeof(TestEnum1), typeof(TestEnum2) });\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.ExportOrderTest1.cs",
    "content": "﻿using Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void ExportOrderTest1()\n        {\n            const string result1 = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n    export interface ITestClass\n\t{\n\t\tString: string;\n\t\tInt: number;\n\t}\t\n    export interface ITestInterface\n\t{\n\t\tString: string;\n\t\tInt: number;\n\t}    \n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment());\n                s.ExportAsInterface<ITestInterface>().WithPublicProperties();\n                s.ExportAsInterface<TestClass>().WithPublicProperties().Order(-1);\n            }, result1);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.ExportOrderTest2.cs",
    "content": "﻿using Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void ExportOrderTest2()\n        {\n            const string result2 = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport interface ITestInterface\n\t{\n\t\tInt: number;\n\t\tString: string;\n\t}\n\texport interface ITestClass\n\t{\n\t\tString: string;\n\t\tInt: number;\n\t}\n\texport class TestClass2\n\t{\n\t\tpublic Int: number;\n\t\tpublic String: string;\n\t}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment());\n                s.ExportAsInterface<ITestInterface>().WithPublicProperties().WithProperty(c=>c.String).Order(1);\n                s.ExportAsInterface<TestClass>().WithPublicProperties();\n                s.ExportAsClass<TestClass2>().WithPublicProperties().WithProperty(c => c.Int).Order(-1);\n            }, result2);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.FQNs.cs",
    "content": "﻿using System.Linq;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    namespace FqnTest.Ns1\n    {\n        public class FqnClass1\n        {\n            public int AnIntegerPropNs1 { get; set; }\n            public string AStringPropNs1 { get; set; }\n        }\n    }\n\n    namespace FqnTest.Ns2\n    {\n        using FqnTest.Ns1;\n        public class FqnClass2 : FqnClass1\n        {\n            public int AnIntegerPropNs2 { get; set; }\n            public string AStringPropNs2 { get; set; }\n        }\n    }\n\n    namespace FqnTest.Ns3\n    {\n        using FqnTest.Ns1;\n        public class FqnClass3\n        {\n            public int AnIntegerPropNs3 { get; set; }\n            public string AStringPropNs3 { get; set; }\n            public FqnClass1 AClass1PropNs3 { get; set; }\n        }\n    }\n\n\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void FQNs()\n        {\n            const string result = @\"\nexport namespace Reinforced.Typings.Tests.SpecificCases.FqnTest.Ns1 {\n\texport class FqnClass1\n\t{\n\t\tpublic AnIntegerPropNs1: number;\n\t\tpublic AStringPropNs1: string;\n\t}\n}\nexport namespace Reinforced.Typings.Tests.SpecificCases.FqnTest.Ns2 {\n\texport class FqnClass2 extends Reinforced.Typings.Tests.SpecificCases.FqnTest.Ns1.FqnClass1\n\t{\n\t\tpublic AnIntegerPropNs2: number;\n\t\tpublic AStringPropNs2: string;\n\t}\n}\nexport namespace Reinforced.Typings.Tests.SpecificCases.FqnTest.Ns3 {\n\texport class FqnClass3\n\t{\n\t\tpublic AClass1PropNs3: Reinforced.Typings.Tests.SpecificCases.FqnTest.Ns1.FqnClass1;\n\t\tpublic AnIntegerPropNs3: number;\n\t\tpublic AStringPropNs3: string;\n\t}\n}\n\";\n            var types =new[] { typeof(FqnTest.Ns1.FqnClass1), typeof(FqnTest.Ns2.FqnClass2), typeof(FqnTest.Ns3.FqnClass3) };\n\n            AssertConfiguration(s =>\n            {\n                s.ExportAsClasses(types.Where(x => x.IsClass), c => c.WithAllFields().WithAllMethods().WithAllProperties());\n                s.Global(c => c.UseModules(true, false).DontWriteWarningComment().ReorderMembers());\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.Fields.cs",
    "content": "﻿using Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n\t    class TestExportWithFields\n\t    {\n\t\t    public string StringField;\n\t\t    public int NumberField;\n\t    }\n\n\t    [Fact]\n        public void FieldsWithBuilderConfig()\n        {\n            const string result = @\"\n\t\t\t\tclass TestExportWithFields\n\t\t\t\t\t{\n\t\t\t\t\t\tpublic StringField: string;\n\t\t\t\t\t\tpublic NumberField: number;\n\t\t\t\t\t}\n\t\t\t\t\";\n\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment());\n                s.ExportAsClass<TestExportWithFields>()\n\t                .WithPublicFields((config) =>\n\t                {\n\t\t                var fieldInfo = config.Member;\n\t                })\n\t                .DontIncludeToNamespace()\n\t            ;\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.FunctionWithParamInitialiser.cs",
    "content": "﻿using System.Reflection;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Fluent;\nusing Reinforced.Typings.Generators;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        private class MyFunctionTestClassWithParamInitializer\n        {\n        \n            public string MyProperty { get; set; }\n        \n            public int MyNumber { get; set; }\n\n            public string DoSomething(int a = 4)\n            {\n                return a == 4 ? \"Hello World\" : string.Empty;\n            }\n        }\n\n        [Fact]\n        public void FunctionWithParamInitializerAsInterface()\n        {\n            const string result = @\"\n                module Reinforced.Typings.Tests.SpecificCases {\n\t                export interface IMyFunctionTestClassWithParamInitializer\n\t                {\n\t\t                MyProperty: string;\n\t\t                MyNumber: number;\n\t\t                doSomething(a?: number) : string;\n\t                }\n                }\n            \";\n\n            AssertConfiguration(s =>\n            {\n                s.Global(x=>x.DontWriteWarningComment());\n                s.ExportAsInterface<MyFunctionTestClassWithParamInitializer>()\n                .WithPublicMethods(x=>x.CamelCase())\n                .WithPublicProperties();\n            }, result);\n        }\n\n        [Fact]\n        public void FunctionWithParamInitializerAsClass()\n        {\n            const string result = @\"\n                module Reinforced.Typings.Tests.SpecificCases {\n\t                export class MyFunctionTestClassWithParamInitializer\n\t                {\n\t\t                public MyProperty: string;\n\t\t                public MyNumber: number;\n\t\t                public doSomething(a: number = 4) : string\n\t\t                {\n\t\t\t                return null;\n\t\t                }\n\t                }\n                }\n                \";\n            AssertConfiguration(s =>\n            {\n                s.Global(x=>x.DontWriteWarningComment());\n                s.ExportAsClass<MyFunctionTestClassWithParamInitializer>()\n                    .WithPublicMethods(x=>x.CamelCase())\n                    .WithPublicProperties();\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.FunctionalNames.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void FunctionalNames()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport interface ITestInterface\n\t{\n\t\tWoohooInt: number;\n\t\tWoohooString: string;\n\t}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().ReorderMembers());\n                s.ExportAsInterface<ITestInterface>()\n                .WithPublicProperties(c => c.OverrideName(\"Woohoo\" + c.Member.Name));\n\n                s.ExportAsInterfaces(new List<Type>(), c => c.WithPublicProperties(x => x.OverrideName(\"_\" + x.Member.Name)));\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.GenericGuidDictionary.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing Reinforced.Typings.Ast.TypeNames;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        class A\n        {\n            public IDictionary<Guid, String> GuidDictionary { get; set; }\n        }\n\n        [Fact]\n        public void GenericGuidDictionary()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport interface IA\n\t{\n        GuidDictionary: { [key:string]: string };\n\t}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().ReorderMembers());\n                s.Substitute(typeof(Guid), new RtSimpleTypeName(\"string\"));\n                s.ExportAsInterface<A>().WithPublicProperties();\n\n            }, result, exp =>\n            {\n                var warnings = exp.Context.Warnings.Count();\n                Assert.Equal(0, warnings);\n            });\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.GenericSubstitutions.cs",
    "content": "﻿using System.Linq;\nusing System.Threading.Tasks;\nusing Reinforced.Typings.Ast.TypeNames;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    interface INotPromise<T>\n    {\n\n    }\n    class AsyncA\n    {\n        public async Task<string> Do()\n        {\n            return string.Empty;\n        }\n    }\n\n    class B\n    {\n        public INotPromise<string> NotPromise { get; set; }\n\n        public void MethodWithPromise(INotPromise<string> p)\n        {\n\n        }\n    }\n    class C<T>\n    {\n        public INotPromise<T> NotPromise { get; set; }\n\n        public void MethodWithPromise(INotPromise<T> p)\n        {\n\n        }\n    }\n    class D<T>\n    {\n        public INotPromise<T> NotPromise { get; set; }\n\n        public void MethodWithPromise(INotPromise<T> p)\n        {\n\n        }\n    }\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void GenericSubstitutions()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport interface IAsyncA\n\t{\n\t\tDo() : angular.Promise<string>;\n\t}\n\texport interface IB\n\t{\n\t\tNotPromise: angular.Promise<string>;\n\t\tMethodWithPromise(p: angular.Promise<string>) : void;\n\t}\n\texport interface IC<T>\n\t{\n\t\tNotPromise: angular.Promise<T>;\n\t\tMethodWithPromise(p: angular.Promise<T>) : void;\n\t}\n\texport interface ID\n\t{\n\t\tNotPromise: angular.Promise<number>;\n\t\tMethodWithPromise(p: angular.Promise<number>) : void;\n\t}\n}\n\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().ReorderMembers());\n                s.SubstituteGeneric(typeof(INotPromise<>), (t, tr) => new RtSimpleTypeName(\"angular.Promise\", t.GetGenericArguments().Select(tr.ResolveTypeName).ToArray()));\n\n                s.ExportAsInterface<AsyncA>()\n                    .SubstituteGeneric(typeof(Task<>), (t, tr) => new RtSimpleTypeName(\"angular.Promise\", t.GetGenericArguments().Select(tr.ResolveTypeName).ToArray()))\n                    .WithPublicProperties()\n                    .WithPublicMethods();\n                s.ExportAsInterface<B>()\n                    .WithPublicProperties()\n                    .WithPublicMethods()\n                    ;\n                s.ExportAsInterfaces(new[] { typeof(C<>) }, x => x.WithPublicProperties().WithPublicMethods());\n                s.ExportAsInterface<D<int>>()\n                    .WithPublicProperties()\n                    .WithPublicMethods()\n                    ;\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.GenericsExport.cs",
    "content": "﻿using Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void GenericsExport()\n        {\n            const string result = @\"\nexport interface ISimpleGenericsInterface<T>\n{\n\tProperty: T;\n\tMethod(param: T) : T;\n}\nexport interface IParametrizedGenericsInterface<T, T2>\n{\n\tBag: { [key:T]: T2 };\n\tBag2: { [key:T2]: T }[];\n\tBag3: { [key:T]: T }[][];\n\tBag4: { [key:T]: { [key:T2]: T[][] } };\n}\nexport interface IAttributeParametrization extends ISimpleGenericsInterface<any>\n{\n}\nexport interface IChildParametrized<T> extends IParametrizedGenericsInterface<T, number>\n{\n}\nexport interface ITriforce<T1, T2, T3>\n{\n}\nexport interface ITrimplementor1<TMaster> extends ITriforce<TMaster, TMaster[], { [key:number]: TMaster[] }>\n{\n}\nexport interface ITrimplementor2<TMaster, TChild> extends ITriforce<TMaster, TMaster[], { [key:number]: TMaster[] }>\n{\n\tProperty: TChild;\n}\nexport interface ITrimplementor3<TMaster, TChild> extends ITriforce<TMaster, TMaster[], { [key:number]: TChild[] }>\n{\n\tProperty: [TMaster,TChild];\n}\nexport interface IParametrized\n{\n\tBag: { [key:number]: string };\n\tBag2: { [key:string]: number }[];\n\tBag3: { [key:number]: number }[][];\n\tBag4: { [key:number]: { [key:string]: number[][] } };\n}\";\n\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().UseModules().ReorderMembers());\n                s.ExportAsInterfaces(new[]\n                {\n                    typeof(ISimpleGenericsInterface<>),\n                    typeof(IParametrizedGenericsInterface<,>),\n                    typeof(IAttributeParametrization<>),\n                    typeof(IChildParametrized<>),\n                    typeof(ITriforce<,,>),\n                    typeof(ITrimplementor1<>),\n                    typeof(ITrimplementor2<,>),\n                    typeof(ITrimplementor3<,>),\n                }, x => x.WithPublicProperties().WithPublicMethods());\n\n                s.ExportAsInterfaces(new[] {typeof(IParametrizedGenericsInterface<int, string>)},\n                    x => x.WithPublicProperties().WithPublicMethods().OverrideName(\"Parametrized\"));\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.GenericsExport2.cs",
    "content": "﻿using Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    class GenericModel<TModel>\n    {\n        \n    }\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void GenericsExport2()\n        {\n            const string result = @\"\nexport class GenericModel<TModel>\n{\n}\n\";\n\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().UseModules());\n                s.ExportAsClasses(new[]\n                {\n                    typeof(GenericModel<>)\n                }, x => x.DontIncludeToNamespace<ClassExportBuilder>().WithPublicProperties().WithPublicMethods());\n                \n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.GenericsExport3.cs",
    "content": "﻿using Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    class ExplicitGeneric<T>\n    {\n        \n    }\n\n    class SomeOther\n    {\n        public ExplicitGeneric<object> Prop { get; }\n\n        public ExplicitGeneric<string> Prop2 { get; }\n    }\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void GenericsExport3()\n        {\n            /*\n             * Here we export type with materialized generics explicitly. So ExplicitGeneric<object> becomes known type, but\n             * generic definition ExpicitGeneric<T> was exported differently so there are 2 different types\n             */\n\n            const string result = @\"\nexport interface IExplicitGeneric\n{\n}\nexport interface ISomeOther\n{\n\tProp: IExplicitGeneric;\n\tProp2: ICompletelyDifferentType<string>;\n}\nexport interface ICompletelyDifferentType<T>\n{\n}\n\";\n\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().UseModules());\n                s.ExportAsInterfaces(new[]\n                {\n                    typeof(ExplicitGeneric<object>),\n                    typeof(SomeOther),\n                }, x => x.WithPublicProperties().WithPublicMethods());\n                s.ExportAsInterfaces(new [] {typeof(ExplicitGeneric<>)},d=>d.WithPublicProperties().OverrideName(\"CompletelyDifferentType\"));\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.HierarchyFlattening.cs",
    "content": "﻿using System.Reflection;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public interface ITestFlatteningBase\n    {\n        string SomeProperty { get; }\n        void DoSomething();\n    }\n\n    public interface ITestFlatteningChild : ITestFlatteningBase\n    {\n\n    }\n\n    public abstract class TestFlatteningBase\n    {\n        public string SomeProperty { get; set; }\n\n        public abstract void DoSomething();\n    }\n\n    public class TestFlatteningChild : TestFlatteningBase\n    {\n        public override void DoSomething()\n        {\n            \n        }\n    }\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void HierarchyFlattening()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport interface IA\n\t{\n\t\tSomeProperty: string;\n\t\tDoSomething() : void;\n\t}\n\texport interface IB\n\t{\n\t\tSomeProperty: string;\n\t\tDoSomething() : void;\n\t}\n}\";\n            \n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().ReorderMembers());\n                s.ExportAsInterface<ITestFlatteningChild>().FlattenHierarchy()\n                    .WithPublicProperties()\n                    .WithPublicMethods()\n                    .OverrideName(\"A\");\n\n                s.ExportAsInterface<TestFlatteningChild>().FlattenHierarchy()\n                    .WithPublicProperties()\n                    .WithPublicMethods()\n                    .OverrideName(\"B\");\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.HierarchyFlattening2.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Reflection;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public class FlattenBase<T1, T2, T3>\n    {\n        public T1 Name { get; set; }\n\n        public T2 Value { get; set; }\n\n        public List<T3> Set { get; set; }\n    }\n\n\n    public interface IViewModel\n    {\n        string Name { get; }\n    }\n\n    public class FlattenChild1 : FlattenBase<int, string, IViewModel>\n    {\n        \n    }\n\n    public class FlattenChild2 : FlattenBase<int, string, FlattenChild2>\n    {\n\n    }\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void HierarchyFlattening2()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport interface IViewModel\n\t{\n\t\tName: string;\n\t}\n\texport interface IFlattenChild1\n\t{\n\t\tName: number;\n\t\tSet: Reinforced.Typings.Tests.SpecificCases.IViewModel[];\n\t\tValue: string;\n\t}\n\texport interface IFlattenChild2\n\t{\n\t\tName: number;\n\t\tSet: Reinforced.Typings.Tests.SpecificCases.IFlattenChild2[];\n\t\tValue: string;\n\t}\n}\";\n            \n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().ReorderMembers());\n                s.ExportAsInterface<IViewModel>()\n                    .WithPublicProperties();\n\n                s.ExportAsInterface<FlattenChild1>()\n                    .FlattenHierarchy()\n                    .WithPublicProperties();\n\n                s.ExportAsInterface<FlattenChild2>()\n                    .FlattenHierarchy()\n                    .WithPublicProperties();\n               \n\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.HierarchyFlattening3.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Reflection;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public interface IFlattenBase<T1, T2, T3>\n    {\n        T1 Name { get; set; }\n\n        T2 Value { get; set; }\n\n        List<T3> Set { get; set; }\n    }\n\n    public interface IFlattenBase2\n    {\n        int Id { get; set; }\n    }\n\n    public interface IViewModel2\n    {\n        string Name { get; }\n    }\n\n    public interface IFlattenChild1 : IFlattenBase<int, string, IViewModel>, IFlattenBase2\n    {\n        \n    }\n\n    public interface IFlattenChild2 : IFlattenBase<int, string, IFlattenChild2>, IFlattenBase2\n    {\n\n    }\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void HierarchyFlattening3()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport interface IViewModel\n\t{\n\t\tName: string;\n\t}\n\texport interface IFlattenChild1\n\t{\n\t\tId: number;\n\t\tName: number;\n\t\tSet: Reinforced.Typings.Tests.SpecificCases.IViewModel[];\n\t\tValue: string;\n\t}\n\texport interface IFlattenChild2\n\t{\n\t\tId: number;\n\t\tName: number;\n\t\tSet: Reinforced.Typings.Tests.SpecificCases.IFlattenChild2[];\n\t\tValue: string;\n\t}\n}\";\n            \n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().ReorderMembers());\n                s.ExportAsInterface<IViewModel>()\n                    .WithPublicProperties();\n\n                s.ExportAsInterface<IFlattenChild1>()\n                    .FlattenHierarchy()\n                    .WithPublicProperties();\n\n                s.ExportAsInterface<IFlattenChild2>()\n                    .FlattenHierarchy()\n                    .WithPublicProperties();\n               \n\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.HierarchyFlattening4.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Reflection;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void HierarchyFlattening4()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport interface IFlattenChild1\n\t{\n\t\tName_For_1: number;\n\t}\n\texport interface IFlattenChild2\n\t{\n\t\tName_For_2: number;\n\t}\n}\n\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().ReorderMembers());\n\n                s.ExportAsInterface<IFlattenChild1>()\n                    .FlattenHierarchy()\n                    .WithProperty(x => x.Name, x => x.OverrideName(\"Name_For_1\"));\n\n                s.ExportAsInterface<IFlattenChild2>()\n                    .FlattenHierarchy()\n                    .WithProperty(x => x.Name, x => x.OverrideName(\"Name_For_2\"));\n\n\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.InferTypeTest.cs",
    "content": "﻿using System.Reflection;\nusing Reinforced.Typings.Ast.TypeNames;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void InferTypeTest()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport interface ITestInterface\n\t{\n\t}\n\texport interface IInferringTestInterface\n\t{\n\t\tDateTime: Observable<any>;\n\t\tGuid: Observable<string>;\n\t\tInt: Observable<number>;\n\t\tString: Observable<string>;\n\t\tTestInterface: Observable<Reinforced.Typings.Tests.SpecificCases.ITestInterface>;\n\t\tSomeMethod1(arg: Observable<number>) : Observable<number>;\n\t\tSomeMethod2(arg: Observable<number>) : Observable<number>;\n\t\tSomeMethod3(arg: Observable<Reinforced.Typings.Tests.SpecificCases.ITestInterface>) : Observable<Reinforced.Typings.Tests.SpecificCases.ITestInterface>;\n\t\tSomeMethod4(arg: Observable<number>) : Observable<number>;\n\t}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().ReorderMembers());\n                s.ExportAsInterface<ITestInterface>();\n                s.ExportAsInterface<IInferringTestInterface>()\n                    .WithPublicProperties(x => x.InferType((m, t) => new RtSimpleTypeName(\"Observable\", t.ResolveTypeName(((PropertyInfo)m).PropertyType))))\n                    .WithProperty(x => x.Guid, x => x.InferType(_ => \"Observable<string>\"))\n                    .WithProperty(x => x.Int, x => x.InferType(_ => new RtSimpleTypeName(\"Observable\", new RtSimpleTypeName(\"number\"))))\n                    .WithProperty(x => x.TestInterface, x => x.InferType((m, r) => new RtSimpleTypeName(\"Observable\", r.ResolveTypeName(typeof(ITestInterface)))))\n                    .WithProperty(x => x.DateTime, x => x.InferType((m, r) => string.Format(\"Observable<{0}>\", r.ResolveTypeName(((PropertyInfo)m).PropertyType))))\n                    .WithProperty(x => x.String, x => x.InferType(_ => \"Observable<string>\"))\n                    .WithMethod(x => x.SomeMethod1(Ts.Parameter<int>(t => t.InferType(_ => \"Observable<number>\"))), x => x.InferType(_ => \"Observable<number>\"))\n                    .WithMethod(x => x.SomeMethod2(Ts.Parameter<int>(\n                            t => t.InferType(_ => new RtSimpleTypeName(\"Observable\", new RtSimpleTypeName(\"number\"))))),\n                            x => x.InferType(_ => new RtSimpleTypeName(\"Observable\", new RtSimpleTypeName(\"number\"))))\n                    .WithMethod(x => x.SomeMethod3(Ts.Parameter<int>(t => t.InferType((m, r) => new RtSimpleTypeName(\"Observable\", r.ResolveTypeName(typeof(ITestInterface)))))),\n                            x => x.InferType((m, r) => new RtSimpleTypeName(\"Observable\", r.ResolveTypeName(typeof(ITestInterface)))))\n                    .WithMethod(x => x.SomeMethod4(Ts.Parameter<int>(t => t.InferType((m, r) => string.Format(\"Observable<{0}>\", r.ResolveTypeName(m.ParameterType))))),\n                        x => x.InferType((m, r) => string.Format(\"Observable<{0}>\", r.ResolveTypeName(m.ReturnType))))\n                    ;\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.InheritDoc.cs",
    "content": "using Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    /// <summary>\n    /// Some documentation for interface.\n    /// </summary>\n    public interface ISomeInterfaceWithDocs\n    {\n        /// <summary>\n        /// Some documentation for interface property.\n        /// </summary>\n        string InterfaceProp { get; set; }\n\n        /// <summary>\n        /// Some documentation for interface method.\n        /// </summary>\n        void InterfaceMethod();\n    }\n\n    /// <inheritdoc/>\n    public interface ISomeInterfaceWithInheritDoc : ISomeInterfaceWithDocs\n    {\n        // TODO: Test with inheritdoc + cref, makes no sense without cref\n    }\n\n    /// <inheritdoc/>\n    public class SomeClassWithInterfaceInheritDoc : ISomeInterfaceWithDocs\n    {\n        /// <inheritdoc/>\n        public string InterfaceProp { get; set; }\n\n        /// <inheritdoc/>\n        public void InterfaceMethod() { }\n    }\n\n    /// <summary>\n    /// Some documentation for class.\n    /// </summary>\n    public class SomeClassWithDocs\n    {\n        /// <summary>\n        /// Some documentation for constructor.\n        /// </summary>\n        public SomeClassWithDocs() { }\n\n        /// <summary>\n        /// Some documentation for property.\n        /// </summary>\n        public virtual string SomeProp { get; set; }\n\n        /// <summary>\n        /// Some documentation for method.\n        /// </summary>\n        public virtual void SomeMethod() { }\n    }\n\n    /// <inheritdoc/>\n    public class SomeClassWithInheritDoc : SomeClassWithDocs\n    {\n        /// <inheritdoc/>\n        public SomeClassWithInheritDoc() { }\n\n        /// <inheritdoc/>\n        public override string SomeProp { get; set; }\n\n        /// <inheritdoc/>\n        public override void SomeMethod() { }\n    }\n\n    /// <inheritdoc cref=\"SomeClassWithDocs\"/>\n    public class SomeClassWithInheritDocCref\n    {\n        /// <inheritdoc cref=\"SomeClassWithDocs()\"/>\n        public SomeClassWithInheritDocCref() { }\n\n        /// <inheritdoc cref=\"SomeClassWithDocs.SomeProp\"/>\n        public virtual string AnotherProp { get; set; }\n\n        /// <inheritdoc cref=\"SomeClassWithDocs.SomeMethod\"/>\n        public virtual void AnotherMethod() { }\n    }\n\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void InheritDocInterface()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\t/**\n\t* @inheritdoc\n\t*/\n\texport interface ISomeInterfaceWithInheritDoc\n\t{\n\t}\n}\n\";\n\n            AssertConfiguration(\n              s =>\n              {\n                  s.Global(a => a.DontWriteWarningComment().GenerateDocumentation());\n                  s.TryLookupDocumentationForAssembly(typeof(SpecificTestCases).Assembly);\n\n                  s.ExportAsInterface<ISomeInterfaceWithInheritDoc>()\n             .WithPublicProperties().WithPublicMethods();\n              }, result, exp =>\n              {\n                  var doc = exp.Context.Documentation.GetDocumentationMember(typeof(ISomeInterfaceWithInheritDoc));\n                  Assert.NotNull(doc);\n              }, compareComments: true);\n        }\n\n        [Fact]\n        public void InheritDocInterfaceToClass()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\t/**\n\t* @inheritdoc\n\t*/\n\texport class SomeClassWithInterfaceInheritDoc\n\t{ \n\t\t/**\n\t\t* @inheritdoc\n\t\t*/\n\t\tpublic InterfaceProp: string;\n\t\t/**\n\t\t* @inheritdoc\n\t\t*/\n\t\tpublic InterfaceMethod() : void { } \n\t}\n}\n\";\n\n            AssertConfiguration(\n              s =>\n              {\n                  s.Global(a => a.DontWriteWarningComment().GenerateDocumentation());\n                  s.TryLookupDocumentationForAssembly(typeof(SpecificTestCases).Assembly);\n\n                  s.ExportAsClass<SomeClassWithInterfaceInheritDoc>()\n             .WithPublicProperties()\n             .WithPublicMethods();\n              }, result, exp =>\n              {\n                  var doc = exp.Context.Documentation.GetDocumentationMember(typeof(SomeClassWithInterfaceInheritDoc));\n                  Assert.NotNull(doc);\n              }, compareComments: true);\n        }\n\n        [Fact]\n        public void InheritDocClass()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\t/**\n\t* @inheritdoc\n\t*/\n\texport class SomeClassWithInheritDoc\n\t{\n\t\t/**\n\t\t* @inheritdoc\n\t\t*/\n\t\tconstructor () { } \n\t\t/**\n\t\t* @inheritdoc\n\t\t*/\n\t\tpublic SomeProp: string;\n\t\t/**\n\t\t* @inheritdoc\n\t\t*/\n\t\tpublic SomeMethod() : void { } \n\t}\n}\n\";\n\n            AssertConfiguration(\n              s =>\n              {\n                  s.Global(a => a.DontWriteWarningComment().GenerateDocumentation());\n                  s.TryLookupDocumentationForAssembly(typeof(SpecificTestCases).Assembly);\n\n                  s.ExportAsClass<SomeClassWithInheritDoc>()\n             .WithConstructor()\n             .WithPublicProperties()\n             .WithPublicMethods();\n              }, result, exp =>\n              {\n                  var doc = exp.Context.Documentation.GetDocumentationMember(typeof(SomeClassWithInheritDoc));\n                  Assert.NotNull(doc);\n              }, compareComments: true);\n        }\n\n        \n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.InlineFunctionImplementation.cs",
    "content": "using System;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void InlineFunctionImplementation()\n        {\n            string implementation1 = Guid.NewGuid().ToString() + \";\";\n            string implementation2 = Guid.NewGuid().ToString() + \";\";\n\n            string result = $@\"\nmodule Reinforced.Typings.Tests.SpecificCases {{\n\texport class ClassWithManyMethods\n\t{{\n        public DoSomethingElse() : void\n\t\t{{\n\t\t\t{implementation1}\n\t\t}}\n        public DoSomethingElseWithResult() : string\n\t\t{{\n\t\t\t{implementation2}\n\t\t}}\n\t\tpublic DoSomethinig() : void\n\t\t{{\n\t\t\t{implementation1}\n\t\t}}\n\t}}\n}}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().ReorderMembers());\n                s.ExportAsClass<ClassWithManyMethods>()\n                    .WithPublicMethods(c => c.Implement(implementation1))\n                    .WithMethod(c => c.DoSomethingElseWithResult(), c => c.Implement(implementation2))\n                    ;\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.InvalidFlattenOrder.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Reflection;\nusing Reinforced.Typings.Exceptions;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public class Flat1 { }\n    public class Flat2 { }\n    public class Flat3 { }\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void InvalidFlattenOrder()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport interface IFlat1\n\t{\n\t}\n\texport interface IFlat2\n\t{\n\t}\n\texport interface IFlat3\n\t{\n\t}\n}\n\";\n\n\n            Assert.Throws<RtException>(() =>\n            {\n                AssertConfiguration(s =>\n                {\n                    s.Global(a => a.DontWriteWarningComment());\n                    s.ExportAsInterface<Flat1>()\n                        .WithPublicProperties()\n                        .FlattenHierarchy();\n                }, result);\n            });\n\n            Assert.Throws<RtException>(() =>\n            {\n                AssertConfiguration(s =>\n                {\n                    s.Global(a => a.DontWriteWarningComment());\n                    s.ExportAsInterface<Flat2>()\n                        .WithPublicMethods()\n                        .FlattenHierarchy();\n                }, result);\n            });\n\n            Assert.Throws<RtException>(() =>\n            {\n                AssertConfiguration(s =>\n                {\n                    s.Global(a => a.DontWriteWarningComment());\n                    s.ExportAsInterface<Flat3>()\n                        .WithPublicFields()\n                        .FlattenHierarchy();\n                }, result);\n            });\n\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().ReorderMembers());\n                s.ExportAsInterfaces(new[] {typeof(Flat1), typeof(Flat2), typeof(Flat3)}, x => x.FlattenHierarchy().WithPublicProperties());\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.JonsaCustomIndentationTest.cs",
    "content": "﻿using Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void JonsaCustomIndentationTest()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n#export interface ITestInterface\n#{\n##Int: number;\n##String: string;\n#}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().TabSymbol(\"#\").ReorderMembers());\n                s.ExportAsInterface<ITestInterface>().WithPublicProperties();\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.JonsaEnumWithouNamespaceTest.cs",
    "content": "﻿using Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void JonsaEnumWithouNamespaceTest()\n        {\n            const string result = @\"\ninterface IJonsaModel\n{\n\tEnum: JonsaEnum;\n}\nenum JonsaEnum { \n\tFoo = 0, \n\tBar = 1\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment());\n                s.ExportAsInterface<JonsaModel>().WithPublicProperties().DontIncludeToNamespace();\n                s.ExportAsEnum<JonsaEnum>().DontIncludeToNamespace();\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.KpKozakIssueWithInheritance.cs",
    "content": "﻿using System.Collections.Generic;\nusing System.IO;\nusing Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        //[TsInterface]\n        public class ComponentProps<T>\n        {\n            public T Model { get; set; }\n        }\n\n        //[TsInterface]\n        public class AnotherComponentProps : ComponentProps<TestComponentViewModel>\n        {\n            \n        }\n\n        //[TsInterface]\n        public class TestComponentProps : ComponentProps<TestComponentViewModel>\n        {\n            public int Number { get; set; }\n        }\n\n        //[TsInterface]\n        public class TestComponentViewModel\n        {\n            \n        }\n        [Fact]\n        public void KpKozakIssueWithInheritance()\n        {\n            Dictionary<string,string> results = new Dictionary<string, string>()\n            {\n                {\n\"targetDir\" + Path.DirectorySeparatorChar + \"TestComponentViewModel.ts\",\n@\"export interface TestComponentViewModel\n{\n}\"\n                },\n                {\n\"targetDir\" + Path.DirectorySeparatorChar + \"ComponentProps_1.ts\",\n@\"export interface ComponentProps<T>\n{\n\tmodel: T;\n}\"\n                },\n                {\n\"targetDir\" + Path.DirectorySeparatorChar + \"AnotherComponentProps.ts\",\n@\"import { TestComponentViewModel } from './TestComponentViewModel';\nimport { ComponentProps } from './ComponentProps_1';\n\nexport interface AnotherComponentProps extends ComponentProps<TestComponentViewModel>\n{\n}\"\n                },\n                {\n\"targetDir\" + Path.DirectorySeparatorChar + \"TestComponentProps.ts\",\n@\"import { TestComponentViewModel } from './TestComponentViewModel';\nimport { ComponentProps } from './ComponentProps_1';\n\nexport interface TestComponentProps extends ComponentProps<TestComponentViewModel>\n{\n\tnumber: number;\n}\"\n                }\n\n            };\n\n            var exportedTypes = new[]\n            {\n                typeof(TestComponentViewModel), typeof(ComponentProps<>), typeof(AnotherComponentProps),\n                typeof(TestComponentProps)\n            };\n\n            var componentViewModelType = typeof(TestComponentViewModel);\n\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().CamelCaseForProperties().UseModules().RootNamespace(\"TestProject\"));\n\n                foreach (var exportedType in exportedTypes)\n                {\n                    s.ExportAsInterfaces(new[] { exportedType }, b =>\n                    {\n                        b.AutoI(false);\n                        b.WithAllMethods(m => m.Ignore())\n                            .WithAllProperties();\n\n                        var fileName = exportedType.IsGenericType ?\n                            exportedType.Name.Substring(0, exportedType.Name.IndexOf('`')) :\n                            componentViewModelType.Name;\n\n                        b.ExportTo(exportedType.Name.Replace(\"`\",\"_\") + \".ts\");\n                    });\n                }\n            }, results);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.LineAfterAnotherWay.cs",
    "content": "﻿using System;\nusing System.IO;\nusing System.Linq;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Fluent;\nusing Reinforced.Typings.Generators;\nusing Reinforced.Typings.Visitors.TypeScript;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        class LineAfterVisitor : TypeScriptExportVisitor\n        {\n            public LineAfterVisitor(TextWriter writer, ExportContext exportContext) : base(writer, exportContext)\n            {\n            }\n\n            public override void Visit(RtEnumValue node)\n            {\n                WriteLines(@\"\n// Lick the belly!\n\");\n                base.Visit(node);\n            }\n\n            public override void VisitFile(ExportedFile file)\n            {\n                base.VisitFile(file);\n                var ns = file.Namespaces.FirstOrDefault();\n                if (ns != null)\n                {\n                    WriteLines($@\"\nexport = {ns.Name};\n\n\");\n                }\n            }\n        }\n        [Fact]\n        public void LineAfterAnotherTest()\n        {\n            const string result = @\"module Reinforced.Typings.Tests.SpecificCases {\n\texport enum TestEnum2 {\n\t\t\n\t\t// Lick the belly!\n\t\t\n\t\t/** C Value */\n\t\tC = 0,\n\t\t \n\t\t\n\t\t// Lick the belly!\n\t\t\n\t\t/** D Value */\n\t\tD = 1,\n\t\t \n\t\t\n\t\t// Lick the belly!\n\t\t\n\t\t/** E Value */\n\t\tE = 2\t\t \n\n\t}\n}\n\nexport = Reinforced.Typings.Tests.SpecificCases;\n\n\n\";\n            var str = AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().GenerateDocumentation().UseVisitor<LineAfterVisitor>());\n                s.TryLookupDocumentationForAssembly(typeof(SpecificTestCases).Assembly);\n                s.ExportAsEnum<TestEnum2>().WithCodeGenerator<LineAfterAddingGenerator>();\n            }, result);\n\n            Assert.Equal(result,str);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.LineAfterTest.cs",
    "content": "﻿using System;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Fluent;\nusing Reinforced.Typings.Generators;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        class LineAfterAddingGenerator : EnumGenerator\n        {\n            /// <summary>\n            ///     Main code generator method. This method should write corresponding TypeScript code for element (1st argument) to\n            ///     WriterWrapper (3rd argument) using TypeResolver if necessary\n            /// </summary>\n            /// <param name=\"element\">Element code to be generated to output</param>\n            /// <param name=\"result\">Resulting node</param>\n            /// <param name=\"resolver\">Type resolver</param>\n            public override RtEnum GenerateNode(Type element, RtEnum result, TypeResolver resolver)\n            {\n                var r = base.GenerateNode(element, result, resolver);\n                if (r == null) return null;\n                foreach (var val in r.Values)\n                {\n                    val.LineAfter = \" \";\n                }\n                return r;\n            }\n        }\n        [Fact]\n        public void LineAfterTest()\n        {\n            const string result = @\"module Reinforced.Typings.Tests.SpecificCases {\n\texport enum TestEnum2 {\n\t\t/** C Value */\n\t\tC = 0,\n\t\t \n\t\t/** D Value */\n\t\tD = 1,\n\t\t \n\t\t/** E Value */\n\t\tE = 2\t\t \n\n\t}\n}\n\";\n            var str = AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().GenerateDocumentation());\n                s.TryLookupDocumentationForAssembly(typeof(SpecificTestCases).Assembly);\n                s.ExportAsEnum<TestEnum2>().WithCodeGenerator<LineAfterAddingGenerator>();\n            }, result);\n\n            Assert.Equal(result,str);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.NestedClassInheritance.cs",
    "content": "﻿using Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace TestA\n{\n    public class TestParentClassA\n    {\n        public string Id { get; set; }\n        public string Name { get; set; }\n    }\n\n}\n\nnamespace TestB\n{\n    using TestA;\n    public class SomeOtherClass\n    {\n        public class SomeDerivedClass : TestParentClassA\n        {\n            public int OtherId { get; set; }\n        }\n    }\n}\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void NestedClassInheritance()\n        {\n            const string result = @\"\nmodule TestB {\n\texport interface ISomeDerivedClass extends TestB.ITestParentClassA\n\t{\n\t\tOtherId: number;\n\t}\n\texport interface ITestParentClassA\n\t{\n\t\tid: string;\n\t\ttext: string;\n\t}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().ReorderMembers());\n                s.ExportAsInterface<TestB.SomeOtherClass.SomeDerivedClass>()\n                    .WithPublicProperties();\n                s.ExportAsInterface<TestA.TestParentClassA>()\n                    .WithProperty(c => c.Id, v => v.OverrideName(\"id\"))\n                    .WithProperty(c => c.Name, v => v.OverrideName(\"text\"))\n                    .OverrideNamespace(\"TestB\");\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.NewForceNullable.cs",
    "content": "﻿using Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        #region New ForceNullable test\n\n        public interface INewForceNullableTest\n        {\n            [TsProperty(ForceNullable = true)]\n            int? NilInt { get; }\n            int NotNilInt { get; }\n            int? ForceNotNullableInt { get; }\n            int ForceNullableInt { get; }\n        }\n\n        #endregion\n\n        [Fact]\n        public void NewForceNullable()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport interface INewForceNullableTest\n\t{\n\t\tForceNotNullableInt: number;\n\t\tForceNullableInt?: number;\n\t\tNilInt?: number;\n\t\tNotNilInt: number;\n\t}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().ReorderMembers());\n                s.ExportAsInterface<INewForceNullableTest>()\n                    .WithPublicProperties()\n                    .WithProperty(c => c.ForceNotNullableInt, c => c.ForceNullable(false))\n                    .WithProperty(c => c.ForceNullableInt, c => c.ForceNullable())\n                    ;\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.NewLineTest.cs",
    "content": "﻿using System;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Fluent;\nusing Reinforced.Typings.Generators;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void NewLineTest_Default() {\n            var newLine = Environment.NewLine;\n            string result = $\"module Reinforced.Typings.Tests.SpecificCases {{{newLine}export interface ITestInterface{newLine}{{{newLine}Int: number;{newLine}String: string;{newLine}}}{newLine}}}{newLine}\";\n            AssertConfiguration(s => {\n                s.Global(a => a.DontWriteWarningComment().TabSymbol(string.Empty).ReorderMembers());\n                s.ExportAsInterface<ITestInterface>().WithPublicProperties();\n            }, result);\n        }\n\n        [Fact]\n        public void NewLineTest_Explicit() {\n            const string newLine = \"\\n\";\n            string result = $\"module Reinforced.Typings.Tests.SpecificCases {{{newLine}export interface ITestInterface{newLine}{{{newLine}Int: number;{newLine}String: string;{newLine}}}{newLine}}}{newLine}\";\n            var actual = AssertConfiguration(s => {\n                s.Global(a => a.DontWriteWarningComment().TabSymbol(string.Empty).NewLine(newLine).ReorderMembers());\n                s.ExportAsInterface<ITestInterface>().WithPublicProperties();\n            }, result);\n\n            Assert.Equal(result, actual);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.NvirthMultilineString.cs",
    "content": "﻿using Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        public class MyMultilineClass\n        {\n            public static string MyStaticProperty = @\"My\nmultiline\nstring\";\n        }\n\n     \n    [Fact]\n        public void NvirthMultilineString()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport class MyMultilineClass\n\t{\n\t\tpublic static MyStaticProperty: string = `My\nmultiline\nstring`;\n\t}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment());\n                s.ExportAsClass<MyMultilineClass>().WithPublicFields().WithPublicProperties();\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.OverrideNamespaceWithModules.cs",
    "content": "﻿using Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace TypingsExample.Long.Namespace.Structure\n{\n    class MyClass\n    {\n        public MyProperty Property { get; set; }\n    }\n\n    class MyProperty\n    {\n        public string Name { get; set; }\n    }\n}\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void OverrideNamespaceWithModules()\n        {\n            const string result = @\"\nexport namespace server {\n\texport class MyClass\n\t{\n\t\tpublic Property: server.MyProperty;\n\t}\n\texport class MyProperty\n\t{\n\t\tpublic Name: string;\n\t}\n}\";\n            var types = new[]\n            {\n                typeof(TypingsExample.Long.Namespace.Structure.MyClass),\n                typeof(TypingsExample.Long.Namespace.Structure.MyProperty)\n            };\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().UseModules(true, false));\n                s.ExportAsClasses(\n                    types,\n                    conf => conf\n                        .OverrideNamespace(\"server\")\n                        .WithAllProperties()\n                );\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.OverridenNamesNotCamelCased.cs",
    "content": "﻿using Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public class TestOverrides\n    {\n        [TsProperty(Name = \"ID\", ForceNullable = true)]\n        public virtual int _id { get { return 0; } }\n\n        [TsFunction(Name = \"DO_DOMETHING\")]\n        public void DoSomething() { }\n\n        public void AnotherMethod() { }\n\n        public string AnotherProeprty { get; set; }\n    }\n    public partial class SpecificTestCases\n    {\n\n\n        [Fact]\n        public void OverridenNamesNotCamelCased()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport interface ITestOverrides\n\t{\n\t\tAnother_Property: string;\n\t\tID?: number;\n\t\tAnother_Method() : void;\n\t\tDO_DOMETHING() : void;\n\t}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().CamelCaseForMethods().CamelCaseForProperties().ReorderMembers());\n                s.ExportAsInterface<TestOverrides>()\n                .WithPublicProperties()\n                .WithPublicMethods()\n                .WithMethod(x => x.AnotherMethod(), x => x.OverrideName(\"Another_Method\"))\n                .WithProperty(x => x.AnotherProeprty, x => x.OverrideName(\"Another_Property\"))\n                ;\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.PandaWoodCamelCase.cs",
    "content": "﻿using Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void PandaWoodCamelCase()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport interface IPandaWoodCamelCaseTest\n\t{\n\t\tid: number;\n\t\teta() : void;\n\t\tisoDate(date: any) : void;\n\t\tperformRequest() : void;\n\t}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().CamelCaseForMethods().CamelCaseForProperties().ReorderMembers());\n                s.ExportAsInterface<PandaWoodCamelCaseTest>().WithPublicProperties().WithPublicMethods();\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.PandaWoodForceNullableTest.cs",
    "content": "﻿using Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        #region ForceNullable property\n\n        public class PandaWoodForceNullableCase\n        {\n            [TsProperty(ForceNullable = true)]\n            public string PandaWoodProperty { get; set; }\n        }\n\n        #endregion\n\n        [Fact]\n        public void PandaWoodForceNullableTest()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport class PandaWoodForceNullableCase\n\t{\n\t\tpublic PandaWoodProperty?: string;\t\t\n\t}\t  \n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment());\n                s.ExportAsClass<PandaWoodForceNullableCase>();\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.Records.cs",
    "content": "﻿using System.Threading.Tasks;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public record Person(string FirstName, string LastName);\n\n\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void Records()\n        {\n            const string result = @\"\n        module Reinforced.Typings.Tests.SpecificCases {\n        \texport interface IPerson\n        \t{\n        \t\tFirstName: string;\n        \t\tLastName: string;\n        \t}\n        }\";\n\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment());\n                s.ExportAsInterface<Person>().WithPublicProperties();\n            }, result);\n\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.ReferencesPart1.cs",
    "content": "﻿using System.Collections.Generic;\nusing System.IO;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void ReferencesPart1()\n        {\n            /**\n             * As we do not export any fields/methods/properties here - \n             * imports must stay clean except explicitly specified references\n             * \n             * File1:\n             * Reference to File3 appears as it is explicitly specified: .AddReference(typeof(SomeFluentReferencedType))\n             * Reference to jquery appears as it is explicitly specified via attribute\n             * Imports does not appear as we are not using modules\n             * Reference to File2 does not appear since we are not exporting any indirectly referenced members\n             * Refernce to SomeFluentlyReferencedNotExported does not appear as it is not exported entirely\n             */\n\n            const string file1 = @\"\n///<reference path=\"\"../../jquery.d.ts\"\"/>\n///<reference path=\"\"../Fluently/File3.ts\"\"/>\n\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport class SomeReferencingType\n\t{\t\t\n\t}\n}\";\n            const string file2 = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport class SomeIndirectlyReferencedClass\n\t{\n\t}\n}\";\n            const string file3 = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport class SomeFluentReferencedType\n\t{\n\t}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment());\n                s.ExportAsClass<SomeReferencingType>()\n                    .AddReference(typeof(SomeFluentReferencedType))\n                    .AddReference(typeof(SomeFluentlyReferencedNotExported))\n                    .AddImport(\"* as React\", \"React\")\n                    .ExportTo(\"Exported/File1.ts\")\n                    .AddImport(\"sideeffects\", \"./sideeffects\", true)\n                    ;\n                s.ExportAsClass<SomeIndirectlyReferencedClass>().ExportTo(\"Indirect/File2.ts\");\n                s.ExportAsClass<SomeFluentReferencedType>().ExportTo(\"Fluently/File3.ts\");\n            }, new Dictionary<string, string>\n            {\n                { Path.Combine(TargetDir, \"Exported/File1.ts\"), file1 },\n                { Path.Combine(TargetDir, \"Indirect/File2.ts\"), file2 },\n                { Path.Combine(TargetDir, \"Fluently/File3.ts\"), file3 }\n            }, compareComments: true);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.ReferencesPart2.cs",
    "content": "﻿using System.Collections.Generic;\nusing System.IO;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void ReferencesPart2()\n        {\n            /**\n             * File1:\n             * Reference to File3 appears as it is explicitly specified: .AddReference(typeof(SomeFluentReferencedType))\n             * Reference to jquery appears as it is explicitly specified via attribute\n             * Imports does not appear as we are not using modules\n             * Reference to File2 appears as we are exporting method \"Indirect\" returning SomeIndirectlyReferencedClass\n             * Refernce to SomeFluentlyReferencedNotExported does not appear as it is not exported entirely\n             */\n\n            const string file1 = @\"\n///<reference path=\"\"../../jquery.d.ts\"\"/>\n///<reference path=\"\"../Fluently/File3.ts\"\"/>\n///<reference path=\"\"../Indirect/File2.ts\"\"/>\n\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport class SomeReferencingType\n\t{\n\t\tpublic Indirect() : Reinforced.Typings.Tests.SpecificCases.SomeIndirectlyReferencedClass\n\t\t{\n\t\t\treturn null;\n\t\t}\n\t}\n}\";\n            const string file2 = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport class SomeIndirectlyReferencedClass\n\t{\n\t}\n}\";\n            const string file3 = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport class SomeFluentReferencedType\n\t{\n\t}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment());\n                s.ExportAsClass<SomeReferencingType>()\n                    .AddReference(typeof(SomeFluentReferencedType))\n                    .AddReference(typeof(SomeFluentlyReferencedNotExported))\n                    .AddImport(\"* as React\", \"React\")\n                    .ExportTo(\"Exported/File1.ts\")\n                    .AddImport(\"sideeffects\", \"./sideeffects\", true)\n                    .WithPublicMethods() //<--- this line differs from references part 1\n                    ;\n                s.ExportAsClass<SomeIndirectlyReferencedClass>().ExportTo(\"Indirect/File2.ts\");\n                s.ExportAsClass<SomeFluentReferencedType>().ExportTo(\"Fluently/File3.ts\");\n            }, new Dictionary<string, string>\n            {\n                { Path.Combine(TargetDir, \"Exported/File1.ts\"), file1 },\n                { Path.Combine(TargetDir, \"Indirect/File2.ts\"), file2 },\n                { Path.Combine(TargetDir, \"Fluently/File3.ts\"), file3 }\n            }, compareComments: true);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.ReferencesPart3.cs",
    "content": "﻿using System.Collections.Generic;\nusing System.IO;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void ReferencesPart3()\n        {\n            /**\n             * Here code significantly changed since we have switched to modules\n             * File1:\n             * Reference to File3 appears as import since we are using modules\n             * Reference to jquery appears as it is explicitly specified via attribute\n             * Import to jQuery appears as it has been explecitly specified via attribute\n             * Import to React appears as it has been explicitly specified via fluent configuration\n             * Required-import to sideeffects appears as it was explicitly specified in fluent configuration\n             * \n             * Reference to ../Indirect/File2 appears as we are exporting method \"Indirect\" returning SomeIndirectlyReferencedClass\n             * \n             * Refernce to SomeFluentlyReferencedNotExported does not appear as it is not exported entirely\n             */\n\n            const string file1 = @\"\n///<reference path=\"\"../../bootstrap.d.ts\"\"/>\n///<reference path=\"\"../../jquery.d.ts\"\"/>\nimport * as 'react' from 'React';\nimport { SomeFluentReferencedType } from '../Fluently/File3';\nimport * as '$' from 'JQuery';\nimport sideeffects = require('./sideeffects');\nimport { SomeIndirectlyReferencedClass } from '../Indirect/File2';\n\nexport class SomeReferencingType\n{\n\tpublic Indirect() : SomeIndirectlyReferencedClass\n\t{\n\t\treturn null;\n\t}\n}\";\n            const string file2 = @\"\n///<reference path=\"\"../../bootstrap.d.ts\"\"/>\nimport * as 'react' from 'React';\n\nexport class SomeIndirectlyReferencedClass\n{\n}\";\n            const string file3 = @\"\n///<reference path=\"\"../../bootstrap.d.ts\"\"/>\nimport * as 'react' from 'React';\n\nexport class SomeFluentReferencedType\n{\n}\";\n            AssertConfiguration(s =>\n            {\n                s.AddReference(\"../../bootstrap.d.ts\");\n                s.AddImport(\"* as 'react'\", \"React\");\n                s.Global(a => a.DontWriteWarningComment()\n                        .UseModules() //<--- this line differs from references part 2\n                );\n                s.ExportAsClass<SomeReferencingType>()\n                    .AddReference(typeof(SomeFluentReferencedType))\n                    .AddReference(typeof(SomeFluentlyReferencedNotExported))\n                    .AddImport(\"* as React\", \"React\")\n                    .ExportTo(\"Exported/File1.ts\")\n                    .AddImport(\"sideeffects\", \"./sideeffects\", true)\n                    .WithPublicMethods()\n                    ;\n                s.ExportAsClass<SomeIndirectlyReferencedClass>().ExportTo(\"Indirect/File2.ts\");\n                s.ExportAsClass<SomeFluentReferencedType>().ExportTo(\"Fluently/File3.ts\");\n            }, new Dictionary<string, string>\n            {\n                { Path.Combine(TargetDir, \"Exported/File1.ts\"), file1 },\n                { Path.Combine(TargetDir, \"Indirect/File2.ts\"), file2 },\n                { Path.Combine(TargetDir, \"Fluently/File3.ts\"), file3 }\n            }, compareComments: true);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.ReferencesPart4.cs",
    "content": "using System.Collections.Generic;\nusing System.IO;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void ReferencesPart4()\n        {\n            /**\n             * We have removed reference to React and require-import\n             * Also we explicitly have added reference to Stuff.ts that exports other types \n             * \n             * File1:\n             * Reference to jquery appears as it is explicitly specified via attribute\n             * Import to jQuery appears as it has been explecitly specified via attribute\n             * Import to React appears as it has been explicitly specified via fluent configuration\n             * References to SomeIndirectlyReferencedClass and SomeFluentReferencedType does not appear since\n             * we have explicitly mentioned containing file as import.\n             * \n             * Warning! This trick works only on RT exported types. If you already have predefined .ts file - it will not work\n             * because RT does not know what types are being described there\n             * \n             * Refernce to SomeFluentlyReferencedNotExported does not appear as it is not exported entirely\n             */\n\n            const string file1 = @\"\n///<reference path=\"\"../../jquery.d.ts\"\"/>\nimport * as Stuff from '../Stuff/Stuff';\nimport * as '$' from 'JQuery';\n\nexport class SomeReferencingType\n{\n\tpublic Indirect() : Stuff.SomeIndirectlyReferencedClass\n\t{\n\t\treturn null;\n\t}\n}\";\n            const string file2 = @\"\nexport class SomeIndirectlyReferencedClass\n{\n}\nexport class SomeFluentReferencedType\n{\n}\";\n\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().UseModules());\n\n                s.ExportAsClass<SomeReferencingType>()\n                    .AddReference(typeof(SomeFluentReferencedType))\n                    .AddReference(typeof(SomeFluentlyReferencedNotExported))\n                    .AddImport(\"* as Stuff\", \"../Stuff/Stuff\")\n                    .ExportTo(\"Exported/File1.ts\")\n                    .WithPublicMethods()\n                    ;\n                s.ExportAsClass<SomeIndirectlyReferencedClass>().ExportTo(\"Stuff/Stuff.ts\");\n                s.ExportAsClass<SomeFluentReferencedType>().ExportTo(\"Stuff/Stuff.ts\");\n            }, new Dictionary<string, string>\n            {\n                { Path.Combine(TargetDir, \"Exported/File1.ts\"), file1},\n                { Path.Combine(TargetDir, \"Stuff/Stuff.ts\"), file2}\n            }, compareComments: true);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.ReferencesPart5.cs",
    "content": "using System.Collections.Generic;\nusing System.IO;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void ReferencesPart5()\n        {\n            /**\n             * How let's make some noise with discarding namespaces            \n             * \n             * Import tu Stuff appeared as specified it explicitly\n             * \n             * SomeIndirectlyReferencedClass exported within its namespace as we are using modules without\n             * discarding namespaces\n             * \n             * SomeFluentReferencedType is exported without namespace as we have explicitly specified it\n             * \n             * Also I've added nullable enum property just in case\n             */\n\n            const string file1 = @\"\n///<reference path=\"\"../../jquery.d.ts\"\"/>\nimport * as Stuff from '../Stuff/Stuff';\nimport * as '$' from 'JQuery';\n\nexport namespace Reinforced.Typings.Tests.SpecificCases {\n\texport class AnothreReferencingType\n\t{\n\t\tpublic Property: Stuff.SomeFluentReferencedType;\n\t\tpublic Enum?: Stuff.SomeIndirectEnum;\n\t\tpublic Indirect() : Stuff.Reinforced.Typings.Tests.SpecificCases.SomeIndirectlyReferencedClass\n\t\t{\n\t\t\treturn null;\n\t\t}\n\t}\n}\";\n            const string file2 = @\"\nexport namespace Reinforced.Typings.Tests.SpecificCases {\n\texport class SomeIndirectlyReferencedClass\n\t{\n\t}\n}\nexport class SomeFluentReferencedType\n{\n}\nexport enum SomeIndirectEnum { \n\tOne = 0, \n\tTwo = 1, \n\tThree = 2 \n}\";\n\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().UseModules(discardNamespaces: false));\n\n                s.ExportAsClass<AnothreReferencingType>()\n                    .AddReference(typeof(SomeFluentReferencedType))\n                    .AddReference(typeof(SomeFluentlyReferencedNotExported))\n                    .AddImport(\"* as Stuff\", \"../Stuff/Stuff\")\n                    .ExportTo(\"Exported/File1.ts\")\n                    .WithPublicMethods()\n                    .WithPublicProperties()\n                    .WithProperty(c => c.Enum, c => c.ForceNullable())\n                    ;\n                s.ExportAsClass<SomeIndirectlyReferencedClass>().ExportTo(\"Stuff/Stuff.ts\");\n                s.ExportAsClass<SomeFluentReferencedType>().DontIncludeToNamespace().ExportTo(\"Stuff/Stuff.ts\");\n                s.ExportAsEnum<SomeIndirectEnum>().DontIncludeToNamespace().ExportTo(\"Stuff/Stuff.ts\");\n            }, new Dictionary<string, string>\n            {\n                { Path.Combine(TargetDir, \"Exported/File1.ts\"), file1},\n                { Path.Combine(TargetDir, \"Stuff/Stuff.ts\"), file2}\n            }, compareComments: true);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.ReferencesPart6ByDanielWest.cs",
    "content": "using System.Collections.Generic;\nusing System.IO;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void ReferencesPart6ByDanielWest()\n        {\n            /**\n             * Specific test case with equal folder names by Daniel West\n             */\n\n            const string file1 = @\"\nexport namespace Reinforced.Typings.Tests.SpecificCases {\n\texport enum SomeEnum { \n\t\tOne = 0, \n\t\tTwo = 1\n\t}\n}\";\n            const string file2 = @\"\nimport * as Enum from '../../APIv2/Models/TimeAndAttendance/Enum';\n\nexport namespace Reinforced.Typings.Tests.SpecificCases {\n\texport class SomeViewModel\n\t{\n\t\tpublic Enum: Enum.Reinforced.Typings.Tests.SpecificCases.SomeEnum;\n\t}\n}\";\n\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().UseModules(discardNamespaces: false));\n\n                s.ExportAsEnum<SomeEnum>().ExportTo(\"Areas/APIv2/Models/TimeAndAttendance/Enum.ts\");\n                s.ExportAsClass<SomeViewModel>().WithPublicProperties().ExportTo(\"Areas/Reporting/Models/Model.ts\");\n            }, new Dictionary<string, string>\n            {\n                { Path.Combine(TargetDir, \"Areas/APIv2/Models/TimeAndAttendance/Enum.ts\"), file1 },\n                { Path.Combine(TargetDir, \"Areas/Reporting/Models/Model.ts\"), file2 }\n            }, compareComments: true);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.ReferencesProcessor.cs",
    "content": "﻿using System.Collections.Generic;\nusing System.IO;\nusing Reinforced.Typings.Ast.Dependency;\nusing Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Fluent;\nusing Reinforced.Typings.ReferencesInspection;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        /// <summary>\n        /// Example of implementation of custom reference processor\n        /// </summary>\n        private class MyRefProcessor : ReferenceProcessorBase\n        {\n            /// <summary>\n            /// Returns refiltered and reordered import directives that must appear in resulting file.\n            /// Return null to remain references list untouched\n            /// </summary>\n            /// <param name=\"imports\">Set on initially computed imports</param>\n            /// <param name=\"file\">File that is being exported currently</param>\n            /// <returns>Set of refiltered/reordered imports</returns>\n            public override IEnumerable<RtImport> FilterImports(IEnumerable<RtImport> imports, ExportedFile file)\n            {\n                // here we also can return null to quickly reset references/imports list\n                if (file.FileName.EndsWith(\"kendo.ts\")) return imports;\n\n                // modify imports only in meaningful file\n                return FilterMainFileImports(imports);\n            }\n\n            private IEnumerable<RtImport> FilterMainFileImports(IEnumerable<RtImport> imports)\n            {\n                foreach (var rtImport in imports)\n                {\n                    if (!string.IsNullOrEmpty(rtImport.From) && rtImport.From.Contains(\"./kendo\"))\n                    {\n                        // let's... simply change import path\n                        rtImport.From = \"../../vendor/kendo/kendo.core.ts\";\n                    }\n                    yield return rtImport;\n                }\n            }\n\n            /// <summary>\n            /// Returns refiltered and reordered reference directives that must appear in resulting file\n            /// Return null to remain imports list untouched\n            /// </summary>\n            /// <param name=\"references\">Set on initially computed references</param>\n            /// <param name=\"file\">File that is being exported currently</param>\n            /// <returns>Set of refiltered/reordered references</returns>\n            public override IEnumerable<RtReference> FilterReferences(IEnumerable<RtReference> references, ExportedFile file)\n            {\n                // same rules as for imports\n                // keep in mind that references are ALWAYS being written\n                // whereas imports are not being used until .UseModules set to true\n                if (file.FileName.EndsWith(\"kendo.ts\")) return references;\n                return FilterMainFileReferences(references);\n            }\n\n            private IEnumerable<RtReference> FilterMainFileReferences(IEnumerable<RtReference> references)\n            {\n                // let's... add some references at the top\n                yield return new RtReference() { Path = \"some.dummy.reference.ts\" };\n                foreach (var rtReference in references)\n                {\n                    yield return rtReference;\n                }\n            }\n        }\n\n        interface KendoDataNode { }\n\n        public class MyTreeNode : KendoDataNode\n        {\n            public int Id { get; set; }\n        }\n\n        [Fact]\n        public void ReferencesProcessor()\n        {\n            const string file1 = @\"\n///<reference path=\"\"some.dummy.reference.ts\"\"/>\nimport { kendo.data.Node } from '../../vendor/kendo/kendo.core.ts';\n\nexport interface IMyTreeNode extends kendo.data.Node\n{\n\tId: number;\n}\";\n\n            const string kendots = @\"\nexport interface kendo.data.Node\n{\n}\n\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment()\n                    .UseModules()\n                    .ReorderMembers()\n                    .WithReferencesProcessor<MyRefProcessor>());\n                s.ExportAsInterface<KendoDataNode>()\n                    .AutoI(false)\n                    .OverrideName(\"kendo.data.Node\")\n                    .ExportTo(\"kendo.ts\");\n                s.ExportAsInterface<MyTreeNode>().WithPublicProperties().ExportTo(\"file1.ts\");\n            } , new Dictionary<string, string>\n            {\n                { Path.Combine(TargetDir, \"file1.ts\"), file1 },\n                { Path.Combine(TargetDir, \"kendo.ts\"), kendots },\n            });\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.RemarksDocs.cs",
    "content": "﻿using System;\nusing System.Threading.Tasks;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        /// <summary>\n        ///   dummy\n        /// </summary>\n        /// <remarks>\n        ///   Class remark.\n        /// </remarks>\n        public class SomeClassWithRemarks\n        {\n            /// <summary>\n            ///   dummy\n            /// </summary>\n            /// <remarks>\n            ///   Ctor remark.\n            /// </remarks>\n            public SomeClassWithRemarks() { }\n\n            /// <inheritdoc cref=\"SomeClassWithDocs\"/>\n            /// <remarks>\n            ///   Property remark.\n            /// </remarks>\n            public string ClassProp { get; set; }\n\n            /// <inheritdoc cref=\"SomeClassWithDocs\"/>\n            /// <remarks>\n            ///   Method remark.\n            /// </remarks>\n            public void Method() { }\n        }\n\n        [Fact]\n        public void RemarksParsedFromDocs()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\t/** dummy */\n\texport class SomeClassWithRemarks\n\t{\n\t\t/**\n\t\t* @inheritdoc\n\t\t*/\n\t\tpublic ClassProp: string;\n\t\t/**\n\t\t* @inheritdoc\n\t\t*/\n\t\tpublic Method() : void { } \n\t}\n}\";\n            AssertConfiguration(\n                s =>\n                {\n                    s.TryLookupDocumentationForAssembly(typeof(SpecificTestCases).Assembly);\n                    s.ExportAsClass<SomeClassWithRemarks>()\n                        .WithPublicProperties()\n                        .WithPublicMethods();\n                },\n                result,\n                expAction =>\n                {\n                    // Currently the <remarks /> are just parsed into the DocumentationMember\n                    // but not used in the generated typings. Hence we use the action on\n                    // the ExportContext to perform the actual test.\n                    // To avoid surprises like empty docs <remarks /> are currently only valid\n                    // if there is a <summar /> or <inheritdoc /> tag.\n\n                    var type = typeof(SomeClassWithRemarks);\n\n                    var classDoc = expAction.Context.Documentation.GetDocumentationMember(type);\n                    Assert.NotNull(classDoc);\n                    Assert.Equal(\"Class remark.\", classDoc.Remarks.Text);\n\n                    var memberDoc = expAction.Context.Documentation.GetDocumentationMember(type.GetProperty(nameof(SomeClassWithRemarks.ClassProp)));\n                    Assert.NotNull(memberDoc);\n                    Assert.Equal(\"Property remark.\", memberDoc.Remarks.Text);\n\n                    var methodeDoc = expAction.Context.Documentation.GetDocumentationMember(type.GetMethod(nameof(SomeClassWithRemarks.Method)));\n                    Assert.NotNull(methodeDoc);\n                    Assert.Equal(\"Method remark.\", methodeDoc.Remarks.Text);\n\n                    var ctorRemark = expAction.Context.Documentation.GetDocumentationMember(type.GetConstructor(Array.Empty<Type>()));\n                    Assert.NotNull(ctorRemark);\n                    Assert.Equal(\"Ctor remark.\", ctorRemark.Remarks.Text);\n                }\n            );\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.RluitenConstEnums.cs",
    "content": "﻿using Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void RluitenConstEnums()\n        {\n            const string result = @\"\nexport const enum SomeEnum { \n\tOne = 0, \n\tTwo = 1 \n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().UseModules());\n                s.ExportAsEnum<SomeEnum>().Const();\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.ThirdParty.cs",
    "content": "﻿using System.Collections.Generic;\nusing System.IO;\nusing Reinforced.Typings.Ast.Dependency;\nusing Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Fluent;\nusing Reinforced.Typings.ReferencesInspection;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        interface IGenericKendoDataNode<T>\n        {\n            T GenericProperty1 { get; }\n        }\n\n        class GenericKendoNodeTest : IGenericKendoDataNode<string>\n        {\n            public int Property { get; set; }\n            public KendoDataNode Parent { get; set; }\n            public string GenericProperty1 { get; }\n        }\n\n        class GenericKendoNodeTest2<TN> : IGenericKendoDataNode<TN>\n        {\n            public TN GenericProperty1 { get; }\n        }\n        [Fact]\n        public void ThirdPartyTests()\n        {\n            const string file1 = @\"\nimport { kendo.data.Node } from '../vendor/kendo.core.ts';\nimport { kendo.data.GenericNode } from '../vendor/kendo.core.ts';\n\nexport interface IMyTreeNode extends kendo.data.Node\n{\n\tId: number;\n}\nexport interface IGenericKendoNodeTest extends kendo.data.Node<string>\n{\n\tGenericProperty1: string;\n\tParent: kendo.data.Node;\n\tProperty: number;\n}\nexport interface IGenericKendoNodeTest2<TN> extends kendo.data.Node<TN>\n{\n\tGenericProperty1: TN;\n}\n\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment()\n                    .UseModules()\n                    .ReorderMembers());\n                s.ExportAsThirdParty<KendoDataNode>().WithName(\"kendo.data.Node\")\n                    .Imports(new RtImport() { From = \"../vendor/kendo.core.ts\", Target = \"{ kendo.data.Node }\" });\n\n                s.ExportAsThirdParty(new[] { typeof(IGenericKendoDataNode<>) }, d => d.WithName(\"kendo.data.Node\")\n                     .Imports(new RtImport() { From = \"../vendor/kendo.core.ts\", Target = \"{ kendo.data.GenericNode }\" }));\n\n                s.ExportAsInterface<MyTreeNode>().WithPublicProperties();\n                s.ExportAsInterface<GenericKendoNodeTest>().WithPublicProperties();\n                s.ExportAsInterfaces(new[] { typeof(GenericKendoNodeTest2<>) }, d => d.WithPublicProperties());\n            }, file1);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.ThirdPartyWithBaseClass.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing Reinforced.Typings.Ast.Dependency;\nusing Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Fluent;\nusing Reinforced.Typings.ReferencesInspection;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        class ThirdPartyBaseClass\n        {\n            public string SomeProperty { get; set; }\n        }\n\n        class ExportedClass : ThirdPartyBaseClass\n        {\n            public int Property { get; set; }\n            public string GenericProperty1 { get; set; }\n        }\n\n        [Fact]\n        public void ExportAsInterfaceWithThirdPartyBaseClass()\n        {\n            const string file1 = @\"import { IThirdPartyBaseInterface } from 'third-party';\n\nexport interface IExportedClass extends IThirdPartyBaseInterface\n{\n  GenericProperty1: string;\n  Property: number;\n}\n\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment()\n                    .UseModules()\n                    .ReorderMembers());\n\n                s.ExportAsThirdParty<ThirdPartyBaseClass>()\n                    .WithName(\"IThirdPartyBaseInterface\")\n                    .Imports(new RtImport()\n                    {\n                        From = \"third-party\",\n                        Target = \"{ IThirdPartyBaseInterface }\"\n                    });\n\n                s.ExportAsInterface<ExportedClass>().WithPublicProperties();\n            }, file1);\n        }\n\n        [Fact]\n        public void ExportAsClassWithThirdPartyBaseClass()\n        {\n            const string file1 = @\"import { ThirdPartyBaseClass } from 'third-party';\n\nexport class ExportedClass extends ThirdPartyBaseClass\n{\n\tpublic GenericProperty1: string;\n\tpublic Property: number;\n}\n\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment()\n                    .UseModules()\n                    .ReorderMembers());\n\n                s.ExportAsThirdParty<ThirdPartyBaseClass>()\n                    .WithName(\"ThirdPartyBaseClass\")\n                    .Imports(new RtImport()\n                    {\n                        From = \"third-party\",\n                        Target = \"{ ThirdPartyBaseClass }\"\n                    });\n\n                s.ExportAsClass<ExportedClass>().WithPublicProperties();\n            }, file1);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.TsFunctionWorks.cs",
    "content": "﻿using System.Reflection;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Fluent;\nusing Reinforced.Typings.Generators;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void TsFunctionWorks()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport interface IMyFunctionTestClass\n\t{\n\t\tMyNumber: number;\n\t\tMyProperty: string;\n\t\tdoSomething1(a: number) : string;\n\t}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(x=>x.DontWriteWarningComment().ReorderMembers());\n                s.ExportAsInterface<MyFunctionTestClass>()\n                .WithPublicMethods(x=>x.CamelCase())\n                .WithPublicProperties();\n            }, result);\n        }\n    }\n\n    #region vmandic test with possibly not working TsProperty\n\n    public class MyFunctionTestClass\n    {\n        \n        public string MyProperty { get; set; }\n        \n        public int MyNumber { get; set; }\n\n        [TestFunction]\n        public string DoSomething(int a)\n        {\n            return string.Empty;\n        }\n    }\n\n    public class TestFunctionAttribute : TsFunctionAttribute\n    {\n        public TestFunctionAttribute()\n        {\n            CodeGeneratorType = typeof(TestFunctionGenerator);\n        }\n    }\n\n    public class TestFunctionGenerator : MethodCodeGenerator\n    {\n        /// <summary>\n        ///     Main code generator method. This method should write corresponding TypeScript code for element (1st argument) to\n        ///     WriterWrapper (3rd argument) using TypeResolver if necessary\n        /// </summary>\n        /// <param name=\"element\">Element code to be generated to output</param>\n        /// <param name=\"result\">Resulting node</param>\n        /// <param name=\"resolver\">Type resolver</param>\n        public override RtFunction GenerateNode(MethodInfo element, RtFunction result, TypeResolver resolver)\n        {\n            var b = base.GenerateNode(element, result, resolver);\n            if (b == null) return null;\n            result.Identifier.IdentifierName = result.Identifier.IdentifierName + \"1\";\n            return b;\n        }\n    }\n    #endregion\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.TsFunctionWorksWithEnum.cs",
    "content": "﻿using System.Reflection;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Fluent;\nusing Reinforced.Typings.Generators;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void TsFunctionWorksWithEnum()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport interface IMyFunctionWithEnumTestClass\n\t{\n\t\tMyEnum: TestEnum;\n\t\tMyNumber: number;\n\t\tMyProperty: string;\n\t\tdoSomething1(a: number) : string;\n\t\tdoSomethingForEnum1(a: TestEnum) : TestEnum;\n\t\tdoSomethingForEnumWithDefault1(a?: TestEnum) : TestEnum;\n\t}\n}\nenum TestEnum {\n\tOne = 0\n}\n\";\n            AssertConfiguration(s =>\n            {\n                s.Global(x => x.DontWriteWarningComment().ReorderMembers());\n                s.ExportAsInterface<MyFunctionWithEnumTestClass>()\n                  .WithPublicMethods(x => x.CamelCase())\n                  .WithPublicProperties();\n                s.ExportAsEnum<TestEnum>()\n                  .DontIncludeToNamespace();\n            }, result);\n        }\n    }\n\n    #region vmandic test with possibly not working TsProperty\n\n\n\n    public class MyFunctionWithEnumTestClass\n    {\n\n        public string MyProperty { get; set; }\n\n        public int MyNumber { get; set; }\n\n        public TestEnum MyEnum { get; set; }\n\n        [TestFunction]\n        public string DoSomething(int a)\n        {\n            return string.Empty;\n        }\n\n        [TestFunction]\n        public TestEnum DoSomethingForEnum(TestEnum a)\n        {\n            return MyEnum;\n        }\n\n        [TestFunction]\n        public TestEnum DoSomethingForEnumWithDefault(TestEnum a = TestEnum.One)\n        {\n            this.MyEnum = a;\n            return MyEnum;\n        }\n    }\n    public enum TestEnum\n    {\n        One\n    }\n\n    public class TestFunctionWithEnumAttribute : TsFunctionAttribute\n    {\n        public TestFunctionWithEnumAttribute()\n        {\n            CodeGeneratorType = typeof(TestFunctionWithEnumAttribute);\n        }\n    }\n\n    public class TestFunctionWithEnumGenerator : MethodCodeGenerator\n    {\n        /// <summary>\n        ///     Main code generator method. This method should write corresponding TypeScript code for element (1st argument) to\n        ///     WriterWrapper (3rd argument) using TypeResolver if necessary\n        /// </summary>\n        /// <param name=\"element\">Element code to be generated to output</param>\n        /// <param name=\"result\">Resulting node</param>\n        /// <param name=\"resolver\">Type resolver</param>\n        public override RtFunction GenerateNode(MethodInfo element, RtFunction result, TypeResolver resolver)\n        {\n            var b = base.GenerateNode(element, result, resolver);\n            if (b == null) return null;\n            result.Identifier.IdentifierName = result.Identifier.IdentifierName + \"1\";\n            return b;\n        }\n    }\n    #endregion\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.TsPropertyWorks.cs",
    "content": "﻿using System.Reflection;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Fluent;\nusing Reinforced.Typings.Generators;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void TsPropertyWorks()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport interface IMyPropertyTestClass\n\t{\n\t\tmyNumber: number;\n\t\tMyNumber: number;\n\t\tmyProperty: string;\n\t}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(x=>x.DontWriteWarningComment().ReorderMembers());\n                s.ExportAsInterface<MyPropertyTestClass>().WithPublicProperties();\n            }, result);\n        }\n    }\n\n    #region vmandic test with possibly not working TsProperty\n\n    public class MyPropertyTestClass\n    {\n        [TsProperty(ShouldBeCamelCased = true)]\n        public string MyProperty { get; set; }\n\n        [TestProperty]\n        public int MyNumber { get; set; }\n    }\n\n    public class TestPropertyAttribute : TsPropertyAttribute\n    {\n        public TestPropertyAttribute()\n        {\n            this.ShouldBeCamelCased = true;\n            this.CodeGeneratorType = typeof(LegacyPropertyDuplicator);\n        }\n    }\n\n    public class LegacyPropertyDuplicator : PropertyCodeGenerator\n    {\n        /// <summary>\n        ///     Main code generator method. This method should write corresponding TypeScript code for element (1st argument) to\n        ///     WriterWrapper (3rd argument) using TypeResolver if necessary\n        /// </summary>\n        /// <param name=\"element\">Element code to be generated to output</param>\n        /// <param name=\"result\">Resulting node</param>\n        /// <param name=\"resolver\">Type resolver</param>\n        public override RtField GenerateNode(MemberInfo element, RtField result, TypeResolver resolver)\n        {\n            var b = base.GenerateNode(element, result, resolver);\n            if (b == null) return null;\n\n            var pascalCaseName = b.Identifier.IdentifierName.Substring(0, 1).ToUpperInvariant()\n                                 + b.Identifier.IdentifierName.Substring(1);\n\n            var newField = new RtField()\n            {\n                AccessModifier = b.AccessModifier,\n                Identifier = new RtIdentifier(pascalCaseName),\n                InitializationExpression = b.InitializationExpression,\n                IsStatic = b.IsStatic,\n                Documentation = b.Documentation,\n                Order = b.Order,\n                Type = b.Type\n            };\n            if (Context.Location.CurrentClass != null)\n            {\n                Context.Location.CurrentClass.Members.Add(newField);\n            }\n            if (Context.Location.CurrentInterface != null)\n            {\n                Context.Location.CurrentInterface.Members.Add(newField);\n            }\n            return b;\n        }\n    }\n    #endregion\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.WeirdInheritanceCase.cs",
    "content": "﻿using Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void WeirdInheritanceCase()\n        {\n            const string result = @\"\nexport interface IBaseClass\n{\n\tProperty: string;\n\tDoSomething() : void;\n}\n/**\n* @todo Automatically implemented from IBaseClass\n*/\nexport class DerivedClass implements IBaseClass\n{\n\tpublic Property: string;\n\tpublic DoSomething() : void { } \n\tpublic GetName() : string\n\t{\n\t\treturn null;\n\t}\n}\n\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment().UseModules().ReorderMembers());\n                s.ExportAsInterface<BaseClass>().WithPublicProperties().WithPublicMethods();\n                s.ExportAsClass<DerivedClass>().WithPublicProperties().WithPublicMethods();\n            }, result, compareComments: true);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecificTestCases._CopyMe_.cs",
    "content": "﻿using System.Threading.Tasks;\nusing Reinforced.Typings.Fluent;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    \n    public partial class SpecificTestCases\n    {\n        [Fact]\n        public void InterfaceAsInterface()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport interface ITestInterface\n\t{\n\t\tString: string;\n\t\tInt: number;\n\t}\n}\";\n            AssertConfiguration(s =>\n            {\n                s.Global(a => a.DontWriteWarningComment());\n                s.ExportAsInterface<ITestInterface>().WithPublicProperties();\n            }, result);\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/SpecifiicTestCases.UnresolvedToUnknown.cs",
    "content": "﻿using Reinforced.Typings.Fluent;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n    public partial class SpecificTestCases\n    {\n        interface IUnresolvedToUnknownInterface\n        {\n            DateTime? Date { get; }\n        }\n\n        [Fact]\n        public void UnresolvedToUnknown()\n        {\n            const string result = @\"\nmodule Reinforced.Typings.Tests.SpecificCases {\n\texport interface IUnresolvedToUnknownInterface\n\t{\n\t\tDate: unknown;\n\t}\n}\";\n\n            AssertConfiguration(s =>\n            {\n                s.Global(c => c.UnresolvedToUnknown(true));\n                s.ExportAsInterface<IUnresolvedToUnknownInterface>().WithPublicProperties();\n            }, result);\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings.Tests/SpecificCases/TestCases.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Reflection;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Generators;\n//[assembly:TsGlobal(CamelCaseForProperties = true)]\nnamespace Reinforced.Typings.Tests.SpecificCases\n{\n\n    #region Basic test\n\n    \n    public interface ITestInterface\n    {\n        string String { get; }\n        int Int { get; }\n    }\n\n    public class TestClass\n    {\n        public string String { get; set; }\n        public int Int { get; set; }\n    }\n\n    public class TestClass2\n    {\n        public string String { get; set; }\n        public int Int { get; set; }\n    }\n\n    #endregion\n\n    #region Enums in namespaces\n\n    public class JonsaModel\n    {\n        public JonsaEnum Enum { get; set; }\n    }\n\n    public enum JonsaEnum\n    {\n        Foo, Bar\n    }\n\n    #endregion\n\n    \n\n    #region Camelcase\n\n    public class PandaWoodCamelCaseTest\n    {\n        public int ID { get; set; }\n\n        public void ETA()\n        {\n\n        }\n\n        public void ISODate(DateTime date)\n        {\n\n        }\n\n        public void PerformRequest()\n        {\n\n        }\n    }\n\n    #endregion\n\n    #region Daggmano AutoI bug\n    public class ExternalUserDaggmano\n    {\n        public string Name { get; set; }\n    }\n\n    public class InternalUserDaggmano\n    {\n        public string Name { get; set; }\n    }\n\n    public interface IAlreadyContainsI\n    {\n        string Name { get; }\n    }\n\n    public interface DoesntContainI\n    {\n        string Name { get; }\n    }\n    public class DoNotNeedIAtAll\n    {\n        public string Name { get; set; }\n    }\n    public interface ICannotBeRemovedHere\n    {\n        string Name { get; }\n    }\n    #endregion\n\n    \n\n    #region Type references\n\n    public class SomeIndirectlyReferencedClass { }\n\n    public class SomeOtherReferencedType { }\n\n    public class SomeFluentReferencedType { }\n\n    public class SomeFluentlyReferencedNotExported { }\n\n    [TsAddTypeImport(\"* as '$'\", \"JQuery\")]\n    [TsAddTypeReference(typeof(SomeOtherReferencedType))]\n    [TsAddTypeReference(\"../../jquery.d.ts\")]\n    public class SomeReferencingType\n    {\n        public SomeIndirectlyReferencedClass Indirect()\n        {\n            return null;\n        }\n    }\n\n    [TsAddTypeImport(\"* as '$'\", \"JQuery\")]\n    [TsAddTypeReference(typeof(SomeOtherReferencedType))]\n    [TsAddTypeReference(\"../../jquery.d.ts\")]\n    public class AnothreReferencingType\n    {\n        public SomeIndirectlyReferencedClass Indirect()\n        {\n            return null;\n        }\n\n        public SomeFluentReferencedType Property { get; set; }\n\n        public SomeIndirectEnum Enum { get; set; }\n    }\n\n\n    public enum SomeIndirectEnum\n    {\n        One, Two, Three\n    }\n    #endregion\n\n    #region Inline functions\n\n    public class ClassWithManyMethods\n    {\n        public string String { get; set; }\n        public int Int { get; set; }\n\n        public void DoSomethinig() { }\n\n        public void DoSomethingElse() { }\n\n        public string DoSomethingElseWithResult() { return null; }\n    }\n\n    #endregion\n\n    #region Generics\n\n    public interface ISimpleGenericsInterface<T>\n    {\n        T Property { get; }\n\n        T Method(T param);\n    }\n\n    public interface IParametrizedGenericsInterface<T, T2>\n    {\n        Dictionary<T, T2> Bag { get; }\n\n        IEnumerable<Dictionary<T2, T>> Bag2 { get; }\n\n        IEnumerable<List<Dictionary<T, T>>> Bag3 { get; }\n\n        Dictionary<T, Dictionary<T2, List<IEnumerable<T>>>> Bag4 { get; }\n    }\n\n    public interface IAttributeParametrization<[TsGeneric(\"any\")]T> : ISimpleGenericsInterface<T>\n    {\n\n    }\n\n    public interface IChildParametrized<T> : IParametrizedGenericsInterface<T, int>\n    {\n\n    }\n\n    public interface ITriforce<T1, T2, T3>\n    {\n\n    }\n\n    public interface ITrimplementor1<TMaster> : ITriforce<TMaster, List<TMaster>, Dictionary<int, IEnumerable<TMaster>>>\n    {\n\n    }\n\n    public interface ITrimplementor2<TMaster, TChild> : ITriforce<TMaster, List<TMaster>, Dictionary<int, IEnumerable<TMaster>>>\n    {\n        TChild Property { get; }\n    }\n\n    public interface ITrimplementor3<TMaster, TChild> : ITriforce<TMaster, List<TMaster>, Dictionary<int, IEnumerable<TChild>>>\n    {\n        Tuple<TMaster, TChild> Property { get; }\n    }\n\n    #endregion\n\n    \n\n    #region Weird inheritance\n\n    public class BaseClass\n    {\n        public string Property { get; set; }\n\n        public void DoSomething()\n        {\n\n        }\n    }\n\n    public class DerivedClass : BaseClass\n    {\n        public string GetName()\n        {\n            return null;\n        }\n    }\n\n    #endregion\n\n    \n\n    #region Inline inferring test\n    public interface IInferringTestInterface\n    {\n        string String { get; }\n        int Int { get; }\n        Guid Guid { get; }\n        DateTime DateTime { get; }\n        ITestInterface TestInterface { get; }\n\n        void VoidMethod1(int arg);\n        void VoidMethod2(int arg);\n        void VoidMethod3(int arg);\n        void VoidMethod4(int arg);\n\n        int SomeMethod1(int arg);\n        int SomeMethod2(int arg);\n        int SomeMethod3(int arg);\n        int SomeMethod4(int arg);\n    }\n    #endregion\n\n    #region Daniel West Ref. Files test\n\n    public enum SomeEnum\n    {\n        One, Two\n    }\n\n    public class SomeViewModel\n    {\n        public SomeEnum Enum { get; set; }\n    }\n\n    #endregion\n\n   \n}\n"
  },
  {
    "path": "Reinforced.Typings.Tests/SuppressedWarningsParseringTests.cs",
    "content": "﻿using Reinforced.Typings.Cli;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests\n{\n    public class SuppressedWarningsParseringTests\n    {\n        [Fact]\n        public void SuppressedWarningsParseringWorks_Case1()\n        {\n            var result = Bootstrapper.ParseSuppressedWarnings(\"1;2;3;4\");\n            Assert.Collection(result,\n                x => Assert.Equal(1, x),\n                x => Assert.Equal(2, x),\n                x => Assert.Equal(3, x),\n                x => Assert.Equal(4, x));\n        }\n        \n        [Fact]\n        public void SuppressedWarningsParseringWorks_Case2()\n        {\n            var result = Bootstrapper.ParseSuppressedWarnings(\"001;00002;0030;04\");\n            Assert.Collection(result,\n                x => Assert.Equal(1, x),\n                x => Assert.Equal(2, x),\n                x => Assert.Equal(30, x),\n                x => Assert.Equal(4, x));\n        }\n        \n        [Fact]\n        public void SuppressedWarningsParseringWorks_Case3()\n        {\n            var result = Bootstrapper.ParseSuppressedWarnings(\"RTW001;RTW00002;RTW0030;RTW4\");\n            Assert.Collection(result,\n                x => Assert.Equal(1, x),\n                x => Assert.Equal(2, x),\n                x => Assert.Equal(30, x),\n                x => Assert.Equal(4, x));\n        }\n        \n        [Fact]\n        public void SuppressedWarningsParseringWorks_Case4()\n        {\n            var result = Bootstrapper.ParseSuppressedWarnings(\"RTW0001_DocumentationNotSupplied;RTW0002_DocumentationNotFound;RTW0003_TypeUnknown;RTW4\");\n            Assert.Collection(result,\n                x => Assert.Equal(1, x),\n                x => Assert.Equal(2, x),\n                x => Assert.Equal(3, x),\n                x => Assert.Equal(4, x));\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/Tokenizing/SimpleTokenizer.cs",
    "content": "﻿using System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Text;\n\nnamespace Reinforced.Typings.Tests.Tokenizing\n{\n    sealed class SimpleTokenizer\n    {\n        private const string CommentSyntax = \"//\";\n        private const string TokenSeparators = \".,;:{[()]}=,+-/*%@!&|\";\n        private readonly TextReader _reader;\n        private readonly bool _tokenizeComments;\n        private bool _inComment;\n        private readonly StringBuilder _buffer = new StringBuilder();\n\n        public SimpleTokenizer(TextReader reader,bool tokenizeComments = false)\n        {\n            _reader = reader;\n            _tokenizeComments = tokenizeComments;\n        }\n\n        public IEnumerable<string> Tokenize()\n        {\n            var line = _reader.ReadLine();\n            while (line != null)\n            {\n                foreach (var token in TokenizeLine(line))\n                {\n                    if (!_tokenizeComments && token.StartsWith(CommentSyntax)) continue;\n                    yield return token;\n                }\n                line = _reader.ReadLine();\n            }\n        }\n\n        private IEnumerable<string> TokenizeLine(string s)\n        {\n            if (s.Length == 1)\n            {\n                yield return s;\n                yield break;\n            }\n\n            bool readingToken = false;\n            for (int i = 0; i < s.Length; i++)\n            {\n                if (Ahead(s, CommentSyntax, i))\n                {\n                    if (_buffer.Length > 0) yield return _buffer.ToString();\n                    _buffer.Clear();\n                    yield return s.Substring(i);\n                    yield break;\n                }\n\n                if (!_inComment)\n                {\n                    var commentAhead = Ahead(s, \"/*\", i);\n                    _inComment = commentAhead;\n                    if (commentAhead)\n                    {\n                        if (_tokenizeComments) _buffer.Append(s[i]);\n                        continue;\n                    }\n                }\n\n                if (_inComment)\n                {\n                    var commentEndAhead = Ahead(s, \"*/\", i);\n                    if (_tokenizeComments) _buffer.Append(s[i]);\n                    if (!commentEndAhead) continue;\n                    _inComment = false;\n                    if (_tokenizeComments)\n                    {\n                        _buffer.Append(\"*/\");\n                        yield return _buffer.ToString();\n                        _buffer.Clear();\n                    }\n                    i+=2;\n                    continue;\n                }\n\n\n                if (!char.IsWhiteSpace(s[i]))\n                {\n                    readingToken = true;\n                    _buffer.Append(s[i]);\n                }\n                else\n                {\n                    if (readingToken)\n                    {\n                        yield return _buffer.ToString();\n                        _buffer.Clear();\n                        readingToken = false;\n                    }\n                }\n\n                if (IsTokenSeparator(s[i]))\n                {\n                    yield return _buffer.ToString();\n                    _buffer.Clear();\n                    readingToken = false;\n                }\n            }\n\n            if (_buffer.Length != 0)\n            {\n                var r = _buffer.ToString();\n                _buffer.Clear();\n                yield return r;\n            }\n        }\n\n        private bool Ahead(string s, string lookup,int pos)\n        {\n            if (s.Length - pos < lookup.Length) return false;\n            if (lookup.Length == 1) return s[pos] == lookup[0];\n\n            int lp = 0;\n            while (lp < lookup.Length && lp + pos < s.Length)\n            {\n                if (s[lp + pos] != lookup[lp]) return false;\n                lp++;\n            }\n            return true;\n        }\n\n        private bool IsTokenSeparator(char c)\n        {\n            return TokenSeparators.Contains(c);\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings.Tests/Tokenizing/TokenizingComparer.cs",
    "content": "﻿using System.Collections.Generic;\nusing System.IO;\n\nnamespace Reinforced.Typings.Tests.Tokenizing\n{\n    public static class TokenizingComparer\n    {\n        public static bool TokenizeCompare(this string s, string to, bool tokenizeComments = false)\n        {\n            using (var stringReader1 = new StringReader(s))\n            {\n                using (var stringReader2 = new StringReader(to))\n                {\n                    var t1 = new SimpleTokenizer(stringReader1, tokenizeComments);\n                    var t2 = new SimpleTokenizer(stringReader2, tokenizeComments);\n\n                    IEnumerator<string> en1 = null;\n                    IEnumerator<string> en2 = null;\n\n                    try\n                    {\n                        en1 = t1.Tokenize().GetEnumerator();\n                        en2 = t2.Tokenize().GetEnumerator();\n\n                        while (true)\n                        {\n                            var canNext1 = en1.MoveNext();\n                            var canNext2 = en2.MoveNext();\n\n                            if (canNext1 != canNext2)\n                            {\n                                return false;\n                            }\n\n                            if (!canNext1) break;\n\n                            var token1 = en1.Current;\n                            var token2 = en2.Current;\n\n                            if (token1 != token2) return false;\n                        }\n\n                        return true;\n                    }\n                    finally\n                    {\n                        if (en1 != null) en1.Dispose();\n                        if (en2 != null) en2.Dispose();\n                    }\n                }\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings.Tests/TokenizingComparerTests.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing Reinforced.Typings.Tests.Tokenizing;\nusing Xunit;\n\nnamespace Reinforced.Typings.Tests\n{\n    public class TokenizingComparerTests\n    {\n\n        [Fact]\n        public void BasicTest()\n        {\n            string s1 = \"interface ISometing { _field:number; }\";\n            string s2 = @\"interface    ISometing    { \n_field:number;\n}\";\n            var equal = s1.TokenizeCompare(s2);\n\n            Assert.True(equal);\n        }\n\n        [Fact]\n        public void NotEqualBasicTest()\n        {\n            string s1 = \"interface ISometing { _field:number; }\";\n            string s2 = @\"interface    \nISometing2    {     \n    _field2: string;\n}\";\n            var equal = s1.TokenizeCompare(s2);\n\n            Assert.False(equal);\n        }\n\n        [Fact]\n        public void InlineCommentTest()\n        {\n            string s1 = \"interface ISometing /* a = 1 + 1 */ { _field:number; }\";\n            string s2 = @\"interface    \nISometing    {     \n    _field: number; // hello\n}\";\n            var equal = s1.TokenizeCompare(s2);\n\n            Assert.True(equal);\n        }\n\n        [Fact]\n        public void TokenizingTest()\n        {\n            var source = new[] { \"export\", \"interface\", \"ISomething\", \"{\", \"private\", \"field:\", \"number;\", \"}\" };\n            StringBuilder sb = new StringBuilder();\n            Random r = new Random();\n            foreach (var s in source)\n            {\n                if (r.Next(10) > 5)\n                {\n                    sb.Append(\"\\t\");\n                }\n                sb.Append(s);\n                var num = r.Next(1, 10);\n                sb.Append(new string(' ', num));\n                if (r.Next() > 5) sb.Append('\\n');\n            }\n\n            string[] result = null;\n            using (var ss = new StringReader(sb.ToString()))\n            {\n                SimpleTokenizer st = new SimpleTokenizer(ss);\n                result = st.Tokenize().ToArray();\n            }\n\n            Assert.Equal(result.Length, source.Length);\n            for (int i = 0; i < source.Length; i++)\n            {\n                Assert.Equal(source[i], result[i]);\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Reinforced.Typings.Tests/TypeNameEqualityComparer.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing Reinforced.Typings.Ast.TypeNames;\n\nnamespace Reinforced.Typings.Tests\n{\n    public class TypeNameEqualityComparer : IEqualityComparer<RtTypeName>\n    {\n        public bool Equals(RtTypeName x, RtTypeName y)\n        {\n            if (x.GetType() != y.GetType()) return false;\n            if (x is RtSimpleTypeName) return CompareSimple((RtSimpleTypeName)x, (RtSimpleTypeName)y);\n            if (x is RtArrayType) return CompareArray((RtArrayType)x, (RtArrayType)y);\n            if (x is RtDelegateType) return CompareDelegate((RtDelegateType)x, (RtDelegateType)y);\n            if (x is RtDictionaryType) return CompareDictionary((RtDictionaryType)x, (RtDictionaryType)y);\n            if (x is RtTuple) return CompareTuple((RtTuple)x, (RtTuple)y);\n            throw new Exception(x.GetType().FullName + \" is not valid type for comparison\");\n        }\n\n        private bool CompareSimple(RtSimpleTypeName x, RtSimpleTypeName y)\n        {\n            if (x.TypeName != y.TypeName) return false;\n            if ((x.HasPrefix || y.HasPrefix) && x.Prefix != y.Prefix) return false;\n            if (x.GenericArguments.Length != y.GenericArguments.Length) return false;\n\n            for (int i = 0; i < x.GenericArguments.Length; i++)\n            {\n                if (!Equals(x.GenericArguments[i], y.GenericArguments[i])) return false;\n            }\n\n            return true;\n        }\n        private bool CompareArray(RtArrayType x, RtArrayType y)\n        {\n            return Equals(x.ElementType, y.ElementType);\n        }\n\n        private bool CompareTuple(RtTuple x, RtTuple y)\n        {\n            if (x.TupleTypes.Count != y.TupleTypes.Count) return false;\n\n            for (int i = 0; i < x.TupleTypes.Count; i++)\n            {\n                if (!Equals(x.TupleTypes[i], y.TupleTypes[i])) return false;\n            }\n            return true;\n        }\n\n        private bool CompareDelegate(RtDelegateType x, RtDelegateType y)\n        {\n            if (x.Arguments.Length != y.Arguments.Length) return false;\n            if (!Equals(x.Result, y.Result)) return false;\n            for (int i = 0; i < x.Arguments.Length; i++)\n            {\n                if (!Equals(x.Arguments[i], y.Arguments[i])) return false;\n            }\n            return true;\n        }\n        private bool CompareDictionary(RtDictionaryType x, RtDictionaryType y)\n        {\n            if (!Equals(x.KeyType, y.KeyType)) return false;\n            return Equals(x.ValueType, y.ValueType);\n        }\n\n        public int GetHashCode(RtTypeName obj)\n        {\n            return obj.GetHashCode();\n        }\n    }\n}"
  },
  {
    "path": "Reinforced.Typings.Tests/packages.config",
    "content": "﻿<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<packages>\n  <package id=\"xunit\" version=\"2.1.0\" targetFramework=\"net45\" />\n  <package id=\"xunit.abstractions\" version=\"2.0.0\" targetFramework=\"net45\" />\n  <package id=\"xunit.assert\" version=\"2.1.0\" targetFramework=\"net45\" />\n  <package id=\"xunit.core\" version=\"2.1.0\" targetFramework=\"net45\" />\n  <package id=\"xunit.extensibility.core\" version=\"2.1.0\" targetFramework=\"net45\" />\n  <package id=\"xunit.extensibility.execution\" version=\"2.1.0\" targetFramework=\"net45\" />\n  <package id=\"xunit.runner.console\" version=\"2.1.0\" targetFramework=\"net45\" />\n  <package id=\"xunit.runner.visualstudio\" version=\"2.1.0\" targetFramework=\"net45\" />\n</packages>"
  },
  {
    "path": "Reinforced.Typings.sln",
    "content": "﻿\r\nMicrosoft Visual Studio Solution File, Format Version 12.00\r\n# Visual Studio 14\r\nVisualStudioVersion = 14.0.25420.1\r\nMinimumVisualStudioVersion = 10.0.40219.1\r\nProject(\"{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}\") = \"Reinforced.Typings\", \"Reinforced.Typings\\Reinforced.Typings.csproj\", \"{2A5CCD5C-E660-4088-8937-9632ABBBCDBB}\"\r\nEndProject\r\nProject(\"{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}\") = \"Reinforced.Typings.Cli\", \"Reinforced.Typings.Cli\\Reinforced.Typings.Cli.csproj\", \"{006290E6-CC0D-4222-87F8-9E67469AD2C9}\"\r\nEndProject\r\nProject(\"{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}\") = \"Reinforced.Typings.Integrate\", \"Reinforced.Typings.Integrate\\Reinforced.Typings.Integrate.csproj\", \"{F4830436-B660-4FAF-8F1B-4ADD0732AF02}\"\r\nEndProject\r\nProject(\"{2150E333-8FDC-42A3-9474-1A3956D46DE8}\") = \".nuget\", \".nuget\", \"{4AFAD24C-908C-42B9-9D2C-99BB6F8243B7}\"\r\n\tProjectSection(SolutionItems) = preProject\r\n\t\t.nuget\\NuGet.Config = .nuget\\NuGet.Config\r\n\t\t.nuget\\NuGet.exe = .nuget\\NuGet.exe\r\n\t\t.nuget\\NuGet.targets = .nuget\\NuGet.targets\r\n\tEndProjectSection\r\nEndProject\r\nProject(\"{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}\") = \"Reinforced.Typings.Tests\", \"Reinforced.Typings.Tests\\Reinforced.Typings.Tests.csproj\", \"{5D126898-7E5D-4967-8732-3FC8722F532E}\"\r\nEndProject\r\nProject(\"{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}\") = \"TestFluentAssembly\", \"TestFluentAssembly\\TestFluentAssembly.csproj\", \"{E7E010D2-1CE5-4877-ABA7-36EA8EC62118}\"\r\nEndProject\r\nGlobal\r\n\tGlobalSection(SolutionConfigurationPlatforms) = preSolution\r\n\t\tDebug|Any CPU = Debug|Any CPU\r\n\t\tRelease|Any CPU = Release|Any CPU\r\n\tEndGlobalSection\r\n\tGlobalSection(ProjectConfigurationPlatforms) = postSolution\r\n\t\t{2A5CCD5C-E660-4088-8937-9632ABBBCDBB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r\n\t\t{2A5CCD5C-E660-4088-8937-9632ABBBCDBB}.Debug|Any CPU.Build.0 = Debug|Any CPU\r\n\t\t{2A5CCD5C-E660-4088-8937-9632ABBBCDBB}.Release|Any CPU.ActiveCfg = Release|Any CPU\r\n\t\t{2A5CCD5C-E660-4088-8937-9632ABBBCDBB}.Release|Any CPU.Build.0 = Release|Any CPU\r\n\t\t{006290E6-CC0D-4222-87F8-9E67469AD2C9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r\n\t\t{006290E6-CC0D-4222-87F8-9E67469AD2C9}.Debug|Any CPU.Build.0 = Debug|Any CPU\r\n\t\t{006290E6-CC0D-4222-87F8-9E67469AD2C9}.Release|Any CPU.ActiveCfg = Release|Any CPU\r\n\t\t{006290E6-CC0D-4222-87F8-9E67469AD2C9}.Release|Any CPU.Build.0 = Release|Any CPU\r\n\t\t{F4830436-B660-4FAF-8F1B-4ADD0732AF02}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r\n\t\t{F4830436-B660-4FAF-8F1B-4ADD0732AF02}.Debug|Any CPU.Build.0 = Debug|Any CPU\r\n\t\t{F4830436-B660-4FAF-8F1B-4ADD0732AF02}.Release|Any CPU.ActiveCfg = Release|Any CPU\r\n\t\t{F4830436-B660-4FAF-8F1B-4ADD0732AF02}.Release|Any CPU.Build.0 = Release|Any CPU\r\n\t\t{5D126898-7E5D-4967-8732-3FC8722F532E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r\n\t\t{5D126898-7E5D-4967-8732-3FC8722F532E}.Debug|Any CPU.Build.0 = Debug|Any CPU\r\n\t\t{5D126898-7E5D-4967-8732-3FC8722F532E}.Release|Any CPU.ActiveCfg = Release|Any CPU\r\n\t\t{5D126898-7E5D-4967-8732-3FC8722F532E}.Release|Any CPU.Build.0 = Release|Any CPU\r\n\t\t{E7E010D2-1CE5-4877-ABA7-36EA8EC62118}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r\n\t\t{E7E010D2-1CE5-4877-ABA7-36EA8EC62118}.Debug|Any CPU.Build.0 = Debug|Any CPU\r\n\t\t{E7E010D2-1CE5-4877-ABA7-36EA8EC62118}.Release|Any CPU.ActiveCfg = Release|Any CPU\r\n\t\t{E7E010D2-1CE5-4877-ABA7-36EA8EC62118}.Release|Any CPU.Build.0 = Release|Any CPU\r\n\tEndGlobalSection\r\n\tGlobalSection(SolutionProperties) = preSolution\r\n\t\tHideSolutionNode = FALSE\r\n\tEndGlobalSection\r\nEndGlobal\r\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/App_Start/BundleConfig.cs",
    "content": "﻿using System.Web.Optimization;\n\nnamespace Reinforced.Typings.Samples.Difficult.CodeGenerators\n{\n    public class BundleConfig\n    {\n\n        // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862\n        public static void RegisterBundles(BundleCollection bundles)\n        {\n            bundles.Add(new ScriptBundle(\"~/bundles/jquery\").Include(\n                        \"~/Scripts/jquery-{version}.js\"));\n\n            bundles.Add(new ScriptBundle(\"~/bundles/jqueryval\").Include(\n                        \"~/Scripts/jquery.validate*\"));\n\n            // Use the development version of Modernizr to develop with and learn from. Then, when you're\n            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.\n            bundles.Add(new ScriptBundle(\"~/bundles/modernizr\").Include(\n                        \"~/Scripts/modernizr-*\"));\n\n            bundles.Add(new ScriptBundle(\"~/bundles/bootstrap\").Include(\n                      \"~/Scripts/bootstrap.js\",\n                      \"~/Scripts/respond.js\"));\n\n            bundles.Add(new StyleBundle(\"~/Content/css\").Include(\n                      \"~/Content/bootstrap.css\",\n                      \"~/Content/site.css\"));\n        }\n    }\n}\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/App_Start/FilterConfig.cs",
    "content": "﻿using System.Web.Mvc;\n\nnamespace Reinforced.Typings.Samples.Difficult.CodeGenerators\n{\n    public class FilterConfig\n    {\n        public static void RegisterGlobalFilters(GlobalFilterCollection filters)\n        {\n            filters.Add(new HandleErrorAttribute());\n        }\n    }\n}\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/App_Start/RouteConfig.cs",
    "content": "﻿using System.Web.Mvc;\nusing System.Web.Routing;\n\nnamespace Reinforced.Typings.Samples.Difficult.CodeGenerators\n{\n    public class RouteConfig\n    {\n        public static void RegisterRoutes(RouteCollection routes)\n        {\n            routes.IgnoreRoute(\"{resource}.axd/{*pathInfo}\");\n\n            routes.MapRoute(\n                name: \"Default\",\n                url: \"{controller}/{action}/{id}\",\n                defaults: new { controller = \"Home\", action = \"Index\", id = UrlParameter.Optional }\n            );\n        }\n    }\n}\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Content/Site.css",
    "content": "﻿body {\n    padding-top: 50px;\n    padding-bottom: 20px;\n}\n\n/* Set padding to keep content from hitting the edges */\n.body-content {\n    padding-left: 15px;\n    padding-right: 15px;\n}\n\n/* Override the default bootstrap behavior where horizontal description lists \n   will truncate terms that are too long to fit in the left column \n*/\n.dl-horizontal dt {\n    white-space: normal;\n}\n\n/* Set width on the form input elements since they're 100% wide by default */\ninput,\nselect,\ntextarea {\n    max-width: 280px;\n}\n\n\n.spin {\n    -webkit-animation: 2s infinite linear;\n    animation: 2s infinite linear;\n}"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Content/prismjs/cshtml.css",
    "content": ".razor_comment{\n    color:#53c175;;\n}\n.razor_comment_begin{    \n    color: darkgreen;    \n}\n.razor_comment_end{\n    color: darkgreen;\n}\n.razor_pageclass{\n    color:#00cf8c\n}\n.razor_inline_key {\n    color:#00cf8c;\n}\n.razor_borders{\n    background-color: #e8e86f;\n    color:black;    \n}\n.razor_block {\n    background-color:#535645;\n}\n.razor_inline_method{\n    color:#7ee895;\n}\n.razor_inline{\n    background-color:#535645;\n}\n.razor_keyword{\n    background-color: #41412b;\n    color:#7895ff;\n}"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Content/prismjs/cshtml.js",
    "content": "Prism.languages.cshtml = Prism.languages.extend('markup', {\n\t'razor_comment': {\n        pattern: /@\\*[\\w\\W]*?\\*@/,\n        greedy:false,\n        inside: {\n            razor_comment_begin: /@\\*/,\n            razor_comment_end: /\\*@/\n        }\n    },\n    'razor_block': {\n      pattern: /@\\{[\\w\\W]*?\\}(?=[\\s\\S]*(@|\\<))/,\n      greedy:true,\n      inside :{      \n          'razor_borders': /@\\{/,\n          'razor_end': {\n              pattern: /\\}$/ ,\n              alias:'razor_borders'\n          }          \n      }\n    },\n    \n    'razor_keyword': /@(model|using|section|if|foreach)/,    \n    'razor_inline': {        \n        greedy:false,\n        pattern: /@[\\w]([\\w\\.]|\\([\\w\\\"\\~\\\\\\/\\s\\,\\:\\(\\$\\.\\)]*\\))+/,\n        inside: {\n            'razor_borders': /^@/,            \n        }\n    }\n});\nPrism.languages.cshtml['razor_block'].inside.rest = Prism.util.clone(Prism.languages.csharp);\nPrism.languages.cshtml['razor_inline'].inside.rest = Prism.util.clone(Prism.languages.csharp);\nPrism.languages.cshtml['razor_inline'].inside['razor_pageclass'] = /\\b(Html|Url|Ajax|this|Model|ViewBag|Styles|Scripts)\\b/;\nPrism.languages.cshtml['razor_block'].inside['razor_pageclass'] = /\\b(Html|Url|Ajax|this|Model|ViewBag|Styles|Scripts)\\b/;"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Content/prismjs/prism.css",
    "content": "/* http://prismjs.com/download.html?themes=prism-okaidia&languages=markup+css+clike+javascript+aspnet+csharp+json+typescript&plugins=file-highlight+toolbar+copy-to-clipboard */\ncode[class*=\"language-\"],pre[class*=\"language-\"]{font-size: 14px;color:#f8f8f2;background:none;text-shadow:0 1px rgba(0,0,0,.3);font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*=\"language-\"]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}:not(pre) > code[class*=\"language-\"],\npre[class*=\"language-\"] {background:#272822}:not(pre) > code[class*=\"language-\"] {padding:.1em;border-radius:.3em;white-space:normal}.token.comment,.token.prolog,.token.doctype,.token.cdata{color:#708090}.token.punctuation{color:#f8f8f2}.namespace{opacity:.7}.token.property,.token.tag,.token.constant,.token.symbol,.token.deleted{color:#f92672}.token.boolean,.token.number{color:#ae81ff}.token.selector,.token.attr-name,.token.string,.token.char,.token.builtin,.token.inserted{color:#a6e22e}.token.operator,.token.entity,.token.url,.language-css .token.string,.style .token.string,.token.variable{color:#f8f8f2}.token.atrule,.token.attr-value,.token.function{color:#e6db74}.token.keyword{color:#66d9ef}.token.regex,.token.important{color:#fd971f}.token.important,.token.bold{font-weight:bold}.token.italic{font-style:italic}.token.entity{cursor:help}\npre.code-toolbar{position:relative}pre.code-toolbar>.toolbar{position:absolute;top:.3em;right:.2em;transition:opacity .3s ease-in-out;opacity:0}pre.code-toolbar:hover>.toolbar{opacity:1}pre.code-toolbar>.toolbar .toolbar-item{display:inline-block}pre.code-toolbar>.toolbar a{cursor:pointer}pre.code-toolbar>.toolbar button{background:none;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;padding:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}pre.code-toolbar>.toolbar a,pre.code-toolbar>.toolbar button,pre.code-toolbar>.toolbar span{color:#bbb;font-size:.8em;padding:0 .5em;background:#f5f2f0;background:rgba(224,224,224,.2);box-shadow:0 2px 0 0 rgba(0,0,0,.2);border-radius:.5em}pre.code-toolbar>.toolbar a:hover,pre.code-toolbar>.toolbar a:focus,pre.code-toolbar>.toolbar button:hover,pre.code-toolbar>.toolbar button:focus,pre.code-toolbar>.toolbar span:hover,pre.code-toolbar>.toolbar span:focus{color:inherit;text-decoration:none}\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Content/prismjs/prism.js",
    "content": "/* http://prismjs.com/download.html?themes=prism-okaidia&languages=markup+css+clike+javascript+aspnet+csharp+json+typescript&plugins=file-highlight+toolbar+copy-to-clipboard */\nvar _self=\"undefined\"!=typeof window?window:\"undefined\"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(){var e=/\\blang(?:uage)?-(\\w+)\\b/i,t=0,n=_self.Prism={manual:_self.Prism&&_self.Prism.manual,util:{encode:function(e){return e instanceof a?new a(e.type,n.util.encode(e.content),e.alias):\"Array\"===n.util.type(e)?e.map(n.util.encode):e.replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/\\u00a0/g,\" \")},type:function(e){return Object.prototype.toString.call(e).match(/\\[object (\\w+)\\]/)[1]},objId:function(e){return e.__id||Object.defineProperty(e,\"__id\",{value:++t}),e.__id},clone:function(e){var t=n.util.type(e);switch(t){case\"Object\":var a={};for(var r in e)e.hasOwnProperty(r)&&(a[r]=n.util.clone(e[r]));return a;case\"Array\":return e.map&&e.map(function(e){return n.util.clone(e)})}return e}},languages:{extend:function(e,t){var a=n.util.clone(n.languages[e]);for(var r in t)a[r]=t[r];return a},insertBefore:function(e,t,a,r){r=r||n.languages;var l=r[e];if(2==arguments.length){a=arguments[1];for(var i in a)a.hasOwnProperty(i)&&(l[i]=a[i]);return l}var o={};for(var s in l)if(l.hasOwnProperty(s)){if(s==t)for(var i in a)a.hasOwnProperty(i)&&(o[i]=a[i]);o[s]=l[s]}return n.languages.DFS(n.languages,function(t,n){n===r[e]&&t!=e&&(this[t]=o)}),r[e]=o},DFS:function(e,t,a,r){r=r||{};for(var l in e)e.hasOwnProperty(l)&&(t.call(e,l,e[l],a||l),\"Object\"!==n.util.type(e[l])||r[n.util.objId(e[l])]?\"Array\"!==n.util.type(e[l])||r[n.util.objId(e[l])]||(r[n.util.objId(e[l])]=!0,n.languages.DFS(e[l],t,l,r)):(r[n.util.objId(e[l])]=!0,n.languages.DFS(e[l],t,null,r)))}},plugins:{},highlightAll:function(e,t){var a={callback:t,selector:'code[class*=\"language-\"], [class*=\"language-\"] code, code[class*=\"lang-\"], [class*=\"lang-\"] code'};n.hooks.run(\"before-highlightall\",a);for(var r,l=a.elements||document.querySelectorAll(a.selector),i=0;r=l[i++];)n.highlightElement(r,e===!0,a.callback)},highlightElement:function(t,a,r){for(var l,i,o=t;o&&!e.test(o.className);)o=o.parentNode;o&&(l=(o.className.match(e)||[,\"\"])[1].toLowerCase(),i=n.languages[l]),t.className=t.className.replace(e,\"\").replace(/\\s+/g,\" \")+\" language-\"+l,o=t.parentNode,/pre/i.test(o.nodeName)&&(o.className=o.className.replace(e,\"\").replace(/\\s+/g,\" \")+\" language-\"+l);var s=t.textContent,u={element:t,language:l,grammar:i,code:s};if(n.hooks.run(\"before-sanity-check\",u),!u.code||!u.grammar)return u.code&&(u.element.textContent=u.code),n.hooks.run(\"complete\",u),void 0;if(n.hooks.run(\"before-highlight\",u),a&&_self.Worker){var g=new Worker(n.filename);g.onmessage=function(e){u.highlightedCode=e.data,n.hooks.run(\"before-insert\",u),u.element.innerHTML=u.highlightedCode,r&&r.call(u.element),n.hooks.run(\"after-highlight\",u),n.hooks.run(\"complete\",u)},g.postMessage(JSON.stringify({language:u.language,code:u.code,immediateClose:!0}))}else u.highlightedCode=n.highlight(u.code,u.grammar,u.language),n.hooks.run(\"before-insert\",u),u.element.innerHTML=u.highlightedCode,r&&r.call(t),n.hooks.run(\"after-highlight\",u),n.hooks.run(\"complete\",u)},highlight:function(e,t,r){var l=n.tokenize(e,t);return a.stringify(n.util.encode(l),r)},tokenize:function(e,t){var a=n.Token,r=[e],l=t.rest;if(l){for(var i in l)t[i]=l[i];delete t.rest}e:for(var i in t)if(t.hasOwnProperty(i)&&t[i]){var o=t[i];o=\"Array\"===n.util.type(o)?o:[o];for(var s=0;s<o.length;++s){var u=o[s],g=u.inside,c=!!u.lookbehind,h=!!u.greedy,f=0,d=u.alias;if(h&&!u.pattern.global){var p=u.pattern.toString().match(/[imuy]*$/)[0];u.pattern=RegExp(u.pattern.source,p+\"g\")}u=u.pattern||u;for(var m=0,y=0;m<r.length;y+=r[m].length,++m){var v=r[m];if(r.length>e.length)break e;if(!(v instanceof a)){u.lastIndex=0;var b=u.exec(v),k=1;if(!b&&h&&m!=r.length-1){if(u.lastIndex=y,b=u.exec(e),!b)break;for(var w=b.index+(c?b[1].length:0),_=b.index+b[0].length,P=m,A=y,j=r.length;j>P&&_>A;++P)A+=r[P].length,w>=A&&(++m,y=A);if(r[m]instanceof a||r[P-1].greedy)continue;k=P-m,v=e.slice(y,A),b.index-=y}if(b){c&&(f=b[1].length);var w=b.index+f,b=b[0].slice(f),_=w+b.length,x=v.slice(0,w),O=v.slice(_),S=[m,k];x&&S.push(x);var N=new a(i,g?n.tokenize(b,g):b,d,b,h);S.push(N),O&&S.push(O),Array.prototype.splice.apply(r,S)}}}}}return r},hooks:{all:{},add:function(e,t){var a=n.hooks.all;a[e]=a[e]||[],a[e].push(t)},run:function(e,t){var a=n.hooks.all[e];if(a&&a.length)for(var r,l=0;r=a[l++];)r(t)}}},a=n.Token=function(e,t,n,a,r){this.type=e,this.content=t,this.alias=n,this.length=0|(a||\"\").length,this.greedy=!!r};if(a.stringify=function(e,t,r){if(\"string\"==typeof e)return e;if(\"Array\"===n.util.type(e))return e.map(function(n){return a.stringify(n,t,e)}).join(\"\");var l={type:e.type,content:a.stringify(e.content,t,r),tag:\"span\",classes:[\"token\",e.type],attributes:{},language:t,parent:r};if(\"comment\"==l.type&&(l.attributes.spellcheck=\"true\"),e.alias){var i=\"Array\"===n.util.type(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(l.classes,i)}n.hooks.run(\"wrap\",l);var o=Object.keys(l.attributes).map(function(e){return e+'=\"'+(l.attributes[e]||\"\").replace(/\"/g,\"&quot;\")+'\"'}).join(\" \");return\"<\"+l.tag+' class=\"'+l.classes.join(\" \")+'\"'+(o?\" \"+o:\"\")+\">\"+l.content+\"</\"+l.tag+\">\"},!_self.document)return _self.addEventListener?(_self.addEventListener(\"message\",function(e){var t=JSON.parse(e.data),a=t.language,r=t.code,l=t.immediateClose;_self.postMessage(n.highlight(r,n.languages[a],a)),l&&_self.close()},!1),_self.Prism):_self.Prism;var r=document.currentScript||[].slice.call(document.getElementsByTagName(\"script\")).pop();return r&&(n.filename=r.src,!document.addEventListener||n.manual||r.hasAttribute(\"data-manual\")||(\"loading\"!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(n.highlightAll):window.setTimeout(n.highlightAll,16):document.addEventListener(\"DOMContentLoaded\",n.highlightAll))),_self.Prism}();\"undefined\"!=typeof module&&module.exports&&(module.exports=Prism),\"undefined\"!=typeof global&&(global.Prism=Prism);\nPrism.languages.markup={comment:/<!--[\\w\\W]*?-->/,prolog:/<\\?[\\w\\W]+?\\?>/,doctype:/<!DOCTYPE[\\w\\W]+?>/i,cdata:/<!\\[CDATA\\[[\\w\\W]*?]]>/i,tag:{pattern:/<\\/?(?!\\d)[^\\s>\\/=$<]+(?:\\s+[^\\s>\\/=]+(?:=(?:(\"|')(?:\\\\\\1|\\\\?(?!\\1)[\\w\\W])*\\1|[^\\s'\">=]+))?)*\\s*\\/?>/i,inside:{tag:{pattern:/^<\\/?[^\\s>\\/]+/i,inside:{punctuation:/^<\\/?/,namespace:/^[^\\s>\\/:]+:/}},\"attr-value\":{pattern:/=(?:('|\")[\\w\\W]*?(\\1)|[^\\s>]+)/i,inside:{punctuation:/[=>\"']/}},punctuation:/\\/?>/,\"attr-name\":{pattern:/[^\\s>\\/]+/,inside:{namespace:/^[^\\s>\\/:]+:/}}}},entity:/&#?[\\da-z]{1,8};/i},Prism.hooks.add(\"wrap\",function(a){\"entity\"===a.type&&(a.attributes.title=a.content.replace(/&amp;/,\"&\"))}),Prism.languages.xml=Prism.languages.markup,Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup;\nPrism.languages.css={comment:/\\/\\*[\\w\\W]*?\\*\\//,atrule:{pattern:/@[\\w-]+?.*?(;|(?=\\s*\\{))/i,inside:{rule:/@[\\w-]+/}},url:/url\\((?:([\"'])(\\\\(?:\\r\\n|[\\w\\W])|(?!\\1)[^\\\\\\r\\n])*\\1|.*?)\\)/i,selector:/[^\\{\\}\\s][^\\{\\};]*?(?=\\s*\\{)/,string:{pattern:/(\"|')(\\\\(?:\\r\\n|[\\w\\W])|(?!\\1)[^\\\\\\r\\n])*\\1/,greedy:!0},property:/(\\b|\\B)[\\w-]+(?=\\s*:)/i,important:/\\B!important\\b/i,\"function\":/[-a-z0-9]+(?=\\()/i,punctuation:/[(){};:]/},Prism.languages.css.atrule.inside.rest=Prism.util.clone(Prism.languages.css),Prism.languages.markup&&(Prism.languages.insertBefore(\"markup\",\"tag\",{style:{pattern:/(<style[\\w\\W]*?>)[\\w\\W]*?(?=<\\/style>)/i,lookbehind:!0,inside:Prism.languages.css,alias:\"language-css\"}}),Prism.languages.insertBefore(\"inside\",\"attr-value\",{\"style-attr\":{pattern:/\\s*style=(\"|').*?\\1/i,inside:{\"attr-name\":{pattern:/^\\s*style/i,inside:Prism.languages.markup.tag.inside},punctuation:/^\\s*=\\s*['\"]|['\"]\\s*$/,\"attr-value\":{pattern:/.+/i,inside:Prism.languages.css}},alias:\"language-css\"}},Prism.languages.markup.tag));\nPrism.languages.clike={comment:[{pattern:/(^|[^\\\\])\\/\\*[\\w\\W]*?\\*\\//,lookbehind:!0},{pattern:/(^|[^\\\\:])\\/\\/.*/,lookbehind:!0}],string:{pattern:/([\"'])(\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,greedy:!0},\"class-name\":{pattern:/((?:\\b(?:class|interface|extends|implements|trait|instanceof|new)\\s+)|(?:catch\\s+\\())[a-z0-9_\\.\\\\]+/i,lookbehind:!0,inside:{punctuation:/(\\.|\\\\)/}},keyword:/\\b(if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\\b/,\"boolean\":/\\b(true|false)\\b/,\"function\":/[a-z0-9_]+(?=\\()/i,number:/\\b-?(?:0x[\\da-f]+|\\d*\\.?\\d+(?:e[+-]?\\d+)?)\\b/i,operator:/--?|\\+\\+?|!=?=?|<=?|>=?|==?=?|&&?|\\|\\|?|\\?|\\*|\\/|~|\\^|%/,punctuation:/[{}[\\];(),.:]/};\nPrism.languages.javascript=Prism.languages.extend(\"clike\",{keyword:/\\b(as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)\\b/,number:/\\b-?(0x[\\dA-Fa-f]+|0b[01]+|0o[0-7]+|\\d*\\.?\\d+([Ee][+-]?\\d+)?|NaN|Infinity)\\b/,\"function\":/[_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*(?=\\()/i,operator:/--?|\\+\\+?|!=?=?|<=?|>=?|==?=?|&&?|\\|\\|?|\\?|\\*\\*?|\\/|~|\\^|%|\\.{3}/}),Prism.languages.insertBefore(\"javascript\",\"keyword\",{regex:{pattern:/(^|[^\\/])\\/(?!\\/)(\\[.+?]|\\\\.|[^\\/\\\\\\r\\n])+\\/[gimyu]{0,5}(?=\\s*($|[\\r\\n,.;})]))/,lookbehind:!0,greedy:!0}}),Prism.languages.insertBefore(\"javascript\",\"string\",{\"template-string\":{pattern:/`(?:\\\\\\\\|\\\\?[^\\\\])*?`/,greedy:!0,inside:{interpolation:{pattern:/\\$\\{[^}]+\\}/,inside:{\"interpolation-punctuation\":{pattern:/^\\$\\{|\\}$/,alias:\"punctuation\"},rest:Prism.languages.javascript}},string:/[\\s\\S]+/}}}),Prism.languages.markup&&Prism.languages.insertBefore(\"markup\",\"tag\",{script:{pattern:/(<script[\\w\\W]*?>)[\\w\\W]*?(?=<\\/script>)/i,lookbehind:!0,inside:Prism.languages.javascript,alias:\"language-javascript\"}}),Prism.languages.js=Prism.languages.javascript;\nPrism.languages.aspnet=Prism.languages.extend(\"markup\",{\"page-directive tag\":{pattern:/<%\\s*@.*%>/i,inside:{\"page-directive tag\":/<%\\s*@\\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,rest:Prism.languages.markup.tag.inside}},\"directive tag\":{pattern:/<%.*%>/i,inside:{\"directive tag\":/<%\\s*?[$=%#:]{0,2}|%>/i,rest:Prism.languages.csharp}}}),Prism.languages.aspnet.tag.pattern=/<(?!%)\\/?[^\\s>\\/]+(?:\\s+[^\\s>\\/=]+(?:=(?:(\"|')(?:\\\\\\1|\\\\?(?!\\1)[\\w\\W])*\\1|[^\\s'\">=]+))?)*\\s*\\/?>/i,Prism.languages.insertBefore(\"inside\",\"punctuation\",{\"directive tag\":Prism.languages.aspnet[\"directive tag\"]},Prism.languages.aspnet.tag.inside[\"attr-value\"]),Prism.languages.insertBefore(\"aspnet\",\"comment\",{\"asp comment\":/<%--[\\w\\W]*?--%>/}),Prism.languages.insertBefore(\"aspnet\",Prism.languages.javascript?\"script\":\"tag\",{\"asp script\":{pattern:/(<script(?=.*runat=['\"]?server['\"]?)[\\w\\W]*?>)[\\w\\W]*?(?=<\\/script>)/i,lookbehind:!0,inside:Prism.languages.csharp||{}}});\nPrism.languages.csharp=Prism.languages.extend(\"clike\",{keyword:/\\b(abstract|as|async|await|base|bool|break|byte|case|catch|char|checked|class|const|continue|decimal|default|delegate|do|double|else|enum|event|explicit|extern|false|finally|fixed|float|for|foreach|goto|if|implicit|in|int|interface|internal|is|lock|long|namespace|new|null|object|operator|out|override|params|private|protected|public|readonly|ref|return|sbyte|sealed|short|sizeof|stackalloc|static|string|struct|switch|this|throw|true|try|typeof|uint|ulong|unchecked|unsafe|ushort|using|virtual|void|volatile|while|add|alias|ascending|async|await|descending|dynamic|from|get|global|group|into|join|let|orderby|partial|remove|select|set|value|var|where|yield)\\b/,string:[{pattern:/@(\"|')(\\1\\1|\\\\\\1|\\\\?(?!\\1)[\\s\\S])*\\1/,greedy:!0},{pattern:/(\"|')(\\\\?.)*?\\1/,greedy:!0}],number:/\\b-?(0x[\\da-f]+|\\d*\\.?\\d+f?)\\b/i}),Prism.languages.insertBefore(\"csharp\",\"keyword\",{\"generic-method\":{pattern:/[a-z0-9_]+\\s*<[^>\\r\\n]+?>\\s*(?=\\()/i,alias:\"function\",inside:{keyword:Prism.languages.csharp.keyword,punctuation:/[<>(),.:]/}},preprocessor:{pattern:/(^\\s*)#.*/m,lookbehind:!0,alias:\"property\",inside:{directive:{pattern:/(\\s*#)\\b(define|elif|else|endif|endregion|error|if|line|pragma|region|undef|warning)\\b/,lookbehind:!0,alias:\"keyword\"}}}});\nPrism.languages.json={property:/\"(?:\\\\.|[^\\\\\"])*\"(?=\\s*:)/gi,string:/\"(?!:)(?:\\\\.|[^\\\\\"])*\"(?!:)/g,number:/\\b-?(0x[\\dA-Fa-f]+|\\d*\\.?\\d+([Ee][+-]?\\d+)?)\\b/g,punctuation:/[{}[\\]);,]/g,operator:/:/g,\"boolean\":/\\b(true|false)\\b/gi,\"null\":/\\bnull\\b/gi},Prism.languages.jsonp=Prism.languages.json;\nPrism.languages.typescript=Prism.languages.extend(\"javascript\",{keyword:/\\b(as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield|false|true|module|declare|constructor|string|Function|any|number|boolean|Array|enum|symbol|namespace|abstract|require|type)\\b/}),Prism.languages.ts=Prism.languages.typescript;\n!function(){\"undefined\"!=typeof self&&self.Prism&&self.document&&document.querySelector&&(self.Prism.fileHighlight=function(){var e={js:\"javascript\",py:\"python\",rb:\"ruby\",ps1:\"powershell\",psm1:\"powershell\",sh:\"bash\",bat:\"batch\",h:\"c\",tex:\"latex\"};Array.prototype.forEach&&Array.prototype.slice.call(document.querySelectorAll(\"pre[data-src]\")).forEach(function(t){for(var a,s=t.getAttribute(\"data-src\"),n=t,r=/\\blang(?:uage)?-(?!\\*)(\\w+)\\b/i;n&&!r.test(n.className);)n=n.parentNode;if(n&&(a=(t.className.match(r)||[,\"\"])[1]),!a){var o=(s.match(/\\.(\\w+)$/)||[,\"\"])[1];a=e[o]||o}var l=document.createElement(\"code\");l.className=\"language-\"+a,t.textContent=\"\",l.textContent=\"Loading…\",t.appendChild(l);var i=new XMLHttpRequest;i.open(\"GET\",s,!0),i.onreadystatechange=function(){4==i.readyState&&(i.status<400&&i.responseText?(l.textContent=i.responseText,Prism.highlightElement(l)):l.textContent=i.status>=400?\"✖ Error \"+i.status+\" while fetching file: \"+i.statusText:\"✖ Error: File does not exist or is empty\")},i.send(null)})},document.addEventListener(\"DOMContentLoaded\",self.Prism.fileHighlight))}();\n!function(){if(\"undefined\"!=typeof self&&self.Prism&&self.document){var t=[],e={},n=function(){};Prism.plugins.toolbar={};var a=Prism.plugins.toolbar.registerButton=function(n,a){var o;o=\"function\"==typeof a?a:function(t){var e;return\"function\"==typeof a.onClick?(e=document.createElement(\"button\"),e.type=\"button\",e.addEventListener(\"click\",function(){a.onClick.call(this,t)})):\"string\"==typeof a.url?(e=document.createElement(\"a\"),e.href=a.url):e=document.createElement(\"span\"),e.textContent=a.text,e},t.push(e[n]=o)},o=Prism.plugins.toolbar.hook=function(a){var o=a.element.parentNode;if(o&&/pre/i.test(o.nodeName)&&!o.classList.contains(\"code-toolbar\")){o.classList.add(\"code-toolbar\");var r=document.createElement(\"div\");r.classList.add(\"toolbar\"),document.body.hasAttribute(\"data-toolbar-order\")&&(t=document.body.getAttribute(\"data-toolbar-order\").split(\",\").map(function(t){return e[t]||n})),t.forEach(function(t){var e=t(a);if(e){var n=document.createElement(\"div\");n.classList.add(\"toolbar-item\"),n.appendChild(e),r.appendChild(n)}}),o.appendChild(r)}};a(\"label\",function(t){var e=t.element.parentNode;if(e&&/pre/i.test(e.nodeName)&&e.hasAttribute(\"data-label\")){var n,a,o=e.getAttribute(\"data-label\");try{a=document.querySelector(\"template#\"+o)}catch(r){}return a?n=a.content:(e.hasAttribute(\"data-url\")?(n=document.createElement(\"a\"),n.href=e.getAttribute(\"data-url\")):n=document.createElement(\"span\"),n.textContent=o),n}}),Prism.hooks.add(\"complete\",o)}}();\n!function(){if(\"undefined\"!=typeof self&&self.Prism&&self.document){if(!Prism.plugins.toolbar)return console.warn(\"Copy to Clipboard plugin loaded before Toolbar plugin.\"),void 0;var o=window.Clipboard||void 0;o||\"function\"!=typeof require||(o=require(\"clipboard\"));var e=[];if(!o){var t=document.createElement(\"script\"),n=document.querySelector(\"head\");t.onload=function(){if(o=window.Clipboard)for(;e.length;)e.pop()()},t.src=\"https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.5.8/clipboard.min.js\",n.appendChild(t)}Prism.plugins.toolbar.registerButton(\"copy-to-clipboard\",function(t){function n(){var e=new o(i,{text:function(){return t.code}});e.on(\"success\",function(){i.textContent=\"Copied!\",r()}),e.on(\"error\",function(){i.textContent=\"Press Ctrl+C to copy\",r()})}function r(){setTimeout(function(){i.textContent=\"Copy\"},5e3)}var i=document.createElement(\"a\");return i.textContent=\"Copy\",o?n():e.push(n),i})}}();\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Controllers/AngularController.cs",
    "content": "﻿using System;\nusing System.Web.Mvc;\nusing Reinforced.Typings.Samples.Difficult.CodeGenerators.Models;\nusing Reinforced.Typings.Samples.Difficult.CodeGenerators.ReinforcedTypings.Angular;\n\nnamespace Reinforced.Typings.Samples.Difficult.CodeGenerators.Controllers\n{\n    /// <summary>\n    /// Controller containig methods to be invoked from AngularJS\n    /// </summary>\n    public class AngularController : Controller\n    {\n        /// <summary>\n        /// Simple controller action that returns integer method\n        /// </summary>\n        /// <returns>JSON-ed random integer value</returns>\n        [AngularMethod(typeof(int))]\n        public ActionResult SimpleIntMethod()\n        {\n            return Json(new Random().Next(100));\n        }\n\n        /// <summary>\n        /// Controller action that returns \n        /// </summary>\n        /// <param name=\"num\">Number value</param>\n        /// <param name=\"s\">String value</param>\n        /// <param name=\"boolValue\">Boolean value</param>\n        /// <returns>JSON-ed string containing concatenated values</returns>\n        [AngularMethod(typeof(string))]\n        public ActionResult MethodWithParameters(int num, string s, bool boolValue)\n        {\n            return Json(string.Format(\"{0}-{1}-{2}\", num, s, boolValue));\n        }\n\n        /// <summary>\n        /// Controller action that returns our simple object\n        /// </summary>\n        /// <returns>JSON-ed simple object</returns>\n        [AngularMethod(typeof(SampleResponseModel))]\n        public ActionResult ReturningObject()\n        {\n            var result = new SampleResponseModel()\n            {\n                CurrentTime = DateTime.Now.ToLongTimeString(),\n                Message = \"Hello!\",\n                Success = true\n            };\n            \n            return Json(result);\n        }\n\n        /// <summary>\n        ///  Controller action that returns our simple object and consimes parameters\n        /// </summary>\n        /// <param name=\"echo\">Sample parameter</param>\n        /// <returns>JSON-ed simple object</returns>\n        [AngularMethod(typeof(SampleResponseModel))]\n        public ActionResult ReturningObjectWithParameters(string echo)\n        {\n            var result = new SampleResponseModel()\n            {\n                CurrentTime = DateTime.Now.ToLongTimeString(),\n                Message = echo,\n                Success = true\n            };\n            return Json(result);\n        }\n\n        /// <summary>\n        /// Controller action that does not return anything but consumes object as parameter\n        /// </summary>\n        /// <param name=\"model\">Object parameter</param>\n        /// <returns>Nothing</returns>\n        [AngularMethod(typeof(void))]\n        public ActionResult VoidMethodWithParameters(SampleResponseModel model)\n        {\n            return null;\n        }\n    }\n}"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Controllers/HomeController.cs",
    "content": "﻿using System.Web.Mvc;\n\nnamespace Reinforced.Typings.Samples.Difficult.CodeGenerators.Controllers\n{\n    public class HomeController : Controller\n    {\n        public ActionResult Index()\n        {\n            return View();\n        }\n\n        public ActionResult JQuery()\n        {\n            return View();\n        }\n\n        public ActionResult Angular()\n        {\n            return View();\n        }\n    }\n}"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Controllers/JQueryController.cs",
    "content": "﻿using System;\nusing System.Web.Mvc;\nusing Reinforced.Typings.Samples.Difficult.CodeGenerators.Models;\nusing Reinforced.Typings.Samples.Difficult.CodeGenerators.ReinforcedTypings.jQuery;\n\nnamespace Reinforced.Typings.Samples.Difficult.CodeGenerators.Controllers\n{\n    /// <summary>\n    /// Our sample controller for testing queries made through jQuery\n    /// </summary>\n    public class JQueryController : Controller\n    {\n        [JQueryMethod(typeof(int))]\n        public ActionResult SimpleIntMethod()\n        {\n            return Json(new Random().Next(100));\n        }\n\n        [JQueryMethod(typeof(string))]\n        public ActionResult MethodWithParameters(int num, string s, bool boolValue)\n        {\n            return Json(string.Format(\"{0}-{1}-{2}\", num, s, boolValue));\n        }\n\n        [JQueryMethod(typeof(SampleResponseModel))]\n        public ActionResult ReturningObject()\n        {\n            var result = new SampleResponseModel()\n            {\n                CurrentTime = DateTime.Now.ToLongTimeString(),\n                Message = \"Hello!\",\n                Success = true\n            };\n            return Json(result);\n        }\n\n        [JQueryMethod(typeof(SampleResponseModel))]\n        public ActionResult ReturningObjectWithParameters(string echo)\n        {\n            var result = new SampleResponseModel()\n            {\n                CurrentTime = DateTime.Now.ToLongTimeString(),\n                Message = echo,\n                Success = true\n            };\n            return Json(result);\n        }\n\n        [JQueryMethod(typeof(void))]\n        public ActionResult VoidMethodWithParameters(SampleResponseModel model)\n        {\n            return Json(true);\n        }\n    }\n}"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Global.asax",
    "content": "﻿<%@ Application Codebehind=\"Global.asax.cs\" Inherits=\"Reinforced.Typings.Samples.Difficult.CodeGenerators.MvcApplication\" Language=\"C#\" %>\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Global.asax.cs",
    "content": "﻿using System.Web.Mvc;\nusing System.Web.Optimization;\nusing System.Web.Routing;\n\nnamespace Reinforced.Typings.Samples.Difficult.CodeGenerators\n{\n    public class MvcApplication : System.Web.HttpApplication\n    {\n        protected void Application_Start()\n        {\n            AreaRegistration.RegisterAllAreas();\n            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);\n            RouteConfig.RegisterRoutes(RouteTable.Routes);\n            BundleConfig.RegisterBundles(BundleTable.Bundles);\n        }\n    }\n}\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Models/SampleResponseModel.cs",
    "content": "﻿namespace Reinforced.Typings.Samples.Difficult.CodeGenerators.Models\n{\n    /// <summary>\n    /// Sample model that we will use for tests\n    /// </summary>\n    public class SampleResponseModel\n    {\n        /// <summary>\n        /// String property - message\n        /// </summary>\n        public string Message { get; set; }\n\n        /// <summary>\n        /// Boolean flag\n        /// </summary>\n        public bool Success { get; set; }\n\n        /// <summary>\n        /// String containing date\n        /// </summary>\n        public string CurrentTime { get; set; }\n    }\n\n\n    \n}"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Properties/AssemblyInfo.cs",
    "content": "﻿using System.Reflection;\nusing System.Runtime.InteropServices;\n\n// General Information about an assembly is controlled through the following\n// set of attributes. Change these attribute values to modify the information\n// associated with an assembly.\n[assembly: AssemblyTitle(\"Reinforced.Typings.Samples.Difficult.CodeGenerators\")]\n[assembly: AssemblyDescription(\"\")]\n[assembly: AssemblyConfiguration(\"\")]\n[assembly: AssemblyCompany(\"\")]\n[assembly: AssemblyProduct(\"Reinforced.Typings.Samples.Difficult.CodeGenerators\")]\n[assembly: AssemblyCopyright(\"Copyright ©  2016\")]\n[assembly: AssemblyTrademark(\"\")]\n[assembly: AssemblyCulture(\"\")]\n\n// Setting ComVisible to false makes the types in this assembly not visible\n// to COM components.  If you need to access a type in this assembly from\n// COM, set the ComVisible attribute to true on that type.\n[assembly: ComVisible(false)]\n\n// The following GUID is for the ID of the typelib if this project is exposed to COM\n[assembly: Guid(\"3ea8aeee-b88c-406e-8686-72127ee1bf7c\")]\n\n// Version information for an assembly consists of the following four values:\n//\n//      Major Version\n//      Minor Version\n//      Build Number\n//      Revision\n//\n// You can specify all the values or you can default the Revision and Build Numbers\n// by using the '*' as shown below:\n[assembly: AssemblyVersion(\"1.0.0.0\")]\n[assembly: AssemblyFileVersion(\"1.0.0.0\")]\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Reinforced.Typings.Samples.Difficult.CodeGenerators.csproj",
    "content": "﻿<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"12.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\n  <Import Project=\"$(MSBuildExtensionsPath32)\\Microsoft\\VisualStudio\\v$(VisualStudioVersion)\\TypeScript\\Microsoft.TypeScript.Default.props\" Condition=\"Exists('$(MSBuildExtensionsPath32)\\Microsoft\\VisualStudio\\v$(VisualStudioVersion)\\TypeScript\\Microsoft.TypeScript.Default.props')\" />\n  <Import Project=\"$(MSBuildExtensionsPath)\\$(MSBuildToolsVersion)\\Microsoft.Common.props\" Condition=\"Exists('$(MSBuildExtensionsPath)\\$(MSBuildToolsVersion)\\Microsoft.Common.props')\" />\n  <PropertyGroup>\n    <Configuration Condition=\" '$(Configuration)' == '' \">Debug</Configuration>\n    <Platform Condition=\" '$(Platform)' == '' \">AnyCPU</Platform>\n    <ProductVersion>\n    </ProductVersion>\n    <SchemaVersion>2.0</SchemaVersion>\n    <ProjectGuid>{8014B424-7ADF-4FA3-8772-7271861B6CB3}</ProjectGuid>\n    <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>\n    <OutputType>Library</OutputType>\n    <AppDesignerFolder>Properties</AppDesignerFolder>\n    <RootNamespace>Reinforced.Typings.Samples.Difficult.CodeGenerators</RootNamespace>\n    <AssemblyName>Reinforced.Typings.Samples.Difficult.CodeGenerators</AssemblyName>\n    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>\n    <MvcBuildViews>false</MvcBuildViews>\n    <UseIISExpress>true</UseIISExpress>\n    <IISExpressSSLPort />\n    <IISExpressAnonymousAuthentication />\n    <IISExpressWindowsAuthentication />\n    <IISExpressUseClassicPipelineMode />\n    <NuGetPackageImportStamp>\n    </NuGetPackageImportStamp>\n    <TypeScriptToolsVersion>2.1</TypeScriptToolsVersion>\n    <UseGlobalApplicationHostFile />\n  </PropertyGroup>\n  <PropertyGroup Condition=\" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' \">\n    <DebugSymbols>true</DebugSymbols>\n    <DebugType>full</DebugType>\n    <Optimize>false</Optimize>\n    <OutputPath>bin\\</OutputPath>\n    <DefineConstants>DEBUG;TRACE</DefineConstants>\n    <ErrorReport>prompt</ErrorReport>\n    <WarningLevel>4</WarningLevel>\n    <DocumentationFile>bin\\Reinforced.Typings.Samples.Difficult.CodeGenerators.XML</DocumentationFile>\n  </PropertyGroup>\n  <PropertyGroup Condition=\" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' \">\n    <DebugType>pdbonly</DebugType>\n    <Optimize>true</Optimize>\n    <OutputPath>bin\\</OutputPath>\n    <DefineConstants>TRACE</DefineConstants>\n    <ErrorReport>prompt</ErrorReport>\n    <WarningLevel>4</WarningLevel>\n  </PropertyGroup>\n  <ItemGroup>\n    <Reference Include=\"Microsoft.CSharp\" />\n    <Reference Include=\"Reinforced.Typings, Version=1.0.0.0, Culture=neutral, PublicKeyToken=46446044dbedcc7c, processorArchitecture=MSIL\">\n      <HintPath>..\\..\\packages\\Reinforced.Typings.1.3.5\\lib\\net45\\Reinforced.Typings.dll</HintPath>\n      <Private>True</Private>\n    </Reference>\n    <Reference Include=\"System\" />\n    <Reference Include=\"System.Data\" />\n    <Reference Include=\"System.Drawing\" />\n    <Reference Include=\"System.Web.DynamicData\" />\n    <Reference Include=\"System.Web.Entity\" />\n    <Reference Include=\"System.Web.ApplicationServices\" />\n    <Reference Include=\"System.ComponentModel.DataAnnotations\" />\n    <Reference Include=\"System.Core\" />\n    <Reference Include=\"System.Data.DataSetExtensions\" />\n    <Reference Include=\"System.Xml.Linq\" />\n    <Reference Include=\"System.Web\" />\n    <Reference Include=\"System.Web.Extensions\" />\n    <Reference Include=\"System.Web.Abstractions\" />\n    <Reference Include=\"System.Web.Routing\" />\n    <Reference Include=\"System.Xml\" />\n    <Reference Include=\"System.Configuration\" />\n    <Reference Include=\"System.Web.Services\" />\n    <Reference Include=\"System.EnterpriseServices\" />\n    <Reference Include=\"Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL\">\n      <Private>True</Private>\n      <HintPath>..\\..\\packages\\Microsoft.Web.Infrastructure.1.0.0.0\\lib\\net40\\Microsoft.Web.Infrastructure.dll</HintPath>\n    </Reference>\n    <Reference Include=\"System.Net.Http\">\n    </Reference>\n    <Reference Include=\"System.Net.Http.WebRequest\">\n    </Reference>\n    <Reference Include=\"System.Web.Helpers, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL\">\n      <Private>True</Private>\n      <HintPath>..\\..\\packages\\Microsoft.AspNet.WebPages.3.2.2\\lib\\net45\\System.Web.Helpers.dll</HintPath>\n    </Reference>\n    <Reference Include=\"System.Web.Mvc, Version=__MvcPagesVersion__, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL\">\n      <Private>True</Private>\n      <HintPath>..\\..\\packages\\Microsoft.AspNet.Mvc.5.2.2\\lib\\net45\\System.Web.Mvc.dll</HintPath>\n    </Reference>\n    <Reference Include=\"System.Web.Optimization\">\n      <HintPath>..\\..\\packages\\Microsoft.AspNet.Web.Optimization.1.1.3\\lib\\net40\\System.Web.Optimization.dll</HintPath>\n    </Reference>\n    <Reference Include=\"System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL\">\n      <Private>True</Private>\n      <HintPath>..\\..\\packages\\Microsoft.AspNet.Razor.3.2.2\\lib\\net45\\System.Web.Razor.dll</HintPath>\n    </Reference>\n    <Reference Include=\"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL\">\n      <Private>True</Private>\n      <HintPath>..\\..\\packages\\Microsoft.AspNet.WebPages.3.2.2\\lib\\net45\\System.Web.WebPages.dll</HintPath>\n    </Reference>\n    <Reference Include=\"System.Web.WebPages.Deployment, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL\">\n      <Private>True</Private>\n      <HintPath>..\\..\\packages\\Microsoft.AspNet.WebPages.3.2.2\\lib\\net45\\System.Web.WebPages.Deployment.dll</HintPath>\n    </Reference>\n    <Reference Include=\"System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL\">\n      <Private>True</Private>\n      <HintPath>..\\..\\packages\\Microsoft.AspNet.WebPages.3.2.2\\lib\\net45\\System.Web.WebPages.Razor.dll</HintPath>\n    </Reference>\n    <Reference Include=\"WebGrease\">\n      <Private>True</Private>\n      <HintPath>..\\..\\packages\\WebGrease.1.5.2\\lib\\WebGrease.dll</HintPath>\n    </Reference>\n    <Reference Include=\"Antlr3.Runtime\">\n      <Private>True</Private>\n      <HintPath>..\\..\\packages\\Antlr.3.4.1.9004\\lib\\Antlr3.Runtime.dll</HintPath>\n    </Reference>\n  </ItemGroup>\n  <ItemGroup>\n    <Reference Include=\"Newtonsoft.Json\">\n      <HintPath>..\\..\\packages\\Newtonsoft.Json.6.0.4\\lib\\net45\\Newtonsoft.Json.dll</HintPath>\n    </Reference>\n    <Reference Include=\"EntityFramework\">\n      <HintPath>..\\..\\packages\\EntityFramework.6.1.1\\lib\\net45\\EntityFramework.dll</HintPath>\n    </Reference>\n    <Reference Include=\"EntityFramework.SqlServer\">\n      <HintPath>..\\..\\packages\\EntityFramework.6.1.1\\lib\\net45\\EntityFramework.SqlServer.dll</HintPath>\n    </Reference>\n    <Reference Include=\"Microsoft.AspNet.Identity.Core\">\n      <HintPath>..\\..\\packages\\Microsoft.AspNet.Identity.Core.2.1.0\\lib\\net45\\Microsoft.AspNet.Identity.Core.dll</HintPath>\n    </Reference>\n    <Reference Include=\"Microsoft.AspNet.Identity.Owin\">\n      <HintPath>..\\..\\packages\\Microsoft.AspNet.Identity.Owin.2.1.0\\lib\\net45\\Microsoft.AspNet.Identity.Owin.dll</HintPath>\n    </Reference>\n    <Reference Include=\"Microsoft.AspNet.Identity.EntityFramework\">\n      <HintPath>..\\..\\packages\\Microsoft.AspNet.Identity.EntityFramework.2.1.0\\lib\\net45\\Microsoft.AspNet.Identity.EntityFramework.dll</HintPath>\n    </Reference>\n    <Reference Include=\"Owin\">\n      <HintPath>..\\..\\packages\\Owin.1.0\\lib\\net40\\Owin.dll</HintPath>\n    </Reference>\n    <Reference Include=\"Microsoft.Owin\">\n      <HintPath>..\\..\\packages\\Microsoft.Owin.3.0.0\\lib\\net45\\Microsoft.Owin.dll</HintPath>\n    </Reference>\n    <Reference Include=\"Microsoft.Owin.Host.SystemWeb\">\n      <HintPath>..\\..\\packages\\Microsoft.Owin.Host.SystemWeb.3.0.0\\lib\\net45\\Microsoft.Owin.Host.SystemWeb.dll</HintPath>\n    </Reference>\n    <Reference Include=\"Microsoft.Owin.Security\">\n      <HintPath>..\\..\\packages\\Microsoft.Owin.Security.3.0.0\\lib\\net45\\Microsoft.Owin.Security.dll</HintPath>\n    </Reference>\n    <Reference Include=\"Microsoft.Owin.Security.Facebook\">\n      <HintPath>..\\..\\packages\\Microsoft.Owin.Security.Facebook.3.0.0\\lib\\net45\\Microsoft.Owin.Security.Facebook.dll</HintPath>\n    </Reference>\n    <Reference Include=\"Microsoft.Owin.Security.Cookies\">\n      <HintPath>..\\..\\packages\\Microsoft.Owin.Security.Cookies.3.0.0\\lib\\net45\\Microsoft.Owin.Security.Cookies.dll</HintPath>\n    </Reference>\n    <Reference Include=\"Microsoft.Owin.Security.OAuth\">\n      <HintPath>..\\..\\packages\\Microsoft.Owin.Security.OAuth.3.0.0\\lib\\net45\\Microsoft.Owin.Security.OAuth.dll</HintPath>\n    </Reference>\n    <Reference Include=\"Microsoft.Owin.Security.Google\">\n      <HintPath>..\\..\\packages\\Microsoft.Owin.Security.Google.3.0.0\\lib\\net45\\Microsoft.Owin.Security.Google.dll</HintPath>\n    </Reference>\n    <Reference Include=\"Microsoft.Owin.Security.Twitter\">\n      <HintPath>..\\..\\packages\\Microsoft.Owin.Security.Twitter.3.0.0\\lib\\net45\\Microsoft.Owin.Security.Twitter.dll</HintPath>\n    </Reference>\n    <Reference Include=\"Microsoft.Owin.Security.MicrosoftAccount\">\n      <HintPath>..\\..\\packages\\Microsoft.Owin.Security.MicrosoftAccount.3.0.0\\lib\\net45\\Microsoft.Owin.Security.MicrosoftAccount.dll</HintPath>\n    </Reference>\n  </ItemGroup>\n  <ItemGroup>\n    <Compile Include=\"App_Start\\BundleConfig.cs\" />\n    <Compile Include=\"App_Start\\FilterConfig.cs\" />\n    <Compile Include=\"App_Start\\RouteConfig.cs\" />\n    <Compile Include=\"Controllers\\AngularController.cs\" />\n    <Compile Include=\"Controllers\\HomeController.cs\" />\n    <Compile Include=\"Controllers\\JQueryController.cs\" />\n    <Compile Include=\"Global.asax.cs\">\n      <DependentUpon>Global.asax</DependentUpon>\n    </Compile>\n    <Compile Include=\"Models\\SampleResponseModel.cs\" />\n    <Compile Include=\"Properties\\AssemblyInfo.cs\" />\n    <Compile Include=\"ReinforcedTypings\\Angular\\AngularActionCallGenerator.cs\" />\n    <Compile Include=\"ReinforcedTypings\\Angular\\AngularControllerGenerator.cs\" />\n    <Compile Include=\"ReinforcedTypings\\Angular\\AngularMethodAttribute.cs\" />\n    <Compile Include=\"ReinforcedTypings\\Configuration.cs\" />\n    <Compile Include=\"ReinforcedTypings\\jQuery\\JQueryActionCallGenerator.cs\" />\n    <Compile Include=\"ReinforcedTypings\\jQuery\\JQueryMethodAttribute.cs\" />\n    <Compile Include=\"Startup.cs\" />\n  </ItemGroup>\n  <ItemGroup>\n    <Content Include=\"Content\\prismjs\\cshtml.css\" />\n    <Content Include=\"Content\\prismjs\\cshtml.js\" />\n    <Content Include=\"Content\\prismjs\\prism.css\" />\n    <Content Include=\"Content\\prismjs\\prism.js\" />\n    <Content Include=\"Global.asax\" />\n    <Content Include=\"Content\\Site.css\" />\n    <Content Include=\"Reinforced.Typings.settings.xml\" />\n    <Content Include=\"Scripts\\angular-animate.js\" />\n    <Content Include=\"Scripts\\angular-animate.min.js\" />\n    <Content Include=\"Scripts\\angular-aria.js\" />\n    <Content Include=\"Scripts\\angular-aria.min.js\" />\n    <Content Include=\"Scripts\\angular-cookies.js\" />\n    <Content Include=\"Scripts\\angular-cookies.min.js\" />\n    <Content Include=\"Scripts\\angular-csp.css\" />\n    <Content Include=\"Scripts\\angular-loader.js\" />\n    <Content Include=\"Scripts\\angular-loader.min.js\" />\n    <Content Include=\"Scripts\\angular-message-format.js\" />\n    <Content Include=\"Scripts\\angular-message-format.min.js\" />\n    <Content Include=\"Scripts\\angular-messages.js\" />\n    <Content Include=\"Scripts\\angular-messages.min.js\" />\n    <Content Include=\"Scripts\\angular-mocks.js\" />\n    <Content Include=\"Scripts\\angular-resource.js\" />\n    <Content Include=\"Scripts\\angular-resource.min.js\" />\n    <Content Include=\"Scripts\\angular-route.js\" />\n    <Content Include=\"Scripts\\angular-route.min.js\" />\n    <Content Include=\"Scripts\\angular-sanitize.js\" />\n    <Content Include=\"Scripts\\angular-sanitize.min.js\" />\n    <Content Include=\"Scripts\\angular-scenario.js\" />\n    <Content Include=\"Scripts\\angular-touch.js\" />\n    <Content Include=\"Scripts\\angular-touch.min.js\" />\n    <Content Include=\"Scripts\\angular.js\" />\n    <Content Include=\"Scripts\\angular.min.js\" />\n    <Content Include=\"Scripts\\errors.json\" />\n    <Content Include=\"Scripts\\angular-touch.min.js.map\" />\n    <Content Include=\"Scripts\\angular-sanitize.min.js.map\" />\n    <Content Include=\"Scripts\\angular-route.min.js.map\" />\n    <Content Include=\"Scripts\\angular-resource.min.js.map\" />\n    <Content Include=\"Scripts\\angular-messages.min.js.map\" />\n    <Content Include=\"Scripts\\angular-message-format.min.js.map\" />\n    <Content Include=\"Scripts\\angular-loader.min.js.map\" />\n    <Content Include=\"Scripts\\angular-cookies.min.js.map\" />\n    <Content Include=\"Scripts\\angular-aria.min.js.map\" />\n    <Content Include=\"Scripts\\angular-animate.min.js.map\" />\n    <Content Include=\"Scripts\\angular.min.js.map\" />\n    <None Include=\"Scripts\\jquery-1.10.2.intellisense.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_aa-dj.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_aa-er.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_aa-et.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_aa.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_af-na.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_af-za.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_af.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_agq-cm.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_agq.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ak-gh.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ak.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_am-et.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_am.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ar-001.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ar-ae.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ar-bh.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ar-dj.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ar-dz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ar-eg.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ar-eh.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ar-er.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ar-il.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ar-iq.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ar-jo.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ar-km.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ar-kw.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ar-lb.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ar-ly.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ar-ma.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ar-mr.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ar-om.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ar-ps.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ar-qa.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ar-sa.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ar-sd.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ar-so.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ar-ss.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ar-sy.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ar-td.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ar-tn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ar-ye.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ar.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_as-in.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_as.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_asa-tz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_asa.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ast-es.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ast.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_az-cyrl-az.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_az-cyrl.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_az-latn-az.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_az-latn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_az.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_bas-cm.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_bas.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_be-by.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_be.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_bem-zm.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_bem.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_bez-tz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_bez.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_bg-bg.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_bg.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_bm-latn-ml.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_bm-latn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_bm-ml.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_bm.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_bn-bd.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_bn-in.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_bn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_bo-cn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_bo-in.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_bo.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_br-fr.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_br.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_brx-in.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_brx.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_bs-cyrl-ba.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_bs-cyrl.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_bs-latn-ba.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_bs-latn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_bs.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_byn-er.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_byn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ca-ad.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ca-es-valencia.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ca-es.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ca-fr.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ca-it.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ca.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_cgg-ug.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_cgg.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_chr-us.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_chr.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ckb-arab-iq.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ckb-arab-ir.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ckb-arab.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ckb-iq.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ckb-ir.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ckb-latn-iq.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ckb-latn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ckb.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_cs-cz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_cs.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_cy-gb.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_cy.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_da-dk.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_da-gl.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_da.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_dav-ke.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_dav.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_de-at.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_de-be.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_de-ch.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_de-de.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_de-li.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_de-lu.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_de.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_dje-ne.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_dje.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_dsb-de.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_dsb.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_dua-cm.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_dua.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_dyo-sn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_dyo.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_dz-bt.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_dz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ebu-ke.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ebu.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ee-gh.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ee-tg.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ee.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_el-cy.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_el-gr.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_el.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-001.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-150.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-ag.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-ai.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-as.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-au.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-bb.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-be.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-bm.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-bs.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-bw.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-bz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-ca.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-cc.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-ck.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-cm.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-cx.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-dg.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-dm.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-er.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-fj.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-fk.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-fm.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-gb.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-gd.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-gg.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-gh.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-gi.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-gm.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-gu.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-gy.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-hk.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-ie.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-im.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-in.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-io.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-iso.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-je.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-jm.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-ke.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-ki.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-kn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-ky.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-lc.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-lr.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-ls.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-mg.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-mh.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-mo.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-mp.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-ms.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-mt.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-mu.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-mw.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-my.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-na.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-nf.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-ng.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-nr.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-nu.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-nz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-pg.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-ph.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-pk.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-pn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-pr.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-pw.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-rw.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-sb.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-sc.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-sd.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-sg.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-sh.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-sl.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-ss.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-sx.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-sz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-tc.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-tk.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-to.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-tt.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-tv.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-tz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-ug.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-um.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-us.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-vc.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-vg.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-vi.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-vu.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-ws.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-za.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-zm.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en-zw.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_en.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_eo-001.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_eo.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_es-419.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_es-ar.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_es-bo.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_es-cl.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_es-co.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_es-cr.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_es-cu.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_es-do.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_es-ea.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_es-ec.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_es-es.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_es-gq.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_es-gt.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_es-hn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_es-ic.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_es-mx.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_es-ni.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_es-pa.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_es-pe.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_es-ph.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_es-pr.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_es-py.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_es-sv.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_es-us.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_es-uy.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_es-ve.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_es.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_et-ee.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_et.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_eu-es.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_eu.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ewo-cm.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ewo.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fa-af.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fa-ir.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fa.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ff-cm.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ff-gn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ff-mr.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ff-sn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ff.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fi-fi.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fi.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fil-ph.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fil.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fo-fo.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fo.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-be.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-bf.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-bi.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-bj.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-bl.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-ca.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-cd.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-cf.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-cg.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-ch.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-ci.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-cm.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-dj.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-dz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-fr.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-ga.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-gf.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-gn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-gp.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-gq.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-ht.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-km.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-lu.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-ma.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-mc.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-mf.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-mg.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-ml.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-mq.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-mr.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-mu.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-nc.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-ne.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-pf.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-pm.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-re.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-rw.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-sc.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-sn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-sy.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-td.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-tg.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-tn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-vu.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-wf.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr-yt.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fr.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fur-it.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fur.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fy-nl.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_fy.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ga-ie.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ga.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_gd-gb.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_gd.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_gl-es.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_gl.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_gsw-ch.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_gsw-fr.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_gsw-li.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_gsw.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_gu-in.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_gu.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_guz-ke.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_guz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_gv-im.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_gv.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ha-latn-gh.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ha-latn-ne.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ha-latn-ng.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ha-latn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ha.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_haw-us.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_haw.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_he-il.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_he.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_hi-in.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_hi.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_hr-ba.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_hr-hr.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_hr.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_hsb-de.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_hsb.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_hu-hu.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_hu.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_hy-am.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_hy.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ia-fr.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ia.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_id-id.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_id.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ig-ng.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ig.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ii-cn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ii.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_in.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_is-is.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_is.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_it-ch.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_it-it.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_it-sm.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_it.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_iw.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ja-jp.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ja.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_jgo-cm.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_jgo.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_jmc-tz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_jmc.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ka-ge.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ka.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_kab-dz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_kab.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_kam-ke.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_kam.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_kde-tz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_kde.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_kea-cv.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_kea.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_khq-ml.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_khq.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ki-ke.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ki.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_kk-cyrl-kz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_kk-cyrl.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_kk.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_kkj-cm.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_kkj.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_kl-gl.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_kl.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_kln-ke.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_kln.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_km-kh.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_km.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_kn-in.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_kn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ko-kp.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ko-kr.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ko.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_kok-in.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_kok.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ks-arab-in.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ks-arab.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ks.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ksb-tz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ksb.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ksf-cm.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ksf.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ksh-de.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ksh.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_kw-gb.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_kw.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ky-cyrl-kg.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ky-cyrl.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ky.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_lag-tz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_lag.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_lb-lu.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_lb.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_lg-ug.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_lg.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_lkt-us.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_lkt.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ln-ao.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ln-cd.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ln-cf.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ln-cg.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ln.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_lo-la.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_lo.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_lt-lt.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_lt.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_lu-cd.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_lu.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_luo-ke.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_luo.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_luy-ke.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_luy.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_lv-lv.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_lv.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_mas-ke.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_mas-tz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_mas.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_mer-ke.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_mer.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_mfe-mu.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_mfe.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_mg-mg.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_mg.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_mgh-mz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_mgh.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_mgo-cm.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_mgo.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_mk-mk.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_mk.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ml-in.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ml.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_mn-cyrl-mn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_mn-cyrl.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_mn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_mr-in.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_mr.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ms-latn-bn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ms-latn-my.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ms-latn-sg.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ms-latn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ms.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_mt-mt.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_mt.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_mua-cm.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_mua.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_my-mm.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_my.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_naq-na.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_naq.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_nb-no.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_nb-sj.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_nb.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_nd-zw.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_nd.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ne-in.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ne-np.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ne.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_nl-aw.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_nl-be.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_nl-bq.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_nl-cw.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_nl-nl.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_nl-sr.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_nl-sx.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_nl.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_nmg-cm.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_nmg.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_nn-no.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_nn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_nnh-cm.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_nnh.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_no-no.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_no.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_nr-za.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_nr.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_nso-za.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_nso.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_nus-sd.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_nus.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_nyn-ug.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_nyn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_om-et.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_om-ke.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_om.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_or-in.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_or.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_os-ge.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_os-ru.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_os.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_pa-arab-pk.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_pa-arab.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_pa-guru-in.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_pa-guru.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_pa.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_pl-pl.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_pl.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ps-af.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ps.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_pt-ao.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_pt-br.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_pt-cv.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_pt-gw.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_pt-mo.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_pt-mz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_pt-pt.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_pt-st.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_pt-tl.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_pt.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_qu-bo.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_qu-ec.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_qu-pe.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_qu.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_rm-ch.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_rm.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_rn-bi.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_rn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ro-md.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ro-ro.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ro.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_rof-tz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_rof.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ru-by.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ru-kg.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ru-kz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ru-md.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ru-ru.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ru-ua.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ru.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_rw-rw.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_rw.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_rwk-tz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_rwk.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sah-ru.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sah.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_saq-ke.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_saq.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sbp-tz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sbp.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_se-fi.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_se-no.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_se-se.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_se.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_seh-mz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_seh.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ses-ml.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ses.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sg-cf.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sg.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_shi-latn-ma.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_shi-latn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_shi-tfng-ma.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_shi-tfng.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_shi.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_si-lk.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_si.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sk-sk.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sk.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sl-si.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sl.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_smn-fi.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_smn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sn-zw.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_so-dj.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_so-et.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_so-ke.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_so-so.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_so.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sq-al.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sq-mk.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sq-xk.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sq.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sr-cyrl-ba.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sr-cyrl-me.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sr-cyrl-rs.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sr-cyrl-xk.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sr-cyrl.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sr-latn-ba.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sr-latn-me.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sr-latn-rs.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sr-latn-xk.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sr-latn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sr.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ss-sz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ss-za.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ss.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ssy-er.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ssy.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_st-ls.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_st-za.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_st.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sv-ax.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sv-fi.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sv-se.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sv.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sw-cd.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sw-ke.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sw-tz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sw-ug.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_sw.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_swc-cd.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_swc.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ta-in.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ta-lk.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ta-my.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ta-sg.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ta.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_te-in.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_te.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_teo-ke.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_teo-ug.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_teo.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_tg-cyrl-tj.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_tg-cyrl.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_tg.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_th-th.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_th.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ti-er.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ti-et.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ti.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_tig-er.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_tig.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_tl.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_tn-bw.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_tn-za.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_tn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_to-to.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_to.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_tr-cy.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_tr-tr.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_tr.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ts-za.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ts.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_twq-ne.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_twq.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_tzm-latn-ma.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_tzm-latn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_tzm.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ug-arab-cn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ug-arab.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ug.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_uk-ua.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_uk.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ur-in.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ur-pk.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ur.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_uz-arab-af.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_uz-arab.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_uz-cyrl-uz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_uz-cyrl.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_uz-latn-uz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_uz-latn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_uz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_vai-latn-lr.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_vai-latn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_vai-vaii-lr.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_vai-vaii.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_vai.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ve-za.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_ve.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_vi-vn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_vi.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_vo-001.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_vo.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_vun-tz.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_vun.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_wae-ch.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_wae.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_wal-et.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_wal.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_xh-za.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_xh.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_xog-ug.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_xog.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_yav-cm.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_yav.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_yi-001.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_yi.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_yo-bj.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_yo-ng.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_yo.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_zgh-ma.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_zgh.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_zh-cn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_zh-hans-cn.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_zh-hans-hk.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_zh-hans-mo.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_zh-hans-sg.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_zh-hans.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_zh-hant-hk.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_zh-hant-mo.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_zh-hant-tw.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_zh-hant.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_zh-hk.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_zh-tw.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_zh.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_zu-za.js\" />\n    <Content Include=\"Scripts\\i18n\\angular-locale_zu.js\" />\n    <Content Include=\"Scripts\\jquery-1.10.2.js\" />\n    <Content Include=\"Scripts\\jquery-1.10.2.min.js\" />\n    <None Include=\"Scripts\\jquery.validate-vsdoc.js\" />\n    <Content Include=\"Scripts\\jquery.validate.js\" />\n    <Content Include=\"Scripts\\jquery.validate.min.js\" />\n    <Content Include=\"Scripts\\jquery.validate.unobtrusive.js\" />\n    <Content Include=\"Scripts\\jquery.validate.unobtrusive.min.js\" />\n    <Content Include=\"Scripts\\modernizr-2.6.2.js\" />\n    <Content Include=\"Scripts\\respond.js\" />\n    <Content Include=\"Scripts\\respond.min.js\" />\n    <Content Include=\"Scripts\\_references.js\" />\n    <Content Include=\"Web.config\" />\n    <Content Include=\"Web.Debug.config\">\n      <DependentUpon>Web.config</DependentUpon>\n    </Content>\n    <Content Include=\"Web.Release.config\">\n      <DependentUpon>Web.config</DependentUpon>\n    </Content>\n    <Content Include=\"Views\\Web.config\" />\n    <Content Include=\"Views\\_ViewStart.cshtml\" />\n    <Content Include=\"Views\\Home\\JQuery.cshtml\" />\n    <Content Include=\"Scripts\\jquery-1.10.2.min.map\" />\n    <Content Include=\"Views\\Shared\\_Layout.cshtml\" />\n    <Content Include=\"Scripts\\version.json\" />\n    <Content Include=\"Views\\Home\\Angular.cshtml\" />\n    <Content Include=\"Views\\Home\\Index.cshtml\" />\n    <Content Include=\"Views\\Shared\\Navbar.cshtml\" />\n  </ItemGroup>\n  <ItemGroup />\n  <ItemGroup>\n    <Content Include=\"packages.config\" />\n  </ItemGroup>\n  <ItemGroup>\n    <TypeScriptCompile Include=\"Scripts\\ReinforcedTypings\\AngularDemoController.ts\" />\n    <TypeScriptCompile Include=\"Scripts\\ReinforcedTypings\\Generated\\AngularController.ts\" />\n    <TypeScriptCompile Include=\"Scripts\\ReinforcedTypings\\Generated\\JQueryController.ts\" />\n    <TypeScriptCompile Include=\"Scripts\\ReinforcedTypings\\Generated\\models.ts\" />\n    <TypeScriptCompile Include=\"Scripts\\ReinforcedTypings\\IndexPage.ts\" />\n    <TypeScriptCompile Include=\"Scripts\\ReinforcedTypings\\query.ts\" />\n    <TypeScriptCompile Include=\"Scripts\\ReinforcedTypings\\app.ts\" />\n    <TypeScriptCompile Include=\"Scripts\\typings\\angularjs\\angular-animate.d.ts\" />\n    <TypeScriptCompile Include=\"Scripts\\typings\\angularjs\\angular-component-router.d.ts\" />\n    <TypeScriptCompile Include=\"Scripts\\typings\\angularjs\\angular-cookies.d.ts\" />\n    <TypeScriptCompile Include=\"Scripts\\typings\\angularjs\\angular-mocks.d.ts\" />\n    <TypeScriptCompile Include=\"Scripts\\typings\\angularjs\\angular-resource.d.ts\" />\n    <TypeScriptCompile Include=\"Scripts\\typings\\angularjs\\angular-route.d.ts\" />\n    <TypeScriptCompile Include=\"Scripts\\typings\\angularjs\\angular-sanitize.d.ts\" />\n    <TypeScriptCompile Include=\"Scripts\\typings\\angularjs\\angular.d.ts\" />\n    <TypeScriptCompile Include=\"Scripts\\typings\\es6-promise\\es6-promise.d.ts\" />\n    <TypeScriptCompile Include=\"Scripts\\typings\\jquery\\jquery.d.ts\" />\n  </ItemGroup>\n  <PropertyGroup>\n    <VisualStudioVersion Condition=\"'$(VisualStudioVersion)' == ''\">10.0</VisualStudioVersion>\n    <VSToolsPath Condition=\"'$(VSToolsPath)' == ''\">$(MSBuildExtensionsPath32)\\Microsoft\\VisualStudio\\v$(VisualStudioVersion)</VSToolsPath>\n  </PropertyGroup>\n  <Import Project=\"$(MSBuildBinPath)\\Microsoft.CSharp.targets\" />\n  <Import Project=\"$(MSBuildExtensionsPath32)\\Microsoft\\VisualStudio\\v$(VisualStudioVersion)\\TypeScript\\Microsoft.TypeScript.targets\" Condition=\"Exists('$(MSBuildExtensionsPath32)\\Microsoft\\VisualStudio\\v$(VisualStudioVersion)\\TypeScript\\Microsoft.TypeScript.targets')\" />\n  <Import Project=\"$(VSToolsPath)\\WebApplications\\Microsoft.WebApplication.targets\" Condition=\"'$(VSToolsPath)' != ''\" />\n  <Import Project=\"$(MSBuildExtensionsPath32)\\Microsoft\\VisualStudio\\v10.0\\WebApplications\\Microsoft.WebApplication.targets\" Condition=\"false\" />\n  <Target Name=\"MvcBuildViews\" AfterTargets=\"AfterBuild\" Condition=\"'$(MvcBuildViews)'=='true'\">\n    <AspNetCompiler VirtualPath=\"temp\" PhysicalPath=\"$(WebProjectOutputDir)\" />\n  </Target>\n  <ProjectExtensions>\n    <VisualStudio>\n      <FlavorProperties GUID=\"{349c5851-65df-11da-9384-00065b846f21}\">\n        <WebProjectProperties>\n          <UseIIS>True</UseIIS>\n          <AutoAssignPort>True</AutoAssignPort>\n          <DevelopmentServerPort>48213</DevelopmentServerPort>\n          <DevelopmentServerVPath>/</DevelopmentServerVPath>\n          <IISUrl>http://localhost:48213/</IISUrl>\n          <NTLMAuthentication>False</NTLMAuthentication>\n          <UseCustomServer>False</UseCustomServer>\n          <CustomServerUrl>\n          </CustomServerUrl>\n          <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>\n        </WebProjectProperties>\n      </FlavorProperties>\n    </VisualStudio>\n  </ProjectExtensions>\n  <Import Project=\"..\\..\\packages\\Reinforced.Typings.1.3.5\\build\\Reinforced.Typings.targets\" Condition=\"Exists('..\\..\\packages\\Reinforced.Typings.1.3.5\\build\\Reinforced.Typings.targets')\" />\n  <Target Name=\"EnsureNuGetPackageBuildImports\" BeforeTargets=\"PrepareForBuild\">\n    <PropertyGroup>\n      <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>\n    </PropertyGroup>\n    <Error Condition=\"!Exists('..\\..\\packages\\Reinforced.Typings.1.3.5\\build\\Reinforced.Typings.targets')\" Text=\"$([System.String]::Format('$(ErrorText)', '..\\..\\packages\\Reinforced.Typings.1.3.5\\build\\Reinforced.Typings.targets'))\" />\n  </Target>\n  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.\n       Other similar extension points exist, see Microsoft.Common.targets.\n  <Target Name=\"BeforeBuild\">\n  </Target>\n  <Target Name=\"AfterBuild\">\n  </Target> -->\n</Project>"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Reinforced.Typings.settings.xml",
    "content": "﻿<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"4.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\n\t<!-- Documentation fold -->\n\t\n\t<PropertyGroup>\n\t\t<!-- Not used in demo since we have enabled RtDivideTypesAmongFiles -->\n\t\t<RtTargetFile></RtTargetFile>\n\t\t\n\t\t<!-- Here we specify our fluent method -->\n\t\t<RtConfigurationMethod>\n      Reinforced.Typings.Samples.Difficult.CodeGenerators.ReinforcedTypings.Configuration.Configure\n    </RtConfigurationMethod>\n\t\t\n\t\t<!-- We have changed this option from 'false' to 'true' -->\n\t\t<RtDivideTypesAmongFiles>true</RtDivideTypesAmongFiles>\n\t\t\n\t\t<!-- Here we specify target directory to put generated files -->\n\t\t<RtTargetDirectory>$(ProjectDir)Scripts\\ReinforcedTypings\\Generated</RtTargetDirectory>\n\t\t\n\t\t<!-- Not used in demo -->\n\t\t<RtBypassTypeScriptCompilation>false</RtBypassTypeScriptCompilation>\t\t\t\t\n\t\t\n\t\t<!-- Not used in demo-->\n\t\t<RtDisable>false</RtDisable>\t\t\n\t</PropertyGroup>\n</Project>"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/ReinforcedTypings/Angular/AngularActionCallGenerator.cs",
    "content": "﻿using System;\nusing System.Linq;\nusing System.Reflection;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Ast.TypeNames;\nusing Reinforced.Typings.Generators;\n\nnamespace Reinforced.Typings.Samples.Difficult.CodeGenerators.ReinforcedTypings.Angular\n{\n    /// <summary>\n    /// Action call generator for controller method inside angularjs glue-class is quite similar\n    /// to jQuery's one.\n    /// </summary>\n    public class AngularActionCallGenerator : MethodCodeGenerator\n    {\n        public override RtFuncion GenerateNode(MethodInfo element, RtFuncion result, TypeResolver resolver)\n        {\n\n            result = base.GenerateNode(element, result, resolver);\n            if (result == null) return null;\n\n            // here we are overriding return type to corresponding promise\n            var retType = result.ReturnType;\n            bool isVoid = (retType is RtSimpleTypeName) && (((RtSimpleTypeName)retType).TypeName == \"void\");\n\n            // we use TypeResolver to get \"any\" type to avoid redundant type name construction\n            // (or because I'm too lazy to manually construct \"any\" type)\n            if (isVoid) retType = resolver.ResolveTypeName(typeof(object));\n\n            // Here we override TS method return type to make it angular.IPromise\n            // We are using RtSimpleType with generig parameter of existing method type\n            result.ReturnType = new RtSimpleTypeName(new[] { retType }, \"angular\", \"IPromise\");\n\n            // Here we retrieve method parameters\n            // We are using .GetName() extension method to retrieve parameter name\n            // It is supplied within Reinforced.Typings and retrieves parameter name \n            // including possible name override with Fluent configuration or \n            // [TsParameter] attribute\n            var p = element.GetParameters().Select(c => string.Format(\"'{0}': {0}\", c.GetName()));\n\n            // Joining parameters for method body code\n            var dataParameters = string.Join(\", \", p);\n\n            // Here we get path to controller\n            // It is quite simple solution requiring /{controller}/{action} route\n            string controller = element.DeclaringType.Name.Replace(\"Controller\", String.Empty);\n            string path = String.Format(\"/{0}/{1}\", controller, element.Name);\n\n            const string code = @\"var params = {{ {1} }};\nreturn this.http.post('{0}', params)\n    .then((response) => {{ response.data['requestParams'] = params; return response.data; }});\";\n\n            RtRaw body = new RtRaw(String.Format(code, path, dataParameters));\n            result.Body = body;\n\n            // That's all. here we return node that will be written to target file.\n            // Check result in /Scripts/ReinforcedTypings/GeneratedTypings.ts\n            return result;\n        }\n    }\n}"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/ReinforcedTypings/Angular/AngularControllerGenerator.cs",
    "content": "﻿using System;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Ast.TypeNames;\nusing Reinforced.Typings.Generators;\n\nnamespace Reinforced.Typings.Samples.Difficult.CodeGenerators.ReinforcedTypings.Angular\n{\n    /// <summary>\n    /// We have to add some fields and constructor to Angular service\n    /// </summary>\n    public class AngularControllerGenerator : ClassCodeGenerator\n    {\n        /// <summary>\n        /// We override GenerateNode method here\n        /// </summary>\n        /// <param name=\"element\">Type that we generate typings for (our controller)</param>\n        /// <param name=\"result\">Resulting AST node</param>\n        /// <param name=\"resolver\">Reinforced.Typings Type Resolver</param>\n        /// <returns>Generated node</returns>\n        public override RtClass GenerateNode(Type element, RtClass result, TypeResolver resolver)\n        {\n            // First of all, we fetch original AST node that is being generated by default\n            result = base.GenerateNode(element, result, resolver);\n            if (result == null) return null;\n\n            // We add some docs to keep you oriented\n            result.Documentation = new RtJsdocNode(){Description = \"Result of AngularControllerGenerator activity\"};\n\n            // Here we just create ng.IHttpService type name because it is used several times\n            var httpServiceType = new RtSimpleTypeName(\"IHttpService\") { Prefix = \"angular\" };\n\n            // Here we are declaring constructor for our angular service using $http as parameter\n            // It is quite simple so no more details\n            RtConstructor constructor = new RtConstructor();\n            constructor.Arguments.Add(new RtArgument(){Type = httpServiceType,Identifier = new RtIdentifier(\"$http\")});\n            constructor.Body = new RtRaw(\"this.http = $http;\");\n\n            // Here we declaring class field for storing $http instance\n            RtField httpServiceField = new RtField()\n            {\n                Type = httpServiceType,\n                Identifier = new RtIdentifier(\"http\"),\n                AccessModifier = AccessModifier.Private,\n                Documentation = new RtJsdocNode() { Description = \"Keeps $http instance received on construction\"}\n            };\n\n            // Here we are adding our constructor and field to resulting class\n            result.Members.Add(httpServiceField);\n            result.Members.Add(constructor);\n\n            // Also we will add controller registration to our app instance\n            // To automatically get it registered in Angular's IoC\n            const string initializerFormat =\n                \"if (window['app']) window['app'].factory('Api.{0}', ['$http', ($http: angular.IHttpService) => new {1}($http)]);\";\n\n            RtRaw registration = new RtRaw(String.Format(initializerFormat,element.Name,result.Name));\n            \n            // Since RtModule.compilationUnits is not typed and could contain any type then we \n            // simply add RtRaw node here with registration glue code\n            // app variable is declared in /Scripts/ReinforcedTypings/App.ts since it is used in \n            // corresponding client script\n            Context.Location.CurrentNamespace.CompilationUnits.Add(registration);\n\n            // That's all. here we return node that will be written to target file.\n            // Check result in /Scripts/ReinforcedTypings/GeneratedTypings.ts\n            return result;\n        }\n    }\n}"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/ReinforcedTypings/Angular/AngularMethodAttribute.cs",
    "content": "﻿using System;\nusing Reinforced.Typings.Attributes;\n\nnamespace Reinforced.Typings.Samples.Difficult.CodeGenerators.ReinforcedTypings.Angular\n{\n    /// <summary>\n    /// Attribute that we place above out controller's methods\n    /// </summary>\n    public class AngularMethodAttribute : TsFunctionAttribute\n    {\n        /// <summary>\n        /// Constructor\n        /// </summary>\n        /// <param name=\"returnType\"></param>\n        public AngularMethodAttribute(Type returnType)\n        {\n            // Here we override method return type for TypeScript export\n            StrongType = returnType;\n\n            // Here we are specifying code generator for particular method\n            CodeGeneratorType = typeof (AngularActionCallGenerator);\n        }\n    }\n}"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/ReinforcedTypings/Configuration.cs",
    "content": "﻿using Reinforced.Typings.Attributes;\nusing Reinforced.Typings.Fluent;\nusing Reinforced.Typings.Samples.Difficult.CodeGenerators.Controllers;\nusing Reinforced.Typings.Samples.Difficult.CodeGenerators.Models;\nusing Reinforced.Typings.Samples.Difficult.CodeGenerators.ReinforcedTypings.Angular;\n\n[assembly: TsGlobal(GenerateDocumentation = true)]\n\nnamespace Reinforced.Typings.Samples.Difficult.CodeGenerators.ReinforcedTypings\n{\n    public class Configuration\n    {\n        public static void Configure(ConfigurationBuilder builder)\n        {\n            \n            // --- For both tutorials\n            // Configuration exporting test model class as interface\n            builder.ExportAsInterface<SampleResponseModel>().WithPublicProperties().ExportTo(\"models.ts\");\n\n            // --- For jQuery Tutorial\n            // Configuration for JQueryController\n            // Setting code generator for each method performed in JQueryMethodAttribute\n            builder.ExportAsClass<JQueryController>().ExportTo(\"JQueryController.ts\");\n\n            // --- For Angular tutorial\n            // Configuration for Angular.js-firndly controller\n            // Setting code generator for methods also performed in attribute - see AngularMethodAttribute\n            builder.ExportAsClass<AngularController>()\n                .ExportTo(\"AngularController.ts\")\n                .WithCodeGenerator<AngularControllerGenerator>();\n        }\n    }\n}"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/ReinforcedTypings/jQuery/JQueryActionCallGenerator.cs",
    "content": "﻿using System;\nusing System.Linq;\nusing System.Reflection;\nusing Reinforced.Typings.Ast;\nusing Reinforced.Typings.Ast.TypeNames;\nusing Reinforced.Typings.Generators;\n\nnamespace Reinforced.Typings.Samples.Difficult.CodeGenerators.ReinforcedTypings.jQuery\n{\n    /// <summary>\n    /// This is our code generator. Its purpose is to consume MethodInfo as source \n    /// and produce RtFunction TypeScript AST node as result. \n    /// We will inherit regular Method Code generator and slilghtly adjust its result \n    /// for convinence.\n    /// </summary>\n    public class JQueryActionCallGenerator : MethodCodeGenerator\n    {\n        /// <summary>\n        /// We override GenerateNode method (since it is almost single method of code generator). \n        /// </summary>\n        /// <param name=\"element\">Method of controller that we generate code for</param>\n        /// <param name=\"result\">\n        /// Resulting node - we do not have to create resulting node by ourselfs. \n        /// But wi still can return null from GenerateNode method\n        /// </param>\n        /// <param name=\"resolver\">\n        /// TypeResolver object that we will use to safely convert CLR types to TypeScript types names\n        /// </param>\n        /// <returns>AST node for method declaration</returns>\n        public override RtFuncion GenerateNode(MethodInfo element, RtFuncion result, TypeResolver resolver)\n        {\n            // Here we get default result of method export\n            result =  base.GenerateNode(element, result, resolver);\n            if (result == null) return null;\n\n            // We make method static since we will call it like JQueryController.Method\n            result.IsStatic = true;\n\n            // Below we will add special arguments for specifying  element that should be \n            // disabled during query (disable element) and element placeholder for\n            // loading inidicator\n            result.Arguments.Add(\n                new RtArgument()\n                {\n                    Identifier = new RtIdentifier(\"loadingPlaceholderSelector\"),\n                    Type = resolver.ResolveTypeName(typeof(string)),\n                    DefaultValue = \"''\"\n                });\n\n            result.Arguments.Add(\n               new RtArgument()\n               {\n                   Identifier = new RtIdentifier(\"disableElement\"),\n                   Type = resolver.ResolveTypeName(typeof(string)),\n                   DefaultValue = \"''\"\n               });\n\n            // We save original type name\n            var retType = result.ReturnType;\n            \n            // ... and in case of void we just replace it with \"any\"\n            bool isVoid = (retType is RtSimpleTypeName) && (((RtSimpleTypeName) retType).TypeName == \"void\");\n\n            // we use TypeResolver to get \"any\" type to avoid redundant type name construction\n            // (or because I'm too lazy to manually construct \"any\" type)\n            if (isVoid) retType = resolver.ResolveTypeName(typeof (object));\n\n            // Here we override TS method return type to make it JQueryPromise\n            // We are using RtSimpleType with generig parameter of existing method type\n            result.ReturnType = new RtSimpleTypeName(\"JQueryPromise\", new[] { retType });\n\n            // Here we retrieve method parameters\n            // We are using .GetName() extension method to retrieve parameter name\n            // It is supplied within Reinforced.Typings and retrieves parameter name \n            // including possible name override with Fluent configuration or \n            // [TsParameter] attribute\n            var p = element.GetParameters().Select(c => string.Format(\"'{0}': {0}\", c.GetName()));\n\n            // Joining parameters for method body code\n            var dataParameters = string.Join(\", \", p);\n\n            // Here we get path to controller\n            // It is quite simple solution requiring /{controller}/{action} route\n            string controller = element.DeclaringType.Name.Replace(\"Controller\", String.Empty);\n            string path = String.Format(\"/{0}/{1}\", controller, element.Name);\n\n            // Here we are constructing our glue code\n            // Please refer to /Scripts/ReinforcedTypings/query.ts for implementation of QueryController.query method\n            string code = String.Format(\n@\"return QueryController.query<{2}>(\n        '{0}', \n        {{ {1} }}, \n        loadingPlaceholderSelector,\n        disableElement\n    );\", \n       path, dataParameters, retType);\n\n            // Here we just set method body and return method node\n            result.Body = new RtRaw(code);\n\n            // Also here we will add some JSDOC\n            result.Documentation = new RtJsdocNode(){Description = String.Format(\"Wrapper method for call {0} of {1}\",element.Name,element.DeclaringType.Name)};\n\n            // That's all. here we return node that will be written to target file.\n            // Check result in /Scripts/ReinforcedTypings/GeneratedTypings.ts\n            return result;\n        }\n    }\n}"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/ReinforcedTypings/jQuery/JQueryMethodAttribute.cs",
    "content": "﻿using System;\nusing Reinforced.Typings.Attributes;\n\nnamespace Reinforced.Typings.Samples.Difficult.CodeGenerators.ReinforcedTypings.jQuery\n{\n    /// <summary>\n    /// Since controller method only can return ActionResult and \n    /// there is no way to programmaticaly determine action result then \n    /// we need special attribute to describe controller method return. \n    /// We will inherit this attribute from TsFunction attribute since we \n    /// anyway have to specify exported methods in fluent configuration either \n    /// via attributes.\n    /// </summary>\n    public class JQueryMethodAttribute : TsFunctionAttribute\n    {\n        public JQueryMethodAttribute(Type returnType)\n        {\n            // Here we override method return type for TypeScript export\n            StrongType = returnType;\n\n            // Here we are specifying code generator for particular method\n            CodeGeneratorType = typeof (JQueryActionCallGenerator);\n        }\n    }\n}"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/ReinforcedTypings/AngularDemoController.js",
    "content": "var Reinforced;\n(function (Reinforced) {\n    var Typings;\n    (function (Typings) {\n        var Samples;\n        (function (Samples) {\n            var Difficult;\n            (function (Difficult) {\n                var CodeGenerators;\n                (function (CodeGenerators) {\n                    var Pages;\n                    (function (Pages) {\n                        var AngularDemoController = (function () {\n                            function AngularDemoController(scope, angularControllerService) {\n                                this.voidMethodCalledCount = 0;\n                                this._controller = angularControllerService;\n                                this.simpleNum = 42;\n                                this.simpleS = 'Ni hao';\n                                this.simpleBoolValue = false;\n                            }\n                            AngularDemoController.prototype.refreshRandomValue = function () {\n                                var _this = this;\n                                this._controller.SimpleIntMethod().then(function (c) { return _this.RandomValue = c; });\n                            };\n                            AngularDemoController.prototype.parametrizedMethod = function () {\n                                var _this = this;\n                                this._controller.MethodWithParameters(this.simpleNum, this.simpleS, this.simpleBoolValue)\n                                    .then(function (c) { return _this.simpleResult = c; });\n                            };\n                            AngularDemoController.prototype.retrieveComplex = function () {\n                                var _this = this;\n                                this._controller.ReturningObject().then(function (c) {\n                                    _this.objectResult = c;\n                                });\n                            };\n                            AngularDemoController.prototype.parametrizedMethodWithObject = function () {\n                                var _this = this;\n                                this._controller.ReturningObjectWithParameters(this.inputEcho).then(function (c) { return _this.echoResult = c; });\n                            };\n                            AngularDemoController.prototype.voidMethod = function () {\n                                var _this = this;\n                                this._controller.VoidMethodWithParameters({\n                                    CurrentTime: null,\n                                    Message: 'Hello!',\n                                    Success: true\n                                }).then(function (c) { return _this.voidMethodCalledCount++; });\n                            };\n                            return AngularDemoController;\n                        }());\n                        Pages.AngularDemoController = AngularDemoController;\n                        app.controller('AngularDemoController', ['$scope', 'Api.AngularController', AngularDemoController]);\n                    })(Pages = CodeGenerators.Pages || (CodeGenerators.Pages = {}));\n                })(CodeGenerators = Difficult.CodeGenerators || (Difficult.CodeGenerators = {}));\n            })(Difficult = Samples.Difficult || (Samples.Difficult = {}));\n        })(Samples = Typings.Samples || (Typings.Samples = {}));\n    })(Typings = Reinforced.Typings || (Reinforced.Typings = {}));\n})(Reinforced || (Reinforced = {}));\n//# sourceMappingURL=AngularDemoController.js.map"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/ReinforcedTypings/AngularDemoController.ts",
    "content": "﻿module Reinforced.Typings.Samples.Difficult.CodeGenerators.Pages {\n    import AngularController = Reinforced.Typings.Samples.Difficult.CodeGenerators.Controllers.AngularController;\n\n    export class AngularDemoController {\n        private _controller: AngularController;\n        private _scope: angular.IScope;\n\n        public RandomValue: number;\n        \n        // model for simple method\n        public simpleNum: number;\n        public simpleS: string;\n        public simpleBoolValue: boolean;\n        public simpleResult: string;\n\n        // end of model for simple method\n\n        public objectResult: {};\n\n        public inputEcho:string;\n        public echoResult: {};\n\n        public voidMethodCalledCount:number = 0;\n\n        constructor(scope: angular.IScope, angularControllerService: AngularController) {\n            this._controller = angularControllerService;\n            this.simpleNum = 42;\n            this.simpleS = 'Ni hao';\n            this.simpleBoolValue = false;\n        }\n\n        public refreshRandomValue() {\n            this._controller.SimpleIntMethod().then(c => this.RandomValue = c);\n        }\n\n        public parametrizedMethod() {\n            this._controller.MethodWithParameters(this.simpleNum, this.simpleS, this.simpleBoolValue)\n                .then(c => this.simpleResult = c);\n        }\n\n        public retrieveComplex() {\n            this._controller.ReturningObject().then(c => {\n                this.objectResult = c;\n            });\n        }\n\n        public parametrizedMethodWithObject() {\n            this._controller.ReturningObjectWithParameters(this.inputEcho).then(c => this.echoResult = c);\n        }\n\n        public voidMethod() {\n            this._controller.VoidMethodWithParameters({\n                CurrentTime: null,\n                Message: 'Hello!',\n                Success: true\n            }).then(c => this.voidMethodCalledCount++);\n        }\n\n    }\n\n    app.controller('AngularDemoController', ['$scope', 'Api.AngularController', AngularDemoController]);\n} "
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/ReinforcedTypings/Generated/AngularController.js",
    "content": "//     This code was generated by a Reinforced.Typings tool. \n//     Changes to this file may cause incorrect behavior and will be lost if\n//     the code is regenerated.\n///<reference path=\"models.ts\"/>\nvar Reinforced;\n(function (Reinforced) {\n    var Typings;\n    (function (Typings) {\n        var Samples;\n        (function (Samples) {\n            var Difficult;\n            (function (Difficult) {\n                var CodeGenerators;\n                (function (CodeGenerators) {\n                    var Controllers;\n                    (function (Controllers) {\n                        if (window['app'])\n                            window['app'].factory('Api.AngularController', ['$http', function ($http) { return new AngularController($http); }]);\n                        /** Result of AngularControllerGenerator activity */\n                        var AngularController = (function () {\n                            function AngularController($http) {\n                                this.http = $http;\n                            }\n                            /**\n                            * Simple controller action that returns integer method\n                            *\n                            * @returns JSON-ed random integer value\n                            */\n                            AngularController.prototype.SimpleIntMethod = function () {\n                                var params = {};\n                                return this.http.post('/Angular/SimpleIntMethod', params)\n                                    .then(function (response) { response.data['requestParams'] = params; return response.data; });\n                            };\n                            /**\n                            * Controller action that returns\n                            *\n                            * @param num Number value\n                            * @param s String value\n                            * @param boolValue Boolean value\n                            * @returns JSON-ed string containing concatenated values\n                            */\n                            AngularController.prototype.MethodWithParameters = function (num, s, boolValue) {\n                                var params = { 'num': num, 's': s, 'boolValue': boolValue };\n                                return this.http.post('/Angular/MethodWithParameters', params)\n                                    .then(function (response) { response.data['requestParams'] = params; return response.data; });\n                            };\n                            /**\n                            * Controller action that returns our simple object\n                            *\n                            * @returns JSON-ed simple object\n                            */\n                            AngularController.prototype.ReturningObject = function () {\n                                var params = {};\n                                return this.http.post('/Angular/ReturningObject', params)\n                                    .then(function (response) { response.data['requestParams'] = params; return response.data; });\n                            };\n                            /**\n                            * Controller action that returns our simple object and consimes parameters\n                            *\n                            * @param echo Sample parameter\n                            * @returns JSON-ed simple object\n                            */\n                            AngularController.prototype.ReturningObjectWithParameters = function (echo) {\n                                var params = { 'echo': echo };\n                                return this.http.post('/Angular/ReturningObjectWithParameters', params)\n                                    .then(function (response) { response.data['requestParams'] = params; return response.data; });\n                            };\n                            /**\n                            * Controller action that does not return anything but consumes object as parameter\n                            *\n                            * @param model Object parameter\n                            * @returns Nothing\n                            */\n                            AngularController.prototype.VoidMethodWithParameters = function (model) {\n                                var params = { 'model': model };\n                                return this.http.post('/Angular/VoidMethodWithParameters', params)\n                                    .then(function (response) { response.data['requestParams'] = params; return response.data; });\n                            };\n                            return AngularController;\n                        }());\n                        Controllers.AngularController = AngularController;\n                    })(Controllers = CodeGenerators.Controllers || (CodeGenerators.Controllers = {}));\n                })(CodeGenerators = Difficult.CodeGenerators || (Difficult.CodeGenerators = {}));\n            })(Difficult = Samples.Difficult || (Samples.Difficult = {}));\n        })(Samples = Typings.Samples || (Typings.Samples = {}));\n    })(Typings = Reinforced.Typings || (Reinforced.Typings = {}));\n})(Reinforced || (Reinforced = {}));\n//# sourceMappingURL=AngularController.js.map"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/ReinforcedTypings/Generated/AngularController.ts",
    "content": "//     This code was generated by a Reinforced.Typings tool. \n//     Changes to this file may cause incorrect behavior and will be lost if\n//     the code is regenerated.\n\n///<reference path=\"models.ts\"/>\n\nmodule Reinforced.Typings.Samples.Difficult.CodeGenerators.Controllers {\n\tif (window['app']) window['app'].factory('Api.AngularController', ['$http', ($http: angular.IHttpService) => new AngularController($http)]);\n\t/** Result of AngularControllerGenerator activity */\n\texport class AngularController\n\t{\n\t\tconstructor ($http: angular.IHttpService)\n\t\t{\n\t\t\tthis.http = $http;\n\t\t}\n\t\t/**\n\t\t* Simple controller action that returns integer method\n\t\t*\n\t\t* @returns JSON-ed random integer value\n\t\t*/\n\t\tpublic SimpleIntMethod() : angular.IPromise<number>\n\t\t{\n\t\t\tvar params = {  };\n\t\t\treturn this.http.post('/Angular/SimpleIntMethod', params)\n\t\t\t    .then((response) => { response.data['requestParams'] = params; return response.data; });\n\t\t}\n\t\t/**\n\t\t* Controller action that returns\n\t\t*\n\t\t* @param num Number value\n\t\t* @param s String value\n\t\t* @param boolValue Boolean value\n\t\t* @returns JSON-ed string containing concatenated values\n\t\t*/\n\t\tpublic MethodWithParameters(num: number, s: string, boolValue: boolean) : angular.IPromise<string>\n\t\t{\n\t\t\tvar params = { 'num': num, 's': s, 'boolValue': boolValue };\n\t\t\treturn this.http.post('/Angular/MethodWithParameters', params)\n\t\t\t    .then((response) => { response.data['requestParams'] = params; return response.data; });\n\t\t}\n\t\t/**\n\t\t* Controller action that returns our simple object\n\t\t*\n\t\t* @returns JSON-ed simple object\n\t\t*/\n\t\tpublic ReturningObject() : angular.IPromise<Reinforced.Typings.Samples.Difficult.CodeGenerators.Models.ISampleResponseModel>\n\t\t{\n\t\t\tvar params = {  };\n\t\t\treturn this.http.post('/Angular/ReturningObject', params)\n\t\t\t    .then((response) => { response.data['requestParams'] = params; return response.data; });\n\t\t}\n\t\t/**\n\t\t* Controller action that returns our simple object and consimes parameters\n\t\t*\n\t\t* @param echo Sample parameter\n\t\t* @returns JSON-ed simple object\n\t\t*/\n\t\tpublic ReturningObjectWithParameters(echo: string) : angular.IPromise<Reinforced.Typings.Samples.Difficult.CodeGenerators.Models.ISampleResponseModel>\n\t\t{\n\t\t\tvar params = { 'echo': echo };\n\t\t\treturn this.http.post('/Angular/ReturningObjectWithParameters', params)\n\t\t\t    .then((response) => { response.data['requestParams'] = params; return response.data; });\n\t\t}\n\t\t/**\n\t\t* Controller action that does not return anything but consumes object as parameter\n\t\t*\n\t\t* @param model Object parameter\n\t\t* @returns Nothing\n\t\t*/\n\t\tpublic VoidMethodWithParameters(model: Reinforced.Typings.Samples.Difficult.CodeGenerators.Models.ISampleResponseModel) : angular.IPromise<any>\n\t\t{\n\t\t\tvar params = { 'model': model };\n\t\t\treturn this.http.post('/Angular/VoidMethodWithParameters', params)\n\t\t\t    .then((response) => { response.data['requestParams'] = params; return response.data; });\n\t\t}\n\t\t/** Keeps $http instance received on construction */\n\t\tprivate http: angular.IHttpService;\n\t}\n}\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/ReinforcedTypings/Generated/JQueryController.js",
    "content": "//     This code was generated by a Reinforced.Typings tool. \n//     Changes to this file may cause incorrect behavior and will be lost if\n//     the code is regenerated.\n///<reference path=\"models.ts\"/>\nvar Reinforced;\n(function (Reinforced) {\n    var Typings;\n    (function (Typings) {\n        var Samples;\n        (function (Samples) {\n            var Difficult;\n            (function (Difficult) {\n                var CodeGenerators;\n                (function (CodeGenerators) {\n                    var Controllers;\n                    (function (Controllers) {\n                        /** Our sample controller for testing queries made through jQuery */\n                        var JQueryController = (function () {\n                            function JQueryController() {\n                            }\n                            /** Wrapper method for call SimpleIntMethod of JQueryController */\n                            JQueryController.SimpleIntMethod = function (loadingPlaceholderSelector, disableElement) {\n                                if (loadingPlaceholderSelector === void 0) { loadingPlaceholderSelector = ''; }\n                                if (disableElement === void 0) { disableElement = ''; }\n                                return QueryController.query('/JQuery/SimpleIntMethod', {}, loadingPlaceholderSelector, disableElement);\n                            };\n                            /** Wrapper method for call MethodWithParameters of JQueryController */\n                            JQueryController.MethodWithParameters = function (num, s, boolValue, loadingPlaceholderSelector, disableElement) {\n                                if (loadingPlaceholderSelector === void 0) { loadingPlaceholderSelector = ''; }\n                                if (disableElement === void 0) { disableElement = ''; }\n                                return QueryController.query('/JQuery/MethodWithParameters', { 'num': num, 's': s, 'boolValue': boolValue }, loadingPlaceholderSelector, disableElement);\n                            };\n                            /** Wrapper method for call ReturningObject of JQueryController */\n                            JQueryController.ReturningObject = function (loadingPlaceholderSelector, disableElement) {\n                                if (loadingPlaceholderSelector === void 0) { loadingPlaceholderSelector = ''; }\n                                if (disableElement === void 0) { disableElement = ''; }\n                                return QueryController.query('/JQuery/ReturningObject', {}, loadingPlaceholderSelector, disableElement);\n                            };\n                            /** Wrapper method for call ReturningObjectWithParameters of JQueryController */\n                            JQueryController.ReturningObjectWithParameters = function (echo, loadingPlaceholderSelector, disableElement) {\n                                if (loadingPlaceholderSelector === void 0) { loadingPlaceholderSelector = ''; }\n                                if (disableElement === void 0) { disableElement = ''; }\n                                return QueryController.query('/JQuery/ReturningObjectWithParameters', { 'echo': echo }, loadingPlaceholderSelector, disableElement);\n                            };\n                            /** Wrapper method for call VoidMethodWithParameters of JQueryController */\n                            JQueryController.VoidMethodWithParameters = function (model, loadingPlaceholderSelector, disableElement) {\n                                if (loadingPlaceholderSelector === void 0) { loadingPlaceholderSelector = ''; }\n                                if (disableElement === void 0) { disableElement = ''; }\n                                return QueryController.query('/JQuery/VoidMethodWithParameters', { 'model': model }, loadingPlaceholderSelector, disableElement);\n                            };\n                            return JQueryController;\n                        }());\n                        Controllers.JQueryController = JQueryController;\n                    })(Controllers = CodeGenerators.Controllers || (CodeGenerators.Controllers = {}));\n                })(CodeGenerators = Difficult.CodeGenerators || (Difficult.CodeGenerators = {}));\n            })(Difficult = Samples.Difficult || (Samples.Difficult = {}));\n        })(Samples = Typings.Samples || (Typings.Samples = {}));\n    })(Typings = Reinforced.Typings || (Reinforced.Typings = {}));\n})(Reinforced || (Reinforced = {}));\n//# sourceMappingURL=JQueryController.js.map"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/ReinforcedTypings/Generated/JQueryController.ts",
    "content": "//     This code was generated by a Reinforced.Typings tool. \n//     Changes to this file may cause incorrect behavior and will be lost if\n//     the code is regenerated.\n\n///<reference path=\"models.ts\"/>\n\nmodule Reinforced.Typings.Samples.Difficult.CodeGenerators.Controllers {\n\t/** Our sample controller for testing queries made through jQuery */\n\texport class JQueryController\n\t{\n\t\t/** Wrapper method for call SimpleIntMethod of JQueryController */\n\t\tpublic static SimpleIntMethod(loadingPlaceholderSelector: string = '', disableElement: string = '') : JQueryPromise<number>\n\t\t{\n\t\t\treturn QueryController.query<number>(\n\t\t\t        '/JQuery/SimpleIntMethod', \n\t\t\t        {  }, \n\t\t\t        loadingPlaceholderSelector,\n\t\t\t        disableElement\n\t\t\t    );\n\t\t}\n\t\t/** Wrapper method for call MethodWithParameters of JQueryController */\n\t\tpublic static MethodWithParameters(num: number, s: string, boolValue: boolean, loadingPlaceholderSelector: string = '', disableElement: string = '') : JQueryPromise<string>\n\t\t{\n\t\t\treturn QueryController.query<string>(\n\t\t\t        '/JQuery/MethodWithParameters', \n\t\t\t        { 'num': num, 's': s, 'boolValue': boolValue }, \n\t\t\t        loadingPlaceholderSelector,\n\t\t\t        disableElement\n\t\t\t    );\n\t\t}\n\t\t/** Wrapper method for call ReturningObject of JQueryController */\n\t\tpublic static ReturningObject(loadingPlaceholderSelector: string = '', disableElement: string = '') : JQueryPromise<Reinforced.Typings.Samples.Difficult.CodeGenerators.Models.ISampleResponseModel>\n\t\t{\n\t\t\treturn QueryController.query<Reinforced.Typings.Samples.Difficult.CodeGenerators.Models.ISampleResponseModel>(\n\t\t\t        '/JQuery/ReturningObject', \n\t\t\t        {  }, \n\t\t\t        loadingPlaceholderSelector,\n\t\t\t        disableElement\n\t\t\t    );\n\t\t}\n\t\t/** Wrapper method for call ReturningObjectWithParameters of JQueryController */\n\t\tpublic static ReturningObjectWithParameters(echo: string, loadingPlaceholderSelector: string = '', disableElement: string = '') : JQueryPromise<Reinforced.Typings.Samples.Difficult.CodeGenerators.Models.ISampleResponseModel>\n\t\t{\n\t\t\treturn QueryController.query<Reinforced.Typings.Samples.Difficult.CodeGenerators.Models.ISampleResponseModel>(\n\t\t\t        '/JQuery/ReturningObjectWithParameters', \n\t\t\t        { 'echo': echo }, \n\t\t\t        loadingPlaceholderSelector,\n\t\t\t        disableElement\n\t\t\t    );\n\t\t}\n\t\t/** Wrapper method for call VoidMethodWithParameters of JQueryController */\n\t\tpublic static VoidMethodWithParameters(model: Reinforced.Typings.Samples.Difficult.CodeGenerators.Models.ISampleResponseModel, loadingPlaceholderSelector: string = '', disableElement: string = '') : JQueryPromise<any>\n\t\t{\n\t\t\treturn QueryController.query<any>(\n\t\t\t        '/JQuery/VoidMethodWithParameters', \n\t\t\t        { 'model': model }, \n\t\t\t        loadingPlaceholderSelector,\n\t\t\t        disableElement\n\t\t\t    );\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/ReinforcedTypings/Generated/models.js",
    "content": "//     This code was generated by a Reinforced.Typings tool. \n//     Changes to this file may cause incorrect behavior and will be lost if\n//     the code is regenerated.\n//# sourceMappingURL=models.js.map"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/ReinforcedTypings/Generated/models.ts",
    "content": "//     This code was generated by a Reinforced.Typings tool. \n//     Changes to this file may cause incorrect behavior and will be lost if\n//     the code is regenerated.\n\nmodule Reinforced.Typings.Samples.Difficult.CodeGenerators.Models {\n\t/** Sample model that we will use for tests */\n\texport interface ISampleResponseModel\n\t{\n\t\t/** String property - message */\n\t\tMessage: string;\n\t\t/** Boolean flag */\n\t\tSuccess: boolean;\n\t\t/** String containing date */\n\t\tCurrentTime: string;\n\t}\n}\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/ReinforcedTypings/GeneratedTypings.js",
    "content": "//     This code was generated by a Reinforced.Typings tool. \n//     Changes to this file may cause incorrect behavior and will be lost if\n//     the code is regenerated.\nvar Reinforced;\n(function (Reinforced) {\n    var Typings;\n    (function (Typings) {\n        var Samples;\n        (function (Samples) {\n            var Difficult;\n            (function (Difficult) {\n                var CodeGenerators;\n                (function (CodeGenerators) {\n                    var Controllers;\n                    (function (Controllers) {\n                        /** Our sample controller for testing queries made through jQuery */\n                        var JQueryController = (function () {\n                            function JQueryController() {\n                            }\n                            /** Wrapper method for call SimpleIntMethod of JQueryController */\n                            JQueryController.SimpleIntMethod = function (loadingPlaceholderSelector, disableElement) {\n                                if (loadingPlaceholderSelector === void 0) { loadingPlaceholderSelector = ''; }\n                                if (disableElement === void 0) { disableElement = ''; }\n                                return QueryController.query('/JQuery/SimpleIntMethod', {}, loadingPlaceholderSelector, disableElement);\n                            };\n                            /** Wrapper method for call MethodWithParameters of JQueryController */\n                            JQueryController.MethodWithParameters = function (num, s, boolValue, loadingPlaceholderSelector, disableElement) {\n                                if (loadingPlaceholderSelector === void 0) { loadingPlaceholderSelector = ''; }\n                                if (disableElement === void 0) { disableElement = ''; }\n                                return QueryController.query('/JQuery/MethodWithParameters', { 'num': num, 's': s, 'boolValue': boolValue }, loadingPlaceholderSelector, disableElement);\n                            };\n                            /** Wrapper method for call ReturningObject of JQueryController */\n                            JQueryController.ReturningObject = function (loadingPlaceholderSelector, disableElement) {\n                                if (loadingPlaceholderSelector === void 0) { loadingPlaceholderSelector = ''; }\n                                if (disableElement === void 0) { disableElement = ''; }\n                                return QueryController.query('/JQuery/ReturningObject', {}, loadingPlaceholderSelector, disableElement);\n                            };\n                            /** Wrapper method for call ReturningObjectWithParameters of JQueryController */\n                            JQueryController.ReturningObjectWithParameters = function (echo, loadingPlaceholderSelector, disableElement) {\n                                if (loadingPlaceholderSelector === void 0) { loadingPlaceholderSelector = ''; }\n                                if (disableElement === void 0) { disableElement = ''; }\n                                return QueryController.query('/JQuery/ReturningObjectWithParameters', { 'echo': echo }, loadingPlaceholderSelector, disableElement);\n                            };\n                            /** Wrapper method for call VoidMethodWithParameters of JQueryController */\n                            JQueryController.VoidMethodWithParameters = function (model, loadingPlaceholderSelector, disableElement) {\n                                if (loadingPlaceholderSelector === void 0) { loadingPlaceholderSelector = ''; }\n                                if (disableElement === void 0) { disableElement = ''; }\n                                return QueryController.query('/JQuery/VoidMethodWithParameters', { 'model': model }, loadingPlaceholderSelector, disableElement);\n                            };\n                            return JQueryController;\n                        }());\n                        Controllers.JQueryController = JQueryController;\n                        if (window['app'])\n                            window['app'].factory('Api.AngularController', ['$http', function ($http) { return new AngularController($http); }]);\n                        /** Result of AngularControllerGenerator activity */\n                        var AngularController = (function () {\n                            function AngularController($http) {\n                                this.http = $http;\n                            }\n                            /**\n                            * Simple controller action that returns integer method\n                            *\n                            * @returns JSON-ed random integer value\n                            */\n                            AngularController.prototype.SimpleIntMethod = function () {\n                                var params = {};\n                                return this.http.post('/Angular/SimpleIntMethod', params)\n                                    .then(function (response) { response.data['requestParams'] = params; return response.data; });\n                            };\n                            /**\n                            * Controller action that returns\n                            *\n                            * @param num Number value\n                            * @param s String value\n                            * @param boolValue Boolean value\n                            * @returns JSON-ed string containing concatenated values\n                            */\n                            AngularController.prototype.MethodWithParameters = function (num, s, boolValue) {\n                                var params = { 'num': num, 's': s, 'boolValue': boolValue };\n                                return this.http.post('/Angular/MethodWithParameters', params)\n                                    .then(function (response) { response.data['requestParams'] = params; return response.data; });\n                            };\n                            /**\n                            * Controller action that returns our simple object\n                            *\n                            * @returns JSON-ed simple object\n                            */\n                            AngularController.prototype.ReturningObject = function () {\n                                var params = {};\n                                return this.http.post('/Angular/ReturningObject', params)\n                                    .then(function (response) { response.data['requestParams'] = params; return response.data; });\n                            };\n                            /**\n                            * Controller action that returns our simple object and consimes parameters\n                            *\n                            * @param echo Sample parameter\n                            * @returns JSON-ed simple object\n                            */\n                            AngularController.prototype.ReturningObjectWithParameters = function (echo) {\n                                var params = { 'echo': echo };\n                                return this.http.post('/Angular/ReturningObjectWithParameters', params)\n                                    .then(function (response) { response.data['requestParams'] = params; return response.data; });\n                            };\n                            /**\n                            * Controller action that does not return anything but consumes object as parameter\n                            *\n                            * @param model Object parameter\n                            * @returns Nothing\n                            */\n                            AngularController.prototype.VoidMethodWithParameters = function (model) {\n                                var params = { 'model': model };\n                                return this.http.post('/Angular/VoidMethodWithParameters', params)\n                                    .then(function (response) { response.data['requestParams'] = params; return response.data; });\n                            };\n                            return AngularController;\n                        }());\n                        Controllers.AngularController = AngularController;\n                    })(Controllers = CodeGenerators.Controllers || (CodeGenerators.Controllers = {}));\n                })(CodeGenerators = Difficult.CodeGenerators || (Difficult.CodeGenerators = {}));\n            })(Difficult = Samples.Difficult || (Samples.Difficult = {}));\n        })(Samples = Typings.Samples || (Typings.Samples = {}));\n    })(Typings = Reinforced.Typings || (Reinforced.Typings = {}));\n})(Reinforced || (Reinforced = {}));\n//# sourceMappingURL=GeneratedTypings.js.map"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/ReinforcedTypings/IndexPage.js",
    "content": "var Reinforced;\n(function (Reinforced) {\n    var Typings;\n    (function (Typings) {\n        var Samples;\n        (function (Samples) {\n            var Difficult;\n            (function (Difficult) {\n                var CodeGenerators;\n                (function (CodeGenerators) {\n                    var Pages;\n                    (function (Pages) {\n                        var JQueryController = Reinforced.Typings.Samples.Difficult.CodeGenerators.Controllers.JQueryController;\n                        var IndexPage = (function () {\n                            function IndexPage() {\n                                $('#btnSimpleInt').click(this.btnSimpleIntClick.bind(this));\n                                $('#btnMethodWithParameters').click(this.btnMethodWithParametersClick.bind(this));\n                                $('#btnReturningObject').click(this.btnReturningObjectClick.bind(this));\n                                $('#btnReturningObjectWithParameters').click(this.btnReturningObjectWithParametersClick.bind(this));\n                                $('#btnVoidMethodWithParameters').click(this.btnVoidMethodWithParametersClick.bind(this));\n                            }\n                            IndexPage.prototype.btnSimpleIntClick = function () {\n                                JQueryController.SimpleIntMethod('#loading', '#btnSimpleInt')\n                                    .then(function (r) { return $('#result').html('Server tells us ' + r); });\n                            };\n                            IndexPage.prototype.btnMethodWithParametersClick = function () {\n                                JQueryController.MethodWithParameters(Math.random(), 'string' + Math.random(), Math.random() > 0.5, '#loading', '#btnMethodWithParameters')\n                                    .then(function (r) {\n                                    $('#result').html(r);\n                                });\n                            };\n                            IndexPage.prototype.btnReturningObjectClick = function () {\n                                JQueryController.ReturningObject('#loading', '#btnReturningObject')\n                                    .then(function (r) {\n                                    var s = \"<pre> { <br/>\";\n                                    for (var key in r) {\n                                        s += \"  \" + key + \": \" + r[key] + \",\\n\";\n                                    }\n                                    s += '} </pre>';\n                                    $('#result').html(s);\n                                });\n                            };\n                            IndexPage.prototype.btnReturningObjectWithParametersClick = function () {\n                                var str = 'Random number: ' + Math.random() * 100;\n                                JQueryController.ReturningObjectWithParameters(str, '#loading', '#btnReturningObjectWithParameters')\n                                    .then(function (r) {\n                                    var s = \"<pre> { <br/>\";\n                                    for (var key in r) {\n                                        s += \"  \" + key + \": \" + r[key] + \",\\n\";\n                                    }\n                                    s += '} </pre>';\n                                    $('#result').html(s);\n                                });\n                            };\n                            IndexPage.prototype.btnVoidMethodWithParametersClick = function () {\n                                JQueryController.VoidMethodWithParameters({\n                                    Message: 'Hello',\n                                    Success: true,\n                                    CurrentTime: null\n                                }, '#loading', '#btnVoidMethodWithParameters')\n                                    .then(function () {\n                                    $('#result').html('Void method executed but it does not return result');\n                                });\n                            };\n                            return IndexPage;\n                        }());\n                        Pages.IndexPage = IndexPage;\n                    })(Pages = CodeGenerators.Pages || (CodeGenerators.Pages = {}));\n                })(CodeGenerators = Difficult.CodeGenerators || (Difficult.CodeGenerators = {}));\n            })(Difficult = Samples.Difficult || (Samples.Difficult = {}));\n        })(Samples = Typings.Samples || (Typings.Samples = {}));\n    })(Typings = Reinforced.Typings || (Reinforced.Typings = {}));\n})(Reinforced || (Reinforced = {}));\n//# sourceMappingURL=IndexPage.js.map"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/ReinforcedTypings/IndexPage.ts",
    "content": "﻿module Reinforced.Typings.Samples.Difficult.CodeGenerators.Pages {\n    import JQueryController = Reinforced.Typings.Samples.Difficult.CodeGenerators.Controllers.JQueryController;\n\n    export class IndexPage {\n        constructor() {\n            $('#btnSimpleInt').click(this.btnSimpleIntClick.bind(this));\n            $('#btnMethodWithParameters').click(this.btnMethodWithParametersClick.bind(this));\n            $('#btnReturningObject').click(this.btnReturningObjectClick.bind(this));\n            $('#btnReturningObjectWithParameters').click(this.btnReturningObjectWithParametersClick.bind(this));\n            $('#btnVoidMethodWithParameters').click(this.btnVoidMethodWithParametersClick.bind(this));\n        }\n\n        private btnSimpleIntClick() {\n            JQueryController.SimpleIntMethod('#loading', '#btnSimpleInt')\n                .then(r => $('#result').html('Server tells us ' + r));\n        }\n\n        private btnMethodWithParametersClick() {\n            JQueryController.MethodWithParameters(Math.random(), 'string' + Math.random(), Math.random() > 0.5, '#loading', '#btnMethodWithParameters')\n                .then(r => {\n                $('#result').html(r);\n            });\n        }\n\n        private btnReturningObjectClick() {\n            JQueryController.ReturningObject('#loading', '#btnReturningObject')\n                .then(r => {\n                var s = \"<pre> { <br/>\";\n                for (var key in r) {\n                    s += `  ${key}: ${r[key]},\\n`;\n                }\n                s += '} </pre>';\n                $('#result').html(s);\n            });\n        }\n\n        private btnReturningObjectWithParametersClick() {\n            var str = 'Random number: ' + Math.random() * 100;\n            JQueryController.ReturningObjectWithParameters(str, '#loading', '#btnReturningObjectWithParameters')\n                .then(r => {\n                var s = \"<pre> { <br/>\";\n                for (var key in r) {\n                    s += `  ${key}: ${r[key]},\\n`;\n                }\n                s += '} </pre>';\n                $('#result').html(s);\n            });\n        }\n\n        private btnVoidMethodWithParametersClick() {\n            JQueryController.VoidMethodWithParameters({\n                Message: 'Hello',\n                Success: true,\n                CurrentTime: null\n            }, '#loading', '#btnVoidMethodWithParameters')\n                .then(() => {\n                $('#result').html('Void method executed but it does not return result');\n            });\n        }\n    }\n} "
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/ReinforcedTypings/app.js",
    "content": "/// <reference path=\"../typings/angularjs/angular.d.ts\"/>\nvar app = angular.module('app', []);\n//# sourceMappingURL=app.js.map"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/ReinforcedTypings/app.ts",
    "content": "﻿/// <reference path=\"../typings/angularjs/angular.d.ts\"/>\n\nvar app = angular.module('app', []);"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/ReinforcedTypings/query.js",
    "content": "/**\n * Simple intermediate class for jQuery to easily perform AJAX requests with disabling elements\n */\nvar QueryController = (function () {\n    function QueryController() {\n    }\n    /**\n     * Main query method that we will use to perform AJAX calls from jQuery middleware controller\n     * @param url URL to query\n     * @param data Data to send\n     * @param progressSelector Element selector to add progress indicator to\n     * @param disableSelector Selector of element that is needed to be disabled while request\n     */\n    QueryController.query = function (url, data, progressSelector, disableSelector) {\n        if (disableSelector === void 0) { disableSelector = ''; }\n        var promise = jQuery.Deferred();\n        var query = {\n            data: JSON.stringify(data),\n            type: 'post',\n            dataType: 'json',\n            contentType: 'application/json',\n            timeout: 9000000,\n            traditional: false,\n            complete: function () {\n                if (progressSelector && progressSelector.length > 0) {\n                    $(progressSelector).find('i[data-role=\"progressContainer\"]').remove();\n                }\n                if (disableSelector && disableSelector.length > 0) {\n                    $(disableSelector).prop('disabled', false);\n                }\n            },\n            success: function (response) {\n                promise.resolve(response);\n            },\n            error: function (request, status, error) {\n                promise.reject({ Success: false, Message: error.toString(), Data: error });\n            }\n        };\n        if (progressSelector && progressSelector.length > 0) {\n            $(progressSelector).append('<i data-role=\"progressContainer\"> <span class=\"glyphicon glyphicon-cd spin\"></span> Loading ... </i>');\n        }\n        if (disableSelector && disableSelector.length > 0) {\n            $(disableSelector).prop('disabled', true);\n        }\n        $.ajax(url, query);\n        return promise;\n    };\n    return QueryController;\n}());\n//# sourceMappingURL=query.js.map"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/ReinforcedTypings/query.ts",
    "content": "﻿/**\n * Simple intermediate class for jQuery to easily perform AJAX requests with disabling elements\n */\nclass QueryController {\n    /**\n     * Main query method that we will use to perform AJAX calls from jQuery middleware controller\n     * @param url URL to query\n     * @param data Data to send\n     * @param progressSelector Element selector to add progress indicator to\n     * @param disableSelector Selector of element that is needed to be disabled while request\n     */\n    public static query<T>(url: string, data: any, progressSelector: string, disableSelector:string = ''): JQueryPromise<T> {\n        var promise = jQuery.Deferred();\n        var query = {\n            data: JSON.stringify(data),\n            type: 'post',\n            dataType: 'json',\n            contentType:'application/json',\n            timeout: 9000000,\n            traditional: false,\n            complete: () => {\n                if (progressSelector && progressSelector.length > 0) {\n                    $(progressSelector).find('i[data-role=\"progressContainer\"]').remove();\n                }\n                if (disableSelector && disableSelector.length > 0) {\n                    $(disableSelector).prop('disabled', false);\n                }\n            },\n            success: (response: T) => {\n                promise.resolve(response);\n            },\n            error: (request, status, error) => {\n                promise.reject({ Success: false, Message: error.toString(), Data: error });\n            }\n        };\n\n        if (progressSelector && progressSelector.length > 0) {\n            $(progressSelector).append('<i data-role=\"progressContainer\"> <span class=\"glyphicon glyphicon-cd spin\"></span> Loading ... </i>');\n        }\n\n        if (disableSelector && disableSelector.length > 0) {\n            $(disableSelector).prop('disabled',true);\n        }\n\n        $.ajax(url,<any>query);\n        return promise;\n    }\n} "
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/angular-animate.js",
    "content": "/**\n * @license AngularJS v1.4.8\n * (c) 2010-2015 Google, Inc. http://angularjs.org\n * License: MIT\n */\n(function(window, angular, undefined) {'use strict';\n\n/* jshint ignore:start */\nvar noop        = angular.noop;\nvar extend      = angular.extend;\nvar jqLite      = angular.element;\nvar forEach     = angular.forEach;\nvar isArray     = angular.isArray;\nvar isString    = angular.isString;\nvar isObject    = angular.isObject;\nvar isUndefined = angular.isUndefined;\nvar isDefined   = angular.isDefined;\nvar isFunction  = angular.isFunction;\nvar isElement   = angular.isElement;\n\nvar ELEMENT_NODE = 1;\nvar COMMENT_NODE = 8;\n\nvar ADD_CLASS_SUFFIX = '-add';\nvar REMOVE_CLASS_SUFFIX = '-remove';\nvar EVENT_CLASS_PREFIX = 'ng-';\nvar ACTIVE_CLASS_SUFFIX = '-active';\n\nvar NG_ANIMATE_CLASSNAME = 'ng-animate';\nvar NG_ANIMATE_CHILDREN_DATA = '$$ngAnimateChildren';\n\n// Detect proper transitionend/animationend event names.\nvar CSS_PREFIX = '', TRANSITION_PROP, TRANSITIONEND_EVENT, ANIMATION_PROP, ANIMATIONEND_EVENT;\n\n// If unprefixed events are not supported but webkit-prefixed are, use the latter.\n// Otherwise, just use W3C names, browsers not supporting them at all will just ignore them.\n// Note: Chrome implements `window.onwebkitanimationend` and doesn't implement `window.onanimationend`\n// but at the same time dispatches the `animationend` event and not `webkitAnimationEnd`.\n// Register both events in case `window.onanimationend` is not supported because of that,\n// do the same for `transitionend` as Safari is likely to exhibit similar behavior.\n// Also, the only modern browser that uses vendor prefixes for transitions/keyframes is webkit\n// therefore there is no reason to test anymore for other vendor prefixes:\n// http://caniuse.com/#search=transition\nif (isUndefined(window.ontransitionend) && isDefined(window.onwebkittransitionend)) {\n  CSS_PREFIX = '-webkit-';\n  TRANSITION_PROP = 'WebkitTransition';\n  TRANSITIONEND_EVENT = 'webkitTransitionEnd transitionend';\n} else {\n  TRANSITION_PROP = 'transition';\n  TRANSITIONEND_EVENT = 'transitionend';\n}\n\nif (isUndefined(window.onanimationend) && isDefined(window.onwebkitanimationend)) {\n  CSS_PREFIX = '-webkit-';\n  ANIMATION_PROP = 'WebkitAnimation';\n  ANIMATIONEND_EVENT = 'webkitAnimationEnd animationend';\n} else {\n  ANIMATION_PROP = 'animation';\n  ANIMATIONEND_EVENT = 'animationend';\n}\n\nvar DURATION_KEY = 'Duration';\nvar PROPERTY_KEY = 'Property';\nvar DELAY_KEY = 'Delay';\nvar TIMING_KEY = 'TimingFunction';\nvar ANIMATION_ITERATION_COUNT_KEY = 'IterationCount';\nvar ANIMATION_PLAYSTATE_KEY = 'PlayState';\nvar SAFE_FAST_FORWARD_DURATION_VALUE = 9999;\n\nvar ANIMATION_DELAY_PROP = ANIMATION_PROP + DELAY_KEY;\nvar ANIMATION_DURATION_PROP = ANIMATION_PROP + DURATION_KEY;\nvar TRANSITION_DELAY_PROP = TRANSITION_PROP + DELAY_KEY;\nvar TRANSITION_DURATION_PROP = TRANSITION_PROP + DURATION_KEY;\n\nvar isPromiseLike = function(p) {\n  return p && p.then ? true : false;\n};\n\nfunction assertArg(arg, name, reason) {\n  if (!arg) {\n    throw ngMinErr('areq', \"Argument '{0}' is {1}\", (name || '?'), (reason || \"required\"));\n  }\n  return arg;\n}\n\nfunction mergeClasses(a,b) {\n  if (!a && !b) return '';\n  if (!a) return b;\n  if (!b) return a;\n  if (isArray(a)) a = a.join(' ');\n  if (isArray(b)) b = b.join(' ');\n  return a + ' ' + b;\n}\n\nfunction packageStyles(options) {\n  var styles = {};\n  if (options && (options.to || options.from)) {\n    styles.to = options.to;\n    styles.from = options.from;\n  }\n  return styles;\n}\n\nfunction pendClasses(classes, fix, isPrefix) {\n  var className = '';\n  classes = isArray(classes)\n      ? classes\n      : classes && isString(classes) && classes.length\n          ? classes.split(/\\s+/)\n          : [];\n  forEach(classes, function(klass, i) {\n    if (klass && klass.length > 0) {\n      className += (i > 0) ? ' ' : '';\n      className += isPrefix ? fix + klass\n                            : klass + fix;\n    }\n  });\n  return className;\n}\n\nfunction removeFromArray(arr, val) {\n  var index = arr.indexOf(val);\n  if (val >= 0) {\n    arr.splice(index, 1);\n  }\n}\n\nfunction stripCommentsFromElement(element) {\n  if (element instanceof jqLite) {\n    switch (element.length) {\n      case 0:\n        return [];\n        break;\n\n      case 1:\n        // there is no point of stripping anything if the element\n        // is the only element within the jqLite wrapper.\n        // (it's important that we retain the element instance.)\n        if (element[0].nodeType === ELEMENT_NODE) {\n          return element;\n        }\n        break;\n\n      default:\n        return jqLite(extractElementNode(element));\n        break;\n    }\n  }\n\n  if (element.nodeType === ELEMENT_NODE) {\n    return jqLite(element);\n  }\n}\n\nfunction extractElementNode(element) {\n  if (!element[0]) return element;\n  for (var i = 0; i < element.length; i++) {\n    var elm = element[i];\n    if (elm.nodeType == ELEMENT_NODE) {\n      return elm;\n    }\n  }\n}\n\nfunction $$addClass($$jqLite, element, className) {\n  forEach(element, function(elm) {\n    $$jqLite.addClass(elm, className);\n  });\n}\n\nfunction $$removeClass($$jqLite, element, className) {\n  forEach(element, function(elm) {\n    $$jqLite.removeClass(elm, className);\n  });\n}\n\nfunction applyAnimationClassesFactory($$jqLite) {\n  return function(element, options) {\n    if (options.addClass) {\n      $$addClass($$jqLite, element, options.addClass);\n      options.addClass = null;\n    }\n    if (options.removeClass) {\n      $$removeClass($$jqLite, element, options.removeClass);\n      options.removeClass = null;\n    }\n  }\n}\n\nfunction prepareAnimationOptions(options) {\n  options = options || {};\n  if (!options.$$prepared) {\n    var domOperation = options.domOperation || noop;\n    options.domOperation = function() {\n      options.$$domOperationFired = true;\n      domOperation();\n      domOperation = noop;\n    };\n    options.$$prepared = true;\n  }\n  return options;\n}\n\nfunction applyAnimationStyles(element, options) {\n  applyAnimationFromStyles(element, options);\n  applyAnimationToStyles(element, options);\n}\n\nfunction applyAnimationFromStyles(element, options) {\n  if (options.from) {\n    element.css(options.from);\n    options.from = null;\n  }\n}\n\nfunction applyAnimationToStyles(element, options) {\n  if (options.to) {\n    element.css(options.to);\n    options.to = null;\n  }\n}\n\nfunction mergeAnimationOptions(element, target, newOptions) {\n  var toAdd = (target.addClass || '') + ' ' + (newOptions.addClass || '');\n  var toRemove = (target.removeClass || '') + ' ' + (newOptions.removeClass || '');\n  var classes = resolveElementClasses(element.attr('class'), toAdd, toRemove);\n\n  if (newOptions.preparationClasses) {\n    target.preparationClasses = concatWithSpace(newOptions.preparationClasses, target.preparationClasses);\n    delete newOptions.preparationClasses;\n  }\n\n  // noop is basically when there is no callback; otherwise something has been set\n  var realDomOperation = target.domOperation !== noop ? target.domOperation : null;\n\n  extend(target, newOptions);\n\n  // TODO(matsko or sreeramu): proper fix is to maintain all animation callback in array and call at last,but now only leave has the callback so no issue with this.\n  if (realDomOperation) {\n    target.domOperation = realDomOperation;\n  }\n\n  if (classes.addClass) {\n    target.addClass = classes.addClass;\n  } else {\n    target.addClass = null;\n  }\n\n  if (classes.removeClass) {\n    target.removeClass = classes.removeClass;\n  } else {\n    target.removeClass = null;\n  }\n\n  return target;\n}\n\nfunction resolveElementClasses(existing, toAdd, toRemove) {\n  var ADD_CLASS = 1;\n  var REMOVE_CLASS = -1;\n\n  var flags = {};\n  existing = splitClassesToLookup(existing);\n\n  toAdd = splitClassesToLookup(toAdd);\n  forEach(toAdd, function(value, key) {\n    flags[key] = ADD_CLASS;\n  });\n\n  toRemove = splitClassesToLookup(toRemove);\n  forEach(toRemove, function(value, key) {\n    flags[key] = flags[key] === ADD_CLASS ? null : REMOVE_CLASS;\n  });\n\n  var classes = {\n    addClass: '',\n    removeClass: ''\n  };\n\n  forEach(flags, function(val, klass) {\n    var prop, allow;\n    if (val === ADD_CLASS) {\n      prop = 'addClass';\n      allow = !existing[klass];\n    } else if (val === REMOVE_CLASS) {\n      prop = 'removeClass';\n      allow = existing[klass];\n    }\n    if (allow) {\n      if (classes[prop].length) {\n        classes[prop] += ' ';\n      }\n      classes[prop] += klass;\n    }\n  });\n\n  function splitClassesToLookup(classes) {\n    if (isString(classes)) {\n      classes = classes.split(' ');\n    }\n\n    var obj = {};\n    forEach(classes, function(klass) {\n      // sometimes the split leaves empty string values\n      // incase extra spaces were applied to the options\n      if (klass.length) {\n        obj[klass] = true;\n      }\n    });\n    return obj;\n  }\n\n  return classes;\n}\n\nfunction getDomNode(element) {\n  return (element instanceof angular.element) ? element[0] : element;\n}\n\nfunction applyGeneratedPreparationClasses(element, event, options) {\n  var classes = '';\n  if (event) {\n    classes = pendClasses(event, EVENT_CLASS_PREFIX, true);\n  }\n  if (options.addClass) {\n    classes = concatWithSpace(classes, pendClasses(options.addClass, ADD_CLASS_SUFFIX));\n  }\n  if (options.removeClass) {\n    classes = concatWithSpace(classes, pendClasses(options.removeClass, REMOVE_CLASS_SUFFIX));\n  }\n  if (classes.length) {\n    options.preparationClasses = classes;\n    element.addClass(classes);\n  }\n}\n\nfunction clearGeneratedClasses(element, options) {\n  if (options.preparationClasses) {\n    element.removeClass(options.preparationClasses);\n    options.preparationClasses = null;\n  }\n  if (options.activeClasses) {\n    element.removeClass(options.activeClasses);\n    options.activeClasses = null;\n  }\n}\n\nfunction blockTransitions(node, duration) {\n  // we use a negative delay value since it performs blocking\n  // yet it doesn't kill any existing transitions running on the\n  // same element which makes this safe for class-based animations\n  var value = duration ? '-' + duration + 's' : '';\n  applyInlineStyle(node, [TRANSITION_DELAY_PROP, value]);\n  return [TRANSITION_DELAY_PROP, value];\n}\n\nfunction blockKeyframeAnimations(node, applyBlock) {\n  var value = applyBlock ? 'paused' : '';\n  var key = ANIMATION_PROP + ANIMATION_PLAYSTATE_KEY;\n  applyInlineStyle(node, [key, value]);\n  return [key, value];\n}\n\nfunction applyInlineStyle(node, styleTuple) {\n  var prop = styleTuple[0];\n  var value = styleTuple[1];\n  node.style[prop] = value;\n}\n\nfunction concatWithSpace(a,b) {\n  if (!a) return b;\n  if (!b) return a;\n  return a + ' ' + b;\n}\n\nvar $$rAFSchedulerFactory = ['$$rAF', function($$rAF) {\n  var queue, cancelFn;\n\n  function scheduler(tasks) {\n    // we make a copy since RAFScheduler mutates the state\n    // of the passed in array variable and this would be difficult\n    // to track down on the outside code\n    queue = queue.concat(tasks);\n    nextTick();\n  }\n\n  queue = scheduler.queue = [];\n\n  /* waitUntilQuiet does two things:\n   * 1. It will run the FINAL `fn` value only when an uncancelled RAF has passed through\n   * 2. It will delay the next wave of tasks from running until the quiet `fn` has run.\n   *\n   * The motivation here is that animation code can request more time from the scheduler\n   * before the next wave runs. This allows for certain DOM properties such as classes to\n   * be resolved in time for the next animation to run.\n   */\n  scheduler.waitUntilQuiet = function(fn) {\n    if (cancelFn) cancelFn();\n\n    cancelFn = $$rAF(function() {\n      cancelFn = null;\n      fn();\n      nextTick();\n    });\n  };\n\n  return scheduler;\n\n  function nextTick() {\n    if (!queue.length) return;\n\n    var items = queue.shift();\n    for (var i = 0; i < items.length; i++) {\n      items[i]();\n    }\n\n    if (!cancelFn) {\n      $$rAF(function() {\n        if (!cancelFn) nextTick();\n      });\n    }\n  }\n}];\n\nvar $$AnimateChildrenDirective = [function() {\n  return function(scope, element, attrs) {\n    var val = attrs.ngAnimateChildren;\n    if (angular.isString(val) && val.length === 0) { //empty attribute\n      element.data(NG_ANIMATE_CHILDREN_DATA, true);\n    } else {\n      attrs.$observe('ngAnimateChildren', function(value) {\n        value = value === 'on' || value === 'true';\n        element.data(NG_ANIMATE_CHILDREN_DATA, value);\n      });\n    }\n  };\n}];\n\nvar ANIMATE_TIMER_KEY = '$$animateCss';\n\n/**\n * @ngdoc service\n * @name $animateCss\n * @kind object\n *\n * @description\n * The `$animateCss` service is a useful utility to trigger customized CSS-based transitions/keyframes\n * from a JavaScript-based animation or directly from a directive. The purpose of `$animateCss` is NOT\n * to side-step how `$animate` and ngAnimate work, but the goal is to allow pre-existing animations or\n * directives to create more complex animations that can be purely driven using CSS code.\n *\n * Note that only browsers that support CSS transitions and/or keyframe animations are capable of\n * rendering animations triggered via `$animateCss` (bad news for IE9 and lower).\n *\n * ## Usage\n * Once again, `$animateCss` is designed to be used inside of a registered JavaScript animation that\n * is powered by ngAnimate. It is possible to use `$animateCss` directly inside of a directive, however,\n * any automatic control over cancelling animations and/or preventing animations from being run on\n * child elements will not be handled by Angular. For this to work as expected, please use `$animate` to\n * trigger the animation and then setup a JavaScript animation that injects `$animateCss` to trigger\n * the CSS animation.\n *\n * The example below shows how we can create a folding animation on an element using `ng-if`:\n *\n * ```html\n * <!-- notice the `fold-animation` CSS class -->\n * <div ng-if=\"onOff\" class=\"fold-animation\">\n *   This element will go BOOM\n * </div>\n * <button ng-click=\"onOff=true\">Fold In</button>\n * ```\n *\n * Now we create the **JavaScript animation** that will trigger the CSS transition:\n *\n * ```js\n * ngModule.animation('.fold-animation', ['$animateCss', function($animateCss) {\n *   return {\n *     enter: function(element, doneFn) {\n *       var height = element[0].offsetHeight;\n *       return $animateCss(element, {\n *         from: { height:'0px' },\n *         to: { height:height + 'px' },\n *         duration: 1 // one second\n *       });\n *     }\n *   }\n * }]);\n * ```\n *\n * ## More Advanced Uses\n *\n * `$animateCss` is the underlying code that ngAnimate uses to power **CSS-based animations** behind the scenes. Therefore CSS hooks\n * like `.ng-EVENT`, `.ng-EVENT-active`, `.ng-EVENT-stagger` are all features that can be triggered using `$animateCss` via JavaScript code.\n *\n * This also means that just about any combination of adding classes, removing classes, setting styles, dynamically setting a keyframe animation,\n * applying a hardcoded duration or delay value, changing the animation easing or applying a stagger animation are all options that work with\n * `$animateCss`. The service itself is smart enough to figure out the combination of options and examine the element styling properties in order\n * to provide a working animation that will run in CSS.\n *\n * The example below showcases a more advanced version of the `.fold-animation` from the example above:\n *\n * ```js\n * ngModule.animation('.fold-animation', ['$animateCss', function($animateCss) {\n *   return {\n *     enter: function(element, doneFn) {\n *       var height = element[0].offsetHeight;\n *       return $animateCss(element, {\n *         addClass: 'red large-text pulse-twice',\n *         easing: 'ease-out',\n *         from: { height:'0px' },\n *         to: { height:height + 'px' },\n *         duration: 1 // one second\n *       });\n *     }\n *   }\n * }]);\n * ```\n *\n * Since we're adding/removing CSS classes then the CSS transition will also pick those up:\n *\n * ```css\n * /&#42; since a hardcoded duration value of 1 was provided in the JavaScript animation code,\n * the CSS classes below will be transitioned despite them being defined as regular CSS classes &#42;/\n * .red { background:red; }\n * .large-text { font-size:20px; }\n *\n * /&#42; we can also use a keyframe animation and $animateCss will make it work alongside the transition &#42;/\n * .pulse-twice {\n *   animation: 0.5s pulse linear 2;\n *   -webkit-animation: 0.5s pulse linear 2;\n * }\n *\n * @keyframes pulse {\n *   from { transform: scale(0.5); }\n *   to { transform: scale(1.5); }\n * }\n *\n * @-webkit-keyframes pulse {\n *   from { -webkit-transform: scale(0.5); }\n *   to { -webkit-transform: scale(1.5); }\n * }\n * ```\n *\n * Given this complex combination of CSS classes, styles and options, `$animateCss` will figure everything out and make the animation happen.\n *\n * ## How the Options are handled\n *\n * `$animateCss` is very versatile and intelligent when it comes to figuring out what configurations to apply to the element to ensure the animation\n * works with the options provided. Say for example we were adding a class that contained a keyframe value and we wanted to also animate some inline\n * styles using the `from` and `to` properties.\n *\n * ```js\n * var animator = $animateCss(element, {\n *   from: { background:'red' },\n *   to: { background:'blue' }\n * });\n * animator.start();\n * ```\n *\n * ```css\n * .rotating-animation {\n *   animation:0.5s rotate linear;\n *   -webkit-animation:0.5s rotate linear;\n * }\n *\n * @keyframes rotate {\n *   from { transform: rotate(0deg); }\n *   to { transform: rotate(360deg); }\n * }\n *\n * @-webkit-keyframes rotate {\n *   from { -webkit-transform: rotate(0deg); }\n *   to { -webkit-transform: rotate(360deg); }\n * }\n * ```\n *\n * The missing pieces here are that we do not have a transition set (within the CSS code nor within the `$animateCss` options) and the duration of the animation is\n * going to be detected from what the keyframe styles on the CSS class are. In this event, `$animateCss` will automatically create an inline transition\n * style matching the duration detected from the keyframe style (which is present in the CSS class that is being added) and then prepare both the transition\n * and keyframe animations to run in parallel on the element. Then when the animation is underway the provided `from` and `to` CSS styles will be applied\n * and spread across the transition and keyframe animation.\n *\n * ## What is returned\n *\n * `$animateCss` works in two stages: a preparation phase and an animation phase. Therefore when `$animateCss` is first called it will NOT actually\n * start the animation. All that is going on here is that the element is being prepared for the animation (which means that the generated CSS classes are\n * added and removed on the element). Once `$animateCss` is called it will return an object with the following properties:\n *\n * ```js\n * var animator = $animateCss(element, { ... });\n * ```\n *\n * Now what do the contents of our `animator` variable look like:\n *\n * ```js\n * {\n *   // starts the animation\n *   start: Function,\n *\n *   // ends (aborts) the animation\n *   end: Function\n * }\n * ```\n *\n * To actually start the animation we need to run `animation.start()` which will then return a promise that we can hook into to detect when the animation ends.\n * If we choose not to run the animation then we MUST run `animation.end()` to perform a cleanup on the element (since some CSS classes and stlyes may have been\n * applied to the element during the preparation phase). Note that all other properties such as duration, delay, transitions and keyframes are just properties\n * and that changing them will not reconfigure the parameters of the animation.\n *\n * ### runner.done() vs runner.then()\n * It is documented that `animation.start()` will return a promise object and this is true, however, there is also an additional method available on the\n * runner called `.done(callbackFn)`. The done method works the same as `.finally(callbackFn)`, however, it does **not trigger a digest to occur**.\n * Therefore, for performance reasons, it's always best to use `runner.done(callback)` instead of `runner.then()`, `runner.catch()` or `runner.finally()`\n * unless you really need a digest to kick off afterwards.\n *\n * Keep in mind that, to make this easier, ngAnimate has tweaked the JS animations API to recognize when a runner instance is returned from $animateCss\n * (so there is no need to call `runner.done(doneFn)` inside of your JavaScript animation code).\n * Check the {@link ngAnimate.$animateCss#usage animation code above} to see how this works.\n *\n * @param {DOMElement} element the element that will be animated\n * @param {object} options the animation-related options that will be applied during the animation\n *\n * * `event` - The DOM event (e.g. enter, leave, move). When used, a generated CSS class of `ng-EVENT` and `ng-EVENT-active` will be applied\n * to the element during the animation. Multiple events can be provided when spaces are used as a separator. (Note that this will not perform any DOM operation.)\n * * `structural` - Indicates that the `ng-` prefix will be added to the event class. Setting to `false` or omitting will turn `ng-EVENT` and\n * `ng-EVENT-active` in `EVENT` and `EVENT-active`. Unused if `event` is omitted.\n * * `easing` - The CSS easing value that will be applied to the transition or keyframe animation (or both).\n * * `transitionStyle` - The raw CSS transition style that will be used (e.g. `1s linear all`).\n * * `keyframeStyle` - The raw CSS keyframe animation style that will be used (e.g. `1s my_animation linear`).\n * * `from` - The starting CSS styles (a key/value object) that will be applied at the start of the animation.\n * * `to` - The ending CSS styles (a key/value object) that will be applied across the animation via a CSS transition.\n * * `addClass` - A space separated list of CSS classes that will be added to the element and spread across the animation.\n * * `removeClass` - A space separated list of CSS classes that will be removed from the element and spread across the animation.\n * * `duration` - A number value representing the total duration of the transition and/or keyframe (note that a value of 1 is 1000ms). If a value of `0`\n * is provided then the animation will be skipped entirely.\n * * `delay` - A number value representing the total delay of the transition and/or keyframe (note that a value of 1 is 1000ms). If a value of `true` is\n * used then whatever delay value is detected from the CSS classes will be mirrored on the elements styles (e.g. by setting delay true then the style value\n * of the element will be `transition-delay: DETECTED_VALUE`). Using `true` is useful when you want the CSS classes and inline styles to all share the same\n * CSS delay value.\n * * `stagger` - A numeric time value representing the delay between successively animated elements\n * ({@link ngAnimate#css-staggering-animations Click here to learn how CSS-based staggering works in ngAnimate.})\n * * `staggerIndex` - The numeric index representing the stagger item (e.g. a value of 5 is equal to the sixth item in the stagger; therefore when a\n * * `stagger` option value of `0.1` is used then there will be a stagger delay of `600ms`)\n * * `applyClassesEarly` - Whether or not the classes being added or removed will be used when detecting the animation. This is set by `$animate` when enter/leave/move animations are fired to ensure that the CSS classes are resolved in time. (Note that this will prevent any transitions from occuring on the classes being added and removed.)\n * * `cleanupStyles` - Whether or not the provided `from` and `to` styles will be removed once\n *    the animation is closed. This is useful for when the styles are used purely for the sake of\n *    the animation and do not have a lasting visual effect on the element (e.g. a colapse and open animation).\n *    By default this value is set to `false`.\n *\n * @return {object} an object with start and end methods and details about the animation.\n *\n * * `start` - The method to start the animation. This will return a `Promise` when called.\n * * `end` - This method will cancel the animation and remove all applied CSS classes and styles.\n */\nvar ONE_SECOND = 1000;\nvar BASE_TEN = 10;\n\nvar ELAPSED_TIME_MAX_DECIMAL_PLACES = 3;\nvar CLOSING_TIME_BUFFER = 1.5;\n\nvar DETECT_CSS_PROPERTIES = {\n  transitionDuration:      TRANSITION_DURATION_PROP,\n  transitionDelay:         TRANSITION_DELAY_PROP,\n  transitionProperty:      TRANSITION_PROP + PROPERTY_KEY,\n  animationDuration:       ANIMATION_DURATION_PROP,\n  animationDelay:          ANIMATION_DELAY_PROP,\n  animationIterationCount: ANIMATION_PROP + ANIMATION_ITERATION_COUNT_KEY\n};\n\nvar DETECT_STAGGER_CSS_PROPERTIES = {\n  transitionDuration:      TRANSITION_DURATION_PROP,\n  transitionDelay:         TRANSITION_DELAY_PROP,\n  animationDuration:       ANIMATION_DURATION_PROP,\n  animationDelay:          ANIMATION_DELAY_PROP\n};\n\nfunction getCssKeyframeDurationStyle(duration) {\n  return [ANIMATION_DURATION_PROP, duration + 's'];\n}\n\nfunction getCssDelayStyle(delay, isKeyframeAnimation) {\n  var prop = isKeyframeAnimation ? ANIMATION_DELAY_PROP : TRANSITION_DELAY_PROP;\n  return [prop, delay + 's'];\n}\n\nfunction computeCssStyles($window, element, properties) {\n  var styles = Object.create(null);\n  var detectedStyles = $window.getComputedStyle(element) || {};\n  forEach(properties, function(formalStyleName, actualStyleName) {\n    var val = detectedStyles[formalStyleName];\n    if (val) {\n      var c = val.charAt(0);\n\n      // only numerical-based values have a negative sign or digit as the first value\n      if (c === '-' || c === '+' || c >= 0) {\n        val = parseMaxTime(val);\n      }\n\n      // by setting this to null in the event that the delay is not set or is set directly as 0\n      // then we can still allow for zegative values to be used later on and not mistake this\n      // value for being greater than any other negative value.\n      if (val === 0) {\n        val = null;\n      }\n      styles[actualStyleName] = val;\n    }\n  });\n\n  return styles;\n}\n\nfunction parseMaxTime(str) {\n  var maxValue = 0;\n  var values = str.split(/\\s*,\\s*/);\n  forEach(values, function(value) {\n    // it's always safe to consider only second values and omit `ms` values since\n    // getComputedStyle will always handle the conversion for us\n    if (value.charAt(value.length - 1) == 's') {\n      value = value.substring(0, value.length - 1);\n    }\n    value = parseFloat(value) || 0;\n    maxValue = maxValue ? Math.max(value, maxValue) : value;\n  });\n  return maxValue;\n}\n\nfunction truthyTimingValue(val) {\n  return val === 0 || val != null;\n}\n\nfunction getCssTransitionDurationStyle(duration, applyOnlyDuration) {\n  var style = TRANSITION_PROP;\n  var value = duration + 's';\n  if (applyOnlyDuration) {\n    style += DURATION_KEY;\n  } else {\n    value += ' linear all';\n  }\n  return [style, value];\n}\n\nfunction createLocalCacheLookup() {\n  var cache = Object.create(null);\n  return {\n    flush: function() {\n      cache = Object.create(null);\n    },\n\n    count: function(key) {\n      var entry = cache[key];\n      return entry ? entry.total : 0;\n    },\n\n    get: function(key) {\n      var entry = cache[key];\n      return entry && entry.value;\n    },\n\n    put: function(key, value) {\n      if (!cache[key]) {\n        cache[key] = { total: 1, value: value };\n      } else {\n        cache[key].total++;\n      }\n    }\n  };\n}\n\n// we do not reassign an already present style value since\n// if we detect the style property value again we may be\n// detecting styles that were added via the `from` styles.\n// We make use of `isDefined` here since an empty string\n// or null value (which is what getPropertyValue will return\n// for a non-existing style) will still be marked as a valid\n// value for the style (a falsy value implies that the style\n// is to be removed at the end of the animation). If we had a simple\n// \"OR\" statement then it would not be enough to catch that.\nfunction registerRestorableStyles(backup, node, properties) {\n  forEach(properties, function(prop) {\n    backup[prop] = isDefined(backup[prop])\n        ? backup[prop]\n        : node.style.getPropertyValue(prop);\n  });\n}\n\nvar $AnimateCssProvider = ['$animateProvider', function($animateProvider) {\n  var gcsLookup = createLocalCacheLookup();\n  var gcsStaggerLookup = createLocalCacheLookup();\n\n  this.$get = ['$window', '$$jqLite', '$$AnimateRunner', '$timeout',\n               '$$forceReflow', '$sniffer', '$$rAFScheduler', '$animate',\n       function($window,   $$jqLite,   $$AnimateRunner,   $timeout,\n                $$forceReflow,   $sniffer,   $$rAFScheduler, $animate) {\n\n    var applyAnimationClasses = applyAnimationClassesFactory($$jqLite);\n\n    var parentCounter = 0;\n    function gcsHashFn(node, extraClasses) {\n      var KEY = \"$$ngAnimateParentKey\";\n      var parentNode = node.parentNode;\n      var parentID = parentNode[KEY] || (parentNode[KEY] = ++parentCounter);\n      return parentID + '-' + node.getAttribute('class') + '-' + extraClasses;\n    }\n\n    function computeCachedCssStyles(node, className, cacheKey, properties) {\n      var timings = gcsLookup.get(cacheKey);\n\n      if (!timings) {\n        timings = computeCssStyles($window, node, properties);\n        if (timings.animationIterationCount === 'infinite') {\n          timings.animationIterationCount = 1;\n        }\n      }\n\n      // we keep putting this in multiple times even though the value and the cacheKey are the same\n      // because we're keeping an interal tally of how many duplicate animations are detected.\n      gcsLookup.put(cacheKey, timings);\n      return timings;\n    }\n\n    function computeCachedCssStaggerStyles(node, className, cacheKey, properties) {\n      var stagger;\n\n      // if we have one or more existing matches of matching elements\n      // containing the same parent + CSS styles (which is how cacheKey works)\n      // then staggering is possible\n      if (gcsLookup.count(cacheKey) > 0) {\n        stagger = gcsStaggerLookup.get(cacheKey);\n\n        if (!stagger) {\n          var staggerClassName = pendClasses(className, '-stagger');\n\n          $$jqLite.addClass(node, staggerClassName);\n\n          stagger = computeCssStyles($window, node, properties);\n\n          // force the conversion of a null value to zero incase not set\n          stagger.animationDuration = Math.max(stagger.animationDuration, 0);\n          stagger.transitionDuration = Math.max(stagger.transitionDuration, 0);\n\n          $$jqLite.removeClass(node, staggerClassName);\n\n          gcsStaggerLookup.put(cacheKey, stagger);\n        }\n      }\n\n      return stagger || {};\n    }\n\n    var cancelLastRAFRequest;\n    var rafWaitQueue = [];\n    function waitUntilQuiet(callback) {\n      rafWaitQueue.push(callback);\n      $$rAFScheduler.waitUntilQuiet(function() {\n        gcsLookup.flush();\n        gcsStaggerLookup.flush();\n\n        // DO NOT REMOVE THIS LINE OR REFACTOR OUT THE `pageWidth` variable.\n        // PLEASE EXAMINE THE `$$forceReflow` service to understand why.\n        var pageWidth = $$forceReflow();\n\n        // we use a for loop to ensure that if the queue is changed\n        // during this looping then it will consider new requests\n        for (var i = 0; i < rafWaitQueue.length; i++) {\n          rafWaitQueue[i](pageWidth);\n        }\n        rafWaitQueue.length = 0;\n      });\n    }\n\n    function computeTimings(node, className, cacheKey) {\n      var timings = computeCachedCssStyles(node, className, cacheKey, DETECT_CSS_PROPERTIES);\n      var aD = timings.animationDelay;\n      var tD = timings.transitionDelay;\n      timings.maxDelay = aD && tD\n          ? Math.max(aD, tD)\n          : (aD || tD);\n      timings.maxDuration = Math.max(\n          timings.animationDuration * timings.animationIterationCount,\n          timings.transitionDuration);\n\n      return timings;\n    }\n\n    return function init(element, options) {\n      var restoreStyles = {};\n      var node = getDomNode(element);\n      if (!node\n          || !node.parentNode\n          || !$animate.enabled()) {\n        return closeAndReturnNoopAnimator();\n      }\n\n      options = prepareAnimationOptions(options);\n\n      var temporaryStyles = [];\n      var classes = element.attr('class');\n      var styles = packageStyles(options);\n      var animationClosed;\n      var animationPaused;\n      var animationCompleted;\n      var runner;\n      var runnerHost;\n      var maxDelay;\n      var maxDelayTime;\n      var maxDuration;\n      var maxDurationTime;\n\n      if (options.duration === 0 || (!$sniffer.animations && !$sniffer.transitions)) {\n        return closeAndReturnNoopAnimator();\n      }\n\n      var method = options.event && isArray(options.event)\n            ? options.event.join(' ')\n            : options.event;\n\n      var isStructural = method && options.structural;\n      var structuralClassName = '';\n      var addRemoveClassName = '';\n\n      if (isStructural) {\n        structuralClassName = pendClasses(method, EVENT_CLASS_PREFIX, true);\n      } else if (method) {\n        structuralClassName = method;\n      }\n\n      if (options.addClass) {\n        addRemoveClassName += pendClasses(options.addClass, ADD_CLASS_SUFFIX);\n      }\n\n      if (options.removeClass) {\n        if (addRemoveClassName.length) {\n          addRemoveClassName += ' ';\n        }\n        addRemoveClassName += pendClasses(options.removeClass, REMOVE_CLASS_SUFFIX);\n      }\n\n      // there may be a situation where a structural animation is combined together\n      // with CSS classes that need to resolve before the animation is computed.\n      // However this means that there is no explicit CSS code to block the animation\n      // from happening (by setting 0s none in the class name). If this is the case\n      // we need to apply the classes before the first rAF so we know to continue if\n      // there actually is a detected transition or keyframe animation\n      if (options.applyClassesEarly && addRemoveClassName.length) {\n        applyAnimationClasses(element, options);\n      }\n\n      var preparationClasses = [structuralClassName, addRemoveClassName].join(' ').trim();\n      var fullClassName = classes + ' ' + preparationClasses;\n      var activeClasses = pendClasses(preparationClasses, ACTIVE_CLASS_SUFFIX);\n      var hasToStyles = styles.to && Object.keys(styles.to).length > 0;\n      var containsKeyframeAnimation = (options.keyframeStyle || '').length > 0;\n\n      // there is no way we can trigger an animation if no styles and\n      // no classes are being applied which would then trigger a transition,\n      // unless there a is raw keyframe value that is applied to the element.\n      if (!containsKeyframeAnimation\n           && !hasToStyles\n           && !preparationClasses) {\n        return closeAndReturnNoopAnimator();\n      }\n\n      var cacheKey, stagger;\n      if (options.stagger > 0) {\n        var staggerVal = parseFloat(options.stagger);\n        stagger = {\n          transitionDelay: staggerVal,\n          animationDelay: staggerVal,\n          transitionDuration: 0,\n          animationDuration: 0\n        };\n      } else {\n        cacheKey = gcsHashFn(node, fullClassName);\n        stagger = computeCachedCssStaggerStyles(node, preparationClasses, cacheKey, DETECT_STAGGER_CSS_PROPERTIES);\n      }\n\n      if (!options.$$skipPreparationClasses) {\n        $$jqLite.addClass(element, preparationClasses);\n      }\n\n      var applyOnlyDuration;\n\n      if (options.transitionStyle) {\n        var transitionStyle = [TRANSITION_PROP, options.transitionStyle];\n        applyInlineStyle(node, transitionStyle);\n        temporaryStyles.push(transitionStyle);\n      }\n\n      if (options.duration >= 0) {\n        applyOnlyDuration = node.style[TRANSITION_PROP].length > 0;\n        var durationStyle = getCssTransitionDurationStyle(options.duration, applyOnlyDuration);\n\n        // we set the duration so that it will be picked up by getComputedStyle later\n        applyInlineStyle(node, durationStyle);\n        temporaryStyles.push(durationStyle);\n      }\n\n      if (options.keyframeStyle) {\n        var keyframeStyle = [ANIMATION_PROP, options.keyframeStyle];\n        applyInlineStyle(node, keyframeStyle);\n        temporaryStyles.push(keyframeStyle);\n      }\n\n      var itemIndex = stagger\n          ? options.staggerIndex >= 0\n              ? options.staggerIndex\n              : gcsLookup.count(cacheKey)\n          : 0;\n\n      var isFirst = itemIndex === 0;\n\n      // this is a pre-emptive way of forcing the setup classes to be added and applied INSTANTLY\n      // without causing any combination of transitions to kick in. By adding a negative delay value\n      // it forces the setup class' transition to end immediately. We later then remove the negative\n      // transition delay to allow for the transition to naturally do it's thing. The beauty here is\n      // that if there is no transition defined then nothing will happen and this will also allow\n      // other transitions to be stacked on top of each other without any chopping them out.\n      if (isFirst && !options.skipBlocking) {\n        blockTransitions(node, SAFE_FAST_FORWARD_DURATION_VALUE);\n      }\n\n      var timings = computeTimings(node, fullClassName, cacheKey);\n      var relativeDelay = timings.maxDelay;\n      maxDelay = Math.max(relativeDelay, 0);\n      maxDuration = timings.maxDuration;\n\n      var flags = {};\n      flags.hasTransitions          = timings.transitionDuration > 0;\n      flags.hasAnimations           = timings.animationDuration > 0;\n      flags.hasTransitionAll        = flags.hasTransitions && timings.transitionProperty == 'all';\n      flags.applyTransitionDuration = hasToStyles && (\n                                        (flags.hasTransitions && !flags.hasTransitionAll)\n                                         || (flags.hasAnimations && !flags.hasTransitions));\n      flags.applyAnimationDuration  = options.duration && flags.hasAnimations;\n      flags.applyTransitionDelay    = truthyTimingValue(options.delay) && (flags.applyTransitionDuration || flags.hasTransitions);\n      flags.applyAnimationDelay     = truthyTimingValue(options.delay) && flags.hasAnimations;\n      flags.recalculateTimingStyles = addRemoveClassName.length > 0;\n\n      if (flags.applyTransitionDuration || flags.applyAnimationDuration) {\n        maxDuration = options.duration ? parseFloat(options.duration) : maxDuration;\n\n        if (flags.applyTransitionDuration) {\n          flags.hasTransitions = true;\n          timings.transitionDuration = maxDuration;\n          applyOnlyDuration = node.style[TRANSITION_PROP + PROPERTY_KEY].length > 0;\n          temporaryStyles.push(getCssTransitionDurationStyle(maxDuration, applyOnlyDuration));\n        }\n\n        if (flags.applyAnimationDuration) {\n          flags.hasAnimations = true;\n          timings.animationDuration = maxDuration;\n          temporaryStyles.push(getCssKeyframeDurationStyle(maxDuration));\n        }\n      }\n\n      if (maxDuration === 0 && !flags.recalculateTimingStyles) {\n        return closeAndReturnNoopAnimator();\n      }\n\n      if (options.delay != null) {\n        var delayStyle = parseFloat(options.delay);\n\n        if (flags.applyTransitionDelay) {\n          temporaryStyles.push(getCssDelayStyle(delayStyle));\n        }\n\n        if (flags.applyAnimationDelay) {\n          temporaryStyles.push(getCssDelayStyle(delayStyle, true));\n        }\n      }\n\n      // we need to recalculate the delay value since we used a pre-emptive negative\n      // delay value and the delay value is required for the final event checking. This\n      // property will ensure that this will happen after the RAF phase has passed.\n      if (options.duration == null && timings.transitionDuration > 0) {\n        flags.recalculateTimingStyles = flags.recalculateTimingStyles || isFirst;\n      }\n\n      maxDelayTime = maxDelay * ONE_SECOND;\n      maxDurationTime = maxDuration * ONE_SECOND;\n      if (!options.skipBlocking) {\n        flags.blockTransition = timings.transitionDuration > 0;\n        flags.blockKeyframeAnimation = timings.animationDuration > 0 &&\n                                       stagger.animationDelay > 0 &&\n                                       stagger.animationDuration === 0;\n      }\n\n      if (options.from) {\n        if (options.cleanupStyles) {\n          registerRestorableStyles(restoreStyles, node, Object.keys(options.from));\n        }\n        applyAnimationFromStyles(element, options);\n      }\n\n      if (flags.blockTransition || flags.blockKeyframeAnimation) {\n        applyBlocking(maxDuration);\n      } else if (!options.skipBlocking) {\n        blockTransitions(node, false);\n      }\n\n      // TODO(matsko): for 1.5 change this code to have an animator object for better debugging\n      return {\n        $$willAnimate: true,\n        end: endFn,\n        start: function() {\n          if (animationClosed) return;\n\n          runnerHost = {\n            end: endFn,\n            cancel: cancelFn,\n            resume: null, //this will be set during the start() phase\n            pause: null\n          };\n\n          runner = new $$AnimateRunner(runnerHost);\n\n          waitUntilQuiet(start);\n\n          // we don't have access to pause/resume the animation\n          // since it hasn't run yet. AnimateRunner will therefore\n          // set noop functions for resume and pause and they will\n          // later be overridden once the animation is triggered\n          return runner;\n        }\n      };\n\n      function endFn() {\n        close();\n      }\n\n      function cancelFn() {\n        close(true);\n      }\n\n      function close(rejected) { // jshint ignore:line\n        // if the promise has been called already then we shouldn't close\n        // the animation again\n        if (animationClosed || (animationCompleted && animationPaused)) return;\n        animationClosed = true;\n        animationPaused = false;\n\n        if (!options.$$skipPreparationClasses) {\n          $$jqLite.removeClass(element, preparationClasses);\n        }\n        $$jqLite.removeClass(element, activeClasses);\n\n        blockKeyframeAnimations(node, false);\n        blockTransitions(node, false);\n\n        forEach(temporaryStyles, function(entry) {\n          // There is only one way to remove inline style properties entirely from elements.\n          // By using `removeProperty` this works, but we need to convert camel-cased CSS\n          // styles down to hyphenated values.\n          node.style[entry[0]] = '';\n        });\n\n        applyAnimationClasses(element, options);\n        applyAnimationStyles(element, options);\n\n        if (Object.keys(restoreStyles).length) {\n          forEach(restoreStyles, function(value, prop) {\n            value ? node.style.setProperty(prop, value)\n                  : node.style.removeProperty(prop);\n          });\n        }\n\n        // the reason why we have this option is to allow a synchronous closing callback\n        // that is fired as SOON as the animation ends (when the CSS is removed) or if\n        // the animation never takes off at all. A good example is a leave animation since\n        // the element must be removed just after the animation is over or else the element\n        // will appear on screen for one animation frame causing an overbearing flicker.\n        if (options.onDone) {\n          options.onDone();\n        }\n\n        // if the preparation function fails then the promise is not setup\n        if (runner) {\n          runner.complete(!rejected);\n        }\n      }\n\n      function applyBlocking(duration) {\n        if (flags.blockTransition) {\n          blockTransitions(node, duration);\n        }\n\n        if (flags.blockKeyframeAnimation) {\n          blockKeyframeAnimations(node, !!duration);\n        }\n      }\n\n      function closeAndReturnNoopAnimator() {\n        runner = new $$AnimateRunner({\n          end: endFn,\n          cancel: cancelFn\n        });\n\n        // should flush the cache animation\n        waitUntilQuiet(noop);\n        close();\n\n        return {\n          $$willAnimate: false,\n          start: function() {\n            return runner;\n          },\n          end: endFn\n        };\n      }\n\n      function start() {\n        if (animationClosed) return;\n        if (!node.parentNode) {\n          close();\n          return;\n        }\n\n        var startTime, events = [];\n\n        // even though we only pause keyframe animations here the pause flag\n        // will still happen when transitions are used. Only the transition will\n        // not be paused since that is not possible. If the animation ends when\n        // paused then it will not complete until unpaused or cancelled.\n        var playPause = function(playAnimation) {\n          if (!animationCompleted) {\n            animationPaused = !playAnimation;\n            if (timings.animationDuration) {\n              var value = blockKeyframeAnimations(node, animationPaused);\n              animationPaused\n                  ? temporaryStyles.push(value)\n                  : removeFromArray(temporaryStyles, value);\n            }\n          } else if (animationPaused && playAnimation) {\n            animationPaused = false;\n            close();\n          }\n        };\n\n        // checking the stagger duration prevents an accidently cascade of the CSS delay style\n        // being inherited from the parent. If the transition duration is zero then we can safely\n        // rely that the delay value is an intential stagger delay style.\n        var maxStagger = itemIndex > 0\n                         && ((timings.transitionDuration && stagger.transitionDuration === 0) ||\n                            (timings.animationDuration && stagger.animationDuration === 0))\n                         && Math.max(stagger.animationDelay, stagger.transitionDelay);\n        if (maxStagger) {\n          $timeout(triggerAnimationStart,\n                   Math.floor(maxStagger * itemIndex * ONE_SECOND),\n                   false);\n        } else {\n          triggerAnimationStart();\n        }\n\n        // this will decorate the existing promise runner with pause/resume methods\n        runnerHost.resume = function() {\n          playPause(true);\n        };\n\n        runnerHost.pause = function() {\n          playPause(false);\n        };\n\n        function triggerAnimationStart() {\n          // just incase a stagger animation kicks in when the animation\n          // itself was cancelled entirely\n          if (animationClosed) return;\n\n          applyBlocking(false);\n\n          forEach(temporaryStyles, function(entry) {\n            var key = entry[0];\n            var value = entry[1];\n            node.style[key] = value;\n          });\n\n          applyAnimationClasses(element, options);\n          $$jqLite.addClass(element, activeClasses);\n\n          if (flags.recalculateTimingStyles) {\n            fullClassName = node.className + ' ' + preparationClasses;\n            cacheKey = gcsHashFn(node, fullClassName);\n\n            timings = computeTimings(node, fullClassName, cacheKey);\n            relativeDelay = timings.maxDelay;\n            maxDelay = Math.max(relativeDelay, 0);\n            maxDuration = timings.maxDuration;\n\n            if (maxDuration === 0) {\n              close();\n              return;\n            }\n\n            flags.hasTransitions = timings.transitionDuration > 0;\n            flags.hasAnimations = timings.animationDuration > 0;\n          }\n\n          if (flags.applyAnimationDelay) {\n            relativeDelay = typeof options.delay !== \"boolean\" && truthyTimingValue(options.delay)\n                  ? parseFloat(options.delay)\n                  : relativeDelay;\n\n            maxDelay = Math.max(relativeDelay, 0);\n            timings.animationDelay = relativeDelay;\n            delayStyle = getCssDelayStyle(relativeDelay, true);\n            temporaryStyles.push(delayStyle);\n            node.style[delayStyle[0]] = delayStyle[1];\n          }\n\n          maxDelayTime = maxDelay * ONE_SECOND;\n          maxDurationTime = maxDuration * ONE_SECOND;\n\n          if (options.easing) {\n            var easeProp, easeVal = options.easing;\n            if (flags.hasTransitions) {\n              easeProp = TRANSITION_PROP + TIMING_KEY;\n              temporaryStyles.push([easeProp, easeVal]);\n              node.style[easeProp] = easeVal;\n            }\n            if (flags.hasAnimations) {\n              easeProp = ANIMATION_PROP + TIMING_KEY;\n              temporaryStyles.push([easeProp, easeVal]);\n              node.style[easeProp] = easeVal;\n            }\n          }\n\n          if (timings.transitionDuration) {\n            events.push(TRANSITIONEND_EVENT);\n          }\n\n          if (timings.animationDuration) {\n            events.push(ANIMATIONEND_EVENT);\n          }\n\n          startTime = Date.now();\n          var timerTime = maxDelayTime + CLOSING_TIME_BUFFER * maxDurationTime;\n          var endTime = startTime + timerTime;\n\n          var animationsData = element.data(ANIMATE_TIMER_KEY) || [];\n          var setupFallbackTimer = true;\n          if (animationsData.length) {\n            var currentTimerData = animationsData[0];\n            setupFallbackTimer = endTime > currentTimerData.expectedEndTime;\n            if (setupFallbackTimer) {\n              $timeout.cancel(currentTimerData.timer);\n            } else {\n              animationsData.push(close);\n            }\n          }\n\n          if (setupFallbackTimer) {\n            var timer = $timeout(onAnimationExpired, timerTime, false);\n            animationsData[0] = {\n              timer: timer,\n              expectedEndTime: endTime\n            };\n            animationsData.push(close);\n            element.data(ANIMATE_TIMER_KEY, animationsData);\n          }\n\n          element.on(events.join(' '), onAnimationProgress);\n          if (options.to) {\n            if (options.cleanupStyles) {\n              registerRestorableStyles(restoreStyles, node, Object.keys(options.to));\n            }\n            applyAnimationToStyles(element, options);\n          }\n        }\n\n        function onAnimationExpired() {\n          var animationsData = element.data(ANIMATE_TIMER_KEY);\n\n          // this will be false in the event that the element was\n          // removed from the DOM (via a leave animation or something\n          // similar)\n          if (animationsData) {\n            for (var i = 1; i < animationsData.length; i++) {\n              animationsData[i]();\n            }\n            element.removeData(ANIMATE_TIMER_KEY);\n          }\n        }\n\n        function onAnimationProgress(event) {\n          event.stopPropagation();\n          var ev = event.originalEvent || event;\n          var timeStamp = ev.$manualTimeStamp || ev.timeStamp || Date.now();\n\n          /* Firefox (or possibly just Gecko) likes to not round values up\n           * when a ms measurement is used for the animation */\n          var elapsedTime = parseFloat(ev.elapsedTime.toFixed(ELAPSED_TIME_MAX_DECIMAL_PLACES));\n\n          /* $manualTimeStamp is a mocked timeStamp value which is set\n           * within browserTrigger(). This is only here so that tests can\n           * mock animations properly. Real events fallback to event.timeStamp,\n           * or, if they don't, then a timeStamp is automatically created for them.\n           * We're checking to see if the timeStamp surpasses the expected delay,\n           * but we're using elapsedTime instead of the timeStamp on the 2nd\n           * pre-condition since animations sometimes close off early */\n          if (Math.max(timeStamp - startTime, 0) >= maxDelayTime && elapsedTime >= maxDuration) {\n            // we set this flag to ensure that if the transition is paused then, when resumed,\n            // the animation will automatically close itself since transitions cannot be paused.\n            animationCompleted = true;\n            close();\n          }\n        }\n      }\n    };\n  }];\n}];\n\nvar $$AnimateCssDriverProvider = ['$$animationProvider', function($$animationProvider) {\n  $$animationProvider.drivers.push('$$animateCssDriver');\n\n  var NG_ANIMATE_SHIM_CLASS_NAME = 'ng-animate-shim';\n  var NG_ANIMATE_ANCHOR_CLASS_NAME = 'ng-anchor';\n\n  var NG_OUT_ANCHOR_CLASS_NAME = 'ng-anchor-out';\n  var NG_IN_ANCHOR_CLASS_NAME = 'ng-anchor-in';\n\n  function isDocumentFragment(node) {\n    return node.parentNode && node.parentNode.nodeType === 11;\n  }\n\n  this.$get = ['$animateCss', '$rootScope', '$$AnimateRunner', '$rootElement', '$sniffer', '$$jqLite', '$document',\n       function($animateCss,   $rootScope,   $$AnimateRunner,   $rootElement,   $sniffer,   $$jqLite,   $document) {\n\n    // only browsers that support these properties can render animations\n    if (!$sniffer.animations && !$sniffer.transitions) return noop;\n\n    var bodyNode = $document[0].body;\n    var rootNode = getDomNode($rootElement);\n\n    var rootBodyElement = jqLite(\n      // this is to avoid using something that exists outside of the body\n      // we also special case the doc fragement case because our unit test code\n      // appends the $rootElement to the body after the app has been bootstrapped\n      isDocumentFragment(rootNode) || bodyNode.contains(rootNode) ? rootNode : bodyNode\n    );\n\n    var applyAnimationClasses = applyAnimationClassesFactory($$jqLite);\n\n    return function initDriverFn(animationDetails) {\n      return animationDetails.from && animationDetails.to\n          ? prepareFromToAnchorAnimation(animationDetails.from,\n                                         animationDetails.to,\n                                         animationDetails.classes,\n                                         animationDetails.anchors)\n          : prepareRegularAnimation(animationDetails);\n    };\n\n    function filterCssClasses(classes) {\n      //remove all the `ng-` stuff\n      return classes.replace(/\\bng-\\S+\\b/g, '');\n    }\n\n    function getUniqueValues(a, b) {\n      if (isString(a)) a = a.split(' ');\n      if (isString(b)) b = b.split(' ');\n      return a.filter(function(val) {\n        return b.indexOf(val) === -1;\n      }).join(' ');\n    }\n\n    function prepareAnchoredAnimation(classes, outAnchor, inAnchor) {\n      var clone = jqLite(getDomNode(outAnchor).cloneNode(true));\n      var startingClasses = filterCssClasses(getClassVal(clone));\n\n      outAnchor.addClass(NG_ANIMATE_SHIM_CLASS_NAME);\n      inAnchor.addClass(NG_ANIMATE_SHIM_CLASS_NAME);\n\n      clone.addClass(NG_ANIMATE_ANCHOR_CLASS_NAME);\n\n      rootBodyElement.append(clone);\n\n      var animatorIn, animatorOut = prepareOutAnimation();\n\n      // the user may not end up using the `out` animation and\n      // only making use of the `in` animation or vice-versa.\n      // In either case we should allow this and not assume the\n      // animation is over unless both animations are not used.\n      if (!animatorOut) {\n        animatorIn = prepareInAnimation();\n        if (!animatorIn) {\n          return end();\n        }\n      }\n\n      var startingAnimator = animatorOut || animatorIn;\n\n      return {\n        start: function() {\n          var runner;\n\n          var currentAnimation = startingAnimator.start();\n          currentAnimation.done(function() {\n            currentAnimation = null;\n            if (!animatorIn) {\n              animatorIn = prepareInAnimation();\n              if (animatorIn) {\n                currentAnimation = animatorIn.start();\n                currentAnimation.done(function() {\n                  currentAnimation = null;\n                  end();\n                  runner.complete();\n                });\n                return currentAnimation;\n              }\n            }\n            // in the event that there is no `in` animation\n            end();\n            runner.complete();\n          });\n\n          runner = new $$AnimateRunner({\n            end: endFn,\n            cancel: endFn\n          });\n\n          return runner;\n\n          function endFn() {\n            if (currentAnimation) {\n              currentAnimation.end();\n            }\n          }\n        }\n      };\n\n      function calculateAnchorStyles(anchor) {\n        var styles = {};\n\n        var coords = getDomNode(anchor).getBoundingClientRect();\n\n        // we iterate directly since safari messes up and doesn't return\n        // all the keys for the coods object when iterated\n        forEach(['width','height','top','left'], function(key) {\n          var value = coords[key];\n          switch (key) {\n            case 'top':\n              value += bodyNode.scrollTop;\n              break;\n            case 'left':\n              value += bodyNode.scrollLeft;\n              break;\n          }\n          styles[key] = Math.floor(value) + 'px';\n        });\n        return styles;\n      }\n\n      function prepareOutAnimation() {\n        var animator = $animateCss(clone, {\n          addClass: NG_OUT_ANCHOR_CLASS_NAME,\n          delay: true,\n          from: calculateAnchorStyles(outAnchor)\n        });\n\n        // read the comment within `prepareRegularAnimation` to understand\n        // why this check is necessary\n        return animator.$$willAnimate ? animator : null;\n      }\n\n      function getClassVal(element) {\n        return element.attr('class') || '';\n      }\n\n      function prepareInAnimation() {\n        var endingClasses = filterCssClasses(getClassVal(inAnchor));\n        var toAdd = getUniqueValues(endingClasses, startingClasses);\n        var toRemove = getUniqueValues(startingClasses, endingClasses);\n\n        var animator = $animateCss(clone, {\n          to: calculateAnchorStyles(inAnchor),\n          addClass: NG_IN_ANCHOR_CLASS_NAME + ' ' + toAdd,\n          removeClass: NG_OUT_ANCHOR_CLASS_NAME + ' ' + toRemove,\n          delay: true\n        });\n\n        // read the comment within `prepareRegularAnimation` to understand\n        // why this check is necessary\n        return animator.$$willAnimate ? animator : null;\n      }\n\n      function end() {\n        clone.remove();\n        outAnchor.removeClass(NG_ANIMATE_SHIM_CLASS_NAME);\n        inAnchor.removeClass(NG_ANIMATE_SHIM_CLASS_NAME);\n      }\n    }\n\n    function prepareFromToAnchorAnimation(from, to, classes, anchors) {\n      var fromAnimation = prepareRegularAnimation(from, noop);\n      var toAnimation = prepareRegularAnimation(to, noop);\n\n      var anchorAnimations = [];\n      forEach(anchors, function(anchor) {\n        var outElement = anchor['out'];\n        var inElement = anchor['in'];\n        var animator = prepareAnchoredAnimation(classes, outElement, inElement);\n        if (animator) {\n          anchorAnimations.push(animator);\n        }\n      });\n\n      // no point in doing anything when there are no elements to animate\n      if (!fromAnimation && !toAnimation && anchorAnimations.length === 0) return;\n\n      return {\n        start: function() {\n          var animationRunners = [];\n\n          if (fromAnimation) {\n            animationRunners.push(fromAnimation.start());\n          }\n\n          if (toAnimation) {\n            animationRunners.push(toAnimation.start());\n          }\n\n          forEach(anchorAnimations, function(animation) {\n            animationRunners.push(animation.start());\n          });\n\n          var runner = new $$AnimateRunner({\n            end: endFn,\n            cancel: endFn // CSS-driven animations cannot be cancelled, only ended\n          });\n\n          $$AnimateRunner.all(animationRunners, function(status) {\n            runner.complete(status);\n          });\n\n          return runner;\n\n          function endFn() {\n            forEach(animationRunners, function(runner) {\n              runner.end();\n            });\n          }\n        }\n      };\n    }\n\n    function prepareRegularAnimation(animationDetails) {\n      var element = animationDetails.element;\n      var options = animationDetails.options || {};\n\n      if (animationDetails.structural) {\n        options.event = animationDetails.event;\n        options.structural = true;\n        options.applyClassesEarly = true;\n\n        // we special case the leave animation since we want to ensure that\n        // the element is removed as soon as the animation is over. Otherwise\n        // a flicker might appear or the element may not be removed at all\n        if (animationDetails.event === 'leave') {\n          options.onDone = options.domOperation;\n        }\n      }\n\n      // We assign the preparationClasses as the actual animation event since\n      // the internals of $animateCss will just suffix the event token values\n      // with `-active` to trigger the animation.\n      if (options.preparationClasses) {\n        options.event = concatWithSpace(options.event, options.preparationClasses);\n      }\n\n      var animator = $animateCss(element, options);\n\n      // the driver lookup code inside of $$animation attempts to spawn a\n      // driver one by one until a driver returns a.$$willAnimate animator object.\n      // $animateCss will always return an object, however, it will pass in\n      // a flag as a hint as to whether an animation was detected or not\n      return animator.$$willAnimate ? animator : null;\n    }\n  }];\n}];\n\n// TODO(matsko): use caching here to speed things up for detection\n// TODO(matsko): add documentation\n//  by the time...\n\nvar $$AnimateJsProvider = ['$animateProvider', function($animateProvider) {\n  this.$get = ['$injector', '$$AnimateRunner', '$$jqLite',\n       function($injector,   $$AnimateRunner,   $$jqLite) {\n\n    var applyAnimationClasses = applyAnimationClassesFactory($$jqLite);\n         // $animateJs(element, 'enter');\n    return function(element, event, classes, options) {\n      // the `classes` argument is optional and if it is not used\n      // then the classes will be resolved from the element's className\n      // property as well as options.addClass/options.removeClass.\n      if (arguments.length === 3 && isObject(classes)) {\n        options = classes;\n        classes = null;\n      }\n\n      options = prepareAnimationOptions(options);\n      if (!classes) {\n        classes = element.attr('class') || '';\n        if (options.addClass) {\n          classes += ' ' + options.addClass;\n        }\n        if (options.removeClass) {\n          classes += ' ' + options.removeClass;\n        }\n      }\n\n      var classesToAdd = options.addClass;\n      var classesToRemove = options.removeClass;\n\n      // the lookupAnimations function returns a series of animation objects that are\n      // matched up with one or more of the CSS classes. These animation objects are\n      // defined via the module.animation factory function. If nothing is detected then\n      // we don't return anything which then makes $animation query the next driver.\n      var animations = lookupAnimations(classes);\n      var before, after;\n      if (animations.length) {\n        var afterFn, beforeFn;\n        if (event == 'leave') {\n          beforeFn = 'leave';\n          afterFn = 'afterLeave'; // TODO(matsko): get rid of this\n        } else {\n          beforeFn = 'before' + event.charAt(0).toUpperCase() + event.substr(1);\n          afterFn = event;\n        }\n\n        if (event !== 'enter' && event !== 'move') {\n          before = packageAnimations(element, event, options, animations, beforeFn);\n        }\n        after  = packageAnimations(element, event, options, animations, afterFn);\n      }\n\n      // no matching animations\n      if (!before && !after) return;\n\n      function applyOptions() {\n        options.domOperation();\n        applyAnimationClasses(element, options);\n      }\n\n      return {\n        start: function() {\n          var closeActiveAnimations;\n          var chain = [];\n\n          if (before) {\n            chain.push(function(fn) {\n              closeActiveAnimations = before(fn);\n            });\n          }\n\n          if (chain.length) {\n            chain.push(function(fn) {\n              applyOptions();\n              fn(true);\n            });\n          } else {\n            applyOptions();\n          }\n\n          if (after) {\n            chain.push(function(fn) {\n              closeActiveAnimations = after(fn);\n            });\n          }\n\n          var animationClosed = false;\n          var runner = new $$AnimateRunner({\n            end: function() {\n              endAnimations();\n            },\n            cancel: function() {\n              endAnimations(true);\n            }\n          });\n\n          $$AnimateRunner.chain(chain, onComplete);\n          return runner;\n\n          function onComplete(success) {\n            animationClosed = true;\n            applyOptions();\n            applyAnimationStyles(element, options);\n            runner.complete(success);\n          }\n\n          function endAnimations(cancelled) {\n            if (!animationClosed) {\n              (closeActiveAnimations || noop)(cancelled);\n              onComplete(cancelled);\n            }\n          }\n        }\n      };\n\n      function executeAnimationFn(fn, element, event, options, onDone) {\n        var args;\n        switch (event) {\n          case 'animate':\n            args = [element, options.from, options.to, onDone];\n            break;\n\n          case 'setClass':\n            args = [element, classesToAdd, classesToRemove, onDone];\n            break;\n\n          case 'addClass':\n            args = [element, classesToAdd, onDone];\n            break;\n\n          case 'removeClass':\n            args = [element, classesToRemove, onDone];\n            break;\n\n          default:\n            args = [element, onDone];\n            break;\n        }\n\n        args.push(options);\n\n        var value = fn.apply(fn, args);\n        if (value) {\n          if (isFunction(value.start)) {\n            value = value.start();\n          }\n\n          if (value instanceof $$AnimateRunner) {\n            value.done(onDone);\n          } else if (isFunction(value)) {\n            // optional onEnd / onCancel callback\n            return value;\n          }\n        }\n\n        return noop;\n      }\n\n      function groupEventedAnimations(element, event, options, animations, fnName) {\n        var operations = [];\n        forEach(animations, function(ani) {\n          var animation = ani[fnName];\n          if (!animation) return;\n\n          // note that all of these animations will run in parallel\n          operations.push(function() {\n            var runner;\n            var endProgressCb;\n\n            var resolved = false;\n            var onAnimationComplete = function(rejected) {\n              if (!resolved) {\n                resolved = true;\n                (endProgressCb || noop)(rejected);\n                runner.complete(!rejected);\n              }\n            };\n\n            runner = new $$AnimateRunner({\n              end: function() {\n                onAnimationComplete();\n              },\n              cancel: function() {\n                onAnimationComplete(true);\n              }\n            });\n\n            endProgressCb = executeAnimationFn(animation, element, event, options, function(result) {\n              var cancelled = result === false;\n              onAnimationComplete(cancelled);\n            });\n\n            return runner;\n          });\n        });\n\n        return operations;\n      }\n\n      function packageAnimations(element, event, options, animations, fnName) {\n        var operations = groupEventedAnimations(element, event, options, animations, fnName);\n        if (operations.length === 0) {\n          var a,b;\n          if (fnName === 'beforeSetClass') {\n            a = groupEventedAnimations(element, 'removeClass', options, animations, 'beforeRemoveClass');\n            b = groupEventedAnimations(element, 'addClass', options, animations, 'beforeAddClass');\n          } else if (fnName === 'setClass') {\n            a = groupEventedAnimations(element, 'removeClass', options, animations, 'removeClass');\n            b = groupEventedAnimations(element, 'addClass', options, animations, 'addClass');\n          }\n\n          if (a) {\n            operations = operations.concat(a);\n          }\n          if (b) {\n            operations = operations.concat(b);\n          }\n        }\n\n        if (operations.length === 0) return;\n\n        // TODO(matsko): add documentation\n        return function startAnimation(callback) {\n          var runners = [];\n          if (operations.length) {\n            forEach(operations, function(animateFn) {\n              runners.push(animateFn());\n            });\n          }\n\n          runners.length ? $$AnimateRunner.all(runners, callback) : callback();\n\n          return function endFn(reject) {\n            forEach(runners, function(runner) {\n              reject ? runner.cancel() : runner.end();\n            });\n          };\n        };\n      }\n    };\n\n    function lookupAnimations(classes) {\n      classes = isArray(classes) ? classes : classes.split(' ');\n      var matches = [], flagMap = {};\n      for (var i=0; i < classes.length; i++) {\n        var klass = classes[i],\n            animationFactory = $animateProvider.$$registeredAnimations[klass];\n        if (animationFactory && !flagMap[klass]) {\n          matches.push($injector.get(animationFactory));\n          flagMap[klass] = true;\n        }\n      }\n      return matches;\n    }\n  }];\n}];\n\nvar $$AnimateJsDriverProvider = ['$$animationProvider', function($$animationProvider) {\n  $$animationProvider.drivers.push('$$animateJsDriver');\n  this.$get = ['$$animateJs', '$$AnimateRunner', function($$animateJs, $$AnimateRunner) {\n    return function initDriverFn(animationDetails) {\n      if (animationDetails.from && animationDetails.to) {\n        var fromAnimation = prepareAnimation(animationDetails.from);\n        var toAnimation = prepareAnimation(animationDetails.to);\n        if (!fromAnimation && !toAnimation) return;\n\n        return {\n          start: function() {\n            var animationRunners = [];\n\n            if (fromAnimation) {\n              animationRunners.push(fromAnimation.start());\n            }\n\n            if (toAnimation) {\n              animationRunners.push(toAnimation.start());\n            }\n\n            $$AnimateRunner.all(animationRunners, done);\n\n            var runner = new $$AnimateRunner({\n              end: endFnFactory(),\n              cancel: endFnFactory()\n            });\n\n            return runner;\n\n            function endFnFactory() {\n              return function() {\n                forEach(animationRunners, function(runner) {\n                  // at this point we cannot cancel animations for groups just yet. 1.5+\n                  runner.end();\n                });\n              };\n            }\n\n            function done(status) {\n              runner.complete(status);\n            }\n          }\n        };\n      } else {\n        return prepareAnimation(animationDetails);\n      }\n    };\n\n    function prepareAnimation(animationDetails) {\n      // TODO(matsko): make sure to check for grouped animations and delegate down to normal animations\n      var element = animationDetails.element;\n      var event = animationDetails.event;\n      var options = animationDetails.options;\n      var classes = animationDetails.classes;\n      return $$animateJs(element, event, classes, options);\n    }\n  }];\n}];\n\nvar NG_ANIMATE_ATTR_NAME = 'data-ng-animate';\nvar NG_ANIMATE_PIN_DATA = '$ngAnimatePin';\nvar $$AnimateQueueProvider = ['$animateProvider', function($animateProvider) {\n  var PRE_DIGEST_STATE = 1;\n  var RUNNING_STATE = 2;\n\n  var rules = this.rules = {\n    skip: [],\n    cancel: [],\n    join: []\n  };\n\n  function isAllowed(ruleType, element, currentAnimation, previousAnimation) {\n    return rules[ruleType].some(function(fn) {\n      return fn(element, currentAnimation, previousAnimation);\n    });\n  }\n\n  function hasAnimationClasses(options, and) {\n    options = options || {};\n    var a = (options.addClass || '').length > 0;\n    var b = (options.removeClass || '').length > 0;\n    return and ? a && b : a || b;\n  }\n\n  rules.join.push(function(element, newAnimation, currentAnimation) {\n    // if the new animation is class-based then we can just tack that on\n    return !newAnimation.structural && hasAnimationClasses(newAnimation.options);\n  });\n\n  rules.skip.push(function(element, newAnimation, currentAnimation) {\n    // there is no need to animate anything if no classes are being added and\n    // there is no structural animation that will be triggered\n    return !newAnimation.structural && !hasAnimationClasses(newAnimation.options);\n  });\n\n  rules.skip.push(function(element, newAnimation, currentAnimation) {\n    // why should we trigger a new structural animation if the element will\n    // be removed from the DOM anyway?\n    return currentAnimation.event == 'leave' && newAnimation.structural;\n  });\n\n  rules.skip.push(function(element, newAnimation, currentAnimation) {\n    // if there is an ongoing current animation then don't even bother running the class-based animation\n    return currentAnimation.structural && currentAnimation.state === RUNNING_STATE && !newAnimation.structural;\n  });\n\n  rules.cancel.push(function(element, newAnimation, currentAnimation) {\n    // there can never be two structural animations running at the same time\n    return currentAnimation.structural && newAnimation.structural;\n  });\n\n  rules.cancel.push(function(element, newAnimation, currentAnimation) {\n    // if the previous animation is already running, but the new animation will\n    // be triggered, but the new animation is structural\n    return currentAnimation.state === RUNNING_STATE && newAnimation.structural;\n  });\n\n  rules.cancel.push(function(element, newAnimation, currentAnimation) {\n    var nO = newAnimation.options;\n    var cO = currentAnimation.options;\n\n    // if the exact same CSS class is added/removed then it's safe to cancel it\n    return (nO.addClass && nO.addClass === cO.removeClass) || (nO.removeClass && nO.removeClass === cO.addClass);\n  });\n\n  this.$get = ['$$rAF', '$rootScope', '$rootElement', '$document', '$$HashMap',\n               '$$animation', '$$AnimateRunner', '$templateRequest', '$$jqLite', '$$forceReflow',\n       function($$rAF,   $rootScope,   $rootElement,   $document,   $$HashMap,\n                $$animation,   $$AnimateRunner,   $templateRequest,   $$jqLite,   $$forceReflow) {\n\n    var activeAnimationsLookup = new $$HashMap();\n    var disabledElementsLookup = new $$HashMap();\n    var animationsEnabled = null;\n\n    function postDigestTaskFactory() {\n      var postDigestCalled = false;\n      return function(fn) {\n        // we only issue a call to postDigest before\n        // it has first passed. This prevents any callbacks\n        // from not firing once the animation has completed\n        // since it will be out of the digest cycle.\n        if (postDigestCalled) {\n          fn();\n        } else {\n          $rootScope.$$postDigest(function() {\n            postDigestCalled = true;\n            fn();\n          });\n        }\n      };\n    }\n\n    // Wait until all directive and route-related templates are downloaded and\n    // compiled. The $templateRequest.totalPendingRequests variable keeps track of\n    // all of the remote templates being currently downloaded. If there are no\n    // templates currently downloading then the watcher will still fire anyway.\n    var deregisterWatch = $rootScope.$watch(\n      function() { return $templateRequest.totalPendingRequests === 0; },\n      function(isEmpty) {\n        if (!isEmpty) return;\n        deregisterWatch();\n\n        // Now that all templates have been downloaded, $animate will wait until\n        // the post digest queue is empty before enabling animations. By having two\n        // calls to $postDigest calls we can ensure that the flag is enabled at the\n        // very end of the post digest queue. Since all of the animations in $animate\n        // use $postDigest, it's important that the code below executes at the end.\n        // This basically means that the page is fully downloaded and compiled before\n        // any animations are triggered.\n        $rootScope.$$postDigest(function() {\n          $rootScope.$$postDigest(function() {\n            // we check for null directly in the event that the application already called\n            // .enabled() with whatever arguments that it provided it with\n            if (animationsEnabled === null) {\n              animationsEnabled = true;\n            }\n          });\n        });\n      }\n    );\n\n    var callbackRegistry = {};\n\n    // remember that the classNameFilter is set during the provider/config\n    // stage therefore we can optimize here and setup a helper function\n    var classNameFilter = $animateProvider.classNameFilter();\n    var isAnimatableClassName = !classNameFilter\n              ? function() { return true; }\n              : function(className) {\n                return classNameFilter.test(className);\n              };\n\n    var applyAnimationClasses = applyAnimationClassesFactory($$jqLite);\n\n    function normalizeAnimationOptions(element, options) {\n      return mergeAnimationOptions(element, options, {});\n    }\n\n    function findCallbacks(parent, element, event) {\n      var targetNode = getDomNode(element);\n      var targetParentNode = getDomNode(parent);\n\n      var matches = [];\n      var entries = callbackRegistry[event];\n      if (entries) {\n        forEach(entries, function(entry) {\n          if (entry.node.contains(targetNode)) {\n            matches.push(entry.callback);\n          } else if (event === 'leave' && entry.node.contains(targetParentNode)) {\n            matches.push(entry.callback);\n          }\n        });\n      }\n\n      return matches;\n    }\n\n    return {\n      on: function(event, container, callback) {\n        var node = extractElementNode(container);\n        callbackRegistry[event] = callbackRegistry[event] || [];\n        callbackRegistry[event].push({\n          node: node,\n          callback: callback\n        });\n      },\n\n      off: function(event, container, callback) {\n        var entries = callbackRegistry[event];\n        if (!entries) return;\n\n        callbackRegistry[event] = arguments.length === 1\n            ? null\n            : filterFromRegistry(entries, container, callback);\n\n        function filterFromRegistry(list, matchContainer, matchCallback) {\n          var containerNode = extractElementNode(matchContainer);\n          return list.filter(function(entry) {\n            var isMatch = entry.node === containerNode &&\n                            (!matchCallback || entry.callback === matchCallback);\n            return !isMatch;\n          });\n        }\n      },\n\n      pin: function(element, parentElement) {\n        assertArg(isElement(element), 'element', 'not an element');\n        assertArg(isElement(parentElement), 'parentElement', 'not an element');\n        element.data(NG_ANIMATE_PIN_DATA, parentElement);\n      },\n\n      push: function(element, event, options, domOperation) {\n        options = options || {};\n        options.domOperation = domOperation;\n        return queueAnimation(element, event, options);\n      },\n\n      // this method has four signatures:\n      //  () - global getter\n      //  (bool) - global setter\n      //  (element) - element getter\n      //  (element, bool) - element setter<F37>\n      enabled: function(element, bool) {\n        var argCount = arguments.length;\n\n        if (argCount === 0) {\n          // () - Global getter\n          bool = !!animationsEnabled;\n        } else {\n          var hasElement = isElement(element);\n\n          if (!hasElement) {\n            // (bool) - Global setter\n            bool = animationsEnabled = !!element;\n          } else {\n            var node = getDomNode(element);\n            var recordExists = disabledElementsLookup.get(node);\n\n            if (argCount === 1) {\n              // (element) - Element getter\n              bool = !recordExists;\n            } else {\n              // (element, bool) - Element setter\n              bool = !!bool;\n              if (!bool) {\n                disabledElementsLookup.put(node, true);\n              } else if (recordExists) {\n                disabledElementsLookup.remove(node);\n              }\n            }\n          }\n        }\n\n        return bool;\n      }\n    };\n\n    function queueAnimation(element, event, options) {\n      var node, parent;\n      element = stripCommentsFromElement(element);\n      if (element) {\n        node = getDomNode(element);\n        parent = element.parent();\n      }\n\n      options = prepareAnimationOptions(options);\n\n      // we create a fake runner with a working promise.\n      // These methods will become available after the digest has passed\n      var runner = new $$AnimateRunner();\n\n      // this is used to trigger callbacks in postDigest mode\n      var runInNextPostDigestOrNow = postDigestTaskFactory();\n\n      if (isArray(options.addClass)) {\n        options.addClass = options.addClass.join(' ');\n      }\n\n      if (options.addClass && !isString(options.addClass)) {\n        options.addClass = null;\n      }\n\n      if (isArray(options.removeClass)) {\n        options.removeClass = options.removeClass.join(' ');\n      }\n\n      if (options.removeClass && !isString(options.removeClass)) {\n        options.removeClass = null;\n      }\n\n      if (options.from && !isObject(options.from)) {\n        options.from = null;\n      }\n\n      if (options.to && !isObject(options.to)) {\n        options.to = null;\n      }\n\n      // there are situations where a directive issues an animation for\n      // a jqLite wrapper that contains only comment nodes... If this\n      // happens then there is no way we can perform an animation\n      if (!node) {\n        close();\n        return runner;\n      }\n\n      var className = [node.className, options.addClass, options.removeClass].join(' ');\n      if (!isAnimatableClassName(className)) {\n        close();\n        return runner;\n      }\n\n      var isStructural = ['enter', 'move', 'leave'].indexOf(event) >= 0;\n\n      // this is a hard disable of all animations for the application or on\n      // the element itself, therefore  there is no need to continue further\n      // past this point if not enabled\n      var skipAnimations = !animationsEnabled || disabledElementsLookup.get(node);\n      var existingAnimation = (!skipAnimations && activeAnimationsLookup.get(node)) || {};\n      var hasExistingAnimation = !!existingAnimation.state;\n\n      // there is no point in traversing the same collection of parent ancestors if a followup\n      // animation will be run on the same element that already did all that checking work\n      if (!skipAnimations && (!hasExistingAnimation || existingAnimation.state != PRE_DIGEST_STATE)) {\n        skipAnimations = !areAnimationsAllowed(element, parent, event);\n      }\n\n      if (skipAnimations) {\n        close();\n        return runner;\n      }\n\n      if (isStructural) {\n        closeChildAnimations(element);\n      }\n\n      var newAnimation = {\n        structural: isStructural,\n        element: element,\n        event: event,\n        close: close,\n        options: options,\n        runner: runner\n      };\n\n      if (hasExistingAnimation) {\n        var skipAnimationFlag = isAllowed('skip', element, newAnimation, existingAnimation);\n        if (skipAnimationFlag) {\n          if (existingAnimation.state === RUNNING_STATE) {\n            close();\n            return runner;\n          } else {\n            mergeAnimationOptions(element, existingAnimation.options, options);\n            return existingAnimation.runner;\n          }\n        }\n\n        var cancelAnimationFlag = isAllowed('cancel', element, newAnimation, existingAnimation);\n        if (cancelAnimationFlag) {\n          if (existingAnimation.state === RUNNING_STATE) {\n            // this will end the animation right away and it is safe\n            // to do so since the animation is already running and the\n            // runner callback code will run in async\n            existingAnimation.runner.end();\n          } else if (existingAnimation.structural) {\n            // this means that the animation is queued into a digest, but\n            // hasn't started yet. Therefore it is safe to run the close\n            // method which will call the runner methods in async.\n            existingAnimation.close();\n          } else {\n            // this will merge the new animation options into existing animation options\n            mergeAnimationOptions(element, existingAnimation.options, newAnimation.options);\n            return existingAnimation.runner;\n          }\n        } else {\n          // a joined animation means that this animation will take over the existing one\n          // so an example would involve a leave animation taking over an enter. Then when\n          // the postDigest kicks in the enter will be ignored.\n          var joinAnimationFlag = isAllowed('join', element, newAnimation, existingAnimation);\n          if (joinAnimationFlag) {\n            if (existingAnimation.state === RUNNING_STATE) {\n              normalizeAnimationOptions(element, options);\n            } else {\n              applyGeneratedPreparationClasses(element, isStructural ? event : null, options);\n\n              event = newAnimation.event = existingAnimation.event;\n              options = mergeAnimationOptions(element, existingAnimation.options, newAnimation.options);\n\n              //we return the same runner since only the option values of this animation will\n              //be fed into the `existingAnimation`.\n              return existingAnimation.runner;\n            }\n          }\n        }\n      } else {\n        // normalization in this case means that it removes redundant CSS classes that\n        // already exist (addClass) or do not exist (removeClass) on the element\n        normalizeAnimationOptions(element, options);\n      }\n\n      // when the options are merged and cleaned up we may end up not having to do\n      // an animation at all, therefore we should check this before issuing a post\n      // digest callback. Structural animations will always run no matter what.\n      var isValidAnimation = newAnimation.structural;\n      if (!isValidAnimation) {\n        // animate (from/to) can be quickly checked first, otherwise we check if any classes are present\n        isValidAnimation = (newAnimation.event === 'animate' && Object.keys(newAnimation.options.to || {}).length > 0)\n                            || hasAnimationClasses(newAnimation.options);\n      }\n\n      if (!isValidAnimation) {\n        close();\n        clearElementAnimationState(element);\n        return runner;\n      }\n\n      // the counter keeps track of cancelled animations\n      var counter = (existingAnimation.counter || 0) + 1;\n      newAnimation.counter = counter;\n\n      markElementAnimationState(element, PRE_DIGEST_STATE, newAnimation);\n\n      $rootScope.$$postDigest(function() {\n        var animationDetails = activeAnimationsLookup.get(node);\n        var animationCancelled = !animationDetails;\n        animationDetails = animationDetails || {};\n\n        // if addClass/removeClass is called before something like enter then the\n        // registered parent element may not be present. The code below will ensure\n        // that a final value for parent element is obtained\n        var parentElement = element.parent() || [];\n\n        // animate/structural/class-based animations all have requirements. Otherwise there\n        // is no point in performing an animation. The parent node must also be set.\n        var isValidAnimation = parentElement.length > 0\n                                && (animationDetails.event === 'animate'\n                                    || animationDetails.structural\n                                    || hasAnimationClasses(animationDetails.options));\n\n        // this means that the previous animation was cancelled\n        // even if the follow-up animation is the same event\n        if (animationCancelled || animationDetails.counter !== counter || !isValidAnimation) {\n          // if another animation did not take over then we need\n          // to make sure that the domOperation and options are\n          // handled accordingly\n          if (animationCancelled) {\n            applyAnimationClasses(element, options);\n            applyAnimationStyles(element, options);\n          }\n\n          // if the event changed from something like enter to leave then we do\n          // it, otherwise if it's the same then the end result will be the same too\n          if (animationCancelled || (isStructural && animationDetails.event !== event)) {\n            options.domOperation();\n            runner.end();\n          }\n\n          // in the event that the element animation was not cancelled or a follow-up animation\n          // isn't allowed to animate from here then we need to clear the state of the element\n          // so that any future animations won't read the expired animation data.\n          if (!isValidAnimation) {\n            clearElementAnimationState(element);\n          }\n\n          return;\n        }\n\n        // this combined multiple class to addClass / removeClass into a setClass event\n        // so long as a structural event did not take over the animation\n        event = !animationDetails.structural && hasAnimationClasses(animationDetails.options, true)\n            ? 'setClass'\n            : animationDetails.event;\n\n        markElementAnimationState(element, RUNNING_STATE);\n        var realRunner = $$animation(element, event, animationDetails.options);\n\n        realRunner.done(function(status) {\n          close(!status);\n          var animationDetails = activeAnimationsLookup.get(node);\n          if (animationDetails && animationDetails.counter === counter) {\n            clearElementAnimationState(getDomNode(element));\n          }\n          notifyProgress(runner, event, 'close', {});\n        });\n\n        // this will update the runner's flow-control events based on\n        // the `realRunner` object.\n        runner.setHost(realRunner);\n        notifyProgress(runner, event, 'start', {});\n      });\n\n      return runner;\n\n      function notifyProgress(runner, event, phase, data) {\n        runInNextPostDigestOrNow(function() {\n          var callbacks = findCallbacks(parent, element, event);\n          if (callbacks.length) {\n            // do not optimize this call here to RAF because\n            // we don't know how heavy the callback code here will\n            // be and if this code is buffered then this can\n            // lead to a performance regression.\n            $$rAF(function() {\n              forEach(callbacks, function(callback) {\n                callback(element, phase, data);\n              });\n            });\n          }\n        });\n        runner.progress(event, phase, data);\n      }\n\n      function close(reject) { // jshint ignore:line\n        clearGeneratedClasses(element, options);\n        applyAnimationClasses(element, options);\n        applyAnimationStyles(element, options);\n        options.domOperation();\n        runner.complete(!reject);\n      }\n    }\n\n    function closeChildAnimations(element) {\n      var node = getDomNode(element);\n      var children = node.querySelectorAll('[' + NG_ANIMATE_ATTR_NAME + ']');\n      forEach(children, function(child) {\n        var state = parseInt(child.getAttribute(NG_ANIMATE_ATTR_NAME));\n        var animationDetails = activeAnimationsLookup.get(child);\n        switch (state) {\n          case RUNNING_STATE:\n            animationDetails.runner.end();\n            /* falls through */\n          case PRE_DIGEST_STATE:\n            if (animationDetails) {\n              activeAnimationsLookup.remove(child);\n            }\n            break;\n        }\n      });\n    }\n\n    function clearElementAnimationState(element) {\n      var node = getDomNode(element);\n      node.removeAttribute(NG_ANIMATE_ATTR_NAME);\n      activeAnimationsLookup.remove(node);\n    }\n\n    function isMatchingElement(nodeOrElmA, nodeOrElmB) {\n      return getDomNode(nodeOrElmA) === getDomNode(nodeOrElmB);\n    }\n\n    function areAnimationsAllowed(element, parentElement, event) {\n      var bodyElement = jqLite($document[0].body);\n      var bodyElementDetected = isMatchingElement(element, bodyElement) || element[0].nodeName === 'HTML';\n      var rootElementDetected = isMatchingElement(element, $rootElement);\n      var parentAnimationDetected = false;\n      var animateChildren;\n\n      var parentHost = element.data(NG_ANIMATE_PIN_DATA);\n      if (parentHost) {\n        parentElement = parentHost;\n      }\n\n      while (parentElement && parentElement.length) {\n        if (!rootElementDetected) {\n          // angular doesn't want to attempt to animate elements outside of the application\n          // therefore we need to ensure that the rootElement is an ancestor of the current element\n          rootElementDetected = isMatchingElement(parentElement, $rootElement);\n        }\n\n        var parentNode = parentElement[0];\n        if (parentNode.nodeType !== ELEMENT_NODE) {\n          // no point in inspecting the #document element\n          break;\n        }\n\n        var details = activeAnimationsLookup.get(parentNode) || {};\n        // either an enter, leave or move animation will commence\n        // therefore we can't allow any animations to take place\n        // but if a parent animation is class-based then that's ok\n        if (!parentAnimationDetected) {\n          parentAnimationDetected = details.structural || disabledElementsLookup.get(parentNode);\n        }\n\n        if (isUndefined(animateChildren) || animateChildren === true) {\n          var value = parentElement.data(NG_ANIMATE_CHILDREN_DATA);\n          if (isDefined(value)) {\n            animateChildren = value;\n          }\n        }\n\n        // there is no need to continue traversing at this point\n        if (parentAnimationDetected && animateChildren === false) break;\n\n        if (!rootElementDetected) {\n          // angular doesn't want to attempt to animate elements outside of the application\n          // therefore we need to ensure that the rootElement is an ancestor of the current element\n          rootElementDetected = isMatchingElement(parentElement, $rootElement);\n          if (!rootElementDetected) {\n            parentHost = parentElement.data(NG_ANIMATE_PIN_DATA);\n            if (parentHost) {\n              parentElement = parentHost;\n            }\n          }\n        }\n\n        if (!bodyElementDetected) {\n          // we also need to ensure that the element is or will be apart of the body element\n          // otherwise it is pointless to even issue an animation to be rendered\n          bodyElementDetected = isMatchingElement(parentElement, bodyElement);\n        }\n\n        parentElement = parentElement.parent();\n      }\n\n      var allowAnimation = !parentAnimationDetected || animateChildren;\n      return allowAnimation && rootElementDetected && bodyElementDetected;\n    }\n\n    function markElementAnimationState(element, state, details) {\n      details = details || {};\n      details.state = state;\n\n      var node = getDomNode(element);\n      node.setAttribute(NG_ANIMATE_ATTR_NAME, state);\n\n      var oldValue = activeAnimationsLookup.get(node);\n      var newValue = oldValue\n          ? extend(oldValue, details)\n          : details;\n      activeAnimationsLookup.put(node, newValue);\n    }\n  }];\n}];\n\nvar $$AnimateAsyncRunFactory = ['$$rAF', function($$rAF) {\n  var waitQueue = [];\n\n  function waitForTick(fn) {\n    waitQueue.push(fn);\n    if (waitQueue.length > 1) return;\n    $$rAF(function() {\n      for (var i = 0; i < waitQueue.length; i++) {\n        waitQueue[i]();\n      }\n      waitQueue = [];\n    });\n  }\n\n  return function() {\n    var passed = false;\n    waitForTick(function() {\n      passed = true;\n    });\n    return function(callback) {\n      passed ? callback() : waitForTick(callback);\n    };\n  };\n}];\n\nvar $$AnimateRunnerFactory = ['$q', '$sniffer', '$$animateAsyncRun',\n                      function($q,   $sniffer,   $$animateAsyncRun) {\n\n  var INITIAL_STATE = 0;\n  var DONE_PENDING_STATE = 1;\n  var DONE_COMPLETE_STATE = 2;\n\n  AnimateRunner.chain = function(chain, callback) {\n    var index = 0;\n\n    next();\n    function next() {\n      if (index === chain.length) {\n        callback(true);\n        return;\n      }\n\n      chain[index](function(response) {\n        if (response === false) {\n          callback(false);\n          return;\n        }\n        index++;\n        next();\n      });\n    }\n  };\n\n  AnimateRunner.all = function(runners, callback) {\n    var count = 0;\n    var status = true;\n    forEach(runners, function(runner) {\n      runner.done(onProgress);\n    });\n\n    function onProgress(response) {\n      status = status && response;\n      if (++count === runners.length) {\n        callback(status);\n      }\n    }\n  };\n\n  function AnimateRunner(host) {\n    this.setHost(host);\n\n    this._doneCallbacks = [];\n    this._runInAnimationFrame = $$animateAsyncRun();\n    this._state = 0;\n  }\n\n  AnimateRunner.prototype = {\n    setHost: function(host) {\n      this.host = host || {};\n    },\n\n    done: function(fn) {\n      if (this._state === DONE_COMPLETE_STATE) {\n        fn();\n      } else {\n        this._doneCallbacks.push(fn);\n      }\n    },\n\n    progress: noop,\n\n    getPromise: function() {\n      if (!this.promise) {\n        var self = this;\n        this.promise = $q(function(resolve, reject) {\n          self.done(function(status) {\n            status === false ? reject() : resolve();\n          });\n        });\n      }\n      return this.promise;\n    },\n\n    then: function(resolveHandler, rejectHandler) {\n      return this.getPromise().then(resolveHandler, rejectHandler);\n    },\n\n    'catch': function(handler) {\n      return this.getPromise()['catch'](handler);\n    },\n\n    'finally': function(handler) {\n      return this.getPromise()['finally'](handler);\n    },\n\n    pause: function() {\n      if (this.host.pause) {\n        this.host.pause();\n      }\n    },\n\n    resume: function() {\n      if (this.host.resume) {\n        this.host.resume();\n      }\n    },\n\n    end: function() {\n      if (this.host.end) {\n        this.host.end();\n      }\n      this._resolve(true);\n    },\n\n    cancel: function() {\n      if (this.host.cancel) {\n        this.host.cancel();\n      }\n      this._resolve(false);\n    },\n\n    complete: function(response) {\n      var self = this;\n      if (self._state === INITIAL_STATE) {\n        self._state = DONE_PENDING_STATE;\n        self._runInAnimationFrame(function() {\n          self._resolve(response);\n        });\n      }\n    },\n\n    _resolve: function(response) {\n      if (this._state !== DONE_COMPLETE_STATE) {\n        forEach(this._doneCallbacks, function(fn) {\n          fn(response);\n        });\n        this._doneCallbacks.length = 0;\n        this._state = DONE_COMPLETE_STATE;\n      }\n    }\n  };\n\n  return AnimateRunner;\n}];\n\nvar $$AnimationProvider = ['$animateProvider', function($animateProvider) {\n  var NG_ANIMATE_REF_ATTR = 'ng-animate-ref';\n\n  var drivers = this.drivers = [];\n\n  var RUNNER_STORAGE_KEY = '$$animationRunner';\n\n  function setRunner(element, runner) {\n    element.data(RUNNER_STORAGE_KEY, runner);\n  }\n\n  function removeRunner(element) {\n    element.removeData(RUNNER_STORAGE_KEY);\n  }\n\n  function getRunner(element) {\n    return element.data(RUNNER_STORAGE_KEY);\n  }\n\n  this.$get = ['$$jqLite', '$rootScope', '$injector', '$$AnimateRunner', '$$HashMap', '$$rAFScheduler',\n       function($$jqLite,   $rootScope,   $injector,   $$AnimateRunner,   $$HashMap,   $$rAFScheduler) {\n\n    var animationQueue = [];\n    var applyAnimationClasses = applyAnimationClassesFactory($$jqLite);\n\n    function sortAnimations(animations) {\n      var tree = { children: [] };\n      var i, lookup = new $$HashMap();\n\n      // this is done first beforehand so that the hashmap\n      // is filled with a list of the elements that will be animated\n      for (i = 0; i < animations.length; i++) {\n        var animation = animations[i];\n        lookup.put(animation.domNode, animations[i] = {\n          domNode: animation.domNode,\n          fn: animation.fn,\n          children: []\n        });\n      }\n\n      for (i = 0; i < animations.length; i++) {\n        processNode(animations[i]);\n      }\n\n      return flatten(tree);\n\n      function processNode(entry) {\n        if (entry.processed) return entry;\n        entry.processed = true;\n\n        var elementNode = entry.domNode;\n        var parentNode = elementNode.parentNode;\n        lookup.put(elementNode, entry);\n\n        var parentEntry;\n        while (parentNode) {\n          parentEntry = lookup.get(parentNode);\n          if (parentEntry) {\n            if (!parentEntry.processed) {\n              parentEntry = processNode(parentEntry);\n            }\n            break;\n          }\n          parentNode = parentNode.parentNode;\n        }\n\n        (parentEntry || tree).children.push(entry);\n        return entry;\n      }\n\n      function flatten(tree) {\n        var result = [];\n        var queue = [];\n        var i;\n\n        for (i = 0; i < tree.children.length; i++) {\n          queue.push(tree.children[i]);\n        }\n\n        var remainingLevelEntries = queue.length;\n        var nextLevelEntries = 0;\n        var row = [];\n\n        for (i = 0; i < queue.length; i++) {\n          var entry = queue[i];\n          if (remainingLevelEntries <= 0) {\n            remainingLevelEntries = nextLevelEntries;\n            nextLevelEntries = 0;\n            result.push(row);\n            row = [];\n          }\n          row.push(entry.fn);\n          entry.children.forEach(function(childEntry) {\n            nextLevelEntries++;\n            queue.push(childEntry);\n          });\n          remainingLevelEntries--;\n        }\n\n        if (row.length) {\n          result.push(row);\n        }\n\n        return result;\n      }\n    }\n\n    // TODO(matsko): document the signature in a better way\n    return function(element, event, options) {\n      options = prepareAnimationOptions(options);\n      var isStructural = ['enter', 'move', 'leave'].indexOf(event) >= 0;\n\n      // there is no animation at the current moment, however\n      // these runner methods will get later updated with the\n      // methods leading into the driver's end/cancel methods\n      // for now they just stop the animation from starting\n      var runner = new $$AnimateRunner({\n        end: function() { close(); },\n        cancel: function() { close(true); }\n      });\n\n      if (!drivers.length) {\n        close();\n        return runner;\n      }\n\n      setRunner(element, runner);\n\n      var classes = mergeClasses(element.attr('class'), mergeClasses(options.addClass, options.removeClass));\n      var tempClasses = options.tempClasses;\n      if (tempClasses) {\n        classes += ' ' + tempClasses;\n        options.tempClasses = null;\n      }\n\n      animationQueue.push({\n        // this data is used by the postDigest code and passed into\n        // the driver step function\n        element: element,\n        classes: classes,\n        event: event,\n        structural: isStructural,\n        options: options,\n        beforeStart: beforeStart,\n        close: close\n      });\n\n      element.on('$destroy', handleDestroyedElement);\n\n      // we only want there to be one function called within the post digest\n      // block. This way we can group animations for all the animations that\n      // were apart of the same postDigest flush call.\n      if (animationQueue.length > 1) return runner;\n\n      $rootScope.$$postDigest(function() {\n        var animations = [];\n        forEach(animationQueue, function(entry) {\n          // the element was destroyed early on which removed the runner\n          // form its storage. This means we can't animate this element\n          // at all and it already has been closed due to destruction.\n          if (getRunner(entry.element)) {\n            animations.push(entry);\n          } else {\n            entry.close();\n          }\n        });\n\n        // now any future animations will be in another postDigest\n        animationQueue.length = 0;\n\n        var groupedAnimations = groupAnimations(animations);\n        var toBeSortedAnimations = [];\n\n        forEach(groupedAnimations, function(animationEntry) {\n          toBeSortedAnimations.push({\n            domNode: getDomNode(animationEntry.from ? animationEntry.from.element : animationEntry.element),\n            fn: function triggerAnimationStart() {\n              // it's important that we apply the `ng-animate` CSS class and the\n              // temporary classes before we do any driver invoking since these\n              // CSS classes may be required for proper CSS detection.\n              animationEntry.beforeStart();\n\n              var startAnimationFn, closeFn = animationEntry.close;\n\n              // in the event that the element was removed before the digest runs or\n              // during the RAF sequencing then we should not trigger the animation.\n              var targetElement = animationEntry.anchors\n                  ? (animationEntry.from.element || animationEntry.to.element)\n                  : animationEntry.element;\n\n              if (getRunner(targetElement)) {\n                var operation = invokeFirstDriver(animationEntry);\n                if (operation) {\n                  startAnimationFn = operation.start;\n                }\n              }\n\n              if (!startAnimationFn) {\n                closeFn();\n              } else {\n                var animationRunner = startAnimationFn();\n                animationRunner.done(function(status) {\n                  closeFn(!status);\n                });\n                updateAnimationRunners(animationEntry, animationRunner);\n              }\n            }\n          });\n        });\n\n        // we need to sort each of the animations in order of parent to child\n        // relationships. This ensures that the child classes are applied at the\n        // right time.\n        $$rAFScheduler(sortAnimations(toBeSortedAnimations));\n      });\n\n      return runner;\n\n      // TODO(matsko): change to reference nodes\n      function getAnchorNodes(node) {\n        var SELECTOR = '[' + NG_ANIMATE_REF_ATTR + ']';\n        var items = node.hasAttribute(NG_ANIMATE_REF_ATTR)\n              ? [node]\n              : node.querySelectorAll(SELECTOR);\n        var anchors = [];\n        forEach(items, function(node) {\n          var attr = node.getAttribute(NG_ANIMATE_REF_ATTR);\n          if (attr && attr.length) {\n            anchors.push(node);\n          }\n        });\n        return anchors;\n      }\n\n      function groupAnimations(animations) {\n        var preparedAnimations = [];\n        var refLookup = {};\n        forEach(animations, function(animation, index) {\n          var element = animation.element;\n          var node = getDomNode(element);\n          var event = animation.event;\n          var enterOrMove = ['enter', 'move'].indexOf(event) >= 0;\n          var anchorNodes = animation.structural ? getAnchorNodes(node) : [];\n\n          if (anchorNodes.length) {\n            var direction = enterOrMove ? 'to' : 'from';\n\n            forEach(anchorNodes, function(anchor) {\n              var key = anchor.getAttribute(NG_ANIMATE_REF_ATTR);\n              refLookup[key] = refLookup[key] || {};\n              refLookup[key][direction] = {\n                animationID: index,\n                element: jqLite(anchor)\n              };\n            });\n          } else {\n            preparedAnimations.push(animation);\n          }\n        });\n\n        var usedIndicesLookup = {};\n        var anchorGroups = {};\n        forEach(refLookup, function(operations, key) {\n          var from = operations.from;\n          var to = operations.to;\n\n          if (!from || !to) {\n            // only one of these is set therefore we can't have an\n            // anchor animation since all three pieces are required\n            var index = from ? from.animationID : to.animationID;\n            var indexKey = index.toString();\n            if (!usedIndicesLookup[indexKey]) {\n              usedIndicesLookup[indexKey] = true;\n              preparedAnimations.push(animations[index]);\n            }\n            return;\n          }\n\n          var fromAnimation = animations[from.animationID];\n          var toAnimation = animations[to.animationID];\n          var lookupKey = from.animationID.toString();\n          if (!anchorGroups[lookupKey]) {\n            var group = anchorGroups[lookupKey] = {\n              structural: true,\n              beforeStart: function() {\n                fromAnimation.beforeStart();\n                toAnimation.beforeStart();\n              },\n              close: function() {\n                fromAnimation.close();\n                toAnimation.close();\n              },\n              classes: cssClassesIntersection(fromAnimation.classes, toAnimation.classes),\n              from: fromAnimation,\n              to: toAnimation,\n              anchors: [] // TODO(matsko): change to reference nodes\n            };\n\n            // the anchor animations require that the from and to elements both have at least\n            // one shared CSS class which effictively marries the two elements together to use\n            // the same animation driver and to properly sequence the anchor animation.\n            if (group.classes.length) {\n              preparedAnimations.push(group);\n            } else {\n              preparedAnimations.push(fromAnimation);\n              preparedAnimations.push(toAnimation);\n            }\n          }\n\n          anchorGroups[lookupKey].anchors.push({\n            'out': from.element, 'in': to.element\n          });\n        });\n\n        return preparedAnimations;\n      }\n\n      function cssClassesIntersection(a,b) {\n        a = a.split(' ');\n        b = b.split(' ');\n        var matches = [];\n\n        for (var i = 0; i < a.length; i++) {\n          var aa = a[i];\n          if (aa.substring(0,3) === 'ng-') continue;\n\n          for (var j = 0; j < b.length; j++) {\n            if (aa === b[j]) {\n              matches.push(aa);\n              break;\n            }\n          }\n        }\n\n        return matches.join(' ');\n      }\n\n      function invokeFirstDriver(animationDetails) {\n        // we loop in reverse order since the more general drivers (like CSS and JS)\n        // may attempt more elements, but custom drivers are more particular\n        for (var i = drivers.length - 1; i >= 0; i--) {\n          var driverName = drivers[i];\n          if (!$injector.has(driverName)) continue; // TODO(matsko): remove this check\n\n          var factory = $injector.get(driverName);\n          var driver = factory(animationDetails);\n          if (driver) {\n            return driver;\n          }\n        }\n      }\n\n      function beforeStart() {\n        element.addClass(NG_ANIMATE_CLASSNAME);\n        if (tempClasses) {\n          $$jqLite.addClass(element, tempClasses);\n        }\n      }\n\n      function updateAnimationRunners(animation, newRunner) {\n        if (animation.from && animation.to) {\n          update(animation.from.element);\n          update(animation.to.element);\n        } else {\n          update(animation.element);\n        }\n\n        function update(element) {\n          getRunner(element).setHost(newRunner);\n        }\n      }\n\n      function handleDestroyedElement() {\n        var runner = getRunner(element);\n        if (runner && (event !== 'leave' || !options.$$domOperationFired)) {\n          runner.end();\n        }\n      }\n\n      function close(rejected) { // jshint ignore:line\n        element.off('$destroy', handleDestroyedElement);\n        removeRunner(element);\n\n        applyAnimationClasses(element, options);\n        applyAnimationStyles(element, options);\n        options.domOperation();\n\n        if (tempClasses) {\n          $$jqLite.removeClass(element, tempClasses);\n        }\n\n        element.removeClass(NG_ANIMATE_CLASSNAME);\n        runner.complete(!rejected);\n      }\n    };\n  }];\n}];\n\n/* global angularAnimateModule: true,\n\n   $$AnimateAsyncRunFactory,\n   $$rAFSchedulerFactory,\n   $$AnimateChildrenDirective,\n   $$AnimateRunnerFactory,\n   $$AnimateQueueProvider,\n   $$AnimationProvider,\n   $AnimateCssProvider,\n   $$AnimateCssDriverProvider,\n   $$AnimateJsProvider,\n   $$AnimateJsDriverProvider,\n*/\n\n/**\n * @ngdoc module\n * @name ngAnimate\n * @description\n *\n * The `ngAnimate` module provides support for CSS-based animations (keyframes and transitions) as well as JavaScript-based animations via\n * callback hooks. Animations are not enabled by default, however, by including `ngAnimate` the animation hooks are enabled for an Angular app.\n *\n * <div doc-module-components=\"ngAnimate\"></div>\n *\n * # Usage\n * Simply put, there are two ways to make use of animations when ngAnimate is used: by using **CSS** and **JavaScript**. The former works purely based\n * using CSS (by using matching CSS selectors/styles) and the latter triggers animations that are registered via `module.animation()`. For\n * both CSS and JS animations the sole requirement is to have a matching `CSS class` that exists both in the registered animation and within\n * the HTML element that the animation will be triggered on.\n *\n * ## Directive Support\n * The following directives are \"animation aware\":\n *\n * | Directive                                                                                                | Supported Animations                                                     |\n * |----------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------|\n * | {@link ng.directive:ngRepeat#animations ngRepeat}                                                        | enter, leave and move                                                    |\n * | {@link ngRoute.directive:ngView#animations ngView}                                                       | enter and leave                                                          |\n * | {@link ng.directive:ngInclude#animations ngInclude}                                                      | enter and leave                                                          |\n * | {@link ng.directive:ngSwitch#animations ngSwitch}                                                        | enter and leave                                                          |\n * | {@link ng.directive:ngIf#animations ngIf}                                                                | enter and leave                                                          |\n * | {@link ng.directive:ngClass#animations ngClass}                                                          | add and remove (the CSS class(es) present)                               |\n * | {@link ng.directive:ngShow#animations ngShow} & {@link ng.directive:ngHide#animations ngHide}            | add and remove (the ng-hide class value)                                 |\n * | {@link ng.directive:form#animation-hooks form} & {@link ng.directive:ngModel#animation-hooks ngModel}    | add and remove (dirty, pristine, valid, invalid & all other validations) |\n * | {@link module:ngMessages#animations ngMessages}                                                          | add and remove (ng-active & ng-inactive)                                 |\n * | {@link module:ngMessages#animations ngMessage}                                                           | enter and leave                                                          |\n *\n * (More information can be found by visiting each the documentation associated with each directive.)\n *\n * ## CSS-based Animations\n *\n * CSS-based animations with ngAnimate are unique since they require no JavaScript code at all. By using a CSS class that we reference between our HTML\n * and CSS code we can create an animation that will be picked up by Angular when an the underlying directive performs an operation.\n *\n * The example below shows how an `enter` animation can be made possible on an element using `ng-if`:\n *\n * ```html\n * <div ng-if=\"bool\" class=\"fade\">\n *    Fade me in out\n * </div>\n * <button ng-click=\"bool=true\">Fade In!</button>\n * <button ng-click=\"bool=false\">Fade Out!</button>\n * ```\n *\n * Notice the CSS class **fade**? We can now create the CSS transition code that references this class:\n *\n * ```css\n * /&#42; The starting CSS styles for the enter animation &#42;/\n * .fade.ng-enter {\n *   transition:0.5s linear all;\n *   opacity:0;\n * }\n *\n * /&#42; The finishing CSS styles for the enter animation &#42;/\n * .fade.ng-enter.ng-enter-active {\n *   opacity:1;\n * }\n * ```\n *\n * The key thing to remember here is that, depending on the animation event (which each of the directives above trigger depending on what's going on) two\n * generated CSS classes will be applied to the element; in the example above we have `.ng-enter` and `.ng-enter-active`. For CSS transitions, the transition\n * code **must** be defined within the starting CSS class (in this case `.ng-enter`). The destination class is what the transition will animate towards.\n *\n * If for example we wanted to create animations for `leave` and `move` (ngRepeat triggers move) then we can do so using the same CSS naming conventions:\n *\n * ```css\n * /&#42; now the element will fade out before it is removed from the DOM &#42;/\n * .fade.ng-leave {\n *   transition:0.5s linear all;\n *   opacity:1;\n * }\n * .fade.ng-leave.ng-leave-active {\n *   opacity:0;\n * }\n * ```\n *\n * We can also make use of **CSS Keyframes** by referencing the keyframe animation within the starting CSS class:\n *\n * ```css\n * /&#42; there is no need to define anything inside of the destination\n * CSS class since the keyframe will take charge of the animation &#42;/\n * .fade.ng-leave {\n *   animation: my_fade_animation 0.5s linear;\n *   -webkit-animation: my_fade_animation 0.5s linear;\n * }\n *\n * @keyframes my_fade_animation {\n *   from { opacity:1; }\n *   to { opacity:0; }\n * }\n *\n * @-webkit-keyframes my_fade_animation {\n *   from { opacity:1; }\n *   to { opacity:0; }\n * }\n * ```\n *\n * Feel free also mix transitions and keyframes together as well as any other CSS classes on the same element.\n *\n * ### CSS Class-based Animations\n *\n * Class-based animations (animations that are triggered via `ngClass`, `ngShow`, `ngHide` and some other directives) have a slightly different\n * naming convention. Class-based animations are basic enough that a standard transition or keyframe can be referenced on the class being added\n * and removed.\n *\n * For example if we wanted to do a CSS animation for `ngHide` then we place an animation on the `.ng-hide` CSS class:\n *\n * ```html\n * <div ng-show=\"bool\" class=\"fade\">\n *   Show and hide me\n * </div>\n * <button ng-click=\"bool=true\">Toggle</button>\n *\n * <style>\n * .fade.ng-hide {\n *   transition:0.5s linear all;\n *   opacity:0;\n * }\n * </style>\n * ```\n *\n * All that is going on here with ngShow/ngHide behind the scenes is the `.ng-hide` class is added/removed (when the hidden state is valid). Since\n * ngShow and ngHide are animation aware then we can match up a transition and ngAnimate handles the rest.\n *\n * In addition the addition and removal of the CSS class, ngAnimate also provides two helper methods that we can use to further decorate the animation\n * with CSS styles.\n *\n * ```html\n * <div ng-class=\"{on:onOff}\" class=\"highlight\">\n *   Highlight this box\n * </div>\n * <button ng-click=\"onOff=!onOff\">Toggle</button>\n *\n * <style>\n * .highlight {\n *   transition:0.5s linear all;\n * }\n * .highlight.on-add {\n *   background:white;\n * }\n * .highlight.on {\n *   background:yellow;\n * }\n * .highlight.on-remove {\n *   background:black;\n * }\n * </style>\n * ```\n *\n * We can also make use of CSS keyframes by placing them within the CSS classes.\n *\n *\n * ### CSS Staggering Animations\n * A Staggering animation is a collection of animations that are issued with a slight delay in between each successive operation resulting in a\n * curtain-like effect. The ngAnimate module (versions >=1.2) supports staggering animations and the stagger effect can be\n * performed by creating a **ng-EVENT-stagger** CSS class and attaching that class to the base CSS class used for\n * the animation. The style property expected within the stagger class can either be a **transition-delay** or an\n * **animation-delay** property (or both if your animation contains both transitions and keyframe animations).\n *\n * ```css\n * .my-animation.ng-enter {\n *   /&#42; standard transition code &#42;/\n *   transition: 1s linear all;\n *   opacity:0;\n * }\n * .my-animation.ng-enter-stagger {\n *   /&#42; this will have a 100ms delay between each successive leave animation &#42;/\n *   transition-delay: 0.1s;\n *\n *   /&#42; As of 1.4.4, this must always be set: it signals ngAnimate\n *     to not accidentally inherit a delay property from another CSS class &#42;/\n *   transition-duration: 0s;\n * }\n * .my-animation.ng-enter.ng-enter-active {\n *   /&#42; standard transition styles &#42;/\n *   opacity:1;\n * }\n * ```\n *\n * Staggering animations work by default in ngRepeat (so long as the CSS class is defined). Outside of ngRepeat, to use staggering animations\n * on your own, they can be triggered by firing multiple calls to the same event on $animate. However, the restrictions surrounding this\n * are that each of the elements must have the same CSS className value as well as the same parent element. A stagger operation\n * will also be reset if one or more animation frames have passed since the multiple calls to `$animate` were fired.\n *\n * The following code will issue the **ng-leave-stagger** event on the element provided:\n *\n * ```js\n * var kids = parent.children();\n *\n * $animate.leave(kids[0]); //stagger index=0\n * $animate.leave(kids[1]); //stagger index=1\n * $animate.leave(kids[2]); //stagger index=2\n * $animate.leave(kids[3]); //stagger index=3\n * $animate.leave(kids[4]); //stagger index=4\n *\n * window.requestAnimationFrame(function() {\n *   //stagger has reset itself\n *   $animate.leave(kids[5]); //stagger index=0\n *   $animate.leave(kids[6]); //stagger index=1\n *\n *   $scope.$digest();\n * });\n * ```\n *\n * Stagger animations are currently only supported within CSS-defined animations.\n *\n * ### The `ng-animate` CSS class\n *\n * When ngAnimate is animating an element it will apply the `ng-animate` CSS class to the element for the duration of the animation.\n * This is a temporary CSS class and it will be removed once the animation is over (for both JavaScript and CSS-based animations).\n *\n * Therefore, animations can be applied to an element using this temporary class directly via CSS.\n *\n * ```css\n * .zipper.ng-animate {\n *   transition:0.5s linear all;\n * }\n * .zipper.ng-enter {\n *   opacity:0;\n * }\n * .zipper.ng-enter.ng-enter-active {\n *   opacity:1;\n * }\n * .zipper.ng-leave {\n *   opacity:1;\n * }\n * .zipper.ng-leave.ng-leave-active {\n *   opacity:0;\n * }\n * ```\n *\n * (Note that the `ng-animate` CSS class is reserved and it cannot be applied on an element directly since ngAnimate will always remove\n * the CSS class once an animation has completed.)\n *\n *\n * ## JavaScript-based Animations\n *\n * ngAnimate also allows for animations to be consumed by JavaScript code. The approach is similar to CSS-based animations (where there is a shared\n * CSS class that is referenced in our HTML code) but in addition we need to register the JavaScript animation on the module. By making use of the\n * `module.animation()` module function we can register the ainmation.\n *\n * Let's see an example of a enter/leave animation using `ngRepeat`:\n *\n * ```html\n * <div ng-repeat=\"item in items\" class=\"slide\">\n *   {{ item }}\n * </div>\n * ```\n *\n * See the **slide** CSS class? Let's use that class to define an animation that we'll structure in our module code by using `module.animation`:\n *\n * ```js\n * myModule.animation('.slide', [function() {\n *   return {\n *     // make note that other events (like addClass/removeClass)\n *     // have different function input parameters\n *     enter: function(element, doneFn) {\n *       jQuery(element).fadeIn(1000, doneFn);\n *\n *       // remember to call doneFn so that angular\n *       // knows that the animation has concluded\n *     },\n *\n *     move: function(element, doneFn) {\n *       jQuery(element).fadeIn(1000, doneFn);\n *     },\n *\n *     leave: function(element, doneFn) {\n *       jQuery(element).fadeOut(1000, doneFn);\n *     }\n *   }\n * }]);\n * ```\n *\n * The nice thing about JS-based animations is that we can inject other services and make use of advanced animation libraries such as\n * greensock.js and velocity.js.\n *\n * If our animation code class-based (meaning that something like `ngClass`, `ngHide` and `ngShow` triggers it) then we can still define\n * our animations inside of the same registered animation, however, the function input arguments are a bit different:\n *\n * ```html\n * <div ng-class=\"color\" class=\"colorful\">\n *   this box is moody\n * </div>\n * <button ng-click=\"color='red'\">Change to red</button>\n * <button ng-click=\"color='blue'\">Change to blue</button>\n * <button ng-click=\"color='green'\">Change to green</button>\n * ```\n *\n * ```js\n * myModule.animation('.colorful', [function() {\n *   return {\n *     addClass: function(element, className, doneFn) {\n *       // do some cool animation and call the doneFn\n *     },\n *     removeClass: function(element, className, doneFn) {\n *       // do some cool animation and call the doneFn\n *     },\n *     setClass: function(element, addedClass, removedClass, doneFn) {\n *       // do some cool animation and call the doneFn\n *     }\n *   }\n * }]);\n * ```\n *\n * ## CSS + JS Animations Together\n *\n * AngularJS 1.4 and higher has taken steps to make the amalgamation of CSS and JS animations more flexible. However, unlike earlier versions of Angular,\n * defining CSS and JS animations to work off of the same CSS class will not work anymore. Therefore the example below will only result in **JS animations taking\n * charge of the animation**:\n *\n * ```html\n * <div ng-if=\"bool\" class=\"slide\">\n *   Slide in and out\n * </div>\n * ```\n *\n * ```js\n * myModule.animation('.slide', [function() {\n *   return {\n *     enter: function(element, doneFn) {\n *       jQuery(element).slideIn(1000, doneFn);\n *     }\n *   }\n * }]);\n * ```\n *\n * ```css\n * .slide.ng-enter {\n *   transition:0.5s linear all;\n *   transform:translateY(-100px);\n * }\n * .slide.ng-enter.ng-enter-active {\n *   transform:translateY(0);\n * }\n * ```\n *\n * Does this mean that CSS and JS animations cannot be used together? Do JS-based animations always have higher priority? We can make up for the\n * lack of CSS animations by using the `$animateCss` service to trigger our own tweaked-out, CSS-based animations directly from\n * our own JS-based animation code:\n *\n * ```js\n * myModule.animation('.slide', ['$animateCss', function($animateCss) {\n *   return {\n *     enter: function(element) {\n*        // this will trigger `.slide.ng-enter` and `.slide.ng-enter-active`.\n *       return $animateCss(element, {\n *         event: 'enter',\n *         structural: true\n *       });\n *     }\n *   }\n * }]);\n * ```\n *\n * The nice thing here is that we can save bandwidth by sticking to our CSS-based animation code and we don't need to rely on a 3rd-party animation framework.\n *\n * The `$animateCss` service is very powerful since we can feed in all kinds of extra properties that will be evaluated and fed into a CSS transition or\n * keyframe animation. For example if we wanted to animate the height of an element while adding and removing classes then we can do so by providing that\n * data into `$animateCss` directly:\n *\n * ```js\n * myModule.animation('.slide', ['$animateCss', function($animateCss) {\n *   return {\n *     enter: function(element) {\n *       return $animateCss(element, {\n *         event: 'enter',\n *         structural: true,\n *         addClass: 'maroon-setting',\n *         from: { height:0 },\n *         to: { height: 200 }\n *       });\n *     }\n *   }\n * }]);\n * ```\n *\n * Now we can fill in the rest via our transition CSS code:\n *\n * ```css\n * /&#42; the transition tells ngAnimate to make the animation happen &#42;/\n * .slide.ng-enter { transition:0.5s linear all; }\n *\n * /&#42; this extra CSS class will be absorbed into the transition\n * since the $animateCss code is adding the class &#42;/\n * .maroon-setting { background:red; }\n * ```\n *\n * And `$animateCss` will figure out the rest. Just make sure to have the `done()` callback fire the `doneFn` function to signal when the animation is over.\n *\n * To learn more about what's possible be sure to visit the {@link ngAnimate.$animateCss $animateCss service}.\n *\n * ## Animation Anchoring (via `ng-animate-ref`)\n *\n * ngAnimate in AngularJS 1.4 comes packed with the ability to cross-animate elements between\n * structural areas of an application (like views) by pairing up elements using an attribute\n * called `ng-animate-ref`.\n *\n * Let's say for example we have two views that are managed by `ng-view` and we want to show\n * that there is a relationship between two components situated in within these views. By using the\n * `ng-animate-ref` attribute we can identify that the two components are paired together and we\n * can then attach an animation, which is triggered when the view changes.\n *\n * Say for example we have the following template code:\n *\n * ```html\n * <!-- index.html -->\n * <div ng-view class=\"view-animation\">\n * </div>\n *\n * <!-- home.html -->\n * <a href=\"#/banner-page\">\n *   <img src=\"./banner.jpg\" class=\"banner\" ng-animate-ref=\"banner\">\n * </a>\n *\n * <!-- banner-page.html -->\n * <img src=\"./banner.jpg\" class=\"banner\" ng-animate-ref=\"banner\">\n * ```\n *\n * Now, when the view changes (once the link is clicked), ngAnimate will examine the\n * HTML contents to see if there is a match reference between any components in the view\n * that is leaving and the view that is entering. It will scan both the view which is being\n * removed (leave) and inserted (enter) to see if there are any paired DOM elements that\n * contain a matching ref value.\n *\n * The two images match since they share the same ref value. ngAnimate will now create a\n * transport element (which is a clone of the first image element) and it will then attempt\n * to animate to the position of the second image element in the next view. For the animation to\n * work a special CSS class called `ng-anchor` will be added to the transported element.\n *\n * We can now attach a transition onto the `.banner.ng-anchor` CSS class and then\n * ngAnimate will handle the entire transition for us as well as the addition and removal of\n * any changes of CSS classes between the elements:\n *\n * ```css\n * .banner.ng-anchor {\n *   /&#42; this animation will last for 1 second since there are\n *          two phases to the animation (an `in` and an `out` phase) &#42;/\n *   transition:0.5s linear all;\n * }\n * ```\n *\n * We also **must** include animations for the views that are being entered and removed\n * (otherwise anchoring wouldn't be possible since the new view would be inserted right away).\n *\n * ```css\n * .view-animation.ng-enter, .view-animation.ng-leave {\n *   transition:0.5s linear all;\n *   position:fixed;\n *   left:0;\n *   top:0;\n *   width:100%;\n * }\n * .view-animation.ng-enter {\n *   transform:translateX(100%);\n * }\n * .view-animation.ng-leave,\n * .view-animation.ng-enter.ng-enter-active {\n *   transform:translateX(0%);\n * }\n * .view-animation.ng-leave.ng-leave-active {\n *   transform:translateX(-100%);\n * }\n * ```\n *\n * Now we can jump back to the anchor animation. When the animation happens, there are two stages that occur:\n * an `out` and an `in` stage. The `out` stage happens first and that is when the element is animated away\n * from its origin. Once that animation is over then the `in` stage occurs which animates the\n * element to its destination. The reason why there are two animations is to give enough time\n * for the enter animation on the new element to be ready.\n *\n * The example above sets up a transition for both the in and out phases, but we can also target the out or\n * in phases directly via `ng-anchor-out` and `ng-anchor-in`.\n *\n * ```css\n * .banner.ng-anchor-out {\n *   transition: 0.5s linear all;\n *\n *   /&#42; the scale will be applied during the out animation,\n *          but will be animated away when the in animation runs &#42;/\n *   transform: scale(1.2);\n * }\n *\n * .banner.ng-anchor-in {\n *   transition: 1s linear all;\n * }\n * ```\n *\n *\n *\n *\n * ### Anchoring Demo\n *\n  <example module=\"anchoringExample\"\n           name=\"anchoringExample\"\n           id=\"anchoringExample\"\n           deps=\"angular-animate.js;angular-route.js\"\n           animations=\"true\">\n    <file name=\"index.html\">\n      <a href=\"#/\">Home</a>\n      <hr />\n      <div class=\"view-container\">\n        <div ng-view class=\"view\"></div>\n      </div>\n    </file>\n    <file name=\"script.js\">\n      angular.module('anchoringExample', ['ngAnimate', 'ngRoute'])\n        .config(['$routeProvider', function($routeProvider) {\n          $routeProvider.when('/', {\n            templateUrl: 'home.html',\n            controller: 'HomeController as home'\n          });\n          $routeProvider.when('/profile/:id', {\n            templateUrl: 'profile.html',\n            controller: 'ProfileController as profile'\n          });\n        }])\n        .run(['$rootScope', function($rootScope) {\n          $rootScope.records = [\n            { id:1, title: \"Miss Beulah Roob\" },\n            { id:2, title: \"Trent Morissette\" },\n            { id:3, title: \"Miss Ava Pouros\" },\n            { id:4, title: \"Rod Pouros\" },\n            { id:5, title: \"Abdul Rice\" },\n            { id:6, title: \"Laurie Rutherford Sr.\" },\n            { id:7, title: \"Nakia McLaughlin\" },\n            { id:8, title: \"Jordon Blanda DVM\" },\n            { id:9, title: \"Rhoda Hand\" },\n            { id:10, title: \"Alexandrea Sauer\" }\n          ];\n        }])\n        .controller('HomeController', [function() {\n          //empty\n        }])\n        .controller('ProfileController', ['$rootScope', '$routeParams', function($rootScope, $routeParams) {\n          var index = parseInt($routeParams.id, 10);\n          var record = $rootScope.records[index - 1];\n\n          this.title = record.title;\n          this.id = record.id;\n        }]);\n    </file>\n    <file name=\"home.html\">\n      <h2>Welcome to the home page</h1>\n      <p>Please click on an element</p>\n      <a class=\"record\"\n         ng-href=\"#/profile/{{ record.id }}\"\n         ng-animate-ref=\"{{ record.id }}\"\n         ng-repeat=\"record in records\">\n        {{ record.title }}\n      </a>\n    </file>\n    <file name=\"profile.html\">\n      <div class=\"profile record\" ng-animate-ref=\"{{ profile.id }}\">\n        {{ profile.title }}\n      </div>\n    </file>\n    <file name=\"animations.css\">\n      .record {\n        display:block;\n        font-size:20px;\n      }\n      .profile {\n        background:black;\n        color:white;\n        font-size:100px;\n      }\n      .view-container {\n        position:relative;\n      }\n      .view-container > .view.ng-animate {\n        position:absolute;\n        top:0;\n        left:0;\n        width:100%;\n        min-height:500px;\n      }\n      .view.ng-enter, .view.ng-leave,\n      .record.ng-anchor {\n        transition:0.5s linear all;\n      }\n      .view.ng-enter {\n        transform:translateX(100%);\n      }\n      .view.ng-enter.ng-enter-active, .view.ng-leave {\n        transform:translateX(0%);\n      }\n      .view.ng-leave.ng-leave-active {\n        transform:translateX(-100%);\n      }\n      .record.ng-anchor-out {\n        background:red;\n      }\n    </file>\n  </example>\n *\n * ### How is the element transported?\n *\n * When an anchor animation occurs, ngAnimate will clone the starting element and position it exactly where the starting\n * element is located on screen via absolute positioning. The cloned element will be placed inside of the root element\n * of the application (where ng-app was defined) and all of the CSS classes of the starting element will be applied. The\n * element will then animate into the `out` and `in` animations and will eventually reach the coordinates and match\n * the dimensions of the destination element. During the entire animation a CSS class of `.ng-animate-shim` will be applied\n * to both the starting and destination elements in order to hide them from being visible (the CSS styling for the class\n * is: `visibility:hidden`). Once the anchor reaches its destination then it will be removed and the destination element\n * will become visible since the shim class will be removed.\n *\n * ### How is the morphing handled?\n *\n * CSS Anchoring relies on transitions and keyframes and the internal code is intelligent enough to figure out\n * what CSS classes differ between the starting element and the destination element. These different CSS classes\n * will be added/removed on the anchor element and a transition will be applied (the transition that is provided\n * in the anchor class). Long story short, ngAnimate will figure out what classes to add and remove which will\n * make the transition of the element as smooth and automatic as possible. Be sure to use simple CSS classes that\n * do not rely on DOM nesting structure so that the anchor element appears the same as the starting element (since\n * the cloned element is placed inside of root element which is likely close to the body element).\n *\n * Note that if the root element is on the `<html>` element then the cloned node will be placed inside of body.\n *\n *\n * ## Using $animate in your directive code\n *\n * So far we've explored how to feed in animations into an Angular application, but how do we trigger animations within our own directives in our application?\n * By injecting the `$animate` service into our directive code, we can trigger structural and class-based hooks which can then be consumed by animations. Let's\n * imagine we have a greeting box that shows and hides itself when the data changes\n *\n * ```html\n * <greeting-box active=\"onOrOff\">Hi there</greeting-box>\n * ```\n *\n * ```js\n * ngModule.directive('greetingBox', ['$animate', function($animate) {\n *   return function(scope, element, attrs) {\n *     attrs.$observe('active', function(value) {\n *       value ? $animate.addClass(element, 'on') : $animate.removeClass(element, 'on');\n *     });\n *   });\n * }]);\n * ```\n *\n * Now the `on` CSS class is added and removed on the greeting box component. Now if we add a CSS class on top of the greeting box element\n * in our HTML code then we can trigger a CSS or JS animation to happen.\n *\n * ```css\n * /&#42; normally we would create a CSS class to reference on the element &#42;/\n * greeting-box.on { transition:0.5s linear all; background:green; color:white; }\n * ```\n *\n * The `$animate` service contains a variety of other methods like `enter`, `leave`, `animate` and `setClass`. To learn more about what's\n * possible be sure to visit the {@link ng.$animate $animate service API page}.\n *\n *\n * ### Preventing Collisions With Third Party Libraries\n *\n * Some third-party frameworks place animation duration defaults across many element or className\n * selectors in order to make their code small and reuseable. This can lead to issues with ngAnimate, which\n * is expecting actual animations on these elements and has to wait for their completion.\n *\n * You can prevent this unwanted behavior by using a prefix on all your animation classes:\n *\n * ```css\n * /&#42; prefixed with animate- &#42;/\n * .animate-fade-add.animate-fade-add-active {\n *   transition:1s linear all;\n *   opacity:0;\n * }\n * ```\n *\n * You then configure `$animate` to enforce this prefix:\n *\n * ```js\n * $animateProvider.classNameFilter(/animate-/);\n * ```\n *\n * This also may provide your application with a speed boost since only specific elements containing CSS class prefix\n * will be evaluated for animation when any DOM changes occur in the application.\n *\n * ## Callbacks and Promises\n *\n * When `$animate` is called it returns a promise that can be used to capture when the animation has ended. Therefore if we were to trigger\n * an animation (within our directive code) then we can continue performing directive and scope related activities after the animation has\n * ended by chaining onto the returned promise that animation method returns.\n *\n * ```js\n * // somewhere within the depths of the directive\n * $animate.enter(element, parent).then(function() {\n *   //the animation has completed\n * });\n * ```\n *\n * (Note that earlier versions of Angular prior to v1.4 required the promise code to be wrapped using `$scope.$apply(...)`. This is not the case\n * anymore.)\n *\n * In addition to the animation promise, we can also make use of animation-related callbacks within our directives and controller code by registering\n * an event listener using the `$animate` service. Let's say for example that an animation was triggered on our view\n * routing controller to hook into that:\n *\n * ```js\n * ngModule.controller('HomePageController', ['$animate', function($animate) {\n *   $animate.on('enter', ngViewElement, function(element) {\n *     // the animation for this route has completed\n *   }]);\n * }])\n * ```\n *\n * (Note that you will need to trigger a digest within the callback to get angular to notice any scope-related changes.)\n */\n\n/**\n * @ngdoc service\n * @name $animate\n * @kind object\n *\n * @description\n * The ngAnimate `$animate` service documentation is the same for the core `$animate` service.\n *\n * Click here {@link ng.$animate to learn more about animations with `$animate`}.\n */\nangular.module('ngAnimate', [])\n  .directive('ngAnimateChildren', $$AnimateChildrenDirective)\n  .factory('$$rAFScheduler', $$rAFSchedulerFactory)\n\n  .factory('$$AnimateRunner', $$AnimateRunnerFactory)\n  .factory('$$animateAsyncRun', $$AnimateAsyncRunFactory)\n\n  .provider('$$animateQueue', $$AnimateQueueProvider)\n  .provider('$$animation', $$AnimationProvider)\n\n  .provider('$animateCss', $AnimateCssProvider)\n  .provider('$$animateCssDriver', $$AnimateCssDriverProvider)\n\n  .provider('$$animateJs', $$AnimateJsProvider)\n  .provider('$$animateJsDriver', $$AnimateJsDriverProvider);\n\n\n})(window, window.angular);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/angular-aria.js",
    "content": "/**\n * @license AngularJS v1.4.8\n * (c) 2010-2015 Google, Inc. http://angularjs.org\n * License: MIT\n */\n(function(window, angular, undefined) {'use strict';\n\n/**\n * @ngdoc module\n * @name ngAria\n * @description\n *\n * The `ngAria` module provides support for common\n * [<abbr title=\"Accessible Rich Internet Applications\">ARIA</abbr>](http://www.w3.org/TR/wai-aria/)\n * attributes that convey state or semantic information about the application for users\n * of assistive technologies, such as screen readers.\n *\n * <div doc-module-components=\"ngAria\"></div>\n *\n * ## Usage\n *\n * For ngAria to do its magic, simply include the module `ngAria` as a dependency. The following\n * directives are supported:\n * `ngModel`, `ngDisabled`, `ngShow`, `ngHide`, `ngClick`, `ngDblClick`, and `ngMessages`.\n *\n * Below is a more detailed breakdown of the attributes handled by ngAria:\n *\n * | Directive                                   | Supported Attributes                                                                   |\n * |---------------------------------------------|----------------------------------------------------------------------------------------|\n * | {@link ng.directive:ngDisabled ngDisabled}  | aria-disabled                                                                          |\n * | {@link ng.directive:ngShow ngShow}          | aria-hidden                                                                            |\n * | {@link ng.directive:ngHide ngHide}          | aria-hidden                                                                            |\n * | {@link ng.directive:ngDblclick ngDblclick}  | tabindex                                                                               |\n * | {@link module:ngMessages ngMessages}        | aria-live                                                                              |\n * | {@link ng.directive:ngModel ngModel}        | aria-checked, aria-valuemin, aria-valuemax, aria-valuenow, aria-invalid, aria-required, input roles |\n * | {@link ng.directive:ngClick ngClick}        | tabindex, keypress event, button role                                                               |\n *\n * Find out more information about each directive by reading the\n * {@link guide/accessibility ngAria Developer Guide}.\n *\n * ##Example\n * Using ngDisabled with ngAria:\n * ```html\n * <md-checkbox ng-disabled=\"disabled\">\n * ```\n * Becomes:\n * ```html\n * <md-checkbox ng-disabled=\"disabled\" aria-disabled=\"true\">\n * ```\n *\n * ##Disabling Attributes\n * It's possible to disable individual attributes added by ngAria with the\n * {@link ngAria.$ariaProvider#config config} method. For more details, see the\n * {@link guide/accessibility Developer Guide}.\n */\n /* global -ngAriaModule */\nvar ngAriaModule = angular.module('ngAria', ['ng']).\n                        provider('$aria', $AriaProvider);\n\n/**\n* Internal Utilities\n*/\nvar nodeBlackList = ['BUTTON', 'A', 'INPUT', 'TEXTAREA', 'SELECT', 'DETAILS', 'SUMMARY'];\n\nvar isNodeOneOf = function(elem, nodeTypeArray) {\n  if (nodeTypeArray.indexOf(elem[0].nodeName) !== -1) {\n    return true;\n  }\n};\n/**\n * @ngdoc provider\n * @name $ariaProvider\n *\n * @description\n *\n * Used for configuring the ARIA attributes injected and managed by ngAria.\n *\n * ```js\n * angular.module('myApp', ['ngAria'], function config($ariaProvider) {\n *   $ariaProvider.config({\n *     ariaValue: true,\n *     tabindex: false\n *   });\n * });\n *```\n *\n * ## Dependencies\n * Requires the {@link ngAria} module to be installed.\n *\n */\nfunction $AriaProvider() {\n  var config = {\n    ariaHidden: true,\n    ariaChecked: true,\n    ariaDisabled: true,\n    ariaRequired: true,\n    ariaInvalid: true,\n    ariaMultiline: true,\n    ariaValue: true,\n    tabindex: true,\n    bindKeypress: true,\n    bindRoleForClick: true\n  };\n\n  /**\n   * @ngdoc method\n   * @name $ariaProvider#config\n   *\n   * @param {object} config object to enable/disable specific ARIA attributes\n   *\n   *  - **ariaHidden** – `{boolean}` – Enables/disables aria-hidden tags\n   *  - **ariaChecked** – `{boolean}` – Enables/disables aria-checked tags\n   *  - **ariaDisabled** – `{boolean}` – Enables/disables aria-disabled tags\n   *  - **ariaRequired** – `{boolean}` – Enables/disables aria-required tags\n   *  - **ariaInvalid** – `{boolean}` – Enables/disables aria-invalid tags\n   *  - **ariaMultiline** – `{boolean}` – Enables/disables aria-multiline tags\n   *  - **ariaValue** – `{boolean}` – Enables/disables aria-valuemin, aria-valuemax and aria-valuenow tags\n   *  - **tabindex** – `{boolean}` – Enables/disables tabindex tags\n   *  - **bindKeypress** – `{boolean}` – Enables/disables keypress event binding on `&lt;div&gt;` and\n   *    `&lt;li&gt;` elements with ng-click\n   *  - **bindRoleForClick** – `{boolean}` – Adds role=button to non-interactive elements like `div`\n   *    using ng-click, making them more accessible to users of assistive technologies\n   *\n   * @description\n   * Enables/disables various ARIA attributes\n   */\n  this.config = function(newConfig) {\n    config = angular.extend(config, newConfig);\n  };\n\n  function watchExpr(attrName, ariaAttr, nodeBlackList, negate) {\n    return function(scope, elem, attr) {\n      var ariaCamelName = attr.$normalize(ariaAttr);\n      if (config[ariaCamelName] && !isNodeOneOf(elem, nodeBlackList) && !attr[ariaCamelName]) {\n        scope.$watch(attr[attrName], function(boolVal) {\n          // ensure boolean value\n          boolVal = negate ? !boolVal : !!boolVal;\n          elem.attr(ariaAttr, boolVal);\n        });\n      }\n    };\n  }\n  /**\n   * @ngdoc service\n   * @name $aria\n   *\n   * @description\n   * @priority 200\n   *\n   * The $aria service contains helper methods for applying common\n   * [ARIA](http://www.w3.org/TR/wai-aria/) attributes to HTML directives.\n   *\n   * ngAria injects common accessibility attributes that tell assistive technologies when HTML\n   * elements are enabled, selected, hidden, and more. To see how this is performed with ngAria,\n   * let's review a code snippet from ngAria itself:\n   *\n   *```js\n   * ngAriaModule.directive('ngDisabled', ['$aria', function($aria) {\n   *   return $aria.$$watchExpr('ngDisabled', 'aria-disabled');\n   * }])\n   *```\n   * Shown above, the ngAria module creates a directive with the same signature as the\n   * traditional `ng-disabled` directive. But this ngAria version is dedicated to\n   * solely managing accessibility attributes. The internal `$aria` service is used to watch the\n   * boolean attribute `ngDisabled`. If it has not been explicitly set by the developer,\n   * `aria-disabled` is injected as an attribute with its value synchronized to the value in\n   * `ngDisabled`.\n   *\n   * Because ngAria hooks into the `ng-disabled` directive, developers do not have to do\n   * anything to enable this feature. The `aria-disabled` attribute is automatically managed\n   * simply as a silent side-effect of using `ng-disabled` with the ngAria module.\n   *\n   * The full list of directives that interface with ngAria:\n   * * **ngModel**\n   * * **ngShow**\n   * * **ngHide**\n   * * **ngClick**\n   * * **ngDblclick**\n   * * **ngMessages**\n   * * **ngDisabled**\n   *\n   * Read the {@link guide/accessibility ngAria Developer Guide} for a thorough explanation of each\n   * directive.\n   *\n   *\n   * ## Dependencies\n   * Requires the {@link ngAria} module to be installed.\n   */\n  this.$get = function() {\n    return {\n      config: function(key) {\n        return config[key];\n      },\n      $$watchExpr: watchExpr\n    };\n  };\n}\n\n\nngAriaModule.directive('ngShow', ['$aria', function($aria) {\n  return $aria.$$watchExpr('ngShow', 'aria-hidden', [], true);\n}])\n.directive('ngHide', ['$aria', function($aria) {\n  return $aria.$$watchExpr('ngHide', 'aria-hidden', [], false);\n}])\n.directive('ngModel', ['$aria', function($aria) {\n\n  function shouldAttachAttr(attr, normalizedAttr, elem) {\n    return $aria.config(normalizedAttr) && !elem.attr(attr);\n  }\n\n  function shouldAttachRole(role, elem) {\n    return !elem.attr('role') && (elem.attr('type') === role) && (elem[0].nodeName !== 'INPUT');\n  }\n\n  function getShape(attr, elem) {\n    var type = attr.type,\n        role = attr.role;\n\n    return ((type || role) === 'checkbox' || role === 'menuitemcheckbox') ? 'checkbox' :\n           ((type || role) === 'radio'    || role === 'menuitemradio') ? 'radio' :\n           (type === 'range'              || role === 'progressbar' || role === 'slider') ? 'range' :\n           (type || role) === 'textbox'   || elem[0].nodeName === 'TEXTAREA' ? 'multiline' : '';\n  }\n\n  return {\n    restrict: 'A',\n    require: '?ngModel',\n    priority: 200, //Make sure watches are fired after any other directives that affect the ngModel value\n    compile: function(elem, attr) {\n      var shape = getShape(attr, elem);\n\n      return {\n        pre: function(scope, elem, attr, ngModel) {\n          if (shape === 'checkbox' && attr.type !== 'checkbox') {\n            //Use the input[checkbox] $isEmpty implementation for elements with checkbox roles\n            ngModel.$isEmpty = function(value) {\n              return value === false;\n            };\n          }\n        },\n        post: function(scope, elem, attr, ngModel) {\n          var needsTabIndex = shouldAttachAttr('tabindex', 'tabindex', elem)\n                                && !isNodeOneOf(elem, nodeBlackList);\n\n          function ngAriaWatchModelValue() {\n            return ngModel.$modelValue;\n          }\n\n          function getRadioReaction() {\n            if (needsTabIndex) {\n              needsTabIndex = false;\n              return function ngAriaRadioReaction(newVal) {\n                var boolVal = (attr.value == ngModel.$viewValue);\n                elem.attr('aria-checked', boolVal);\n                elem.attr('tabindex', 0 - !boolVal);\n              };\n            } else {\n              return function ngAriaRadioReaction(newVal) {\n                elem.attr('aria-checked', (attr.value == ngModel.$viewValue));\n              };\n            }\n          }\n\n          function ngAriaCheckboxReaction() {\n            elem.attr('aria-checked', !ngModel.$isEmpty(ngModel.$viewValue));\n          }\n\n          switch (shape) {\n            case 'radio':\n            case 'checkbox':\n              if (shouldAttachRole(shape, elem)) {\n                elem.attr('role', shape);\n              }\n              if (shouldAttachAttr('aria-checked', 'ariaChecked', elem)) {\n                scope.$watch(ngAriaWatchModelValue, shape === 'radio' ?\n                    getRadioReaction() : ngAriaCheckboxReaction);\n              }\n              if (needsTabIndex) {\n                elem.attr('tabindex', 0);\n              }\n              break;\n            case 'range':\n              if (shouldAttachRole(shape, elem)) {\n                elem.attr('role', 'slider');\n              }\n              if ($aria.config('ariaValue')) {\n                var needsAriaValuemin = !elem.attr('aria-valuemin') &&\n                    (attr.hasOwnProperty('min') || attr.hasOwnProperty('ngMin'));\n                var needsAriaValuemax = !elem.attr('aria-valuemax') &&\n                    (attr.hasOwnProperty('max') || attr.hasOwnProperty('ngMax'));\n                var needsAriaValuenow = !elem.attr('aria-valuenow');\n\n                if (needsAriaValuemin) {\n                  attr.$observe('min', function ngAriaValueMinReaction(newVal) {\n                    elem.attr('aria-valuemin', newVal);\n                  });\n                }\n                if (needsAriaValuemax) {\n                  attr.$observe('max', function ngAriaValueMinReaction(newVal) {\n                    elem.attr('aria-valuemax', newVal);\n                  });\n                }\n                if (needsAriaValuenow) {\n                  scope.$watch(ngAriaWatchModelValue, function ngAriaValueNowReaction(newVal) {\n                    elem.attr('aria-valuenow', newVal);\n                  });\n                }\n              }\n              if (needsTabIndex) {\n                elem.attr('tabindex', 0);\n              }\n              break;\n            case 'multiline':\n              if (shouldAttachAttr('aria-multiline', 'ariaMultiline', elem)) {\n                elem.attr('aria-multiline', true);\n              }\n              break;\n          }\n\n          if (ngModel.$validators.required && shouldAttachAttr('aria-required', 'ariaRequired', elem)) {\n            scope.$watch(function ngAriaRequiredWatch() {\n              return ngModel.$error.required;\n            }, function ngAriaRequiredReaction(newVal) {\n              elem.attr('aria-required', !!newVal);\n            });\n          }\n\n          if (shouldAttachAttr('aria-invalid', 'ariaInvalid', elem)) {\n            scope.$watch(function ngAriaInvalidWatch() {\n              return ngModel.$invalid;\n            }, function ngAriaInvalidReaction(newVal) {\n              elem.attr('aria-invalid', !!newVal);\n            });\n          }\n        }\n      };\n    }\n  };\n}])\n.directive('ngDisabled', ['$aria', function($aria) {\n  return $aria.$$watchExpr('ngDisabled', 'aria-disabled', []);\n}])\n.directive('ngMessages', function() {\n  return {\n    restrict: 'A',\n    require: '?ngMessages',\n    link: function(scope, elem, attr, ngMessages) {\n      if (!elem.attr('aria-live')) {\n        elem.attr('aria-live', 'assertive');\n      }\n    }\n  };\n})\n.directive('ngClick',['$aria', '$parse', function($aria, $parse) {\n  return {\n    restrict: 'A',\n    compile: function(elem, attr) {\n      var fn = $parse(attr.ngClick, /* interceptorFn */ null, /* expensiveChecks */ true);\n      return function(scope, elem, attr) {\n\n        if (!isNodeOneOf(elem, nodeBlackList)) {\n\n          if ($aria.config('bindRoleForClick') && !elem.attr('role')) {\n            elem.attr('role', 'button');\n          }\n\n          if ($aria.config('tabindex') && !elem.attr('tabindex')) {\n            elem.attr('tabindex', 0);\n          }\n\n          if ($aria.config('bindKeypress') && !attr.ngKeypress) {\n            elem.on('keypress', function(event) {\n              var keyCode = event.which || event.keyCode;\n              if (keyCode === 32 || keyCode === 13) {\n                scope.$apply(callback);\n              }\n\n              function callback() {\n                fn(scope, { $event: event });\n              }\n            });\n          }\n        }\n      };\n    }\n  };\n}])\n.directive('ngDblclick', ['$aria', function($aria) {\n  return function(scope, elem, attr) {\n    if ($aria.config('tabindex') && !elem.attr('tabindex') && !isNodeOneOf(elem, nodeBlackList)) {\n      elem.attr('tabindex', 0);\n    }\n  };\n}]);\n\n\n})(window, window.angular);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/angular-cookies.js",
    "content": "/**\n * @license AngularJS v1.4.8\n * (c) 2010-2015 Google, Inc. http://angularjs.org\n * License: MIT\n */\n(function(window, angular, undefined) {'use strict';\n\n/**\n * @ngdoc module\n * @name ngCookies\n * @description\n *\n * # ngCookies\n *\n * The `ngCookies` module provides a convenient wrapper for reading and writing browser cookies.\n *\n *\n * <div doc-module-components=\"ngCookies\"></div>\n *\n * See {@link ngCookies.$cookies `$cookies`} for usage.\n */\n\n\nangular.module('ngCookies', ['ng']).\n  /**\n   * @ngdoc provider\n   * @name $cookiesProvider\n   * @description\n   * Use `$cookiesProvider` to change the default behavior of the {@link ngCookies.$cookies $cookies} service.\n   * */\n   provider('$cookies', [function $CookiesProvider() {\n    /**\n     * @ngdoc property\n     * @name $cookiesProvider#defaults\n     * @description\n     *\n     * Object containing default options to pass when setting cookies.\n     *\n     * The object may have following properties:\n     *\n     * - **path** - `{string}` - The cookie will be available only for this path and its\n     *   sub-paths. By default, this would be the URL that appears in your base tag.\n     * - **domain** - `{string}` - The cookie will be available only for this domain and\n     *   its sub-domains. For obvious security reasons the user agent will not accept the\n     *   cookie if the current domain is not a sub domain or equals to the requested domain.\n     * - **expires** - `{string|Date}` - String of the form \"Wdy, DD Mon YYYY HH:MM:SS GMT\"\n     *   or a Date object indicating the exact date/time this cookie will expire.\n     * - **secure** - `{boolean}` - The cookie will be available only in secured connection.\n     *\n     * Note: by default the address that appears in your `<base>` tag will be used as path.\n     * This is important so that cookies will be visible for all routes in case html5mode is enabled\n     *\n     **/\n    var defaults = this.defaults = {};\n\n    function calcOptions(options) {\n      return options ? angular.extend({}, defaults, options) : defaults;\n    }\n\n    /**\n     * @ngdoc service\n     * @name $cookies\n     *\n     * @description\n     * Provides read/write access to browser's cookies.\n     *\n     * <div class=\"alert alert-info\">\n     * Up until Angular 1.3, `$cookies` exposed properties that represented the\n     * current browser cookie values. In version 1.4, this behavior has changed, and\n     * `$cookies` now provides a standard api of getters, setters etc.\n     * </div>\n     *\n     * Requires the {@link ngCookies `ngCookies`} module to be installed.\n     *\n     * @example\n     *\n     * ```js\n     * angular.module('cookiesExample', ['ngCookies'])\n     *   .controller('ExampleController', ['$cookies', function($cookies) {\n     *     // Retrieving a cookie\n     *     var favoriteCookie = $cookies.get('myFavorite');\n     *     // Setting a cookie\n     *     $cookies.put('myFavorite', 'oatmeal');\n     *   }]);\n     * ```\n     */\n    this.$get = ['$$cookieReader', '$$cookieWriter', function($$cookieReader, $$cookieWriter) {\n      return {\n        /**\n         * @ngdoc method\n         * @name $cookies#get\n         *\n         * @description\n         * Returns the value of given cookie key\n         *\n         * @param {string} key Id to use for lookup.\n         * @returns {string} Raw cookie value.\n         */\n        get: function(key) {\n          return $$cookieReader()[key];\n        },\n\n        /**\n         * @ngdoc method\n         * @name $cookies#getObject\n         *\n         * @description\n         * Returns the deserialized value of given cookie key\n         *\n         * @param {string} key Id to use for lookup.\n         * @returns {Object} Deserialized cookie value.\n         */\n        getObject: function(key) {\n          var value = this.get(key);\n          return value ? angular.fromJson(value) : value;\n        },\n\n        /**\n         * @ngdoc method\n         * @name $cookies#getAll\n         *\n         * @description\n         * Returns a key value object with all the cookies\n         *\n         * @returns {Object} All cookies\n         */\n        getAll: function() {\n          return $$cookieReader();\n        },\n\n        /**\n         * @ngdoc method\n         * @name $cookies#put\n         *\n         * @description\n         * Sets a value for given cookie key\n         *\n         * @param {string} key Id for the `value`.\n         * @param {string} value Raw value to be stored.\n         * @param {Object=} options Options object.\n         *    See {@link ngCookies.$cookiesProvider#defaults $cookiesProvider.defaults}\n         */\n        put: function(key, value, options) {\n          $$cookieWriter(key, value, calcOptions(options));\n        },\n\n        /**\n         * @ngdoc method\n         * @name $cookies#putObject\n         *\n         * @description\n         * Serializes and sets a value for given cookie key\n         *\n         * @param {string} key Id for the `value`.\n         * @param {Object} value Value to be stored.\n         * @param {Object=} options Options object.\n         *    See {@link ngCookies.$cookiesProvider#defaults $cookiesProvider.defaults}\n         */\n        putObject: function(key, value, options) {\n          this.put(key, angular.toJson(value), options);\n        },\n\n        /**\n         * @ngdoc method\n         * @name $cookies#remove\n         *\n         * @description\n         * Remove given cookie\n         *\n         * @param {string} key Id of the key-value pair to delete.\n         * @param {Object=} options Options object.\n         *    See {@link ngCookies.$cookiesProvider#defaults $cookiesProvider.defaults}\n         */\n        remove: function(key, options) {\n          $$cookieWriter(key, undefined, calcOptions(options));\n        }\n      };\n    }];\n  }]);\n\nangular.module('ngCookies').\n/**\n * @ngdoc service\n * @name $cookieStore\n * @deprecated\n * @requires $cookies\n *\n * @description\n * Provides a key-value (string-object) storage, that is backed by session cookies.\n * Objects put or retrieved from this storage are automatically serialized or\n * deserialized by angular's toJson/fromJson.\n *\n * Requires the {@link ngCookies `ngCookies`} module to be installed.\n *\n * <div class=\"alert alert-danger\">\n * **Note:** The $cookieStore service is **deprecated**.\n * Please use the {@link ngCookies.$cookies `$cookies`} service instead.\n * </div>\n *\n * @example\n *\n * ```js\n * angular.module('cookieStoreExample', ['ngCookies'])\n *   .controller('ExampleController', ['$cookieStore', function($cookieStore) {\n *     // Put cookie\n *     $cookieStore.put('myFavorite','oatmeal');\n *     // Get cookie\n *     var favoriteCookie = $cookieStore.get('myFavorite');\n *     // Removing a cookie\n *     $cookieStore.remove('myFavorite');\n *   }]);\n * ```\n */\n factory('$cookieStore', ['$cookies', function($cookies) {\n\n    return {\n      /**\n       * @ngdoc method\n       * @name $cookieStore#get\n       *\n       * @description\n       * Returns the value of given cookie key\n       *\n       * @param {string} key Id to use for lookup.\n       * @returns {Object} Deserialized cookie value, undefined if the cookie does not exist.\n       */\n      get: function(key) {\n        return $cookies.getObject(key);\n      },\n\n      /**\n       * @ngdoc method\n       * @name $cookieStore#put\n       *\n       * @description\n       * Sets a value for given cookie key\n       *\n       * @param {string} key Id for the `value`.\n       * @param {Object} value Value to be stored.\n       */\n      put: function(key, value) {\n        $cookies.putObject(key, value);\n      },\n\n      /**\n       * @ngdoc method\n       * @name $cookieStore#remove\n       *\n       * @description\n       * Remove given cookie\n       *\n       * @param {string} key Id of the key-value pair to delete.\n       */\n      remove: function(key) {\n        $cookies.remove(key);\n      }\n    };\n\n  }]);\n\n/**\n * @name $$cookieWriter\n * @requires $document\n *\n * @description\n * This is a private service for writing cookies\n *\n * @param {string} name Cookie name\n * @param {string=} value Cookie value (if undefined, cookie will be deleted)\n * @param {Object=} options Object with options that need to be stored for the cookie.\n */\nfunction $$CookieWriter($document, $log, $browser) {\n  var cookiePath = $browser.baseHref();\n  var rawDocument = $document[0];\n\n  function buildCookieString(name, value, options) {\n    var path, expires;\n    options = options || {};\n    expires = options.expires;\n    path = angular.isDefined(options.path) ? options.path : cookiePath;\n    if (angular.isUndefined(value)) {\n      expires = 'Thu, 01 Jan 1970 00:00:00 GMT';\n      value = '';\n    }\n    if (angular.isString(expires)) {\n      expires = new Date(expires);\n    }\n\n    var str = encodeURIComponent(name) + '=' + encodeURIComponent(value);\n    str += path ? ';path=' + path : '';\n    str += options.domain ? ';domain=' + options.domain : '';\n    str += expires ? ';expires=' + expires.toUTCString() : '';\n    str += options.secure ? ';secure' : '';\n\n    // per http://www.ietf.org/rfc/rfc2109.txt browser must allow at minimum:\n    // - 300 cookies\n    // - 20 cookies per unique domain\n    // - 4096 bytes per cookie\n    var cookieLength = str.length + 1;\n    if (cookieLength > 4096) {\n      $log.warn(\"Cookie '\" + name +\n        \"' possibly not set or overflowed because it was too large (\" +\n        cookieLength + \" > 4096 bytes)!\");\n    }\n\n    return str;\n  }\n\n  return function(name, value, options) {\n    rawDocument.cookie = buildCookieString(name, value, options);\n  };\n}\n\n$$CookieWriter.$inject = ['$document', '$log', '$browser'];\n\nangular.module('ngCookies').provider('$$cookieWriter', function $$CookieWriterProvider() {\n  this.$get = $$CookieWriter;\n});\n\n\n})(window, window.angular);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/angular-csp.css",
    "content": "/* Include this file in your html if you are using the CSP mode. */\n\n@charset \"UTF-8\";\n\n[ng\\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak],\n.ng-cloak, .x-ng-cloak,\n.ng-hide:not(.ng-hide-animate) {\n  display: none !important;\n}\n\nng\\:form {\n  display: block;\n}\n\n.ng-animate-shim {\n  visibility:hidden;\n}\n\n.ng-anchor {\n  position:absolute;\n}\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/angular-loader.js",
    "content": "/**\n * @license AngularJS v1.4.8\n * (c) 2010-2015 Google, Inc. http://angularjs.org\n * License: MIT\n */\n\n(function() {'use strict';\n    function isFunction(value) {return typeof value === 'function';};\n\n/**\n * @description\n *\n * This object provides a utility for producing rich Error messages within\n * Angular. It can be called as follows:\n *\n * var exampleMinErr = minErr('example');\n * throw exampleMinErr('one', 'This {0} is {1}', foo, bar);\n *\n * The above creates an instance of minErr in the example namespace. The\n * resulting error will have a namespaced error code of example.one.  The\n * resulting error will replace {0} with the value of foo, and {1} with the\n * value of bar. The object is not restricted in the number of arguments it can\n * take.\n *\n * If fewer arguments are specified than necessary for interpolation, the extra\n * interpolation markers will be preserved in the final string.\n *\n * Since data will be parsed statically during a build step, some restrictions\n * are applied with respect to how minErr instances are created and called.\n * Instances should have names of the form namespaceMinErr for a minErr created\n * using minErr('namespace') . Error codes, namespaces and template strings\n * should all be static strings, not variables or general expressions.\n *\n * @param {string} module The namespace to use for the new minErr instance.\n * @param {function} ErrorConstructor Custom error constructor to be instantiated when returning\n *   error from returned function, for cases when a particular type of error is useful.\n * @returns {function(code:string, template:string, ...templateArgs): Error} minErr instance\n */\n\nfunction minErr(module, ErrorConstructor) {\n  ErrorConstructor = ErrorConstructor || Error;\n  return function() {\n    var SKIP_INDEXES = 2;\n\n    var templateArgs = arguments,\n      code = templateArgs[0],\n      message = '[' + (module ? module + ':' : '') + code + '] ',\n      template = templateArgs[1],\n      paramPrefix, i;\n\n    message += template.replace(/\\{\\d+\\}/g, function(match) {\n      var index = +match.slice(1, -1),\n        shiftedIndex = index + SKIP_INDEXES;\n\n      if (shiftedIndex < templateArgs.length) {\n        return toDebugString(templateArgs[shiftedIndex]);\n      }\n\n      return match;\n    });\n\n    message += '\\nhttp://errors.angularjs.org/1.4.8/' +\n      (module ? module + '/' : '') + code;\n\n    for (i = SKIP_INDEXES, paramPrefix = '?'; i < templateArgs.length; i++, paramPrefix = '&') {\n      message += paramPrefix + 'p' + (i - SKIP_INDEXES) + '=' +\n        encodeURIComponent(toDebugString(templateArgs[i]));\n    }\n\n    return new ErrorConstructor(message);\n  };\n}\n\n/**\n * @ngdoc type\n * @name angular.Module\n * @module ng\n * @description\n *\n * Interface for configuring angular {@link angular.module modules}.\n */\n\nfunction setupModuleLoader(window) {\n\n  var $injectorMinErr = minErr('$injector');\n  var ngMinErr = minErr('ng');\n\n  function ensure(obj, name, factory) {\n    return obj[name] || (obj[name] = factory());\n  }\n\n  var angular = ensure(window, 'angular', Object);\n\n  // We need to expose `angular.$$minErr` to modules such as `ngResource` that reference it during bootstrap\n  angular.$$minErr = angular.$$minErr || minErr;\n\n  return ensure(angular, 'module', function() {\n    /** @type {Object.<string, angular.Module>} */\n    var modules = {};\n\n    /**\n     * @ngdoc function\n     * @name angular.module\n     * @module ng\n     * @description\n     *\n     * The `angular.module` is a global place for creating, registering and retrieving Angular\n     * modules.\n     * All modules (angular core or 3rd party) that should be available to an application must be\n     * registered using this mechanism.\n     *\n     * Passing one argument retrieves an existing {@link angular.Module},\n     * whereas passing more than one argument creates a new {@link angular.Module}\n     *\n     *\n     * # Module\n     *\n     * A module is a collection of services, directives, controllers, filters, and configuration information.\n     * `angular.module` is used to configure the {@link auto.$injector $injector}.\n     *\n     * ```js\n     * // Create a new module\n     * var myModule = angular.module('myModule', []);\n     *\n     * // register a new service\n     * myModule.value('appName', 'MyCoolApp');\n     *\n     * // configure existing services inside initialization blocks.\n     * myModule.config(['$locationProvider', function($locationProvider) {\n     *   // Configure existing providers\n     *   $locationProvider.hashPrefix('!');\n     * }]);\n     * ```\n     *\n     * Then you can create an injector and load your modules like this:\n     *\n     * ```js\n     * var injector = angular.injector(['ng', 'myModule'])\n     * ```\n     *\n     * However it's more likely that you'll just use\n     * {@link ng.directive:ngApp ngApp} or\n     * {@link angular.bootstrap} to simplify this process for you.\n     *\n     * @param {!string} name The name of the module to create or retrieve.\n     * @param {!Array.<string>=} requires If specified then new module is being created. If\n     *        unspecified then the module is being retrieved for further configuration.\n     * @param {Function=} configFn Optional configuration function for the module. Same as\n     *        {@link angular.Module#config Module#config()}.\n     * @returns {module} new module with the {@link angular.Module} api.\n     */\n    return function module(name, requires, configFn) {\n      var assertNotHasOwnProperty = function(name, context) {\n        if (name === 'hasOwnProperty') {\n          throw ngMinErr('badname', 'hasOwnProperty is not a valid {0} name', context);\n        }\n      };\n\n      assertNotHasOwnProperty(name, 'module');\n      if (requires && modules.hasOwnProperty(name)) {\n        modules[name] = null;\n      }\n      return ensure(modules, name, function() {\n        if (!requires) {\n          throw $injectorMinErr('nomod', \"Module '{0}' is not available! You either misspelled \" +\n             \"the module name or forgot to load it. If registering a module ensure that you \" +\n             \"specify the dependencies as the second argument.\", name);\n        }\n\n        /** @type {!Array.<Array.<*>>} */\n        var invokeQueue = [];\n\n        /** @type {!Array.<Function>} */\n        var configBlocks = [];\n\n        /** @type {!Array.<Function>} */\n        var runBlocks = [];\n\n        var config = invokeLater('$injector', 'invoke', 'push', configBlocks);\n\n        /** @type {angular.Module} */\n        var moduleInstance = {\n          // Private state\n          _invokeQueue: invokeQueue,\n          _configBlocks: configBlocks,\n          _runBlocks: runBlocks,\n\n          /**\n           * @ngdoc property\n           * @name angular.Module#requires\n           * @module ng\n           *\n           * @description\n           * Holds the list of modules which the injector will load before the current module is\n           * loaded.\n           */\n          requires: requires,\n\n          /**\n           * @ngdoc property\n           * @name angular.Module#name\n           * @module ng\n           *\n           * @description\n           * Name of the module.\n           */\n          name: name,\n\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#provider\n           * @module ng\n           * @param {string} name service name\n           * @param {Function} providerType Construction function for creating new instance of the\n           *                                service.\n           * @description\n           * See {@link auto.$provide#provider $provide.provider()}.\n           */\n          provider: invokeLaterAndSetModuleName('$provide', 'provider'),\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#factory\n           * @module ng\n           * @param {string} name service name\n           * @param {Function} providerFunction Function for creating new instance of the service.\n           * @description\n           * See {@link auto.$provide#factory $provide.factory()}.\n           */\n          factory: invokeLaterAndSetModuleName('$provide', 'factory'),\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#service\n           * @module ng\n           * @param {string} name service name\n           * @param {Function} constructor A constructor function that will be instantiated.\n           * @description\n           * See {@link auto.$provide#service $provide.service()}.\n           */\n          service: invokeLaterAndSetModuleName('$provide', 'service'),\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#value\n           * @module ng\n           * @param {string} name service name\n           * @param {*} object Service instance object.\n           * @description\n           * See {@link auto.$provide#value $provide.value()}.\n           */\n          value: invokeLater('$provide', 'value'),\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#constant\n           * @module ng\n           * @param {string} name constant name\n           * @param {*} object Constant value.\n           * @description\n           * Because the constants are fixed, they get applied before other provide methods.\n           * See {@link auto.$provide#constant $provide.constant()}.\n           */\n          constant: invokeLater('$provide', 'constant', 'unshift'),\n\n           /**\n           * @ngdoc method\n           * @name angular.Module#decorator\n           * @module ng\n           * @param {string} The name of the service to decorate.\n           * @param {Function} This function will be invoked when the service needs to be\n           *                                    instantiated and should return the decorated service instance.\n           * @description\n           * See {@link auto.$provide#decorator $provide.decorator()}.\n           */\n          decorator: invokeLaterAndSetModuleName('$provide', 'decorator'),\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#animation\n           * @module ng\n           * @param {string} name animation name\n           * @param {Function} animationFactory Factory function for creating new instance of an\n           *                                    animation.\n           * @description\n           *\n           * **NOTE**: animations take effect only if the **ngAnimate** module is loaded.\n           *\n           *\n           * Defines an animation hook that can be later used with\n           * {@link $animate $animate} service and directives that use this service.\n           *\n           * ```js\n           * module.animation('.animation-name', function($inject1, $inject2) {\n           *   return {\n           *     eventName : function(element, done) {\n           *       //code to run the animation\n           *       //once complete, then run done()\n           *       return function cancellationFunction(element) {\n           *         //code to cancel the animation\n           *       }\n           *     }\n           *   }\n           * })\n           * ```\n           *\n           * See {@link ng.$animateProvider#register $animateProvider.register()} and\n           * {@link ngAnimate ngAnimate module} for more information.\n           */\n          animation: invokeLaterAndSetModuleName('$animateProvider', 'register'),\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#filter\n           * @module ng\n           * @param {string} name Filter name - this must be a valid angular expression identifier\n           * @param {Function} filterFactory Factory function for creating new instance of filter.\n           * @description\n           * See {@link ng.$filterProvider#register $filterProvider.register()}.\n           *\n           * <div class=\"alert alert-warning\">\n           * **Note:** Filter names must be valid angular {@link expression} identifiers, such as `uppercase` or `orderBy`.\n           * Names with special characters, such as hyphens and dots, are not allowed. If you wish to namespace\n           * your filters, then you can use capitalization (`myappSubsectionFilterx`) or underscores\n           * (`myapp_subsection_filterx`).\n           * </div>\n           */\n          filter: invokeLaterAndSetModuleName('$filterProvider', 'register'),\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#controller\n           * @module ng\n           * @param {string|Object} name Controller name, or an object map of controllers where the\n           *    keys are the names and the values are the constructors.\n           * @param {Function} constructor Controller constructor function.\n           * @description\n           * See {@link ng.$controllerProvider#register $controllerProvider.register()}.\n           */\n          controller: invokeLaterAndSetModuleName('$controllerProvider', 'register'),\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#directive\n           * @module ng\n           * @param {string|Object} name Directive name, or an object map of directives where the\n           *    keys are the names and the values are the factories.\n           * @param {Function} directiveFactory Factory function for creating new instance of\n           * directives.\n           * @description\n           * See {@link ng.$compileProvider#directive $compileProvider.directive()}.\n           */\n          directive: invokeLaterAndSetModuleName('$compileProvider', 'directive'),\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#config\n           * @module ng\n           * @param {Function} configFn Execute this function on module load. Useful for service\n           *    configuration.\n           * @description\n           * Use this method to register work which needs to be performed on module loading.\n           * For more about how to configure services, see\n           * {@link providers#provider-recipe Provider Recipe}.\n           */\n          config: config,\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#run\n           * @module ng\n           * @param {Function} initializationFn Execute this function after injector creation.\n           *    Useful for application initialization.\n           * @description\n           * Use this method to register work which should be performed when the injector is done\n           * loading all modules.\n           */\n          run: function(block) {\n            runBlocks.push(block);\n            return this;\n          }\n        };\n\n        if (configFn) {\n          config(configFn);\n        }\n\n        return moduleInstance;\n\n        /**\n         * @param {string} provider\n         * @param {string} method\n         * @param {String=} insertMethod\n         * @returns {angular.Module}\n         */\n        function invokeLater(provider, method, insertMethod, queue) {\n          if (!queue) queue = invokeQueue;\n          return function() {\n            queue[insertMethod || 'push']([provider, method, arguments]);\n            return moduleInstance;\n          };\n        }\n\n        /**\n         * @param {string} provider\n         * @param {string} method\n         * @returns {angular.Module}\n         */\n        function invokeLaterAndSetModuleName(provider, method) {\n          return function(recipeName, factoryFunction) {\n            if (factoryFunction && isFunction(factoryFunction)) factoryFunction.$$moduleName = name;\n            invokeQueue.push([provider, method, arguments]);\n            return moduleInstance;\n          };\n        }\n      });\n    };\n  });\n\n}\n\nsetupModuleLoader(window);\n})(window);\n\n/**\n * Closure compiler type information\n *\n * @typedef { {\n *   requires: !Array.<string>,\n *   invokeQueue: !Array.<Array.<*>>,\n *\n *   service: function(string, Function):angular.Module,\n *   factory: function(string, Function):angular.Module,\n *   value: function(string, *):angular.Module,\n *\n *   filter: function(string, Function):angular.Module,\n *\n *   init: function(Function):angular.Module\n * } }\n */\nangular.Module;\n\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/angular-message-format.js",
    "content": "/**\n * @license AngularJS v1.4.8\n * (c) 2010-2015 Google, Inc. http://angularjs.org\n * License: MIT\n */\n(function(window, angular, undefined) {'use strict';\n\n// NOTE: ADVANCED_OPTIMIZATIONS mode.\n//\n// This file is compiled with Closure compiler's ADVANCED_OPTIMIZATIONS flag! Be wary of using\n// constructs incompatible with that mode.\n\nvar $interpolateMinErr = window['angular']['$interpolateMinErr'];\n\nvar noop = window['angular']['noop'],\n    isFunction = window['angular']['isFunction'],\n    toJson = window['angular']['toJson'];\n\nfunction stringify(value) {\n  if (value == null /* null/undefined */) { return ''; }\n  switch (typeof value) {\n    case 'string':     return value;\n    case 'number':     return '' + value;\n    default:           return toJson(value);\n  }\n}\n\n// Convert an index into the string into line/column for use in error messages\n// As such, this doesn't have to be efficient.\nfunction indexToLineAndColumn(text, index) {\n  var lines = text.split(/\\n/g);\n  for (var i=0; i < lines.length; i++) {\n    var line=lines[i];\n    if (index >= line.length) {\n      index -= line.length;\n    } else {\n      return { line: i + 1, column: index + 1 };\n    }\n  }\n}\nvar PARSE_CACHE_FOR_TEXT_LITERALS = Object.create(null);\n\nfunction parseTextLiteral(text) {\n  var cachedFn = PARSE_CACHE_FOR_TEXT_LITERALS[text];\n  if (cachedFn != null) {\n    return cachedFn;\n  }\n  function parsedFn(context) { return text; }\n  parsedFn['$$watchDelegate'] = function watchDelegate(scope, listener, objectEquality) {\n    var unwatch = scope['$watch'](noop,\n        function textLiteralWatcher() {\n          if (isFunction(listener)) { listener.call(null, text, text, scope); }\n          unwatch();\n        },\n        objectEquality);\n    return unwatch;\n  };\n  PARSE_CACHE_FOR_TEXT_LITERALS[text] = parsedFn;\n  parsedFn['exp'] = text; // Needed to pretend to be $interpolate for tests copied from interpolateSpec.js\n  parsedFn['expressions'] = []; // Require this to call $compile.$$addBindingInfo() which allows Protractor to find elements by binding.\n  return parsedFn;\n}\n\nfunction subtractOffset(expressionFn, offset) {\n  if (offset === 0) {\n    return expressionFn;\n  }\n  function minusOffset(value) {\n    return (value == void 0) ? value : value - offset;\n  }\n  function parsedFn(context) { return minusOffset(expressionFn(context)); }\n  var unwatch;\n  parsedFn['$$watchDelegate'] = function watchDelegate(scope, listener, objectEquality) {\n    unwatch = scope['$watch'](expressionFn,\n        function pluralExpressionWatchListener(newValue, oldValue) {\n          if (isFunction(listener)) { listener.call(null, minusOffset(newValue), minusOffset(oldValue), scope); }\n        },\n        objectEquality);\n    return unwatch;\n  };\n  return parsedFn;\n}\n\n// NOTE: ADVANCED_OPTIMIZATIONS mode.\n//\n// This file is compiled with Closure compiler's ADVANCED_OPTIMIZATIONS flag! Be wary of using\n// constructs incompatible with that mode.\n\n/* global $interpolateMinErr: false */\n/* global isFunction: false */\n/* global noop: false */\n\n/**\n * @constructor\n * @private\n */\nfunction MessageSelectorBase(expressionFn, choices) {\n  var self = this;\n  this.expressionFn = expressionFn;\n  this.choices = choices;\n  if (choices[\"other\"] === void 0) {\n    throw $interpolateMinErr('reqother', '“other” is a required option.');\n  }\n  this.parsedFn = function(context) { return self.getResult(context); };\n  this.parsedFn['$$watchDelegate'] = function $$watchDelegate(scope, listener, objectEquality) {\n    return self.watchDelegate(scope, listener, objectEquality);\n  };\n  this.parsedFn['exp'] = expressionFn['exp'];\n  this.parsedFn['expressions'] = expressionFn['expressions'];\n}\n\nMessageSelectorBase.prototype.getMessageFn = function getMessageFn(value) {\n  return this.choices[this.categorizeValue(value)];\n};\n\nMessageSelectorBase.prototype.getResult = function getResult(context) {\n  return this.getMessageFn(this.expressionFn(context))(context);\n};\n\nMessageSelectorBase.prototype.watchDelegate = function watchDelegate(scope, listener, objectEquality) {\n  var watchers = new MessageSelectorWatchers(this, scope, listener, objectEquality);\n  return function() { watchers.cancelWatch(); };\n};\n\n/**\n * @constructor\n * @private\n */\nfunction MessageSelectorWatchers(msgSelector, scope, listener, objectEquality) {\n  var self = this;\n  this.scope = scope;\n  this.msgSelector = msgSelector;\n  this.listener = listener;\n  this.objectEquality = objectEquality;\n  this.lastMessage = void 0;\n  this.messageFnWatcher = noop;\n  var expressionFnListener = function(newValue, oldValue) { return self.expressionFnListener(newValue, oldValue); };\n  this.expressionFnWatcher = scope['$watch'](msgSelector.expressionFn, expressionFnListener, objectEquality);\n}\n\nMessageSelectorWatchers.prototype.expressionFnListener = function expressionFnListener(newValue, oldValue) {\n  var self = this;\n  this.messageFnWatcher();\n  var messageFnListener = function(newMessage, oldMessage) { return self.messageFnListener(newMessage, oldMessage); };\n  var messageFn = this.msgSelector.getMessageFn(newValue);\n  this.messageFnWatcher = this.scope['$watch'](messageFn, messageFnListener, this.objectEquality);\n};\n\nMessageSelectorWatchers.prototype.messageFnListener = function messageFnListener(newMessage, oldMessage) {\n  if (isFunction(this.listener)) {\n    this.listener.call(null, newMessage, newMessage === oldMessage ? newMessage : this.lastMessage, this.scope);\n  }\n  this.lastMessage = newMessage;\n};\n\nMessageSelectorWatchers.prototype.cancelWatch = function cancelWatch() {\n  this.expressionFnWatcher();\n  this.messageFnWatcher();\n};\n\n/**\n * @constructor\n * @extends MessageSelectorBase\n * @private\n */\nfunction SelectMessage(expressionFn, choices) {\n  MessageSelectorBase.call(this, expressionFn, choices);\n}\n\nfunction SelectMessageProto() {}\nSelectMessageProto.prototype = MessageSelectorBase.prototype;\n\nSelectMessage.prototype = new SelectMessageProto();\nSelectMessage.prototype.categorizeValue = function categorizeSelectValue(value) {\n  return (this.choices[value] !== void 0) ? value : \"other\";\n};\n\n/**\n * @constructor\n * @extends MessageSelectorBase\n * @private\n */\nfunction PluralMessage(expressionFn, choices, offset, pluralCat) {\n  MessageSelectorBase.call(this, expressionFn, choices);\n  this.offset = offset;\n  this.pluralCat = pluralCat;\n}\n\nfunction PluralMessageProto() {}\nPluralMessageProto.prototype = MessageSelectorBase.prototype;\n\nPluralMessage.prototype = new PluralMessageProto();\nPluralMessage.prototype.categorizeValue = function categorizePluralValue(value) {\n  if (isNaN(value)) {\n    return \"other\";\n  } else if (this.choices[value] !== void 0) {\n    return value;\n  } else {\n    var category = this.pluralCat(value - this.offset);\n    return (this.choices[category] !== void 0) ? category : \"other\";\n  }\n};\n\n// NOTE: ADVANCED_OPTIMIZATIONS mode.\n//\n// This file is compiled with Closure compiler's ADVANCED_OPTIMIZATIONS flag! Be wary of using\n// constructs incompatible with that mode.\n\n/* global $interpolateMinErr: false */\n/* global isFunction: false */\n/* global parseTextLiteral: false */\n\n/**\n * @constructor\n * @private\n */\nfunction InterpolationParts(trustedContext, allOrNothing) {\n  this.trustedContext = trustedContext;\n  this.allOrNothing = allOrNothing;\n  this.textParts = [];\n  this.expressionFns = [];\n  this.expressionIndices = [];\n  this.partialText = '';\n  this.concatParts = null;\n}\n\nInterpolationParts.prototype.flushPartialText = function flushPartialText() {\n  if (this.partialText) {\n    if (this.concatParts == null) {\n      this.textParts.push(this.partialText);\n    } else {\n      this.textParts.push(this.concatParts.join(''));\n      this.concatParts = null;\n    }\n    this.partialText = '';\n  }\n};\n\nInterpolationParts.prototype.addText = function addText(text) {\n  if (text.length) {\n    if (!this.partialText) {\n      this.partialText = text;\n    } else if (this.concatParts) {\n      this.concatParts.push(text);\n    } else {\n      this.concatParts = [this.partialText, text];\n    }\n  }\n};\n\nInterpolationParts.prototype.addExpressionFn = function addExpressionFn(expressionFn) {\n  this.flushPartialText();\n  this.expressionIndices.push(this.textParts.length);\n  this.expressionFns.push(expressionFn);\n  this.textParts.push('');\n};\n\nInterpolationParts.prototype.getExpressionValues = function getExpressionValues(context) {\n  var expressionValues = new Array(this.expressionFns.length);\n  for (var i = 0; i < this.expressionFns.length; i++) {\n    expressionValues[i] = this.expressionFns[i](context);\n  }\n  return expressionValues;\n};\n\nInterpolationParts.prototype.getResult = function getResult(expressionValues) {\n  for (var i = 0; i < this.expressionIndices.length; i++) {\n    var expressionValue = expressionValues[i];\n    if (this.allOrNothing && expressionValue === void 0) return;\n    this.textParts[this.expressionIndices[i]] = expressionValue;\n  }\n  return this.textParts.join('');\n};\n\n\nInterpolationParts.prototype.toParsedFn = function toParsedFn(mustHaveExpression, originalText) {\n  var self = this;\n  this.flushPartialText();\n  if (mustHaveExpression && this.expressionFns.length === 0) {\n    return void 0;\n  }\n  if (this.textParts.length === 0) {\n    return parseTextLiteral('');\n  }\n  if (this.trustedContext && this.textParts.length > 1) {\n    $interpolateMinErr['throwNoconcat'](originalText);\n  }\n  if (this.expressionFns.length === 0) {\n    if (this.textParts.length != 1) { this.errorInParseLogic(); }\n    return parseTextLiteral(this.textParts[0]);\n  }\n  var parsedFn = function(context) {\n    return self.getResult(self.getExpressionValues(context));\n  };\n  parsedFn['$$watchDelegate'] = function $$watchDelegate(scope, listener, objectEquality) {\n    return self.watchDelegate(scope, listener, objectEquality);\n  };\n\n  parsedFn['exp'] = originalText; // Needed to pretend to be $interpolate for tests copied from interpolateSpec.js\n  parsedFn['expressions'] = new Array(this.expressionFns.length); // Require this to call $compile.$$addBindingInfo() which allows Protractor to find elements by binding.\n  for (var i = 0; i < this.expressionFns.length; i++) {\n    parsedFn['expressions'][i] = this.expressionFns[i]['exp'];\n  }\n\n  return parsedFn;\n};\n\nInterpolationParts.prototype.watchDelegate = function watchDelegate(scope, listener, objectEquality) {\n  var watcher = new InterpolationPartsWatcher(this, scope, listener, objectEquality);\n  return function() { watcher.cancelWatch(); };\n};\n\nfunction InterpolationPartsWatcher(interpolationParts, scope, listener, objectEquality) {\n  this.interpolationParts = interpolationParts;\n  this.scope = scope;\n  this.previousResult = (void 0);\n  this.listener = listener;\n  var self = this;\n  this.expressionFnsWatcher = scope['$watchGroup'](interpolationParts.expressionFns, function(newExpressionValues, oldExpressionValues) {\n    self.watchListener(newExpressionValues, oldExpressionValues);\n  });\n}\n\nInterpolationPartsWatcher.prototype.watchListener = function watchListener(newExpressionValues, oldExpressionValues) {\n  var result = this.interpolationParts.getResult(newExpressionValues);\n  if (isFunction(this.listener)) {\n    this.listener.call(null, result, newExpressionValues === oldExpressionValues ? result : this.previousResult, this.scope);\n  }\n  this.previousResult = result;\n};\n\nInterpolationPartsWatcher.prototype.cancelWatch = function cancelWatch() {\n  this.expressionFnsWatcher();\n};\n\n// NOTE: ADVANCED_OPTIMIZATIONS mode.\n//\n// This file is compiled with Closure compiler's ADVANCED_OPTIMIZATIONS flag! Be wary of using\n// constructs incompatible with that mode.\n\n/* global $interpolateMinErr: false */\n/* global indexToLineAndColumn: false */\n/* global InterpolationParts: false */\n/* global PluralMessage: false */\n/* global SelectMessage: false */\n/* global subtractOffset: false */\n\n// The params src and dst are exactly one of two types: NestedParserState or MessageFormatParser.\n// This function is fully optimized by V8. (inspect via IRHydra or --trace-deopt.)\n// The idea behind writing it this way is to avoid repeating oneself.  This is the ONE place where\n// the parser state that is saved/restored when parsing nested mustaches is specified.\nfunction copyNestedParserState(src, dst) {\n  dst.expressionFn = src.expressionFn;\n  dst.expressionMinusOffsetFn = src.expressionMinusOffsetFn;\n  dst.pluralOffset = src.pluralOffset;\n  dst.choices = src.choices;\n  dst.choiceKey = src.choiceKey;\n  dst.interpolationParts = src.interpolationParts;\n  dst.ruleChoiceKeyword = src.ruleChoiceKeyword;\n  dst.msgStartIndex = src.msgStartIndex;\n  dst.expressionStartIndex = src.expressionStartIndex;\n}\n\nfunction NestedParserState(parser) {\n  copyNestedParserState(parser, this);\n}\n\n/**\n * @constructor\n * @private\n */\nfunction MessageFormatParser(text, startIndex, $parse, pluralCat, stringifier,\n                             mustHaveExpression, trustedContext, allOrNothing) {\n  this.text = text;\n  this.index = startIndex || 0;\n  this.$parse = $parse;\n  this.pluralCat = pluralCat;\n  this.stringifier = stringifier;\n  this.mustHaveExpression = !!mustHaveExpression;\n  this.trustedContext = trustedContext;\n  this.allOrNothing = !!allOrNothing;\n  this.expressionFn = null;\n  this.expressionMinusOffsetFn = null;\n  this.pluralOffset = null;\n  this.choices = null;\n  this.choiceKey = null;\n  this.interpolationParts = null;\n  this.msgStartIndex = null;\n  this.nestedStateStack = [];\n  this.parsedFn = null;\n  this.rule = null;\n  this.ruleStack = null;\n  this.ruleChoiceKeyword = null;\n  this.interpNestLevel = null;\n  this.expressionStartIndex = null;\n  this.stringStartIndex = null;\n  this.stringQuote = null;\n  this.stringInterestsRe = null;\n  this.angularOperatorStack = null;\n  this.textPart = null;\n}\n\n// preserve v8 optimization.\nvar EMPTY_STATE = new NestedParserState(new MessageFormatParser(\n        /* text= */ '', /* startIndex= */ 0, /* $parse= */ null, /* pluralCat= */ null, /* stringifier= */ null,\n        /* mustHaveExpression= */ false, /* trustedContext= */ null, /* allOrNothing */ false));\n\nMessageFormatParser.prototype.pushState = function pushState() {\n  this.nestedStateStack.push(new NestedParserState(this));\n  copyNestedParserState(EMPTY_STATE, this);\n};\n\nMessageFormatParser.prototype.popState = function popState() {\n  if (this.nestedStateStack.length === 0) {\n    this.errorInParseLogic();\n  }\n  var previousState = this.nestedStateStack.pop();\n  copyNestedParserState(previousState, this);\n};\n\n// Oh my JavaScript!  Who knew you couldn't match a regex at a specific\n// location in a string but will always search forward?!\n// Apparently you'll be growing this ability via the sticky flag (y) in\n// ES6.  I'll just to work around you for now.\nMessageFormatParser.prototype.matchRe = function matchRe(re, search) {\n  re.lastIndex = this.index;\n  var match = re.exec(this.text);\n  if (match != null && (search === true || (match.index == this.index))) {\n    this.index = re.lastIndex;\n    return match;\n  }\n  return null;\n};\n\nMessageFormatParser.prototype.searchRe = function searchRe(re) {\n  return this.matchRe(re, true);\n};\n\n\nMessageFormatParser.prototype.consumeRe = function consumeRe(re) {\n  // Without the sticky flag, we can't use the .test() method to consume a\n  // match at the current index.  Instead, we'll use the slower .exec() method\n  // and verify match.index.\n  return !!this.matchRe(re);\n};\n\n// Run through our grammar avoiding deeply nested function call chains.\nMessageFormatParser.prototype.run = function run(initialRule) {\n  this.ruleStack = [initialRule];\n  do {\n    this.rule = this.ruleStack.pop();\n    while (this.rule) {\n      this.rule();\n    }\n    this.assertRuleOrNull(this.rule);\n  } while (this.ruleStack.length > 0);\n};\n\nMessageFormatParser.prototype.errorInParseLogic = function errorInParseLogic() {\n    throw $interpolateMinErr('logicbug',\n        'The messageformat parser has encountered an internal error.  Please file a github issue against the AngularJS project and provide this message text that triggers the bug.  Text: “{0}”',\n        this.text);\n};\n\nMessageFormatParser.prototype.assertRuleOrNull = function assertRuleOrNull(rule) {\n  if (rule === void 0) {\n    this.errorInParseLogic();\n  }\n};\n\nvar NEXT_WORD_RE = /\\s*(\\w+)\\s*/g;\nMessageFormatParser.prototype.errorExpecting = function errorExpecting() {\n  // What was wrong with the syntax? Unsupported type, missing comma, or something else?\n  var match = this.matchRe(NEXT_WORD_RE), position;\n  if (match == null) {\n    position = indexToLineAndColumn(this.text, this.index);\n    throw $interpolateMinErr('reqarg',\n        'Expected one of “plural” or “select” at line {0}, column {1} of text “{2}”',\n        position.line, position.column, this.text);\n  }\n  var word = match[1];\n  if (word == \"select\" || word == \"plural\") {\n    position = indexToLineAndColumn(this.text, this.index);\n    throw $interpolateMinErr('reqcomma',\n        'Expected a comma after the keyword “{0}” at line {1}, column {2} of text “{3}”',\n        word, position.line, position.column, this.text);\n  } else {\n    position = indexToLineAndColumn(this.text, this.index);\n    throw $interpolateMinErr('unknarg',\n        'Unsupported keyword “{0}” at line {0}, column {1}. Only “plural” and “select” are currently supported.  Text: “{3}”',\n        word, position.line, position.column, this.text);\n  }\n};\n\nvar STRING_START_RE = /['\"]/g;\nMessageFormatParser.prototype.ruleString = function ruleString() {\n  var match = this.matchRe(STRING_START_RE);\n  if (match == null) {\n    var position = indexToLineAndColumn(this.text, this.index);\n    throw $interpolateMinErr('wantstring',\n        'Expected the beginning of a string at line {0}, column {1} in text “{2}”',\n        position.line, position.column, this.text);\n  }\n  this.startStringAtMatch(match);\n};\n\nMessageFormatParser.prototype.startStringAtMatch = function startStringAtMatch(match) {\n  this.stringStartIndex = match.index;\n  this.stringQuote = match[0];\n  this.stringInterestsRe = this.stringQuote == \"'\" ? SQUOTED_STRING_INTEREST_RE : DQUOTED_STRING_INTEREST_RE;\n  this.rule = this.ruleInsideString;\n};\n\nvar SQUOTED_STRING_INTEREST_RE = /\\\\(?:\\\\|'|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{2}|[0-7]{3}|\\r\\n|\\n|[\\s\\S])|'/g;\nvar DQUOTED_STRING_INTEREST_RE = /\\\\(?:\\\\|\"|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{2}|[0-7]{3}|\\r\\n|\\n|[\\s\\S])|\"/g;\nMessageFormatParser.prototype.ruleInsideString = function ruleInsideString() {\n  var match = this.searchRe(this.stringInterestsRe);\n  if (match == null) {\n    var position = indexToLineAndColumn(this.text, this.stringStartIndex);\n    throw $interpolateMinErr('untermstr',\n        'The string beginning at line {0}, column {1} is unterminated in text “{2}”',\n        position.line, position.column, this.text);\n  }\n  var chars = match[0];\n  if (match == this.stringQuote) {\n    this.rule = null;\n  }\n};\n\nvar PLURAL_OR_SELECT_ARG_TYPE_RE = /\\s*(plural|select)\\s*,\\s*/g;\nMessageFormatParser.prototype.rulePluralOrSelect = function rulePluralOrSelect() {\n  var match = this.searchRe(PLURAL_OR_SELECT_ARG_TYPE_RE);\n  if (match == null) {\n    this.errorExpecting();\n  }\n  var argType = match[1];\n  switch (argType) {\n    case \"plural\": this.rule = this.rulePluralStyle; break;\n    case \"select\": this.rule = this.ruleSelectStyle; break;\n    default: this.errorInParseLogic();\n  }\n};\n\nMessageFormatParser.prototype.rulePluralStyle = function rulePluralStyle() {\n  this.choices = Object.create(null);\n  this.ruleChoiceKeyword = this.rulePluralValueOrKeyword;\n  this.rule = this.rulePluralOffset;\n};\n\nMessageFormatParser.prototype.ruleSelectStyle = function ruleSelectStyle() {\n  this.choices = Object.create(null);\n  this.ruleChoiceKeyword = this.ruleSelectKeyword;\n  this.rule = this.ruleSelectKeyword;\n};\n\nvar NUMBER_RE = /[0]|(?:[1-9][0-9]*)/g;\nvar PLURAL_OFFSET_RE = new RegExp(\"\\\\s*offset\\\\s*:\\\\s*(\" + NUMBER_RE.source + \")\", \"g\");\n\nMessageFormatParser.prototype.rulePluralOffset = function rulePluralOffset() {\n  var match = this.matchRe(PLURAL_OFFSET_RE);\n  this.pluralOffset = (match == null) ? 0 : parseInt(match[1], 10);\n  this.expressionMinusOffsetFn = subtractOffset(this.expressionFn, this.pluralOffset);\n  this.rule = this.rulePluralValueOrKeyword;\n};\n\nMessageFormatParser.prototype.assertChoiceKeyIsNew = function assertChoiceKeyIsNew(choiceKey, index) {\n  if (this.choices[choiceKey] !== void 0) {\n    var position = indexToLineAndColumn(this.text, index);\n    throw $interpolateMinErr('dupvalue',\n        'The choice “{0}” is specified more than once. Duplicate key is at line {1}, column {2} in text “{3}”',\n        choiceKey, position.line, position.column, this.text);\n  }\n};\n\nvar SELECT_KEYWORD = /\\s*(\\w+)/g;\nMessageFormatParser.prototype.ruleSelectKeyword = function ruleSelectKeyword() {\n  var match = this.matchRe(SELECT_KEYWORD);\n  if (match == null) {\n    this.parsedFn = new SelectMessage(this.expressionFn, this.choices).parsedFn;\n    this.rule = null;\n    return;\n  }\n  this.choiceKey = match[1];\n  this.assertChoiceKeyIsNew(this.choiceKey, match.index);\n  this.rule = this.ruleMessageText;\n};\n\nvar EXPLICIT_VALUE_OR_KEYWORD_RE = new RegExp(\"\\\\s*(?:(?:=(\" + NUMBER_RE.source + \"))|(\\\\w+))\", \"g\");\nMessageFormatParser.prototype.rulePluralValueOrKeyword = function rulePluralValueOrKeyword() {\n  var match = this.matchRe(EXPLICIT_VALUE_OR_KEYWORD_RE);\n  if (match == null) {\n    this.parsedFn = new PluralMessage(this.expressionFn, this.choices, this.pluralOffset, this.pluralCat).parsedFn;\n    this.rule = null;\n    return;\n  }\n  if (match[1] != null) {\n    this.choiceKey = parseInt(match[1], 10);\n  } else {\n    this.choiceKey = match[2];\n  }\n  this.assertChoiceKeyIsNew(this.choiceKey, match.index);\n  this.rule = this.ruleMessageText;\n};\n\nvar BRACE_OPEN_RE = /\\s*{/g;\nvar BRACE_CLOSE_RE = /}/g;\nMessageFormatParser.prototype.ruleMessageText = function ruleMessageText() {\n  if (!this.consumeRe(BRACE_OPEN_RE)) {\n    var position = indexToLineAndColumn(this.text, this.index);\n    throw $interpolateMinErr('reqopenbrace',\n        'The plural choice “{0}” must be followed by a message in braces at line {1}, column {2} in text “{3}”',\n        this.choiceKey, position.line, position.column, this.text);\n  }\n  this.msgStartIndex = this.index;\n  this.interpolationParts = new InterpolationParts(this.trustedContext, this.allOrNothing);\n  this.rule = this.ruleInInterpolationOrMessageText;\n};\n\n// Note: Since \"\\\" is used as an escape character, don't allow it to be part of the\n// startSymbol/endSymbol when I add the feature to allow them to be redefined.\nvar INTERP_OR_END_MESSAGE_RE = /\\\\.|{{|}/g;\nvar INTERP_OR_PLURALVALUE_OR_END_MESSAGE_RE = /\\\\.|{{|#|}/g;\nvar ESCAPE_OR_MUSTACHE_BEGIN_RE = /\\\\.|{{/g;\nMessageFormatParser.prototype.advanceInInterpolationOrMessageText = function advanceInInterpolationOrMessageText() {\n  var currentIndex = this.index, match, re;\n  if (this.ruleChoiceKeyword == null) { // interpolation\n    match = this.searchRe(ESCAPE_OR_MUSTACHE_BEGIN_RE);\n    if (match == null) { // End of interpolation text.  Nothing more to process.\n      this.textPart = this.text.substring(currentIndex);\n      this.index = this.text.length;\n      return null;\n    }\n  } else {\n    match = this.searchRe(this.ruleChoiceKeyword == this.rulePluralValueOrKeyword ?\n                          INTERP_OR_PLURALVALUE_OR_END_MESSAGE_RE : INTERP_OR_END_MESSAGE_RE);\n    if (match == null) {\n      var position = indexToLineAndColumn(this.text, this.msgStartIndex);\n      throw $interpolateMinErr('reqendbrace',\n          'The plural/select choice “{0}” message starting at line {1}, column {2} does not have an ending closing brace. Text “{3}”',\n          this.choiceKey, position.line, position.column, this.text);\n    }\n  }\n  // match is non-null.\n  var token = match[0];\n  this.textPart = this.text.substring(currentIndex, match.index);\n  return token;\n};\n\nMessageFormatParser.prototype.ruleInInterpolationOrMessageText = function ruleInInterpolationOrMessageText() {\n  var currentIndex = this.index;\n  var token = this.advanceInInterpolationOrMessageText();\n  if (token == null) {\n    // End of interpolation text.  Nothing more to process.\n    this.index = this.text.length;\n    this.interpolationParts.addText(this.text.substring(currentIndex));\n    this.rule = null;\n    return;\n  }\n  if (token[0] == \"\\\\\") {\n    // unescape next character and continue\n    this.interpolationParts.addText(this.textPart + token[1]);\n    return;\n  }\n  this.interpolationParts.addText(this.textPart);\n  if (token == \"{{\") {\n    this.pushState();\n    this.ruleStack.push(this.ruleEndMustacheInInterpolationOrMessage);\n    this.rule = this.ruleEnteredMustache;\n  } else if (token == \"}\") {\n    this.choices[this.choiceKey] = this.interpolationParts.toParsedFn(/*mustHaveExpression=*/false, this.text);\n    this.rule = this.ruleChoiceKeyword;\n  } else if (token == \"#\") {\n    this.interpolationParts.addExpressionFn(this.expressionMinusOffsetFn);\n  } else {\n    this.errorInParseLogic();\n  }\n};\n\nMessageFormatParser.prototype.ruleInterpolate = function ruleInterpolate() {\n  this.interpolationParts = new InterpolationParts(this.trustedContext, this.allOrNothing);\n  this.rule = this.ruleInInterpolation;\n};\n\nMessageFormatParser.prototype.ruleInInterpolation = function ruleInInterpolation() {\n  var currentIndex = this.index;\n  var match = this.searchRe(ESCAPE_OR_MUSTACHE_BEGIN_RE);\n  if (match == null) {\n    // End of interpolation text.  Nothing more to process.\n    this.index = this.text.length;\n    this.interpolationParts.addText(this.text.substring(currentIndex));\n    this.parsedFn = this.interpolationParts.toParsedFn(this.mustHaveExpression, this.text);\n    this.rule = null;\n    return;\n  }\n  var token = match[0];\n  if (token[0] == \"\\\\\") {\n    // unescape next character and continue\n    this.interpolationParts.addText(this.text.substring(currentIndex, match.index) + token[1]);\n    return;\n  }\n  this.interpolationParts.addText(this.text.substring(currentIndex, match.index));\n  this.pushState();\n  this.ruleStack.push(this.ruleInterpolationEndMustache);\n  this.rule = this.ruleEnteredMustache;\n};\n\nMessageFormatParser.prototype.ruleInterpolationEndMustache = function ruleInterpolationEndMustache() {\n  var expressionFn = this.parsedFn;\n  this.popState();\n  this.interpolationParts.addExpressionFn(expressionFn);\n  this.rule = this.ruleInInterpolation;\n};\n\nMessageFormatParser.prototype.ruleEnteredMustache = function ruleEnteredMustache() {\n  this.parsedFn = null;\n  this.ruleStack.push(this.ruleEndMustache);\n  this.rule = this.ruleAngularExpression;\n};\n\nMessageFormatParser.prototype.ruleEndMustacheInInterpolationOrMessage = function ruleEndMustacheInInterpolationOrMessage() {\n  var expressionFn = this.parsedFn;\n  this.popState();\n  this.interpolationParts.addExpressionFn(expressionFn);\n  this.rule = this.ruleInInterpolationOrMessageText;\n};\n\n\n\nvar INTERP_END_RE = /\\s*}}/g;\nMessageFormatParser.prototype.ruleEndMustache = function ruleEndMustache() {\n  var match = this.matchRe(INTERP_END_RE);\n  if (match == null) {\n    var position = indexToLineAndColumn(this.text, this.index);\n    throw $interpolateMinErr('reqendinterp',\n        'Expecting end of interpolation symbol, “{0}”, at line {1}, column {2} in text “{3}”',\n        '}}', position.line, position.column, this.text);\n  }\n  if (this.parsedFn == null) {\n    // If we parsed a MessageFormat extension, (e.g. select/plural today, maybe more some other\n    // day), then the result *has* to be a string and those rules would have already set\n    // this.parsedFn.  If there was no MessageFormat extension, then there is no requirement to\n    // stringify the result and parsedFn isn't set.  We set it here.  While we could have set it\n    // unconditionally when exiting the Angular expression, I intend for us to not just replace\n    // $interpolate, but also to replace $parse in a future version (so ng-bind can work), and in\n    // such a case we do not want to unnecessarily stringify something if it's not going to be used\n    // in a string context.\n    this.parsedFn = this.$parse(this.expressionFn, this.stringifier);\n    this.parsedFn['exp'] = this.expressionFn['exp']; // Needed to pretend to be $interpolate for tests copied from interpolateSpec.js\n    this.parsedFn['expressions'] = this.expressionFn['expressions']; // Require this to call $compile.$$addBindingInfo() which allows Protractor to find elements by binding.\n  }\n  this.rule = null;\n};\n\nMessageFormatParser.prototype.ruleAngularExpression = function ruleAngularExpression() {\n  this.angularOperatorStack = [];\n  this.expressionStartIndex = this.index;\n  this.rule = this.ruleInAngularExpression;\n};\n\nfunction getEndOperator(opBegin) {\n  switch (opBegin) {\n    case \"{\": return \"}\";\n    case \"[\": return \"]\";\n    case \"(\": return \")\";\n    default: return null;\n  }\n}\n\nfunction getBeginOperator(opEnd) {\n  switch (opEnd) {\n    case \"}\": return \"{\";\n    case \"]\": return \"[\";\n    case \")\": return \"(\";\n    default: return null;\n  }\n}\n\n// TODO(chirayu): The interpolation endSymbol must also be accounted for. It\n// just so happens that \"}\" is an operator so it's in the list below.  But we\n// should support any other type of start/end interpolation symbol.\nvar INTERESTING_OPERATORS_RE = /[[\\]{}()'\",]/g;\nMessageFormatParser.prototype.ruleInAngularExpression = function ruleInAngularExpression() {\n  var startIndex = this.index;\n  var match = this.searchRe(INTERESTING_OPERATORS_RE);\n  var position;\n  if (match == null) {\n    if (this.angularOperatorStack.length === 0) {\n      // This is the end of the Angular expression so this is actually a\n      // success.  Note that when inside an interpolation, this means we even\n      // consumed the closing interpolation symbols if they were curlies.  This\n      // is NOT an error at this point but will become an error further up the\n      // stack when the part that saw the opening curlies is unable to find the\n      // closing ones.\n      this.index = this.text.length;\n      this.expressionFn = this.$parse(this.text.substring(this.expressionStartIndex, this.index));\n      // Needed to pretend to be $interpolate for tests copied from interpolateSpec.js\n      this.expressionFn['exp'] = this.text.substring(this.expressionStartIndex, this.index);\n      this.expressionFn['expressions'] = this.expressionFn['expressions'];\n      this.rule = null;\n      return;\n    }\n    var innermostOperator = this.angularOperatorStack[0];\n    throw $interpolateMinErr('badexpr',\n        'Unexpected end of Angular expression.  Expecting operator “{0}” at the end of the text “{1}”',\n        this.getEndOperator(innermostOperator), this.text);\n  }\n  var operator = match[0];\n  if (operator == \"'\" || operator == '\"') {\n    this.ruleStack.push(this.ruleInAngularExpression);\n    this.startStringAtMatch(match);\n    return;\n  }\n  if (operator == \",\") {\n    if (this.trustedContext) {\n      position = indexToLineAndColumn(this.text, this.index);\n      throw $interpolateMinErr('unsafe',\n          'Use of select/plural MessageFormat syntax is currently disallowed in a secure context ({0}).  At line {1}, column {2} of text “{3}”',\n          this.trustedContext, position.line, position.column, this.text);\n    }\n    // only the top level comma has relevance.\n    if (this.angularOperatorStack.length === 0) {\n      // todo: does this need to be trimmed?\n      this.expressionFn = this.$parse(this.text.substring(this.expressionStartIndex, match.index));\n      // Needed to pretend to be $interpolate for tests copied from interpolateSpec.js\n      this.expressionFn['exp'] = this.text.substring(this.expressionStartIndex, match.index);\n      this.expressionFn['expressions'] = this.expressionFn['expressions'];\n      this.rule = null;\n      this.rule = this.rulePluralOrSelect;\n    }\n    return;\n  }\n  if (getEndOperator(operator) != null) {\n    this.angularOperatorStack.unshift(operator);\n    return;\n  }\n  var beginOperator = getBeginOperator(operator);\n  if (beginOperator == null) {\n    this.errorInParseLogic();\n  }\n  if (this.angularOperatorStack.length > 0) {\n    if (beginOperator == this.angularOperatorStack[0]) {\n      this.angularOperatorStack.shift();\n      return;\n    }\n    position = indexToLineAndColumn(this.text, this.index);\n    throw $interpolateMinErr('badexpr',\n        'Unexpected operator “{0}” at line {1}, column {2} in text. Was expecting “{3}”. Text: “{4}”',\n        operator, position.line, position.column, getEndOperator(this.angularOperatorStack[0]), this.text);\n  }\n  // We are trying to pop off the operator stack but there really isn't anything to pop off.\n  this.index = match.index;\n  this.expressionFn = this.$parse(this.text.substring(this.expressionStartIndex, this.index));\n  // Needed to pretend to be $interpolate for tests copied from interpolateSpec.js\n  this.expressionFn['exp'] = this.text.substring(this.expressionStartIndex, this.index);\n  this.expressionFn['expressions'] = this.expressionFn['expressions'];\n  this.rule = null;\n};\n\n// NOTE: ADVANCED_OPTIMIZATIONS mode.\n//\n// This file is compiled with Closure compiler's ADVANCED_OPTIMIZATIONS flag! Be wary of using\n// constructs incompatible with that mode.\n\n/* global $interpolateMinErr: false */\n/* global MessageFormatParser: false */\n/* global stringify: false */\n\n/**\n * @ngdoc service\n * @name $$messageFormat\n *\n * @description\n * Angular internal service to recognize MessageFormat extensions in interpolation expressions.\n * For more information, see:\n * https://docs.google.com/a/google.com/document/d/1pbtW2yvtmFBikfRrJd8VAsabiFkKezmYZ_PbgdjQOVU/edit\n *\n * ## Example\n *\n * <example name=\"ngMessageFormat-example\" module=\"msgFmtExample\" deps=\"angular-message-format.min.js\">\n * <file name=\"index.html\">\n *   <div ng-controller=\"AppController\">\n *     <button ng-click=\"decreaseRecipients()\" id=\"decreaseRecipients\">decreaseRecipients</button><br>\n *     <span>{{recipients.length, plural, offset:1\n *             =0    {{{sender.name}} gave no gifts (\\#=#)}\n *             =1    {{{sender.name}} gave one gift to {{recipients[0].name}} (\\#=#)}\n *             one   {{{sender.name}} gave {{recipients[0].name}} and one other person a gift (\\#=#)}\n *             other {{{sender.name}} gave {{recipients[0].name}} and # other people a gift (\\#=#)}\n *           }}</span>\n *   </div>\n * </file>\n *\n * <file name=\"script.js\">\n *   function Person(name, gender) {\n *     this.name = name;\n *     this.gender = gender;\n *   }\n *\n *   var alice   = new Person(\"Alice\", \"female\"),\n *       bob     = new Person(\"Bob\", \"male\"),\n *       charlie = new Person(\"Charlie\", \"male\"),\n *       harry   = new Person(\"Harry Potter\", \"male\");\n *\n *   angular.module('msgFmtExample', ['ngMessageFormat'])\n *     .controller('AppController', ['$scope', function($scope) {\n *         $scope.recipients = [alice, bob, charlie];\n *         $scope.sender = harry;\n *         $scope.decreaseRecipients = function() {\n *           --$scope.recipients.length;\n *         };\n *       }]);\n * </file>\n *\n * <file name=\"protractor.js\" type=\"protractor\">\n *   describe('MessageFormat plural', function() {\n *     it('should pluralize initial values', function() {\n *       var messageElem = element(by.binding('recipients.length')), decreaseRecipientsBtn = element(by.id('decreaseRecipients'));\n *       expect(messageElem.getText()).toEqual('Harry Potter gave Alice and 2 other people a gift (#=2)');\n *       decreaseRecipientsBtn.click();\n *       expect(messageElem.getText()).toEqual('Harry Potter gave Alice and one other person a gift (#=1)');\n *       decreaseRecipientsBtn.click();\n *       expect(messageElem.getText()).toEqual('Harry Potter gave one gift to Alice (#=0)');\n *       decreaseRecipientsBtn.click();\n *       expect(messageElem.getText()).toEqual('Harry Potter gave no gifts (#=-1)');\n *     });\n *   });\n * </file>\n * </example>\n */\nvar $$MessageFormatFactory = ['$parse', '$locale', '$sce', '$exceptionHandler', function $$messageFormat(\n                   $parse,   $locale,   $sce,   $exceptionHandler) {\n\n  function getStringifier(trustedContext, allOrNothing, text) {\n    return function stringifier(value) {\n      try {\n        value = trustedContext ? $sce['getTrusted'](trustedContext, value) : $sce['valueOf'](value);\n        return allOrNothing && (value === void 0) ? value : stringify(value);\n      } catch (err) {\n        $exceptionHandler($interpolateMinErr['interr'](text, err));\n      }\n    };\n  }\n\n  function interpolate(text, mustHaveExpression, trustedContext, allOrNothing) {\n    var stringifier = getStringifier(trustedContext, allOrNothing, text);\n    var parser = new MessageFormatParser(text, 0, $parse, $locale['pluralCat'], stringifier,\n                                         mustHaveExpression, trustedContext, allOrNothing);\n    parser.run(parser.ruleInterpolate);\n    return parser.parsedFn;\n  }\n\n  return {\n    'interpolate': interpolate\n  };\n}];\n\nvar $$interpolateDecorator = ['$$messageFormat', '$delegate', function $$interpolateDecorator($$messageFormat, $interpolate) {\n  if ($interpolate['startSymbol']() != \"{{\" || $interpolate['endSymbol']() != \"}}\") {\n    throw $interpolateMinErr('nochgmustache', 'angular-message-format.js currently does not allow you to use custom start and end symbols for interpolation.');\n  }\n  var interpolate = $$messageFormat['interpolate'];\n  interpolate['startSymbol'] = $interpolate['startSymbol'];\n  interpolate['endSymbol'] = $interpolate['endSymbol'];\n  return interpolate;\n}];\n\n\n/**\n * @ngdoc module\n * @name ngMessageFormat\n * @packageName angular-message-format\n * @description\n */\nvar module = window['angular']['module']('ngMessageFormat', ['ng']);\nmodule['factory']('$$messageFormat', $$MessageFormatFactory);\nmodule['config'](['$provide', function($provide) {\n  $provide['decorator']('$interpolate', $$interpolateDecorator);\n}]);\n\n\n})(window, window.angular);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/angular-messages.js",
    "content": "/**\n * @license AngularJS v1.4.8\n * (c) 2010-2015 Google, Inc. http://angularjs.org\n * License: MIT\n */\n(function(window, angular, undefined) {'use strict';\n\n/* jshint ignore:start */\n// this code is in the core, but not in angular-messages.js\nvar isArray = angular.isArray;\nvar forEach = angular.forEach;\nvar isString = angular.isString;\nvar jqLite = angular.element;\n/* jshint ignore:end */\n\n/**\n * @ngdoc module\n * @name ngMessages\n * @description\n *\n * The `ngMessages` module provides enhanced support for displaying messages within templates\n * (typically within forms or when rendering message objects that return key/value data).\n * Instead of relying on JavaScript code and/or complex ng-if statements within your form template to\n * show and hide error messages specific to the state of an input field, the `ngMessages` and\n * `ngMessage` directives are designed to handle the complexity, inheritance and priority\n * sequencing based on the order of how the messages are defined in the template.\n *\n * Currently, the ngMessages module only contains the code for the `ngMessages`, `ngMessagesInclude`\n * `ngMessage` and `ngMessageExp` directives.\n *\n * # Usage\n * The `ngMessages` directive listens on a key/value collection which is set on the ngMessages attribute.\n * Since the {@link ngModel ngModel} directive exposes an `$error` object, this error object can be\n * used with `ngMessages` to display control error messages in an easier way than with just regular angular\n * template directives.\n *\n * ```html\n * <form name=\"myForm\">\n *   <label>\n *     Enter text:\n *     <input type=\"text\" ng-model=\"field\" name=\"myField\" required minlength=\"5\" />\n *   </label>\n *   <div ng-messages=\"myForm.myField.$error\" role=\"alert\">\n *     <div ng-message=\"required\">You did not enter a field</div>\n *     <div ng-message=\"minlength, maxlength\">\n *       Your email must be between 5 and 100 characters long\n *     </div>\n *   </div>\n * </form>\n * ```\n *\n * Now whatever key/value entries are present within the provided object (in this case `$error`) then\n * the ngMessages directive will render the inner first ngMessage directive (depending if the key values\n * match the attribute value present on each ngMessage directive). In other words, if your errors\n * object contains the following data:\n *\n * ```javascript\n * <!-- keep in mind that ngModel automatically sets these error flags -->\n * myField.$error = { minlength : true, required : true };\n * ```\n *\n * Then the `required` message will be displayed first. When required is false then the `minlength` message\n * will be displayed right after (since these messages are ordered this way in the template HTML code).\n * The prioritization of each message is determined by what order they're present in the DOM.\n * Therefore, instead of having custom JavaScript code determine the priority of what errors are\n * present before others, the presentation of the errors are handled within the template.\n *\n * By default, ngMessages will only display one error at a time. However, if you wish to display all\n * messages then the `ng-messages-multiple` attribute flag can be used on the element containing the\n * ngMessages directive to make this happen.\n *\n * ```html\n * <!-- attribute-style usage -->\n * <div ng-messages=\"myForm.myField.$error\" ng-messages-multiple>...</div>\n *\n * <!-- element-style usage -->\n * <ng-messages for=\"myForm.myField.$error\" multiple>...</ng-messages>\n * ```\n *\n * ## Reusing and Overriding Messages\n * In addition to prioritization, ngMessages also allows for including messages from a remote or an inline\n * template. This allows for generic collection of messages to be reused across multiple parts of an\n * application.\n *\n * ```html\n * <script type=\"text/ng-template\" id=\"error-messages\">\n *   <div ng-message=\"required\">This field is required</div>\n *   <div ng-message=\"minlength\">This field is too short</div>\n * </script>\n *\n * <div ng-messages=\"myForm.myField.$error\" role=\"alert\">\n *   <div ng-messages-include=\"error-messages\"></div>\n * </div>\n * ```\n *\n * However, including generic messages may not be useful enough to match all input fields, therefore,\n * `ngMessages` provides the ability to override messages defined in the remote template by redefining\n * them within the directive container.\n *\n * ```html\n * <!-- a generic template of error messages known as \"my-custom-messages\" -->\n * <script type=\"text/ng-template\" id=\"my-custom-messages\">\n *   <div ng-message=\"required\">This field is required</div>\n *   <div ng-message=\"minlength\">This field is too short</div>\n * </script>\n *\n * <form name=\"myForm\">\n *   <label>\n *     Email address\n *     <input type=\"email\"\n *            id=\"email\"\n *            name=\"myEmail\"\n *            ng-model=\"email\"\n *            minlength=\"5\"\n *            required />\n *   </label>\n *   <!-- any ng-message elements that appear BEFORE the ng-messages-include will\n *        override the messages present in the ng-messages-include template -->\n *   <div ng-messages=\"myForm.myEmail.$error\" role=\"alert\">\n *     <!-- this required message has overridden the template message -->\n *     <div ng-message=\"required\">You did not enter your email address</div>\n *\n *     <!-- this is a brand new message and will appear last in the prioritization -->\n *     <div ng-message=\"email\">Your email address is invalid</div>\n *\n *     <!-- and here are the generic error messages -->\n *     <div ng-messages-include=\"my-custom-messages\"></div>\n *   </div>\n * </form>\n * ```\n *\n * In the example HTML code above the message that is set on required will override the corresponding\n * required message defined within the remote template. Therefore, with particular input fields (such\n * email addresses, date fields, autocomplete inputs, etc...), specialized error messages can be applied\n * while more generic messages can be used to handle other, more general input errors.\n *\n * ## Dynamic Messaging\n * ngMessages also supports using expressions to dynamically change key values. Using arrays and\n * repeaters to list messages is also supported. This means that the code below will be able to\n * fully adapt itself and display the appropriate message when any of the expression data changes:\n *\n * ```html\n * <form name=\"myForm\">\n *   <label>\n *     Email address\n *     <input type=\"email\"\n *            name=\"myEmail\"\n *            ng-model=\"email\"\n *            minlength=\"5\"\n *            required />\n *   </label>\n *   <div ng-messages=\"myForm.myEmail.$error\" role=\"alert\">\n *     <div ng-message=\"required\">You did not enter your email address</div>\n *     <div ng-repeat=\"errorMessage in errorMessages\">\n *       <!-- use ng-message-exp for a message whose key is given by an expression -->\n *       <div ng-message-exp=\"errorMessage.type\">{{ errorMessage.text }}</div>\n *     </div>\n *   </div>\n * </form>\n * ```\n *\n * The `errorMessage.type` expression can be a string value or it can be an array so\n * that multiple errors can be associated with a single error message:\n *\n * ```html\n *   <label>\n *     Email address\n *     <input type=\"email\"\n *            ng-model=\"data.email\"\n *            name=\"myEmail\"\n *            ng-minlength=\"5\"\n *            ng-maxlength=\"100\"\n *            required />\n *   </label>\n *   <div ng-messages=\"myForm.myEmail.$error\" role=\"alert\">\n *     <div ng-message-exp=\"'required'\">You did not enter your email address</div>\n *     <div ng-message-exp=\"['minlength', 'maxlength']\">\n *       Your email must be between 5 and 100 characters long\n *     </div>\n *   </div>\n * ```\n *\n * Feel free to use other structural directives such as ng-if and ng-switch to further control\n * what messages are active and when. Be careful, if you place ng-message on the same element\n * as these structural directives, Angular may not be able to determine if a message is active\n * or not. Therefore it is best to place the ng-message on a child element of the structural\n * directive.\n *\n * ```html\n * <div ng-messages=\"myForm.myEmail.$error\" role=\"alert\">\n *   <div ng-if=\"showRequiredError\">\n *     <div ng-message=\"required\">Please enter something</div>\n *   </div>\n * </div>\n * ```\n *\n * ## Animations\n * If the `ngAnimate` module is active within the application then the `ngMessages`, `ngMessage` and\n * `ngMessageExp` directives will trigger animations whenever any messages are added and removed from\n * the DOM by the `ngMessages` directive.\n *\n * Whenever the `ngMessages` directive contains one or more visible messages then the `.ng-active` CSS\n * class will be added to the element. The `.ng-inactive` CSS class will be applied when there are no\n * messages present. Therefore, CSS transitions and keyframes as well as JavaScript animations can\n * hook into the animations whenever these classes are added/removed.\n *\n * Let's say that our HTML code for our messages container looks like so:\n *\n * ```html\n * <div ng-messages=\"myMessages\" class=\"my-messages\" role=\"alert\">\n *   <div ng-message=\"alert\" class=\"some-message\">...</div>\n *   <div ng-message=\"fail\" class=\"some-message\">...</div>\n * </div>\n * ```\n *\n * Then the CSS animation code for the message container looks like so:\n *\n * ```css\n * .my-messages {\n *   transition:1s linear all;\n * }\n * .my-messages.ng-active {\n *   // messages are visible\n * }\n * .my-messages.ng-inactive {\n *   // messages are hidden\n * }\n * ```\n *\n * Whenever an inner message is attached (becomes visible) or removed (becomes hidden) then the enter\n * and leave animation is triggered for each particular element bound to the `ngMessage` directive.\n *\n * Therefore, the CSS code for the inner messages looks like so:\n *\n * ```css\n * .some-message {\n *   transition:1s linear all;\n * }\n *\n * .some-message.ng-enter {}\n * .some-message.ng-enter.ng-enter-active {}\n *\n * .some-message.ng-leave {}\n * .some-message.ng-leave.ng-leave-active {}\n * ```\n *\n * {@link ngAnimate Click here} to learn how to use JavaScript animations or to learn more about ngAnimate.\n */\nangular.module('ngMessages', [])\n\n   /**\n    * @ngdoc directive\n    * @module ngMessages\n    * @name ngMessages\n    * @restrict AE\n    *\n    * @description\n    * `ngMessages` is a directive that is designed to show and hide messages based on the state\n    * of a key/value object that it listens on. The directive itself complements error message\n    * reporting with the `ngModel` $error object (which stores a key/value state of validation errors).\n    *\n    * `ngMessages` manages the state of internal messages within its container element. The internal\n    * messages use the `ngMessage` directive and will be inserted/removed from the page depending\n    * on if they're present within the key/value object. By default, only one message will be displayed\n    * at a time and this depends on the prioritization of the messages within the template. (This can\n    * be changed by using the `ng-messages-multiple` or `multiple` attribute on the directive container.)\n    *\n    * A remote template can also be used to promote message reusability and messages can also be\n    * overridden.\n    *\n    * {@link module:ngMessages Click here} to learn more about `ngMessages` and `ngMessage`.\n    *\n    * @usage\n    * ```html\n    * <!-- using attribute directives -->\n    * <ANY ng-messages=\"expression\" role=\"alert\">\n    *   <ANY ng-message=\"stringValue\">...</ANY>\n    *   <ANY ng-message=\"stringValue1, stringValue2, ...\">...</ANY>\n    *   <ANY ng-message-exp=\"expressionValue\">...</ANY>\n    * </ANY>\n    *\n    * <!-- or by using element directives -->\n    * <ng-messages for=\"expression\" role=\"alert\">\n    *   <ng-message when=\"stringValue\">...</ng-message>\n    *   <ng-message when=\"stringValue1, stringValue2, ...\">...</ng-message>\n    *   <ng-message when-exp=\"expressionValue\">...</ng-message>\n    * </ng-messages>\n    * ```\n    *\n    * @param {string} ngMessages an angular expression evaluating to a key/value object\n    *                 (this is typically the $error object on an ngModel instance).\n    * @param {string=} ngMessagesMultiple|multiple when set, all messages will be displayed with true\n    *\n    * @example\n    * <example name=\"ngMessages-directive\" module=\"ngMessagesExample\"\n    *          deps=\"angular-messages.js\"\n    *          animations=\"true\" fixBase=\"true\">\n    *   <file name=\"index.html\">\n    *     <form name=\"myForm\">\n    *       <label>\n    *         Enter your name:\n    *         <input type=\"text\"\n    *                name=\"myName\"\n    *                ng-model=\"name\"\n    *                ng-minlength=\"5\"\n    *                ng-maxlength=\"20\"\n    *                required />\n    *       </label>\n    *       <pre>myForm.myName.$error = {{ myForm.myName.$error | json }}</pre>\n    *\n    *       <div ng-messages=\"myForm.myName.$error\" style=\"color:maroon\" role=\"alert\">\n    *         <div ng-message=\"required\">You did not enter a field</div>\n    *         <div ng-message=\"minlength\">Your field is too short</div>\n    *         <div ng-message=\"maxlength\">Your field is too long</div>\n    *       </div>\n    *     </form>\n    *   </file>\n    *   <file name=\"script.js\">\n    *     angular.module('ngMessagesExample', ['ngMessages']);\n    *   </file>\n    * </example>\n    */\n   .directive('ngMessages', ['$animate', function($animate) {\n     var ACTIVE_CLASS = 'ng-active';\n     var INACTIVE_CLASS = 'ng-inactive';\n\n     return {\n       require: 'ngMessages',\n       restrict: 'AE',\n       controller: ['$element', '$scope', '$attrs', function($element, $scope, $attrs) {\n         var ctrl = this;\n         var latestKey = 0;\n         var nextAttachId = 0;\n\n         this.getAttachId = function getAttachId() { return nextAttachId++; };\n\n         var messages = this.messages = {};\n         var renderLater, cachedCollection;\n\n         this.render = function(collection) {\n           collection = collection || {};\n\n           renderLater = false;\n           cachedCollection = collection;\n\n           // this is true if the attribute is empty or if the attribute value is truthy\n           var multiple = isAttrTruthy($scope, $attrs.ngMessagesMultiple) ||\n                          isAttrTruthy($scope, $attrs.multiple);\n\n           var unmatchedMessages = [];\n           var matchedKeys = {};\n           var messageItem = ctrl.head;\n           var messageFound = false;\n           var totalMessages = 0;\n\n           // we use != instead of !== to allow for both undefined and null values\n           while (messageItem != null) {\n             totalMessages++;\n             var messageCtrl = messageItem.message;\n\n             var messageUsed = false;\n             if (!messageFound) {\n               forEach(collection, function(value, key) {\n                 if (!messageUsed && truthy(value) && messageCtrl.test(key)) {\n                   // this is to prevent the same error name from showing up twice\n                   if (matchedKeys[key]) return;\n                   matchedKeys[key] = true;\n\n                   messageUsed = true;\n                   messageCtrl.attach();\n                 }\n               });\n             }\n\n             if (messageUsed) {\n               // unless we want to display multiple messages then we should\n               // set a flag here to avoid displaying the next message in the list\n               messageFound = !multiple;\n             } else {\n               unmatchedMessages.push(messageCtrl);\n             }\n\n             messageItem = messageItem.next;\n           }\n\n           forEach(unmatchedMessages, function(messageCtrl) {\n             messageCtrl.detach();\n           });\n\n           unmatchedMessages.length !== totalMessages\n              ? $animate.setClass($element, ACTIVE_CLASS, INACTIVE_CLASS)\n              : $animate.setClass($element, INACTIVE_CLASS, ACTIVE_CLASS);\n         };\n\n         $scope.$watchCollection($attrs.ngMessages || $attrs['for'], ctrl.render);\n\n         this.reRender = function() {\n           if (!renderLater) {\n             renderLater = true;\n             $scope.$evalAsync(function() {\n               if (renderLater) {\n                 cachedCollection && ctrl.render(cachedCollection);\n               }\n             });\n           }\n         };\n\n         this.register = function(comment, messageCtrl) {\n           var nextKey = latestKey.toString();\n           messages[nextKey] = {\n             message: messageCtrl\n           };\n           insertMessageNode($element[0], comment, nextKey);\n           comment.$$ngMessageNode = nextKey;\n           latestKey++;\n\n           ctrl.reRender();\n         };\n\n         this.deregister = function(comment) {\n           var key = comment.$$ngMessageNode;\n           delete comment.$$ngMessageNode;\n           removeMessageNode($element[0], comment, key);\n           delete messages[key];\n           ctrl.reRender();\n         };\n\n         function findPreviousMessage(parent, comment) {\n           var prevNode = comment;\n           var parentLookup = [];\n           while (prevNode && prevNode !== parent) {\n             var prevKey = prevNode.$$ngMessageNode;\n             if (prevKey && prevKey.length) {\n               return messages[prevKey];\n             }\n\n             // dive deeper into the DOM and examine its children for any ngMessage\n             // comments that may be in an element that appears deeper in the list\n             if (prevNode.childNodes.length && parentLookup.indexOf(prevNode) == -1) {\n               parentLookup.push(prevNode);\n               prevNode = prevNode.childNodes[prevNode.childNodes.length - 1];\n             } else {\n               prevNode = prevNode.previousSibling || prevNode.parentNode;\n             }\n           }\n         }\n\n         function insertMessageNode(parent, comment, key) {\n           var messageNode = messages[key];\n           if (!ctrl.head) {\n             ctrl.head = messageNode;\n           } else {\n             var match = findPreviousMessage(parent, comment);\n             if (match) {\n               messageNode.next = match.next;\n               match.next = messageNode;\n             } else {\n               messageNode.next = ctrl.head;\n               ctrl.head = messageNode;\n             }\n           }\n         }\n\n         function removeMessageNode(parent, comment, key) {\n           var messageNode = messages[key];\n\n           var match = findPreviousMessage(parent, comment);\n           if (match) {\n             match.next = messageNode.next;\n           } else {\n             ctrl.head = messageNode.next;\n           }\n         }\n       }]\n     };\n\n     function isAttrTruthy(scope, attr) {\n      return (isString(attr) && attr.length === 0) || //empty attribute\n             truthy(scope.$eval(attr));\n     }\n\n     function truthy(val) {\n       return isString(val) ? val.length : !!val;\n     }\n   }])\n\n   /**\n    * @ngdoc directive\n    * @name ngMessagesInclude\n    * @restrict AE\n    * @scope\n    *\n    * @description\n    * `ngMessagesInclude` is a directive with the purpose to import existing ngMessage template\n    * code from a remote template and place the downloaded template code into the exact spot\n    * that the ngMessagesInclude directive is placed within the ngMessages container. This allows\n    * for a series of pre-defined messages to be reused and also allows for the developer to\n    * determine what messages are overridden due to the placement of the ngMessagesInclude directive.\n    *\n    * @usage\n    * ```html\n    * <!-- using attribute directives -->\n    * <ANY ng-messages=\"expression\" role=\"alert\">\n    *   <ANY ng-messages-include=\"remoteTplString\">...</ANY>\n    * </ANY>\n    *\n    * <!-- or by using element directives -->\n    * <ng-messages for=\"expression\" role=\"alert\">\n    *   <ng-messages-include src=\"expressionValue1\">...</ng-messages-include>\n    * </ng-messages>\n    * ```\n    *\n    * {@link module:ngMessages Click here} to learn more about `ngMessages` and `ngMessage`.\n    *\n    * @param {string} ngMessagesInclude|src a string value corresponding to the remote template.\n    */\n   .directive('ngMessagesInclude',\n     ['$templateRequest', '$document', '$compile', function($templateRequest, $document, $compile) {\n\n     return {\n       restrict: 'AE',\n       require: '^^ngMessages', // we only require this for validation sake\n       link: function($scope, element, attrs) {\n         var src = attrs.ngMessagesInclude || attrs.src;\n         $templateRequest(src).then(function(html) {\n           $compile(html)($scope, function(contents) {\n             element.after(contents);\n\n             // the anchor is placed for debugging purposes\n             var anchor = jqLite($document[0].createComment(' ngMessagesInclude: ' + src + ' '));\n             element.after(anchor);\n\n             // we don't want to pollute the DOM anymore by keeping an empty directive element\n             element.remove();\n           });\n         });\n       }\n     };\n   }])\n\n   /**\n    * @ngdoc directive\n    * @name ngMessage\n    * @restrict AE\n    * @scope\n    *\n    * @description\n    * `ngMessage` is a directive with the purpose to show and hide a particular message.\n    * For `ngMessage` to operate, a parent `ngMessages` directive on a parent DOM element\n    * must be situated since it determines which messages are visible based on the state\n    * of the provided key/value map that `ngMessages` listens on.\n    *\n    * More information about using `ngMessage` can be found in the\n    * {@link module:ngMessages `ngMessages` module documentation}.\n    *\n    * @usage\n    * ```html\n    * <!-- using attribute directives -->\n    * <ANY ng-messages=\"expression\" role=\"alert\">\n    *   <ANY ng-message=\"stringValue\">...</ANY>\n    *   <ANY ng-message=\"stringValue1, stringValue2, ...\">...</ANY>\n    * </ANY>\n    *\n    * <!-- or by using element directives -->\n    * <ng-messages for=\"expression\" role=\"alert\">\n    *   <ng-message when=\"stringValue\">...</ng-message>\n    *   <ng-message when=\"stringValue1, stringValue2, ...\">...</ng-message>\n    * </ng-messages>\n    * ```\n    *\n    * @param {expression} ngMessage|when a string value corresponding to the message key.\n    */\n  .directive('ngMessage', ngMessageDirectiveFactory('AE'))\n\n\n   /**\n    * @ngdoc directive\n    * @name ngMessageExp\n    * @restrict AE\n    * @scope\n    *\n    * @description\n    * `ngMessageExp` is a directive with the purpose to show and hide a particular message.\n    * For `ngMessageExp` to operate, a parent `ngMessages` directive on a parent DOM element\n    * must be situated since it determines which messages are visible based on the state\n    * of the provided key/value map that `ngMessages` listens on.\n    *\n    * @usage\n    * ```html\n    * <!-- using attribute directives -->\n    * <ANY ng-messages=\"expression\">\n    *   <ANY ng-message-exp=\"expressionValue\">...</ANY>\n    * </ANY>\n    *\n    * <!-- or by using element directives -->\n    * <ng-messages for=\"expression\">\n    *   <ng-message when-exp=\"expressionValue\">...</ng-message>\n    * </ng-messages>\n    * ```\n    *\n    * {@link module:ngMessages Click here} to learn more about `ngMessages` and `ngMessage`.\n    *\n    * @param {expression} ngMessageExp|whenExp an expression value corresponding to the message key.\n    */\n  .directive('ngMessageExp', ngMessageDirectiveFactory('A'));\n\nfunction ngMessageDirectiveFactory(restrict) {\n  return ['$animate', function($animate) {\n    return {\n      restrict: 'AE',\n      transclude: 'element',\n      terminal: true,\n      require: '^^ngMessages',\n      link: function(scope, element, attrs, ngMessagesCtrl, $transclude) {\n        var commentNode = element[0];\n\n        var records;\n        var staticExp = attrs.ngMessage || attrs.when;\n        var dynamicExp = attrs.ngMessageExp || attrs.whenExp;\n        var assignRecords = function(items) {\n          records = items\n              ? (isArray(items)\n                    ? items\n                    : items.split(/[\\s,]+/))\n              : null;\n          ngMessagesCtrl.reRender();\n        };\n\n        if (dynamicExp) {\n          assignRecords(scope.$eval(dynamicExp));\n          scope.$watchCollection(dynamicExp, assignRecords);\n        } else {\n          assignRecords(staticExp);\n        }\n\n        var currentElement, messageCtrl;\n        ngMessagesCtrl.register(commentNode, messageCtrl = {\n          test: function(name) {\n            return contains(records, name);\n          },\n          attach: function() {\n            if (!currentElement) {\n              $transclude(scope, function(elm) {\n                $animate.enter(elm, null, element);\n                currentElement = elm;\n\n                // Each time we attach this node to a message we get a new id that we can match\n                // when we are destroying the node later.\n                var $$attachId = currentElement.$$attachId = ngMessagesCtrl.getAttachId();\n\n                // in the event that the parent element is destroyed\n                // by any other structural directive then it's time\n                // to deregister the message from the controller\n                currentElement.on('$destroy', function() {\n                  if (currentElement && currentElement.$$attachId === $$attachId) {\n                    ngMessagesCtrl.deregister(commentNode);\n                    messageCtrl.detach();\n                  }\n                });\n              });\n            }\n          },\n          detach: function() {\n            if (currentElement) {\n              var elm = currentElement;\n              currentElement = null;\n              $animate.leave(elm);\n            }\n          }\n        });\n      }\n    };\n  }];\n\n  function contains(collection, key) {\n    if (collection) {\n      return isArray(collection)\n          ? collection.indexOf(key) >= 0\n          : collection.hasOwnProperty(key);\n    }\n  }\n}\n\n\n})(window, window.angular);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/angular-mocks.js",
    "content": "/**\n * @license AngularJS v1.4.8\n * (c) 2010-2015 Google, Inc. http://angularjs.org\n * License: MIT\n */\n(function(window, angular, undefined) {\n\n'use strict';\n\n/**\n * @ngdoc object\n * @name angular.mock\n * @description\n *\n * Namespace from 'angular-mocks.js' which contains testing related code.\n */\nangular.mock = {};\n\n/**\n * ! This is a private undocumented service !\n *\n * @name $browser\n *\n * @description\n * This service is a mock implementation of {@link ng.$browser}. It provides fake\n * implementation for commonly used browser apis that are hard to test, e.g. setTimeout, xhr,\n * cookies, etc...\n *\n * The api of this service is the same as that of the real {@link ng.$browser $browser}, except\n * that there are several helper methods available which can be used in tests.\n */\nangular.mock.$BrowserProvider = function() {\n  this.$get = function() {\n    return new angular.mock.$Browser();\n  };\n};\n\nangular.mock.$Browser = function() {\n  var self = this;\n\n  this.isMock = true;\n  self.$$url = \"http://server/\";\n  self.$$lastUrl = self.$$url; // used by url polling fn\n  self.pollFns = [];\n\n  // TODO(vojta): remove this temporary api\n  self.$$completeOutstandingRequest = angular.noop;\n  self.$$incOutstandingRequestCount = angular.noop;\n\n\n  // register url polling fn\n\n  self.onUrlChange = function(listener) {\n    self.pollFns.push(\n      function() {\n        if (self.$$lastUrl !== self.$$url || self.$$state !== self.$$lastState) {\n          self.$$lastUrl = self.$$url;\n          self.$$lastState = self.$$state;\n          listener(self.$$url, self.$$state);\n        }\n      }\n    );\n\n    return listener;\n  };\n\n  self.$$applicationDestroyed = angular.noop;\n  self.$$checkUrlChange = angular.noop;\n\n  self.deferredFns = [];\n  self.deferredNextId = 0;\n\n  self.defer = function(fn, delay) {\n    delay = delay || 0;\n    self.deferredFns.push({time:(self.defer.now + delay), fn:fn, id: self.deferredNextId});\n    self.deferredFns.sort(function(a, b) { return a.time - b.time;});\n    return self.deferredNextId++;\n  };\n\n\n  /**\n   * @name $browser#defer.now\n   *\n   * @description\n   * Current milliseconds mock time.\n   */\n  self.defer.now = 0;\n\n\n  self.defer.cancel = function(deferId) {\n    var fnIndex;\n\n    angular.forEach(self.deferredFns, function(fn, index) {\n      if (fn.id === deferId) fnIndex = index;\n    });\n\n    if (angular.isDefined(fnIndex)) {\n      self.deferredFns.splice(fnIndex, 1);\n      return true;\n    }\n\n    return false;\n  };\n\n\n  /**\n   * @name $browser#defer.flush\n   *\n   * @description\n   * Flushes all pending requests and executes the defer callbacks.\n   *\n   * @param {number=} number of milliseconds to flush. See {@link #defer.now}\n   */\n  self.defer.flush = function(delay) {\n    if (angular.isDefined(delay)) {\n      self.defer.now += delay;\n    } else {\n      if (self.deferredFns.length) {\n        self.defer.now = self.deferredFns[self.deferredFns.length - 1].time;\n      } else {\n        throw new Error('No deferred tasks to be flushed');\n      }\n    }\n\n    while (self.deferredFns.length && self.deferredFns[0].time <= self.defer.now) {\n      self.deferredFns.shift().fn();\n    }\n  };\n\n  self.$$baseHref = '/';\n  self.baseHref = function() {\n    return this.$$baseHref;\n  };\n};\nangular.mock.$Browser.prototype = {\n\n/**\n  * @name $browser#poll\n  *\n  * @description\n  * run all fns in pollFns\n  */\n  poll: function poll() {\n    angular.forEach(this.pollFns, function(pollFn) {\n      pollFn();\n    });\n  },\n\n  url: function(url, replace, state) {\n    if (angular.isUndefined(state)) {\n      state = null;\n    }\n    if (url) {\n      this.$$url = url;\n      // Native pushState serializes & copies the object; simulate it.\n      this.$$state = angular.copy(state);\n      return this;\n    }\n\n    return this.$$url;\n  },\n\n  state: function() {\n    return this.$$state;\n  },\n\n  notifyWhenNoOutstandingRequests: function(fn) {\n    fn();\n  }\n};\n\n\n/**\n * @ngdoc provider\n * @name $exceptionHandlerProvider\n *\n * @description\n * Configures the mock implementation of {@link ng.$exceptionHandler} to rethrow or to log errors\n * passed to the `$exceptionHandler`.\n */\n\n/**\n * @ngdoc service\n * @name $exceptionHandler\n *\n * @description\n * Mock implementation of {@link ng.$exceptionHandler} that rethrows or logs errors passed\n * to it. See {@link ngMock.$exceptionHandlerProvider $exceptionHandlerProvider} for configuration\n * information.\n *\n *\n * ```js\n *   describe('$exceptionHandlerProvider', function() {\n *\n *     it('should capture log messages and exceptions', function() {\n *\n *       module(function($exceptionHandlerProvider) {\n *         $exceptionHandlerProvider.mode('log');\n *       });\n *\n *       inject(function($log, $exceptionHandler, $timeout) {\n *         $timeout(function() { $log.log(1); });\n *         $timeout(function() { $log.log(2); throw 'banana peel'; });\n *         $timeout(function() { $log.log(3); });\n *         expect($exceptionHandler.errors).toEqual([]);\n *         expect($log.assertEmpty());\n *         $timeout.flush();\n *         expect($exceptionHandler.errors).toEqual(['banana peel']);\n *         expect($log.log.logs).toEqual([[1], [2], [3]]);\n *       });\n *     });\n *   });\n * ```\n */\n\nangular.mock.$ExceptionHandlerProvider = function() {\n  var handler;\n\n  /**\n   * @ngdoc method\n   * @name $exceptionHandlerProvider#mode\n   *\n   * @description\n   * Sets the logging mode.\n   *\n   * @param {string} mode Mode of operation, defaults to `rethrow`.\n   *\n   *   - `log`: Sometimes it is desirable to test that an error is thrown, for this case the `log`\n   *            mode stores an array of errors in `$exceptionHandler.errors`, to allow later\n   *            assertion of them. See {@link ngMock.$log#assertEmpty assertEmpty()} and\n   *            {@link ngMock.$log#reset reset()}\n   *   - `rethrow`: If any errors are passed to the handler in tests, it typically means that there\n   *                is a bug in the application or test, so this mock will make these tests fail.\n   *                For any implementations that expect exceptions to be thrown, the `rethrow` mode\n   *                will also maintain a log of thrown errors.\n   */\n  this.mode = function(mode) {\n\n    switch (mode) {\n      case 'log':\n      case 'rethrow':\n        var errors = [];\n        handler = function(e) {\n          if (arguments.length == 1) {\n            errors.push(e);\n          } else {\n            errors.push([].slice.call(arguments, 0));\n          }\n          if (mode === \"rethrow\") {\n            throw e;\n          }\n        };\n        handler.errors = errors;\n        break;\n      default:\n        throw new Error(\"Unknown mode '\" + mode + \"', only 'log'/'rethrow' modes are allowed!\");\n    }\n  };\n\n  this.$get = function() {\n    return handler;\n  };\n\n  this.mode('rethrow');\n};\n\n\n/**\n * @ngdoc service\n * @name $log\n *\n * @description\n * Mock implementation of {@link ng.$log} that gathers all logged messages in arrays\n * (one array per logging level). These arrays are exposed as `logs` property of each of the\n * level-specific log function, e.g. for level `error` the array is exposed as `$log.error.logs`.\n *\n */\nangular.mock.$LogProvider = function() {\n  var debug = true;\n\n  function concat(array1, array2, index) {\n    return array1.concat(Array.prototype.slice.call(array2, index));\n  }\n\n  this.debugEnabled = function(flag) {\n    if (angular.isDefined(flag)) {\n      debug = flag;\n      return this;\n    } else {\n      return debug;\n    }\n  };\n\n  this.$get = function() {\n    var $log = {\n      log: function() { $log.log.logs.push(concat([], arguments, 0)); },\n      warn: function() { $log.warn.logs.push(concat([], arguments, 0)); },\n      info: function() { $log.info.logs.push(concat([], arguments, 0)); },\n      error: function() { $log.error.logs.push(concat([], arguments, 0)); },\n      debug: function() {\n        if (debug) {\n          $log.debug.logs.push(concat([], arguments, 0));\n        }\n      }\n    };\n\n    /**\n     * @ngdoc method\n     * @name $log#reset\n     *\n     * @description\n     * Reset all of the logging arrays to empty.\n     */\n    $log.reset = function() {\n      /**\n       * @ngdoc property\n       * @name $log#log.logs\n       *\n       * @description\n       * Array of messages logged using {@link ng.$log#log `log()`}.\n       *\n       * @example\n       * ```js\n       * $log.log('Some Log');\n       * var first = $log.log.logs.unshift();\n       * ```\n       */\n      $log.log.logs = [];\n      /**\n       * @ngdoc property\n       * @name $log#info.logs\n       *\n       * @description\n       * Array of messages logged using {@link ng.$log#info `info()`}.\n       *\n       * @example\n       * ```js\n       * $log.info('Some Info');\n       * var first = $log.info.logs.unshift();\n       * ```\n       */\n      $log.info.logs = [];\n      /**\n       * @ngdoc property\n       * @name $log#warn.logs\n       *\n       * @description\n       * Array of messages logged using {@link ng.$log#warn `warn()`}.\n       *\n       * @example\n       * ```js\n       * $log.warn('Some Warning');\n       * var first = $log.warn.logs.unshift();\n       * ```\n       */\n      $log.warn.logs = [];\n      /**\n       * @ngdoc property\n       * @name $log#error.logs\n       *\n       * @description\n       * Array of messages logged using {@link ng.$log#error `error()`}.\n       *\n       * @example\n       * ```js\n       * $log.error('Some Error');\n       * var first = $log.error.logs.unshift();\n       * ```\n       */\n      $log.error.logs = [];\n        /**\n       * @ngdoc property\n       * @name $log#debug.logs\n       *\n       * @description\n       * Array of messages logged using {@link ng.$log#debug `debug()`}.\n       *\n       * @example\n       * ```js\n       * $log.debug('Some Error');\n       * var first = $log.debug.logs.unshift();\n       * ```\n       */\n      $log.debug.logs = [];\n    };\n\n    /**\n     * @ngdoc method\n     * @name $log#assertEmpty\n     *\n     * @description\n     * Assert that all of the logging methods have no logged messages. If any messages are present,\n     * an exception is thrown.\n     */\n    $log.assertEmpty = function() {\n      var errors = [];\n      angular.forEach(['error', 'warn', 'info', 'log', 'debug'], function(logLevel) {\n        angular.forEach($log[logLevel].logs, function(log) {\n          angular.forEach(log, function(logItem) {\n            errors.push('MOCK $log (' + logLevel + '): ' + String(logItem) + '\\n' +\n                        (logItem.stack || ''));\n          });\n        });\n      });\n      if (errors.length) {\n        errors.unshift(\"Expected $log to be empty! Either a message was logged unexpectedly, or \" +\n          \"an expected log message was not checked and removed:\");\n        errors.push('');\n        throw new Error(errors.join('\\n---------\\n'));\n      }\n    };\n\n    $log.reset();\n    return $log;\n  };\n};\n\n\n/**\n * @ngdoc service\n * @name $interval\n *\n * @description\n * Mock implementation of the $interval service.\n *\n * Use {@link ngMock.$interval#flush `$interval.flush(millis)`} to\n * move forward by `millis` milliseconds and trigger any functions scheduled to run in that\n * time.\n *\n * @param {function()} fn A function that should be called repeatedly.\n * @param {number} delay Number of milliseconds between each function call.\n * @param {number=} [count=0] Number of times to repeat. If not set, or 0, will repeat\n *   indefinitely.\n * @param {boolean=} [invokeApply=true] If set to `false` skips model dirty checking, otherwise\n *   will invoke `fn` within the {@link ng.$rootScope.Scope#$apply $apply} block.\n * @param {...*=} Pass additional parameters to the executed function.\n * @returns {promise} A promise which will be notified on each iteration.\n */\nangular.mock.$IntervalProvider = function() {\n  this.$get = ['$browser', '$rootScope', '$q', '$$q',\n       function($browser,   $rootScope,   $q,   $$q) {\n    var repeatFns = [],\n        nextRepeatId = 0,\n        now = 0;\n\n    var $interval = function(fn, delay, count, invokeApply) {\n      var hasParams = arguments.length > 4,\n          args = hasParams ? Array.prototype.slice.call(arguments, 4) : [],\n          iteration = 0,\n          skipApply = (angular.isDefined(invokeApply) && !invokeApply),\n          deferred = (skipApply ? $$q : $q).defer(),\n          promise = deferred.promise;\n\n      count = (angular.isDefined(count)) ? count : 0;\n      promise.then(null, null, (!hasParams) ? fn : function() {\n        fn.apply(null, args);\n      });\n\n      promise.$$intervalId = nextRepeatId;\n\n      function tick() {\n        deferred.notify(iteration++);\n\n        if (count > 0 && iteration >= count) {\n          var fnIndex;\n          deferred.resolve(iteration);\n\n          angular.forEach(repeatFns, function(fn, index) {\n            if (fn.id === promise.$$intervalId) fnIndex = index;\n          });\n\n          if (angular.isDefined(fnIndex)) {\n            repeatFns.splice(fnIndex, 1);\n          }\n        }\n\n        if (skipApply) {\n          $browser.defer.flush();\n        } else {\n          $rootScope.$apply();\n        }\n      }\n\n      repeatFns.push({\n        nextTime:(now + delay),\n        delay: delay,\n        fn: tick,\n        id: nextRepeatId,\n        deferred: deferred\n      });\n      repeatFns.sort(function(a, b) { return a.nextTime - b.nextTime;});\n\n      nextRepeatId++;\n      return promise;\n    };\n    /**\n     * @ngdoc method\n     * @name $interval#cancel\n     *\n     * @description\n     * Cancels a task associated with the `promise`.\n     *\n     * @param {promise} promise A promise from calling the `$interval` function.\n     * @returns {boolean} Returns `true` if the task was successfully cancelled.\n     */\n    $interval.cancel = function(promise) {\n      if (!promise) return false;\n      var fnIndex;\n\n      angular.forEach(repeatFns, function(fn, index) {\n        if (fn.id === promise.$$intervalId) fnIndex = index;\n      });\n\n      if (angular.isDefined(fnIndex)) {\n        repeatFns[fnIndex].deferred.reject('canceled');\n        repeatFns.splice(fnIndex, 1);\n        return true;\n      }\n\n      return false;\n    };\n\n    /**\n     * @ngdoc method\n     * @name $interval#flush\n     * @description\n     *\n     * Runs interval tasks scheduled to be run in the next `millis` milliseconds.\n     *\n     * @param {number=} millis maximum timeout amount to flush up until.\n     *\n     * @return {number} The amount of time moved forward.\n     */\n    $interval.flush = function(millis) {\n      now += millis;\n      while (repeatFns.length && repeatFns[0].nextTime <= now) {\n        var task = repeatFns[0];\n        task.fn();\n        task.nextTime += task.delay;\n        repeatFns.sort(function(a, b) { return a.nextTime - b.nextTime;});\n      }\n      return millis;\n    };\n\n    return $interval;\n  }];\n};\n\n\n/* jshint -W101 */\n/* The R_ISO8061_STR regex is never going to fit into the 100 char limit!\n * This directive should go inside the anonymous function but a bug in JSHint means that it would\n * not be enacted early enough to prevent the warning.\n */\nvar R_ISO8061_STR = /^(\\d{4})-?(\\d\\d)-?(\\d\\d)(?:T(\\d\\d)(?:\\:?(\\d\\d)(?:\\:?(\\d\\d)(?:\\.(\\d{3}))?)?)?(Z|([+-])(\\d\\d):?(\\d\\d)))?$/;\n\nfunction jsonStringToDate(string) {\n  var match;\n  if (match = string.match(R_ISO8061_STR)) {\n    var date = new Date(0),\n        tzHour = 0,\n        tzMin  = 0;\n    if (match[9]) {\n      tzHour = toInt(match[9] + match[10]);\n      tzMin = toInt(match[9] + match[11]);\n    }\n    date.setUTCFullYear(toInt(match[1]), toInt(match[2]) - 1, toInt(match[3]));\n    date.setUTCHours(toInt(match[4] || 0) - tzHour,\n                     toInt(match[5] || 0) - tzMin,\n                     toInt(match[6] || 0),\n                     toInt(match[7] || 0));\n    return date;\n  }\n  return string;\n}\n\nfunction toInt(str) {\n  return parseInt(str, 10);\n}\n\nfunction padNumber(num, digits, trim) {\n  var neg = '';\n  if (num < 0) {\n    neg =  '-';\n    num = -num;\n  }\n  num = '' + num;\n  while (num.length < digits) num = '0' + num;\n  if (trim) {\n    num = num.substr(num.length - digits);\n  }\n  return neg + num;\n}\n\n\n/**\n * @ngdoc type\n * @name angular.mock.TzDate\n * @description\n *\n * *NOTE*: this is not an injectable instance, just a globally available mock class of `Date`.\n *\n * Mock of the Date type which has its timezone specified via constructor arg.\n *\n * The main purpose is to create Date-like instances with timezone fixed to the specified timezone\n * offset, so that we can test code that depends on local timezone settings without dependency on\n * the time zone settings of the machine where the code is running.\n *\n * @param {number} offset Offset of the *desired* timezone in hours (fractions will be honored)\n * @param {(number|string)} timestamp Timestamp representing the desired time in *UTC*\n *\n * @example\n * !!!! WARNING !!!!!\n * This is not a complete Date object so only methods that were implemented can be called safely.\n * To make matters worse, TzDate instances inherit stuff from Date via a prototype.\n *\n * We do our best to intercept calls to \"unimplemented\" methods, but since the list of methods is\n * incomplete we might be missing some non-standard methods. This can result in errors like:\n * \"Date.prototype.foo called on incompatible Object\".\n *\n * ```js\n * var newYearInBratislava = new TzDate(-1, '2009-12-31T23:00:00Z');\n * newYearInBratislava.getTimezoneOffset() => -60;\n * newYearInBratislava.getFullYear() => 2010;\n * newYearInBratislava.getMonth() => 0;\n * newYearInBratislava.getDate() => 1;\n * newYearInBratislava.getHours() => 0;\n * newYearInBratislava.getMinutes() => 0;\n * newYearInBratislava.getSeconds() => 0;\n * ```\n *\n */\nangular.mock.TzDate = function(offset, timestamp) {\n  var self = new Date(0);\n  if (angular.isString(timestamp)) {\n    var tsStr = timestamp;\n\n    self.origDate = jsonStringToDate(timestamp);\n\n    timestamp = self.origDate.getTime();\n    if (isNaN(timestamp)) {\n      throw {\n        name: \"Illegal Argument\",\n        message: \"Arg '\" + tsStr + \"' passed into TzDate constructor is not a valid date string\"\n      };\n    }\n  } else {\n    self.origDate = new Date(timestamp);\n  }\n\n  var localOffset = new Date(timestamp).getTimezoneOffset();\n  self.offsetDiff = localOffset * 60 * 1000 - offset * 1000 * 60 * 60;\n  self.date = new Date(timestamp + self.offsetDiff);\n\n  self.getTime = function() {\n    return self.date.getTime() - self.offsetDiff;\n  };\n\n  self.toLocaleDateString = function() {\n    return self.date.toLocaleDateString();\n  };\n\n  self.getFullYear = function() {\n    return self.date.getFullYear();\n  };\n\n  self.getMonth = function() {\n    return self.date.getMonth();\n  };\n\n  self.getDate = function() {\n    return self.date.getDate();\n  };\n\n  self.getHours = function() {\n    return self.date.getHours();\n  };\n\n  self.getMinutes = function() {\n    return self.date.getMinutes();\n  };\n\n  self.getSeconds = function() {\n    return self.date.getSeconds();\n  };\n\n  self.getMilliseconds = function() {\n    return self.date.getMilliseconds();\n  };\n\n  self.getTimezoneOffset = function() {\n    return offset * 60;\n  };\n\n  self.getUTCFullYear = function() {\n    return self.origDate.getUTCFullYear();\n  };\n\n  self.getUTCMonth = function() {\n    return self.origDate.getUTCMonth();\n  };\n\n  self.getUTCDate = function() {\n    return self.origDate.getUTCDate();\n  };\n\n  self.getUTCHours = function() {\n    return self.origDate.getUTCHours();\n  };\n\n  self.getUTCMinutes = function() {\n    return self.origDate.getUTCMinutes();\n  };\n\n  self.getUTCSeconds = function() {\n    return self.origDate.getUTCSeconds();\n  };\n\n  self.getUTCMilliseconds = function() {\n    return self.origDate.getUTCMilliseconds();\n  };\n\n  self.getDay = function() {\n    return self.date.getDay();\n  };\n\n  // provide this method only on browsers that already have it\n  if (self.toISOString) {\n    self.toISOString = function() {\n      return padNumber(self.origDate.getUTCFullYear(), 4) + '-' +\n            padNumber(self.origDate.getUTCMonth() + 1, 2) + '-' +\n            padNumber(self.origDate.getUTCDate(), 2) + 'T' +\n            padNumber(self.origDate.getUTCHours(), 2) + ':' +\n            padNumber(self.origDate.getUTCMinutes(), 2) + ':' +\n            padNumber(self.origDate.getUTCSeconds(), 2) + '.' +\n            padNumber(self.origDate.getUTCMilliseconds(), 3) + 'Z';\n    };\n  }\n\n  //hide all methods not implemented in this mock that the Date prototype exposes\n  var unimplementedMethods = ['getUTCDay',\n      'getYear', 'setDate', 'setFullYear', 'setHours', 'setMilliseconds',\n      'setMinutes', 'setMonth', 'setSeconds', 'setTime', 'setUTCDate', 'setUTCFullYear',\n      'setUTCHours', 'setUTCMilliseconds', 'setUTCMinutes', 'setUTCMonth', 'setUTCSeconds',\n      'setYear', 'toDateString', 'toGMTString', 'toJSON', 'toLocaleFormat', 'toLocaleString',\n      'toLocaleTimeString', 'toSource', 'toString', 'toTimeString', 'toUTCString', 'valueOf'];\n\n  angular.forEach(unimplementedMethods, function(methodName) {\n    self[methodName] = function() {\n      throw new Error(\"Method '\" + methodName + \"' is not implemented in the TzDate mock\");\n    };\n  });\n\n  return self;\n};\n\n//make \"tzDateInstance instanceof Date\" return true\nangular.mock.TzDate.prototype = Date.prototype;\n/* jshint +W101 */\n\nangular.mock.animate = angular.module('ngAnimateMock', ['ng'])\n\n  .config(['$provide', function($provide) {\n\n    $provide.factory('$$forceReflow', function() {\n      function reflowFn() {\n        reflowFn.totalReflows++;\n      }\n      reflowFn.totalReflows = 0;\n      return reflowFn;\n    });\n\n    $provide.factory('$$animateAsyncRun', function() {\n      var queue = [];\n      var queueFn = function() {\n        return function(fn) {\n          queue.push(fn);\n        };\n      };\n      queueFn.flush = function() {\n        if (queue.length === 0) return false;\n\n        for (var i = 0; i < queue.length; i++) {\n          queue[i]();\n        }\n        queue = [];\n\n        return true;\n      };\n      return queueFn;\n    });\n\n    $provide.decorator('$animate', ['$delegate', '$timeout', '$browser', '$$rAF',\n                                    '$$forceReflow', '$$animateAsyncRun', '$rootScope',\n                            function($delegate,   $timeout,   $browser,   $$rAF,\n                                     $$forceReflow,   $$animateAsyncRun,  $rootScope) {\n      var animate = {\n        queue: [],\n        cancel: $delegate.cancel,\n        on: $delegate.on,\n        off: $delegate.off,\n        pin: $delegate.pin,\n        get reflows() {\n          return $$forceReflow.totalReflows;\n        },\n        enabled: $delegate.enabled,\n        flush: function() {\n          $rootScope.$digest();\n\n          var doNextRun, somethingFlushed = false;\n          do {\n            doNextRun = false;\n\n            if ($$rAF.queue.length) {\n              $$rAF.flush();\n              doNextRun = somethingFlushed = true;\n            }\n\n            if ($$animateAsyncRun.flush()) {\n              doNextRun = somethingFlushed = true;\n            }\n          } while (doNextRun);\n\n          if (!somethingFlushed) {\n            throw new Error('No pending animations ready to be closed or flushed');\n          }\n\n          $rootScope.$digest();\n        }\n      };\n\n      angular.forEach(\n        ['animate','enter','leave','move','addClass','removeClass','setClass'], function(method) {\n        animate[method] = function() {\n          animate.queue.push({\n            event: method,\n            element: arguments[0],\n            options: arguments[arguments.length - 1],\n            args: arguments\n          });\n          return $delegate[method].apply($delegate, arguments);\n        };\n      });\n\n      return animate;\n    }]);\n\n  }]);\n\n\n/**\n * @ngdoc function\n * @name angular.mock.dump\n * @description\n *\n * *NOTE*: this is not an injectable instance, just a globally available function.\n *\n * Method for serializing common angular objects (scope, elements, etc..) into strings, useful for\n * debugging.\n *\n * This method is also available on window, where it can be used to display objects on debug\n * console.\n *\n * @param {*} object - any object to turn into string.\n * @return {string} a serialized string of the argument\n */\nangular.mock.dump = function(object) {\n  return serialize(object);\n\n  function serialize(object) {\n    var out;\n\n    if (angular.isElement(object)) {\n      object = angular.element(object);\n      out = angular.element('<div></div>');\n      angular.forEach(object, function(element) {\n        out.append(angular.element(element).clone());\n      });\n      out = out.html();\n    } else if (angular.isArray(object)) {\n      out = [];\n      angular.forEach(object, function(o) {\n        out.push(serialize(o));\n      });\n      out = '[ ' + out.join(', ') + ' ]';\n    } else if (angular.isObject(object)) {\n      if (angular.isFunction(object.$eval) && angular.isFunction(object.$apply)) {\n        out = serializeScope(object);\n      } else if (object instanceof Error) {\n        out = object.stack || ('' + object.name + ': ' + object.message);\n      } else {\n        // TODO(i): this prevents methods being logged,\n        // we should have a better way to serialize objects\n        out = angular.toJson(object, true);\n      }\n    } else {\n      out = String(object);\n    }\n\n    return out;\n  }\n\n  function serializeScope(scope, offset) {\n    offset = offset ||  '  ';\n    var log = [offset + 'Scope(' + scope.$id + '): {'];\n    for (var key in scope) {\n      if (Object.prototype.hasOwnProperty.call(scope, key) && !key.match(/^(\\$|this)/)) {\n        log.push('  ' + key + ': ' + angular.toJson(scope[key]));\n      }\n    }\n    var child = scope.$$childHead;\n    while (child) {\n      log.push(serializeScope(child, offset + '  '));\n      child = child.$$nextSibling;\n    }\n    log.push('}');\n    return log.join('\\n' + offset);\n  }\n};\n\n/**\n * @ngdoc service\n * @name $httpBackend\n * @description\n * Fake HTTP backend implementation suitable for unit testing applications that use the\n * {@link ng.$http $http service}.\n *\n * *Note*: For fake HTTP backend implementation suitable for end-to-end testing or backend-less\n * development please see {@link ngMockE2E.$httpBackend e2e $httpBackend mock}.\n *\n * During unit testing, we want our unit tests to run quickly and have no external dependencies so\n * we don’t want to send [XHR](https://developer.mozilla.org/en/xmlhttprequest) or\n * [JSONP](http://en.wikipedia.org/wiki/JSONP) requests to a real server. All we really need is\n * to verify whether a certain request has been sent or not, or alternatively just let the\n * application make requests, respond with pre-trained responses and assert that the end result is\n * what we expect it to be.\n *\n * This mock implementation can be used to respond with static or dynamic responses via the\n * `expect` and `when` apis and their shortcuts (`expectGET`, `whenPOST`, etc).\n *\n * When an Angular application needs some data from a server, it calls the $http service, which\n * sends the request to a real server using $httpBackend service. With dependency injection, it is\n * easy to inject $httpBackend mock (which has the same API as $httpBackend) and use it to verify\n * the requests and respond with some testing data without sending a request to a real server.\n *\n * There are two ways to specify what test data should be returned as http responses by the mock\n * backend when the code under test makes http requests:\n *\n * - `$httpBackend.expect` - specifies a request expectation\n * - `$httpBackend.when` - specifies a backend definition\n *\n *\n * # Request Expectations vs Backend Definitions\n *\n * Request expectations provide a way to make assertions about requests made by the application and\n * to define responses for those requests. The test will fail if the expected requests are not made\n * or they are made in the wrong order.\n *\n * Backend definitions allow you to define a fake backend for your application which doesn't assert\n * if a particular request was made or not, it just returns a trained response if a request is made.\n * The test will pass whether or not the request gets made during testing.\n *\n *\n * <table class=\"table\">\n *   <tr><th width=\"220px\"></th><th>Request expectations</th><th>Backend definitions</th></tr>\n *   <tr>\n *     <th>Syntax</th>\n *     <td>.expect(...).respond(...)</td>\n *     <td>.when(...).respond(...)</td>\n *   </tr>\n *   <tr>\n *     <th>Typical usage</th>\n *     <td>strict unit tests</td>\n *     <td>loose (black-box) unit testing</td>\n *   </tr>\n *   <tr>\n *     <th>Fulfills multiple requests</th>\n *     <td>NO</td>\n *     <td>YES</td>\n *   </tr>\n *   <tr>\n *     <th>Order of requests matters</th>\n *     <td>YES</td>\n *     <td>NO</td>\n *   </tr>\n *   <tr>\n *     <th>Request required</th>\n *     <td>YES</td>\n *     <td>NO</td>\n *   </tr>\n *   <tr>\n *     <th>Response required</th>\n *     <td>optional (see below)</td>\n *     <td>YES</td>\n *   </tr>\n * </table>\n *\n * In cases where both backend definitions and request expectations are specified during unit\n * testing, the request expectations are evaluated first.\n *\n * If a request expectation has no response specified, the algorithm will search your backend\n * definitions for an appropriate response.\n *\n * If a request didn't match any expectation or if the expectation doesn't have the response\n * defined, the backend definitions are evaluated in sequential order to see if any of them match\n * the request. The response from the first matched definition is returned.\n *\n *\n * # Flushing HTTP requests\n *\n * The $httpBackend used in production always responds to requests asynchronously. If we preserved\n * this behavior in unit testing, we'd have to create async unit tests, which are hard to write,\n * to follow and to maintain. But neither can the testing mock respond synchronously; that would\n * change the execution of the code under test. For this reason, the mock $httpBackend has a\n * `flush()` method, which allows the test to explicitly flush pending requests. This preserves\n * the async api of the backend, while allowing the test to execute synchronously.\n *\n *\n * # Unit testing with mock $httpBackend\n * The following code shows how to setup and use the mock backend when unit testing a controller.\n * First we create the controller under test:\n *\n  ```js\n  // The module code\n  angular\n    .module('MyApp', [])\n    .controller('MyController', MyController);\n\n  // The controller code\n  function MyController($scope, $http) {\n    var authToken;\n\n    $http.get('/auth.py').success(function(data, status, headers) {\n      authToken = headers('A-Token');\n      $scope.user = data;\n    });\n\n    $scope.saveMessage = function(message) {\n      var headers = { 'Authorization': authToken };\n      $scope.status = 'Saving...';\n\n      $http.post('/add-msg.py', message, { headers: headers } ).success(function(response) {\n        $scope.status = '';\n      }).error(function() {\n        $scope.status = 'Failed...';\n      });\n    };\n  }\n  ```\n *\n * Now we setup the mock backend and create the test specs:\n *\n  ```js\n    // testing controller\n    describe('MyController', function() {\n       var $httpBackend, $rootScope, createController, authRequestHandler;\n\n       // Set up the module\n       beforeEach(module('MyApp'));\n\n       beforeEach(inject(function($injector) {\n         // Set up the mock http service responses\n         $httpBackend = $injector.get('$httpBackend');\n         // backend definition common for all tests\n         authRequestHandler = $httpBackend.when('GET', '/auth.py')\n                                .respond({userId: 'userX'}, {'A-Token': 'xxx'});\n\n         // Get hold of a scope (i.e. the root scope)\n         $rootScope = $injector.get('$rootScope');\n         // The $controller service is used to create instances of controllers\n         var $controller = $injector.get('$controller');\n\n         createController = function() {\n           return $controller('MyController', {'$scope' : $rootScope });\n         };\n       }));\n\n\n       afterEach(function() {\n         $httpBackend.verifyNoOutstandingExpectation();\n         $httpBackend.verifyNoOutstandingRequest();\n       });\n\n\n       it('should fetch authentication token', function() {\n         $httpBackend.expectGET('/auth.py');\n         var controller = createController();\n         $httpBackend.flush();\n       });\n\n\n       it('should fail authentication', function() {\n\n         // Notice how you can change the response even after it was set\n         authRequestHandler.respond(401, '');\n\n         $httpBackend.expectGET('/auth.py');\n         var controller = createController();\n         $httpBackend.flush();\n         expect($rootScope.status).toBe('Failed...');\n       });\n\n\n       it('should send msg to server', function() {\n         var controller = createController();\n         $httpBackend.flush();\n\n         // now you don’t care about the authentication, but\n         // the controller will still send the request and\n         // $httpBackend will respond without you having to\n         // specify the expectation and response for this request\n\n         $httpBackend.expectPOST('/add-msg.py', 'message content').respond(201, '');\n         $rootScope.saveMessage('message content');\n         expect($rootScope.status).toBe('Saving...');\n         $httpBackend.flush();\n         expect($rootScope.status).toBe('');\n       });\n\n\n       it('should send auth header', function() {\n         var controller = createController();\n         $httpBackend.flush();\n\n         $httpBackend.expectPOST('/add-msg.py', undefined, function(headers) {\n           // check if the header was sent, if it wasn't the expectation won't\n           // match the request and the test will fail\n           return headers['Authorization'] == 'xxx';\n         }).respond(201, '');\n\n         $rootScope.saveMessage('whatever');\n         $httpBackend.flush();\n       });\n    });\n   ```\n */\nangular.mock.$HttpBackendProvider = function() {\n  this.$get = ['$rootScope', '$timeout', createHttpBackendMock];\n};\n\n/**\n * General factory function for $httpBackend mock.\n * Returns instance for unit testing (when no arguments specified):\n *   - passing through is disabled\n *   - auto flushing is disabled\n *\n * Returns instance for e2e testing (when `$delegate` and `$browser` specified):\n *   - passing through (delegating request to real backend) is enabled\n *   - auto flushing is enabled\n *\n * @param {Object=} $delegate Real $httpBackend instance (allow passing through if specified)\n * @param {Object=} $browser Auto-flushing enabled if specified\n * @return {Object} Instance of $httpBackend mock\n */\nfunction createHttpBackendMock($rootScope, $timeout, $delegate, $browser) {\n  var definitions = [],\n      expectations = [],\n      responses = [],\n      responsesPush = angular.bind(responses, responses.push),\n      copy = angular.copy;\n\n  function createResponse(status, data, headers, statusText) {\n    if (angular.isFunction(status)) return status;\n\n    return function() {\n      return angular.isNumber(status)\n          ? [status, data, headers, statusText]\n          : [200, status, data, headers];\n    };\n  }\n\n  // TODO(vojta): change params to: method, url, data, headers, callback\n  function $httpBackend(method, url, data, callback, headers, timeout, withCredentials) {\n    var xhr = new MockXhr(),\n        expectation = expectations[0],\n        wasExpected = false;\n\n    function prettyPrint(data) {\n      return (angular.isString(data) || angular.isFunction(data) || data instanceof RegExp)\n          ? data\n          : angular.toJson(data);\n    }\n\n    function wrapResponse(wrapped) {\n      if (!$browser && timeout) {\n        timeout.then ? timeout.then(handleTimeout) : $timeout(handleTimeout, timeout);\n      }\n\n      return handleResponse;\n\n      function handleResponse() {\n        var response = wrapped.response(method, url, data, headers);\n        xhr.$$respHeaders = response[2];\n        callback(copy(response[0]), copy(response[1]), xhr.getAllResponseHeaders(),\n                 copy(response[3] || ''));\n      }\n\n      function handleTimeout() {\n        for (var i = 0, ii = responses.length; i < ii; i++) {\n          if (responses[i] === handleResponse) {\n            responses.splice(i, 1);\n            callback(-1, undefined, '');\n            break;\n          }\n        }\n      }\n    }\n\n    if (expectation && expectation.match(method, url)) {\n      if (!expectation.matchData(data)) {\n        throw new Error('Expected ' + expectation + ' with different data\\n' +\n            'EXPECTED: ' + prettyPrint(expectation.data) + '\\nGOT:      ' + data);\n      }\n\n      if (!expectation.matchHeaders(headers)) {\n        throw new Error('Expected ' + expectation + ' with different headers\\n' +\n                        'EXPECTED: ' + prettyPrint(expectation.headers) + '\\nGOT:      ' +\n                        prettyPrint(headers));\n      }\n\n      expectations.shift();\n\n      if (expectation.response) {\n        responses.push(wrapResponse(expectation));\n        return;\n      }\n      wasExpected = true;\n    }\n\n    var i = -1, definition;\n    while ((definition = definitions[++i])) {\n      if (definition.match(method, url, data, headers || {})) {\n        if (definition.response) {\n          // if $browser specified, we do auto flush all requests\n          ($browser ? $browser.defer : responsesPush)(wrapResponse(definition));\n        } else if (definition.passThrough) {\n          $delegate(method, url, data, callback, headers, timeout, withCredentials);\n        } else throw new Error('No response defined !');\n        return;\n      }\n    }\n    throw wasExpected ?\n        new Error('No response defined !') :\n        new Error('Unexpected request: ' + method + ' ' + url + '\\n' +\n                  (expectation ? 'Expected ' + expectation : 'No more request expected'));\n  }\n\n  /**\n   * @ngdoc method\n   * @name $httpBackend#when\n   * @description\n   * Creates a new backend definition.\n   *\n   * @param {string} method HTTP method.\n   * @param {string|RegExp|function(string)} url HTTP url or function that receives a url\n   *   and returns true if the url matches the current definition.\n   * @param {(string|RegExp|function(string))=} data HTTP request body or function that receives\n   *   data string and returns true if the data is as expected.\n   * @param {(Object|function(Object))=} headers HTTP headers or function that receives http header\n   *   object and returns true if the headers match the current definition.\n   * @returns {requestHandler} Returns an object with `respond` method that controls how a matched\n   *   request is handled. You can save this object for later use and invoke `respond` again in\n   *   order to change how a matched request is handled.\n   *\n   *  - respond –\n   *      `{function([status,] data[, headers, statusText])\n   *      | function(function(method, url, data, headers)}`\n   *    – The respond method takes a set of static data to be returned or a function that can\n   *    return an array containing response status (number), response data (string), response\n   *    headers (Object), and the text for the status (string). The respond method returns the\n   *    `requestHandler` object for possible overrides.\n   */\n  $httpBackend.when = function(method, url, data, headers) {\n    var definition = new MockHttpExpectation(method, url, data, headers),\n        chain = {\n          respond: function(status, data, headers, statusText) {\n            definition.passThrough = undefined;\n            definition.response = createResponse(status, data, headers, statusText);\n            return chain;\n          }\n        };\n\n    if ($browser) {\n      chain.passThrough = function() {\n        definition.response = undefined;\n        definition.passThrough = true;\n        return chain;\n      };\n    }\n\n    definitions.push(definition);\n    return chain;\n  };\n\n  /**\n   * @ngdoc method\n   * @name $httpBackend#whenGET\n   * @description\n   * Creates a new backend definition for GET requests. For more info see `when()`.\n   *\n   * @param {string|RegExp|function(string)} url HTTP url or function that receives a url\n   *   and returns true if the url matches the current definition.\n   * @param {(Object|function(Object))=} headers HTTP headers.\n   * @returns {requestHandler} Returns an object with `respond` method that controls how a matched\n   * request is handled. You can save this object for later use and invoke `respond` again in\n   * order to change how a matched request is handled.\n   */\n\n  /**\n   * @ngdoc method\n   * @name $httpBackend#whenHEAD\n   * @description\n   * Creates a new backend definition for HEAD requests. For more info see `when()`.\n   *\n   * @param {string|RegExp|function(string)} url HTTP url or function that receives a url\n   *   and returns true if the url matches the current definition.\n   * @param {(Object|function(Object))=} headers HTTP headers.\n   * @returns {requestHandler} Returns an object with `respond` method that controls how a matched\n   * request is handled. You can save this object for later use and invoke `respond` again in\n   * order to change how a matched request is handled.\n   */\n\n  /**\n   * @ngdoc method\n   * @name $httpBackend#whenDELETE\n   * @description\n   * Creates a new backend definition for DELETE requests. For more info see `when()`.\n   *\n   * @param {string|RegExp|function(string)} url HTTP url or function that receives a url\n   *   and returns true if the url matches the current definition.\n   * @param {(Object|function(Object))=} headers HTTP headers.\n   * @returns {requestHandler} Returns an object with `respond` method that controls how a matched\n   * request is handled. You can save this object for later use and invoke `respond` again in\n   * order to change how a matched request is handled.\n   */\n\n  /**\n   * @ngdoc method\n   * @name $httpBackend#whenPOST\n   * @description\n   * Creates a new backend definition for POST requests. For more info see `when()`.\n   *\n   * @param {string|RegExp|function(string)} url HTTP url or function that receives a url\n   *   and returns true if the url matches the current definition.\n   * @param {(string|RegExp|function(string))=} data HTTP request body or function that receives\n   *   data string and returns true if the data is as expected.\n   * @param {(Object|function(Object))=} headers HTTP headers.\n   * @returns {requestHandler} Returns an object with `respond` method that controls how a matched\n   * request is handled. You can save this object for later use and invoke `respond` again in\n   * order to change how a matched request is handled.\n   */\n\n  /**\n   * @ngdoc method\n   * @name $httpBackend#whenPUT\n   * @description\n   * Creates a new backend definition for PUT requests.  For more info see `when()`.\n   *\n   * @param {string|RegExp|function(string)} url HTTP url or function that receives a url\n   *   and returns true if the url matches the current definition.\n   * @param {(string|RegExp|function(string))=} data HTTP request body or function that receives\n   *   data string and returns true if the data is as expected.\n   * @param {(Object|function(Object))=} headers HTTP headers.\n   * @returns {requestHandler} Returns an object with `respond` method that controls how a matched\n   * request is handled. You can save this object for later use and invoke `respond` again in\n   * order to change how a matched request is handled.\n   */\n\n  /**\n   * @ngdoc method\n   * @name $httpBackend#whenJSONP\n   * @description\n   * Creates a new backend definition for JSONP requests. For more info see `when()`.\n   *\n   * @param {string|RegExp|function(string)} url HTTP url or function that receives a url\n   *   and returns true if the url matches the current definition.\n   * @returns {requestHandler} Returns an object with `respond` method that controls how a matched\n   * request is handled. You can save this object for later use and invoke `respond` again in\n   * order to change how a matched request is handled.\n   */\n  createShortMethods('when');\n\n\n  /**\n   * @ngdoc method\n   * @name $httpBackend#expect\n   * @description\n   * Creates a new request expectation.\n   *\n   * @param {string} method HTTP method.\n   * @param {string|RegExp|function(string)} url HTTP url or function that receives a url\n   *   and returns true if the url matches the current definition.\n   * @param {(string|RegExp|function(string)|Object)=} data HTTP request body or function that\n   *  receives data string and returns true if the data is as expected, or Object if request body\n   *  is in JSON format.\n   * @param {(Object|function(Object))=} headers HTTP headers or function that receives http header\n   *   object and returns true if the headers match the current expectation.\n   * @returns {requestHandler} Returns an object with `respond` method that controls how a matched\n   *  request is handled. You can save this object for later use and invoke `respond` again in\n   *  order to change how a matched request is handled.\n   *\n   *  - respond –\n   *    `{function([status,] data[, headers, statusText])\n   *    | function(function(method, url, data, headers)}`\n   *    – The respond method takes a set of static data to be returned or a function that can\n   *    return an array containing response status (number), response data (string), response\n   *    headers (Object), and the text for the status (string). The respond method returns the\n   *    `requestHandler` object for possible overrides.\n   */\n  $httpBackend.expect = function(method, url, data, headers) {\n    var expectation = new MockHttpExpectation(method, url, data, headers),\n        chain = {\n          respond: function(status, data, headers, statusText) {\n            expectation.response = createResponse(status, data, headers, statusText);\n            return chain;\n          }\n        };\n\n    expectations.push(expectation);\n    return chain;\n  };\n\n\n  /**\n   * @ngdoc method\n   * @name $httpBackend#expectGET\n   * @description\n   * Creates a new request expectation for GET requests. For more info see `expect()`.\n   *\n   * @param {string|RegExp|function(string)} url HTTP url or function that receives a url\n   *   and returns true if the url matches the current definition.\n   * @param {Object=} headers HTTP headers.\n   * @returns {requestHandler} Returns an object with `respond` method that controls how a matched\n   * request is handled. You can save this object for later use and invoke `respond` again in\n   * order to change how a matched request is handled. See #expect for more info.\n   */\n\n  /**\n   * @ngdoc method\n   * @name $httpBackend#expectHEAD\n   * @description\n   * Creates a new request expectation for HEAD requests. For more info see `expect()`.\n   *\n   * @param {string|RegExp|function(string)} url HTTP url or function that receives a url\n   *   and returns true if the url matches the current definition.\n   * @param {Object=} headers HTTP headers.\n   * @returns {requestHandler} Returns an object with `respond` method that controls how a matched\n   *   request is handled. You can save this object for later use and invoke `respond` again in\n   *   order to change how a matched request is handled.\n   */\n\n  /**\n   * @ngdoc method\n   * @name $httpBackend#expectDELETE\n   * @description\n   * Creates a new request expectation for DELETE requests. For more info see `expect()`.\n   *\n   * @param {string|RegExp|function(string)} url HTTP url or function that receives a url\n   *   and returns true if the url matches the current definition.\n   * @param {Object=} headers HTTP headers.\n   * @returns {requestHandler} Returns an object with `respond` method that controls how a matched\n   *   request is handled. You can save this object for later use and invoke `respond` again in\n   *   order to change how a matched request is handled.\n   */\n\n  /**\n   * @ngdoc method\n   * @name $httpBackend#expectPOST\n   * @description\n   * Creates a new request expectation for POST requests. For more info see `expect()`.\n   *\n   * @param {string|RegExp|function(string)} url HTTP url or function that receives a url\n   *   and returns true if the url matches the current definition.\n   * @param {(string|RegExp|function(string)|Object)=} data HTTP request body or function that\n   *  receives data string and returns true if the data is as expected, or Object if request body\n   *  is in JSON format.\n   * @param {Object=} headers HTTP headers.\n   * @returns {requestHandler} Returns an object with `respond` method that controls how a matched\n   *   request is handled. You can save this object for later use and invoke `respond` again in\n   *   order to change how a matched request is handled.\n   */\n\n  /**\n   * @ngdoc method\n   * @name $httpBackend#expectPUT\n   * @description\n   * Creates a new request expectation for PUT requests. For more info see `expect()`.\n   *\n   * @param {string|RegExp|function(string)} url HTTP url or function that receives a url\n   *   and returns true if the url matches the current definition.\n   * @param {(string|RegExp|function(string)|Object)=} data HTTP request body or function that\n   *  receives data string and returns true if the data is as expected, or Object if request body\n   *  is in JSON format.\n   * @param {Object=} headers HTTP headers.\n   * @returns {requestHandler} Returns an object with `respond` method that controls how a matched\n   *   request is handled. You can save this object for later use and invoke `respond` again in\n   *   order to change how a matched request is handled.\n   */\n\n  /**\n   * @ngdoc method\n   * @name $httpBackend#expectPATCH\n   * @description\n   * Creates a new request expectation for PATCH requests. For more info see `expect()`.\n   *\n   * @param {string|RegExp|function(string)} url HTTP url or function that receives a url\n   *   and returns true if the url matches the current definition.\n   * @param {(string|RegExp|function(string)|Object)=} data HTTP request body or function that\n   *  receives data string and returns true if the data is as expected, or Object if request body\n   *  is in JSON format.\n   * @param {Object=} headers HTTP headers.\n   * @returns {requestHandler} Returns an object with `respond` method that controls how a matched\n   *   request is handled. You can save this object for later use and invoke `respond` again in\n   *   order to change how a matched request is handled.\n   */\n\n  /**\n   * @ngdoc method\n   * @name $httpBackend#expectJSONP\n   * @description\n   * Creates a new request expectation for JSONP requests. For more info see `expect()`.\n   *\n   * @param {string|RegExp|function(string)} url HTTP url or function that receives an url\n   *   and returns true if the url matches the current definition.\n   * @returns {requestHandler} Returns an object with `respond` method that controls how a matched\n   *   request is handled. You can save this object for later use and invoke `respond` again in\n   *   order to change how a matched request is handled.\n   */\n  createShortMethods('expect');\n\n\n  /**\n   * @ngdoc method\n   * @name $httpBackend#flush\n   * @description\n   * Flushes all pending requests using the trained responses.\n   *\n   * @param {number=} count Number of responses to flush (in the order they arrived). If undefined,\n   *   all pending requests will be flushed. If there are no pending requests when the flush method\n   *   is called an exception is thrown (as this typically a sign of programming error).\n   */\n  $httpBackend.flush = function(count, digest) {\n    if (digest !== false) $rootScope.$digest();\n    if (!responses.length) throw new Error('No pending request to flush !');\n\n    if (angular.isDefined(count) && count !== null) {\n      while (count--) {\n        if (!responses.length) throw new Error('No more pending request to flush !');\n        responses.shift()();\n      }\n    } else {\n      while (responses.length) {\n        responses.shift()();\n      }\n    }\n    $httpBackend.verifyNoOutstandingExpectation(digest);\n  };\n\n\n  /**\n   * @ngdoc method\n   * @name $httpBackend#verifyNoOutstandingExpectation\n   * @description\n   * Verifies that all of the requests defined via the `expect` api were made. If any of the\n   * requests were not made, verifyNoOutstandingExpectation throws an exception.\n   *\n   * Typically, you would call this method following each test case that asserts requests using an\n   * \"afterEach\" clause.\n   *\n   * ```js\n   *   afterEach($httpBackend.verifyNoOutstandingExpectation);\n   * ```\n   */\n  $httpBackend.verifyNoOutstandingExpectation = function(digest) {\n    if (digest !== false) $rootScope.$digest();\n    if (expectations.length) {\n      throw new Error('Unsatisfied requests: ' + expectations.join(', '));\n    }\n  };\n\n\n  /**\n   * @ngdoc method\n   * @name $httpBackend#verifyNoOutstandingRequest\n   * @description\n   * Verifies that there are no outstanding requests that need to be flushed.\n   *\n   * Typically, you would call this method following each test case that asserts requests using an\n   * \"afterEach\" clause.\n   *\n   * ```js\n   *   afterEach($httpBackend.verifyNoOutstandingRequest);\n   * ```\n   */\n  $httpBackend.verifyNoOutstandingRequest = function() {\n    if (responses.length) {\n      throw new Error('Unflushed requests: ' + responses.length);\n    }\n  };\n\n\n  /**\n   * @ngdoc method\n   * @name $httpBackend#resetExpectations\n   * @description\n   * Resets all request expectations, but preserves all backend definitions. Typically, you would\n   * call resetExpectations during a multiple-phase test when you want to reuse the same instance of\n   * $httpBackend mock.\n   */\n  $httpBackend.resetExpectations = function() {\n    expectations.length = 0;\n    responses.length = 0;\n  };\n\n  return $httpBackend;\n\n\n  function createShortMethods(prefix) {\n    angular.forEach(['GET', 'DELETE', 'JSONP', 'HEAD'], function(method) {\n     $httpBackend[prefix + method] = function(url, headers) {\n       return $httpBackend[prefix](method, url, undefined, headers);\n     };\n    });\n\n    angular.forEach(['PUT', 'POST', 'PATCH'], function(method) {\n      $httpBackend[prefix + method] = function(url, data, headers) {\n        return $httpBackend[prefix](method, url, data, headers);\n      };\n    });\n  }\n}\n\nfunction MockHttpExpectation(method, url, data, headers) {\n\n  this.data = data;\n  this.headers = headers;\n\n  this.match = function(m, u, d, h) {\n    if (method != m) return false;\n    if (!this.matchUrl(u)) return false;\n    if (angular.isDefined(d) && !this.matchData(d)) return false;\n    if (angular.isDefined(h) && !this.matchHeaders(h)) return false;\n    return true;\n  };\n\n  this.matchUrl = function(u) {\n    if (!url) return true;\n    if (angular.isFunction(url.test)) return url.test(u);\n    if (angular.isFunction(url)) return url(u);\n    return url == u;\n  };\n\n  this.matchHeaders = function(h) {\n    if (angular.isUndefined(headers)) return true;\n    if (angular.isFunction(headers)) return headers(h);\n    return angular.equals(headers, h);\n  };\n\n  this.matchData = function(d) {\n    if (angular.isUndefined(data)) return true;\n    if (data && angular.isFunction(data.test)) return data.test(d);\n    if (data && angular.isFunction(data)) return data(d);\n    if (data && !angular.isString(data)) {\n      return angular.equals(angular.fromJson(angular.toJson(data)), angular.fromJson(d));\n    }\n    return data == d;\n  };\n\n  this.toString = function() {\n    return method + ' ' + url;\n  };\n}\n\nfunction createMockXhr() {\n  return new MockXhr();\n}\n\nfunction MockXhr() {\n\n  // hack for testing $http, $httpBackend\n  MockXhr.$$lastInstance = this;\n\n  this.open = function(method, url, async) {\n    this.$$method = method;\n    this.$$url = url;\n    this.$$async = async;\n    this.$$reqHeaders = {};\n    this.$$respHeaders = {};\n  };\n\n  this.send = function(data) {\n    this.$$data = data;\n  };\n\n  this.setRequestHeader = function(key, value) {\n    this.$$reqHeaders[key] = value;\n  };\n\n  this.getResponseHeader = function(name) {\n    // the lookup must be case insensitive,\n    // that's why we try two quick lookups first and full scan last\n    var header = this.$$respHeaders[name];\n    if (header) return header;\n\n    name = angular.lowercase(name);\n    header = this.$$respHeaders[name];\n    if (header) return header;\n\n    header = undefined;\n    angular.forEach(this.$$respHeaders, function(headerVal, headerName) {\n      if (!header && angular.lowercase(headerName) == name) header = headerVal;\n    });\n    return header;\n  };\n\n  this.getAllResponseHeaders = function() {\n    var lines = [];\n\n    angular.forEach(this.$$respHeaders, function(value, key) {\n      lines.push(key + ': ' + value);\n    });\n    return lines.join('\\n');\n  };\n\n  this.abort = angular.noop;\n}\n\n\n/**\n * @ngdoc service\n * @name $timeout\n * @description\n *\n * This service is just a simple decorator for {@link ng.$timeout $timeout} service\n * that adds a \"flush\" and \"verifyNoPendingTasks\" methods.\n */\n\nangular.mock.$TimeoutDecorator = ['$delegate', '$browser', function($delegate, $browser) {\n\n  /**\n   * @ngdoc method\n   * @name $timeout#flush\n   * @description\n   *\n   * Flushes the queue of pending tasks.\n   *\n   * @param {number=} delay maximum timeout amount to flush up until\n   */\n  $delegate.flush = function(delay) {\n    $browser.defer.flush(delay);\n  };\n\n  /**\n   * @ngdoc method\n   * @name $timeout#verifyNoPendingTasks\n   * @description\n   *\n   * Verifies that there are no pending tasks that need to be flushed.\n   */\n  $delegate.verifyNoPendingTasks = function() {\n    if ($browser.deferredFns.length) {\n      throw new Error('Deferred tasks to flush (' + $browser.deferredFns.length + '): ' +\n          formatPendingTasksAsString($browser.deferredFns));\n    }\n  };\n\n  function formatPendingTasksAsString(tasks) {\n    var result = [];\n    angular.forEach(tasks, function(task) {\n      result.push('{id: ' + task.id + ', ' + 'time: ' + task.time + '}');\n    });\n\n    return result.join(', ');\n  }\n\n  return $delegate;\n}];\n\nangular.mock.$RAFDecorator = ['$delegate', function($delegate) {\n  var rafFn = function(fn) {\n    var index = rafFn.queue.length;\n    rafFn.queue.push(fn);\n    return function() {\n      rafFn.queue.splice(index, 1);\n    };\n  };\n\n  rafFn.queue = [];\n  rafFn.supported = $delegate.supported;\n\n  rafFn.flush = function() {\n    if (rafFn.queue.length === 0) {\n      throw new Error('No rAF callbacks present');\n    }\n\n    var length = rafFn.queue.length;\n    for (var i = 0; i < length; i++) {\n      rafFn.queue[i]();\n    }\n\n    rafFn.queue = rafFn.queue.slice(i);\n  };\n\n  return rafFn;\n}];\n\n/**\n *\n */\nangular.mock.$RootElementProvider = function() {\n  this.$get = function() {\n    return angular.element('<div ng-app></div>');\n  };\n};\n\n/**\n * @ngdoc service\n * @name $controller\n * @description\n * A decorator for {@link ng.$controller} with additional `bindings` parameter, useful when testing\n * controllers of directives that use {@link $compile#-bindtocontroller- `bindToController`}.\n *\n *\n * ## Example\n *\n * ```js\n *\n * // Directive definition ...\n *\n * myMod.directive('myDirective', {\n *   controller: 'MyDirectiveController',\n *   bindToController: {\n *     name: '@'\n *   }\n * });\n *\n *\n * // Controller definition ...\n *\n * myMod.controller('MyDirectiveController', ['log', function($log) {\n *   $log.info(this.name);\n * })];\n *\n *\n * // In a test ...\n *\n * describe('myDirectiveController', function() {\n *   it('should write the bound name to the log', inject(function($controller, $log) {\n *     var ctrl = $controller('MyDirectiveController', { /* no locals &#42;/ }, { name: 'Clark Kent' });\n *     expect(ctrl.name).toEqual('Clark Kent');\n *     expect($log.info.logs).toEqual(['Clark Kent']);\n *   });\n * });\n *\n * ```\n *\n * @param {Function|string} constructor If called with a function then it's considered to be the\n *    controller constructor function. Otherwise it's considered to be a string which is used\n *    to retrieve the controller constructor using the following steps:\n *\n *    * check if a controller with given name is registered via `$controllerProvider`\n *    * check if evaluating the string on the current scope returns a constructor\n *    * if $controllerProvider#allowGlobals, check `window[constructor]` on the global\n *      `window` object (not recommended)\n *\n *    The string can use the `controller as property` syntax, where the controller instance is published\n *    as the specified property on the `scope`; the `scope` must be injected into `locals` param for this\n *    to work correctly.\n *\n * @param {Object} locals Injection locals for Controller.\n * @param {Object=} bindings Properties to add to the controller before invoking the constructor. This is used\n *                           to simulate the `bindToController` feature and simplify certain kinds of tests.\n * @return {Object} Instance of given controller.\n */\nangular.mock.$ControllerDecorator = ['$delegate', function($delegate) {\n  return function(expression, locals, later, ident) {\n    if (later && typeof later === 'object') {\n      var create = $delegate(expression, locals, true, ident);\n      angular.extend(create.instance, later);\n      return create();\n    }\n    return $delegate(expression, locals, later, ident);\n  };\n}];\n\n\n/**\n * @ngdoc module\n * @name ngMock\n * @packageName angular-mocks\n * @description\n *\n * # ngMock\n *\n * The `ngMock` module provides support to inject and mock Angular services into unit tests.\n * In addition, ngMock also extends various core ng services such that they can be\n * inspected and controlled in a synchronous manner within test code.\n *\n *\n * <div doc-module-components=\"ngMock\"></div>\n *\n */\nangular.module('ngMock', ['ng']).provider({\n  $browser: angular.mock.$BrowserProvider,\n  $exceptionHandler: angular.mock.$ExceptionHandlerProvider,\n  $log: angular.mock.$LogProvider,\n  $interval: angular.mock.$IntervalProvider,\n  $httpBackend: angular.mock.$HttpBackendProvider,\n  $rootElement: angular.mock.$RootElementProvider\n}).config(['$provide', function($provide) {\n  $provide.decorator('$timeout', angular.mock.$TimeoutDecorator);\n  $provide.decorator('$$rAF', angular.mock.$RAFDecorator);\n  $provide.decorator('$rootScope', angular.mock.$RootScopeDecorator);\n  $provide.decorator('$controller', angular.mock.$ControllerDecorator);\n}]);\n\n/**\n * @ngdoc module\n * @name ngMockE2E\n * @module ngMockE2E\n * @packageName angular-mocks\n * @description\n *\n * The `ngMockE2E` is an angular module which contains mocks suitable for end-to-end testing.\n * Currently there is only one mock present in this module -\n * the {@link ngMockE2E.$httpBackend e2e $httpBackend} mock.\n */\nangular.module('ngMockE2E', ['ng']).config(['$provide', function($provide) {\n  $provide.decorator('$httpBackend', angular.mock.e2e.$httpBackendDecorator);\n}]);\n\n/**\n * @ngdoc service\n * @name $httpBackend\n * @module ngMockE2E\n * @description\n * Fake HTTP backend implementation suitable for end-to-end testing or backend-less development of\n * applications that use the {@link ng.$http $http service}.\n *\n * *Note*: For fake http backend implementation suitable for unit testing please see\n * {@link ngMock.$httpBackend unit-testing $httpBackend mock}.\n *\n * This implementation can be used to respond with static or dynamic responses via the `when` api\n * and its shortcuts (`whenGET`, `whenPOST`, etc) and optionally pass through requests to the\n * real $httpBackend for specific requests (e.g. to interact with certain remote apis or to fetch\n * templates from a webserver).\n *\n * As opposed to unit-testing, in an end-to-end testing scenario or in scenario when an application\n * is being developed with the real backend api replaced with a mock, it is often desirable for\n * certain category of requests to bypass the mock and issue a real http request (e.g. to fetch\n * templates or static files from the webserver). To configure the backend with this behavior\n * use the `passThrough` request handler of `when` instead of `respond`.\n *\n * Additionally, we don't want to manually have to flush mocked out requests like we do during unit\n * testing. For this reason the e2e $httpBackend flushes mocked out requests\n * automatically, closely simulating the behavior of the XMLHttpRequest object.\n *\n * To setup the application to run with this http backend, you have to create a module that depends\n * on the `ngMockE2E` and your application modules and defines the fake backend:\n *\n * ```js\n *   myAppDev = angular.module('myAppDev', ['myApp', 'ngMockE2E']);\n *   myAppDev.run(function($httpBackend) {\n *     phones = [{name: 'phone1'}, {name: 'phone2'}];\n *\n *     // returns the current list of phones\n *     $httpBackend.whenGET('/phones').respond(phones);\n *\n *     // adds a new phone to the phones array\n *     $httpBackend.whenPOST('/phones').respond(function(method, url, data) {\n *       var phone = angular.fromJson(data);\n *       phones.push(phone);\n *       return [200, phone, {}];\n *     });\n *     $httpBackend.whenGET(/^\\/templates\\//).passThrough();\n *     //...\n *   });\n * ```\n *\n * Afterwards, bootstrap your app with this new module.\n */\n\n/**\n * @ngdoc method\n * @name $httpBackend#when\n * @module ngMockE2E\n * @description\n * Creates a new backend definition.\n *\n * @param {string} method HTTP method.\n * @param {string|RegExp|function(string)} url HTTP url or function that receives a url\n *   and returns true if the url matches the current definition.\n * @param {(string|RegExp)=} data HTTP request body.\n * @param {(Object|function(Object))=} headers HTTP headers or function that receives http header\n *   object and returns true if the headers match the current definition.\n * @returns {requestHandler} Returns an object with `respond` and `passThrough` methods that\n *   control how a matched request is handled. You can save this object for later use and invoke\n *   `respond` or `passThrough` again in order to change how a matched request is handled.\n *\n *  - respond –\n *    `{function([status,] data[, headers, statusText])\n *    | function(function(method, url, data, headers)}`\n *    – The respond method takes a set of static data to be returned or a function that can return\n *    an array containing response status (number), response data (string), response headers\n *    (Object), and the text for the status (string).\n *  - passThrough – `{function()}` – Any request matching a backend definition with\n *    `passThrough` handler will be passed through to the real backend (an XHR request will be made\n *    to the server.)\n *  - Both methods return the `requestHandler` object for possible overrides.\n */\n\n/**\n * @ngdoc method\n * @name $httpBackend#whenGET\n * @module ngMockE2E\n * @description\n * Creates a new backend definition for GET requests. For more info see `when()`.\n *\n * @param {string|RegExp|function(string)} url HTTP url or function that receives a url\n *   and returns true if the url matches the current definition.\n * @param {(Object|function(Object))=} headers HTTP headers.\n * @returns {requestHandler} Returns an object with `respond` and `passThrough` methods that\n *   control how a matched request is handled. You can save this object for later use and invoke\n *   `respond` or `passThrough` again in order to change how a matched request is handled.\n */\n\n/**\n * @ngdoc method\n * @name $httpBackend#whenHEAD\n * @module ngMockE2E\n * @description\n * Creates a new backend definition for HEAD requests. For more info see `when()`.\n *\n * @param {string|RegExp|function(string)} url HTTP url or function that receives a url\n *   and returns true if the url matches the current definition.\n * @param {(Object|function(Object))=} headers HTTP headers.\n * @returns {requestHandler} Returns an object with `respond` and `passThrough` methods that\n *   control how a matched request is handled. You can save this object for later use and invoke\n *   `respond` or `passThrough` again in order to change how a matched request is handled.\n */\n\n/**\n * @ngdoc method\n * @name $httpBackend#whenDELETE\n * @module ngMockE2E\n * @description\n * Creates a new backend definition for DELETE requests. For more info see `when()`.\n *\n * @param {string|RegExp|function(string)} url HTTP url or function that receives a url\n *   and returns true if the url matches the current definition.\n * @param {(Object|function(Object))=} headers HTTP headers.\n * @returns {requestHandler} Returns an object with `respond` and `passThrough` methods that\n *   control how a matched request is handled. You can save this object for later use and invoke\n *   `respond` or `passThrough` again in order to change how a matched request is handled.\n */\n\n/**\n * @ngdoc method\n * @name $httpBackend#whenPOST\n * @module ngMockE2E\n * @description\n * Creates a new backend definition for POST requests. For more info see `when()`.\n *\n * @param {string|RegExp|function(string)} url HTTP url or function that receives a url\n *   and returns true if the url matches the current definition.\n * @param {(string|RegExp)=} data HTTP request body.\n * @param {(Object|function(Object))=} headers HTTP headers.\n * @returns {requestHandler} Returns an object with `respond` and `passThrough` methods that\n *   control how a matched request is handled. You can save this object for later use and invoke\n *   `respond` or `passThrough` again in order to change how a matched request is handled.\n */\n\n/**\n * @ngdoc method\n * @name $httpBackend#whenPUT\n * @module ngMockE2E\n * @description\n * Creates a new backend definition for PUT requests.  For more info see `when()`.\n *\n * @param {string|RegExp|function(string)} url HTTP url or function that receives a url\n *   and returns true if the url matches the current definition.\n * @param {(string|RegExp)=} data HTTP request body.\n * @param {(Object|function(Object))=} headers HTTP headers.\n * @returns {requestHandler} Returns an object with `respond` and `passThrough` methods that\n *   control how a matched request is handled. You can save this object for later use and invoke\n *   `respond` or `passThrough` again in order to change how a matched request is handled.\n */\n\n/**\n * @ngdoc method\n * @name $httpBackend#whenPATCH\n * @module ngMockE2E\n * @description\n * Creates a new backend definition for PATCH requests.  For more info see `when()`.\n *\n * @param {string|RegExp|function(string)} url HTTP url or function that receives a url\n *   and returns true if the url matches the current definition.\n * @param {(string|RegExp)=} data HTTP request body.\n * @param {(Object|function(Object))=} headers HTTP headers.\n * @returns {requestHandler} Returns an object with `respond` and `passThrough` methods that\n *   control how a matched request is handled. You can save this object for later use and invoke\n *   `respond` or `passThrough` again in order to change how a matched request is handled.\n */\n\n/**\n * @ngdoc method\n * @name $httpBackend#whenJSONP\n * @module ngMockE2E\n * @description\n * Creates a new backend definition for JSONP requests. For more info see `when()`.\n *\n * @param {string|RegExp|function(string)} url HTTP url or function that receives a url\n *   and returns true if the url matches the current definition.\n * @returns {requestHandler} Returns an object with `respond` and `passThrough` methods that\n *   control how a matched request is handled. You can save this object for later use and invoke\n *   `respond` or `passThrough` again in order to change how a matched request is handled.\n */\nangular.mock.e2e = {};\nangular.mock.e2e.$httpBackendDecorator =\n  ['$rootScope', '$timeout', '$delegate', '$browser', createHttpBackendMock];\n\n\n/**\n * @ngdoc type\n * @name $rootScope.Scope\n * @module ngMock\n * @description\n * {@link ng.$rootScope.Scope Scope} type decorated with helper methods useful for testing. These\n * methods are automatically available on any {@link ng.$rootScope.Scope Scope} instance when\n * `ngMock` module is loaded.\n *\n * In addition to all the regular `Scope` methods, the following helper methods are available:\n */\nangular.mock.$RootScopeDecorator = ['$delegate', function($delegate) {\n\n  var $rootScopePrototype = Object.getPrototypeOf($delegate);\n\n  $rootScopePrototype.$countChildScopes = countChildScopes;\n  $rootScopePrototype.$countWatchers = countWatchers;\n\n  return $delegate;\n\n  // ------------------------------------------------------------------------------------------ //\n\n  /**\n   * @ngdoc method\n   * @name $rootScope.Scope#$countChildScopes\n   * @module ngMock\n   * @description\n   * Counts all the direct and indirect child scopes of the current scope.\n   *\n   * The current scope is excluded from the count. The count includes all isolate child scopes.\n   *\n   * @returns {number} Total number of child scopes.\n   */\n  function countChildScopes() {\n    // jshint validthis: true\n    var count = 0; // exclude the current scope\n    var pendingChildHeads = [this.$$childHead];\n    var currentScope;\n\n    while (pendingChildHeads.length) {\n      currentScope = pendingChildHeads.shift();\n\n      while (currentScope) {\n        count += 1;\n        pendingChildHeads.push(currentScope.$$childHead);\n        currentScope = currentScope.$$nextSibling;\n      }\n    }\n\n    return count;\n  }\n\n\n  /**\n   * @ngdoc method\n   * @name $rootScope.Scope#$countWatchers\n   * @module ngMock\n   * @description\n   * Counts all the watchers of direct and indirect child scopes of the current scope.\n   *\n   * The watchers of the current scope are included in the count and so are all the watchers of\n   * isolate child scopes.\n   *\n   * @returns {number} Total number of watchers.\n   */\n  function countWatchers() {\n    // jshint validthis: true\n    var count = this.$$watchers ? this.$$watchers.length : 0; // include the current scope\n    var pendingChildHeads = [this.$$childHead];\n    var currentScope;\n\n    while (pendingChildHeads.length) {\n      currentScope = pendingChildHeads.shift();\n\n      while (currentScope) {\n        count += currentScope.$$watchers ? currentScope.$$watchers.length : 0;\n        pendingChildHeads.push(currentScope.$$childHead);\n        currentScope = currentScope.$$nextSibling;\n      }\n    }\n\n    return count;\n  }\n}];\n\n\nif (window.jasmine || window.mocha) {\n\n  var currentSpec = null,\n      annotatedFunctions = [],\n      isSpecRunning = function() {\n        return !!currentSpec;\n      };\n\n  angular.mock.$$annotate = angular.injector.$$annotate;\n  angular.injector.$$annotate = function(fn) {\n    if (typeof fn === 'function' && !fn.$inject) {\n      annotatedFunctions.push(fn);\n    }\n    return angular.mock.$$annotate.apply(this, arguments);\n  };\n\n\n  (window.beforeEach || window.setup)(function() {\n    annotatedFunctions = [];\n    currentSpec = this;\n  });\n\n  (window.afterEach || window.teardown)(function() {\n    var injector = currentSpec.$injector;\n\n    annotatedFunctions.forEach(function(fn) {\n      delete fn.$inject;\n    });\n\n    angular.forEach(currentSpec.$modules, function(module) {\n      if (module && module.$$hashKey) {\n        module.$$hashKey = undefined;\n      }\n    });\n\n    currentSpec.$injector = null;\n    currentSpec.$modules = null;\n    currentSpec = null;\n\n    if (injector) {\n      injector.get('$rootElement').off();\n    }\n\n    // clean up jquery's fragment cache\n    angular.forEach(angular.element.fragments, function(val, key) {\n      delete angular.element.fragments[key];\n    });\n\n    MockXhr.$$lastInstance = null;\n\n    angular.forEach(angular.callbacks, function(val, key) {\n      delete angular.callbacks[key];\n    });\n    angular.callbacks.counter = 0;\n  });\n\n  /**\n   * @ngdoc function\n   * @name angular.mock.module\n   * @description\n   *\n   * *NOTE*: This function is also published on window for easy access.<br>\n   * *NOTE*: This function is declared ONLY WHEN running tests with jasmine or mocha\n   *\n   * This function registers a module configuration code. It collects the configuration information\n   * which will be used when the injector is created by {@link angular.mock.inject inject}.\n   *\n   * See {@link angular.mock.inject inject} for usage example\n   *\n   * @param {...(string|Function|Object)} fns any number of modules which are represented as string\n   *        aliases or as anonymous module initialization functions. The modules are used to\n   *        configure the injector. The 'ng' and 'ngMock' modules are automatically loaded. If an\n   *        object literal is passed each key-value pair will be registered on the module via\n   *        {@link auto.$provide $provide}.value, the key being the string name (or token) to associate\n   *        with the value on the injector.\n   */\n  window.module = angular.mock.module = function() {\n    var moduleFns = Array.prototype.slice.call(arguments, 0);\n    return isSpecRunning() ? workFn() : workFn;\n    /////////////////////\n    function workFn() {\n      if (currentSpec.$injector) {\n        throw new Error('Injector already created, can not register a module!');\n      } else {\n        var modules = currentSpec.$modules || (currentSpec.$modules = []);\n        angular.forEach(moduleFns, function(module) {\n          if (angular.isObject(module) && !angular.isArray(module)) {\n            modules.push(function($provide) {\n              angular.forEach(module, function(value, key) {\n                $provide.value(key, value);\n              });\n            });\n          } else {\n            modules.push(module);\n          }\n        });\n      }\n    }\n  };\n\n  /**\n   * @ngdoc function\n   * @name angular.mock.inject\n   * @description\n   *\n   * *NOTE*: This function is also published on window for easy access.<br>\n   * *NOTE*: This function is declared ONLY WHEN running tests with jasmine or mocha\n   *\n   * The inject function wraps a function into an injectable function. The inject() creates new\n   * instance of {@link auto.$injector $injector} per test, which is then used for\n   * resolving references.\n   *\n   *\n   * ## Resolving References (Underscore Wrapping)\n   * Often, we would like to inject a reference once, in a `beforeEach()` block and reuse this\n   * in multiple `it()` clauses. To be able to do this we must assign the reference to a variable\n   * that is declared in the scope of the `describe()` block. Since we would, most likely, want\n   * the variable to have the same name of the reference we have a problem, since the parameter\n   * to the `inject()` function would hide the outer variable.\n   *\n   * To help with this, the injected parameters can, optionally, be enclosed with underscores.\n   * These are ignored by the injector when the reference name is resolved.\n   *\n   * For example, the parameter `_myService_` would be resolved as the reference `myService`.\n   * Since it is available in the function body as _myService_, we can then assign it to a variable\n   * defined in an outer scope.\n   *\n   * ```\n   * // Defined out reference variable outside\n   * var myService;\n   *\n   * // Wrap the parameter in underscores\n   * beforeEach( inject( function(_myService_){\n   *   myService = _myService_;\n   * }));\n   *\n   * // Use myService in a series of tests.\n   * it('makes use of myService', function() {\n   *   myService.doStuff();\n   * });\n   *\n   * ```\n   *\n   * See also {@link angular.mock.module angular.mock.module}\n   *\n   * ## Example\n   * Example of what a typical jasmine tests looks like with the inject method.\n   * ```js\n   *\n   *   angular.module('myApplicationModule', [])\n   *       .value('mode', 'app')\n   *       .value('version', 'v1.0.1');\n   *\n   *\n   *   describe('MyApp', function() {\n   *\n   *     // You need to load modules that you want to test,\n   *     // it loads only the \"ng\" module by default.\n   *     beforeEach(module('myApplicationModule'));\n   *\n   *\n   *     // inject() is used to inject arguments of all given functions\n   *     it('should provide a version', inject(function(mode, version) {\n   *       expect(version).toEqual('v1.0.1');\n   *       expect(mode).toEqual('app');\n   *     }));\n   *\n   *\n   *     // The inject and module method can also be used inside of the it or beforeEach\n   *     it('should override a version and test the new version is injected', function() {\n   *       // module() takes functions or strings (module aliases)\n   *       module(function($provide) {\n   *         $provide.value('version', 'overridden'); // override version here\n   *       });\n   *\n   *       inject(function(version) {\n   *         expect(version).toEqual('overridden');\n   *       });\n   *     });\n   *   });\n   *\n   * ```\n   *\n   * @param {...Function} fns any number of functions which will be injected using the injector.\n   */\n\n\n\n  var ErrorAddingDeclarationLocationStack = function(e, errorForStack) {\n    this.message = e.message;\n    this.name = e.name;\n    if (e.line) this.line = e.line;\n    if (e.sourceId) this.sourceId = e.sourceId;\n    if (e.stack && errorForStack)\n      this.stack = e.stack + '\\n' + errorForStack.stack;\n    if (e.stackArray) this.stackArray = e.stackArray;\n  };\n  ErrorAddingDeclarationLocationStack.prototype.toString = Error.prototype.toString;\n\n  window.inject = angular.mock.inject = function() {\n    var blockFns = Array.prototype.slice.call(arguments, 0);\n    var errorForStack = new Error('Declaration Location');\n    return isSpecRunning() ? workFn.call(currentSpec) : workFn;\n    /////////////////////\n    function workFn() {\n      var modules = currentSpec.$modules || [];\n      var strictDi = !!currentSpec.$injectorStrict;\n      modules.unshift('ngMock');\n      modules.unshift('ng');\n      var injector = currentSpec.$injector;\n      if (!injector) {\n        if (strictDi) {\n          // If strictDi is enabled, annotate the providerInjector blocks\n          angular.forEach(modules, function(moduleFn) {\n            if (typeof moduleFn === \"function\") {\n              angular.injector.$$annotate(moduleFn);\n            }\n          });\n        }\n        injector = currentSpec.$injector = angular.injector(modules, strictDi);\n        currentSpec.$injectorStrict = strictDi;\n      }\n      for (var i = 0, ii = blockFns.length; i < ii; i++) {\n        if (currentSpec.$injectorStrict) {\n          // If the injector is strict / strictDi, and the spec wants to inject using automatic\n          // annotation, then annotate the function here.\n          injector.annotate(blockFns[i]);\n        }\n        try {\n          /* jshint -W040 *//* Jasmine explicitly provides a `this` object when calling functions */\n          injector.invoke(blockFns[i] || angular.noop, this);\n          /* jshint +W040 */\n        } catch (e) {\n          if (e.stack && errorForStack) {\n            throw new ErrorAddingDeclarationLocationStack(e, errorForStack);\n          }\n          throw e;\n        } finally {\n          errorForStack = null;\n        }\n      }\n    }\n  };\n\n\n  angular.mock.inject.strictDi = function(value) {\n    value = arguments.length ? !!value : true;\n    return isSpecRunning() ? workFn() : workFn;\n\n    function workFn() {\n      if (value !== currentSpec.$injectorStrict) {\n        if (currentSpec.$injector) {\n          throw new Error('Injector already created, can not modify strict annotations');\n        } else {\n          currentSpec.$injectorStrict = value;\n        }\n      }\n    }\n  };\n}\n\n\n})(window, window.angular);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/angular-resource.js",
    "content": "/**\n * @license AngularJS v1.4.8\n * (c) 2010-2015 Google, Inc. http://angularjs.org\n * License: MIT\n */\n(function(window, angular, undefined) {'use strict';\n\nvar $resourceMinErr = angular.$$minErr('$resource');\n\n// Helper functions and regex to lookup a dotted path on an object\n// stopping at undefined/null.  The path must be composed of ASCII\n// identifiers (just like $parse)\nvar MEMBER_NAME_REGEX = /^(\\.[a-zA-Z_$@][0-9a-zA-Z_$@]*)+$/;\n\nfunction isValidDottedPath(path) {\n  return (path != null && path !== '' && path !== 'hasOwnProperty' &&\n      MEMBER_NAME_REGEX.test('.' + path));\n}\n\nfunction lookupDottedPath(obj, path) {\n  if (!isValidDottedPath(path)) {\n    throw $resourceMinErr('badmember', 'Dotted member path \"@{0}\" is invalid.', path);\n  }\n  var keys = path.split('.');\n  for (var i = 0, ii = keys.length; i < ii && angular.isDefined(obj); i++) {\n    var key = keys[i];\n    obj = (obj !== null) ? obj[key] : undefined;\n  }\n  return obj;\n}\n\n/**\n * Create a shallow copy of an object and clear other fields from the destination\n */\nfunction shallowClearAndCopy(src, dst) {\n  dst = dst || {};\n\n  angular.forEach(dst, function(value, key) {\n    delete dst[key];\n  });\n\n  for (var key in src) {\n    if (src.hasOwnProperty(key) && !(key.charAt(0) === '$' && key.charAt(1) === '$')) {\n      dst[key] = src[key];\n    }\n  }\n\n  return dst;\n}\n\n/**\n * @ngdoc module\n * @name ngResource\n * @description\n *\n * # ngResource\n *\n * The `ngResource` module provides interaction support with RESTful services\n * via the $resource service.\n *\n *\n * <div doc-module-components=\"ngResource\"></div>\n *\n * See {@link ngResource.$resource `$resource`} for usage.\n */\n\n/**\n * @ngdoc service\n * @name $resource\n * @requires $http\n *\n * @description\n * A factory which creates a resource object that lets you interact with\n * [RESTful](http://en.wikipedia.org/wiki/Representational_State_Transfer) server-side data sources.\n *\n * The returned resource object has action methods which provide high-level behaviors without\n * the need to interact with the low level {@link ng.$http $http} service.\n *\n * Requires the {@link ngResource `ngResource`} module to be installed.\n *\n * By default, trailing slashes will be stripped from the calculated URLs,\n * which can pose problems with server backends that do not expect that\n * behavior.  This can be disabled by configuring the `$resourceProvider` like\n * this:\n *\n * ```js\n     app.config(['$resourceProvider', function($resourceProvider) {\n       // Don't strip trailing slashes from calculated URLs\n       $resourceProvider.defaults.stripTrailingSlashes = false;\n     }]);\n * ```\n *\n * @param {string} url A parameterized URL template with parameters prefixed by `:` as in\n *   `/user/:username`. If you are using a URL with a port number (e.g.\n *   `http://example.com:8080/api`), it will be respected.\n *\n *   If you are using a url with a suffix, just add the suffix, like this:\n *   `$resource('http://example.com/resource.json')` or `$resource('http://example.com/:id.json')`\n *   or even `$resource('http://example.com/resource/:resource_id.:format')`\n *   If the parameter before the suffix is empty, :resource_id in this case, then the `/.` will be\n *   collapsed down to a single `.`.  If you need this sequence to appear and not collapse then you\n *   can escape it with `/\\.`.\n *\n * @param {Object=} paramDefaults Default values for `url` parameters. These can be overridden in\n *   `actions` methods. If any of the parameter value is a function, it will be executed every time\n *   when a param value needs to be obtained for a request (unless the param was overridden).\n *\n *   Each key value in the parameter object is first bound to url template if present and then any\n *   excess keys are appended to the url search query after the `?`.\n *\n *   Given a template `/path/:verb` and parameter `{verb:'greet', salutation:'Hello'}` results in\n *   URL `/path/greet?salutation=Hello`.\n *\n *   If the parameter value is prefixed with `@` then the value for that parameter will be extracted\n *   from the corresponding property on the `data` object (provided when calling an action method).  For\n *   example, if the `defaultParam` object is `{someParam: '@someProp'}` then the value of `someParam`\n *   will be `data.someProp`.\n *\n * @param {Object.<Object>=} actions Hash with declaration of custom actions that should extend\n *   the default set of resource actions. The declaration should be created in the format of {@link\n *   ng.$http#usage $http.config}:\n *\n *       {action1: {method:?, params:?, isArray:?, headers:?, ...},\n *        action2: {method:?, params:?, isArray:?, headers:?, ...},\n *        ...}\n *\n *   Where:\n *\n *   - **`action`** – {string} – The name of action. This name becomes the name of the method on\n *     your resource object.\n *   - **`method`** – {string} – Case insensitive HTTP method (e.g. `GET`, `POST`, `PUT`,\n *     `DELETE`, `JSONP`, etc).\n *   - **`params`** – {Object=} – Optional set of pre-bound parameters for this action. If any of\n *     the parameter value is a function, it will be executed every time when a param value needs to\n *     be obtained for a request (unless the param was overridden).\n *   - **`url`** – {string} – action specific `url` override. The url templating is supported just\n *     like for the resource-level urls.\n *   - **`isArray`** – {boolean=} – If true then the returned object for this action is an array,\n *     see `returns` section.\n *   - **`transformRequest`** –\n *     `{function(data, headersGetter)|Array.<function(data, headersGetter)>}` –\n *     transform function or an array of such functions. The transform function takes the http\n *     request body and headers and returns its transformed (typically serialized) version.\n *     By default, transformRequest will contain one function that checks if the request data is\n *     an object and serializes to using `angular.toJson`. To prevent this behavior, set\n *     `transformRequest` to an empty array: `transformRequest: []`\n *   - **`transformResponse`** –\n *     `{function(data, headersGetter)|Array.<function(data, headersGetter)>}` –\n *     transform function or an array of such functions. The transform function takes the http\n *     response body and headers and returns its transformed (typically deserialized) version.\n *     By default, transformResponse will contain one function that checks if the response looks like\n *     a JSON string and deserializes it using `angular.fromJson`. To prevent this behavior, set\n *     `transformResponse` to an empty array: `transformResponse: []`\n *   - **`cache`** – `{boolean|Cache}` – If true, a default $http cache will be used to cache the\n *     GET request, otherwise if a cache instance built with\n *     {@link ng.$cacheFactory $cacheFactory}, this cache will be used for\n *     caching.\n *   - **`timeout`** – `{number|Promise}` – timeout in milliseconds, or {@link ng.$q promise} that\n *     should abort the request when resolved.\n *   - **`withCredentials`** - `{boolean}` - whether to set the `withCredentials` flag on the\n *     XHR object. See\n *     [requests with credentials](https://developer.mozilla.org/en/http_access_control#section_5)\n *     for more information.\n *   - **`responseType`** - `{string}` - see\n *     [requestType](https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest#responseType).\n *   - **`interceptor`** - `{Object=}` - The interceptor object has two optional methods -\n *     `response` and `responseError`. Both `response` and `responseError` interceptors get called\n *     with `http response` object. See {@link ng.$http $http interceptors}.\n *\n * @param {Object} options Hash with custom settings that should extend the\n *   default `$resourceProvider` behavior.  The only supported option is\n *\n *   Where:\n *\n *   - **`stripTrailingSlashes`** – {boolean} – If true then the trailing\n *   slashes from any calculated URL will be stripped. (Defaults to true.)\n *\n * @returns {Object} A resource \"class\" object with methods for the default set of resource actions\n *   optionally extended with custom `actions`. The default set contains these actions:\n *   ```js\n *   { 'get':    {method:'GET'},\n *     'save':   {method:'POST'},\n *     'query':  {method:'GET', isArray:true},\n *     'remove': {method:'DELETE'},\n *     'delete': {method:'DELETE'} };\n *   ```\n *\n *   Calling these methods invoke an {@link ng.$http} with the specified http method,\n *   destination and parameters. When the data is returned from the server then the object is an\n *   instance of the resource class. The actions `save`, `remove` and `delete` are available on it\n *   as  methods with the `$` prefix. This allows you to easily perform CRUD operations (create,\n *   read, update, delete) on server-side data like this:\n *   ```js\n *   var User = $resource('/user/:userId', {userId:'@id'});\n *   var user = User.get({userId:123}, function() {\n *     user.abc = true;\n *     user.$save();\n *   });\n *   ```\n *\n *   It is important to realize that invoking a $resource object method immediately returns an\n *   empty reference (object or array depending on `isArray`). Once the data is returned from the\n *   server the existing reference is populated with the actual data. This is a useful trick since\n *   usually the resource is assigned to a model which is then rendered by the view. Having an empty\n *   object results in no rendering, once the data arrives from the server then the object is\n *   populated with the data and the view automatically re-renders itself showing the new data. This\n *   means that in most cases one never has to write a callback function for the action methods.\n *\n *   The action methods on the class object or instance object can be invoked with the following\n *   parameters:\n *\n *   - HTTP GET \"class\" actions: `Resource.action([parameters], [success], [error])`\n *   - non-GET \"class\" actions: `Resource.action([parameters], postData, [success], [error])`\n *   - non-GET instance actions:  `instance.$action([parameters], [success], [error])`\n *\n *\n *   Success callback is called with (value, responseHeaders) arguments, where the value is\n *   the populated resource instance or collection object. The error callback is called\n *   with (httpResponse) argument.\n *\n *   Class actions return empty instance (with additional properties below).\n *   Instance actions return promise of the action.\n *\n *   The Resource instances and collection have these additional properties:\n *\n *   - `$promise`: the {@link ng.$q promise} of the original server interaction that created this\n *     instance or collection.\n *\n *     On success, the promise is resolved with the same resource instance or collection object,\n *     updated with data from server. This makes it easy to use in\n *     {@link ngRoute.$routeProvider resolve section of $routeProvider.when()} to defer view\n *     rendering until the resource(s) are loaded.\n *\n *     On failure, the promise is resolved with the {@link ng.$http http response} object, without\n *     the `resource` property.\n *\n *     If an interceptor object was provided, the promise will instead be resolved with the value\n *     returned by the interceptor.\n *\n *   - `$resolved`: `true` after first server interaction is completed (either with success or\n *      rejection), `false` before that. Knowing if the Resource has been resolved is useful in\n *      data-binding.\n *\n * @example\n *\n * # Credit card resource\n *\n * ```js\n     // Define CreditCard class\n     var CreditCard = $resource('/user/:userId/card/:cardId',\n      {userId:123, cardId:'@id'}, {\n       charge: {method:'POST', params:{charge:true}}\n      });\n\n     // We can retrieve a collection from the server\n     var cards = CreditCard.query(function() {\n       // GET: /user/123/card\n       // server returns: [ {id:456, number:'1234', name:'Smith'} ];\n\n       var card = cards[0];\n       // each item is an instance of CreditCard\n       expect(card instanceof CreditCard).toEqual(true);\n       card.name = \"J. Smith\";\n       // non GET methods are mapped onto the instances\n       card.$save();\n       // POST: /user/123/card/456 {id:456, number:'1234', name:'J. Smith'}\n       // server returns: {id:456, number:'1234', name: 'J. Smith'};\n\n       // our custom method is mapped as well.\n       card.$charge({amount:9.99});\n       // POST: /user/123/card/456?amount=9.99&charge=true {id:456, number:'1234', name:'J. Smith'}\n     });\n\n     // we can create an instance as well\n     var newCard = new CreditCard({number:'0123'});\n     newCard.name = \"Mike Smith\";\n     newCard.$save();\n     // POST: /user/123/card {number:'0123', name:'Mike Smith'}\n     // server returns: {id:789, number:'0123', name: 'Mike Smith'};\n     expect(newCard.id).toEqual(789);\n * ```\n *\n * The object returned from this function execution is a resource \"class\" which has \"static\" method\n * for each action in the definition.\n *\n * Calling these methods invoke `$http` on the `url` template with the given `method`, `params` and\n * `headers`.\n * When the data is returned from the server then the object is an instance of the resource type and\n * all of the non-GET methods are available with `$` prefix. This allows you to easily support CRUD\n * operations (create, read, update, delete) on server-side data.\n\n   ```js\n     var User = $resource('/user/:userId', {userId:'@id'});\n     User.get({userId:123}, function(user) {\n       user.abc = true;\n       user.$save();\n     });\n   ```\n *\n * It's worth noting that the success callback for `get`, `query` and other methods gets passed\n * in the response that came from the server as well as $http header getter function, so one\n * could rewrite the above example and get access to http headers as:\n *\n   ```js\n     var User = $resource('/user/:userId', {userId:'@id'});\n     User.get({userId:123}, function(u, getResponseHeaders){\n       u.abc = true;\n       u.$save(function(u, putResponseHeaders) {\n         //u => saved user object\n         //putResponseHeaders => $http header getter\n       });\n     });\n   ```\n *\n * You can also access the raw `$http` promise via the `$promise` property on the object returned\n *\n   ```\n     var User = $resource('/user/:userId', {userId:'@id'});\n     User.get({userId:123})\n         .$promise.then(function(user) {\n           $scope.user = user;\n         });\n   ```\n\n * # Creating a custom 'PUT' request\n * In this example we create a custom method on our resource to make a PUT request\n * ```js\n *    var app = angular.module('app', ['ngResource', 'ngRoute']);\n *\n *    // Some APIs expect a PUT request in the format URL/object/ID\n *    // Here we are creating an 'update' method\n *    app.factory('Notes', ['$resource', function($resource) {\n *    return $resource('/notes/:id', null,\n *        {\n *            'update': { method:'PUT' }\n *        });\n *    }]);\n *\n *    // In our controller we get the ID from the URL using ngRoute and $routeParams\n *    // We pass in $routeParams and our Notes factory along with $scope\n *    app.controller('NotesCtrl', ['$scope', '$routeParams', 'Notes',\n                                      function($scope, $routeParams, Notes) {\n *    // First get a note object from the factory\n *    var note = Notes.get({ id:$routeParams.id });\n *    $id = note.id;\n *\n *    // Now call update passing in the ID first then the object you are updating\n *    Notes.update({ id:$id }, note);\n *\n *    // This will PUT /notes/ID with the note object in the request payload\n *    }]);\n * ```\n */\nangular.module('ngResource', ['ng']).\n  provider('$resource', function() {\n    var PROTOCOL_AND_DOMAIN_REGEX = /^https?:\\/\\/[^\\/]*/;\n    var provider = this;\n\n    this.defaults = {\n      // Strip slashes by default\n      stripTrailingSlashes: true,\n\n      // Default actions configuration\n      actions: {\n        'get': {method: 'GET'},\n        'save': {method: 'POST'},\n        'query': {method: 'GET', isArray: true},\n        'remove': {method: 'DELETE'},\n        'delete': {method: 'DELETE'}\n      }\n    };\n\n    this.$get = ['$http', '$q', function($http, $q) {\n\n      var noop = angular.noop,\n        forEach = angular.forEach,\n        extend = angular.extend,\n        copy = angular.copy,\n        isFunction = angular.isFunction;\n\n      /**\n       * We need our custom method because encodeURIComponent is too aggressive and doesn't follow\n       * http://www.ietf.org/rfc/rfc3986.txt with regards to the character set\n       * (pchar) allowed in path segments:\n       *    segment       = *pchar\n       *    pchar         = unreserved / pct-encoded / sub-delims / \":\" / \"@\"\n       *    pct-encoded   = \"%\" HEXDIG HEXDIG\n       *    unreserved    = ALPHA / DIGIT / \"-\" / \".\" / \"_\" / \"~\"\n       *    sub-delims    = \"!\" / \"$\" / \"&\" / \"'\" / \"(\" / \")\"\n       *                     / \"*\" / \"+\" / \",\" / \";\" / \"=\"\n       */\n      function encodeUriSegment(val) {\n        return encodeUriQuery(val, true).\n          replace(/%26/gi, '&').\n          replace(/%3D/gi, '=').\n          replace(/%2B/gi, '+');\n      }\n\n\n      /**\n       * This method is intended for encoding *key* or *value* parts of query component. We need a\n       * custom method because encodeURIComponent is too aggressive and encodes stuff that doesn't\n       * have to be encoded per http://tools.ietf.org/html/rfc3986:\n       *    query       = *( pchar / \"/\" / \"?\" )\n       *    pchar         = unreserved / pct-encoded / sub-delims / \":\" / \"@\"\n       *    unreserved    = ALPHA / DIGIT / \"-\" / \".\" / \"_\" / \"~\"\n       *    pct-encoded   = \"%\" HEXDIG HEXDIG\n       *    sub-delims    = \"!\" / \"$\" / \"&\" / \"'\" / \"(\" / \")\"\n       *                     / \"*\" / \"+\" / \",\" / \";\" / \"=\"\n       */\n      function encodeUriQuery(val, pctEncodeSpaces) {\n        return encodeURIComponent(val).\n          replace(/%40/gi, '@').\n          replace(/%3A/gi, ':').\n          replace(/%24/g, '$').\n          replace(/%2C/gi, ',').\n          replace(/%20/g, (pctEncodeSpaces ? '%20' : '+'));\n      }\n\n      function Route(template, defaults) {\n        this.template = template;\n        this.defaults = extend({}, provider.defaults, defaults);\n        this.urlParams = {};\n      }\n\n      Route.prototype = {\n        setUrlParams: function(config, params, actionUrl) {\n          var self = this,\n            url = actionUrl || self.template,\n            val,\n            encodedVal,\n            protocolAndDomain = '';\n\n          var urlParams = self.urlParams = {};\n          forEach(url.split(/\\W/), function(param) {\n            if (param === 'hasOwnProperty') {\n              throw $resourceMinErr('badname', \"hasOwnProperty is not a valid parameter name.\");\n            }\n            if (!(new RegExp(\"^\\\\d+$\").test(param)) && param &&\n              (new RegExp(\"(^|[^\\\\\\\\]):\" + param + \"(\\\\W|$)\").test(url))) {\n              urlParams[param] = true;\n            }\n          });\n          url = url.replace(/\\\\:/g, ':');\n          url = url.replace(PROTOCOL_AND_DOMAIN_REGEX, function(match) {\n            protocolAndDomain = match;\n            return '';\n          });\n\n          params = params || {};\n          forEach(self.urlParams, function(_, urlParam) {\n            val = params.hasOwnProperty(urlParam) ? params[urlParam] : self.defaults[urlParam];\n            if (angular.isDefined(val) && val !== null) {\n              encodedVal = encodeUriSegment(val);\n              url = url.replace(new RegExp(\":\" + urlParam + \"(\\\\W|$)\", \"g\"), function(match, p1) {\n                return encodedVal + p1;\n              });\n            } else {\n              url = url.replace(new RegExp(\"(\\/?):\" + urlParam + \"(\\\\W|$)\", \"g\"), function(match,\n                  leadingSlashes, tail) {\n                if (tail.charAt(0) == '/') {\n                  return tail;\n                } else {\n                  return leadingSlashes + tail;\n                }\n              });\n            }\n          });\n\n          // strip trailing slashes and set the url (unless this behavior is specifically disabled)\n          if (self.defaults.stripTrailingSlashes) {\n            url = url.replace(/\\/+$/, '') || '/';\n          }\n\n          // then replace collapse `/.` if found in the last URL path segment before the query\n          // E.g. `http://url.com/id./format?q=x` becomes `http://url.com/id.format?q=x`\n          url = url.replace(/\\/\\.(?=\\w+($|\\?))/, '.');\n          // replace escaped `/\\.` with `/.`\n          config.url = protocolAndDomain + url.replace(/\\/\\\\\\./, '/.');\n\n\n          // set params - delegate param encoding to $http\n          forEach(params, function(value, key) {\n            if (!self.urlParams[key]) {\n              config.params = config.params || {};\n              config.params[key] = value;\n            }\n          });\n        }\n      };\n\n\n      function resourceFactory(url, paramDefaults, actions, options) {\n        var route = new Route(url, options);\n\n        actions = extend({}, provider.defaults.actions, actions);\n\n        function extractParams(data, actionParams) {\n          var ids = {};\n          actionParams = extend({}, paramDefaults, actionParams);\n          forEach(actionParams, function(value, key) {\n            if (isFunction(value)) { value = value(); }\n            ids[key] = value && value.charAt && value.charAt(0) == '@' ?\n              lookupDottedPath(data, value.substr(1)) : value;\n          });\n          return ids;\n        }\n\n        function defaultResponseInterceptor(response) {\n          return response.resource;\n        }\n\n        function Resource(value) {\n          shallowClearAndCopy(value || {}, this);\n        }\n\n        Resource.prototype.toJSON = function() {\n          var data = extend({}, this);\n          delete data.$promise;\n          delete data.$resolved;\n          return data;\n        };\n\n        forEach(actions, function(action, name) {\n          var hasBody = /^(POST|PUT|PATCH)$/i.test(action.method);\n\n          Resource[name] = function(a1, a2, a3, a4) {\n            var params = {}, data, success, error;\n\n            /* jshint -W086 */ /* (purposefully fall through case statements) */\n            switch (arguments.length) {\n              case 4:\n                error = a4;\n                success = a3;\n              //fallthrough\n              case 3:\n              case 2:\n                if (isFunction(a2)) {\n                  if (isFunction(a1)) {\n                    success = a1;\n                    error = a2;\n                    break;\n                  }\n\n                  success = a2;\n                  error = a3;\n                  //fallthrough\n                } else {\n                  params = a1;\n                  data = a2;\n                  success = a3;\n                  break;\n                }\n              case 1:\n                if (isFunction(a1)) success = a1;\n                else if (hasBody) data = a1;\n                else params = a1;\n                break;\n              case 0: break;\n              default:\n                throw $resourceMinErr('badargs',\n                  \"Expected up to 4 arguments [params, data, success, error], got {0} arguments\",\n                  arguments.length);\n            }\n            /* jshint +W086 */ /* (purposefully fall through case statements) */\n\n            var isInstanceCall = this instanceof Resource;\n            var value = isInstanceCall ? data : (action.isArray ? [] : new Resource(data));\n            var httpConfig = {};\n            var responseInterceptor = action.interceptor && action.interceptor.response ||\n              defaultResponseInterceptor;\n            var responseErrorInterceptor = action.interceptor && action.interceptor.responseError ||\n              undefined;\n\n            forEach(action, function(value, key) {\n              switch (key) {\n                default:\n                  httpConfig[key] = copy(value);\n                  break;\n                case 'params':\n                case 'isArray':\n                case 'interceptor':\n                  break;\n                case 'timeout':\n                  httpConfig[key] = value;\n                  break;\n              }\n            });\n\n            if (hasBody) httpConfig.data = data;\n            route.setUrlParams(httpConfig,\n              extend({}, extractParams(data, action.params || {}), params),\n              action.url);\n\n            var promise = $http(httpConfig).then(function(response) {\n              var data = response.data,\n                promise = value.$promise;\n\n              if (data) {\n                // Need to convert action.isArray to boolean in case it is undefined\n                // jshint -W018\n                if (angular.isArray(data) !== (!!action.isArray)) {\n                  throw $resourceMinErr('badcfg',\n                      'Error in resource configuration for action `{0}`. Expected response to ' +\n                      'contain an {1} but got an {2} (Request: {3} {4})', name, action.isArray ? 'array' : 'object',\n                    angular.isArray(data) ? 'array' : 'object', httpConfig.method, httpConfig.url);\n                }\n                // jshint +W018\n                if (action.isArray) {\n                  value.length = 0;\n                  forEach(data, function(item) {\n                    if (typeof item === \"object\") {\n                      value.push(new Resource(item));\n                    } else {\n                      // Valid JSON values may be string literals, and these should not be converted\n                      // into objects. These items will not have access to the Resource prototype\n                      // methods, but unfortunately there\n                      value.push(item);\n                    }\n                  });\n                } else {\n                  shallowClearAndCopy(data, value);\n                  value.$promise = promise;\n                }\n              }\n\n              value.$resolved = true;\n\n              response.resource = value;\n\n              return response;\n            }, function(response) {\n              value.$resolved = true;\n\n              (error || noop)(response);\n\n              return $q.reject(response);\n            });\n\n            promise = promise.then(\n              function(response) {\n                var value = responseInterceptor(response);\n                (success || noop)(value, response.headers);\n                return value;\n              },\n              responseErrorInterceptor);\n\n            if (!isInstanceCall) {\n              // we are creating instance / collection\n              // - set the initial promise\n              // - return the instance / collection\n              value.$promise = promise;\n              value.$resolved = false;\n\n              return value;\n            }\n\n            // instance call\n            return promise;\n          };\n\n\n          Resource.prototype['$' + name] = function(params, success, error) {\n            if (isFunction(params)) {\n              error = success; success = params; params = {};\n            }\n            var result = Resource[name].call(this, params, this, success, error);\n            return result.$promise || result;\n          };\n        });\n\n        Resource.bind = function(additionalParamDefaults) {\n          return resourceFactory(url, extend({}, paramDefaults, additionalParamDefaults), actions);\n        };\n\n        return Resource;\n      }\n\n      return resourceFactory;\n    }];\n  });\n\n\n})(window, window.angular);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/angular-route.js",
    "content": "/**\n * @license AngularJS v1.4.8\n * (c) 2010-2015 Google, Inc. http://angularjs.org\n * License: MIT\n */\n(function(window, angular, undefined) {'use strict';\n\n/**\n * @ngdoc module\n * @name ngRoute\n * @description\n *\n * # ngRoute\n *\n * The `ngRoute` module provides routing and deeplinking services and directives for angular apps.\n *\n * ## Example\n * See {@link ngRoute.$route#example $route} for an example of configuring and using `ngRoute`.\n *\n *\n * <div doc-module-components=\"ngRoute\"></div>\n */\n /* global -ngRouteModule */\nvar ngRouteModule = angular.module('ngRoute', ['ng']).\n                        provider('$route', $RouteProvider),\n    $routeMinErr = angular.$$minErr('ngRoute');\n\n/**\n * @ngdoc provider\n * @name $routeProvider\n *\n * @description\n *\n * Used for configuring routes.\n *\n * ## Example\n * See {@link ngRoute.$route#example $route} for an example of configuring and using `ngRoute`.\n *\n * ## Dependencies\n * Requires the {@link ngRoute `ngRoute`} module to be installed.\n */\nfunction $RouteProvider() {\n  function inherit(parent, extra) {\n    return angular.extend(Object.create(parent), extra);\n  }\n\n  var routes = {};\n\n  /**\n   * @ngdoc method\n   * @name $routeProvider#when\n   *\n   * @param {string} path Route path (matched against `$location.path`). If `$location.path`\n   *    contains redundant trailing slash or is missing one, the route will still match and the\n   *    `$location.path` will be updated to add or drop the trailing slash to exactly match the\n   *    route definition.\n   *\n   *    * `path` can contain named groups starting with a colon: e.g. `:name`. All characters up\n   *        to the next slash are matched and stored in `$routeParams` under the given `name`\n   *        when the route matches.\n   *    * `path` can contain named groups starting with a colon and ending with a star:\n   *        e.g.`:name*`. All characters are eagerly stored in `$routeParams` under the given `name`\n   *        when the route matches.\n   *    * `path` can contain optional named groups with a question mark: e.g.`:name?`.\n   *\n   *    For example, routes like `/color/:color/largecode/:largecode*\\/edit` will match\n   *    `/color/brown/largecode/code/with/slashes/edit` and extract:\n   *\n   *    * `color: brown`\n   *    * `largecode: code/with/slashes`.\n   *\n   *\n   * @param {Object} route Mapping information to be assigned to `$route.current` on route\n   *    match.\n   *\n   *    Object properties:\n   *\n   *    - `controller` – `{(string|function()=}` – Controller fn that should be associated with\n   *      newly created scope or the name of a {@link angular.Module#controller registered\n   *      controller} if passed as a string.\n   *    - `controllerAs` – `{string=}` – An identifier name for a reference to the controller.\n   *      If present, the controller will be published to scope under the `controllerAs` name.\n   *    - `template` – `{string=|function()=}` – html template as a string or a function that\n   *      returns an html template as a string which should be used by {@link\n   *      ngRoute.directive:ngView ngView} or {@link ng.directive:ngInclude ngInclude} directives.\n   *      This property takes precedence over `templateUrl`.\n   *\n   *      If `template` is a function, it will be called with the following parameters:\n   *\n   *      - `{Array.<Object>}` - route parameters extracted from the current\n   *        `$location.path()` by applying the current route\n   *\n   *    - `templateUrl` – `{string=|function()=}` – path or function that returns a path to an html\n   *      template that should be used by {@link ngRoute.directive:ngView ngView}.\n   *\n   *      If `templateUrl` is a function, it will be called with the following parameters:\n   *\n   *      - `{Array.<Object>}` - route parameters extracted from the current\n   *        `$location.path()` by applying the current route\n   *\n   *    - `resolve` - `{Object.<string, function>=}` - An optional map of dependencies which should\n   *      be injected into the controller. If any of these dependencies are promises, the router\n   *      will wait for them all to be resolved or one to be rejected before the controller is\n   *      instantiated.\n   *      If all the promises are resolved successfully, the values of the resolved promises are\n   *      injected and {@link ngRoute.$route#$routeChangeSuccess $routeChangeSuccess} event is\n   *      fired. If any of the promises are rejected the\n   *      {@link ngRoute.$route#$routeChangeError $routeChangeError} event is fired. The map object\n   *      is:\n   *\n   *      - `key` – `{string}`: a name of a dependency to be injected into the controller.\n   *      - `factory` - `{string|function}`: If `string` then it is an alias for a service.\n   *        Otherwise if function, then it is {@link auto.$injector#invoke injected}\n   *        and the return value is treated as the dependency. If the result is a promise, it is\n   *        resolved before its value is injected into the controller. Be aware that\n   *        `ngRoute.$routeParams` will still refer to the previous route within these resolve\n   *        functions.  Use `$route.current.params` to access the new route parameters, instead.\n   *\n   *    - `redirectTo` – {(string|function())=} – value to update\n   *      {@link ng.$location $location} path with and trigger route redirection.\n   *\n   *      If `redirectTo` is a function, it will be called with the following parameters:\n   *\n   *      - `{Object.<string>}` - route parameters extracted from the current\n   *        `$location.path()` by applying the current route templateUrl.\n   *      - `{string}` - current `$location.path()`\n   *      - `{Object}` - current `$location.search()`\n   *\n   *      The custom `redirectTo` function is expected to return a string which will be used\n   *      to update `$location.path()` and `$location.search()`.\n   *\n   *    - `[reloadOnSearch=true]` - {boolean=} - reload route when only `$location.search()`\n   *      or `$location.hash()` changes.\n   *\n   *      If the option is set to `false` and url in the browser changes, then\n   *      `$routeUpdate` event is broadcasted on the root scope.\n   *\n   *    - `[caseInsensitiveMatch=false]` - {boolean=} - match routes without being case sensitive\n   *\n   *      If the option is set to `true`, then the particular route can be matched without being\n   *      case sensitive\n   *\n   * @returns {Object} self\n   *\n   * @description\n   * Adds a new route definition to the `$route` service.\n   */\n  this.when = function(path, route) {\n    //copy original route object to preserve params inherited from proto chain\n    var routeCopy = angular.copy(route);\n    if (angular.isUndefined(routeCopy.reloadOnSearch)) {\n      routeCopy.reloadOnSearch = true;\n    }\n    if (angular.isUndefined(routeCopy.caseInsensitiveMatch)) {\n      routeCopy.caseInsensitiveMatch = this.caseInsensitiveMatch;\n    }\n    routes[path] = angular.extend(\n      routeCopy,\n      path && pathRegExp(path, routeCopy)\n    );\n\n    // create redirection for trailing slashes\n    if (path) {\n      var redirectPath = (path[path.length - 1] == '/')\n            ? path.substr(0, path.length - 1)\n            : path + '/';\n\n      routes[redirectPath] = angular.extend(\n        {redirectTo: path},\n        pathRegExp(redirectPath, routeCopy)\n      );\n    }\n\n    return this;\n  };\n\n  /**\n   * @ngdoc property\n   * @name $routeProvider#caseInsensitiveMatch\n   * @description\n   *\n   * A boolean property indicating if routes defined\n   * using this provider should be matched using a case insensitive\n   * algorithm. Defaults to `false`.\n   */\n  this.caseInsensitiveMatch = false;\n\n   /**\n    * @param path {string} path\n    * @param opts {Object} options\n    * @return {?Object}\n    *\n    * @description\n    * Normalizes the given path, returning a regular expression\n    * and the original path.\n    *\n    * Inspired by pathRexp in visionmedia/express/lib/utils.js.\n    */\n  function pathRegExp(path, opts) {\n    var insensitive = opts.caseInsensitiveMatch,\n        ret = {\n          originalPath: path,\n          regexp: path\n        },\n        keys = ret.keys = [];\n\n    path = path\n      .replace(/([().])/g, '\\\\$1')\n      .replace(/(\\/)?:(\\w+)([\\?\\*])?/g, function(_, slash, key, option) {\n        var optional = option === '?' ? option : null;\n        var star = option === '*' ? option : null;\n        keys.push({ name: key, optional: !!optional });\n        slash = slash || '';\n        return ''\n          + (optional ? '' : slash)\n          + '(?:'\n          + (optional ? slash : '')\n          + (star && '(.+?)' || '([^/]+)')\n          + (optional || '')\n          + ')'\n          + (optional || '');\n      })\n      .replace(/([\\/$\\*])/g, '\\\\$1');\n\n    ret.regexp = new RegExp('^' + path + '$', insensitive ? 'i' : '');\n    return ret;\n  }\n\n  /**\n   * @ngdoc method\n   * @name $routeProvider#otherwise\n   *\n   * @description\n   * Sets route definition that will be used on route change when no other route definition\n   * is matched.\n   *\n   * @param {Object|string} params Mapping information to be assigned to `$route.current`.\n   * If called with a string, the value maps to `redirectTo`.\n   * @returns {Object} self\n   */\n  this.otherwise = function(params) {\n    if (typeof params === 'string') {\n      params = {redirectTo: params};\n    }\n    this.when(null, params);\n    return this;\n  };\n\n\n  this.$get = ['$rootScope',\n               '$location',\n               '$routeParams',\n               '$q',\n               '$injector',\n               '$templateRequest',\n               '$sce',\n      function($rootScope, $location, $routeParams, $q, $injector, $templateRequest, $sce) {\n\n    /**\n     * @ngdoc service\n     * @name $route\n     * @requires $location\n     * @requires $routeParams\n     *\n     * @property {Object} current Reference to the current route definition.\n     * The route definition contains:\n     *\n     *   - `controller`: The controller constructor as define in route definition.\n     *   - `locals`: A map of locals which is used by {@link ng.$controller $controller} service for\n     *     controller instantiation. The `locals` contain\n     *     the resolved values of the `resolve` map. Additionally the `locals` also contain:\n     *\n     *     - `$scope` - The current route scope.\n     *     - `$template` - The current route template HTML.\n     *\n     * @property {Object} routes Object with all route configuration Objects as its properties.\n     *\n     * @description\n     * `$route` is used for deep-linking URLs to controllers and views (HTML partials).\n     * It watches `$location.url()` and tries to map the path to an existing route definition.\n     *\n     * Requires the {@link ngRoute `ngRoute`} module to be installed.\n     *\n     * You can define routes through {@link ngRoute.$routeProvider $routeProvider}'s API.\n     *\n     * The `$route` service is typically used in conjunction with the\n     * {@link ngRoute.directive:ngView `ngView`} directive and the\n     * {@link ngRoute.$routeParams `$routeParams`} service.\n     *\n     * @example\n     * This example shows how changing the URL hash causes the `$route` to match a route against the\n     * URL, and the `ngView` pulls in the partial.\n     *\n     * <example name=\"$route-service\" module=\"ngRouteExample\"\n     *          deps=\"angular-route.js\" fixBase=\"true\">\n     *   <file name=\"index.html\">\n     *     <div ng-controller=\"MainController\">\n     *       Choose:\n     *       <a href=\"Book/Moby\">Moby</a> |\n     *       <a href=\"Book/Moby/ch/1\">Moby: Ch1</a> |\n     *       <a href=\"Book/Gatsby\">Gatsby</a> |\n     *       <a href=\"Book/Gatsby/ch/4?key=value\">Gatsby: Ch4</a> |\n     *       <a href=\"Book/Scarlet\">Scarlet Letter</a><br/>\n     *\n     *       <div ng-view></div>\n     *\n     *       <hr />\n     *\n     *       <pre>$location.path() = {{$location.path()}}</pre>\n     *       <pre>$route.current.templateUrl = {{$route.current.templateUrl}}</pre>\n     *       <pre>$route.current.params = {{$route.current.params}}</pre>\n     *       <pre>$route.current.scope.name = {{$route.current.scope.name}}</pre>\n     *       <pre>$routeParams = {{$routeParams}}</pre>\n     *     </div>\n     *   </file>\n     *\n     *   <file name=\"book.html\">\n     *     controller: {{name}}<br />\n     *     Book Id: {{params.bookId}}<br />\n     *   </file>\n     *\n     *   <file name=\"chapter.html\">\n     *     controller: {{name}}<br />\n     *     Book Id: {{params.bookId}}<br />\n     *     Chapter Id: {{params.chapterId}}\n     *   </file>\n     *\n     *   <file name=\"script.js\">\n     *     angular.module('ngRouteExample', ['ngRoute'])\n     *\n     *      .controller('MainController', function($scope, $route, $routeParams, $location) {\n     *          $scope.$route = $route;\n     *          $scope.$location = $location;\n     *          $scope.$routeParams = $routeParams;\n     *      })\n     *\n     *      .controller('BookController', function($scope, $routeParams) {\n     *          $scope.name = \"BookController\";\n     *          $scope.params = $routeParams;\n     *      })\n     *\n     *      .controller('ChapterController', function($scope, $routeParams) {\n     *          $scope.name = \"ChapterController\";\n     *          $scope.params = $routeParams;\n     *      })\n     *\n     *     .config(function($routeProvider, $locationProvider) {\n     *       $routeProvider\n     *        .when('/Book/:bookId', {\n     *         templateUrl: 'book.html',\n     *         controller: 'BookController',\n     *         resolve: {\n     *           // I will cause a 1 second delay\n     *           delay: function($q, $timeout) {\n     *             var delay = $q.defer();\n     *             $timeout(delay.resolve, 1000);\n     *             return delay.promise;\n     *           }\n     *         }\n     *       })\n     *       .when('/Book/:bookId/ch/:chapterId', {\n     *         templateUrl: 'chapter.html',\n     *         controller: 'ChapterController'\n     *       });\n     *\n     *       // configure html5 to get links working on jsfiddle\n     *       $locationProvider.html5Mode(true);\n     *     });\n     *\n     *   </file>\n     *\n     *   <file name=\"protractor.js\" type=\"protractor\">\n     *     it('should load and compile correct template', function() {\n     *       element(by.linkText('Moby: Ch1')).click();\n     *       var content = element(by.css('[ng-view]')).getText();\n     *       expect(content).toMatch(/controller\\: ChapterController/);\n     *       expect(content).toMatch(/Book Id\\: Moby/);\n     *       expect(content).toMatch(/Chapter Id\\: 1/);\n     *\n     *       element(by.partialLinkText('Scarlet')).click();\n     *\n     *       content = element(by.css('[ng-view]')).getText();\n     *       expect(content).toMatch(/controller\\: BookController/);\n     *       expect(content).toMatch(/Book Id\\: Scarlet/);\n     *     });\n     *   </file>\n     * </example>\n     */\n\n    /**\n     * @ngdoc event\n     * @name $route#$routeChangeStart\n     * @eventType broadcast on root scope\n     * @description\n     * Broadcasted before a route change. At this  point the route services starts\n     * resolving all of the dependencies needed for the route change to occur.\n     * Typically this involves fetching the view template as well as any dependencies\n     * defined in `resolve` route property. Once  all of the dependencies are resolved\n     * `$routeChangeSuccess` is fired.\n     *\n     * The route change (and the `$location` change that triggered it) can be prevented\n     * by calling `preventDefault` method of the event. See {@link ng.$rootScope.Scope#$on}\n     * for more details about event object.\n     *\n     * @param {Object} angularEvent Synthetic event object.\n     * @param {Route} next Future route information.\n     * @param {Route} current Current route information.\n     */\n\n    /**\n     * @ngdoc event\n     * @name $route#$routeChangeSuccess\n     * @eventType broadcast on root scope\n     * @description\n     * Broadcasted after a route change has happened successfully.\n     * The `resolve` dependencies are now available in the `current.locals` property.\n     *\n     * {@link ngRoute.directive:ngView ngView} listens for the directive\n     * to instantiate the controller and render the view.\n     *\n     * @param {Object} angularEvent Synthetic event object.\n     * @param {Route} current Current route information.\n     * @param {Route|Undefined} previous Previous route information, or undefined if current is\n     * first route entered.\n     */\n\n    /**\n     * @ngdoc event\n     * @name $route#$routeChangeError\n     * @eventType broadcast on root scope\n     * @description\n     * Broadcasted if any of the resolve promises are rejected.\n     *\n     * @param {Object} angularEvent Synthetic event object\n     * @param {Route} current Current route information.\n     * @param {Route} previous Previous route information.\n     * @param {Route} rejection Rejection of the promise. Usually the error of the failed promise.\n     */\n\n    /**\n     * @ngdoc event\n     * @name $route#$routeUpdate\n     * @eventType broadcast on root scope\n     * @description\n     * The `reloadOnSearch` property has been set to false, and we are reusing the same\n     * instance of the Controller.\n     *\n     * @param {Object} angularEvent Synthetic event object\n     * @param {Route} current Current/previous route information.\n     */\n\n    var forceReload = false,\n        preparedRoute,\n        preparedRouteIsUpdateOnly,\n        $route = {\n          routes: routes,\n\n          /**\n           * @ngdoc method\n           * @name $route#reload\n           *\n           * @description\n           * Causes `$route` service to reload the current route even if\n           * {@link ng.$location $location} hasn't changed.\n           *\n           * As a result of that, {@link ngRoute.directive:ngView ngView}\n           * creates new scope and reinstantiates the controller.\n           */\n          reload: function() {\n            forceReload = true;\n            $rootScope.$evalAsync(function() {\n              // Don't support cancellation of a reload for now...\n              prepareRoute();\n              commitRoute();\n            });\n          },\n\n          /**\n           * @ngdoc method\n           * @name $route#updateParams\n           *\n           * @description\n           * Causes `$route` service to update the current URL, replacing\n           * current route parameters with those specified in `newParams`.\n           * Provided property names that match the route's path segment\n           * definitions will be interpolated into the location's path, while\n           * remaining properties will be treated as query params.\n           *\n           * @param {!Object<string, string>} newParams mapping of URL parameter names to values\n           */\n          updateParams: function(newParams) {\n            if (this.current && this.current.$$route) {\n              newParams = angular.extend({}, this.current.params, newParams);\n              $location.path(interpolate(this.current.$$route.originalPath, newParams));\n              // interpolate modifies newParams, only query params are left\n              $location.search(newParams);\n            } else {\n              throw $routeMinErr('norout', 'Tried updating route when with no current route');\n            }\n          }\n        };\n\n    $rootScope.$on('$locationChangeStart', prepareRoute);\n    $rootScope.$on('$locationChangeSuccess', commitRoute);\n\n    return $route;\n\n    /////////////////////////////////////////////////////\n\n    /**\n     * @param on {string} current url\n     * @param route {Object} route regexp to match the url against\n     * @return {?Object}\n     *\n     * @description\n     * Check if the route matches the current url.\n     *\n     * Inspired by match in\n     * visionmedia/express/lib/router/router.js.\n     */\n    function switchRouteMatcher(on, route) {\n      var keys = route.keys,\n          params = {};\n\n      if (!route.regexp) return null;\n\n      var m = route.regexp.exec(on);\n      if (!m) return null;\n\n      for (var i = 1, len = m.length; i < len; ++i) {\n        var key = keys[i - 1];\n\n        var val = m[i];\n\n        if (key && val) {\n          params[key.name] = val;\n        }\n      }\n      return params;\n    }\n\n    function prepareRoute($locationEvent) {\n      var lastRoute = $route.current;\n\n      preparedRoute = parseRoute();\n      preparedRouteIsUpdateOnly = preparedRoute && lastRoute && preparedRoute.$$route === lastRoute.$$route\n          && angular.equals(preparedRoute.pathParams, lastRoute.pathParams)\n          && !preparedRoute.reloadOnSearch && !forceReload;\n\n      if (!preparedRouteIsUpdateOnly && (lastRoute || preparedRoute)) {\n        if ($rootScope.$broadcast('$routeChangeStart', preparedRoute, lastRoute).defaultPrevented) {\n          if ($locationEvent) {\n            $locationEvent.preventDefault();\n          }\n        }\n      }\n    }\n\n    function commitRoute() {\n      var lastRoute = $route.current;\n      var nextRoute = preparedRoute;\n\n      if (preparedRouteIsUpdateOnly) {\n        lastRoute.params = nextRoute.params;\n        angular.copy(lastRoute.params, $routeParams);\n        $rootScope.$broadcast('$routeUpdate', lastRoute);\n      } else if (nextRoute || lastRoute) {\n        forceReload = false;\n        $route.current = nextRoute;\n        if (nextRoute) {\n          if (nextRoute.redirectTo) {\n            if (angular.isString(nextRoute.redirectTo)) {\n              $location.path(interpolate(nextRoute.redirectTo, nextRoute.params)).search(nextRoute.params)\n                       .replace();\n            } else {\n              $location.url(nextRoute.redirectTo(nextRoute.pathParams, $location.path(), $location.search()))\n                       .replace();\n            }\n          }\n        }\n\n        $q.when(nextRoute).\n          then(function() {\n            if (nextRoute) {\n              var locals = angular.extend({}, nextRoute.resolve),\n                  template, templateUrl;\n\n              angular.forEach(locals, function(value, key) {\n                locals[key] = angular.isString(value) ?\n                    $injector.get(value) : $injector.invoke(value, null, null, key);\n              });\n\n              if (angular.isDefined(template = nextRoute.template)) {\n                if (angular.isFunction(template)) {\n                  template = template(nextRoute.params);\n                }\n              } else if (angular.isDefined(templateUrl = nextRoute.templateUrl)) {\n                if (angular.isFunction(templateUrl)) {\n                  templateUrl = templateUrl(nextRoute.params);\n                }\n                if (angular.isDefined(templateUrl)) {\n                  nextRoute.loadedTemplateUrl = $sce.valueOf(templateUrl);\n                  template = $templateRequest(templateUrl);\n                }\n              }\n              if (angular.isDefined(template)) {\n                locals['$template'] = template;\n              }\n              return $q.all(locals);\n            }\n          }).\n          then(function(locals) {\n            // after route change\n            if (nextRoute == $route.current) {\n              if (nextRoute) {\n                nextRoute.locals = locals;\n                angular.copy(nextRoute.params, $routeParams);\n              }\n              $rootScope.$broadcast('$routeChangeSuccess', nextRoute, lastRoute);\n            }\n          }, function(error) {\n            if (nextRoute == $route.current) {\n              $rootScope.$broadcast('$routeChangeError', nextRoute, lastRoute, error);\n            }\n          });\n      }\n    }\n\n\n    /**\n     * @returns {Object} the current active route, by matching it against the URL\n     */\n    function parseRoute() {\n      // Match a route\n      var params, match;\n      angular.forEach(routes, function(route, path) {\n        if (!match && (params = switchRouteMatcher($location.path(), route))) {\n          match = inherit(route, {\n            params: angular.extend({}, $location.search(), params),\n            pathParams: params});\n          match.$$route = route;\n        }\n      });\n      // No route matched; fallback to \"otherwise\" route\n      return match || routes[null] && inherit(routes[null], {params: {}, pathParams:{}});\n    }\n\n    /**\n     * @returns {string} interpolation of the redirect path with the parameters\n     */\n    function interpolate(string, params) {\n      var result = [];\n      angular.forEach((string || '').split(':'), function(segment, i) {\n        if (i === 0) {\n          result.push(segment);\n        } else {\n          var segmentMatch = segment.match(/(\\w+)(?:[?*])?(.*)/);\n          var key = segmentMatch[1];\n          result.push(params[key]);\n          result.push(segmentMatch[2] || '');\n          delete params[key];\n        }\n      });\n      return result.join('');\n    }\n  }];\n}\n\nngRouteModule.provider('$routeParams', $RouteParamsProvider);\n\n\n/**\n * @ngdoc service\n * @name $routeParams\n * @requires $route\n *\n * @description\n * The `$routeParams` service allows you to retrieve the current set of route parameters.\n *\n * Requires the {@link ngRoute `ngRoute`} module to be installed.\n *\n * The route parameters are a combination of {@link ng.$location `$location`}'s\n * {@link ng.$location#search `search()`} and {@link ng.$location#path `path()`}.\n * The `path` parameters are extracted when the {@link ngRoute.$route `$route`} path is matched.\n *\n * In case of parameter name collision, `path` params take precedence over `search` params.\n *\n * The service guarantees that the identity of the `$routeParams` object will remain unchanged\n * (but its properties will likely change) even when a route change occurs.\n *\n * Note that the `$routeParams` are only updated *after* a route change completes successfully.\n * This means that you cannot rely on `$routeParams` being correct in route resolve functions.\n * Instead you can use `$route.current.params` to access the new route's parameters.\n *\n * @example\n * ```js\n *  // Given:\n *  // URL: http://server.com/index.html#/Chapter/1/Section/2?search=moby\n *  // Route: /Chapter/:chapterId/Section/:sectionId\n *  //\n *  // Then\n *  $routeParams ==> {chapterId:'1', sectionId:'2', search:'moby'}\n * ```\n */\nfunction $RouteParamsProvider() {\n  this.$get = function() { return {}; };\n}\n\nngRouteModule.directive('ngView', ngViewFactory);\nngRouteModule.directive('ngView', ngViewFillContentFactory);\n\n\n/**\n * @ngdoc directive\n * @name ngView\n * @restrict ECA\n *\n * @description\n * # Overview\n * `ngView` is a directive that complements the {@link ngRoute.$route $route} service by\n * including the rendered template of the current route into the main layout (`index.html`) file.\n * Every time the current route changes, the included view changes with it according to the\n * configuration of the `$route` service.\n *\n * Requires the {@link ngRoute `ngRoute`} module to be installed.\n *\n * @animations\n * enter - animation is used to bring new content into the browser.\n * leave - animation is used to animate existing content away.\n *\n * The enter and leave animation occur concurrently.\n *\n * @scope\n * @priority 400\n * @param {string=} onload Expression to evaluate whenever the view updates.\n *\n * @param {string=} autoscroll Whether `ngView` should call {@link ng.$anchorScroll\n *                  $anchorScroll} to scroll the viewport after the view is updated.\n *\n *                  - If the attribute is not set, disable scrolling.\n *                  - If the attribute is set without value, enable scrolling.\n *                  - Otherwise enable scrolling only if the `autoscroll` attribute value evaluated\n *                    as an expression yields a truthy value.\n * @example\n    <example name=\"ngView-directive\" module=\"ngViewExample\"\n             deps=\"angular-route.js;angular-animate.js\"\n             animations=\"true\" fixBase=\"true\">\n      <file name=\"index.html\">\n        <div ng-controller=\"MainCtrl as main\">\n          Choose:\n          <a href=\"Book/Moby\">Moby</a> |\n          <a href=\"Book/Moby/ch/1\">Moby: Ch1</a> |\n          <a href=\"Book/Gatsby\">Gatsby</a> |\n          <a href=\"Book/Gatsby/ch/4?key=value\">Gatsby: Ch4</a> |\n          <a href=\"Book/Scarlet\">Scarlet Letter</a><br/>\n\n          <div class=\"view-animate-container\">\n            <div ng-view class=\"view-animate\"></div>\n          </div>\n          <hr />\n\n          <pre>$location.path() = {{main.$location.path()}}</pre>\n          <pre>$route.current.templateUrl = {{main.$route.current.templateUrl}}</pre>\n          <pre>$route.current.params = {{main.$route.current.params}}</pre>\n          <pre>$routeParams = {{main.$routeParams}}</pre>\n        </div>\n      </file>\n\n      <file name=\"book.html\">\n        <div>\n          controller: {{book.name}}<br />\n          Book Id: {{book.params.bookId}}<br />\n        </div>\n      </file>\n\n      <file name=\"chapter.html\">\n        <div>\n          controller: {{chapter.name}}<br />\n          Book Id: {{chapter.params.bookId}}<br />\n          Chapter Id: {{chapter.params.chapterId}}\n        </div>\n      </file>\n\n      <file name=\"animations.css\">\n        .view-animate-container {\n          position:relative;\n          height:100px!important;\n          background:white;\n          border:1px solid black;\n          height:40px;\n          overflow:hidden;\n        }\n\n        .view-animate {\n          padding:10px;\n        }\n\n        .view-animate.ng-enter, .view-animate.ng-leave {\n          transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 1.5s;\n\n          display:block;\n          width:100%;\n          border-left:1px solid black;\n\n          position:absolute;\n          top:0;\n          left:0;\n          right:0;\n          bottom:0;\n          padding:10px;\n        }\n\n        .view-animate.ng-enter {\n          left:100%;\n        }\n        .view-animate.ng-enter.ng-enter-active {\n          left:0;\n        }\n        .view-animate.ng-leave.ng-leave-active {\n          left:-100%;\n        }\n      </file>\n\n      <file name=\"script.js\">\n        angular.module('ngViewExample', ['ngRoute', 'ngAnimate'])\n          .config(['$routeProvider', '$locationProvider',\n            function($routeProvider, $locationProvider) {\n              $routeProvider\n                .when('/Book/:bookId', {\n                  templateUrl: 'book.html',\n                  controller: 'BookCtrl',\n                  controllerAs: 'book'\n                })\n                .when('/Book/:bookId/ch/:chapterId', {\n                  templateUrl: 'chapter.html',\n                  controller: 'ChapterCtrl',\n                  controllerAs: 'chapter'\n                });\n\n              $locationProvider.html5Mode(true);\n          }])\n          .controller('MainCtrl', ['$route', '$routeParams', '$location',\n            function($route, $routeParams, $location) {\n              this.$route = $route;\n              this.$location = $location;\n              this.$routeParams = $routeParams;\n          }])\n          .controller('BookCtrl', ['$routeParams', function($routeParams) {\n            this.name = \"BookCtrl\";\n            this.params = $routeParams;\n          }])\n          .controller('ChapterCtrl', ['$routeParams', function($routeParams) {\n            this.name = \"ChapterCtrl\";\n            this.params = $routeParams;\n          }]);\n\n      </file>\n\n      <file name=\"protractor.js\" type=\"protractor\">\n        it('should load and compile correct template', function() {\n          element(by.linkText('Moby: Ch1')).click();\n          var content = element(by.css('[ng-view]')).getText();\n          expect(content).toMatch(/controller\\: ChapterCtrl/);\n          expect(content).toMatch(/Book Id\\: Moby/);\n          expect(content).toMatch(/Chapter Id\\: 1/);\n\n          element(by.partialLinkText('Scarlet')).click();\n\n          content = element(by.css('[ng-view]')).getText();\n          expect(content).toMatch(/controller\\: BookCtrl/);\n          expect(content).toMatch(/Book Id\\: Scarlet/);\n        });\n      </file>\n    </example>\n */\n\n\n/**\n * @ngdoc event\n * @name ngView#$viewContentLoaded\n * @eventType emit on the current ngView scope\n * @description\n * Emitted every time the ngView content is reloaded.\n */\nngViewFactory.$inject = ['$route', '$anchorScroll', '$animate'];\nfunction ngViewFactory($route, $anchorScroll, $animate) {\n  return {\n    restrict: 'ECA',\n    terminal: true,\n    priority: 400,\n    transclude: 'element',\n    link: function(scope, $element, attr, ctrl, $transclude) {\n        var currentScope,\n            currentElement,\n            previousLeaveAnimation,\n            autoScrollExp = attr.autoscroll,\n            onloadExp = attr.onload || '';\n\n        scope.$on('$routeChangeSuccess', update);\n        update();\n\n        function cleanupLastView() {\n          if (previousLeaveAnimation) {\n            $animate.cancel(previousLeaveAnimation);\n            previousLeaveAnimation = null;\n          }\n\n          if (currentScope) {\n            currentScope.$destroy();\n            currentScope = null;\n          }\n          if (currentElement) {\n            previousLeaveAnimation = $animate.leave(currentElement);\n            previousLeaveAnimation.then(function() {\n              previousLeaveAnimation = null;\n            });\n            currentElement = null;\n          }\n        }\n\n        function update() {\n          var locals = $route.current && $route.current.locals,\n              template = locals && locals.$template;\n\n          if (angular.isDefined(template)) {\n            var newScope = scope.$new();\n            var current = $route.current;\n\n            // Note: This will also link all children of ng-view that were contained in the original\n            // html. If that content contains controllers, ... they could pollute/change the scope.\n            // However, using ng-view on an element with additional content does not make sense...\n            // Note: We can't remove them in the cloneAttchFn of $transclude as that\n            // function is called before linking the content, which would apply child\n            // directives to non existing elements.\n            var clone = $transclude(newScope, function(clone) {\n              $animate.enter(clone, null, currentElement || $element).then(function onNgViewEnter() {\n                if (angular.isDefined(autoScrollExp)\n                  && (!autoScrollExp || scope.$eval(autoScrollExp))) {\n                  $anchorScroll();\n                }\n              });\n              cleanupLastView();\n            });\n\n            currentElement = clone;\n            currentScope = current.scope = newScope;\n            currentScope.$emit('$viewContentLoaded');\n            currentScope.$eval(onloadExp);\n          } else {\n            cleanupLastView();\n          }\n        }\n    }\n  };\n}\n\n// This directive is called during the $transclude call of the first `ngView` directive.\n// It will replace and compile the content of the element with the loaded template.\n// We need this directive so that the element content is already filled when\n// the link function of another directive on the same element as ngView\n// is called.\nngViewFillContentFactory.$inject = ['$compile', '$controller', '$route'];\nfunction ngViewFillContentFactory($compile, $controller, $route) {\n  return {\n    restrict: 'ECA',\n    priority: -400,\n    link: function(scope, $element) {\n      var current = $route.current,\n          locals = current.locals;\n\n      $element.html(locals.$template);\n\n      var link = $compile($element.contents());\n\n      if (current.controller) {\n        locals.$scope = scope;\n        var controller = $controller(current.controller, locals);\n        if (current.controllerAs) {\n          scope[current.controllerAs] = controller;\n        }\n        $element.data('$ngControllerController', controller);\n        $element.children().data('$ngControllerController', controller);\n      }\n\n      link(scope);\n    }\n  };\n}\n\n\n})(window, window.angular);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/angular-sanitize.js",
    "content": "/**\n * @license AngularJS v1.4.8\n * (c) 2010-2015 Google, Inc. http://angularjs.org\n * License: MIT\n */\n(function(window, angular, undefined) {'use strict';\n\n/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n *     Any commits to this file should be reviewed with security in mind.  *\n *   Changes to this file can potentially create security vulnerabilities. *\n *          An approval from 2 Core members with history of modifying      *\n *                         this file is required.                          *\n *                                                                         *\n *  Does the change somehow allow for arbitrary javascript to be executed? *\n *    Or allows for someone to change the prototype of built-in objects?   *\n *     Or gives undesired access to variables likes document or window?    *\n * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */\n\nvar $sanitizeMinErr = angular.$$minErr('$sanitize');\n\n/**\n * @ngdoc module\n * @name ngSanitize\n * @description\n *\n * # ngSanitize\n *\n * The `ngSanitize` module provides functionality to sanitize HTML.\n *\n *\n * <div doc-module-components=\"ngSanitize\"></div>\n *\n * See {@link ngSanitize.$sanitize `$sanitize`} for usage.\n */\n\n/*\n * HTML Parser By Misko Hevery (misko@hevery.com)\n * based on:  HTML Parser By John Resig (ejohn.org)\n * Original code by Erik Arvidsson, Mozilla Public License\n * http://erik.eae.net/simplehtmlparser/simplehtmlparser.js\n *\n * // Use like so:\n * htmlParser(htmlString, {\n *     start: function(tag, attrs, unary) {},\n *     end: function(tag) {},\n *     chars: function(text) {},\n *     comment: function(text) {}\n * });\n *\n */\n\n\n/**\n * @ngdoc service\n * @name $sanitize\n * @kind function\n *\n * @description\n *   The input is sanitized by parsing the HTML into tokens. All safe tokens (from a whitelist) are\n *   then serialized back to properly escaped html string. This means that no unsafe input can make\n *   it into the returned string, however, since our parser is more strict than a typical browser\n *   parser, it's possible that some obscure input, which would be recognized as valid HTML by a\n *   browser, won't make it through the sanitizer. The input may also contain SVG markup.\n *   The whitelist is configured using the functions `aHrefSanitizationWhitelist` and\n *   `imgSrcSanitizationWhitelist` of {@link ng.$compileProvider `$compileProvider`}.\n *\n * @param {string} html HTML input.\n * @returns {string} Sanitized HTML.\n *\n * @example\n   <example module=\"sanitizeExample\" deps=\"angular-sanitize.js\">\n   <file name=\"index.html\">\n     <script>\n         angular.module('sanitizeExample', ['ngSanitize'])\n           .controller('ExampleController', ['$scope', '$sce', function($scope, $sce) {\n             $scope.snippet =\n               '<p style=\"color:blue\">an html\\n' +\n               '<em onmouseover=\"this.textContent=\\'PWN3D!\\'\">click here</em>\\n' +\n               'snippet</p>';\n             $scope.deliberatelyTrustDangerousSnippet = function() {\n               return $sce.trustAsHtml($scope.snippet);\n             };\n           }]);\n     </script>\n     <div ng-controller=\"ExampleController\">\n        Snippet: <textarea ng-model=\"snippet\" cols=\"60\" rows=\"3\"></textarea>\n       <table>\n         <tr>\n           <td>Directive</td>\n           <td>How</td>\n           <td>Source</td>\n           <td>Rendered</td>\n         </tr>\n         <tr id=\"bind-html-with-sanitize\">\n           <td>ng-bind-html</td>\n           <td>Automatically uses $sanitize</td>\n           <td><pre>&lt;div ng-bind-html=\"snippet\"&gt;<br/>&lt;/div&gt;</pre></td>\n           <td><div ng-bind-html=\"snippet\"></div></td>\n         </tr>\n         <tr id=\"bind-html-with-trust\">\n           <td>ng-bind-html</td>\n           <td>Bypass $sanitize by explicitly trusting the dangerous value</td>\n           <td>\n           <pre>&lt;div ng-bind-html=\"deliberatelyTrustDangerousSnippet()\"&gt;\n&lt;/div&gt;</pre>\n           </td>\n           <td><div ng-bind-html=\"deliberatelyTrustDangerousSnippet()\"></div></td>\n         </tr>\n         <tr id=\"bind-default\">\n           <td>ng-bind</td>\n           <td>Automatically escapes</td>\n           <td><pre>&lt;div ng-bind=\"snippet\"&gt;<br/>&lt;/div&gt;</pre></td>\n           <td><div ng-bind=\"snippet\"></div></td>\n         </tr>\n       </table>\n       </div>\n   </file>\n   <file name=\"protractor.js\" type=\"protractor\">\n     it('should sanitize the html snippet by default', function() {\n       expect(element(by.css('#bind-html-with-sanitize div')).getInnerHtml()).\n         toBe('<p>an html\\n<em>click here</em>\\nsnippet</p>');\n     });\n\n     it('should inline raw snippet if bound to a trusted value', function() {\n       expect(element(by.css('#bind-html-with-trust div')).getInnerHtml()).\n         toBe(\"<p style=\\\"color:blue\\\">an html\\n\" +\n              \"<em onmouseover=\\\"this.textContent='PWN3D!'\\\">click here</em>\\n\" +\n              \"snippet</p>\");\n     });\n\n     it('should escape snippet without any filter', function() {\n       expect(element(by.css('#bind-default div')).getInnerHtml()).\n         toBe(\"&lt;p style=\\\"color:blue\\\"&gt;an html\\n\" +\n              \"&lt;em onmouseover=\\\"this.textContent='PWN3D!'\\\"&gt;click here&lt;/em&gt;\\n\" +\n              \"snippet&lt;/p&gt;\");\n     });\n\n     it('should update', function() {\n       element(by.model('snippet')).clear();\n       element(by.model('snippet')).sendKeys('new <b onclick=\"alert(1)\">text</b>');\n       expect(element(by.css('#bind-html-with-sanitize div')).getInnerHtml()).\n         toBe('new <b>text</b>');\n       expect(element(by.css('#bind-html-with-trust div')).getInnerHtml()).toBe(\n         'new <b onclick=\"alert(1)\">text</b>');\n       expect(element(by.css('#bind-default div')).getInnerHtml()).toBe(\n         \"new &lt;b onclick=\\\"alert(1)\\\"&gt;text&lt;/b&gt;\");\n     });\n   </file>\n   </example>\n */\nfunction $SanitizeProvider() {\n  this.$get = ['$$sanitizeUri', function($$sanitizeUri) {\n    return function(html) {\n      var buf = [];\n      htmlParser(html, htmlSanitizeWriter(buf, function(uri, isImage) {\n        return !/^unsafe/.test($$sanitizeUri(uri, isImage));\n      }));\n      return buf.join('');\n    };\n  }];\n}\n\nfunction sanitizeText(chars) {\n  var buf = [];\n  var writer = htmlSanitizeWriter(buf, angular.noop);\n  writer.chars(chars);\n  return buf.join('');\n}\n\n\n// Regular Expressions for parsing tags and attributes\nvar START_TAG_REGEXP =\n       /^<((?:[a-zA-Z])[\\w:-]*)((?:\\s+[\\w:-]+(?:\\s*=\\s*(?:(?:\"[^\"]*\")|(?:'[^']*')|[^>\\s]+))?)*)\\s*(\\/?)\\s*(>?)/,\n  END_TAG_REGEXP = /^<\\/\\s*([\\w:-]+)[^>]*>/,\n  ATTR_REGEXP = /([\\w:-]+)(?:\\s*=\\s*(?:(?:\"((?:[^\"])*)\")|(?:'((?:[^'])*)')|([^>\\s]+)))?/g,\n  BEGIN_TAG_REGEXP = /^</,\n  BEGING_END_TAGE_REGEXP = /^<\\//,\n  COMMENT_REGEXP = /<!--(.*?)-->/g,\n  DOCTYPE_REGEXP = /<!DOCTYPE([^>]*?)>/i,\n  CDATA_REGEXP = /<!\\[CDATA\\[(.*?)]]>/g,\n  SURROGATE_PAIR_REGEXP = /[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g,\n  // Match everything outside of normal chars and \" (quote character)\n  NON_ALPHANUMERIC_REGEXP = /([^\\#-~| |!])/g;\n\n\n// Good source of info about elements and attributes\n// http://dev.w3.org/html5/spec/Overview.html#semantics\n// http://simon.html5.org/html-elements\n\n// Safe Void Elements - HTML5\n// http://dev.w3.org/html5/spec/Overview.html#void-elements\nvar voidElements = makeMap(\"area,br,col,hr,img,wbr\");\n\n// Elements that you can, intentionally, leave open (and which close themselves)\n// http://dev.w3.org/html5/spec/Overview.html#optional-tags\nvar optionalEndTagBlockElements = makeMap(\"colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr\"),\n    optionalEndTagInlineElements = makeMap(\"rp,rt\"),\n    optionalEndTagElements = angular.extend({},\n                                            optionalEndTagInlineElements,\n                                            optionalEndTagBlockElements);\n\n// Safe Block Elements - HTML5\nvar blockElements = angular.extend({}, optionalEndTagBlockElements, makeMap(\"address,article,\" +\n        \"aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,\" +\n        \"h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,script,section,table,ul\"));\n\n// Inline Elements - HTML5\nvar inlineElements = angular.extend({}, optionalEndTagInlineElements, makeMap(\"a,abbr,acronym,b,\" +\n        \"bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,\" +\n        \"samp,small,span,strike,strong,sub,sup,time,tt,u,var\"));\n\n// SVG Elements\n// https://wiki.whatwg.org/wiki/Sanitization_rules#svg_Elements\n// Note: the elements animate,animateColor,animateMotion,animateTransform,set are intentionally omitted.\n// They can potentially allow for arbitrary javascript to be executed. See #11290\nvar svgElements = makeMap(\"circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,\" +\n        \"hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,\" +\n        \"radialGradient,rect,stop,svg,switch,text,title,tspan,use\");\n\n// Special Elements (can contain anything)\nvar specialElements = makeMap(\"script,style\");\n\nvar validElements = angular.extend({},\n                                   voidElements,\n                                   blockElements,\n                                   inlineElements,\n                                   optionalEndTagElements,\n                                   svgElements);\n\n//Attributes that have href and hence need to be sanitized\nvar uriAttrs = makeMap(\"background,cite,href,longdesc,src,usemap,xlink:href\");\n\nvar htmlAttrs = makeMap('abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,' +\n    'color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,' +\n    'ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,' +\n    'scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,' +\n    'valign,value,vspace,width');\n\n// SVG attributes (without \"id\" and \"name\" attributes)\n// https://wiki.whatwg.org/wiki/Sanitization_rules#svg_Attributes\nvar svgAttrs = makeMap('accent-height,accumulate,additive,alphabetic,arabic-form,ascent,' +\n    'baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,' +\n    'cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,' +\n    'font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,' +\n    'height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,' +\n    'marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,' +\n    'max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,' +\n    'path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,' +\n    'requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,' +\n    'stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,' +\n    'stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,' +\n    'stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,' +\n    'underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,' +\n    'width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,' +\n    'xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan', true);\n\nvar validAttrs = angular.extend({},\n                                uriAttrs,\n                                svgAttrs,\n                                htmlAttrs);\n\nfunction makeMap(str, lowercaseKeys) {\n  var obj = {}, items = str.split(','), i;\n  for (i = 0; i < items.length; i++) {\n    obj[lowercaseKeys ? angular.lowercase(items[i]) : items[i]] = true;\n  }\n  return obj;\n}\n\n\n/**\n * @example\n * htmlParser(htmlString, {\n *     start: function(tag, attrs, unary) {},\n *     end: function(tag) {},\n *     chars: function(text) {},\n *     comment: function(text) {}\n * });\n *\n * @param {string} html string\n * @param {object} handler\n */\nfunction htmlParser(html, handler) {\n  if (typeof html !== 'string') {\n    if (html === null || typeof html === 'undefined') {\n      html = '';\n    } else {\n      html = '' + html;\n    }\n  }\n  var index, chars, match, stack = [], last = html, text;\n  stack.last = function() { return stack[stack.length - 1]; };\n\n  while (html) {\n    text = '';\n    chars = true;\n\n    // Make sure we're not in a script or style element\n    if (!stack.last() || !specialElements[stack.last()]) {\n\n      // Comment\n      if (html.indexOf(\"<!--\") === 0) {\n        // comments containing -- are not allowed unless they terminate the comment\n        index = html.indexOf(\"--\", 4);\n\n        if (index >= 0 && html.lastIndexOf(\"-->\", index) === index) {\n          if (handler.comment) handler.comment(html.substring(4, index));\n          html = html.substring(index + 3);\n          chars = false;\n        }\n      // DOCTYPE\n      } else if (DOCTYPE_REGEXP.test(html)) {\n        match = html.match(DOCTYPE_REGEXP);\n\n        if (match) {\n          html = html.replace(match[0], '');\n          chars = false;\n        }\n      // end tag\n      } else if (BEGING_END_TAGE_REGEXP.test(html)) {\n        match = html.match(END_TAG_REGEXP);\n\n        if (match) {\n          html = html.substring(match[0].length);\n          match[0].replace(END_TAG_REGEXP, parseEndTag);\n          chars = false;\n        }\n\n      // start tag\n      } else if (BEGIN_TAG_REGEXP.test(html)) {\n        match = html.match(START_TAG_REGEXP);\n\n        if (match) {\n          // We only have a valid start-tag if there is a '>'.\n          if (match[4]) {\n            html = html.substring(match[0].length);\n            match[0].replace(START_TAG_REGEXP, parseStartTag);\n          }\n          chars = false;\n        } else {\n          // no ending tag found --- this piece should be encoded as an entity.\n          text += '<';\n          html = html.substring(1);\n        }\n      }\n\n      if (chars) {\n        index = html.indexOf(\"<\");\n\n        text += index < 0 ? html : html.substring(0, index);\n        html = index < 0 ? \"\" : html.substring(index);\n\n        if (handler.chars) handler.chars(decodeEntities(text));\n      }\n\n    } else {\n      // IE versions 9 and 10 do not understand the regex '[^]', so using a workaround with [\\W\\w].\n      html = html.replace(new RegExp(\"([\\\\W\\\\w]*)<\\\\s*\\\\/\\\\s*\" + stack.last() + \"[^>]*>\", 'i'),\n        function(all, text) {\n          text = text.replace(COMMENT_REGEXP, \"$1\").replace(CDATA_REGEXP, \"$1\");\n\n          if (handler.chars) handler.chars(decodeEntities(text));\n\n          return \"\";\n      });\n\n      parseEndTag(\"\", stack.last());\n    }\n\n    if (html == last) {\n      throw $sanitizeMinErr('badparse', \"The sanitizer was unable to parse the following block \" +\n                                        \"of html: {0}\", html);\n    }\n    last = html;\n  }\n\n  // Clean up any remaining tags\n  parseEndTag();\n\n  function parseStartTag(tag, tagName, rest, unary) {\n    tagName = angular.lowercase(tagName);\n    if (blockElements[tagName]) {\n      while (stack.last() && inlineElements[stack.last()]) {\n        parseEndTag(\"\", stack.last());\n      }\n    }\n\n    if (optionalEndTagElements[tagName] && stack.last() == tagName) {\n      parseEndTag(\"\", tagName);\n    }\n\n    unary = voidElements[tagName] || !!unary;\n\n    if (!unary) {\n      stack.push(tagName);\n    }\n\n    var attrs = {};\n\n    rest.replace(ATTR_REGEXP,\n      function(match, name, doubleQuotedValue, singleQuotedValue, unquotedValue) {\n        var value = doubleQuotedValue\n          || singleQuotedValue\n          || unquotedValue\n          || '';\n\n        attrs[name] = decodeEntities(value);\n    });\n    if (handler.start) handler.start(tagName, attrs, unary);\n  }\n\n  function parseEndTag(tag, tagName) {\n    var pos = 0, i;\n    tagName = angular.lowercase(tagName);\n    if (tagName) {\n      // Find the closest opened tag of the same type\n      for (pos = stack.length - 1; pos >= 0; pos--) {\n        if (stack[pos] == tagName) break;\n      }\n    }\n\n    if (pos >= 0) {\n      // Close all the open elements, up the stack\n      for (i = stack.length - 1; i >= pos; i--)\n        if (handler.end) handler.end(stack[i]);\n\n      // Remove the open elements from the stack\n      stack.length = pos;\n    }\n  }\n}\n\nvar hiddenPre=document.createElement(\"pre\");\n/**\n * decodes all entities into regular string\n * @param value\n * @returns {string} A string with decoded entities.\n */\nfunction decodeEntities(value) {\n  if (!value) { return ''; }\n\n  hiddenPre.innerHTML = value.replace(/</g,\"&lt;\");\n  // innerText depends on styling as it doesn't display hidden elements.\n  // Therefore, it's better to use textContent not to cause unnecessary reflows.\n  return hiddenPre.textContent;\n}\n\n/**\n * Escapes all potentially dangerous characters, so that the\n * resulting string can be safely inserted into attribute or\n * element text.\n * @param value\n * @returns {string} escaped text\n */\nfunction encodeEntities(value) {\n  return value.\n    replace(/&/g, '&amp;').\n    replace(SURROGATE_PAIR_REGEXP, function(value) {\n      var hi = value.charCodeAt(0);\n      var low = value.charCodeAt(1);\n      return '&#' + (((hi - 0xD800) * 0x400) + (low - 0xDC00) + 0x10000) + ';';\n    }).\n    replace(NON_ALPHANUMERIC_REGEXP, function(value) {\n      return '&#' + value.charCodeAt(0) + ';';\n    }).\n    replace(/</g, '&lt;').\n    replace(/>/g, '&gt;');\n}\n\n/**\n * create an HTML/XML writer which writes to buffer\n * @param {Array} buf use buf.jain('') to get out sanitized html string\n * @returns {object} in the form of {\n *     start: function(tag, attrs, unary) {},\n *     end: function(tag) {},\n *     chars: function(text) {},\n *     comment: function(text) {}\n * }\n */\nfunction htmlSanitizeWriter(buf, uriValidator) {\n  var ignore = false;\n  var out = angular.bind(buf, buf.push);\n  return {\n    start: function(tag, attrs, unary) {\n      tag = angular.lowercase(tag);\n      if (!ignore && specialElements[tag]) {\n        ignore = tag;\n      }\n      if (!ignore && validElements[tag] === true) {\n        out('<');\n        out(tag);\n        angular.forEach(attrs, function(value, key) {\n          var lkey=angular.lowercase(key);\n          var isImage = (tag === 'img' && lkey === 'src') || (lkey === 'background');\n          if (validAttrs[lkey] === true &&\n            (uriAttrs[lkey] !== true || uriValidator(value, isImage))) {\n            out(' ');\n            out(key);\n            out('=\"');\n            out(encodeEntities(value));\n            out('\"');\n          }\n        });\n        out(unary ? '/>' : '>');\n      }\n    },\n    end: function(tag) {\n        tag = angular.lowercase(tag);\n        if (!ignore && validElements[tag] === true) {\n          out('</');\n          out(tag);\n          out('>');\n        }\n        if (tag == ignore) {\n          ignore = false;\n        }\n      },\n    chars: function(chars) {\n        if (!ignore) {\n          out(encodeEntities(chars));\n        }\n      }\n  };\n}\n\n\n// define ngSanitize module and register $sanitize service\nangular.module('ngSanitize', []).provider('$sanitize', $SanitizeProvider);\n\n/* global sanitizeText: false */\n\n/**\n * @ngdoc filter\n * @name linky\n * @kind function\n *\n * @description\n * Finds links in text input and turns them into html links. Supports http/https/ftp/mailto and\n * plain email address links.\n *\n * Requires the {@link ngSanitize `ngSanitize`} module to be installed.\n *\n * @param {string} text Input text.\n * @param {string} target Window (_blank|_self|_parent|_top) or named frame to open links in.\n * @returns {string} Html-linkified text.\n *\n * @usage\n   <span ng-bind-html=\"linky_expression | linky\"></span>\n *\n * @example\n   <example module=\"linkyExample\" deps=\"angular-sanitize.js\">\n     <file name=\"index.html\">\n       <script>\n         angular.module('linkyExample', ['ngSanitize'])\n           .controller('ExampleController', ['$scope', function($scope) {\n             $scope.snippet =\n               'Pretty text with some links:\\n'+\n               'http://angularjs.org/,\\n'+\n               'mailto:us@somewhere.org,\\n'+\n               'another@somewhere.org,\\n'+\n               'and one more: ftp://127.0.0.1/.';\n             $scope.snippetWithTarget = 'http://angularjs.org/';\n           }]);\n       </script>\n       <div ng-controller=\"ExampleController\">\n       Snippet: <textarea ng-model=\"snippet\" cols=\"60\" rows=\"3\"></textarea>\n       <table>\n         <tr>\n           <td>Filter</td>\n           <td>Source</td>\n           <td>Rendered</td>\n         </tr>\n         <tr id=\"linky-filter\">\n           <td>linky filter</td>\n           <td>\n             <pre>&lt;div ng-bind-html=\"snippet | linky\"&gt;<br>&lt;/div&gt;</pre>\n           </td>\n           <td>\n             <div ng-bind-html=\"snippet | linky\"></div>\n           </td>\n         </tr>\n         <tr id=\"linky-target\">\n          <td>linky target</td>\n          <td>\n            <pre>&lt;div ng-bind-html=\"snippetWithTarget | linky:'_blank'\"&gt;<br>&lt;/div&gt;</pre>\n          </td>\n          <td>\n            <div ng-bind-html=\"snippetWithTarget | linky:'_blank'\"></div>\n          </td>\n         </tr>\n         <tr id=\"escaped-html\">\n           <td>no filter</td>\n           <td><pre>&lt;div ng-bind=\"snippet\"&gt;<br>&lt;/div&gt;</pre></td>\n           <td><div ng-bind=\"snippet\"></div></td>\n         </tr>\n       </table>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       it('should linkify the snippet with urls', function() {\n         expect(element(by.id('linky-filter')).element(by.binding('snippet | linky')).getText()).\n             toBe('Pretty text with some links: http://angularjs.org/, us@somewhere.org, ' +\n                  'another@somewhere.org, and one more: ftp://127.0.0.1/.');\n         expect(element.all(by.css('#linky-filter a')).count()).toEqual(4);\n       });\n\n       it('should not linkify snippet without the linky filter', function() {\n         expect(element(by.id('escaped-html')).element(by.binding('snippet')).getText()).\n             toBe('Pretty text with some links: http://angularjs.org/, mailto:us@somewhere.org, ' +\n                  'another@somewhere.org, and one more: ftp://127.0.0.1/.');\n         expect(element.all(by.css('#escaped-html a')).count()).toEqual(0);\n       });\n\n       it('should update', function() {\n         element(by.model('snippet')).clear();\n         element(by.model('snippet')).sendKeys('new http://link.');\n         expect(element(by.id('linky-filter')).element(by.binding('snippet | linky')).getText()).\n             toBe('new http://link.');\n         expect(element.all(by.css('#linky-filter a')).count()).toEqual(1);\n         expect(element(by.id('escaped-html')).element(by.binding('snippet')).getText())\n             .toBe('new http://link.');\n       });\n\n       it('should work with the target property', function() {\n        expect(element(by.id('linky-target')).\n            element(by.binding(\"snippetWithTarget | linky:'_blank'\")).getText()).\n            toBe('http://angularjs.org/');\n        expect(element(by.css('#linky-target a')).getAttribute('target')).toEqual('_blank');\n       });\n     </file>\n   </example>\n */\nangular.module('ngSanitize').filter('linky', ['$sanitize', function($sanitize) {\n  var LINKY_URL_REGEXP =\n        /((ftp|https?):\\/\\/|(www\\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\\S*[^\\s.;,(){}<>\"\\u201d\\u2019]/i,\n      MAILTO_REGEXP = /^mailto:/i;\n\n  return function(text, target) {\n    if (!text) return text;\n    var match;\n    var raw = text;\n    var html = [];\n    var url;\n    var i;\n    while ((match = raw.match(LINKY_URL_REGEXP))) {\n      // We can not end in these as they are sometimes found at the end of the sentence\n      url = match[0];\n      // if we did not match ftp/http/www/mailto then assume mailto\n      if (!match[2] && !match[4]) {\n        url = (match[3] ? 'http://' : 'mailto:') + url;\n      }\n      i = match.index;\n      addText(raw.substr(0, i));\n      addLink(url, match[0].replace(MAILTO_REGEXP, ''));\n      raw = raw.substring(i + match[0].length);\n    }\n    addText(raw);\n    return $sanitize(html.join(''));\n\n    function addText(text) {\n      if (!text) {\n        return;\n      }\n      html.push(sanitizeText(text));\n    }\n\n    function addLink(url, text) {\n      html.push('<a ');\n      if (angular.isDefined(target)) {\n        html.push('target=\"',\n                  target,\n                  '\" ');\n      }\n      html.push('href=\"',\n                url.replace(/\"/g, '&quot;'),\n                '\">');\n      addText(text);\n      html.push('</a>');\n    }\n  };\n}]);\n\n\n})(window, window.angular);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/angular-scenario.js",
    "content": "/*!\n * jQuery JavaScript Library v2.1.1\n * http://jquery.com/\n *\n * Includes Sizzle.js\n * http://sizzlejs.com/\n *\n * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors\n * Released under the MIT license\n * http://jquery.org/license\n *\n * Date: 2014-05-01T17:11Z\n */\n\n(function( global, factory ) {'use strict';\n\n\tif ( typeof module === \"object\" && typeof module.exports === \"object\" ) {\n\t\t// For CommonJS and CommonJS-like environments where a proper window is present,\n\t\t// execute the factory and get jQuery\n\t\t// For environments that do not inherently posses a window with a document\n\t\t// (such as Node.js), expose a jQuery-making factory as module.exports\n\t\t// This accentuates the need for the creation of a real window\n\t\t// e.g. var jQuery = require(\"jquery\")(window);\n\t\t// See ticket #14549 for more info\n\t\tmodule.exports = global.document ?\n\t\t\tfactory( global, true ) :\n\t\t\tfunction( w ) {\n\t\t\t\tif ( !w.document ) {\n\t\t\t\t\tthrow new Error( \"jQuery requires a window with a document\" );\n\t\t\t\t}\n\t\t\t\treturn factory( w );\n\t\t\t};\n\t} else {\n\t\tfactory( global );\n\t}\n\n// Pass this if window is not defined yet\n}(typeof window !== \"undefined\" ? window : this, function( window, noGlobal ) {\n\n// Can't do this because several apps including ASP.NET trace\n// the stack via arguments.caller.callee and Firefox dies if\n// you try to trace through \"use strict\" call chains. (#13335)\n// Support: Firefox 18+\n//\n\nvar arr = [];\n\nvar slice = arr.slice;\n\nvar concat = arr.concat;\n\nvar push = arr.push;\n\nvar indexOf = arr.indexOf;\n\nvar class2type = {};\n\nvar toString = class2type.toString;\n\nvar hasOwn = class2type.hasOwnProperty;\n\nvar support = {};\n\n\n\nvar\n\t// Use the correct document accordingly with window argument (sandbox)\n\tdocument = window.document,\n\n\tversion = \"2.1.1\",\n\n\t// Define a local copy of jQuery\n\tjQuery = function( selector, context ) {\n\t\t// The jQuery object is actually just the init constructor 'enhanced'\n\t\t// Need init if jQuery is called (just allow error to be thrown if not included)\n\t\treturn new jQuery.fn.init( selector, context );\n\t},\n\n\t// Support: Android<4.1\n\t// Make sure we trim BOM and NBSP\n\trtrim = /^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g,\n\n\t// Matches dashed string for camelizing\n\trmsPrefix = /^-ms-/,\n\trdashAlpha = /-([\\da-z])/gi,\n\n\t// Used by jQuery.camelCase as callback to replace()\n\tfcamelCase = function( all, letter ) {\n\t\treturn letter.toUpperCase();\n\t};\n\njQuery.fn = jQuery.prototype = {\n\t// The current version of jQuery being used\n\tjquery: version,\n\n\tconstructor: jQuery,\n\n\t// Start with an empty selector\n\tselector: \"\",\n\n\t// The default length of a jQuery object is 0\n\tlength: 0,\n\n\ttoArray: function() {\n\t\treturn slice.call( this );\n\t},\n\n\t// Get the Nth element in the matched element set OR\n\t// Get the whole matched element set as a clean array\n\tget: function( num ) {\n\t\treturn num != null ?\n\n\t\t\t// Return just the one element from the set\n\t\t\t( num < 0 ? this[ num + this.length ] : this[ num ] ) :\n\n\t\t\t// Return all the elements in a clean array\n\t\t\tslice.call( this );\n\t},\n\n\t// Take an array of elements and push it onto the stack\n\t// (returning the new matched element set)\n\tpushStack: function( elems ) {\n\n\t\t// Build a new jQuery matched element set\n\t\tvar ret = jQuery.merge( this.constructor(), elems );\n\n\t\t// Add the old object onto the stack (as a reference)\n\t\tret.prevObject = this;\n\t\tret.context = this.context;\n\n\t\t// Return the newly-formed element set\n\t\treturn ret;\n\t},\n\n\t// Execute a callback for every element in the matched set.\n\t// (You can seed the arguments with an array of args, but this is\n\t// only used internally.)\n\teach: function( callback, args ) {\n\t\treturn jQuery.each( this, callback, args );\n\t},\n\n\tmap: function( callback ) {\n\t\treturn this.pushStack( jQuery.map(this, function( elem, i ) {\n\t\t\treturn callback.call( elem, i, elem );\n\t\t}));\n\t},\n\n\tslice: function() {\n\t\treturn this.pushStack( slice.apply( this, arguments ) );\n\t},\n\n\tfirst: function() {\n\t\treturn this.eq( 0 );\n\t},\n\n\tlast: function() {\n\t\treturn this.eq( -1 );\n\t},\n\n\teq: function( i ) {\n\t\tvar len = this.length,\n\t\t\tj = +i + ( i < 0 ? len : 0 );\n\t\treturn this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] );\n\t},\n\n\tend: function() {\n\t\treturn this.prevObject || this.constructor(null);\n\t},\n\n\t// For internal use only.\n\t// Behaves like an Array's method, not like a jQuery method.\n\tpush: push,\n\tsort: arr.sort,\n\tsplice: arr.splice\n};\n\njQuery.extend = jQuery.fn.extend = function() {\n\tvar options, name, src, copy, copyIsArray, clone,\n\t\ttarget = arguments[0] || {},\n\t\ti = 1,\n\t\tlength = arguments.length,\n\t\tdeep = false;\n\n\t// Handle a deep copy situation\n\tif ( typeof target === \"boolean\" ) {\n\t\tdeep = target;\n\n\t\t// skip the boolean and the target\n\t\ttarget = arguments[ i ] || {};\n\t\ti++;\n\t}\n\n\t// Handle case when target is a string or something (possible in deep copy)\n\tif ( typeof target !== \"object\" && !jQuery.isFunction(target) ) {\n\t\ttarget = {};\n\t}\n\n\t// extend jQuery itself if only one argument is passed\n\tif ( i === length ) {\n\t\ttarget = this;\n\t\ti--;\n\t}\n\n\tfor ( ; i < length; i++ ) {\n\t\t// Only deal with non-null/undefined values\n\t\tif ( (options = arguments[ i ]) != null ) {\n\t\t\t// Extend the base object\n\t\t\tfor ( name in options ) {\n\t\t\t\tsrc = target[ name ];\n\t\t\t\tcopy = options[ name ];\n\n\t\t\t\t// Prevent never-ending loop\n\t\t\t\tif ( target === copy ) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// Recurse if we're merging plain objects or arrays\n\t\t\t\tif ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) {\n\t\t\t\t\tif ( copyIsArray ) {\n\t\t\t\t\t\tcopyIsArray = false;\n\t\t\t\t\t\tclone = src && jQuery.isArray(src) ? src : [];\n\n\t\t\t\t\t} else {\n\t\t\t\t\t\tclone = src && jQuery.isPlainObject(src) ? src : {};\n\t\t\t\t\t}\n\n\t\t\t\t\t// Never move original objects, clone them\n\t\t\t\t\ttarget[ name ] = jQuery.extend( deep, clone, copy );\n\n\t\t\t\t// Don't bring in undefined values\n\t\t\t\t} else if ( copy !== undefined ) {\n\t\t\t\t\ttarget[ name ] = copy;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Return the modified object\n\treturn target;\n};\n\njQuery.extend({\n\t// Unique for each copy of jQuery on the page\n\texpando: \"jQuery\" + ( version + Math.random() ).replace( /\\D/g, \"\" ),\n\n\t// Assume jQuery is ready without the ready module\n\tisReady: true,\n\n\terror: function( msg ) {\n\t\tthrow new Error( msg );\n\t},\n\n\tnoop: function() {},\n\n\t// See test/unit/core.js for details concerning isFunction.\n\t// Since version 1.3, DOM methods and functions like alert\n\t// aren't supported. They return false on IE (#2968).\n\tisFunction: function( obj ) {\n\t\treturn jQuery.type(obj) === \"function\";\n\t},\n\n\tisArray: Array.isArray,\n\n\tisWindow: function( obj ) {\n\t\treturn obj != null && obj === obj.window;\n\t},\n\n\tisNumeric: function( obj ) {\n\t\t// parseFloat NaNs numeric-cast false positives (null|true|false|\"\")\n\t\t// ...but misinterprets leading-number strings, particularly hex literals (\"0x...\")\n\t\t// subtraction forces infinities to NaN\n\t\treturn !jQuery.isArray( obj ) && obj - parseFloat( obj ) >= 0;\n\t},\n\n\tisPlainObject: function( obj ) {\n\t\t// Not plain objects:\n\t\t// - Any object or value whose internal [[Class]] property is not \"[object Object]\"\n\t\t// - DOM nodes\n\t\t// - window\n\t\tif ( jQuery.type( obj ) !== \"object\" || obj.nodeType || jQuery.isWindow( obj ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tif ( obj.constructor &&\n\t\t\t\t!hasOwn.call( obj.constructor.prototype, \"isPrototypeOf\" ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// If the function hasn't returned already, we're confident that\n\t\t// |obj| is a plain object, created by {} or constructed with new Object\n\t\treturn true;\n\t},\n\n\tisEmptyObject: function( obj ) {\n\t\tvar name;\n\t\tfor ( name in obj ) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t},\n\n\ttype: function( obj ) {\n\t\tif ( obj == null ) {\n\t\t\treturn obj + \"\";\n\t\t}\n\t\t// Support: Android < 4.0, iOS < 6 (functionish RegExp)\n\t\treturn typeof obj === \"object\" || typeof obj === \"function\" ?\n\t\t\tclass2type[ toString.call(obj) ] || \"object\" :\n\t\t\ttypeof obj;\n\t},\n\n\t// Evaluates a script in a global context\n\tglobalEval: function( code ) {\n\t\tvar script,\n\t\t\tindirect = eval;\n\n\t\tcode = jQuery.trim( code );\n\n\t\tif ( code ) {\n\t\t\t// If the code includes a valid, prologue position\n\t\t\t// strict mode pragma, execute code by injecting a\n\t\t\t// script tag into the document.\n\t\t\tif ( code.indexOf(\"use strict\") === 1 ) {\n\t\t\t\tscript = document.createElement(\"script\");\n\t\t\t\tscript.text = code;\n\t\t\t\tdocument.head.appendChild( script ).parentNode.removeChild( script );\n\t\t\t} else {\n\t\t\t// Otherwise, avoid the DOM node creation, insertion\n\t\t\t// and removal by using an indirect global eval\n\t\t\t\tindirect( code );\n\t\t\t}\n\t\t}\n\t},\n\n\t// Convert dashed to camelCase; used by the css and data modules\n\t// Microsoft forgot to hump their vendor prefix (#9572)\n\tcamelCase: function( string ) {\n\t\treturn string.replace( rmsPrefix, \"ms-\" ).replace( rdashAlpha, fcamelCase );\n\t},\n\n\tnodeName: function( elem, name ) {\n\t\treturn elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();\n\t},\n\n\t// args is for internal usage only\n\teach: function( obj, callback, args ) {\n\t\tvar value,\n\t\t\ti = 0,\n\t\t\tlength = obj.length,\n\t\t\tisArray = isArraylike( obj );\n\n\t\tif ( args ) {\n\t\t\tif ( isArray ) {\n\t\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\t\tvalue = callback.apply( obj[ i ], args );\n\n\t\t\t\t\tif ( value === false ) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor ( i in obj ) {\n\t\t\t\t\tvalue = callback.apply( obj[ i ], args );\n\n\t\t\t\t\tif ( value === false ) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t// A special, fast, case for the most common use of each\n\t\t} else {\n\t\t\tif ( isArray ) {\n\t\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\t\tvalue = callback.call( obj[ i ], i, obj[ i ] );\n\n\t\t\t\t\tif ( value === false ) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor ( i in obj ) {\n\t\t\t\t\tvalue = callback.call( obj[ i ], i, obj[ i ] );\n\n\t\t\t\t\tif ( value === false ) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn obj;\n\t},\n\n\t// Support: Android<4.1\n\ttrim: function( text ) {\n\t\treturn text == null ?\n\t\t\t\"\" :\n\t\t\t( text + \"\" ).replace( rtrim, \"\" );\n\t},\n\n\t// results is for internal usage only\n\tmakeArray: function( arr, results ) {\n\t\tvar ret = results || [];\n\n\t\tif ( arr != null ) {\n\t\t\tif ( isArraylike( Object(arr) ) ) {\n\t\t\t\tjQuery.merge( ret,\n\t\t\t\t\ttypeof arr === \"string\" ?\n\t\t\t\t\t[ arr ] : arr\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tpush.call( ret, arr );\n\t\t\t}\n\t\t}\n\n\t\treturn ret;\n\t},\n\n\tinArray: function( elem, arr, i ) {\n\t\treturn arr == null ? -1 : indexOf.call( arr, elem, i );\n\t},\n\n\tmerge: function( first, second ) {\n\t\tvar len = +second.length,\n\t\t\tj = 0,\n\t\t\ti = first.length;\n\n\t\tfor ( ; j < len; j++ ) {\n\t\t\tfirst[ i++ ] = second[ j ];\n\t\t}\n\n\t\tfirst.length = i;\n\n\t\treturn first;\n\t},\n\n\tgrep: function( elems, callback, invert ) {\n\t\tvar callbackInverse,\n\t\t\tmatches = [],\n\t\t\ti = 0,\n\t\t\tlength = elems.length,\n\t\t\tcallbackExpect = !invert;\n\n\t\t// Go through the array, only saving the items\n\t\t// that pass the validator function\n\t\tfor ( ; i < length; i++ ) {\n\t\t\tcallbackInverse = !callback( elems[ i ], i );\n\t\t\tif ( callbackInverse !== callbackExpect ) {\n\t\t\t\tmatches.push( elems[ i ] );\n\t\t\t}\n\t\t}\n\n\t\treturn matches;\n\t},\n\n\t// arg is for internal usage only\n\tmap: function( elems, callback, arg ) {\n\t\tvar value,\n\t\t\ti = 0,\n\t\t\tlength = elems.length,\n\t\t\tisArray = isArraylike( elems ),\n\t\t\tret = [];\n\n\t\t// Go through the array, translating each of the items to their new values\n\t\tif ( isArray ) {\n\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\tvalue = callback( elems[ i ], i, arg );\n\n\t\t\t\tif ( value != null ) {\n\t\t\t\t\tret.push( value );\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Go through every key on the object,\n\t\t} else {\n\t\t\tfor ( i in elems ) {\n\t\t\t\tvalue = callback( elems[ i ], i, arg );\n\n\t\t\t\tif ( value != null ) {\n\t\t\t\t\tret.push( value );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Flatten any nested arrays\n\t\treturn concat.apply( [], ret );\n\t},\n\n\t// A global GUID counter for objects\n\tguid: 1,\n\n\t// Bind a function to a context, optionally partially applying any\n\t// arguments.\n\tproxy: function( fn, context ) {\n\t\tvar tmp, args, proxy;\n\n\t\tif ( typeof context === \"string\" ) {\n\t\t\ttmp = fn[ context ];\n\t\t\tcontext = fn;\n\t\t\tfn = tmp;\n\t\t}\n\n\t\t// Quick check to determine if target is callable, in the spec\n\t\t// this throws a TypeError, but we will just return undefined.\n\t\tif ( !jQuery.isFunction( fn ) ) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\t// Simulated bind\n\t\targs = slice.call( arguments, 2 );\n\t\tproxy = function() {\n\t\t\treturn fn.apply( context || this, args.concat( slice.call( arguments ) ) );\n\t\t};\n\n\t\t// Set the guid of unique handler to the same of original handler, so it can be removed\n\t\tproxy.guid = fn.guid = fn.guid || jQuery.guid++;\n\n\t\treturn proxy;\n\t},\n\n\tnow: Date.now,\n\n\t// jQuery.support is not used in Core but other projects attach their\n\t// properties to it so it needs to exist.\n\tsupport: support\n});\n\n// Populate the class2type map\njQuery.each(\"Boolean Number String Function Array Date RegExp Object Error\".split(\" \"), function(i, name) {\n\tclass2type[ \"[object \" + name + \"]\" ] = name.toLowerCase();\n});\n\nfunction isArraylike( obj ) {\n\tvar length = obj.length,\n\t\ttype = jQuery.type( obj );\n\n\tif ( type === \"function\" || jQuery.isWindow( obj ) ) {\n\t\treturn false;\n\t}\n\n\tif ( obj.nodeType === 1 && length ) {\n\t\treturn true;\n\t}\n\n\treturn type === \"array\" || length === 0 ||\n\t\ttypeof length === \"number\" && length > 0 && ( length - 1 ) in obj;\n}\nvar Sizzle =\n/*!\n * Sizzle CSS Selector Engine v1.10.19\n * http://sizzlejs.com/\n *\n * Copyright 2013 jQuery Foundation, Inc. and other contributors\n * Released under the MIT license\n * http://jquery.org/license\n *\n * Date: 2014-04-18\n */\n(function( window ) {\n\nvar i,\n\tsupport,\n\tExpr,\n\tgetText,\n\tisXML,\n\ttokenize,\n\tcompile,\n\tselect,\n\toutermostContext,\n\tsortInput,\n\thasDuplicate,\n\n\t// Local document vars\n\tsetDocument,\n\tdocument,\n\tdocElem,\n\tdocumentIsHTML,\n\trbuggyQSA,\n\trbuggyMatches,\n\tmatches,\n\tcontains,\n\n\t// Instance-specific data\n\texpando = \"sizzle\" + -(new Date()),\n\tpreferredDoc = window.document,\n\tdirruns = 0,\n\tdone = 0,\n\tclassCache = createCache(),\n\ttokenCache = createCache(),\n\tcompilerCache = createCache(),\n\tsortOrder = function( a, b ) {\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t}\n\t\treturn 0;\n\t},\n\n\t// General-purpose constants\n\tstrundefined = typeof undefined,\n\tMAX_NEGATIVE = 1 << 31,\n\n\t// Instance methods\n\thasOwn = ({}).hasOwnProperty,\n\tarr = [],\n\tpop = arr.pop,\n\tpush_native = arr.push,\n\tpush = arr.push,\n\tslice = arr.slice,\n\t// Use a stripped-down indexOf if we can't use a native one\n\tindexOf = arr.indexOf || function( elem ) {\n\t\tvar i = 0,\n\t\t\tlen = this.length;\n\t\tfor ( ; i < len; i++ ) {\n\t\t\tif ( this[i] === elem ) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t},\n\n\tbooleans = \"checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped\",\n\n\t// Regular expressions\n\n\t// Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace\n\twhitespace = \"[\\\\x20\\\\t\\\\r\\\\n\\\\f]\",\n\t// http://www.w3.org/TR/css3-syntax/#characters\n\tcharacterEncoding = \"(?:\\\\\\\\.|[\\\\w-]|[^\\\\x00-\\\\xa0])+\",\n\n\t// Loosely modeled on CSS identifier characters\n\t// An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors\n\t// Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier\n\tidentifier = characterEncoding.replace( \"w\", \"w#\" ),\n\n\t// Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors\n\tattributes = \"\\\\[\" + whitespace + \"*(\" + characterEncoding + \")(?:\" + whitespace +\n\t\t// Operator (capture 2)\n\t\t\"*([*^$|!~]?=)\" + whitespace +\n\t\t// \"Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]\"\n\t\t\"*(?:'((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\"|(\" + identifier + \"))|)\" + whitespace +\n\t\t\"*\\\\]\",\n\n\tpseudos = \":(\" + characterEncoding + \")(?:\\\\((\" +\n\t\t// To reduce the number of selectors needing tokenize in the preFilter, prefer arguments:\n\t\t// 1. quoted (capture 3; capture 4 or capture 5)\n\t\t\"('((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\")|\" +\n\t\t// 2. simple (capture 6)\n\t\t\"((?:\\\\\\\\.|[^\\\\\\\\()[\\\\]]|\" + attributes + \")*)|\" +\n\t\t// 3. anything else (capture 2)\n\t\t\".*\" +\n\t\t\")\\\\)|)\",\n\n\t// Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter\n\trtrim = new RegExp( \"^\" + whitespace + \"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)\" + whitespace + \"+$\", \"g\" ),\n\n\trcomma = new RegExp( \"^\" + whitespace + \"*,\" + whitespace + \"*\" ),\n\trcombinators = new RegExp( \"^\" + whitespace + \"*([>+~]|\" + whitespace + \")\" + whitespace + \"*\" ),\n\n\trattributeQuotes = new RegExp( \"=\" + whitespace + \"*([^\\\\]'\\\"]*?)\" + whitespace + \"*\\\\]\", \"g\" ),\n\n\trpseudo = new RegExp( pseudos ),\n\tridentifier = new RegExp( \"^\" + identifier + \"$\" ),\n\n\tmatchExpr = {\n\t\t\"ID\": new RegExp( \"^#(\" + characterEncoding + \")\" ),\n\t\t\"CLASS\": new RegExp( \"^\\\\.(\" + characterEncoding + \")\" ),\n\t\t\"TAG\": new RegExp( \"^(\" + characterEncoding.replace( \"w\", \"w*\" ) + \")\" ),\n\t\t\"ATTR\": new RegExp( \"^\" + attributes ),\n\t\t\"PSEUDO\": new RegExp( \"^\" + pseudos ),\n\t\t\"CHILD\": new RegExp( \"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\" + whitespace +\n\t\t\t\"*(even|odd|(([+-]|)(\\\\d*)n|)\" + whitespace + \"*(?:([+-]|)\" + whitespace +\n\t\t\t\"*(\\\\d+)|))\" + whitespace + \"*\\\\)|)\", \"i\" ),\n\t\t\"bool\": new RegExp( \"^(?:\" + booleans + \")$\", \"i\" ),\n\t\t// For use in libraries implementing .is()\n\t\t// We use this for POS matching in `select`\n\t\t\"needsContext\": new RegExp( \"^\" + whitespace + \"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\" +\n\t\t\twhitespace + \"*((?:-\\\\d)?\\\\d*)\" + whitespace + \"*\\\\)|)(?=[^-]|$)\", \"i\" )\n\t},\n\n\trinputs = /^(?:input|select|textarea|button)$/i,\n\trheader = /^h\\d$/i,\n\n\trnative = /^[^{]+\\{\\s*\\[native \\w/,\n\n\t// Easily-parseable/retrievable ID or TAG or CLASS selectors\n\trquickExpr = /^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,\n\n\trsibling = /[+~]/,\n\trescape = /'|\\\\/g,\n\n\t// CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters\n\trunescape = new RegExp( \"\\\\\\\\([\\\\da-f]{1,6}\" + whitespace + \"?|(\" + whitespace + \")|.)\", \"ig\" ),\n\tfunescape = function( _, escaped, escapedWhitespace ) {\n\t\tvar high = \"0x\" + escaped - 0x10000;\n\t\t// NaN means non-codepoint\n\t\t// Support: Firefox<24\n\t\t// Workaround erroneous numeric interpretation of +\"0x\"\n\t\treturn high !== high || escapedWhitespace ?\n\t\t\tescaped :\n\t\t\thigh < 0 ?\n\t\t\t\t// BMP codepoint\n\t\t\t\tString.fromCharCode( high + 0x10000 ) :\n\t\t\t\t// Supplemental Plane codepoint (surrogate pair)\n\t\t\t\tString.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 );\n\t};\n\n// Optimize for push.apply( _, NodeList )\ntry {\n\tpush.apply(\n\t\t(arr = slice.call( preferredDoc.childNodes )),\n\t\tpreferredDoc.childNodes\n\t);\n\t// Support: Android<4.0\n\t// Detect silently failing push.apply\n\tarr[ preferredDoc.childNodes.length ].nodeType;\n} catch ( e ) {\n\tpush = { apply: arr.length ?\n\n\t\t// Leverage slice if possible\n\t\tfunction( target, els ) {\n\t\t\tpush_native.apply( target, slice.call(els) );\n\t\t} :\n\n\t\t// Support: IE<9\n\t\t// Otherwise append directly\n\t\tfunction( target, els ) {\n\t\t\tvar j = target.length,\n\t\t\t\ti = 0;\n\t\t\t// Can't trust NodeList.length\n\t\t\twhile ( (target[j++] = els[i++]) ) {}\n\t\t\ttarget.length = j - 1;\n\t\t}\n\t};\n}\n\nfunction Sizzle( selector, context, results, seed ) {\n\tvar match, elem, m, nodeType,\n\t\t// QSA vars\n\t\ti, groups, old, nid, newContext, newSelector;\n\n\tif ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) {\n\t\tsetDocument( context );\n\t}\n\n\tcontext = context || document;\n\tresults = results || [];\n\n\tif ( !selector || typeof selector !== \"string\" ) {\n\t\treturn results;\n\t}\n\n\tif ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) {\n\t\treturn [];\n\t}\n\n\tif ( documentIsHTML && !seed ) {\n\n\t\t// Shortcuts\n\t\tif ( (match = rquickExpr.exec( selector )) ) {\n\t\t\t// Speed-up: Sizzle(\"#ID\")\n\t\t\tif ( (m = match[1]) ) {\n\t\t\t\tif ( nodeType === 9 ) {\n\t\t\t\t\telem = context.getElementById( m );\n\t\t\t\t\t// Check parentNode to catch when Blackberry 4.6 returns\n\t\t\t\t\t// nodes that are no longer in the document (jQuery #6963)\n\t\t\t\t\tif ( elem && elem.parentNode ) {\n\t\t\t\t\t\t// Handle the case where IE, Opera, and Webkit return items\n\t\t\t\t\t\t// by name instead of ID\n\t\t\t\t\t\tif ( elem.id === m ) {\n\t\t\t\t\t\t\tresults.push( elem );\n\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn results;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t// Context is not a document\n\t\t\t\t\tif ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) &&\n\t\t\t\t\t\tcontains( context, elem ) && elem.id === m ) {\n\t\t\t\t\t\tresults.push( elem );\n\t\t\t\t\t\treturn results;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t// Speed-up: Sizzle(\"TAG\")\n\t\t\t} else if ( match[2] ) {\n\t\t\t\tpush.apply( results, context.getElementsByTagName( selector ) );\n\t\t\t\treturn results;\n\n\t\t\t// Speed-up: Sizzle(\".CLASS\")\n\t\t\t} else if ( (m = match[3]) && support.getElementsByClassName && context.getElementsByClassName ) {\n\t\t\t\tpush.apply( results, context.getElementsByClassName( m ) );\n\t\t\t\treturn results;\n\t\t\t}\n\t\t}\n\n\t\t// QSA path\n\t\tif ( support.qsa && (!rbuggyQSA || !rbuggyQSA.test( selector )) ) {\n\t\t\tnid = old = expando;\n\t\t\tnewContext = context;\n\t\t\tnewSelector = nodeType === 9 && selector;\n\n\t\t\t// qSA works strangely on Element-rooted queries\n\t\t\t// We can work around this by specifying an extra ID on the root\n\t\t\t// and working up from there (Thanks to Andrew Dupont for the technique)\n\t\t\t// IE 8 doesn't work on object elements\n\t\t\tif ( nodeType === 1 && context.nodeName.toLowerCase() !== \"object\" ) {\n\t\t\t\tgroups = tokenize( selector );\n\n\t\t\t\tif ( (old = context.getAttribute(\"id\")) ) {\n\t\t\t\t\tnid = old.replace( rescape, \"\\\\$&\" );\n\t\t\t\t} else {\n\t\t\t\t\tcontext.setAttribute( \"id\", nid );\n\t\t\t\t}\n\t\t\t\tnid = \"[id='\" + nid + \"'] \";\n\n\t\t\t\ti = groups.length;\n\t\t\t\twhile ( i-- ) {\n\t\t\t\t\tgroups[i] = nid + toSelector( groups[i] );\n\t\t\t\t}\n\t\t\t\tnewContext = rsibling.test( selector ) && testContext( context.parentNode ) || context;\n\t\t\t\tnewSelector = groups.join(\",\");\n\t\t\t}\n\n\t\t\tif ( newSelector ) {\n\t\t\t\ttry {\n\t\t\t\t\tpush.apply( results,\n\t\t\t\t\t\tnewContext.querySelectorAll( newSelector )\n\t\t\t\t\t);\n\t\t\t\t\treturn results;\n\t\t\t\t} catch(qsaError) {\n\t\t\t\t} finally {\n\t\t\t\t\tif ( !old ) {\n\t\t\t\t\t\tcontext.removeAttribute(\"id\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// All others\n\treturn select( selector.replace( rtrim, \"$1\" ), context, results, seed );\n}\n\n/**\n * Create key-value caches of limited size\n * @returns {Function(string, Object)} Returns the Object data after storing it on itself with\n *\tproperty name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)\n *\tdeleting the oldest entry\n */\nfunction createCache() {\n\tvar keys = [];\n\n\tfunction cache( key, value ) {\n\t\t// Use (key + \" \") to avoid collision with native prototype properties (see Issue #157)\n\t\tif ( keys.push( key + \" \" ) > Expr.cacheLength ) {\n\t\t\t// Only keep the most recent entries\n\t\t\tdelete cache[ keys.shift() ];\n\t\t}\n\t\treturn (cache[ key + \" \" ] = value);\n\t}\n\treturn cache;\n}\n\n/**\n * Mark a function for special use by Sizzle\n * @param {Function} fn The function to mark\n */\nfunction markFunction( fn ) {\n\tfn[ expando ] = true;\n\treturn fn;\n}\n\n/**\n * Support testing using an element\n * @param {Function} fn Passed the created div and expects a boolean result\n */\nfunction assert( fn ) {\n\tvar div = document.createElement(\"div\");\n\n\ttry {\n\t\treturn !!fn( div );\n\t} catch (e) {\n\t\treturn false;\n\t} finally {\n\t\t// Remove from its parent by default\n\t\tif ( div.parentNode ) {\n\t\t\tdiv.parentNode.removeChild( div );\n\t\t}\n\t\t// release memory in IE\n\t\tdiv = null;\n\t}\n}\n\n/**\n * Adds the same handler for all of the specified attrs\n * @param {String} attrs Pipe-separated list of attributes\n * @param {Function} handler The method that will be applied\n */\nfunction addHandle( attrs, handler ) {\n\tvar arr = attrs.split(\"|\"),\n\t\ti = attrs.length;\n\n\twhile ( i-- ) {\n\t\tExpr.attrHandle[ arr[i] ] = handler;\n\t}\n}\n\n/**\n * Checks document order of two siblings\n * @param {Element} a\n * @param {Element} b\n * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b\n */\nfunction siblingCheck( a, b ) {\n\tvar cur = b && a,\n\t\tdiff = cur && a.nodeType === 1 && b.nodeType === 1 &&\n\t\t\t( ~b.sourceIndex || MAX_NEGATIVE ) -\n\t\t\t( ~a.sourceIndex || MAX_NEGATIVE );\n\n\t// Use IE sourceIndex if available on both nodes\n\tif ( diff ) {\n\t\treturn diff;\n\t}\n\n\t// Check if b follows a\n\tif ( cur ) {\n\t\twhile ( (cur = cur.nextSibling) ) {\n\t\t\tif ( cur === b ) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t}\n\t}\n\n\treturn a ? 1 : -1;\n}\n\n/**\n * Returns a function to use in pseudos for input types\n * @param {String} type\n */\nfunction createInputPseudo( type ) {\n\treturn function( elem ) {\n\t\tvar name = elem.nodeName.toLowerCase();\n\t\treturn name === \"input\" && elem.type === type;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for buttons\n * @param {String} type\n */\nfunction createButtonPseudo( type ) {\n\treturn function( elem ) {\n\t\tvar name = elem.nodeName.toLowerCase();\n\t\treturn (name === \"input\" || name === \"button\") && elem.type === type;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for positionals\n * @param {Function} fn\n */\nfunction createPositionalPseudo( fn ) {\n\treturn markFunction(function( argument ) {\n\t\targument = +argument;\n\t\treturn markFunction(function( seed, matches ) {\n\t\t\tvar j,\n\t\t\t\tmatchIndexes = fn( [], seed.length, argument ),\n\t\t\t\ti = matchIndexes.length;\n\n\t\t\t// Match elements found at the specified indexes\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( seed[ (j = matchIndexes[i]) ] ) {\n\t\t\t\t\tseed[j] = !(matches[j] = seed[j]);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t});\n}\n\n/**\n * Checks a node for validity as a Sizzle context\n * @param {Element|Object=} context\n * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value\n */\nfunction testContext( context ) {\n\treturn context && typeof context.getElementsByTagName !== strundefined && context;\n}\n\n// Expose support vars for convenience\nsupport = Sizzle.support = {};\n\n/**\n * Detects XML nodes\n * @param {Element|Object} elem An element or a document\n * @returns {Boolean} True iff elem is a non-HTML XML node\n */\nisXML = Sizzle.isXML = function( elem ) {\n\t// documentElement is verified for cases where it doesn't yet exist\n\t// (such as loading iframes in IE - #4833)\n\tvar documentElement = elem && (elem.ownerDocument || elem).documentElement;\n\treturn documentElement ? documentElement.nodeName !== \"HTML\" : false;\n};\n\n/**\n * Sets document-related variables once based on the current document\n * @param {Element|Object} [doc] An element or document object to use to set the document\n * @returns {Object} Returns the current document\n */\nsetDocument = Sizzle.setDocument = function( node ) {\n\tvar hasCompare,\n\t\tdoc = node ? node.ownerDocument || node : preferredDoc,\n\t\tparent = doc.defaultView;\n\n\t// If no document and documentElement is available, return\n\tif ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) {\n\t\treturn document;\n\t}\n\n\t// Set our document\n\tdocument = doc;\n\tdocElem = doc.documentElement;\n\n\t// Support tests\n\tdocumentIsHTML = !isXML( doc );\n\n\t// Support: IE>8\n\t// If iframe document is assigned to \"document\" variable and if iframe has been reloaded,\n\t// IE will throw \"permission denied\" error when accessing \"document\" variable, see jQuery #13936\n\t// IE6-8 do not support the defaultView property so parent will be undefined\n\tif ( parent && parent !== parent.top ) {\n\t\t// IE11 does not have attachEvent, so all must suffer\n\t\tif ( parent.addEventListener ) {\n\t\t\tparent.addEventListener( \"unload\", function() {\n\t\t\t\tsetDocument();\n\t\t\t}, false );\n\t\t} else if ( parent.attachEvent ) {\n\t\t\tparent.attachEvent( \"onunload\", function() {\n\t\t\t\tsetDocument();\n\t\t\t});\n\t\t}\n\t}\n\n\t/* Attributes\n\t---------------------------------------------------------------------- */\n\n\t// Support: IE<8\n\t// Verify that getAttribute really returns attributes and not properties (excepting IE8 booleans)\n\tsupport.attributes = assert(function( div ) {\n\t\tdiv.className = \"i\";\n\t\treturn !div.getAttribute(\"className\");\n\t});\n\n\t/* getElement(s)By*\n\t---------------------------------------------------------------------- */\n\n\t// Check if getElementsByTagName(\"*\") returns only elements\n\tsupport.getElementsByTagName = assert(function( div ) {\n\t\tdiv.appendChild( doc.createComment(\"\") );\n\t\treturn !div.getElementsByTagName(\"*\").length;\n\t});\n\n\t// Check if getElementsByClassName can be trusted\n\tsupport.getElementsByClassName = rnative.test( doc.getElementsByClassName ) && assert(function( div ) {\n\t\tdiv.innerHTML = \"<div class='a'></div><div class='a i'></div>\";\n\n\t\t// Support: Safari<4\n\t\t// Catch class over-caching\n\t\tdiv.firstChild.className = \"i\";\n\t\t// Support: Opera<10\n\t\t// Catch gEBCN failure to find non-leading classes\n\t\treturn div.getElementsByClassName(\"i\").length === 2;\n\t});\n\n\t// Support: IE<10\n\t// Check if getElementById returns elements by name\n\t// The broken getElementById methods don't pick up programatically-set names,\n\t// so use a roundabout getElementsByName test\n\tsupport.getById = assert(function( div ) {\n\t\tdocElem.appendChild( div ).id = expando;\n\t\treturn !doc.getElementsByName || !doc.getElementsByName( expando ).length;\n\t});\n\n\t// ID find and filter\n\tif ( support.getById ) {\n\t\tExpr.find[\"ID\"] = function( id, context ) {\n\t\t\tif ( typeof context.getElementById !== strundefined && documentIsHTML ) {\n\t\t\t\tvar m = context.getElementById( id );\n\t\t\t\t// Check parentNode to catch when Blackberry 4.6 returns\n\t\t\t\t// nodes that are no longer in the document #6963\n\t\t\t\treturn m && m.parentNode ? [ m ] : [];\n\t\t\t}\n\t\t};\n\t\tExpr.filter[\"ID\"] = function( id ) {\n\t\t\tvar attrId = id.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\treturn elem.getAttribute(\"id\") === attrId;\n\t\t\t};\n\t\t};\n\t} else {\n\t\t// Support: IE6/7\n\t\t// getElementById is not reliable as a find shortcut\n\t\tdelete Expr.find[\"ID\"];\n\n\t\tExpr.filter[\"ID\"] =  function( id ) {\n\t\t\tvar attrId = id.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\tvar node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode(\"id\");\n\t\t\t\treturn node && node.value === attrId;\n\t\t\t};\n\t\t};\n\t}\n\n\t// Tag\n\tExpr.find[\"TAG\"] = support.getElementsByTagName ?\n\t\tfunction( tag, context ) {\n\t\t\tif ( typeof context.getElementsByTagName !== strundefined ) {\n\t\t\t\treturn context.getElementsByTagName( tag );\n\t\t\t}\n\t\t} :\n\t\tfunction( tag, context ) {\n\t\t\tvar elem,\n\t\t\t\ttmp = [],\n\t\t\t\ti = 0,\n\t\t\t\tresults = context.getElementsByTagName( tag );\n\n\t\t\t// Filter out possible comments\n\t\t\tif ( tag === \"*\" ) {\n\t\t\t\twhile ( (elem = results[i++]) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 ) {\n\t\t\t\t\t\ttmp.push( elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn tmp;\n\t\t\t}\n\t\t\treturn results;\n\t\t};\n\n\t// Class\n\tExpr.find[\"CLASS\"] = support.getElementsByClassName && function( className, context ) {\n\t\tif ( typeof context.getElementsByClassName !== strundefined && documentIsHTML ) {\n\t\t\treturn context.getElementsByClassName( className );\n\t\t}\n\t};\n\n\t/* QSA/matchesSelector\n\t---------------------------------------------------------------------- */\n\n\t// QSA and matchesSelector support\n\n\t// matchesSelector(:active) reports false when true (IE9/Opera 11.5)\n\trbuggyMatches = [];\n\n\t// qSa(:focus) reports false when true (Chrome 21)\n\t// We allow this because of a bug in IE8/9 that throws an error\n\t// whenever `document.activeElement` is accessed on an iframe\n\t// So, we allow :focus to pass through QSA all the time to avoid the IE error\n\t// See http://bugs.jquery.com/ticket/13378\n\trbuggyQSA = [];\n\n\tif ( (support.qsa = rnative.test( doc.querySelectorAll )) ) {\n\t\t// Build QSA regex\n\t\t// Regex strategy adopted from Diego Perini\n\t\tassert(function( div ) {\n\t\t\t// Select is set to empty string on purpose\n\t\t\t// This is to test IE's treatment of not explicitly\n\t\t\t// setting a boolean content attribute,\n\t\t\t// since its presence should be enough\n\t\t\t// http://bugs.jquery.com/ticket/12359\n\t\t\tdiv.innerHTML = \"<select msallowclip=''><option selected=''></option></select>\";\n\n\t\t\t// Support: IE8, Opera 11-12.16\n\t\t\t// Nothing should be selected when empty strings follow ^= or $= or *=\n\t\t\t// The test attribute must be unknown in Opera but \"safe\" for WinRT\n\t\t\t// http://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section\n\t\t\tif ( div.querySelectorAll(\"[msallowclip^='']\").length ) {\n\t\t\t\trbuggyQSA.push( \"[*^$]=\" + whitespace + \"*(?:''|\\\"\\\")\" );\n\t\t\t}\n\n\t\t\t// Support: IE8\n\t\t\t// Boolean attributes and \"value\" are not treated correctly\n\t\t\tif ( !div.querySelectorAll(\"[selected]\").length ) {\n\t\t\t\trbuggyQSA.push( \"\\\\[\" + whitespace + \"*(?:value|\" + booleans + \")\" );\n\t\t\t}\n\n\t\t\t// Webkit/Opera - :checked should return selected option elements\n\t\t\t// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked\n\t\t\t// IE8 throws error here and will not see later tests\n\t\t\tif ( !div.querySelectorAll(\":checked\").length ) {\n\t\t\t\trbuggyQSA.push(\":checked\");\n\t\t\t}\n\t\t});\n\n\t\tassert(function( div ) {\n\t\t\t// Support: Windows 8 Native Apps\n\t\t\t// The type and name attributes are restricted during .innerHTML assignment\n\t\t\tvar input = doc.createElement(\"input\");\n\t\t\tinput.setAttribute( \"type\", \"hidden\" );\n\t\t\tdiv.appendChild( input ).setAttribute( \"name\", \"D\" );\n\n\t\t\t// Support: IE8\n\t\t\t// Enforce case-sensitivity of name attribute\n\t\t\tif ( div.querySelectorAll(\"[name=d]\").length ) {\n\t\t\t\trbuggyQSA.push( \"name\" + whitespace + \"*[*^$|!~]?=\" );\n\t\t\t}\n\n\t\t\t// FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled)\n\t\t\t// IE8 throws error here and will not see later tests\n\t\t\tif ( !div.querySelectorAll(\":enabled\").length ) {\n\t\t\t\trbuggyQSA.push( \":enabled\", \":disabled\" );\n\t\t\t}\n\n\t\t\t// Opera 10-11 does not throw on post-comma invalid pseudos\n\t\t\tdiv.querySelectorAll(\"*,:x\");\n\t\t\trbuggyQSA.push(\",.*:\");\n\t\t});\n\t}\n\n\tif ( (support.matchesSelector = rnative.test( (matches = docElem.matches ||\n\t\tdocElem.webkitMatchesSelector ||\n\t\tdocElem.mozMatchesSelector ||\n\t\tdocElem.oMatchesSelector ||\n\t\tdocElem.msMatchesSelector) )) ) {\n\n\t\tassert(function( div ) {\n\t\t\t// Check to see if it's possible to do matchesSelector\n\t\t\t// on a disconnected node (IE 9)\n\t\t\tsupport.disconnectedMatch = matches.call( div, \"div\" );\n\n\t\t\t// This should fail with an exception\n\t\t\t// Gecko does not error, returns false instead\n\t\t\tmatches.call( div, \"[s!='']:x\" );\n\t\t\trbuggyMatches.push( \"!=\", pseudos );\n\t\t});\n\t}\n\n\trbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join(\"|\") );\n\trbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join(\"|\") );\n\n\t/* Contains\n\t---------------------------------------------------------------------- */\n\thasCompare = rnative.test( docElem.compareDocumentPosition );\n\n\t// Element contains another\n\t// Purposefully does not implement inclusive descendent\n\t// As in, an element does not contain itself\n\tcontains = hasCompare || rnative.test( docElem.contains ) ?\n\t\tfunction( a, b ) {\n\t\t\tvar adown = a.nodeType === 9 ? a.documentElement : a,\n\t\t\t\tbup = b && b.parentNode;\n\t\t\treturn a === bup || !!( bup && bup.nodeType === 1 && (\n\t\t\t\tadown.contains ?\n\t\t\t\t\tadown.contains( bup ) :\n\t\t\t\t\ta.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16\n\t\t\t));\n\t\t} :\n\t\tfunction( a, b ) {\n\t\t\tif ( b ) {\n\t\t\t\twhile ( (b = b.parentNode) ) {\n\t\t\t\t\tif ( b === a ) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n\n\t/* Sorting\n\t---------------------------------------------------------------------- */\n\n\t// Document order sorting\n\tsortOrder = hasCompare ?\n\tfunction( a, b ) {\n\n\t\t// Flag for duplicate removal\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t\treturn 0;\n\t\t}\n\n\t\t// Sort on method existence if only one input has compareDocumentPosition\n\t\tvar compare = !a.compareDocumentPosition - !b.compareDocumentPosition;\n\t\tif ( compare ) {\n\t\t\treturn compare;\n\t\t}\n\n\t\t// Calculate position if both inputs belong to the same document\n\t\tcompare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ?\n\t\t\ta.compareDocumentPosition( b ) :\n\n\t\t\t// Otherwise we know they are disconnected\n\t\t\t1;\n\n\t\t// Disconnected nodes\n\t\tif ( compare & 1 ||\n\t\t\t(!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) {\n\n\t\t\t// Choose the first element that is related to our preferred document\n\t\t\tif ( a === doc || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tif ( b === doc || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) {\n\t\t\t\treturn 1;\n\t\t\t}\n\n\t\t\t// Maintain original order\n\t\t\treturn sortInput ?\n\t\t\t\t( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) :\n\t\t\t\t0;\n\t\t}\n\n\t\treturn compare & 4 ? -1 : 1;\n\t} :\n\tfunction( a, b ) {\n\t\t// Exit early if the nodes are identical\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t\treturn 0;\n\t\t}\n\n\t\tvar cur,\n\t\t\ti = 0,\n\t\t\taup = a.parentNode,\n\t\t\tbup = b.parentNode,\n\t\t\tap = [ a ],\n\t\t\tbp = [ b ];\n\n\t\t// Parentless nodes are either documents or disconnected\n\t\tif ( !aup || !bup ) {\n\t\t\treturn a === doc ? -1 :\n\t\t\t\tb === doc ? 1 :\n\t\t\t\taup ? -1 :\n\t\t\t\tbup ? 1 :\n\t\t\t\tsortInput ?\n\t\t\t\t( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) :\n\t\t\t\t0;\n\n\t\t// If the nodes are siblings, we can do a quick check\n\t\t} else if ( aup === bup ) {\n\t\t\treturn siblingCheck( a, b );\n\t\t}\n\n\t\t// Otherwise we need full lists of their ancestors for comparison\n\t\tcur = a;\n\t\twhile ( (cur = cur.parentNode) ) {\n\t\t\tap.unshift( cur );\n\t\t}\n\t\tcur = b;\n\t\twhile ( (cur = cur.parentNode) ) {\n\t\t\tbp.unshift( cur );\n\t\t}\n\n\t\t// Walk down the tree looking for a discrepancy\n\t\twhile ( ap[i] === bp[i] ) {\n\t\t\ti++;\n\t\t}\n\n\t\treturn i ?\n\t\t\t// Do a sibling check if the nodes have a common ancestor\n\t\t\tsiblingCheck( ap[i], bp[i] ) :\n\n\t\t\t// Otherwise nodes in our document sort first\n\t\t\tap[i] === preferredDoc ? -1 :\n\t\t\tbp[i] === preferredDoc ? 1 :\n\t\t\t0;\n\t};\n\n\treturn doc;\n};\n\nSizzle.matches = function( expr, elements ) {\n\treturn Sizzle( expr, null, null, elements );\n};\n\nSizzle.matchesSelector = function( elem, expr ) {\n\t// Set document vars if needed\n\tif ( ( elem.ownerDocument || elem ) !== document ) {\n\t\tsetDocument( elem );\n\t}\n\n\t// Make sure that attribute selectors are quoted\n\texpr = expr.replace( rattributeQuotes, \"='$1']\" );\n\n\tif ( support.matchesSelector && documentIsHTML &&\n\t\t( !rbuggyMatches || !rbuggyMatches.test( expr ) ) &&\n\t\t( !rbuggyQSA     || !rbuggyQSA.test( expr ) ) ) {\n\n\t\ttry {\n\t\t\tvar ret = matches.call( elem, expr );\n\n\t\t\t// IE 9's matchesSelector returns false on disconnected nodes\n\t\t\tif ( ret || support.disconnectedMatch ||\n\t\t\t\t\t// As well, disconnected nodes are said to be in a document\n\t\t\t\t\t// fragment in IE 9\n\t\t\t\t\telem.document && elem.document.nodeType !== 11 ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\t\t} catch(e) {}\n\t}\n\n\treturn Sizzle( expr, document, null, [ elem ] ).length > 0;\n};\n\nSizzle.contains = function( context, elem ) {\n\t// Set document vars if needed\n\tif ( ( context.ownerDocument || context ) !== document ) {\n\t\tsetDocument( context );\n\t}\n\treturn contains( context, elem );\n};\n\nSizzle.attr = function( elem, name ) {\n\t// Set document vars if needed\n\tif ( ( elem.ownerDocument || elem ) !== document ) {\n\t\tsetDocument( elem );\n\t}\n\n\tvar fn = Expr.attrHandle[ name.toLowerCase() ],\n\t\t// Don't get fooled by Object.prototype properties (jQuery #13807)\n\t\tval = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ?\n\t\t\tfn( elem, name, !documentIsHTML ) :\n\t\t\tundefined;\n\n\treturn val !== undefined ?\n\t\tval :\n\t\tsupport.attributes || !documentIsHTML ?\n\t\t\telem.getAttribute( name ) :\n\t\t\t(val = elem.getAttributeNode(name)) && val.specified ?\n\t\t\t\tval.value :\n\t\t\t\tnull;\n};\n\nSizzle.error = function( msg ) {\n\tthrow new Error( \"Syntax error, unrecognized expression: \" + msg );\n};\n\n/**\n * Document sorting and removing duplicates\n * @param {ArrayLike} results\n */\nSizzle.uniqueSort = function( results ) {\n\tvar elem,\n\t\tduplicates = [],\n\t\tj = 0,\n\t\ti = 0;\n\n\t// Unless we *know* we can detect duplicates, assume their presence\n\thasDuplicate = !support.detectDuplicates;\n\tsortInput = !support.sortStable && results.slice( 0 );\n\tresults.sort( sortOrder );\n\n\tif ( hasDuplicate ) {\n\t\twhile ( (elem = results[i++]) ) {\n\t\t\tif ( elem === results[ i ] ) {\n\t\t\t\tj = duplicates.push( i );\n\t\t\t}\n\t\t}\n\t\twhile ( j-- ) {\n\t\t\tresults.splice( duplicates[ j ], 1 );\n\t\t}\n\t}\n\n\t// Clear input after sorting to release objects\n\t// See https://github.com/jquery/sizzle/pull/225\n\tsortInput = null;\n\n\treturn results;\n};\n\n/**\n * Utility function for retrieving the text value of an array of DOM nodes\n * @param {Array|Element} elem\n */\ngetText = Sizzle.getText = function( elem ) {\n\tvar node,\n\t\tret = \"\",\n\t\ti = 0,\n\t\tnodeType = elem.nodeType;\n\n\tif ( !nodeType ) {\n\t\t// If no nodeType, this is expected to be an array\n\t\twhile ( (node = elem[i++]) ) {\n\t\t\t// Do not traverse comment nodes\n\t\t\tret += getText( node );\n\t\t}\n\t} else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) {\n\t\t// Use textContent for elements\n\t\t// innerText usage removed for consistency of new lines (jQuery #11153)\n\t\tif ( typeof elem.textContent === \"string\" ) {\n\t\t\treturn elem.textContent;\n\t\t} else {\n\t\t\t// Traverse its children\n\t\t\tfor ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {\n\t\t\t\tret += getText( elem );\n\t\t\t}\n\t\t}\n\t} else if ( nodeType === 3 || nodeType === 4 ) {\n\t\treturn elem.nodeValue;\n\t}\n\t// Do not include comment or processing instruction nodes\n\n\treturn ret;\n};\n\nExpr = Sizzle.selectors = {\n\n\t// Can be adjusted by the user\n\tcacheLength: 50,\n\n\tcreatePseudo: markFunction,\n\n\tmatch: matchExpr,\n\n\tattrHandle: {},\n\n\tfind: {},\n\n\trelative: {\n\t\t\">\": { dir: \"parentNode\", first: true },\n\t\t\" \": { dir: \"parentNode\" },\n\t\t\"+\": { dir: \"previousSibling\", first: true },\n\t\t\"~\": { dir: \"previousSibling\" }\n\t},\n\n\tpreFilter: {\n\t\t\"ATTR\": function( match ) {\n\t\t\tmatch[1] = match[1].replace( runescape, funescape );\n\n\t\t\t// Move the given value to match[3] whether quoted or unquoted\n\t\t\tmatch[3] = ( match[3] || match[4] || match[5] || \"\" ).replace( runescape, funescape );\n\n\t\t\tif ( match[2] === \"~=\" ) {\n\t\t\t\tmatch[3] = \" \" + match[3] + \" \";\n\t\t\t}\n\n\t\t\treturn match.slice( 0, 4 );\n\t\t},\n\n\t\t\"CHILD\": function( match ) {\n\t\t\t/* matches from matchExpr[\"CHILD\"]\n\t\t\t\t1 type (only|nth|...)\n\t\t\t\t2 what (child|of-type)\n\t\t\t\t3 argument (even|odd|\\d*|\\d*n([+-]\\d+)?|...)\n\t\t\t\t4 xn-component of xn+y argument ([+-]?\\d*n|)\n\t\t\t\t5 sign of xn-component\n\t\t\t\t6 x of xn-component\n\t\t\t\t7 sign of y-component\n\t\t\t\t8 y of y-component\n\t\t\t*/\n\t\t\tmatch[1] = match[1].toLowerCase();\n\n\t\t\tif ( match[1].slice( 0, 3 ) === \"nth\" ) {\n\t\t\t\t// nth-* requires argument\n\t\t\t\tif ( !match[3] ) {\n\t\t\t\t\tSizzle.error( match[0] );\n\t\t\t\t}\n\n\t\t\t\t// numeric x and y parameters for Expr.filter.CHILD\n\t\t\t\t// remember that false/true cast respectively to 0/1\n\t\t\t\tmatch[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === \"even\" || match[3] === \"odd\" ) );\n\t\t\t\tmatch[5] = +( ( match[7] + match[8] ) || match[3] === \"odd\" );\n\n\t\t\t// other types prohibit arguments\n\t\t\t} else if ( match[3] ) {\n\t\t\t\tSizzle.error( match[0] );\n\t\t\t}\n\n\t\t\treturn match;\n\t\t},\n\n\t\t\"PSEUDO\": function( match ) {\n\t\t\tvar excess,\n\t\t\t\tunquoted = !match[6] && match[2];\n\n\t\t\tif ( matchExpr[\"CHILD\"].test( match[0] ) ) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\t// Accept quoted arguments as-is\n\t\t\tif ( match[3] ) {\n\t\t\t\tmatch[2] = match[4] || match[5] || \"\";\n\n\t\t\t// Strip excess characters from unquoted arguments\n\t\t\t} else if ( unquoted && rpseudo.test( unquoted ) &&\n\t\t\t\t// Get excess from tokenize (recursively)\n\t\t\t\t(excess = tokenize( unquoted, true )) &&\n\t\t\t\t// advance to the next closing parenthesis\n\t\t\t\t(excess = unquoted.indexOf( \")\", unquoted.length - excess ) - unquoted.length) ) {\n\n\t\t\t\t// excess is a negative index\n\t\t\t\tmatch[0] = match[0].slice( 0, excess );\n\t\t\t\tmatch[2] = unquoted.slice( 0, excess );\n\t\t\t}\n\n\t\t\t// Return only captures needed by the pseudo filter method (type and argument)\n\t\t\treturn match.slice( 0, 3 );\n\t\t}\n\t},\n\n\tfilter: {\n\n\t\t\"TAG\": function( nodeNameSelector ) {\n\t\t\tvar nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase();\n\t\t\treturn nodeNameSelector === \"*\" ?\n\t\t\t\tfunction() { return true; } :\n\t\t\t\tfunction( elem ) {\n\t\t\t\t\treturn elem.nodeName && elem.nodeName.toLowerCase() === nodeName;\n\t\t\t\t};\n\t\t},\n\n\t\t\"CLASS\": function( className ) {\n\t\t\tvar pattern = classCache[ className + \" \" ];\n\n\t\t\treturn pattern ||\n\t\t\t\t(pattern = new RegExp( \"(^|\" + whitespace + \")\" + className + \"(\" + whitespace + \"|$)\" )) &&\n\t\t\t\tclassCache( className, function( elem ) {\n\t\t\t\t\treturn pattern.test( typeof elem.className === \"string\" && elem.className || typeof elem.getAttribute !== strundefined && elem.getAttribute(\"class\") || \"\" );\n\t\t\t\t});\n\t\t},\n\n\t\t\"ATTR\": function( name, operator, check ) {\n\t\t\treturn function( elem ) {\n\t\t\t\tvar result = Sizzle.attr( elem, name );\n\n\t\t\t\tif ( result == null ) {\n\t\t\t\t\treturn operator === \"!=\";\n\t\t\t\t}\n\t\t\t\tif ( !operator ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\tresult += \"\";\n\n\t\t\t\treturn operator === \"=\" ? result === check :\n\t\t\t\t\toperator === \"!=\" ? result !== check :\n\t\t\t\t\toperator === \"^=\" ? check && result.indexOf( check ) === 0 :\n\t\t\t\t\toperator === \"*=\" ? check && result.indexOf( check ) > -1 :\n\t\t\t\t\toperator === \"$=\" ? check && result.slice( -check.length ) === check :\n\t\t\t\t\toperator === \"~=\" ? ( \" \" + result + \" \" ).indexOf( check ) > -1 :\n\t\t\t\t\toperator === \"|=\" ? result === check || result.slice( 0, check.length + 1 ) === check + \"-\" :\n\t\t\t\t\tfalse;\n\t\t\t};\n\t\t},\n\n\t\t\"CHILD\": function( type, what, argument, first, last ) {\n\t\t\tvar simple = type.slice( 0, 3 ) !== \"nth\",\n\t\t\t\tforward = type.slice( -4 ) !== \"last\",\n\t\t\t\tofType = what === \"of-type\";\n\n\t\t\treturn first === 1 && last === 0 ?\n\n\t\t\t\t// Shortcut for :nth-*(n)\n\t\t\t\tfunction( elem ) {\n\t\t\t\t\treturn !!elem.parentNode;\n\t\t\t\t} :\n\n\t\t\t\tfunction( elem, context, xml ) {\n\t\t\t\t\tvar cache, outerCache, node, diff, nodeIndex, start,\n\t\t\t\t\t\tdir = simple !== forward ? \"nextSibling\" : \"previousSibling\",\n\t\t\t\t\t\tparent = elem.parentNode,\n\t\t\t\t\t\tname = ofType && elem.nodeName.toLowerCase(),\n\t\t\t\t\t\tuseCache = !xml && !ofType;\n\n\t\t\t\t\tif ( parent ) {\n\n\t\t\t\t\t\t// :(first|last|only)-(child|of-type)\n\t\t\t\t\t\tif ( simple ) {\n\t\t\t\t\t\t\twhile ( dir ) {\n\t\t\t\t\t\t\t\tnode = elem;\n\t\t\t\t\t\t\t\twhile ( (node = node[ dir ]) ) {\n\t\t\t\t\t\t\t\t\tif ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) {\n\t\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t// Reverse direction for :only-* (if we haven't yet done so)\n\t\t\t\t\t\t\t\tstart = dir = type === \"only\" && !start && \"nextSibling\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tstart = [ forward ? parent.firstChild : parent.lastChild ];\n\n\t\t\t\t\t\t// non-xml :nth-child(...) stores cache data on `parent`\n\t\t\t\t\t\tif ( forward && useCache ) {\n\t\t\t\t\t\t\t// Seek `elem` from a previously-cached index\n\t\t\t\t\t\t\touterCache = parent[ expando ] || (parent[ expando ] = {});\n\t\t\t\t\t\t\tcache = outerCache[ type ] || [];\n\t\t\t\t\t\t\tnodeIndex = cache[0] === dirruns && cache[1];\n\t\t\t\t\t\t\tdiff = cache[0] === dirruns && cache[2];\n\t\t\t\t\t\t\tnode = nodeIndex && parent.childNodes[ nodeIndex ];\n\n\t\t\t\t\t\t\twhile ( (node = ++nodeIndex && node && node[ dir ] ||\n\n\t\t\t\t\t\t\t\t// Fallback to seeking `elem` from the start\n\t\t\t\t\t\t\t\t(diff = nodeIndex = 0) || start.pop()) ) {\n\n\t\t\t\t\t\t\t\t// When found, cache indexes on `parent` and break\n\t\t\t\t\t\t\t\tif ( node.nodeType === 1 && ++diff && node === elem ) {\n\t\t\t\t\t\t\t\t\touterCache[ type ] = [ dirruns, nodeIndex, diff ];\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Use previously-cached element index if available\n\t\t\t\t\t\t} else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) {\n\t\t\t\t\t\t\tdiff = cache[1];\n\n\t\t\t\t\t\t// xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...)\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// Use the same loop as above to seek `elem` from the start\n\t\t\t\t\t\t\twhile ( (node = ++nodeIndex && node && node[ dir ] ||\n\t\t\t\t\t\t\t\t(diff = nodeIndex = 0) || start.pop()) ) {\n\n\t\t\t\t\t\t\t\tif ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) {\n\t\t\t\t\t\t\t\t\t// Cache the index of each encountered element\n\t\t\t\t\t\t\t\t\tif ( useCache ) {\n\t\t\t\t\t\t\t\t\t\t(node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ];\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\tif ( node === elem ) {\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Incorporate the offset, then check against cycle size\n\t\t\t\t\t\tdiff -= last;\n\t\t\t\t\t\treturn diff === first || ( diff % first === 0 && diff / first >= 0 );\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t},\n\n\t\t\"PSEUDO\": function( pseudo, argument ) {\n\t\t\t// pseudo-class names are case-insensitive\n\t\t\t// http://www.w3.org/TR/selectors/#pseudo-classes\n\t\t\t// Prioritize by case sensitivity in case custom pseudos are added with uppercase letters\n\t\t\t// Remember that setFilters inherits from pseudos\n\t\t\tvar args,\n\t\t\t\tfn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] ||\n\t\t\t\t\tSizzle.error( \"unsupported pseudo: \" + pseudo );\n\n\t\t\t// The user may use createPseudo to indicate that\n\t\t\t// arguments are needed to create the filter function\n\t\t\t// just as Sizzle does\n\t\t\tif ( fn[ expando ] ) {\n\t\t\t\treturn fn( argument );\n\t\t\t}\n\n\t\t\t// But maintain support for old signatures\n\t\t\tif ( fn.length > 1 ) {\n\t\t\t\targs = [ pseudo, pseudo, \"\", argument ];\n\t\t\t\treturn Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ?\n\t\t\t\t\tmarkFunction(function( seed, matches ) {\n\t\t\t\t\t\tvar idx,\n\t\t\t\t\t\t\tmatched = fn( seed, argument ),\n\t\t\t\t\t\t\ti = matched.length;\n\t\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\t\tidx = indexOf.call( seed, matched[i] );\n\t\t\t\t\t\t\tseed[ idx ] = !( matches[ idx ] = matched[i] );\n\t\t\t\t\t\t}\n\t\t\t\t\t}) :\n\t\t\t\t\tfunction( elem ) {\n\t\t\t\t\t\treturn fn( elem, 0, args );\n\t\t\t\t\t};\n\t\t\t}\n\n\t\t\treturn fn;\n\t\t}\n\t},\n\n\tpseudos: {\n\t\t// Potentially complex pseudos\n\t\t\"not\": markFunction(function( selector ) {\n\t\t\t// Trim the selector passed to compile\n\t\t\t// to avoid treating leading and trailing\n\t\t\t// spaces as combinators\n\t\t\tvar input = [],\n\t\t\t\tresults = [],\n\t\t\t\tmatcher = compile( selector.replace( rtrim, \"$1\" ) );\n\n\t\t\treturn matcher[ expando ] ?\n\t\t\t\tmarkFunction(function( seed, matches, context, xml ) {\n\t\t\t\t\tvar elem,\n\t\t\t\t\t\tunmatched = matcher( seed, null, xml, [] ),\n\t\t\t\t\t\ti = seed.length;\n\n\t\t\t\t\t// Match elements unmatched by `matcher`\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tif ( (elem = unmatched[i]) ) {\n\t\t\t\t\t\t\tseed[i] = !(matches[i] = elem);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}) :\n\t\t\t\tfunction( elem, context, xml ) {\n\t\t\t\t\tinput[0] = elem;\n\t\t\t\t\tmatcher( input, null, xml, results );\n\t\t\t\t\treturn !results.pop();\n\t\t\t\t};\n\t\t}),\n\n\t\t\"has\": markFunction(function( selector ) {\n\t\t\treturn function( elem ) {\n\t\t\t\treturn Sizzle( selector, elem ).length > 0;\n\t\t\t};\n\t\t}),\n\n\t\t\"contains\": markFunction(function( text ) {\n\t\t\treturn function( elem ) {\n\t\t\t\treturn ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1;\n\t\t\t};\n\t\t}),\n\n\t\t// \"Whether an element is represented by a :lang() selector\n\t\t// is based solely on the element's language value\n\t\t// being equal to the identifier C,\n\t\t// or beginning with the identifier C immediately followed by \"-\".\n\t\t// The matching of C against the element's language value is performed case-insensitively.\n\t\t// The identifier C does not have to be a valid language name.\"\n\t\t// http://www.w3.org/TR/selectors/#lang-pseudo\n\t\t\"lang\": markFunction( function( lang ) {\n\t\t\t// lang value must be a valid identifier\n\t\t\tif ( !ridentifier.test(lang || \"\") ) {\n\t\t\t\tSizzle.error( \"unsupported lang: \" + lang );\n\t\t\t}\n\t\t\tlang = lang.replace( runescape, funescape ).toLowerCase();\n\t\t\treturn function( elem ) {\n\t\t\t\tvar elemLang;\n\t\t\t\tdo {\n\t\t\t\t\tif ( (elemLang = documentIsHTML ?\n\t\t\t\t\t\telem.lang :\n\t\t\t\t\t\telem.getAttribute(\"xml:lang\") || elem.getAttribute(\"lang\")) ) {\n\n\t\t\t\t\t\telemLang = elemLang.toLowerCase();\n\t\t\t\t\t\treturn elemLang === lang || elemLang.indexOf( lang + \"-\" ) === 0;\n\t\t\t\t\t}\n\t\t\t\t} while ( (elem = elem.parentNode) && elem.nodeType === 1 );\n\t\t\t\treturn false;\n\t\t\t};\n\t\t}),\n\n\t\t// Miscellaneous\n\t\t\"target\": function( elem ) {\n\t\t\tvar hash = window.location && window.location.hash;\n\t\t\treturn hash && hash.slice( 1 ) === elem.id;\n\t\t},\n\n\t\t\"root\": function( elem ) {\n\t\t\treturn elem === docElem;\n\t\t},\n\n\t\t\"focus\": function( elem ) {\n\t\t\treturn elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex);\n\t\t},\n\n\t\t// Boolean properties\n\t\t\"enabled\": function( elem ) {\n\t\t\treturn elem.disabled === false;\n\t\t},\n\n\t\t\"disabled\": function( elem ) {\n\t\t\treturn elem.disabled === true;\n\t\t},\n\n\t\t\"checked\": function( elem ) {\n\t\t\t// In CSS3, :checked should return both checked and selected elements\n\t\t\t// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked\n\t\t\tvar nodeName = elem.nodeName.toLowerCase();\n\t\t\treturn (nodeName === \"input\" && !!elem.checked) || (nodeName === \"option\" && !!elem.selected);\n\t\t},\n\n\t\t\"selected\": function( elem ) {\n\t\t\t// Accessing this property makes selected-by-default\n\t\t\t// options in Safari work properly\n\t\t\tif ( elem.parentNode ) {\n\t\t\t\telem.parentNode.selectedIndex;\n\t\t\t}\n\n\t\t\treturn elem.selected === true;\n\t\t},\n\n\t\t// Contents\n\t\t\"empty\": function( elem ) {\n\t\t\t// http://www.w3.org/TR/selectors/#empty-pseudo\n\t\t\t// :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),\n\t\t\t//   but not by others (comment: 8; processing instruction: 7; etc.)\n\t\t\t// nodeType < 6 works because attributes (2) do not appear as children\n\t\t\tfor ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {\n\t\t\t\tif ( elem.nodeType < 6 ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t},\n\n\t\t\"parent\": function( elem ) {\n\t\t\treturn !Expr.pseudos[\"empty\"]( elem );\n\t\t},\n\n\t\t// Element/input types\n\t\t\"header\": function( elem ) {\n\t\t\treturn rheader.test( elem.nodeName );\n\t\t},\n\n\t\t\"input\": function( elem ) {\n\t\t\treturn rinputs.test( elem.nodeName );\n\t\t},\n\n\t\t\"button\": function( elem ) {\n\t\t\tvar name = elem.nodeName.toLowerCase();\n\t\t\treturn name === \"input\" && elem.type === \"button\" || name === \"button\";\n\t\t},\n\n\t\t\"text\": function( elem ) {\n\t\t\tvar attr;\n\t\t\treturn elem.nodeName.toLowerCase() === \"input\" &&\n\t\t\t\telem.type === \"text\" &&\n\n\t\t\t\t// Support: IE<8\n\t\t\t\t// New HTML5 attribute values (e.g., \"search\") appear with elem.type === \"text\"\n\t\t\t\t( (attr = elem.getAttribute(\"type\")) == null || attr.toLowerCase() === \"text\" );\n\t\t},\n\n\t\t// Position-in-collection\n\t\t\"first\": createPositionalPseudo(function() {\n\t\t\treturn [ 0 ];\n\t\t}),\n\n\t\t\"last\": createPositionalPseudo(function( matchIndexes, length ) {\n\t\t\treturn [ length - 1 ];\n\t\t}),\n\n\t\t\"eq\": createPositionalPseudo(function( matchIndexes, length, argument ) {\n\t\t\treturn [ argument < 0 ? argument + length : argument ];\n\t\t}),\n\n\t\t\"even\": createPositionalPseudo(function( matchIndexes, length ) {\n\t\t\tvar i = 0;\n\t\t\tfor ( ; i < length; i += 2 ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t}),\n\n\t\t\"odd\": createPositionalPseudo(function( matchIndexes, length ) {\n\t\t\tvar i = 1;\n\t\t\tfor ( ; i < length; i += 2 ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t}),\n\n\t\t\"lt\": createPositionalPseudo(function( matchIndexes, length, argument ) {\n\t\t\tvar i = argument < 0 ? argument + length : argument;\n\t\t\tfor ( ; --i >= 0; ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t}),\n\n\t\t\"gt\": createPositionalPseudo(function( matchIndexes, length, argument ) {\n\t\t\tvar i = argument < 0 ? argument + length : argument;\n\t\t\tfor ( ; ++i < length; ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t})\n\t}\n};\n\nExpr.pseudos[\"nth\"] = Expr.pseudos[\"eq\"];\n\n// Add button/input type pseudos\nfor ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) {\n\tExpr.pseudos[ i ] = createInputPseudo( i );\n}\nfor ( i in { submit: true, reset: true } ) {\n\tExpr.pseudos[ i ] = createButtonPseudo( i );\n}\n\n// Easy API for creating new setFilters\nfunction setFilters() {}\nsetFilters.prototype = Expr.filters = Expr.pseudos;\nExpr.setFilters = new setFilters();\n\ntokenize = Sizzle.tokenize = function( selector, parseOnly ) {\n\tvar matched, match, tokens, type,\n\t\tsoFar, groups, preFilters,\n\t\tcached = tokenCache[ selector + \" \" ];\n\n\tif ( cached ) {\n\t\treturn parseOnly ? 0 : cached.slice( 0 );\n\t}\n\n\tsoFar = selector;\n\tgroups = [];\n\tpreFilters = Expr.preFilter;\n\n\twhile ( soFar ) {\n\n\t\t// Comma and first run\n\t\tif ( !matched || (match = rcomma.exec( soFar )) ) {\n\t\t\tif ( match ) {\n\t\t\t\t// Don't consume trailing commas as valid\n\t\t\t\tsoFar = soFar.slice( match[0].length ) || soFar;\n\t\t\t}\n\t\t\tgroups.push( (tokens = []) );\n\t\t}\n\n\t\tmatched = false;\n\n\t\t// Combinators\n\t\tif ( (match = rcombinators.exec( soFar )) ) {\n\t\t\tmatched = match.shift();\n\t\t\ttokens.push({\n\t\t\t\tvalue: matched,\n\t\t\t\t// Cast descendant combinators to space\n\t\t\t\ttype: match[0].replace( rtrim, \" \" )\n\t\t\t});\n\t\t\tsoFar = soFar.slice( matched.length );\n\t\t}\n\n\t\t// Filters\n\t\tfor ( type in Expr.filter ) {\n\t\t\tif ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] ||\n\t\t\t\t(match = preFilters[ type ]( match ))) ) {\n\t\t\t\tmatched = match.shift();\n\t\t\t\ttokens.push({\n\t\t\t\t\tvalue: matched,\n\t\t\t\t\ttype: type,\n\t\t\t\t\tmatches: match\n\t\t\t\t});\n\t\t\t\tsoFar = soFar.slice( matched.length );\n\t\t\t}\n\t\t}\n\n\t\tif ( !matched ) {\n\t\t\tbreak;\n\t\t}\n\t}\n\n\t// Return the length of the invalid excess\n\t// if we're just parsing\n\t// Otherwise, throw an error or return tokens\n\treturn parseOnly ?\n\t\tsoFar.length :\n\t\tsoFar ?\n\t\t\tSizzle.error( selector ) :\n\t\t\t// Cache the tokens\n\t\t\ttokenCache( selector, groups ).slice( 0 );\n};\n\nfunction toSelector( tokens ) {\n\tvar i = 0,\n\t\tlen = tokens.length,\n\t\tselector = \"\";\n\tfor ( ; i < len; i++ ) {\n\t\tselector += tokens[i].value;\n\t}\n\treturn selector;\n}\n\nfunction addCombinator( matcher, combinator, base ) {\n\tvar dir = combinator.dir,\n\t\tcheckNonElements = base && dir === \"parentNode\",\n\t\tdoneName = done++;\n\n\treturn combinator.first ?\n\t\t// Check against closest ancestor/preceding element\n\t\tfunction( elem, context, xml ) {\n\t\t\twhile ( (elem = elem[ dir ]) ) {\n\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\treturn matcher( elem, context, xml );\n\t\t\t\t}\n\t\t\t}\n\t\t} :\n\n\t\t// Check against all ancestor/preceding elements\n\t\tfunction( elem, context, xml ) {\n\t\t\tvar oldCache, outerCache,\n\t\t\t\tnewCache = [ dirruns, doneName ];\n\n\t\t\t// We can't set arbitrary data on XML nodes, so they don't benefit from dir caching\n\t\t\tif ( xml ) {\n\t\t\t\twhile ( (elem = elem[ dir ]) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\t\tif ( matcher( elem, context, xml ) ) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\twhile ( (elem = elem[ dir ]) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\t\touterCache = elem[ expando ] || (elem[ expando ] = {});\n\t\t\t\t\t\tif ( (oldCache = outerCache[ dir ]) &&\n\t\t\t\t\t\t\toldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) {\n\n\t\t\t\t\t\t\t// Assign to newCache so results back-propagate to previous elements\n\t\t\t\t\t\t\treturn (newCache[ 2 ] = oldCache[ 2 ]);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// Reuse newcache so results back-propagate to previous elements\n\t\t\t\t\t\t\touterCache[ dir ] = newCache;\n\n\t\t\t\t\t\t\t// A match means we're done; a fail means we have to keep checking\n\t\t\t\t\t\t\tif ( (newCache[ 2 ] = matcher( elem, context, xml )) ) {\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t};\n}\n\nfunction elementMatcher( matchers ) {\n\treturn matchers.length > 1 ?\n\t\tfunction( elem, context, xml ) {\n\t\t\tvar i = matchers.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( !matchers[i]( elem, context, xml ) ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t} :\n\t\tmatchers[0];\n}\n\nfunction multipleContexts( selector, contexts, results ) {\n\tvar i = 0,\n\t\tlen = contexts.length;\n\tfor ( ; i < len; i++ ) {\n\t\tSizzle( selector, contexts[i], results );\n\t}\n\treturn results;\n}\n\nfunction condense( unmatched, map, filter, context, xml ) {\n\tvar elem,\n\t\tnewUnmatched = [],\n\t\ti = 0,\n\t\tlen = unmatched.length,\n\t\tmapped = map != null;\n\n\tfor ( ; i < len; i++ ) {\n\t\tif ( (elem = unmatched[i]) ) {\n\t\t\tif ( !filter || filter( elem, context, xml ) ) {\n\t\t\t\tnewUnmatched.push( elem );\n\t\t\t\tif ( mapped ) {\n\t\t\t\t\tmap.push( i );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn newUnmatched;\n}\n\nfunction setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {\n\tif ( postFilter && !postFilter[ expando ] ) {\n\t\tpostFilter = setMatcher( postFilter );\n\t}\n\tif ( postFinder && !postFinder[ expando ] ) {\n\t\tpostFinder = setMatcher( postFinder, postSelector );\n\t}\n\treturn markFunction(function( seed, results, context, xml ) {\n\t\tvar temp, i, elem,\n\t\t\tpreMap = [],\n\t\t\tpostMap = [],\n\t\t\tpreexisting = results.length,\n\n\t\t\t// Get initial elements from seed or context\n\t\t\telems = seed || multipleContexts( selector || \"*\", context.nodeType ? [ context ] : context, [] ),\n\n\t\t\t// Prefilter to get matcher input, preserving a map for seed-results synchronization\n\t\t\tmatcherIn = preFilter && ( seed || !selector ) ?\n\t\t\t\tcondense( elems, preMap, preFilter, context, xml ) :\n\t\t\t\telems,\n\n\t\t\tmatcherOut = matcher ?\n\t\t\t\t// If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results,\n\t\t\t\tpostFinder || ( seed ? preFilter : preexisting || postFilter ) ?\n\n\t\t\t\t\t// ...intermediate processing is necessary\n\t\t\t\t\t[] :\n\n\t\t\t\t\t// ...otherwise use results directly\n\t\t\t\t\tresults :\n\t\t\t\tmatcherIn;\n\n\t\t// Find primary matches\n\t\tif ( matcher ) {\n\t\t\tmatcher( matcherIn, matcherOut, context, xml );\n\t\t}\n\n\t\t// Apply postFilter\n\t\tif ( postFilter ) {\n\t\t\ttemp = condense( matcherOut, postMap );\n\t\t\tpostFilter( temp, [], context, xml );\n\n\t\t\t// Un-match failing elements by moving them back to matcherIn\n\t\t\ti = temp.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( (elem = temp[i]) ) {\n\t\t\t\t\tmatcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ( seed ) {\n\t\t\tif ( postFinder || preFilter ) {\n\t\t\t\tif ( postFinder ) {\n\t\t\t\t\t// Get the final matcherOut by condensing this intermediate into postFinder contexts\n\t\t\t\t\ttemp = [];\n\t\t\t\t\ti = matcherOut.length;\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tif ( (elem = matcherOut[i]) ) {\n\t\t\t\t\t\t\t// Restore matcherIn since elem is not yet a final match\n\t\t\t\t\t\t\ttemp.push( (matcherIn[i] = elem) );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tpostFinder( null, (matcherOut = []), temp, xml );\n\t\t\t\t}\n\n\t\t\t\t// Move matched elements from seed to results to keep them synchronized\n\t\t\t\ti = matcherOut.length;\n\t\t\t\twhile ( i-- ) {\n\t\t\t\t\tif ( (elem = matcherOut[i]) &&\n\t\t\t\t\t\t(temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) {\n\n\t\t\t\t\t\tseed[temp] = !(results[temp] = elem);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Add elements to results, through postFinder if defined\n\t\t} else {\n\t\t\tmatcherOut = condense(\n\t\t\t\tmatcherOut === results ?\n\t\t\t\t\tmatcherOut.splice( preexisting, matcherOut.length ) :\n\t\t\t\t\tmatcherOut\n\t\t\t);\n\t\t\tif ( postFinder ) {\n\t\t\t\tpostFinder( null, results, matcherOut, xml );\n\t\t\t} else {\n\t\t\t\tpush.apply( results, matcherOut );\n\t\t\t}\n\t\t}\n\t});\n}\n\nfunction matcherFromTokens( tokens ) {\n\tvar checkContext, matcher, j,\n\t\tlen = tokens.length,\n\t\tleadingRelative = Expr.relative[ tokens[0].type ],\n\t\timplicitRelative = leadingRelative || Expr.relative[\" \"],\n\t\ti = leadingRelative ? 1 : 0,\n\n\t\t// The foundational matcher ensures that elements are reachable from top-level context(s)\n\t\tmatchContext = addCombinator( function( elem ) {\n\t\t\treturn elem === checkContext;\n\t\t}, implicitRelative, true ),\n\t\tmatchAnyContext = addCombinator( function( elem ) {\n\t\t\treturn indexOf.call( checkContext, elem ) > -1;\n\t\t}, implicitRelative, true ),\n\t\tmatchers = [ function( elem, context, xml ) {\n\t\t\treturn ( !leadingRelative && ( xml || context !== outermostContext ) ) || (\n\t\t\t\t(checkContext = context).nodeType ?\n\t\t\t\t\tmatchContext( elem, context, xml ) :\n\t\t\t\t\tmatchAnyContext( elem, context, xml ) );\n\t\t} ];\n\n\tfor ( ; i < len; i++ ) {\n\t\tif ( (matcher = Expr.relative[ tokens[i].type ]) ) {\n\t\t\tmatchers = [ addCombinator(elementMatcher( matchers ), matcher) ];\n\t\t} else {\n\t\t\tmatcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches );\n\n\t\t\t// Return special upon seeing a positional matcher\n\t\t\tif ( matcher[ expando ] ) {\n\t\t\t\t// Find the next relative operator (if any) for proper handling\n\t\t\t\tj = ++i;\n\t\t\t\tfor ( ; j < len; j++ ) {\n\t\t\t\t\tif ( Expr.relative[ tokens[j].type ] ) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn setMatcher(\n\t\t\t\t\ti > 1 && elementMatcher( matchers ),\n\t\t\t\t\ti > 1 && toSelector(\n\t\t\t\t\t\t// If the preceding token was a descendant combinator, insert an implicit any-element `*`\n\t\t\t\t\t\ttokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === \" \" ? \"*\" : \"\" })\n\t\t\t\t\t).replace( rtrim, \"$1\" ),\n\t\t\t\t\tmatcher,\n\t\t\t\t\ti < j && matcherFromTokens( tokens.slice( i, j ) ),\n\t\t\t\t\tj < len && matcherFromTokens( (tokens = tokens.slice( j )) ),\n\t\t\t\t\tj < len && toSelector( tokens )\n\t\t\t\t);\n\t\t\t}\n\t\t\tmatchers.push( matcher );\n\t\t}\n\t}\n\n\treturn elementMatcher( matchers );\n}\n\nfunction matcherFromGroupMatchers( elementMatchers, setMatchers ) {\n\tvar bySet = setMatchers.length > 0,\n\t\tbyElement = elementMatchers.length > 0,\n\t\tsuperMatcher = function( seed, context, xml, results, outermost ) {\n\t\t\tvar elem, j, matcher,\n\t\t\t\tmatchedCount = 0,\n\t\t\t\ti = \"0\",\n\t\t\t\tunmatched = seed && [],\n\t\t\t\tsetMatched = [],\n\t\t\t\tcontextBackup = outermostContext,\n\t\t\t\t// We must always have either seed elements or outermost context\n\t\t\t\telems = seed || byElement && Expr.find[\"TAG\"]( \"*\", outermost ),\n\t\t\t\t// Use integer dirruns iff this is the outermost matcher\n\t\t\t\tdirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1),\n\t\t\t\tlen = elems.length;\n\n\t\t\tif ( outermost ) {\n\t\t\t\toutermostContext = context !== document && context;\n\t\t\t}\n\n\t\t\t// Add elements passing elementMatchers directly to results\n\t\t\t// Keep `i` a string if there are no elements so `matchedCount` will be \"00\" below\n\t\t\t// Support: IE<9, Safari\n\t\t\t// Tolerate NodeList properties (IE: \"length\"; Safari: <number>) matching elements by id\n\t\t\tfor ( ; i !== len && (elem = elems[i]) != null; i++ ) {\n\t\t\t\tif ( byElement && elem ) {\n\t\t\t\t\tj = 0;\n\t\t\t\t\twhile ( (matcher = elementMatchers[j++]) ) {\n\t\t\t\t\t\tif ( matcher( elem, context, xml ) ) {\n\t\t\t\t\t\t\tresults.push( elem );\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ( outermost ) {\n\t\t\t\t\t\tdirruns = dirrunsUnique;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Track unmatched elements for set filters\n\t\t\t\tif ( bySet ) {\n\t\t\t\t\t// They will have gone through all possible matchers\n\t\t\t\t\tif ( (elem = !matcher && elem) ) {\n\t\t\t\t\t\tmatchedCount--;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Lengthen the array for every element, matched or not\n\t\t\t\t\tif ( seed ) {\n\t\t\t\t\t\tunmatched.push( elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Apply set filters to unmatched elements\n\t\t\tmatchedCount += i;\n\t\t\tif ( bySet && i !== matchedCount ) {\n\t\t\t\tj = 0;\n\t\t\t\twhile ( (matcher = setMatchers[j++]) ) {\n\t\t\t\t\tmatcher( unmatched, setMatched, context, xml );\n\t\t\t\t}\n\n\t\t\t\tif ( seed ) {\n\t\t\t\t\t// Reintegrate element matches to eliminate the need for sorting\n\t\t\t\t\tif ( matchedCount > 0 ) {\n\t\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\t\tif ( !(unmatched[i] || setMatched[i]) ) {\n\t\t\t\t\t\t\t\tsetMatched[i] = pop.call( results );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Discard index placeholder values to get only actual matches\n\t\t\t\t\tsetMatched = condense( setMatched );\n\t\t\t\t}\n\n\t\t\t\t// Add matches to results\n\t\t\t\tpush.apply( results, setMatched );\n\n\t\t\t\t// Seedless set matches succeeding multiple successful matchers stipulate sorting\n\t\t\t\tif ( outermost && !seed && setMatched.length > 0 &&\n\t\t\t\t\t( matchedCount + setMatchers.length ) > 1 ) {\n\n\t\t\t\t\tSizzle.uniqueSort( results );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Override manipulation of globals by nested matchers\n\t\t\tif ( outermost ) {\n\t\t\t\tdirruns = dirrunsUnique;\n\t\t\t\toutermostContext = contextBackup;\n\t\t\t}\n\n\t\t\treturn unmatched;\n\t\t};\n\n\treturn bySet ?\n\t\tmarkFunction( superMatcher ) :\n\t\tsuperMatcher;\n}\n\ncompile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) {\n\tvar i,\n\t\tsetMatchers = [],\n\t\telementMatchers = [],\n\t\tcached = compilerCache[ selector + \" \" ];\n\n\tif ( !cached ) {\n\t\t// Generate a function of recursive functions that can be used to check each element\n\t\tif ( !match ) {\n\t\t\tmatch = tokenize( selector );\n\t\t}\n\t\ti = match.length;\n\t\twhile ( i-- ) {\n\t\t\tcached = matcherFromTokens( match[i] );\n\t\t\tif ( cached[ expando ] ) {\n\t\t\t\tsetMatchers.push( cached );\n\t\t\t} else {\n\t\t\t\telementMatchers.push( cached );\n\t\t\t}\n\t\t}\n\n\t\t// Cache the compiled function\n\t\tcached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) );\n\n\t\t// Save selector and tokenization\n\t\tcached.selector = selector;\n\t}\n\treturn cached;\n};\n\n/**\n * A low-level selection function that works with Sizzle's compiled\n *  selector functions\n * @param {String|Function} selector A selector or a pre-compiled\n *  selector function built with Sizzle.compile\n * @param {Element} context\n * @param {Array} [results]\n * @param {Array} [seed] A set of elements to match against\n */\nselect = Sizzle.select = function( selector, context, results, seed ) {\n\tvar i, tokens, token, type, find,\n\t\tcompiled = typeof selector === \"function\" && selector,\n\t\tmatch = !seed && tokenize( (selector = compiled.selector || selector) );\n\n\tresults = results || [];\n\n\t// Try to minimize operations if there is no seed and only one group\n\tif ( match.length === 1 ) {\n\n\t\t// Take a shortcut and set the context if the root selector is an ID\n\t\ttokens = match[0] = match[0].slice( 0 );\n\t\tif ( tokens.length > 2 && (token = tokens[0]).type === \"ID\" &&\n\t\t\t\tsupport.getById && context.nodeType === 9 && documentIsHTML &&\n\t\t\t\tExpr.relative[ tokens[1].type ] ) {\n\n\t\t\tcontext = ( Expr.find[\"ID\"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0];\n\t\t\tif ( !context ) {\n\t\t\t\treturn results;\n\n\t\t\t// Precompiled matchers will still verify ancestry, so step up a level\n\t\t\t} else if ( compiled ) {\n\t\t\t\tcontext = context.parentNode;\n\t\t\t}\n\n\t\t\tselector = selector.slice( tokens.shift().value.length );\n\t\t}\n\n\t\t// Fetch a seed set for right-to-left matching\n\t\ti = matchExpr[\"needsContext\"].test( selector ) ? 0 : tokens.length;\n\t\twhile ( i-- ) {\n\t\t\ttoken = tokens[i];\n\n\t\t\t// Abort if we hit a combinator\n\t\t\tif ( Expr.relative[ (type = token.type) ] ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif ( (find = Expr.find[ type ]) ) {\n\t\t\t\t// Search, expanding context for leading sibling combinators\n\t\t\t\tif ( (seed = find(\n\t\t\t\t\ttoken.matches[0].replace( runescape, funescape ),\n\t\t\t\t\trsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context\n\t\t\t\t)) ) {\n\n\t\t\t\t\t// If seed is empty or no tokens remain, we can return early\n\t\t\t\t\ttokens.splice( i, 1 );\n\t\t\t\t\tselector = seed.length && toSelector( tokens );\n\t\t\t\t\tif ( !selector ) {\n\t\t\t\t\t\tpush.apply( results, seed );\n\t\t\t\t\t\treturn results;\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Compile and execute a filtering function if one is not provided\n\t// Provide `match` to avoid retokenization if we modified the selector above\n\t( compiled || compile( selector, match ) )(\n\t\tseed,\n\t\tcontext,\n\t\t!documentIsHTML,\n\t\tresults,\n\t\trsibling.test( selector ) && testContext( context.parentNode ) || context\n\t);\n\treturn results;\n};\n\n// One-time assignments\n\n// Sort stability\nsupport.sortStable = expando.split(\"\").sort( sortOrder ).join(\"\") === expando;\n\n// Support: Chrome<14\n// Always assume duplicates if they aren't passed to the comparison function\nsupport.detectDuplicates = !!hasDuplicate;\n\n// Initialize against the default document\nsetDocument();\n\n// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27)\n// Detached nodes confoundingly follow *each other*\nsupport.sortDetached = assert(function( div1 ) {\n\t// Should return 1, but returns 4 (following)\n\treturn div1.compareDocumentPosition( document.createElement(\"div\") ) & 1;\n});\n\n// Support: IE<8\n// Prevent attribute/property \"interpolation\"\n// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx\nif ( !assert(function( div ) {\n\tdiv.innerHTML = \"<a href='#'></a>\";\n\treturn div.firstChild.getAttribute(\"href\") === \"#\" ;\n}) ) {\n\taddHandle( \"type|href|height|width\", function( elem, name, isXML ) {\n\t\tif ( !isXML ) {\n\t\t\treturn elem.getAttribute( name, name.toLowerCase() === \"type\" ? 1 : 2 );\n\t\t}\n\t});\n}\n\n// Support: IE<9\n// Use defaultValue in place of getAttribute(\"value\")\nif ( !support.attributes || !assert(function( div ) {\n\tdiv.innerHTML = \"<input/>\";\n\tdiv.firstChild.setAttribute( \"value\", \"\" );\n\treturn div.firstChild.getAttribute( \"value\" ) === \"\";\n}) ) {\n\taddHandle( \"value\", function( elem, name, isXML ) {\n\t\tif ( !isXML && elem.nodeName.toLowerCase() === \"input\" ) {\n\t\t\treturn elem.defaultValue;\n\t\t}\n\t});\n}\n\n// Support: IE<9\n// Use getAttributeNode to fetch booleans when getAttribute lies\nif ( !assert(function( div ) {\n\treturn div.getAttribute(\"disabled\") == null;\n}) ) {\n\taddHandle( booleans, function( elem, name, isXML ) {\n\t\tvar val;\n\t\tif ( !isXML ) {\n\t\t\treturn elem[ name ] === true ? name.toLowerCase() :\n\t\t\t\t\t(val = elem.getAttributeNode( name )) && val.specified ?\n\t\t\t\t\tval.value :\n\t\t\t\tnull;\n\t\t}\n\t});\n}\n\nreturn Sizzle;\n\n})( window );\n\n\n\njQuery.find = Sizzle;\njQuery.expr = Sizzle.selectors;\njQuery.expr[\":\"] = jQuery.expr.pseudos;\njQuery.unique = Sizzle.uniqueSort;\njQuery.text = Sizzle.getText;\njQuery.isXMLDoc = Sizzle.isXML;\njQuery.contains = Sizzle.contains;\n\n\n\nvar rneedsContext = jQuery.expr.match.needsContext;\n\nvar rsingleTag = (/^<(\\w+)\\s*\\/?>(?:<\\/\\1>|)$/);\n\n\n\nvar risSimple = /^.[^:#\\[\\.,]*$/;\n\n// Implement the identical functionality for filter and not\nfunction winnow( elements, qualifier, not ) {\n\tif ( jQuery.isFunction( qualifier ) ) {\n\t\treturn jQuery.grep( elements, function( elem, i ) {\n\t\t\t/* jshint -W018 */\n\t\t\treturn !!qualifier.call( elem, i, elem ) !== not;\n\t\t});\n\n\t}\n\n\tif ( qualifier.nodeType ) {\n\t\treturn jQuery.grep( elements, function( elem ) {\n\t\t\treturn ( elem === qualifier ) !== not;\n\t\t});\n\n\t}\n\n\tif ( typeof qualifier === \"string\" ) {\n\t\tif ( risSimple.test( qualifier ) ) {\n\t\t\treturn jQuery.filter( qualifier, elements, not );\n\t\t}\n\n\t\tqualifier = jQuery.filter( qualifier, elements );\n\t}\n\n\treturn jQuery.grep( elements, function( elem ) {\n\t\treturn ( indexOf.call( qualifier, elem ) >= 0 ) !== not;\n\t});\n}\n\njQuery.filter = function( expr, elems, not ) {\n\tvar elem = elems[ 0 ];\n\n\tif ( not ) {\n\t\texpr = \":not(\" + expr + \")\";\n\t}\n\n\treturn elems.length === 1 && elem.nodeType === 1 ?\n\t\tjQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] :\n\t\tjQuery.find.matches( expr, jQuery.grep( elems, function( elem ) {\n\t\t\treturn elem.nodeType === 1;\n\t\t}));\n};\n\njQuery.fn.extend({\n\tfind: function( selector ) {\n\t\tvar i,\n\t\t\tlen = this.length,\n\t\t\tret = [],\n\t\t\tself = this;\n\n\t\tif ( typeof selector !== \"string\" ) {\n\t\t\treturn this.pushStack( jQuery( selector ).filter(function() {\n\t\t\t\tfor ( i = 0; i < len; i++ ) {\n\t\t\t\t\tif ( jQuery.contains( self[ i ], this ) ) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}) );\n\t\t}\n\n\t\tfor ( i = 0; i < len; i++ ) {\n\t\t\tjQuery.find( selector, self[ i ], ret );\n\t\t}\n\n\t\t// Needed because $( selector, context ) becomes $( context ).find( selector )\n\t\tret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret );\n\t\tret.selector = this.selector ? this.selector + \" \" + selector : selector;\n\t\treturn ret;\n\t},\n\tfilter: function( selector ) {\n\t\treturn this.pushStack( winnow(this, selector || [], false) );\n\t},\n\tnot: function( selector ) {\n\t\treturn this.pushStack( winnow(this, selector || [], true) );\n\t},\n\tis: function( selector ) {\n\t\treturn !!winnow(\n\t\t\tthis,\n\n\t\t\t// If this is a positional/relative selector, check membership in the returned set\n\t\t\t// so $(\"p:first\").is(\"p:last\") won't return true for a doc with two \"p\".\n\t\t\ttypeof selector === \"string\" && rneedsContext.test( selector ) ?\n\t\t\t\tjQuery( selector ) :\n\t\t\t\tselector || [],\n\t\t\tfalse\n\t\t).length;\n\t}\n});\n\n\n// Initialize a jQuery object\n\n\n// A central reference to the root jQuery(document)\nvar rootjQuery,\n\n\t// A simple way to check for HTML strings\n\t// Prioritize #id over <tag> to avoid XSS via location.hash (#9521)\n\t// Strict HTML recognition (#11290: must start with <)\n\trquickExpr = /^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]*))$/,\n\n\tinit = jQuery.fn.init = function( selector, context ) {\n\t\tvar match, elem;\n\n\t\t// HANDLE: $(\"\"), $(null), $(undefined), $(false)\n\t\tif ( !selector ) {\n\t\t\treturn this;\n\t\t}\n\n\t\t// Handle HTML strings\n\t\tif ( typeof selector === \"string\" ) {\n\t\t\tif ( selector[0] === \"<\" && selector[ selector.length - 1 ] === \">\" && selector.length >= 3 ) {\n\t\t\t\t// Assume that strings that start and end with <> are HTML and skip the regex check\n\t\t\t\tmatch = [ null, selector, null ];\n\n\t\t\t} else {\n\t\t\t\tmatch = rquickExpr.exec( selector );\n\t\t\t}\n\n\t\t\t// Match html or make sure no context is specified for #id\n\t\t\tif ( match && (match[1] || !context) ) {\n\n\t\t\t\t// HANDLE: $(html) -> $(array)\n\t\t\t\tif ( match[1] ) {\n\t\t\t\t\tcontext = context instanceof jQuery ? context[0] : context;\n\n\t\t\t\t\t// scripts is true for back-compat\n\t\t\t\t\t// Intentionally let the error be thrown if parseHTML is not present\n\t\t\t\t\tjQuery.merge( this, jQuery.parseHTML(\n\t\t\t\t\t\tmatch[1],\n\t\t\t\t\t\tcontext && context.nodeType ? context.ownerDocument || context : document,\n\t\t\t\t\t\ttrue\n\t\t\t\t\t) );\n\n\t\t\t\t\t// HANDLE: $(html, props)\n\t\t\t\t\tif ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) {\n\t\t\t\t\t\tfor ( match in context ) {\n\t\t\t\t\t\t\t// Properties of context are called as methods if possible\n\t\t\t\t\t\t\tif ( jQuery.isFunction( this[ match ] ) ) {\n\t\t\t\t\t\t\t\tthis[ match ]( context[ match ] );\n\n\t\t\t\t\t\t\t// ...and otherwise set as attributes\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tthis.attr( match, context[ match ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn this;\n\n\t\t\t\t// HANDLE: $(#id)\n\t\t\t\t} else {\n\t\t\t\t\telem = document.getElementById( match[2] );\n\n\t\t\t\t\t// Check parentNode to catch when Blackberry 4.6 returns\n\t\t\t\t\t// nodes that are no longer in the document #6963\n\t\t\t\t\tif ( elem && elem.parentNode ) {\n\t\t\t\t\t\t// Inject the element directly into the jQuery object\n\t\t\t\t\t\tthis.length = 1;\n\t\t\t\t\t\tthis[0] = elem;\n\t\t\t\t\t}\n\n\t\t\t\t\tthis.context = document;\n\t\t\t\t\tthis.selector = selector;\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\n\t\t\t// HANDLE: $(expr, $(...))\n\t\t\t} else if ( !context || context.jquery ) {\n\t\t\t\treturn ( context || rootjQuery ).find( selector );\n\n\t\t\t// HANDLE: $(expr, context)\n\t\t\t// (which is just equivalent to: $(context).find(expr)\n\t\t\t} else {\n\t\t\t\treturn this.constructor( context ).find( selector );\n\t\t\t}\n\n\t\t// HANDLE: $(DOMElement)\n\t\t} else if ( selector.nodeType ) {\n\t\t\tthis.context = this[0] = selector;\n\t\t\tthis.length = 1;\n\t\t\treturn this;\n\n\t\t// HANDLE: $(function)\n\t\t// Shortcut for document ready\n\t\t} else if ( jQuery.isFunction( selector ) ) {\n\t\t\treturn typeof rootjQuery.ready !== \"undefined\" ?\n\t\t\t\trootjQuery.ready( selector ) :\n\t\t\t\t// Execute immediately if ready is not present\n\t\t\t\tselector( jQuery );\n\t\t}\n\n\t\tif ( selector.selector !== undefined ) {\n\t\t\tthis.selector = selector.selector;\n\t\t\tthis.context = selector.context;\n\t\t}\n\n\t\treturn jQuery.makeArray( selector, this );\n\t};\n\n// Give the init function the jQuery prototype for later instantiation\ninit.prototype = jQuery.fn;\n\n// Initialize central reference\nrootjQuery = jQuery( document );\n\n\nvar rparentsprev = /^(?:parents|prev(?:Until|All))/,\n\t// methods guaranteed to produce a unique set when starting from a unique set\n\tguaranteedUnique = {\n\t\tchildren: true,\n\t\tcontents: true,\n\t\tnext: true,\n\t\tprev: true\n\t};\n\njQuery.extend({\n\tdir: function( elem, dir, until ) {\n\t\tvar matched = [],\n\t\t\ttruncate = until !== undefined;\n\n\t\twhile ( (elem = elem[ dir ]) && elem.nodeType !== 9 ) {\n\t\t\tif ( elem.nodeType === 1 ) {\n\t\t\t\tif ( truncate && jQuery( elem ).is( until ) ) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tmatched.push( elem );\n\t\t\t}\n\t\t}\n\t\treturn matched;\n\t},\n\n\tsibling: function( n, elem ) {\n\t\tvar matched = [];\n\n\t\tfor ( ; n; n = n.nextSibling ) {\n\t\t\tif ( n.nodeType === 1 && n !== elem ) {\n\t\t\t\tmatched.push( n );\n\t\t\t}\n\t\t}\n\n\t\treturn matched;\n\t}\n});\n\njQuery.fn.extend({\n\thas: function( target ) {\n\t\tvar targets = jQuery( target, this ),\n\t\t\tl = targets.length;\n\n\t\treturn this.filter(function() {\n\t\t\tvar i = 0;\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tif ( jQuery.contains( this, targets[i] ) ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t},\n\n\tclosest: function( selectors, context ) {\n\t\tvar cur,\n\t\t\ti = 0,\n\t\t\tl = this.length,\n\t\t\tmatched = [],\n\t\t\tpos = rneedsContext.test( selectors ) || typeof selectors !== \"string\" ?\n\t\t\t\tjQuery( selectors, context || this.context ) :\n\t\t\t\t0;\n\n\t\tfor ( ; i < l; i++ ) {\n\t\t\tfor ( cur = this[i]; cur && cur !== context; cur = cur.parentNode ) {\n\t\t\t\t// Always skip document fragments\n\t\t\t\tif ( cur.nodeType < 11 && (pos ?\n\t\t\t\t\tpos.index(cur) > -1 :\n\n\t\t\t\t\t// Don't pass non-elements to Sizzle\n\t\t\t\t\tcur.nodeType === 1 &&\n\t\t\t\t\t\tjQuery.find.matchesSelector(cur, selectors)) ) {\n\n\t\t\t\t\tmatched.push( cur );\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this.pushStack( matched.length > 1 ? jQuery.unique( matched ) : matched );\n\t},\n\n\t// Determine the position of an element within\n\t// the matched set of elements\n\tindex: function( elem ) {\n\n\t\t// No argument, return index in parent\n\t\tif ( !elem ) {\n\t\t\treturn ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1;\n\t\t}\n\n\t\t// index in selector\n\t\tif ( typeof elem === \"string\" ) {\n\t\t\treturn indexOf.call( jQuery( elem ), this[ 0 ] );\n\t\t}\n\n\t\t// Locate the position of the desired element\n\t\treturn indexOf.call( this,\n\n\t\t\t// If it receives a jQuery object, the first element is used\n\t\t\telem.jquery ? elem[ 0 ] : elem\n\t\t);\n\t},\n\n\tadd: function( selector, context ) {\n\t\treturn this.pushStack(\n\t\t\tjQuery.unique(\n\t\t\t\tjQuery.merge( this.get(), jQuery( selector, context ) )\n\t\t\t)\n\t\t);\n\t},\n\n\taddBack: function( selector ) {\n\t\treturn this.add( selector == null ?\n\t\t\tthis.prevObject : this.prevObject.filter(selector)\n\t\t);\n\t}\n});\n\nfunction sibling( cur, dir ) {\n\twhile ( (cur = cur[dir]) && cur.nodeType !== 1 ) {}\n\treturn cur;\n}\n\njQuery.each({\n\tparent: function( elem ) {\n\t\tvar parent = elem.parentNode;\n\t\treturn parent && parent.nodeType !== 11 ? parent : null;\n\t},\n\tparents: function( elem ) {\n\t\treturn jQuery.dir( elem, \"parentNode\" );\n\t},\n\tparentsUntil: function( elem, i, until ) {\n\t\treturn jQuery.dir( elem, \"parentNode\", until );\n\t},\n\tnext: function( elem ) {\n\t\treturn sibling( elem, \"nextSibling\" );\n\t},\n\tprev: function( elem ) {\n\t\treturn sibling( elem, \"previousSibling\" );\n\t},\n\tnextAll: function( elem ) {\n\t\treturn jQuery.dir( elem, \"nextSibling\" );\n\t},\n\tprevAll: function( elem ) {\n\t\treturn jQuery.dir( elem, \"previousSibling\" );\n\t},\n\tnextUntil: function( elem, i, until ) {\n\t\treturn jQuery.dir( elem, \"nextSibling\", until );\n\t},\n\tprevUntil: function( elem, i, until ) {\n\t\treturn jQuery.dir( elem, \"previousSibling\", until );\n\t},\n\tsiblings: function( elem ) {\n\t\treturn jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem );\n\t},\n\tchildren: function( elem ) {\n\t\treturn jQuery.sibling( elem.firstChild );\n\t},\n\tcontents: function( elem ) {\n\t\treturn elem.contentDocument || jQuery.merge( [], elem.childNodes );\n\t}\n}, function( name, fn ) {\n\tjQuery.fn[ name ] = function( until, selector ) {\n\t\tvar matched = jQuery.map( this, fn, until );\n\n\t\tif ( name.slice( -5 ) !== \"Until\" ) {\n\t\t\tselector = until;\n\t\t}\n\n\t\tif ( selector && typeof selector === \"string\" ) {\n\t\t\tmatched = jQuery.filter( selector, matched );\n\t\t}\n\n\t\tif ( this.length > 1 ) {\n\t\t\t// Remove duplicates\n\t\t\tif ( !guaranteedUnique[ name ] ) {\n\t\t\t\tjQuery.unique( matched );\n\t\t\t}\n\n\t\t\t// Reverse order for parents* and prev-derivatives\n\t\t\tif ( rparentsprev.test( name ) ) {\n\t\t\t\tmatched.reverse();\n\t\t\t}\n\t\t}\n\n\t\treturn this.pushStack( matched );\n\t};\n});\nvar rnotwhite = (/\\S+/g);\n\n\n\n// String to Object options format cache\nvar optionsCache = {};\n\n// Convert String-formatted options into Object-formatted ones and store in cache\nfunction createOptions( options ) {\n\tvar object = optionsCache[ options ] = {};\n\tjQuery.each( options.match( rnotwhite ) || [], function( _, flag ) {\n\t\tobject[ flag ] = true;\n\t});\n\treturn object;\n}\n\n/*\n * Create a callback list using the following parameters:\n *\n *\toptions: an optional list of space-separated options that will change how\n *\t\t\tthe callback list behaves or a more traditional option object\n *\n * By default a callback list will act like an event callback list and can be\n * \"fired\" multiple times.\n *\n * Possible options:\n *\n *\tonce:\t\t\twill ensure the callback list can only be fired once (like a Deferred)\n *\n *\tmemory:\t\t\twill keep track of previous values and will call any callback added\n *\t\t\t\t\tafter the list has been fired right away with the latest \"memorized\"\n *\t\t\t\t\tvalues (like a Deferred)\n *\n *\tunique:\t\t\twill ensure a callback can only be added once (no duplicate in the list)\n *\n *\tstopOnFalse:\tinterrupt callings when a callback returns false\n *\n */\njQuery.Callbacks = function( options ) {\n\n\t// Convert options from String-formatted to Object-formatted if needed\n\t// (we check in cache first)\n\toptions = typeof options === \"string\" ?\n\t\t( optionsCache[ options ] || createOptions( options ) ) :\n\t\tjQuery.extend( {}, options );\n\n\tvar // Last fire value (for non-forgettable lists)\n\t\tmemory,\n\t\t// Flag to know if list was already fired\n\t\tfired,\n\t\t// Flag to know if list is currently firing\n\t\tfiring,\n\t\t// First callback to fire (used internally by add and fireWith)\n\t\tfiringStart,\n\t\t// End of the loop when firing\n\t\tfiringLength,\n\t\t// Index of currently firing callback (modified by remove if needed)\n\t\tfiringIndex,\n\t\t// Actual callback list\n\t\tlist = [],\n\t\t// Stack of fire calls for repeatable lists\n\t\tstack = !options.once && [],\n\t\t// Fire callbacks\n\t\tfire = function( data ) {\n\t\t\tmemory = options.memory && data;\n\t\t\tfired = true;\n\t\t\tfiringIndex = firingStart || 0;\n\t\t\tfiringStart = 0;\n\t\t\tfiringLength = list.length;\n\t\t\tfiring = true;\n\t\t\tfor ( ; list && firingIndex < firingLength; firingIndex++ ) {\n\t\t\t\tif ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) {\n\t\t\t\t\tmemory = false; // To prevent further calls using add\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tfiring = false;\n\t\t\tif ( list ) {\n\t\t\t\tif ( stack ) {\n\t\t\t\t\tif ( stack.length ) {\n\t\t\t\t\t\tfire( stack.shift() );\n\t\t\t\t\t}\n\t\t\t\t} else if ( memory ) {\n\t\t\t\t\tlist = [];\n\t\t\t\t} else {\n\t\t\t\t\tself.disable();\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t// Actual Callbacks object\n\t\tself = {\n\t\t\t// Add a callback or a collection of callbacks to the list\n\t\t\tadd: function() {\n\t\t\t\tif ( list ) {\n\t\t\t\t\t// First, we save the current length\n\t\t\t\t\tvar start = list.length;\n\t\t\t\t\t(function add( args ) {\n\t\t\t\t\t\tjQuery.each( args, function( _, arg ) {\n\t\t\t\t\t\t\tvar type = jQuery.type( arg );\n\t\t\t\t\t\t\tif ( type === \"function\" ) {\n\t\t\t\t\t\t\t\tif ( !options.unique || !self.has( arg ) ) {\n\t\t\t\t\t\t\t\t\tlist.push( arg );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if ( arg && arg.length && type !== \"string\" ) {\n\t\t\t\t\t\t\t\t// Inspect recursively\n\t\t\t\t\t\t\t\tadd( arg );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t})( arguments );\n\t\t\t\t\t// Do we need to add the callbacks to the\n\t\t\t\t\t// current firing batch?\n\t\t\t\t\tif ( firing ) {\n\t\t\t\t\t\tfiringLength = list.length;\n\t\t\t\t\t// With memory, if we're not firing then\n\t\t\t\t\t// we should call right away\n\t\t\t\t\t} else if ( memory ) {\n\t\t\t\t\t\tfiringStart = start;\n\t\t\t\t\t\tfire( memory );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\t// Remove a callback from the list\n\t\t\tremove: function() {\n\t\t\t\tif ( list ) {\n\t\t\t\t\tjQuery.each( arguments, function( _, arg ) {\n\t\t\t\t\t\tvar index;\n\t\t\t\t\t\twhile ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) {\n\t\t\t\t\t\t\tlist.splice( index, 1 );\n\t\t\t\t\t\t\t// Handle firing indexes\n\t\t\t\t\t\t\tif ( firing ) {\n\t\t\t\t\t\t\t\tif ( index <= firingLength ) {\n\t\t\t\t\t\t\t\t\tfiringLength--;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif ( index <= firingIndex ) {\n\t\t\t\t\t\t\t\t\tfiringIndex--;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\t// Check if a given callback is in the list.\n\t\t\t// If no argument is given, return whether or not list has callbacks attached.\n\t\t\thas: function( fn ) {\n\t\t\t\treturn fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length );\n\t\t\t},\n\t\t\t// Remove all callbacks from the list\n\t\t\tempty: function() {\n\t\t\t\tlist = [];\n\t\t\t\tfiringLength = 0;\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\t// Have the list do nothing anymore\n\t\t\tdisable: function() {\n\t\t\t\tlist = stack = memory = undefined;\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\t// Is it disabled?\n\t\t\tdisabled: function() {\n\t\t\t\treturn !list;\n\t\t\t},\n\t\t\t// Lock the list in its current state\n\t\t\tlock: function() {\n\t\t\t\tstack = undefined;\n\t\t\t\tif ( !memory ) {\n\t\t\t\t\tself.disable();\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\t// Is it locked?\n\t\t\tlocked: function() {\n\t\t\t\treturn !stack;\n\t\t\t},\n\t\t\t// Call all callbacks with the given context and arguments\n\t\t\tfireWith: function( context, args ) {\n\t\t\t\tif ( list && ( !fired || stack ) ) {\n\t\t\t\t\targs = args || [];\n\t\t\t\t\targs = [ context, args.slice ? args.slice() : args ];\n\t\t\t\t\tif ( firing ) {\n\t\t\t\t\t\tstack.push( args );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tfire( args );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\t// Call all the callbacks with the given arguments\n\t\t\tfire: function() {\n\t\t\t\tself.fireWith( this, arguments );\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\t// To know if the callbacks have already been called at least once\n\t\t\tfired: function() {\n\t\t\t\treturn !!fired;\n\t\t\t}\n\t\t};\n\n\treturn self;\n};\n\n\njQuery.extend({\n\n\tDeferred: function( func ) {\n\t\tvar tuples = [\n\t\t\t\t// action, add listener, listener list, final state\n\t\t\t\t[ \"resolve\", \"done\", jQuery.Callbacks(\"once memory\"), \"resolved\" ],\n\t\t\t\t[ \"reject\", \"fail\", jQuery.Callbacks(\"once memory\"), \"rejected\" ],\n\t\t\t\t[ \"notify\", \"progress\", jQuery.Callbacks(\"memory\") ]\n\t\t\t],\n\t\t\tstate = \"pending\",\n\t\t\tpromise = {\n\t\t\t\tstate: function() {\n\t\t\t\t\treturn state;\n\t\t\t\t},\n\t\t\t\talways: function() {\n\t\t\t\t\tdeferred.done( arguments ).fail( arguments );\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\t\t\t\tthen: function( /* fnDone, fnFail, fnProgress */ ) {\n\t\t\t\t\tvar fns = arguments;\n\t\t\t\t\treturn jQuery.Deferred(function( newDefer ) {\n\t\t\t\t\t\tjQuery.each( tuples, function( i, tuple ) {\n\t\t\t\t\t\t\tvar fn = jQuery.isFunction( fns[ i ] ) && fns[ i ];\n\t\t\t\t\t\t\t// deferred[ done | fail | progress ] for forwarding actions to newDefer\n\t\t\t\t\t\t\tdeferred[ tuple[1] ](function() {\n\t\t\t\t\t\t\t\tvar returned = fn && fn.apply( this, arguments );\n\t\t\t\t\t\t\t\tif ( returned && jQuery.isFunction( returned.promise ) ) {\n\t\t\t\t\t\t\t\t\treturned.promise()\n\t\t\t\t\t\t\t\t\t\t.done( newDefer.resolve )\n\t\t\t\t\t\t\t\t\t\t.fail( newDefer.reject )\n\t\t\t\t\t\t\t\t\t\t.progress( newDefer.notify );\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tnewDefer[ tuple[ 0 ] + \"With\" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t});\n\t\t\t\t\t\tfns = null;\n\t\t\t\t\t}).promise();\n\t\t\t\t},\n\t\t\t\t// Get a promise for this deferred\n\t\t\t\t// If obj is provided, the promise aspect is added to the object\n\t\t\t\tpromise: function( obj ) {\n\t\t\t\t\treturn obj != null ? jQuery.extend( obj, promise ) : promise;\n\t\t\t\t}\n\t\t\t},\n\t\t\tdeferred = {};\n\n\t\t// Keep pipe for back-compat\n\t\tpromise.pipe = promise.then;\n\n\t\t// Add list-specific methods\n\t\tjQuery.each( tuples, function( i, tuple ) {\n\t\t\tvar list = tuple[ 2 ],\n\t\t\t\tstateString = tuple[ 3 ];\n\n\t\t\t// promise[ done | fail | progress ] = list.add\n\t\t\tpromise[ tuple[1] ] = list.add;\n\n\t\t\t// Handle state\n\t\t\tif ( stateString ) {\n\t\t\t\tlist.add(function() {\n\t\t\t\t\t// state = [ resolved | rejected ]\n\t\t\t\t\tstate = stateString;\n\n\t\t\t\t// [ reject_list | resolve_list ].disable; progress_list.lock\n\t\t\t\t}, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock );\n\t\t\t}\n\n\t\t\t// deferred[ resolve | reject | notify ]\n\t\t\tdeferred[ tuple[0] ] = function() {\n\t\t\t\tdeferred[ tuple[0] + \"With\" ]( this === deferred ? promise : this, arguments );\n\t\t\t\treturn this;\n\t\t\t};\n\t\t\tdeferred[ tuple[0] + \"With\" ] = list.fireWith;\n\t\t});\n\n\t\t// Make the deferred a promise\n\t\tpromise.promise( deferred );\n\n\t\t// Call given func if any\n\t\tif ( func ) {\n\t\t\tfunc.call( deferred, deferred );\n\t\t}\n\n\t\t// All done!\n\t\treturn deferred;\n\t},\n\n\t// Deferred helper\n\twhen: function( subordinate /* , ..., subordinateN */ ) {\n\t\tvar i = 0,\n\t\t\tresolveValues = slice.call( arguments ),\n\t\t\tlength = resolveValues.length,\n\n\t\t\t// the count of uncompleted subordinates\n\t\t\tremaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0,\n\n\t\t\t// the master Deferred. If resolveValues consist of only a single Deferred, just use that.\n\t\t\tdeferred = remaining === 1 ? subordinate : jQuery.Deferred(),\n\n\t\t\t// Update function for both resolve and progress values\n\t\t\tupdateFunc = function( i, contexts, values ) {\n\t\t\t\treturn function( value ) {\n\t\t\t\t\tcontexts[ i ] = this;\n\t\t\t\t\tvalues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;\n\t\t\t\t\tif ( values === progressValues ) {\n\t\t\t\t\t\tdeferred.notifyWith( contexts, values );\n\t\t\t\t\t} else if ( !( --remaining ) ) {\n\t\t\t\t\t\tdeferred.resolveWith( contexts, values );\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t},\n\n\t\t\tprogressValues, progressContexts, resolveContexts;\n\n\t\t// add listeners to Deferred subordinates; treat others as resolved\n\t\tif ( length > 1 ) {\n\t\t\tprogressValues = new Array( length );\n\t\t\tprogressContexts = new Array( length );\n\t\t\tresolveContexts = new Array( length );\n\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\tif ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) {\n\t\t\t\t\tresolveValues[ i ].promise()\n\t\t\t\t\t\t.done( updateFunc( i, resolveContexts, resolveValues ) )\n\t\t\t\t\t\t.fail( deferred.reject )\n\t\t\t\t\t\t.progress( updateFunc( i, progressContexts, progressValues ) );\n\t\t\t\t} else {\n\t\t\t\t\t--remaining;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// if we're not waiting on anything, resolve the master\n\t\tif ( !remaining ) {\n\t\t\tdeferred.resolveWith( resolveContexts, resolveValues );\n\t\t}\n\n\t\treturn deferred.promise();\n\t}\n});\n\n\n// The deferred used on DOM ready\nvar readyList;\n\njQuery.fn.ready = function( fn ) {\n\t// Add the callback\n\tjQuery.ready.promise().done( fn );\n\n\treturn this;\n};\n\njQuery.extend({\n\t// Is the DOM ready to be used? Set to true once it occurs.\n\tisReady: false,\n\n\t// A counter to track how many items to wait for before\n\t// the ready event fires. See #6781\n\treadyWait: 1,\n\n\t// Hold (or release) the ready event\n\tholdReady: function( hold ) {\n\t\tif ( hold ) {\n\t\t\tjQuery.readyWait++;\n\t\t} else {\n\t\t\tjQuery.ready( true );\n\t\t}\n\t},\n\n\t// Handle when the DOM is ready\n\tready: function( wait ) {\n\n\t\t// Abort if there are pending holds or we're already ready\n\t\tif ( wait === true ? --jQuery.readyWait : jQuery.isReady ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Remember that the DOM is ready\n\t\tjQuery.isReady = true;\n\n\t\t// If a normal DOM Ready event fired, decrement, and wait if need be\n\t\tif ( wait !== true && --jQuery.readyWait > 0 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// If there are functions bound, to execute\n\t\treadyList.resolveWith( document, [ jQuery ] );\n\n\t\t// Trigger any bound ready events\n\t\tif ( jQuery.fn.triggerHandler ) {\n\t\t\tjQuery( document ).triggerHandler( \"ready\" );\n\t\t\tjQuery( document ).off( \"ready\" );\n\t\t}\n\t}\n});\n\n/**\n * The ready event handler and self cleanup method\n */\nfunction completed() {\n\tdocument.removeEventListener( \"DOMContentLoaded\", completed, false );\n\twindow.removeEventListener( \"load\", completed, false );\n\tjQuery.ready();\n}\n\njQuery.ready.promise = function( obj ) {\n\tif ( !readyList ) {\n\n\t\treadyList = jQuery.Deferred();\n\n\t\t// Catch cases where $(document).ready() is called after the browser event has already occurred.\n\t\t// we once tried to use readyState \"interactive\" here, but it caused issues like the one\n\t\t// discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15\n\t\tif ( document.readyState === \"complete\" ) {\n\t\t\t// Handle it asynchronously to allow scripts the opportunity to delay ready\n\t\t\tsetTimeout( jQuery.ready );\n\n\t\t} else {\n\n\t\t\t// Use the handy event callback\n\t\t\tdocument.addEventListener( \"DOMContentLoaded\", completed, false );\n\n\t\t\t// A fallback to window.onload, that will always work\n\t\t\twindow.addEventListener( \"load\", completed, false );\n\t\t}\n\t}\n\treturn readyList.promise( obj );\n};\n\n// Kick off the DOM ready check even if the user does not\njQuery.ready.promise();\n\n\n\n\n// Multifunctional method to get and set values of a collection\n// The value/s can optionally be executed if it's a function\nvar access = jQuery.access = function( elems, fn, key, value, chainable, emptyGet, raw ) {\n\tvar i = 0,\n\t\tlen = elems.length,\n\t\tbulk = key == null;\n\n\t// Sets many values\n\tif ( jQuery.type( key ) === \"object\" ) {\n\t\tchainable = true;\n\t\tfor ( i in key ) {\n\t\t\tjQuery.access( elems, fn, i, key[i], true, emptyGet, raw );\n\t\t}\n\n\t// Sets one value\n\t} else if ( value !== undefined ) {\n\t\tchainable = true;\n\n\t\tif ( !jQuery.isFunction( value ) ) {\n\t\t\traw = true;\n\t\t}\n\n\t\tif ( bulk ) {\n\t\t\t// Bulk operations run against the entire set\n\t\t\tif ( raw ) {\n\t\t\t\tfn.call( elems, value );\n\t\t\t\tfn = null;\n\n\t\t\t// ...except when executing function values\n\t\t\t} else {\n\t\t\t\tbulk = fn;\n\t\t\t\tfn = function( elem, key, value ) {\n\t\t\t\t\treturn bulk.call( jQuery( elem ), value );\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\n\t\tif ( fn ) {\n\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\tfn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) );\n\t\t\t}\n\t\t}\n\t}\n\n\treturn chainable ?\n\t\telems :\n\n\t\t// Gets\n\t\tbulk ?\n\t\t\tfn.call( elems ) :\n\t\t\tlen ? fn( elems[0], key ) : emptyGet;\n};\n\n\n/**\n * Determines whether an object can have data\n */\njQuery.acceptData = function( owner ) {\n\t// Accepts only:\n\t//  - Node\n\t//    - Node.ELEMENT_NODE\n\t//    - Node.DOCUMENT_NODE\n\t//  - Object\n\t//    - Any\n\t/* jshint -W018 */\n\treturn owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType );\n};\n\n\nfunction Data() {\n\t// Support: Android < 4,\n\t// Old WebKit does not have Object.preventExtensions/freeze method,\n\t// return new empty object instead with no [[set]] accessor\n\tObject.defineProperty( this.cache = {}, 0, {\n\t\tget: function() {\n\t\t\treturn {};\n\t\t}\n\t});\n\n\tthis.expando = jQuery.expando + Math.random();\n}\n\nData.uid = 1;\nData.accepts = jQuery.acceptData;\n\nData.prototype = {\n\tkey: function( owner ) {\n\t\t// We can accept data for non-element nodes in modern browsers,\n\t\t// but we should not, see #8335.\n\t\t// Always return the key for a frozen object.\n\t\tif ( !Data.accepts( owner ) ) {\n\t\t\treturn 0;\n\t\t}\n\n\t\tvar descriptor = {},\n\t\t\t// Check if the owner object already has a cache key\n\t\t\tunlock = owner[ this.expando ];\n\n\t\t// If not, create one\n\t\tif ( !unlock ) {\n\t\t\tunlock = Data.uid++;\n\n\t\t\t// Secure it in a non-enumerable, non-writable property\n\t\t\ttry {\n\t\t\t\tdescriptor[ this.expando ] = { value: unlock };\n\t\t\t\tObject.defineProperties( owner, descriptor );\n\n\t\t\t// Support: Android < 4\n\t\t\t// Fallback to a less secure definition\n\t\t\t} catch ( e ) {\n\t\t\t\tdescriptor[ this.expando ] = unlock;\n\t\t\t\tjQuery.extend( owner, descriptor );\n\t\t\t}\n\t\t}\n\n\t\t// Ensure the cache object\n\t\tif ( !this.cache[ unlock ] ) {\n\t\t\tthis.cache[ unlock ] = {};\n\t\t}\n\n\t\treturn unlock;\n\t},\n\tset: function( owner, data, value ) {\n\t\tvar prop,\n\t\t\t// There may be an unlock assigned to this node,\n\t\t\t// if there is no entry for this \"owner\", create one inline\n\t\t\t// and set the unlock as though an owner entry had always existed\n\t\t\tunlock = this.key( owner ),\n\t\t\tcache = this.cache[ unlock ];\n\n\t\t// Handle: [ owner, key, value ] args\n\t\tif ( typeof data === \"string\" ) {\n\t\t\tcache[ data ] = value;\n\n\t\t// Handle: [ owner, { properties } ] args\n\t\t} else {\n\t\t\t// Fresh assignments by object are shallow copied\n\t\t\tif ( jQuery.isEmptyObject( cache ) ) {\n\t\t\t\tjQuery.extend( this.cache[ unlock ], data );\n\t\t\t// Otherwise, copy the properties one-by-one to the cache object\n\t\t\t} else {\n\t\t\t\tfor ( prop in data ) {\n\t\t\t\t\tcache[ prop ] = data[ prop ];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn cache;\n\t},\n\tget: function( owner, key ) {\n\t\t// Either a valid cache is found, or will be created.\n\t\t// New caches will be created and the unlock returned,\n\t\t// allowing direct access to the newly created\n\t\t// empty data object. A valid owner object must be provided.\n\t\tvar cache = this.cache[ this.key( owner ) ];\n\n\t\treturn key === undefined ?\n\t\t\tcache : cache[ key ];\n\t},\n\taccess: function( owner, key, value ) {\n\t\tvar stored;\n\t\t// In cases where either:\n\t\t//\n\t\t//   1. No key was specified\n\t\t//   2. A string key was specified, but no value provided\n\t\t//\n\t\t// Take the \"read\" path and allow the get method to determine\n\t\t// which value to return, respectively either:\n\t\t//\n\t\t//   1. The entire cache object\n\t\t//   2. The data stored at the key\n\t\t//\n\t\tif ( key === undefined ||\n\t\t\t\t((key && typeof key === \"string\") && value === undefined) ) {\n\n\t\t\tstored = this.get( owner, key );\n\n\t\t\treturn stored !== undefined ?\n\t\t\t\tstored : this.get( owner, jQuery.camelCase(key) );\n\t\t}\n\n\t\t// [*]When the key is not a string, or both a key and value\n\t\t// are specified, set or extend (existing objects) with either:\n\t\t//\n\t\t//   1. An object of properties\n\t\t//   2. A key and value\n\t\t//\n\t\tthis.set( owner, key, value );\n\n\t\t// Since the \"set\" path can have two possible entry points\n\t\t// return the expected data based on which path was taken[*]\n\t\treturn value !== undefined ? value : key;\n\t},\n\tremove: function( owner, key ) {\n\t\tvar i, name, camel,\n\t\t\tunlock = this.key( owner ),\n\t\t\tcache = this.cache[ unlock ];\n\n\t\tif ( key === undefined ) {\n\t\t\tthis.cache[ unlock ] = {};\n\n\t\t} else {\n\t\t\t// Support array or space separated string of keys\n\t\t\tif ( jQuery.isArray( key ) ) {\n\t\t\t\t// If \"name\" is an array of keys...\n\t\t\t\t// When data is initially created, via (\"key\", \"val\") signature,\n\t\t\t\t// keys will be converted to camelCase.\n\t\t\t\t// Since there is no way to tell _how_ a key was added, remove\n\t\t\t\t// both plain key and camelCase key. #12786\n\t\t\t\t// This will only penalize the array argument path.\n\t\t\t\tname = key.concat( key.map( jQuery.camelCase ) );\n\t\t\t} else {\n\t\t\t\tcamel = jQuery.camelCase( key );\n\t\t\t\t// Try the string as a key before any manipulation\n\t\t\t\tif ( key in cache ) {\n\t\t\t\t\tname = [ key, camel ];\n\t\t\t\t} else {\n\t\t\t\t\t// If a key with the spaces exists, use it.\n\t\t\t\t\t// Otherwise, create an array by matching non-whitespace\n\t\t\t\t\tname = camel;\n\t\t\t\t\tname = name in cache ?\n\t\t\t\t\t\t[ name ] : ( name.match( rnotwhite ) || [] );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\ti = name.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\tdelete cache[ name[ i ] ];\n\t\t\t}\n\t\t}\n\t},\n\thasData: function( owner ) {\n\t\treturn !jQuery.isEmptyObject(\n\t\t\tthis.cache[ owner[ this.expando ] ] || {}\n\t\t);\n\t},\n\tdiscard: function( owner ) {\n\t\tif ( owner[ this.expando ] ) {\n\t\t\tdelete this.cache[ owner[ this.expando ] ];\n\t\t}\n\t}\n};\nvar data_priv = new Data();\n\nvar data_user = new Data();\n\n\n\n/*\n\tImplementation Summary\n\n\t1. Enforce API surface and semantic compatibility with 1.9.x branch\n\t2. Improve the module's maintainability by reducing the storage\n\t\tpaths to a single mechanism.\n\t3. Use the same single mechanism to support \"private\" and \"user\" data.\n\t4. _Never_ expose \"private\" data to user code (TODO: Drop _data, _removeData)\n\t5. Avoid exposing implementation details on user objects (eg. expando properties)\n\t6. Provide a clear path for implementation upgrade to WeakMap in 2014\n*/\nvar rbrace = /^(?:\\{[\\w\\W]*\\}|\\[[\\w\\W]*\\])$/,\n\trmultiDash = /([A-Z])/g;\n\nfunction dataAttr( elem, key, data ) {\n\tvar name;\n\n\t// If nothing was found internally, try to fetch any\n\t// data from the HTML5 data-* attribute\n\tif ( data === undefined && elem.nodeType === 1 ) {\n\t\tname = \"data-\" + key.replace( rmultiDash, \"-$1\" ).toLowerCase();\n\t\tdata = elem.getAttribute( name );\n\n\t\tif ( typeof data === \"string\" ) {\n\t\t\ttry {\n\t\t\t\tdata = data === \"true\" ? true :\n\t\t\t\t\tdata === \"false\" ? false :\n\t\t\t\t\tdata === \"null\" ? null :\n\t\t\t\t\t// Only convert to a number if it doesn't change the string\n\t\t\t\t\t+data + \"\" === data ? +data :\n\t\t\t\t\trbrace.test( data ) ? jQuery.parseJSON( data ) :\n\t\t\t\t\tdata;\n\t\t\t} catch( e ) {}\n\n\t\t\t// Make sure we set the data so it isn't changed later\n\t\t\tdata_user.set( elem, key, data );\n\t\t} else {\n\t\t\tdata = undefined;\n\t\t}\n\t}\n\treturn data;\n}\n\njQuery.extend({\n\thasData: function( elem ) {\n\t\treturn data_user.hasData( elem ) || data_priv.hasData( elem );\n\t},\n\n\tdata: function( elem, name, data ) {\n\t\treturn data_user.access( elem, name, data );\n\t},\n\n\tremoveData: function( elem, name ) {\n\t\tdata_user.remove( elem, name );\n\t},\n\n\t// TODO: Now that all calls to _data and _removeData have been replaced\n\t// with direct calls to data_priv methods, these can be deprecated.\n\t_data: function( elem, name, data ) {\n\t\treturn data_priv.access( elem, name, data );\n\t},\n\n\t_removeData: function( elem, name ) {\n\t\tdata_priv.remove( elem, name );\n\t}\n});\n\njQuery.fn.extend({\n\tdata: function( key, value ) {\n\t\tvar i, name, data,\n\t\t\telem = this[ 0 ],\n\t\t\tattrs = elem && elem.attributes;\n\n\t\t// Gets all values\n\t\tif ( key === undefined ) {\n\t\t\tif ( this.length ) {\n\t\t\t\tdata = data_user.get( elem );\n\n\t\t\t\tif ( elem.nodeType === 1 && !data_priv.get( elem, \"hasDataAttrs\" ) ) {\n\t\t\t\t\ti = attrs.length;\n\t\t\t\t\twhile ( i-- ) {\n\n\t\t\t\t\t\t// Support: IE11+\n\t\t\t\t\t\t// The attrs elements can be null (#14894)\n\t\t\t\t\t\tif ( attrs[ i ] ) {\n\t\t\t\t\t\t\tname = attrs[ i ].name;\n\t\t\t\t\t\t\tif ( name.indexOf( \"data-\" ) === 0 ) {\n\t\t\t\t\t\t\t\tname = jQuery.camelCase( name.slice(5) );\n\t\t\t\t\t\t\t\tdataAttr( elem, name, data[ name ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tdata_priv.set( elem, \"hasDataAttrs\", true );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn data;\n\t\t}\n\n\t\t// Sets multiple values\n\t\tif ( typeof key === \"object\" ) {\n\t\t\treturn this.each(function() {\n\t\t\t\tdata_user.set( this, key );\n\t\t\t});\n\t\t}\n\n\t\treturn access( this, function( value ) {\n\t\t\tvar data,\n\t\t\t\tcamelKey = jQuery.camelCase( key );\n\n\t\t\t// The calling jQuery object (element matches) is not empty\n\t\t\t// (and therefore has an element appears at this[ 0 ]) and the\n\t\t\t// `value` parameter was not undefined. An empty jQuery object\n\t\t\t// will result in `undefined` for elem = this[ 0 ] which will\n\t\t\t// throw an exception if an attempt to read a data cache is made.\n\t\t\tif ( elem && value === undefined ) {\n\t\t\t\t// Attempt to get data from the cache\n\t\t\t\t// with the key as-is\n\t\t\t\tdata = data_user.get( elem, key );\n\t\t\t\tif ( data !== undefined ) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\n\t\t\t\t// Attempt to get data from the cache\n\t\t\t\t// with the key camelized\n\t\t\t\tdata = data_user.get( elem, camelKey );\n\t\t\t\tif ( data !== undefined ) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\n\t\t\t\t// Attempt to \"discover\" the data in\n\t\t\t\t// HTML5 custom data-* attrs\n\t\t\t\tdata = dataAttr( elem, camelKey, undefined );\n\t\t\t\tif ( data !== undefined ) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\n\t\t\t\t// We tried really hard, but the data doesn't exist.\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Set the data...\n\t\t\tthis.each(function() {\n\t\t\t\t// First, attempt to store a copy or reference of any\n\t\t\t\t// data that might've been store with a camelCased key.\n\t\t\t\tvar data = data_user.get( this, camelKey );\n\n\t\t\t\t// For HTML5 data-* attribute interop, we have to\n\t\t\t\t// store property names with dashes in a camelCase form.\n\t\t\t\t// This might not apply to all properties...*\n\t\t\t\tdata_user.set( this, camelKey, value );\n\n\t\t\t\t// *... In the case of properties that might _actually_\n\t\t\t\t// have dashes, we need to also store a copy of that\n\t\t\t\t// unchanged property.\n\t\t\t\tif ( key.indexOf(\"-\") !== -1 && data !== undefined ) {\n\t\t\t\t\tdata_user.set( this, key, value );\n\t\t\t\t}\n\t\t\t});\n\t\t}, null, value, arguments.length > 1, null, true );\n\t},\n\n\tremoveData: function( key ) {\n\t\treturn this.each(function() {\n\t\t\tdata_user.remove( this, key );\n\t\t});\n\t}\n});\n\n\njQuery.extend({\n\tqueue: function( elem, type, data ) {\n\t\tvar queue;\n\n\t\tif ( elem ) {\n\t\t\ttype = ( type || \"fx\" ) + \"queue\";\n\t\t\tqueue = data_priv.get( elem, type );\n\n\t\t\t// Speed up dequeue by getting out quickly if this is just a lookup\n\t\t\tif ( data ) {\n\t\t\t\tif ( !queue || jQuery.isArray( data ) ) {\n\t\t\t\t\tqueue = data_priv.access( elem, type, jQuery.makeArray(data) );\n\t\t\t\t} else {\n\t\t\t\t\tqueue.push( data );\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn queue || [];\n\t\t}\n\t},\n\n\tdequeue: function( elem, type ) {\n\t\ttype = type || \"fx\";\n\n\t\tvar queue = jQuery.queue( elem, type ),\n\t\t\tstartLength = queue.length,\n\t\t\tfn = queue.shift(),\n\t\t\thooks = jQuery._queueHooks( elem, type ),\n\t\t\tnext = function() {\n\t\t\t\tjQuery.dequeue( elem, type );\n\t\t\t};\n\n\t\t// If the fx queue is dequeued, always remove the progress sentinel\n\t\tif ( fn === \"inprogress\" ) {\n\t\t\tfn = queue.shift();\n\t\t\tstartLength--;\n\t\t}\n\n\t\tif ( fn ) {\n\n\t\t\t// Add a progress sentinel to prevent the fx queue from being\n\t\t\t// automatically dequeued\n\t\t\tif ( type === \"fx\" ) {\n\t\t\t\tqueue.unshift( \"inprogress\" );\n\t\t\t}\n\n\t\t\t// clear up the last queue stop function\n\t\t\tdelete hooks.stop;\n\t\t\tfn.call( elem, next, hooks );\n\t\t}\n\n\t\tif ( !startLength && hooks ) {\n\t\t\thooks.empty.fire();\n\t\t}\n\t},\n\n\t// not intended for public consumption - generates a queueHooks object, or returns the current one\n\t_queueHooks: function( elem, type ) {\n\t\tvar key = type + \"queueHooks\";\n\t\treturn data_priv.get( elem, key ) || data_priv.access( elem, key, {\n\t\t\tempty: jQuery.Callbacks(\"once memory\").add(function() {\n\t\t\t\tdata_priv.remove( elem, [ type + \"queue\", key ] );\n\t\t\t})\n\t\t});\n\t}\n});\n\njQuery.fn.extend({\n\tqueue: function( type, data ) {\n\t\tvar setter = 2;\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tdata = type;\n\t\t\ttype = \"fx\";\n\t\t\tsetter--;\n\t\t}\n\n\t\tif ( arguments.length < setter ) {\n\t\t\treturn jQuery.queue( this[0], type );\n\t\t}\n\n\t\treturn data === undefined ?\n\t\t\tthis :\n\t\t\tthis.each(function() {\n\t\t\t\tvar queue = jQuery.queue( this, type, data );\n\n\t\t\t\t// ensure a hooks for this queue\n\t\t\t\tjQuery._queueHooks( this, type );\n\n\t\t\t\tif ( type === \"fx\" && queue[0] !== \"inprogress\" ) {\n\t\t\t\t\tjQuery.dequeue( this, type );\n\t\t\t\t}\n\t\t\t});\n\t},\n\tdequeue: function( type ) {\n\t\treturn this.each(function() {\n\t\t\tjQuery.dequeue( this, type );\n\t\t});\n\t},\n\tclearQueue: function( type ) {\n\t\treturn this.queue( type || \"fx\", [] );\n\t},\n\t// Get a promise resolved when queues of a certain type\n\t// are emptied (fx is the type by default)\n\tpromise: function( type, obj ) {\n\t\tvar tmp,\n\t\t\tcount = 1,\n\t\t\tdefer = jQuery.Deferred(),\n\t\t\telements = this,\n\t\t\ti = this.length,\n\t\t\tresolve = function() {\n\t\t\t\tif ( !( --count ) ) {\n\t\t\t\t\tdefer.resolveWith( elements, [ elements ] );\n\t\t\t\t}\n\t\t\t};\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tobj = type;\n\t\t\ttype = undefined;\n\t\t}\n\t\ttype = type || \"fx\";\n\n\t\twhile ( i-- ) {\n\t\t\ttmp = data_priv.get( elements[ i ], type + \"queueHooks\" );\n\t\t\tif ( tmp && tmp.empty ) {\n\t\t\t\tcount++;\n\t\t\t\ttmp.empty.add( resolve );\n\t\t\t}\n\t\t}\n\t\tresolve();\n\t\treturn defer.promise( obj );\n\t}\n});\nvar pnum = (/[+-]?(?:\\d*\\.|)\\d+(?:[eE][+-]?\\d+|)/).source;\n\nvar cssExpand = [ \"Top\", \"Right\", \"Bottom\", \"Left\" ];\n\nvar isHidden = function( elem, el ) {\n\t\t// isHidden might be called from jQuery#filter function;\n\t\t// in that case, element will be second argument\n\t\telem = el || elem;\n\t\treturn jQuery.css( elem, \"display\" ) === \"none\" || !jQuery.contains( elem.ownerDocument, elem );\n\t};\n\nvar rcheckableType = (/^(?:checkbox|radio)$/i);\n\n\n\n(function() {\n\tvar fragment = document.createDocumentFragment(),\n\t\tdiv = fragment.appendChild( document.createElement( \"div\" ) ),\n\t\tinput = document.createElement( \"input\" );\n\n\t// #11217 - WebKit loses check when the name is after the checked attribute\n\t// Support: Windows Web Apps (WWA)\n\t// `name` and `type` need .setAttribute for WWA\n\tinput.setAttribute( \"type\", \"radio\" );\n\tinput.setAttribute( \"checked\", \"checked\" );\n\tinput.setAttribute( \"name\", \"t\" );\n\n\tdiv.appendChild( input );\n\n\t// Support: Safari 5.1, iOS 5.1, Android 4.x, Android 2.3\n\t// old WebKit doesn't clone checked state correctly in fragments\n\tsupport.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked;\n\n\t// Make sure textarea (and checkbox) defaultValue is properly cloned\n\t// Support: IE9-IE11+\n\tdiv.innerHTML = \"<textarea>x</textarea>\";\n\tsupport.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue;\n})();\nvar strundefined = typeof undefined;\n\n\n\nsupport.focusinBubbles = \"onfocusin\" in window;\n\n\nvar\n\trkeyEvent = /^key/,\n\trmouseEvent = /^(?:mouse|pointer|contextmenu)|click/,\n\trfocusMorph = /^(?:focusinfocus|focusoutblur)$/,\n\trtypenamespace = /^([^.]*)(?:\\.(.+)|)$/;\n\nfunction returnTrue() {\n\treturn true;\n}\n\nfunction returnFalse() {\n\treturn false;\n}\n\nfunction safeActiveElement() {\n\ttry {\n\t\treturn document.activeElement;\n\t} catch ( err ) { }\n}\n\n/*\n * Helper functions for managing events -- not part of the public interface.\n * Props to Dean Edwards' addEvent library for many of the ideas.\n */\njQuery.event = {\n\n\tglobal: {},\n\n\tadd: function( elem, types, handler, data, selector ) {\n\n\t\tvar handleObjIn, eventHandle, tmp,\n\t\t\tevents, t, handleObj,\n\t\t\tspecial, handlers, type, namespaces, origType,\n\t\t\telemData = data_priv.get( elem );\n\n\t\t// Don't attach events to noData or text/comment nodes (but allow plain objects)\n\t\tif ( !elemData ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Caller can pass in an object of custom data in lieu of the handler\n\t\tif ( handler.handler ) {\n\t\t\thandleObjIn = handler;\n\t\t\thandler = handleObjIn.handler;\n\t\t\tselector = handleObjIn.selector;\n\t\t}\n\n\t\t// Make sure that the handler has a unique ID, used to find/remove it later\n\t\tif ( !handler.guid ) {\n\t\t\thandler.guid = jQuery.guid++;\n\t\t}\n\n\t\t// Init the element's event structure and main handler, if this is the first\n\t\tif ( !(events = elemData.events) ) {\n\t\t\tevents = elemData.events = {};\n\t\t}\n\t\tif ( !(eventHandle = elemData.handle) ) {\n\t\t\teventHandle = elemData.handle = function( e ) {\n\t\t\t\t// Discard the second event of a jQuery.event.trigger() and\n\t\t\t\t// when an event is called after a page has unloaded\n\t\t\t\treturn typeof jQuery !== strundefined && jQuery.event.triggered !== e.type ?\n\t\t\t\t\tjQuery.event.dispatch.apply( elem, arguments ) : undefined;\n\t\t\t};\n\t\t}\n\n\t\t// Handle multiple events separated by a space\n\t\ttypes = ( types || \"\" ).match( rnotwhite ) || [ \"\" ];\n\t\tt = types.length;\n\t\twhile ( t-- ) {\n\t\t\ttmp = rtypenamespace.exec( types[t] ) || [];\n\t\t\ttype = origType = tmp[1];\n\t\t\tnamespaces = ( tmp[2] || \"\" ).split( \".\" ).sort();\n\n\t\t\t// There *must* be a type, no attaching namespace-only handlers\n\t\t\tif ( !type ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// If event changes its type, use the special event handlers for the changed type\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\n\t\t\t// If selector defined, determine special event api type, otherwise given type\n\t\t\ttype = ( selector ? special.delegateType : special.bindType ) || type;\n\n\t\t\t// Update special based on newly reset type\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\n\t\t\t// handleObj is passed to all event handlers\n\t\t\thandleObj = jQuery.extend({\n\t\t\t\ttype: type,\n\t\t\t\torigType: origType,\n\t\t\t\tdata: data,\n\t\t\t\thandler: handler,\n\t\t\t\tguid: handler.guid,\n\t\t\t\tselector: selector,\n\t\t\t\tneedsContext: selector && jQuery.expr.match.needsContext.test( selector ),\n\t\t\t\tnamespace: namespaces.join(\".\")\n\t\t\t}, handleObjIn );\n\n\t\t\t// Init the event handler queue if we're the first\n\t\t\tif ( !(handlers = events[ type ]) ) {\n\t\t\t\thandlers = events[ type ] = [];\n\t\t\t\thandlers.delegateCount = 0;\n\n\t\t\t\t// Only use addEventListener if the special events handler returns false\n\t\t\t\tif ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) {\n\t\t\t\t\tif ( elem.addEventListener ) {\n\t\t\t\t\t\telem.addEventListener( type, eventHandle, false );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( special.add ) {\n\t\t\t\tspecial.add.call( elem, handleObj );\n\n\t\t\t\tif ( !handleObj.handler.guid ) {\n\t\t\t\t\thandleObj.handler.guid = handler.guid;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Add to the element's handler list, delegates in front\n\t\t\tif ( selector ) {\n\t\t\t\thandlers.splice( handlers.delegateCount++, 0, handleObj );\n\t\t\t} else {\n\t\t\t\thandlers.push( handleObj );\n\t\t\t}\n\n\t\t\t// Keep track of which events have ever been used, for event optimization\n\t\t\tjQuery.event.global[ type ] = true;\n\t\t}\n\n\t},\n\n\t// Detach an event or set of events from an element\n\tremove: function( elem, types, handler, selector, mappedTypes ) {\n\n\t\tvar j, origCount, tmp,\n\t\t\tevents, t, handleObj,\n\t\t\tspecial, handlers, type, namespaces, origType,\n\t\t\telemData = data_priv.hasData( elem ) && data_priv.get( elem );\n\n\t\tif ( !elemData || !(events = elemData.events) ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Once for each type.namespace in types; type may be omitted\n\t\ttypes = ( types || \"\" ).match( rnotwhite ) || [ \"\" ];\n\t\tt = types.length;\n\t\twhile ( t-- ) {\n\t\t\ttmp = rtypenamespace.exec( types[t] ) || [];\n\t\t\ttype = origType = tmp[1];\n\t\t\tnamespaces = ( tmp[2] || \"\" ).split( \".\" ).sort();\n\n\t\t\t// Unbind all events (on this namespace, if provided) for the element\n\t\t\tif ( !type ) {\n\t\t\t\tfor ( type in events ) {\n\t\t\t\t\tjQuery.event.remove( elem, type + types[ t ], handler, selector, true );\n\t\t\t\t}\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\t\t\ttype = ( selector ? special.delegateType : special.bindType ) || type;\n\t\t\thandlers = events[ type ] || [];\n\t\t\ttmp = tmp[2] && new RegExp( \"(^|\\\\.)\" + namespaces.join(\"\\\\.(?:.*\\\\.|)\") + \"(\\\\.|$)\" );\n\n\t\t\t// Remove matching events\n\t\t\torigCount = j = handlers.length;\n\t\t\twhile ( j-- ) {\n\t\t\t\thandleObj = handlers[ j ];\n\n\t\t\t\tif ( ( mappedTypes || origType === handleObj.origType ) &&\n\t\t\t\t\t( !handler || handler.guid === handleObj.guid ) &&\n\t\t\t\t\t( !tmp || tmp.test( handleObj.namespace ) ) &&\n\t\t\t\t\t( !selector || selector === handleObj.selector || selector === \"**\" && handleObj.selector ) ) {\n\t\t\t\t\thandlers.splice( j, 1 );\n\n\t\t\t\t\tif ( handleObj.selector ) {\n\t\t\t\t\t\thandlers.delegateCount--;\n\t\t\t\t\t}\n\t\t\t\t\tif ( special.remove ) {\n\t\t\t\t\t\tspecial.remove.call( elem, handleObj );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Remove generic event handler if we removed something and no more handlers exist\n\t\t\t// (avoids potential for endless recursion during removal of special event handlers)\n\t\t\tif ( origCount && !handlers.length ) {\n\t\t\t\tif ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) {\n\t\t\t\t\tjQuery.removeEvent( elem, type, elemData.handle );\n\t\t\t\t}\n\n\t\t\t\tdelete events[ type ];\n\t\t\t}\n\t\t}\n\n\t\t// Remove the expando if it's no longer used\n\t\tif ( jQuery.isEmptyObject( events ) ) {\n\t\t\tdelete elemData.handle;\n\t\t\tdata_priv.remove( elem, \"events\" );\n\t\t}\n\t},\n\n\ttrigger: function( event, data, elem, onlyHandlers ) {\n\n\t\tvar i, cur, tmp, bubbleType, ontype, handle, special,\n\t\t\teventPath = [ elem || document ],\n\t\t\ttype = hasOwn.call( event, \"type\" ) ? event.type : event,\n\t\t\tnamespaces = hasOwn.call( event, \"namespace\" ) ? event.namespace.split(\".\") : [];\n\n\t\tcur = tmp = elem = elem || document;\n\n\t\t// Don't do events on text and comment nodes\n\t\tif ( elem.nodeType === 3 || elem.nodeType === 8 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// focus/blur morphs to focusin/out; ensure we're not firing them right now\n\t\tif ( rfocusMorph.test( type + jQuery.event.triggered ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( type.indexOf(\".\") >= 0 ) {\n\t\t\t// Namespaced trigger; create a regexp to match event type in handle()\n\t\t\tnamespaces = type.split(\".\");\n\t\t\ttype = namespaces.shift();\n\t\t\tnamespaces.sort();\n\t\t}\n\t\tontype = type.indexOf(\":\") < 0 && \"on\" + type;\n\n\t\t// Caller can pass in a jQuery.Event object, Object, or just an event type string\n\t\tevent = event[ jQuery.expando ] ?\n\t\t\tevent :\n\t\t\tnew jQuery.Event( type, typeof event === \"object\" && event );\n\n\t\t// Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true)\n\t\tevent.isTrigger = onlyHandlers ? 2 : 3;\n\t\tevent.namespace = namespaces.join(\".\");\n\t\tevent.namespace_re = event.namespace ?\n\t\t\tnew RegExp( \"(^|\\\\.)\" + namespaces.join(\"\\\\.(?:.*\\\\.|)\") + \"(\\\\.|$)\" ) :\n\t\t\tnull;\n\n\t\t// Clean up the event in case it is being reused\n\t\tevent.result = undefined;\n\t\tif ( !event.target ) {\n\t\t\tevent.target = elem;\n\t\t}\n\n\t\t// Clone any incoming data and prepend the event, creating the handler arg list\n\t\tdata = data == null ?\n\t\t\t[ event ] :\n\t\t\tjQuery.makeArray( data, [ event ] );\n\n\t\t// Allow special events to draw outside the lines\n\t\tspecial = jQuery.event.special[ type ] || {};\n\t\tif ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Determine event propagation path in advance, per W3C events spec (#9951)\n\t\t// Bubble up to document, then to window; watch for a global ownerDocument var (#9724)\n\t\tif ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) {\n\n\t\t\tbubbleType = special.delegateType || type;\n\t\t\tif ( !rfocusMorph.test( bubbleType + type ) ) {\n\t\t\t\tcur = cur.parentNode;\n\t\t\t}\n\t\t\tfor ( ; cur; cur = cur.parentNode ) {\n\t\t\t\teventPath.push( cur );\n\t\t\t\ttmp = cur;\n\t\t\t}\n\n\t\t\t// Only add window if we got to document (e.g., not plain obj or detached DOM)\n\t\t\tif ( tmp === (elem.ownerDocument || document) ) {\n\t\t\t\teventPath.push( tmp.defaultView || tmp.parentWindow || window );\n\t\t\t}\n\t\t}\n\n\t\t// Fire handlers on the event path\n\t\ti = 0;\n\t\twhile ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) {\n\n\t\t\tevent.type = i > 1 ?\n\t\t\t\tbubbleType :\n\t\t\t\tspecial.bindType || type;\n\n\t\t\t// jQuery handler\n\t\t\thandle = ( data_priv.get( cur, \"events\" ) || {} )[ event.type ] && data_priv.get( cur, \"handle\" );\n\t\t\tif ( handle ) {\n\t\t\t\thandle.apply( cur, data );\n\t\t\t}\n\n\t\t\t// Native handler\n\t\t\thandle = ontype && cur[ ontype ];\n\t\t\tif ( handle && handle.apply && jQuery.acceptData( cur ) ) {\n\t\t\t\tevent.result = handle.apply( cur, data );\n\t\t\t\tif ( event.result === false ) {\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tevent.type = type;\n\n\t\t// If nobody prevented the default action, do it now\n\t\tif ( !onlyHandlers && !event.isDefaultPrevented() ) {\n\n\t\t\tif ( (!special._default || special._default.apply( eventPath.pop(), data ) === false) &&\n\t\t\t\tjQuery.acceptData( elem ) ) {\n\n\t\t\t\t// Call a native DOM method on the target with the same name name as the event.\n\t\t\t\t// Don't do default actions on window, that's where global variables be (#6170)\n\t\t\t\tif ( ontype && jQuery.isFunction( elem[ type ] ) && !jQuery.isWindow( elem ) ) {\n\n\t\t\t\t\t// Don't re-trigger an onFOO event when we call its FOO() method\n\t\t\t\t\ttmp = elem[ ontype ];\n\n\t\t\t\t\tif ( tmp ) {\n\t\t\t\t\t\telem[ ontype ] = null;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Prevent re-triggering of the same event, since we already bubbled it above\n\t\t\t\t\tjQuery.event.triggered = type;\n\t\t\t\t\telem[ type ]();\n\t\t\t\t\tjQuery.event.triggered = undefined;\n\n\t\t\t\t\tif ( tmp ) {\n\t\t\t\t\t\telem[ ontype ] = tmp;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn event.result;\n\t},\n\n\tdispatch: function( event ) {\n\n\t\t// Make a writable jQuery.Event from the native event object\n\t\tevent = jQuery.event.fix( event );\n\n\t\tvar i, j, ret, matched, handleObj,\n\t\t\thandlerQueue = [],\n\t\t\targs = slice.call( arguments ),\n\t\t\thandlers = ( data_priv.get( this, \"events\" ) || {} )[ event.type ] || [],\n\t\t\tspecial = jQuery.event.special[ event.type ] || {};\n\n\t\t// Use the fix-ed jQuery.Event rather than the (read-only) native event\n\t\targs[0] = event;\n\t\tevent.delegateTarget = this;\n\n\t\t// Call the preDispatch hook for the mapped type, and let it bail if desired\n\t\tif ( special.preDispatch && special.preDispatch.call( this, event ) === false ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Determine handlers\n\t\thandlerQueue = jQuery.event.handlers.call( this, event, handlers );\n\n\t\t// Run delegates first; they may want to stop propagation beneath us\n\t\ti = 0;\n\t\twhile ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) {\n\t\t\tevent.currentTarget = matched.elem;\n\n\t\t\tj = 0;\n\t\t\twhile ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) {\n\n\t\t\t\t// Triggered event must either 1) have no namespace, or\n\t\t\t\t// 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace).\n\t\t\t\tif ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) {\n\n\t\t\t\t\tevent.handleObj = handleObj;\n\t\t\t\t\tevent.data = handleObj.data;\n\n\t\t\t\t\tret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler )\n\t\t\t\t\t\t\t.apply( matched.elem, args );\n\n\t\t\t\t\tif ( ret !== undefined ) {\n\t\t\t\t\t\tif ( (event.result = ret) === false ) {\n\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Call the postDispatch hook for the mapped type\n\t\tif ( special.postDispatch ) {\n\t\t\tspecial.postDispatch.call( this, event );\n\t\t}\n\n\t\treturn event.result;\n\t},\n\n\thandlers: function( event, handlers ) {\n\t\tvar i, matches, sel, handleObj,\n\t\t\thandlerQueue = [],\n\t\t\tdelegateCount = handlers.delegateCount,\n\t\t\tcur = event.target;\n\n\t\t// Find delegate handlers\n\t\t// Black-hole SVG <use> instance trees (#13180)\n\t\t// Avoid non-left-click bubbling in Firefox (#3861)\n\t\tif ( delegateCount && cur.nodeType && (!event.button || event.type !== \"click\") ) {\n\n\t\t\tfor ( ; cur !== this; cur = cur.parentNode || this ) {\n\n\t\t\t\t// Don't process clicks on disabled elements (#6911, #8165, #11382, #11764)\n\t\t\t\tif ( cur.disabled !== true || event.type !== \"click\" ) {\n\t\t\t\t\tmatches = [];\n\t\t\t\t\tfor ( i = 0; i < delegateCount; i++ ) {\n\t\t\t\t\t\thandleObj = handlers[ i ];\n\n\t\t\t\t\t\t// Don't conflict with Object.prototype properties (#13203)\n\t\t\t\t\t\tsel = handleObj.selector + \" \";\n\n\t\t\t\t\t\tif ( matches[ sel ] === undefined ) {\n\t\t\t\t\t\t\tmatches[ sel ] = handleObj.needsContext ?\n\t\t\t\t\t\t\t\tjQuery( sel, this ).index( cur ) >= 0 :\n\t\t\t\t\t\t\t\tjQuery.find( sel, this, null, [ cur ] ).length;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif ( matches[ sel ] ) {\n\t\t\t\t\t\t\tmatches.push( handleObj );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ( matches.length ) {\n\t\t\t\t\t\thandlerQueue.push({ elem: cur, handlers: matches });\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Add the remaining (directly-bound) handlers\n\t\tif ( delegateCount < handlers.length ) {\n\t\t\thandlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) });\n\t\t}\n\n\t\treturn handlerQueue;\n\t},\n\n\t// Includes some event props shared by KeyEvent and MouseEvent\n\tprops: \"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which\".split(\" \"),\n\n\tfixHooks: {},\n\n\tkeyHooks: {\n\t\tprops: \"char charCode key keyCode\".split(\" \"),\n\t\tfilter: function( event, original ) {\n\n\t\t\t// Add which for key events\n\t\t\tif ( event.which == null ) {\n\t\t\t\tevent.which = original.charCode != null ? original.charCode : original.keyCode;\n\t\t\t}\n\n\t\t\treturn event;\n\t\t}\n\t},\n\n\tmouseHooks: {\n\t\tprops: \"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement\".split(\" \"),\n\t\tfilter: function( event, original ) {\n\t\t\tvar eventDoc, doc, body,\n\t\t\t\tbutton = original.button;\n\n\t\t\t// Calculate pageX/Y if missing and clientX/Y available\n\t\t\tif ( event.pageX == null && original.clientX != null ) {\n\t\t\t\teventDoc = event.target.ownerDocument || document;\n\t\t\t\tdoc = eventDoc.documentElement;\n\t\t\t\tbody = eventDoc.body;\n\n\t\t\t\tevent.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 );\n\t\t\t\tevent.pageY = original.clientY + ( doc && doc.scrollTop  || body && body.scrollTop  || 0 ) - ( doc && doc.clientTop  || body && body.clientTop  || 0 );\n\t\t\t}\n\n\t\t\t// Add which for click: 1 === left; 2 === middle; 3 === right\n\t\t\t// Note: button is not normalized, so don't use it\n\t\t\tif ( !event.which && button !== undefined ) {\n\t\t\t\tevent.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) );\n\t\t\t}\n\n\t\t\treturn event;\n\t\t}\n\t},\n\n\tfix: function( event ) {\n\t\tif ( event[ jQuery.expando ] ) {\n\t\t\treturn event;\n\t\t}\n\n\t\t// Create a writable copy of the event object and normalize some properties\n\t\tvar i, prop, copy,\n\t\t\ttype = event.type,\n\t\t\toriginalEvent = event,\n\t\t\tfixHook = this.fixHooks[ type ];\n\n\t\tif ( !fixHook ) {\n\t\t\tthis.fixHooks[ type ] = fixHook =\n\t\t\t\trmouseEvent.test( type ) ? this.mouseHooks :\n\t\t\t\trkeyEvent.test( type ) ? this.keyHooks :\n\t\t\t\t{};\n\t\t}\n\t\tcopy = fixHook.props ? this.props.concat( fixHook.props ) : this.props;\n\n\t\tevent = new jQuery.Event( originalEvent );\n\n\t\ti = copy.length;\n\t\twhile ( i-- ) {\n\t\t\tprop = copy[ i ];\n\t\t\tevent[ prop ] = originalEvent[ prop ];\n\t\t}\n\n\t\t// Support: Cordova 2.5 (WebKit) (#13255)\n\t\t// All events should have a target; Cordova deviceready doesn't\n\t\tif ( !event.target ) {\n\t\t\tevent.target = document;\n\t\t}\n\n\t\t// Support: Safari 6.0+, Chrome < 28\n\t\t// Target should not be a text node (#504, #13143)\n\t\tif ( event.target.nodeType === 3 ) {\n\t\t\tevent.target = event.target.parentNode;\n\t\t}\n\n\t\treturn fixHook.filter ? fixHook.filter( event, originalEvent ) : event;\n\t},\n\n\tspecial: {\n\t\tload: {\n\t\t\t// Prevent triggered image.load events from bubbling to window.load\n\t\t\tnoBubble: true\n\t\t},\n\t\tfocus: {\n\t\t\t// Fire native event if possible so blur/focus sequence is correct\n\t\t\ttrigger: function() {\n\t\t\t\tif ( this !== safeActiveElement() && this.focus ) {\n\t\t\t\t\tthis.focus();\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t},\n\t\t\tdelegateType: \"focusin\"\n\t\t},\n\t\tblur: {\n\t\t\ttrigger: function() {\n\t\t\t\tif ( this === safeActiveElement() && this.blur ) {\n\t\t\t\t\tthis.blur();\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t},\n\t\t\tdelegateType: \"focusout\"\n\t\t},\n\t\tclick: {\n\t\t\t// For checkbox, fire native event so checked state will be right\n\t\t\ttrigger: function() {\n\t\t\t\tif ( this.type === \"checkbox\" && this.click && jQuery.nodeName( this, \"input\" ) ) {\n\t\t\t\t\tthis.click();\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t},\n\n\t\t\t// For cross-browser consistency, don't fire native .click() on links\n\t\t\t_default: function( event ) {\n\t\t\t\treturn jQuery.nodeName( event.target, \"a\" );\n\t\t\t}\n\t\t},\n\n\t\tbeforeunload: {\n\t\t\tpostDispatch: function( event ) {\n\n\t\t\t\t// Support: Firefox 20+\n\t\t\t\t// Firefox doesn't alert if the returnValue field is not set.\n\t\t\t\tif ( event.result !== undefined && event.originalEvent ) {\n\t\t\t\t\tevent.originalEvent.returnValue = event.result;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\tsimulate: function( type, elem, event, bubble ) {\n\t\t// Piggyback on a donor event to simulate a different one.\n\t\t// Fake originalEvent to avoid donor's stopPropagation, but if the\n\t\t// simulated event prevents default then we do the same on the donor.\n\t\tvar e = jQuery.extend(\n\t\t\tnew jQuery.Event(),\n\t\t\tevent,\n\t\t\t{\n\t\t\t\ttype: type,\n\t\t\t\tisSimulated: true,\n\t\t\t\toriginalEvent: {}\n\t\t\t}\n\t\t);\n\t\tif ( bubble ) {\n\t\t\tjQuery.event.trigger( e, null, elem );\n\t\t} else {\n\t\t\tjQuery.event.dispatch.call( elem, e );\n\t\t}\n\t\tif ( e.isDefaultPrevented() ) {\n\t\t\tevent.preventDefault();\n\t\t}\n\t}\n};\n\njQuery.removeEvent = function( elem, type, handle ) {\n\tif ( elem.removeEventListener ) {\n\t\telem.removeEventListener( type, handle, false );\n\t}\n};\n\njQuery.Event = function( src, props ) {\n\t// Allow instantiation without the 'new' keyword\n\tif ( !(this instanceof jQuery.Event) ) {\n\t\treturn new jQuery.Event( src, props );\n\t}\n\n\t// Event object\n\tif ( src && src.type ) {\n\t\tthis.originalEvent = src;\n\t\tthis.type = src.type;\n\n\t\t// Events bubbling up the document may have been marked as prevented\n\t\t// by a handler lower down the tree; reflect the correct value.\n\t\tthis.isDefaultPrevented = src.defaultPrevented ||\n\t\t\t\tsrc.defaultPrevented === undefined &&\n\t\t\t\t// Support: Android < 4.0\n\t\t\t\tsrc.returnValue === false ?\n\t\t\treturnTrue :\n\t\t\treturnFalse;\n\n\t// Event type\n\t} else {\n\t\tthis.type = src;\n\t}\n\n\t// Put explicitly provided properties onto the event object\n\tif ( props ) {\n\t\tjQuery.extend( this, props );\n\t}\n\n\t// Create a timestamp if incoming event doesn't have one\n\tthis.timeStamp = src && src.timeStamp || jQuery.now();\n\n\t// Mark it as fixed\n\tthis[ jQuery.expando ] = true;\n};\n\n// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding\n// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html\njQuery.Event.prototype = {\n\tisDefaultPrevented: returnFalse,\n\tisPropagationStopped: returnFalse,\n\tisImmediatePropagationStopped: returnFalse,\n\n\tpreventDefault: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isDefaultPrevented = returnTrue;\n\n\t\tif ( e && e.preventDefault ) {\n\t\t\te.preventDefault();\n\t\t}\n\t},\n\tstopPropagation: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isPropagationStopped = returnTrue;\n\n\t\tif ( e && e.stopPropagation ) {\n\t\t\te.stopPropagation();\n\t\t}\n\t},\n\tstopImmediatePropagation: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isImmediatePropagationStopped = returnTrue;\n\n\t\tif ( e && e.stopImmediatePropagation ) {\n\t\t\te.stopImmediatePropagation();\n\t\t}\n\n\t\tthis.stopPropagation();\n\t}\n};\n\n// Create mouseenter/leave events using mouseover/out and event-time checks\n// Support: Chrome 15+\njQuery.each({\n\tmouseenter: \"mouseover\",\n\tmouseleave: \"mouseout\",\n\tpointerenter: \"pointerover\",\n\tpointerleave: \"pointerout\"\n}, function( orig, fix ) {\n\tjQuery.event.special[ orig ] = {\n\t\tdelegateType: fix,\n\t\tbindType: fix,\n\n\t\thandle: function( event ) {\n\t\t\tvar ret,\n\t\t\t\ttarget = this,\n\t\t\t\trelated = event.relatedTarget,\n\t\t\t\thandleObj = event.handleObj;\n\n\t\t\t// For mousenter/leave call the handler if related is outside the target.\n\t\t\t// NB: No relatedTarget if the mouse left/entered the browser window\n\t\t\tif ( !related || (related !== target && !jQuery.contains( target, related )) ) {\n\t\t\t\tevent.type = handleObj.origType;\n\t\t\t\tret = handleObj.handler.apply( this, arguments );\n\t\t\t\tevent.type = fix;\n\t\t\t}\n\t\t\treturn ret;\n\t\t}\n\t};\n});\n\n// Create \"bubbling\" focus and blur events\n// Support: Firefox, Chrome, Safari\nif ( !support.focusinBubbles ) {\n\tjQuery.each({ focus: \"focusin\", blur: \"focusout\" }, function( orig, fix ) {\n\n\t\t// Attach a single capturing handler on the document while someone wants focusin/focusout\n\t\tvar handler = function( event ) {\n\t\t\t\tjQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true );\n\t\t\t};\n\n\t\tjQuery.event.special[ fix ] = {\n\t\t\tsetup: function() {\n\t\t\t\tvar doc = this.ownerDocument || this,\n\t\t\t\t\tattaches = data_priv.access( doc, fix );\n\n\t\t\t\tif ( !attaches ) {\n\t\t\t\t\tdoc.addEventListener( orig, handler, true );\n\t\t\t\t}\n\t\t\t\tdata_priv.access( doc, fix, ( attaches || 0 ) + 1 );\n\t\t\t},\n\t\t\tteardown: function() {\n\t\t\t\tvar doc = this.ownerDocument || this,\n\t\t\t\t\tattaches = data_priv.access( doc, fix ) - 1;\n\n\t\t\t\tif ( !attaches ) {\n\t\t\t\t\tdoc.removeEventListener( orig, handler, true );\n\t\t\t\t\tdata_priv.remove( doc, fix );\n\n\t\t\t\t} else {\n\t\t\t\t\tdata_priv.access( doc, fix, attaches );\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t});\n}\n\njQuery.fn.extend({\n\n\ton: function( types, selector, data, fn, /*INTERNAL*/ one ) {\n\t\tvar origFn, type;\n\n\t\t// Types can be a map of types/handlers\n\t\tif ( typeof types === \"object\" ) {\n\t\t\t// ( types-Object, selector, data )\n\t\t\tif ( typeof selector !== \"string\" ) {\n\t\t\t\t// ( types-Object, data )\n\t\t\t\tdata = data || selector;\n\t\t\t\tselector = undefined;\n\t\t\t}\n\t\t\tfor ( type in types ) {\n\t\t\t\tthis.on( type, selector, data, types[ type ], one );\n\t\t\t}\n\t\t\treturn this;\n\t\t}\n\n\t\tif ( data == null && fn == null ) {\n\t\t\t// ( types, fn )\n\t\t\tfn = selector;\n\t\t\tdata = selector = undefined;\n\t\t} else if ( fn == null ) {\n\t\t\tif ( typeof selector === \"string\" ) {\n\t\t\t\t// ( types, selector, fn )\n\t\t\t\tfn = data;\n\t\t\t\tdata = undefined;\n\t\t\t} else {\n\t\t\t\t// ( types, data, fn )\n\t\t\t\tfn = data;\n\t\t\t\tdata = selector;\n\t\t\t\tselector = undefined;\n\t\t\t}\n\t\t}\n\t\tif ( fn === false ) {\n\t\t\tfn = returnFalse;\n\t\t} else if ( !fn ) {\n\t\t\treturn this;\n\t\t}\n\n\t\tif ( one === 1 ) {\n\t\t\torigFn = fn;\n\t\t\tfn = function( event ) {\n\t\t\t\t// Can use an empty set, since event contains the info\n\t\t\t\tjQuery().off( event );\n\t\t\t\treturn origFn.apply( this, arguments );\n\t\t\t};\n\t\t\t// Use same guid so caller can remove using origFn\n\t\t\tfn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ );\n\t\t}\n\t\treturn this.each( function() {\n\t\t\tjQuery.event.add( this, types, fn, data, selector );\n\t\t});\n\t},\n\tone: function( types, selector, data, fn ) {\n\t\treturn this.on( types, selector, data, fn, 1 );\n\t},\n\toff: function( types, selector, fn ) {\n\t\tvar handleObj, type;\n\t\tif ( types && types.preventDefault && types.handleObj ) {\n\t\t\t// ( event )  dispatched jQuery.Event\n\t\t\thandleObj = types.handleObj;\n\t\t\tjQuery( types.delegateTarget ).off(\n\t\t\t\thandleObj.namespace ? handleObj.origType + \".\" + handleObj.namespace : handleObj.origType,\n\t\t\t\thandleObj.selector,\n\t\t\t\thandleObj.handler\n\t\t\t);\n\t\t\treturn this;\n\t\t}\n\t\tif ( typeof types === \"object\" ) {\n\t\t\t// ( types-object [, selector] )\n\t\t\tfor ( type in types ) {\n\t\t\t\tthis.off( type, selector, types[ type ] );\n\t\t\t}\n\t\t\treturn this;\n\t\t}\n\t\tif ( selector === false || typeof selector === \"function\" ) {\n\t\t\t// ( types [, fn] )\n\t\t\tfn = selector;\n\t\t\tselector = undefined;\n\t\t}\n\t\tif ( fn === false ) {\n\t\t\tfn = returnFalse;\n\t\t}\n\t\treturn this.each(function() {\n\t\t\tjQuery.event.remove( this, types, fn, selector );\n\t\t});\n\t},\n\n\ttrigger: function( type, data ) {\n\t\treturn this.each(function() {\n\t\t\tjQuery.event.trigger( type, data, this );\n\t\t});\n\t},\n\ttriggerHandler: function( type, data ) {\n\t\tvar elem = this[0];\n\t\tif ( elem ) {\n\t\t\treturn jQuery.event.trigger( type, data, elem, true );\n\t\t}\n\t}\n});\n\n\nvar\n\trxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\\w:]+)[^>]*)\\/>/gi,\n\trtagName = /<([\\w:]+)/,\n\trhtml = /<|&#?\\w+;/,\n\trnoInnerhtml = /<(?:script|style|link)/i,\n\t// checked=\"checked\" or checked\n\trchecked = /checked\\s*(?:[^=]|=\\s*.checked.)/i,\n\trscriptType = /^$|\\/(?:java|ecma)script/i,\n\trscriptTypeMasked = /^true\\/(.*)/,\n\trcleanScript = /^\\s*<!(?:\\[CDATA\\[|--)|(?:\\]\\]|--)>\\s*$/g,\n\n\t// We have to close these tags to support XHTML (#13200)\n\twrapMap = {\n\n\t\t// Support: IE 9\n\t\toption: [ 1, \"<select multiple='multiple'>\", \"</select>\" ],\n\n\t\tthead: [ 1, \"<table>\", \"</table>\" ],\n\t\tcol: [ 2, \"<table><colgroup>\", \"</colgroup></table>\" ],\n\t\ttr: [ 2, \"<table><tbody>\", \"</tbody></table>\" ],\n\t\ttd: [ 3, \"<table><tbody><tr>\", \"</tr></tbody></table>\" ],\n\n\t\t_default: [ 0, \"\", \"\" ]\n\t};\n\n// Support: IE 9\nwrapMap.optgroup = wrapMap.option;\n\nwrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;\nwrapMap.th = wrapMap.td;\n\n// Support: 1.x compatibility\n// Manipulating tables requires a tbody\nfunction manipulationTarget( elem, content ) {\n\treturn jQuery.nodeName( elem, \"table\" ) &&\n\t\tjQuery.nodeName( content.nodeType !== 11 ? content : content.firstChild, \"tr\" ) ?\n\n\t\telem.getElementsByTagName(\"tbody\")[0] ||\n\t\t\telem.appendChild( elem.ownerDocument.createElement(\"tbody\") ) :\n\t\telem;\n}\n\n// Replace/restore the type attribute of script elements for safe DOM manipulation\nfunction disableScript( elem ) {\n\telem.type = (elem.getAttribute(\"type\") !== null) + \"/\" + elem.type;\n\treturn elem;\n}\nfunction restoreScript( elem ) {\n\tvar match = rscriptTypeMasked.exec( elem.type );\n\n\tif ( match ) {\n\t\telem.type = match[ 1 ];\n\t} else {\n\t\telem.removeAttribute(\"type\");\n\t}\n\n\treturn elem;\n}\n\n// Mark scripts as having already been evaluated\nfunction setGlobalEval( elems, refElements ) {\n\tvar i = 0,\n\t\tl = elems.length;\n\n\tfor ( ; i < l; i++ ) {\n\t\tdata_priv.set(\n\t\t\telems[ i ], \"globalEval\", !refElements || data_priv.get( refElements[ i ], \"globalEval\" )\n\t\t);\n\t}\n}\n\nfunction cloneCopyEvent( src, dest ) {\n\tvar i, l, type, pdataOld, pdataCur, udataOld, udataCur, events;\n\n\tif ( dest.nodeType !== 1 ) {\n\t\treturn;\n\t}\n\n\t// 1. Copy private data: events, handlers, etc.\n\tif ( data_priv.hasData( src ) ) {\n\t\tpdataOld = data_priv.access( src );\n\t\tpdataCur = data_priv.set( dest, pdataOld );\n\t\tevents = pdataOld.events;\n\n\t\tif ( events ) {\n\t\t\tdelete pdataCur.handle;\n\t\t\tpdataCur.events = {};\n\n\t\t\tfor ( type in events ) {\n\t\t\t\tfor ( i = 0, l = events[ type ].length; i < l; i++ ) {\n\t\t\t\t\tjQuery.event.add( dest, type, events[ type ][ i ] );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// 2. Copy user data\n\tif ( data_user.hasData( src ) ) {\n\t\tudataOld = data_user.access( src );\n\t\tudataCur = jQuery.extend( {}, udataOld );\n\n\t\tdata_user.set( dest, udataCur );\n\t}\n}\n\nfunction getAll( context, tag ) {\n\tvar ret = context.getElementsByTagName ? context.getElementsByTagName( tag || \"*\" ) :\n\t\t\tcontext.querySelectorAll ? context.querySelectorAll( tag || \"*\" ) :\n\t\t\t[];\n\n\treturn tag === undefined || tag && jQuery.nodeName( context, tag ) ?\n\t\tjQuery.merge( [ context ], ret ) :\n\t\tret;\n}\n\n// Support: IE >= 9\nfunction fixInput( src, dest ) {\n\tvar nodeName = dest.nodeName.toLowerCase();\n\n\t// Fails to persist the checked state of a cloned checkbox or radio button.\n\tif ( nodeName === \"input\" && rcheckableType.test( src.type ) ) {\n\t\tdest.checked = src.checked;\n\n\t// Fails to return the selected option to the default selected state when cloning options\n\t} else if ( nodeName === \"input\" || nodeName === \"textarea\" ) {\n\t\tdest.defaultValue = src.defaultValue;\n\t}\n}\n\njQuery.extend({\n\tclone: function( elem, dataAndEvents, deepDataAndEvents ) {\n\t\tvar i, l, srcElements, destElements,\n\t\t\tclone = elem.cloneNode( true ),\n\t\t\tinPage = jQuery.contains( elem.ownerDocument, elem );\n\n\t\t// Support: IE >= 9\n\t\t// Fix Cloning issues\n\t\tif ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) &&\n\t\t\t\t!jQuery.isXMLDoc( elem ) ) {\n\n\t\t\t// We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2\n\t\t\tdestElements = getAll( clone );\n\t\t\tsrcElements = getAll( elem );\n\n\t\t\tfor ( i = 0, l = srcElements.length; i < l; i++ ) {\n\t\t\t\tfixInput( srcElements[ i ], destElements[ i ] );\n\t\t\t}\n\t\t}\n\n\t\t// Copy the events from the original to the clone\n\t\tif ( dataAndEvents ) {\n\t\t\tif ( deepDataAndEvents ) {\n\t\t\t\tsrcElements = srcElements || getAll( elem );\n\t\t\t\tdestElements = destElements || getAll( clone );\n\n\t\t\t\tfor ( i = 0, l = srcElements.length; i < l; i++ ) {\n\t\t\t\t\tcloneCopyEvent( srcElements[ i ], destElements[ i ] );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tcloneCopyEvent( elem, clone );\n\t\t\t}\n\t\t}\n\n\t\t// Preserve script evaluation history\n\t\tdestElements = getAll( clone, \"script\" );\n\t\tif ( destElements.length > 0 ) {\n\t\t\tsetGlobalEval( destElements, !inPage && getAll( elem, \"script\" ) );\n\t\t}\n\n\t\t// Return the cloned set\n\t\treturn clone;\n\t},\n\n\tbuildFragment: function( elems, context, scripts, selection ) {\n\t\tvar elem, tmp, tag, wrap, contains, j,\n\t\t\tfragment = context.createDocumentFragment(),\n\t\t\tnodes = [],\n\t\t\ti = 0,\n\t\t\tl = elems.length;\n\n\t\tfor ( ; i < l; i++ ) {\n\t\t\telem = elems[ i ];\n\n\t\t\tif ( elem || elem === 0 ) {\n\n\t\t\t\t// Add nodes directly\n\t\t\t\tif ( jQuery.type( elem ) === \"object\" ) {\n\t\t\t\t\t// Support: QtWebKit\n\t\t\t\t\t// jQuery.merge because push.apply(_, arraylike) throws\n\t\t\t\t\tjQuery.merge( nodes, elem.nodeType ? [ elem ] : elem );\n\n\t\t\t\t// Convert non-html into a text node\n\t\t\t\t} else if ( !rhtml.test( elem ) ) {\n\t\t\t\t\tnodes.push( context.createTextNode( elem ) );\n\n\t\t\t\t// Convert html into DOM nodes\n\t\t\t\t} else {\n\t\t\t\t\ttmp = tmp || fragment.appendChild( context.createElement(\"div\") );\n\n\t\t\t\t\t// Deserialize a standard representation\n\t\t\t\t\ttag = ( rtagName.exec( elem ) || [ \"\", \"\" ] )[ 1 ].toLowerCase();\n\t\t\t\t\twrap = wrapMap[ tag ] || wrapMap._default;\n\t\t\t\t\ttmp.innerHTML = wrap[ 1 ] + elem.replace( rxhtmlTag, \"<$1></$2>\" ) + wrap[ 2 ];\n\n\t\t\t\t\t// Descend through wrappers to the right content\n\t\t\t\t\tj = wrap[ 0 ];\n\t\t\t\t\twhile ( j-- ) {\n\t\t\t\t\t\ttmp = tmp.lastChild;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Support: QtWebKit\n\t\t\t\t\t// jQuery.merge because push.apply(_, arraylike) throws\n\t\t\t\t\tjQuery.merge( nodes, tmp.childNodes );\n\n\t\t\t\t\t// Remember the top-level container\n\t\t\t\t\ttmp = fragment.firstChild;\n\n\t\t\t\t\t// Fixes #12346\n\t\t\t\t\t// Support: Webkit, IE\n\t\t\t\t\ttmp.textContent = \"\";\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Remove wrapper from fragment\n\t\tfragment.textContent = \"\";\n\n\t\ti = 0;\n\t\twhile ( (elem = nodes[ i++ ]) ) {\n\n\t\t\t// #4087 - If origin and destination elements are the same, and this is\n\t\t\t// that element, do not do anything\n\t\t\tif ( selection && jQuery.inArray( elem, selection ) !== -1 ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tcontains = jQuery.contains( elem.ownerDocument, elem );\n\n\t\t\t// Append to fragment\n\t\t\ttmp = getAll( fragment.appendChild( elem ), \"script\" );\n\n\t\t\t// Preserve script evaluation history\n\t\t\tif ( contains ) {\n\t\t\t\tsetGlobalEval( tmp );\n\t\t\t}\n\n\t\t\t// Capture executables\n\t\t\tif ( scripts ) {\n\t\t\t\tj = 0;\n\t\t\t\twhile ( (elem = tmp[ j++ ]) ) {\n\t\t\t\t\tif ( rscriptType.test( elem.type || \"\" ) ) {\n\t\t\t\t\t\tscripts.push( elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn fragment;\n\t},\n\n\tcleanData: function( elems ) {\n\t\tvar data, elem, type, key,\n\t\t\tspecial = jQuery.event.special,\n\t\t\ti = 0;\n\n\t\tfor ( ; (elem = elems[ i ]) !== undefined; i++ ) {\n\t\t\tif ( jQuery.acceptData( elem ) ) {\n\t\t\t\tkey = elem[ data_priv.expando ];\n\n\t\t\t\tif ( key && (data = data_priv.cache[ key ]) ) {\n\t\t\t\t\tif ( data.events ) {\n\t\t\t\t\t\tfor ( type in data.events ) {\n\t\t\t\t\t\t\tif ( special[ type ] ) {\n\t\t\t\t\t\t\t\tjQuery.event.remove( elem, type );\n\n\t\t\t\t\t\t\t// This is a shortcut to avoid jQuery.event.remove's overhead\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tjQuery.removeEvent( elem, type, data.handle );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ( data_priv.cache[ key ] ) {\n\t\t\t\t\t\t// Discard any remaining `private` data\n\t\t\t\t\t\tdelete data_priv.cache[ key ];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t// Discard any remaining `user` data\n\t\t\tdelete data_user.cache[ elem[ data_user.expando ] ];\n\t\t}\n\t}\n});\n\njQuery.fn.extend({\n\ttext: function( value ) {\n\t\treturn access( this, function( value ) {\n\t\t\treturn value === undefined ?\n\t\t\t\tjQuery.text( this ) :\n\t\t\t\tthis.empty().each(function() {\n\t\t\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\t\t\tthis.textContent = value;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t}, null, value, arguments.length );\n\t},\n\n\tappend: function() {\n\t\treturn this.domManip( arguments, function( elem ) {\n\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\tvar target = manipulationTarget( this, elem );\n\t\t\t\ttarget.appendChild( elem );\n\t\t\t}\n\t\t});\n\t},\n\n\tprepend: function() {\n\t\treturn this.domManip( arguments, function( elem ) {\n\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\tvar target = manipulationTarget( this, elem );\n\t\t\t\ttarget.insertBefore( elem, target.firstChild );\n\t\t\t}\n\t\t});\n\t},\n\n\tbefore: function() {\n\t\treturn this.domManip( arguments, function( elem ) {\n\t\t\tif ( this.parentNode ) {\n\t\t\t\tthis.parentNode.insertBefore( elem, this );\n\t\t\t}\n\t\t});\n\t},\n\n\tafter: function() {\n\t\treturn this.domManip( arguments, function( elem ) {\n\t\t\tif ( this.parentNode ) {\n\t\t\t\tthis.parentNode.insertBefore( elem, this.nextSibling );\n\t\t\t}\n\t\t});\n\t},\n\n\tremove: function( selector, keepData /* Internal Use Only */ ) {\n\t\tvar elem,\n\t\t\telems = selector ? jQuery.filter( selector, this ) : this,\n\t\t\ti = 0;\n\n\t\tfor ( ; (elem = elems[i]) != null; i++ ) {\n\t\t\tif ( !keepData && elem.nodeType === 1 ) {\n\t\t\t\tjQuery.cleanData( getAll( elem ) );\n\t\t\t}\n\n\t\t\tif ( elem.parentNode ) {\n\t\t\t\tif ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) {\n\t\t\t\t\tsetGlobalEval( getAll( elem, \"script\" ) );\n\t\t\t\t}\n\t\t\t\telem.parentNode.removeChild( elem );\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\tempty: function() {\n\t\tvar elem,\n\t\t\ti = 0;\n\n\t\tfor ( ; (elem = this[i]) != null; i++ ) {\n\t\t\tif ( elem.nodeType === 1 ) {\n\n\t\t\t\t// Prevent memory leaks\n\t\t\t\tjQuery.cleanData( getAll( elem, false ) );\n\n\t\t\t\t// Remove any remaining nodes\n\t\t\t\telem.textContent = \"\";\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\tclone: function( dataAndEvents, deepDataAndEvents ) {\n\t\tdataAndEvents = dataAndEvents == null ? false : dataAndEvents;\n\t\tdeepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;\n\n\t\treturn this.map(function() {\n\t\t\treturn jQuery.clone( this, dataAndEvents, deepDataAndEvents );\n\t\t});\n\t},\n\n\thtml: function( value ) {\n\t\treturn access( this, function( value ) {\n\t\t\tvar elem = this[ 0 ] || {},\n\t\t\t\ti = 0,\n\t\t\t\tl = this.length;\n\n\t\t\tif ( value === undefined && elem.nodeType === 1 ) {\n\t\t\t\treturn elem.innerHTML;\n\t\t\t}\n\n\t\t\t// See if we can take a shortcut and just use innerHTML\n\t\t\tif ( typeof value === \"string\" && !rnoInnerhtml.test( value ) &&\n\t\t\t\t!wrapMap[ ( rtagName.exec( value ) || [ \"\", \"\" ] )[ 1 ].toLowerCase() ] ) {\n\n\t\t\t\tvalue = value.replace( rxhtmlTag, \"<$1></$2>\" );\n\n\t\t\t\ttry {\n\t\t\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\t\t\telem = this[ i ] || {};\n\n\t\t\t\t\t\t// Remove element nodes and prevent memory leaks\n\t\t\t\t\t\tif ( elem.nodeType === 1 ) {\n\t\t\t\t\t\t\tjQuery.cleanData( getAll( elem, false ) );\n\t\t\t\t\t\t\telem.innerHTML = value;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\telem = 0;\n\n\t\t\t\t// If using innerHTML throws an exception, use the fallback method\n\t\t\t\t} catch( e ) {}\n\t\t\t}\n\n\t\t\tif ( elem ) {\n\t\t\t\tthis.empty().append( value );\n\t\t\t}\n\t\t}, null, value, arguments.length );\n\t},\n\n\treplaceWith: function() {\n\t\tvar arg = arguments[ 0 ];\n\n\t\t// Make the changes, replacing each context element with the new content\n\t\tthis.domManip( arguments, function( elem ) {\n\t\t\targ = this.parentNode;\n\n\t\t\tjQuery.cleanData( getAll( this ) );\n\n\t\t\tif ( arg ) {\n\t\t\t\targ.replaceChild( elem, this );\n\t\t\t}\n\t\t});\n\n\t\t// Force removal if there was no new content (e.g., from empty arguments)\n\t\treturn arg && (arg.length || arg.nodeType) ? this : this.remove();\n\t},\n\n\tdetach: function( selector ) {\n\t\treturn this.remove( selector, true );\n\t},\n\n\tdomManip: function( args, callback ) {\n\n\t\t// Flatten any nested arrays\n\t\targs = concat.apply( [], args );\n\n\t\tvar fragment, first, scripts, hasScripts, node, doc,\n\t\t\ti = 0,\n\t\t\tl = this.length,\n\t\t\tset = this,\n\t\t\tiNoClone = l - 1,\n\t\t\tvalue = args[ 0 ],\n\t\t\tisFunction = jQuery.isFunction( value );\n\n\t\t// We can't cloneNode fragments that contain checked, in WebKit\n\t\tif ( isFunction ||\n\t\t\t\t( l > 1 && typeof value === \"string\" &&\n\t\t\t\t\t!support.checkClone && rchecked.test( value ) ) ) {\n\t\t\treturn this.each(function( index ) {\n\t\t\t\tvar self = set.eq( index );\n\t\t\t\tif ( isFunction ) {\n\t\t\t\t\targs[ 0 ] = value.call( this, index, self.html() );\n\t\t\t\t}\n\t\t\t\tself.domManip( args, callback );\n\t\t\t});\n\t\t}\n\n\t\tif ( l ) {\n\t\t\tfragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, this );\n\t\t\tfirst = fragment.firstChild;\n\n\t\t\tif ( fragment.childNodes.length === 1 ) {\n\t\t\t\tfragment = first;\n\t\t\t}\n\n\t\t\tif ( first ) {\n\t\t\t\tscripts = jQuery.map( getAll( fragment, \"script\" ), disableScript );\n\t\t\t\thasScripts = scripts.length;\n\n\t\t\t\t// Use the original fragment for the last item instead of the first because it can end up\n\t\t\t\t// being emptied incorrectly in certain situations (#8070).\n\t\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\t\tnode = fragment;\n\n\t\t\t\t\tif ( i !== iNoClone ) {\n\t\t\t\t\t\tnode = jQuery.clone( node, true, true );\n\n\t\t\t\t\t\t// Keep references to cloned scripts for later restoration\n\t\t\t\t\t\tif ( hasScripts ) {\n\t\t\t\t\t\t\t// Support: QtWebKit\n\t\t\t\t\t\t\t// jQuery.merge because push.apply(_, arraylike) throws\n\t\t\t\t\t\t\tjQuery.merge( scripts, getAll( node, \"script\" ) );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tcallback.call( this[ i ], node, i );\n\t\t\t\t}\n\n\t\t\t\tif ( hasScripts ) {\n\t\t\t\t\tdoc = scripts[ scripts.length - 1 ].ownerDocument;\n\n\t\t\t\t\t// Reenable scripts\n\t\t\t\t\tjQuery.map( scripts, restoreScript );\n\n\t\t\t\t\t// Evaluate executable scripts on first document insertion\n\t\t\t\t\tfor ( i = 0; i < hasScripts; i++ ) {\n\t\t\t\t\t\tnode = scripts[ i ];\n\t\t\t\t\t\tif ( rscriptType.test( node.type || \"\" ) &&\n\t\t\t\t\t\t\t!data_priv.access( node, \"globalEval\" ) && jQuery.contains( doc, node ) ) {\n\n\t\t\t\t\t\t\tif ( node.src ) {\n\t\t\t\t\t\t\t\t// Optional AJAX dependency, but won't run scripts if not present\n\t\t\t\t\t\t\t\tif ( jQuery._evalUrl ) {\n\t\t\t\t\t\t\t\t\tjQuery._evalUrl( node.src );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tjQuery.globalEval( node.textContent.replace( rcleanScript, \"\" ) );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t}\n});\n\njQuery.each({\n\tappendTo: \"append\",\n\tprependTo: \"prepend\",\n\tinsertBefore: \"before\",\n\tinsertAfter: \"after\",\n\treplaceAll: \"replaceWith\"\n}, function( name, original ) {\n\tjQuery.fn[ name ] = function( selector ) {\n\t\tvar elems,\n\t\t\tret = [],\n\t\t\tinsert = jQuery( selector ),\n\t\t\tlast = insert.length - 1,\n\t\t\ti = 0;\n\n\t\tfor ( ; i <= last; i++ ) {\n\t\t\telems = i === last ? this : this.clone( true );\n\t\t\tjQuery( insert[ i ] )[ original ]( elems );\n\n\t\t\t// Support: QtWebKit\n\t\t\t// .get() because push.apply(_, arraylike) throws\n\t\t\tpush.apply( ret, elems.get() );\n\t\t}\n\n\t\treturn this.pushStack( ret );\n\t};\n});\n\n\nvar iframe,\n\telemdisplay = {};\n\n/**\n * Retrieve the actual display of a element\n * @param {String} name nodeName of the element\n * @param {Object} doc Document object\n */\n// Called only from within defaultDisplay\nfunction actualDisplay( name, doc ) {\n\tvar style,\n\t\telem = jQuery( doc.createElement( name ) ).appendTo( doc.body ),\n\n\t\t// getDefaultComputedStyle might be reliably used only on attached element\n\t\tdisplay = window.getDefaultComputedStyle && ( style = window.getDefaultComputedStyle( elem[ 0 ] ) ) ?\n\n\t\t\t// Use of this method is a temporary fix (more like optmization) until something better comes along,\n\t\t\t// since it was removed from specification and supported only in FF\n\t\t\tstyle.display : jQuery.css( elem[ 0 ], \"display\" );\n\n\t// We don't have any data stored on the element,\n\t// so use \"detach\" method as fast way to get rid of the element\n\telem.detach();\n\n\treturn display;\n}\n\n/**\n * Try to determine the default display value of an element\n * @param {String} nodeName\n */\nfunction defaultDisplay( nodeName ) {\n\tvar doc = document,\n\t\tdisplay = elemdisplay[ nodeName ];\n\n\tif ( !display ) {\n\t\tdisplay = actualDisplay( nodeName, doc );\n\n\t\t// If the simple way fails, read from inside an iframe\n\t\tif ( display === \"none\" || !display ) {\n\n\t\t\t// Use the already-created iframe if possible\n\t\t\tiframe = (iframe || jQuery( \"<iframe frameborder='0' width='0' height='0'/>\" )).appendTo( doc.documentElement );\n\n\t\t\t// Always write a new HTML skeleton so Webkit and Firefox don't choke on reuse\n\t\t\tdoc = iframe[ 0 ].contentDocument;\n\n\t\t\t// Support: IE\n\t\t\tdoc.write();\n\t\t\tdoc.close();\n\n\t\t\tdisplay = actualDisplay( nodeName, doc );\n\t\t\tiframe.detach();\n\t\t}\n\n\t\t// Store the correct default display\n\t\telemdisplay[ nodeName ] = display;\n\t}\n\n\treturn display;\n}\nvar rmargin = (/^margin/);\n\nvar rnumnonpx = new RegExp( \"^(\" + pnum + \")(?!px)[a-z%]+$\", \"i\" );\n\nvar getStyles = function( elem ) {\n\t\treturn elem.ownerDocument.defaultView.getComputedStyle( elem, null );\n\t};\n\n\n\nfunction curCSS( elem, name, computed ) {\n\tvar width, minWidth, maxWidth, ret,\n\t\tstyle = elem.style;\n\n\tcomputed = computed || getStyles( elem );\n\n\t// Support: IE9\n\t// getPropertyValue is only needed for .css('filter') in IE9, see #12537\n\tif ( computed ) {\n\t\tret = computed.getPropertyValue( name ) || computed[ name ];\n\t}\n\n\tif ( computed ) {\n\n\t\tif ( ret === \"\" && !jQuery.contains( elem.ownerDocument, elem ) ) {\n\t\t\tret = jQuery.style( elem, name );\n\t\t}\n\n\t\t// Support: iOS < 6\n\t\t// A tribute to the \"awesome hack by Dean Edwards\"\n\t\t// iOS < 6 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels\n\t\t// this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values\n\t\tif ( rnumnonpx.test( ret ) && rmargin.test( name ) ) {\n\n\t\t\t// Remember the original values\n\t\t\twidth = style.width;\n\t\t\tminWidth = style.minWidth;\n\t\t\tmaxWidth = style.maxWidth;\n\n\t\t\t// Put in the new values to get a computed value out\n\t\t\tstyle.minWidth = style.maxWidth = style.width = ret;\n\t\t\tret = computed.width;\n\n\t\t\t// Revert the changed values\n\t\t\tstyle.width = width;\n\t\t\tstyle.minWidth = minWidth;\n\t\t\tstyle.maxWidth = maxWidth;\n\t\t}\n\t}\n\n\treturn ret !== undefined ?\n\t\t// Support: IE\n\t\t// IE returns zIndex value as an integer.\n\t\tret + \"\" :\n\t\tret;\n}\n\n\nfunction addGetHookIf( conditionFn, hookFn ) {\n\t// Define the hook, we'll check on the first run if it's really needed.\n\treturn {\n\t\tget: function() {\n\t\t\tif ( conditionFn() ) {\n\t\t\t\t// Hook not needed (or it's not possible to use it due to missing dependency),\n\t\t\t\t// remove it.\n\t\t\t\t// Since there are no other hooks for marginRight, remove the whole object.\n\t\t\t\tdelete this.get;\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Hook needed; redefine it so that the support test is not executed again.\n\n\t\t\treturn (this.get = hookFn).apply( this, arguments );\n\t\t}\n\t};\n}\n\n\n(function() {\n\tvar pixelPositionVal, boxSizingReliableVal,\n\t\tdocElem = document.documentElement,\n\t\tcontainer = document.createElement( \"div\" ),\n\t\tdiv = document.createElement( \"div\" );\n\n\tif ( !div.style ) {\n\t\treturn;\n\t}\n\n\tdiv.style.backgroundClip = \"content-box\";\n\tdiv.cloneNode( true ).style.backgroundClip = \"\";\n\tsupport.clearCloneStyle = div.style.backgroundClip === \"content-box\";\n\n\tcontainer.style.cssText = \"border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;\" +\n\t\t\"position:absolute\";\n\tcontainer.appendChild( div );\n\n\t// Executing both pixelPosition & boxSizingReliable tests require only one layout\n\t// so they're executed at the same time to save the second computation.\n\tfunction computePixelPositionAndBoxSizingReliable() {\n\t\tdiv.style.cssText =\n\t\t\t// Support: Firefox<29, Android 2.3\n\t\t\t// Vendor-prefix box-sizing\n\t\t\t\"-webkit-box-sizing:border-box;-moz-box-sizing:border-box;\" +\n\t\t\t\"box-sizing:border-box;display:block;margin-top:1%;top:1%;\" +\n\t\t\t\"border:1px;padding:1px;width:4px;position:absolute\";\n\t\tdiv.innerHTML = \"\";\n\t\tdocElem.appendChild( container );\n\n\t\tvar divStyle = window.getComputedStyle( div, null );\n\t\tpixelPositionVal = divStyle.top !== \"1%\";\n\t\tboxSizingReliableVal = divStyle.width === \"4px\";\n\n\t\tdocElem.removeChild( container );\n\t}\n\n\t// Support: node.js jsdom\n\t// Don't assume that getComputedStyle is a property of the global object\n\tif ( window.getComputedStyle ) {\n\t\tjQuery.extend( support, {\n\t\t\tpixelPosition: function() {\n\t\t\t\t// This test is executed only once but we still do memoizing\n\t\t\t\t// since we can use the boxSizingReliable pre-computing.\n\t\t\t\t// No need to check if the test was already performed, though.\n\t\t\t\tcomputePixelPositionAndBoxSizingReliable();\n\t\t\t\treturn pixelPositionVal;\n\t\t\t},\n\t\t\tboxSizingReliable: function() {\n\t\t\t\tif ( boxSizingReliableVal == null ) {\n\t\t\t\t\tcomputePixelPositionAndBoxSizingReliable();\n\t\t\t\t}\n\t\t\t\treturn boxSizingReliableVal;\n\t\t\t},\n\t\t\treliableMarginRight: function() {\n\t\t\t\t// Support: Android 2.3\n\t\t\t\t// Check if div with explicit width and no margin-right incorrectly\n\t\t\t\t// gets computed margin-right based on width of container. (#3333)\n\t\t\t\t// WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right\n\t\t\t\t// This support function is only executed once so no memoizing is needed.\n\t\t\t\tvar ret,\n\t\t\t\t\tmarginDiv = div.appendChild( document.createElement( \"div\" ) );\n\n\t\t\t\t// Reset CSS: box-sizing; display; margin; border; padding\n\t\t\t\tmarginDiv.style.cssText = div.style.cssText =\n\t\t\t\t\t// Support: Firefox<29, Android 2.3\n\t\t\t\t\t// Vendor-prefix box-sizing\n\t\t\t\t\t\"-webkit-box-sizing:content-box;-moz-box-sizing:content-box;\" +\n\t\t\t\t\t\"box-sizing:content-box;display:block;margin:0;border:0;padding:0\";\n\t\t\t\tmarginDiv.style.marginRight = marginDiv.style.width = \"0\";\n\t\t\t\tdiv.style.width = \"1px\";\n\t\t\t\tdocElem.appendChild( container );\n\n\t\t\t\tret = !parseFloat( window.getComputedStyle( marginDiv, null ).marginRight );\n\n\t\t\t\tdocElem.removeChild( container );\n\n\t\t\t\treturn ret;\n\t\t\t}\n\t\t});\n\t}\n})();\n\n\n// A method for quickly swapping in/out CSS properties to get correct calculations.\njQuery.swap = function( elem, options, callback, args ) {\n\tvar ret, name,\n\t\told = {};\n\n\t// Remember the old values, and insert the new ones\n\tfor ( name in options ) {\n\t\told[ name ] = elem.style[ name ];\n\t\telem.style[ name ] = options[ name ];\n\t}\n\n\tret = callback.apply( elem, args || [] );\n\n\t// Revert the old values\n\tfor ( name in options ) {\n\t\telem.style[ name ] = old[ name ];\n\t}\n\n\treturn ret;\n};\n\n\nvar\n\t// swappable if display is none or starts with table except \"table\", \"table-cell\", or \"table-caption\"\n\t// see here for display values: https://developer.mozilla.org/en-US/docs/CSS/display\n\trdisplayswap = /^(none|table(?!-c[ea]).+)/,\n\trnumsplit = new RegExp( \"^(\" + pnum + \")(.*)$\", \"i\" ),\n\trrelNum = new RegExp( \"^([+-])=(\" + pnum + \")\", \"i\" ),\n\n\tcssShow = { position: \"absolute\", visibility: \"hidden\", display: \"block\" },\n\tcssNormalTransform = {\n\t\tletterSpacing: \"0\",\n\t\tfontWeight: \"400\"\n\t},\n\n\tcssPrefixes = [ \"Webkit\", \"O\", \"Moz\", \"ms\" ];\n\n// return a css property mapped to a potentially vendor prefixed property\nfunction vendorPropName( style, name ) {\n\n\t// shortcut for names that are not vendor prefixed\n\tif ( name in style ) {\n\t\treturn name;\n\t}\n\n\t// check for vendor prefixed names\n\tvar capName = name[0].toUpperCase() + name.slice(1),\n\t\torigName = name,\n\t\ti = cssPrefixes.length;\n\n\twhile ( i-- ) {\n\t\tname = cssPrefixes[ i ] + capName;\n\t\tif ( name in style ) {\n\t\t\treturn name;\n\t\t}\n\t}\n\n\treturn origName;\n}\n\nfunction setPositiveNumber( elem, value, subtract ) {\n\tvar matches = rnumsplit.exec( value );\n\treturn matches ?\n\t\t// Guard against undefined \"subtract\", e.g., when used as in cssHooks\n\t\tMath.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || \"px\" ) :\n\t\tvalue;\n}\n\nfunction augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {\n\tvar i = extra === ( isBorderBox ? \"border\" : \"content\" ) ?\n\t\t// If we already have the right measurement, avoid augmentation\n\t\t4 :\n\t\t// Otherwise initialize for horizontal or vertical properties\n\t\tname === \"width\" ? 1 : 0,\n\n\t\tval = 0;\n\n\tfor ( ; i < 4; i += 2 ) {\n\t\t// both box models exclude margin, so add it if we want it\n\t\tif ( extra === \"margin\" ) {\n\t\t\tval += jQuery.css( elem, extra + cssExpand[ i ], true, styles );\n\t\t}\n\n\t\tif ( isBorderBox ) {\n\t\t\t// border-box includes padding, so remove it if we want content\n\t\t\tif ( extra === \"content\" ) {\n\t\t\t\tval -= jQuery.css( elem, \"padding\" + cssExpand[ i ], true, styles );\n\t\t\t}\n\n\t\t\t// at this point, extra isn't border nor margin, so remove border\n\t\t\tif ( extra !== \"margin\" ) {\n\t\t\t\tval -= jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\t\t\t}\n\t\t} else {\n\t\t\t// at this point, extra isn't content, so add padding\n\t\t\tval += jQuery.css( elem, \"padding\" + cssExpand[ i ], true, styles );\n\n\t\t\t// at this point, extra isn't content nor padding, so add border\n\t\t\tif ( extra !== \"padding\" ) {\n\t\t\t\tval += jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\t\t\t}\n\t\t}\n\t}\n\n\treturn val;\n}\n\nfunction getWidthOrHeight( elem, name, extra ) {\n\n\t// Start with offset property, which is equivalent to the border-box value\n\tvar valueIsBorderBox = true,\n\t\tval = name === \"width\" ? elem.offsetWidth : elem.offsetHeight,\n\t\tstyles = getStyles( elem ),\n\t\tisBorderBox = jQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\";\n\n\t// some non-html elements return undefined for offsetWidth, so check for null/undefined\n\t// svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285\n\t// MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668\n\tif ( val <= 0 || val == null ) {\n\t\t// Fall back to computed then uncomputed css if necessary\n\t\tval = curCSS( elem, name, styles );\n\t\tif ( val < 0 || val == null ) {\n\t\t\tval = elem.style[ name ];\n\t\t}\n\n\t\t// Computed unit is not pixels. Stop here and return.\n\t\tif ( rnumnonpx.test(val) ) {\n\t\t\treturn val;\n\t\t}\n\n\t\t// we need the check for style in case a browser which returns unreliable values\n\t\t// for getComputedStyle silently falls back to the reliable elem.style\n\t\tvalueIsBorderBox = isBorderBox &&\n\t\t\t( support.boxSizingReliable() || val === elem.style[ name ] );\n\n\t\t// Normalize \"\", auto, and prepare for extra\n\t\tval = parseFloat( val ) || 0;\n\t}\n\n\t// use the active box-sizing model to add/subtract irrelevant styles\n\treturn ( val +\n\t\taugmentWidthOrHeight(\n\t\t\telem,\n\t\t\tname,\n\t\t\textra || ( isBorderBox ? \"border\" : \"content\" ),\n\t\t\tvalueIsBorderBox,\n\t\t\tstyles\n\t\t)\n\t) + \"px\";\n}\n\nfunction showHide( elements, show ) {\n\tvar display, elem, hidden,\n\t\tvalues = [],\n\t\tindex = 0,\n\t\tlength = elements.length;\n\n\tfor ( ; index < length; index++ ) {\n\t\telem = elements[ index ];\n\t\tif ( !elem.style ) {\n\t\t\tcontinue;\n\t\t}\n\n\t\tvalues[ index ] = data_priv.get( elem, \"olddisplay\" );\n\t\tdisplay = elem.style.display;\n\t\tif ( show ) {\n\t\t\t// Reset the inline display of this element to learn if it is\n\t\t\t// being hidden by cascaded rules or not\n\t\t\tif ( !values[ index ] && display === \"none\" ) {\n\t\t\t\telem.style.display = \"\";\n\t\t\t}\n\n\t\t\t// Set elements which have been overridden with display: none\n\t\t\t// in a stylesheet to whatever the default browser style is\n\t\t\t// for such an element\n\t\t\tif ( elem.style.display === \"\" && isHidden( elem ) ) {\n\t\t\t\tvalues[ index ] = data_priv.access( elem, \"olddisplay\", defaultDisplay(elem.nodeName) );\n\t\t\t}\n\t\t} else {\n\t\t\thidden = isHidden( elem );\n\n\t\t\tif ( display !== \"none\" || !hidden ) {\n\t\t\t\tdata_priv.set( elem, \"olddisplay\", hidden ? display : jQuery.css( elem, \"display\" ) );\n\t\t\t}\n\t\t}\n\t}\n\n\t// Set the display of most of the elements in a second loop\n\t// to avoid the constant reflow\n\tfor ( index = 0; index < length; index++ ) {\n\t\telem = elements[ index ];\n\t\tif ( !elem.style ) {\n\t\t\tcontinue;\n\t\t}\n\t\tif ( !show || elem.style.display === \"none\" || elem.style.display === \"\" ) {\n\t\t\telem.style.display = show ? values[ index ] || \"\" : \"none\";\n\t\t}\n\t}\n\n\treturn elements;\n}\n\njQuery.extend({\n\t// Add in style property hooks for overriding the default\n\t// behavior of getting and setting a style property\n\tcssHooks: {\n\t\topacity: {\n\t\t\tget: function( elem, computed ) {\n\t\t\t\tif ( computed ) {\n\t\t\t\t\t// We should always get a number back from opacity\n\t\t\t\t\tvar ret = curCSS( elem, \"opacity\" );\n\t\t\t\t\treturn ret === \"\" ? \"1\" : ret;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\t// Don't automatically add \"px\" to these possibly-unitless properties\n\tcssNumber: {\n\t\t\"columnCount\": true,\n\t\t\"fillOpacity\": true,\n\t\t\"flexGrow\": true,\n\t\t\"flexShrink\": true,\n\t\t\"fontWeight\": true,\n\t\t\"lineHeight\": true,\n\t\t\"opacity\": true,\n\t\t\"order\": true,\n\t\t\"orphans\": true,\n\t\t\"widows\": true,\n\t\t\"zIndex\": true,\n\t\t\"zoom\": true\n\t},\n\n\t// Add in properties whose names you wish to fix before\n\t// setting or getting the value\n\tcssProps: {\n\t\t// normalize float css property\n\t\t\"float\": \"cssFloat\"\n\t},\n\n\t// Get and set the style property on a DOM Node\n\tstyle: function( elem, name, value, extra ) {\n\t\t// Don't set styles on text and comment nodes\n\t\tif ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Make sure that we're working with the right name\n\t\tvar ret, type, hooks,\n\t\t\torigName = jQuery.camelCase( name ),\n\t\t\tstyle = elem.style;\n\n\t\tname = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( style, origName ) );\n\n\t\t// gets hook for the prefixed version\n\t\t// followed by the unprefixed version\n\t\thooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];\n\n\t\t// Check if we're setting a value\n\t\tif ( value !== undefined ) {\n\t\t\ttype = typeof value;\n\n\t\t\t// convert relative number strings (+= or -=) to relative numbers. #7345\n\t\t\tif ( type === \"string\" && (ret = rrelNum.exec( value )) ) {\n\t\t\t\tvalue = ( ret[1] + 1 ) * ret[2] + parseFloat( jQuery.css( elem, name ) );\n\t\t\t\t// Fixes bug #9237\n\t\t\t\ttype = \"number\";\n\t\t\t}\n\n\t\t\t// Make sure that null and NaN values aren't set. See: #7116\n\t\t\tif ( value == null || value !== value ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// If a number was passed in, add 'px' to the (except for certain CSS properties)\n\t\t\tif ( type === \"number\" && !jQuery.cssNumber[ origName ] ) {\n\t\t\t\tvalue += \"px\";\n\t\t\t}\n\n\t\t\t// Fixes #8908, it can be done more correctly by specifying setters in cssHooks,\n\t\t\t// but it would mean to define eight (for every problematic property) identical functions\n\t\t\tif ( !support.clearCloneStyle && value === \"\" && name.indexOf( \"background\" ) === 0 ) {\n\t\t\t\tstyle[ name ] = \"inherit\";\n\t\t\t}\n\n\t\t\t// If a hook was provided, use that value, otherwise just set the specified value\n\t\t\tif ( !hooks || !(\"set\" in hooks) || (value = hooks.set( elem, value, extra )) !== undefined ) {\n\t\t\t\tstyle[ name ] = value;\n\t\t\t}\n\n\t\t} else {\n\t\t\t// If a hook was provided get the non-computed value from there\n\t\t\tif ( hooks && \"get\" in hooks && (ret = hooks.get( elem, false, extra )) !== undefined ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\t// Otherwise just get the value from the style object\n\t\t\treturn style[ name ];\n\t\t}\n\t},\n\n\tcss: function( elem, name, extra, styles ) {\n\t\tvar val, num, hooks,\n\t\t\torigName = jQuery.camelCase( name );\n\n\t\t// Make sure that we're working with the right name\n\t\tname = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( elem.style, origName ) );\n\n\t\t// gets hook for the prefixed version\n\t\t// followed by the unprefixed version\n\t\thooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];\n\n\t\t// If a hook was provided get the computed value from there\n\t\tif ( hooks && \"get\" in hooks ) {\n\t\t\tval = hooks.get( elem, true, extra );\n\t\t}\n\n\t\t// Otherwise, if a way to get the computed value exists, use that\n\t\tif ( val === undefined ) {\n\t\t\tval = curCSS( elem, name, styles );\n\t\t}\n\n\t\t//convert \"normal\" to computed value\n\t\tif ( val === \"normal\" && name in cssNormalTransform ) {\n\t\t\tval = cssNormalTransform[ name ];\n\t\t}\n\n\t\t// Return, converting to number if forced or a qualifier was provided and val looks numeric\n\t\tif ( extra === \"\" || extra ) {\n\t\t\tnum = parseFloat( val );\n\t\t\treturn extra === true || jQuery.isNumeric( num ) ? num || 0 : val;\n\t\t}\n\t\treturn val;\n\t}\n});\n\njQuery.each([ \"height\", \"width\" ], function( i, name ) {\n\tjQuery.cssHooks[ name ] = {\n\t\tget: function( elem, computed, extra ) {\n\t\t\tif ( computed ) {\n\t\t\t\t// certain elements can have dimension info if we invisibly show them\n\t\t\t\t// however, it must have a current display style that would benefit from this\n\t\t\t\treturn rdisplayswap.test( jQuery.css( elem, \"display\" ) ) && elem.offsetWidth === 0 ?\n\t\t\t\t\tjQuery.swap( elem, cssShow, function() {\n\t\t\t\t\t\treturn getWidthOrHeight( elem, name, extra );\n\t\t\t\t\t}) :\n\t\t\t\t\tgetWidthOrHeight( elem, name, extra );\n\t\t\t}\n\t\t},\n\n\t\tset: function( elem, value, extra ) {\n\t\t\tvar styles = extra && getStyles( elem );\n\t\t\treturn setPositiveNumber( elem, value, extra ?\n\t\t\t\taugmentWidthOrHeight(\n\t\t\t\t\telem,\n\t\t\t\t\tname,\n\t\t\t\t\textra,\n\t\t\t\t\tjQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\",\n\t\t\t\t\tstyles\n\t\t\t\t) : 0\n\t\t\t);\n\t\t}\n\t};\n});\n\n// Support: Android 2.3\njQuery.cssHooks.marginRight = addGetHookIf( support.reliableMarginRight,\n\tfunction( elem, computed ) {\n\t\tif ( computed ) {\n\t\t\t// WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right\n\t\t\t// Work around by temporarily setting element display to inline-block\n\t\t\treturn jQuery.swap( elem, { \"display\": \"inline-block\" },\n\t\t\t\tcurCSS, [ elem, \"marginRight\" ] );\n\t\t}\n\t}\n);\n\n// These hooks are used by animate to expand properties\njQuery.each({\n\tmargin: \"\",\n\tpadding: \"\",\n\tborder: \"Width\"\n}, function( prefix, suffix ) {\n\tjQuery.cssHooks[ prefix + suffix ] = {\n\t\texpand: function( value ) {\n\t\t\tvar i = 0,\n\t\t\t\texpanded = {},\n\n\t\t\t\t// assumes a single number if not a string\n\t\t\t\tparts = typeof value === \"string\" ? value.split(\" \") : [ value ];\n\n\t\t\tfor ( ; i < 4; i++ ) {\n\t\t\t\texpanded[ prefix + cssExpand[ i ] + suffix ] =\n\t\t\t\t\tparts[ i ] || parts[ i - 2 ] || parts[ 0 ];\n\t\t\t}\n\n\t\t\treturn expanded;\n\t\t}\n\t};\n\n\tif ( !rmargin.test( prefix ) ) {\n\t\tjQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber;\n\t}\n});\n\njQuery.fn.extend({\n\tcss: function( name, value ) {\n\t\treturn access( this, function( elem, name, value ) {\n\t\t\tvar styles, len,\n\t\t\t\tmap = {},\n\t\t\t\ti = 0;\n\n\t\t\tif ( jQuery.isArray( name ) ) {\n\t\t\t\tstyles = getStyles( elem );\n\t\t\t\tlen = name.length;\n\n\t\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\t\tmap[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles );\n\t\t\t\t}\n\n\t\t\t\treturn map;\n\t\t\t}\n\n\t\t\treturn value !== undefined ?\n\t\t\t\tjQuery.style( elem, name, value ) :\n\t\t\t\tjQuery.css( elem, name );\n\t\t}, name, value, arguments.length > 1 );\n\t},\n\tshow: function() {\n\t\treturn showHide( this, true );\n\t},\n\thide: function() {\n\t\treturn showHide( this );\n\t},\n\ttoggle: function( state ) {\n\t\tif ( typeof state === \"boolean\" ) {\n\t\t\treturn state ? this.show() : this.hide();\n\t\t}\n\n\t\treturn this.each(function() {\n\t\t\tif ( isHidden( this ) ) {\n\t\t\t\tjQuery( this ).show();\n\t\t\t} else {\n\t\t\t\tjQuery( this ).hide();\n\t\t\t}\n\t\t});\n\t}\n});\n\n\nfunction Tween( elem, options, prop, end, easing ) {\n\treturn new Tween.prototype.init( elem, options, prop, end, easing );\n}\njQuery.Tween = Tween;\n\nTween.prototype = {\n\tconstructor: Tween,\n\tinit: function( elem, options, prop, end, easing, unit ) {\n\t\tthis.elem = elem;\n\t\tthis.prop = prop;\n\t\tthis.easing = easing || \"swing\";\n\t\tthis.options = options;\n\t\tthis.start = this.now = this.cur();\n\t\tthis.end = end;\n\t\tthis.unit = unit || ( jQuery.cssNumber[ prop ] ? \"\" : \"px\" );\n\t},\n\tcur: function() {\n\t\tvar hooks = Tween.propHooks[ this.prop ];\n\n\t\treturn hooks && hooks.get ?\n\t\t\thooks.get( this ) :\n\t\t\tTween.propHooks._default.get( this );\n\t},\n\trun: function( percent ) {\n\t\tvar eased,\n\t\t\thooks = Tween.propHooks[ this.prop ];\n\n\t\tif ( this.options.duration ) {\n\t\t\tthis.pos = eased = jQuery.easing[ this.easing ](\n\t\t\t\tpercent, this.options.duration * percent, 0, 1, this.options.duration\n\t\t\t);\n\t\t} else {\n\t\t\tthis.pos = eased = percent;\n\t\t}\n\t\tthis.now = ( this.end - this.start ) * eased + this.start;\n\n\t\tif ( this.options.step ) {\n\t\t\tthis.options.step.call( this.elem, this.now, this );\n\t\t}\n\n\t\tif ( hooks && hooks.set ) {\n\t\t\thooks.set( this );\n\t\t} else {\n\t\t\tTween.propHooks._default.set( this );\n\t\t}\n\t\treturn this;\n\t}\n};\n\nTween.prototype.init.prototype = Tween.prototype;\n\nTween.propHooks = {\n\t_default: {\n\t\tget: function( tween ) {\n\t\t\tvar result;\n\n\t\t\tif ( tween.elem[ tween.prop ] != null &&\n\t\t\t\t(!tween.elem.style || tween.elem.style[ tween.prop ] == null) ) {\n\t\t\t\treturn tween.elem[ tween.prop ];\n\t\t\t}\n\n\t\t\t// passing an empty string as a 3rd parameter to .css will automatically\n\t\t\t// attempt a parseFloat and fallback to a string if the parse fails\n\t\t\t// so, simple values such as \"10px\" are parsed to Float.\n\t\t\t// complex values such as \"rotate(1rad)\" are returned as is.\n\t\t\tresult = jQuery.css( tween.elem, tween.prop, \"\" );\n\t\t\t// Empty strings, null, undefined and \"auto\" are converted to 0.\n\t\t\treturn !result || result === \"auto\" ? 0 : result;\n\t\t},\n\t\tset: function( tween ) {\n\t\t\t// use step hook for back compat - use cssHook if its there - use .style if its\n\t\t\t// available and use plain properties where available\n\t\t\tif ( jQuery.fx.step[ tween.prop ] ) {\n\t\t\t\tjQuery.fx.step[ tween.prop ]( tween );\n\t\t\t} else if ( tween.elem.style && ( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null || jQuery.cssHooks[ tween.prop ] ) ) {\n\t\t\t\tjQuery.style( tween.elem, tween.prop, tween.now + tween.unit );\n\t\t\t} else {\n\t\t\t\ttween.elem[ tween.prop ] = tween.now;\n\t\t\t}\n\t\t}\n\t}\n};\n\n// Support: IE9\n// Panic based approach to setting things on disconnected nodes\n\nTween.propHooks.scrollTop = Tween.propHooks.scrollLeft = {\n\tset: function( tween ) {\n\t\tif ( tween.elem.nodeType && tween.elem.parentNode ) {\n\t\t\ttween.elem[ tween.prop ] = tween.now;\n\t\t}\n\t}\n};\n\njQuery.easing = {\n\tlinear: function( p ) {\n\t\treturn p;\n\t},\n\tswing: function( p ) {\n\t\treturn 0.5 - Math.cos( p * Math.PI ) / 2;\n\t}\n};\n\njQuery.fx = Tween.prototype.init;\n\n// Back Compat <1.8 extension point\njQuery.fx.step = {};\n\n\n\n\nvar\n\tfxNow, timerId,\n\trfxtypes = /^(?:toggle|show|hide)$/,\n\trfxnum = new RegExp( \"^(?:([+-])=|)(\" + pnum + \")([a-z%]*)$\", \"i\" ),\n\trrun = /queueHooks$/,\n\tanimationPrefilters = [ defaultPrefilter ],\n\ttweeners = {\n\t\t\"*\": [ function( prop, value ) {\n\t\t\tvar tween = this.createTween( prop, value ),\n\t\t\t\ttarget = tween.cur(),\n\t\t\t\tparts = rfxnum.exec( value ),\n\t\t\t\tunit = parts && parts[ 3 ] || ( jQuery.cssNumber[ prop ] ? \"\" : \"px\" ),\n\n\t\t\t\t// Starting value computation is required for potential unit mismatches\n\t\t\t\tstart = ( jQuery.cssNumber[ prop ] || unit !== \"px\" && +target ) &&\n\t\t\t\t\trfxnum.exec( jQuery.css( tween.elem, prop ) ),\n\t\t\t\tscale = 1,\n\t\t\t\tmaxIterations = 20;\n\n\t\t\tif ( start && start[ 3 ] !== unit ) {\n\t\t\t\t// Trust units reported by jQuery.css\n\t\t\t\tunit = unit || start[ 3 ];\n\n\t\t\t\t// Make sure we update the tween properties later on\n\t\t\t\tparts = parts || [];\n\n\t\t\t\t// Iteratively approximate from a nonzero starting point\n\t\t\t\tstart = +target || 1;\n\n\t\t\t\tdo {\n\t\t\t\t\t// If previous iteration zeroed out, double until we get *something*\n\t\t\t\t\t// Use a string for doubling factor so we don't accidentally see scale as unchanged below\n\t\t\t\t\tscale = scale || \".5\";\n\n\t\t\t\t\t// Adjust and apply\n\t\t\t\t\tstart = start / scale;\n\t\t\t\t\tjQuery.style( tween.elem, prop, start + unit );\n\n\t\t\t\t// Update scale, tolerating zero or NaN from tween.cur()\n\t\t\t\t// And breaking the loop if scale is unchanged or perfect, or if we've just had enough\n\t\t\t\t} while ( scale !== (scale = tween.cur() / target) && scale !== 1 && --maxIterations );\n\t\t\t}\n\n\t\t\t// Update tween properties\n\t\t\tif ( parts ) {\n\t\t\t\tstart = tween.start = +start || +target || 0;\n\t\t\t\ttween.unit = unit;\n\t\t\t\t// If a +=/-= token was provided, we're doing a relative animation\n\t\t\t\ttween.end = parts[ 1 ] ?\n\t\t\t\t\tstart + ( parts[ 1 ] + 1 ) * parts[ 2 ] :\n\t\t\t\t\t+parts[ 2 ];\n\t\t\t}\n\n\t\t\treturn tween;\n\t\t} ]\n\t};\n\n// Animations created synchronously will run synchronously\nfunction createFxNow() {\n\tsetTimeout(function() {\n\t\tfxNow = undefined;\n\t});\n\treturn ( fxNow = jQuery.now() );\n}\n\n// Generate parameters to create a standard animation\nfunction genFx( type, includeWidth ) {\n\tvar which,\n\t\ti = 0,\n\t\tattrs = { height: type };\n\n\t// if we include width, step value is 1 to do all cssExpand values,\n\t// if we don't include width, step value is 2 to skip over Left and Right\n\tincludeWidth = includeWidth ? 1 : 0;\n\tfor ( ; i < 4 ; i += 2 - includeWidth ) {\n\t\twhich = cssExpand[ i ];\n\t\tattrs[ \"margin\" + which ] = attrs[ \"padding\" + which ] = type;\n\t}\n\n\tif ( includeWidth ) {\n\t\tattrs.opacity = attrs.width = type;\n\t}\n\n\treturn attrs;\n}\n\nfunction createTween( value, prop, animation ) {\n\tvar tween,\n\t\tcollection = ( tweeners[ prop ] || [] ).concat( tweeners[ \"*\" ] ),\n\t\tindex = 0,\n\t\tlength = collection.length;\n\tfor ( ; index < length; index++ ) {\n\t\tif ( (tween = collection[ index ].call( animation, prop, value )) ) {\n\n\t\t\t// we're done with this property\n\t\t\treturn tween;\n\t\t}\n\t}\n}\n\nfunction defaultPrefilter( elem, props, opts ) {\n\t/* jshint validthis: true */\n\tvar prop, value, toggle, tween, hooks, oldfire, display, checkDisplay,\n\t\tanim = this,\n\t\torig = {},\n\t\tstyle = elem.style,\n\t\thidden = elem.nodeType && isHidden( elem ),\n\t\tdataShow = data_priv.get( elem, \"fxshow\" );\n\n\t// handle queue: false promises\n\tif ( !opts.queue ) {\n\t\thooks = jQuery._queueHooks( elem, \"fx\" );\n\t\tif ( hooks.unqueued == null ) {\n\t\t\thooks.unqueued = 0;\n\t\t\toldfire = hooks.empty.fire;\n\t\t\thooks.empty.fire = function() {\n\t\t\t\tif ( !hooks.unqueued ) {\n\t\t\t\t\toldfire();\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t\thooks.unqueued++;\n\n\t\tanim.always(function() {\n\t\t\t// doing this makes sure that the complete handler will be called\n\t\t\t// before this completes\n\t\t\tanim.always(function() {\n\t\t\t\thooks.unqueued--;\n\t\t\t\tif ( !jQuery.queue( elem, \"fx\" ).length ) {\n\t\t\t\t\thooks.empty.fire();\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n\n\t// height/width overflow pass\n\tif ( elem.nodeType === 1 && ( \"height\" in props || \"width\" in props ) ) {\n\t\t// Make sure that nothing sneaks out\n\t\t// Record all 3 overflow attributes because IE9-10 do not\n\t\t// change the overflow attribute when overflowX and\n\t\t// overflowY are set to the same value\n\t\topts.overflow = [ style.overflow, style.overflowX, style.overflowY ];\n\n\t\t// Set display property to inline-block for height/width\n\t\t// animations on inline elements that are having width/height animated\n\t\tdisplay = jQuery.css( elem, \"display\" );\n\n\t\t// Test default display if display is currently \"none\"\n\t\tcheckDisplay = display === \"none\" ?\n\t\t\tdata_priv.get( elem, \"olddisplay\" ) || defaultDisplay( elem.nodeName ) : display;\n\n\t\tif ( checkDisplay === \"inline\" && jQuery.css( elem, \"float\" ) === \"none\" ) {\n\t\t\tstyle.display = \"inline-block\";\n\t\t}\n\t}\n\n\tif ( opts.overflow ) {\n\t\tstyle.overflow = \"hidden\";\n\t\tanim.always(function() {\n\t\t\tstyle.overflow = opts.overflow[ 0 ];\n\t\t\tstyle.overflowX = opts.overflow[ 1 ];\n\t\t\tstyle.overflowY = opts.overflow[ 2 ];\n\t\t});\n\t}\n\n\t// show/hide pass\n\tfor ( prop in props ) {\n\t\tvalue = props[ prop ];\n\t\tif ( rfxtypes.exec( value ) ) {\n\t\t\tdelete props[ prop ];\n\t\t\ttoggle = toggle || value === \"toggle\";\n\t\t\tif ( value === ( hidden ? \"hide\" : \"show\" ) ) {\n\n\t\t\t\t// If there is dataShow left over from a stopped hide or show and we are going to proceed with show, we should pretend to be hidden\n\t\t\t\tif ( value === \"show\" && dataShow && dataShow[ prop ] !== undefined ) {\n\t\t\t\t\thidden = true;\n\t\t\t\t} else {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t\torig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop );\n\n\t\t// Any non-fx value stops us from restoring the original display value\n\t\t} else {\n\t\t\tdisplay = undefined;\n\t\t}\n\t}\n\n\tif ( !jQuery.isEmptyObject( orig ) ) {\n\t\tif ( dataShow ) {\n\t\t\tif ( \"hidden\" in dataShow ) {\n\t\t\t\thidden = dataShow.hidden;\n\t\t\t}\n\t\t} else {\n\t\t\tdataShow = data_priv.access( elem, \"fxshow\", {} );\n\t\t}\n\n\t\t// store state if its toggle - enables .stop().toggle() to \"reverse\"\n\t\tif ( toggle ) {\n\t\t\tdataShow.hidden = !hidden;\n\t\t}\n\t\tif ( hidden ) {\n\t\t\tjQuery( elem ).show();\n\t\t} else {\n\t\t\tanim.done(function() {\n\t\t\t\tjQuery( elem ).hide();\n\t\t\t});\n\t\t}\n\t\tanim.done(function() {\n\t\t\tvar prop;\n\n\t\t\tdata_priv.remove( elem, \"fxshow\" );\n\t\t\tfor ( prop in orig ) {\n\t\t\t\tjQuery.style( elem, prop, orig[ prop ] );\n\t\t\t}\n\t\t});\n\t\tfor ( prop in orig ) {\n\t\t\ttween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim );\n\n\t\t\tif ( !( prop in dataShow ) ) {\n\t\t\t\tdataShow[ prop ] = tween.start;\n\t\t\t\tif ( hidden ) {\n\t\t\t\t\ttween.end = tween.start;\n\t\t\t\t\ttween.start = prop === \"width\" || prop === \"height\" ? 1 : 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t// If this is a noop like .hide().hide(), restore an overwritten display value\n\t} else if ( (display === \"none\" ? defaultDisplay( elem.nodeName ) : display) === \"inline\" ) {\n\t\tstyle.display = display;\n\t}\n}\n\nfunction propFilter( props, specialEasing ) {\n\tvar index, name, easing, value, hooks;\n\n\t// camelCase, specialEasing and expand cssHook pass\n\tfor ( index in props ) {\n\t\tname = jQuery.camelCase( index );\n\t\teasing = specialEasing[ name ];\n\t\tvalue = props[ index ];\n\t\tif ( jQuery.isArray( value ) ) {\n\t\t\teasing = value[ 1 ];\n\t\t\tvalue = props[ index ] = value[ 0 ];\n\t\t}\n\n\t\tif ( index !== name ) {\n\t\t\tprops[ name ] = value;\n\t\t\tdelete props[ index ];\n\t\t}\n\n\t\thooks = jQuery.cssHooks[ name ];\n\t\tif ( hooks && \"expand\" in hooks ) {\n\t\t\tvalue = hooks.expand( value );\n\t\t\tdelete props[ name ];\n\n\t\t\t// not quite $.extend, this wont overwrite keys already present.\n\t\t\t// also - reusing 'index' from above because we have the correct \"name\"\n\t\t\tfor ( index in value ) {\n\t\t\t\tif ( !( index in props ) ) {\n\t\t\t\t\tprops[ index ] = value[ index ];\n\t\t\t\t\tspecialEasing[ index ] = easing;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tspecialEasing[ name ] = easing;\n\t\t}\n\t}\n}\n\nfunction Animation( elem, properties, options ) {\n\tvar result,\n\t\tstopped,\n\t\tindex = 0,\n\t\tlength = animationPrefilters.length,\n\t\tdeferred = jQuery.Deferred().always( function() {\n\t\t\t// don't match elem in the :animated selector\n\t\t\tdelete tick.elem;\n\t\t}),\n\t\ttick = function() {\n\t\t\tif ( stopped ) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tvar currentTime = fxNow || createFxNow(),\n\t\t\t\tremaining = Math.max( 0, animation.startTime + animation.duration - currentTime ),\n\t\t\t\t// archaic crash bug won't allow us to use 1 - ( 0.5 || 0 ) (#12497)\n\t\t\t\ttemp = remaining / animation.duration || 0,\n\t\t\t\tpercent = 1 - temp,\n\t\t\t\tindex = 0,\n\t\t\t\tlength = animation.tweens.length;\n\n\t\t\tfor ( ; index < length ; index++ ) {\n\t\t\t\tanimation.tweens[ index ].run( percent );\n\t\t\t}\n\n\t\t\tdeferred.notifyWith( elem, [ animation, percent, remaining ]);\n\n\t\t\tif ( percent < 1 && length ) {\n\t\t\t\treturn remaining;\n\t\t\t} else {\n\t\t\t\tdeferred.resolveWith( elem, [ animation ] );\n\t\t\t\treturn false;\n\t\t\t}\n\t\t},\n\t\tanimation = deferred.promise({\n\t\t\telem: elem,\n\t\t\tprops: jQuery.extend( {}, properties ),\n\t\t\topts: jQuery.extend( true, { specialEasing: {} }, options ),\n\t\t\toriginalProperties: properties,\n\t\t\toriginalOptions: options,\n\t\t\tstartTime: fxNow || createFxNow(),\n\t\t\tduration: options.duration,\n\t\t\ttweens: [],\n\t\t\tcreateTween: function( prop, end ) {\n\t\t\t\tvar tween = jQuery.Tween( elem, animation.opts, prop, end,\n\t\t\t\t\t\tanimation.opts.specialEasing[ prop ] || animation.opts.easing );\n\t\t\t\tanimation.tweens.push( tween );\n\t\t\t\treturn tween;\n\t\t\t},\n\t\t\tstop: function( gotoEnd ) {\n\t\t\t\tvar index = 0,\n\t\t\t\t\t// if we are going to the end, we want to run all the tweens\n\t\t\t\t\t// otherwise we skip this part\n\t\t\t\t\tlength = gotoEnd ? animation.tweens.length : 0;\n\t\t\t\tif ( stopped ) {\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t\tstopped = true;\n\t\t\t\tfor ( ; index < length ; index++ ) {\n\t\t\t\t\tanimation.tweens[ index ].run( 1 );\n\t\t\t\t}\n\n\t\t\t\t// resolve when we played the last frame\n\t\t\t\t// otherwise, reject\n\t\t\t\tif ( gotoEnd ) {\n\t\t\t\t\tdeferred.resolveWith( elem, [ animation, gotoEnd ] );\n\t\t\t\t} else {\n\t\t\t\t\tdeferred.rejectWith( elem, [ animation, gotoEnd ] );\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t}\n\t\t}),\n\t\tprops = animation.props;\n\n\tpropFilter( props, animation.opts.specialEasing );\n\n\tfor ( ; index < length ; index++ ) {\n\t\tresult = animationPrefilters[ index ].call( animation, elem, props, animation.opts );\n\t\tif ( result ) {\n\t\t\treturn result;\n\t\t}\n\t}\n\n\tjQuery.map( props, createTween, animation );\n\n\tif ( jQuery.isFunction( animation.opts.start ) ) {\n\t\tanimation.opts.start.call( elem, animation );\n\t}\n\n\tjQuery.fx.timer(\n\t\tjQuery.extend( tick, {\n\t\t\telem: elem,\n\t\t\tanim: animation,\n\t\t\tqueue: animation.opts.queue\n\t\t})\n\t);\n\n\t// attach callbacks from options\n\treturn animation.progress( animation.opts.progress )\n\t\t.done( animation.opts.done, animation.opts.complete )\n\t\t.fail( animation.opts.fail )\n\t\t.always( animation.opts.always );\n}\n\njQuery.Animation = jQuery.extend( Animation, {\n\n\ttweener: function( props, callback ) {\n\t\tif ( jQuery.isFunction( props ) ) {\n\t\t\tcallback = props;\n\t\t\tprops = [ \"*\" ];\n\t\t} else {\n\t\t\tprops = props.split(\" \");\n\t\t}\n\n\t\tvar prop,\n\t\t\tindex = 0,\n\t\t\tlength = props.length;\n\n\t\tfor ( ; index < length ; index++ ) {\n\t\t\tprop = props[ index ];\n\t\t\ttweeners[ prop ] = tweeners[ prop ] || [];\n\t\t\ttweeners[ prop ].unshift( callback );\n\t\t}\n\t},\n\n\tprefilter: function( callback, prepend ) {\n\t\tif ( prepend ) {\n\t\t\tanimationPrefilters.unshift( callback );\n\t\t} else {\n\t\t\tanimationPrefilters.push( callback );\n\t\t}\n\t}\n});\n\njQuery.speed = function( speed, easing, fn ) {\n\tvar opt = speed && typeof speed === \"object\" ? jQuery.extend( {}, speed ) : {\n\t\tcomplete: fn || !fn && easing ||\n\t\t\tjQuery.isFunction( speed ) && speed,\n\t\tduration: speed,\n\t\teasing: fn && easing || easing && !jQuery.isFunction( easing ) && easing\n\t};\n\n\topt.duration = jQuery.fx.off ? 0 : typeof opt.duration === \"number\" ? opt.duration :\n\t\topt.duration in jQuery.fx.speeds ? jQuery.fx.speeds[ opt.duration ] : jQuery.fx.speeds._default;\n\n\t// normalize opt.queue - true/undefined/null -> \"fx\"\n\tif ( opt.queue == null || opt.queue === true ) {\n\t\topt.queue = \"fx\";\n\t}\n\n\t// Queueing\n\topt.old = opt.complete;\n\n\topt.complete = function() {\n\t\tif ( jQuery.isFunction( opt.old ) ) {\n\t\t\topt.old.call( this );\n\t\t}\n\n\t\tif ( opt.queue ) {\n\t\t\tjQuery.dequeue( this, opt.queue );\n\t\t}\n\t};\n\n\treturn opt;\n};\n\njQuery.fn.extend({\n\tfadeTo: function( speed, to, easing, callback ) {\n\n\t\t// show any hidden elements after setting opacity to 0\n\t\treturn this.filter( isHidden ).css( \"opacity\", 0 ).show()\n\n\t\t\t// animate to the value specified\n\t\t\t.end().animate({ opacity: to }, speed, easing, callback );\n\t},\n\tanimate: function( prop, speed, easing, callback ) {\n\t\tvar empty = jQuery.isEmptyObject( prop ),\n\t\t\toptall = jQuery.speed( speed, easing, callback ),\n\t\t\tdoAnimation = function() {\n\t\t\t\t// Operate on a copy of prop so per-property easing won't be lost\n\t\t\t\tvar anim = Animation( this, jQuery.extend( {}, prop ), optall );\n\n\t\t\t\t// Empty animations, or finishing resolves immediately\n\t\t\t\tif ( empty || data_priv.get( this, \"finish\" ) ) {\n\t\t\t\t\tanim.stop( true );\n\t\t\t\t}\n\t\t\t};\n\t\t\tdoAnimation.finish = doAnimation;\n\n\t\treturn empty || optall.queue === false ?\n\t\t\tthis.each( doAnimation ) :\n\t\t\tthis.queue( optall.queue, doAnimation );\n\t},\n\tstop: function( type, clearQueue, gotoEnd ) {\n\t\tvar stopQueue = function( hooks ) {\n\t\t\tvar stop = hooks.stop;\n\t\t\tdelete hooks.stop;\n\t\t\tstop( gotoEnd );\n\t\t};\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tgotoEnd = clearQueue;\n\t\t\tclearQueue = type;\n\t\t\ttype = undefined;\n\t\t}\n\t\tif ( clearQueue && type !== false ) {\n\t\t\tthis.queue( type || \"fx\", [] );\n\t\t}\n\n\t\treturn this.each(function() {\n\t\t\tvar dequeue = true,\n\t\t\t\tindex = type != null && type + \"queueHooks\",\n\t\t\t\ttimers = jQuery.timers,\n\t\t\t\tdata = data_priv.get( this );\n\n\t\t\tif ( index ) {\n\t\t\t\tif ( data[ index ] && data[ index ].stop ) {\n\t\t\t\t\tstopQueue( data[ index ] );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor ( index in data ) {\n\t\t\t\t\tif ( data[ index ] && data[ index ].stop && rrun.test( index ) ) {\n\t\t\t\t\t\tstopQueue( data[ index ] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor ( index = timers.length; index--; ) {\n\t\t\t\tif ( timers[ index ].elem === this && (type == null || timers[ index ].queue === type) ) {\n\t\t\t\t\ttimers[ index ].anim.stop( gotoEnd );\n\t\t\t\t\tdequeue = false;\n\t\t\t\t\ttimers.splice( index, 1 );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// start the next in the queue if the last step wasn't forced\n\t\t\t// timers currently will call their complete callbacks, which will dequeue\n\t\t\t// but only if they were gotoEnd\n\t\t\tif ( dequeue || !gotoEnd ) {\n\t\t\t\tjQuery.dequeue( this, type );\n\t\t\t}\n\t\t});\n\t},\n\tfinish: function( type ) {\n\t\tif ( type !== false ) {\n\t\t\ttype = type || \"fx\";\n\t\t}\n\t\treturn this.each(function() {\n\t\t\tvar index,\n\t\t\t\tdata = data_priv.get( this ),\n\t\t\t\tqueue = data[ type + \"queue\" ],\n\t\t\t\thooks = data[ type + \"queueHooks\" ],\n\t\t\t\ttimers = jQuery.timers,\n\t\t\t\tlength = queue ? queue.length : 0;\n\n\t\t\t// enable finishing flag on private data\n\t\t\tdata.finish = true;\n\n\t\t\t// empty the queue first\n\t\t\tjQuery.queue( this, type, [] );\n\n\t\t\tif ( hooks && hooks.stop ) {\n\t\t\t\thooks.stop.call( this, true );\n\t\t\t}\n\n\t\t\t// look for any active animations, and finish them\n\t\t\tfor ( index = timers.length; index--; ) {\n\t\t\t\tif ( timers[ index ].elem === this && timers[ index ].queue === type ) {\n\t\t\t\t\ttimers[ index ].anim.stop( true );\n\t\t\t\t\ttimers.splice( index, 1 );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// look for any animations in the old queue and finish them\n\t\t\tfor ( index = 0; index < length; index++ ) {\n\t\t\t\tif ( queue[ index ] && queue[ index ].finish ) {\n\t\t\t\t\tqueue[ index ].finish.call( this );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// turn off finishing flag\n\t\t\tdelete data.finish;\n\t\t});\n\t}\n});\n\njQuery.each([ \"toggle\", \"show\", \"hide\" ], function( i, name ) {\n\tvar cssFn = jQuery.fn[ name ];\n\tjQuery.fn[ name ] = function( speed, easing, callback ) {\n\t\treturn speed == null || typeof speed === \"boolean\" ?\n\t\t\tcssFn.apply( this, arguments ) :\n\t\t\tthis.animate( genFx( name, true ), speed, easing, callback );\n\t};\n});\n\n// Generate shortcuts for custom animations\njQuery.each({\n\tslideDown: genFx(\"show\"),\n\tslideUp: genFx(\"hide\"),\n\tslideToggle: genFx(\"toggle\"),\n\tfadeIn: { opacity: \"show\" },\n\tfadeOut: { opacity: \"hide\" },\n\tfadeToggle: { opacity: \"toggle\" }\n}, function( name, props ) {\n\tjQuery.fn[ name ] = function( speed, easing, callback ) {\n\t\treturn this.animate( props, speed, easing, callback );\n\t};\n});\n\njQuery.timers = [];\njQuery.fx.tick = function() {\n\tvar timer,\n\t\ti = 0,\n\t\ttimers = jQuery.timers;\n\n\tfxNow = jQuery.now();\n\n\tfor ( ; i < timers.length; i++ ) {\n\t\ttimer = timers[ i ];\n\t\t// Checks the timer has not already been removed\n\t\tif ( !timer() && timers[ i ] === timer ) {\n\t\t\ttimers.splice( i--, 1 );\n\t\t}\n\t}\n\n\tif ( !timers.length ) {\n\t\tjQuery.fx.stop();\n\t}\n\tfxNow = undefined;\n};\n\njQuery.fx.timer = function( timer ) {\n\tjQuery.timers.push( timer );\n\tif ( timer() ) {\n\t\tjQuery.fx.start();\n\t} else {\n\t\tjQuery.timers.pop();\n\t}\n};\n\njQuery.fx.interval = 13;\n\njQuery.fx.start = function() {\n\tif ( !timerId ) {\n\t\ttimerId = setInterval( jQuery.fx.tick, jQuery.fx.interval );\n\t}\n};\n\njQuery.fx.stop = function() {\n\tclearInterval( timerId );\n\ttimerId = null;\n};\n\njQuery.fx.speeds = {\n\tslow: 600,\n\tfast: 200,\n\t// Default speed\n\t_default: 400\n};\n\n\n// Based off of the plugin by Clint Helfers, with permission.\n// http://blindsignals.com/index.php/2009/07/jquery-delay/\njQuery.fn.delay = function( time, type ) {\n\ttime = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;\n\ttype = type || \"fx\";\n\n\treturn this.queue( type, function( next, hooks ) {\n\t\tvar timeout = setTimeout( next, time );\n\t\thooks.stop = function() {\n\t\t\tclearTimeout( timeout );\n\t\t};\n\t});\n};\n\n\n(function() {\n\tvar input = document.createElement( \"input\" ),\n\t\tselect = document.createElement( \"select\" ),\n\t\topt = select.appendChild( document.createElement( \"option\" ) );\n\n\tinput.type = \"checkbox\";\n\n\t// Support: iOS 5.1, Android 4.x, Android 2.3\n\t// Check the default checkbox/radio value (\"\" on old WebKit; \"on\" elsewhere)\n\tsupport.checkOn = input.value !== \"\";\n\n\t// Must access the parent to make an option select properly\n\t// Support: IE9, IE10\n\tsupport.optSelected = opt.selected;\n\n\t// Make sure that the options inside disabled selects aren't marked as disabled\n\t// (WebKit marks them as disabled)\n\tselect.disabled = true;\n\tsupport.optDisabled = !opt.disabled;\n\n\t// Check if an input maintains its value after becoming a radio\n\t// Support: IE9, IE10\n\tinput = document.createElement( \"input\" );\n\tinput.value = \"t\";\n\tinput.type = \"radio\";\n\tsupport.radioValue = input.value === \"t\";\n})();\n\n\nvar nodeHook, boolHook,\n\tattrHandle = jQuery.expr.attrHandle;\n\njQuery.fn.extend({\n\tattr: function( name, value ) {\n\t\treturn access( this, jQuery.attr, name, value, arguments.length > 1 );\n\t},\n\n\tremoveAttr: function( name ) {\n\t\treturn this.each(function() {\n\t\t\tjQuery.removeAttr( this, name );\n\t\t});\n\t}\n});\n\njQuery.extend({\n\tattr: function( elem, name, value ) {\n\t\tvar hooks, ret,\n\t\t\tnType = elem.nodeType;\n\n\t\t// don't get/set attributes on text, comment and attribute nodes\n\t\tif ( !elem || nType === 3 || nType === 8 || nType === 2 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Fallback to prop when attributes are not supported\n\t\tif ( typeof elem.getAttribute === strundefined ) {\n\t\t\treturn jQuery.prop( elem, name, value );\n\t\t}\n\n\t\t// All attributes are lowercase\n\t\t// Grab necessary hook if one is defined\n\t\tif ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {\n\t\t\tname = name.toLowerCase();\n\t\t\thooks = jQuery.attrHooks[ name ] ||\n\t\t\t\t( jQuery.expr.match.bool.test( name ) ? boolHook : nodeHook );\n\t\t}\n\n\t\tif ( value !== undefined ) {\n\n\t\t\tif ( value === null ) {\n\t\t\t\tjQuery.removeAttr( elem, name );\n\n\t\t\t} else if ( hooks && \"set\" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) {\n\t\t\t\treturn ret;\n\n\t\t\t} else {\n\t\t\t\telem.setAttribute( name, value + \"\" );\n\t\t\t\treturn value;\n\t\t\t}\n\n\t\t} else if ( hooks && \"get\" in hooks && (ret = hooks.get( elem, name )) !== null ) {\n\t\t\treturn ret;\n\n\t\t} else {\n\t\t\tret = jQuery.find.attr( elem, name );\n\n\t\t\t// Non-existent attributes return null, we normalize to undefined\n\t\t\treturn ret == null ?\n\t\t\t\tundefined :\n\t\t\t\tret;\n\t\t}\n\t},\n\n\tremoveAttr: function( elem, value ) {\n\t\tvar name, propName,\n\t\t\ti = 0,\n\t\t\tattrNames = value && value.match( rnotwhite );\n\n\t\tif ( attrNames && elem.nodeType === 1 ) {\n\t\t\twhile ( (name = attrNames[i++]) ) {\n\t\t\t\tpropName = jQuery.propFix[ name ] || name;\n\n\t\t\t\t// Boolean attributes get special treatment (#10870)\n\t\t\t\tif ( jQuery.expr.match.bool.test( name ) ) {\n\t\t\t\t\t// Set corresponding property to false\n\t\t\t\t\telem[ propName ] = false;\n\t\t\t\t}\n\n\t\t\t\telem.removeAttribute( name );\n\t\t\t}\n\t\t}\n\t},\n\n\tattrHooks: {\n\t\ttype: {\n\t\t\tset: function( elem, value ) {\n\t\t\t\tif ( !support.radioValue && value === \"radio\" &&\n\t\t\t\t\tjQuery.nodeName( elem, \"input\" ) ) {\n\t\t\t\t\t// Setting the type on a radio button after the value resets the value in IE6-9\n\t\t\t\t\t// Reset value to default in case type is set after value during creation\n\t\t\t\t\tvar val = elem.value;\n\t\t\t\t\telem.setAttribute( \"type\", value );\n\t\t\t\t\tif ( val ) {\n\t\t\t\t\t\telem.value = val;\n\t\t\t\t\t}\n\t\t\t\t\treturn value;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n});\n\n// Hooks for boolean attributes\nboolHook = {\n\tset: function( elem, value, name ) {\n\t\tif ( value === false ) {\n\t\t\t// Remove boolean attributes when set to false\n\t\t\tjQuery.removeAttr( elem, name );\n\t\t} else {\n\t\t\telem.setAttribute( name, name );\n\t\t}\n\t\treturn name;\n\t}\n};\njQuery.each( jQuery.expr.match.bool.source.match( /\\w+/g ), function( i, name ) {\n\tvar getter = attrHandle[ name ] || jQuery.find.attr;\n\n\tattrHandle[ name ] = function( elem, name, isXML ) {\n\t\tvar ret, handle;\n\t\tif ( !isXML ) {\n\t\t\t// Avoid an infinite loop by temporarily removing this function from the getter\n\t\t\thandle = attrHandle[ name ];\n\t\t\tattrHandle[ name ] = ret;\n\t\t\tret = getter( elem, name, isXML ) != null ?\n\t\t\t\tname.toLowerCase() :\n\t\t\t\tnull;\n\t\t\tattrHandle[ name ] = handle;\n\t\t}\n\t\treturn ret;\n\t};\n});\n\n\n\n\nvar rfocusable = /^(?:input|select|textarea|button)$/i;\n\njQuery.fn.extend({\n\tprop: function( name, value ) {\n\t\treturn access( this, jQuery.prop, name, value, arguments.length > 1 );\n\t},\n\n\tremoveProp: function( name ) {\n\t\treturn this.each(function() {\n\t\t\tdelete this[ jQuery.propFix[ name ] || name ];\n\t\t});\n\t}\n});\n\njQuery.extend({\n\tpropFix: {\n\t\t\"for\": \"htmlFor\",\n\t\t\"class\": \"className\"\n\t},\n\n\tprop: function( elem, name, value ) {\n\t\tvar ret, hooks, notxml,\n\t\t\tnType = elem.nodeType;\n\n\t\t// don't get/set properties on text, comment and attribute nodes\n\t\tif ( !elem || nType === 3 || nType === 8 || nType === 2 ) {\n\t\t\treturn;\n\t\t}\n\n\t\tnotxml = nType !== 1 || !jQuery.isXMLDoc( elem );\n\n\t\tif ( notxml ) {\n\t\t\t// Fix name and attach hooks\n\t\t\tname = jQuery.propFix[ name ] || name;\n\t\t\thooks = jQuery.propHooks[ name ];\n\t\t}\n\n\t\tif ( value !== undefined ) {\n\t\t\treturn hooks && \"set\" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ?\n\t\t\t\tret :\n\t\t\t\t( elem[ name ] = value );\n\n\t\t} else {\n\t\t\treturn hooks && \"get\" in hooks && (ret = hooks.get( elem, name )) !== null ?\n\t\t\t\tret :\n\t\t\t\telem[ name ];\n\t\t}\n\t},\n\n\tpropHooks: {\n\t\ttabIndex: {\n\t\t\tget: function( elem ) {\n\t\t\t\treturn elem.hasAttribute( \"tabindex\" ) || rfocusable.test( elem.nodeName ) || elem.href ?\n\t\t\t\t\telem.tabIndex :\n\t\t\t\t\t-1;\n\t\t\t}\n\t\t}\n\t}\n});\n\n// Support: IE9+\n// Selectedness for an option in an optgroup can be inaccurate\nif ( !support.optSelected ) {\n\tjQuery.propHooks.selected = {\n\t\tget: function( elem ) {\n\t\t\tvar parent = elem.parentNode;\n\t\t\tif ( parent && parent.parentNode ) {\n\t\t\t\tparent.parentNode.selectedIndex;\n\t\t\t}\n\t\t\treturn null;\n\t\t}\n\t};\n}\n\njQuery.each([\n\t\"tabIndex\",\n\t\"readOnly\",\n\t\"maxLength\",\n\t\"cellSpacing\",\n\t\"cellPadding\",\n\t\"rowSpan\",\n\t\"colSpan\",\n\t\"useMap\",\n\t\"frameBorder\",\n\t\"contentEditable\"\n], function() {\n\tjQuery.propFix[ this.toLowerCase() ] = this;\n});\n\n\n\n\nvar rclass = /[\\t\\r\\n\\f]/g;\n\njQuery.fn.extend({\n\taddClass: function( value ) {\n\t\tvar classes, elem, cur, clazz, j, finalValue,\n\t\t\tproceed = typeof value === \"string\" && value,\n\t\t\ti = 0,\n\t\t\tlen = this.length;\n\n\t\tif ( jQuery.isFunction( value ) ) {\n\t\t\treturn this.each(function( j ) {\n\t\t\t\tjQuery( this ).addClass( value.call( this, j, this.className ) );\n\t\t\t});\n\t\t}\n\n\t\tif ( proceed ) {\n\t\t\t// The disjunction here is for better compressibility (see removeClass)\n\t\t\tclasses = ( value || \"\" ).match( rnotwhite ) || [];\n\n\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\telem = this[ i ];\n\t\t\t\tcur = elem.nodeType === 1 && ( elem.className ?\n\t\t\t\t\t( \" \" + elem.className + \" \" ).replace( rclass, \" \" ) :\n\t\t\t\t\t\" \"\n\t\t\t\t);\n\n\t\t\t\tif ( cur ) {\n\t\t\t\t\tj = 0;\n\t\t\t\t\twhile ( (clazz = classes[j++]) ) {\n\t\t\t\t\t\tif ( cur.indexOf( \" \" + clazz + \" \" ) < 0 ) {\n\t\t\t\t\t\t\tcur += clazz + \" \";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// only assign if different to avoid unneeded rendering.\n\t\t\t\t\tfinalValue = jQuery.trim( cur );\n\t\t\t\t\tif ( elem.className !== finalValue ) {\n\t\t\t\t\t\telem.className = finalValue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\tremoveClass: function( value ) {\n\t\tvar classes, elem, cur, clazz, j, finalValue,\n\t\t\tproceed = arguments.length === 0 || typeof value === \"string\" && value,\n\t\t\ti = 0,\n\t\t\tlen = this.length;\n\n\t\tif ( jQuery.isFunction( value ) ) {\n\t\t\treturn this.each(function( j ) {\n\t\t\t\tjQuery( this ).removeClass( value.call( this, j, this.className ) );\n\t\t\t});\n\t\t}\n\t\tif ( proceed ) {\n\t\t\tclasses = ( value || \"\" ).match( rnotwhite ) || [];\n\n\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\telem = this[ i ];\n\t\t\t\t// This expression is here for better compressibility (see addClass)\n\t\t\t\tcur = elem.nodeType === 1 && ( elem.className ?\n\t\t\t\t\t( \" \" + elem.className + \" \" ).replace( rclass, \" \" ) :\n\t\t\t\t\t\"\"\n\t\t\t\t);\n\n\t\t\t\tif ( cur ) {\n\t\t\t\t\tj = 0;\n\t\t\t\t\twhile ( (clazz = classes[j++]) ) {\n\t\t\t\t\t\t// Remove *all* instances\n\t\t\t\t\t\twhile ( cur.indexOf( \" \" + clazz + \" \" ) >= 0 ) {\n\t\t\t\t\t\t\tcur = cur.replace( \" \" + clazz + \" \", \" \" );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// only assign if different to avoid unneeded rendering.\n\t\t\t\t\tfinalValue = value ? jQuery.trim( cur ) : \"\";\n\t\t\t\t\tif ( elem.className !== finalValue ) {\n\t\t\t\t\t\telem.className = finalValue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\ttoggleClass: function( value, stateVal ) {\n\t\tvar type = typeof value;\n\n\t\tif ( typeof stateVal === \"boolean\" && type === \"string\" ) {\n\t\t\treturn stateVal ? this.addClass( value ) : this.removeClass( value );\n\t\t}\n\n\t\tif ( jQuery.isFunction( value ) ) {\n\t\t\treturn this.each(function( i ) {\n\t\t\t\tjQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal );\n\t\t\t});\n\t\t}\n\n\t\treturn this.each(function() {\n\t\t\tif ( type === \"string\" ) {\n\t\t\t\t// toggle individual class names\n\t\t\t\tvar className,\n\t\t\t\t\ti = 0,\n\t\t\t\t\tself = jQuery( this ),\n\t\t\t\t\tclassNames = value.match( rnotwhite ) || [];\n\n\t\t\t\twhile ( (className = classNames[ i++ ]) ) {\n\t\t\t\t\t// check each className given, space separated list\n\t\t\t\t\tif ( self.hasClass( className ) ) {\n\t\t\t\t\t\tself.removeClass( className );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tself.addClass( className );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t// Toggle whole class name\n\t\t\t} else if ( type === strundefined || type === \"boolean\" ) {\n\t\t\t\tif ( this.className ) {\n\t\t\t\t\t// store className if set\n\t\t\t\t\tdata_priv.set( this, \"__className__\", this.className );\n\t\t\t\t}\n\n\t\t\t\t// If the element has a class name or if we're passed \"false\",\n\t\t\t\t// then remove the whole classname (if there was one, the above saved it).\n\t\t\t\t// Otherwise bring back whatever was previously saved (if anything),\n\t\t\t\t// falling back to the empty string if nothing was stored.\n\t\t\t\tthis.className = this.className || value === false ? \"\" : data_priv.get( this, \"__className__\" ) || \"\";\n\t\t\t}\n\t\t});\n\t},\n\n\thasClass: function( selector ) {\n\t\tvar className = \" \" + selector + \" \",\n\t\t\ti = 0,\n\t\t\tl = this.length;\n\t\tfor ( ; i < l; i++ ) {\n\t\t\tif ( this[i].nodeType === 1 && (\" \" + this[i].className + \" \").replace(rclass, \" \").indexOf( className ) >= 0 ) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n});\n\n\n\n\nvar rreturn = /\\r/g;\n\njQuery.fn.extend({\n\tval: function( value ) {\n\t\tvar hooks, ret, isFunction,\n\t\t\telem = this[0];\n\n\t\tif ( !arguments.length ) {\n\t\t\tif ( elem ) {\n\t\t\t\thooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ];\n\n\t\t\t\tif ( hooks && \"get\" in hooks && (ret = hooks.get( elem, \"value\" )) !== undefined ) {\n\t\t\t\t\treturn ret;\n\t\t\t\t}\n\n\t\t\t\tret = elem.value;\n\n\t\t\t\treturn typeof ret === \"string\" ?\n\t\t\t\t\t// handle most common string cases\n\t\t\t\t\tret.replace(rreturn, \"\") :\n\t\t\t\t\t// handle cases where value is null/undef or number\n\t\t\t\t\tret == null ? \"\" : ret;\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tisFunction = jQuery.isFunction( value );\n\n\t\treturn this.each(function( i ) {\n\t\t\tvar val;\n\n\t\t\tif ( this.nodeType !== 1 ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( isFunction ) {\n\t\t\t\tval = value.call( this, i, jQuery( this ).val() );\n\t\t\t} else {\n\t\t\t\tval = value;\n\t\t\t}\n\n\t\t\t// Treat null/undefined as \"\"; convert numbers to string\n\t\t\tif ( val == null ) {\n\t\t\t\tval = \"\";\n\n\t\t\t} else if ( typeof val === \"number\" ) {\n\t\t\t\tval += \"\";\n\n\t\t\t} else if ( jQuery.isArray( val ) ) {\n\t\t\t\tval = jQuery.map( val, function( value ) {\n\t\t\t\t\treturn value == null ? \"\" : value + \"\";\n\t\t\t\t});\n\t\t\t}\n\n\t\t\thooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ];\n\n\t\t\t// If set returns undefined, fall back to normal setting\n\t\t\tif ( !hooks || !(\"set\" in hooks) || hooks.set( this, val, \"value\" ) === undefined ) {\n\t\t\t\tthis.value = val;\n\t\t\t}\n\t\t});\n\t}\n});\n\njQuery.extend({\n\tvalHooks: {\n\t\toption: {\n\t\t\tget: function( elem ) {\n\t\t\t\tvar val = jQuery.find.attr( elem, \"value\" );\n\t\t\t\treturn val != null ?\n\t\t\t\t\tval :\n\t\t\t\t\t// Support: IE10-11+\n\t\t\t\t\t// option.text throws exceptions (#14686, #14858)\n\t\t\t\t\tjQuery.trim( jQuery.text( elem ) );\n\t\t\t}\n\t\t},\n\t\tselect: {\n\t\t\tget: function( elem ) {\n\t\t\t\tvar value, option,\n\t\t\t\t\toptions = elem.options,\n\t\t\t\t\tindex = elem.selectedIndex,\n\t\t\t\t\tone = elem.type === \"select-one\" || index < 0,\n\t\t\t\t\tvalues = one ? null : [],\n\t\t\t\t\tmax = one ? index + 1 : options.length,\n\t\t\t\t\ti = index < 0 ?\n\t\t\t\t\t\tmax :\n\t\t\t\t\t\tone ? index : 0;\n\n\t\t\t\t// Loop through all the selected options\n\t\t\t\tfor ( ; i < max; i++ ) {\n\t\t\t\t\toption = options[ i ];\n\n\t\t\t\t\t// IE6-9 doesn't update selected after form reset (#2551)\n\t\t\t\t\tif ( ( option.selected || i === index ) &&\n\t\t\t\t\t\t\t// Don't return options that are disabled or in a disabled optgroup\n\t\t\t\t\t\t\t( support.optDisabled ? !option.disabled : option.getAttribute( \"disabled\" ) === null ) &&\n\t\t\t\t\t\t\t( !option.parentNode.disabled || !jQuery.nodeName( option.parentNode, \"optgroup\" ) ) ) {\n\n\t\t\t\t\t\t// Get the specific value for the option\n\t\t\t\t\t\tvalue = jQuery( option ).val();\n\n\t\t\t\t\t\t// We don't need an array for one selects\n\t\t\t\t\t\tif ( one ) {\n\t\t\t\t\t\t\treturn value;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Multi-Selects return an array\n\t\t\t\t\t\tvalues.push( value );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn values;\n\t\t\t},\n\n\t\t\tset: function( elem, value ) {\n\t\t\t\tvar optionSet, option,\n\t\t\t\t\toptions = elem.options,\n\t\t\t\t\tvalues = jQuery.makeArray( value ),\n\t\t\t\t\ti = options.length;\n\n\t\t\t\twhile ( i-- ) {\n\t\t\t\t\toption = options[ i ];\n\t\t\t\t\tif ( (option.selected = jQuery.inArray( option.value, values ) >= 0) ) {\n\t\t\t\t\t\toptionSet = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// force browsers to behave consistently when non-matching value is set\n\t\t\t\tif ( !optionSet ) {\n\t\t\t\t\telem.selectedIndex = -1;\n\t\t\t\t}\n\t\t\t\treturn values;\n\t\t\t}\n\t\t}\n\t}\n});\n\n// Radios and checkboxes getter/setter\njQuery.each([ \"radio\", \"checkbox\" ], function() {\n\tjQuery.valHooks[ this ] = {\n\t\tset: function( elem, value ) {\n\t\t\tif ( jQuery.isArray( value ) ) {\n\t\t\t\treturn ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 );\n\t\t\t}\n\t\t}\n\t};\n\tif ( !support.checkOn ) {\n\t\tjQuery.valHooks[ this ].get = function( elem ) {\n\t\t\t// Support: Webkit\n\t\t\t// \"\" is returned instead of \"on\" if a value isn't specified\n\t\t\treturn elem.getAttribute(\"value\") === null ? \"on\" : elem.value;\n\t\t};\n\t}\n});\n\n\n\n\n// Return jQuery for attributes-only inclusion\n\n\njQuery.each( (\"blur focus focusin focusout load resize scroll unload click dblclick \" +\n\t\"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave \" +\n\t\"change select submit keydown keypress keyup error contextmenu\").split(\" \"), function( i, name ) {\n\n\t// Handle event binding\n\tjQuery.fn[ name ] = function( data, fn ) {\n\t\treturn arguments.length > 0 ?\n\t\t\tthis.on( name, null, data, fn ) :\n\t\t\tthis.trigger( name );\n\t};\n});\n\njQuery.fn.extend({\n\thover: function( fnOver, fnOut ) {\n\t\treturn this.mouseenter( fnOver ).mouseleave( fnOut || fnOver );\n\t},\n\n\tbind: function( types, data, fn ) {\n\t\treturn this.on( types, null, data, fn );\n\t},\n\tunbind: function( types, fn ) {\n\t\treturn this.off( types, null, fn );\n\t},\n\n\tdelegate: function( selector, types, data, fn ) {\n\t\treturn this.on( types, selector, data, fn );\n\t},\n\tundelegate: function( selector, types, fn ) {\n\t\t// ( namespace ) or ( selector, types [, fn] )\n\t\treturn arguments.length === 1 ? this.off( selector, \"**\" ) : this.off( types, selector || \"**\", fn );\n\t}\n});\n\n\nvar nonce = jQuery.now();\n\nvar rquery = (/\\?/);\n\n\n\n// Support: Android 2.3\n// Workaround failure to string-cast null input\njQuery.parseJSON = function( data ) {\n\treturn JSON.parse( data + \"\" );\n};\n\n\n// Cross-browser xml parsing\njQuery.parseXML = function( data ) {\n\tvar xml, tmp;\n\tif ( !data || typeof data !== \"string\" ) {\n\t\treturn null;\n\t}\n\n\t// Support: IE9\n\ttry {\n\t\ttmp = new DOMParser();\n\t\txml = tmp.parseFromString( data, \"text/xml\" );\n\t} catch ( e ) {\n\t\txml = undefined;\n\t}\n\n\tif ( !xml || xml.getElementsByTagName( \"parsererror\" ).length ) {\n\t\tjQuery.error( \"Invalid XML: \" + data );\n\t}\n\treturn xml;\n};\n\n\nvar\n\t// Document location\n\tajaxLocParts,\n\tajaxLocation,\n\n\trhash = /#.*$/,\n\trts = /([?&])_=[^&]*/,\n\trheaders = /^(.*?):[ \\t]*([^\\r\\n]*)$/mg,\n\t// #7653, #8125, #8152: local protocol detection\n\trlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,\n\trnoContent = /^(?:GET|HEAD)$/,\n\trprotocol = /^\\/\\//,\n\trurl = /^([\\w.+-]+:)(?:\\/\\/(?:[^\\/?#]*@|)([^\\/?#:]*)(?::(\\d+)|)|)/,\n\n\t/* Prefilters\n\t * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)\n\t * 2) These are called:\n\t *    - BEFORE asking for a transport\n\t *    - AFTER param serialization (s.data is a string if s.processData is true)\n\t * 3) key is the dataType\n\t * 4) the catchall symbol \"*\" can be used\n\t * 5) execution will start with transport dataType and THEN continue down to \"*\" if needed\n\t */\n\tprefilters = {},\n\n\t/* Transports bindings\n\t * 1) key is the dataType\n\t * 2) the catchall symbol \"*\" can be used\n\t * 3) selection will start with transport dataType and THEN go to \"*\" if needed\n\t */\n\ttransports = {},\n\n\t// Avoid comment-prolog char sequence (#10098); must appease lint and evade compression\n\tallTypes = \"*/\".concat(\"*\");\n\n// #8138, IE may throw an exception when accessing\n// a field from window.location if document.domain has been set\ntry {\n\tajaxLocation = location.href;\n} catch( e ) {\n\t// Use the href attribute of an A element\n\t// since IE will modify it given document.location\n\tajaxLocation = document.createElement( \"a\" );\n\tajaxLocation.href = \"\";\n\tajaxLocation = ajaxLocation.href;\n}\n\n// Segment location into parts\najaxLocParts = rurl.exec( ajaxLocation.toLowerCase() ) || [];\n\n// Base \"constructor\" for jQuery.ajaxPrefilter and jQuery.ajaxTransport\nfunction addToPrefiltersOrTransports( structure ) {\n\n\t// dataTypeExpression is optional and defaults to \"*\"\n\treturn function( dataTypeExpression, func ) {\n\n\t\tif ( typeof dataTypeExpression !== \"string\" ) {\n\t\t\tfunc = dataTypeExpression;\n\t\t\tdataTypeExpression = \"*\";\n\t\t}\n\n\t\tvar dataType,\n\t\t\ti = 0,\n\t\t\tdataTypes = dataTypeExpression.toLowerCase().match( rnotwhite ) || [];\n\n\t\tif ( jQuery.isFunction( func ) ) {\n\t\t\t// For each dataType in the dataTypeExpression\n\t\t\twhile ( (dataType = dataTypes[i++]) ) {\n\t\t\t\t// Prepend if requested\n\t\t\t\tif ( dataType[0] === \"+\" ) {\n\t\t\t\t\tdataType = dataType.slice( 1 ) || \"*\";\n\t\t\t\t\t(structure[ dataType ] = structure[ dataType ] || []).unshift( func );\n\n\t\t\t\t// Otherwise append\n\t\t\t\t} else {\n\t\t\t\t\t(structure[ dataType ] = structure[ dataType ] || []).push( func );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n}\n\n// Base inspection function for prefilters and transports\nfunction inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) {\n\n\tvar inspected = {},\n\t\tseekingTransport = ( structure === transports );\n\n\tfunction inspect( dataType ) {\n\t\tvar selected;\n\t\tinspected[ dataType ] = true;\n\t\tjQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) {\n\t\t\tvar dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR );\n\t\t\tif ( typeof dataTypeOrTransport === \"string\" && !seekingTransport && !inspected[ dataTypeOrTransport ] ) {\n\t\t\t\toptions.dataTypes.unshift( dataTypeOrTransport );\n\t\t\t\tinspect( dataTypeOrTransport );\n\t\t\t\treturn false;\n\t\t\t} else if ( seekingTransport ) {\n\t\t\t\treturn !( selected = dataTypeOrTransport );\n\t\t\t}\n\t\t});\n\t\treturn selected;\n\t}\n\n\treturn inspect( options.dataTypes[ 0 ] ) || !inspected[ \"*\" ] && inspect( \"*\" );\n}\n\n// A special extend for ajax options\n// that takes \"flat\" options (not to be deep extended)\n// Fixes #9887\nfunction ajaxExtend( target, src ) {\n\tvar key, deep,\n\t\tflatOptions = jQuery.ajaxSettings.flatOptions || {};\n\n\tfor ( key in src ) {\n\t\tif ( src[ key ] !== undefined ) {\n\t\t\t( flatOptions[ key ] ? target : ( deep || (deep = {}) ) )[ key ] = src[ key ];\n\t\t}\n\t}\n\tif ( deep ) {\n\t\tjQuery.extend( true, target, deep );\n\t}\n\n\treturn target;\n}\n\n/* Handles responses to an ajax request:\n * - finds the right dataType (mediates between content-type and expected dataType)\n * - returns the corresponding response\n */\nfunction ajaxHandleResponses( s, jqXHR, responses ) {\n\n\tvar ct, type, finalDataType, firstDataType,\n\t\tcontents = s.contents,\n\t\tdataTypes = s.dataTypes;\n\n\t// Remove auto dataType and get content-type in the process\n\twhile ( dataTypes[ 0 ] === \"*\" ) {\n\t\tdataTypes.shift();\n\t\tif ( ct === undefined ) {\n\t\t\tct = s.mimeType || jqXHR.getResponseHeader(\"Content-Type\");\n\t\t}\n\t}\n\n\t// Check if we're dealing with a known content-type\n\tif ( ct ) {\n\t\tfor ( type in contents ) {\n\t\t\tif ( contents[ type ] && contents[ type ].test( ct ) ) {\n\t\t\t\tdataTypes.unshift( type );\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Check to see if we have a response for the expected dataType\n\tif ( dataTypes[ 0 ] in responses ) {\n\t\tfinalDataType = dataTypes[ 0 ];\n\t} else {\n\t\t// Try convertible dataTypes\n\t\tfor ( type in responses ) {\n\t\t\tif ( !dataTypes[ 0 ] || s.converters[ type + \" \" + dataTypes[0] ] ) {\n\t\t\t\tfinalDataType = type;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif ( !firstDataType ) {\n\t\t\t\tfirstDataType = type;\n\t\t\t}\n\t\t}\n\t\t// Or just use first one\n\t\tfinalDataType = finalDataType || firstDataType;\n\t}\n\n\t// If we found a dataType\n\t// We add the dataType to the list if needed\n\t// and return the corresponding response\n\tif ( finalDataType ) {\n\t\tif ( finalDataType !== dataTypes[ 0 ] ) {\n\t\t\tdataTypes.unshift( finalDataType );\n\t\t}\n\t\treturn responses[ finalDataType ];\n\t}\n}\n\n/* Chain conversions given the request and the original response\n * Also sets the responseXXX fields on the jqXHR instance\n */\nfunction ajaxConvert( s, response, jqXHR, isSuccess ) {\n\tvar conv2, current, conv, tmp, prev,\n\t\tconverters = {},\n\t\t// Work with a copy of dataTypes in case we need to modify it for conversion\n\t\tdataTypes = s.dataTypes.slice();\n\n\t// Create converters map with lowercased keys\n\tif ( dataTypes[ 1 ] ) {\n\t\tfor ( conv in s.converters ) {\n\t\t\tconverters[ conv.toLowerCase() ] = s.converters[ conv ];\n\t\t}\n\t}\n\n\tcurrent = dataTypes.shift();\n\n\t// Convert to each sequential dataType\n\twhile ( current ) {\n\n\t\tif ( s.responseFields[ current ] ) {\n\t\t\tjqXHR[ s.responseFields[ current ] ] = response;\n\t\t}\n\n\t\t// Apply the dataFilter if provided\n\t\tif ( !prev && isSuccess && s.dataFilter ) {\n\t\t\tresponse = s.dataFilter( response, s.dataType );\n\t\t}\n\n\t\tprev = current;\n\t\tcurrent = dataTypes.shift();\n\n\t\tif ( current ) {\n\n\t\t// There's only work to do if current dataType is non-auto\n\t\t\tif ( current === \"*\" ) {\n\n\t\t\t\tcurrent = prev;\n\n\t\t\t// Convert response if prev dataType is non-auto and differs from current\n\t\t\t} else if ( prev !== \"*\" && prev !== current ) {\n\n\t\t\t\t// Seek a direct converter\n\t\t\t\tconv = converters[ prev + \" \" + current ] || converters[ \"* \" + current ];\n\n\t\t\t\t// If none found, seek a pair\n\t\t\t\tif ( !conv ) {\n\t\t\t\t\tfor ( conv2 in converters ) {\n\n\t\t\t\t\t\t// If conv2 outputs current\n\t\t\t\t\t\ttmp = conv2.split( \" \" );\n\t\t\t\t\t\tif ( tmp[ 1 ] === current ) {\n\n\t\t\t\t\t\t\t// If prev can be converted to accepted input\n\t\t\t\t\t\t\tconv = converters[ prev + \" \" + tmp[ 0 ] ] ||\n\t\t\t\t\t\t\t\tconverters[ \"* \" + tmp[ 0 ] ];\n\t\t\t\t\t\t\tif ( conv ) {\n\t\t\t\t\t\t\t\t// Condense equivalence converters\n\t\t\t\t\t\t\t\tif ( conv === true ) {\n\t\t\t\t\t\t\t\t\tconv = converters[ conv2 ];\n\n\t\t\t\t\t\t\t\t// Otherwise, insert the intermediate dataType\n\t\t\t\t\t\t\t\t} else if ( converters[ conv2 ] !== true ) {\n\t\t\t\t\t\t\t\t\tcurrent = tmp[ 0 ];\n\t\t\t\t\t\t\t\t\tdataTypes.unshift( tmp[ 1 ] );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Apply converter (if not an equivalence)\n\t\t\t\tif ( conv !== true ) {\n\n\t\t\t\t\t// Unless errors are allowed to bubble, catch and return them\n\t\t\t\t\tif ( conv && s[ \"throws\" ] ) {\n\t\t\t\t\t\tresponse = conv( response );\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tresponse = conv( response );\n\t\t\t\t\t\t} catch ( e ) {\n\t\t\t\t\t\t\treturn { state: \"parsererror\", error: conv ? e : \"No conversion from \" + prev + \" to \" + current };\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn { state: \"success\", data: response };\n}\n\njQuery.extend({\n\n\t// Counter for holding the number of active queries\n\tactive: 0,\n\n\t// Last-Modified header cache for next request\n\tlastModified: {},\n\tetag: {},\n\n\tajaxSettings: {\n\t\turl: ajaxLocation,\n\t\ttype: \"GET\",\n\t\tisLocal: rlocalProtocol.test( ajaxLocParts[ 1 ] ),\n\t\tglobal: true,\n\t\tprocessData: true,\n\t\tasync: true,\n\t\tcontentType: \"application/x-www-form-urlencoded; charset=UTF-8\",\n\t\t/*\n\t\ttimeout: 0,\n\t\tdata: null,\n\t\tdataType: null,\n\t\tusername: null,\n\t\tpassword: null,\n\t\tcache: null,\n\t\tthrows: false,\n\t\ttraditional: false,\n\t\theaders: {},\n\t\t*/\n\n\t\taccepts: {\n\t\t\t\"*\": allTypes,\n\t\t\ttext: \"text/plain\",\n\t\t\thtml: \"text/html\",\n\t\t\txml: \"application/xml, text/xml\",\n\t\t\tjson: \"application/json, text/javascript\"\n\t\t},\n\n\t\tcontents: {\n\t\t\txml: /xml/,\n\t\t\thtml: /html/,\n\t\t\tjson: /json/\n\t\t},\n\n\t\tresponseFields: {\n\t\t\txml: \"responseXML\",\n\t\t\ttext: \"responseText\",\n\t\t\tjson: \"responseJSON\"\n\t\t},\n\n\t\t// Data converters\n\t\t// Keys separate source (or catchall \"*\") and destination types with a single space\n\t\tconverters: {\n\n\t\t\t// Convert anything to text\n\t\t\t\"* text\": String,\n\n\t\t\t// Text to html (true = no transformation)\n\t\t\t\"text html\": true,\n\n\t\t\t// Evaluate text as a json expression\n\t\t\t\"text json\": jQuery.parseJSON,\n\n\t\t\t// Parse text as xml\n\t\t\t\"text xml\": jQuery.parseXML\n\t\t},\n\n\t\t// For options that shouldn't be deep extended:\n\t\t// you can add your own custom options here if\n\t\t// and when you create one that shouldn't be\n\t\t// deep extended (see ajaxExtend)\n\t\tflatOptions: {\n\t\t\turl: true,\n\t\t\tcontext: true\n\t\t}\n\t},\n\n\t// Creates a full fledged settings object into target\n\t// with both ajaxSettings and settings fields.\n\t// If target is omitted, writes into ajaxSettings.\n\tajaxSetup: function( target, settings ) {\n\t\treturn settings ?\n\n\t\t\t// Building a settings object\n\t\t\tajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) :\n\n\t\t\t// Extending ajaxSettings\n\t\t\tajaxExtend( jQuery.ajaxSettings, target );\n\t},\n\n\tajaxPrefilter: addToPrefiltersOrTransports( prefilters ),\n\tajaxTransport: addToPrefiltersOrTransports( transports ),\n\n\t// Main method\n\tajax: function( url, options ) {\n\n\t\t// If url is an object, simulate pre-1.5 signature\n\t\tif ( typeof url === \"object\" ) {\n\t\t\toptions = url;\n\t\t\turl = undefined;\n\t\t}\n\n\t\t// Force options to be an object\n\t\toptions = options || {};\n\n\t\tvar transport,\n\t\t\t// URL without anti-cache param\n\t\t\tcacheURL,\n\t\t\t// Response headers\n\t\t\tresponseHeadersString,\n\t\t\tresponseHeaders,\n\t\t\t// timeout handle\n\t\t\ttimeoutTimer,\n\t\t\t// Cross-domain detection vars\n\t\t\tparts,\n\t\t\t// To know if global events are to be dispatched\n\t\t\tfireGlobals,\n\t\t\t// Loop variable\n\t\t\ti,\n\t\t\t// Create the final options object\n\t\t\ts = jQuery.ajaxSetup( {}, options ),\n\t\t\t// Callbacks context\n\t\t\tcallbackContext = s.context || s,\n\t\t\t// Context for global events is callbackContext if it is a DOM node or jQuery collection\n\t\t\tglobalEventContext = s.context && ( callbackContext.nodeType || callbackContext.jquery ) ?\n\t\t\t\tjQuery( callbackContext ) :\n\t\t\t\tjQuery.event,\n\t\t\t// Deferreds\n\t\t\tdeferred = jQuery.Deferred(),\n\t\t\tcompleteDeferred = jQuery.Callbacks(\"once memory\"),\n\t\t\t// Status-dependent callbacks\n\t\t\tstatusCode = s.statusCode || {},\n\t\t\t// Headers (they are sent all at once)\n\t\t\trequestHeaders = {},\n\t\t\trequestHeadersNames = {},\n\t\t\t// The jqXHR state\n\t\t\tstate = 0,\n\t\t\t// Default abort message\n\t\t\tstrAbort = \"canceled\",\n\t\t\t// Fake xhr\n\t\t\tjqXHR = {\n\t\t\t\treadyState: 0,\n\n\t\t\t\t// Builds headers hashtable if needed\n\t\t\t\tgetResponseHeader: function( key ) {\n\t\t\t\t\tvar match;\n\t\t\t\t\tif ( state === 2 ) {\n\t\t\t\t\t\tif ( !responseHeaders ) {\n\t\t\t\t\t\t\tresponseHeaders = {};\n\t\t\t\t\t\t\twhile ( (match = rheaders.exec( responseHeadersString )) ) {\n\t\t\t\t\t\t\t\tresponseHeaders[ match[1].toLowerCase() ] = match[ 2 ];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tmatch = responseHeaders[ key.toLowerCase() ];\n\t\t\t\t\t}\n\t\t\t\t\treturn match == null ? null : match;\n\t\t\t\t},\n\n\t\t\t\t// Raw string\n\t\t\t\tgetAllResponseHeaders: function() {\n\t\t\t\t\treturn state === 2 ? responseHeadersString : null;\n\t\t\t\t},\n\n\t\t\t\t// Caches the header\n\t\t\t\tsetRequestHeader: function( name, value ) {\n\t\t\t\t\tvar lname = name.toLowerCase();\n\t\t\t\t\tif ( !state ) {\n\t\t\t\t\t\tname = requestHeadersNames[ lname ] = requestHeadersNames[ lname ] || name;\n\t\t\t\t\t\trequestHeaders[ name ] = value;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Overrides response content-type header\n\t\t\t\toverrideMimeType: function( type ) {\n\t\t\t\t\tif ( !state ) {\n\t\t\t\t\t\ts.mimeType = type;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Status-dependent callbacks\n\t\t\t\tstatusCode: function( map ) {\n\t\t\t\t\tvar code;\n\t\t\t\t\tif ( map ) {\n\t\t\t\t\t\tif ( state < 2 ) {\n\t\t\t\t\t\t\tfor ( code in map ) {\n\t\t\t\t\t\t\t\t// Lazy-add the new callback in a way that preserves old ones\n\t\t\t\t\t\t\t\tstatusCode[ code ] = [ statusCode[ code ], map[ code ] ];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// Execute the appropriate callbacks\n\t\t\t\t\t\t\tjqXHR.always( map[ jqXHR.status ] );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Cancel the request\n\t\t\t\tabort: function( statusText ) {\n\t\t\t\t\tvar finalText = statusText || strAbort;\n\t\t\t\t\tif ( transport ) {\n\t\t\t\t\t\ttransport.abort( finalText );\n\t\t\t\t\t}\n\t\t\t\t\tdone( 0, finalText );\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t};\n\n\t\t// Attach deferreds\n\t\tdeferred.promise( jqXHR ).complete = completeDeferred.add;\n\t\tjqXHR.success = jqXHR.done;\n\t\tjqXHR.error = jqXHR.fail;\n\n\t\t// Remove hash character (#7531: and string promotion)\n\t\t// Add protocol if not provided (prefilters might expect it)\n\t\t// Handle falsy url in the settings object (#10093: consistency with old signature)\n\t\t// We also use the url parameter if available\n\t\ts.url = ( ( url || s.url || ajaxLocation ) + \"\" ).replace( rhash, \"\" )\n\t\t\t.replace( rprotocol, ajaxLocParts[ 1 ] + \"//\" );\n\n\t\t// Alias method option to type as per ticket #12004\n\t\ts.type = options.method || options.type || s.method || s.type;\n\n\t\t// Extract dataTypes list\n\t\ts.dataTypes = jQuery.trim( s.dataType || \"*\" ).toLowerCase().match( rnotwhite ) || [ \"\" ];\n\n\t\t// A cross-domain request is in order when we have a protocol:host:port mismatch\n\t\tif ( s.crossDomain == null ) {\n\t\t\tparts = rurl.exec( s.url.toLowerCase() );\n\t\t\ts.crossDomain = !!( parts &&\n\t\t\t\t( parts[ 1 ] !== ajaxLocParts[ 1 ] || parts[ 2 ] !== ajaxLocParts[ 2 ] ||\n\t\t\t\t\t( parts[ 3 ] || ( parts[ 1 ] === \"http:\" ? \"80\" : \"443\" ) ) !==\n\t\t\t\t\t\t( ajaxLocParts[ 3 ] || ( ajaxLocParts[ 1 ] === \"http:\" ? \"80\" : \"443\" ) ) )\n\t\t\t);\n\t\t}\n\n\t\t// Convert data if not already a string\n\t\tif ( s.data && s.processData && typeof s.data !== \"string\" ) {\n\t\t\ts.data = jQuery.param( s.data, s.traditional );\n\t\t}\n\n\t\t// Apply prefilters\n\t\tinspectPrefiltersOrTransports( prefilters, s, options, jqXHR );\n\n\t\t// If request was aborted inside a prefilter, stop there\n\t\tif ( state === 2 ) {\n\t\t\treturn jqXHR;\n\t\t}\n\n\t\t// We can fire global events as of now if asked to\n\t\tfireGlobals = s.global;\n\n\t\t// Watch for a new set of requests\n\t\tif ( fireGlobals && jQuery.active++ === 0 ) {\n\t\t\tjQuery.event.trigger(\"ajaxStart\");\n\t\t}\n\n\t\t// Uppercase the type\n\t\ts.type = s.type.toUpperCase();\n\n\t\t// Determine if request has content\n\t\ts.hasContent = !rnoContent.test( s.type );\n\n\t\t// Save the URL in case we're toying with the If-Modified-Since\n\t\t// and/or If-None-Match header later on\n\t\tcacheURL = s.url;\n\n\t\t// More options handling for requests with no content\n\t\tif ( !s.hasContent ) {\n\n\t\t\t// If data is available, append data to url\n\t\t\tif ( s.data ) {\n\t\t\t\tcacheURL = ( s.url += ( rquery.test( cacheURL ) ? \"&\" : \"?\" ) + s.data );\n\t\t\t\t// #9682: remove data so that it's not used in an eventual retry\n\t\t\t\tdelete s.data;\n\t\t\t}\n\n\t\t\t// Add anti-cache in url if needed\n\t\t\tif ( s.cache === false ) {\n\t\t\t\ts.url = rts.test( cacheURL ) ?\n\n\t\t\t\t\t// If there is already a '_' parameter, set its value\n\t\t\t\t\tcacheURL.replace( rts, \"$1_=\" + nonce++ ) :\n\n\t\t\t\t\t// Otherwise add one to the end\n\t\t\t\t\tcacheURL + ( rquery.test( cacheURL ) ? \"&\" : \"?\" ) + \"_=\" + nonce++;\n\t\t\t}\n\t\t}\n\n\t\t// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n\t\tif ( s.ifModified ) {\n\t\t\tif ( jQuery.lastModified[ cacheURL ] ) {\n\t\t\t\tjqXHR.setRequestHeader( \"If-Modified-Since\", jQuery.lastModified[ cacheURL ] );\n\t\t\t}\n\t\t\tif ( jQuery.etag[ cacheURL ] ) {\n\t\t\t\tjqXHR.setRequestHeader( \"If-None-Match\", jQuery.etag[ cacheURL ] );\n\t\t\t}\n\t\t}\n\n\t\t// Set the correct header, if data is being sent\n\t\tif ( s.data && s.hasContent && s.contentType !== false || options.contentType ) {\n\t\t\tjqXHR.setRequestHeader( \"Content-Type\", s.contentType );\n\t\t}\n\n\t\t// Set the Accepts header for the server, depending on the dataType\n\t\tjqXHR.setRequestHeader(\n\t\t\t\"Accept\",\n\t\t\ts.dataTypes[ 0 ] && s.accepts[ s.dataTypes[0] ] ?\n\t\t\t\ts.accepts[ s.dataTypes[0] ] + ( s.dataTypes[ 0 ] !== \"*\" ? \", \" + allTypes + \"; q=0.01\" : \"\" ) :\n\t\t\t\ts.accepts[ \"*\" ]\n\t\t);\n\n\t\t// Check for headers option\n\t\tfor ( i in s.headers ) {\n\t\t\tjqXHR.setRequestHeader( i, s.headers[ i ] );\n\t\t}\n\n\t\t// Allow custom headers/mimetypes and early abort\n\t\tif ( s.beforeSend && ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || state === 2 ) ) {\n\t\t\t// Abort if not done already and return\n\t\t\treturn jqXHR.abort();\n\t\t}\n\n\t\t// aborting is no longer a cancellation\n\t\tstrAbort = \"abort\";\n\n\t\t// Install callbacks on deferreds\n\t\tfor ( i in { success: 1, error: 1, complete: 1 } ) {\n\t\t\tjqXHR[ i ]( s[ i ] );\n\t\t}\n\n\t\t// Get transport\n\t\ttransport = inspectPrefiltersOrTransports( transports, s, options, jqXHR );\n\n\t\t// If no transport, we auto-abort\n\t\tif ( !transport ) {\n\t\t\tdone( -1, \"No Transport\" );\n\t\t} else {\n\t\t\tjqXHR.readyState = 1;\n\n\t\t\t// Send global event\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( \"ajaxSend\", [ jqXHR, s ] );\n\t\t\t}\n\t\t\t// Timeout\n\t\t\tif ( s.async && s.timeout > 0 ) {\n\t\t\t\ttimeoutTimer = setTimeout(function() {\n\t\t\t\t\tjqXHR.abort(\"timeout\");\n\t\t\t\t}, s.timeout );\n\t\t\t}\n\n\t\t\ttry {\n\t\t\t\tstate = 1;\n\t\t\t\ttransport.send( requestHeaders, done );\n\t\t\t} catch ( e ) {\n\t\t\t\t// Propagate exception as error if not done\n\t\t\t\tif ( state < 2 ) {\n\t\t\t\t\tdone( -1, e );\n\t\t\t\t// Simply rethrow otherwise\n\t\t\t\t} else {\n\t\t\t\t\tthrow e;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Callback for when everything is done\n\t\tfunction done( status, nativeStatusText, responses, headers ) {\n\t\t\tvar isSuccess, success, error, response, modified,\n\t\t\t\tstatusText = nativeStatusText;\n\n\t\t\t// Called once\n\t\t\tif ( state === 2 ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// State is \"done\" now\n\t\t\tstate = 2;\n\n\t\t\t// Clear timeout if it exists\n\t\t\tif ( timeoutTimer ) {\n\t\t\t\tclearTimeout( timeoutTimer );\n\t\t\t}\n\n\t\t\t// Dereference transport for early garbage collection\n\t\t\t// (no matter how long the jqXHR object will be used)\n\t\t\ttransport = undefined;\n\n\t\t\t// Cache response headers\n\t\t\tresponseHeadersString = headers || \"\";\n\n\t\t\t// Set readyState\n\t\t\tjqXHR.readyState = status > 0 ? 4 : 0;\n\n\t\t\t// Determine if successful\n\t\t\tisSuccess = status >= 200 && status < 300 || status === 304;\n\n\t\t\t// Get response data\n\t\t\tif ( responses ) {\n\t\t\t\tresponse = ajaxHandleResponses( s, jqXHR, responses );\n\t\t\t}\n\n\t\t\t// Convert no matter what (that way responseXXX fields are always set)\n\t\t\tresponse = ajaxConvert( s, response, jqXHR, isSuccess );\n\n\t\t\t// If successful, handle type chaining\n\t\t\tif ( isSuccess ) {\n\n\t\t\t\t// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n\t\t\t\tif ( s.ifModified ) {\n\t\t\t\t\tmodified = jqXHR.getResponseHeader(\"Last-Modified\");\n\t\t\t\t\tif ( modified ) {\n\t\t\t\t\t\tjQuery.lastModified[ cacheURL ] = modified;\n\t\t\t\t\t}\n\t\t\t\t\tmodified = jqXHR.getResponseHeader(\"etag\");\n\t\t\t\t\tif ( modified ) {\n\t\t\t\t\t\tjQuery.etag[ cacheURL ] = modified;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// if no content\n\t\t\t\tif ( status === 204 || s.type === \"HEAD\" ) {\n\t\t\t\t\tstatusText = \"nocontent\";\n\n\t\t\t\t// if not modified\n\t\t\t\t} else if ( status === 304 ) {\n\t\t\t\t\tstatusText = \"notmodified\";\n\n\t\t\t\t// If we have data, let's convert it\n\t\t\t\t} else {\n\t\t\t\t\tstatusText = response.state;\n\t\t\t\t\tsuccess = response.data;\n\t\t\t\t\terror = response.error;\n\t\t\t\t\tisSuccess = !error;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// We extract error from statusText\n\t\t\t\t// then normalize statusText and status for non-aborts\n\t\t\t\terror = statusText;\n\t\t\t\tif ( status || !statusText ) {\n\t\t\t\t\tstatusText = \"error\";\n\t\t\t\t\tif ( status < 0 ) {\n\t\t\t\t\t\tstatus = 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Set data for the fake xhr object\n\t\t\tjqXHR.status = status;\n\t\t\tjqXHR.statusText = ( nativeStatusText || statusText ) + \"\";\n\n\t\t\t// Success/Error\n\t\t\tif ( isSuccess ) {\n\t\t\t\tdeferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );\n\t\t\t} else {\n\t\t\t\tdeferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] );\n\t\t\t}\n\n\t\t\t// Status-dependent callbacks\n\t\t\tjqXHR.statusCode( statusCode );\n\t\t\tstatusCode = undefined;\n\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( isSuccess ? \"ajaxSuccess\" : \"ajaxError\",\n\t\t\t\t\t[ jqXHR, s, isSuccess ? success : error ] );\n\t\t\t}\n\n\t\t\t// Complete\n\t\t\tcompleteDeferred.fireWith( callbackContext, [ jqXHR, statusText ] );\n\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( \"ajaxComplete\", [ jqXHR, s ] );\n\t\t\t\t// Handle the global AJAX counter\n\t\t\t\tif ( !( --jQuery.active ) ) {\n\t\t\t\t\tjQuery.event.trigger(\"ajaxStop\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn jqXHR;\n\t},\n\n\tgetJSON: function( url, data, callback ) {\n\t\treturn jQuery.get( url, data, callback, \"json\" );\n\t},\n\n\tgetScript: function( url, callback ) {\n\t\treturn jQuery.get( url, undefined, callback, \"script\" );\n\t}\n});\n\njQuery.each( [ \"get\", \"post\" ], function( i, method ) {\n\tjQuery[ method ] = function( url, data, callback, type ) {\n\t\t// shift arguments if data argument was omitted\n\t\tif ( jQuery.isFunction( data ) ) {\n\t\t\ttype = type || callback;\n\t\t\tcallback = data;\n\t\t\tdata = undefined;\n\t\t}\n\n\t\treturn jQuery.ajax({\n\t\t\turl: url,\n\t\t\ttype: method,\n\t\t\tdataType: type,\n\t\t\tdata: data,\n\t\t\tsuccess: callback\n\t\t});\n\t};\n});\n\n// Attach a bunch of functions for handling common AJAX events\njQuery.each( [ \"ajaxStart\", \"ajaxStop\", \"ajaxComplete\", \"ajaxError\", \"ajaxSuccess\", \"ajaxSend\" ], function( i, type ) {\n\tjQuery.fn[ type ] = function( fn ) {\n\t\treturn this.on( type, fn );\n\t};\n});\n\n\njQuery._evalUrl = function( url ) {\n\treturn jQuery.ajax({\n\t\turl: url,\n\t\ttype: \"GET\",\n\t\tdataType: \"script\",\n\t\tasync: false,\n\t\tglobal: false,\n\t\t\"throws\": true\n\t});\n};\n\n\njQuery.fn.extend({\n\twrapAll: function( html ) {\n\t\tvar wrap;\n\n\t\tif ( jQuery.isFunction( html ) ) {\n\t\t\treturn this.each(function( i ) {\n\t\t\t\tjQuery( this ).wrapAll( html.call(this, i) );\n\t\t\t});\n\t\t}\n\n\t\tif ( this[ 0 ] ) {\n\n\t\t\t// The elements to wrap the target around\n\t\t\twrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true );\n\n\t\t\tif ( this[ 0 ].parentNode ) {\n\t\t\t\twrap.insertBefore( this[ 0 ] );\n\t\t\t}\n\n\t\t\twrap.map(function() {\n\t\t\t\tvar elem = this;\n\n\t\t\t\twhile ( elem.firstElementChild ) {\n\t\t\t\t\telem = elem.firstElementChild;\n\t\t\t\t}\n\n\t\t\t\treturn elem;\n\t\t\t}).append( this );\n\t\t}\n\n\t\treturn this;\n\t},\n\n\twrapInner: function( html ) {\n\t\tif ( jQuery.isFunction( html ) ) {\n\t\t\treturn this.each(function( i ) {\n\t\t\t\tjQuery( this ).wrapInner( html.call(this, i) );\n\t\t\t});\n\t\t}\n\n\t\treturn this.each(function() {\n\t\t\tvar self = jQuery( this ),\n\t\t\t\tcontents = self.contents();\n\n\t\t\tif ( contents.length ) {\n\t\t\t\tcontents.wrapAll( html );\n\n\t\t\t} else {\n\t\t\t\tself.append( html );\n\t\t\t}\n\t\t});\n\t},\n\n\twrap: function( html ) {\n\t\tvar isFunction = jQuery.isFunction( html );\n\n\t\treturn this.each(function( i ) {\n\t\t\tjQuery( this ).wrapAll( isFunction ? html.call(this, i) : html );\n\t\t});\n\t},\n\n\tunwrap: function() {\n\t\treturn this.parent().each(function() {\n\t\t\tif ( !jQuery.nodeName( this, \"body\" ) ) {\n\t\t\t\tjQuery( this ).replaceWith( this.childNodes );\n\t\t\t}\n\t\t}).end();\n\t}\n});\n\n\njQuery.expr.filters.hidden = function( elem ) {\n\t// Support: Opera <= 12.12\n\t// Opera reports offsetWidths and offsetHeights less than zero on some elements\n\treturn elem.offsetWidth <= 0 && elem.offsetHeight <= 0;\n};\njQuery.expr.filters.visible = function( elem ) {\n\treturn !jQuery.expr.filters.hidden( elem );\n};\n\n\n\n\nvar r20 = /%20/g,\n\trbracket = /\\[\\]$/,\n\trCRLF = /\\r?\\n/g,\n\trsubmitterTypes = /^(?:submit|button|image|reset|file)$/i,\n\trsubmittable = /^(?:input|select|textarea|keygen)/i;\n\nfunction buildParams( prefix, obj, traditional, add ) {\n\tvar name;\n\n\tif ( jQuery.isArray( obj ) ) {\n\t\t// Serialize array item.\n\t\tjQuery.each( obj, function( i, v ) {\n\t\t\tif ( traditional || rbracket.test( prefix ) ) {\n\t\t\t\t// Treat each array item as a scalar.\n\t\t\t\tadd( prefix, v );\n\n\t\t\t} else {\n\t\t\t\t// Item is non-scalar (array or object), encode its numeric index.\n\t\t\t\tbuildParams( prefix + \"[\" + ( typeof v === \"object\" ? i : \"\" ) + \"]\", v, traditional, add );\n\t\t\t}\n\t\t});\n\n\t} else if ( !traditional && jQuery.type( obj ) === \"object\" ) {\n\t\t// Serialize object item.\n\t\tfor ( name in obj ) {\n\t\t\tbuildParams( prefix + \"[\" + name + \"]\", obj[ name ], traditional, add );\n\t\t}\n\n\t} else {\n\t\t// Serialize scalar item.\n\t\tadd( prefix, obj );\n\t}\n}\n\n// Serialize an array of form elements or a set of\n// key/values into a query string\njQuery.param = function( a, traditional ) {\n\tvar prefix,\n\t\ts = [],\n\t\tadd = function( key, value ) {\n\t\t\t// If value is a function, invoke it and return its value\n\t\t\tvalue = jQuery.isFunction( value ) ? value() : ( value == null ? \"\" : value );\n\t\t\ts[ s.length ] = encodeURIComponent( key ) + \"=\" + encodeURIComponent( value );\n\t\t};\n\n\t// Set traditional to true for jQuery <= 1.3.2 behavior.\n\tif ( traditional === undefined ) {\n\t\ttraditional = jQuery.ajaxSettings && jQuery.ajaxSettings.traditional;\n\t}\n\n\t// If an array was passed in, assume that it is an array of form elements.\n\tif ( jQuery.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) {\n\t\t// Serialize the form elements\n\t\tjQuery.each( a, function() {\n\t\t\tadd( this.name, this.value );\n\t\t});\n\n\t} else {\n\t\t// If traditional, encode the \"old\" way (the way 1.3.2 or older\n\t\t// did it), otherwise encode params recursively.\n\t\tfor ( prefix in a ) {\n\t\t\tbuildParams( prefix, a[ prefix ], traditional, add );\n\t\t}\n\t}\n\n\t// Return the resulting serialization\n\treturn s.join( \"&\" ).replace( r20, \"+\" );\n};\n\njQuery.fn.extend({\n\tserialize: function() {\n\t\treturn jQuery.param( this.serializeArray() );\n\t},\n\tserializeArray: function() {\n\t\treturn this.map(function() {\n\t\t\t// Can add propHook for \"elements\" to filter or add form elements\n\t\t\tvar elements = jQuery.prop( this, \"elements\" );\n\t\t\treturn elements ? jQuery.makeArray( elements ) : this;\n\t\t})\n\t\t.filter(function() {\n\t\t\tvar type = this.type;\n\n\t\t\t// Use .is( \":disabled\" ) so that fieldset[disabled] works\n\t\t\treturn this.name && !jQuery( this ).is( \":disabled\" ) &&\n\t\t\t\trsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) &&\n\t\t\t\t( this.checked || !rcheckableType.test( type ) );\n\t\t})\n\t\t.map(function( i, elem ) {\n\t\t\tvar val = jQuery( this ).val();\n\n\t\t\treturn val == null ?\n\t\t\t\tnull :\n\t\t\t\tjQuery.isArray( val ) ?\n\t\t\t\t\tjQuery.map( val, function( val ) {\n\t\t\t\t\t\treturn { name: elem.name, value: val.replace( rCRLF, \"\\r\\n\" ) };\n\t\t\t\t\t}) :\n\t\t\t\t\t{ name: elem.name, value: val.replace( rCRLF, \"\\r\\n\" ) };\n\t\t}).get();\n\t}\n});\n\n\njQuery.ajaxSettings.xhr = function() {\n\ttry {\n\t\treturn new XMLHttpRequest();\n\t} catch( e ) {}\n};\n\nvar xhrId = 0,\n\txhrCallbacks = {},\n\txhrSuccessStatus = {\n\t\t// file protocol always yields status code 0, assume 200\n\t\t0: 200,\n\t\t// Support: IE9\n\t\t// #1450: sometimes IE returns 1223 when it should be 204\n\t\t1223: 204\n\t},\n\txhrSupported = jQuery.ajaxSettings.xhr();\n\n// Support: IE9\n// Open requests must be manually aborted on unload (#5280)\nif ( window.ActiveXObject ) {\n\tjQuery( window ).on( \"unload\", function() {\n\t\tfor ( var key in xhrCallbacks ) {\n\t\t\txhrCallbacks[ key ]();\n\t\t}\n\t});\n}\n\nsupport.cors = !!xhrSupported && ( \"withCredentials\" in xhrSupported );\nsupport.ajax = xhrSupported = !!xhrSupported;\n\njQuery.ajaxTransport(function( options ) {\n\tvar callback;\n\n\t// Cross domain only allowed if supported through XMLHttpRequest\n\tif ( support.cors || xhrSupported && !options.crossDomain ) {\n\t\treturn {\n\t\t\tsend: function( headers, complete ) {\n\t\t\t\tvar i,\n\t\t\t\t\txhr = options.xhr(),\n\t\t\t\t\tid = ++xhrId;\n\n\t\t\t\txhr.open( options.type, options.url, options.async, options.username, options.password );\n\n\t\t\t\t// Apply custom fields if provided\n\t\t\t\tif ( options.xhrFields ) {\n\t\t\t\t\tfor ( i in options.xhrFields ) {\n\t\t\t\t\t\txhr[ i ] = options.xhrFields[ i ];\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Override mime type if needed\n\t\t\t\tif ( options.mimeType && xhr.overrideMimeType ) {\n\t\t\t\t\txhr.overrideMimeType( options.mimeType );\n\t\t\t\t}\n\n\t\t\t\t// X-Requested-With header\n\t\t\t\t// For cross-domain requests, seeing as conditions for a preflight are\n\t\t\t\t// akin to a jigsaw puzzle, we simply never set it to be sure.\n\t\t\t\t// (it can always be set on a per-request basis or even using ajaxSetup)\n\t\t\t\t// For same-domain requests, won't change header if already provided.\n\t\t\t\tif ( !options.crossDomain && !headers[\"X-Requested-With\"] ) {\n\t\t\t\t\theaders[\"X-Requested-With\"] = \"XMLHttpRequest\";\n\t\t\t\t}\n\n\t\t\t\t// Set headers\n\t\t\t\tfor ( i in headers ) {\n\t\t\t\t\txhr.setRequestHeader( i, headers[ i ] );\n\t\t\t\t}\n\n\t\t\t\t// Callback\n\t\t\t\tcallback = function( type ) {\n\t\t\t\t\treturn function() {\n\t\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\t\tdelete xhrCallbacks[ id ];\n\t\t\t\t\t\t\tcallback = xhr.onload = xhr.onerror = null;\n\n\t\t\t\t\t\t\tif ( type === \"abort\" ) {\n\t\t\t\t\t\t\t\txhr.abort();\n\t\t\t\t\t\t\t} else if ( type === \"error\" ) {\n\t\t\t\t\t\t\t\tcomplete(\n\t\t\t\t\t\t\t\t\t// file: protocol always yields status 0; see #8605, #14207\n\t\t\t\t\t\t\t\t\txhr.status,\n\t\t\t\t\t\t\t\t\txhr.statusText\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tcomplete(\n\t\t\t\t\t\t\t\t\txhrSuccessStatus[ xhr.status ] || xhr.status,\n\t\t\t\t\t\t\t\t\txhr.statusText,\n\t\t\t\t\t\t\t\t\t// Support: IE9\n\t\t\t\t\t\t\t\t\t// Accessing binary-data responseText throws an exception\n\t\t\t\t\t\t\t\t\t// (#11426)\n\t\t\t\t\t\t\t\t\ttypeof xhr.responseText === \"string\" ? {\n\t\t\t\t\t\t\t\t\t\ttext: xhr.responseText\n\t\t\t\t\t\t\t\t\t} : undefined,\n\t\t\t\t\t\t\t\t\txhr.getAllResponseHeaders()\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t};\n\n\t\t\t\t// Listen to events\n\t\t\t\txhr.onload = callback();\n\t\t\t\txhr.onerror = callback(\"error\");\n\n\t\t\t\t// Create the abort callback\n\t\t\t\tcallback = xhrCallbacks[ id ] = callback(\"abort\");\n\n\t\t\t\ttry {\n\t\t\t\t\t// Do send the request (this may raise an exception)\n\t\t\t\t\txhr.send( options.hasContent && options.data || null );\n\t\t\t\t} catch ( e ) {\n\t\t\t\t\t// #14683: Only rethrow if this hasn't been notified as an error yet\n\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\tthrow e;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tabort: function() {\n\t\t\t\tif ( callback ) {\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}\n});\n\n\n\n\n// Install script dataType\njQuery.ajaxSetup({\n\taccepts: {\n\t\tscript: \"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript\"\n\t},\n\tcontents: {\n\t\tscript: /(?:java|ecma)script/\n\t},\n\tconverters: {\n\t\t\"text script\": function( text ) {\n\t\t\tjQuery.globalEval( text );\n\t\t\treturn text;\n\t\t}\n\t}\n});\n\n// Handle cache's special case and crossDomain\njQuery.ajaxPrefilter( \"script\", function( s ) {\n\tif ( s.cache === undefined ) {\n\t\ts.cache = false;\n\t}\n\tif ( s.crossDomain ) {\n\t\ts.type = \"GET\";\n\t}\n});\n\n// Bind script tag hack transport\njQuery.ajaxTransport( \"script\", function( s ) {\n\t// This transport only deals with cross domain requests\n\tif ( s.crossDomain ) {\n\t\tvar script, callback;\n\t\treturn {\n\t\t\tsend: function( _, complete ) {\n\t\t\t\tscript = jQuery(\"<script>\").prop({\n\t\t\t\t\tasync: true,\n\t\t\t\t\tcharset: s.scriptCharset,\n\t\t\t\t\tsrc: s.url\n\t\t\t\t}).on(\n\t\t\t\t\t\"load error\",\n\t\t\t\t\tcallback = function( evt ) {\n\t\t\t\t\t\tscript.remove();\n\t\t\t\t\t\tcallback = null;\n\t\t\t\t\t\tif ( evt ) {\n\t\t\t\t\t\t\tcomplete( evt.type === \"error\" ? 404 : 200, evt.type );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tdocument.head.appendChild( script[ 0 ] );\n\t\t\t},\n\t\t\tabort: function() {\n\t\t\t\tif ( callback ) {\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}\n});\n\n\n\n\nvar oldCallbacks = [],\n\trjsonp = /(=)\\?(?=&|$)|\\?\\?/;\n\n// Default jsonp settings\njQuery.ajaxSetup({\n\tjsonp: \"callback\",\n\tjsonpCallback: function() {\n\t\tvar callback = oldCallbacks.pop() || ( jQuery.expando + \"_\" + ( nonce++ ) );\n\t\tthis[ callback ] = true;\n\t\treturn callback;\n\t}\n});\n\n// Detect, normalize options and install callbacks for jsonp requests\njQuery.ajaxPrefilter( \"json jsonp\", function( s, originalSettings, jqXHR ) {\n\n\tvar callbackName, overwritten, responseContainer,\n\t\tjsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ?\n\t\t\t\"url\" :\n\t\t\ttypeof s.data === \"string\" && !( s.contentType || \"\" ).indexOf(\"application/x-www-form-urlencoded\") && rjsonp.test( s.data ) && \"data\"\n\t\t);\n\n\t// Handle iff the expected data type is \"jsonp\" or we have a parameter to set\n\tif ( jsonProp || s.dataTypes[ 0 ] === \"jsonp\" ) {\n\n\t\t// Get callback name, remembering preexisting value associated with it\n\t\tcallbackName = s.jsonpCallback = jQuery.isFunction( s.jsonpCallback ) ?\n\t\t\ts.jsonpCallback() :\n\t\t\ts.jsonpCallback;\n\n\t\t// Insert callback into url or form data\n\t\tif ( jsonProp ) {\n\t\t\ts[ jsonProp ] = s[ jsonProp ].replace( rjsonp, \"$1\" + callbackName );\n\t\t} else if ( s.jsonp !== false ) {\n\t\t\ts.url += ( rquery.test( s.url ) ? \"&\" : \"?\" ) + s.jsonp + \"=\" + callbackName;\n\t\t}\n\n\t\t// Use data converter to retrieve json after script execution\n\t\ts.converters[\"script json\"] = function() {\n\t\t\tif ( !responseContainer ) {\n\t\t\t\tjQuery.error( callbackName + \" was not called\" );\n\t\t\t}\n\t\t\treturn responseContainer[ 0 ];\n\t\t};\n\n\t\t// force json dataType\n\t\ts.dataTypes[ 0 ] = \"json\";\n\n\t\t// Install callback\n\t\toverwritten = window[ callbackName ];\n\t\twindow[ callbackName ] = function() {\n\t\t\tresponseContainer = arguments;\n\t\t};\n\n\t\t// Clean-up function (fires after converters)\n\t\tjqXHR.always(function() {\n\t\t\t// Restore preexisting value\n\t\t\twindow[ callbackName ] = overwritten;\n\n\t\t\t// Save back as free\n\t\t\tif ( s[ callbackName ] ) {\n\t\t\t\t// make sure that re-using the options doesn't screw things around\n\t\t\t\ts.jsonpCallback = originalSettings.jsonpCallback;\n\n\t\t\t\t// save the callback name for future use\n\t\t\t\toldCallbacks.push( callbackName );\n\t\t\t}\n\n\t\t\t// Call if it was a function and we have a response\n\t\t\tif ( responseContainer && jQuery.isFunction( overwritten ) ) {\n\t\t\t\toverwritten( responseContainer[ 0 ] );\n\t\t\t}\n\n\t\t\tresponseContainer = overwritten = undefined;\n\t\t});\n\n\t\t// Delegate to script\n\t\treturn \"script\";\n\t}\n});\n\n\n\n\n// data: string of html\n// context (optional): If specified, the fragment will be created in this context, defaults to document\n// keepScripts (optional): If true, will include scripts passed in the html string\njQuery.parseHTML = function( data, context, keepScripts ) {\n\tif ( !data || typeof data !== \"string\" ) {\n\t\treturn null;\n\t}\n\tif ( typeof context === \"boolean\" ) {\n\t\tkeepScripts = context;\n\t\tcontext = false;\n\t}\n\tcontext = context || document;\n\n\tvar parsed = rsingleTag.exec( data ),\n\t\tscripts = !keepScripts && [];\n\n\t// Single tag\n\tif ( parsed ) {\n\t\treturn [ context.createElement( parsed[1] ) ];\n\t}\n\n\tparsed = jQuery.buildFragment( [ data ], context, scripts );\n\n\tif ( scripts && scripts.length ) {\n\t\tjQuery( scripts ).remove();\n\t}\n\n\treturn jQuery.merge( [], parsed.childNodes );\n};\n\n\n// Keep a copy of the old load method\nvar _load = jQuery.fn.load;\n\n/**\n * Load a url into a page\n */\njQuery.fn.load = function( url, params, callback ) {\n\tif ( typeof url !== \"string\" && _load ) {\n\t\treturn _load.apply( this, arguments );\n\t}\n\n\tvar selector, type, response,\n\t\tself = this,\n\t\toff = url.indexOf(\" \");\n\n\tif ( off >= 0 ) {\n\t\tselector = jQuery.trim( url.slice( off ) );\n\t\turl = url.slice( 0, off );\n\t}\n\n\t// If it's a function\n\tif ( jQuery.isFunction( params ) ) {\n\n\t\t// We assume that it's the callback\n\t\tcallback = params;\n\t\tparams = undefined;\n\n\t// Otherwise, build a param string\n\t} else if ( params && typeof params === \"object\" ) {\n\t\ttype = \"POST\";\n\t}\n\n\t// If we have elements to modify, make the request\n\tif ( self.length > 0 ) {\n\t\tjQuery.ajax({\n\t\t\turl: url,\n\n\t\t\t// if \"type\" variable is undefined, then \"GET\" method will be used\n\t\t\ttype: type,\n\t\t\tdataType: \"html\",\n\t\t\tdata: params\n\t\t}).done(function( responseText ) {\n\n\t\t\t// Save response for use in complete callback\n\t\t\tresponse = arguments;\n\n\t\t\tself.html( selector ?\n\n\t\t\t\t// If a selector was specified, locate the right elements in a dummy div\n\t\t\t\t// Exclude scripts to avoid IE 'Permission Denied' errors\n\t\t\t\tjQuery(\"<div>\").append( jQuery.parseHTML( responseText ) ).find( selector ) :\n\n\t\t\t\t// Otherwise use the full result\n\t\t\t\tresponseText );\n\n\t\t}).complete( callback && function( jqXHR, status ) {\n\t\t\tself.each( callback, response || [ jqXHR.responseText, status, jqXHR ] );\n\t\t});\n\t}\n\n\treturn this;\n};\n\n\n\n\njQuery.expr.filters.animated = function( elem ) {\n\treturn jQuery.grep(jQuery.timers, function( fn ) {\n\t\treturn elem === fn.elem;\n\t}).length;\n};\n\n\n\n\nvar docElem = window.document.documentElement;\n\n/**\n * Gets a window from an element\n */\nfunction getWindow( elem ) {\n\treturn jQuery.isWindow( elem ) ? elem : elem.nodeType === 9 && elem.defaultView;\n}\n\njQuery.offset = {\n\tsetOffset: function( elem, options, i ) {\n\t\tvar curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition,\n\t\t\tposition = jQuery.css( elem, \"position\" ),\n\t\t\tcurElem = jQuery( elem ),\n\t\t\tprops = {};\n\n\t\t// Set position first, in-case top/left are set even on static elem\n\t\tif ( position === \"static\" ) {\n\t\t\telem.style.position = \"relative\";\n\t\t}\n\n\t\tcurOffset = curElem.offset();\n\t\tcurCSSTop = jQuery.css( elem, \"top\" );\n\t\tcurCSSLeft = jQuery.css( elem, \"left\" );\n\t\tcalculatePosition = ( position === \"absolute\" || position === \"fixed\" ) &&\n\t\t\t( curCSSTop + curCSSLeft ).indexOf(\"auto\") > -1;\n\n\t\t// Need to be able to calculate position if either top or left is auto and position is either absolute or fixed\n\t\tif ( calculatePosition ) {\n\t\t\tcurPosition = curElem.position();\n\t\t\tcurTop = curPosition.top;\n\t\t\tcurLeft = curPosition.left;\n\n\t\t} else {\n\t\t\tcurTop = parseFloat( curCSSTop ) || 0;\n\t\t\tcurLeft = parseFloat( curCSSLeft ) || 0;\n\t\t}\n\n\t\tif ( jQuery.isFunction( options ) ) {\n\t\t\toptions = options.call( elem, i, curOffset );\n\t\t}\n\n\t\tif ( options.top != null ) {\n\t\t\tprops.top = ( options.top - curOffset.top ) + curTop;\n\t\t}\n\t\tif ( options.left != null ) {\n\t\t\tprops.left = ( options.left - curOffset.left ) + curLeft;\n\t\t}\n\n\t\tif ( \"using\" in options ) {\n\t\t\toptions.using.call( elem, props );\n\n\t\t} else {\n\t\t\tcurElem.css( props );\n\t\t}\n\t}\n};\n\njQuery.fn.extend({\n\toffset: function( options ) {\n\t\tif ( arguments.length ) {\n\t\t\treturn options === undefined ?\n\t\t\t\tthis :\n\t\t\t\tthis.each(function( i ) {\n\t\t\t\t\tjQuery.offset.setOffset( this, options, i );\n\t\t\t\t});\n\t\t}\n\n\t\tvar docElem, win,\n\t\t\telem = this[ 0 ],\n\t\t\tbox = { top: 0, left: 0 },\n\t\t\tdoc = elem && elem.ownerDocument;\n\n\t\tif ( !doc ) {\n\t\t\treturn;\n\t\t}\n\n\t\tdocElem = doc.documentElement;\n\n\t\t// Make sure it's not a disconnected DOM node\n\t\tif ( !jQuery.contains( docElem, elem ) ) {\n\t\t\treturn box;\n\t\t}\n\n\t\t// If we don't have gBCR, just use 0,0 rather than error\n\t\t// BlackBerry 5, iOS 3 (original iPhone)\n\t\tif ( typeof elem.getBoundingClientRect !== strundefined ) {\n\t\t\tbox = elem.getBoundingClientRect();\n\t\t}\n\t\twin = getWindow( doc );\n\t\treturn {\n\t\t\ttop: box.top + win.pageYOffset - docElem.clientTop,\n\t\t\tleft: box.left + win.pageXOffset - docElem.clientLeft\n\t\t};\n\t},\n\n\tposition: function() {\n\t\tif ( !this[ 0 ] ) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar offsetParent, offset,\n\t\t\telem = this[ 0 ],\n\t\t\tparentOffset = { top: 0, left: 0 };\n\n\t\t// Fixed elements are offset from window (parentOffset = {top:0, left: 0}, because it is its only offset parent\n\t\tif ( jQuery.css( elem, \"position\" ) === \"fixed\" ) {\n\t\t\t// We assume that getBoundingClientRect is available when computed position is fixed\n\t\t\toffset = elem.getBoundingClientRect();\n\n\t\t} else {\n\t\t\t// Get *real* offsetParent\n\t\t\toffsetParent = this.offsetParent();\n\n\t\t\t// Get correct offsets\n\t\t\toffset = this.offset();\n\t\t\tif ( !jQuery.nodeName( offsetParent[ 0 ], \"html\" ) ) {\n\t\t\t\tparentOffset = offsetParent.offset();\n\t\t\t}\n\n\t\t\t// Add offsetParent borders\n\t\t\tparentOffset.top += jQuery.css( offsetParent[ 0 ], \"borderTopWidth\", true );\n\t\t\tparentOffset.left += jQuery.css( offsetParent[ 0 ], \"borderLeftWidth\", true );\n\t\t}\n\n\t\t// Subtract parent offsets and element margins\n\t\treturn {\n\t\t\ttop: offset.top - parentOffset.top - jQuery.css( elem, \"marginTop\", true ),\n\t\t\tleft: offset.left - parentOffset.left - jQuery.css( elem, \"marginLeft\", true )\n\t\t};\n\t},\n\n\toffsetParent: function() {\n\t\treturn this.map(function() {\n\t\t\tvar offsetParent = this.offsetParent || docElem;\n\n\t\t\twhile ( offsetParent && ( !jQuery.nodeName( offsetParent, \"html\" ) && jQuery.css( offsetParent, \"position\" ) === \"static\" ) ) {\n\t\t\t\toffsetParent = offsetParent.offsetParent;\n\t\t\t}\n\n\t\t\treturn offsetParent || docElem;\n\t\t});\n\t}\n});\n\n// Create scrollLeft and scrollTop methods\njQuery.each( { scrollLeft: \"pageXOffset\", scrollTop: \"pageYOffset\" }, function( method, prop ) {\n\tvar top = \"pageYOffset\" === prop;\n\n\tjQuery.fn[ method ] = function( val ) {\n\t\treturn access( this, function( elem, method, val ) {\n\t\t\tvar win = getWindow( elem );\n\n\t\t\tif ( val === undefined ) {\n\t\t\t\treturn win ? win[ prop ] : elem[ method ];\n\t\t\t}\n\n\t\t\tif ( win ) {\n\t\t\t\twin.scrollTo(\n\t\t\t\t\t!top ? val : window.pageXOffset,\n\t\t\t\t\ttop ? val : window.pageYOffset\n\t\t\t\t);\n\n\t\t\t} else {\n\t\t\t\telem[ method ] = val;\n\t\t\t}\n\t\t}, method, val, arguments.length, null );\n\t};\n});\n\n// Add the top/left cssHooks using jQuery.fn.position\n// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084\n// getComputedStyle returns percent when specified for top/left/bottom/right\n// rather than make the css module depend on the offset module, we just check for it here\njQuery.each( [ \"top\", \"left\" ], function( i, prop ) {\n\tjQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition,\n\t\tfunction( elem, computed ) {\n\t\t\tif ( computed ) {\n\t\t\t\tcomputed = curCSS( elem, prop );\n\t\t\t\t// if curCSS returns percentage, fallback to offset\n\t\t\t\treturn rnumnonpx.test( computed ) ?\n\t\t\t\t\tjQuery( elem ).position()[ prop ] + \"px\" :\n\t\t\t\t\tcomputed;\n\t\t\t}\n\t\t}\n\t);\n});\n\n\n// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods\njQuery.each( { Height: \"height\", Width: \"width\" }, function( name, type ) {\n\tjQuery.each( { padding: \"inner\" + name, content: type, \"\": \"outer\" + name }, function( defaultExtra, funcName ) {\n\t\t// margin is only for outerHeight, outerWidth\n\t\tjQuery.fn[ funcName ] = function( margin, value ) {\n\t\t\tvar chainable = arguments.length && ( defaultExtra || typeof margin !== \"boolean\" ),\n\t\t\t\textra = defaultExtra || ( margin === true || value === true ? \"margin\" : \"border\" );\n\n\t\t\treturn access( this, function( elem, type, value ) {\n\t\t\t\tvar doc;\n\n\t\t\t\tif ( jQuery.isWindow( elem ) ) {\n\t\t\t\t\t// As of 5/8/2012 this will yield incorrect results for Mobile Safari, but there\n\t\t\t\t\t// isn't a whole lot we can do. See pull request at this URL for discussion:\n\t\t\t\t\t// https://github.com/jquery/jquery/pull/764\n\t\t\t\t\treturn elem.document.documentElement[ \"client\" + name ];\n\t\t\t\t}\n\n\t\t\t\t// Get document width or height\n\t\t\t\tif ( elem.nodeType === 9 ) {\n\t\t\t\t\tdoc = elem.documentElement;\n\n\t\t\t\t\t// Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height],\n\t\t\t\t\t// whichever is greatest\n\t\t\t\t\treturn Math.max(\n\t\t\t\t\t\telem.body[ \"scroll\" + name ], doc[ \"scroll\" + name ],\n\t\t\t\t\t\telem.body[ \"offset\" + name ], doc[ \"offset\" + name ],\n\t\t\t\t\t\tdoc[ \"client\" + name ]\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\treturn value === undefined ?\n\t\t\t\t\t// Get width or height on the element, requesting but not forcing parseFloat\n\t\t\t\t\tjQuery.css( elem, type, extra ) :\n\n\t\t\t\t\t// Set width or height on the element\n\t\t\t\t\tjQuery.style( elem, type, value, extra );\n\t\t\t}, type, chainable ? margin : undefined, chainable, null );\n\t\t};\n\t});\n});\n\n\n// The number of elements contained in the matched element set\njQuery.fn.size = function() {\n\treturn this.length;\n};\n\njQuery.fn.andSelf = jQuery.fn.addBack;\n\n\n\n\n// Register as a named AMD module, since jQuery can be concatenated with other\n// files that may use define, but not via a proper concatenation script that\n// understands anonymous AMD modules. A named AMD is safest and most robust\n// way to register. Lowercase jquery is used because AMD module names are\n// derived from file names, and jQuery is normally delivered in a lowercase\n// file name. Do this after creating the global so that if an AMD module wants\n// to call noConflict to hide this version of jQuery, it will work.\n\n// Note that for maximum portability, libraries that are not jQuery should\n// declare themselves as anonymous modules, and avoid setting a global if an\n// AMD loader is present. jQuery is a special case. For more information, see\n// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon\n\nif ( typeof define === \"function\" && define.amd ) {\n\tdefine( \"jquery\", [], function() {\n\t\treturn jQuery;\n\t});\n}\n\n\n\n\nvar\n\t// Map over jQuery in case of overwrite\n\t_jQuery = window.jQuery,\n\n\t// Map over the $ in case of overwrite\n\t_$ = window.$;\n\njQuery.noConflict = function( deep ) {\n\tif ( window.$ === jQuery ) {\n\t\twindow.$ = _$;\n\t}\n\n\tif ( deep && window.jQuery === jQuery ) {\n\t\twindow.jQuery = _jQuery;\n\t}\n\n\treturn jQuery;\n};\n\n// Expose jQuery and $ identifiers, even in\n// AMD (#7102#comment:10, https://github.com/jquery/jquery/pull/557)\n// and CommonJS for browser emulators (#13566)\nif ( typeof noGlobal === strundefined ) {\n\twindow.jQuery = window.$ = jQuery;\n}\n\n\n\n\nreturn jQuery;\n\n}));\n\n/**\n * @license AngularJS v1.4.8\n * (c) 2010-2015 Google, Inc. http://angularjs.org\n * License: MIT\n */\n(function(window, document){\n  var _jQuery = window.jQuery.noConflict(true);\n\n/**\n * @description\n *\n * This object provides a utility for producing rich Error messages within\n * Angular. It can be called as follows:\n *\n * var exampleMinErr = minErr('example');\n * throw exampleMinErr('one', 'This {0} is {1}', foo, bar);\n *\n * The above creates an instance of minErr in the example namespace. The\n * resulting error will have a namespaced error code of example.one.  The\n * resulting error will replace {0} with the value of foo, and {1} with the\n * value of bar. The object is not restricted in the number of arguments it can\n * take.\n *\n * If fewer arguments are specified than necessary for interpolation, the extra\n * interpolation markers will be preserved in the final string.\n *\n * Since data will be parsed statically during a build step, some restrictions\n * are applied with respect to how minErr instances are created and called.\n * Instances should have names of the form namespaceMinErr for a minErr created\n * using minErr('namespace') . Error codes, namespaces and template strings\n * should all be static strings, not variables or general expressions.\n *\n * @param {string} module The namespace to use for the new minErr instance.\n * @param {function} ErrorConstructor Custom error constructor to be instantiated when returning\n *   error from returned function, for cases when a particular type of error is useful.\n * @returns {function(code:string, template:string, ...templateArgs): Error} minErr instance\n */\n\nfunction minErr(module, ErrorConstructor) {\n  ErrorConstructor = ErrorConstructor || Error;\n  return function() {\n    var SKIP_INDEXES = 2;\n\n    var templateArgs = arguments,\n      code = templateArgs[0],\n      message = '[' + (module ? module + ':' : '') + code + '] ',\n      template = templateArgs[1],\n      paramPrefix, i;\n\n    message += template.replace(/\\{\\d+\\}/g, function(match) {\n      var index = +match.slice(1, -1),\n        shiftedIndex = index + SKIP_INDEXES;\n\n      if (shiftedIndex < templateArgs.length) {\n        return toDebugString(templateArgs[shiftedIndex]);\n      }\n\n      return match;\n    });\n\n    message += '\\nhttp://errors.angularjs.org/1.4.8/' +\n      (module ? module + '/' : '') + code;\n\n    for (i = SKIP_INDEXES, paramPrefix = '?'; i < templateArgs.length; i++, paramPrefix = '&') {\n      message += paramPrefix + 'p' + (i - SKIP_INDEXES) + '=' +\n        encodeURIComponent(toDebugString(templateArgs[i]));\n    }\n\n    return new ErrorConstructor(message);\n  };\n}\n\n/* We need to tell jshint what variables are being exported */\n/* global angular: true,\n  msie: true,\n  jqLite: true,\n  jQuery: true,\n  slice: true,\n  splice: true,\n  push: true,\n  toString: true,\n  ngMinErr: true,\n  angularModule: true,\n  uid: true,\n  REGEX_STRING_REGEXP: true,\n  VALIDITY_STATE_PROPERTY: true,\n\n  lowercase: true,\n  uppercase: true,\n  manualLowercase: true,\n  manualUppercase: true,\n  nodeName_: true,\n  isArrayLike: true,\n  forEach: true,\n  forEachSorted: true,\n  reverseParams: true,\n  nextUid: true,\n  setHashKey: true,\n  extend: true,\n  toInt: true,\n  inherit: true,\n  merge: true,\n  noop: true,\n  identity: true,\n  valueFn: true,\n  isUndefined: true,\n  isDefined: true,\n  isObject: true,\n  isBlankObject: true,\n  isString: true,\n  isNumber: true,\n  isDate: true,\n  isArray: true,\n  isFunction: true,\n  isRegExp: true,\n  isWindow: true,\n  isScope: true,\n  isFile: true,\n  isFormData: true,\n  isBlob: true,\n  isBoolean: true,\n  isPromiseLike: true,\n  trim: true,\n  escapeForRegexp: true,\n  isElement: true,\n  makeMap: true,\n  includes: true,\n  arrayRemove: true,\n  copy: true,\n  shallowCopy: true,\n  equals: true,\n  csp: true,\n  jq: true,\n  concat: true,\n  sliceArgs: true,\n  bind: true,\n  toJsonReplacer: true,\n  toJson: true,\n  fromJson: true,\n  convertTimezoneToLocal: true,\n  timezoneToOffset: true,\n  startingTag: true,\n  tryDecodeURIComponent: true,\n  parseKeyValue: true,\n  toKeyValue: true,\n  encodeUriSegment: true,\n  encodeUriQuery: true,\n  angularInit: true,\n  bootstrap: true,\n  getTestability: true,\n  snake_case: true,\n  bindJQuery: true,\n  assertArg: true,\n  assertArgFn: true,\n  assertNotHasOwnProperty: true,\n  getter: true,\n  getBlockNodes: true,\n  hasOwnProperty: true,\n  createMap: true,\n\n  NODE_TYPE_ELEMENT: true,\n  NODE_TYPE_ATTRIBUTE: true,\n  NODE_TYPE_TEXT: true,\n  NODE_TYPE_COMMENT: true,\n  NODE_TYPE_DOCUMENT: true,\n  NODE_TYPE_DOCUMENT_FRAGMENT: true,\n*/\n\n////////////////////////////////////\n\n/**\n * @ngdoc module\n * @name ng\n * @module ng\n * @description\n *\n * # ng (core module)\n * The ng module is loaded by default when an AngularJS application is started. The module itself\n * contains the essential components for an AngularJS application to function. The table below\n * lists a high level breakdown of each of the services/factories, filters, directives and testing\n * components available within this core module.\n *\n * <div doc-module-components=\"ng\"></div>\n */\n\nvar REGEX_STRING_REGEXP = /^\\/(.+)\\/([a-z]*)$/;\n\n// The name of a form control's ValidityState property.\n// This is used so that it's possible for internal tests to create mock ValidityStates.\nvar VALIDITY_STATE_PROPERTY = 'validity';\n\n/**\n * @ngdoc function\n * @name angular.lowercase\n * @module ng\n * @kind function\n *\n * @description Converts the specified string to lowercase.\n * @param {string} string String to be converted to lowercase.\n * @returns {string} Lowercased string.\n */\nvar lowercase = function(string) {return isString(string) ? string.toLowerCase() : string;};\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\n/**\n * @ngdoc function\n * @name angular.uppercase\n * @module ng\n * @kind function\n *\n * @description Converts the specified string to uppercase.\n * @param {string} string String to be converted to uppercase.\n * @returns {string} Uppercased string.\n */\nvar uppercase = function(string) {return isString(string) ? string.toUpperCase() : string;};\n\n\nvar manualLowercase = function(s) {\n  /* jshint bitwise: false */\n  return isString(s)\n      ? s.replace(/[A-Z]/g, function(ch) {return String.fromCharCode(ch.charCodeAt(0) | 32);})\n      : s;\n};\nvar manualUppercase = function(s) {\n  /* jshint bitwise: false */\n  return isString(s)\n      ? s.replace(/[a-z]/g, function(ch) {return String.fromCharCode(ch.charCodeAt(0) & ~32);})\n      : s;\n};\n\n\n// String#toLowerCase and String#toUpperCase don't produce correct results in browsers with Turkish\n// locale, for this reason we need to detect this case and redefine lowercase/uppercase methods\n// with correct but slower alternatives.\nif ('i' !== 'I'.toLowerCase()) {\n  lowercase = manualLowercase;\n  uppercase = manualUppercase;\n}\n\n\nvar\n    msie,             // holds major version number for IE, or NaN if UA is not IE.\n    jqLite,           // delay binding since jQuery could be loaded after us.\n    jQuery,           // delay binding\n    slice             = [].slice,\n    splice            = [].splice,\n    push              = [].push,\n    toString          = Object.prototype.toString,\n    getPrototypeOf    = Object.getPrototypeOf,\n    ngMinErr          = minErr('ng'),\n\n    /** @name angular */\n    angular           = window.angular || (window.angular = {}),\n    angularModule,\n    uid               = 0;\n\n/**\n * documentMode is an IE-only property\n * http://msdn.microsoft.com/en-us/library/ie/cc196988(v=vs.85).aspx\n */\nmsie = document.documentMode;\n\n\n/**\n * @private\n * @param {*} obj\n * @return {boolean} Returns true if `obj` is an array or array-like object (NodeList, Arguments,\n *                   String ...)\n */\nfunction isArrayLike(obj) {\n\n  // `null`, `undefined` and `window` are not array-like\n  if (obj == null || isWindow(obj)) return false;\n\n  // arrays, strings and jQuery/jqLite objects are array like\n  // * jqLite is either the jQuery or jqLite constructor function\n  // * we have to check the existance of jqLite first as this method is called\n  //   via the forEach method when constructing the jqLite object in the first place\n  if (isArray(obj) || isString(obj) || (jqLite && obj instanceof jqLite)) return true;\n\n  // Support: iOS 8.2 (not reproducible in simulator)\n  // \"length\" in obj used to prevent JIT error (gh-11508)\n  var length = \"length\" in Object(obj) && obj.length;\n\n  // NodeList objects (with `item` method) and\n  // other objects with suitable length characteristics are array-like\n  return isNumber(length) &&\n    (length >= 0 && (length - 1) in obj || typeof obj.item == 'function');\n}\n\n/**\n * @ngdoc function\n * @name angular.forEach\n * @module ng\n * @kind function\n *\n * @description\n * Invokes the `iterator` function once for each item in `obj` collection, which can be either an\n * object or an array. The `iterator` function is invoked with `iterator(value, key, obj)`, where `value`\n * is the value of an object property or an array element, `key` is the object property key or\n * array element index and obj is the `obj` itself. Specifying a `context` for the function is optional.\n *\n * It is worth noting that `.forEach` does not iterate over inherited properties because it filters\n * using the `hasOwnProperty` method.\n *\n * Unlike ES262's\n * [Array.prototype.forEach](http://www.ecma-international.org/ecma-262/5.1/#sec-15.4.4.18),\n * Providing 'undefined' or 'null' values for `obj` will not throw a TypeError, but rather just\n * return the value provided.\n *\n   ```js\n     var values = {name: 'misko', gender: 'male'};\n     var log = [];\n     angular.forEach(values, function(value, key) {\n       this.push(key + ': ' + value);\n     }, log);\n     expect(log).toEqual(['name: misko', 'gender: male']);\n   ```\n *\n * @param {Object|Array} obj Object to iterate over.\n * @param {Function} iterator Iterator function.\n * @param {Object=} context Object to become context (`this`) for the iterator function.\n * @returns {Object|Array} Reference to `obj`.\n */\n\nfunction forEach(obj, iterator, context) {\n  var key, length;\n  if (obj) {\n    if (isFunction(obj)) {\n      for (key in obj) {\n        // Need to check if hasOwnProperty exists,\n        // as on IE8 the result of querySelectorAll is an object without a hasOwnProperty function\n        if (key != 'prototype' && key != 'length' && key != 'name' && (!obj.hasOwnProperty || obj.hasOwnProperty(key))) {\n          iterator.call(context, obj[key], key, obj);\n        }\n      }\n    } else if (isArray(obj) || isArrayLike(obj)) {\n      var isPrimitive = typeof obj !== 'object';\n      for (key = 0, length = obj.length; key < length; key++) {\n        if (isPrimitive || key in obj) {\n          iterator.call(context, obj[key], key, obj);\n        }\n      }\n    } else if (obj.forEach && obj.forEach !== forEach) {\n        obj.forEach(iterator, context, obj);\n    } else if (isBlankObject(obj)) {\n      // createMap() fast path --- Safe to avoid hasOwnProperty check because prototype chain is empty\n      for (key in obj) {\n        iterator.call(context, obj[key], key, obj);\n      }\n    } else if (typeof obj.hasOwnProperty === 'function') {\n      // Slow path for objects inheriting Object.prototype, hasOwnProperty check needed\n      for (key in obj) {\n        if (obj.hasOwnProperty(key)) {\n          iterator.call(context, obj[key], key, obj);\n        }\n      }\n    } else {\n      // Slow path for objects which do not have a method `hasOwnProperty`\n      for (key in obj) {\n        if (hasOwnProperty.call(obj, key)) {\n          iterator.call(context, obj[key], key, obj);\n        }\n      }\n    }\n  }\n  return obj;\n}\n\nfunction forEachSorted(obj, iterator, context) {\n  var keys = Object.keys(obj).sort();\n  for (var i = 0; i < keys.length; i++) {\n    iterator.call(context, obj[keys[i]], keys[i]);\n  }\n  return keys;\n}\n\n\n/**\n * when using forEach the params are value, key, but it is often useful to have key, value.\n * @param {function(string, *)} iteratorFn\n * @returns {function(*, string)}\n */\nfunction reverseParams(iteratorFn) {\n  return function(value, key) { iteratorFn(key, value); };\n}\n\n/**\n * A consistent way of creating unique IDs in angular.\n *\n * Using simple numbers allows us to generate 28.6 million unique ids per second for 10 years before\n * we hit number precision issues in JavaScript.\n *\n * Math.pow(2,53) / 60 / 60 / 24 / 365 / 10 = 28.6M\n *\n * @returns {number} an unique alpha-numeric string\n */\nfunction nextUid() {\n  return ++uid;\n}\n\n\n/**\n * Set or clear the hashkey for an object.\n * @param obj object\n * @param h the hashkey (!truthy to delete the hashkey)\n */\nfunction setHashKey(obj, h) {\n  if (h) {\n    obj.$$hashKey = h;\n  } else {\n    delete obj.$$hashKey;\n  }\n}\n\n\nfunction baseExtend(dst, objs, deep) {\n  var h = dst.$$hashKey;\n\n  for (var i = 0, ii = objs.length; i < ii; ++i) {\n    var obj = objs[i];\n    if (!isObject(obj) && !isFunction(obj)) continue;\n    var keys = Object.keys(obj);\n    for (var j = 0, jj = keys.length; j < jj; j++) {\n      var key = keys[j];\n      var src = obj[key];\n\n      if (deep && isObject(src)) {\n        if (isDate(src)) {\n          dst[key] = new Date(src.valueOf());\n        } else if (isRegExp(src)) {\n          dst[key] = new RegExp(src);\n        } else if (src.nodeName) {\n          dst[key] = src.cloneNode(true);\n        } else if (isElement(src)) {\n          dst[key] = src.clone();\n        } else {\n          if (!isObject(dst[key])) dst[key] = isArray(src) ? [] : {};\n          baseExtend(dst[key], [src], true);\n        }\n      } else {\n        dst[key] = src;\n      }\n    }\n  }\n\n  setHashKey(dst, h);\n  return dst;\n}\n\n/**\n * @ngdoc function\n * @name angular.extend\n * @module ng\n * @kind function\n *\n * @description\n * Extends the destination object `dst` by copying own enumerable properties from the `src` object(s)\n * to `dst`. You can specify multiple `src` objects. If you want to preserve original objects, you can do so\n * by passing an empty object as the target: `var object = angular.extend({}, object1, object2)`.\n *\n * **Note:** Keep in mind that `angular.extend` does not support recursive merge (deep copy). Use\n * {@link angular.merge} for this.\n *\n * @param {Object} dst Destination object.\n * @param {...Object} src Source object(s).\n * @returns {Object} Reference to `dst`.\n */\nfunction extend(dst) {\n  return baseExtend(dst, slice.call(arguments, 1), false);\n}\n\n\n/**\n* @ngdoc function\n* @name angular.merge\n* @module ng\n* @kind function\n*\n* @description\n* Deeply extends the destination object `dst` by copying own enumerable properties from the `src` object(s)\n* to `dst`. You can specify multiple `src` objects. If you want to preserve original objects, you can do so\n* by passing an empty object as the target: `var object = angular.merge({}, object1, object2)`.\n*\n* Unlike {@link angular.extend extend()}, `merge()` recursively descends into object properties of source\n* objects, performing a deep copy.\n*\n* @param {Object} dst Destination object.\n* @param {...Object} src Source object(s).\n* @returns {Object} Reference to `dst`.\n*/\nfunction merge(dst) {\n  return baseExtend(dst, slice.call(arguments, 1), true);\n}\n\n\n\nfunction toInt(str) {\n  return parseInt(str, 10);\n}\n\n\nfunction inherit(parent, extra) {\n  return extend(Object.create(parent), extra);\n}\n\n/**\n * @ngdoc function\n * @name angular.noop\n * @module ng\n * @kind function\n *\n * @description\n * A function that performs no operations. This function can be useful when writing code in the\n * functional style.\n   ```js\n     function foo(callback) {\n       var result = calculateResult();\n       (callback || angular.noop)(result);\n     }\n   ```\n */\nfunction noop() {}\nnoop.$inject = [];\n\n\n/**\n * @ngdoc function\n * @name angular.identity\n * @module ng\n * @kind function\n *\n * @description\n * A function that returns its first argument. This function is useful when writing code in the\n * functional style.\n *\n   ```js\n     function transformer(transformationFn, value) {\n       return (transformationFn || angular.identity)(value);\n     };\n   ```\n  * @param {*} value to be returned.\n  * @returns {*} the value passed in.\n */\nfunction identity($) {return $;}\nidentity.$inject = [];\n\n\nfunction valueFn(value) {return function() {return value;};}\n\nfunction hasCustomToString(obj) {\n  return isFunction(obj.toString) && obj.toString !== toString;\n}\n\n\n/**\n * @ngdoc function\n * @name angular.isUndefined\n * @module ng\n * @kind function\n *\n * @description\n * Determines if a reference is undefined.\n *\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is undefined.\n */\nfunction isUndefined(value) {return typeof value === 'undefined';}\n\n\n/**\n * @ngdoc function\n * @name angular.isDefined\n * @module ng\n * @kind function\n *\n * @description\n * Determines if a reference is defined.\n *\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is defined.\n */\nfunction isDefined(value) {return typeof value !== 'undefined';}\n\n\n/**\n * @ngdoc function\n * @name angular.isObject\n * @module ng\n * @kind function\n *\n * @description\n * Determines if a reference is an `Object`. Unlike `typeof` in JavaScript, `null`s are not\n * considered to be objects. Note that JavaScript arrays are objects.\n *\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is an `Object` but not `null`.\n */\nfunction isObject(value) {\n  // http://jsperf.com/isobject4\n  return value !== null && typeof value === 'object';\n}\n\n\n/**\n * Determine if a value is an object with a null prototype\n *\n * @returns {boolean} True if `value` is an `Object` with a null prototype\n */\nfunction isBlankObject(value) {\n  return value !== null && typeof value === 'object' && !getPrototypeOf(value);\n}\n\n\n/**\n * @ngdoc function\n * @name angular.isString\n * @module ng\n * @kind function\n *\n * @description\n * Determines if a reference is a `String`.\n *\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is a `String`.\n */\nfunction isString(value) {return typeof value === 'string';}\n\n\n/**\n * @ngdoc function\n * @name angular.isNumber\n * @module ng\n * @kind function\n *\n * @description\n * Determines if a reference is a `Number`.\n *\n * This includes the \"special\" numbers `NaN`, `+Infinity` and `-Infinity`.\n *\n * If you wish to exclude these then you can use the native\n * [`isFinite'](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/isFinite)\n * method.\n *\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is a `Number`.\n */\nfunction isNumber(value) {return typeof value === 'number';}\n\n\n/**\n * @ngdoc function\n * @name angular.isDate\n * @module ng\n * @kind function\n *\n * @description\n * Determines if a value is a date.\n *\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is a `Date`.\n */\nfunction isDate(value) {\n  return toString.call(value) === '[object Date]';\n}\n\n\n/**\n * @ngdoc function\n * @name angular.isArray\n * @module ng\n * @kind function\n *\n * @description\n * Determines if a reference is an `Array`.\n *\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is an `Array`.\n */\nvar isArray = Array.isArray;\n\n/**\n * @ngdoc function\n * @name angular.isFunction\n * @module ng\n * @kind function\n *\n * @description\n * Determines if a reference is a `Function`.\n *\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is a `Function`.\n */\nfunction isFunction(value) {return typeof value === 'function';}\n\n\n/**\n * Determines if a value is a regular expression object.\n *\n * @private\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is a `RegExp`.\n */\nfunction isRegExp(value) {\n  return toString.call(value) === '[object RegExp]';\n}\n\n\n/**\n * Checks if `obj` is a window object.\n *\n * @private\n * @param {*} obj Object to check\n * @returns {boolean} True if `obj` is a window obj.\n */\nfunction isWindow(obj) {\n  return obj && obj.window === obj;\n}\n\n\nfunction isScope(obj) {\n  return obj && obj.$evalAsync && obj.$watch;\n}\n\n\nfunction isFile(obj) {\n  return toString.call(obj) === '[object File]';\n}\n\n\nfunction isFormData(obj) {\n  return toString.call(obj) === '[object FormData]';\n}\n\n\nfunction isBlob(obj) {\n  return toString.call(obj) === '[object Blob]';\n}\n\n\nfunction isBoolean(value) {\n  return typeof value === 'boolean';\n}\n\n\nfunction isPromiseLike(obj) {\n  return obj && isFunction(obj.then);\n}\n\n\nvar TYPED_ARRAY_REGEXP = /^\\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\\]$/;\nfunction isTypedArray(value) {\n  return value && isNumber(value.length) && TYPED_ARRAY_REGEXP.test(toString.call(value));\n}\n\n\nvar trim = function(value) {\n  return isString(value) ? value.trim() : value;\n};\n\n// Copied from:\n// http://docs.closure-library.googlecode.com/git/local_closure_goog_string_string.js.source.html#line1021\n// Prereq: s is a string.\nvar escapeForRegexp = function(s) {\n  return s.replace(/([-()\\[\\]{}+?*.$\\^|,:#<!\\\\])/g, '\\\\$1').\n           replace(/\\x08/g, '\\\\x08');\n};\n\n\n/**\n * @ngdoc function\n * @name angular.isElement\n * @module ng\n * @kind function\n *\n * @description\n * Determines if a reference is a DOM element (or wrapped jQuery element).\n *\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is a DOM element (or wrapped jQuery element).\n */\nfunction isElement(node) {\n  return !!(node &&\n    (node.nodeName  // we are a direct element\n    || (node.prop && node.attr && node.find)));  // we have an on and find method part of jQuery API\n}\n\n/**\n * @param str 'key1,key2,...'\n * @returns {object} in the form of {key1:true, key2:true, ...}\n */\nfunction makeMap(str) {\n  var obj = {}, items = str.split(\",\"), i;\n  for (i = 0; i < items.length; i++) {\n    obj[items[i]] = true;\n  }\n  return obj;\n}\n\n\nfunction nodeName_(element) {\n  return lowercase(element.nodeName || (element[0] && element[0].nodeName));\n}\n\nfunction includes(array, obj) {\n  return Array.prototype.indexOf.call(array, obj) != -1;\n}\n\nfunction arrayRemove(array, value) {\n  var index = array.indexOf(value);\n  if (index >= 0) {\n    array.splice(index, 1);\n  }\n  return index;\n}\n\n/**\n * @ngdoc function\n * @name angular.copy\n * @module ng\n * @kind function\n *\n * @description\n * Creates a deep copy of `source`, which should be an object or an array.\n *\n * * If no destination is supplied, a copy of the object or array is created.\n * * If a destination is provided, all of its elements (for arrays) or properties (for objects)\n *   are deleted and then all elements/properties from the source are copied to it.\n * * If `source` is not an object or array (inc. `null` and `undefined`), `source` is returned.\n * * If `source` is identical to 'destination' an exception will be thrown.\n *\n * @param {*} source The source that will be used to make a copy.\n *                   Can be any type, including primitives, `null`, and `undefined`.\n * @param {(Object|Array)=} destination Destination into which the source is copied. If\n *     provided, must be of the same type as `source`.\n * @returns {*} The copy or updated `destination`, if `destination` was specified.\n *\n * @example\n <example module=\"copyExample\">\n <file name=\"index.html\">\n <div ng-controller=\"ExampleController\">\n <form novalidate class=\"simple-form\">\n Name: <input type=\"text\" ng-model=\"user.name\" /><br />\n E-mail: <input type=\"email\" ng-model=\"user.email\" /><br />\n Gender: <input type=\"radio\" ng-model=\"user.gender\" value=\"male\" />male\n <input type=\"radio\" ng-model=\"user.gender\" value=\"female\" />female<br />\n <button ng-click=\"reset()\">RESET</button>\n <button ng-click=\"update(user)\">SAVE</button>\n </form>\n <pre>form = {{user | json}}</pre>\n <pre>master = {{master | json}}</pre>\n </div>\n\n <script>\n  angular.module('copyExample', [])\n    .controller('ExampleController', ['$scope', function($scope) {\n      $scope.master= {};\n\n      $scope.update = function(user) {\n        // Example with 1 argument\n        $scope.master= angular.copy(user);\n      };\n\n      $scope.reset = function() {\n        // Example with 2 arguments\n        angular.copy($scope.master, $scope.user);\n      };\n\n      $scope.reset();\n    }]);\n </script>\n </file>\n </example>\n */\nfunction copy(source, destination) {\n  var stackSource = [];\n  var stackDest = [];\n\n  if (destination) {\n    if (isTypedArray(destination)) {\n      throw ngMinErr('cpta', \"Can't copy! TypedArray destination cannot be mutated.\");\n    }\n    if (source === destination) {\n      throw ngMinErr('cpi', \"Can't copy! Source and destination are identical.\");\n    }\n\n    // Empty the destination object\n    if (isArray(destination)) {\n      destination.length = 0;\n    } else {\n      forEach(destination, function(value, key) {\n        if (key !== '$$hashKey') {\n          delete destination[key];\n        }\n      });\n    }\n\n    stackSource.push(source);\n    stackDest.push(destination);\n    return copyRecurse(source, destination);\n  }\n\n  return copyElement(source);\n\n  function copyRecurse(source, destination) {\n    var h = destination.$$hashKey;\n    var result, key;\n    if (isArray(source)) {\n      for (var i = 0, ii = source.length; i < ii; i++) {\n        destination.push(copyElement(source[i]));\n      }\n    } else if (isBlankObject(source)) {\n      // createMap() fast path --- Safe to avoid hasOwnProperty check because prototype chain is empty\n      for (key in source) {\n        destination[key] = copyElement(source[key]);\n      }\n    } else if (source && typeof source.hasOwnProperty === 'function') {\n      // Slow path, which must rely on hasOwnProperty\n      for (key in source) {\n        if (source.hasOwnProperty(key)) {\n          destination[key] = copyElement(source[key]);\n        }\n      }\n    } else {\n      // Slowest path --- hasOwnProperty can't be called as a method\n      for (key in source) {\n        if (hasOwnProperty.call(source, key)) {\n          destination[key] = copyElement(source[key]);\n        }\n      }\n    }\n    setHashKey(destination, h);\n    return destination;\n  }\n\n  function copyElement(source) {\n    // Simple values\n    if (!isObject(source)) {\n      return source;\n    }\n\n    // Already copied values\n    var index = stackSource.indexOf(source);\n    if (index !== -1) {\n      return stackDest[index];\n    }\n\n    if (isWindow(source) || isScope(source)) {\n      throw ngMinErr('cpws',\n        \"Can't copy! Making copies of Window or Scope instances is not supported.\");\n    }\n\n    var needsRecurse = false;\n    var destination;\n\n    if (isArray(source)) {\n      destination = [];\n      needsRecurse = true;\n    } else if (isTypedArray(source)) {\n      destination = new source.constructor(source);\n    } else if (isDate(source)) {\n      destination = new Date(source.getTime());\n    } else if (isRegExp(source)) {\n      destination = new RegExp(source.source, source.toString().match(/[^\\/]*$/)[0]);\n      destination.lastIndex = source.lastIndex;\n    } else if (isFunction(source.cloneNode)) {\n        destination = source.cloneNode(true);\n    } else {\n      destination = Object.create(getPrototypeOf(source));\n      needsRecurse = true;\n    }\n\n    stackSource.push(source);\n    stackDest.push(destination);\n\n    return needsRecurse\n      ? copyRecurse(source, destination)\n      : destination;\n  }\n}\n\n/**\n * Creates a shallow copy of an object, an array or a primitive.\n *\n * Assumes that there are no proto properties for objects.\n */\nfunction shallowCopy(src, dst) {\n  if (isArray(src)) {\n    dst = dst || [];\n\n    for (var i = 0, ii = src.length; i < ii; i++) {\n      dst[i] = src[i];\n    }\n  } else if (isObject(src)) {\n    dst = dst || {};\n\n    for (var key in src) {\n      if (!(key.charAt(0) === '$' && key.charAt(1) === '$')) {\n        dst[key] = src[key];\n      }\n    }\n  }\n\n  return dst || src;\n}\n\n\n/**\n * @ngdoc function\n * @name angular.equals\n * @module ng\n * @kind function\n *\n * @description\n * Determines if two objects or two values are equivalent. Supports value types, regular\n * expressions, arrays and objects.\n *\n * Two objects or values are considered equivalent if at least one of the following is true:\n *\n * * Both objects or values pass `===` comparison.\n * * Both objects or values are of the same type and all of their properties are equal by\n *   comparing them with `angular.equals`.\n * * Both values are NaN. (In JavaScript, NaN == NaN => false. But we consider two NaN as equal)\n * * Both values represent the same regular expression (In JavaScript,\n *   /abc/ == /abc/ => false. But we consider two regular expressions as equal when their textual\n *   representation matches).\n *\n * During a property comparison, properties of `function` type and properties with names\n * that begin with `$` are ignored.\n *\n * Scope and DOMWindow objects are being compared only by identify (`===`).\n *\n * @param {*} o1 Object or value to compare.\n * @param {*} o2 Object or value to compare.\n * @returns {boolean} True if arguments are equal.\n */\nfunction equals(o1, o2) {\n  if (o1 === o2) return true;\n  if (o1 === null || o2 === null) return false;\n  if (o1 !== o1 && o2 !== o2) return true; // NaN === NaN\n  var t1 = typeof o1, t2 = typeof o2, length, key, keySet;\n  if (t1 == t2) {\n    if (t1 == 'object') {\n      if (isArray(o1)) {\n        if (!isArray(o2)) return false;\n        if ((length = o1.length) == o2.length) {\n          for (key = 0; key < length; key++) {\n            if (!equals(o1[key], o2[key])) return false;\n          }\n          return true;\n        }\n      } else if (isDate(o1)) {\n        if (!isDate(o2)) return false;\n        return equals(o1.getTime(), o2.getTime());\n      } else if (isRegExp(o1)) {\n        return isRegExp(o2) ? o1.toString() == o2.toString() : false;\n      } else {\n        if (isScope(o1) || isScope(o2) || isWindow(o1) || isWindow(o2) ||\n          isArray(o2) || isDate(o2) || isRegExp(o2)) return false;\n        keySet = createMap();\n        for (key in o1) {\n          if (key.charAt(0) === '$' || isFunction(o1[key])) continue;\n          if (!equals(o1[key], o2[key])) return false;\n          keySet[key] = true;\n        }\n        for (key in o2) {\n          if (!(key in keySet) &&\n              key.charAt(0) !== '$' &&\n              isDefined(o2[key]) &&\n              !isFunction(o2[key])) return false;\n        }\n        return true;\n      }\n    }\n  }\n  return false;\n}\n\nvar csp = function() {\n  if (!isDefined(csp.rules)) {\n\n\n    var ngCspElement = (document.querySelector('[ng-csp]') ||\n                    document.querySelector('[data-ng-csp]'));\n\n    if (ngCspElement) {\n      var ngCspAttribute = ngCspElement.getAttribute('ng-csp') ||\n                    ngCspElement.getAttribute('data-ng-csp');\n      csp.rules = {\n        noUnsafeEval: !ngCspAttribute || (ngCspAttribute.indexOf('no-unsafe-eval') !== -1),\n        noInlineStyle: !ngCspAttribute || (ngCspAttribute.indexOf('no-inline-style') !== -1)\n      };\n    } else {\n      csp.rules = {\n        noUnsafeEval: noUnsafeEval(),\n        noInlineStyle: false\n      };\n    }\n  }\n\n  return csp.rules;\n\n  function noUnsafeEval() {\n    try {\n      /* jshint -W031, -W054 */\n      new Function('');\n      /* jshint +W031, +W054 */\n      return false;\n    } catch (e) {\n      return true;\n    }\n  }\n};\n\n/**\n * @ngdoc directive\n * @module ng\n * @name ngJq\n *\n * @element ANY\n * @param {string=} ngJq the name of the library available under `window`\n * to be used for angular.element\n * @description\n * Use this directive to force the angular.element library.  This should be\n * used to force either jqLite by leaving ng-jq blank or setting the name of\n * the jquery variable under window (eg. jQuery).\n *\n * Since angular looks for this directive when it is loaded (doesn't wait for the\n * DOMContentLoaded event), it must be placed on an element that comes before the script\n * which loads angular. Also, only the first instance of `ng-jq` will be used and all\n * others ignored.\n *\n * @example\n * This example shows how to force jqLite using the `ngJq` directive to the `html` tag.\n ```html\n <!doctype html>\n <html ng-app ng-jq>\n ...\n ...\n </html>\n ```\n * @example\n * This example shows how to use a jQuery based library of a different name.\n * The library name must be available at the top most 'window'.\n ```html\n <!doctype html>\n <html ng-app ng-jq=\"jQueryLib\">\n ...\n ...\n </html>\n ```\n */\nvar jq = function() {\n  if (isDefined(jq.name_)) return jq.name_;\n  var el;\n  var i, ii = ngAttrPrefixes.length, prefix, name;\n  for (i = 0; i < ii; ++i) {\n    prefix = ngAttrPrefixes[i];\n    if (el = document.querySelector('[' + prefix.replace(':', '\\\\:') + 'jq]')) {\n      name = el.getAttribute(prefix + 'jq');\n      break;\n    }\n  }\n\n  return (jq.name_ = name);\n};\n\nfunction concat(array1, array2, index) {\n  return array1.concat(slice.call(array2, index));\n}\n\nfunction sliceArgs(args, startIndex) {\n  return slice.call(args, startIndex || 0);\n}\n\n\n/* jshint -W101 */\n/**\n * @ngdoc function\n * @name angular.bind\n * @module ng\n * @kind function\n *\n * @description\n * Returns a function which calls function `fn` bound to `self` (`self` becomes the `this` for\n * `fn`). You can supply optional `args` that are prebound to the function. This feature is also\n * known as [partial application](http://en.wikipedia.org/wiki/Partial_application), as\n * distinguished from [function currying](http://en.wikipedia.org/wiki/Currying#Contrast_with_partial_function_application).\n *\n * @param {Object} self Context which `fn` should be evaluated in.\n * @param {function()} fn Function to be bound.\n * @param {...*} args Optional arguments to be prebound to the `fn` function call.\n * @returns {function()} Function that wraps the `fn` with all the specified bindings.\n */\n/* jshint +W101 */\nfunction bind(self, fn) {\n  var curryArgs = arguments.length > 2 ? sliceArgs(arguments, 2) : [];\n  if (isFunction(fn) && !(fn instanceof RegExp)) {\n    return curryArgs.length\n      ? function() {\n          return arguments.length\n            ? fn.apply(self, concat(curryArgs, arguments, 0))\n            : fn.apply(self, curryArgs);\n        }\n      : function() {\n          return arguments.length\n            ? fn.apply(self, arguments)\n            : fn.call(self);\n        };\n  } else {\n    // in IE, native methods are not functions so they cannot be bound (note: they don't need to be)\n    return fn;\n  }\n}\n\n\nfunction toJsonReplacer(key, value) {\n  var val = value;\n\n  if (typeof key === 'string' && key.charAt(0) === '$' && key.charAt(1) === '$') {\n    val = undefined;\n  } else if (isWindow(value)) {\n    val = '$WINDOW';\n  } else if (value &&  document === value) {\n    val = '$DOCUMENT';\n  } else if (isScope(value)) {\n    val = '$SCOPE';\n  }\n\n  return val;\n}\n\n\n/**\n * @ngdoc function\n * @name angular.toJson\n * @module ng\n * @kind function\n *\n * @description\n * Serializes input into a JSON-formatted string. Properties with leading $$ characters will be\n * stripped since angular uses this notation internally.\n *\n * @param {Object|Array|Date|string|number} obj Input to be serialized into JSON.\n * @param {boolean|number} [pretty=2] If set to true, the JSON output will contain newlines and whitespace.\n *    If set to an integer, the JSON output will contain that many spaces per indentation.\n * @returns {string|undefined} JSON-ified string representing `obj`.\n */\nfunction toJson(obj, pretty) {\n  if (typeof obj === 'undefined') return undefined;\n  if (!isNumber(pretty)) {\n    pretty = pretty ? 2 : null;\n  }\n  return JSON.stringify(obj, toJsonReplacer, pretty);\n}\n\n\n/**\n * @ngdoc function\n * @name angular.fromJson\n * @module ng\n * @kind function\n *\n * @description\n * Deserializes a JSON string.\n *\n * @param {string} json JSON string to deserialize.\n * @returns {Object|Array|string|number} Deserialized JSON string.\n */\nfunction fromJson(json) {\n  return isString(json)\n      ? JSON.parse(json)\n      : json;\n}\n\n\nfunction timezoneToOffset(timezone, fallback) {\n  var requestedTimezoneOffset = Date.parse('Jan 01, 1970 00:00:00 ' + timezone) / 60000;\n  return isNaN(requestedTimezoneOffset) ? fallback : requestedTimezoneOffset;\n}\n\n\nfunction addDateMinutes(date, minutes) {\n  date = new Date(date.getTime());\n  date.setMinutes(date.getMinutes() + minutes);\n  return date;\n}\n\n\nfunction convertTimezoneToLocal(date, timezone, reverse) {\n  reverse = reverse ? -1 : 1;\n  var timezoneOffset = timezoneToOffset(timezone, date.getTimezoneOffset());\n  return addDateMinutes(date, reverse * (timezoneOffset - date.getTimezoneOffset()));\n}\n\n\n/**\n * @returns {string} Returns the string representation of the element.\n */\nfunction startingTag(element) {\n  element = jqLite(element).clone();\n  try {\n    // turns out IE does not let you set .html() on elements which\n    // are not allowed to have children. So we just ignore it.\n    element.empty();\n  } catch (e) {}\n  var elemHtml = jqLite('<div>').append(element).html();\n  try {\n    return element[0].nodeType === NODE_TYPE_TEXT ? lowercase(elemHtml) :\n        elemHtml.\n          match(/^(<[^>]+>)/)[1].\n          replace(/^<([\\w\\-]+)/, function(match, nodeName) { return '<' + lowercase(nodeName); });\n  } catch (e) {\n    return lowercase(elemHtml);\n  }\n\n}\n\n\n/////////////////////////////////////////////////\n\n/**\n * Tries to decode the URI component without throwing an exception.\n *\n * @private\n * @param str value potential URI component to check.\n * @returns {boolean} True if `value` can be decoded\n * with the decodeURIComponent function.\n */\nfunction tryDecodeURIComponent(value) {\n  try {\n    return decodeURIComponent(value);\n  } catch (e) {\n    // Ignore any invalid uri component\n  }\n}\n\n\n/**\n * Parses an escaped url query string into key-value pairs.\n * @returns {Object.<string,boolean|Array>}\n */\nfunction parseKeyValue(/**string*/keyValue) {\n  var obj = {};\n  forEach((keyValue || \"\").split('&'), function(keyValue) {\n    var splitPoint, key, val;\n    if (keyValue) {\n      key = keyValue = keyValue.replace(/\\+/g,'%20');\n      splitPoint = keyValue.indexOf('=');\n      if (splitPoint !== -1) {\n        key = keyValue.substring(0, splitPoint);\n        val = keyValue.substring(splitPoint + 1);\n      }\n      key = tryDecodeURIComponent(key);\n      if (isDefined(key)) {\n        val = isDefined(val) ? tryDecodeURIComponent(val) : true;\n        if (!hasOwnProperty.call(obj, key)) {\n          obj[key] = val;\n        } else if (isArray(obj[key])) {\n          obj[key].push(val);\n        } else {\n          obj[key] = [obj[key],val];\n        }\n      }\n    }\n  });\n  return obj;\n}\n\nfunction toKeyValue(obj) {\n  var parts = [];\n  forEach(obj, function(value, key) {\n    if (isArray(value)) {\n      forEach(value, function(arrayValue) {\n        parts.push(encodeUriQuery(key, true) +\n                   (arrayValue === true ? '' : '=' + encodeUriQuery(arrayValue, true)));\n      });\n    } else {\n    parts.push(encodeUriQuery(key, true) +\n               (value === true ? '' : '=' + encodeUriQuery(value, true)));\n    }\n  });\n  return parts.length ? parts.join('&') : '';\n}\n\n\n/**\n * We need our custom method because encodeURIComponent is too aggressive and doesn't follow\n * http://www.ietf.org/rfc/rfc3986.txt with regards to the character set (pchar) allowed in path\n * segments:\n *    segment       = *pchar\n *    pchar         = unreserved / pct-encoded / sub-delims / \":\" / \"@\"\n *    pct-encoded   = \"%\" HEXDIG HEXDIG\n *    unreserved    = ALPHA / DIGIT / \"-\" / \".\" / \"_\" / \"~\"\n *    sub-delims    = \"!\" / \"$\" / \"&\" / \"'\" / \"(\" / \")\"\n *                     / \"*\" / \"+\" / \",\" / \";\" / \"=\"\n */\nfunction encodeUriSegment(val) {\n  return encodeUriQuery(val, true).\n             replace(/%26/gi, '&').\n             replace(/%3D/gi, '=').\n             replace(/%2B/gi, '+');\n}\n\n\n/**\n * This method is intended for encoding *key* or *value* parts of query component. We need a custom\n * method because encodeURIComponent is too aggressive and encodes stuff that doesn't have to be\n * encoded per http://tools.ietf.org/html/rfc3986:\n *    query       = *( pchar / \"/\" / \"?\" )\n *    pchar         = unreserved / pct-encoded / sub-delims / \":\" / \"@\"\n *    unreserved    = ALPHA / DIGIT / \"-\" / \".\" / \"_\" / \"~\"\n *    pct-encoded   = \"%\" HEXDIG HEXDIG\n *    sub-delims    = \"!\" / \"$\" / \"&\" / \"'\" / \"(\" / \")\"\n *                     / \"*\" / \"+\" / \",\" / \";\" / \"=\"\n */\nfunction encodeUriQuery(val, pctEncodeSpaces) {\n  return encodeURIComponent(val).\n             replace(/%40/gi, '@').\n             replace(/%3A/gi, ':').\n             replace(/%24/g, '$').\n             replace(/%2C/gi, ',').\n             replace(/%3B/gi, ';').\n             replace(/%20/g, (pctEncodeSpaces ? '%20' : '+'));\n}\n\nvar ngAttrPrefixes = ['ng-', 'data-ng-', 'ng:', 'x-ng-'];\n\nfunction getNgAttribute(element, ngAttr) {\n  var attr, i, ii = ngAttrPrefixes.length;\n  for (i = 0; i < ii; ++i) {\n    attr = ngAttrPrefixes[i] + ngAttr;\n    if (isString(attr = element.getAttribute(attr))) {\n      return attr;\n    }\n  }\n  return null;\n}\n\n/**\n * @ngdoc directive\n * @name ngApp\n * @module ng\n *\n * @element ANY\n * @param {angular.Module} ngApp an optional application\n *   {@link angular.module module} name to load.\n * @param {boolean=} ngStrictDi if this attribute is present on the app element, the injector will be\n *   created in \"strict-di\" mode. This means that the application will fail to invoke functions which\n *   do not use explicit function annotation (and are thus unsuitable for minification), as described\n *   in {@link guide/di the Dependency Injection guide}, and useful debugging info will assist in\n *   tracking down the root of these bugs.\n *\n * @description\n *\n * Use this directive to **auto-bootstrap** an AngularJS application. The `ngApp` directive\n * designates the **root element** of the application and is typically placed near the root element\n * of the page - e.g. on the `<body>` or `<html>` tags.\n *\n * Only one AngularJS application can be auto-bootstrapped per HTML document. The first `ngApp`\n * found in the document will be used to define the root element to auto-bootstrap as an\n * application. To run multiple applications in an HTML document you must manually bootstrap them using\n * {@link angular.bootstrap} instead. AngularJS applications cannot be nested within each other.\n *\n * You can specify an **AngularJS module** to be used as the root module for the application.  This\n * module will be loaded into the {@link auto.$injector} when the application is bootstrapped. It\n * should contain the application code needed or have dependencies on other modules that will\n * contain the code. See {@link angular.module} for more information.\n *\n * In the example below if the `ngApp` directive were not placed on the `html` element then the\n * document would not be compiled, the `AppController` would not be instantiated and the `{{ a+b }}`\n * would not be resolved to `3`.\n *\n * `ngApp` is the easiest, and most common way to bootstrap an application.\n *\n <example module=\"ngAppDemo\">\n   <file name=\"index.html\">\n   <div ng-controller=\"ngAppDemoController\">\n     I can add: {{a}} + {{b}} =  {{ a+b }}\n   </div>\n   </file>\n   <file name=\"script.js\">\n   angular.module('ngAppDemo', []).controller('ngAppDemoController', function($scope) {\n     $scope.a = 1;\n     $scope.b = 2;\n   });\n   </file>\n </example>\n *\n * Using `ngStrictDi`, you would see something like this:\n *\n <example ng-app-included=\"true\">\n   <file name=\"index.html\">\n   <div ng-app=\"ngAppStrictDemo\" ng-strict-di>\n       <div ng-controller=\"GoodController1\">\n           I can add: {{a}} + {{b}} =  {{ a+b }}\n\n           <p>This renders because the controller does not fail to\n              instantiate, by using explicit annotation style (see\n              script.js for details)\n           </p>\n       </div>\n\n       <div ng-controller=\"GoodController2\">\n           Name: <input ng-model=\"name\"><br />\n           Hello, {{name}}!\n\n           <p>This renders because the controller does not fail to\n              instantiate, by using explicit annotation style\n              (see script.js for details)\n           </p>\n       </div>\n\n       <div ng-controller=\"BadController\">\n           I can add: {{a}} + {{b}} =  {{ a+b }}\n\n           <p>The controller could not be instantiated, due to relying\n              on automatic function annotations (which are disabled in\n              strict mode). As such, the content of this section is not\n              interpolated, and there should be an error in your web console.\n           </p>\n       </div>\n   </div>\n   </file>\n   <file name=\"script.js\">\n   angular.module('ngAppStrictDemo', [])\n     // BadController will fail to instantiate, due to relying on automatic function annotation,\n     // rather than an explicit annotation\n     .controller('BadController', function($scope) {\n       $scope.a = 1;\n       $scope.b = 2;\n     })\n     // Unlike BadController, GoodController1 and GoodController2 will not fail to be instantiated,\n     // due to using explicit annotations using the array style and $inject property, respectively.\n     .controller('GoodController1', ['$scope', function($scope) {\n       $scope.a = 1;\n       $scope.b = 2;\n     }])\n     .controller('GoodController2', GoodController2);\n     function GoodController2($scope) {\n       $scope.name = \"World\";\n     }\n     GoodController2.$inject = ['$scope'];\n   </file>\n   <file name=\"style.css\">\n   div[ng-controller] {\n       margin-bottom: 1em;\n       -webkit-border-radius: 4px;\n       border-radius: 4px;\n       border: 1px solid;\n       padding: .5em;\n   }\n   div[ng-controller^=Good] {\n       border-color: #d6e9c6;\n       background-color: #dff0d8;\n       color: #3c763d;\n   }\n   div[ng-controller^=Bad] {\n       border-color: #ebccd1;\n       background-color: #f2dede;\n       color: #a94442;\n       margin-bottom: 0;\n   }\n   </file>\n </example>\n */\nfunction angularInit(element, bootstrap) {\n  var appElement,\n      module,\n      config = {};\n\n  // The element `element` has priority over any other element\n  forEach(ngAttrPrefixes, function(prefix) {\n    var name = prefix + 'app';\n\n    if (!appElement && element.hasAttribute && element.hasAttribute(name)) {\n      appElement = element;\n      module = element.getAttribute(name);\n    }\n  });\n  forEach(ngAttrPrefixes, function(prefix) {\n    var name = prefix + 'app';\n    var candidate;\n\n    if (!appElement && (candidate = element.querySelector('[' + name.replace(':', '\\\\:') + ']'))) {\n      appElement = candidate;\n      module = candidate.getAttribute(name);\n    }\n  });\n  if (appElement) {\n    config.strictDi = getNgAttribute(appElement, \"strict-di\") !== null;\n    bootstrap(appElement, module ? [module] : [], config);\n  }\n}\n\n/**\n * @ngdoc function\n * @name angular.bootstrap\n * @module ng\n * @description\n * Use this function to manually start up angular application.\n *\n * See: {@link guide/bootstrap Bootstrap}\n *\n * Note that Protractor based end-to-end tests cannot use this function to bootstrap manually.\n * They must use {@link ng.directive:ngApp ngApp}.\n *\n * Angular will detect if it has been loaded into the browser more than once and only allow the\n * first loaded script to be bootstrapped and will report a warning to the browser console for\n * each of the subsequent scripts. This prevents strange results in applications, where otherwise\n * multiple instances of Angular try to work on the DOM.\n *\n * ```html\n * <!doctype html>\n * <html>\n * <body>\n * <div ng-controller=\"WelcomeController\">\n *   {{greeting}}\n * </div>\n *\n * <script src=\"angular.js\"></script>\n * <script>\n *   var app = angular.module('demo', [])\n *   .controller('WelcomeController', function($scope) {\n *       $scope.greeting = 'Welcome!';\n *   });\n *   angular.bootstrap(document, ['demo']);\n * </script>\n * </body>\n * </html>\n * ```\n *\n * @param {DOMElement} element DOM element which is the root of angular application.\n * @param {Array<String|Function|Array>=} modules an array of modules to load into the application.\n *     Each item in the array should be the name of a predefined module or a (DI annotated)\n *     function that will be invoked by the injector as a `config` block.\n *     See: {@link angular.module modules}\n * @param {Object=} config an object for defining configuration options for the application. The\n *     following keys are supported:\n *\n * * `strictDi` - disable automatic function annotation for the application. This is meant to\n *   assist in finding bugs which break minified code. Defaults to `false`.\n *\n * @returns {auto.$injector} Returns the newly created injector for this app.\n */\nfunction bootstrap(element, modules, config) {\n  if (!isObject(config)) config = {};\n  var defaultConfig = {\n    strictDi: false\n  };\n  config = extend(defaultConfig, config);\n  var doBootstrap = function() {\n    element = jqLite(element);\n\n    if (element.injector()) {\n      var tag = (element[0] === document) ? 'document' : startingTag(element);\n      //Encode angle brackets to prevent input from being sanitized to empty string #8683\n      throw ngMinErr(\n          'btstrpd',\n          \"App Already Bootstrapped with this Element '{0}'\",\n          tag.replace(/</,'&lt;').replace(/>/,'&gt;'));\n    }\n\n    modules = modules || [];\n    modules.unshift(['$provide', function($provide) {\n      $provide.value('$rootElement', element);\n    }]);\n\n    if (config.debugInfoEnabled) {\n      // Pushing so that this overrides `debugInfoEnabled` setting defined in user's `modules`.\n      modules.push(['$compileProvider', function($compileProvider) {\n        $compileProvider.debugInfoEnabled(true);\n      }]);\n    }\n\n    modules.unshift('ng');\n    var injector = createInjector(modules, config.strictDi);\n    injector.invoke(['$rootScope', '$rootElement', '$compile', '$injector',\n       function bootstrapApply(scope, element, compile, injector) {\n        scope.$apply(function() {\n          element.data('$injector', injector);\n          compile(element)(scope);\n        });\n      }]\n    );\n    return injector;\n  };\n\n  var NG_ENABLE_DEBUG_INFO = /^NG_ENABLE_DEBUG_INFO!/;\n  var NG_DEFER_BOOTSTRAP = /^NG_DEFER_BOOTSTRAP!/;\n\n  if (window && NG_ENABLE_DEBUG_INFO.test(window.name)) {\n    config.debugInfoEnabled = true;\n    window.name = window.name.replace(NG_ENABLE_DEBUG_INFO, '');\n  }\n\n  if (window && !NG_DEFER_BOOTSTRAP.test(window.name)) {\n    return doBootstrap();\n  }\n\n  window.name = window.name.replace(NG_DEFER_BOOTSTRAP, '');\n  angular.resumeBootstrap = function(extraModules) {\n    forEach(extraModules, function(module) {\n      modules.push(module);\n    });\n    return doBootstrap();\n  };\n\n  if (isFunction(angular.resumeDeferredBootstrap)) {\n    angular.resumeDeferredBootstrap();\n  }\n}\n\n/**\n * @ngdoc function\n * @name angular.reloadWithDebugInfo\n * @module ng\n * @description\n * Use this function to reload the current application with debug information turned on.\n * This takes precedence over a call to `$compileProvider.debugInfoEnabled(false)`.\n *\n * See {@link ng.$compileProvider#debugInfoEnabled} for more.\n */\nfunction reloadWithDebugInfo() {\n  window.name = 'NG_ENABLE_DEBUG_INFO!' + window.name;\n  window.location.reload();\n}\n\n/**\n * @name angular.getTestability\n * @module ng\n * @description\n * Get the testability service for the instance of Angular on the given\n * element.\n * @param {DOMElement} element DOM element which is the root of angular application.\n */\nfunction getTestability(rootElement) {\n  var injector = angular.element(rootElement).injector();\n  if (!injector) {\n    throw ngMinErr('test',\n      'no injector found for element argument to getTestability');\n  }\n  return injector.get('$$testability');\n}\n\nvar SNAKE_CASE_REGEXP = /[A-Z]/g;\nfunction snake_case(name, separator) {\n  separator = separator || '_';\n  return name.replace(SNAKE_CASE_REGEXP, function(letter, pos) {\n    return (pos ? separator : '') + letter.toLowerCase();\n  });\n}\n\nvar bindJQueryFired = false;\nvar skipDestroyOnNextJQueryCleanData;\nfunction bindJQuery() {\n  var originalCleanData;\n\n  if (bindJQueryFired) {\n    return;\n  }\n\n  // bind to jQuery if present;\n  var jqName = jq();\n  jQuery = isUndefined(jqName) ? window.jQuery :   // use jQuery (if present)\n           !jqName             ? undefined     :   // use jqLite\n                                 window[jqName];   // use jQuery specified by `ngJq`\n\n  // Use jQuery if it exists with proper functionality, otherwise default to us.\n  // Angular 1.2+ requires jQuery 1.7+ for on()/off() support.\n  // Angular 1.3+ technically requires at least jQuery 2.1+ but it may work with older\n  // versions. It will not work for sure with jQuery <1.7, though.\n  if (jQuery && jQuery.fn.on) {\n    jqLite = jQuery;\n    extend(jQuery.fn, {\n      scope: JQLitePrototype.scope,\n      isolateScope: JQLitePrototype.isolateScope,\n      controller: JQLitePrototype.controller,\n      injector: JQLitePrototype.injector,\n      inheritedData: JQLitePrototype.inheritedData\n    });\n\n    // All nodes removed from the DOM via various jQuery APIs like .remove()\n    // are passed through jQuery.cleanData. Monkey-patch this method to fire\n    // the $destroy event on all removed nodes.\n    originalCleanData = jQuery.cleanData;\n    jQuery.cleanData = function(elems) {\n      var events;\n      if (!skipDestroyOnNextJQueryCleanData) {\n        for (var i = 0, elem; (elem = elems[i]) != null; i++) {\n          events = jQuery._data(elem, \"events\");\n          if (events && events.$destroy) {\n            jQuery(elem).triggerHandler('$destroy');\n          }\n        }\n      } else {\n        skipDestroyOnNextJQueryCleanData = false;\n      }\n      originalCleanData(elems);\n    };\n  } else {\n    jqLite = JQLite;\n  }\n\n  angular.element = jqLite;\n\n  // Prevent double-proxying.\n  bindJQueryFired = true;\n}\n\n/**\n * throw error if the argument is falsy.\n */\nfunction assertArg(arg, name, reason) {\n  if (!arg) {\n    throw ngMinErr('areq', \"Argument '{0}' is {1}\", (name || '?'), (reason || \"required\"));\n  }\n  return arg;\n}\n\nfunction assertArgFn(arg, name, acceptArrayAnnotation) {\n  if (acceptArrayAnnotation && isArray(arg)) {\n      arg = arg[arg.length - 1];\n  }\n\n  assertArg(isFunction(arg), name, 'not a function, got ' +\n      (arg && typeof arg === 'object' ? arg.constructor.name || 'Object' : typeof arg));\n  return arg;\n}\n\n/**\n * throw error if the name given is hasOwnProperty\n * @param  {String} name    the name to test\n * @param  {String} context the context in which the name is used, such as module or directive\n */\nfunction assertNotHasOwnProperty(name, context) {\n  if (name === 'hasOwnProperty') {\n    throw ngMinErr('badname', \"hasOwnProperty is not a valid {0} name\", context);\n  }\n}\n\n/**\n * Return the value accessible from the object by path. Any undefined traversals are ignored\n * @param {Object} obj starting object\n * @param {String} path path to traverse\n * @param {boolean} [bindFnToScope=true]\n * @returns {Object} value as accessible by path\n */\n//TODO(misko): this function needs to be removed\nfunction getter(obj, path, bindFnToScope) {\n  if (!path) return obj;\n  var keys = path.split('.');\n  var key;\n  var lastInstance = obj;\n  var len = keys.length;\n\n  for (var i = 0; i < len; i++) {\n    key = keys[i];\n    if (obj) {\n      obj = (lastInstance = obj)[key];\n    }\n  }\n  if (!bindFnToScope && isFunction(obj)) {\n    return bind(lastInstance, obj);\n  }\n  return obj;\n}\n\n/**\n * Return the DOM siblings between the first and last node in the given array.\n * @param {Array} array like object\n * @returns {Array} the inputted object or a jqLite collection containing the nodes\n */\nfunction getBlockNodes(nodes) {\n  // TODO(perf): update `nodes` instead of creating a new object?\n  var node = nodes[0];\n  var endNode = nodes[nodes.length - 1];\n  var blockNodes;\n\n  for (var i = 1; node !== endNode && (node = node.nextSibling); i++) {\n    if (blockNodes || nodes[i] !== node) {\n      if (!blockNodes) {\n        blockNodes = jqLite(slice.call(nodes, 0, i));\n      }\n      blockNodes.push(node);\n    }\n  }\n\n  return blockNodes || nodes;\n}\n\n\n/**\n * Creates a new object without a prototype. This object is useful for lookup without having to\n * guard against prototypically inherited properties via hasOwnProperty.\n *\n * Related micro-benchmarks:\n * - http://jsperf.com/object-create2\n * - http://jsperf.com/proto-map-lookup/2\n * - http://jsperf.com/for-in-vs-object-keys2\n *\n * @returns {Object}\n */\nfunction createMap() {\n  return Object.create(null);\n}\n\nvar NODE_TYPE_ELEMENT = 1;\nvar NODE_TYPE_ATTRIBUTE = 2;\nvar NODE_TYPE_TEXT = 3;\nvar NODE_TYPE_COMMENT = 8;\nvar NODE_TYPE_DOCUMENT = 9;\nvar NODE_TYPE_DOCUMENT_FRAGMENT = 11;\n\n/**\n * @ngdoc type\n * @name angular.Module\n * @module ng\n * @description\n *\n * Interface for configuring angular {@link angular.module modules}.\n */\n\nfunction setupModuleLoader(window) {\n\n  var $injectorMinErr = minErr('$injector');\n  var ngMinErr = minErr('ng');\n\n  function ensure(obj, name, factory) {\n    return obj[name] || (obj[name] = factory());\n  }\n\n  var angular = ensure(window, 'angular', Object);\n\n  // We need to expose `angular.$$minErr` to modules such as `ngResource` that reference it during bootstrap\n  angular.$$minErr = angular.$$minErr || minErr;\n\n  return ensure(angular, 'module', function() {\n    /** @type {Object.<string, angular.Module>} */\n    var modules = {};\n\n    /**\n     * @ngdoc function\n     * @name angular.module\n     * @module ng\n     * @description\n     *\n     * The `angular.module` is a global place for creating, registering and retrieving Angular\n     * modules.\n     * All modules (angular core or 3rd party) that should be available to an application must be\n     * registered using this mechanism.\n     *\n     * Passing one argument retrieves an existing {@link angular.Module},\n     * whereas passing more than one argument creates a new {@link angular.Module}\n     *\n     *\n     * # Module\n     *\n     * A module is a collection of services, directives, controllers, filters, and configuration information.\n     * `angular.module` is used to configure the {@link auto.$injector $injector}.\n     *\n     * ```js\n     * // Create a new module\n     * var myModule = angular.module('myModule', []);\n     *\n     * // register a new service\n     * myModule.value('appName', 'MyCoolApp');\n     *\n     * // configure existing services inside initialization blocks.\n     * myModule.config(['$locationProvider', function($locationProvider) {\n     *   // Configure existing providers\n     *   $locationProvider.hashPrefix('!');\n     * }]);\n     * ```\n     *\n     * Then you can create an injector and load your modules like this:\n     *\n     * ```js\n     * var injector = angular.injector(['ng', 'myModule'])\n     * ```\n     *\n     * However it's more likely that you'll just use\n     * {@link ng.directive:ngApp ngApp} or\n     * {@link angular.bootstrap} to simplify this process for you.\n     *\n     * @param {!string} name The name of the module to create or retrieve.\n     * @param {!Array.<string>=} requires If specified then new module is being created. If\n     *        unspecified then the module is being retrieved for further configuration.\n     * @param {Function=} configFn Optional configuration function for the module. Same as\n     *        {@link angular.Module#config Module#config()}.\n     * @returns {module} new module with the {@link angular.Module} api.\n     */\n    return function module(name, requires, configFn) {\n      var assertNotHasOwnProperty = function(name, context) {\n        if (name === 'hasOwnProperty') {\n          throw ngMinErr('badname', 'hasOwnProperty is not a valid {0} name', context);\n        }\n      };\n\n      assertNotHasOwnProperty(name, 'module');\n      if (requires && modules.hasOwnProperty(name)) {\n        modules[name] = null;\n      }\n      return ensure(modules, name, function() {\n        if (!requires) {\n          throw $injectorMinErr('nomod', \"Module '{0}' is not available! You either misspelled \" +\n             \"the module name or forgot to load it. If registering a module ensure that you \" +\n             \"specify the dependencies as the second argument.\", name);\n        }\n\n        /** @type {!Array.<Array.<*>>} */\n        var invokeQueue = [];\n\n        /** @type {!Array.<Function>} */\n        var configBlocks = [];\n\n        /** @type {!Array.<Function>} */\n        var runBlocks = [];\n\n        var config = invokeLater('$injector', 'invoke', 'push', configBlocks);\n\n        /** @type {angular.Module} */\n        var moduleInstance = {\n          // Private state\n          _invokeQueue: invokeQueue,\n          _configBlocks: configBlocks,\n          _runBlocks: runBlocks,\n\n          /**\n           * @ngdoc property\n           * @name angular.Module#requires\n           * @module ng\n           *\n           * @description\n           * Holds the list of modules which the injector will load before the current module is\n           * loaded.\n           */\n          requires: requires,\n\n          /**\n           * @ngdoc property\n           * @name angular.Module#name\n           * @module ng\n           *\n           * @description\n           * Name of the module.\n           */\n          name: name,\n\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#provider\n           * @module ng\n           * @param {string} name service name\n           * @param {Function} providerType Construction function for creating new instance of the\n           *                                service.\n           * @description\n           * See {@link auto.$provide#provider $provide.provider()}.\n           */\n          provider: invokeLaterAndSetModuleName('$provide', 'provider'),\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#factory\n           * @module ng\n           * @param {string} name service name\n           * @param {Function} providerFunction Function for creating new instance of the service.\n           * @description\n           * See {@link auto.$provide#factory $provide.factory()}.\n           */\n          factory: invokeLaterAndSetModuleName('$provide', 'factory'),\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#service\n           * @module ng\n           * @param {string} name service name\n           * @param {Function} constructor A constructor function that will be instantiated.\n           * @description\n           * See {@link auto.$provide#service $provide.service()}.\n           */\n          service: invokeLaterAndSetModuleName('$provide', 'service'),\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#value\n           * @module ng\n           * @param {string} name service name\n           * @param {*} object Service instance object.\n           * @description\n           * See {@link auto.$provide#value $provide.value()}.\n           */\n          value: invokeLater('$provide', 'value'),\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#constant\n           * @module ng\n           * @param {string} name constant name\n           * @param {*} object Constant value.\n           * @description\n           * Because the constants are fixed, they get applied before other provide methods.\n           * See {@link auto.$provide#constant $provide.constant()}.\n           */\n          constant: invokeLater('$provide', 'constant', 'unshift'),\n\n           /**\n           * @ngdoc method\n           * @name angular.Module#decorator\n           * @module ng\n           * @param {string} The name of the service to decorate.\n           * @param {Function} This function will be invoked when the service needs to be\n           *                                    instantiated and should return the decorated service instance.\n           * @description\n           * See {@link auto.$provide#decorator $provide.decorator()}.\n           */\n          decorator: invokeLaterAndSetModuleName('$provide', 'decorator'),\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#animation\n           * @module ng\n           * @param {string} name animation name\n           * @param {Function} animationFactory Factory function for creating new instance of an\n           *                                    animation.\n           * @description\n           *\n           * **NOTE**: animations take effect only if the **ngAnimate** module is loaded.\n           *\n           *\n           * Defines an animation hook that can be later used with\n           * {@link $animate $animate} service and directives that use this service.\n           *\n           * ```js\n           * module.animation('.animation-name', function($inject1, $inject2) {\n           *   return {\n           *     eventName : function(element, done) {\n           *       //code to run the animation\n           *       //once complete, then run done()\n           *       return function cancellationFunction(element) {\n           *         //code to cancel the animation\n           *       }\n           *     }\n           *   }\n           * })\n           * ```\n           *\n           * See {@link ng.$animateProvider#register $animateProvider.register()} and\n           * {@link ngAnimate ngAnimate module} for more information.\n           */\n          animation: invokeLaterAndSetModuleName('$animateProvider', 'register'),\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#filter\n           * @module ng\n           * @param {string} name Filter name - this must be a valid angular expression identifier\n           * @param {Function} filterFactory Factory function for creating new instance of filter.\n           * @description\n           * See {@link ng.$filterProvider#register $filterProvider.register()}.\n           *\n           * <div class=\"alert alert-warning\">\n           * **Note:** Filter names must be valid angular {@link expression} identifiers, such as `uppercase` or `orderBy`.\n           * Names with special characters, such as hyphens and dots, are not allowed. If you wish to namespace\n           * your filters, then you can use capitalization (`myappSubsectionFilterx`) or underscores\n           * (`myapp_subsection_filterx`).\n           * </div>\n           */\n          filter: invokeLaterAndSetModuleName('$filterProvider', 'register'),\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#controller\n           * @module ng\n           * @param {string|Object} name Controller name, or an object map of controllers where the\n           *    keys are the names and the values are the constructors.\n           * @param {Function} constructor Controller constructor function.\n           * @description\n           * See {@link ng.$controllerProvider#register $controllerProvider.register()}.\n           */\n          controller: invokeLaterAndSetModuleName('$controllerProvider', 'register'),\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#directive\n           * @module ng\n           * @param {string|Object} name Directive name, or an object map of directives where the\n           *    keys are the names and the values are the factories.\n           * @param {Function} directiveFactory Factory function for creating new instance of\n           * directives.\n           * @description\n           * See {@link ng.$compileProvider#directive $compileProvider.directive()}.\n           */\n          directive: invokeLaterAndSetModuleName('$compileProvider', 'directive'),\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#config\n           * @module ng\n           * @param {Function} configFn Execute this function on module load. Useful for service\n           *    configuration.\n           * @description\n           * Use this method to register work which needs to be performed on module loading.\n           * For more about how to configure services, see\n           * {@link providers#provider-recipe Provider Recipe}.\n           */\n          config: config,\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#run\n           * @module ng\n           * @param {Function} initializationFn Execute this function after injector creation.\n           *    Useful for application initialization.\n           * @description\n           * Use this method to register work which should be performed when the injector is done\n           * loading all modules.\n           */\n          run: function(block) {\n            runBlocks.push(block);\n            return this;\n          }\n        };\n\n        if (configFn) {\n          config(configFn);\n        }\n\n        return moduleInstance;\n\n        /**\n         * @param {string} provider\n         * @param {string} method\n         * @param {String=} insertMethod\n         * @returns {angular.Module}\n         */\n        function invokeLater(provider, method, insertMethod, queue) {\n          if (!queue) queue = invokeQueue;\n          return function() {\n            queue[insertMethod || 'push']([provider, method, arguments]);\n            return moduleInstance;\n          };\n        }\n\n        /**\n         * @param {string} provider\n         * @param {string} method\n         * @returns {angular.Module}\n         */\n        function invokeLaterAndSetModuleName(provider, method) {\n          return function(recipeName, factoryFunction) {\n            if (factoryFunction && isFunction(factoryFunction)) factoryFunction.$$moduleName = name;\n            invokeQueue.push([provider, method, arguments]);\n            return moduleInstance;\n          };\n        }\n      });\n    };\n  });\n\n}\n\n/* global: toDebugString: true */\n\nfunction serializeObject(obj) {\n  var seen = [];\n\n  return JSON.stringify(obj, function(key, val) {\n    val = toJsonReplacer(key, val);\n    if (isObject(val)) {\n\n      if (seen.indexOf(val) >= 0) return '...';\n\n      seen.push(val);\n    }\n    return val;\n  });\n}\n\nfunction toDebugString(obj) {\n  if (typeof obj === 'function') {\n    return obj.toString().replace(/ \\{[\\s\\S]*$/, '');\n  } else if (isUndefined(obj)) {\n    return 'undefined';\n  } else if (typeof obj !== 'string') {\n    return serializeObject(obj);\n  }\n  return obj;\n}\n\n/* global angularModule: true,\n  version: true,\n\n  $CompileProvider,\n\n  htmlAnchorDirective,\n  inputDirective,\n  inputDirective,\n  formDirective,\n  scriptDirective,\n  selectDirective,\n  styleDirective,\n  optionDirective,\n  ngBindDirective,\n  ngBindHtmlDirective,\n  ngBindTemplateDirective,\n  ngClassDirective,\n  ngClassEvenDirective,\n  ngClassOddDirective,\n  ngCloakDirective,\n  ngControllerDirective,\n  ngFormDirective,\n  ngHideDirective,\n  ngIfDirective,\n  ngIncludeDirective,\n  ngIncludeFillContentDirective,\n  ngInitDirective,\n  ngNonBindableDirective,\n  ngPluralizeDirective,\n  ngRepeatDirective,\n  ngShowDirective,\n  ngStyleDirective,\n  ngSwitchDirective,\n  ngSwitchWhenDirective,\n  ngSwitchDefaultDirective,\n  ngOptionsDirective,\n  ngTranscludeDirective,\n  ngModelDirective,\n  ngListDirective,\n  ngChangeDirective,\n  patternDirective,\n  patternDirective,\n  requiredDirective,\n  requiredDirective,\n  minlengthDirective,\n  minlengthDirective,\n  maxlengthDirective,\n  maxlengthDirective,\n  ngValueDirective,\n  ngModelOptionsDirective,\n  ngAttributeAliasDirectives,\n  ngEventDirectives,\n\n  $AnchorScrollProvider,\n  $AnimateProvider,\n  $CoreAnimateCssProvider,\n  $$CoreAnimateQueueProvider,\n  $$CoreAnimateRunnerProvider,\n  $BrowserProvider,\n  $CacheFactoryProvider,\n  $ControllerProvider,\n  $DocumentProvider,\n  $ExceptionHandlerProvider,\n  $FilterProvider,\n  $$ForceReflowProvider,\n  $InterpolateProvider,\n  $IntervalProvider,\n  $$HashMapProvider,\n  $HttpProvider,\n  $HttpParamSerializerProvider,\n  $HttpParamSerializerJQLikeProvider,\n  $HttpBackendProvider,\n  $xhrFactoryProvider,\n  $LocationProvider,\n  $LogProvider,\n  $ParseProvider,\n  $RootScopeProvider,\n  $QProvider,\n  $$QProvider,\n  $$SanitizeUriProvider,\n  $SceProvider,\n  $SceDelegateProvider,\n  $SnifferProvider,\n  $TemplateCacheProvider,\n  $TemplateRequestProvider,\n  $$TestabilityProvider,\n  $TimeoutProvider,\n  $$RAFProvider,\n  $WindowProvider,\n  $$jqLiteProvider,\n  $$CookieReaderProvider\n*/\n\n\n/**\n * @ngdoc object\n * @name angular.version\n * @module ng\n * @description\n * An object that contains information about the current AngularJS version.\n *\n * This object has the following properties:\n *\n * - `full` – `{string}` – Full version string, such as \"0.9.18\".\n * - `major` – `{number}` – Major version number, such as \"0\".\n * - `minor` – `{number}` – Minor version number, such as \"9\".\n * - `dot` – `{number}` – Dot version number, such as \"18\".\n * - `codeName` – `{string}` – Code name of the release, such as \"jiggling-armfat\".\n */\nvar version = {\n  full: '1.4.8',    // all of these placeholder strings will be replaced by grunt's\n  major: 1,    // package task\n  minor: 4,\n  dot: 8,\n  codeName: 'ice-manipulation'\n};\n\n\nfunction publishExternalAPI(angular) {\n  extend(angular, {\n    'bootstrap': bootstrap,\n    'copy': copy,\n    'extend': extend,\n    'merge': merge,\n    'equals': equals,\n    'element': jqLite,\n    'forEach': forEach,\n    'injector': createInjector,\n    'noop': noop,\n    'bind': bind,\n    'toJson': toJson,\n    'fromJson': fromJson,\n    'identity': identity,\n    'isUndefined': isUndefined,\n    'isDefined': isDefined,\n    'isString': isString,\n    'isFunction': isFunction,\n    'isObject': isObject,\n    'isNumber': isNumber,\n    'isElement': isElement,\n    'isArray': isArray,\n    'version': version,\n    'isDate': isDate,\n    'lowercase': lowercase,\n    'uppercase': uppercase,\n    'callbacks': {counter: 0},\n    'getTestability': getTestability,\n    '$$minErr': minErr,\n    '$$csp': csp,\n    'reloadWithDebugInfo': reloadWithDebugInfo\n  });\n\n  angularModule = setupModuleLoader(window);\n\n  angularModule('ng', ['ngLocale'], ['$provide',\n    function ngModule($provide) {\n      // $$sanitizeUriProvider needs to be before $compileProvider as it is used by it.\n      $provide.provider({\n        $$sanitizeUri: $$SanitizeUriProvider\n      });\n      $provide.provider('$compile', $CompileProvider).\n        directive({\n            a: htmlAnchorDirective,\n            input: inputDirective,\n            textarea: inputDirective,\n            form: formDirective,\n            script: scriptDirective,\n            select: selectDirective,\n            style: styleDirective,\n            option: optionDirective,\n            ngBind: ngBindDirective,\n            ngBindHtml: ngBindHtmlDirective,\n            ngBindTemplate: ngBindTemplateDirective,\n            ngClass: ngClassDirective,\n            ngClassEven: ngClassEvenDirective,\n            ngClassOdd: ngClassOddDirective,\n            ngCloak: ngCloakDirective,\n            ngController: ngControllerDirective,\n            ngForm: ngFormDirective,\n            ngHide: ngHideDirective,\n            ngIf: ngIfDirective,\n            ngInclude: ngIncludeDirective,\n            ngInit: ngInitDirective,\n            ngNonBindable: ngNonBindableDirective,\n            ngPluralize: ngPluralizeDirective,\n            ngRepeat: ngRepeatDirective,\n            ngShow: ngShowDirective,\n            ngStyle: ngStyleDirective,\n            ngSwitch: ngSwitchDirective,\n            ngSwitchWhen: ngSwitchWhenDirective,\n            ngSwitchDefault: ngSwitchDefaultDirective,\n            ngOptions: ngOptionsDirective,\n            ngTransclude: ngTranscludeDirective,\n            ngModel: ngModelDirective,\n            ngList: ngListDirective,\n            ngChange: ngChangeDirective,\n            pattern: patternDirective,\n            ngPattern: patternDirective,\n            required: requiredDirective,\n            ngRequired: requiredDirective,\n            minlength: minlengthDirective,\n            ngMinlength: minlengthDirective,\n            maxlength: maxlengthDirective,\n            ngMaxlength: maxlengthDirective,\n            ngValue: ngValueDirective,\n            ngModelOptions: ngModelOptionsDirective\n        }).\n        directive({\n          ngInclude: ngIncludeFillContentDirective\n        }).\n        directive(ngAttributeAliasDirectives).\n        directive(ngEventDirectives);\n      $provide.provider({\n        $anchorScroll: $AnchorScrollProvider,\n        $animate: $AnimateProvider,\n        $animateCss: $CoreAnimateCssProvider,\n        $$animateQueue: $$CoreAnimateQueueProvider,\n        $$AnimateRunner: $$CoreAnimateRunnerProvider,\n        $browser: $BrowserProvider,\n        $cacheFactory: $CacheFactoryProvider,\n        $controller: $ControllerProvider,\n        $document: $DocumentProvider,\n        $exceptionHandler: $ExceptionHandlerProvider,\n        $filter: $FilterProvider,\n        $$forceReflow: $$ForceReflowProvider,\n        $interpolate: $InterpolateProvider,\n        $interval: $IntervalProvider,\n        $http: $HttpProvider,\n        $httpParamSerializer: $HttpParamSerializerProvider,\n        $httpParamSerializerJQLike: $HttpParamSerializerJQLikeProvider,\n        $httpBackend: $HttpBackendProvider,\n        $xhrFactory: $xhrFactoryProvider,\n        $location: $LocationProvider,\n        $log: $LogProvider,\n        $parse: $ParseProvider,\n        $rootScope: $RootScopeProvider,\n        $q: $QProvider,\n        $$q: $$QProvider,\n        $sce: $SceProvider,\n        $sceDelegate: $SceDelegateProvider,\n        $sniffer: $SnifferProvider,\n        $templateCache: $TemplateCacheProvider,\n        $templateRequest: $TemplateRequestProvider,\n        $$testability: $$TestabilityProvider,\n        $timeout: $TimeoutProvider,\n        $window: $WindowProvider,\n        $$rAF: $$RAFProvider,\n        $$jqLite: $$jqLiteProvider,\n        $$HashMap: $$HashMapProvider,\n        $$cookieReader: $$CookieReaderProvider\n      });\n    }\n  ]);\n}\n\n/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n *     Any commits to this file should be reviewed with security in mind.  *\n *   Changes to this file can potentially create security vulnerabilities. *\n *          An approval from 2 Core members with history of modifying      *\n *                         this file is required.                          *\n *                                                                         *\n *  Does the change somehow allow for arbitrary javascript to be executed? *\n *    Or allows for someone to change the prototype of built-in objects?   *\n *     Or gives undesired access to variables likes document or window?    *\n * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */\n\n/* global JQLitePrototype: true,\n  addEventListenerFn: true,\n  removeEventListenerFn: true,\n  BOOLEAN_ATTR: true,\n  ALIASED_ATTR: true,\n*/\n\n//////////////////////////////////\n//JQLite\n//////////////////////////////////\n\n/**\n * @ngdoc function\n * @name angular.element\n * @module ng\n * @kind function\n *\n * @description\n * Wraps a raw DOM element or HTML string as a [jQuery](http://jquery.com) element.\n *\n * If jQuery is available, `angular.element` is an alias for the\n * [jQuery](http://api.jquery.com/jQuery/) function. If jQuery is not available, `angular.element`\n * delegates to Angular's built-in subset of jQuery, called \"jQuery lite\" or \"jqLite.\"\n *\n * <div class=\"alert alert-success\">jqLite is a tiny, API-compatible subset of jQuery that allows\n * Angular to manipulate the DOM in a cross-browser compatible way. **jqLite** implements only the most\n * commonly needed functionality with the goal of having a very small footprint.</div>\n *\n * To use `jQuery`, simply ensure it is loaded before the `angular.js` file.\n *\n * <div class=\"alert\">**Note:** all element references in Angular are always wrapped with jQuery or\n * jqLite; they are never raw DOM references.</div>\n *\n * ## Angular's jqLite\n * jqLite provides only the following jQuery methods:\n *\n * - [`addClass()`](http://api.jquery.com/addClass/)\n * - [`after()`](http://api.jquery.com/after/)\n * - [`append()`](http://api.jquery.com/append/)\n * - [`attr()`](http://api.jquery.com/attr/) - Does not support functions as parameters\n * - [`bind()`](http://api.jquery.com/bind/) - Does not support namespaces, selectors or eventData\n * - [`children()`](http://api.jquery.com/children/) - Does not support selectors\n * - [`clone()`](http://api.jquery.com/clone/)\n * - [`contents()`](http://api.jquery.com/contents/)\n * - [`css()`](http://api.jquery.com/css/) - Only retrieves inline-styles, does not call `getComputedStyle()`. As a setter, does not convert numbers to strings or append 'px'.\n * - [`data()`](http://api.jquery.com/data/)\n * - [`detach()`](http://api.jquery.com/detach/)\n * - [`empty()`](http://api.jquery.com/empty/)\n * - [`eq()`](http://api.jquery.com/eq/)\n * - [`find()`](http://api.jquery.com/find/) - Limited to lookups by tag name\n * - [`hasClass()`](http://api.jquery.com/hasClass/)\n * - [`html()`](http://api.jquery.com/html/)\n * - [`next()`](http://api.jquery.com/next/) - Does not support selectors\n * - [`on()`](http://api.jquery.com/on/) - Does not support namespaces, selectors or eventData\n * - [`off()`](http://api.jquery.com/off/) - Does not support namespaces, selectors or event object as parameter\n * - [`one()`](http://api.jquery.com/one/) - Does not support namespaces or selectors\n * - [`parent()`](http://api.jquery.com/parent/) - Does not support selectors\n * - [`prepend()`](http://api.jquery.com/prepend/)\n * - [`prop()`](http://api.jquery.com/prop/)\n * - [`ready()`](http://api.jquery.com/ready/)\n * - [`remove()`](http://api.jquery.com/remove/)\n * - [`removeAttr()`](http://api.jquery.com/removeAttr/)\n * - [`removeClass()`](http://api.jquery.com/removeClass/)\n * - [`removeData()`](http://api.jquery.com/removeData/)\n * - [`replaceWith()`](http://api.jquery.com/replaceWith/)\n * - [`text()`](http://api.jquery.com/text/)\n * - [`toggleClass()`](http://api.jquery.com/toggleClass/)\n * - [`triggerHandler()`](http://api.jquery.com/triggerHandler/) - Passes a dummy event object to handlers.\n * - [`unbind()`](http://api.jquery.com/unbind/) - Does not support namespaces or event object as parameter\n * - [`val()`](http://api.jquery.com/val/)\n * - [`wrap()`](http://api.jquery.com/wrap/)\n *\n * ## jQuery/jqLite Extras\n * Angular also provides the following additional methods and events to both jQuery and jqLite:\n *\n * ### Events\n * - `$destroy` - AngularJS intercepts all jqLite/jQuery's DOM destruction apis and fires this event\n *    on all DOM nodes being removed.  This can be used to clean up any 3rd party bindings to the DOM\n *    element before it is removed.\n *\n * ### Methods\n * - `controller(name)` - retrieves the controller of the current element or its parent. By default\n *   retrieves controller associated with the `ngController` directive. If `name` is provided as\n *   camelCase directive name, then the controller for this directive will be retrieved (e.g.\n *   `'ngModel'`).\n * - `injector()` - retrieves the injector of the current element or its parent.\n * - `scope()` - retrieves the {@link ng.$rootScope.Scope scope} of the current\n *   element or its parent. Requires {@link guide/production#disabling-debug-data Debug Data} to\n *   be enabled.\n * - `isolateScope()` - retrieves an isolate {@link ng.$rootScope.Scope scope} if one is attached directly to the\n *   current element. This getter should be used only on elements that contain a directive which starts a new isolate\n *   scope. Calling `scope()` on this element always returns the original non-isolate scope.\n *   Requires {@link guide/production#disabling-debug-data Debug Data} to be enabled.\n * - `inheritedData()` - same as `data()`, but walks up the DOM until a value is found or the top\n *   parent element is reached.\n *\n * @param {string|DOMElement} element HTML string or DOMElement to be wrapped into jQuery.\n * @returns {Object} jQuery object.\n */\n\nJQLite.expando = 'ng339';\n\nvar jqCache = JQLite.cache = {},\n    jqId = 1,\n    addEventListenerFn = function(element, type, fn) {\n      element.addEventListener(type, fn, false);\n    },\n    removeEventListenerFn = function(element, type, fn) {\n      element.removeEventListener(type, fn, false);\n    };\n\n/*\n * !!! This is an undocumented \"private\" function !!!\n */\nJQLite._data = function(node) {\n  //jQuery always returns an object on cache miss\n  return this.cache[node[this.expando]] || {};\n};\n\nfunction jqNextId() { return ++jqId; }\n\n\nvar SPECIAL_CHARS_REGEXP = /([\\:\\-\\_]+(.))/g;\nvar MOZ_HACK_REGEXP = /^moz([A-Z])/;\nvar MOUSE_EVENT_MAP= { mouseleave: \"mouseout\", mouseenter: \"mouseover\"};\nvar jqLiteMinErr = minErr('jqLite');\n\n/**\n * Converts snake_case to camelCase.\n * Also there is special case for Moz prefix starting with upper case letter.\n * @param name Name to normalize\n */\nfunction camelCase(name) {\n  return name.\n    replace(SPECIAL_CHARS_REGEXP, function(_, separator, letter, offset) {\n      return offset ? letter.toUpperCase() : letter;\n    }).\n    replace(MOZ_HACK_REGEXP, 'Moz$1');\n}\n\nvar SINGLE_TAG_REGEXP = /^<([\\w-]+)\\s*\\/?>(?:<\\/\\1>|)$/;\nvar HTML_REGEXP = /<|&#?\\w+;/;\nvar TAG_NAME_REGEXP = /<([\\w:-]+)/;\nvar XHTML_TAG_REGEXP = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\\w:-]+)[^>]*)\\/>/gi;\n\nvar wrapMap = {\n  'option': [1, '<select multiple=\"multiple\">', '</select>'],\n\n  'thead': [1, '<table>', '</table>'],\n  'col': [2, '<table><colgroup>', '</colgroup></table>'],\n  'tr': [2, '<table><tbody>', '</tbody></table>'],\n  'td': [3, '<table><tbody><tr>', '</tr></tbody></table>'],\n  '_default': [0, \"\", \"\"]\n};\n\nwrapMap.optgroup = wrapMap.option;\nwrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;\nwrapMap.th = wrapMap.td;\n\n\nfunction jqLiteIsTextNode(html) {\n  return !HTML_REGEXP.test(html);\n}\n\nfunction jqLiteAcceptsData(node) {\n  // The window object can accept data but has no nodeType\n  // Otherwise we are only interested in elements (1) and documents (9)\n  var nodeType = node.nodeType;\n  return nodeType === NODE_TYPE_ELEMENT || !nodeType || nodeType === NODE_TYPE_DOCUMENT;\n}\n\nfunction jqLiteHasData(node) {\n  for (var key in jqCache[node.ng339]) {\n    return true;\n  }\n  return false;\n}\n\nfunction jqLiteBuildFragment(html, context) {\n  var tmp, tag, wrap,\n      fragment = context.createDocumentFragment(),\n      nodes = [], i;\n\n  if (jqLiteIsTextNode(html)) {\n    // Convert non-html into a text node\n    nodes.push(context.createTextNode(html));\n  } else {\n    // Convert html into DOM nodes\n    tmp = tmp || fragment.appendChild(context.createElement(\"div\"));\n    tag = (TAG_NAME_REGEXP.exec(html) || [\"\", \"\"])[1].toLowerCase();\n    wrap = wrapMap[tag] || wrapMap._default;\n    tmp.innerHTML = wrap[1] + html.replace(XHTML_TAG_REGEXP, \"<$1></$2>\") + wrap[2];\n\n    // Descend through wrappers to the right content\n    i = wrap[0];\n    while (i--) {\n      tmp = tmp.lastChild;\n    }\n\n    nodes = concat(nodes, tmp.childNodes);\n\n    tmp = fragment.firstChild;\n    tmp.textContent = \"\";\n  }\n\n  // Remove wrapper from fragment\n  fragment.textContent = \"\";\n  fragment.innerHTML = \"\"; // Clear inner HTML\n  forEach(nodes, function(node) {\n    fragment.appendChild(node);\n  });\n\n  return fragment;\n}\n\nfunction jqLiteParseHTML(html, context) {\n  context = context || document;\n  var parsed;\n\n  if ((parsed = SINGLE_TAG_REGEXP.exec(html))) {\n    return [context.createElement(parsed[1])];\n  }\n\n  if ((parsed = jqLiteBuildFragment(html, context))) {\n    return parsed.childNodes;\n  }\n\n  return [];\n}\n\n\n// IE9-11 has no method \"contains\" in SVG element and in Node.prototype. Bug #10259.\nvar jqLiteContains = Node.prototype.contains || function(arg) {\n  // jshint bitwise: false\n  return !!(this.compareDocumentPosition(arg) & 16);\n  // jshint bitwise: true\n};\n\n/////////////////////////////////////////////\nfunction JQLite(element) {\n  if (element instanceof JQLite) {\n    return element;\n  }\n\n  var argIsString;\n\n  if (isString(element)) {\n    element = trim(element);\n    argIsString = true;\n  }\n  if (!(this instanceof JQLite)) {\n    if (argIsString && element.charAt(0) != '<') {\n      throw jqLiteMinErr('nosel', 'Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element');\n    }\n    return new JQLite(element);\n  }\n\n  if (argIsString) {\n    jqLiteAddNodes(this, jqLiteParseHTML(element));\n  } else {\n    jqLiteAddNodes(this, element);\n  }\n}\n\nfunction jqLiteClone(element) {\n  return element.cloneNode(true);\n}\n\nfunction jqLiteDealoc(element, onlyDescendants) {\n  if (!onlyDescendants) jqLiteRemoveData(element);\n\n  if (element.querySelectorAll) {\n    var descendants = element.querySelectorAll('*');\n    for (var i = 0, l = descendants.length; i < l; i++) {\n      jqLiteRemoveData(descendants[i]);\n    }\n  }\n}\n\nfunction jqLiteOff(element, type, fn, unsupported) {\n  if (isDefined(unsupported)) throw jqLiteMinErr('offargs', 'jqLite#off() does not support the `selector` argument');\n\n  var expandoStore = jqLiteExpandoStore(element);\n  var events = expandoStore && expandoStore.events;\n  var handle = expandoStore && expandoStore.handle;\n\n  if (!handle) return; //no listeners registered\n\n  if (!type) {\n    for (type in events) {\n      if (type !== '$destroy') {\n        removeEventListenerFn(element, type, handle);\n      }\n      delete events[type];\n    }\n  } else {\n\n    var removeHandler = function(type) {\n      var listenerFns = events[type];\n      if (isDefined(fn)) {\n        arrayRemove(listenerFns || [], fn);\n      }\n      if (!(isDefined(fn) && listenerFns && listenerFns.length > 0)) {\n        removeEventListenerFn(element, type, handle);\n        delete events[type];\n      }\n    };\n\n    forEach(type.split(' '), function(type) {\n      removeHandler(type);\n      if (MOUSE_EVENT_MAP[type]) {\n        removeHandler(MOUSE_EVENT_MAP[type]);\n      }\n    });\n  }\n}\n\nfunction jqLiteRemoveData(element, name) {\n  var expandoId = element.ng339;\n  var expandoStore = expandoId && jqCache[expandoId];\n\n  if (expandoStore) {\n    if (name) {\n      delete expandoStore.data[name];\n      return;\n    }\n\n    if (expandoStore.handle) {\n      if (expandoStore.events.$destroy) {\n        expandoStore.handle({}, '$destroy');\n      }\n      jqLiteOff(element);\n    }\n    delete jqCache[expandoId];\n    element.ng339 = undefined; // don't delete DOM expandos. IE and Chrome don't like it\n  }\n}\n\n\nfunction jqLiteExpandoStore(element, createIfNecessary) {\n  var expandoId = element.ng339,\n      expandoStore = expandoId && jqCache[expandoId];\n\n  if (createIfNecessary && !expandoStore) {\n    element.ng339 = expandoId = jqNextId();\n    expandoStore = jqCache[expandoId] = {events: {}, data: {}, handle: undefined};\n  }\n\n  return expandoStore;\n}\n\n\nfunction jqLiteData(element, key, value) {\n  if (jqLiteAcceptsData(element)) {\n\n    var isSimpleSetter = isDefined(value);\n    var isSimpleGetter = !isSimpleSetter && key && !isObject(key);\n    var massGetter = !key;\n    var expandoStore = jqLiteExpandoStore(element, !isSimpleGetter);\n    var data = expandoStore && expandoStore.data;\n\n    if (isSimpleSetter) { // data('key', value)\n      data[key] = value;\n    } else {\n      if (massGetter) {  // data()\n        return data;\n      } else {\n        if (isSimpleGetter) { // data('key')\n          // don't force creation of expandoStore if it doesn't exist yet\n          return data && data[key];\n        } else { // mass-setter: data({key1: val1, key2: val2})\n          extend(data, key);\n        }\n      }\n    }\n  }\n}\n\nfunction jqLiteHasClass(element, selector) {\n  if (!element.getAttribute) return false;\n  return ((\" \" + (element.getAttribute('class') || '') + \" \").replace(/[\\n\\t]/g, \" \").\n      indexOf(\" \" + selector + \" \") > -1);\n}\n\nfunction jqLiteRemoveClass(element, cssClasses) {\n  if (cssClasses && element.setAttribute) {\n    forEach(cssClasses.split(' '), function(cssClass) {\n      element.setAttribute('class', trim(\n          (\" \" + (element.getAttribute('class') || '') + \" \")\n          .replace(/[\\n\\t]/g, \" \")\n          .replace(\" \" + trim(cssClass) + \" \", \" \"))\n      );\n    });\n  }\n}\n\nfunction jqLiteAddClass(element, cssClasses) {\n  if (cssClasses && element.setAttribute) {\n    var existingClasses = (' ' + (element.getAttribute('class') || '') + ' ')\n                            .replace(/[\\n\\t]/g, \" \");\n\n    forEach(cssClasses.split(' '), function(cssClass) {\n      cssClass = trim(cssClass);\n      if (existingClasses.indexOf(' ' + cssClass + ' ') === -1) {\n        existingClasses += cssClass + ' ';\n      }\n    });\n\n    element.setAttribute('class', trim(existingClasses));\n  }\n}\n\n\nfunction jqLiteAddNodes(root, elements) {\n  // THIS CODE IS VERY HOT. Don't make changes without benchmarking.\n\n  if (elements) {\n\n    // if a Node (the most common case)\n    if (elements.nodeType) {\n      root[root.length++] = elements;\n    } else {\n      var length = elements.length;\n\n      // if an Array or NodeList and not a Window\n      if (typeof length === 'number' && elements.window !== elements) {\n        if (length) {\n          for (var i = 0; i < length; i++) {\n            root[root.length++] = elements[i];\n          }\n        }\n      } else {\n        root[root.length++] = elements;\n      }\n    }\n  }\n}\n\n\nfunction jqLiteController(element, name) {\n  return jqLiteInheritedData(element, '$' + (name || 'ngController') + 'Controller');\n}\n\nfunction jqLiteInheritedData(element, name, value) {\n  // if element is the document object work with the html element instead\n  // this makes $(document).scope() possible\n  if (element.nodeType == NODE_TYPE_DOCUMENT) {\n    element = element.documentElement;\n  }\n  var names = isArray(name) ? name : [name];\n\n  while (element) {\n    for (var i = 0, ii = names.length; i < ii; i++) {\n      if (isDefined(value = jqLite.data(element, names[i]))) return value;\n    }\n\n    // If dealing with a document fragment node with a host element, and no parent, use the host\n    // element as the parent. This enables directives within a Shadow DOM or polyfilled Shadow DOM\n    // to lookup parent controllers.\n    element = element.parentNode || (element.nodeType === NODE_TYPE_DOCUMENT_FRAGMENT && element.host);\n  }\n}\n\nfunction jqLiteEmpty(element) {\n  jqLiteDealoc(element, true);\n  while (element.firstChild) {\n    element.removeChild(element.firstChild);\n  }\n}\n\nfunction jqLiteRemove(element, keepData) {\n  if (!keepData) jqLiteDealoc(element);\n  var parent = element.parentNode;\n  if (parent) parent.removeChild(element);\n}\n\n\nfunction jqLiteDocumentLoaded(action, win) {\n  win = win || window;\n  if (win.document.readyState === 'complete') {\n    // Force the action to be run async for consistent behaviour\n    // from the action's point of view\n    // i.e. it will definitely not be in a $apply\n    win.setTimeout(action);\n  } else {\n    // No need to unbind this handler as load is only ever called once\n    jqLite(win).on('load', action);\n  }\n}\n\n//////////////////////////////////////////\n// Functions which are declared directly.\n//////////////////////////////////////////\nvar JQLitePrototype = JQLite.prototype = {\n  ready: function(fn) {\n    var fired = false;\n\n    function trigger() {\n      if (fired) return;\n      fired = true;\n      fn();\n    }\n\n    // check if document is already loaded\n    if (document.readyState === 'complete') {\n      setTimeout(trigger);\n    } else {\n      this.on('DOMContentLoaded', trigger); // works for modern browsers and IE9\n      // we can not use jqLite since we are not done loading and jQuery could be loaded later.\n      // jshint -W064\n      JQLite(window).on('load', trigger); // fallback to window.onload for others\n      // jshint +W064\n    }\n  },\n  toString: function() {\n    var value = [];\n    forEach(this, function(e) { value.push('' + e);});\n    return '[' + value.join(', ') + ']';\n  },\n\n  eq: function(index) {\n      return (index >= 0) ? jqLite(this[index]) : jqLite(this[this.length + index]);\n  },\n\n  length: 0,\n  push: push,\n  sort: [].sort,\n  splice: [].splice\n};\n\n//////////////////////////////////////////\n// Functions iterating getter/setters.\n// these functions return self on setter and\n// value on get.\n//////////////////////////////////////////\nvar BOOLEAN_ATTR = {};\nforEach('multiple,selected,checked,disabled,readOnly,required,open'.split(','), function(value) {\n  BOOLEAN_ATTR[lowercase(value)] = value;\n});\nvar BOOLEAN_ELEMENTS = {};\nforEach('input,select,option,textarea,button,form,details'.split(','), function(value) {\n  BOOLEAN_ELEMENTS[value] = true;\n});\nvar ALIASED_ATTR = {\n  'ngMinlength': 'minlength',\n  'ngMaxlength': 'maxlength',\n  'ngMin': 'min',\n  'ngMax': 'max',\n  'ngPattern': 'pattern'\n};\n\nfunction getBooleanAttrName(element, name) {\n  // check dom last since we will most likely fail on name\n  var booleanAttr = BOOLEAN_ATTR[name.toLowerCase()];\n\n  // booleanAttr is here twice to minimize DOM access\n  return booleanAttr && BOOLEAN_ELEMENTS[nodeName_(element)] && booleanAttr;\n}\n\nfunction getAliasedAttrName(name) {\n  return ALIASED_ATTR[name];\n}\n\nforEach({\n  data: jqLiteData,\n  removeData: jqLiteRemoveData,\n  hasData: jqLiteHasData\n}, function(fn, name) {\n  JQLite[name] = fn;\n});\n\nforEach({\n  data: jqLiteData,\n  inheritedData: jqLiteInheritedData,\n\n  scope: function(element) {\n    // Can't use jqLiteData here directly so we stay compatible with jQuery!\n    return jqLite.data(element, '$scope') || jqLiteInheritedData(element.parentNode || element, ['$isolateScope', '$scope']);\n  },\n\n  isolateScope: function(element) {\n    // Can't use jqLiteData here directly so we stay compatible with jQuery!\n    return jqLite.data(element, '$isolateScope') || jqLite.data(element, '$isolateScopeNoTemplate');\n  },\n\n  controller: jqLiteController,\n\n  injector: function(element) {\n    return jqLiteInheritedData(element, '$injector');\n  },\n\n  removeAttr: function(element, name) {\n    element.removeAttribute(name);\n  },\n\n  hasClass: jqLiteHasClass,\n\n  css: function(element, name, value) {\n    name = camelCase(name);\n\n    if (isDefined(value)) {\n      element.style[name] = value;\n    } else {\n      return element.style[name];\n    }\n  },\n\n  attr: function(element, name, value) {\n    var nodeType = element.nodeType;\n    if (nodeType === NODE_TYPE_TEXT || nodeType === NODE_TYPE_ATTRIBUTE || nodeType === NODE_TYPE_COMMENT) {\n      return;\n    }\n    var lowercasedName = lowercase(name);\n    if (BOOLEAN_ATTR[lowercasedName]) {\n      if (isDefined(value)) {\n        if (!!value) {\n          element[name] = true;\n          element.setAttribute(name, lowercasedName);\n        } else {\n          element[name] = false;\n          element.removeAttribute(lowercasedName);\n        }\n      } else {\n        return (element[name] ||\n                 (element.attributes.getNamedItem(name) || noop).specified)\n               ? lowercasedName\n               : undefined;\n      }\n    } else if (isDefined(value)) {\n      element.setAttribute(name, value);\n    } else if (element.getAttribute) {\n      // the extra argument \"2\" is to get the right thing for a.href in IE, see jQuery code\n      // some elements (e.g. Document) don't have get attribute, so return undefined\n      var ret = element.getAttribute(name, 2);\n      // normalize non-existing attributes to undefined (as jQuery)\n      return ret === null ? undefined : ret;\n    }\n  },\n\n  prop: function(element, name, value) {\n    if (isDefined(value)) {\n      element[name] = value;\n    } else {\n      return element[name];\n    }\n  },\n\n  text: (function() {\n    getText.$dv = '';\n    return getText;\n\n    function getText(element, value) {\n      if (isUndefined(value)) {\n        var nodeType = element.nodeType;\n        return (nodeType === NODE_TYPE_ELEMENT || nodeType === NODE_TYPE_TEXT) ? element.textContent : '';\n      }\n      element.textContent = value;\n    }\n  })(),\n\n  val: function(element, value) {\n    if (isUndefined(value)) {\n      if (element.multiple && nodeName_(element) === 'select') {\n        var result = [];\n        forEach(element.options, function(option) {\n          if (option.selected) {\n            result.push(option.value || option.text);\n          }\n        });\n        return result.length === 0 ? null : result;\n      }\n      return element.value;\n    }\n    element.value = value;\n  },\n\n  html: function(element, value) {\n    if (isUndefined(value)) {\n      return element.innerHTML;\n    }\n    jqLiteDealoc(element, true);\n    element.innerHTML = value;\n  },\n\n  empty: jqLiteEmpty\n}, function(fn, name) {\n  /**\n   * Properties: writes return selection, reads return first value\n   */\n  JQLite.prototype[name] = function(arg1, arg2) {\n    var i, key;\n    var nodeCount = this.length;\n\n    // jqLiteHasClass has only two arguments, but is a getter-only fn, so we need to special-case it\n    // in a way that survives minification.\n    // jqLiteEmpty takes no arguments but is a setter.\n    if (fn !== jqLiteEmpty &&\n        (isUndefined((fn.length == 2 && (fn !== jqLiteHasClass && fn !== jqLiteController)) ? arg1 : arg2))) {\n      if (isObject(arg1)) {\n\n        // we are a write, but the object properties are the key/values\n        for (i = 0; i < nodeCount; i++) {\n          if (fn === jqLiteData) {\n            // data() takes the whole object in jQuery\n            fn(this[i], arg1);\n          } else {\n            for (key in arg1) {\n              fn(this[i], key, arg1[key]);\n            }\n          }\n        }\n        // return self for chaining\n        return this;\n      } else {\n        // we are a read, so read the first child.\n        // TODO: do we still need this?\n        var value = fn.$dv;\n        // Only if we have $dv do we iterate over all, otherwise it is just the first element.\n        var jj = (isUndefined(value)) ? Math.min(nodeCount, 1) : nodeCount;\n        for (var j = 0; j < jj; j++) {\n          var nodeValue = fn(this[j], arg1, arg2);\n          value = value ? value + nodeValue : nodeValue;\n        }\n        return value;\n      }\n    } else {\n      // we are a write, so apply to all children\n      for (i = 0; i < nodeCount; i++) {\n        fn(this[i], arg1, arg2);\n      }\n      // return self for chaining\n      return this;\n    }\n  };\n});\n\nfunction createEventHandler(element, events) {\n  var eventHandler = function(event, type) {\n    // jQuery specific api\n    event.isDefaultPrevented = function() {\n      return event.defaultPrevented;\n    };\n\n    var eventFns = events[type || event.type];\n    var eventFnsLength = eventFns ? eventFns.length : 0;\n\n    if (!eventFnsLength) return;\n\n    if (isUndefined(event.immediatePropagationStopped)) {\n      var originalStopImmediatePropagation = event.stopImmediatePropagation;\n      event.stopImmediatePropagation = function() {\n        event.immediatePropagationStopped = true;\n\n        if (event.stopPropagation) {\n          event.stopPropagation();\n        }\n\n        if (originalStopImmediatePropagation) {\n          originalStopImmediatePropagation.call(event);\n        }\n      };\n    }\n\n    event.isImmediatePropagationStopped = function() {\n      return event.immediatePropagationStopped === true;\n    };\n\n    // Some events have special handlers that wrap the real handler\n    var handlerWrapper = eventFns.specialHandlerWrapper || defaultHandlerWrapper;\n\n    // Copy event handlers in case event handlers array is modified during execution.\n    if ((eventFnsLength > 1)) {\n      eventFns = shallowCopy(eventFns);\n    }\n\n    for (var i = 0; i < eventFnsLength; i++) {\n      if (!event.isImmediatePropagationStopped()) {\n        handlerWrapper(element, event, eventFns[i]);\n      }\n    }\n  };\n\n  // TODO: this is a hack for angularMocks/clearDataCache that makes it possible to deregister all\n  //       events on `element`\n  eventHandler.elem = element;\n  return eventHandler;\n}\n\nfunction defaultHandlerWrapper(element, event, handler) {\n  handler.call(element, event);\n}\n\nfunction specialMouseHandlerWrapper(target, event, handler) {\n  // Refer to jQuery's implementation of mouseenter & mouseleave\n  // Read about mouseenter and mouseleave:\n  // http://www.quirksmode.org/js/events_mouse.html#link8\n  var related = event.relatedTarget;\n  // For mousenter/leave call the handler if related is outside the target.\n  // NB: No relatedTarget if the mouse left/entered the browser window\n  if (!related || (related !== target && !jqLiteContains.call(target, related))) {\n    handler.call(target, event);\n  }\n}\n\n//////////////////////////////////////////\n// Functions iterating traversal.\n// These functions chain results into a single\n// selector.\n//////////////////////////////////////////\nforEach({\n  removeData: jqLiteRemoveData,\n\n  on: function jqLiteOn(element, type, fn, unsupported) {\n    if (isDefined(unsupported)) throw jqLiteMinErr('onargs', 'jqLite#on() does not support the `selector` or `eventData` parameters');\n\n    // Do not add event handlers to non-elements because they will not be cleaned up.\n    if (!jqLiteAcceptsData(element)) {\n      return;\n    }\n\n    var expandoStore = jqLiteExpandoStore(element, true);\n    var events = expandoStore.events;\n    var handle = expandoStore.handle;\n\n    if (!handle) {\n      handle = expandoStore.handle = createEventHandler(element, events);\n    }\n\n    // http://jsperf.com/string-indexof-vs-split\n    var types = type.indexOf(' ') >= 0 ? type.split(' ') : [type];\n    var i = types.length;\n\n    var addHandler = function(type, specialHandlerWrapper, noEventListener) {\n      var eventFns = events[type];\n\n      if (!eventFns) {\n        eventFns = events[type] = [];\n        eventFns.specialHandlerWrapper = specialHandlerWrapper;\n        if (type !== '$destroy' && !noEventListener) {\n          addEventListenerFn(element, type, handle);\n        }\n      }\n\n      eventFns.push(fn);\n    };\n\n    while (i--) {\n      type = types[i];\n      if (MOUSE_EVENT_MAP[type]) {\n        addHandler(MOUSE_EVENT_MAP[type], specialMouseHandlerWrapper);\n        addHandler(type, undefined, true);\n      } else {\n        addHandler(type);\n      }\n    }\n  },\n\n  off: jqLiteOff,\n\n  one: function(element, type, fn) {\n    element = jqLite(element);\n\n    //add the listener twice so that when it is called\n    //you can remove the original function and still be\n    //able to call element.off(ev, fn) normally\n    element.on(type, function onFn() {\n      element.off(type, fn);\n      element.off(type, onFn);\n    });\n    element.on(type, fn);\n  },\n\n  replaceWith: function(element, replaceNode) {\n    var index, parent = element.parentNode;\n    jqLiteDealoc(element);\n    forEach(new JQLite(replaceNode), function(node) {\n      if (index) {\n        parent.insertBefore(node, index.nextSibling);\n      } else {\n        parent.replaceChild(node, element);\n      }\n      index = node;\n    });\n  },\n\n  children: function(element) {\n    var children = [];\n    forEach(element.childNodes, function(element) {\n      if (element.nodeType === NODE_TYPE_ELEMENT) {\n        children.push(element);\n      }\n    });\n    return children;\n  },\n\n  contents: function(element) {\n    return element.contentDocument || element.childNodes || [];\n  },\n\n  append: function(element, node) {\n    var nodeType = element.nodeType;\n    if (nodeType !== NODE_TYPE_ELEMENT && nodeType !== NODE_TYPE_DOCUMENT_FRAGMENT) return;\n\n    node = new JQLite(node);\n\n    for (var i = 0, ii = node.length; i < ii; i++) {\n      var child = node[i];\n      element.appendChild(child);\n    }\n  },\n\n  prepend: function(element, node) {\n    if (element.nodeType === NODE_TYPE_ELEMENT) {\n      var index = element.firstChild;\n      forEach(new JQLite(node), function(child) {\n        element.insertBefore(child, index);\n      });\n    }\n  },\n\n  wrap: function(element, wrapNode) {\n    wrapNode = jqLite(wrapNode).eq(0).clone()[0];\n    var parent = element.parentNode;\n    if (parent) {\n      parent.replaceChild(wrapNode, element);\n    }\n    wrapNode.appendChild(element);\n  },\n\n  remove: jqLiteRemove,\n\n  detach: function(element) {\n    jqLiteRemove(element, true);\n  },\n\n  after: function(element, newElement) {\n    var index = element, parent = element.parentNode;\n    newElement = new JQLite(newElement);\n\n    for (var i = 0, ii = newElement.length; i < ii; i++) {\n      var node = newElement[i];\n      parent.insertBefore(node, index.nextSibling);\n      index = node;\n    }\n  },\n\n  addClass: jqLiteAddClass,\n  removeClass: jqLiteRemoveClass,\n\n  toggleClass: function(element, selector, condition) {\n    if (selector) {\n      forEach(selector.split(' '), function(className) {\n        var classCondition = condition;\n        if (isUndefined(classCondition)) {\n          classCondition = !jqLiteHasClass(element, className);\n        }\n        (classCondition ? jqLiteAddClass : jqLiteRemoveClass)(element, className);\n      });\n    }\n  },\n\n  parent: function(element) {\n    var parent = element.parentNode;\n    return parent && parent.nodeType !== NODE_TYPE_DOCUMENT_FRAGMENT ? parent : null;\n  },\n\n  next: function(element) {\n    return element.nextElementSibling;\n  },\n\n  find: function(element, selector) {\n    if (element.getElementsByTagName) {\n      return element.getElementsByTagName(selector);\n    } else {\n      return [];\n    }\n  },\n\n  clone: jqLiteClone,\n\n  triggerHandler: function(element, event, extraParameters) {\n\n    var dummyEvent, eventFnsCopy, handlerArgs;\n    var eventName = event.type || event;\n    var expandoStore = jqLiteExpandoStore(element);\n    var events = expandoStore && expandoStore.events;\n    var eventFns = events && events[eventName];\n\n    if (eventFns) {\n      // Create a dummy event to pass to the handlers\n      dummyEvent = {\n        preventDefault: function() { this.defaultPrevented = true; },\n        isDefaultPrevented: function() { return this.defaultPrevented === true; },\n        stopImmediatePropagation: function() { this.immediatePropagationStopped = true; },\n        isImmediatePropagationStopped: function() { return this.immediatePropagationStopped === true; },\n        stopPropagation: noop,\n        type: eventName,\n        target: element\n      };\n\n      // If a custom event was provided then extend our dummy event with it\n      if (event.type) {\n        dummyEvent = extend(dummyEvent, event);\n      }\n\n      // Copy event handlers in case event handlers array is modified during execution.\n      eventFnsCopy = shallowCopy(eventFns);\n      handlerArgs = extraParameters ? [dummyEvent].concat(extraParameters) : [dummyEvent];\n\n      forEach(eventFnsCopy, function(fn) {\n        if (!dummyEvent.isImmediatePropagationStopped()) {\n          fn.apply(element, handlerArgs);\n        }\n      });\n    }\n  }\n}, function(fn, name) {\n  /**\n   * chaining functions\n   */\n  JQLite.prototype[name] = function(arg1, arg2, arg3) {\n    var value;\n\n    for (var i = 0, ii = this.length; i < ii; i++) {\n      if (isUndefined(value)) {\n        value = fn(this[i], arg1, arg2, arg3);\n        if (isDefined(value)) {\n          // any function which returns a value needs to be wrapped\n          value = jqLite(value);\n        }\n      } else {\n        jqLiteAddNodes(value, fn(this[i], arg1, arg2, arg3));\n      }\n    }\n    return isDefined(value) ? value : this;\n  };\n\n  // bind legacy bind/unbind to on/off\n  JQLite.prototype.bind = JQLite.prototype.on;\n  JQLite.prototype.unbind = JQLite.prototype.off;\n});\n\n\n// Provider for private $$jqLite service\nfunction $$jqLiteProvider() {\n  this.$get = function $$jqLite() {\n    return extend(JQLite, {\n      hasClass: function(node, classes) {\n        if (node.attr) node = node[0];\n        return jqLiteHasClass(node, classes);\n      },\n      addClass: function(node, classes) {\n        if (node.attr) node = node[0];\n        return jqLiteAddClass(node, classes);\n      },\n      removeClass: function(node, classes) {\n        if (node.attr) node = node[0];\n        return jqLiteRemoveClass(node, classes);\n      }\n    });\n  };\n}\n\n/**\n * Computes a hash of an 'obj'.\n * Hash of a:\n *  string is string\n *  number is number as string\n *  object is either result of calling $$hashKey function on the object or uniquely generated id,\n *         that is also assigned to the $$hashKey property of the object.\n *\n * @param obj\n * @returns {string} hash string such that the same input will have the same hash string.\n *         The resulting string key is in 'type:hashKey' format.\n */\nfunction hashKey(obj, nextUidFn) {\n  var key = obj && obj.$$hashKey;\n\n  if (key) {\n    if (typeof key === 'function') {\n      key = obj.$$hashKey();\n    }\n    return key;\n  }\n\n  var objType = typeof obj;\n  if (objType == 'function' || (objType == 'object' && obj !== null)) {\n    key = obj.$$hashKey = objType + ':' + (nextUidFn || nextUid)();\n  } else {\n    key = objType + ':' + obj;\n  }\n\n  return key;\n}\n\n/**\n * HashMap which can use objects as keys\n */\nfunction HashMap(array, isolatedUid) {\n  if (isolatedUid) {\n    var uid = 0;\n    this.nextUid = function() {\n      return ++uid;\n    };\n  }\n  forEach(array, this.put, this);\n}\nHashMap.prototype = {\n  /**\n   * Store key value pair\n   * @param key key to store can be any type\n   * @param value value to store can be any type\n   */\n  put: function(key, value) {\n    this[hashKey(key, this.nextUid)] = value;\n  },\n\n  /**\n   * @param key\n   * @returns {Object} the value for the key\n   */\n  get: function(key) {\n    return this[hashKey(key, this.nextUid)];\n  },\n\n  /**\n   * Remove the key/value pair\n   * @param key\n   */\n  remove: function(key) {\n    var value = this[key = hashKey(key, this.nextUid)];\n    delete this[key];\n    return value;\n  }\n};\n\nvar $$HashMapProvider = [function() {\n  this.$get = [function() {\n    return HashMap;\n  }];\n}];\n\n/**\n * @ngdoc function\n * @module ng\n * @name angular.injector\n * @kind function\n *\n * @description\n * Creates an injector object that can be used for retrieving services as well as for\n * dependency injection (see {@link guide/di dependency injection}).\n *\n * @param {Array.<string|Function>} modules A list of module functions or their aliases. See\n *     {@link angular.module}. The `ng` module must be explicitly added.\n * @param {boolean=} [strictDi=false] Whether the injector should be in strict mode, which\n *     disallows argument name annotation inference.\n * @returns {injector} Injector object. See {@link auto.$injector $injector}.\n *\n * @example\n * Typical usage\n * ```js\n *   // create an injector\n *   var $injector = angular.injector(['ng']);\n *\n *   // use the injector to kick off your application\n *   // use the type inference to auto inject arguments, or use implicit injection\n *   $injector.invoke(function($rootScope, $compile, $document) {\n *     $compile($document)($rootScope);\n *     $rootScope.$digest();\n *   });\n * ```\n *\n * Sometimes you want to get access to the injector of a currently running Angular app\n * from outside Angular. Perhaps, you want to inject and compile some markup after the\n * application has been bootstrapped. You can do this using the extra `injector()` added\n * to JQuery/jqLite elements. See {@link angular.element}.\n *\n * *This is fairly rare but could be the case if a third party library is injecting the\n * markup.*\n *\n * In the following example a new block of HTML containing a `ng-controller`\n * directive is added to the end of the document body by JQuery. We then compile and link\n * it into the current AngularJS scope.\n *\n * ```js\n * var $div = $('<div ng-controller=\"MyCtrl\">{{content.label}}</div>');\n * $(document.body).append($div);\n *\n * angular.element(document).injector().invoke(function($compile) {\n *   var scope = angular.element($div).scope();\n *   $compile($div)(scope);\n * });\n * ```\n */\n\n\n/**\n * @ngdoc module\n * @name auto\n * @description\n *\n * Implicit module which gets automatically added to each {@link auto.$injector $injector}.\n */\n\nvar FN_ARGS = /^[^\\(]*\\(\\s*([^\\)]*)\\)/m;\nvar FN_ARG_SPLIT = /,/;\nvar FN_ARG = /^\\s*(_?)(\\S+?)\\1\\s*$/;\nvar STRIP_COMMENTS = /((\\/\\/.*$)|(\\/\\*[\\s\\S]*?\\*\\/))/mg;\nvar $injectorMinErr = minErr('$injector');\n\nfunction anonFn(fn) {\n  // For anonymous functions, showing at the very least the function signature can help in\n  // debugging.\n  var fnText = fn.toString().replace(STRIP_COMMENTS, ''),\n      args = fnText.match(FN_ARGS);\n  if (args) {\n    return 'function(' + (args[1] || '').replace(/[\\s\\r\\n]+/, ' ') + ')';\n  }\n  return 'fn';\n}\n\nfunction annotate(fn, strictDi, name) {\n  var $inject,\n      fnText,\n      argDecl,\n      last;\n\n  if (typeof fn === 'function') {\n    if (!($inject = fn.$inject)) {\n      $inject = [];\n      if (fn.length) {\n        if (strictDi) {\n          if (!isString(name) || !name) {\n            name = fn.name || anonFn(fn);\n          }\n          throw $injectorMinErr('strictdi',\n            '{0} is not using explicit annotation and cannot be invoked in strict mode', name);\n        }\n        fnText = fn.toString().replace(STRIP_COMMENTS, '');\n        argDecl = fnText.match(FN_ARGS);\n        forEach(argDecl[1].split(FN_ARG_SPLIT), function(arg) {\n          arg.replace(FN_ARG, function(all, underscore, name) {\n            $inject.push(name);\n          });\n        });\n      }\n      fn.$inject = $inject;\n    }\n  } else if (isArray(fn)) {\n    last = fn.length - 1;\n    assertArgFn(fn[last], 'fn');\n    $inject = fn.slice(0, last);\n  } else {\n    assertArgFn(fn, 'fn', true);\n  }\n  return $inject;\n}\n\n///////////////////////////////////////\n\n/**\n * @ngdoc service\n * @name $injector\n *\n * @description\n *\n * `$injector` is used to retrieve object instances as defined by\n * {@link auto.$provide provider}, instantiate types, invoke methods,\n * and load modules.\n *\n * The following always holds true:\n *\n * ```js\n *   var $injector = angular.injector();\n *   expect($injector.get('$injector')).toBe($injector);\n *   expect($injector.invoke(function($injector) {\n *     return $injector;\n *   })).toBe($injector);\n * ```\n *\n * # Injection Function Annotation\n *\n * JavaScript does not have annotations, and annotations are needed for dependency injection. The\n * following are all valid ways of annotating function with injection arguments and are equivalent.\n *\n * ```js\n *   // inferred (only works if code not minified/obfuscated)\n *   $injector.invoke(function(serviceA){});\n *\n *   // annotated\n *   function explicit(serviceA) {};\n *   explicit.$inject = ['serviceA'];\n *   $injector.invoke(explicit);\n *\n *   // inline\n *   $injector.invoke(['serviceA', function(serviceA){}]);\n * ```\n *\n * ## Inference\n *\n * In JavaScript calling `toString()` on a function returns the function definition. The definition\n * can then be parsed and the function arguments can be extracted. This method of discovering\n * annotations is disallowed when the injector is in strict mode.\n * *NOTE:* This does not work with minification, and obfuscation tools since these tools change the\n * argument names.\n *\n * ## `$inject` Annotation\n * By adding an `$inject` property onto a function the injection parameters can be specified.\n *\n * ## Inline\n * As an array of injection names, where the last item in the array is the function to call.\n */\n\n/**\n * @ngdoc method\n * @name $injector#get\n *\n * @description\n * Return an instance of the service.\n *\n * @param {string} name The name of the instance to retrieve.\n * @param {string=} caller An optional string to provide the origin of the function call for error messages.\n * @return {*} The instance.\n */\n\n/**\n * @ngdoc method\n * @name $injector#invoke\n *\n * @description\n * Invoke the method and supply the method arguments from the `$injector`.\n *\n * @param {Function|Array.<string|Function>} fn The injectable function to invoke. Function parameters are\n *   injected according to the {@link guide/di $inject Annotation} rules.\n * @param {Object=} self The `this` for the invoked method.\n * @param {Object=} locals Optional object. If preset then any argument names are read from this\n *                         object first, before the `$injector` is consulted.\n * @returns {*} the value returned by the invoked `fn` function.\n */\n\n/**\n * @ngdoc method\n * @name $injector#has\n *\n * @description\n * Allows the user to query if the particular service exists.\n *\n * @param {string} name Name of the service to query.\n * @returns {boolean} `true` if injector has given service.\n */\n\n/**\n * @ngdoc method\n * @name $injector#instantiate\n * @description\n * Create a new instance of JS type. The method takes a constructor function, invokes the new\n * operator, and supplies all of the arguments to the constructor function as specified by the\n * constructor annotation.\n *\n * @param {Function} Type Annotated constructor function.\n * @param {Object=} locals Optional object. If preset then any argument names are read from this\n * object first, before the `$injector` is consulted.\n * @returns {Object} new instance of `Type`.\n */\n\n/**\n * @ngdoc method\n * @name $injector#annotate\n *\n * @description\n * Returns an array of service names which the function is requesting for injection. This API is\n * used by the injector to determine which services need to be injected into the function when the\n * function is invoked. There are three ways in which the function can be annotated with the needed\n * dependencies.\n *\n * # Argument names\n *\n * The simplest form is to extract the dependencies from the arguments of the function. This is done\n * by converting the function into a string using `toString()` method and extracting the argument\n * names.\n * ```js\n *   // Given\n *   function MyController($scope, $route) {\n *     // ...\n *   }\n *\n *   // Then\n *   expect(injector.annotate(MyController)).toEqual(['$scope', '$route']);\n * ```\n *\n * You can disallow this method by using strict injection mode.\n *\n * This method does not work with code minification / obfuscation. For this reason the following\n * annotation strategies are supported.\n *\n * # The `$inject` property\n *\n * If a function has an `$inject` property and its value is an array of strings, then the strings\n * represent names of services to be injected into the function.\n * ```js\n *   // Given\n *   var MyController = function(obfuscatedScope, obfuscatedRoute) {\n *     // ...\n *   }\n *   // Define function dependencies\n *   MyController['$inject'] = ['$scope', '$route'];\n *\n *   // Then\n *   expect(injector.annotate(MyController)).toEqual(['$scope', '$route']);\n * ```\n *\n * # The array notation\n *\n * It is often desirable to inline Injected functions and that's when setting the `$inject` property\n * is very inconvenient. In these situations using the array notation to specify the dependencies in\n * a way that survives minification is a better choice:\n *\n * ```js\n *   // We wish to write this (not minification / obfuscation safe)\n *   injector.invoke(function($compile, $rootScope) {\n *     // ...\n *   });\n *\n *   // We are forced to write break inlining\n *   var tmpFn = function(obfuscatedCompile, obfuscatedRootScope) {\n *     // ...\n *   };\n *   tmpFn.$inject = ['$compile', '$rootScope'];\n *   injector.invoke(tmpFn);\n *\n *   // To better support inline function the inline annotation is supported\n *   injector.invoke(['$compile', '$rootScope', function(obfCompile, obfRootScope) {\n *     // ...\n *   }]);\n *\n *   // Therefore\n *   expect(injector.annotate(\n *      ['$compile', '$rootScope', function(obfus_$compile, obfus_$rootScope) {}])\n *    ).toEqual(['$compile', '$rootScope']);\n * ```\n *\n * @param {Function|Array.<string|Function>} fn Function for which dependent service names need to\n * be retrieved as described above.\n *\n * @param {boolean=} [strictDi=false] Disallow argument name annotation inference.\n *\n * @returns {Array.<string>} The names of the services which the function requires.\n */\n\n\n\n\n/**\n * @ngdoc service\n * @name $provide\n *\n * @description\n *\n * The {@link auto.$provide $provide} service has a number of methods for registering components\n * with the {@link auto.$injector $injector}. Many of these functions are also exposed on\n * {@link angular.Module}.\n *\n * An Angular **service** is a singleton object created by a **service factory**.  These **service\n * factories** are functions which, in turn, are created by a **service provider**.\n * The **service providers** are constructor functions. When instantiated they must contain a\n * property called `$get`, which holds the **service factory** function.\n *\n * When you request a service, the {@link auto.$injector $injector} is responsible for finding the\n * correct **service provider**, instantiating it and then calling its `$get` **service factory**\n * function to get the instance of the **service**.\n *\n * Often services have no configuration options and there is no need to add methods to the service\n * provider.  The provider will be no more than a constructor function with a `$get` property. For\n * these cases the {@link auto.$provide $provide} service has additional helper methods to register\n * services without specifying a provider.\n *\n * * {@link auto.$provide#provider provider(provider)} - registers a **service provider** with the\n *     {@link auto.$injector $injector}\n * * {@link auto.$provide#constant constant(obj)} - registers a value/object that can be accessed by\n *     providers and services.\n * * {@link auto.$provide#value value(obj)} - registers a value/object that can only be accessed by\n *     services, not providers.\n * * {@link auto.$provide#factory factory(fn)} - registers a service **factory function**, `fn`,\n *     that will be wrapped in a **service provider** object, whose `$get` property will contain the\n *     given factory function.\n * * {@link auto.$provide#service service(class)} - registers a **constructor function**, `class`\n *     that will be wrapped in a **service provider** object, whose `$get` property will instantiate\n *      a new object using the given constructor function.\n *\n * See the individual methods for more information and examples.\n */\n\n/**\n * @ngdoc method\n * @name $provide#provider\n * @description\n *\n * Register a **provider function** with the {@link auto.$injector $injector}. Provider functions\n * are constructor functions, whose instances are responsible for \"providing\" a factory for a\n * service.\n *\n * Service provider names start with the name of the service they provide followed by `Provider`.\n * For example, the {@link ng.$log $log} service has a provider called\n * {@link ng.$logProvider $logProvider}.\n *\n * Service provider objects can have additional methods which allow configuration of the provider\n * and its service. Importantly, you can configure what kind of service is created by the `$get`\n * method, or how that service will act. For example, the {@link ng.$logProvider $logProvider} has a\n * method {@link ng.$logProvider#debugEnabled debugEnabled}\n * which lets you specify whether the {@link ng.$log $log} service will log debug messages to the\n * console or not.\n *\n * @param {string} name The name of the instance. NOTE: the provider will be available under `name +\n                        'Provider'` key.\n * @param {(Object|function())} provider If the provider is:\n *\n *   - `Object`: then it should have a `$get` method. The `$get` method will be invoked using\n *     {@link auto.$injector#invoke $injector.invoke()} when an instance needs to be created.\n *   - `Constructor`: a new instance of the provider will be created using\n *     {@link auto.$injector#instantiate $injector.instantiate()}, then treated as `object`.\n *\n * @returns {Object} registered provider instance\n\n * @example\n *\n * The following example shows how to create a simple event tracking service and register it using\n * {@link auto.$provide#provider $provide.provider()}.\n *\n * ```js\n *  // Define the eventTracker provider\n *  function EventTrackerProvider() {\n *    var trackingUrl = '/track';\n *\n *    // A provider method for configuring where the tracked events should been saved\n *    this.setTrackingUrl = function(url) {\n *      trackingUrl = url;\n *    };\n *\n *    // The service factory function\n *    this.$get = ['$http', function($http) {\n *      var trackedEvents = {};\n *      return {\n *        // Call this to track an event\n *        event: function(event) {\n *          var count = trackedEvents[event] || 0;\n *          count += 1;\n *          trackedEvents[event] = count;\n *          return count;\n *        },\n *        // Call this to save the tracked events to the trackingUrl\n *        save: function() {\n *          $http.post(trackingUrl, trackedEvents);\n *        }\n *      };\n *    }];\n *  }\n *\n *  describe('eventTracker', function() {\n *    var postSpy;\n *\n *    beforeEach(module(function($provide) {\n *      // Register the eventTracker provider\n *      $provide.provider('eventTracker', EventTrackerProvider);\n *    }));\n *\n *    beforeEach(module(function(eventTrackerProvider) {\n *      // Configure eventTracker provider\n *      eventTrackerProvider.setTrackingUrl('/custom-track');\n *    }));\n *\n *    it('tracks events', inject(function(eventTracker) {\n *      expect(eventTracker.event('login')).toEqual(1);\n *      expect(eventTracker.event('login')).toEqual(2);\n *    }));\n *\n *    it('saves to the tracking url', inject(function(eventTracker, $http) {\n *      postSpy = spyOn($http, 'post');\n *      eventTracker.event('login');\n *      eventTracker.save();\n *      expect(postSpy).toHaveBeenCalled();\n *      expect(postSpy.mostRecentCall.args[0]).not.toEqual('/track');\n *      expect(postSpy.mostRecentCall.args[0]).toEqual('/custom-track');\n *      expect(postSpy.mostRecentCall.args[1]).toEqual({ 'login': 1 });\n *    }));\n *  });\n * ```\n */\n\n/**\n * @ngdoc method\n * @name $provide#factory\n * @description\n *\n * Register a **service factory**, which will be called to return the service instance.\n * This is short for registering a service where its provider consists of only a `$get` property,\n * which is the given service factory function.\n * You should use {@link auto.$provide#factory $provide.factory(getFn)} if you do not need to\n * configure your service in a provider.\n *\n * @param {string} name The name of the instance.\n * @param {Function|Array.<string|Function>} $getFn The injectable $getFn for the instance creation.\n *                      Internally this is a short hand for `$provide.provider(name, {$get: $getFn})`.\n * @returns {Object} registered provider instance\n *\n * @example\n * Here is an example of registering a service\n * ```js\n *   $provide.factory('ping', ['$http', function($http) {\n *     return function ping() {\n *       return $http.send('/ping');\n *     };\n *   }]);\n * ```\n * You would then inject and use this service like this:\n * ```js\n *   someModule.controller('Ctrl', ['ping', function(ping) {\n *     ping();\n *   }]);\n * ```\n */\n\n\n/**\n * @ngdoc method\n * @name $provide#service\n * @description\n *\n * Register a **service constructor**, which will be invoked with `new` to create the service\n * instance.\n * This is short for registering a service where its provider's `$get` property is the service\n * constructor function that will be used to instantiate the service instance.\n *\n * You should use {@link auto.$provide#service $provide.service(class)} if you define your service\n * as a type/class.\n *\n * @param {string} name The name of the instance.\n * @param {Function|Array.<string|Function>} constructor An injectable class (constructor function)\n *     that will be instantiated.\n * @returns {Object} registered provider instance\n *\n * @example\n * Here is an example of registering a service using\n * {@link auto.$provide#service $provide.service(class)}.\n * ```js\n *   var Ping = function($http) {\n *     this.$http = $http;\n *   };\n *\n *   Ping.$inject = ['$http'];\n *\n *   Ping.prototype.send = function() {\n *     return this.$http.get('/ping');\n *   };\n *   $provide.service('ping', Ping);\n * ```\n * You would then inject and use this service like this:\n * ```js\n *   someModule.controller('Ctrl', ['ping', function(ping) {\n *     ping.send();\n *   }]);\n * ```\n */\n\n\n/**\n * @ngdoc method\n * @name $provide#value\n * @description\n *\n * Register a **value service** with the {@link auto.$injector $injector}, such as a string, a\n * number, an array, an object or a function.  This is short for registering a service where its\n * provider's `$get` property is a factory function that takes no arguments and returns the **value\n * service**.\n *\n * Value services are similar to constant services, except that they cannot be injected into a\n * module configuration function (see {@link angular.Module#config}) but they can be overridden by\n * an Angular\n * {@link auto.$provide#decorator decorator}.\n *\n * @param {string} name The name of the instance.\n * @param {*} value The value.\n * @returns {Object} registered provider instance\n *\n * @example\n * Here are some examples of creating value services.\n * ```js\n *   $provide.value('ADMIN_USER', 'admin');\n *\n *   $provide.value('RoleLookup', { admin: 0, writer: 1, reader: 2 });\n *\n *   $provide.value('halfOf', function(value) {\n *     return value / 2;\n *   });\n * ```\n */\n\n\n/**\n * @ngdoc method\n * @name $provide#constant\n * @description\n *\n * Register a **constant service**, such as a string, a number, an array, an object or a function,\n * with the {@link auto.$injector $injector}. Unlike {@link auto.$provide#value value} it can be\n * injected into a module configuration function (see {@link angular.Module#config}) and it cannot\n * be overridden by an Angular {@link auto.$provide#decorator decorator}.\n *\n * @param {string} name The name of the constant.\n * @param {*} value The constant value.\n * @returns {Object} registered instance\n *\n * @example\n * Here a some examples of creating constants:\n * ```js\n *   $provide.constant('SHARD_HEIGHT', 306);\n *\n *   $provide.constant('MY_COLOURS', ['red', 'blue', 'grey']);\n *\n *   $provide.constant('double', function(value) {\n *     return value * 2;\n *   });\n * ```\n */\n\n\n/**\n * @ngdoc method\n * @name $provide#decorator\n * @description\n *\n * Register a **service decorator** with the {@link auto.$injector $injector}. A service decorator\n * intercepts the creation of a service, allowing it to override or modify the behaviour of the\n * service. The object returned by the decorator may be the original service, or a new service\n * object which replaces or wraps and delegates to the original service.\n *\n * @param {string} name The name of the service to decorate.\n * @param {Function|Array.<string|Function>} decorator This function will be invoked when the service needs to be\n *    instantiated and should return the decorated service instance. The function is called using\n *    the {@link auto.$injector#invoke injector.invoke} method and is therefore fully injectable.\n *    Local injection arguments:\n *\n *    * `$delegate` - The original service instance, which can be monkey patched, configured,\n *      decorated or delegated to.\n *\n * @example\n * Here we decorate the {@link ng.$log $log} service to convert warnings to errors by intercepting\n * calls to {@link ng.$log#error $log.warn()}.\n * ```js\n *   $provide.decorator('$log', ['$delegate', function($delegate) {\n *     $delegate.warn = $delegate.error;\n *     return $delegate;\n *   }]);\n * ```\n */\n\n\nfunction createInjector(modulesToLoad, strictDi) {\n  strictDi = (strictDi === true);\n  var INSTANTIATING = {},\n      providerSuffix = 'Provider',\n      path = [],\n      loadedModules = new HashMap([], true),\n      providerCache = {\n        $provide: {\n            provider: supportObject(provider),\n            factory: supportObject(factory),\n            service: supportObject(service),\n            value: supportObject(value),\n            constant: supportObject(constant),\n            decorator: decorator\n          }\n      },\n      providerInjector = (providerCache.$injector =\n          createInternalInjector(providerCache, function(serviceName, caller) {\n            if (angular.isString(caller)) {\n              path.push(caller);\n            }\n            throw $injectorMinErr('unpr', \"Unknown provider: {0}\", path.join(' <- '));\n          })),\n      instanceCache = {},\n      instanceInjector = (instanceCache.$injector =\n          createInternalInjector(instanceCache, function(serviceName, caller) {\n            var provider = providerInjector.get(serviceName + providerSuffix, caller);\n            return instanceInjector.invoke(provider.$get, provider, undefined, serviceName);\n          }));\n\n\n  forEach(loadModules(modulesToLoad), function(fn) { if (fn) instanceInjector.invoke(fn); });\n\n  return instanceInjector;\n\n  ////////////////////////////////////\n  // $provider\n  ////////////////////////////////////\n\n  function supportObject(delegate) {\n    return function(key, value) {\n      if (isObject(key)) {\n        forEach(key, reverseParams(delegate));\n      } else {\n        return delegate(key, value);\n      }\n    };\n  }\n\n  function provider(name, provider_) {\n    assertNotHasOwnProperty(name, 'service');\n    if (isFunction(provider_) || isArray(provider_)) {\n      provider_ = providerInjector.instantiate(provider_);\n    }\n    if (!provider_.$get) {\n      throw $injectorMinErr('pget', \"Provider '{0}' must define $get factory method.\", name);\n    }\n    return providerCache[name + providerSuffix] = provider_;\n  }\n\n  function enforceReturnValue(name, factory) {\n    return function enforcedReturnValue() {\n      var result = instanceInjector.invoke(factory, this);\n      if (isUndefined(result)) {\n        throw $injectorMinErr('undef', \"Provider '{0}' must return a value from $get factory method.\", name);\n      }\n      return result;\n    };\n  }\n\n  function factory(name, factoryFn, enforce) {\n    return provider(name, {\n      $get: enforce !== false ? enforceReturnValue(name, factoryFn) : factoryFn\n    });\n  }\n\n  function service(name, constructor) {\n    return factory(name, ['$injector', function($injector) {\n      return $injector.instantiate(constructor);\n    }]);\n  }\n\n  function value(name, val) { return factory(name, valueFn(val), false); }\n\n  function constant(name, value) {\n    assertNotHasOwnProperty(name, 'constant');\n    providerCache[name] = value;\n    instanceCache[name] = value;\n  }\n\n  function decorator(serviceName, decorFn) {\n    var origProvider = providerInjector.get(serviceName + providerSuffix),\n        orig$get = origProvider.$get;\n\n    origProvider.$get = function() {\n      var origInstance = instanceInjector.invoke(orig$get, origProvider);\n      return instanceInjector.invoke(decorFn, null, {$delegate: origInstance});\n    };\n  }\n\n  ////////////////////////////////////\n  // Module Loading\n  ////////////////////////////////////\n  function loadModules(modulesToLoad) {\n    assertArg(isUndefined(modulesToLoad) || isArray(modulesToLoad), 'modulesToLoad', 'not an array');\n    var runBlocks = [], moduleFn;\n    forEach(modulesToLoad, function(module) {\n      if (loadedModules.get(module)) return;\n      loadedModules.put(module, true);\n\n      function runInvokeQueue(queue) {\n        var i, ii;\n        for (i = 0, ii = queue.length; i < ii; i++) {\n          var invokeArgs = queue[i],\n              provider = providerInjector.get(invokeArgs[0]);\n\n          provider[invokeArgs[1]].apply(provider, invokeArgs[2]);\n        }\n      }\n\n      try {\n        if (isString(module)) {\n          moduleFn = angularModule(module);\n          runBlocks = runBlocks.concat(loadModules(moduleFn.requires)).concat(moduleFn._runBlocks);\n          runInvokeQueue(moduleFn._invokeQueue);\n          runInvokeQueue(moduleFn._configBlocks);\n        } else if (isFunction(module)) {\n            runBlocks.push(providerInjector.invoke(module));\n        } else if (isArray(module)) {\n            runBlocks.push(providerInjector.invoke(module));\n        } else {\n          assertArgFn(module, 'module');\n        }\n      } catch (e) {\n        if (isArray(module)) {\n          module = module[module.length - 1];\n        }\n        if (e.message && e.stack && e.stack.indexOf(e.message) == -1) {\n          // Safari & FF's stack traces don't contain error.message content\n          // unlike those of Chrome and IE\n          // So if stack doesn't contain message, we create a new string that contains both.\n          // Since error.stack is read-only in Safari, I'm overriding e and not e.stack here.\n          /* jshint -W022 */\n          e = e.message + '\\n' + e.stack;\n        }\n        throw $injectorMinErr('modulerr', \"Failed to instantiate module {0} due to:\\n{1}\",\n                  module, e.stack || e.message || e);\n      }\n    });\n    return runBlocks;\n  }\n\n  ////////////////////////////////////\n  // internal Injector\n  ////////////////////////////////////\n\n  function createInternalInjector(cache, factory) {\n\n    function getService(serviceName, caller) {\n      if (cache.hasOwnProperty(serviceName)) {\n        if (cache[serviceName] === INSTANTIATING) {\n          throw $injectorMinErr('cdep', 'Circular dependency found: {0}',\n                    serviceName + ' <- ' + path.join(' <- '));\n        }\n        return cache[serviceName];\n      } else {\n        try {\n          path.unshift(serviceName);\n          cache[serviceName] = INSTANTIATING;\n          return cache[serviceName] = factory(serviceName, caller);\n        } catch (err) {\n          if (cache[serviceName] === INSTANTIATING) {\n            delete cache[serviceName];\n          }\n          throw err;\n        } finally {\n          path.shift();\n        }\n      }\n    }\n\n    function invoke(fn, self, locals, serviceName) {\n      if (typeof locals === 'string') {\n        serviceName = locals;\n        locals = null;\n      }\n\n      var args = [],\n          $inject = createInjector.$$annotate(fn, strictDi, serviceName),\n          length, i,\n          key;\n\n      for (i = 0, length = $inject.length; i < length; i++) {\n        key = $inject[i];\n        if (typeof key !== 'string') {\n          throw $injectorMinErr('itkn',\n                  'Incorrect injection token! Expected service name as string, got {0}', key);\n        }\n        args.push(\n          locals && locals.hasOwnProperty(key)\n          ? locals[key]\n          : getService(key, serviceName)\n        );\n      }\n      if (isArray(fn)) {\n        fn = fn[length];\n      }\n\n      // http://jsperf.com/angularjs-invoke-apply-vs-switch\n      // #5388\n      return fn.apply(self, args);\n    }\n\n    function instantiate(Type, locals, serviceName) {\n      // Check if Type is annotated and use just the given function at n-1 as parameter\n      // e.g. someModule.factory('greeter', ['$window', function(renamed$window) {}]);\n      // Object creation: http://jsperf.com/create-constructor/2\n      var instance = Object.create((isArray(Type) ? Type[Type.length - 1] : Type).prototype || null);\n      var returnedValue = invoke(Type, instance, locals, serviceName);\n\n      return isObject(returnedValue) || isFunction(returnedValue) ? returnedValue : instance;\n    }\n\n    return {\n      invoke: invoke,\n      instantiate: instantiate,\n      get: getService,\n      annotate: createInjector.$$annotate,\n      has: function(name) {\n        return providerCache.hasOwnProperty(name + providerSuffix) || cache.hasOwnProperty(name);\n      }\n    };\n  }\n}\n\ncreateInjector.$$annotate = annotate;\n\n/**\n * @ngdoc provider\n * @name $anchorScrollProvider\n *\n * @description\n * Use `$anchorScrollProvider` to disable automatic scrolling whenever\n * {@link ng.$location#hash $location.hash()} changes.\n */\nfunction $AnchorScrollProvider() {\n\n  var autoScrollingEnabled = true;\n\n  /**\n   * @ngdoc method\n   * @name $anchorScrollProvider#disableAutoScrolling\n   *\n   * @description\n   * By default, {@link ng.$anchorScroll $anchorScroll()} will automatically detect changes to\n   * {@link ng.$location#hash $location.hash()} and scroll to the element matching the new hash.<br />\n   * Use this method to disable automatic scrolling.\n   *\n   * If automatic scrolling is disabled, one must explicitly call\n   * {@link ng.$anchorScroll $anchorScroll()} in order to scroll to the element related to the\n   * current hash.\n   */\n  this.disableAutoScrolling = function() {\n    autoScrollingEnabled = false;\n  };\n\n  /**\n   * @ngdoc service\n   * @name $anchorScroll\n   * @kind function\n   * @requires $window\n   * @requires $location\n   * @requires $rootScope\n   *\n   * @description\n   * When called, it scrolls to the element related to the specified `hash` or (if omitted) to the\n   * current value of {@link ng.$location#hash $location.hash()}, according to the rules specified\n   * in the\n   * [HTML5 spec](http://www.w3.org/html/wg/drafts/html/master/browsers.html#the-indicated-part-of-the-document).\n   *\n   * It also watches the {@link ng.$location#hash $location.hash()} and automatically scrolls to\n   * match any anchor whenever it changes. This can be disabled by calling\n   * {@link ng.$anchorScrollProvider#disableAutoScrolling $anchorScrollProvider.disableAutoScrolling()}.\n   *\n   * Additionally, you can use its {@link ng.$anchorScroll#yOffset yOffset} property to specify a\n   * vertical scroll-offset (either fixed or dynamic).\n   *\n   * @param {string=} hash The hash specifying the element to scroll to. If omitted, the value of\n   *                       {@link ng.$location#hash $location.hash()} will be used.\n   *\n   * @property {(number|function|jqLite)} yOffset\n   * If set, specifies a vertical scroll-offset. This is often useful when there are fixed\n   * positioned elements at the top of the page, such as navbars, headers etc.\n   *\n   * `yOffset` can be specified in various ways:\n   * - **number**: A fixed number of pixels to be used as offset.<br /><br />\n   * - **function**: A getter function called everytime `$anchorScroll()` is executed. Must return\n   *   a number representing the offset (in pixels).<br /><br />\n   * - **jqLite**: A jqLite/jQuery element to be used for specifying the offset. The distance from\n   *   the top of the page to the element's bottom will be used as offset.<br />\n   *   **Note**: The element will be taken into account only as long as its `position` is set to\n   *   `fixed`. This option is useful, when dealing with responsive navbars/headers that adjust\n   *   their height and/or positioning according to the viewport's size.\n   *\n   * <br />\n   * <div class=\"alert alert-warning\">\n   * In order for `yOffset` to work properly, scrolling should take place on the document's root and\n   * not some child element.\n   * </div>\n   *\n   * @example\n     <example module=\"anchorScrollExample\">\n       <file name=\"index.html\">\n         <div id=\"scrollArea\" ng-controller=\"ScrollController\">\n           <a ng-click=\"gotoBottom()\">Go to bottom</a>\n           <a id=\"bottom\"></a> You're at the bottom!\n         </div>\n       </file>\n       <file name=\"script.js\">\n         angular.module('anchorScrollExample', [])\n           .controller('ScrollController', ['$scope', '$location', '$anchorScroll',\n             function ($scope, $location, $anchorScroll) {\n               $scope.gotoBottom = function() {\n                 // set the location.hash to the id of\n                 // the element you wish to scroll to.\n                 $location.hash('bottom');\n\n                 // call $anchorScroll()\n                 $anchorScroll();\n               };\n             }]);\n       </file>\n       <file name=\"style.css\">\n         #scrollArea {\n           height: 280px;\n           overflow: auto;\n         }\n\n         #bottom {\n           display: block;\n           margin-top: 2000px;\n         }\n       </file>\n     </example>\n   *\n   * <hr />\n   * The example below illustrates the use of a vertical scroll-offset (specified as a fixed value).\n   * See {@link ng.$anchorScroll#yOffset $anchorScroll.yOffset} for more details.\n   *\n   * @example\n     <example module=\"anchorScrollOffsetExample\">\n       <file name=\"index.html\">\n         <div class=\"fixed-header\" ng-controller=\"headerCtrl\">\n           <a href=\"\" ng-click=\"gotoAnchor(x)\" ng-repeat=\"x in [1,2,3,4,5]\">\n             Go to anchor {{x}}\n           </a>\n         </div>\n         <div id=\"anchor{{x}}\" class=\"anchor\" ng-repeat=\"x in [1,2,3,4,5]\">\n           Anchor {{x}} of 5\n         </div>\n       </file>\n       <file name=\"script.js\">\n         angular.module('anchorScrollOffsetExample', [])\n           .run(['$anchorScroll', function($anchorScroll) {\n             $anchorScroll.yOffset = 50;   // always scroll by 50 extra pixels\n           }])\n           .controller('headerCtrl', ['$anchorScroll', '$location', '$scope',\n             function ($anchorScroll, $location, $scope) {\n               $scope.gotoAnchor = function(x) {\n                 var newHash = 'anchor' + x;\n                 if ($location.hash() !== newHash) {\n                   // set the $location.hash to `newHash` and\n                   // $anchorScroll will automatically scroll to it\n                   $location.hash('anchor' + x);\n                 } else {\n                   // call $anchorScroll() explicitly,\n                   // since $location.hash hasn't changed\n                   $anchorScroll();\n                 }\n               };\n             }\n           ]);\n       </file>\n       <file name=\"style.css\">\n         body {\n           padding-top: 50px;\n         }\n\n         .anchor {\n           border: 2px dashed DarkOrchid;\n           padding: 10px 10px 200px 10px;\n         }\n\n         .fixed-header {\n           background-color: rgba(0, 0, 0, 0.2);\n           height: 50px;\n           position: fixed;\n           top: 0; left: 0; right: 0;\n         }\n\n         .fixed-header > a {\n           display: inline-block;\n           margin: 5px 15px;\n         }\n       </file>\n     </example>\n   */\n  this.$get = ['$window', '$location', '$rootScope', function($window, $location, $rootScope) {\n    var document = $window.document;\n\n    // Helper function to get first anchor from a NodeList\n    // (using `Array#some()` instead of `angular#forEach()` since it's more performant\n    //  and working in all supported browsers.)\n    function getFirstAnchor(list) {\n      var result = null;\n      Array.prototype.some.call(list, function(element) {\n        if (nodeName_(element) === 'a') {\n          result = element;\n          return true;\n        }\n      });\n      return result;\n    }\n\n    function getYOffset() {\n\n      var offset = scroll.yOffset;\n\n      if (isFunction(offset)) {\n        offset = offset();\n      } else if (isElement(offset)) {\n        var elem = offset[0];\n        var style = $window.getComputedStyle(elem);\n        if (style.position !== 'fixed') {\n          offset = 0;\n        } else {\n          offset = elem.getBoundingClientRect().bottom;\n        }\n      } else if (!isNumber(offset)) {\n        offset = 0;\n      }\n\n      return offset;\n    }\n\n    function scrollTo(elem) {\n      if (elem) {\n        elem.scrollIntoView();\n\n        var offset = getYOffset();\n\n        if (offset) {\n          // `offset` is the number of pixels we should scroll UP in order to align `elem` properly.\n          // This is true ONLY if the call to `elem.scrollIntoView()` initially aligns `elem` at the\n          // top of the viewport.\n          //\n          // IF the number of pixels from the top of `elem` to the end of the page's content is less\n          // than the height of the viewport, then `elem.scrollIntoView()` will align the `elem` some\n          // way down the page.\n          //\n          // This is often the case for elements near the bottom of the page.\n          //\n          // In such cases we do not need to scroll the whole `offset` up, just the difference between\n          // the top of the element and the offset, which is enough to align the top of `elem` at the\n          // desired position.\n          var elemTop = elem.getBoundingClientRect().top;\n          $window.scrollBy(0, elemTop - offset);\n        }\n      } else {\n        $window.scrollTo(0, 0);\n      }\n    }\n\n    function scroll(hash) {\n      hash = isString(hash) ? hash : $location.hash();\n      var elm;\n\n      // empty hash, scroll to the top of the page\n      if (!hash) scrollTo(null);\n\n      // element with given id\n      else if ((elm = document.getElementById(hash))) scrollTo(elm);\n\n      // first anchor with given name :-D\n      else if ((elm = getFirstAnchor(document.getElementsByName(hash)))) scrollTo(elm);\n\n      // no element and hash == 'top', scroll to the top of the page\n      else if (hash === 'top') scrollTo(null);\n    }\n\n    // does not scroll when user clicks on anchor link that is currently on\n    // (no url change, no $location.hash() change), browser native does scroll\n    if (autoScrollingEnabled) {\n      $rootScope.$watch(function autoScrollWatch() {return $location.hash();},\n        function autoScrollWatchAction(newVal, oldVal) {\n          // skip the initial scroll if $location.hash is empty\n          if (newVal === oldVal && newVal === '') return;\n\n          jqLiteDocumentLoaded(function() {\n            $rootScope.$evalAsync(scroll);\n          });\n        });\n    }\n\n    return scroll;\n  }];\n}\n\nvar $animateMinErr = minErr('$animate');\nvar ELEMENT_NODE = 1;\nvar NG_ANIMATE_CLASSNAME = 'ng-animate';\n\nfunction mergeClasses(a,b) {\n  if (!a && !b) return '';\n  if (!a) return b;\n  if (!b) return a;\n  if (isArray(a)) a = a.join(' ');\n  if (isArray(b)) b = b.join(' ');\n  return a + ' ' + b;\n}\n\nfunction extractElementNode(element) {\n  for (var i = 0; i < element.length; i++) {\n    var elm = element[i];\n    if (elm.nodeType === ELEMENT_NODE) {\n      return elm;\n    }\n  }\n}\n\nfunction splitClasses(classes) {\n  if (isString(classes)) {\n    classes = classes.split(' ');\n  }\n\n  // Use createMap() to prevent class assumptions involving property names in\n  // Object.prototype\n  var obj = createMap();\n  forEach(classes, function(klass) {\n    // sometimes the split leaves empty string values\n    // incase extra spaces were applied to the options\n    if (klass.length) {\n      obj[klass] = true;\n    }\n  });\n  return obj;\n}\n\n// if any other type of options value besides an Object value is\n// passed into the $animate.method() animation then this helper code\n// will be run which will ignore it. While this patch is not the\n// greatest solution to this, a lot of existing plugins depend on\n// $animate to either call the callback (< 1.2) or return a promise\n// that can be changed. This helper function ensures that the options\n// are wiped clean incase a callback function is provided.\nfunction prepareAnimateOptions(options) {\n  return isObject(options)\n      ? options\n      : {};\n}\n\nvar $$CoreAnimateRunnerProvider = function() {\n  this.$get = ['$q', '$$rAF', function($q, $$rAF) {\n    function AnimateRunner() {}\n    AnimateRunner.all = noop;\n    AnimateRunner.chain = noop;\n    AnimateRunner.prototype = {\n      end: noop,\n      cancel: noop,\n      resume: noop,\n      pause: noop,\n      complete: noop,\n      then: function(pass, fail) {\n        return $q(function(resolve) {\n          $$rAF(function() {\n            resolve();\n          });\n        }).then(pass, fail);\n      }\n    };\n    return AnimateRunner;\n  }];\n};\n\n// this is prefixed with Core since it conflicts with\n// the animateQueueProvider defined in ngAnimate/animateQueue.js\nvar $$CoreAnimateQueueProvider = function() {\n  var postDigestQueue = new HashMap();\n  var postDigestElements = [];\n\n  this.$get = ['$$AnimateRunner', '$rootScope',\n       function($$AnimateRunner,   $rootScope) {\n    return {\n      enabled: noop,\n      on: noop,\n      off: noop,\n      pin: noop,\n\n      push: function(element, event, options, domOperation) {\n        domOperation        && domOperation();\n\n        options = options || {};\n        options.from        && element.css(options.from);\n        options.to          && element.css(options.to);\n\n        if (options.addClass || options.removeClass) {\n          addRemoveClassesPostDigest(element, options.addClass, options.removeClass);\n        }\n\n        return new $$AnimateRunner(); // jshint ignore:line\n      }\n    };\n\n\n    function updateData(data, classes, value) {\n      var changed = false;\n      if (classes) {\n        classes = isString(classes) ? classes.split(' ') :\n                  isArray(classes) ? classes : [];\n        forEach(classes, function(className) {\n          if (className) {\n            changed = true;\n            data[className] = value;\n          }\n        });\n      }\n      return changed;\n    }\n\n    function handleCSSClassChanges() {\n      forEach(postDigestElements, function(element) {\n        var data = postDigestQueue.get(element);\n        if (data) {\n          var existing = splitClasses(element.attr('class'));\n          var toAdd = '';\n          var toRemove = '';\n          forEach(data, function(status, className) {\n            var hasClass = !!existing[className];\n            if (status !== hasClass) {\n              if (status) {\n                toAdd += (toAdd.length ? ' ' : '') + className;\n              } else {\n                toRemove += (toRemove.length ? ' ' : '') + className;\n              }\n            }\n          });\n\n          forEach(element, function(elm) {\n            toAdd    && jqLiteAddClass(elm, toAdd);\n            toRemove && jqLiteRemoveClass(elm, toRemove);\n          });\n          postDigestQueue.remove(element);\n        }\n      });\n      postDigestElements.length = 0;\n    }\n\n\n    function addRemoveClassesPostDigest(element, add, remove) {\n      var data = postDigestQueue.get(element) || {};\n\n      var classesAdded = updateData(data, add, true);\n      var classesRemoved = updateData(data, remove, false);\n\n      if (classesAdded || classesRemoved) {\n\n        postDigestQueue.put(element, data);\n        postDigestElements.push(element);\n\n        if (postDigestElements.length === 1) {\n          $rootScope.$$postDigest(handleCSSClassChanges);\n        }\n      }\n    }\n  }];\n};\n\n/**\n * @ngdoc provider\n * @name $animateProvider\n *\n * @description\n * Default implementation of $animate that doesn't perform any animations, instead just\n * synchronously performs DOM updates and resolves the returned runner promise.\n *\n * In order to enable animations the `ngAnimate` module has to be loaded.\n *\n * To see the functional implementation check out `src/ngAnimate/animate.js`.\n */\nvar $AnimateProvider = ['$provide', function($provide) {\n  var provider = this;\n\n  this.$$registeredAnimations = Object.create(null);\n\n   /**\n   * @ngdoc method\n   * @name $animateProvider#register\n   *\n   * @description\n   * Registers a new injectable animation factory function. The factory function produces the\n   * animation object which contains callback functions for each event that is expected to be\n   * animated.\n   *\n   *   * `eventFn`: `function(element, ... , doneFunction, options)`\n   *   The element to animate, the `doneFunction` and the options fed into the animation. Depending\n   *   on the type of animation additional arguments will be injected into the animation function. The\n   *   list below explains the function signatures for the different animation methods:\n   *\n   *   - setClass: function(element, addedClasses, removedClasses, doneFunction, options)\n   *   - addClass: function(element, addedClasses, doneFunction, options)\n   *   - removeClass: function(element, removedClasses, doneFunction, options)\n   *   - enter, leave, move: function(element, doneFunction, options)\n   *   - animate: function(element, fromStyles, toStyles, doneFunction, options)\n   *\n   *   Make sure to trigger the `doneFunction` once the animation is fully complete.\n   *\n   * ```js\n   *   return {\n   *     //enter, leave, move signature\n   *     eventFn : function(element, done, options) {\n   *       //code to run the animation\n   *       //once complete, then run done()\n   *       return function endFunction(wasCancelled) {\n   *         //code to cancel the animation\n   *       }\n   *     }\n   *   }\n   * ```\n   *\n   * @param {string} name The name of the animation (this is what the class-based CSS value will be compared to).\n   * @param {Function} factory The factory function that will be executed to return the animation\n   *                           object.\n   */\n  this.register = function(name, factory) {\n    if (name && name.charAt(0) !== '.') {\n      throw $animateMinErr('notcsel', \"Expecting class selector starting with '.' got '{0}'.\", name);\n    }\n\n    var key = name + '-animation';\n    provider.$$registeredAnimations[name.substr(1)] = key;\n    $provide.factory(key, factory);\n  };\n\n  /**\n   * @ngdoc method\n   * @name $animateProvider#classNameFilter\n   *\n   * @description\n   * Sets and/or returns the CSS class regular expression that is checked when performing\n   * an animation. Upon bootstrap the classNameFilter value is not set at all and will\n   * therefore enable $animate to attempt to perform an animation on any element that is triggered.\n   * When setting the `classNameFilter` value, animations will only be performed on elements\n   * that successfully match the filter expression. This in turn can boost performance\n   * for low-powered devices as well as applications containing a lot of structural operations.\n   * @param {RegExp=} expression The className expression which will be checked against all animations\n   * @return {RegExp} The current CSS className expression value. If null then there is no expression value\n   */\n  this.classNameFilter = function(expression) {\n    if (arguments.length === 1) {\n      this.$$classNameFilter = (expression instanceof RegExp) ? expression : null;\n      if (this.$$classNameFilter) {\n        var reservedRegex = new RegExp(\"(\\\\s+|\\\\/)\" + NG_ANIMATE_CLASSNAME + \"(\\\\s+|\\\\/)\");\n        if (reservedRegex.test(this.$$classNameFilter.toString())) {\n          throw $animateMinErr('nongcls','$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the \"{0}\" CSS class.', NG_ANIMATE_CLASSNAME);\n\n        }\n      }\n    }\n    return this.$$classNameFilter;\n  };\n\n  this.$get = ['$$animateQueue', function($$animateQueue) {\n    function domInsert(element, parentElement, afterElement) {\n      // if for some reason the previous element was removed\n      // from the dom sometime before this code runs then let's\n      // just stick to using the parent element as the anchor\n      if (afterElement) {\n        var afterNode = extractElementNode(afterElement);\n        if (afterNode && !afterNode.parentNode && !afterNode.previousElementSibling) {\n          afterElement = null;\n        }\n      }\n      afterElement ? afterElement.after(element) : parentElement.prepend(element);\n    }\n\n    /**\n     * @ngdoc service\n     * @name $animate\n     * @description The $animate service exposes a series of DOM utility methods that provide support\n     * for animation hooks. The default behavior is the application of DOM operations, however,\n     * when an animation is detected (and animations are enabled), $animate will do the heavy lifting\n     * to ensure that animation runs with the triggered DOM operation.\n     *\n     * By default $animate doesn't trigger any animations. This is because the `ngAnimate` module isn't\n     * included and only when it is active then the animation hooks that `$animate` triggers will be\n     * functional. Once active then all structural `ng-` directives will trigger animations as they perform\n     * their DOM-related operations (enter, leave and move). Other directives such as `ngClass`,\n     * `ngShow`, `ngHide` and `ngMessages` also provide support for animations.\n     *\n     * It is recommended that the`$animate` service is always used when executing DOM-related procedures within directives.\n     *\n     * To learn more about enabling animation support, click here to visit the\n     * {@link ngAnimate ngAnimate module page}.\n     */\n    return {\n      // we don't call it directly since non-existant arguments may\n      // be interpreted as null within the sub enabled function\n\n      /**\n       *\n       * @ngdoc method\n       * @name $animate#on\n       * @kind function\n       * @description Sets up an event listener to fire whenever the animation event (enter, leave, move, etc...)\n       *    has fired on the given element or among any of its children. Once the listener is fired, the provided callback\n       *    is fired with the following params:\n       *\n       * ```js\n       * $animate.on('enter', container,\n       *    function callback(element, phase) {\n       *      // cool we detected an enter animation within the container\n       *    }\n       * );\n       * ```\n       *\n       * @param {string} event the animation event that will be captured (e.g. enter, leave, move, addClass, removeClass, etc...)\n       * @param {DOMElement} container the container element that will capture each of the animation events that are fired on itself\n       *     as well as among its children\n       * @param {Function} callback the callback function that will be fired when the listener is triggered\n       *\n       * The arguments present in the callback function are:\n       * * `element` - The captured DOM element that the animation was fired on.\n       * * `phase` - The phase of the animation. The two possible phases are **start** (when the animation starts) and **close** (when it ends).\n       */\n      on: $$animateQueue.on,\n\n      /**\n       *\n       * @ngdoc method\n       * @name $animate#off\n       * @kind function\n       * @description Deregisters an event listener based on the event which has been associated with the provided element. This method\n       * can be used in three different ways depending on the arguments:\n       *\n       * ```js\n       * // remove all the animation event listeners listening for `enter`\n       * $animate.off('enter');\n       *\n       * // remove all the animation event listeners listening for `enter` on the given element and its children\n       * $animate.off('enter', container);\n       *\n       * // remove the event listener function provided by `listenerFn` that is set\n       * // to listen for `enter` on the given `element` as well as its children\n       * $animate.off('enter', container, callback);\n       * ```\n       *\n       * @param {string} event the animation event (e.g. enter, leave, move, addClass, removeClass, etc...)\n       * @param {DOMElement=} container the container element the event listener was placed on\n       * @param {Function=} callback the callback function that was registered as the listener\n       */\n      off: $$animateQueue.off,\n\n      /**\n       * @ngdoc method\n       * @name $animate#pin\n       * @kind function\n       * @description Associates the provided element with a host parent element to allow the element to be animated even if it exists\n       *    outside of the DOM structure of the Angular application. By doing so, any animation triggered via `$animate` can be issued on the\n       *    element despite being outside the realm of the application or within another application. Say for example if the application\n       *    was bootstrapped on an element that is somewhere inside of the `<body>` tag, but we wanted to allow for an element to be situated\n       *    as a direct child of `document.body`, then this can be achieved by pinning the element via `$animate.pin(element)`. Keep in mind\n       *    that calling `$animate.pin(element, parentElement)` will not actually insert into the DOM anywhere; it will just create the association.\n       *\n       *    Note that this feature is only active when the `ngAnimate` module is used.\n       *\n       * @param {DOMElement} element the external element that will be pinned\n       * @param {DOMElement} parentElement the host parent element that will be associated with the external element\n       */\n      pin: $$animateQueue.pin,\n\n      /**\n       *\n       * @ngdoc method\n       * @name $animate#enabled\n       * @kind function\n       * @description Used to get and set whether animations are enabled or not on the entire application or on an element and its children. This\n       * function can be called in four ways:\n       *\n       * ```js\n       * // returns true or false\n       * $animate.enabled();\n       *\n       * // changes the enabled state for all animations\n       * $animate.enabled(false);\n       * $animate.enabled(true);\n       *\n       * // returns true or false if animations are enabled for an element\n       * $animate.enabled(element);\n       *\n       * // changes the enabled state for an element and its children\n       * $animate.enabled(element, true);\n       * $animate.enabled(element, false);\n       * ```\n       *\n       * @param {DOMElement=} element the element that will be considered for checking/setting the enabled state\n       * @param {boolean=} enabled whether or not the animations will be enabled for the element\n       *\n       * @return {boolean} whether or not animations are enabled\n       */\n      enabled: $$animateQueue.enabled,\n\n      /**\n       * @ngdoc method\n       * @name $animate#cancel\n       * @kind function\n       * @description Cancels the provided animation.\n       *\n       * @param {Promise} animationPromise The animation promise that is returned when an animation is started.\n       */\n      cancel: function(runner) {\n        runner.end && runner.end();\n      },\n\n      /**\n       *\n       * @ngdoc method\n       * @name $animate#enter\n       * @kind function\n       * @description Inserts the element into the DOM either after the `after` element (if provided) or\n       *   as the first child within the `parent` element and then triggers an animation.\n       *   A promise is returned that will be resolved during the next digest once the animation\n       *   has completed.\n       *\n       * @param {DOMElement} element the element which will be inserted into the DOM\n       * @param {DOMElement} parent the parent element which will append the element as\n       *   a child (so long as the after element is not present)\n       * @param {DOMElement=} after the sibling element after which the element will be appended\n       * @param {object=} options an optional collection of options/styles that will be applied to the element\n       *\n       * @return {Promise} the animation callback promise\n       */\n      enter: function(element, parent, after, options) {\n        parent = parent && jqLite(parent);\n        after = after && jqLite(after);\n        parent = parent || after.parent();\n        domInsert(element, parent, after);\n        return $$animateQueue.push(element, 'enter', prepareAnimateOptions(options));\n      },\n\n      /**\n       *\n       * @ngdoc method\n       * @name $animate#move\n       * @kind function\n       * @description Inserts (moves) the element into its new position in the DOM either after\n       *   the `after` element (if provided) or as the first child within the `parent` element\n       *   and then triggers an animation. A promise is returned that will be resolved\n       *   during the next digest once the animation has completed.\n       *\n       * @param {DOMElement} element the element which will be moved into the new DOM position\n       * @param {DOMElement} parent the parent element which will append the element as\n       *   a child (so long as the after element is not present)\n       * @param {DOMElement=} after the sibling element after which the element will be appended\n       * @param {object=} options an optional collection of options/styles that will be applied to the element\n       *\n       * @return {Promise} the animation callback promise\n       */\n      move: function(element, parent, after, options) {\n        parent = parent && jqLite(parent);\n        after = after && jqLite(after);\n        parent = parent || after.parent();\n        domInsert(element, parent, after);\n        return $$animateQueue.push(element, 'move', prepareAnimateOptions(options));\n      },\n\n      /**\n       * @ngdoc method\n       * @name $animate#leave\n       * @kind function\n       * @description Triggers an animation and then removes the element from the DOM.\n       * When the function is called a promise is returned that will be resolved during the next\n       * digest once the animation has completed.\n       *\n       * @param {DOMElement} element the element which will be removed from the DOM\n       * @param {object=} options an optional collection of options/styles that will be applied to the element\n       *\n       * @return {Promise} the animation callback promise\n       */\n      leave: function(element, options) {\n        return $$animateQueue.push(element, 'leave', prepareAnimateOptions(options), function() {\n          element.remove();\n        });\n      },\n\n      /**\n       * @ngdoc method\n       * @name $animate#addClass\n       * @kind function\n       *\n       * @description Triggers an addClass animation surrounding the addition of the provided CSS class(es). Upon\n       *   execution, the addClass operation will only be handled after the next digest and it will not trigger an\n       *   animation if element already contains the CSS class or if the class is removed at a later step.\n       *   Note that class-based animations are treated differently compared to structural animations\n       *   (like enter, move and leave) since the CSS classes may be added/removed at different points\n       *   depending if CSS or JavaScript animations are used.\n       *\n       * @param {DOMElement} element the element which the CSS classes will be applied to\n       * @param {string} className the CSS class(es) that will be added (multiple classes are separated via spaces)\n       * @param {object=} options an optional collection of options/styles that will be applied to the element\n       *\n       * @return {Promise} the animation callback promise\n       */\n      addClass: function(element, className, options) {\n        options = prepareAnimateOptions(options);\n        options.addClass = mergeClasses(options.addclass, className);\n        return $$animateQueue.push(element, 'addClass', options);\n      },\n\n      /**\n       * @ngdoc method\n       * @name $animate#removeClass\n       * @kind function\n       *\n       * @description Triggers a removeClass animation surrounding the removal of the provided CSS class(es). Upon\n       *   execution, the removeClass operation will only be handled after the next digest and it will not trigger an\n       *   animation if element does not contain the CSS class or if the class is added at a later step.\n       *   Note that class-based animations are treated differently compared to structural animations\n       *   (like enter, move and leave) since the CSS classes may be added/removed at different points\n       *   depending if CSS or JavaScript animations are used.\n       *\n       * @param {DOMElement} element the element which the CSS classes will be applied to\n       * @param {string} className the CSS class(es) that will be removed (multiple classes are separated via spaces)\n       * @param {object=} options an optional collection of options/styles that will be applied to the element\n       *\n       * @return {Promise} the animation callback promise\n       */\n      removeClass: function(element, className, options) {\n        options = prepareAnimateOptions(options);\n        options.removeClass = mergeClasses(options.removeClass, className);\n        return $$animateQueue.push(element, 'removeClass', options);\n      },\n\n      /**\n       * @ngdoc method\n       * @name $animate#setClass\n       * @kind function\n       *\n       * @description Performs both the addition and removal of a CSS classes on an element and (during the process)\n       *    triggers an animation surrounding the class addition/removal. Much like `$animate.addClass` and\n       *    `$animate.removeClass`, `setClass` will only evaluate the classes being added/removed once a digest has\n       *    passed. Note that class-based animations are treated differently compared to structural animations\n       *    (like enter, move and leave) since the CSS classes may be added/removed at different points\n       *    depending if CSS or JavaScript animations are used.\n       *\n       * @param {DOMElement} element the element which the CSS classes will be applied to\n       * @param {string} add the CSS class(es) that will be added (multiple classes are separated via spaces)\n       * @param {string} remove the CSS class(es) that will be removed (multiple classes are separated via spaces)\n       * @param {object=} options an optional collection of options/styles that will be applied to the element\n       *\n       * @return {Promise} the animation callback promise\n       */\n      setClass: function(element, add, remove, options) {\n        options = prepareAnimateOptions(options);\n        options.addClass = mergeClasses(options.addClass, add);\n        options.removeClass = mergeClasses(options.removeClass, remove);\n        return $$animateQueue.push(element, 'setClass', options);\n      },\n\n      /**\n       * @ngdoc method\n       * @name $animate#animate\n       * @kind function\n       *\n       * @description Performs an inline animation on the element which applies the provided to and from CSS styles to the element.\n       * If any detected CSS transition, keyframe or JavaScript matches the provided className value then the animation will take\n       * on the provided styles. For example, if a transition animation is set for the given className then the provided from and\n       * to styles will be applied alongside the given transition. If a JavaScript animation is detected then the provided styles\n       * will be given in as function paramters into the `animate` method (or as apart of the `options` parameter).\n       *\n       * @param {DOMElement} element the element which the CSS styles will be applied to\n       * @param {object} from the from (starting) CSS styles that will be applied to the element and across the animation.\n       * @param {object} to the to (destination) CSS styles that will be applied to the element and across the animation.\n       * @param {string=} className an optional CSS class that will be applied to the element for the duration of the animation. If\n       *    this value is left as empty then a CSS class of `ng-inline-animate` will be applied to the element.\n       *    (Note that if no animation is detected then this value will not be appplied to the element.)\n       * @param {object=} options an optional collection of options/styles that will be applied to the element\n       *\n       * @return {Promise} the animation callback promise\n       */\n      animate: function(element, from, to, className, options) {\n        options = prepareAnimateOptions(options);\n        options.from = options.from ? extend(options.from, from) : from;\n        options.to   = options.to   ? extend(options.to, to)     : to;\n\n        className = className || 'ng-inline-animate';\n        options.tempClasses = mergeClasses(options.tempClasses, className);\n        return $$animateQueue.push(element, 'animate', options);\n      }\n    };\n  }];\n}];\n\n/**\n * @ngdoc service\n * @name $animateCss\n * @kind object\n *\n * @description\n * This is the core version of `$animateCss`. By default, only when the `ngAnimate` is included,\n * then the `$animateCss` service will actually perform animations.\n *\n * Click here {@link ngAnimate.$animateCss to read the documentation for $animateCss}.\n */\nvar $CoreAnimateCssProvider = function() {\n  this.$get = ['$$rAF', '$q', function($$rAF, $q) {\n\n    var RAFPromise = function() {};\n    RAFPromise.prototype = {\n      done: function(cancel) {\n        this.defer && this.defer[cancel === true ? 'reject' : 'resolve']();\n      },\n      end: function() {\n        this.done();\n      },\n      cancel: function() {\n        this.done(true);\n      },\n      getPromise: function() {\n        if (!this.defer) {\n          this.defer = $q.defer();\n        }\n        return this.defer.promise;\n      },\n      then: function(f1,f2) {\n        return this.getPromise().then(f1,f2);\n      },\n      'catch': function(f1) {\n        return this.getPromise()['catch'](f1);\n      },\n      'finally': function(f1) {\n        return this.getPromise()['finally'](f1);\n      }\n    };\n\n    return function(element, options) {\n      // there is no point in applying the styles since\n      // there is no animation that goes on at all in\n      // this version of $animateCss.\n      if (options.cleanupStyles) {\n        options.from = options.to = null;\n      }\n\n      if (options.from) {\n        element.css(options.from);\n        options.from = null;\n      }\n\n      var closed, runner = new RAFPromise();\n      return {\n        start: run,\n        end: run\n      };\n\n      function run() {\n        $$rAF(function() {\n          close();\n          if (!closed) {\n            runner.done();\n          }\n          closed = true;\n        });\n        return runner;\n      }\n\n      function close() {\n        if (options.addClass) {\n          element.addClass(options.addClass);\n          options.addClass = null;\n        }\n        if (options.removeClass) {\n          element.removeClass(options.removeClass);\n          options.removeClass = null;\n        }\n        if (options.to) {\n          element.css(options.to);\n          options.to = null;\n        }\n      }\n    };\n  }];\n};\n\n/* global stripHash: true */\n\n/**\n * ! This is a private undocumented service !\n *\n * @name $browser\n * @requires $log\n * @description\n * This object has two goals:\n *\n * - hide all the global state in the browser caused by the window object\n * - abstract away all the browser specific features and inconsistencies\n *\n * For tests we provide {@link ngMock.$browser mock implementation} of the `$browser`\n * service, which can be used for convenient testing of the application without the interaction with\n * the real browser apis.\n */\n/**\n * @param {object} window The global window object.\n * @param {object} document jQuery wrapped document.\n * @param {object} $log window.console or an object with the same interface.\n * @param {object} $sniffer $sniffer service\n */\nfunction Browser(window, document, $log, $sniffer) {\n  var self = this,\n      rawDocument = document[0],\n      location = window.location,\n      history = window.history,\n      setTimeout = window.setTimeout,\n      clearTimeout = window.clearTimeout,\n      pendingDeferIds = {};\n\n  self.isMock = false;\n\n  var outstandingRequestCount = 0;\n  var outstandingRequestCallbacks = [];\n\n  // TODO(vojta): remove this temporary api\n  self.$$completeOutstandingRequest = completeOutstandingRequest;\n  self.$$incOutstandingRequestCount = function() { outstandingRequestCount++; };\n\n  /**\n   * Executes the `fn` function(supports currying) and decrements the `outstandingRequestCallbacks`\n   * counter. If the counter reaches 0, all the `outstandingRequestCallbacks` are executed.\n   */\n  function completeOutstandingRequest(fn) {\n    try {\n      fn.apply(null, sliceArgs(arguments, 1));\n    } finally {\n      outstandingRequestCount--;\n      if (outstandingRequestCount === 0) {\n        while (outstandingRequestCallbacks.length) {\n          try {\n            outstandingRequestCallbacks.pop()();\n          } catch (e) {\n            $log.error(e);\n          }\n        }\n      }\n    }\n  }\n\n  function getHash(url) {\n    var index = url.indexOf('#');\n    return index === -1 ? '' : url.substr(index);\n  }\n\n  /**\n   * @private\n   * Note: this method is used only by scenario runner\n   * TODO(vojta): prefix this method with $$ ?\n   * @param {function()} callback Function that will be called when no outstanding request\n   */\n  self.notifyWhenNoOutstandingRequests = function(callback) {\n    if (outstandingRequestCount === 0) {\n      callback();\n    } else {\n      outstandingRequestCallbacks.push(callback);\n    }\n  };\n\n  //////////////////////////////////////////////////////////////\n  // URL API\n  //////////////////////////////////////////////////////////////\n\n  var cachedState, lastHistoryState,\n      lastBrowserUrl = location.href,\n      baseElement = document.find('base'),\n      pendingLocation = null;\n\n  cacheState();\n  lastHistoryState = cachedState;\n\n  /**\n   * @name $browser#url\n   *\n   * @description\n   * GETTER:\n   * Without any argument, this method just returns current value of location.href.\n   *\n   * SETTER:\n   * With at least one argument, this method sets url to new value.\n   * If html5 history api supported, pushState/replaceState is used, otherwise\n   * location.href/location.replace is used.\n   * Returns its own instance to allow chaining\n   *\n   * NOTE: this api is intended for use only by the $location service. Please use the\n   * {@link ng.$location $location service} to change url.\n   *\n   * @param {string} url New url (when used as setter)\n   * @param {boolean=} replace Should new url replace current history record?\n   * @param {object=} state object to use with pushState/replaceState\n   */\n  self.url = function(url, replace, state) {\n    // In modern browsers `history.state` is `null` by default; treating it separately\n    // from `undefined` would cause `$browser.url('/foo')` to change `history.state`\n    // to undefined via `pushState`. Instead, let's change `undefined` to `null` here.\n    if (isUndefined(state)) {\n      state = null;\n    }\n\n    // Android Browser BFCache causes location, history reference to become stale.\n    if (location !== window.location) location = window.location;\n    if (history !== window.history) history = window.history;\n\n    // setter\n    if (url) {\n      var sameState = lastHistoryState === state;\n\n      // Don't change anything if previous and current URLs and states match. This also prevents\n      // IE<10 from getting into redirect loop when in LocationHashbangInHtml5Url mode.\n      // See https://github.com/angular/angular.js/commit/ffb2701\n      if (lastBrowserUrl === url && (!$sniffer.history || sameState)) {\n        return self;\n      }\n      var sameBase = lastBrowserUrl && stripHash(lastBrowserUrl) === stripHash(url);\n      lastBrowserUrl = url;\n      lastHistoryState = state;\n      // Don't use history API if only the hash changed\n      // due to a bug in IE10/IE11 which leads\n      // to not firing a `hashchange` nor `popstate` event\n      // in some cases (see #9143).\n      if ($sniffer.history && (!sameBase || !sameState)) {\n        history[replace ? 'replaceState' : 'pushState'](state, '', url);\n        cacheState();\n        // Do the assignment again so that those two variables are referentially identical.\n        lastHistoryState = cachedState;\n      } else {\n        if (!sameBase || pendingLocation) {\n          pendingLocation = url;\n        }\n        if (replace) {\n          location.replace(url);\n        } else if (!sameBase) {\n          location.href = url;\n        } else {\n          location.hash = getHash(url);\n        }\n        if (location.href !== url) {\n          pendingLocation = url;\n        }\n      }\n      return self;\n    // getter\n    } else {\n      // - pendingLocation is needed as browsers don't allow to read out\n      //   the new location.href if a reload happened or if there is a bug like in iOS 9 (see\n      //   https://openradar.appspot.com/22186109).\n      // - the replacement is a workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=407172\n      return pendingLocation || location.href.replace(/%27/g,\"'\");\n    }\n  };\n\n  /**\n   * @name $browser#state\n   *\n   * @description\n   * This method is a getter.\n   *\n   * Return history.state or null if history.state is undefined.\n   *\n   * @returns {object} state\n   */\n  self.state = function() {\n    return cachedState;\n  };\n\n  var urlChangeListeners = [],\n      urlChangeInit = false;\n\n  function cacheStateAndFireUrlChange() {\n    pendingLocation = null;\n    cacheState();\n    fireUrlChange();\n  }\n\n  function getCurrentState() {\n    try {\n      return history.state;\n    } catch (e) {\n      // MSIE can reportedly throw when there is no state (UNCONFIRMED).\n    }\n  }\n\n  // This variable should be used *only* inside the cacheState function.\n  var lastCachedState = null;\n  function cacheState() {\n    // This should be the only place in $browser where `history.state` is read.\n    cachedState = getCurrentState();\n    cachedState = isUndefined(cachedState) ? null : cachedState;\n\n    // Prevent callbacks fo fire twice if both hashchange & popstate were fired.\n    if (equals(cachedState, lastCachedState)) {\n      cachedState = lastCachedState;\n    }\n    lastCachedState = cachedState;\n  }\n\n  function fireUrlChange() {\n    if (lastBrowserUrl === self.url() && lastHistoryState === cachedState) {\n      return;\n    }\n\n    lastBrowserUrl = self.url();\n    lastHistoryState = cachedState;\n    forEach(urlChangeListeners, function(listener) {\n      listener(self.url(), cachedState);\n    });\n  }\n\n  /**\n   * @name $browser#onUrlChange\n   *\n   * @description\n   * Register callback function that will be called, when url changes.\n   *\n   * It's only called when the url is changed from outside of angular:\n   * - user types different url into address bar\n   * - user clicks on history (forward/back) button\n   * - user clicks on a link\n   *\n   * It's not called when url is changed by $browser.url() method\n   *\n   * The listener gets called with new url as parameter.\n   *\n   * NOTE: this api is intended for use only by the $location service. Please use the\n   * {@link ng.$location $location service} to monitor url changes in angular apps.\n   *\n   * @param {function(string)} listener Listener function to be called when url changes.\n   * @return {function(string)} Returns the registered listener fn - handy if the fn is anonymous.\n   */\n  self.onUrlChange = function(callback) {\n    // TODO(vojta): refactor to use node's syntax for events\n    if (!urlChangeInit) {\n      // We listen on both (hashchange/popstate) when available, as some browsers (e.g. Opera)\n      // don't fire popstate when user change the address bar and don't fire hashchange when url\n      // changed by push/replaceState\n\n      // html5 history api - popstate event\n      if ($sniffer.history) jqLite(window).on('popstate', cacheStateAndFireUrlChange);\n      // hashchange event\n      jqLite(window).on('hashchange', cacheStateAndFireUrlChange);\n\n      urlChangeInit = true;\n    }\n\n    urlChangeListeners.push(callback);\n    return callback;\n  };\n\n  /**\n   * @private\n   * Remove popstate and hashchange handler from window.\n   *\n   * NOTE: this api is intended for use only by $rootScope.\n   */\n  self.$$applicationDestroyed = function() {\n    jqLite(window).off('hashchange popstate', cacheStateAndFireUrlChange);\n  };\n\n  /**\n   * Checks whether the url has changed outside of Angular.\n   * Needs to be exported to be able to check for changes that have been done in sync,\n   * as hashchange/popstate events fire in async.\n   */\n  self.$$checkUrlChange = fireUrlChange;\n\n  //////////////////////////////////////////////////////////////\n  // Misc API\n  //////////////////////////////////////////////////////////////\n\n  /**\n   * @name $browser#baseHref\n   *\n   * @description\n   * Returns current <base href>\n   * (always relative - without domain)\n   *\n   * @returns {string} The current base href\n   */\n  self.baseHref = function() {\n    var href = baseElement.attr('href');\n    return href ? href.replace(/^(https?\\:)?\\/\\/[^\\/]*/, '') : '';\n  };\n\n  /**\n   * @name $browser#defer\n   * @param {function()} fn A function, who's execution should be deferred.\n   * @param {number=} [delay=0] of milliseconds to defer the function execution.\n   * @returns {*} DeferId that can be used to cancel the task via `$browser.defer.cancel()`.\n   *\n   * @description\n   * Executes a fn asynchronously via `setTimeout(fn, delay)`.\n   *\n   * Unlike when calling `setTimeout` directly, in test this function is mocked and instead of using\n   * `setTimeout` in tests, the fns are queued in an array, which can be programmatically flushed\n   * via `$browser.defer.flush()`.\n   *\n   */\n  self.defer = function(fn, delay) {\n    var timeoutId;\n    outstandingRequestCount++;\n    timeoutId = setTimeout(function() {\n      delete pendingDeferIds[timeoutId];\n      completeOutstandingRequest(fn);\n    }, delay || 0);\n    pendingDeferIds[timeoutId] = true;\n    return timeoutId;\n  };\n\n\n  /**\n   * @name $browser#defer.cancel\n   *\n   * @description\n   * Cancels a deferred task identified with `deferId`.\n   *\n   * @param {*} deferId Token returned by the `$browser.defer` function.\n   * @returns {boolean} Returns `true` if the task hasn't executed yet and was successfully\n   *                    canceled.\n   */\n  self.defer.cancel = function(deferId) {\n    if (pendingDeferIds[deferId]) {\n      delete pendingDeferIds[deferId];\n      clearTimeout(deferId);\n      completeOutstandingRequest(noop);\n      return true;\n    }\n    return false;\n  };\n\n}\n\nfunction $BrowserProvider() {\n  this.$get = ['$window', '$log', '$sniffer', '$document',\n      function($window, $log, $sniffer, $document) {\n        return new Browser($window, $document, $log, $sniffer);\n      }];\n}\n\n/**\n * @ngdoc service\n * @name $cacheFactory\n *\n * @description\n * Factory that constructs {@link $cacheFactory.Cache Cache} objects and gives access to\n * them.\n *\n * ```js\n *\n *  var cache = $cacheFactory('cacheId');\n *  expect($cacheFactory.get('cacheId')).toBe(cache);\n *  expect($cacheFactory.get('noSuchCacheId')).not.toBeDefined();\n *\n *  cache.put(\"key\", \"value\");\n *  cache.put(\"another key\", \"another value\");\n *\n *  // We've specified no options on creation\n *  expect(cache.info()).toEqual({id: 'cacheId', size: 2});\n *\n * ```\n *\n *\n * @param {string} cacheId Name or id of the newly created cache.\n * @param {object=} options Options object that specifies the cache behavior. Properties:\n *\n *   - `{number=}` `capacity` — turns the cache into LRU cache.\n *\n * @returns {object} Newly created cache object with the following set of methods:\n *\n * - `{object}` `info()` — Returns id, size, and options of cache.\n * - `{{*}}` `put({string} key, {*} value)` — Puts a new key-value pair into the cache and returns\n *   it.\n * - `{{*}}` `get({string} key)` — Returns cached value for `key` or undefined for cache miss.\n * - `{void}` `remove({string} key)` — Removes a key-value pair from the cache.\n * - `{void}` `removeAll()` — Removes all cached values.\n * - `{void}` `destroy()` — Removes references to this cache from $cacheFactory.\n *\n * @example\n   <example module=\"cacheExampleApp\">\n     <file name=\"index.html\">\n       <div ng-controller=\"CacheController\">\n         <input ng-model=\"newCacheKey\" placeholder=\"Key\">\n         <input ng-model=\"newCacheValue\" placeholder=\"Value\">\n         <button ng-click=\"put(newCacheKey, newCacheValue)\">Cache</button>\n\n         <p ng-if=\"keys.length\">Cached Values</p>\n         <div ng-repeat=\"key in keys\">\n           <span ng-bind=\"key\"></span>\n           <span>: </span>\n           <b ng-bind=\"cache.get(key)\"></b>\n         </div>\n\n         <p>Cache Info</p>\n         <div ng-repeat=\"(key, value) in cache.info()\">\n           <span ng-bind=\"key\"></span>\n           <span>: </span>\n           <b ng-bind=\"value\"></b>\n         </div>\n       </div>\n     </file>\n     <file name=\"script.js\">\n       angular.module('cacheExampleApp', []).\n         controller('CacheController', ['$scope', '$cacheFactory', function($scope, $cacheFactory) {\n           $scope.keys = [];\n           $scope.cache = $cacheFactory('cacheId');\n           $scope.put = function(key, value) {\n             if (angular.isUndefined($scope.cache.get(key))) {\n               $scope.keys.push(key);\n             }\n             $scope.cache.put(key, angular.isUndefined(value) ? null : value);\n           };\n         }]);\n     </file>\n     <file name=\"style.css\">\n       p {\n         margin: 10px 0 3px;\n       }\n     </file>\n   </example>\n */\nfunction $CacheFactoryProvider() {\n\n  this.$get = function() {\n    var caches = {};\n\n    function cacheFactory(cacheId, options) {\n      if (cacheId in caches) {\n        throw minErr('$cacheFactory')('iid', \"CacheId '{0}' is already taken!\", cacheId);\n      }\n\n      var size = 0,\n          stats = extend({}, options, {id: cacheId}),\n          data = createMap(),\n          capacity = (options && options.capacity) || Number.MAX_VALUE,\n          lruHash = createMap(),\n          freshEnd = null,\n          staleEnd = null;\n\n      /**\n       * @ngdoc type\n       * @name $cacheFactory.Cache\n       *\n       * @description\n       * A cache object used to store and retrieve data, primarily used by\n       * {@link $http $http} and the {@link ng.directive:script script} directive to cache\n       * templates and other data.\n       *\n       * ```js\n       *  angular.module('superCache')\n       *    .factory('superCache', ['$cacheFactory', function($cacheFactory) {\n       *      return $cacheFactory('super-cache');\n       *    }]);\n       * ```\n       *\n       * Example test:\n       *\n       * ```js\n       *  it('should behave like a cache', inject(function(superCache) {\n       *    superCache.put('key', 'value');\n       *    superCache.put('another key', 'another value');\n       *\n       *    expect(superCache.info()).toEqual({\n       *      id: 'super-cache',\n       *      size: 2\n       *    });\n       *\n       *    superCache.remove('another key');\n       *    expect(superCache.get('another key')).toBeUndefined();\n       *\n       *    superCache.removeAll();\n       *    expect(superCache.info()).toEqual({\n       *      id: 'super-cache',\n       *      size: 0\n       *    });\n       *  }));\n       * ```\n       */\n      return caches[cacheId] = {\n\n        /**\n         * @ngdoc method\n         * @name $cacheFactory.Cache#put\n         * @kind function\n         *\n         * @description\n         * Inserts a named entry into the {@link $cacheFactory.Cache Cache} object to be\n         * retrieved later, and incrementing the size of the cache if the key was not already\n         * present in the cache. If behaving like an LRU cache, it will also remove stale\n         * entries from the set.\n         *\n         * It will not insert undefined values into the cache.\n         *\n         * @param {string} key the key under which the cached data is stored.\n         * @param {*} value the value to store alongside the key. If it is undefined, the key\n         *    will not be stored.\n         * @returns {*} the value stored.\n         */\n        put: function(key, value) {\n          if (isUndefined(value)) return;\n          if (capacity < Number.MAX_VALUE) {\n            var lruEntry = lruHash[key] || (lruHash[key] = {key: key});\n\n            refresh(lruEntry);\n          }\n\n          if (!(key in data)) size++;\n          data[key] = value;\n\n          if (size > capacity) {\n            this.remove(staleEnd.key);\n          }\n\n          return value;\n        },\n\n        /**\n         * @ngdoc method\n         * @name $cacheFactory.Cache#get\n         * @kind function\n         *\n         * @description\n         * Retrieves named data stored in the {@link $cacheFactory.Cache Cache} object.\n         *\n         * @param {string} key the key of the data to be retrieved\n         * @returns {*} the value stored.\n         */\n        get: function(key) {\n          if (capacity < Number.MAX_VALUE) {\n            var lruEntry = lruHash[key];\n\n            if (!lruEntry) return;\n\n            refresh(lruEntry);\n          }\n\n          return data[key];\n        },\n\n\n        /**\n         * @ngdoc method\n         * @name $cacheFactory.Cache#remove\n         * @kind function\n         *\n         * @description\n         * Removes an entry from the {@link $cacheFactory.Cache Cache} object.\n         *\n         * @param {string} key the key of the entry to be removed\n         */\n        remove: function(key) {\n          if (capacity < Number.MAX_VALUE) {\n            var lruEntry = lruHash[key];\n\n            if (!lruEntry) return;\n\n            if (lruEntry == freshEnd) freshEnd = lruEntry.p;\n            if (lruEntry == staleEnd) staleEnd = lruEntry.n;\n            link(lruEntry.n,lruEntry.p);\n\n            delete lruHash[key];\n          }\n\n          if (!(key in data)) return;\n\n          delete data[key];\n          size--;\n        },\n\n\n        /**\n         * @ngdoc method\n         * @name $cacheFactory.Cache#removeAll\n         * @kind function\n         *\n         * @description\n         * Clears the cache object of any entries.\n         */\n        removeAll: function() {\n          data = createMap();\n          size = 0;\n          lruHash = createMap();\n          freshEnd = staleEnd = null;\n        },\n\n\n        /**\n         * @ngdoc method\n         * @name $cacheFactory.Cache#destroy\n         * @kind function\n         *\n         * @description\n         * Destroys the {@link $cacheFactory.Cache Cache} object entirely,\n         * removing it from the {@link $cacheFactory $cacheFactory} set.\n         */\n        destroy: function() {\n          data = null;\n          stats = null;\n          lruHash = null;\n          delete caches[cacheId];\n        },\n\n\n        /**\n         * @ngdoc method\n         * @name $cacheFactory.Cache#info\n         * @kind function\n         *\n         * @description\n         * Retrieve information regarding a particular {@link $cacheFactory.Cache Cache}.\n         *\n         * @returns {object} an object with the following properties:\n         *   <ul>\n         *     <li>**id**: the id of the cache instance</li>\n         *     <li>**size**: the number of entries kept in the cache instance</li>\n         *     <li>**...**: any additional properties from the options object when creating the\n         *       cache.</li>\n         *   </ul>\n         */\n        info: function() {\n          return extend({}, stats, {size: size});\n        }\n      };\n\n\n      /**\n       * makes the `entry` the freshEnd of the LRU linked list\n       */\n      function refresh(entry) {\n        if (entry != freshEnd) {\n          if (!staleEnd) {\n            staleEnd = entry;\n          } else if (staleEnd == entry) {\n            staleEnd = entry.n;\n          }\n\n          link(entry.n, entry.p);\n          link(entry, freshEnd);\n          freshEnd = entry;\n          freshEnd.n = null;\n        }\n      }\n\n\n      /**\n       * bidirectionally links two entries of the LRU linked list\n       */\n      function link(nextEntry, prevEntry) {\n        if (nextEntry != prevEntry) {\n          if (nextEntry) nextEntry.p = prevEntry; //p stands for previous, 'prev' didn't minify\n          if (prevEntry) prevEntry.n = nextEntry; //n stands for next, 'next' didn't minify\n        }\n      }\n    }\n\n\n  /**\n   * @ngdoc method\n   * @name $cacheFactory#info\n   *\n   * @description\n   * Get information about all the caches that have been created\n   *\n   * @returns {Object} - key-value map of `cacheId` to the result of calling `cache#info`\n   */\n    cacheFactory.info = function() {\n      var info = {};\n      forEach(caches, function(cache, cacheId) {\n        info[cacheId] = cache.info();\n      });\n      return info;\n    };\n\n\n  /**\n   * @ngdoc method\n   * @name $cacheFactory#get\n   *\n   * @description\n   * Get access to a cache object by the `cacheId` used when it was created.\n   *\n   * @param {string} cacheId Name or id of a cache to access.\n   * @returns {object} Cache object identified by the cacheId or undefined if no such cache.\n   */\n    cacheFactory.get = function(cacheId) {\n      return caches[cacheId];\n    };\n\n\n    return cacheFactory;\n  };\n}\n\n/**\n * @ngdoc service\n * @name $templateCache\n *\n * @description\n * The first time a template is used, it is loaded in the template cache for quick retrieval. You\n * can load templates directly into the cache in a `script` tag, or by consuming the\n * `$templateCache` service directly.\n *\n * Adding via the `script` tag:\n *\n * ```html\n *   <script type=\"text/ng-template\" id=\"templateId.html\">\n *     <p>This is the content of the template</p>\n *   </script>\n * ```\n *\n * **Note:** the `script` tag containing the template does not need to be included in the `head` of\n * the document, but it must be a descendent of the {@link ng.$rootElement $rootElement} (IE,\n * element with ng-app attribute), otherwise the template will be ignored.\n *\n * Adding via the `$templateCache` service:\n *\n * ```js\n * var myApp = angular.module('myApp', []);\n * myApp.run(function($templateCache) {\n *   $templateCache.put('templateId.html', 'This is the content of the template');\n * });\n * ```\n *\n * To retrieve the template later, simply use it in your HTML:\n * ```html\n * <div ng-include=\" 'templateId.html' \"></div>\n * ```\n *\n * or get it via Javascript:\n * ```js\n * $templateCache.get('templateId.html')\n * ```\n *\n * See {@link ng.$cacheFactory $cacheFactory}.\n *\n */\nfunction $TemplateCacheProvider() {\n  this.$get = ['$cacheFactory', function($cacheFactory) {\n    return $cacheFactory('templates');\n  }];\n}\n\n/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n *     Any commits to this file should be reviewed with security in mind.  *\n *   Changes to this file can potentially create security vulnerabilities. *\n *          An approval from 2 Core members with history of modifying      *\n *                         this file is required.                          *\n *                                                                         *\n *  Does the change somehow allow for arbitrary javascript to be executed? *\n *    Or allows for someone to change the prototype of built-in objects?   *\n *     Or gives undesired access to variables likes document or window?    *\n * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */\n\n/* ! VARIABLE/FUNCTION NAMING CONVENTIONS THAT APPLY TO THIS FILE!\n *\n * DOM-related variables:\n *\n * - \"node\" - DOM Node\n * - \"element\" - DOM Element or Node\n * - \"$node\" or \"$element\" - jqLite-wrapped node or element\n *\n *\n * Compiler related stuff:\n *\n * - \"linkFn\" - linking fn of a single directive\n * - \"nodeLinkFn\" - function that aggregates all linking fns for a particular node\n * - \"childLinkFn\" -  function that aggregates all linking fns for child nodes of a particular node\n * - \"compositeLinkFn\" - function that aggregates all linking fns for a compilation root (nodeList)\n */\n\n\n/**\n * @ngdoc service\n * @name $compile\n * @kind function\n *\n * @description\n * Compiles an HTML string or DOM into a template and produces a template function, which\n * can then be used to link {@link ng.$rootScope.Scope `scope`} and the template together.\n *\n * The compilation is a process of walking the DOM tree and matching DOM elements to\n * {@link ng.$compileProvider#directive directives}.\n *\n * <div class=\"alert alert-warning\">\n * **Note:** This document is an in-depth reference of all directive options.\n * For a gentle introduction to directives with examples of common use cases,\n * see the {@link guide/directive directive guide}.\n * </div>\n *\n * ## Comprehensive Directive API\n *\n * There are many different options for a directive.\n *\n * The difference resides in the return value of the factory function.\n * You can either return a \"Directive Definition Object\" (see below) that defines the directive properties,\n * or just the `postLink` function (all other properties will have the default values).\n *\n * <div class=\"alert alert-success\">\n * **Best Practice:** It's recommended to use the \"directive definition object\" form.\n * </div>\n *\n * Here's an example directive declared with a Directive Definition Object:\n *\n * ```js\n *   var myModule = angular.module(...);\n *\n *   myModule.directive('directiveName', function factory(injectables) {\n *     var directiveDefinitionObject = {\n *       priority: 0,\n *       template: '<div></div>', // or // function(tElement, tAttrs) { ... },\n *       // or\n *       // templateUrl: 'directive.html', // or // function(tElement, tAttrs) { ... },\n *       transclude: false,\n *       restrict: 'A',\n *       templateNamespace: 'html',\n *       scope: false,\n *       controller: function($scope, $element, $attrs, $transclude, otherInjectables) { ... },\n *       controllerAs: 'stringIdentifier',\n *       bindToController: false,\n *       require: 'siblingDirectiveName', // or // ['^parentDirectiveName', '?optionalDirectiveName', '?^optionalParent'],\n *       compile: function compile(tElement, tAttrs, transclude) {\n *         return {\n *           pre: function preLink(scope, iElement, iAttrs, controller) { ... },\n *           post: function postLink(scope, iElement, iAttrs, controller) { ... }\n *         }\n *         // or\n *         // return function postLink( ... ) { ... }\n *       },\n *       // or\n *       // link: {\n *       //  pre: function preLink(scope, iElement, iAttrs, controller) { ... },\n *       //  post: function postLink(scope, iElement, iAttrs, controller) { ... }\n *       // }\n *       // or\n *       // link: function postLink( ... ) { ... }\n *     };\n *     return directiveDefinitionObject;\n *   });\n * ```\n *\n * <div class=\"alert alert-warning\">\n * **Note:** Any unspecified options will use the default value. You can see the default values below.\n * </div>\n *\n * Therefore the above can be simplified as:\n *\n * ```js\n *   var myModule = angular.module(...);\n *\n *   myModule.directive('directiveName', function factory(injectables) {\n *     var directiveDefinitionObject = {\n *       link: function postLink(scope, iElement, iAttrs) { ... }\n *     };\n *     return directiveDefinitionObject;\n *     // or\n *     // return function postLink(scope, iElement, iAttrs) { ... }\n *   });\n * ```\n *\n *\n *\n * ### Directive Definition Object\n *\n * The directive definition object provides instructions to the {@link ng.$compile\n * compiler}. The attributes are:\n *\n * #### `multiElement`\n * When this property is set to true, the HTML compiler will collect DOM nodes between\n * nodes with the attributes `directive-name-start` and `directive-name-end`, and group them\n * together as the directive elements. It is recommended that this feature be used on directives\n * which are not strictly behavioural (such as {@link ngClick}), and which\n * do not manipulate or replace child nodes (such as {@link ngInclude}).\n *\n * #### `priority`\n * When there are multiple directives defined on a single DOM element, sometimes it\n * is necessary to specify the order in which the directives are applied. The `priority` is used\n * to sort the directives before their `compile` functions get called. Priority is defined as a\n * number. Directives with greater numerical `priority` are compiled first. Pre-link functions\n * are also run in priority order, but post-link functions are run in reverse order. The order\n * of directives with the same priority is undefined. The default priority is `0`.\n *\n * #### `terminal`\n * If set to true then the current `priority` will be the last set of directives\n * which will execute (any directives at the current priority will still execute\n * as the order of execution on same `priority` is undefined). Note that expressions\n * and other directives used in the directive's template will also be excluded from execution.\n *\n * #### `scope`\n * The scope property can be `true`, an object or a falsy value:\n *\n * * **falsy:** No scope will be created for the directive. The directive will use its parent's scope.\n *\n * * **`true`:** A new child scope that prototypically inherits from its parent will be created for\n * the directive's element. If multiple directives on the same element request a new scope,\n * only one new scope is created. The new scope rule does not apply for the root of the template\n * since the root of the template always gets a new scope.\n *\n * * **`{...}` (an object hash):** A new \"isolate\" scope is created for the directive's element. The\n * 'isolate' scope differs from normal scope in that it does not prototypically inherit from its parent\n * scope. This is useful when creating reusable components, which should not accidentally read or modify\n * data in the parent scope.\n *\n * The 'isolate' scope object hash defines a set of local scope properties derived from attributes on the\n * directive's element. These local properties are useful for aliasing values for templates. The keys in\n * the object hash map to the name of the property on the isolate scope; the values define how the property\n * is bound to the parent scope, via matching attributes on the directive's element:\n *\n * * `@` or `@attr` - bind a local scope property to the value of DOM attribute. The result is\n *   always a string since DOM attributes are strings. If no `attr` name is specified  then the\n *   attribute name is assumed to be the same as the local name.\n *   Given `<widget my-attr=\"hello {{name}}\">` and widget definition\n *   of `scope: { localName:'@myAttr' }`, then widget scope property `localName` will reflect\n *   the interpolated value of `hello {{name}}`. As the `name` attribute changes so will the\n *   `localName` property on the widget scope. The `name` is read from the parent scope (not\n *   component scope).\n *\n * * `=` or `=attr` - set up bi-directional binding between a local scope property and the\n *   parent scope property of name defined via the value of the `attr` attribute. If no `attr`\n *   name is specified then the attribute name is assumed to be the same as the local name.\n *   Given `<widget my-attr=\"parentModel\">` and widget definition of\n *   `scope: { localModel:'=myAttr' }`, then widget scope property `localModel` will reflect the\n *   value of `parentModel` on the parent scope. Any changes to `parentModel` will be reflected\n *   in `localModel` and any changes in `localModel` will reflect in `parentModel`. If the parent\n *   scope property doesn't exist, it will throw a NON_ASSIGNABLE_MODEL_EXPRESSION exception. You\n *   can avoid this behavior using `=?` or `=?attr` in order to flag the property as optional. If\n *   you want to shallow watch for changes (i.e. $watchCollection instead of $watch) you can use\n *   `=*` or `=*attr` (`=*?` or `=*?attr` if the property is optional).\n *\n * * `&` or `&attr` - provides a way to execute an expression in the context of the parent scope.\n *   If no `attr` name is specified then the attribute name is assumed to be the same as the\n *   local name. Given `<widget my-attr=\"count = count + value\">` and widget definition of\n *   `scope: { localFn:'&myAttr' }`, then isolate scope property `localFn` will point to\n *   a function wrapper for the `count = count + value` expression. Often it's desirable to\n *   pass data from the isolated scope via an expression to the parent scope, this can be\n *   done by passing a map of local variable names and values into the expression wrapper fn.\n *   For example, if the expression is `increment(amount)` then we can specify the amount value\n *   by calling the `localFn` as `localFn({amount: 22})`.\n *\n * In general it's possible to apply more than one directive to one element, but there might be limitations\n * depending on the type of scope required by the directives. The following points will help explain these limitations.\n * For simplicity only two directives are taken into account, but it is also applicable for several directives:\n *\n * * **no scope** + **no scope** => Two directives which don't require their own scope will use their parent's scope\n * * **child scope** + **no scope** =>  Both directives will share one single child scope\n * * **child scope** + **child scope** =>  Both directives will share one single child scope\n * * **isolated scope** + **no scope** =>  The isolated directive will use it's own created isolated scope. The other directive will use\n * its parent's scope\n * * **isolated scope** + **child scope** =>  **Won't work!** Only one scope can be related to one element. Therefore these directives cannot\n * be applied to the same element.\n * * **isolated scope** + **isolated scope**  =>  **Won't work!** Only one scope can be related to one element. Therefore these directives\n * cannot be applied to the same element.\n *\n *\n * #### `bindToController`\n * When an isolate scope is used for a component (see above), and `controllerAs` is used, `bindToController: true` will\n * allow a component to have its properties bound to the controller, rather than to scope. When the controller\n * is instantiated, the initial values of the isolate scope bindings are already available.\n *\n * #### `controller`\n * Controller constructor function. The controller is instantiated before the\n * pre-linking phase and can be accessed by other directives (see\n * `require` attribute). This allows the directives to communicate with each other and augment\n * each other's behavior. The controller is injectable (and supports bracket notation) with the following locals:\n *\n * * `$scope` - Current scope associated with the element\n * * `$element` - Current element\n * * `$attrs` - Current attributes object for the element\n * * `$transclude` - A transclude linking function pre-bound to the correct transclusion scope:\n *   `function([scope], cloneLinkingFn, futureParentElement)`.\n *    * `scope`: optional argument to override the scope.\n *    * `cloneLinkingFn`: optional argument to create clones of the original transcluded content.\n *    * `futureParentElement`:\n *        * defines the parent to which the `cloneLinkingFn` will add the cloned elements.\n *        * default: `$element.parent()` resp. `$element` for `transclude:'element'` resp. `transclude:true`.\n *        * only needed for transcludes that are allowed to contain non html elements (e.g. SVG elements)\n *          and when the `cloneLinkinFn` is passed,\n *          as those elements need to created and cloned in a special way when they are defined outside their\n *          usual containers (e.g. like `<svg>`).\n *        * See also the `directive.templateNamespace` property.\n *\n *\n * #### `require`\n * Require another directive and inject its controller as the fourth argument to the linking function. The\n * `require` takes a string name (or array of strings) of the directive(s) to pass in. If an array is used, the\n * injected argument will be an array in corresponding order. If no such directive can be\n * found, or if the directive does not have a controller, then an error is raised (unless no link function\n * is specified, in which case error checking is skipped). The name can be prefixed with:\n *\n * * (no prefix) - Locate the required controller on the current element. Throw an error if not found.\n * * `?` - Attempt to locate the required controller or pass `null` to the `link` fn if not found.\n * * `^` - Locate the required controller by searching the element and its parents. Throw an error if not found.\n * * `^^` - Locate the required controller by searching the element's parents. Throw an error if not found.\n * * `?^` - Attempt to locate the required controller by searching the element and its parents or pass\n *   `null` to the `link` fn if not found.\n * * `?^^` - Attempt to locate the required controller by searching the element's parents, or pass\n *   `null` to the `link` fn if not found.\n *\n *\n * #### `controllerAs`\n * Identifier name for a reference to the controller in the directive's scope.\n * This allows the controller to be referenced from the directive template. This is especially\n * useful when a directive is used as component, i.e. with an `isolate` scope. It's also possible\n * to use it in a directive without an `isolate` / `new` scope, but you need to be aware that the\n * `controllerAs` reference might overwrite a property that already exists on the parent scope.\n *\n *\n * #### `restrict`\n * String of subset of `EACM` which restricts the directive to a specific directive\n * declaration style. If omitted, the defaults (elements and attributes) are used.\n *\n * * `E` - Element name (default): `<my-directive></my-directive>`\n * * `A` - Attribute (default): `<div my-directive=\"exp\"></div>`\n * * `C` - Class: `<div class=\"my-directive: exp;\"></div>`\n * * `M` - Comment: `<!-- directive: my-directive exp -->`\n *\n *\n * #### `templateNamespace`\n * String representing the document type used by the markup in the template.\n * AngularJS needs this information as those elements need to be created and cloned\n * in a special way when they are defined outside their usual containers like `<svg>` and `<math>`.\n *\n * * `html` - All root nodes in the template are HTML. Root nodes may also be\n *   top-level elements such as `<svg>` or `<math>`.\n * * `svg` - The root nodes in the template are SVG elements (excluding `<math>`).\n * * `math` - The root nodes in the template are MathML elements (excluding `<svg>`).\n *\n * If no `templateNamespace` is specified, then the namespace is considered to be `html`.\n *\n * #### `template`\n * HTML markup that may:\n * * Replace the contents of the directive's element (default).\n * * Replace the directive's element itself (if `replace` is true - DEPRECATED).\n * * Wrap the contents of the directive's element (if `transclude` is true).\n *\n * Value may be:\n *\n * * A string. For example `<div red-on-hover>{{delete_str}}</div>`.\n * * A function which takes two arguments `tElement` and `tAttrs` (described in the `compile`\n *   function api below) and returns a string value.\n *\n *\n * #### `templateUrl`\n * This is similar to `template` but the template is loaded from the specified URL, asynchronously.\n *\n * Because template loading is asynchronous the compiler will suspend compilation of directives on that element\n * for later when the template has been resolved.  In the meantime it will continue to compile and link\n * sibling and parent elements as though this element had not contained any directives.\n *\n * The compiler does not suspend the entire compilation to wait for templates to be loaded because this\n * would result in the whole app \"stalling\" until all templates are loaded asynchronously - even in the\n * case when only one deeply nested directive has `templateUrl`.\n *\n * Template loading is asynchronous even if the template has been preloaded into the {@link $templateCache}\n *\n * You can specify `templateUrl` as a string representing the URL or as a function which takes two\n * arguments `tElement` and `tAttrs` (described in the `compile` function api below) and returns\n * a string value representing the url.  In either case, the template URL is passed through {@link\n * $sce#getTrustedResourceUrl $sce.getTrustedResourceUrl}.\n *\n *\n * #### `replace` ([*DEPRECATED*!], will be removed in next major release - i.e. v2.0)\n * specify what the template should replace. Defaults to `false`.\n *\n * * `true` - the template will replace the directive's element.\n * * `false` - the template will replace the contents of the directive's element.\n *\n * The replacement process migrates all of the attributes / classes from the old element to the new\n * one. See the {@link guide/directive#template-expanding-directive\n * Directives Guide} for an example.\n *\n * There are very few scenarios where element replacement is required for the application function,\n * the main one being reusable custom components that are used within SVG contexts\n * (because SVG doesn't work with custom elements in the DOM tree).\n *\n * #### `transclude`\n * Extract the contents of the element where the directive appears and make it available to the directive.\n * The contents are compiled and provided to the directive as a **transclusion function**. See the\n * {@link $compile#transclusion Transclusion} section below.\n *\n * There are two kinds of transclusion depending upon whether you want to transclude just the contents of the\n * directive's element or the entire element:\n *\n * * `true` - transclude the content (i.e. the child nodes) of the directive's element.\n * * `'element'` - transclude the whole of the directive's element including any directives on this\n *   element that defined at a lower priority than this directive. When used, the `template`\n *   property is ignored.\n *\n *\n * #### `compile`\n *\n * ```js\n *   function compile(tElement, tAttrs, transclude) { ... }\n * ```\n *\n * The compile function deals with transforming the template DOM. Since most directives do not do\n * template transformation, it is not used often. The compile function takes the following arguments:\n *\n *   * `tElement` - template element - The element where the directive has been declared. It is\n *     safe to do template transformation on the element and child elements only.\n *\n *   * `tAttrs` - template attributes - Normalized list of attributes declared on this element shared\n *     between all directive compile functions.\n *\n *   * `transclude` -  [*DEPRECATED*!] A transclude linking function: `function(scope, cloneLinkingFn)`\n *\n * <div class=\"alert alert-warning\">\n * **Note:** The template instance and the link instance may be different objects if the template has\n * been cloned. For this reason it is **not** safe to do anything other than DOM transformations that\n * apply to all cloned DOM nodes within the compile function. Specifically, DOM listener registration\n * should be done in a linking function rather than in a compile function.\n * </div>\n\n * <div class=\"alert alert-warning\">\n * **Note:** The compile function cannot handle directives that recursively use themselves in their\n * own templates or compile functions. Compiling these directives results in an infinite loop and a\n * stack overflow errors.\n *\n * This can be avoided by manually using $compile in the postLink function to imperatively compile\n * a directive's template instead of relying on automatic template compilation via `template` or\n * `templateUrl` declaration or manual compilation inside the compile function.\n * </div>\n *\n * <div class=\"alert alert-danger\">\n * **Note:** The `transclude` function that is passed to the compile function is deprecated, as it\n *   e.g. does not know about the right outer scope. Please use the transclude function that is passed\n *   to the link function instead.\n * </div>\n\n * A compile function can have a return value which can be either a function or an object.\n *\n * * returning a (post-link) function - is equivalent to registering the linking function via the\n *   `link` property of the config object when the compile function is empty.\n *\n * * returning an object with function(s) registered via `pre` and `post` properties - allows you to\n *   control when a linking function should be called during the linking phase. See info about\n *   pre-linking and post-linking functions below.\n *\n *\n * #### `link`\n * This property is used only if the `compile` property is not defined.\n *\n * ```js\n *   function link(scope, iElement, iAttrs, controller, transcludeFn) { ... }\n * ```\n *\n * The link function is responsible for registering DOM listeners as well as updating the DOM. It is\n * executed after the template has been cloned. This is where most of the directive logic will be\n * put.\n *\n *   * `scope` - {@link ng.$rootScope.Scope Scope} - The scope to be used by the\n *     directive for registering {@link ng.$rootScope.Scope#$watch watches}.\n *\n *   * `iElement` - instance element - The element where the directive is to be used. It is safe to\n *     manipulate the children of the element only in `postLink` function since the children have\n *     already been linked.\n *\n *   * `iAttrs` - instance attributes - Normalized list of attributes declared on this element shared\n *     between all directive linking functions.\n *\n *   * `controller` - the directive's required controller instance(s) - Instances are shared\n *     among all directives, which allows the directives to use the controllers as a communication\n *     channel. The exact value depends on the directive's `require` property:\n *       * no controller(s) required: the directive's own controller, or `undefined` if it doesn't have one\n *       * `string`: the controller instance\n *       * `array`: array of controller instances\n *\n *     If a required controller cannot be found, and it is optional, the instance is `null`,\n *     otherwise the {@link error:$compile:ctreq Missing Required Controller} error is thrown.\n *\n *     Note that you can also require the directive's own controller - it will be made available like\n *     any other controller.\n *\n *   * `transcludeFn` - A transclude linking function pre-bound to the correct transclusion scope.\n *     This is the same as the `$transclude`\n *     parameter of directive controllers, see there for details.\n *     `function([scope], cloneLinkingFn, futureParentElement)`.\n *\n * #### Pre-linking function\n *\n * Executed before the child elements are linked. Not safe to do DOM transformation since the\n * compiler linking function will fail to locate the correct elements for linking.\n *\n * #### Post-linking function\n *\n * Executed after the child elements are linked.\n *\n * Note that child elements that contain `templateUrl` directives will not have been compiled\n * and linked since they are waiting for their template to load asynchronously and their own\n * compilation and linking has been suspended until that occurs.\n *\n * It is safe to do DOM transformation in the post-linking function on elements that are not waiting\n * for their async templates to be resolved.\n *\n *\n * ### Transclusion\n *\n * Transclusion is the process of extracting a collection of DOM elements from one part of the DOM and\n * copying them to another part of the DOM, while maintaining their connection to the original AngularJS\n * scope from where they were taken.\n *\n * Transclusion is used (often with {@link ngTransclude}) to insert the\n * original contents of a directive's element into a specified place in the template of the directive.\n * The benefit of transclusion, over simply moving the DOM elements manually, is that the transcluded\n * content has access to the properties on the scope from which it was taken, even if the directive\n * has isolated scope.\n * See the {@link guide/directive#creating-a-directive-that-wraps-other-elements Directives Guide}.\n *\n * This makes it possible for the widget to have private state for its template, while the transcluded\n * content has access to its originating scope.\n *\n * <div class=\"alert alert-warning\">\n * **Note:** When testing an element transclude directive you must not place the directive at the root of the\n * DOM fragment that is being compiled. See {@link guide/unit-testing#testing-transclusion-directives\n * Testing Transclusion Directives}.\n * </div>\n *\n * #### Transclusion Functions\n *\n * When a directive requests transclusion, the compiler extracts its contents and provides a **transclusion\n * function** to the directive's `link` function and `controller`. This transclusion function is a special\n * **linking function** that will return the compiled contents linked to a new transclusion scope.\n *\n * <div class=\"alert alert-info\">\n * If you are just using {@link ngTransclude} then you don't need to worry about this function, since\n * ngTransclude will deal with it for us.\n * </div>\n *\n * If you want to manually control the insertion and removal of the transcluded content in your directive\n * then you must use this transclude function. When you call a transclude function it returns a a jqLite/JQuery\n * object that contains the compiled DOM, which is linked to the correct transclusion scope.\n *\n * When you call a transclusion function you can pass in a **clone attach function**. This function accepts\n * two parameters, `function(clone, scope) { ... }`, where the `clone` is a fresh compiled copy of your transcluded\n * content and the `scope` is the newly created transclusion scope, to which the clone is bound.\n *\n * <div class=\"alert alert-info\">\n * **Best Practice**: Always provide a `cloneFn` (clone attach function) when you call a translude function\n * since you then get a fresh clone of the original DOM and also have access to the new transclusion scope.\n * </div>\n *\n * It is normal practice to attach your transcluded content (`clone`) to the DOM inside your **clone\n * attach function**:\n *\n * ```js\n * var transcludedContent, transclusionScope;\n *\n * $transclude(function(clone, scope) {\n *   element.append(clone);\n *   transcludedContent = clone;\n *   transclusionScope = scope;\n * });\n * ```\n *\n * Later, if you want to remove the transcluded content from your DOM then you should also destroy the\n * associated transclusion scope:\n *\n * ```js\n * transcludedContent.remove();\n * transclusionScope.$destroy();\n * ```\n *\n * <div class=\"alert alert-info\">\n * **Best Practice**: if you intend to add and remove transcluded content manually in your directive\n * (by calling the transclude function to get the DOM and calling `element.remove()` to remove it),\n * then you are also responsible for calling `$destroy` on the transclusion scope.\n * </div>\n *\n * The built-in DOM manipulation directives, such as {@link ngIf}, {@link ngSwitch} and {@link ngRepeat}\n * automatically destroy their transluded clones as necessary so you do not need to worry about this if\n * you are simply using {@link ngTransclude} to inject the transclusion into your directive.\n *\n *\n * #### Transclusion Scopes\n *\n * When you call a transclude function it returns a DOM fragment that is pre-bound to a **transclusion\n * scope**. This scope is special, in that it is a child of the directive's scope (and so gets destroyed\n * when the directive's scope gets destroyed) but it inherits the properties of the scope from which it\n * was taken.\n *\n * For example consider a directive that uses transclusion and isolated scope. The DOM hierarchy might look\n * like this:\n *\n * ```html\n * <div ng-app>\n *   <div isolate>\n *     <div transclusion>\n *     </div>\n *   </div>\n * </div>\n * ```\n *\n * The `$parent` scope hierarchy will look like this:\n *\n * ```\n * - $rootScope\n *   - isolate\n *     - transclusion\n * ```\n *\n * but the scopes will inherit prototypically from different scopes to their `$parent`.\n *\n * ```\n * - $rootScope\n *   - transclusion\n * - isolate\n * ```\n *\n *\n * ### Attributes\n *\n * The {@link ng.$compile.directive.Attributes Attributes} object - passed as a parameter in the\n * `link()` or `compile()` functions. It has a variety of uses.\n *\n * accessing *Normalized attribute names:*\n * Directives like 'ngBind' can be expressed in many ways: 'ng:bind', `data-ng-bind`, or 'x-ng-bind'.\n * the attributes object allows for normalized access to\n *   the attributes.\n *\n * * *Directive inter-communication:* All directives share the same instance of the attributes\n *   object which allows the directives to use the attributes object as inter directive\n *   communication.\n *\n * * *Supports interpolation:* Interpolation attributes are assigned to the attribute object\n *   allowing other directives to read the interpolated value.\n *\n * * *Observing interpolated attributes:* Use `$observe` to observe the value changes of attributes\n *   that contain interpolation (e.g. `src=\"{{bar}}\"`). Not only is this very efficient but it's also\n *   the only way to easily get the actual value because during the linking phase the interpolation\n *   hasn't been evaluated yet and so the value is at this time set to `undefined`.\n *\n * ```js\n * function linkingFn(scope, elm, attrs, ctrl) {\n *   // get the attribute value\n *   console.log(attrs.ngModel);\n *\n *   // change the attribute\n *   attrs.$set('ngModel', 'new value');\n *\n *   // observe changes to interpolated attribute\n *   attrs.$observe('ngModel', function(value) {\n *     console.log('ngModel has changed value to ' + value);\n *   });\n * }\n * ```\n *\n * ## Example\n *\n * <div class=\"alert alert-warning\">\n * **Note**: Typically directives are registered with `module.directive`. The example below is\n * to illustrate how `$compile` works.\n * </div>\n *\n <example module=\"compileExample\">\n   <file name=\"index.html\">\n    <script>\n      angular.module('compileExample', [], function($compileProvider) {\n        // configure new 'compile' directive by passing a directive\n        // factory function. The factory function injects the '$compile'\n        $compileProvider.directive('compile', function($compile) {\n          // directive factory creates a link function\n          return function(scope, element, attrs) {\n            scope.$watch(\n              function(scope) {\n                 // watch the 'compile' expression for changes\n                return scope.$eval(attrs.compile);\n              },\n              function(value) {\n                // when the 'compile' expression changes\n                // assign it into the current DOM\n                element.html(value);\n\n                // compile the new DOM and link it to the current\n                // scope.\n                // NOTE: we only compile .childNodes so that\n                // we don't get into infinite loop compiling ourselves\n                $compile(element.contents())(scope);\n              }\n            );\n          };\n        });\n      })\n      .controller('GreeterController', ['$scope', function($scope) {\n        $scope.name = 'Angular';\n        $scope.html = 'Hello {{name}}';\n      }]);\n    </script>\n    <div ng-controller=\"GreeterController\">\n      <input ng-model=\"name\"> <br/>\n      <textarea ng-model=\"html\"></textarea> <br/>\n      <div compile=\"html\"></div>\n    </div>\n   </file>\n   <file name=\"protractor.js\" type=\"protractor\">\n     it('should auto compile', function() {\n       var textarea = $('textarea');\n       var output = $('div[compile]');\n       // The initial state reads 'Hello Angular'.\n       expect(output.getText()).toBe('Hello Angular');\n       textarea.clear();\n       textarea.sendKeys('{{name}}!');\n       expect(output.getText()).toBe('Angular!');\n     });\n   </file>\n </example>\n\n *\n *\n * @param {string|DOMElement} element Element or HTML string to compile into a template function.\n * @param {function(angular.Scope, cloneAttachFn=)} transclude function available to directives - DEPRECATED.\n *\n * <div class=\"alert alert-danger\">\n * **Note:** Passing a `transclude` function to the $compile function is deprecated, as it\n *   e.g. will not use the right outer scope. Please pass the transclude function as a\n *   `parentBoundTranscludeFn` to the link function instead.\n * </div>\n *\n * @param {number} maxPriority only apply directives lower than given priority (Only effects the\n *                 root element(s), not their children)\n * @returns {function(scope, cloneAttachFn=, options=)} a link function which is used to bind template\n * (a DOM element/tree) to a scope. Where:\n *\n *  * `scope` - A {@link ng.$rootScope.Scope Scope} to bind to.\n *  * `cloneAttachFn` - If `cloneAttachFn` is provided, then the link function will clone the\n *  `template` and call the `cloneAttachFn` function allowing the caller to attach the\n *  cloned elements to the DOM document at the appropriate place. The `cloneAttachFn` is\n *  called as: <br/> `cloneAttachFn(clonedElement, scope)` where:\n *\n *      * `clonedElement` - is a clone of the original `element` passed into the compiler.\n *      * `scope` - is the current scope with which the linking function is working with.\n *\n *  * `options` - An optional object hash with linking options. If `options` is provided, then the following\n *  keys may be used to control linking behavior:\n *\n *      * `parentBoundTranscludeFn` - the transclude function made available to\n *        directives; if given, it will be passed through to the link functions of\n *        directives found in `element` during compilation.\n *      * `transcludeControllers` - an object hash with keys that map controller names\n *        to controller instances; if given, it will make the controllers\n *        available to directives.\n *      * `futureParentElement` - defines the parent to which the `cloneAttachFn` will add\n *        the cloned elements; only needed for transcludes that are allowed to contain non html\n *        elements (e.g. SVG elements). See also the directive.controller property.\n *\n * Calling the linking function returns the element of the template. It is either the original\n * element passed in, or the clone of the element if the `cloneAttachFn` is provided.\n *\n * After linking the view is not updated until after a call to $digest which typically is done by\n * Angular automatically.\n *\n * If you need access to the bound view, there are two ways to do it:\n *\n * - If you are not asking the linking function to clone the template, create the DOM element(s)\n *   before you send them to the compiler and keep this reference around.\n *   ```js\n *     var element = $compile('<p>{{total}}</p>')(scope);\n *   ```\n *\n * - if on the other hand, you need the element to be cloned, the view reference from the original\n *   example would not point to the clone, but rather to the original template that was cloned. In\n *   this case, you can access the clone via the cloneAttachFn:\n *   ```js\n *     var templateElement = angular.element('<p>{{total}}</p>'),\n *         scope = ....;\n *\n *     var clonedElement = $compile(templateElement)(scope, function(clonedElement, scope) {\n *       //attach the clone to DOM document at the right place\n *     });\n *\n *     //now we have reference to the cloned DOM via `clonedElement`\n *   ```\n *\n *\n * For information on how the compiler works, see the\n * {@link guide/compiler Angular HTML Compiler} section of the Developer Guide.\n */\n\nvar $compileMinErr = minErr('$compile');\n\n/**\n * @ngdoc provider\n * @name $compileProvider\n *\n * @description\n */\n$CompileProvider.$inject = ['$provide', '$$sanitizeUriProvider'];\nfunction $CompileProvider($provide, $$sanitizeUriProvider) {\n  var hasDirectives = {},\n      Suffix = 'Directive',\n      COMMENT_DIRECTIVE_REGEXP = /^\\s*directive\\:\\s*([\\w\\-]+)\\s+(.*)$/,\n      CLASS_DIRECTIVE_REGEXP = /(([\\w\\-]+)(?:\\:([^;]+))?;?)/,\n      ALL_OR_NOTHING_ATTRS = makeMap('ngSrc,ngSrcset,src,srcset'),\n      REQUIRE_PREFIX_REGEXP = /^(?:(\\^\\^?)?(\\?)?(\\^\\^?)?)?/;\n\n  // Ref: http://developers.whatwg.org/webappapis.html#event-handler-idl-attributes\n  // The assumption is that future DOM event attribute names will begin with\n  // 'on' and be composed of only English letters.\n  var EVENT_HANDLER_ATTR_REGEXP = /^(on[a-z]+|formaction)$/;\n\n  function parseIsolateBindings(scope, directiveName, isController) {\n    var LOCAL_REGEXP = /^\\s*([@&]|=(\\*?))(\\??)\\s*(\\w*)\\s*$/;\n\n    var bindings = {};\n\n    forEach(scope, function(definition, scopeName) {\n      var match = definition.match(LOCAL_REGEXP);\n\n      if (!match) {\n        throw $compileMinErr('iscp',\n            \"Invalid {3} for directive '{0}'.\" +\n            \" Definition: {... {1}: '{2}' ...}\",\n            directiveName, scopeName, definition,\n            (isController ? \"controller bindings definition\" :\n            \"isolate scope definition\"));\n      }\n\n      bindings[scopeName] = {\n        mode: match[1][0],\n        collection: match[2] === '*',\n        optional: match[3] === '?',\n        attrName: match[4] || scopeName\n      };\n    });\n\n    return bindings;\n  }\n\n  function parseDirectiveBindings(directive, directiveName) {\n    var bindings = {\n      isolateScope: null,\n      bindToController: null\n    };\n    if (isObject(directive.scope)) {\n      if (directive.bindToController === true) {\n        bindings.bindToController = parseIsolateBindings(directive.scope,\n                                                         directiveName, true);\n        bindings.isolateScope = {};\n      } else {\n        bindings.isolateScope = parseIsolateBindings(directive.scope,\n                                                     directiveName, false);\n      }\n    }\n    if (isObject(directive.bindToController)) {\n      bindings.bindToController =\n          parseIsolateBindings(directive.bindToController, directiveName, true);\n    }\n    if (isObject(bindings.bindToController)) {\n      var controller = directive.controller;\n      var controllerAs = directive.controllerAs;\n      if (!controller) {\n        // There is no controller, there may or may not be a controllerAs property\n        throw $compileMinErr('noctrl',\n              \"Cannot bind to controller without directive '{0}'s controller.\",\n              directiveName);\n      } else if (!identifierForController(controller, controllerAs)) {\n        // There is a controller, but no identifier or controllerAs property\n        throw $compileMinErr('noident',\n              \"Cannot bind to controller without identifier for directive '{0}'.\",\n              directiveName);\n      }\n    }\n    return bindings;\n  }\n\n  function assertValidDirectiveName(name) {\n    var letter = name.charAt(0);\n    if (!letter || letter !== lowercase(letter)) {\n      throw $compileMinErr('baddir', \"Directive name '{0}' is invalid. The first character must be a lowercase letter\", name);\n    }\n    if (name !== name.trim()) {\n      throw $compileMinErr('baddir',\n            \"Directive name '{0}' is invalid. The name should not contain leading or trailing whitespaces\",\n            name);\n    }\n  }\n\n  /**\n   * @ngdoc method\n   * @name $compileProvider#directive\n   * @kind function\n   *\n   * @description\n   * Register a new directive with the compiler.\n   *\n   * @param {string|Object} name Name of the directive in camel-case (i.e. <code>ngBind</code> which\n   *    will match as <code>ng-bind</code>), or an object map of directives where the keys are the\n   *    names and the values are the factories.\n   * @param {Function|Array} directiveFactory An injectable directive factory function. See\n   *    {@link guide/directive} for more info.\n   * @returns {ng.$compileProvider} Self for chaining.\n   */\n   this.directive = function registerDirective(name, directiveFactory) {\n    assertNotHasOwnProperty(name, 'directive');\n    if (isString(name)) {\n      assertValidDirectiveName(name);\n      assertArg(directiveFactory, 'directiveFactory');\n      if (!hasDirectives.hasOwnProperty(name)) {\n        hasDirectives[name] = [];\n        $provide.factory(name + Suffix, ['$injector', '$exceptionHandler',\n          function($injector, $exceptionHandler) {\n            var directives = [];\n            forEach(hasDirectives[name], function(directiveFactory, index) {\n              try {\n                var directive = $injector.invoke(directiveFactory);\n                if (isFunction(directive)) {\n                  directive = { compile: valueFn(directive) };\n                } else if (!directive.compile && directive.link) {\n                  directive.compile = valueFn(directive.link);\n                }\n                directive.priority = directive.priority || 0;\n                directive.index = index;\n                directive.name = directive.name || name;\n                directive.require = directive.require || (directive.controller && directive.name);\n                directive.restrict = directive.restrict || 'EA';\n                var bindings = directive.$$bindings =\n                    parseDirectiveBindings(directive, directive.name);\n                if (isObject(bindings.isolateScope)) {\n                  directive.$$isolateBindings = bindings.isolateScope;\n                }\n                directive.$$moduleName = directiveFactory.$$moduleName;\n                directives.push(directive);\n              } catch (e) {\n                $exceptionHandler(e);\n              }\n            });\n            return directives;\n          }]);\n      }\n      hasDirectives[name].push(directiveFactory);\n    } else {\n      forEach(name, reverseParams(registerDirective));\n    }\n    return this;\n  };\n\n\n  /**\n   * @ngdoc method\n   * @name $compileProvider#aHrefSanitizationWhitelist\n   * @kind function\n   *\n   * @description\n   * Retrieves or overrides the default regular expression that is used for whitelisting of safe\n   * urls during a[href] sanitization.\n   *\n   * The sanitization is a security measure aimed at preventing XSS attacks via html links.\n   *\n   * Any url about to be assigned to a[href] via data-binding is first normalized and turned into\n   * an absolute url. Afterwards, the url is matched against the `aHrefSanitizationWhitelist`\n   * regular expression. If a match is found, the original url is written into the dom. Otherwise,\n   * the absolute url is prefixed with `'unsafe:'` string and only then is it written into the DOM.\n   *\n   * @param {RegExp=} regexp New regexp to whitelist urls with.\n   * @returns {RegExp|ng.$compileProvider} Current RegExp if called without value or self for\n   *    chaining otherwise.\n   */\n  this.aHrefSanitizationWhitelist = function(regexp) {\n    if (isDefined(regexp)) {\n      $$sanitizeUriProvider.aHrefSanitizationWhitelist(regexp);\n      return this;\n    } else {\n      return $$sanitizeUriProvider.aHrefSanitizationWhitelist();\n    }\n  };\n\n\n  /**\n   * @ngdoc method\n   * @name $compileProvider#imgSrcSanitizationWhitelist\n   * @kind function\n   *\n   * @description\n   * Retrieves or overrides the default regular expression that is used for whitelisting of safe\n   * urls during img[src] sanitization.\n   *\n   * The sanitization is a security measure aimed at prevent XSS attacks via html links.\n   *\n   * Any url about to be assigned to img[src] via data-binding is first normalized and turned into\n   * an absolute url. Afterwards, the url is matched against the `imgSrcSanitizationWhitelist`\n   * regular expression. If a match is found, the original url is written into the dom. Otherwise,\n   * the absolute url is prefixed with `'unsafe:'` string and only then is it written into the DOM.\n   *\n   * @param {RegExp=} regexp New regexp to whitelist urls with.\n   * @returns {RegExp|ng.$compileProvider} Current RegExp if called without value or self for\n   *    chaining otherwise.\n   */\n  this.imgSrcSanitizationWhitelist = function(regexp) {\n    if (isDefined(regexp)) {\n      $$sanitizeUriProvider.imgSrcSanitizationWhitelist(regexp);\n      return this;\n    } else {\n      return $$sanitizeUriProvider.imgSrcSanitizationWhitelist();\n    }\n  };\n\n  /**\n   * @ngdoc method\n   * @name  $compileProvider#debugInfoEnabled\n   *\n   * @param {boolean=} enabled update the debugInfoEnabled state if provided, otherwise just return the\n   * current debugInfoEnabled state\n   * @returns {*} current value if used as getter or itself (chaining) if used as setter\n   *\n   * @kind function\n   *\n   * @description\n   * Call this method to enable/disable various debug runtime information in the compiler such as adding\n   * binding information and a reference to the current scope on to DOM elements.\n   * If enabled, the compiler will add the following to DOM elements that have been bound to the scope\n   * * `ng-binding` CSS class\n   * * `$binding` data property containing an array of the binding expressions\n   *\n   * You may want to disable this in production for a significant performance boost. See\n   * {@link guide/production#disabling-debug-data Disabling Debug Data} for more.\n   *\n   * The default value is true.\n   */\n  var debugInfoEnabled = true;\n  this.debugInfoEnabled = function(enabled) {\n    if (isDefined(enabled)) {\n      debugInfoEnabled = enabled;\n      return this;\n    }\n    return debugInfoEnabled;\n  };\n\n  this.$get = [\n            '$injector', '$interpolate', '$exceptionHandler', '$templateRequest', '$parse',\n            '$controller', '$rootScope', '$document', '$sce', '$animate', '$$sanitizeUri',\n    function($injector,   $interpolate,   $exceptionHandler,   $templateRequest,   $parse,\n             $controller,   $rootScope,   $document,   $sce,   $animate,   $$sanitizeUri) {\n\n    var Attributes = function(element, attributesToCopy) {\n      if (attributesToCopy) {\n        var keys = Object.keys(attributesToCopy);\n        var i, l, key;\n\n        for (i = 0, l = keys.length; i < l; i++) {\n          key = keys[i];\n          this[key] = attributesToCopy[key];\n        }\n      } else {\n        this.$attr = {};\n      }\n\n      this.$$element = element;\n    };\n\n    Attributes.prototype = {\n      /**\n       * @ngdoc method\n       * @name $compile.directive.Attributes#$normalize\n       * @kind function\n       *\n       * @description\n       * Converts an attribute name (e.g. dash/colon/underscore-delimited string, optionally prefixed with `x-` or\n       * `data-`) to its normalized, camelCase form.\n       *\n       * Also there is special case for Moz prefix starting with upper case letter.\n       *\n       * For further information check out the guide on {@link guide/directive#matching-directives Matching Directives}\n       *\n       * @param {string} name Name to normalize\n       */\n      $normalize: directiveNormalize,\n\n\n      /**\n       * @ngdoc method\n       * @name $compile.directive.Attributes#$addClass\n       * @kind function\n       *\n       * @description\n       * Adds the CSS class value specified by the classVal parameter to the element. If animations\n       * are enabled then an animation will be triggered for the class addition.\n       *\n       * @param {string} classVal The className value that will be added to the element\n       */\n      $addClass: function(classVal) {\n        if (classVal && classVal.length > 0) {\n          $animate.addClass(this.$$element, classVal);\n        }\n      },\n\n      /**\n       * @ngdoc method\n       * @name $compile.directive.Attributes#$removeClass\n       * @kind function\n       *\n       * @description\n       * Removes the CSS class value specified by the classVal parameter from the element. If\n       * animations are enabled then an animation will be triggered for the class removal.\n       *\n       * @param {string} classVal The className value that will be removed from the element\n       */\n      $removeClass: function(classVal) {\n        if (classVal && classVal.length > 0) {\n          $animate.removeClass(this.$$element, classVal);\n        }\n      },\n\n      /**\n       * @ngdoc method\n       * @name $compile.directive.Attributes#$updateClass\n       * @kind function\n       *\n       * @description\n       * Adds and removes the appropriate CSS class values to the element based on the difference\n       * between the new and old CSS class values (specified as newClasses and oldClasses).\n       *\n       * @param {string} newClasses The current CSS className value\n       * @param {string} oldClasses The former CSS className value\n       */\n      $updateClass: function(newClasses, oldClasses) {\n        var toAdd = tokenDifference(newClasses, oldClasses);\n        if (toAdd && toAdd.length) {\n          $animate.addClass(this.$$element, toAdd);\n        }\n\n        var toRemove = tokenDifference(oldClasses, newClasses);\n        if (toRemove && toRemove.length) {\n          $animate.removeClass(this.$$element, toRemove);\n        }\n      },\n\n      /**\n       * Set a normalized attribute on the element in a way such that all directives\n       * can share the attribute. This function properly handles boolean attributes.\n       * @param {string} key Normalized key. (ie ngAttribute)\n       * @param {string|boolean} value The value to set. If `null` attribute will be deleted.\n       * @param {boolean=} writeAttr If false, does not write the value to DOM element attribute.\n       *     Defaults to true.\n       * @param {string=} attrName Optional none normalized name. Defaults to key.\n       */\n      $set: function(key, value, writeAttr, attrName) {\n        // TODO: decide whether or not to throw an error if \"class\"\n        //is set through this function since it may cause $updateClass to\n        //become unstable.\n\n        var node = this.$$element[0],\n            booleanKey = getBooleanAttrName(node, key),\n            aliasedKey = getAliasedAttrName(key),\n            observer = key,\n            nodeName;\n\n        if (booleanKey) {\n          this.$$element.prop(key, value);\n          attrName = booleanKey;\n        } else if (aliasedKey) {\n          this[aliasedKey] = value;\n          observer = aliasedKey;\n        }\n\n        this[key] = value;\n\n        // translate normalized key to actual key\n        if (attrName) {\n          this.$attr[key] = attrName;\n        } else {\n          attrName = this.$attr[key];\n          if (!attrName) {\n            this.$attr[key] = attrName = snake_case(key, '-');\n          }\n        }\n\n        nodeName = nodeName_(this.$$element);\n\n        if ((nodeName === 'a' && key === 'href') ||\n            (nodeName === 'img' && key === 'src')) {\n          // sanitize a[href] and img[src] values\n          this[key] = value = $$sanitizeUri(value, key === 'src');\n        } else if (nodeName === 'img' && key === 'srcset') {\n          // sanitize img[srcset] values\n          var result = \"\";\n\n          // first check if there are spaces because it's not the same pattern\n          var trimmedSrcset = trim(value);\n          //                (   999x   ,|   999w   ,|   ,|,   )\n          var srcPattern = /(\\s+\\d+x\\s*,|\\s+\\d+w\\s*,|\\s+,|,\\s+)/;\n          var pattern = /\\s/.test(trimmedSrcset) ? srcPattern : /(,)/;\n\n          // split srcset into tuple of uri and descriptor except for the last item\n          var rawUris = trimmedSrcset.split(pattern);\n\n          // for each tuples\n          var nbrUrisWith2parts = Math.floor(rawUris.length / 2);\n          for (var i = 0; i < nbrUrisWith2parts; i++) {\n            var innerIdx = i * 2;\n            // sanitize the uri\n            result += $$sanitizeUri(trim(rawUris[innerIdx]), true);\n            // add the descriptor\n            result += (\" \" + trim(rawUris[innerIdx + 1]));\n          }\n\n          // split the last item into uri and descriptor\n          var lastTuple = trim(rawUris[i * 2]).split(/\\s/);\n\n          // sanitize the last uri\n          result += $$sanitizeUri(trim(lastTuple[0]), true);\n\n          // and add the last descriptor if any\n          if (lastTuple.length === 2) {\n            result += (\" \" + trim(lastTuple[1]));\n          }\n          this[key] = value = result;\n        }\n\n        if (writeAttr !== false) {\n          if (value === null || isUndefined(value)) {\n            this.$$element.removeAttr(attrName);\n          } else {\n            this.$$element.attr(attrName, value);\n          }\n        }\n\n        // fire observers\n        var $$observers = this.$$observers;\n        $$observers && forEach($$observers[observer], function(fn) {\n          try {\n            fn(value);\n          } catch (e) {\n            $exceptionHandler(e);\n          }\n        });\n      },\n\n\n      /**\n       * @ngdoc method\n       * @name $compile.directive.Attributes#$observe\n       * @kind function\n       *\n       * @description\n       * Observes an interpolated attribute.\n       *\n       * The observer function will be invoked once during the next `$digest` following\n       * compilation. The observer is then invoked whenever the interpolated value\n       * changes.\n       *\n       * @param {string} key Normalized key. (ie ngAttribute) .\n       * @param {function(interpolatedValue)} fn Function that will be called whenever\n                the interpolated value of the attribute changes.\n       *        See the {@link guide/directive#text-and-attribute-bindings Directives} guide for more info.\n       * @returns {function()} Returns a deregistration function for this observer.\n       */\n      $observe: function(key, fn) {\n        var attrs = this,\n            $$observers = (attrs.$$observers || (attrs.$$observers = createMap())),\n            listeners = ($$observers[key] || ($$observers[key] = []));\n\n        listeners.push(fn);\n        $rootScope.$evalAsync(function() {\n          if (!listeners.$$inter && attrs.hasOwnProperty(key) && !isUndefined(attrs[key])) {\n            // no one registered attribute interpolation function, so lets call it manually\n            fn(attrs[key]);\n          }\n        });\n\n        return function() {\n          arrayRemove(listeners, fn);\n        };\n      }\n    };\n\n\n    function safeAddClass($element, className) {\n      try {\n        $element.addClass(className);\n      } catch (e) {\n        // ignore, since it means that we are trying to set class on\n        // SVG element, where class name is read-only.\n      }\n    }\n\n\n    var startSymbol = $interpolate.startSymbol(),\n        endSymbol = $interpolate.endSymbol(),\n        denormalizeTemplate = (startSymbol == '{{' || endSymbol  == '}}')\n            ? identity\n            : function denormalizeTemplate(template) {\n              return template.replace(/\\{\\{/g, startSymbol).replace(/}}/g, endSymbol);\n        },\n        NG_ATTR_BINDING = /^ngAttr[A-Z]/;\n    var MULTI_ELEMENT_DIR_RE = /^(.+)Start$/;\n\n    compile.$$addBindingInfo = debugInfoEnabled ? function $$addBindingInfo($element, binding) {\n      var bindings = $element.data('$binding') || [];\n\n      if (isArray(binding)) {\n        bindings = bindings.concat(binding);\n      } else {\n        bindings.push(binding);\n      }\n\n      $element.data('$binding', bindings);\n    } : noop;\n\n    compile.$$addBindingClass = debugInfoEnabled ? function $$addBindingClass($element) {\n      safeAddClass($element, 'ng-binding');\n    } : noop;\n\n    compile.$$addScopeInfo = debugInfoEnabled ? function $$addScopeInfo($element, scope, isolated, noTemplate) {\n      var dataName = isolated ? (noTemplate ? '$isolateScopeNoTemplate' : '$isolateScope') : '$scope';\n      $element.data(dataName, scope);\n    } : noop;\n\n    compile.$$addScopeClass = debugInfoEnabled ? function $$addScopeClass($element, isolated) {\n      safeAddClass($element, isolated ? 'ng-isolate-scope' : 'ng-scope');\n    } : noop;\n\n    return compile;\n\n    //================================\n\n    function compile($compileNodes, transcludeFn, maxPriority, ignoreDirective,\n                        previousCompileContext) {\n      if (!($compileNodes instanceof jqLite)) {\n        // jquery always rewraps, whereas we need to preserve the original selector so that we can\n        // modify it.\n        $compileNodes = jqLite($compileNodes);\n      }\n      // We can not compile top level text elements since text nodes can be merged and we will\n      // not be able to attach scope data to them, so we will wrap them in <span>\n      forEach($compileNodes, function(node, index) {\n        if (node.nodeType == NODE_TYPE_TEXT && node.nodeValue.match(/\\S+/) /* non-empty */ ) {\n          $compileNodes[index] = jqLite(node).wrap('<span></span>').parent()[0];\n        }\n      });\n      var compositeLinkFn =\n              compileNodes($compileNodes, transcludeFn, $compileNodes,\n                           maxPriority, ignoreDirective, previousCompileContext);\n      compile.$$addScopeClass($compileNodes);\n      var namespace = null;\n      return function publicLinkFn(scope, cloneConnectFn, options) {\n        assertArg(scope, 'scope');\n\n        if (previousCompileContext && previousCompileContext.needsNewScope) {\n          // A parent directive did a replace and a directive on this element asked\n          // for transclusion, which caused us to lose a layer of element on which\n          // we could hold the new transclusion scope, so we will create it manually\n          // here.\n          scope = scope.$parent.$new();\n        }\n\n        options = options || {};\n        var parentBoundTranscludeFn = options.parentBoundTranscludeFn,\n          transcludeControllers = options.transcludeControllers,\n          futureParentElement = options.futureParentElement;\n\n        // When `parentBoundTranscludeFn` is passed, it is a\n        // `controllersBoundTransclude` function (it was previously passed\n        // as `transclude` to directive.link) so we must unwrap it to get\n        // its `boundTranscludeFn`\n        if (parentBoundTranscludeFn && parentBoundTranscludeFn.$$boundTransclude) {\n          parentBoundTranscludeFn = parentBoundTranscludeFn.$$boundTransclude;\n        }\n\n        if (!namespace) {\n          namespace = detectNamespaceForChildElements(futureParentElement);\n        }\n        var $linkNode;\n        if (namespace !== 'html') {\n          // When using a directive with replace:true and templateUrl the $compileNodes\n          // (or a child element inside of them)\n          // might change, so we need to recreate the namespace adapted compileNodes\n          // for call to the link function.\n          // Note: This will already clone the nodes...\n          $linkNode = jqLite(\n            wrapTemplate(namespace, jqLite('<div>').append($compileNodes).html())\n          );\n        } else if (cloneConnectFn) {\n          // important!!: we must call our jqLite.clone() since the jQuery one is trying to be smart\n          // and sometimes changes the structure of the DOM.\n          $linkNode = JQLitePrototype.clone.call($compileNodes);\n        } else {\n          $linkNode = $compileNodes;\n        }\n\n        if (transcludeControllers) {\n          for (var controllerName in transcludeControllers) {\n            $linkNode.data('$' + controllerName + 'Controller', transcludeControllers[controllerName].instance);\n          }\n        }\n\n        compile.$$addScopeInfo($linkNode, scope);\n\n        if (cloneConnectFn) cloneConnectFn($linkNode, scope);\n        if (compositeLinkFn) compositeLinkFn(scope, $linkNode, $linkNode, parentBoundTranscludeFn);\n        return $linkNode;\n      };\n    }\n\n    function detectNamespaceForChildElements(parentElement) {\n      // TODO: Make this detect MathML as well...\n      var node = parentElement && parentElement[0];\n      if (!node) {\n        return 'html';\n      } else {\n        return nodeName_(node) !== 'foreignobject' && node.toString().match(/SVG/) ? 'svg' : 'html';\n      }\n    }\n\n    /**\n     * Compile function matches each node in nodeList against the directives. Once all directives\n     * for a particular node are collected their compile functions are executed. The compile\n     * functions return values - the linking functions - are combined into a composite linking\n     * function, which is the a linking function for the node.\n     *\n     * @param {NodeList} nodeList an array of nodes or NodeList to compile\n     * @param {function(angular.Scope, cloneAttachFn=)} transcludeFn A linking function, where the\n     *        scope argument is auto-generated to the new child of the transcluded parent scope.\n     * @param {DOMElement=} $rootElement If the nodeList is the root of the compilation tree then\n     *        the rootElement must be set the jqLite collection of the compile root. This is\n     *        needed so that the jqLite collection items can be replaced with widgets.\n     * @param {number=} maxPriority Max directive priority.\n     * @returns {Function} A composite linking function of all of the matched directives or null.\n     */\n    function compileNodes(nodeList, transcludeFn, $rootElement, maxPriority, ignoreDirective,\n                            previousCompileContext) {\n      var linkFns = [],\n          attrs, directives, nodeLinkFn, childNodes, childLinkFn, linkFnFound, nodeLinkFnFound;\n\n      for (var i = 0; i < nodeList.length; i++) {\n        attrs = new Attributes();\n\n        // we must always refer to nodeList[i] since the nodes can be replaced underneath us.\n        directives = collectDirectives(nodeList[i], [], attrs, i === 0 ? maxPriority : undefined,\n                                        ignoreDirective);\n\n        nodeLinkFn = (directives.length)\n            ? applyDirectivesToNode(directives, nodeList[i], attrs, transcludeFn, $rootElement,\n                                      null, [], [], previousCompileContext)\n            : null;\n\n        if (nodeLinkFn && nodeLinkFn.scope) {\n          compile.$$addScopeClass(attrs.$$element);\n        }\n\n        childLinkFn = (nodeLinkFn && nodeLinkFn.terminal ||\n                      !(childNodes = nodeList[i].childNodes) ||\n                      !childNodes.length)\n            ? null\n            : compileNodes(childNodes,\n                 nodeLinkFn ? (\n                  (nodeLinkFn.transcludeOnThisElement || !nodeLinkFn.templateOnThisElement)\n                     && nodeLinkFn.transclude) : transcludeFn);\n\n        if (nodeLinkFn || childLinkFn) {\n          linkFns.push(i, nodeLinkFn, childLinkFn);\n          linkFnFound = true;\n          nodeLinkFnFound = nodeLinkFnFound || nodeLinkFn;\n        }\n\n        //use the previous context only for the first element in the virtual group\n        previousCompileContext = null;\n      }\n\n      // return a linking function if we have found anything, null otherwise\n      return linkFnFound ? compositeLinkFn : null;\n\n      function compositeLinkFn(scope, nodeList, $rootElement, parentBoundTranscludeFn) {\n        var nodeLinkFn, childLinkFn, node, childScope, i, ii, idx, childBoundTranscludeFn;\n        var stableNodeList;\n\n\n        if (nodeLinkFnFound) {\n          // copy nodeList so that if a nodeLinkFn removes or adds an element at this DOM level our\n          // offsets don't get screwed up\n          var nodeListLength = nodeList.length;\n          stableNodeList = new Array(nodeListLength);\n\n          // create a sparse array by only copying the elements which have a linkFn\n          for (i = 0; i < linkFns.length; i+=3) {\n            idx = linkFns[i];\n            stableNodeList[idx] = nodeList[idx];\n          }\n        } else {\n          stableNodeList = nodeList;\n        }\n\n        for (i = 0, ii = linkFns.length; i < ii;) {\n          node = stableNodeList[linkFns[i++]];\n          nodeLinkFn = linkFns[i++];\n          childLinkFn = linkFns[i++];\n\n          if (nodeLinkFn) {\n            if (nodeLinkFn.scope) {\n              childScope = scope.$new();\n              compile.$$addScopeInfo(jqLite(node), childScope);\n            } else {\n              childScope = scope;\n            }\n\n            if (nodeLinkFn.transcludeOnThisElement) {\n              childBoundTranscludeFn = createBoundTranscludeFn(\n                  scope, nodeLinkFn.transclude, parentBoundTranscludeFn);\n\n            } else if (!nodeLinkFn.templateOnThisElement && parentBoundTranscludeFn) {\n              childBoundTranscludeFn = parentBoundTranscludeFn;\n\n            } else if (!parentBoundTranscludeFn && transcludeFn) {\n              childBoundTranscludeFn = createBoundTranscludeFn(scope, transcludeFn);\n\n            } else {\n              childBoundTranscludeFn = null;\n            }\n\n            nodeLinkFn(childLinkFn, childScope, node, $rootElement, childBoundTranscludeFn);\n\n          } else if (childLinkFn) {\n            childLinkFn(scope, node.childNodes, undefined, parentBoundTranscludeFn);\n          }\n        }\n      }\n    }\n\n    function createBoundTranscludeFn(scope, transcludeFn, previousBoundTranscludeFn) {\n\n      var boundTranscludeFn = function(transcludedScope, cloneFn, controllers, futureParentElement, containingScope) {\n\n        if (!transcludedScope) {\n          transcludedScope = scope.$new(false, containingScope);\n          transcludedScope.$$transcluded = true;\n        }\n\n        return transcludeFn(transcludedScope, cloneFn, {\n          parentBoundTranscludeFn: previousBoundTranscludeFn,\n          transcludeControllers: controllers,\n          futureParentElement: futureParentElement\n        });\n      };\n\n      return boundTranscludeFn;\n    }\n\n    /**\n     * Looks for directives on the given node and adds them to the directive collection which is\n     * sorted.\n     *\n     * @param node Node to search.\n     * @param directives An array to which the directives are added to. This array is sorted before\n     *        the function returns.\n     * @param attrs The shared attrs object which is used to populate the normalized attributes.\n     * @param {number=} maxPriority Max directive priority.\n     */\n    function collectDirectives(node, directives, attrs, maxPriority, ignoreDirective) {\n      var nodeType = node.nodeType,\n          attrsMap = attrs.$attr,\n          match,\n          className;\n\n      switch (nodeType) {\n        case NODE_TYPE_ELEMENT: /* Element */\n          // use the node name: <directive>\n          addDirective(directives,\n              directiveNormalize(nodeName_(node)), 'E', maxPriority, ignoreDirective);\n\n          // iterate over the attributes\n          for (var attr, name, nName, ngAttrName, value, isNgAttr, nAttrs = node.attributes,\n                   j = 0, jj = nAttrs && nAttrs.length; j < jj; j++) {\n            var attrStartName = false;\n            var attrEndName = false;\n\n            attr = nAttrs[j];\n            name = attr.name;\n            value = trim(attr.value);\n\n            // support ngAttr attribute binding\n            ngAttrName = directiveNormalize(name);\n            if (isNgAttr = NG_ATTR_BINDING.test(ngAttrName)) {\n              name = name.replace(PREFIX_REGEXP, '')\n                .substr(8).replace(/_(.)/g, function(match, letter) {\n                  return letter.toUpperCase();\n                });\n            }\n\n            var multiElementMatch = ngAttrName.match(MULTI_ELEMENT_DIR_RE);\n            if (multiElementMatch && directiveIsMultiElement(multiElementMatch[1])) {\n              attrStartName = name;\n              attrEndName = name.substr(0, name.length - 5) + 'end';\n              name = name.substr(0, name.length - 6);\n            }\n\n            nName = directiveNormalize(name.toLowerCase());\n            attrsMap[nName] = name;\n            if (isNgAttr || !attrs.hasOwnProperty(nName)) {\n                attrs[nName] = value;\n                if (getBooleanAttrName(node, nName)) {\n                  attrs[nName] = true; // presence means true\n                }\n            }\n            addAttrInterpolateDirective(node, directives, value, nName, isNgAttr);\n            addDirective(directives, nName, 'A', maxPriority, ignoreDirective, attrStartName,\n                          attrEndName);\n          }\n\n          // use class as directive\n          className = node.className;\n          if (isObject(className)) {\n              // Maybe SVGAnimatedString\n              className = className.animVal;\n          }\n          if (isString(className) && className !== '') {\n            while (match = CLASS_DIRECTIVE_REGEXP.exec(className)) {\n              nName = directiveNormalize(match[2]);\n              if (addDirective(directives, nName, 'C', maxPriority, ignoreDirective)) {\n                attrs[nName] = trim(match[3]);\n              }\n              className = className.substr(match.index + match[0].length);\n            }\n          }\n          break;\n        case NODE_TYPE_TEXT: /* Text Node */\n          if (msie === 11) {\n            // Workaround for #11781\n            while (node.parentNode && node.nextSibling && node.nextSibling.nodeType === NODE_TYPE_TEXT) {\n              node.nodeValue = node.nodeValue + node.nextSibling.nodeValue;\n              node.parentNode.removeChild(node.nextSibling);\n            }\n          }\n          addTextInterpolateDirective(directives, node.nodeValue);\n          break;\n        case NODE_TYPE_COMMENT: /* Comment */\n          try {\n            match = COMMENT_DIRECTIVE_REGEXP.exec(node.nodeValue);\n            if (match) {\n              nName = directiveNormalize(match[1]);\n              if (addDirective(directives, nName, 'M', maxPriority, ignoreDirective)) {\n                attrs[nName] = trim(match[2]);\n              }\n            }\n          } catch (e) {\n            // turns out that under some circumstances IE9 throws errors when one attempts to read\n            // comment's node value.\n            // Just ignore it and continue. (Can't seem to reproduce in test case.)\n          }\n          break;\n      }\n\n      directives.sort(byPriority);\n      return directives;\n    }\n\n    /**\n     * Given a node with an directive-start it collects all of the siblings until it finds\n     * directive-end.\n     * @param node\n     * @param attrStart\n     * @param attrEnd\n     * @returns {*}\n     */\n    function groupScan(node, attrStart, attrEnd) {\n      var nodes = [];\n      var depth = 0;\n      if (attrStart && node.hasAttribute && node.hasAttribute(attrStart)) {\n        do {\n          if (!node) {\n            throw $compileMinErr('uterdir',\n                      \"Unterminated attribute, found '{0}' but no matching '{1}' found.\",\n                      attrStart, attrEnd);\n          }\n          if (node.nodeType == NODE_TYPE_ELEMENT) {\n            if (node.hasAttribute(attrStart)) depth++;\n            if (node.hasAttribute(attrEnd)) depth--;\n          }\n          nodes.push(node);\n          node = node.nextSibling;\n        } while (depth > 0);\n      } else {\n        nodes.push(node);\n      }\n\n      return jqLite(nodes);\n    }\n\n    /**\n     * Wrapper for linking function which converts normal linking function into a grouped\n     * linking function.\n     * @param linkFn\n     * @param attrStart\n     * @param attrEnd\n     * @returns {Function}\n     */\n    function groupElementsLinkFnWrapper(linkFn, attrStart, attrEnd) {\n      return function(scope, element, attrs, controllers, transcludeFn) {\n        element = groupScan(element[0], attrStart, attrEnd);\n        return linkFn(scope, element, attrs, controllers, transcludeFn);\n      };\n    }\n\n    /**\n     * Once the directives have been collected, their compile functions are executed. This method\n     * is responsible for inlining directive templates as well as terminating the application\n     * of the directives if the terminal directive has been reached.\n     *\n     * @param {Array} directives Array of collected directives to execute their compile function.\n     *        this needs to be pre-sorted by priority order.\n     * @param {Node} compileNode The raw DOM node to apply the compile functions to\n     * @param {Object} templateAttrs The shared attribute function\n     * @param {function(angular.Scope, cloneAttachFn=)} transcludeFn A linking function, where the\n     *                                                  scope argument is auto-generated to the new\n     *                                                  child of the transcluded parent scope.\n     * @param {JQLite} jqCollection If we are working on the root of the compile tree then this\n     *                              argument has the root jqLite array so that we can replace nodes\n     *                              on it.\n     * @param {Object=} originalReplaceDirective An optional directive that will be ignored when\n     *                                           compiling the transclusion.\n     * @param {Array.<Function>} preLinkFns\n     * @param {Array.<Function>} postLinkFns\n     * @param {Object} previousCompileContext Context used for previous compilation of the current\n     *                                        node\n     * @returns {Function} linkFn\n     */\n    function applyDirectivesToNode(directives, compileNode, templateAttrs, transcludeFn,\n                                   jqCollection, originalReplaceDirective, preLinkFns, postLinkFns,\n                                   previousCompileContext) {\n      previousCompileContext = previousCompileContext || {};\n\n      var terminalPriority = -Number.MAX_VALUE,\n          newScopeDirective = previousCompileContext.newScopeDirective,\n          controllerDirectives = previousCompileContext.controllerDirectives,\n          newIsolateScopeDirective = previousCompileContext.newIsolateScopeDirective,\n          templateDirective = previousCompileContext.templateDirective,\n          nonTlbTranscludeDirective = previousCompileContext.nonTlbTranscludeDirective,\n          hasTranscludeDirective = false,\n          hasTemplate = false,\n          hasElementTranscludeDirective = previousCompileContext.hasElementTranscludeDirective,\n          $compileNode = templateAttrs.$$element = jqLite(compileNode),\n          directive,\n          directiveName,\n          $template,\n          replaceDirective = originalReplaceDirective,\n          childTranscludeFn = transcludeFn,\n          linkFn,\n          directiveValue;\n\n      // executes all directives on the current element\n      for (var i = 0, ii = directives.length; i < ii; i++) {\n        directive = directives[i];\n        var attrStart = directive.$$start;\n        var attrEnd = directive.$$end;\n\n        // collect multiblock sections\n        if (attrStart) {\n          $compileNode = groupScan(compileNode, attrStart, attrEnd);\n        }\n        $template = undefined;\n\n        if (terminalPriority > directive.priority) {\n          break; // prevent further processing of directives\n        }\n\n        if (directiveValue = directive.scope) {\n\n          // skip the check for directives with async templates, we'll check the derived sync\n          // directive when the template arrives\n          if (!directive.templateUrl) {\n            if (isObject(directiveValue)) {\n              // This directive is trying to add an isolated scope.\n              // Check that there is no scope of any kind already\n              assertNoDuplicate('new/isolated scope', newIsolateScopeDirective || newScopeDirective,\n                                directive, $compileNode);\n              newIsolateScopeDirective = directive;\n            } else {\n              // This directive is trying to add a child scope.\n              // Check that there is no isolated scope already\n              assertNoDuplicate('new/isolated scope', newIsolateScopeDirective, directive,\n                                $compileNode);\n            }\n          }\n\n          newScopeDirective = newScopeDirective || directive;\n        }\n\n        directiveName = directive.name;\n\n        if (!directive.templateUrl && directive.controller) {\n          directiveValue = directive.controller;\n          controllerDirectives = controllerDirectives || createMap();\n          assertNoDuplicate(\"'\" + directiveName + \"' controller\",\n              controllerDirectives[directiveName], directive, $compileNode);\n          controllerDirectives[directiveName] = directive;\n        }\n\n        if (directiveValue = directive.transclude) {\n          hasTranscludeDirective = true;\n\n          // Special case ngIf and ngRepeat so that we don't complain about duplicate transclusion.\n          // This option should only be used by directives that know how to safely handle element transclusion,\n          // where the transcluded nodes are added or replaced after linking.\n          if (!directive.$$tlb) {\n            assertNoDuplicate('transclusion', nonTlbTranscludeDirective, directive, $compileNode);\n            nonTlbTranscludeDirective = directive;\n          }\n\n          if (directiveValue == 'element') {\n            hasElementTranscludeDirective = true;\n            terminalPriority = directive.priority;\n            $template = $compileNode;\n            $compileNode = templateAttrs.$$element =\n                jqLite(document.createComment(' ' + directiveName + ': ' +\n                                              templateAttrs[directiveName] + ' '));\n            compileNode = $compileNode[0];\n            replaceWith(jqCollection, sliceArgs($template), compileNode);\n\n            childTranscludeFn = compile($template, transcludeFn, terminalPriority,\n                                        replaceDirective && replaceDirective.name, {\n                                          // Don't pass in:\n                                          // - controllerDirectives - otherwise we'll create duplicates controllers\n                                          // - newIsolateScopeDirective or templateDirective - combining templates with\n                                          //   element transclusion doesn't make sense.\n                                          //\n                                          // We need only nonTlbTranscludeDirective so that we prevent putting transclusion\n                                          // on the same element more than once.\n                                          nonTlbTranscludeDirective: nonTlbTranscludeDirective\n                                        });\n          } else {\n            $template = jqLite(jqLiteClone(compileNode)).contents();\n            $compileNode.empty(); // clear contents\n            childTranscludeFn = compile($template, transcludeFn, undefined,\n                undefined, { needsNewScope: directive.$$isolateScope || directive.$$newScope});\n          }\n        }\n\n        if (directive.template) {\n          hasTemplate = true;\n          assertNoDuplicate('template', templateDirective, directive, $compileNode);\n          templateDirective = directive;\n\n          directiveValue = (isFunction(directive.template))\n              ? directive.template($compileNode, templateAttrs)\n              : directive.template;\n\n          directiveValue = denormalizeTemplate(directiveValue);\n\n          if (directive.replace) {\n            replaceDirective = directive;\n            if (jqLiteIsTextNode(directiveValue)) {\n              $template = [];\n            } else {\n              $template = removeComments(wrapTemplate(directive.templateNamespace, trim(directiveValue)));\n            }\n            compileNode = $template[0];\n\n            if ($template.length != 1 || compileNode.nodeType !== NODE_TYPE_ELEMENT) {\n              throw $compileMinErr('tplrt',\n                  \"Template for directive '{0}' must have exactly one root element. {1}\",\n                  directiveName, '');\n            }\n\n            replaceWith(jqCollection, $compileNode, compileNode);\n\n            var newTemplateAttrs = {$attr: {}};\n\n            // combine directives from the original node and from the template:\n            // - take the array of directives for this element\n            // - split it into two parts, those that already applied (processed) and those that weren't (unprocessed)\n            // - collect directives from the template and sort them by priority\n            // - combine directives as: processed + template + unprocessed\n            var templateDirectives = collectDirectives(compileNode, [], newTemplateAttrs);\n            var unprocessedDirectives = directives.splice(i + 1, directives.length - (i + 1));\n\n            if (newIsolateScopeDirective || newScopeDirective) {\n              // The original directive caused the current element to be replaced but this element\n              // also needs to have a new scope, so we need to tell the template directives\n              // that they would need to get their scope from further up, if they require transclusion\n              markDirectiveScope(templateDirectives, newIsolateScopeDirective, newScopeDirective);\n            }\n            directives = directives.concat(templateDirectives).concat(unprocessedDirectives);\n            mergeTemplateAttributes(templateAttrs, newTemplateAttrs);\n\n            ii = directives.length;\n          } else {\n            $compileNode.html(directiveValue);\n          }\n        }\n\n        if (directive.templateUrl) {\n          hasTemplate = true;\n          assertNoDuplicate('template', templateDirective, directive, $compileNode);\n          templateDirective = directive;\n\n          if (directive.replace) {\n            replaceDirective = directive;\n          }\n\n          nodeLinkFn = compileTemplateUrl(directives.splice(i, directives.length - i), $compileNode,\n              templateAttrs, jqCollection, hasTranscludeDirective && childTranscludeFn, preLinkFns, postLinkFns, {\n                controllerDirectives: controllerDirectives,\n                newScopeDirective: (newScopeDirective !== directive) && newScopeDirective,\n                newIsolateScopeDirective: newIsolateScopeDirective,\n                templateDirective: templateDirective,\n                nonTlbTranscludeDirective: nonTlbTranscludeDirective\n              });\n          ii = directives.length;\n        } else if (directive.compile) {\n          try {\n            linkFn = directive.compile($compileNode, templateAttrs, childTranscludeFn);\n            if (isFunction(linkFn)) {\n              addLinkFns(null, linkFn, attrStart, attrEnd);\n            } else if (linkFn) {\n              addLinkFns(linkFn.pre, linkFn.post, attrStart, attrEnd);\n            }\n          } catch (e) {\n            $exceptionHandler(e, startingTag($compileNode));\n          }\n        }\n\n        if (directive.terminal) {\n          nodeLinkFn.terminal = true;\n          terminalPriority = Math.max(terminalPriority, directive.priority);\n        }\n\n      }\n\n      nodeLinkFn.scope = newScopeDirective && newScopeDirective.scope === true;\n      nodeLinkFn.transcludeOnThisElement = hasTranscludeDirective;\n      nodeLinkFn.templateOnThisElement = hasTemplate;\n      nodeLinkFn.transclude = childTranscludeFn;\n\n      previousCompileContext.hasElementTranscludeDirective = hasElementTranscludeDirective;\n\n      // might be normal or delayed nodeLinkFn depending on if templateUrl is present\n      return nodeLinkFn;\n\n      ////////////////////\n\n      function addLinkFns(pre, post, attrStart, attrEnd) {\n        if (pre) {\n          if (attrStart) pre = groupElementsLinkFnWrapper(pre, attrStart, attrEnd);\n          pre.require = directive.require;\n          pre.directiveName = directiveName;\n          if (newIsolateScopeDirective === directive || directive.$$isolateScope) {\n            pre = cloneAndAnnotateFn(pre, {isolateScope: true});\n          }\n          preLinkFns.push(pre);\n        }\n        if (post) {\n          if (attrStart) post = groupElementsLinkFnWrapper(post, attrStart, attrEnd);\n          post.require = directive.require;\n          post.directiveName = directiveName;\n          if (newIsolateScopeDirective === directive || directive.$$isolateScope) {\n            post = cloneAndAnnotateFn(post, {isolateScope: true});\n          }\n          postLinkFns.push(post);\n        }\n      }\n\n\n      function getControllers(directiveName, require, $element, elementControllers) {\n        var value;\n\n        if (isString(require)) {\n          var match = require.match(REQUIRE_PREFIX_REGEXP);\n          var name = require.substring(match[0].length);\n          var inheritType = match[1] || match[3];\n          var optional = match[2] === '?';\n\n          //If only parents then start at the parent element\n          if (inheritType === '^^') {\n            $element = $element.parent();\n          //Otherwise attempt getting the controller from elementControllers in case\n          //the element is transcluded (and has no data) and to avoid .data if possible\n          } else {\n            value = elementControllers && elementControllers[name];\n            value = value && value.instance;\n          }\n\n          if (!value) {\n            var dataName = '$' + name + 'Controller';\n            value = inheritType ? $element.inheritedData(dataName) : $element.data(dataName);\n          }\n\n          if (!value && !optional) {\n            throw $compileMinErr('ctreq',\n                \"Controller '{0}', required by directive '{1}', can't be found!\",\n                name, directiveName);\n          }\n        } else if (isArray(require)) {\n          value = [];\n          for (var i = 0, ii = require.length; i < ii; i++) {\n            value[i] = getControllers(directiveName, require[i], $element, elementControllers);\n          }\n        }\n\n        return value || null;\n      }\n\n      function setupControllers($element, attrs, transcludeFn, controllerDirectives, isolateScope, scope) {\n        var elementControllers = createMap();\n        for (var controllerKey in controllerDirectives) {\n          var directive = controllerDirectives[controllerKey];\n          var locals = {\n            $scope: directive === newIsolateScopeDirective || directive.$$isolateScope ? isolateScope : scope,\n            $element: $element,\n            $attrs: attrs,\n            $transclude: transcludeFn\n          };\n\n          var controller = directive.controller;\n          if (controller == '@') {\n            controller = attrs[directive.name];\n          }\n\n          var controllerInstance = $controller(controller, locals, true, directive.controllerAs);\n\n          // For directives with element transclusion the element is a comment,\n          // but jQuery .data doesn't support attaching data to comment nodes as it's hard to\n          // clean up (http://bugs.jquery.com/ticket/8335).\n          // Instead, we save the controllers for the element in a local hash and attach to .data\n          // later, once we have the actual element.\n          elementControllers[directive.name] = controllerInstance;\n          if (!hasElementTranscludeDirective) {\n            $element.data('$' + directive.name + 'Controller', controllerInstance.instance);\n          }\n        }\n        return elementControllers;\n      }\n\n      function nodeLinkFn(childLinkFn, scope, linkNode, $rootElement, boundTranscludeFn) {\n        var linkFn, isolateScope, controllerScope, elementControllers, transcludeFn, $element,\n            attrs, removeScopeBindingWatches, removeControllerBindingWatches;\n\n        if (compileNode === linkNode) {\n          attrs = templateAttrs;\n          $element = templateAttrs.$$element;\n        } else {\n          $element = jqLite(linkNode);\n          attrs = new Attributes($element, templateAttrs);\n        }\n\n        controllerScope = scope;\n        if (newIsolateScopeDirective) {\n          isolateScope = scope.$new(true);\n        } else if (newScopeDirective) {\n          controllerScope = scope.$parent;\n        }\n\n        if (boundTranscludeFn) {\n          // track `boundTranscludeFn` so it can be unwrapped if `transcludeFn`\n          // is later passed as `parentBoundTranscludeFn` to `publicLinkFn`\n          transcludeFn = controllersBoundTransclude;\n          transcludeFn.$$boundTransclude = boundTranscludeFn;\n        }\n\n        if (controllerDirectives) {\n          elementControllers = setupControllers($element, attrs, transcludeFn, controllerDirectives, isolateScope, scope);\n        }\n\n        if (newIsolateScopeDirective) {\n          // Initialize isolate scope bindings for new isolate scope directive.\n          compile.$$addScopeInfo($element, isolateScope, true, !(templateDirective && (templateDirective === newIsolateScopeDirective ||\n              templateDirective === newIsolateScopeDirective.$$originalDirective)));\n          compile.$$addScopeClass($element, true);\n          isolateScope.$$isolateBindings =\n              newIsolateScopeDirective.$$isolateBindings;\n          removeScopeBindingWatches = initializeDirectiveBindings(scope, attrs, isolateScope,\n                                        isolateScope.$$isolateBindings,\n                                        newIsolateScopeDirective);\n          if (removeScopeBindingWatches) {\n            isolateScope.$on('$destroy', removeScopeBindingWatches);\n          }\n        }\n\n        // Initialize bindToController bindings\n        for (var name in elementControllers) {\n          var controllerDirective = controllerDirectives[name];\n          var controller = elementControllers[name];\n          var bindings = controllerDirective.$$bindings.bindToController;\n\n          if (controller.identifier && bindings) {\n            removeControllerBindingWatches =\n              initializeDirectiveBindings(controllerScope, attrs, controller.instance, bindings, controllerDirective);\n          }\n\n          var controllerResult = controller();\n          if (controllerResult !== controller.instance) {\n            // If the controller constructor has a return value, overwrite the instance\n            // from setupControllers\n            controller.instance = controllerResult;\n            $element.data('$' + controllerDirective.name + 'Controller', controllerResult);\n            removeControllerBindingWatches && removeControllerBindingWatches();\n            removeControllerBindingWatches =\n              initializeDirectiveBindings(controllerScope, attrs, controller.instance, bindings, controllerDirective);\n          }\n        }\n\n        // PRELINKING\n        for (i = 0, ii = preLinkFns.length; i < ii; i++) {\n          linkFn = preLinkFns[i];\n          invokeLinkFn(linkFn,\n              linkFn.isolateScope ? isolateScope : scope,\n              $element,\n              attrs,\n              linkFn.require && getControllers(linkFn.directiveName, linkFn.require, $element, elementControllers),\n              transcludeFn\n          );\n        }\n\n        // RECURSION\n        // We only pass the isolate scope, if the isolate directive has a template,\n        // otherwise the child elements do not belong to the isolate directive.\n        var scopeToChild = scope;\n        if (newIsolateScopeDirective && (newIsolateScopeDirective.template || newIsolateScopeDirective.templateUrl === null)) {\n          scopeToChild = isolateScope;\n        }\n        childLinkFn && childLinkFn(scopeToChild, linkNode.childNodes, undefined, boundTranscludeFn);\n\n        // POSTLINKING\n        for (i = postLinkFns.length - 1; i >= 0; i--) {\n          linkFn = postLinkFns[i];\n          invokeLinkFn(linkFn,\n              linkFn.isolateScope ? isolateScope : scope,\n              $element,\n              attrs,\n              linkFn.require && getControllers(linkFn.directiveName, linkFn.require, $element, elementControllers),\n              transcludeFn\n          );\n        }\n\n        // This is the function that is injected as `$transclude`.\n        // Note: all arguments are optional!\n        function controllersBoundTransclude(scope, cloneAttachFn, futureParentElement) {\n          var transcludeControllers;\n\n          // No scope passed in:\n          if (!isScope(scope)) {\n            futureParentElement = cloneAttachFn;\n            cloneAttachFn = scope;\n            scope = undefined;\n          }\n\n          if (hasElementTranscludeDirective) {\n            transcludeControllers = elementControllers;\n          }\n          if (!futureParentElement) {\n            futureParentElement = hasElementTranscludeDirective ? $element.parent() : $element;\n          }\n          return boundTranscludeFn(scope, cloneAttachFn, transcludeControllers, futureParentElement, scopeToChild);\n        }\n      }\n    }\n\n    // Depending upon the context in which a directive finds itself it might need to have a new isolated\n    // or child scope created. For instance:\n    // * if the directive has been pulled into a template because another directive with a higher priority\n    // asked for element transclusion\n    // * if the directive itself asks for transclusion but it is at the root of a template and the original\n    // element was replaced. See https://github.com/angular/angular.js/issues/12936\n    function markDirectiveScope(directives, isolateScope, newScope) {\n      for (var j = 0, jj = directives.length; j < jj; j++) {\n        directives[j] = inherit(directives[j], {$$isolateScope: isolateScope, $$newScope: newScope});\n      }\n    }\n\n    /**\n     * looks up the directive and decorates it with exception handling and proper parameters. We\n     * call this the boundDirective.\n     *\n     * @param {string} name name of the directive to look up.\n     * @param {string} location The directive must be found in specific format.\n     *   String containing any of theses characters:\n     *\n     *   * `E`: element name\n     *   * `A': attribute\n     *   * `C`: class\n     *   * `M`: comment\n     * @returns {boolean} true if directive was added.\n     */\n    function addDirective(tDirectives, name, location, maxPriority, ignoreDirective, startAttrName,\n                          endAttrName) {\n      if (name === ignoreDirective) return null;\n      var match = null;\n      if (hasDirectives.hasOwnProperty(name)) {\n        for (var directive, directives = $injector.get(name + Suffix),\n            i = 0, ii = directives.length; i < ii; i++) {\n          try {\n            directive = directives[i];\n            if ((isUndefined(maxPriority) || maxPriority > directive.priority) &&\n                 directive.restrict.indexOf(location) != -1) {\n              if (startAttrName) {\n                directive = inherit(directive, {$$start: startAttrName, $$end: endAttrName});\n              }\n              tDirectives.push(directive);\n              match = directive;\n            }\n          } catch (e) { $exceptionHandler(e); }\n        }\n      }\n      return match;\n    }\n\n\n    /**\n     * looks up the directive and returns true if it is a multi-element directive,\n     * and therefore requires DOM nodes between -start and -end markers to be grouped\n     * together.\n     *\n     * @param {string} name name of the directive to look up.\n     * @returns true if directive was registered as multi-element.\n     */\n    function directiveIsMultiElement(name) {\n      if (hasDirectives.hasOwnProperty(name)) {\n        for (var directive, directives = $injector.get(name + Suffix),\n            i = 0, ii = directives.length; i < ii; i++) {\n          directive = directives[i];\n          if (directive.multiElement) {\n            return true;\n          }\n        }\n      }\n      return false;\n    }\n\n    /**\n     * When the element is replaced with HTML template then the new attributes\n     * on the template need to be merged with the existing attributes in the DOM.\n     * The desired effect is to have both of the attributes present.\n     *\n     * @param {object} dst destination attributes (original DOM)\n     * @param {object} src source attributes (from the directive template)\n     */\n    function mergeTemplateAttributes(dst, src) {\n      var srcAttr = src.$attr,\n          dstAttr = dst.$attr,\n          $element = dst.$$element;\n\n      // reapply the old attributes to the new element\n      forEach(dst, function(value, key) {\n        if (key.charAt(0) != '$') {\n          if (src[key] && src[key] !== value) {\n            value += (key === 'style' ? ';' : ' ') + src[key];\n          }\n          dst.$set(key, value, true, srcAttr[key]);\n        }\n      });\n\n      // copy the new attributes on the old attrs object\n      forEach(src, function(value, key) {\n        if (key == 'class') {\n          safeAddClass($element, value);\n          dst['class'] = (dst['class'] ? dst['class'] + ' ' : '') + value;\n        } else if (key == 'style') {\n          $element.attr('style', $element.attr('style') + ';' + value);\n          dst['style'] = (dst['style'] ? dst['style'] + ';' : '') + value;\n          // `dst` will never contain hasOwnProperty as DOM parser won't let it.\n          // You will get an \"InvalidCharacterError: DOM Exception 5\" error if you\n          // have an attribute like \"has-own-property\" or \"data-has-own-property\", etc.\n        } else if (key.charAt(0) != '$' && !dst.hasOwnProperty(key)) {\n          dst[key] = value;\n          dstAttr[key] = srcAttr[key];\n        }\n      });\n    }\n\n\n    function compileTemplateUrl(directives, $compileNode, tAttrs,\n        $rootElement, childTranscludeFn, preLinkFns, postLinkFns, previousCompileContext) {\n      var linkQueue = [],\n          afterTemplateNodeLinkFn,\n          afterTemplateChildLinkFn,\n          beforeTemplateCompileNode = $compileNode[0],\n          origAsyncDirective = directives.shift(),\n          derivedSyncDirective = inherit(origAsyncDirective, {\n            templateUrl: null, transclude: null, replace: null, $$originalDirective: origAsyncDirective\n          }),\n          templateUrl = (isFunction(origAsyncDirective.templateUrl))\n              ? origAsyncDirective.templateUrl($compileNode, tAttrs)\n              : origAsyncDirective.templateUrl,\n          templateNamespace = origAsyncDirective.templateNamespace;\n\n      $compileNode.empty();\n\n      $templateRequest(templateUrl)\n        .then(function(content) {\n          var compileNode, tempTemplateAttrs, $template, childBoundTranscludeFn;\n\n          content = denormalizeTemplate(content);\n\n          if (origAsyncDirective.replace) {\n            if (jqLiteIsTextNode(content)) {\n              $template = [];\n            } else {\n              $template = removeComments(wrapTemplate(templateNamespace, trim(content)));\n            }\n            compileNode = $template[0];\n\n            if ($template.length != 1 || compileNode.nodeType !== NODE_TYPE_ELEMENT) {\n              throw $compileMinErr('tplrt',\n                  \"Template for directive '{0}' must have exactly one root element. {1}\",\n                  origAsyncDirective.name, templateUrl);\n            }\n\n            tempTemplateAttrs = {$attr: {}};\n            replaceWith($rootElement, $compileNode, compileNode);\n            var templateDirectives = collectDirectives(compileNode, [], tempTemplateAttrs);\n\n            if (isObject(origAsyncDirective.scope)) {\n              // the original directive that caused the template to be loaded async required\n              // an isolate scope\n              markDirectiveScope(templateDirectives, true);\n            }\n            directives = templateDirectives.concat(directives);\n            mergeTemplateAttributes(tAttrs, tempTemplateAttrs);\n          } else {\n            compileNode = beforeTemplateCompileNode;\n            $compileNode.html(content);\n          }\n\n          directives.unshift(derivedSyncDirective);\n\n          afterTemplateNodeLinkFn = applyDirectivesToNode(directives, compileNode, tAttrs,\n              childTranscludeFn, $compileNode, origAsyncDirective, preLinkFns, postLinkFns,\n              previousCompileContext);\n          forEach($rootElement, function(node, i) {\n            if (node == compileNode) {\n              $rootElement[i] = $compileNode[0];\n            }\n          });\n          afterTemplateChildLinkFn = compileNodes($compileNode[0].childNodes, childTranscludeFn);\n\n          while (linkQueue.length) {\n            var scope = linkQueue.shift(),\n                beforeTemplateLinkNode = linkQueue.shift(),\n                linkRootElement = linkQueue.shift(),\n                boundTranscludeFn = linkQueue.shift(),\n                linkNode = $compileNode[0];\n\n            if (scope.$$destroyed) continue;\n\n            if (beforeTemplateLinkNode !== beforeTemplateCompileNode) {\n              var oldClasses = beforeTemplateLinkNode.className;\n\n              if (!(previousCompileContext.hasElementTranscludeDirective &&\n                  origAsyncDirective.replace)) {\n                // it was cloned therefore we have to clone as well.\n                linkNode = jqLiteClone(compileNode);\n              }\n              replaceWith(linkRootElement, jqLite(beforeTemplateLinkNode), linkNode);\n\n              // Copy in CSS classes from original node\n              safeAddClass(jqLite(linkNode), oldClasses);\n            }\n            if (afterTemplateNodeLinkFn.transcludeOnThisElement) {\n              childBoundTranscludeFn = createBoundTranscludeFn(scope, afterTemplateNodeLinkFn.transclude, boundTranscludeFn);\n            } else {\n              childBoundTranscludeFn = boundTranscludeFn;\n            }\n            afterTemplateNodeLinkFn(afterTemplateChildLinkFn, scope, linkNode, $rootElement,\n              childBoundTranscludeFn);\n          }\n          linkQueue = null;\n        });\n\n      return function delayedNodeLinkFn(ignoreChildLinkFn, scope, node, rootElement, boundTranscludeFn) {\n        var childBoundTranscludeFn = boundTranscludeFn;\n        if (scope.$$destroyed) return;\n        if (linkQueue) {\n          linkQueue.push(scope,\n                         node,\n                         rootElement,\n                         childBoundTranscludeFn);\n        } else {\n          if (afterTemplateNodeLinkFn.transcludeOnThisElement) {\n            childBoundTranscludeFn = createBoundTranscludeFn(scope, afterTemplateNodeLinkFn.transclude, boundTranscludeFn);\n          }\n          afterTemplateNodeLinkFn(afterTemplateChildLinkFn, scope, node, rootElement, childBoundTranscludeFn);\n        }\n      };\n    }\n\n\n    /**\n     * Sorting function for bound directives.\n     */\n    function byPriority(a, b) {\n      var diff = b.priority - a.priority;\n      if (diff !== 0) return diff;\n      if (a.name !== b.name) return (a.name < b.name) ? -1 : 1;\n      return a.index - b.index;\n    }\n\n    function assertNoDuplicate(what, previousDirective, directive, element) {\n\n      function wrapModuleNameIfDefined(moduleName) {\n        return moduleName ?\n          (' (module: ' + moduleName + ')') :\n          '';\n      }\n\n      if (previousDirective) {\n        throw $compileMinErr('multidir', 'Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}',\n            previousDirective.name, wrapModuleNameIfDefined(previousDirective.$$moduleName),\n            directive.name, wrapModuleNameIfDefined(directive.$$moduleName), what, startingTag(element));\n      }\n    }\n\n\n    function addTextInterpolateDirective(directives, text) {\n      var interpolateFn = $interpolate(text, true);\n      if (interpolateFn) {\n        directives.push({\n          priority: 0,\n          compile: function textInterpolateCompileFn(templateNode) {\n            var templateNodeParent = templateNode.parent(),\n                hasCompileParent = !!templateNodeParent.length;\n\n            // When transcluding a template that has bindings in the root\n            // we don't have a parent and thus need to add the class during linking fn.\n            if (hasCompileParent) compile.$$addBindingClass(templateNodeParent);\n\n            return function textInterpolateLinkFn(scope, node) {\n              var parent = node.parent();\n              if (!hasCompileParent) compile.$$addBindingClass(parent);\n              compile.$$addBindingInfo(parent, interpolateFn.expressions);\n              scope.$watch(interpolateFn, function interpolateFnWatchAction(value) {\n                node[0].nodeValue = value;\n              });\n            };\n          }\n        });\n      }\n    }\n\n\n    function wrapTemplate(type, template) {\n      type = lowercase(type || 'html');\n      switch (type) {\n      case 'svg':\n      case 'math':\n        var wrapper = document.createElement('div');\n        wrapper.innerHTML = '<' + type + '>' + template + '</' + type + '>';\n        return wrapper.childNodes[0].childNodes;\n      default:\n        return template;\n      }\n    }\n\n\n    function getTrustedContext(node, attrNormalizedName) {\n      if (attrNormalizedName == \"srcdoc\") {\n        return $sce.HTML;\n      }\n      var tag = nodeName_(node);\n      // maction[xlink:href] can source SVG.  It's not limited to <maction>.\n      if (attrNormalizedName == \"xlinkHref\" ||\n          (tag == \"form\" && attrNormalizedName == \"action\") ||\n          (tag != \"img\" && (attrNormalizedName == \"src\" ||\n                            attrNormalizedName == \"ngSrc\"))) {\n        return $sce.RESOURCE_URL;\n      }\n    }\n\n\n    function addAttrInterpolateDirective(node, directives, value, name, allOrNothing) {\n      var trustedContext = getTrustedContext(node, name);\n      allOrNothing = ALL_OR_NOTHING_ATTRS[name] || allOrNothing;\n\n      var interpolateFn = $interpolate(value, true, trustedContext, allOrNothing);\n\n      // no interpolation found -> ignore\n      if (!interpolateFn) return;\n\n\n      if (name === \"multiple\" && nodeName_(node) === \"select\") {\n        throw $compileMinErr(\"selmulti\",\n            \"Binding to the 'multiple' attribute is not supported. Element: {0}\",\n            startingTag(node));\n      }\n\n      directives.push({\n        priority: 100,\n        compile: function() {\n            return {\n              pre: function attrInterpolatePreLinkFn(scope, element, attr) {\n                var $$observers = (attr.$$observers || (attr.$$observers = createMap()));\n\n                if (EVENT_HANDLER_ATTR_REGEXP.test(name)) {\n                  throw $compileMinErr('nodomevents',\n                      \"Interpolations for HTML DOM event attributes are disallowed.  Please use the \" +\n                          \"ng- versions (such as ng-click instead of onclick) instead.\");\n                }\n\n                // If the attribute has changed since last $interpolate()ed\n                var newValue = attr[name];\n                if (newValue !== value) {\n                  // we need to interpolate again since the attribute value has been updated\n                  // (e.g. by another directive's compile function)\n                  // ensure unset/empty values make interpolateFn falsy\n                  interpolateFn = newValue && $interpolate(newValue, true, trustedContext, allOrNothing);\n                  value = newValue;\n                }\n\n                // if attribute was updated so that there is no interpolation going on we don't want to\n                // register any observers\n                if (!interpolateFn) return;\n\n                // initialize attr object so that it's ready in case we need the value for isolate\n                // scope initialization, otherwise the value would not be available from isolate\n                // directive's linking fn during linking phase\n                attr[name] = interpolateFn(scope);\n\n                ($$observers[name] || ($$observers[name] = [])).$$inter = true;\n                (attr.$$observers && attr.$$observers[name].$$scope || scope).\n                  $watch(interpolateFn, function interpolateFnWatchAction(newValue, oldValue) {\n                    //special case for class attribute addition + removal\n                    //so that class changes can tap into the animation\n                    //hooks provided by the $animate service. Be sure to\n                    //skip animations when the first digest occurs (when\n                    //both the new and the old values are the same) since\n                    //the CSS classes are the non-interpolated values\n                    if (name === 'class' && newValue != oldValue) {\n                      attr.$updateClass(newValue, oldValue);\n                    } else {\n                      attr.$set(name, newValue);\n                    }\n                  });\n              }\n            };\n          }\n      });\n    }\n\n\n    /**\n     * This is a special jqLite.replaceWith, which can replace items which\n     * have no parents, provided that the containing jqLite collection is provided.\n     *\n     * @param {JqLite=} $rootElement The root of the compile tree. Used so that we can replace nodes\n     *                               in the root of the tree.\n     * @param {JqLite} elementsToRemove The jqLite element which we are going to replace. We keep\n     *                                  the shell, but replace its DOM node reference.\n     * @param {Node} newNode The new DOM node.\n     */\n    function replaceWith($rootElement, elementsToRemove, newNode) {\n      var firstElementToRemove = elementsToRemove[0],\n          removeCount = elementsToRemove.length,\n          parent = firstElementToRemove.parentNode,\n          i, ii;\n\n      if ($rootElement) {\n        for (i = 0, ii = $rootElement.length; i < ii; i++) {\n          if ($rootElement[i] == firstElementToRemove) {\n            $rootElement[i++] = newNode;\n            for (var j = i, j2 = j + removeCount - 1,\n                     jj = $rootElement.length;\n                 j < jj; j++, j2++) {\n              if (j2 < jj) {\n                $rootElement[j] = $rootElement[j2];\n              } else {\n                delete $rootElement[j];\n              }\n            }\n            $rootElement.length -= removeCount - 1;\n\n            // If the replaced element is also the jQuery .context then replace it\n            // .context is a deprecated jQuery api, so we should set it only when jQuery set it\n            // http://api.jquery.com/context/\n            if ($rootElement.context === firstElementToRemove) {\n              $rootElement.context = newNode;\n            }\n            break;\n          }\n        }\n      }\n\n      if (parent) {\n        parent.replaceChild(newNode, firstElementToRemove);\n      }\n\n      // TODO(perf): what's this document fragment for? is it needed? can we at least reuse it?\n      var fragment = document.createDocumentFragment();\n      fragment.appendChild(firstElementToRemove);\n\n      if (jqLite.hasData(firstElementToRemove)) {\n        // Copy over user data (that includes Angular's $scope etc.). Don't copy private\n        // data here because there's no public interface in jQuery to do that and copying over\n        // event listeners (which is the main use of private data) wouldn't work anyway.\n        jqLite.data(newNode, jqLite.data(firstElementToRemove));\n\n        // Remove data of the replaced element. We cannot just call .remove()\n        // on the element it since that would deallocate scope that is needed\n        // for the new node. Instead, remove the data \"manually\".\n        if (!jQuery) {\n          delete jqLite.cache[firstElementToRemove[jqLite.expando]];\n        } else {\n          // jQuery 2.x doesn't expose the data storage. Use jQuery.cleanData to clean up after\n          // the replaced element. The cleanData version monkey-patched by Angular would cause\n          // the scope to be trashed and we do need the very same scope to work with the new\n          // element. However, we cannot just cache the non-patched version and use it here as\n          // that would break if another library patches the method after Angular does (one\n          // example is jQuery UI). Instead, set a flag indicating scope destroying should be\n          // skipped this one time.\n          skipDestroyOnNextJQueryCleanData = true;\n          jQuery.cleanData([firstElementToRemove]);\n        }\n      }\n\n      for (var k = 1, kk = elementsToRemove.length; k < kk; k++) {\n        var element = elementsToRemove[k];\n        jqLite(element).remove(); // must do this way to clean up expando\n        fragment.appendChild(element);\n        delete elementsToRemove[k];\n      }\n\n      elementsToRemove[0] = newNode;\n      elementsToRemove.length = 1;\n    }\n\n\n    function cloneAndAnnotateFn(fn, annotation) {\n      return extend(function() { return fn.apply(null, arguments); }, fn, annotation);\n    }\n\n\n    function invokeLinkFn(linkFn, scope, $element, attrs, controllers, transcludeFn) {\n      try {\n        linkFn(scope, $element, attrs, controllers, transcludeFn);\n      } catch (e) {\n        $exceptionHandler(e, startingTag($element));\n      }\n    }\n\n\n    // Set up $watches for isolate scope and controller bindings. This process\n    // only occurs for isolate scopes and new scopes with controllerAs.\n    function initializeDirectiveBindings(scope, attrs, destination, bindings, directive) {\n      var removeWatchCollection = [];\n      forEach(bindings, function(definition, scopeName) {\n        var attrName = definition.attrName,\n        optional = definition.optional,\n        mode = definition.mode, // @, =, or &\n        lastValue,\n        parentGet, parentSet, compare;\n\n        switch (mode) {\n\n          case '@':\n            if (!optional && !hasOwnProperty.call(attrs, attrName)) {\n              destination[scopeName] = attrs[attrName] = void 0;\n            }\n            attrs.$observe(attrName, function(value) {\n              if (isString(value)) {\n                destination[scopeName] = value;\n              }\n            });\n            attrs.$$observers[attrName].$$scope = scope;\n            if (isString(attrs[attrName])) {\n              // If the attribute has been provided then we trigger an interpolation to ensure\n              // the value is there for use in the link fn\n              destination[scopeName] = $interpolate(attrs[attrName])(scope);\n            }\n            break;\n\n          case '=':\n            if (!hasOwnProperty.call(attrs, attrName)) {\n              if (optional) break;\n              attrs[attrName] = void 0;\n            }\n            if (optional && !attrs[attrName]) break;\n\n            parentGet = $parse(attrs[attrName]);\n            if (parentGet.literal) {\n              compare = equals;\n            } else {\n              compare = function(a, b) { return a === b || (a !== a && b !== b); };\n            }\n            parentSet = parentGet.assign || function() {\n              // reset the change, or we will throw this exception on every $digest\n              lastValue = destination[scopeName] = parentGet(scope);\n              throw $compileMinErr('nonassign',\n                  \"Expression '{0}' used with directive '{1}' is non-assignable!\",\n                  attrs[attrName], directive.name);\n            };\n            lastValue = destination[scopeName] = parentGet(scope);\n            var parentValueWatch = function parentValueWatch(parentValue) {\n              if (!compare(parentValue, destination[scopeName])) {\n                // we are out of sync and need to copy\n                if (!compare(parentValue, lastValue)) {\n                  // parent changed and it has precedence\n                  destination[scopeName] = parentValue;\n                } else {\n                  // if the parent can be assigned then do so\n                  parentSet(scope, parentValue = destination[scopeName]);\n                }\n              }\n              return lastValue = parentValue;\n            };\n            parentValueWatch.$stateful = true;\n            var removeWatch;\n            if (definition.collection) {\n              removeWatch = scope.$watchCollection(attrs[attrName], parentValueWatch);\n            } else {\n              removeWatch = scope.$watch($parse(attrs[attrName], parentValueWatch), null, parentGet.literal);\n            }\n            removeWatchCollection.push(removeWatch);\n            break;\n\n          case '&':\n            // Don't assign Object.prototype method to scope\n            parentGet = attrs.hasOwnProperty(attrName) ? $parse(attrs[attrName]) : noop;\n\n            // Don't assign noop to destination if expression is not valid\n            if (parentGet === noop && optional) break;\n\n            destination[scopeName] = function(locals) {\n              return parentGet(scope, locals);\n            };\n            break;\n        }\n      });\n\n      return removeWatchCollection.length && function removeWatches() {\n        for (var i = 0, ii = removeWatchCollection.length; i < ii; ++i) {\n          removeWatchCollection[i]();\n        }\n      };\n    }\n  }];\n}\n\nvar PREFIX_REGEXP = /^((?:x|data)[\\:\\-_])/i;\n/**\n * Converts all accepted directives format into proper directive name.\n * @param name Name to normalize\n */\nfunction directiveNormalize(name) {\n  return camelCase(name.replace(PREFIX_REGEXP, ''));\n}\n\n/**\n * @ngdoc type\n * @name $compile.directive.Attributes\n *\n * @description\n * A shared object between directive compile / linking functions which contains normalized DOM\n * element attributes. The values reflect current binding state `{{ }}`. The normalization is\n * needed since all of these are treated as equivalent in Angular:\n *\n * ```\n *    <span ng:bind=\"a\" ng-bind=\"a\" data-ng-bind=\"a\" x-ng-bind=\"a\">\n * ```\n */\n\n/**\n * @ngdoc property\n * @name $compile.directive.Attributes#$attr\n *\n * @description\n * A map of DOM element attribute names to the normalized name. This is\n * needed to do reverse lookup from normalized name back to actual name.\n */\n\n\n/**\n * @ngdoc method\n * @name $compile.directive.Attributes#$set\n * @kind function\n *\n * @description\n * Set DOM element attribute value.\n *\n *\n * @param {string} name Normalized element attribute name of the property to modify. The name is\n *          reverse-translated using the {@link ng.$compile.directive.Attributes#$attr $attr}\n *          property to the original name.\n * @param {string} value Value to set the attribute to. The value can be an interpolated string.\n */\n\n\n\n/**\n * Closure compiler type information\n */\n\nfunction nodesetLinkingFn(\n  /* angular.Scope */ scope,\n  /* NodeList */ nodeList,\n  /* Element */ rootElement,\n  /* function(Function) */ boundTranscludeFn\n) {}\n\nfunction directiveLinkingFn(\n  /* nodesetLinkingFn */ nodesetLinkingFn,\n  /* angular.Scope */ scope,\n  /* Node */ node,\n  /* Element */ rootElement,\n  /* function(Function) */ boundTranscludeFn\n) {}\n\nfunction tokenDifference(str1, str2) {\n  var values = '',\n      tokens1 = str1.split(/\\s+/),\n      tokens2 = str2.split(/\\s+/);\n\n  outer:\n  for (var i = 0; i < tokens1.length; i++) {\n    var token = tokens1[i];\n    for (var j = 0; j < tokens2.length; j++) {\n      if (token == tokens2[j]) continue outer;\n    }\n    values += (values.length > 0 ? ' ' : '') + token;\n  }\n  return values;\n}\n\nfunction removeComments(jqNodes) {\n  jqNodes = jqLite(jqNodes);\n  var i = jqNodes.length;\n\n  if (i <= 1) {\n    return jqNodes;\n  }\n\n  while (i--) {\n    var node = jqNodes[i];\n    if (node.nodeType === NODE_TYPE_COMMENT) {\n      splice.call(jqNodes, i, 1);\n    }\n  }\n  return jqNodes;\n}\n\nvar $controllerMinErr = minErr('$controller');\n\n\nvar CNTRL_REG = /^(\\S+)(\\s+as\\s+(\\w+))?$/;\nfunction identifierForController(controller, ident) {\n  if (ident && isString(ident)) return ident;\n  if (isString(controller)) {\n    var match = CNTRL_REG.exec(controller);\n    if (match) return match[3];\n  }\n}\n\n\n/**\n * @ngdoc provider\n * @name $controllerProvider\n * @description\n * The {@link ng.$controller $controller service} is used by Angular to create new\n * controllers.\n *\n * This provider allows controller registration via the\n * {@link ng.$controllerProvider#register register} method.\n */\nfunction $ControllerProvider() {\n  var controllers = {},\n      globals = false;\n\n  /**\n   * @ngdoc method\n   * @name $controllerProvider#register\n   * @param {string|Object} name Controller name, or an object map of controllers where the keys are\n   *    the names and the values are the constructors.\n   * @param {Function|Array} constructor Controller constructor fn (optionally decorated with DI\n   *    annotations in the array notation).\n   */\n  this.register = function(name, constructor) {\n    assertNotHasOwnProperty(name, 'controller');\n    if (isObject(name)) {\n      extend(controllers, name);\n    } else {\n      controllers[name] = constructor;\n    }\n  };\n\n  /**\n   * @ngdoc method\n   * @name $controllerProvider#allowGlobals\n   * @description If called, allows `$controller` to find controller constructors on `window`\n   */\n  this.allowGlobals = function() {\n    globals = true;\n  };\n\n\n  this.$get = ['$injector', '$window', function($injector, $window) {\n\n    /**\n     * @ngdoc service\n     * @name $controller\n     * @requires $injector\n     *\n     * @param {Function|string} constructor If called with a function then it's considered to be the\n     *    controller constructor function. Otherwise it's considered to be a string which is used\n     *    to retrieve the controller constructor using the following steps:\n     *\n     *    * check if a controller with given name is registered via `$controllerProvider`\n     *    * check if evaluating the string on the current scope returns a constructor\n     *    * if $controllerProvider#allowGlobals, check `window[constructor]` on the global\n     *      `window` object (not recommended)\n     *\n     *    The string can use the `controller as property` syntax, where the controller instance is published\n     *    as the specified property on the `scope`; the `scope` must be injected into `locals` param for this\n     *    to work correctly.\n     *\n     * @param {Object} locals Injection locals for Controller.\n     * @return {Object} Instance of given controller.\n     *\n     * @description\n     * `$controller` service is responsible for instantiating controllers.\n     *\n     * It's just a simple call to {@link auto.$injector $injector}, but extracted into\n     * a service, so that one can override this service with [BC version](https://gist.github.com/1649788).\n     */\n    return function(expression, locals, later, ident) {\n      // PRIVATE API:\n      //   param `later` --- indicates that the controller's constructor is invoked at a later time.\n      //                     If true, $controller will allocate the object with the correct\n      //                     prototype chain, but will not invoke the controller until a returned\n      //                     callback is invoked.\n      //   param `ident` --- An optional label which overrides the label parsed from the controller\n      //                     expression, if any.\n      var instance, match, constructor, identifier;\n      later = later === true;\n      if (ident && isString(ident)) {\n        identifier = ident;\n      }\n\n      if (isString(expression)) {\n        match = expression.match(CNTRL_REG);\n        if (!match) {\n          throw $controllerMinErr('ctrlfmt',\n            \"Badly formed controller string '{0}'. \" +\n            \"Must match `__name__ as __id__` or `__name__`.\", expression);\n        }\n        constructor = match[1],\n        identifier = identifier || match[3];\n        expression = controllers.hasOwnProperty(constructor)\n            ? controllers[constructor]\n            : getter(locals.$scope, constructor, true) ||\n                (globals ? getter($window, constructor, true) : undefined);\n\n        assertArgFn(expression, constructor, true);\n      }\n\n      if (later) {\n        // Instantiate controller later:\n        // This machinery is used to create an instance of the object before calling the\n        // controller's constructor itself.\n        //\n        // This allows properties to be added to the controller before the constructor is\n        // invoked. Primarily, this is used for isolate scope bindings in $compile.\n        //\n        // This feature is not intended for use by applications, and is thus not documented\n        // publicly.\n        // Object creation: http://jsperf.com/create-constructor/2\n        var controllerPrototype = (isArray(expression) ?\n          expression[expression.length - 1] : expression).prototype;\n        instance = Object.create(controllerPrototype || null);\n\n        if (identifier) {\n          addIdentifier(locals, identifier, instance, constructor || expression.name);\n        }\n\n        var instantiate;\n        return instantiate = extend(function() {\n          var result = $injector.invoke(expression, instance, locals, constructor);\n          if (result !== instance && (isObject(result) || isFunction(result))) {\n            instance = result;\n            if (identifier) {\n              // If result changed, re-assign controllerAs value to scope.\n              addIdentifier(locals, identifier, instance, constructor || expression.name);\n            }\n          }\n          return instance;\n        }, {\n          instance: instance,\n          identifier: identifier\n        });\n      }\n\n      instance = $injector.instantiate(expression, locals, constructor);\n\n      if (identifier) {\n        addIdentifier(locals, identifier, instance, constructor || expression.name);\n      }\n\n      return instance;\n    };\n\n    function addIdentifier(locals, identifier, instance, name) {\n      if (!(locals && isObject(locals.$scope))) {\n        throw minErr('$controller')('noscp',\n          \"Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.\",\n          name, identifier);\n      }\n\n      locals.$scope[identifier] = instance;\n    }\n  }];\n}\n\n/**\n * @ngdoc service\n * @name $document\n * @requires $window\n *\n * @description\n * A {@link angular.element jQuery or jqLite} wrapper for the browser's `window.document` object.\n *\n * @example\n   <example module=\"documentExample\">\n     <file name=\"index.html\">\n       <div ng-controller=\"ExampleController\">\n         <p>$document title: <b ng-bind=\"title\"></b></p>\n         <p>window.document title: <b ng-bind=\"windowTitle\"></b></p>\n       </div>\n     </file>\n     <file name=\"script.js\">\n       angular.module('documentExample', [])\n         .controller('ExampleController', ['$scope', '$document', function($scope, $document) {\n           $scope.title = $document[0].title;\n           $scope.windowTitle = angular.element(window.document)[0].title;\n         }]);\n     </file>\n   </example>\n */\nfunction $DocumentProvider() {\n  this.$get = ['$window', function(window) {\n    return jqLite(window.document);\n  }];\n}\n\n/**\n * @ngdoc service\n * @name $exceptionHandler\n * @requires ng.$log\n *\n * @description\n * Any uncaught exception in angular expressions is delegated to this service.\n * The default implementation simply delegates to `$log.error` which logs it into\n * the browser console.\n *\n * In unit tests, if `angular-mocks.js` is loaded, this service is overridden by\n * {@link ngMock.$exceptionHandler mock $exceptionHandler} which aids in testing.\n *\n * ## Example:\n *\n * ```js\n *   angular.module('exceptionOverride', []).factory('$exceptionHandler', function() {\n *     return function(exception, cause) {\n *       exception.message += ' (caused by \"' + cause + '\")';\n *       throw exception;\n *     };\n *   });\n * ```\n *\n * This example will override the normal action of `$exceptionHandler`, to make angular\n * exceptions fail hard when they happen, instead of just logging to the console.\n *\n * <hr />\n * Note, that code executed in event-listeners (even those registered using jqLite's `on`/`bind`\n * methods) does not delegate exceptions to the {@link ng.$exceptionHandler $exceptionHandler}\n * (unless executed during a digest).\n *\n * If you wish, you can manually delegate exceptions, e.g.\n * `try { ... } catch(e) { $exceptionHandler(e); }`\n *\n * @param {Error} exception Exception associated with the error.\n * @param {string=} cause optional information about the context in which\n *       the error was thrown.\n *\n */\nfunction $ExceptionHandlerProvider() {\n  this.$get = ['$log', function($log) {\n    return function(exception, cause) {\n      $log.error.apply($log, arguments);\n    };\n  }];\n}\n\nvar $$ForceReflowProvider = function() {\n  this.$get = ['$document', function($document) {\n    return function(domNode) {\n      //the line below will force the browser to perform a repaint so\n      //that all the animated elements within the animation frame will\n      //be properly updated and drawn on screen. This is required to\n      //ensure that the preparation animation is properly flushed so that\n      //the active state picks up from there. DO NOT REMOVE THIS LINE.\n      //DO NOT OPTIMIZE THIS LINE. THE MINIFIER WILL REMOVE IT OTHERWISE WHICH\n      //WILL RESULT IN AN UNPREDICTABLE BUG THAT IS VERY HARD TO TRACK DOWN AND\n      //WILL TAKE YEARS AWAY FROM YOUR LIFE.\n      if (domNode) {\n        if (!domNode.nodeType && domNode instanceof jqLite) {\n          domNode = domNode[0];\n        }\n      } else {\n        domNode = $document[0].body;\n      }\n      return domNode.offsetWidth + 1;\n    };\n  }];\n};\n\nvar APPLICATION_JSON = 'application/json';\nvar CONTENT_TYPE_APPLICATION_JSON = {'Content-Type': APPLICATION_JSON + ';charset=utf-8'};\nvar JSON_START = /^\\[|^\\{(?!\\{)/;\nvar JSON_ENDS = {\n  '[': /]$/,\n  '{': /}$/\n};\nvar JSON_PROTECTION_PREFIX = /^\\)\\]\\}',?\\n/;\nvar $httpMinErr = minErr('$http');\nvar $httpMinErrLegacyFn = function(method) {\n  return function() {\n    throw $httpMinErr('legacy', 'The method `{0}` on the promise returned from `$http` has been disabled.', method);\n  };\n};\n\nfunction serializeValue(v) {\n  if (isObject(v)) {\n    return isDate(v) ? v.toISOString() : toJson(v);\n  }\n  return v;\n}\n\n\nfunction $HttpParamSerializerProvider() {\n  /**\n   * @ngdoc service\n   * @name $httpParamSerializer\n   * @description\n   *\n   * Default {@link $http `$http`} params serializer that converts objects to strings\n   * according to the following rules:\n   *\n   * * `{'foo': 'bar'}` results in `foo=bar`\n   * * `{'foo': Date.now()}` results in `foo=2015-04-01T09%3A50%3A49.262Z` (`toISOString()` and encoded representation of a Date object)\n   * * `{'foo': ['bar', 'baz']}` results in `foo=bar&foo=baz` (repeated key for each array element)\n   * * `{'foo': {'bar':'baz'}}` results in `foo=%7B%22bar%22%3A%22baz%22%7D\"` (stringified and encoded representation of an object)\n   *\n   * Note that serializer will sort the request parameters alphabetically.\n   * */\n\n  this.$get = function() {\n    return function ngParamSerializer(params) {\n      if (!params) return '';\n      var parts = [];\n      forEachSorted(params, function(value, key) {\n        if (value === null || isUndefined(value)) return;\n        if (isArray(value)) {\n          forEach(value, function(v, k) {\n            parts.push(encodeUriQuery(key)  + '=' + encodeUriQuery(serializeValue(v)));\n          });\n        } else {\n          parts.push(encodeUriQuery(key) + '=' + encodeUriQuery(serializeValue(value)));\n        }\n      });\n\n      return parts.join('&');\n    };\n  };\n}\n\nfunction $HttpParamSerializerJQLikeProvider() {\n  /**\n   * @ngdoc service\n   * @name $httpParamSerializerJQLike\n   * @description\n   *\n   * Alternative {@link $http `$http`} params serializer that follows\n   * jQuery's [`param()`](http://api.jquery.com/jquery.param/) method logic.\n   * The serializer will also sort the params alphabetically.\n   *\n   * To use it for serializing `$http` request parameters, set it as the `paramSerializer` property:\n   *\n   * ```js\n   * $http({\n   *   url: myUrl,\n   *   method: 'GET',\n   *   params: myParams,\n   *   paramSerializer: '$httpParamSerializerJQLike'\n   * });\n   * ```\n   *\n   * It is also possible to set it as the default `paramSerializer` in the\n   * {@link $httpProvider#defaults `$httpProvider`}.\n   *\n   * Additionally, you can inject the serializer and use it explicitly, for example to serialize\n   * form data for submission:\n   *\n   * ```js\n   * .controller(function($http, $httpParamSerializerJQLike) {\n   *   //...\n   *\n   *   $http({\n   *     url: myUrl,\n   *     method: 'POST',\n   *     data: $httpParamSerializerJQLike(myData),\n   *     headers: {\n   *       'Content-Type': 'application/x-www-form-urlencoded'\n   *     }\n   *   });\n   *\n   * });\n   * ```\n   *\n   * */\n  this.$get = function() {\n    return function jQueryLikeParamSerializer(params) {\n      if (!params) return '';\n      var parts = [];\n      serialize(params, '', true);\n      return parts.join('&');\n\n      function serialize(toSerialize, prefix, topLevel) {\n        if (toSerialize === null || isUndefined(toSerialize)) return;\n        if (isArray(toSerialize)) {\n          forEach(toSerialize, function(value, index) {\n            serialize(value, prefix + '[' + (isObject(value) ? index : '') + ']');\n          });\n        } else if (isObject(toSerialize) && !isDate(toSerialize)) {\n          forEachSorted(toSerialize, function(value, key) {\n            serialize(value, prefix +\n                (topLevel ? '' : '[') +\n                key +\n                (topLevel ? '' : ']'));\n          });\n        } else {\n          parts.push(encodeUriQuery(prefix) + '=' + encodeUriQuery(serializeValue(toSerialize)));\n        }\n      }\n    };\n  };\n}\n\nfunction defaultHttpResponseTransform(data, headers) {\n  if (isString(data)) {\n    // Strip json vulnerability protection prefix and trim whitespace\n    var tempData = data.replace(JSON_PROTECTION_PREFIX, '').trim();\n\n    if (tempData) {\n      var contentType = headers('Content-Type');\n      if ((contentType && (contentType.indexOf(APPLICATION_JSON) === 0)) || isJsonLike(tempData)) {\n        data = fromJson(tempData);\n      }\n    }\n  }\n\n  return data;\n}\n\nfunction isJsonLike(str) {\n    var jsonStart = str.match(JSON_START);\n    return jsonStart && JSON_ENDS[jsonStart[0]].test(str);\n}\n\n/**\n * Parse headers into key value object\n *\n * @param {string} headers Raw headers as a string\n * @returns {Object} Parsed headers as key value object\n */\nfunction parseHeaders(headers) {\n  var parsed = createMap(), i;\n\n  function fillInParsed(key, val) {\n    if (key) {\n      parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n    }\n  }\n\n  if (isString(headers)) {\n    forEach(headers.split('\\n'), function(line) {\n      i = line.indexOf(':');\n      fillInParsed(lowercase(trim(line.substr(0, i))), trim(line.substr(i + 1)));\n    });\n  } else if (isObject(headers)) {\n    forEach(headers, function(headerVal, headerKey) {\n      fillInParsed(lowercase(headerKey), trim(headerVal));\n    });\n  }\n\n  return parsed;\n}\n\n\n/**\n * Returns a function that provides access to parsed headers.\n *\n * Headers are lazy parsed when first requested.\n * @see parseHeaders\n *\n * @param {(string|Object)} headers Headers to provide access to.\n * @returns {function(string=)} Returns a getter function which if called with:\n *\n *   - if called with single an argument returns a single header value or null\n *   - if called with no arguments returns an object containing all headers.\n */\nfunction headersGetter(headers) {\n  var headersObj;\n\n  return function(name) {\n    if (!headersObj) headersObj =  parseHeaders(headers);\n\n    if (name) {\n      var value = headersObj[lowercase(name)];\n      if (value === void 0) {\n        value = null;\n      }\n      return value;\n    }\n\n    return headersObj;\n  };\n}\n\n\n/**\n * Chain all given functions\n *\n * This function is used for both request and response transforming\n *\n * @param {*} data Data to transform.\n * @param {function(string=)} headers HTTP headers getter fn.\n * @param {number} status HTTP status code of the response.\n * @param {(Function|Array.<Function>)} fns Function or an array of functions.\n * @returns {*} Transformed data.\n */\nfunction transformData(data, headers, status, fns) {\n  if (isFunction(fns)) {\n    return fns(data, headers, status);\n  }\n\n  forEach(fns, function(fn) {\n    data = fn(data, headers, status);\n  });\n\n  return data;\n}\n\n\nfunction isSuccess(status) {\n  return 200 <= status && status < 300;\n}\n\n\n/**\n * @ngdoc provider\n * @name $httpProvider\n * @description\n * Use `$httpProvider` to change the default behavior of the {@link ng.$http $http} service.\n * */\nfunction $HttpProvider() {\n  /**\n   * @ngdoc property\n   * @name $httpProvider#defaults\n   * @description\n   *\n   * Object containing default values for all {@link ng.$http $http} requests.\n   *\n   * - **`defaults.cache`** - {Object} - an object built with {@link ng.$cacheFactory `$cacheFactory`}\n   * that will provide the cache for all requests who set their `cache` property to `true`.\n   * If you set the `defaults.cache = false` then only requests that specify their own custom\n   * cache object will be cached. See {@link $http#caching $http Caching} for more information.\n   *\n   * - **`defaults.xsrfCookieName`** - {string} - Name of cookie containing the XSRF token.\n   * Defaults value is `'XSRF-TOKEN'`.\n   *\n   * - **`defaults.xsrfHeaderName`** - {string} - Name of HTTP header to populate with the\n   * XSRF token. Defaults value is `'X-XSRF-TOKEN'`.\n   *\n   * - **`defaults.headers`** - {Object} - Default headers for all $http requests.\n   * Refer to {@link ng.$http#setting-http-headers $http} for documentation on\n   * setting default headers.\n   *     - **`defaults.headers.common`**\n   *     - **`defaults.headers.post`**\n   *     - **`defaults.headers.put`**\n   *     - **`defaults.headers.patch`**\n   *\n   *\n   * - **`defaults.paramSerializer`** - `{string|function(Object<string,string>):string}` - A function\n   *  used to the prepare string representation of request parameters (specified as an object).\n   *  If specified as string, it is interpreted as a function registered with the {@link auto.$injector $injector}.\n   *  Defaults to {@link ng.$httpParamSerializer $httpParamSerializer}.\n   *\n   **/\n  var defaults = this.defaults = {\n    // transform incoming response data\n    transformResponse: [defaultHttpResponseTransform],\n\n    // transform outgoing request data\n    transformRequest: [function(d) {\n      return isObject(d) && !isFile(d) && !isBlob(d) && !isFormData(d) ? toJson(d) : d;\n    }],\n\n    // default headers\n    headers: {\n      common: {\n        'Accept': 'application/json, text/plain, */*'\n      },\n      post:   shallowCopy(CONTENT_TYPE_APPLICATION_JSON),\n      put:    shallowCopy(CONTENT_TYPE_APPLICATION_JSON),\n      patch:  shallowCopy(CONTENT_TYPE_APPLICATION_JSON)\n    },\n\n    xsrfCookieName: 'XSRF-TOKEN',\n    xsrfHeaderName: 'X-XSRF-TOKEN',\n\n    paramSerializer: '$httpParamSerializer'\n  };\n\n  var useApplyAsync = false;\n  /**\n   * @ngdoc method\n   * @name $httpProvider#useApplyAsync\n   * @description\n   *\n   * Configure $http service to combine processing of multiple http responses received at around\n   * the same time via {@link ng.$rootScope.Scope#$applyAsync $rootScope.$applyAsync}. This can result in\n   * significant performance improvement for bigger applications that make many HTTP requests\n   * concurrently (common during application bootstrap).\n   *\n   * Defaults to false. If no value is specified, returns the current configured value.\n   *\n   * @param {boolean=} value If true, when requests are loaded, they will schedule a deferred\n   *    \"apply\" on the next tick, giving time for subsequent requests in a roughly ~10ms window\n   *    to load and share the same digest cycle.\n   *\n   * @returns {boolean|Object} If a value is specified, returns the $httpProvider for chaining.\n   *    otherwise, returns the current configured value.\n   **/\n  this.useApplyAsync = function(value) {\n    if (isDefined(value)) {\n      useApplyAsync = !!value;\n      return this;\n    }\n    return useApplyAsync;\n  };\n\n  var useLegacyPromise = true;\n  /**\n   * @ngdoc method\n   * @name $httpProvider#useLegacyPromiseExtensions\n   * @description\n   *\n   * Configure `$http` service to return promises without the shorthand methods `success` and `error`.\n   * This should be used to make sure that applications work without these methods.\n   *\n   * Defaults to true. If no value is specified, returns the current configured value.\n   *\n   * @param {boolean=} value If true, `$http` will return a promise with the deprecated legacy `success` and `error` methods.\n   *\n   * @returns {boolean|Object} If a value is specified, returns the $httpProvider for chaining.\n   *    otherwise, returns the current configured value.\n   **/\n  this.useLegacyPromiseExtensions = function(value) {\n    if (isDefined(value)) {\n      useLegacyPromise = !!value;\n      return this;\n    }\n    return useLegacyPromise;\n  };\n\n  /**\n   * @ngdoc property\n   * @name $httpProvider#interceptors\n   * @description\n   *\n   * Array containing service factories for all synchronous or asynchronous {@link ng.$http $http}\n   * pre-processing of request or postprocessing of responses.\n   *\n   * These service factories are ordered by request, i.e. they are applied in the same order as the\n   * array, on request, but reverse order, on response.\n   *\n   * {@link ng.$http#interceptors Interceptors detailed info}\n   **/\n  var interceptorFactories = this.interceptors = [];\n\n  this.$get = ['$httpBackend', '$$cookieReader', '$cacheFactory', '$rootScope', '$q', '$injector',\n      function($httpBackend, $$cookieReader, $cacheFactory, $rootScope, $q, $injector) {\n\n    var defaultCache = $cacheFactory('$http');\n\n    /**\n     * Make sure that default param serializer is exposed as a function\n     */\n    defaults.paramSerializer = isString(defaults.paramSerializer) ?\n      $injector.get(defaults.paramSerializer) : defaults.paramSerializer;\n\n    /**\n     * Interceptors stored in reverse order. Inner interceptors before outer interceptors.\n     * The reversal is needed so that we can build up the interception chain around the\n     * server request.\n     */\n    var reversedInterceptors = [];\n\n    forEach(interceptorFactories, function(interceptorFactory) {\n      reversedInterceptors.unshift(isString(interceptorFactory)\n          ? $injector.get(interceptorFactory) : $injector.invoke(interceptorFactory));\n    });\n\n    /**\n     * @ngdoc service\n     * @kind function\n     * @name $http\n     * @requires ng.$httpBackend\n     * @requires $cacheFactory\n     * @requires $rootScope\n     * @requires $q\n     * @requires $injector\n     *\n     * @description\n     * The `$http` service is a core Angular service that facilitates communication with the remote\n     * HTTP servers via the browser's [XMLHttpRequest](https://developer.mozilla.org/en/xmlhttprequest)\n     * object or via [JSONP](http://en.wikipedia.org/wiki/JSONP).\n     *\n     * For unit testing applications that use `$http` service, see\n     * {@link ngMock.$httpBackend $httpBackend mock}.\n     *\n     * For a higher level of abstraction, please check out the {@link ngResource.$resource\n     * $resource} service.\n     *\n     * The $http API is based on the {@link ng.$q deferred/promise APIs} exposed by\n     * the $q service. While for simple usage patterns this doesn't matter much, for advanced usage\n     * it is important to familiarize yourself with these APIs and the guarantees they provide.\n     *\n     *\n     * ## General usage\n     * The `$http` service is a function which takes a single argument — a {@link $http#usage configuration object} —\n     * that is used to generate an HTTP request and returns  a {@link ng.$q promise}.\n     *\n     * ```js\n     *   // Simple GET request example:\n     *   $http({\n     *     method: 'GET',\n     *     url: '/someUrl'\n     *   }).then(function successCallback(response) {\n     *       // this callback will be called asynchronously\n     *       // when the response is available\n     *     }, function errorCallback(response) {\n     *       // called asynchronously if an error occurs\n     *       // or server returns response with an error status.\n     *     });\n     * ```\n     *\n     * The response object has these properties:\n     *\n     *   - **data** – `{string|Object}` – The response body transformed with the transform\n     *     functions.\n     *   - **status** – `{number}` – HTTP status code of the response.\n     *   - **headers** – `{function([headerName])}` – Header getter function.\n     *   - **config** – `{Object}` – The configuration object that was used to generate the request.\n     *   - **statusText** – `{string}` – HTTP status text of the response.\n     *\n     * A response status code between 200 and 299 is considered a success status and\n     * will result in the success callback being called. Note that if the response is a redirect,\n     * XMLHttpRequest will transparently follow it, meaning that the error callback will not be\n     * called for such responses.\n     *\n     *\n     * ## Shortcut methods\n     *\n     * Shortcut methods are also available. All shortcut methods require passing in the URL, and\n     * request data must be passed in for POST/PUT requests. An optional config can be passed as the\n     * last argument.\n     *\n     * ```js\n     *   $http.get('/someUrl', config).then(successCallback, errorCallback);\n     *   $http.post('/someUrl', data, config).then(successCallback, errorCallback);\n     * ```\n     *\n     * Complete list of shortcut methods:\n     *\n     * - {@link ng.$http#get $http.get}\n     * - {@link ng.$http#head $http.head}\n     * - {@link ng.$http#post $http.post}\n     * - {@link ng.$http#put $http.put}\n     * - {@link ng.$http#delete $http.delete}\n     * - {@link ng.$http#jsonp $http.jsonp}\n     * - {@link ng.$http#patch $http.patch}\n     *\n     *\n     * ## Writing Unit Tests that use $http\n     * When unit testing (using {@link ngMock ngMock}), it is necessary to call\n     * {@link ngMock.$httpBackend#flush $httpBackend.flush()} to flush each pending\n     * request using trained responses.\n     *\n     * ```\n     * $httpBackend.expectGET(...);\n     * $http.get(...);\n     * $httpBackend.flush();\n     * ```\n     *\n     * ## Deprecation Notice\n     * <div class=\"alert alert-danger\">\n     *   The `$http` legacy promise methods `success` and `error` have been deprecated.\n     *   Use the standard `then` method instead.\n     *   If {@link $httpProvider#useLegacyPromiseExtensions `$httpProvider.useLegacyPromiseExtensions`} is set to\n     *   `false` then these methods will throw {@link $http:legacy `$http/legacy`} error.\n     * </div>\n     *\n     * ## Setting HTTP Headers\n     *\n     * The $http service will automatically add certain HTTP headers to all requests. These defaults\n     * can be fully configured by accessing the `$httpProvider.defaults.headers` configuration\n     * object, which currently contains this default configuration:\n     *\n     * - `$httpProvider.defaults.headers.common` (headers that are common for all requests):\n     *   - `Accept: application/json, text/plain, * / *`\n     * - `$httpProvider.defaults.headers.post`: (header defaults for POST requests)\n     *   - `Content-Type: application/json`\n     * - `$httpProvider.defaults.headers.put` (header defaults for PUT requests)\n     *   - `Content-Type: application/json`\n     *\n     * To add or overwrite these defaults, simply add or remove a property from these configuration\n     * objects. To add headers for an HTTP method other than POST or PUT, simply add a new object\n     * with the lowercased HTTP method name as the key, e.g.\n     * `$httpProvider.defaults.headers.get = { 'My-Header' : 'value' }`.\n     *\n     * The defaults can also be set at runtime via the `$http.defaults` object in the same\n     * fashion. For example:\n     *\n     * ```\n     * module.run(function($http) {\n     *   $http.defaults.headers.common.Authorization = 'Basic YmVlcDpib29w'\n     * });\n     * ```\n     *\n     * In addition, you can supply a `headers` property in the config object passed when\n     * calling `$http(config)`, which overrides the defaults without changing them globally.\n     *\n     * To explicitly remove a header automatically added via $httpProvider.defaults.headers on a per request basis,\n     * Use the `headers` property, setting the desired header to `undefined`. For example:\n     *\n     * ```js\n     * var req = {\n     *  method: 'POST',\n     *  url: 'http://example.com',\n     *  headers: {\n     *    'Content-Type': undefined\n     *  },\n     *  data: { test: 'test' }\n     * }\n     *\n     * $http(req).then(function(){...}, function(){...});\n     * ```\n     *\n     * ## Transforming Requests and Responses\n     *\n     * Both requests and responses can be transformed using transformation functions: `transformRequest`\n     * and `transformResponse`. These properties can be a single function that returns\n     * the transformed value (`function(data, headersGetter, status)`) or an array of such transformation functions,\n     * which allows you to `push` or `unshift` a new transformation function into the transformation chain.\n     *\n     * ### Default Transformations\n     *\n     * The `$httpProvider` provider and `$http` service expose `defaults.transformRequest` and\n     * `defaults.transformResponse` properties. If a request does not provide its own transformations\n     * then these will be applied.\n     *\n     * You can augment or replace the default transformations by modifying these properties by adding to or\n     * replacing the array.\n     *\n     * Angular provides the following default transformations:\n     *\n     * Request transformations (`$httpProvider.defaults.transformRequest` and `$http.defaults.transformRequest`):\n     *\n     * - If the `data` property of the request configuration object contains an object, serialize it\n     *   into JSON format.\n     *\n     * Response transformations (`$httpProvider.defaults.transformResponse` and `$http.defaults.transformResponse`):\n     *\n     *  - If XSRF prefix is detected, strip it (see Security Considerations section below).\n     *  - If JSON response is detected, deserialize it using a JSON parser.\n     *\n     *\n     * ### Overriding the Default Transformations Per Request\n     *\n     * If you wish override the request/response transformations only for a single request then provide\n     * `transformRequest` and/or `transformResponse` properties on the configuration object passed\n     * into `$http`.\n     *\n     * Note that if you provide these properties on the config object the default transformations will be\n     * overwritten. If you wish to augment the default transformations then you must include them in your\n     * local transformation array.\n     *\n     * The following code demonstrates adding a new response transformation to be run after the default response\n     * transformations have been run.\n     *\n     * ```js\n     * function appendTransform(defaults, transform) {\n     *\n     *   // We can't guarantee that the default transformation is an array\n     *   defaults = angular.isArray(defaults) ? defaults : [defaults];\n     *\n     *   // Append the new transformation to the defaults\n     *   return defaults.concat(transform);\n     * }\n     *\n     * $http({\n     *   url: '...',\n     *   method: 'GET',\n     *   transformResponse: appendTransform($http.defaults.transformResponse, function(value) {\n     *     return doTransform(value);\n     *   })\n     * });\n     * ```\n     *\n     *\n     * ## Caching\n     *\n     * To enable caching, set the request configuration `cache` property to `true` (to use default\n     * cache) or to a custom cache object (built with {@link ng.$cacheFactory `$cacheFactory`}).\n     * When the cache is enabled, `$http` stores the response from the server in the specified\n     * cache. The next time the same request is made, the response is served from the cache without\n     * sending a request to the server.\n     *\n     * Note that even if the response is served from cache, delivery of the data is asynchronous in\n     * the same way that real requests are.\n     *\n     * If there are multiple GET requests for the same URL that should be cached using the same\n     * cache, but the cache is not populated yet, only one request to the server will be made and\n     * the remaining requests will be fulfilled using the response from the first request.\n     *\n     * You can change the default cache to a new object (built with\n     * {@link ng.$cacheFactory `$cacheFactory`}) by updating the\n     * {@link ng.$http#defaults `$http.defaults.cache`} property. All requests who set\n     * their `cache` property to `true` will now use this cache object.\n     *\n     * If you set the default cache to `false` then only requests that specify their own custom\n     * cache object will be cached.\n     *\n     * ## Interceptors\n     *\n     * Before you start creating interceptors, be sure to understand the\n     * {@link ng.$q $q and deferred/promise APIs}.\n     *\n     * For purposes of global error handling, authentication, or any kind of synchronous or\n     * asynchronous pre-processing of request or postprocessing of responses, it is desirable to be\n     * able to intercept requests before they are handed to the server and\n     * responses before they are handed over to the application code that\n     * initiated these requests. The interceptors leverage the {@link ng.$q\n     * promise APIs} to fulfill this need for both synchronous and asynchronous pre-processing.\n     *\n     * The interceptors are service factories that are registered with the `$httpProvider` by\n     * adding them to the `$httpProvider.interceptors` array. The factory is called and\n     * injected with dependencies (if specified) and returns the interceptor.\n     *\n     * There are two kinds of interceptors (and two kinds of rejection interceptors):\n     *\n     *   * `request`: interceptors get called with a http {@link $http#usage config} object. The function is free to\n     *     modify the `config` object or create a new one. The function needs to return the `config`\n     *     object directly, or a promise containing the `config` or a new `config` object.\n     *   * `requestError`: interceptor gets called when a previous interceptor threw an error or\n     *     resolved with a rejection.\n     *   * `response`: interceptors get called with http `response` object. The function is free to\n     *     modify the `response` object or create a new one. The function needs to return the `response`\n     *     object directly, or as a promise containing the `response` or a new `response` object.\n     *   * `responseError`: interceptor gets called when a previous interceptor threw an error or\n     *     resolved with a rejection.\n     *\n     *\n     * ```js\n     *   // register the interceptor as a service\n     *   $provide.factory('myHttpInterceptor', function($q, dependency1, dependency2) {\n     *     return {\n     *       // optional method\n     *       'request': function(config) {\n     *         // do something on success\n     *         return config;\n     *       },\n     *\n     *       // optional method\n     *      'requestError': function(rejection) {\n     *         // do something on error\n     *         if (canRecover(rejection)) {\n     *           return responseOrNewPromise\n     *         }\n     *         return $q.reject(rejection);\n     *       },\n     *\n     *\n     *\n     *       // optional method\n     *       'response': function(response) {\n     *         // do something on success\n     *         return response;\n     *       },\n     *\n     *       // optional method\n     *      'responseError': function(rejection) {\n     *         // do something on error\n     *         if (canRecover(rejection)) {\n     *           return responseOrNewPromise\n     *         }\n     *         return $q.reject(rejection);\n     *       }\n     *     };\n     *   });\n     *\n     *   $httpProvider.interceptors.push('myHttpInterceptor');\n     *\n     *\n     *   // alternatively, register the interceptor via an anonymous factory\n     *   $httpProvider.interceptors.push(function($q, dependency1, dependency2) {\n     *     return {\n     *      'request': function(config) {\n     *          // same as above\n     *       },\n     *\n     *       'response': function(response) {\n     *          // same as above\n     *       }\n     *     };\n     *   });\n     * ```\n     *\n     * ## Security Considerations\n     *\n     * When designing web applications, consider security threats from:\n     *\n     * - [JSON vulnerability](http://haacked.com/archive/2008/11/20/anatomy-of-a-subtle-json-vulnerability.aspx)\n     * - [XSRF](http://en.wikipedia.org/wiki/Cross-site_request_forgery)\n     *\n     * Both server and the client must cooperate in order to eliminate these threats. Angular comes\n     * pre-configured with strategies that address these issues, but for this to work backend server\n     * cooperation is required.\n     *\n     * ### JSON Vulnerability Protection\n     *\n     * A [JSON vulnerability](http://haacked.com/archive/2008/11/20/anatomy-of-a-subtle-json-vulnerability.aspx)\n     * allows third party website to turn your JSON resource URL into\n     * [JSONP](http://en.wikipedia.org/wiki/JSONP) request under some conditions. To\n     * counter this your server can prefix all JSON requests with following string `\")]}',\\n\"`.\n     * Angular will automatically strip the prefix before processing it as JSON.\n     *\n     * For example if your server needs to return:\n     * ```js\n     * ['one','two']\n     * ```\n     *\n     * which is vulnerable to attack, your server can return:\n     * ```js\n     * )]}',\n     * ['one','two']\n     * ```\n     *\n     * Angular will strip the prefix, before processing the JSON.\n     *\n     *\n     * ### Cross Site Request Forgery (XSRF) Protection\n     *\n     * [XSRF](http://en.wikipedia.org/wiki/Cross-site_request_forgery) is a technique by which\n     * an unauthorized site can gain your user's private data. Angular provides a mechanism\n     * to counter XSRF. When performing XHR requests, the $http service reads a token from a cookie\n     * (by default, `XSRF-TOKEN`) and sets it as an HTTP header (`X-XSRF-TOKEN`). Since only\n     * JavaScript that runs on your domain could read the cookie, your server can be assured that\n     * the XHR came from JavaScript running on your domain. The header will not be set for\n     * cross-domain requests.\n     *\n     * To take advantage of this, your server needs to set a token in a JavaScript readable session\n     * cookie called `XSRF-TOKEN` on the first HTTP GET request. On subsequent XHR requests the\n     * server can verify that the cookie matches `X-XSRF-TOKEN` HTTP header, and therefore be sure\n     * that only JavaScript running on your domain could have sent the request. The token must be\n     * unique for each user and must be verifiable by the server (to prevent the JavaScript from\n     * making up its own tokens). We recommend that the token is a digest of your site's\n     * authentication cookie with a [salt](https://en.wikipedia.org/wiki/Salt_(cryptography&#41;)\n     * for added security.\n     *\n     * The name of the headers can be specified using the xsrfHeaderName and xsrfCookieName\n     * properties of either $httpProvider.defaults at config-time, $http.defaults at run-time,\n     * or the per-request config object.\n     *\n     * In order to prevent collisions in environments where multiple Angular apps share the\n     * same domain or subdomain, we recommend that each application uses unique cookie name.\n     *\n     * @param {object} config Object describing the request to be made and how it should be\n     *    processed. The object has following properties:\n     *\n     *    - **method** – `{string}` – HTTP method (e.g. 'GET', 'POST', etc)\n     *    - **url** – `{string}` – Absolute or relative URL of the resource that is being requested.\n     *    - **params** – `{Object.<string|Object>}` – Map of strings or objects which will be serialized\n     *      with the `paramSerializer` and appended as GET parameters.\n     *    - **data** – `{string|Object}` – Data to be sent as the request message data.\n     *    - **headers** – `{Object}` – Map of strings or functions which return strings representing\n     *      HTTP headers to send to the server. If the return value of a function is null, the\n     *      header will not be sent. Functions accept a config object as an argument.\n     *    - **xsrfHeaderName** – `{string}` – Name of HTTP header to populate with the XSRF token.\n     *    - **xsrfCookieName** – `{string}` – Name of cookie containing the XSRF token.\n     *    - **transformRequest** –\n     *      `{function(data, headersGetter)|Array.<function(data, headersGetter)>}` –\n     *      transform function or an array of such functions. The transform function takes the http\n     *      request body and headers and returns its transformed (typically serialized) version.\n     *      See {@link ng.$http#overriding-the-default-transformations-per-request\n     *      Overriding the Default Transformations}\n     *    - **transformResponse** –\n     *      `{function(data, headersGetter, status)|Array.<function(data, headersGetter, status)>}` –\n     *      transform function or an array of such functions. The transform function takes the http\n     *      response body, headers and status and returns its transformed (typically deserialized) version.\n     *      See {@link ng.$http#overriding-the-default-transformations-per-request\n     *      Overriding the Default TransformationjqLiks}\n     *    - **paramSerializer** - `{string|function(Object<string,string>):string}` - A function used to\n     *      prepare the string representation of request parameters (specified as an object).\n     *      If specified as string, it is interpreted as function registered with the\n     *      {@link $injector $injector}, which means you can create your own serializer\n     *      by registering it as a {@link auto.$provide#service service}.\n     *      The default serializer is the {@link $httpParamSerializer $httpParamSerializer};\n     *      alternatively, you can use the {@link $httpParamSerializerJQLike $httpParamSerializerJQLike}\n     *    - **cache** – `{boolean|Cache}` – If true, a default $http cache will be used to cache the\n     *      GET request, otherwise if a cache instance built with\n     *      {@link ng.$cacheFactory $cacheFactory}, this cache will be used for\n     *      caching.\n     *    - **timeout** – `{number|Promise}` – timeout in milliseconds, or {@link ng.$q promise}\n     *      that should abort the request when resolved.\n     *    - **withCredentials** - `{boolean}` - whether to set the `withCredentials` flag on the\n     *      XHR object. See [requests with credentials](https://developer.mozilla.org/docs/Web/HTTP/Access_control_CORS#Requests_with_credentials)\n     *      for more information.\n     *    - **responseType** - `{string}` - see\n     *      [XMLHttpRequest.responseType](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest#xmlhttprequest-responsetype).\n     *\n     * @returns {HttpPromise} Returns a {@link ng.$q `Promise}` that will be resolved to a response object\n     *                        when the request succeeds or fails.\n     *\n     *\n     * @property {Array.<Object>} pendingRequests Array of config objects for currently pending\n     *   requests. This is primarily meant to be used for debugging purposes.\n     *\n     *\n     * @example\n<example module=\"httpExample\">\n<file name=\"index.html\">\n  <div ng-controller=\"FetchController\">\n    <select ng-model=\"method\" aria-label=\"Request method\">\n      <option>GET</option>\n      <option>JSONP</option>\n    </select>\n    <input type=\"text\" ng-model=\"url\" size=\"80\" aria-label=\"URL\" />\n    <button id=\"fetchbtn\" ng-click=\"fetch()\">fetch</button><br>\n    <button id=\"samplegetbtn\" ng-click=\"updateModel('GET', 'http-hello.html')\">Sample GET</button>\n    <button id=\"samplejsonpbtn\"\n      ng-click=\"updateModel('JSONP',\n                    'https://angularjs.org/greet.php?callback=JSON_CALLBACK&name=Super%20Hero')\">\n      Sample JSONP\n    </button>\n    <button id=\"invalidjsonpbtn\"\n      ng-click=\"updateModel('JSONP', 'https://angularjs.org/doesntexist&callback=JSON_CALLBACK')\">\n        Invalid JSONP\n      </button>\n    <pre>http status code: {{status}}</pre>\n    <pre>http response data: {{data}}</pre>\n  </div>\n</file>\n<file name=\"script.js\">\n  angular.module('httpExample', [])\n    .controller('FetchController', ['$scope', '$http', '$templateCache',\n      function($scope, $http, $templateCache) {\n        $scope.method = 'GET';\n        $scope.url = 'http-hello.html';\n\n        $scope.fetch = function() {\n          $scope.code = null;\n          $scope.response = null;\n\n          $http({method: $scope.method, url: $scope.url, cache: $templateCache}).\n            then(function(response) {\n              $scope.status = response.status;\n              $scope.data = response.data;\n            }, function(response) {\n              $scope.data = response.data || \"Request failed\";\n              $scope.status = response.status;\n          });\n        };\n\n        $scope.updateModel = function(method, url) {\n          $scope.method = method;\n          $scope.url = url;\n        };\n      }]);\n</file>\n<file name=\"http-hello.html\">\n  Hello, $http!\n</file>\n<file name=\"protractor.js\" type=\"protractor\">\n  var status = element(by.binding('status'));\n  var data = element(by.binding('data'));\n  var fetchBtn = element(by.id('fetchbtn'));\n  var sampleGetBtn = element(by.id('samplegetbtn'));\n  var sampleJsonpBtn = element(by.id('samplejsonpbtn'));\n  var invalidJsonpBtn = element(by.id('invalidjsonpbtn'));\n\n  it('should make an xhr GET request', function() {\n    sampleGetBtn.click();\n    fetchBtn.click();\n    expect(status.getText()).toMatch('200');\n    expect(data.getText()).toMatch(/Hello, \\$http!/);\n  });\n\n// Commented out due to flakes. See https://github.com/angular/angular.js/issues/9185\n// it('should make a JSONP request to angularjs.org', function() {\n//   sampleJsonpBtn.click();\n//   fetchBtn.click();\n//   expect(status.getText()).toMatch('200');\n//   expect(data.getText()).toMatch(/Super Hero!/);\n// });\n\n  it('should make JSONP request to invalid URL and invoke the error handler',\n      function() {\n    invalidJsonpBtn.click();\n    fetchBtn.click();\n    expect(status.getText()).toMatch('0');\n    expect(data.getText()).toMatch('Request failed');\n  });\n</file>\n</example>\n     */\n    function $http(requestConfig) {\n\n      if (!angular.isObject(requestConfig)) {\n        throw minErr('$http')('badreq', 'Http request configuration must be an object.  Received: {0}', requestConfig);\n      }\n\n      var config = extend({\n        method: 'get',\n        transformRequest: defaults.transformRequest,\n        transformResponse: defaults.transformResponse,\n        paramSerializer: defaults.paramSerializer\n      }, requestConfig);\n\n      config.headers = mergeHeaders(requestConfig);\n      config.method = uppercase(config.method);\n      config.paramSerializer = isString(config.paramSerializer) ?\n        $injector.get(config.paramSerializer) : config.paramSerializer;\n\n      var serverRequest = function(config) {\n        var headers = config.headers;\n        var reqData = transformData(config.data, headersGetter(headers), undefined, config.transformRequest);\n\n        // strip content-type if data is undefined\n        if (isUndefined(reqData)) {\n          forEach(headers, function(value, header) {\n            if (lowercase(header) === 'content-type') {\n                delete headers[header];\n            }\n          });\n        }\n\n        if (isUndefined(config.withCredentials) && !isUndefined(defaults.withCredentials)) {\n          config.withCredentials = defaults.withCredentials;\n        }\n\n        // send request\n        return sendReq(config, reqData).then(transformResponse, transformResponse);\n      };\n\n      var chain = [serverRequest, undefined];\n      var promise = $q.when(config);\n\n      // apply interceptors\n      forEach(reversedInterceptors, function(interceptor) {\n        if (interceptor.request || interceptor.requestError) {\n          chain.unshift(interceptor.request, interceptor.requestError);\n        }\n        if (interceptor.response || interceptor.responseError) {\n          chain.push(interceptor.response, interceptor.responseError);\n        }\n      });\n\n      while (chain.length) {\n        var thenFn = chain.shift();\n        var rejectFn = chain.shift();\n\n        promise = promise.then(thenFn, rejectFn);\n      }\n\n      if (useLegacyPromise) {\n        promise.success = function(fn) {\n          assertArgFn(fn, 'fn');\n\n          promise.then(function(response) {\n            fn(response.data, response.status, response.headers, config);\n          });\n          return promise;\n        };\n\n        promise.error = function(fn) {\n          assertArgFn(fn, 'fn');\n\n          promise.then(null, function(response) {\n            fn(response.data, response.status, response.headers, config);\n          });\n          return promise;\n        };\n      } else {\n        promise.success = $httpMinErrLegacyFn('success');\n        promise.error = $httpMinErrLegacyFn('error');\n      }\n\n      return promise;\n\n      function transformResponse(response) {\n        // make a copy since the response must be cacheable\n        var resp = extend({}, response);\n        resp.data = transformData(response.data, response.headers, response.status,\n                                  config.transformResponse);\n        return (isSuccess(response.status))\n          ? resp\n          : $q.reject(resp);\n      }\n\n      function executeHeaderFns(headers, config) {\n        var headerContent, processedHeaders = {};\n\n        forEach(headers, function(headerFn, header) {\n          if (isFunction(headerFn)) {\n            headerContent = headerFn(config);\n            if (headerContent != null) {\n              processedHeaders[header] = headerContent;\n            }\n          } else {\n            processedHeaders[header] = headerFn;\n          }\n        });\n\n        return processedHeaders;\n      }\n\n      function mergeHeaders(config) {\n        var defHeaders = defaults.headers,\n            reqHeaders = extend({}, config.headers),\n            defHeaderName, lowercaseDefHeaderName, reqHeaderName;\n\n        defHeaders = extend({}, defHeaders.common, defHeaders[lowercase(config.method)]);\n\n        // using for-in instead of forEach to avoid unecessary iteration after header has been found\n        defaultHeadersIteration:\n        for (defHeaderName in defHeaders) {\n          lowercaseDefHeaderName = lowercase(defHeaderName);\n\n          for (reqHeaderName in reqHeaders) {\n            if (lowercase(reqHeaderName) === lowercaseDefHeaderName) {\n              continue defaultHeadersIteration;\n            }\n          }\n\n          reqHeaders[defHeaderName] = defHeaders[defHeaderName];\n        }\n\n        // execute if header value is a function for merged headers\n        return executeHeaderFns(reqHeaders, shallowCopy(config));\n      }\n    }\n\n    $http.pendingRequests = [];\n\n    /**\n     * @ngdoc method\n     * @name $http#get\n     *\n     * @description\n     * Shortcut method to perform `GET` request.\n     *\n     * @param {string} url Relative or absolute URL specifying the destination of the request\n     * @param {Object=} config Optional configuration object\n     * @returns {HttpPromise} Future object\n     */\n\n    /**\n     * @ngdoc method\n     * @name $http#delete\n     *\n     * @description\n     * Shortcut method to perform `DELETE` request.\n     *\n     * @param {string} url Relative or absolute URL specifying the destination of the request\n     * @param {Object=} config Optional configuration object\n     * @returns {HttpPromise} Future object\n     */\n\n    /**\n     * @ngdoc method\n     * @name $http#head\n     *\n     * @description\n     * Shortcut method to perform `HEAD` request.\n     *\n     * @param {string} url Relative or absolute URL specifying the destination of the request\n     * @param {Object=} config Optional configuration object\n     * @returns {HttpPromise} Future object\n     */\n\n    /**\n     * @ngdoc method\n     * @name $http#jsonp\n     *\n     * @description\n     * Shortcut method to perform `JSONP` request.\n     *\n     * @param {string} url Relative or absolute URL specifying the destination of the request.\n     *                     The name of the callback should be the string `JSON_CALLBACK`.\n     * @param {Object=} config Optional configuration object\n     * @returns {HttpPromise} Future object\n     */\n    createShortMethods('get', 'delete', 'head', 'jsonp');\n\n    /**\n     * @ngdoc method\n     * @name $http#post\n     *\n     * @description\n     * Shortcut method to perform `POST` request.\n     *\n     * @param {string} url Relative or absolute URL specifying the destination of the request\n     * @param {*} data Request content\n     * @param {Object=} config Optional configuration object\n     * @returns {HttpPromise} Future object\n     */\n\n    /**\n     * @ngdoc method\n     * @name $http#put\n     *\n     * @description\n     * Shortcut method to perform `PUT` request.\n     *\n     * @param {string} url Relative or absolute URL specifying the destination of the request\n     * @param {*} data Request content\n     * @param {Object=} config Optional configuration object\n     * @returns {HttpPromise} Future object\n     */\n\n     /**\n      * @ngdoc method\n      * @name $http#patch\n      *\n      * @description\n      * Shortcut method to perform `PATCH` request.\n      *\n      * @param {string} url Relative or absolute URL specifying the destination of the request\n      * @param {*} data Request content\n      * @param {Object=} config Optional configuration object\n      * @returns {HttpPromise} Future object\n      */\n    createShortMethodsWithData('post', 'put', 'patch');\n\n        /**\n         * @ngdoc property\n         * @name $http#defaults\n         *\n         * @description\n         * Runtime equivalent of the `$httpProvider.defaults` property. Allows configuration of\n         * default headers, withCredentials as well as request and response transformations.\n         *\n         * See \"Setting HTTP Headers\" and \"Transforming Requests and Responses\" sections above.\n         */\n    $http.defaults = defaults;\n\n\n    return $http;\n\n\n    function createShortMethods(names) {\n      forEach(arguments, function(name) {\n        $http[name] = function(url, config) {\n          return $http(extend({}, config || {}, {\n            method: name,\n            url: url\n          }));\n        };\n      });\n    }\n\n\n    function createShortMethodsWithData(name) {\n      forEach(arguments, function(name) {\n        $http[name] = function(url, data, config) {\n          return $http(extend({}, config || {}, {\n            method: name,\n            url: url,\n            data: data\n          }));\n        };\n      });\n    }\n\n\n    /**\n     * Makes the request.\n     *\n     * !!! ACCESSES CLOSURE VARS:\n     * $httpBackend, defaults, $log, $rootScope, defaultCache, $http.pendingRequests\n     */\n    function sendReq(config, reqData) {\n      var deferred = $q.defer(),\n          promise = deferred.promise,\n          cache,\n          cachedResp,\n          reqHeaders = config.headers,\n          url = buildUrl(config.url, config.paramSerializer(config.params));\n\n      $http.pendingRequests.push(config);\n      promise.then(removePendingReq, removePendingReq);\n\n\n      if ((config.cache || defaults.cache) && config.cache !== false &&\n          (config.method === 'GET' || config.method === 'JSONP')) {\n        cache = isObject(config.cache) ? config.cache\n              : isObject(defaults.cache) ? defaults.cache\n              : defaultCache;\n      }\n\n      if (cache) {\n        cachedResp = cache.get(url);\n        if (isDefined(cachedResp)) {\n          if (isPromiseLike(cachedResp)) {\n            // cached request has already been sent, but there is no response yet\n            cachedResp.then(resolvePromiseWithResult, resolvePromiseWithResult);\n          } else {\n            // serving from cache\n            if (isArray(cachedResp)) {\n              resolvePromise(cachedResp[1], cachedResp[0], shallowCopy(cachedResp[2]), cachedResp[3]);\n            } else {\n              resolvePromise(cachedResp, 200, {}, 'OK');\n            }\n          }\n        } else {\n          // put the promise for the non-transformed response into cache as a placeholder\n          cache.put(url, promise);\n        }\n      }\n\n\n      // if we won't have the response in cache, set the xsrf headers and\n      // send the request to the backend\n      if (isUndefined(cachedResp)) {\n        var xsrfValue = urlIsSameOrigin(config.url)\n            ? $$cookieReader()[config.xsrfCookieName || defaults.xsrfCookieName]\n            : undefined;\n        if (xsrfValue) {\n          reqHeaders[(config.xsrfHeaderName || defaults.xsrfHeaderName)] = xsrfValue;\n        }\n\n        $httpBackend(config.method, url, reqData, done, reqHeaders, config.timeout,\n            config.withCredentials, config.responseType);\n      }\n\n      return promise;\n\n\n      /**\n       * Callback registered to $httpBackend():\n       *  - caches the response if desired\n       *  - resolves the raw $http promise\n       *  - calls $apply\n       */\n      function done(status, response, headersString, statusText) {\n        if (cache) {\n          if (isSuccess(status)) {\n            cache.put(url, [status, response, parseHeaders(headersString), statusText]);\n          } else {\n            // remove promise from the cache\n            cache.remove(url);\n          }\n        }\n\n        function resolveHttpPromise() {\n          resolvePromise(response, status, headersString, statusText);\n        }\n\n        if (useApplyAsync) {\n          $rootScope.$applyAsync(resolveHttpPromise);\n        } else {\n          resolveHttpPromise();\n          if (!$rootScope.$$phase) $rootScope.$apply();\n        }\n      }\n\n\n      /**\n       * Resolves the raw $http promise.\n       */\n      function resolvePromise(response, status, headers, statusText) {\n        //status: HTTP response status code, 0, -1 (aborted by timeout / promise)\n        status = status >= -1 ? status : 0;\n\n        (isSuccess(status) ? deferred.resolve : deferred.reject)({\n          data: response,\n          status: status,\n          headers: headersGetter(headers),\n          config: config,\n          statusText: statusText\n        });\n      }\n\n      function resolvePromiseWithResult(result) {\n        resolvePromise(result.data, result.status, shallowCopy(result.headers()), result.statusText);\n      }\n\n      function removePendingReq() {\n        var idx = $http.pendingRequests.indexOf(config);\n        if (idx !== -1) $http.pendingRequests.splice(idx, 1);\n      }\n    }\n\n\n    function buildUrl(url, serializedParams) {\n      if (serializedParams.length > 0) {\n        url += ((url.indexOf('?') == -1) ? '?' : '&') + serializedParams;\n      }\n      return url;\n    }\n  }];\n}\n\n/**\n * @ngdoc service\n * @name $xhrFactory\n *\n * @description\n * Factory function used to create XMLHttpRequest objects.\n *\n * Replace or decorate this service to create your own custom XMLHttpRequest objects.\n *\n * ```\n * angular.module('myApp', [])\n * .factory('$xhrFactory', function() {\n *   return function createXhr(method, url) {\n *     return new window.XMLHttpRequest({mozSystem: true});\n *   };\n * });\n * ```\n *\n * @param {string} method HTTP method of the request (GET, POST, PUT, ..)\n * @param {string} url URL of the request.\n */\nfunction $xhrFactoryProvider() {\n  this.$get = function() {\n    return function createXhr() {\n      return new window.XMLHttpRequest();\n    };\n  };\n}\n\n/**\n * @ngdoc service\n * @name $httpBackend\n * @requires $window\n * @requires $document\n * @requires $xhrFactory\n *\n * @description\n * HTTP backend used by the {@link ng.$http service} that delegates to\n * XMLHttpRequest object or JSONP and deals with browser incompatibilities.\n *\n * You should never need to use this service directly, instead use the higher-level abstractions:\n * {@link ng.$http $http} or {@link ngResource.$resource $resource}.\n *\n * During testing this implementation is swapped with {@link ngMock.$httpBackend mock\n * $httpBackend} which can be trained with responses.\n */\nfunction $HttpBackendProvider() {\n  this.$get = ['$browser', '$window', '$document', '$xhrFactory', function($browser, $window, $document, $xhrFactory) {\n    return createHttpBackend($browser, $xhrFactory, $browser.defer, $window.angular.callbacks, $document[0]);\n  }];\n}\n\nfunction createHttpBackend($browser, createXhr, $browserDefer, callbacks, rawDocument) {\n  // TODO(vojta): fix the signature\n  return function(method, url, post, callback, headers, timeout, withCredentials, responseType) {\n    $browser.$$incOutstandingRequestCount();\n    url = url || $browser.url();\n\n    if (lowercase(method) == 'jsonp') {\n      var callbackId = '_' + (callbacks.counter++).toString(36);\n      callbacks[callbackId] = function(data) {\n        callbacks[callbackId].data = data;\n        callbacks[callbackId].called = true;\n      };\n\n      var jsonpDone = jsonpReq(url.replace('JSON_CALLBACK', 'angular.callbacks.' + callbackId),\n          callbackId, function(status, text) {\n        completeRequest(callback, status, callbacks[callbackId].data, \"\", text);\n        callbacks[callbackId] = noop;\n      });\n    } else {\n\n      var xhr = createXhr(method, url);\n\n      xhr.open(method, url, true);\n      forEach(headers, function(value, key) {\n        if (isDefined(value)) {\n            xhr.setRequestHeader(key, value);\n        }\n      });\n\n      xhr.onload = function requestLoaded() {\n        var statusText = xhr.statusText || '';\n\n        // responseText is the old-school way of retrieving response (supported by IE9)\n        // response/responseType properties were introduced in XHR Level2 spec (supported by IE10)\n        var response = ('response' in xhr) ? xhr.response : xhr.responseText;\n\n        // normalize IE9 bug (http://bugs.jquery.com/ticket/1450)\n        var status = xhr.status === 1223 ? 204 : xhr.status;\n\n        // fix status code when it is 0 (0 status is undocumented).\n        // Occurs when accessing file resources or on Android 4.1 stock browser\n        // while retrieving files from application cache.\n        if (status === 0) {\n          status = response ? 200 : urlResolve(url).protocol == 'file' ? 404 : 0;\n        }\n\n        completeRequest(callback,\n            status,\n            response,\n            xhr.getAllResponseHeaders(),\n            statusText);\n      };\n\n      var requestError = function() {\n        // The response is always empty\n        // See https://xhr.spec.whatwg.org/#request-error-steps and https://fetch.spec.whatwg.org/#concept-network-error\n        completeRequest(callback, -1, null, null, '');\n      };\n\n      xhr.onerror = requestError;\n      xhr.onabort = requestError;\n\n      if (withCredentials) {\n        xhr.withCredentials = true;\n      }\n\n      if (responseType) {\n        try {\n          xhr.responseType = responseType;\n        } catch (e) {\n          // WebKit added support for the json responseType value on 09/03/2013\n          // https://bugs.webkit.org/show_bug.cgi?id=73648. Versions of Safari prior to 7 are\n          // known to throw when setting the value \"json\" as the response type. Other older\n          // browsers implementing the responseType\n          //\n          // The json response type can be ignored if not supported, because JSON payloads are\n          // parsed on the client-side regardless.\n          if (responseType !== 'json') {\n            throw e;\n          }\n        }\n      }\n\n      xhr.send(isUndefined(post) ? null : post);\n    }\n\n    if (timeout > 0) {\n      var timeoutId = $browserDefer(timeoutRequest, timeout);\n    } else if (isPromiseLike(timeout)) {\n      timeout.then(timeoutRequest);\n    }\n\n\n    function timeoutRequest() {\n      jsonpDone && jsonpDone();\n      xhr && xhr.abort();\n    }\n\n    function completeRequest(callback, status, response, headersString, statusText) {\n      // cancel timeout and subsequent timeout promise resolution\n      if (isDefined(timeoutId)) {\n        $browserDefer.cancel(timeoutId);\n      }\n      jsonpDone = xhr = null;\n\n      callback(status, response, headersString, statusText);\n      $browser.$$completeOutstandingRequest(noop);\n    }\n  };\n\n  function jsonpReq(url, callbackId, done) {\n    // we can't use jQuery/jqLite here because jQuery does crazy stuff with script elements, e.g.:\n    // - fetches local scripts via XHR and evals them\n    // - adds and immediately removes script elements from the document\n    var script = rawDocument.createElement('script'), callback = null;\n    script.type = \"text/javascript\";\n    script.src = url;\n    script.async = true;\n\n    callback = function(event) {\n      removeEventListenerFn(script, \"load\", callback);\n      removeEventListenerFn(script, \"error\", callback);\n      rawDocument.body.removeChild(script);\n      script = null;\n      var status = -1;\n      var text = \"unknown\";\n\n      if (event) {\n        if (event.type === \"load\" && !callbacks[callbackId].called) {\n          event = { type: \"error\" };\n        }\n        text = event.type;\n        status = event.type === \"error\" ? 404 : 200;\n      }\n\n      if (done) {\n        done(status, text);\n      }\n    };\n\n    addEventListenerFn(script, \"load\", callback);\n    addEventListenerFn(script, \"error\", callback);\n    rawDocument.body.appendChild(script);\n    return callback;\n  }\n}\n\nvar $interpolateMinErr = angular.$interpolateMinErr = minErr('$interpolate');\n$interpolateMinErr.throwNoconcat = function(text) {\n  throw $interpolateMinErr('noconcat',\n      \"Error while interpolating: {0}\\nStrict Contextual Escaping disallows \" +\n      \"interpolations that concatenate multiple expressions when a trusted value is \" +\n      \"required.  See http://docs.angularjs.org/api/ng.$sce\", text);\n};\n\n$interpolateMinErr.interr = function(text, err) {\n  return $interpolateMinErr('interr', \"Can't interpolate: {0}\\n{1}\", text, err.toString());\n};\n\n/**\n * @ngdoc provider\n * @name $interpolateProvider\n *\n * @description\n *\n * Used for configuring the interpolation markup. Defaults to `{{` and `}}`.\n *\n * @example\n<example module=\"customInterpolationApp\">\n<file name=\"index.html\">\n<script>\n  var customInterpolationApp = angular.module('customInterpolationApp', []);\n\n  customInterpolationApp.config(function($interpolateProvider) {\n    $interpolateProvider.startSymbol('//');\n    $interpolateProvider.endSymbol('//');\n  });\n\n\n  customInterpolationApp.controller('DemoController', function() {\n      this.label = \"This binding is brought you by // interpolation symbols.\";\n  });\n</script>\n<div ng-app=\"App\" ng-controller=\"DemoController as demo\">\n    //demo.label//\n</div>\n</file>\n<file name=\"protractor.js\" type=\"protractor\">\n  it('should interpolate binding with custom symbols', function() {\n    expect(element(by.binding('demo.label')).getText()).toBe('This binding is brought you by // interpolation symbols.');\n  });\n</file>\n</example>\n */\nfunction $InterpolateProvider() {\n  var startSymbol = '{{';\n  var endSymbol = '}}';\n\n  /**\n   * @ngdoc method\n   * @name $interpolateProvider#startSymbol\n   * @description\n   * Symbol to denote start of expression in the interpolated string. Defaults to `{{`.\n   *\n   * @param {string=} value new value to set the starting symbol to.\n   * @returns {string|self} Returns the symbol when used as getter and self if used as setter.\n   */\n  this.startSymbol = function(value) {\n    if (value) {\n      startSymbol = value;\n      return this;\n    } else {\n      return startSymbol;\n    }\n  };\n\n  /**\n   * @ngdoc method\n   * @name $interpolateProvider#endSymbol\n   * @description\n   * Symbol to denote the end of expression in the interpolated string. Defaults to `}}`.\n   *\n   * @param {string=} value new value to set the ending symbol to.\n   * @returns {string|self} Returns the symbol when used as getter and self if used as setter.\n   */\n  this.endSymbol = function(value) {\n    if (value) {\n      endSymbol = value;\n      return this;\n    } else {\n      return endSymbol;\n    }\n  };\n\n\n  this.$get = ['$parse', '$exceptionHandler', '$sce', function($parse, $exceptionHandler, $sce) {\n    var startSymbolLength = startSymbol.length,\n        endSymbolLength = endSymbol.length,\n        escapedStartRegexp = new RegExp(startSymbol.replace(/./g, escape), 'g'),\n        escapedEndRegexp = new RegExp(endSymbol.replace(/./g, escape), 'g');\n\n    function escape(ch) {\n      return '\\\\\\\\\\\\' + ch;\n    }\n\n    function unescapeText(text) {\n      return text.replace(escapedStartRegexp, startSymbol).\n        replace(escapedEndRegexp, endSymbol);\n    }\n\n    function stringify(value) {\n      if (value == null) { // null || undefined\n        return '';\n      }\n      switch (typeof value) {\n        case 'string':\n          break;\n        case 'number':\n          value = '' + value;\n          break;\n        default:\n          value = toJson(value);\n      }\n\n      return value;\n    }\n\n    /**\n     * @ngdoc service\n     * @name $interpolate\n     * @kind function\n     *\n     * @requires $parse\n     * @requires $sce\n     *\n     * @description\n     *\n     * Compiles a string with markup into an interpolation function. This service is used by the\n     * HTML {@link ng.$compile $compile} service for data binding. See\n     * {@link ng.$interpolateProvider $interpolateProvider} for configuring the\n     * interpolation markup.\n     *\n     *\n     * ```js\n     *   var $interpolate = ...; // injected\n     *   var exp = $interpolate('Hello {{name | uppercase}}!');\n     *   expect(exp({name:'Angular'})).toEqual('Hello ANGULAR!');\n     * ```\n     *\n     * `$interpolate` takes an optional fourth argument, `allOrNothing`. If `allOrNothing` is\n     * `true`, the interpolation function will return `undefined` unless all embedded expressions\n     * evaluate to a value other than `undefined`.\n     *\n     * ```js\n     *   var $interpolate = ...; // injected\n     *   var context = {greeting: 'Hello', name: undefined };\n     *\n     *   // default \"forgiving\" mode\n     *   var exp = $interpolate('{{greeting}} {{name}}!');\n     *   expect(exp(context)).toEqual('Hello !');\n     *\n     *   // \"allOrNothing\" mode\n     *   exp = $interpolate('{{greeting}} {{name}}!', false, null, true);\n     *   expect(exp(context)).toBeUndefined();\n     *   context.name = 'Angular';\n     *   expect(exp(context)).toEqual('Hello Angular!');\n     * ```\n     *\n     * `allOrNothing` is useful for interpolating URLs. `ngSrc` and `ngSrcset` use this behavior.\n     *\n     * ####Escaped Interpolation\n     * $interpolate provides a mechanism for escaping interpolation markers. Start and end markers\n     * can be escaped by preceding each of their characters with a REVERSE SOLIDUS U+005C (backslash).\n     * It will be rendered as a regular start/end marker, and will not be interpreted as an expression\n     * or binding.\n     *\n     * This enables web-servers to prevent script injection attacks and defacing attacks, to some\n     * degree, while also enabling code examples to work without relying on the\n     * {@link ng.directive:ngNonBindable ngNonBindable} directive.\n     *\n     * **For security purposes, it is strongly encouraged that web servers escape user-supplied data,\n     * replacing angle brackets (&lt;, &gt;) with &amp;lt; and &amp;gt; respectively, and replacing all\n     * interpolation start/end markers with their escaped counterparts.**\n     *\n     * Escaped interpolation markers are only replaced with the actual interpolation markers in rendered\n     * output when the $interpolate service processes the text. So, for HTML elements interpolated\n     * by {@link ng.$compile $compile}, or otherwise interpolated with the `mustHaveExpression` parameter\n     * set to `true`, the interpolated text must contain an unescaped interpolation expression. As such,\n     * this is typically useful only when user-data is used in rendering a template from the server, or\n     * when otherwise untrusted data is used by a directive.\n     *\n     * <example>\n     *  <file name=\"index.html\">\n     *    <div ng-init=\"username='A user'\">\n     *      <p ng-init=\"apptitle='Escaping demo'\">{{apptitle}}: \\{\\{ username = \"defaced value\"; \\}\\}\n     *        </p>\n     *      <p><strong>{{username}}</strong> attempts to inject code which will deface the\n     *        application, but fails to accomplish their task, because the server has correctly\n     *        escaped the interpolation start/end markers with REVERSE SOLIDUS U+005C (backslash)\n     *        characters.</p>\n     *      <p>Instead, the result of the attempted script injection is visible, and can be removed\n     *        from the database by an administrator.</p>\n     *    </div>\n     *  </file>\n     * </example>\n     *\n     * @param {string} text The text with markup to interpolate.\n     * @param {boolean=} mustHaveExpression if set to true then the interpolation string must have\n     *    embedded expression in order to return an interpolation function. Strings with no\n     *    embedded expression will return null for the interpolation function.\n     * @param {string=} trustedContext when provided, the returned function passes the interpolated\n     *    result through {@link ng.$sce#getTrusted $sce.getTrusted(interpolatedResult,\n     *    trustedContext)} before returning it.  Refer to the {@link ng.$sce $sce} service that\n     *    provides Strict Contextual Escaping for details.\n     * @param {boolean=} allOrNothing if `true`, then the returned function returns undefined\n     *    unless all embedded expressions evaluate to a value other than `undefined`.\n     * @returns {function(context)} an interpolation function which is used to compute the\n     *    interpolated string. The function has these parameters:\n     *\n     * - `context`: evaluation context for all expressions embedded in the interpolated text\n     */\n    function $interpolate(text, mustHaveExpression, trustedContext, allOrNothing) {\n      allOrNothing = !!allOrNothing;\n      var startIndex,\n          endIndex,\n          index = 0,\n          expressions = [],\n          parseFns = [],\n          textLength = text.length,\n          exp,\n          concat = [],\n          expressionPositions = [];\n\n      while (index < textLength) {\n        if (((startIndex = text.indexOf(startSymbol, index)) != -1) &&\n             ((endIndex = text.indexOf(endSymbol, startIndex + startSymbolLength)) != -1)) {\n          if (index !== startIndex) {\n            concat.push(unescapeText(text.substring(index, startIndex)));\n          }\n          exp = text.substring(startIndex + startSymbolLength, endIndex);\n          expressions.push(exp);\n          parseFns.push($parse(exp, parseStringifyInterceptor));\n          index = endIndex + endSymbolLength;\n          expressionPositions.push(concat.length);\n          concat.push('');\n        } else {\n          // we did not find an interpolation, so we have to add the remainder to the separators array\n          if (index !== textLength) {\n            concat.push(unescapeText(text.substring(index)));\n          }\n          break;\n        }\n      }\n\n      // Concatenating expressions makes it hard to reason about whether some combination of\n      // concatenated values are unsafe to use and could easily lead to XSS.  By requiring that a\n      // single expression be used for iframe[src], object[src], etc., we ensure that the value\n      // that's used is assigned or constructed by some JS code somewhere that is more testable or\n      // make it obvious that you bound the value to some user controlled value.  This helps reduce\n      // the load when auditing for XSS issues.\n      if (trustedContext && concat.length > 1) {\n          $interpolateMinErr.throwNoconcat(text);\n      }\n\n      if (!mustHaveExpression || expressions.length) {\n        var compute = function(values) {\n          for (var i = 0, ii = expressions.length; i < ii; i++) {\n            if (allOrNothing && isUndefined(values[i])) return;\n            concat[expressionPositions[i]] = values[i];\n          }\n          return concat.join('');\n        };\n\n        var getValue = function(value) {\n          return trustedContext ?\n            $sce.getTrusted(trustedContext, value) :\n            $sce.valueOf(value);\n        };\n\n        return extend(function interpolationFn(context) {\n            var i = 0;\n            var ii = expressions.length;\n            var values = new Array(ii);\n\n            try {\n              for (; i < ii; i++) {\n                values[i] = parseFns[i](context);\n              }\n\n              return compute(values);\n            } catch (err) {\n              $exceptionHandler($interpolateMinErr.interr(text, err));\n            }\n\n          }, {\n          // all of these properties are undocumented for now\n          exp: text, //just for compatibility with regular watchers created via $watch\n          expressions: expressions,\n          $$watchDelegate: function(scope, listener) {\n            var lastValue;\n            return scope.$watchGroup(parseFns, function interpolateFnWatcher(values, oldValues) {\n              var currValue = compute(values);\n              if (isFunction(listener)) {\n                listener.call(this, currValue, values !== oldValues ? lastValue : currValue, scope);\n              }\n              lastValue = currValue;\n            });\n          }\n        });\n      }\n\n      function parseStringifyInterceptor(value) {\n        try {\n          value = getValue(value);\n          return allOrNothing && !isDefined(value) ? value : stringify(value);\n        } catch (err) {\n          $exceptionHandler($interpolateMinErr.interr(text, err));\n        }\n      }\n    }\n\n\n    /**\n     * @ngdoc method\n     * @name $interpolate#startSymbol\n     * @description\n     * Symbol to denote the start of expression in the interpolated string. Defaults to `{{`.\n     *\n     * Use {@link ng.$interpolateProvider#startSymbol `$interpolateProvider.startSymbol`} to change\n     * the symbol.\n     *\n     * @returns {string} start symbol.\n     */\n    $interpolate.startSymbol = function() {\n      return startSymbol;\n    };\n\n\n    /**\n     * @ngdoc method\n     * @name $interpolate#endSymbol\n     * @description\n     * Symbol to denote the end of expression in the interpolated string. Defaults to `}}`.\n     *\n     * Use {@link ng.$interpolateProvider#endSymbol `$interpolateProvider.endSymbol`} to change\n     * the symbol.\n     *\n     * @returns {string} end symbol.\n     */\n    $interpolate.endSymbol = function() {\n      return endSymbol;\n    };\n\n    return $interpolate;\n  }];\n}\n\nfunction $IntervalProvider() {\n  this.$get = ['$rootScope', '$window', '$q', '$$q',\n       function($rootScope,   $window,   $q,   $$q) {\n    var intervals = {};\n\n\n     /**\n      * @ngdoc service\n      * @name $interval\n      *\n      * @description\n      * Angular's wrapper for `window.setInterval`. The `fn` function is executed every `delay`\n      * milliseconds.\n      *\n      * The return value of registering an interval function is a promise. This promise will be\n      * notified upon each tick of the interval, and will be resolved after `count` iterations, or\n      * run indefinitely if `count` is not defined. The value of the notification will be the\n      * number of iterations that have run.\n      * To cancel an interval, call `$interval.cancel(promise)`.\n      *\n      * In tests you can use {@link ngMock.$interval#flush `$interval.flush(millis)`} to\n      * move forward by `millis` milliseconds and trigger any functions scheduled to run in that\n      * time.\n      *\n      * <div class=\"alert alert-warning\">\n      * **Note**: Intervals created by this service must be explicitly destroyed when you are finished\n      * with them.  In particular they are not automatically destroyed when a controller's scope or a\n      * directive's element are destroyed.\n      * You should take this into consideration and make sure to always cancel the interval at the\n      * appropriate moment.  See the example below for more details on how and when to do this.\n      * </div>\n      *\n      * @param {function()} fn A function that should be called repeatedly.\n      * @param {number} delay Number of milliseconds between each function call.\n      * @param {number=} [count=0] Number of times to repeat. If not set, or 0, will repeat\n      *   indefinitely.\n      * @param {boolean=} [invokeApply=true] If set to `false` skips model dirty checking, otherwise\n      *   will invoke `fn` within the {@link ng.$rootScope.Scope#$apply $apply} block.\n      * @param {...*=} Pass additional parameters to the executed function.\n      * @returns {promise} A promise which will be notified on each iteration.\n      *\n      * @example\n      * <example module=\"intervalExample\">\n      * <file name=\"index.html\">\n      *   <script>\n      *     angular.module('intervalExample', [])\n      *       .controller('ExampleController', ['$scope', '$interval',\n      *         function($scope, $interval) {\n      *           $scope.format = 'M/d/yy h:mm:ss a';\n      *           $scope.blood_1 = 100;\n      *           $scope.blood_2 = 120;\n      *\n      *           var stop;\n      *           $scope.fight = function() {\n      *             // Don't start a new fight if we are already fighting\n      *             if ( angular.isDefined(stop) ) return;\n      *\n      *             stop = $interval(function() {\n      *               if ($scope.blood_1 > 0 && $scope.blood_2 > 0) {\n      *                 $scope.blood_1 = $scope.blood_1 - 3;\n      *                 $scope.blood_2 = $scope.blood_2 - 4;\n      *               } else {\n      *                 $scope.stopFight();\n      *               }\n      *             }, 100);\n      *           };\n      *\n      *           $scope.stopFight = function() {\n      *             if (angular.isDefined(stop)) {\n      *               $interval.cancel(stop);\n      *               stop = undefined;\n      *             }\n      *           };\n      *\n      *           $scope.resetFight = function() {\n      *             $scope.blood_1 = 100;\n      *             $scope.blood_2 = 120;\n      *           };\n      *\n      *           $scope.$on('$destroy', function() {\n      *             // Make sure that the interval is destroyed too\n      *             $scope.stopFight();\n      *           });\n      *         }])\n      *       // Register the 'myCurrentTime' directive factory method.\n      *       // We inject $interval and dateFilter service since the factory method is DI.\n      *       .directive('myCurrentTime', ['$interval', 'dateFilter',\n      *         function($interval, dateFilter) {\n      *           // return the directive link function. (compile function not needed)\n      *           return function(scope, element, attrs) {\n      *             var format,  // date format\n      *                 stopTime; // so that we can cancel the time updates\n      *\n      *             // used to update the UI\n      *             function updateTime() {\n      *               element.text(dateFilter(new Date(), format));\n      *             }\n      *\n      *             // watch the expression, and update the UI on change.\n      *             scope.$watch(attrs.myCurrentTime, function(value) {\n      *               format = value;\n      *               updateTime();\n      *             });\n      *\n      *             stopTime = $interval(updateTime, 1000);\n      *\n      *             // listen on DOM destroy (removal) event, and cancel the next UI update\n      *             // to prevent updating time after the DOM element was removed.\n      *             element.on('$destroy', function() {\n      *               $interval.cancel(stopTime);\n      *             });\n      *           }\n      *         }]);\n      *   </script>\n      *\n      *   <div>\n      *     <div ng-controller=\"ExampleController\">\n      *       <label>Date format: <input ng-model=\"format\"></label> <hr/>\n      *       Current time is: <span my-current-time=\"format\"></span>\n      *       <hr/>\n      *       Blood 1 : <font color='red'>{{blood_1}}</font>\n      *       Blood 2 : <font color='red'>{{blood_2}}</font>\n      *       <button type=\"button\" data-ng-click=\"fight()\">Fight</button>\n      *       <button type=\"button\" data-ng-click=\"stopFight()\">StopFight</button>\n      *       <button type=\"button\" data-ng-click=\"resetFight()\">resetFight</button>\n      *     </div>\n      *   </div>\n      *\n      * </file>\n      * </example>\n      */\n    function interval(fn, delay, count, invokeApply) {\n      var hasParams = arguments.length > 4,\n          args = hasParams ? sliceArgs(arguments, 4) : [],\n          setInterval = $window.setInterval,\n          clearInterval = $window.clearInterval,\n          iteration = 0,\n          skipApply = (isDefined(invokeApply) && !invokeApply),\n          deferred = (skipApply ? $$q : $q).defer(),\n          promise = deferred.promise;\n\n      count = isDefined(count) ? count : 0;\n\n      promise.then(null, null, (!hasParams) ? fn : function() {\n        fn.apply(null, args);\n      });\n\n      promise.$$intervalId = setInterval(function tick() {\n        deferred.notify(iteration++);\n\n        if (count > 0 && iteration >= count) {\n          deferred.resolve(iteration);\n          clearInterval(promise.$$intervalId);\n          delete intervals[promise.$$intervalId];\n        }\n\n        if (!skipApply) $rootScope.$apply();\n\n      }, delay);\n\n      intervals[promise.$$intervalId] = deferred;\n\n      return promise;\n    }\n\n\n     /**\n      * @ngdoc method\n      * @name $interval#cancel\n      *\n      * @description\n      * Cancels a task associated with the `promise`.\n      *\n      * @param {Promise=} promise returned by the `$interval` function.\n      * @returns {boolean} Returns `true` if the task was successfully canceled.\n      */\n    interval.cancel = function(promise) {\n      if (promise && promise.$$intervalId in intervals) {\n        intervals[promise.$$intervalId].reject('canceled');\n        $window.clearInterval(promise.$$intervalId);\n        delete intervals[promise.$$intervalId];\n        return true;\n      }\n      return false;\n    };\n\n    return interval;\n  }];\n}\n\n/**\n * @ngdoc service\n * @name $locale\n *\n * @description\n * $locale service provides localization rules for various Angular components. As of right now the\n * only public api is:\n *\n * * `id` – `{string}` – locale id formatted as `languageId-countryId` (e.g. `en-us`)\n */\n\nvar PATH_MATCH = /^([^\\?#]*)(\\?([^#]*))?(#(.*))?$/,\n    DEFAULT_PORTS = {'http': 80, 'https': 443, 'ftp': 21};\nvar $locationMinErr = minErr('$location');\n\n\n/**\n * Encode path using encodeUriSegment, ignoring forward slashes\n *\n * @param {string} path Path to encode\n * @returns {string}\n */\nfunction encodePath(path) {\n  var segments = path.split('/'),\n      i = segments.length;\n\n  while (i--) {\n    segments[i] = encodeUriSegment(segments[i]);\n  }\n\n  return segments.join('/');\n}\n\nfunction parseAbsoluteUrl(absoluteUrl, locationObj) {\n  var parsedUrl = urlResolve(absoluteUrl);\n\n  locationObj.$$protocol = parsedUrl.protocol;\n  locationObj.$$host = parsedUrl.hostname;\n  locationObj.$$port = toInt(parsedUrl.port) || DEFAULT_PORTS[parsedUrl.protocol] || null;\n}\n\n\nfunction parseAppUrl(relativeUrl, locationObj) {\n  var prefixed = (relativeUrl.charAt(0) !== '/');\n  if (prefixed) {\n    relativeUrl = '/' + relativeUrl;\n  }\n  var match = urlResolve(relativeUrl);\n  locationObj.$$path = decodeURIComponent(prefixed && match.pathname.charAt(0) === '/' ?\n      match.pathname.substring(1) : match.pathname);\n  locationObj.$$search = parseKeyValue(match.search);\n  locationObj.$$hash = decodeURIComponent(match.hash);\n\n  // make sure path starts with '/';\n  if (locationObj.$$path && locationObj.$$path.charAt(0) != '/') {\n    locationObj.$$path = '/' + locationObj.$$path;\n  }\n}\n\n\n/**\n *\n * @param {string} begin\n * @param {string} whole\n * @returns {string} returns text from whole after begin or undefined if it does not begin with\n *                   expected string.\n */\nfunction beginsWith(begin, whole) {\n  if (whole.indexOf(begin) === 0) {\n    return whole.substr(begin.length);\n  }\n}\n\n\nfunction stripHash(url) {\n  var index = url.indexOf('#');\n  return index == -1 ? url : url.substr(0, index);\n}\n\nfunction trimEmptyHash(url) {\n  return url.replace(/(#.+)|#$/, '$1');\n}\n\n\nfunction stripFile(url) {\n  return url.substr(0, stripHash(url).lastIndexOf('/') + 1);\n}\n\n/* return the server only (scheme://host:port) */\nfunction serverBase(url) {\n  return url.substring(0, url.indexOf('/', url.indexOf('//') + 2));\n}\n\n\n/**\n * LocationHtml5Url represents an url\n * This object is exposed as $location service when HTML5 mode is enabled and supported\n *\n * @constructor\n * @param {string} appBase application base URL\n * @param {string} appBaseNoFile application base URL stripped of any filename\n * @param {string} basePrefix url path prefix\n */\nfunction LocationHtml5Url(appBase, appBaseNoFile, basePrefix) {\n  this.$$html5 = true;\n  basePrefix = basePrefix || '';\n  parseAbsoluteUrl(appBase, this);\n\n\n  /**\n   * Parse given html5 (regular) url string into properties\n   * @param {string} url HTML5 url\n   * @private\n   */\n  this.$$parse = function(url) {\n    var pathUrl = beginsWith(appBaseNoFile, url);\n    if (!isString(pathUrl)) {\n      throw $locationMinErr('ipthprfx', 'Invalid url \"{0}\", missing path prefix \"{1}\".', url,\n          appBaseNoFile);\n    }\n\n    parseAppUrl(pathUrl, this);\n\n    if (!this.$$path) {\n      this.$$path = '/';\n    }\n\n    this.$$compose();\n  };\n\n  /**\n   * Compose url and update `absUrl` property\n   * @private\n   */\n  this.$$compose = function() {\n    var search = toKeyValue(this.$$search),\n        hash = this.$$hash ? '#' + encodeUriSegment(this.$$hash) : '';\n\n    this.$$url = encodePath(this.$$path) + (search ? '?' + search : '') + hash;\n    this.$$absUrl = appBaseNoFile + this.$$url.substr(1); // first char is always '/'\n  };\n\n  this.$$parseLinkUrl = function(url, relHref) {\n    if (relHref && relHref[0] === '#') {\n      // special case for links to hash fragments:\n      // keep the old url and only replace the hash fragment\n      this.hash(relHref.slice(1));\n      return true;\n    }\n    var appUrl, prevAppUrl;\n    var rewrittenUrl;\n\n    if (isDefined(appUrl = beginsWith(appBase, url))) {\n      prevAppUrl = appUrl;\n      if (isDefined(appUrl = beginsWith(basePrefix, appUrl))) {\n        rewrittenUrl = appBaseNoFile + (beginsWith('/', appUrl) || appUrl);\n      } else {\n        rewrittenUrl = appBase + prevAppUrl;\n      }\n    } else if (isDefined(appUrl = beginsWith(appBaseNoFile, url))) {\n      rewrittenUrl = appBaseNoFile + appUrl;\n    } else if (appBaseNoFile == url + '/') {\n      rewrittenUrl = appBaseNoFile;\n    }\n    if (rewrittenUrl) {\n      this.$$parse(rewrittenUrl);\n    }\n    return !!rewrittenUrl;\n  };\n}\n\n\n/**\n * LocationHashbangUrl represents url\n * This object is exposed as $location service when developer doesn't opt into html5 mode.\n * It also serves as the base class for html5 mode fallback on legacy browsers.\n *\n * @constructor\n * @param {string} appBase application base URL\n * @param {string} appBaseNoFile application base URL stripped of any filename\n * @param {string} hashPrefix hashbang prefix\n */\nfunction LocationHashbangUrl(appBase, appBaseNoFile, hashPrefix) {\n\n  parseAbsoluteUrl(appBase, this);\n\n\n  /**\n   * Parse given hashbang url into properties\n   * @param {string} url Hashbang url\n   * @private\n   */\n  this.$$parse = function(url) {\n    var withoutBaseUrl = beginsWith(appBase, url) || beginsWith(appBaseNoFile, url);\n    var withoutHashUrl;\n\n    if (!isUndefined(withoutBaseUrl) && withoutBaseUrl.charAt(0) === '#') {\n\n      // The rest of the url starts with a hash so we have\n      // got either a hashbang path or a plain hash fragment\n      withoutHashUrl = beginsWith(hashPrefix, withoutBaseUrl);\n      if (isUndefined(withoutHashUrl)) {\n        // There was no hashbang prefix so we just have a hash fragment\n        withoutHashUrl = withoutBaseUrl;\n      }\n\n    } else {\n      // There was no hashbang path nor hash fragment:\n      // If we are in HTML5 mode we use what is left as the path;\n      // Otherwise we ignore what is left\n      if (this.$$html5) {\n        withoutHashUrl = withoutBaseUrl;\n      } else {\n        withoutHashUrl = '';\n        if (isUndefined(withoutBaseUrl)) {\n          appBase = url;\n          this.replace();\n        }\n      }\n    }\n\n    parseAppUrl(withoutHashUrl, this);\n\n    this.$$path = removeWindowsDriveName(this.$$path, withoutHashUrl, appBase);\n\n    this.$$compose();\n\n    /*\n     * In Windows, on an anchor node on documents loaded from\n     * the filesystem, the browser will return a pathname\n     * prefixed with the drive name ('/C:/path') when a\n     * pathname without a drive is set:\n     *  * a.setAttribute('href', '/foo')\n     *   * a.pathname === '/C:/foo' //true\n     *\n     * Inside of Angular, we're always using pathnames that\n     * do not include drive names for routing.\n     */\n    function removeWindowsDriveName(path, url, base) {\n      /*\n      Matches paths for file protocol on windows,\n      such as /C:/foo/bar, and captures only /foo/bar.\n      */\n      var windowsFilePathExp = /^\\/[A-Z]:(\\/.*)/;\n\n      var firstPathSegmentMatch;\n\n      //Get the relative path from the input URL.\n      if (url.indexOf(base) === 0) {\n        url = url.replace(base, '');\n      }\n\n      // The input URL intentionally contains a first path segment that ends with a colon.\n      if (windowsFilePathExp.exec(url)) {\n        return path;\n      }\n\n      firstPathSegmentMatch = windowsFilePathExp.exec(path);\n      return firstPathSegmentMatch ? firstPathSegmentMatch[1] : path;\n    }\n  };\n\n  /**\n   * Compose hashbang url and update `absUrl` property\n   * @private\n   */\n  this.$$compose = function() {\n    var search = toKeyValue(this.$$search),\n        hash = this.$$hash ? '#' + encodeUriSegment(this.$$hash) : '';\n\n    this.$$url = encodePath(this.$$path) + (search ? '?' + search : '') + hash;\n    this.$$absUrl = appBase + (this.$$url ? hashPrefix + this.$$url : '');\n  };\n\n  this.$$parseLinkUrl = function(url, relHref) {\n    if (stripHash(appBase) == stripHash(url)) {\n      this.$$parse(url);\n      return true;\n    }\n    return false;\n  };\n}\n\n\n/**\n * LocationHashbangUrl represents url\n * This object is exposed as $location service when html5 history api is enabled but the browser\n * does not support it.\n *\n * @constructor\n * @param {string} appBase application base URL\n * @param {string} appBaseNoFile application base URL stripped of any filename\n * @param {string} hashPrefix hashbang prefix\n */\nfunction LocationHashbangInHtml5Url(appBase, appBaseNoFile, hashPrefix) {\n  this.$$html5 = true;\n  LocationHashbangUrl.apply(this, arguments);\n\n  this.$$parseLinkUrl = function(url, relHref) {\n    if (relHref && relHref[0] === '#') {\n      // special case for links to hash fragments:\n      // keep the old url and only replace the hash fragment\n      this.hash(relHref.slice(1));\n      return true;\n    }\n\n    var rewrittenUrl;\n    var appUrl;\n\n    if (appBase == stripHash(url)) {\n      rewrittenUrl = url;\n    } else if ((appUrl = beginsWith(appBaseNoFile, url))) {\n      rewrittenUrl = appBase + hashPrefix + appUrl;\n    } else if (appBaseNoFile === url + '/') {\n      rewrittenUrl = appBaseNoFile;\n    }\n    if (rewrittenUrl) {\n      this.$$parse(rewrittenUrl);\n    }\n    return !!rewrittenUrl;\n  };\n\n  this.$$compose = function() {\n    var search = toKeyValue(this.$$search),\n        hash = this.$$hash ? '#' + encodeUriSegment(this.$$hash) : '';\n\n    this.$$url = encodePath(this.$$path) + (search ? '?' + search : '') + hash;\n    // include hashPrefix in $$absUrl when $$url is empty so IE9 does not reload page because of removal of '#'\n    this.$$absUrl = appBase + hashPrefix + this.$$url;\n  };\n\n}\n\n\nvar locationPrototype = {\n\n  /**\n   * Are we in html5 mode?\n   * @private\n   */\n  $$html5: false,\n\n  /**\n   * Has any change been replacing?\n   * @private\n   */\n  $$replace: false,\n\n  /**\n   * @ngdoc method\n   * @name $location#absUrl\n   *\n   * @description\n   * This method is getter only.\n   *\n   * Return full url representation with all segments encoded according to rules specified in\n   * [RFC 3986](http://www.ietf.org/rfc/rfc3986.txt).\n   *\n   *\n   * ```js\n   * // given url http://example.com/#/some/path?foo=bar&baz=xoxo\n   * var absUrl = $location.absUrl();\n   * // => \"http://example.com/#/some/path?foo=bar&baz=xoxo\"\n   * ```\n   *\n   * @return {string} full url\n   */\n  absUrl: locationGetter('$$absUrl'),\n\n  /**\n   * @ngdoc method\n   * @name $location#url\n   *\n   * @description\n   * This method is getter / setter.\n   *\n   * Return url (e.g. `/path?a=b#hash`) when called without any parameter.\n   *\n   * Change path, search and hash, when called with parameter and return `$location`.\n   *\n   *\n   * ```js\n   * // given url http://example.com/#/some/path?foo=bar&baz=xoxo\n   * var url = $location.url();\n   * // => \"/some/path?foo=bar&baz=xoxo\"\n   * ```\n   *\n   * @param {string=} url New url without base prefix (e.g. `/path?a=b#hash`)\n   * @return {string} url\n   */\n  url: function(url) {\n    if (isUndefined(url)) {\n      return this.$$url;\n    }\n\n    var match = PATH_MATCH.exec(url);\n    if (match[1] || url === '') this.path(decodeURIComponent(match[1]));\n    if (match[2] || match[1] || url === '') this.search(match[3] || '');\n    this.hash(match[5] || '');\n\n    return this;\n  },\n\n  /**\n   * @ngdoc method\n   * @name $location#protocol\n   *\n   * @description\n   * This method is getter only.\n   *\n   * Return protocol of current url.\n   *\n   *\n   * ```js\n   * // given url http://example.com/#/some/path?foo=bar&baz=xoxo\n   * var protocol = $location.protocol();\n   * // => \"http\"\n   * ```\n   *\n   * @return {string} protocol of current url\n   */\n  protocol: locationGetter('$$protocol'),\n\n  /**\n   * @ngdoc method\n   * @name $location#host\n   *\n   * @description\n   * This method is getter only.\n   *\n   * Return host of current url.\n   *\n   * Note: compared to the non-angular version `location.host` which returns `hostname:port`, this returns the `hostname` portion only.\n   *\n   *\n   * ```js\n   * // given url http://example.com/#/some/path?foo=bar&baz=xoxo\n   * var host = $location.host();\n   * // => \"example.com\"\n   *\n   * // given url http://user:password@example.com:8080/#/some/path?foo=bar&baz=xoxo\n   * host = $location.host();\n   * // => \"example.com\"\n   * host = location.host;\n   * // => \"example.com:8080\"\n   * ```\n   *\n   * @return {string} host of current url.\n   */\n  host: locationGetter('$$host'),\n\n  /**\n   * @ngdoc method\n   * @name $location#port\n   *\n   * @description\n   * This method is getter only.\n   *\n   * Return port of current url.\n   *\n   *\n   * ```js\n   * // given url http://example.com/#/some/path?foo=bar&baz=xoxo\n   * var port = $location.port();\n   * // => 80\n   * ```\n   *\n   * @return {Number} port\n   */\n  port: locationGetter('$$port'),\n\n  /**\n   * @ngdoc method\n   * @name $location#path\n   *\n   * @description\n   * This method is getter / setter.\n   *\n   * Return path of current url when called without any parameter.\n   *\n   * Change path when called with parameter and return `$location`.\n   *\n   * Note: Path should always begin with forward slash (/), this method will add the forward slash\n   * if it is missing.\n   *\n   *\n   * ```js\n   * // given url http://example.com/#/some/path?foo=bar&baz=xoxo\n   * var path = $location.path();\n   * // => \"/some/path\"\n   * ```\n   *\n   * @param {(string|number)=} path New path\n   * @return {string} path\n   */\n  path: locationGetterSetter('$$path', function(path) {\n    path = path !== null ? path.toString() : '';\n    return path.charAt(0) == '/' ? path : '/' + path;\n  }),\n\n  /**\n   * @ngdoc method\n   * @name $location#search\n   *\n   * @description\n   * This method is getter / setter.\n   *\n   * Return search part (as object) of current url when called without any parameter.\n   *\n   * Change search part when called with parameter and return `$location`.\n   *\n   *\n   * ```js\n   * // given url http://example.com/#/some/path?foo=bar&baz=xoxo\n   * var searchObject = $location.search();\n   * // => {foo: 'bar', baz: 'xoxo'}\n   *\n   * // set foo to 'yipee'\n   * $location.search('foo', 'yipee');\n   * // $location.search() => {foo: 'yipee', baz: 'xoxo'}\n   * ```\n   *\n   * @param {string|Object.<string>|Object.<Array.<string>>} search New search params - string or\n   * hash object.\n   *\n   * When called with a single argument the method acts as a setter, setting the `search` component\n   * of `$location` to the specified value.\n   *\n   * If the argument is a hash object containing an array of values, these values will be encoded\n   * as duplicate search parameters in the url.\n   *\n   * @param {(string|Number|Array<string>|boolean)=} paramValue If `search` is a string or number, then `paramValue`\n   * will override only a single search property.\n   *\n   * If `paramValue` is an array, it will override the property of the `search` component of\n   * `$location` specified via the first argument.\n   *\n   * If `paramValue` is `null`, the property specified via the first argument will be deleted.\n   *\n   * If `paramValue` is `true`, the property specified via the first argument will be added with no\n   * value nor trailing equal sign.\n   *\n   * @return {Object} If called with no arguments returns the parsed `search` object. If called with\n   * one or more arguments returns `$location` object itself.\n   */\n  search: function(search, paramValue) {\n    switch (arguments.length) {\n      case 0:\n        return this.$$search;\n      case 1:\n        if (isString(search) || isNumber(search)) {\n          search = search.toString();\n          this.$$search = parseKeyValue(search);\n        } else if (isObject(search)) {\n          search = copy(search, {});\n          // remove object undefined or null properties\n          forEach(search, function(value, key) {\n            if (value == null) delete search[key];\n          });\n\n          this.$$search = search;\n        } else {\n          throw $locationMinErr('isrcharg',\n              'The first argument of the `$location#search()` call must be a string or an object.');\n        }\n        break;\n      default:\n        if (isUndefined(paramValue) || paramValue === null) {\n          delete this.$$search[search];\n        } else {\n          this.$$search[search] = paramValue;\n        }\n    }\n\n    this.$$compose();\n    return this;\n  },\n\n  /**\n   * @ngdoc method\n   * @name $location#hash\n   *\n   * @description\n   * This method is getter / setter.\n   *\n   * Returns the hash fragment when called without any parameters.\n   *\n   * Changes the hash fragment when called with a parameter and returns `$location`.\n   *\n   *\n   * ```js\n   * // given url http://example.com/#/some/path?foo=bar&baz=xoxo#hashValue\n   * var hash = $location.hash();\n   * // => \"hashValue\"\n   * ```\n   *\n   * @param {(string|number)=} hash New hash fragment\n   * @return {string} hash\n   */\n  hash: locationGetterSetter('$$hash', function(hash) {\n    return hash !== null ? hash.toString() : '';\n  }),\n\n  /**\n   * @ngdoc method\n   * @name $location#replace\n   *\n   * @description\n   * If called, all changes to $location during the current `$digest` will replace the current history\n   * record, instead of adding a new one.\n   */\n  replace: function() {\n    this.$$replace = true;\n    return this;\n  }\n};\n\nforEach([LocationHashbangInHtml5Url, LocationHashbangUrl, LocationHtml5Url], function(Location) {\n  Location.prototype = Object.create(locationPrototype);\n\n  /**\n   * @ngdoc method\n   * @name $location#state\n   *\n   * @description\n   * This method is getter / setter.\n   *\n   * Return the history state object when called without any parameter.\n   *\n   * Change the history state object when called with one parameter and return `$location`.\n   * The state object is later passed to `pushState` or `replaceState`.\n   *\n   * NOTE: This method is supported only in HTML5 mode and only in browsers supporting\n   * the HTML5 History API (i.e. methods `pushState` and `replaceState`). If you need to support\n   * older browsers (like IE9 or Android < 4.0), don't use this method.\n   *\n   * @param {object=} state State object for pushState or replaceState\n   * @return {object} state\n   */\n  Location.prototype.state = function(state) {\n    if (!arguments.length) {\n      return this.$$state;\n    }\n\n    if (Location !== LocationHtml5Url || !this.$$html5) {\n      throw $locationMinErr('nostate', 'History API state support is available only ' +\n        'in HTML5 mode and only in browsers supporting HTML5 History API');\n    }\n    // The user might modify `stateObject` after invoking `$location.state(stateObject)`\n    // but we're changing the $$state reference to $browser.state() during the $digest\n    // so the modification window is narrow.\n    this.$$state = isUndefined(state) ? null : state;\n\n    return this;\n  };\n});\n\n\nfunction locationGetter(property) {\n  return function() {\n    return this[property];\n  };\n}\n\n\nfunction locationGetterSetter(property, preprocess) {\n  return function(value) {\n    if (isUndefined(value)) {\n      return this[property];\n    }\n\n    this[property] = preprocess(value);\n    this.$$compose();\n\n    return this;\n  };\n}\n\n\n/**\n * @ngdoc service\n * @name $location\n *\n * @requires $rootElement\n *\n * @description\n * The $location service parses the URL in the browser address bar (based on the\n * [window.location](https://developer.mozilla.org/en/window.location)) and makes the URL\n * available to your application. Changes to the URL in the address bar are reflected into\n * $location service and changes to $location are reflected into the browser address bar.\n *\n * **The $location service:**\n *\n * - Exposes the current URL in the browser address bar, so you can\n *   - Watch and observe the URL.\n *   - Change the URL.\n * - Synchronizes the URL with the browser when the user\n *   - Changes the address bar.\n *   - Clicks the back or forward button (or clicks a History link).\n *   - Clicks on a link.\n * - Represents the URL object as a set of methods (protocol, host, port, path, search, hash).\n *\n * For more information see {@link guide/$location Developer Guide: Using $location}\n */\n\n/**\n * @ngdoc provider\n * @name $locationProvider\n * @description\n * Use the `$locationProvider` to configure how the application deep linking paths are stored.\n */\nfunction $LocationProvider() {\n  var hashPrefix = '',\n      html5Mode = {\n        enabled: false,\n        requireBase: true,\n        rewriteLinks: true\n      };\n\n  /**\n   * @ngdoc method\n   * @name $locationProvider#hashPrefix\n   * @description\n   * @param {string=} prefix Prefix for hash part (containing path and search)\n   * @returns {*} current value if used as getter or itself (chaining) if used as setter\n   */\n  this.hashPrefix = function(prefix) {\n    if (isDefined(prefix)) {\n      hashPrefix = prefix;\n      return this;\n    } else {\n      return hashPrefix;\n    }\n  };\n\n  /**\n   * @ngdoc method\n   * @name $locationProvider#html5Mode\n   * @description\n   * @param {(boolean|Object)=} mode If boolean, sets `html5Mode.enabled` to value.\n   *   If object, sets `enabled`, `requireBase` and `rewriteLinks` to respective values. Supported\n   *   properties:\n   *   - **enabled** – `{boolean}` – (default: false) If true, will rely on `history.pushState` to\n   *     change urls where supported. Will fall back to hash-prefixed paths in browsers that do not\n   *     support `pushState`.\n   *   - **requireBase** - `{boolean}` - (default: `true`) When html5Mode is enabled, specifies\n   *     whether or not a <base> tag is required to be present. If `enabled` and `requireBase` are\n   *     true, and a base tag is not present, an error will be thrown when `$location` is injected.\n   *     See the {@link guide/$location $location guide for more information}\n   *   - **rewriteLinks** - `{boolean}` - (default: `true`) When html5Mode is enabled,\n   *     enables/disables url rewriting for relative links.\n   *\n   * @returns {Object} html5Mode object if used as getter or itself (chaining) if used as setter\n   */\n  this.html5Mode = function(mode) {\n    if (isBoolean(mode)) {\n      html5Mode.enabled = mode;\n      return this;\n    } else if (isObject(mode)) {\n\n      if (isBoolean(mode.enabled)) {\n        html5Mode.enabled = mode.enabled;\n      }\n\n      if (isBoolean(mode.requireBase)) {\n        html5Mode.requireBase = mode.requireBase;\n      }\n\n      if (isBoolean(mode.rewriteLinks)) {\n        html5Mode.rewriteLinks = mode.rewriteLinks;\n      }\n\n      return this;\n    } else {\n      return html5Mode;\n    }\n  };\n\n  /**\n   * @ngdoc event\n   * @name $location#$locationChangeStart\n   * @eventType broadcast on root scope\n   * @description\n   * Broadcasted before a URL will change.\n   *\n   * This change can be prevented by calling\n   * `preventDefault` method of the event. See {@link ng.$rootScope.Scope#$on} for more\n   * details about event object. Upon successful change\n   * {@link ng.$location#$locationChangeSuccess $locationChangeSuccess} is fired.\n   *\n   * The `newState` and `oldState` parameters may be defined only in HTML5 mode and when\n   * the browser supports the HTML5 History API.\n   *\n   * @param {Object} angularEvent Synthetic event object.\n   * @param {string} newUrl New URL\n   * @param {string=} oldUrl URL that was before it was changed.\n   * @param {string=} newState New history state object\n   * @param {string=} oldState History state object that was before it was changed.\n   */\n\n  /**\n   * @ngdoc event\n   * @name $location#$locationChangeSuccess\n   * @eventType broadcast on root scope\n   * @description\n   * Broadcasted after a URL was changed.\n   *\n   * The `newState` and `oldState` parameters may be defined only in HTML5 mode and when\n   * the browser supports the HTML5 History API.\n   *\n   * @param {Object} angularEvent Synthetic event object.\n   * @param {string} newUrl New URL\n   * @param {string=} oldUrl URL that was before it was changed.\n   * @param {string=} newState New history state object\n   * @param {string=} oldState History state object that was before it was changed.\n   */\n\n  this.$get = ['$rootScope', '$browser', '$sniffer', '$rootElement', '$window',\n      function($rootScope, $browser, $sniffer, $rootElement, $window) {\n    var $location,\n        LocationMode,\n        baseHref = $browser.baseHref(), // if base[href] is undefined, it defaults to ''\n        initialUrl = $browser.url(),\n        appBase;\n\n    if (html5Mode.enabled) {\n      if (!baseHref && html5Mode.requireBase) {\n        throw $locationMinErr('nobase',\n          \"$location in HTML5 mode requires a <base> tag to be present!\");\n      }\n      appBase = serverBase(initialUrl) + (baseHref || '/');\n      LocationMode = $sniffer.history ? LocationHtml5Url : LocationHashbangInHtml5Url;\n    } else {\n      appBase = stripHash(initialUrl);\n      LocationMode = LocationHashbangUrl;\n    }\n    var appBaseNoFile = stripFile(appBase);\n\n    $location = new LocationMode(appBase, appBaseNoFile, '#' + hashPrefix);\n    $location.$$parseLinkUrl(initialUrl, initialUrl);\n\n    $location.$$state = $browser.state();\n\n    var IGNORE_URI_REGEXP = /^\\s*(javascript|mailto):/i;\n\n    function setBrowserUrlWithFallback(url, replace, state) {\n      var oldUrl = $location.url();\n      var oldState = $location.$$state;\n      try {\n        $browser.url(url, replace, state);\n\n        // Make sure $location.state() returns referentially identical (not just deeply equal)\n        // state object; this makes possible quick checking if the state changed in the digest\n        // loop. Checking deep equality would be too expensive.\n        $location.$$state = $browser.state();\n      } catch (e) {\n        // Restore old values if pushState fails\n        $location.url(oldUrl);\n        $location.$$state = oldState;\n\n        throw e;\n      }\n    }\n\n    $rootElement.on('click', function(event) {\n      // TODO(vojta): rewrite link when opening in new tab/window (in legacy browser)\n      // currently we open nice url link and redirect then\n\n      if (!html5Mode.rewriteLinks || event.ctrlKey || event.metaKey || event.shiftKey || event.which == 2 || event.button == 2) return;\n\n      var elm = jqLite(event.target);\n\n      // traverse the DOM up to find first A tag\n      while (nodeName_(elm[0]) !== 'a') {\n        // ignore rewriting if no A tag (reached root element, or no parent - removed from document)\n        if (elm[0] === $rootElement[0] || !(elm = elm.parent())[0]) return;\n      }\n\n      var absHref = elm.prop('href');\n      // get the actual href attribute - see\n      // http://msdn.microsoft.com/en-us/library/ie/dd347148(v=vs.85).aspx\n      var relHref = elm.attr('href') || elm.attr('xlink:href');\n\n      if (isObject(absHref) && absHref.toString() === '[object SVGAnimatedString]') {\n        // SVGAnimatedString.animVal should be identical to SVGAnimatedString.baseVal, unless during\n        // an animation.\n        absHref = urlResolve(absHref.animVal).href;\n      }\n\n      // Ignore when url is started with javascript: or mailto:\n      if (IGNORE_URI_REGEXP.test(absHref)) return;\n\n      if (absHref && !elm.attr('target') && !event.isDefaultPrevented()) {\n        if ($location.$$parseLinkUrl(absHref, relHref)) {\n          // We do a preventDefault for all urls that are part of the angular application,\n          // in html5mode and also without, so that we are able to abort navigation without\n          // getting double entries in the location history.\n          event.preventDefault();\n          // update location manually\n          if ($location.absUrl() != $browser.url()) {\n            $rootScope.$apply();\n            // hack to work around FF6 bug 684208 when scenario runner clicks on links\n            $window.angular['ff-684208-preventDefault'] = true;\n          }\n        }\n      }\n    });\n\n\n    // rewrite hashbang url <> html5 url\n    if (trimEmptyHash($location.absUrl()) != trimEmptyHash(initialUrl)) {\n      $browser.url($location.absUrl(), true);\n    }\n\n    var initializing = true;\n\n    // update $location when $browser url changes\n    $browser.onUrlChange(function(newUrl, newState) {\n\n      if (isUndefined(beginsWith(appBaseNoFile, newUrl))) {\n        // If we are navigating outside of the app then force a reload\n        $window.location.href = newUrl;\n        return;\n      }\n\n      $rootScope.$evalAsync(function() {\n        var oldUrl = $location.absUrl();\n        var oldState = $location.$$state;\n        var defaultPrevented;\n        newUrl = trimEmptyHash(newUrl);\n        $location.$$parse(newUrl);\n        $location.$$state = newState;\n\n        defaultPrevented = $rootScope.$broadcast('$locationChangeStart', newUrl, oldUrl,\n            newState, oldState).defaultPrevented;\n\n        // if the location was changed by a `$locationChangeStart` handler then stop\n        // processing this location change\n        if ($location.absUrl() !== newUrl) return;\n\n        if (defaultPrevented) {\n          $location.$$parse(oldUrl);\n          $location.$$state = oldState;\n          setBrowserUrlWithFallback(oldUrl, false, oldState);\n        } else {\n          initializing = false;\n          afterLocationChange(oldUrl, oldState);\n        }\n      });\n      if (!$rootScope.$$phase) $rootScope.$digest();\n    });\n\n    // update browser\n    $rootScope.$watch(function $locationWatch() {\n      var oldUrl = trimEmptyHash($browser.url());\n      var newUrl = trimEmptyHash($location.absUrl());\n      var oldState = $browser.state();\n      var currentReplace = $location.$$replace;\n      var urlOrStateChanged = oldUrl !== newUrl ||\n        ($location.$$html5 && $sniffer.history && oldState !== $location.$$state);\n\n      if (initializing || urlOrStateChanged) {\n        initializing = false;\n\n        $rootScope.$evalAsync(function() {\n          var newUrl = $location.absUrl();\n          var defaultPrevented = $rootScope.$broadcast('$locationChangeStart', newUrl, oldUrl,\n              $location.$$state, oldState).defaultPrevented;\n\n          // if the location was changed by a `$locationChangeStart` handler then stop\n          // processing this location change\n          if ($location.absUrl() !== newUrl) return;\n\n          if (defaultPrevented) {\n            $location.$$parse(oldUrl);\n            $location.$$state = oldState;\n          } else {\n            if (urlOrStateChanged) {\n              setBrowserUrlWithFallback(newUrl, currentReplace,\n                                        oldState === $location.$$state ? null : $location.$$state);\n            }\n            afterLocationChange(oldUrl, oldState);\n          }\n        });\n      }\n\n      $location.$$replace = false;\n\n      // we don't need to return anything because $evalAsync will make the digest loop dirty when\n      // there is a change\n    });\n\n    return $location;\n\n    function afterLocationChange(oldUrl, oldState) {\n      $rootScope.$broadcast('$locationChangeSuccess', $location.absUrl(), oldUrl,\n        $location.$$state, oldState);\n    }\n}];\n}\n\n/**\n * @ngdoc service\n * @name $log\n * @requires $window\n *\n * @description\n * Simple service for logging. Default implementation safely writes the message\n * into the browser's console (if present).\n *\n * The main purpose of this service is to simplify debugging and troubleshooting.\n *\n * The default is to log `debug` messages. You can use\n * {@link ng.$logProvider ng.$logProvider#debugEnabled} to change this.\n *\n * @example\n   <example module=\"logExample\">\n     <file name=\"script.js\">\n       angular.module('logExample', [])\n         .controller('LogController', ['$scope', '$log', function($scope, $log) {\n           $scope.$log = $log;\n           $scope.message = 'Hello World!';\n         }]);\n     </file>\n     <file name=\"index.html\">\n       <div ng-controller=\"LogController\">\n         <p>Reload this page with open console, enter text and hit the log button...</p>\n         <label>Message:\n         <input type=\"text\" ng-model=\"message\" /></label>\n         <button ng-click=\"$log.log(message)\">log</button>\n         <button ng-click=\"$log.warn(message)\">warn</button>\n         <button ng-click=\"$log.info(message)\">info</button>\n         <button ng-click=\"$log.error(message)\">error</button>\n         <button ng-click=\"$log.debug(message)\">debug</button>\n       </div>\n     </file>\n   </example>\n */\n\n/**\n * @ngdoc provider\n * @name $logProvider\n * @description\n * Use the `$logProvider` to configure how the application logs messages\n */\nfunction $LogProvider() {\n  var debug = true,\n      self = this;\n\n  /**\n   * @ngdoc method\n   * @name $logProvider#debugEnabled\n   * @description\n   * @param {boolean=} flag enable or disable debug level messages\n   * @returns {*} current value if used as getter or itself (chaining) if used as setter\n   */\n  this.debugEnabled = function(flag) {\n    if (isDefined(flag)) {\n      debug = flag;\n    return this;\n    } else {\n      return debug;\n    }\n  };\n\n  this.$get = ['$window', function($window) {\n    return {\n      /**\n       * @ngdoc method\n       * @name $log#log\n       *\n       * @description\n       * Write a log message\n       */\n      log: consoleLog('log'),\n\n      /**\n       * @ngdoc method\n       * @name $log#info\n       *\n       * @description\n       * Write an information message\n       */\n      info: consoleLog('info'),\n\n      /**\n       * @ngdoc method\n       * @name $log#warn\n       *\n       * @description\n       * Write a warning message\n       */\n      warn: consoleLog('warn'),\n\n      /**\n       * @ngdoc method\n       * @name $log#error\n       *\n       * @description\n       * Write an error message\n       */\n      error: consoleLog('error'),\n\n      /**\n       * @ngdoc method\n       * @name $log#debug\n       *\n       * @description\n       * Write a debug message\n       */\n      debug: (function() {\n        var fn = consoleLog('debug');\n\n        return function() {\n          if (debug) {\n            fn.apply(self, arguments);\n          }\n        };\n      }())\n    };\n\n    function formatError(arg) {\n      if (arg instanceof Error) {\n        if (arg.stack) {\n          arg = (arg.message && arg.stack.indexOf(arg.message) === -1)\n              ? 'Error: ' + arg.message + '\\n' + arg.stack\n              : arg.stack;\n        } else if (arg.sourceURL) {\n          arg = arg.message + '\\n' + arg.sourceURL + ':' + arg.line;\n        }\n      }\n      return arg;\n    }\n\n    function consoleLog(type) {\n      var console = $window.console || {},\n          logFn = console[type] || console.log || noop,\n          hasApply = false;\n\n      // Note: reading logFn.apply throws an error in IE11 in IE8 document mode.\n      // The reason behind this is that console.log has type \"object\" in IE8...\n      try {\n        hasApply = !!logFn.apply;\n      } catch (e) {}\n\n      if (hasApply) {\n        return function() {\n          var args = [];\n          forEach(arguments, function(arg) {\n            args.push(formatError(arg));\n          });\n          return logFn.apply(console, args);\n        };\n      }\n\n      // we are IE which either doesn't have window.console => this is noop and we do nothing,\n      // or we are IE where console.log doesn't have apply so we log at least first 2 args\n      return function(arg1, arg2) {\n        logFn(arg1, arg2 == null ? '' : arg2);\n      };\n    }\n  }];\n}\n\n/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n *     Any commits to this file should be reviewed with security in mind.  *\n *   Changes to this file can potentially create security vulnerabilities. *\n *          An approval from 2 Core members with history of modifying      *\n *                         this file is required.                          *\n *                                                                         *\n *  Does the change somehow allow for arbitrary javascript to be executed? *\n *    Or allows for someone to change the prototype of built-in objects?   *\n *     Or gives undesired access to variables likes document or window?    *\n * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */\n\nvar $parseMinErr = minErr('$parse');\n\n// Sandboxing Angular Expressions\n// ------------------------------\n// Angular expressions are generally considered safe because these expressions only have direct\n// access to `$scope` and locals. However, one can obtain the ability to execute arbitrary JS code by\n// obtaining a reference to native JS functions such as the Function constructor.\n//\n// As an example, consider the following Angular expression:\n//\n//   {}.toString.constructor('alert(\"evil JS code\")')\n//\n// This sandboxing technique is not perfect and doesn't aim to be. The goal is to prevent exploits\n// against the expression language, but not to prevent exploits that were enabled by exposing\n// sensitive JavaScript or browser APIs on Scope. Exposing such objects on a Scope is never a good\n// practice and therefore we are not even trying to protect against interaction with an object\n// explicitly exposed in this way.\n//\n// In general, it is not possible to access a Window object from an angular expression unless a\n// window or some DOM object that has a reference to window is published onto a Scope.\n// Similarly we prevent invocations of function known to be dangerous, as well as assignments to\n// native objects.\n//\n// See https://docs.angularjs.org/guide/security\n\n\nfunction ensureSafeMemberName(name, fullExpression) {\n  if (name === \"__defineGetter__\" || name === \"__defineSetter__\"\n      || name === \"__lookupGetter__\" || name === \"__lookupSetter__\"\n      || name === \"__proto__\") {\n    throw $parseMinErr('isecfld',\n        'Attempting to access a disallowed field in Angular expressions! '\n        + 'Expression: {0}', fullExpression);\n  }\n  return name;\n}\n\nfunction getStringValue(name, fullExpression) {\n  // From the JavaScript docs:\n  // Property names must be strings. This means that non-string objects cannot be used\n  // as keys in an object. Any non-string object, including a number, is typecasted\n  // into a string via the toString method.\n  //\n  // So, to ensure that we are checking the same `name` that JavaScript would use,\n  // we cast it to a string, if possible.\n  // Doing `name + ''` can cause a repl error if the result to `toString` is not a string,\n  // this is, this will handle objects that misbehave.\n  name = name + '';\n  if (!isString(name)) {\n    throw $parseMinErr('iseccst',\n        'Cannot convert object to primitive value! '\n        + 'Expression: {0}', fullExpression);\n  }\n  return name;\n}\n\nfunction ensureSafeObject(obj, fullExpression) {\n  // nifty check if obj is Function that is fast and works across iframes and other contexts\n  if (obj) {\n    if (obj.constructor === obj) {\n      throw $parseMinErr('isecfn',\n          'Referencing Function in Angular expressions is disallowed! Expression: {0}',\n          fullExpression);\n    } else if (// isWindow(obj)\n        obj.window === obj) {\n      throw $parseMinErr('isecwindow',\n          'Referencing the Window in Angular expressions is disallowed! Expression: {0}',\n          fullExpression);\n    } else if (// isElement(obj)\n        obj.children && (obj.nodeName || (obj.prop && obj.attr && obj.find))) {\n      throw $parseMinErr('isecdom',\n          'Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}',\n          fullExpression);\n    } else if (// block Object so that we can't get hold of dangerous Object.* methods\n        obj === Object) {\n      throw $parseMinErr('isecobj',\n          'Referencing Object in Angular expressions is disallowed! Expression: {0}',\n          fullExpression);\n    }\n  }\n  return obj;\n}\n\nvar CALL = Function.prototype.call;\nvar APPLY = Function.prototype.apply;\nvar BIND = Function.prototype.bind;\n\nfunction ensureSafeFunction(obj, fullExpression) {\n  if (obj) {\n    if (obj.constructor === obj) {\n      throw $parseMinErr('isecfn',\n        'Referencing Function in Angular expressions is disallowed! Expression: {0}',\n        fullExpression);\n    } else if (obj === CALL || obj === APPLY || obj === BIND) {\n      throw $parseMinErr('isecff',\n        'Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}',\n        fullExpression);\n    }\n  }\n}\n\nfunction ensureSafeAssignContext(obj, fullExpression) {\n  if (obj) {\n    if (obj === (0).constructor || obj === (false).constructor || obj === ''.constructor ||\n        obj === {}.constructor || obj === [].constructor || obj === Function.constructor) {\n      throw $parseMinErr('isecaf',\n        'Assigning to a constructor is disallowed! Expression: {0}', fullExpression);\n    }\n  }\n}\n\nvar OPERATORS = createMap();\nforEach('+ - * / % === !== == != < > <= >= && || ! = |'.split(' '), function(operator) { OPERATORS[operator] = true; });\nvar ESCAPE = {\"n\":\"\\n\", \"f\":\"\\f\", \"r\":\"\\r\", \"t\":\"\\t\", \"v\":\"\\v\", \"'\":\"'\", '\"':'\"'};\n\n\n/////////////////////////////////////////\n\n\n/**\n * @constructor\n */\nvar Lexer = function(options) {\n  this.options = options;\n};\n\nLexer.prototype = {\n  constructor: Lexer,\n\n  lex: function(text) {\n    this.text = text;\n    this.index = 0;\n    this.tokens = [];\n\n    while (this.index < this.text.length) {\n      var ch = this.text.charAt(this.index);\n      if (ch === '\"' || ch === \"'\") {\n        this.readString(ch);\n      } else if (this.isNumber(ch) || ch === '.' && this.isNumber(this.peek())) {\n        this.readNumber();\n      } else if (this.isIdent(ch)) {\n        this.readIdent();\n      } else if (this.is(ch, '(){}[].,;:?')) {\n        this.tokens.push({index: this.index, text: ch});\n        this.index++;\n      } else if (this.isWhitespace(ch)) {\n        this.index++;\n      } else {\n        var ch2 = ch + this.peek();\n        var ch3 = ch2 + this.peek(2);\n        var op1 = OPERATORS[ch];\n        var op2 = OPERATORS[ch2];\n        var op3 = OPERATORS[ch3];\n        if (op1 || op2 || op3) {\n          var token = op3 ? ch3 : (op2 ? ch2 : ch);\n          this.tokens.push({index: this.index, text: token, operator: true});\n          this.index += token.length;\n        } else {\n          this.throwError('Unexpected next character ', this.index, this.index + 1);\n        }\n      }\n    }\n    return this.tokens;\n  },\n\n  is: function(ch, chars) {\n    return chars.indexOf(ch) !== -1;\n  },\n\n  peek: function(i) {\n    var num = i || 1;\n    return (this.index + num < this.text.length) ? this.text.charAt(this.index + num) : false;\n  },\n\n  isNumber: function(ch) {\n    return ('0' <= ch && ch <= '9') && typeof ch === \"string\";\n  },\n\n  isWhitespace: function(ch) {\n    // IE treats non-breaking space as \\u00A0\n    return (ch === ' ' || ch === '\\r' || ch === '\\t' ||\n            ch === '\\n' || ch === '\\v' || ch === '\\u00A0');\n  },\n\n  isIdent: function(ch) {\n    return ('a' <= ch && ch <= 'z' ||\n            'A' <= ch && ch <= 'Z' ||\n            '_' === ch || ch === '$');\n  },\n\n  isExpOperator: function(ch) {\n    return (ch === '-' || ch === '+' || this.isNumber(ch));\n  },\n\n  throwError: function(error, start, end) {\n    end = end || this.index;\n    var colStr = (isDefined(start)\n            ? 's ' + start +  '-' + this.index + ' [' + this.text.substring(start, end) + ']'\n            : ' ' + end);\n    throw $parseMinErr('lexerr', 'Lexer Error: {0} at column{1} in expression [{2}].',\n        error, colStr, this.text);\n  },\n\n  readNumber: function() {\n    var number = '';\n    var start = this.index;\n    while (this.index < this.text.length) {\n      var ch = lowercase(this.text.charAt(this.index));\n      if (ch == '.' || this.isNumber(ch)) {\n        number += ch;\n      } else {\n        var peekCh = this.peek();\n        if (ch == 'e' && this.isExpOperator(peekCh)) {\n          number += ch;\n        } else if (this.isExpOperator(ch) &&\n            peekCh && this.isNumber(peekCh) &&\n            number.charAt(number.length - 1) == 'e') {\n          number += ch;\n        } else if (this.isExpOperator(ch) &&\n            (!peekCh || !this.isNumber(peekCh)) &&\n            number.charAt(number.length - 1) == 'e') {\n          this.throwError('Invalid exponent');\n        } else {\n          break;\n        }\n      }\n      this.index++;\n    }\n    this.tokens.push({\n      index: start,\n      text: number,\n      constant: true,\n      value: Number(number)\n    });\n  },\n\n  readIdent: function() {\n    var start = this.index;\n    while (this.index < this.text.length) {\n      var ch = this.text.charAt(this.index);\n      if (!(this.isIdent(ch) || this.isNumber(ch))) {\n        break;\n      }\n      this.index++;\n    }\n    this.tokens.push({\n      index: start,\n      text: this.text.slice(start, this.index),\n      identifier: true\n    });\n  },\n\n  readString: function(quote) {\n    var start = this.index;\n    this.index++;\n    var string = '';\n    var rawString = quote;\n    var escape = false;\n    while (this.index < this.text.length) {\n      var ch = this.text.charAt(this.index);\n      rawString += ch;\n      if (escape) {\n        if (ch === 'u') {\n          var hex = this.text.substring(this.index + 1, this.index + 5);\n          if (!hex.match(/[\\da-f]{4}/i)) {\n            this.throwError('Invalid unicode escape [\\\\u' + hex + ']');\n          }\n          this.index += 4;\n          string += String.fromCharCode(parseInt(hex, 16));\n        } else {\n          var rep = ESCAPE[ch];\n          string = string + (rep || ch);\n        }\n        escape = false;\n      } else if (ch === '\\\\') {\n        escape = true;\n      } else if (ch === quote) {\n        this.index++;\n        this.tokens.push({\n          index: start,\n          text: rawString,\n          constant: true,\n          value: string\n        });\n        return;\n      } else {\n        string += ch;\n      }\n      this.index++;\n    }\n    this.throwError('Unterminated quote', start);\n  }\n};\n\nvar AST = function(lexer, options) {\n  this.lexer = lexer;\n  this.options = options;\n};\n\nAST.Program = 'Program';\nAST.ExpressionStatement = 'ExpressionStatement';\nAST.AssignmentExpression = 'AssignmentExpression';\nAST.ConditionalExpression = 'ConditionalExpression';\nAST.LogicalExpression = 'LogicalExpression';\nAST.BinaryExpression = 'BinaryExpression';\nAST.UnaryExpression = 'UnaryExpression';\nAST.CallExpression = 'CallExpression';\nAST.MemberExpression = 'MemberExpression';\nAST.Identifier = 'Identifier';\nAST.Literal = 'Literal';\nAST.ArrayExpression = 'ArrayExpression';\nAST.Property = 'Property';\nAST.ObjectExpression = 'ObjectExpression';\nAST.ThisExpression = 'ThisExpression';\n\n// Internal use only\nAST.NGValueParameter = 'NGValueParameter';\n\nAST.prototype = {\n  ast: function(text) {\n    this.text = text;\n    this.tokens = this.lexer.lex(text);\n\n    var value = this.program();\n\n    if (this.tokens.length !== 0) {\n      this.throwError('is an unexpected token', this.tokens[0]);\n    }\n\n    return value;\n  },\n\n  program: function() {\n    var body = [];\n    while (true) {\n      if (this.tokens.length > 0 && !this.peek('}', ')', ';', ']'))\n        body.push(this.expressionStatement());\n      if (!this.expect(';')) {\n        return { type: AST.Program, body: body};\n      }\n    }\n  },\n\n  expressionStatement: function() {\n    return { type: AST.ExpressionStatement, expression: this.filterChain() };\n  },\n\n  filterChain: function() {\n    var left = this.expression();\n    var token;\n    while ((token = this.expect('|'))) {\n      left = this.filter(left);\n    }\n    return left;\n  },\n\n  expression: function() {\n    return this.assignment();\n  },\n\n  assignment: function() {\n    var result = this.ternary();\n    if (this.expect('=')) {\n      result = { type: AST.AssignmentExpression, left: result, right: this.assignment(), operator: '='};\n    }\n    return result;\n  },\n\n  ternary: function() {\n    var test = this.logicalOR();\n    var alternate;\n    var consequent;\n    if (this.expect('?')) {\n      alternate = this.expression();\n      if (this.consume(':')) {\n        consequent = this.expression();\n        return { type: AST.ConditionalExpression, test: test, alternate: alternate, consequent: consequent};\n      }\n    }\n    return test;\n  },\n\n  logicalOR: function() {\n    var left = this.logicalAND();\n    while (this.expect('||')) {\n      left = { type: AST.LogicalExpression, operator: '||', left: left, right: this.logicalAND() };\n    }\n    return left;\n  },\n\n  logicalAND: function() {\n    var left = this.equality();\n    while (this.expect('&&')) {\n      left = { type: AST.LogicalExpression, operator: '&&', left: left, right: this.equality()};\n    }\n    return left;\n  },\n\n  equality: function() {\n    var left = this.relational();\n    var token;\n    while ((token = this.expect('==','!=','===','!=='))) {\n      left = { type: AST.BinaryExpression, operator: token.text, left: left, right: this.relational() };\n    }\n    return left;\n  },\n\n  relational: function() {\n    var left = this.additive();\n    var token;\n    while ((token = this.expect('<', '>', '<=', '>='))) {\n      left = { type: AST.BinaryExpression, operator: token.text, left: left, right: this.additive() };\n    }\n    return left;\n  },\n\n  additive: function() {\n    var left = this.multiplicative();\n    var token;\n    while ((token = this.expect('+','-'))) {\n      left = { type: AST.BinaryExpression, operator: token.text, left: left, right: this.multiplicative() };\n    }\n    return left;\n  },\n\n  multiplicative: function() {\n    var left = this.unary();\n    var token;\n    while ((token = this.expect('*','/','%'))) {\n      left = { type: AST.BinaryExpression, operator: token.text, left: left, right: this.unary() };\n    }\n    return left;\n  },\n\n  unary: function() {\n    var token;\n    if ((token = this.expect('+', '-', '!'))) {\n      return { type: AST.UnaryExpression, operator: token.text, prefix: true, argument: this.unary() };\n    } else {\n      return this.primary();\n    }\n  },\n\n  primary: function() {\n    var primary;\n    if (this.expect('(')) {\n      primary = this.filterChain();\n      this.consume(')');\n    } else if (this.expect('[')) {\n      primary = this.arrayDeclaration();\n    } else if (this.expect('{')) {\n      primary = this.object();\n    } else if (this.constants.hasOwnProperty(this.peek().text)) {\n      primary = copy(this.constants[this.consume().text]);\n    } else if (this.peek().identifier) {\n      primary = this.identifier();\n    } else if (this.peek().constant) {\n      primary = this.constant();\n    } else {\n      this.throwError('not a primary expression', this.peek());\n    }\n\n    var next;\n    while ((next = this.expect('(', '[', '.'))) {\n      if (next.text === '(') {\n        primary = {type: AST.CallExpression, callee: primary, arguments: this.parseArguments() };\n        this.consume(')');\n      } else if (next.text === '[') {\n        primary = { type: AST.MemberExpression, object: primary, property: this.expression(), computed: true };\n        this.consume(']');\n      } else if (next.text === '.') {\n        primary = { type: AST.MemberExpression, object: primary, property: this.identifier(), computed: false };\n      } else {\n        this.throwError('IMPOSSIBLE');\n      }\n    }\n    return primary;\n  },\n\n  filter: function(baseExpression) {\n    var args = [baseExpression];\n    var result = {type: AST.CallExpression, callee: this.identifier(), arguments: args, filter: true};\n\n    while (this.expect(':')) {\n      args.push(this.expression());\n    }\n\n    return result;\n  },\n\n  parseArguments: function() {\n    var args = [];\n    if (this.peekToken().text !== ')') {\n      do {\n        args.push(this.expression());\n      } while (this.expect(','));\n    }\n    return args;\n  },\n\n  identifier: function() {\n    var token = this.consume();\n    if (!token.identifier) {\n      this.throwError('is not a valid identifier', token);\n    }\n    return { type: AST.Identifier, name: token.text };\n  },\n\n  constant: function() {\n    // TODO check that it is a constant\n    return { type: AST.Literal, value: this.consume().value };\n  },\n\n  arrayDeclaration: function() {\n    var elements = [];\n    if (this.peekToken().text !== ']') {\n      do {\n        if (this.peek(']')) {\n          // Support trailing commas per ES5.1.\n          break;\n        }\n        elements.push(this.expression());\n      } while (this.expect(','));\n    }\n    this.consume(']');\n\n    return { type: AST.ArrayExpression, elements: elements };\n  },\n\n  object: function() {\n    var properties = [], property;\n    if (this.peekToken().text !== '}') {\n      do {\n        if (this.peek('}')) {\n          // Support trailing commas per ES5.1.\n          break;\n        }\n        property = {type: AST.Property, kind: 'init'};\n        if (this.peek().constant) {\n          property.key = this.constant();\n        } else if (this.peek().identifier) {\n          property.key = this.identifier();\n        } else {\n          this.throwError(\"invalid key\", this.peek());\n        }\n        this.consume(':');\n        property.value = this.expression();\n        properties.push(property);\n      } while (this.expect(','));\n    }\n    this.consume('}');\n\n    return {type: AST.ObjectExpression, properties: properties };\n  },\n\n  throwError: function(msg, token) {\n    throw $parseMinErr('syntax',\n        'Syntax Error: Token \\'{0}\\' {1} at column {2} of the expression [{3}] starting at [{4}].',\n          token.text, msg, (token.index + 1), this.text, this.text.substring(token.index));\n  },\n\n  consume: function(e1) {\n    if (this.tokens.length === 0) {\n      throw $parseMinErr('ueoe', 'Unexpected end of expression: {0}', this.text);\n    }\n\n    var token = this.expect(e1);\n    if (!token) {\n      this.throwError('is unexpected, expecting [' + e1 + ']', this.peek());\n    }\n    return token;\n  },\n\n  peekToken: function() {\n    if (this.tokens.length === 0) {\n      throw $parseMinErr('ueoe', 'Unexpected end of expression: {0}', this.text);\n    }\n    return this.tokens[0];\n  },\n\n  peek: function(e1, e2, e3, e4) {\n    return this.peekAhead(0, e1, e2, e3, e4);\n  },\n\n  peekAhead: function(i, e1, e2, e3, e4) {\n    if (this.tokens.length > i) {\n      var token = this.tokens[i];\n      var t = token.text;\n      if (t === e1 || t === e2 || t === e3 || t === e4 ||\n          (!e1 && !e2 && !e3 && !e4)) {\n        return token;\n      }\n    }\n    return false;\n  },\n\n  expect: function(e1, e2, e3, e4) {\n    var token = this.peek(e1, e2, e3, e4);\n    if (token) {\n      this.tokens.shift();\n      return token;\n    }\n    return false;\n  },\n\n\n  /* `undefined` is not a constant, it is an identifier,\n   * but using it as an identifier is not supported\n   */\n  constants: {\n    'true': { type: AST.Literal, value: true },\n    'false': { type: AST.Literal, value: false },\n    'null': { type: AST.Literal, value: null },\n    'undefined': {type: AST.Literal, value: undefined },\n    'this': {type: AST.ThisExpression }\n  }\n};\n\nfunction ifDefined(v, d) {\n  return typeof v !== 'undefined' ? v : d;\n}\n\nfunction plusFn(l, r) {\n  if (typeof l === 'undefined') return r;\n  if (typeof r === 'undefined') return l;\n  return l + r;\n}\n\nfunction isStateless($filter, filterName) {\n  var fn = $filter(filterName);\n  return !fn.$stateful;\n}\n\nfunction findConstantAndWatchExpressions(ast, $filter) {\n  var allConstants;\n  var argsToWatch;\n  switch (ast.type) {\n  case AST.Program:\n    allConstants = true;\n    forEach(ast.body, function(expr) {\n      findConstantAndWatchExpressions(expr.expression, $filter);\n      allConstants = allConstants && expr.expression.constant;\n    });\n    ast.constant = allConstants;\n    break;\n  case AST.Literal:\n    ast.constant = true;\n    ast.toWatch = [];\n    break;\n  case AST.UnaryExpression:\n    findConstantAndWatchExpressions(ast.argument, $filter);\n    ast.constant = ast.argument.constant;\n    ast.toWatch = ast.argument.toWatch;\n    break;\n  case AST.BinaryExpression:\n    findConstantAndWatchExpressions(ast.left, $filter);\n    findConstantAndWatchExpressions(ast.right, $filter);\n    ast.constant = ast.left.constant && ast.right.constant;\n    ast.toWatch = ast.left.toWatch.concat(ast.right.toWatch);\n    break;\n  case AST.LogicalExpression:\n    findConstantAndWatchExpressions(ast.left, $filter);\n    findConstantAndWatchExpressions(ast.right, $filter);\n    ast.constant = ast.left.constant && ast.right.constant;\n    ast.toWatch = ast.constant ? [] : [ast];\n    break;\n  case AST.ConditionalExpression:\n    findConstantAndWatchExpressions(ast.test, $filter);\n    findConstantAndWatchExpressions(ast.alternate, $filter);\n    findConstantAndWatchExpressions(ast.consequent, $filter);\n    ast.constant = ast.test.constant && ast.alternate.constant && ast.consequent.constant;\n    ast.toWatch = ast.constant ? [] : [ast];\n    break;\n  case AST.Identifier:\n    ast.constant = false;\n    ast.toWatch = [ast];\n    break;\n  case AST.MemberExpression:\n    findConstantAndWatchExpressions(ast.object, $filter);\n    if (ast.computed) {\n      findConstantAndWatchExpressions(ast.property, $filter);\n    }\n    ast.constant = ast.object.constant && (!ast.computed || ast.property.constant);\n    ast.toWatch = [ast];\n    break;\n  case AST.CallExpression:\n    allConstants = ast.filter ? isStateless($filter, ast.callee.name) : false;\n    argsToWatch = [];\n    forEach(ast.arguments, function(expr) {\n      findConstantAndWatchExpressions(expr, $filter);\n      allConstants = allConstants && expr.constant;\n      if (!expr.constant) {\n        argsToWatch.push.apply(argsToWatch, expr.toWatch);\n      }\n    });\n    ast.constant = allConstants;\n    ast.toWatch = ast.filter && isStateless($filter, ast.callee.name) ? argsToWatch : [ast];\n    break;\n  case AST.AssignmentExpression:\n    findConstantAndWatchExpressions(ast.left, $filter);\n    findConstantAndWatchExpressions(ast.right, $filter);\n    ast.constant = ast.left.constant && ast.right.constant;\n    ast.toWatch = [ast];\n    break;\n  case AST.ArrayExpression:\n    allConstants = true;\n    argsToWatch = [];\n    forEach(ast.elements, function(expr) {\n      findConstantAndWatchExpressions(expr, $filter);\n      allConstants = allConstants && expr.constant;\n      if (!expr.constant) {\n        argsToWatch.push.apply(argsToWatch, expr.toWatch);\n      }\n    });\n    ast.constant = allConstants;\n    ast.toWatch = argsToWatch;\n    break;\n  case AST.ObjectExpression:\n    allConstants = true;\n    argsToWatch = [];\n    forEach(ast.properties, function(property) {\n      findConstantAndWatchExpressions(property.value, $filter);\n      allConstants = allConstants && property.value.constant;\n      if (!property.value.constant) {\n        argsToWatch.push.apply(argsToWatch, property.value.toWatch);\n      }\n    });\n    ast.constant = allConstants;\n    ast.toWatch = argsToWatch;\n    break;\n  case AST.ThisExpression:\n    ast.constant = false;\n    ast.toWatch = [];\n    break;\n  }\n}\n\nfunction getInputs(body) {\n  if (body.length != 1) return;\n  var lastExpression = body[0].expression;\n  var candidate = lastExpression.toWatch;\n  if (candidate.length !== 1) return candidate;\n  return candidate[0] !== lastExpression ? candidate : undefined;\n}\n\nfunction isAssignable(ast) {\n  return ast.type === AST.Identifier || ast.type === AST.MemberExpression;\n}\n\nfunction assignableAST(ast) {\n  if (ast.body.length === 1 && isAssignable(ast.body[0].expression)) {\n    return {type: AST.AssignmentExpression, left: ast.body[0].expression, right: {type: AST.NGValueParameter}, operator: '='};\n  }\n}\n\nfunction isLiteral(ast) {\n  return ast.body.length === 0 ||\n      ast.body.length === 1 && (\n      ast.body[0].expression.type === AST.Literal ||\n      ast.body[0].expression.type === AST.ArrayExpression ||\n      ast.body[0].expression.type === AST.ObjectExpression);\n}\n\nfunction isConstant(ast) {\n  return ast.constant;\n}\n\nfunction ASTCompiler(astBuilder, $filter) {\n  this.astBuilder = astBuilder;\n  this.$filter = $filter;\n}\n\nASTCompiler.prototype = {\n  compile: function(expression, expensiveChecks) {\n    var self = this;\n    var ast = this.astBuilder.ast(expression);\n    this.state = {\n      nextId: 0,\n      filters: {},\n      expensiveChecks: expensiveChecks,\n      fn: {vars: [], body: [], own: {}},\n      assign: {vars: [], body: [], own: {}},\n      inputs: []\n    };\n    findConstantAndWatchExpressions(ast, self.$filter);\n    var extra = '';\n    var assignable;\n    this.stage = 'assign';\n    if ((assignable = assignableAST(ast))) {\n      this.state.computing = 'assign';\n      var result = this.nextId();\n      this.recurse(assignable, result);\n      this.return_(result);\n      extra = 'fn.assign=' + this.generateFunction('assign', 's,v,l');\n    }\n    var toWatch = getInputs(ast.body);\n    self.stage = 'inputs';\n    forEach(toWatch, function(watch, key) {\n      var fnKey = 'fn' + key;\n      self.state[fnKey] = {vars: [], body: [], own: {}};\n      self.state.computing = fnKey;\n      var intoId = self.nextId();\n      self.recurse(watch, intoId);\n      self.return_(intoId);\n      self.state.inputs.push(fnKey);\n      watch.watchId = key;\n    });\n    this.state.computing = 'fn';\n    this.stage = 'main';\n    this.recurse(ast);\n    var fnString =\n      // The build and minification steps remove the string \"use strict\" from the code, but this is done using a regex.\n      // This is a workaround for this until we do a better job at only removing the prefix only when we should.\n      '\"' + this.USE + ' ' + this.STRICT + '\";\\n' +\n      this.filterPrefix() +\n      'var fn=' + this.generateFunction('fn', 's,l,a,i') +\n      extra +\n      this.watchFns() +\n      'return fn;';\n\n    /* jshint -W054 */\n    var fn = (new Function('$filter',\n        'ensureSafeMemberName',\n        'ensureSafeObject',\n        'ensureSafeFunction',\n        'getStringValue',\n        'ensureSafeAssignContext',\n        'ifDefined',\n        'plus',\n        'text',\n        fnString))(\n          this.$filter,\n          ensureSafeMemberName,\n          ensureSafeObject,\n          ensureSafeFunction,\n          getStringValue,\n          ensureSafeAssignContext,\n          ifDefined,\n          plusFn,\n          expression);\n    /* jshint +W054 */\n    this.state = this.stage = undefined;\n    fn.literal = isLiteral(ast);\n    fn.constant = isConstant(ast);\n    return fn;\n  },\n\n  USE: 'use',\n\n  STRICT: 'strict',\n\n  watchFns: function() {\n    var result = [];\n    var fns = this.state.inputs;\n    var self = this;\n    forEach(fns, function(name) {\n      result.push('var ' + name + '=' + self.generateFunction(name, 's'));\n    });\n    if (fns.length) {\n      result.push('fn.inputs=[' + fns.join(',') + '];');\n    }\n    return result.join('');\n  },\n\n  generateFunction: function(name, params) {\n    return 'function(' + params + '){' +\n        this.varsPrefix(name) +\n        this.body(name) +\n        '};';\n  },\n\n  filterPrefix: function() {\n    var parts = [];\n    var self = this;\n    forEach(this.state.filters, function(id, filter) {\n      parts.push(id + '=$filter(' + self.escape(filter) + ')');\n    });\n    if (parts.length) return 'var ' + parts.join(',') + ';';\n    return '';\n  },\n\n  varsPrefix: function(section) {\n    return this.state[section].vars.length ? 'var ' + this.state[section].vars.join(',') + ';' : '';\n  },\n\n  body: function(section) {\n    return this.state[section].body.join('');\n  },\n\n  recurse: function(ast, intoId, nameId, recursionFn, create, skipWatchIdCheck) {\n    var left, right, self = this, args, expression;\n    recursionFn = recursionFn || noop;\n    if (!skipWatchIdCheck && isDefined(ast.watchId)) {\n      intoId = intoId || this.nextId();\n      this.if_('i',\n        this.lazyAssign(intoId, this.computedMember('i', ast.watchId)),\n        this.lazyRecurse(ast, intoId, nameId, recursionFn, create, true)\n      );\n      return;\n    }\n    switch (ast.type) {\n    case AST.Program:\n      forEach(ast.body, function(expression, pos) {\n        self.recurse(expression.expression, undefined, undefined, function(expr) { right = expr; });\n        if (pos !== ast.body.length - 1) {\n          self.current().body.push(right, ';');\n        } else {\n          self.return_(right);\n        }\n      });\n      break;\n    case AST.Literal:\n      expression = this.escape(ast.value);\n      this.assign(intoId, expression);\n      recursionFn(expression);\n      break;\n    case AST.UnaryExpression:\n      this.recurse(ast.argument, undefined, undefined, function(expr) { right = expr; });\n      expression = ast.operator + '(' + this.ifDefined(right, 0) + ')';\n      this.assign(intoId, expression);\n      recursionFn(expression);\n      break;\n    case AST.BinaryExpression:\n      this.recurse(ast.left, undefined, undefined, function(expr) { left = expr; });\n      this.recurse(ast.right, undefined, undefined, function(expr) { right = expr; });\n      if (ast.operator === '+') {\n        expression = this.plus(left, right);\n      } else if (ast.operator === '-') {\n        expression = this.ifDefined(left, 0) + ast.operator + this.ifDefined(right, 0);\n      } else {\n        expression = '(' + left + ')' + ast.operator + '(' + right + ')';\n      }\n      this.assign(intoId, expression);\n      recursionFn(expression);\n      break;\n    case AST.LogicalExpression:\n      intoId = intoId || this.nextId();\n      self.recurse(ast.left, intoId);\n      self.if_(ast.operator === '&&' ? intoId : self.not(intoId), self.lazyRecurse(ast.right, intoId));\n      recursionFn(intoId);\n      break;\n    case AST.ConditionalExpression:\n      intoId = intoId || this.nextId();\n      self.recurse(ast.test, intoId);\n      self.if_(intoId, self.lazyRecurse(ast.alternate, intoId), self.lazyRecurse(ast.consequent, intoId));\n      recursionFn(intoId);\n      break;\n    case AST.Identifier:\n      intoId = intoId || this.nextId();\n      if (nameId) {\n        nameId.context = self.stage === 'inputs' ? 's' : this.assign(this.nextId(), this.getHasOwnProperty('l', ast.name) + '?l:s');\n        nameId.computed = false;\n        nameId.name = ast.name;\n      }\n      ensureSafeMemberName(ast.name);\n      self.if_(self.stage === 'inputs' || self.not(self.getHasOwnProperty('l', ast.name)),\n        function() {\n          self.if_(self.stage === 'inputs' || 's', function() {\n            if (create && create !== 1) {\n              self.if_(\n                self.not(self.nonComputedMember('s', ast.name)),\n                self.lazyAssign(self.nonComputedMember('s', ast.name), '{}'));\n            }\n            self.assign(intoId, self.nonComputedMember('s', ast.name));\n          });\n        }, intoId && self.lazyAssign(intoId, self.nonComputedMember('l', ast.name))\n        );\n      if (self.state.expensiveChecks || isPossiblyDangerousMemberName(ast.name)) {\n        self.addEnsureSafeObject(intoId);\n      }\n      recursionFn(intoId);\n      break;\n    case AST.MemberExpression:\n      left = nameId && (nameId.context = this.nextId()) || this.nextId();\n      intoId = intoId || this.nextId();\n      self.recurse(ast.object, left, undefined, function() {\n        self.if_(self.notNull(left), function() {\n          if (ast.computed) {\n            right = self.nextId();\n            self.recurse(ast.property, right);\n            self.getStringValue(right);\n            self.addEnsureSafeMemberName(right);\n            if (create && create !== 1) {\n              self.if_(self.not(self.computedMember(left, right)), self.lazyAssign(self.computedMember(left, right), '{}'));\n            }\n            expression = self.ensureSafeObject(self.computedMember(left, right));\n            self.assign(intoId, expression);\n            if (nameId) {\n              nameId.computed = true;\n              nameId.name = right;\n            }\n          } else {\n            ensureSafeMemberName(ast.property.name);\n            if (create && create !== 1) {\n              self.if_(self.not(self.nonComputedMember(left, ast.property.name)), self.lazyAssign(self.nonComputedMember(left, ast.property.name), '{}'));\n            }\n            expression = self.nonComputedMember(left, ast.property.name);\n            if (self.state.expensiveChecks || isPossiblyDangerousMemberName(ast.property.name)) {\n              expression = self.ensureSafeObject(expression);\n            }\n            self.assign(intoId, expression);\n            if (nameId) {\n              nameId.computed = false;\n              nameId.name = ast.property.name;\n            }\n          }\n        }, function() {\n          self.assign(intoId, 'undefined');\n        });\n        recursionFn(intoId);\n      }, !!create);\n      break;\n    case AST.CallExpression:\n      intoId = intoId || this.nextId();\n      if (ast.filter) {\n        right = self.filter(ast.callee.name);\n        args = [];\n        forEach(ast.arguments, function(expr) {\n          var argument = self.nextId();\n          self.recurse(expr, argument);\n          args.push(argument);\n        });\n        expression = right + '(' + args.join(',') + ')';\n        self.assign(intoId, expression);\n        recursionFn(intoId);\n      } else {\n        right = self.nextId();\n        left = {};\n        args = [];\n        self.recurse(ast.callee, right, left, function() {\n          self.if_(self.notNull(right), function() {\n            self.addEnsureSafeFunction(right);\n            forEach(ast.arguments, function(expr) {\n              self.recurse(expr, self.nextId(), undefined, function(argument) {\n                args.push(self.ensureSafeObject(argument));\n              });\n            });\n            if (left.name) {\n              if (!self.state.expensiveChecks) {\n                self.addEnsureSafeObject(left.context);\n              }\n              expression = self.member(left.context, left.name, left.computed) + '(' + args.join(',') + ')';\n            } else {\n              expression = right + '(' + args.join(',') + ')';\n            }\n            expression = self.ensureSafeObject(expression);\n            self.assign(intoId, expression);\n          }, function() {\n            self.assign(intoId, 'undefined');\n          });\n          recursionFn(intoId);\n        });\n      }\n      break;\n    case AST.AssignmentExpression:\n      right = this.nextId();\n      left = {};\n      if (!isAssignable(ast.left)) {\n        throw $parseMinErr('lval', 'Trying to assing a value to a non l-value');\n      }\n      this.recurse(ast.left, undefined, left, function() {\n        self.if_(self.notNull(left.context), function() {\n          self.recurse(ast.right, right);\n          self.addEnsureSafeObject(self.member(left.context, left.name, left.computed));\n          self.addEnsureSafeAssignContext(left.context);\n          expression = self.member(left.context, left.name, left.computed) + ast.operator + right;\n          self.assign(intoId, expression);\n          recursionFn(intoId || expression);\n        });\n      }, 1);\n      break;\n    case AST.ArrayExpression:\n      args = [];\n      forEach(ast.elements, function(expr) {\n        self.recurse(expr, self.nextId(), undefined, function(argument) {\n          args.push(argument);\n        });\n      });\n      expression = '[' + args.join(',') + ']';\n      this.assign(intoId, expression);\n      recursionFn(expression);\n      break;\n    case AST.ObjectExpression:\n      args = [];\n      forEach(ast.properties, function(property) {\n        self.recurse(property.value, self.nextId(), undefined, function(expr) {\n          args.push(self.escape(\n              property.key.type === AST.Identifier ? property.key.name :\n                ('' + property.key.value)) +\n              ':' + expr);\n        });\n      });\n      expression = '{' + args.join(',') + '}';\n      this.assign(intoId, expression);\n      recursionFn(expression);\n      break;\n    case AST.ThisExpression:\n      this.assign(intoId, 's');\n      recursionFn('s');\n      break;\n    case AST.NGValueParameter:\n      this.assign(intoId, 'v');\n      recursionFn('v');\n      break;\n    }\n  },\n\n  getHasOwnProperty: function(element, property) {\n    var key = element + '.' + property;\n    var own = this.current().own;\n    if (!own.hasOwnProperty(key)) {\n      own[key] = this.nextId(false, element + '&&(' + this.escape(property) + ' in ' + element + ')');\n    }\n    return own[key];\n  },\n\n  assign: function(id, value) {\n    if (!id) return;\n    this.current().body.push(id, '=', value, ';');\n    return id;\n  },\n\n  filter: function(filterName) {\n    if (!this.state.filters.hasOwnProperty(filterName)) {\n      this.state.filters[filterName] = this.nextId(true);\n    }\n    return this.state.filters[filterName];\n  },\n\n  ifDefined: function(id, defaultValue) {\n    return 'ifDefined(' + id + ',' + this.escape(defaultValue) + ')';\n  },\n\n  plus: function(left, right) {\n    return 'plus(' + left + ',' + right + ')';\n  },\n\n  return_: function(id) {\n    this.current().body.push('return ', id, ';');\n  },\n\n  if_: function(test, alternate, consequent) {\n    if (test === true) {\n      alternate();\n    } else {\n      var body = this.current().body;\n      body.push('if(', test, '){');\n      alternate();\n      body.push('}');\n      if (consequent) {\n        body.push('else{');\n        consequent();\n        body.push('}');\n      }\n    }\n  },\n\n  not: function(expression) {\n    return '!(' + expression + ')';\n  },\n\n  notNull: function(expression) {\n    return expression + '!=null';\n  },\n\n  nonComputedMember: function(left, right) {\n    return left + '.' + right;\n  },\n\n  computedMember: function(left, right) {\n    return left + '[' + right + ']';\n  },\n\n  member: function(left, right, computed) {\n    if (computed) return this.computedMember(left, right);\n    return this.nonComputedMember(left, right);\n  },\n\n  addEnsureSafeObject: function(item) {\n    this.current().body.push(this.ensureSafeObject(item), ';');\n  },\n\n  addEnsureSafeMemberName: function(item) {\n    this.current().body.push(this.ensureSafeMemberName(item), ';');\n  },\n\n  addEnsureSafeFunction: function(item) {\n    this.current().body.push(this.ensureSafeFunction(item), ';');\n  },\n\n  addEnsureSafeAssignContext: function(item) {\n    this.current().body.push(this.ensureSafeAssignContext(item), ';');\n  },\n\n  ensureSafeObject: function(item) {\n    return 'ensureSafeObject(' + item + ',text)';\n  },\n\n  ensureSafeMemberName: function(item) {\n    return 'ensureSafeMemberName(' + item + ',text)';\n  },\n\n  ensureSafeFunction: function(item) {\n    return 'ensureSafeFunction(' + item + ',text)';\n  },\n\n  getStringValue: function(item) {\n    this.assign(item, 'getStringValue(' + item + ',text)');\n  },\n\n  ensureSafeAssignContext: function(item) {\n    return 'ensureSafeAssignContext(' + item + ',text)';\n  },\n\n  lazyRecurse: function(ast, intoId, nameId, recursionFn, create, skipWatchIdCheck) {\n    var self = this;\n    return function() {\n      self.recurse(ast, intoId, nameId, recursionFn, create, skipWatchIdCheck);\n    };\n  },\n\n  lazyAssign: function(id, value) {\n    var self = this;\n    return function() {\n      self.assign(id, value);\n    };\n  },\n\n  stringEscapeRegex: /[^ a-zA-Z0-9]/g,\n\n  stringEscapeFn: function(c) {\n    return '\\\\u' + ('0000' + c.charCodeAt(0).toString(16)).slice(-4);\n  },\n\n  escape: function(value) {\n    if (isString(value)) return \"'\" + value.replace(this.stringEscapeRegex, this.stringEscapeFn) + \"'\";\n    if (isNumber(value)) return value.toString();\n    if (value === true) return 'true';\n    if (value === false) return 'false';\n    if (value === null) return 'null';\n    if (typeof value === 'undefined') return 'undefined';\n\n    throw $parseMinErr('esc', 'IMPOSSIBLE');\n  },\n\n  nextId: function(skip, init) {\n    var id = 'v' + (this.state.nextId++);\n    if (!skip) {\n      this.current().vars.push(id + (init ? '=' + init : ''));\n    }\n    return id;\n  },\n\n  current: function() {\n    return this.state[this.state.computing];\n  }\n};\n\n\nfunction ASTInterpreter(astBuilder, $filter) {\n  this.astBuilder = astBuilder;\n  this.$filter = $filter;\n}\n\nASTInterpreter.prototype = {\n  compile: function(expression, expensiveChecks) {\n    var self = this;\n    var ast = this.astBuilder.ast(expression);\n    this.expression = expression;\n    this.expensiveChecks = expensiveChecks;\n    findConstantAndWatchExpressions(ast, self.$filter);\n    var assignable;\n    var assign;\n    if ((assignable = assignableAST(ast))) {\n      assign = this.recurse(assignable);\n    }\n    var toWatch = getInputs(ast.body);\n    var inputs;\n    if (toWatch) {\n      inputs = [];\n      forEach(toWatch, function(watch, key) {\n        var input = self.recurse(watch);\n        watch.input = input;\n        inputs.push(input);\n        watch.watchId = key;\n      });\n    }\n    var expressions = [];\n    forEach(ast.body, function(expression) {\n      expressions.push(self.recurse(expression.expression));\n    });\n    var fn = ast.body.length === 0 ? function() {} :\n             ast.body.length === 1 ? expressions[0] :\n             function(scope, locals) {\n               var lastValue;\n               forEach(expressions, function(exp) {\n                 lastValue = exp(scope, locals);\n               });\n               return lastValue;\n             };\n    if (assign) {\n      fn.assign = function(scope, value, locals) {\n        return assign(scope, locals, value);\n      };\n    }\n    if (inputs) {\n      fn.inputs = inputs;\n    }\n    fn.literal = isLiteral(ast);\n    fn.constant = isConstant(ast);\n    return fn;\n  },\n\n  recurse: function(ast, context, create) {\n    var left, right, self = this, args, expression;\n    if (ast.input) {\n      return this.inputs(ast.input, ast.watchId);\n    }\n    switch (ast.type) {\n    case AST.Literal:\n      return this.value(ast.value, context);\n    case AST.UnaryExpression:\n      right = this.recurse(ast.argument);\n      return this['unary' + ast.operator](right, context);\n    case AST.BinaryExpression:\n      left = this.recurse(ast.left);\n      right = this.recurse(ast.right);\n      return this['binary' + ast.operator](left, right, context);\n    case AST.LogicalExpression:\n      left = this.recurse(ast.left);\n      right = this.recurse(ast.right);\n      return this['binary' + ast.operator](left, right, context);\n    case AST.ConditionalExpression:\n      return this['ternary?:'](\n        this.recurse(ast.test),\n        this.recurse(ast.alternate),\n        this.recurse(ast.consequent),\n        context\n      );\n    case AST.Identifier:\n      ensureSafeMemberName(ast.name, self.expression);\n      return self.identifier(ast.name,\n                             self.expensiveChecks || isPossiblyDangerousMemberName(ast.name),\n                             context, create, self.expression);\n    case AST.MemberExpression:\n      left = this.recurse(ast.object, false, !!create);\n      if (!ast.computed) {\n        ensureSafeMemberName(ast.property.name, self.expression);\n        right = ast.property.name;\n      }\n      if (ast.computed) right = this.recurse(ast.property);\n      return ast.computed ?\n        this.computedMember(left, right, context, create, self.expression) :\n        this.nonComputedMember(left, right, self.expensiveChecks, context, create, self.expression);\n    case AST.CallExpression:\n      args = [];\n      forEach(ast.arguments, function(expr) {\n        args.push(self.recurse(expr));\n      });\n      if (ast.filter) right = this.$filter(ast.callee.name);\n      if (!ast.filter) right = this.recurse(ast.callee, true);\n      return ast.filter ?\n        function(scope, locals, assign, inputs) {\n          var values = [];\n          for (var i = 0; i < args.length; ++i) {\n            values.push(args[i](scope, locals, assign, inputs));\n          }\n          var value = right.apply(undefined, values, inputs);\n          return context ? {context: undefined, name: undefined, value: value} : value;\n        } :\n        function(scope, locals, assign, inputs) {\n          var rhs = right(scope, locals, assign, inputs);\n          var value;\n          if (rhs.value != null) {\n            ensureSafeObject(rhs.context, self.expression);\n            ensureSafeFunction(rhs.value, self.expression);\n            var values = [];\n            for (var i = 0; i < args.length; ++i) {\n              values.push(ensureSafeObject(args[i](scope, locals, assign, inputs), self.expression));\n            }\n            value = ensureSafeObject(rhs.value.apply(rhs.context, values), self.expression);\n          }\n          return context ? {value: value} : value;\n        };\n    case AST.AssignmentExpression:\n      left = this.recurse(ast.left, true, 1);\n      right = this.recurse(ast.right);\n      return function(scope, locals, assign, inputs) {\n        var lhs = left(scope, locals, assign, inputs);\n        var rhs = right(scope, locals, assign, inputs);\n        ensureSafeObject(lhs.value, self.expression);\n        ensureSafeAssignContext(lhs.context);\n        lhs.context[lhs.name] = rhs;\n        return context ? {value: rhs} : rhs;\n      };\n    case AST.ArrayExpression:\n      args = [];\n      forEach(ast.elements, function(expr) {\n        args.push(self.recurse(expr));\n      });\n      return function(scope, locals, assign, inputs) {\n        var value = [];\n        for (var i = 0; i < args.length; ++i) {\n          value.push(args[i](scope, locals, assign, inputs));\n        }\n        return context ? {value: value} : value;\n      };\n    case AST.ObjectExpression:\n      args = [];\n      forEach(ast.properties, function(property) {\n        args.push({key: property.key.type === AST.Identifier ?\n                        property.key.name :\n                        ('' + property.key.value),\n                   value: self.recurse(property.value)\n        });\n      });\n      return function(scope, locals, assign, inputs) {\n        var value = {};\n        for (var i = 0; i < args.length; ++i) {\n          value[args[i].key] = args[i].value(scope, locals, assign, inputs);\n        }\n        return context ? {value: value} : value;\n      };\n    case AST.ThisExpression:\n      return function(scope) {\n        return context ? {value: scope} : scope;\n      };\n    case AST.NGValueParameter:\n      return function(scope, locals, assign, inputs) {\n        return context ? {value: assign} : assign;\n      };\n    }\n  },\n\n  'unary+': function(argument, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = argument(scope, locals, assign, inputs);\n      if (isDefined(arg)) {\n        arg = +arg;\n      } else {\n        arg = 0;\n      }\n      return context ? {value: arg} : arg;\n    };\n  },\n  'unary-': function(argument, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = argument(scope, locals, assign, inputs);\n      if (isDefined(arg)) {\n        arg = -arg;\n      } else {\n        arg = 0;\n      }\n      return context ? {value: arg} : arg;\n    };\n  },\n  'unary!': function(argument, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = !argument(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary+': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var lhs = left(scope, locals, assign, inputs);\n      var rhs = right(scope, locals, assign, inputs);\n      var arg = plusFn(lhs, rhs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary-': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var lhs = left(scope, locals, assign, inputs);\n      var rhs = right(scope, locals, assign, inputs);\n      var arg = (isDefined(lhs) ? lhs : 0) - (isDefined(rhs) ? rhs : 0);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary*': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = left(scope, locals, assign, inputs) * right(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary/': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = left(scope, locals, assign, inputs) / right(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary%': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = left(scope, locals, assign, inputs) % right(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary===': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = left(scope, locals, assign, inputs) === right(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary!==': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = left(scope, locals, assign, inputs) !== right(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary==': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = left(scope, locals, assign, inputs) == right(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary!=': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = left(scope, locals, assign, inputs) != right(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary<': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = left(scope, locals, assign, inputs) < right(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary>': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = left(scope, locals, assign, inputs) > right(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary<=': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = left(scope, locals, assign, inputs) <= right(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary>=': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = left(scope, locals, assign, inputs) >= right(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary&&': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = left(scope, locals, assign, inputs) && right(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary||': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = left(scope, locals, assign, inputs) || right(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'ternary?:': function(test, alternate, consequent, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = test(scope, locals, assign, inputs) ? alternate(scope, locals, assign, inputs) : consequent(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  value: function(value, context) {\n    return function() { return context ? {context: undefined, name: undefined, value: value} : value; };\n  },\n  identifier: function(name, expensiveChecks, context, create, expression) {\n    return function(scope, locals, assign, inputs) {\n      var base = locals && (name in locals) ? locals : scope;\n      if (create && create !== 1 && base && !(base[name])) {\n        base[name] = {};\n      }\n      var value = base ? base[name] : undefined;\n      if (expensiveChecks) {\n        ensureSafeObject(value, expression);\n      }\n      if (context) {\n        return {context: base, name: name, value: value};\n      } else {\n        return value;\n      }\n    };\n  },\n  computedMember: function(left, right, context, create, expression) {\n    return function(scope, locals, assign, inputs) {\n      var lhs = left(scope, locals, assign, inputs);\n      var rhs;\n      var value;\n      if (lhs != null) {\n        rhs = right(scope, locals, assign, inputs);\n        rhs = getStringValue(rhs);\n        ensureSafeMemberName(rhs, expression);\n        if (create && create !== 1 && lhs && !(lhs[rhs])) {\n          lhs[rhs] = {};\n        }\n        value = lhs[rhs];\n        ensureSafeObject(value, expression);\n      }\n      if (context) {\n        return {context: lhs, name: rhs, value: value};\n      } else {\n        return value;\n      }\n    };\n  },\n  nonComputedMember: function(left, right, expensiveChecks, context, create, expression) {\n    return function(scope, locals, assign, inputs) {\n      var lhs = left(scope, locals, assign, inputs);\n      if (create && create !== 1 && lhs && !(lhs[right])) {\n        lhs[right] = {};\n      }\n      var value = lhs != null ? lhs[right] : undefined;\n      if (expensiveChecks || isPossiblyDangerousMemberName(right)) {\n        ensureSafeObject(value, expression);\n      }\n      if (context) {\n        return {context: lhs, name: right, value: value};\n      } else {\n        return value;\n      }\n    };\n  },\n  inputs: function(input, watchId) {\n    return function(scope, value, locals, inputs) {\n      if (inputs) return inputs[watchId];\n      return input(scope, value, locals);\n    };\n  }\n};\n\n/**\n * @constructor\n */\nvar Parser = function(lexer, $filter, options) {\n  this.lexer = lexer;\n  this.$filter = $filter;\n  this.options = options;\n  this.ast = new AST(this.lexer);\n  this.astCompiler = options.csp ? new ASTInterpreter(this.ast, $filter) :\n                                   new ASTCompiler(this.ast, $filter);\n};\n\nParser.prototype = {\n  constructor: Parser,\n\n  parse: function(text) {\n    return this.astCompiler.compile(text, this.options.expensiveChecks);\n  }\n};\n\nvar getterFnCacheDefault = createMap();\nvar getterFnCacheExpensive = createMap();\n\nfunction isPossiblyDangerousMemberName(name) {\n  return name == 'constructor';\n}\n\nvar objectValueOf = Object.prototype.valueOf;\n\nfunction getValueOf(value) {\n  return isFunction(value.valueOf) ? value.valueOf() : objectValueOf.call(value);\n}\n\n///////////////////////////////////\n\n/**\n * @ngdoc service\n * @name $parse\n * @kind function\n *\n * @description\n *\n * Converts Angular {@link guide/expression expression} into a function.\n *\n * ```js\n *   var getter = $parse('user.name');\n *   var setter = getter.assign;\n *   var context = {user:{name:'angular'}};\n *   var locals = {user:{name:'local'}};\n *\n *   expect(getter(context)).toEqual('angular');\n *   setter(context, 'newValue');\n *   expect(context.user.name).toEqual('newValue');\n *   expect(getter(context, locals)).toEqual('local');\n * ```\n *\n *\n * @param {string} expression String expression to compile.\n * @returns {function(context, locals)} a function which represents the compiled expression:\n *\n *    * `context` – `{object}` – an object against which any expressions embedded in the strings\n *      are evaluated against (typically a scope object).\n *    * `locals` – `{object=}` – local variables context object, useful for overriding values in\n *      `context`.\n *\n *    The returned function also has the following properties:\n *      * `literal` – `{boolean}` – whether the expression's top-level node is a JavaScript\n *        literal.\n *      * `constant` – `{boolean}` – whether the expression is made entirely of JavaScript\n *        constant literals.\n *      * `assign` – `{?function(context, value)}` – if the expression is assignable, this will be\n *        set to a function to change its value on the given context.\n *\n */\n\n\n/**\n * @ngdoc provider\n * @name $parseProvider\n *\n * @description\n * `$parseProvider` can be used for configuring the default behavior of the {@link ng.$parse $parse}\n *  service.\n */\nfunction $ParseProvider() {\n  var cacheDefault = createMap();\n  var cacheExpensive = createMap();\n\n  this.$get = ['$filter', function($filter) {\n    var noUnsafeEval = csp().noUnsafeEval;\n    var $parseOptions = {\n          csp: noUnsafeEval,\n          expensiveChecks: false\n        },\n        $parseOptionsExpensive = {\n          csp: noUnsafeEval,\n          expensiveChecks: true\n        };\n\n    return function $parse(exp, interceptorFn, expensiveChecks) {\n      var parsedExpression, oneTime, cacheKey;\n\n      switch (typeof exp) {\n        case 'string':\n          exp = exp.trim();\n          cacheKey = exp;\n\n          var cache = (expensiveChecks ? cacheExpensive : cacheDefault);\n          parsedExpression = cache[cacheKey];\n\n          if (!parsedExpression) {\n            if (exp.charAt(0) === ':' && exp.charAt(1) === ':') {\n              oneTime = true;\n              exp = exp.substring(2);\n            }\n            var parseOptions = expensiveChecks ? $parseOptionsExpensive : $parseOptions;\n            var lexer = new Lexer(parseOptions);\n            var parser = new Parser(lexer, $filter, parseOptions);\n            parsedExpression = parser.parse(exp);\n            if (parsedExpression.constant) {\n              parsedExpression.$$watchDelegate = constantWatchDelegate;\n            } else if (oneTime) {\n              parsedExpression.$$watchDelegate = parsedExpression.literal ?\n                  oneTimeLiteralWatchDelegate : oneTimeWatchDelegate;\n            } else if (parsedExpression.inputs) {\n              parsedExpression.$$watchDelegate = inputsWatchDelegate;\n            }\n            cache[cacheKey] = parsedExpression;\n          }\n          return addInterceptor(parsedExpression, interceptorFn);\n\n        case 'function':\n          return addInterceptor(exp, interceptorFn);\n\n        default:\n          return noop;\n      }\n    };\n\n    function expressionInputDirtyCheck(newValue, oldValueOfValue) {\n\n      if (newValue == null || oldValueOfValue == null) { // null/undefined\n        return newValue === oldValueOfValue;\n      }\n\n      if (typeof newValue === 'object') {\n\n        // attempt to convert the value to a primitive type\n        // TODO(docs): add a note to docs that by implementing valueOf even objects and arrays can\n        //             be cheaply dirty-checked\n        newValue = getValueOf(newValue);\n\n        if (typeof newValue === 'object') {\n          // objects/arrays are not supported - deep-watching them would be too expensive\n          return false;\n        }\n\n        // fall-through to the primitive equality check\n      }\n\n      //Primitive or NaN\n      return newValue === oldValueOfValue || (newValue !== newValue && oldValueOfValue !== oldValueOfValue);\n    }\n\n    function inputsWatchDelegate(scope, listener, objectEquality, parsedExpression, prettyPrintExpression) {\n      var inputExpressions = parsedExpression.inputs;\n      var lastResult;\n\n      if (inputExpressions.length === 1) {\n        var oldInputValueOf = expressionInputDirtyCheck; // init to something unique so that equals check fails\n        inputExpressions = inputExpressions[0];\n        return scope.$watch(function expressionInputWatch(scope) {\n          var newInputValue = inputExpressions(scope);\n          if (!expressionInputDirtyCheck(newInputValue, oldInputValueOf)) {\n            lastResult = parsedExpression(scope, undefined, undefined, [newInputValue]);\n            oldInputValueOf = newInputValue && getValueOf(newInputValue);\n          }\n          return lastResult;\n        }, listener, objectEquality, prettyPrintExpression);\n      }\n\n      var oldInputValueOfValues = [];\n      var oldInputValues = [];\n      for (var i = 0, ii = inputExpressions.length; i < ii; i++) {\n        oldInputValueOfValues[i] = expressionInputDirtyCheck; // init to something unique so that equals check fails\n        oldInputValues[i] = null;\n      }\n\n      return scope.$watch(function expressionInputsWatch(scope) {\n        var changed = false;\n\n        for (var i = 0, ii = inputExpressions.length; i < ii; i++) {\n          var newInputValue = inputExpressions[i](scope);\n          if (changed || (changed = !expressionInputDirtyCheck(newInputValue, oldInputValueOfValues[i]))) {\n            oldInputValues[i] = newInputValue;\n            oldInputValueOfValues[i] = newInputValue && getValueOf(newInputValue);\n          }\n        }\n\n        if (changed) {\n          lastResult = parsedExpression(scope, undefined, undefined, oldInputValues);\n        }\n\n        return lastResult;\n      }, listener, objectEquality, prettyPrintExpression);\n    }\n\n    function oneTimeWatchDelegate(scope, listener, objectEquality, parsedExpression) {\n      var unwatch, lastValue;\n      return unwatch = scope.$watch(function oneTimeWatch(scope) {\n        return parsedExpression(scope);\n      }, function oneTimeListener(value, old, scope) {\n        lastValue = value;\n        if (isFunction(listener)) {\n          listener.apply(this, arguments);\n        }\n        if (isDefined(value)) {\n          scope.$$postDigest(function() {\n            if (isDefined(lastValue)) {\n              unwatch();\n            }\n          });\n        }\n      }, objectEquality);\n    }\n\n    function oneTimeLiteralWatchDelegate(scope, listener, objectEquality, parsedExpression) {\n      var unwatch, lastValue;\n      return unwatch = scope.$watch(function oneTimeWatch(scope) {\n        return parsedExpression(scope);\n      }, function oneTimeListener(value, old, scope) {\n        lastValue = value;\n        if (isFunction(listener)) {\n          listener.call(this, value, old, scope);\n        }\n        if (isAllDefined(value)) {\n          scope.$$postDigest(function() {\n            if (isAllDefined(lastValue)) unwatch();\n          });\n        }\n      }, objectEquality);\n\n      function isAllDefined(value) {\n        var allDefined = true;\n        forEach(value, function(val) {\n          if (!isDefined(val)) allDefined = false;\n        });\n        return allDefined;\n      }\n    }\n\n    function constantWatchDelegate(scope, listener, objectEquality, parsedExpression) {\n      var unwatch;\n      return unwatch = scope.$watch(function constantWatch(scope) {\n        return parsedExpression(scope);\n      }, function constantListener(value, old, scope) {\n        if (isFunction(listener)) {\n          listener.apply(this, arguments);\n        }\n        unwatch();\n      }, objectEquality);\n    }\n\n    function addInterceptor(parsedExpression, interceptorFn) {\n      if (!interceptorFn) return parsedExpression;\n      var watchDelegate = parsedExpression.$$watchDelegate;\n      var useInputs = false;\n\n      var regularWatch =\n          watchDelegate !== oneTimeLiteralWatchDelegate &&\n          watchDelegate !== oneTimeWatchDelegate;\n\n      var fn = regularWatch ? function regularInterceptedExpression(scope, locals, assign, inputs) {\n        var value = useInputs && inputs ? inputs[0] : parsedExpression(scope, locals, assign, inputs);\n        return interceptorFn(value, scope, locals);\n      } : function oneTimeInterceptedExpression(scope, locals, assign, inputs) {\n        var value = parsedExpression(scope, locals, assign, inputs);\n        var result = interceptorFn(value, scope, locals);\n        // we only return the interceptor's result if the\n        // initial value is defined (for bind-once)\n        return isDefined(value) ? result : value;\n      };\n\n      // Propagate $$watchDelegates other then inputsWatchDelegate\n      if (parsedExpression.$$watchDelegate &&\n          parsedExpression.$$watchDelegate !== inputsWatchDelegate) {\n        fn.$$watchDelegate = parsedExpression.$$watchDelegate;\n      } else if (!interceptorFn.$stateful) {\n        // If there is an interceptor, but no watchDelegate then treat the interceptor like\n        // we treat filters - it is assumed to be a pure function unless flagged with $stateful\n        fn.$$watchDelegate = inputsWatchDelegate;\n        useInputs = !parsedExpression.inputs;\n        fn.inputs = parsedExpression.inputs ? parsedExpression.inputs : [parsedExpression];\n      }\n\n      return fn;\n    }\n  }];\n}\n\n/**\n * @ngdoc service\n * @name $q\n * @requires $rootScope\n *\n * @description\n * A service that helps you run functions asynchronously, and use their return values (or exceptions)\n * when they are done processing.\n *\n * This is an implementation of promises/deferred objects inspired by\n * [Kris Kowal's Q](https://github.com/kriskowal/q).\n *\n * $q can be used in two fashions --- one which is more similar to Kris Kowal's Q or jQuery's Deferred\n * implementations, and the other which resembles ES6 promises to some degree.\n *\n * # $q constructor\n *\n * The streamlined ES6 style promise is essentially just using $q as a constructor which takes a `resolver`\n * function as the first argument. This is similar to the native Promise implementation from ES6 Harmony,\n * see [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise).\n *\n * While the constructor-style use is supported, not all of the supporting methods from ES6 Harmony promises are\n * available yet.\n *\n * It can be used like so:\n *\n * ```js\n *   // for the purpose of this example let's assume that variables `$q` and `okToGreet`\n *   // are available in the current lexical scope (they could have been injected or passed in).\n *\n *   function asyncGreet(name) {\n *     // perform some asynchronous operation, resolve or reject the promise when appropriate.\n *     return $q(function(resolve, reject) {\n *       setTimeout(function() {\n *         if (okToGreet(name)) {\n *           resolve('Hello, ' + name + '!');\n *         } else {\n *           reject('Greeting ' + name + ' is not allowed.');\n *         }\n *       }, 1000);\n *     });\n *   }\n *\n *   var promise = asyncGreet('Robin Hood');\n *   promise.then(function(greeting) {\n *     alert('Success: ' + greeting);\n *   }, function(reason) {\n *     alert('Failed: ' + reason);\n *   });\n * ```\n *\n * Note: progress/notify callbacks are not currently supported via the ES6-style interface.\n *\n * Note: unlike ES6 behaviour, an exception thrown in the constructor function will NOT implicitly reject the promise.\n *\n * However, the more traditional CommonJS-style usage is still available, and documented below.\n *\n * [The CommonJS Promise proposal](http://wiki.commonjs.org/wiki/Promises) describes a promise as an\n * interface for interacting with an object that represents the result of an action that is\n * performed asynchronously, and may or may not be finished at any given point in time.\n *\n * From the perspective of dealing with error handling, deferred and promise APIs are to\n * asynchronous programming what `try`, `catch` and `throw` keywords are to synchronous programming.\n *\n * ```js\n *   // for the purpose of this example let's assume that variables `$q` and `okToGreet`\n *   // are available in the current lexical scope (they could have been injected or passed in).\n *\n *   function asyncGreet(name) {\n *     var deferred = $q.defer();\n *\n *     setTimeout(function() {\n *       deferred.notify('About to greet ' + name + '.');\n *\n *       if (okToGreet(name)) {\n *         deferred.resolve('Hello, ' + name + '!');\n *       } else {\n *         deferred.reject('Greeting ' + name + ' is not allowed.');\n *       }\n *     }, 1000);\n *\n *     return deferred.promise;\n *   }\n *\n *   var promise = asyncGreet('Robin Hood');\n *   promise.then(function(greeting) {\n *     alert('Success: ' + greeting);\n *   }, function(reason) {\n *     alert('Failed: ' + reason);\n *   }, function(update) {\n *     alert('Got notification: ' + update);\n *   });\n * ```\n *\n * At first it might not be obvious why this extra complexity is worth the trouble. The payoff\n * comes in the way of guarantees that promise and deferred APIs make, see\n * https://github.com/kriskowal/uncommonjs/blob/master/promises/specification.md.\n *\n * Additionally the promise api allows for composition that is very hard to do with the\n * traditional callback ([CPS](http://en.wikipedia.org/wiki/Continuation-passing_style)) approach.\n * For more on this please see the [Q documentation](https://github.com/kriskowal/q) especially the\n * section on serial or parallel joining of promises.\n *\n * # The Deferred API\n *\n * A new instance of deferred is constructed by calling `$q.defer()`.\n *\n * The purpose of the deferred object is to expose the associated Promise instance as well as APIs\n * that can be used for signaling the successful or unsuccessful completion, as well as the status\n * of the task.\n *\n * **Methods**\n *\n * - `resolve(value)` – resolves the derived promise with the `value`. If the value is a rejection\n *   constructed via `$q.reject`, the promise will be rejected instead.\n * - `reject(reason)` – rejects the derived promise with the `reason`. This is equivalent to\n *   resolving it with a rejection constructed via `$q.reject`.\n * - `notify(value)` - provides updates on the status of the promise's execution. This may be called\n *   multiple times before the promise is either resolved or rejected.\n *\n * **Properties**\n *\n * - promise – `{Promise}` – promise object associated with this deferred.\n *\n *\n * # The Promise API\n *\n * A new promise instance is created when a deferred instance is created and can be retrieved by\n * calling `deferred.promise`.\n *\n * The purpose of the promise object is to allow for interested parties to get access to the result\n * of the deferred task when it completes.\n *\n * **Methods**\n *\n * - `then(successCallback, errorCallback, notifyCallback)` – regardless of when the promise was or\n *   will be resolved or rejected, `then` calls one of the success or error callbacks asynchronously\n *   as soon as the result is available. The callbacks are called with a single argument: the result\n *   or rejection reason. Additionally, the notify callback may be called zero or more times to\n *   provide a progress indication, before the promise is resolved or rejected.\n *\n *   This method *returns a new promise* which is resolved or rejected via the return value of the\n *   `successCallback`, `errorCallback` (unless that value is a promise, in which case it is resolved\n *   with the value which is resolved in that promise using\n *   [promise chaining](http://www.html5rocks.com/en/tutorials/es6/promises/#toc-promises-queues)).\n *   It also notifies via the return value of the `notifyCallback` method. The promise cannot be\n *   resolved or rejected from the notifyCallback method.\n *\n * - `catch(errorCallback)` – shorthand for `promise.then(null, errorCallback)`\n *\n * - `finally(callback, notifyCallback)` – allows you to observe either the fulfillment or rejection of a promise,\n *   but to do so without modifying the final value. This is useful to release resources or do some\n *   clean-up that needs to be done whether the promise was rejected or resolved. See the [full\n *   specification](https://github.com/kriskowal/q/wiki/API-Reference#promisefinallycallback) for\n *   more information.\n *\n * # Chaining promises\n *\n * Because calling the `then` method of a promise returns a new derived promise, it is easily\n * possible to create a chain of promises:\n *\n * ```js\n *   promiseB = promiseA.then(function(result) {\n *     return result + 1;\n *   });\n *\n *   // promiseB will be resolved immediately after promiseA is resolved and its value\n *   // will be the result of promiseA incremented by 1\n * ```\n *\n * It is possible to create chains of any length and since a promise can be resolved with another\n * promise (which will defer its resolution further), it is possible to pause/defer resolution of\n * the promises at any point in the chain. This makes it possible to implement powerful APIs like\n * $http's response interceptors.\n *\n *\n * # Differences between Kris Kowal's Q and $q\n *\n *  There are two main differences:\n *\n * - $q is integrated with the {@link ng.$rootScope.Scope} Scope model observation\n *   mechanism in angular, which means faster propagation of resolution or rejection into your\n *   models and avoiding unnecessary browser repaints, which would result in flickering UI.\n * - Q has many more features than $q, but that comes at a cost of bytes. $q is tiny, but contains\n *   all the important functionality needed for common async tasks.\n *\n *  # Testing\n *\n *  ```js\n *    it('should simulate promise', inject(function($q, $rootScope) {\n *      var deferred = $q.defer();\n *      var promise = deferred.promise;\n *      var resolvedValue;\n *\n *      promise.then(function(value) { resolvedValue = value; });\n *      expect(resolvedValue).toBeUndefined();\n *\n *      // Simulate resolving of promise\n *      deferred.resolve(123);\n *      // Note that the 'then' function does not get called synchronously.\n *      // This is because we want the promise API to always be async, whether or not\n *      // it got called synchronously or asynchronously.\n *      expect(resolvedValue).toBeUndefined();\n *\n *      // Propagate promise resolution to 'then' functions using $apply().\n *      $rootScope.$apply();\n *      expect(resolvedValue).toEqual(123);\n *    }));\n *  ```\n *\n * @param {function(function, function)} resolver Function which is responsible for resolving or\n *   rejecting the newly created promise. The first parameter is a function which resolves the\n *   promise, the second parameter is a function which rejects the promise.\n *\n * @returns {Promise} The newly created promise.\n */\nfunction $QProvider() {\n\n  this.$get = ['$rootScope', '$exceptionHandler', function($rootScope, $exceptionHandler) {\n    return qFactory(function(callback) {\n      $rootScope.$evalAsync(callback);\n    }, $exceptionHandler);\n  }];\n}\n\nfunction $$QProvider() {\n  this.$get = ['$browser', '$exceptionHandler', function($browser, $exceptionHandler) {\n    return qFactory(function(callback) {\n      $browser.defer(callback);\n    }, $exceptionHandler);\n  }];\n}\n\n/**\n * Constructs a promise manager.\n *\n * @param {function(function)} nextTick Function for executing functions in the next turn.\n * @param {function(...*)} exceptionHandler Function into which unexpected exceptions are passed for\n *     debugging purposes.\n * @returns {object} Promise manager.\n */\nfunction qFactory(nextTick, exceptionHandler) {\n  var $qMinErr = minErr('$q', TypeError);\n  function callOnce(self, resolveFn, rejectFn) {\n    var called = false;\n    function wrap(fn) {\n      return function(value) {\n        if (called) return;\n        called = true;\n        fn.call(self, value);\n      };\n    }\n\n    return [wrap(resolveFn), wrap(rejectFn)];\n  }\n\n  /**\n   * @ngdoc method\n   * @name ng.$q#defer\n   * @kind function\n   *\n   * @description\n   * Creates a `Deferred` object which represents a task which will finish in the future.\n   *\n   * @returns {Deferred} Returns a new instance of deferred.\n   */\n  var defer = function() {\n    return new Deferred();\n  };\n\n  function Promise() {\n    this.$$state = { status: 0 };\n  }\n\n  extend(Promise.prototype, {\n    then: function(onFulfilled, onRejected, progressBack) {\n      if (isUndefined(onFulfilled) && isUndefined(onRejected) && isUndefined(progressBack)) {\n        return this;\n      }\n      var result = new Deferred();\n\n      this.$$state.pending = this.$$state.pending || [];\n      this.$$state.pending.push([result, onFulfilled, onRejected, progressBack]);\n      if (this.$$state.status > 0) scheduleProcessQueue(this.$$state);\n\n      return result.promise;\n    },\n\n    \"catch\": function(callback) {\n      return this.then(null, callback);\n    },\n\n    \"finally\": function(callback, progressBack) {\n      return this.then(function(value) {\n        return handleCallback(value, true, callback);\n      }, function(error) {\n        return handleCallback(error, false, callback);\n      }, progressBack);\n    }\n  });\n\n  //Faster, more basic than angular.bind http://jsperf.com/angular-bind-vs-custom-vs-native\n  function simpleBind(context, fn) {\n    return function(value) {\n      fn.call(context, value);\n    };\n  }\n\n  function processQueue(state) {\n    var fn, deferred, pending;\n\n    pending = state.pending;\n    state.processScheduled = false;\n    state.pending = undefined;\n    for (var i = 0, ii = pending.length; i < ii; ++i) {\n      deferred = pending[i][0];\n      fn = pending[i][state.status];\n      try {\n        if (isFunction(fn)) {\n          deferred.resolve(fn(state.value));\n        } else if (state.status === 1) {\n          deferred.resolve(state.value);\n        } else {\n          deferred.reject(state.value);\n        }\n      } catch (e) {\n        deferred.reject(e);\n        exceptionHandler(e);\n      }\n    }\n  }\n\n  function scheduleProcessQueue(state) {\n    if (state.processScheduled || !state.pending) return;\n    state.processScheduled = true;\n    nextTick(function() { processQueue(state); });\n  }\n\n  function Deferred() {\n    this.promise = new Promise();\n    //Necessary to support unbound execution :/\n    this.resolve = simpleBind(this, this.resolve);\n    this.reject = simpleBind(this, this.reject);\n    this.notify = simpleBind(this, this.notify);\n  }\n\n  extend(Deferred.prototype, {\n    resolve: function(val) {\n      if (this.promise.$$state.status) return;\n      if (val === this.promise) {\n        this.$$reject($qMinErr(\n          'qcycle',\n          \"Expected promise to be resolved with value other than itself '{0}'\",\n          val));\n      } else {\n        this.$$resolve(val);\n      }\n\n    },\n\n    $$resolve: function(val) {\n      var then, fns;\n\n      fns = callOnce(this, this.$$resolve, this.$$reject);\n      try {\n        if ((isObject(val) || isFunction(val))) then = val && val.then;\n        if (isFunction(then)) {\n          this.promise.$$state.status = -1;\n          then.call(val, fns[0], fns[1], this.notify);\n        } else {\n          this.promise.$$state.value = val;\n          this.promise.$$state.status = 1;\n          scheduleProcessQueue(this.promise.$$state);\n        }\n      } catch (e) {\n        fns[1](e);\n        exceptionHandler(e);\n      }\n    },\n\n    reject: function(reason) {\n      if (this.promise.$$state.status) return;\n      this.$$reject(reason);\n    },\n\n    $$reject: function(reason) {\n      this.promise.$$state.value = reason;\n      this.promise.$$state.status = 2;\n      scheduleProcessQueue(this.promise.$$state);\n    },\n\n    notify: function(progress) {\n      var callbacks = this.promise.$$state.pending;\n\n      if ((this.promise.$$state.status <= 0) && callbacks && callbacks.length) {\n        nextTick(function() {\n          var callback, result;\n          for (var i = 0, ii = callbacks.length; i < ii; i++) {\n            result = callbacks[i][0];\n            callback = callbacks[i][3];\n            try {\n              result.notify(isFunction(callback) ? callback(progress) : progress);\n            } catch (e) {\n              exceptionHandler(e);\n            }\n          }\n        });\n      }\n    }\n  });\n\n  /**\n   * @ngdoc method\n   * @name $q#reject\n   * @kind function\n   *\n   * @description\n   * Creates a promise that is resolved as rejected with the specified `reason`. This api should be\n   * used to forward rejection in a chain of promises. If you are dealing with the last promise in\n   * a promise chain, you don't need to worry about it.\n   *\n   * When comparing deferreds/promises to the familiar behavior of try/catch/throw, think of\n   * `reject` as the `throw` keyword in JavaScript. This also means that if you \"catch\" an error via\n   * a promise error callback and you want to forward the error to the promise derived from the\n   * current promise, you have to \"rethrow\" the error by returning a rejection constructed via\n   * `reject`.\n   *\n   * ```js\n   *   promiseB = promiseA.then(function(result) {\n   *     // success: do something and resolve promiseB\n   *     //          with the old or a new result\n   *     return result;\n   *   }, function(reason) {\n   *     // error: handle the error if possible and\n   *     //        resolve promiseB with newPromiseOrValue,\n   *     //        otherwise forward the rejection to promiseB\n   *     if (canHandle(reason)) {\n   *      // handle the error and recover\n   *      return newPromiseOrValue;\n   *     }\n   *     return $q.reject(reason);\n   *   });\n   * ```\n   *\n   * @param {*} reason Constant, message, exception or an object representing the rejection reason.\n   * @returns {Promise} Returns a promise that was already resolved as rejected with the `reason`.\n   */\n  var reject = function(reason) {\n    var result = new Deferred();\n    result.reject(reason);\n    return result.promise;\n  };\n\n  var makePromise = function makePromise(value, resolved) {\n    var result = new Deferred();\n    if (resolved) {\n      result.resolve(value);\n    } else {\n      result.reject(value);\n    }\n    return result.promise;\n  };\n\n  var handleCallback = function handleCallback(value, isResolved, callback) {\n    var callbackOutput = null;\n    try {\n      if (isFunction(callback)) callbackOutput = callback();\n    } catch (e) {\n      return makePromise(e, false);\n    }\n    if (isPromiseLike(callbackOutput)) {\n      return callbackOutput.then(function() {\n        return makePromise(value, isResolved);\n      }, function(error) {\n        return makePromise(error, false);\n      });\n    } else {\n      return makePromise(value, isResolved);\n    }\n  };\n\n  /**\n   * @ngdoc method\n   * @name $q#when\n   * @kind function\n   *\n   * @description\n   * Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise.\n   * This is useful when you are dealing with an object that might or might not be a promise, or if\n   * the promise comes from a source that can't be trusted.\n   *\n   * @param {*} value Value or a promise\n   * @param {Function=} successCallback\n   * @param {Function=} errorCallback\n   * @param {Function=} progressCallback\n   * @returns {Promise} Returns a promise of the passed value or promise\n   */\n\n\n  var when = function(value, callback, errback, progressBack) {\n    var result = new Deferred();\n    result.resolve(value);\n    return result.promise.then(callback, errback, progressBack);\n  };\n\n  /**\n   * @ngdoc method\n   * @name $q#resolve\n   * @kind function\n   *\n   * @description\n   * Alias of {@link ng.$q#when when} to maintain naming consistency with ES6.\n   *\n   * @param {*} value Value or a promise\n   * @param {Function=} successCallback\n   * @param {Function=} errorCallback\n   * @param {Function=} progressCallback\n   * @returns {Promise} Returns a promise of the passed value or promise\n   */\n  var resolve = when;\n\n  /**\n   * @ngdoc method\n   * @name $q#all\n   * @kind function\n   *\n   * @description\n   * Combines multiple promises into a single promise that is resolved when all of the input\n   * promises are resolved.\n   *\n   * @param {Array.<Promise>|Object.<Promise>} promises An array or hash of promises.\n   * @returns {Promise} Returns a single promise that will be resolved with an array/hash of values,\n   *   each value corresponding to the promise at the same index/key in the `promises` array/hash.\n   *   If any of the promises is resolved with a rejection, this resulting promise will be rejected\n   *   with the same rejection value.\n   */\n\n  function all(promises) {\n    var deferred = new Deferred(),\n        counter = 0,\n        results = isArray(promises) ? [] : {};\n\n    forEach(promises, function(promise, key) {\n      counter++;\n      when(promise).then(function(value) {\n        if (results.hasOwnProperty(key)) return;\n        results[key] = value;\n        if (!(--counter)) deferred.resolve(results);\n      }, function(reason) {\n        if (results.hasOwnProperty(key)) return;\n        deferred.reject(reason);\n      });\n    });\n\n    if (counter === 0) {\n      deferred.resolve(results);\n    }\n\n    return deferred.promise;\n  }\n\n  var $Q = function Q(resolver) {\n    if (!isFunction(resolver)) {\n      throw $qMinErr('norslvr', \"Expected resolverFn, got '{0}'\", resolver);\n    }\n\n    if (!(this instanceof Q)) {\n      // More useful when $Q is the Promise itself.\n      return new Q(resolver);\n    }\n\n    var deferred = new Deferred();\n\n    function resolveFn(value) {\n      deferred.resolve(value);\n    }\n\n    function rejectFn(reason) {\n      deferred.reject(reason);\n    }\n\n    resolver(resolveFn, rejectFn);\n\n    return deferred.promise;\n  };\n\n  $Q.defer = defer;\n  $Q.reject = reject;\n  $Q.when = when;\n  $Q.resolve = resolve;\n  $Q.all = all;\n\n  return $Q;\n}\n\nfunction $$RAFProvider() { //rAF\n  this.$get = ['$window', '$timeout', function($window, $timeout) {\n    var requestAnimationFrame = $window.requestAnimationFrame ||\n                                $window.webkitRequestAnimationFrame;\n\n    var cancelAnimationFrame = $window.cancelAnimationFrame ||\n                               $window.webkitCancelAnimationFrame ||\n                               $window.webkitCancelRequestAnimationFrame;\n\n    var rafSupported = !!requestAnimationFrame;\n    var raf = rafSupported\n      ? function(fn) {\n          var id = requestAnimationFrame(fn);\n          return function() {\n            cancelAnimationFrame(id);\n          };\n        }\n      : function(fn) {\n          var timer = $timeout(fn, 16.66, false); // 1000 / 60 = 16.666\n          return function() {\n            $timeout.cancel(timer);\n          };\n        };\n\n    raf.supported = rafSupported;\n\n    return raf;\n  }];\n}\n\n/**\n * DESIGN NOTES\n *\n * The design decisions behind the scope are heavily favored for speed and memory consumption.\n *\n * The typical use of scope is to watch the expressions, which most of the time return the same\n * value as last time so we optimize the operation.\n *\n * Closures construction is expensive in terms of speed as well as memory:\n *   - No closures, instead use prototypical inheritance for API\n *   - Internal state needs to be stored on scope directly, which means that private state is\n *     exposed as $$____ properties\n *\n * Loop operations are optimized by using while(count--) { ... }\n *   - This means that in order to keep the same order of execution as addition we have to add\n *     items to the array at the beginning (unshift) instead of at the end (push)\n *\n * Child scopes are created and removed often\n *   - Using an array would be slow since inserts in the middle are expensive; so we use linked lists\n *\n * There are fewer watches than observers. This is why you don't want the observer to be implemented\n * in the same way as watch. Watch requires return of the initialization function which is expensive\n * to construct.\n */\n\n\n/**\n * @ngdoc provider\n * @name $rootScopeProvider\n * @description\n *\n * Provider for the $rootScope service.\n */\n\n/**\n * @ngdoc method\n * @name $rootScopeProvider#digestTtl\n * @description\n *\n * Sets the number of `$digest` iterations the scope should attempt to execute before giving up and\n * assuming that the model is unstable.\n *\n * The current default is 10 iterations.\n *\n * In complex applications it's possible that the dependencies between `$watch`s will result in\n * several digest iterations. However if an application needs more than the default 10 digest\n * iterations for its model to stabilize then you should investigate what is causing the model to\n * continuously change during the digest.\n *\n * Increasing the TTL could have performance implications, so you should not change it without\n * proper justification.\n *\n * @param {number} limit The number of digest iterations.\n */\n\n\n/**\n * @ngdoc service\n * @name $rootScope\n * @description\n *\n * Every application has a single root {@link ng.$rootScope.Scope scope}.\n * All other scopes are descendant scopes of the root scope. Scopes provide separation\n * between the model and the view, via a mechanism for watching the model for changes.\n * They also provide event emission/broadcast and subscription facility. See the\n * {@link guide/scope developer guide on scopes}.\n */\nfunction $RootScopeProvider() {\n  var TTL = 10;\n  var $rootScopeMinErr = minErr('$rootScope');\n  var lastDirtyWatch = null;\n  var applyAsyncId = null;\n\n  this.digestTtl = function(value) {\n    if (arguments.length) {\n      TTL = value;\n    }\n    return TTL;\n  };\n\n  function createChildScopeClass(parent) {\n    function ChildScope() {\n      this.$$watchers = this.$$nextSibling =\n          this.$$childHead = this.$$childTail = null;\n      this.$$listeners = {};\n      this.$$listenerCount = {};\n      this.$$watchersCount = 0;\n      this.$id = nextUid();\n      this.$$ChildScope = null;\n    }\n    ChildScope.prototype = parent;\n    return ChildScope;\n  }\n\n  this.$get = ['$injector', '$exceptionHandler', '$parse', '$browser',\n      function($injector, $exceptionHandler, $parse, $browser) {\n\n    function destroyChildScope($event) {\n        $event.currentScope.$$destroyed = true;\n    }\n\n    function cleanUpScope($scope) {\n\n      if (msie === 9) {\n        // There is a memory leak in IE9 if all child scopes are not disconnected\n        // completely when a scope is destroyed. So this code will recurse up through\n        // all this scopes children\n        //\n        // See issue https://github.com/angular/angular.js/issues/10706\n        $scope.$$childHead && cleanUpScope($scope.$$childHead);\n        $scope.$$nextSibling && cleanUpScope($scope.$$nextSibling);\n      }\n\n      // The code below works around IE9 and V8's memory leaks\n      //\n      // See:\n      // - https://code.google.com/p/v8/issues/detail?id=2073#c26\n      // - https://github.com/angular/angular.js/issues/6794#issuecomment-38648909\n      // - https://github.com/angular/angular.js/issues/1313#issuecomment-10378451\n\n      $scope.$parent = $scope.$$nextSibling = $scope.$$prevSibling = $scope.$$childHead =\n          $scope.$$childTail = $scope.$root = $scope.$$watchers = null;\n    }\n\n    /**\n     * @ngdoc type\n     * @name $rootScope.Scope\n     *\n     * @description\n     * A root scope can be retrieved using the {@link ng.$rootScope $rootScope} key from the\n     * {@link auto.$injector $injector}. Child scopes are created using the\n     * {@link ng.$rootScope.Scope#$new $new()} method. (Most scopes are created automatically when\n     * compiled HTML template is executed.) See also the {@link guide/scope Scopes guide} for\n     * an in-depth introduction and usage examples.\n     *\n     *\n     * # Inheritance\n     * A scope can inherit from a parent scope, as in this example:\n     * ```js\n         var parent = $rootScope;\n         var child = parent.$new();\n\n         parent.salutation = \"Hello\";\n         expect(child.salutation).toEqual('Hello');\n\n         child.salutation = \"Welcome\";\n         expect(child.salutation).toEqual('Welcome');\n         expect(parent.salutation).toEqual('Hello');\n     * ```\n     *\n     * When interacting with `Scope` in tests, additional helper methods are available on the\n     * instances of `Scope` type. See {@link ngMock.$rootScope.Scope ngMock Scope} for additional\n     * details.\n     *\n     *\n     * @param {Object.<string, function()>=} providers Map of service factory which need to be\n     *                                       provided for the current scope. Defaults to {@link ng}.\n     * @param {Object.<string, *>=} instanceCache Provides pre-instantiated services which should\n     *                              append/override services provided by `providers`. This is handy\n     *                              when unit-testing and having the need to override a default\n     *                              service.\n     * @returns {Object} Newly created scope.\n     *\n     */\n    function Scope() {\n      this.$id = nextUid();\n      this.$$phase = this.$parent = this.$$watchers =\n                     this.$$nextSibling = this.$$prevSibling =\n                     this.$$childHead = this.$$childTail = null;\n      this.$root = this;\n      this.$$destroyed = false;\n      this.$$listeners = {};\n      this.$$listenerCount = {};\n      this.$$watchersCount = 0;\n      this.$$isolateBindings = null;\n    }\n\n    /**\n     * @ngdoc property\n     * @name $rootScope.Scope#$id\n     *\n     * @description\n     * Unique scope ID (monotonically increasing) useful for debugging.\n     */\n\n     /**\n      * @ngdoc property\n      * @name $rootScope.Scope#$parent\n      *\n      * @description\n      * Reference to the parent scope.\n      */\n\n      /**\n       * @ngdoc property\n       * @name $rootScope.Scope#$root\n       *\n       * @description\n       * Reference to the root scope.\n       */\n\n    Scope.prototype = {\n      constructor: Scope,\n      /**\n       * @ngdoc method\n       * @name $rootScope.Scope#$new\n       * @kind function\n       *\n       * @description\n       * Creates a new child {@link ng.$rootScope.Scope scope}.\n       *\n       * The parent scope will propagate the {@link ng.$rootScope.Scope#$digest $digest()} event.\n       * The scope can be removed from the scope hierarchy using {@link ng.$rootScope.Scope#$destroy $destroy()}.\n       *\n       * {@link ng.$rootScope.Scope#$destroy $destroy()} must be called on a scope when it is\n       * desired for the scope and its child scopes to be permanently detached from the parent and\n       * thus stop participating in model change detection and listener notification by invoking.\n       *\n       * @param {boolean} isolate If true, then the scope does not prototypically inherit from the\n       *         parent scope. The scope is isolated, as it can not see parent scope properties.\n       *         When creating widgets, it is useful for the widget to not accidentally read parent\n       *         state.\n       *\n       * @param {Scope} [parent=this] The {@link ng.$rootScope.Scope `Scope`} that will be the `$parent`\n       *                              of the newly created scope. Defaults to `this` scope if not provided.\n       *                              This is used when creating a transclude scope to correctly place it\n       *                              in the scope hierarchy while maintaining the correct prototypical\n       *                              inheritance.\n       *\n       * @returns {Object} The newly created child scope.\n       *\n       */\n      $new: function(isolate, parent) {\n        var child;\n\n        parent = parent || this;\n\n        if (isolate) {\n          child = new Scope();\n          child.$root = this.$root;\n        } else {\n          // Only create a child scope class if somebody asks for one,\n          // but cache it to allow the VM to optimize lookups.\n          if (!this.$$ChildScope) {\n            this.$$ChildScope = createChildScopeClass(this);\n          }\n          child = new this.$$ChildScope();\n        }\n        child.$parent = parent;\n        child.$$prevSibling = parent.$$childTail;\n        if (parent.$$childHead) {\n          parent.$$childTail.$$nextSibling = child;\n          parent.$$childTail = child;\n        } else {\n          parent.$$childHead = parent.$$childTail = child;\n        }\n\n        // When the new scope is not isolated or we inherit from `this`, and\n        // the parent scope is destroyed, the property `$$destroyed` is inherited\n        // prototypically. In all other cases, this property needs to be set\n        // when the parent scope is destroyed.\n        // The listener needs to be added after the parent is set\n        if (isolate || parent != this) child.$on('$destroy', destroyChildScope);\n\n        return child;\n      },\n\n      /**\n       * @ngdoc method\n       * @name $rootScope.Scope#$watch\n       * @kind function\n       *\n       * @description\n       * Registers a `listener` callback to be executed whenever the `watchExpression` changes.\n       *\n       * - The `watchExpression` is called on every call to {@link ng.$rootScope.Scope#$digest\n       *   $digest()} and should return the value that will be watched. (`watchExpression` should not change\n       *   its value when executed multiple times with the same input because it may be executed multiple\n       *   times by {@link ng.$rootScope.Scope#$digest $digest()}. That is, `watchExpression` should be\n       *   [idempotent](http://en.wikipedia.org/wiki/Idempotence).\n       * - The `listener` is called only when the value from the current `watchExpression` and the\n       *   previous call to `watchExpression` are not equal (with the exception of the initial run,\n       *   see below). Inequality is determined according to reference inequality,\n       *   [strict comparison](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Comparison_Operators)\n       *    via the `!==` Javascript operator, unless `objectEquality == true`\n       *   (see next point)\n       * - When `objectEquality == true`, inequality of the `watchExpression` is determined\n       *   according to the {@link angular.equals} function. To save the value of the object for\n       *   later comparison, the {@link angular.copy} function is used. This therefore means that\n       *   watching complex objects will have adverse memory and performance implications.\n       * - The watch `listener` may change the model, which may trigger other `listener`s to fire.\n       *   This is achieved by rerunning the watchers until no changes are detected. The rerun\n       *   iteration limit is 10 to prevent an infinite loop deadlock.\n       *\n       *\n       * If you want to be notified whenever {@link ng.$rootScope.Scope#$digest $digest} is called,\n       * you can register a `watchExpression` function with no `listener`. (Be prepared for\n       * multiple calls to your `watchExpression` because it will execute multiple times in a\n       * single {@link ng.$rootScope.Scope#$digest $digest} cycle if a change is detected.)\n       *\n       * After a watcher is registered with the scope, the `listener` fn is called asynchronously\n       * (via {@link ng.$rootScope.Scope#$evalAsync $evalAsync}) to initialize the\n       * watcher. In rare cases, this is undesirable because the listener is called when the result\n       * of `watchExpression` didn't change. To detect this scenario within the `listener` fn, you\n       * can compare the `newVal` and `oldVal`. If these two values are identical (`===`) then the\n       * listener was called due to initialization.\n       *\n       *\n       *\n       * # Example\n       * ```js\n           // let's assume that scope was dependency injected as the $rootScope\n           var scope = $rootScope;\n           scope.name = 'misko';\n           scope.counter = 0;\n\n           expect(scope.counter).toEqual(0);\n           scope.$watch('name', function(newValue, oldValue) {\n             scope.counter = scope.counter + 1;\n           });\n           expect(scope.counter).toEqual(0);\n\n           scope.$digest();\n           // the listener is always called during the first $digest loop after it was registered\n           expect(scope.counter).toEqual(1);\n\n           scope.$digest();\n           // but now it will not be called unless the value changes\n           expect(scope.counter).toEqual(1);\n\n           scope.name = 'adam';\n           scope.$digest();\n           expect(scope.counter).toEqual(2);\n\n\n\n           // Using a function as a watchExpression\n           var food;\n           scope.foodCounter = 0;\n           expect(scope.foodCounter).toEqual(0);\n           scope.$watch(\n             // This function returns the value being watched. It is called for each turn of the $digest loop\n             function() { return food; },\n             // This is the change listener, called when the value returned from the above function changes\n             function(newValue, oldValue) {\n               if ( newValue !== oldValue ) {\n                 // Only increment the counter if the value changed\n                 scope.foodCounter = scope.foodCounter + 1;\n               }\n             }\n           );\n           // No digest has been run so the counter will be zero\n           expect(scope.foodCounter).toEqual(0);\n\n           // Run the digest but since food has not changed count will still be zero\n           scope.$digest();\n           expect(scope.foodCounter).toEqual(0);\n\n           // Update food and run digest.  Now the counter will increment\n           food = 'cheeseburger';\n           scope.$digest();\n           expect(scope.foodCounter).toEqual(1);\n\n       * ```\n       *\n       *\n       *\n       * @param {(function()|string)} watchExpression Expression that is evaluated on each\n       *    {@link ng.$rootScope.Scope#$digest $digest} cycle. A change in the return value triggers\n       *    a call to the `listener`.\n       *\n       *    - `string`: Evaluated as {@link guide/expression expression}\n       *    - `function(scope)`: called with current `scope` as a parameter.\n       * @param {function(newVal, oldVal, scope)} listener Callback called whenever the value\n       *    of `watchExpression` changes.\n       *\n       *    - `newVal` contains the current value of the `watchExpression`\n       *    - `oldVal` contains the previous value of the `watchExpression`\n       *    - `scope` refers to the current scope\n       * @param {boolean=} objectEquality Compare for object equality using {@link angular.equals} instead of\n       *     comparing for reference equality.\n       * @returns {function()} Returns a deregistration function for this listener.\n       */\n      $watch: function(watchExp, listener, objectEquality, prettyPrintExpression) {\n        var get = $parse(watchExp);\n\n        if (get.$$watchDelegate) {\n          return get.$$watchDelegate(this, listener, objectEquality, get, watchExp);\n        }\n        var scope = this,\n            array = scope.$$watchers,\n            watcher = {\n              fn: listener,\n              last: initWatchVal,\n              get: get,\n              exp: prettyPrintExpression || watchExp,\n              eq: !!objectEquality\n            };\n\n        lastDirtyWatch = null;\n\n        if (!isFunction(listener)) {\n          watcher.fn = noop;\n        }\n\n        if (!array) {\n          array = scope.$$watchers = [];\n        }\n        // we use unshift since we use a while loop in $digest for speed.\n        // the while loop reads in reverse order.\n        array.unshift(watcher);\n        incrementWatchersCount(this, 1);\n\n        return function deregisterWatch() {\n          if (arrayRemove(array, watcher) >= 0) {\n            incrementWatchersCount(scope, -1);\n          }\n          lastDirtyWatch = null;\n        };\n      },\n\n      /**\n       * @ngdoc method\n       * @name $rootScope.Scope#$watchGroup\n       * @kind function\n       *\n       * @description\n       * A variant of {@link ng.$rootScope.Scope#$watch $watch()} where it watches an array of `watchExpressions`.\n       * If any one expression in the collection changes the `listener` is executed.\n       *\n       * - The items in the `watchExpressions` array are observed via standard $watch operation and are examined on every\n       *   call to $digest() to see if any items changes.\n       * - The `listener` is called whenever any expression in the `watchExpressions` array changes.\n       *\n       * @param {Array.<string|Function(scope)>} watchExpressions Array of expressions that will be individually\n       * watched using {@link ng.$rootScope.Scope#$watch $watch()}\n       *\n       * @param {function(newValues, oldValues, scope)} listener Callback called whenever the return value of any\n       *    expression in `watchExpressions` changes\n       *    The `newValues` array contains the current values of the `watchExpressions`, with the indexes matching\n       *    those of `watchExpression`\n       *    and the `oldValues` array contains the previous values of the `watchExpressions`, with the indexes matching\n       *    those of `watchExpression`\n       *    The `scope` refers to the current scope.\n       * @returns {function()} Returns a de-registration function for all listeners.\n       */\n      $watchGroup: function(watchExpressions, listener) {\n        var oldValues = new Array(watchExpressions.length);\n        var newValues = new Array(watchExpressions.length);\n        var deregisterFns = [];\n        var self = this;\n        var changeReactionScheduled = false;\n        var firstRun = true;\n\n        if (!watchExpressions.length) {\n          // No expressions means we call the listener ASAP\n          var shouldCall = true;\n          self.$evalAsync(function() {\n            if (shouldCall) listener(newValues, newValues, self);\n          });\n          return function deregisterWatchGroup() {\n            shouldCall = false;\n          };\n        }\n\n        if (watchExpressions.length === 1) {\n          // Special case size of one\n          return this.$watch(watchExpressions[0], function watchGroupAction(value, oldValue, scope) {\n            newValues[0] = value;\n            oldValues[0] = oldValue;\n            listener(newValues, (value === oldValue) ? newValues : oldValues, scope);\n          });\n        }\n\n        forEach(watchExpressions, function(expr, i) {\n          var unwatchFn = self.$watch(expr, function watchGroupSubAction(value, oldValue) {\n            newValues[i] = value;\n            oldValues[i] = oldValue;\n            if (!changeReactionScheduled) {\n              changeReactionScheduled = true;\n              self.$evalAsync(watchGroupAction);\n            }\n          });\n          deregisterFns.push(unwatchFn);\n        });\n\n        function watchGroupAction() {\n          changeReactionScheduled = false;\n\n          if (firstRun) {\n            firstRun = false;\n            listener(newValues, newValues, self);\n          } else {\n            listener(newValues, oldValues, self);\n          }\n        }\n\n        return function deregisterWatchGroup() {\n          while (deregisterFns.length) {\n            deregisterFns.shift()();\n          }\n        };\n      },\n\n\n      /**\n       * @ngdoc method\n       * @name $rootScope.Scope#$watchCollection\n       * @kind function\n       *\n       * @description\n       * Shallow watches the properties of an object and fires whenever any of the properties change\n       * (for arrays, this implies watching the array items; for object maps, this implies watching\n       * the properties). If a change is detected, the `listener` callback is fired.\n       *\n       * - The `obj` collection is observed via standard $watch operation and is examined on every\n       *   call to $digest() to see if any items have been added, removed, or moved.\n       * - The `listener` is called whenever anything within the `obj` has changed. Examples include\n       *   adding, removing, and moving items belonging to an object or array.\n       *\n       *\n       * # Example\n       * ```js\n          $scope.names = ['igor', 'matias', 'misko', 'james'];\n          $scope.dataCount = 4;\n\n          $scope.$watchCollection('names', function(newNames, oldNames) {\n            $scope.dataCount = newNames.length;\n          });\n\n          expect($scope.dataCount).toEqual(4);\n          $scope.$digest();\n\n          //still at 4 ... no changes\n          expect($scope.dataCount).toEqual(4);\n\n          $scope.names.pop();\n          $scope.$digest();\n\n          //now there's been a change\n          expect($scope.dataCount).toEqual(3);\n       * ```\n       *\n       *\n       * @param {string|function(scope)} obj Evaluated as {@link guide/expression expression}. The\n       *    expression value should evaluate to an object or an array which is observed on each\n       *    {@link ng.$rootScope.Scope#$digest $digest} cycle. Any shallow change within the\n       *    collection will trigger a call to the `listener`.\n       *\n       * @param {function(newCollection, oldCollection, scope)} listener a callback function called\n       *    when a change is detected.\n       *    - The `newCollection` object is the newly modified data obtained from the `obj` expression\n       *    - The `oldCollection` object is a copy of the former collection data.\n       *      Due to performance considerations, the`oldCollection` value is computed only if the\n       *      `listener` function declares two or more arguments.\n       *    - The `scope` argument refers to the current scope.\n       *\n       * @returns {function()} Returns a de-registration function for this listener. When the\n       *    de-registration function is executed, the internal watch operation is terminated.\n       */\n      $watchCollection: function(obj, listener) {\n        $watchCollectionInterceptor.$stateful = true;\n\n        var self = this;\n        // the current value, updated on each dirty-check run\n        var newValue;\n        // a shallow copy of the newValue from the last dirty-check run,\n        // updated to match newValue during dirty-check run\n        var oldValue;\n        // a shallow copy of the newValue from when the last change happened\n        var veryOldValue;\n        // only track veryOldValue if the listener is asking for it\n        var trackVeryOldValue = (listener.length > 1);\n        var changeDetected = 0;\n        var changeDetector = $parse(obj, $watchCollectionInterceptor);\n        var internalArray = [];\n        var internalObject = {};\n        var initRun = true;\n        var oldLength = 0;\n\n        function $watchCollectionInterceptor(_value) {\n          newValue = _value;\n          var newLength, key, bothNaN, newItem, oldItem;\n\n          // If the new value is undefined, then return undefined as the watch may be a one-time watch\n          if (isUndefined(newValue)) return;\n\n          if (!isObject(newValue)) { // if primitive\n            if (oldValue !== newValue) {\n              oldValue = newValue;\n              changeDetected++;\n            }\n          } else if (isArrayLike(newValue)) {\n            if (oldValue !== internalArray) {\n              // we are transitioning from something which was not an array into array.\n              oldValue = internalArray;\n              oldLength = oldValue.length = 0;\n              changeDetected++;\n            }\n\n            newLength = newValue.length;\n\n            if (oldLength !== newLength) {\n              // if lengths do not match we need to trigger change notification\n              changeDetected++;\n              oldValue.length = oldLength = newLength;\n            }\n            // copy the items to oldValue and look for changes.\n            for (var i = 0; i < newLength; i++) {\n              oldItem = oldValue[i];\n              newItem = newValue[i];\n\n              bothNaN = (oldItem !== oldItem) && (newItem !== newItem);\n              if (!bothNaN && (oldItem !== newItem)) {\n                changeDetected++;\n                oldValue[i] = newItem;\n              }\n            }\n          } else {\n            if (oldValue !== internalObject) {\n              // we are transitioning from something which was not an object into object.\n              oldValue = internalObject = {};\n              oldLength = 0;\n              changeDetected++;\n            }\n            // copy the items to oldValue and look for changes.\n            newLength = 0;\n            for (key in newValue) {\n              if (hasOwnProperty.call(newValue, key)) {\n                newLength++;\n                newItem = newValue[key];\n                oldItem = oldValue[key];\n\n                if (key in oldValue) {\n                  bothNaN = (oldItem !== oldItem) && (newItem !== newItem);\n                  if (!bothNaN && (oldItem !== newItem)) {\n                    changeDetected++;\n                    oldValue[key] = newItem;\n                  }\n                } else {\n                  oldLength++;\n                  oldValue[key] = newItem;\n                  changeDetected++;\n                }\n              }\n            }\n            if (oldLength > newLength) {\n              // we used to have more keys, need to find them and destroy them.\n              changeDetected++;\n              for (key in oldValue) {\n                if (!hasOwnProperty.call(newValue, key)) {\n                  oldLength--;\n                  delete oldValue[key];\n                }\n              }\n            }\n          }\n          return changeDetected;\n        }\n\n        function $watchCollectionAction() {\n          if (initRun) {\n            initRun = false;\n            listener(newValue, newValue, self);\n          } else {\n            listener(newValue, veryOldValue, self);\n          }\n\n          // make a copy for the next time a collection is changed\n          if (trackVeryOldValue) {\n            if (!isObject(newValue)) {\n              //primitive\n              veryOldValue = newValue;\n            } else if (isArrayLike(newValue)) {\n              veryOldValue = new Array(newValue.length);\n              for (var i = 0; i < newValue.length; i++) {\n                veryOldValue[i] = newValue[i];\n              }\n            } else { // if object\n              veryOldValue = {};\n              for (var key in newValue) {\n                if (hasOwnProperty.call(newValue, key)) {\n                  veryOldValue[key] = newValue[key];\n                }\n              }\n            }\n          }\n        }\n\n        return this.$watch(changeDetector, $watchCollectionAction);\n      },\n\n      /**\n       * @ngdoc method\n       * @name $rootScope.Scope#$digest\n       * @kind function\n       *\n       * @description\n       * Processes all of the {@link ng.$rootScope.Scope#$watch watchers} of the current scope and\n       * its children. Because a {@link ng.$rootScope.Scope#$watch watcher}'s listener can change\n       * the model, the `$digest()` keeps calling the {@link ng.$rootScope.Scope#$watch watchers}\n       * until no more listeners are firing. This means that it is possible to get into an infinite\n       * loop. This function will throw `'Maximum iteration limit exceeded.'` if the number of\n       * iterations exceeds 10.\n       *\n       * Usually, you don't call `$digest()` directly in\n       * {@link ng.directive:ngController controllers} or in\n       * {@link ng.$compileProvider#directive directives}.\n       * Instead, you should call {@link ng.$rootScope.Scope#$apply $apply()} (typically from within\n       * a {@link ng.$compileProvider#directive directive}), which will force a `$digest()`.\n       *\n       * If you want to be notified whenever `$digest()` is called,\n       * you can register a `watchExpression` function with\n       * {@link ng.$rootScope.Scope#$watch $watch()} with no `listener`.\n       *\n       * In unit tests, you may need to call `$digest()` to simulate the scope life cycle.\n       *\n       * # Example\n       * ```js\n           var scope = ...;\n           scope.name = 'misko';\n           scope.counter = 0;\n\n           expect(scope.counter).toEqual(0);\n           scope.$watch('name', function(newValue, oldValue) {\n             scope.counter = scope.counter + 1;\n           });\n           expect(scope.counter).toEqual(0);\n\n           scope.$digest();\n           // the listener is always called during the first $digest loop after it was registered\n           expect(scope.counter).toEqual(1);\n\n           scope.$digest();\n           // but now it will not be called unless the value changes\n           expect(scope.counter).toEqual(1);\n\n           scope.name = 'adam';\n           scope.$digest();\n           expect(scope.counter).toEqual(2);\n       * ```\n       *\n       */\n      $digest: function() {\n        var watch, value, last,\n            watchers,\n            length,\n            dirty, ttl = TTL,\n            next, current, target = this,\n            watchLog = [],\n            logIdx, logMsg, asyncTask;\n\n        beginPhase('$digest');\n        // Check for changes to browser url that happened in sync before the call to $digest\n        $browser.$$checkUrlChange();\n\n        if (this === $rootScope && applyAsyncId !== null) {\n          // If this is the root scope, and $applyAsync has scheduled a deferred $apply(), then\n          // cancel the scheduled $apply and flush the queue of expressions to be evaluated.\n          $browser.defer.cancel(applyAsyncId);\n          flushApplyAsync();\n        }\n\n        lastDirtyWatch = null;\n\n        do { // \"while dirty\" loop\n          dirty = false;\n          current = target;\n\n          while (asyncQueue.length) {\n            try {\n              asyncTask = asyncQueue.shift();\n              asyncTask.scope.$eval(asyncTask.expression, asyncTask.locals);\n            } catch (e) {\n              $exceptionHandler(e);\n            }\n            lastDirtyWatch = null;\n          }\n\n          traverseScopesLoop:\n          do { // \"traverse the scopes\" loop\n            if ((watchers = current.$$watchers)) {\n              // process our watches\n              length = watchers.length;\n              while (length--) {\n                try {\n                  watch = watchers[length];\n                  // Most common watches are on primitives, in which case we can short\n                  // circuit it with === operator, only when === fails do we use .equals\n                  if (watch) {\n                    if ((value = watch.get(current)) !== (last = watch.last) &&\n                        !(watch.eq\n                            ? equals(value, last)\n                            : (typeof value === 'number' && typeof last === 'number'\n                               && isNaN(value) && isNaN(last)))) {\n                      dirty = true;\n                      lastDirtyWatch = watch;\n                      watch.last = watch.eq ? copy(value, null) : value;\n                      watch.fn(value, ((last === initWatchVal) ? value : last), current);\n                      if (ttl < 5) {\n                        logIdx = 4 - ttl;\n                        if (!watchLog[logIdx]) watchLog[logIdx] = [];\n                        watchLog[logIdx].push({\n                          msg: isFunction(watch.exp) ? 'fn: ' + (watch.exp.name || watch.exp.toString()) : watch.exp,\n                          newVal: value,\n                          oldVal: last\n                        });\n                      }\n                    } else if (watch === lastDirtyWatch) {\n                      // If the most recently dirty watcher is now clean, short circuit since the remaining watchers\n                      // have already been tested.\n                      dirty = false;\n                      break traverseScopesLoop;\n                    }\n                  }\n                } catch (e) {\n                  $exceptionHandler(e);\n                }\n              }\n            }\n\n            // Insanity Warning: scope depth-first traversal\n            // yes, this code is a bit crazy, but it works and we have tests to prove it!\n            // this piece should be kept in sync with the traversal in $broadcast\n            if (!(next = ((current.$$watchersCount && current.$$childHead) ||\n                (current !== target && current.$$nextSibling)))) {\n              while (current !== target && !(next = current.$$nextSibling)) {\n                current = current.$parent;\n              }\n            }\n          } while ((current = next));\n\n          // `break traverseScopesLoop;` takes us to here\n\n          if ((dirty || asyncQueue.length) && !(ttl--)) {\n            clearPhase();\n            throw $rootScopeMinErr('infdig',\n                '{0} $digest() iterations reached. Aborting!\\n' +\n                'Watchers fired in the last 5 iterations: {1}',\n                TTL, watchLog);\n          }\n\n        } while (dirty || asyncQueue.length);\n\n        clearPhase();\n\n        while (postDigestQueue.length) {\n          try {\n            postDigestQueue.shift()();\n          } catch (e) {\n            $exceptionHandler(e);\n          }\n        }\n      },\n\n\n      /**\n       * @ngdoc event\n       * @name $rootScope.Scope#$destroy\n       * @eventType broadcast on scope being destroyed\n       *\n       * @description\n       * Broadcasted when a scope and its children are being destroyed.\n       *\n       * Note that, in AngularJS, there is also a `$destroy` jQuery event, which can be used to\n       * clean up DOM bindings before an element is removed from the DOM.\n       */\n\n      /**\n       * @ngdoc method\n       * @name $rootScope.Scope#$destroy\n       * @kind function\n       *\n       * @description\n       * Removes the current scope (and all of its children) from the parent scope. Removal implies\n       * that calls to {@link ng.$rootScope.Scope#$digest $digest()} will no longer\n       * propagate to the current scope and its children. Removal also implies that the current\n       * scope is eligible for garbage collection.\n       *\n       * The `$destroy()` is usually used by directives such as\n       * {@link ng.directive:ngRepeat ngRepeat} for managing the\n       * unrolling of the loop.\n       *\n       * Just before a scope is destroyed, a `$destroy` event is broadcasted on this scope.\n       * Application code can register a `$destroy` event handler that will give it a chance to\n       * perform any necessary cleanup.\n       *\n       * Note that, in AngularJS, there is also a `$destroy` jQuery event, which can be used to\n       * clean up DOM bindings before an element is removed from the DOM.\n       */\n      $destroy: function() {\n        // We can't destroy a scope that has been already destroyed.\n        if (this.$$destroyed) return;\n        var parent = this.$parent;\n\n        this.$broadcast('$destroy');\n        this.$$destroyed = true;\n\n        if (this === $rootScope) {\n          //Remove handlers attached to window when $rootScope is removed\n          $browser.$$applicationDestroyed();\n        }\n\n        incrementWatchersCount(this, -this.$$watchersCount);\n        for (var eventName in this.$$listenerCount) {\n          decrementListenerCount(this, this.$$listenerCount[eventName], eventName);\n        }\n\n        // sever all the references to parent scopes (after this cleanup, the current scope should\n        // not be retained by any of our references and should be eligible for garbage collection)\n        if (parent && parent.$$childHead == this) parent.$$childHead = this.$$nextSibling;\n        if (parent && parent.$$childTail == this) parent.$$childTail = this.$$prevSibling;\n        if (this.$$prevSibling) this.$$prevSibling.$$nextSibling = this.$$nextSibling;\n        if (this.$$nextSibling) this.$$nextSibling.$$prevSibling = this.$$prevSibling;\n\n        // Disable listeners, watchers and apply/digest methods\n        this.$destroy = this.$digest = this.$apply = this.$evalAsync = this.$applyAsync = noop;\n        this.$on = this.$watch = this.$watchGroup = function() { return noop; };\n        this.$$listeners = {};\n\n        // Disconnect the next sibling to prevent `cleanUpScope` destroying those too\n        this.$$nextSibling = null;\n        cleanUpScope(this);\n      },\n\n      /**\n       * @ngdoc method\n       * @name $rootScope.Scope#$eval\n       * @kind function\n       *\n       * @description\n       * Executes the `expression` on the current scope and returns the result. Any exceptions in\n       * the expression are propagated (uncaught). This is useful when evaluating Angular\n       * expressions.\n       *\n       * # Example\n       * ```js\n           var scope = ng.$rootScope.Scope();\n           scope.a = 1;\n           scope.b = 2;\n\n           expect(scope.$eval('a+b')).toEqual(3);\n           expect(scope.$eval(function(scope){ return scope.a + scope.b; })).toEqual(3);\n       * ```\n       *\n       * @param {(string|function())=} expression An angular expression to be executed.\n       *\n       *    - `string`: execute using the rules as defined in  {@link guide/expression expression}.\n       *    - `function(scope)`: execute the function with the current `scope` parameter.\n       *\n       * @param {(object)=} locals Local variables object, useful for overriding values in scope.\n       * @returns {*} The result of evaluating the expression.\n       */\n      $eval: function(expr, locals) {\n        return $parse(expr)(this, locals);\n      },\n\n      /**\n       * @ngdoc method\n       * @name $rootScope.Scope#$evalAsync\n       * @kind function\n       *\n       * @description\n       * Executes the expression on the current scope at a later point in time.\n       *\n       * The `$evalAsync` makes no guarantees as to when the `expression` will be executed, only\n       * that:\n       *\n       *   - it will execute after the function that scheduled the evaluation (preferably before DOM\n       *     rendering).\n       *   - at least one {@link ng.$rootScope.Scope#$digest $digest cycle} will be performed after\n       *     `expression` execution.\n       *\n       * Any exceptions from the execution of the expression are forwarded to the\n       * {@link ng.$exceptionHandler $exceptionHandler} service.\n       *\n       * __Note:__ if this function is called outside of a `$digest` cycle, a new `$digest` cycle\n       * will be scheduled. However, it is encouraged to always call code that changes the model\n       * from within an `$apply` call. That includes code evaluated via `$evalAsync`.\n       *\n       * @param {(string|function())=} expression An angular expression to be executed.\n       *\n       *    - `string`: execute using the rules as defined in {@link guide/expression expression}.\n       *    - `function(scope)`: execute the function with the current `scope` parameter.\n       *\n       * @param {(object)=} locals Local variables object, useful for overriding values in scope.\n       */\n      $evalAsync: function(expr, locals) {\n        // if we are outside of an $digest loop and this is the first time we are scheduling async\n        // task also schedule async auto-flush\n        if (!$rootScope.$$phase && !asyncQueue.length) {\n          $browser.defer(function() {\n            if (asyncQueue.length) {\n              $rootScope.$digest();\n            }\n          });\n        }\n\n        asyncQueue.push({scope: this, expression: expr, locals: locals});\n      },\n\n      $$postDigest: function(fn) {\n        postDigestQueue.push(fn);\n      },\n\n      /**\n       * @ngdoc method\n       * @name $rootScope.Scope#$apply\n       * @kind function\n       *\n       * @description\n       * `$apply()` is used to execute an expression in angular from outside of the angular\n       * framework. (For example from browser DOM events, setTimeout, XHR or third party libraries).\n       * Because we are calling into the angular framework we need to perform proper scope life\n       * cycle of {@link ng.$exceptionHandler exception handling},\n       * {@link ng.$rootScope.Scope#$digest executing watches}.\n       *\n       * ## Life cycle\n       *\n       * # Pseudo-Code of `$apply()`\n       * ```js\n           function $apply(expr) {\n             try {\n               return $eval(expr);\n             } catch (e) {\n               $exceptionHandler(e);\n             } finally {\n               $root.$digest();\n             }\n           }\n       * ```\n       *\n       *\n       * Scope's `$apply()` method transitions through the following stages:\n       *\n       * 1. The {@link guide/expression expression} is executed using the\n       *    {@link ng.$rootScope.Scope#$eval $eval()} method.\n       * 2. Any exceptions from the execution of the expression are forwarded to the\n       *    {@link ng.$exceptionHandler $exceptionHandler} service.\n       * 3. The {@link ng.$rootScope.Scope#$watch watch} listeners are fired immediately after the\n       *    expression was executed using the {@link ng.$rootScope.Scope#$digest $digest()} method.\n       *\n       *\n       * @param {(string|function())=} exp An angular expression to be executed.\n       *\n       *    - `string`: execute using the rules as defined in {@link guide/expression expression}.\n       *    - `function(scope)`: execute the function with current `scope` parameter.\n       *\n       * @returns {*} The result of evaluating the expression.\n       */\n      $apply: function(expr) {\n        try {\n          beginPhase('$apply');\n          try {\n            return this.$eval(expr);\n          } finally {\n            clearPhase();\n          }\n        } catch (e) {\n          $exceptionHandler(e);\n        } finally {\n          try {\n            $rootScope.$digest();\n          } catch (e) {\n            $exceptionHandler(e);\n            throw e;\n          }\n        }\n      },\n\n      /**\n       * @ngdoc method\n       * @name $rootScope.Scope#$applyAsync\n       * @kind function\n       *\n       * @description\n       * Schedule the invocation of $apply to occur at a later time. The actual time difference\n       * varies across browsers, but is typically around ~10 milliseconds.\n       *\n       * This can be used to queue up multiple expressions which need to be evaluated in the same\n       * digest.\n       *\n       * @param {(string|function())=} exp An angular expression to be executed.\n       *\n       *    - `string`: execute using the rules as defined in {@link guide/expression expression}.\n       *    - `function(scope)`: execute the function with current `scope` parameter.\n       */\n      $applyAsync: function(expr) {\n        var scope = this;\n        expr && applyAsyncQueue.push($applyAsyncExpression);\n        scheduleApplyAsync();\n\n        function $applyAsyncExpression() {\n          scope.$eval(expr);\n        }\n      },\n\n      /**\n       * @ngdoc method\n       * @name $rootScope.Scope#$on\n       * @kind function\n       *\n       * @description\n       * Listens on events of a given type. See {@link ng.$rootScope.Scope#$emit $emit} for\n       * discussion of event life cycle.\n       *\n       * The event listener function format is: `function(event, args...)`. The `event` object\n       * passed into the listener has the following attributes:\n       *\n       *   - `targetScope` - `{Scope}`: the scope on which the event was `$emit`-ed or\n       *     `$broadcast`-ed.\n       *   - `currentScope` - `{Scope}`: the scope that is currently handling the event. Once the\n       *     event propagates through the scope hierarchy, this property is set to null.\n       *   - `name` - `{string}`: name of the event.\n       *   - `stopPropagation` - `{function=}`: calling `stopPropagation` function will cancel\n       *     further event propagation (available only for events that were `$emit`-ed).\n       *   - `preventDefault` - `{function}`: calling `preventDefault` sets `defaultPrevented` flag\n       *     to true.\n       *   - `defaultPrevented` - `{boolean}`: true if `preventDefault` was called.\n       *\n       * @param {string} name Event name to listen on.\n       * @param {function(event, ...args)} listener Function to call when the event is emitted.\n       * @returns {function()} Returns a deregistration function for this listener.\n       */\n      $on: function(name, listener) {\n        var namedListeners = this.$$listeners[name];\n        if (!namedListeners) {\n          this.$$listeners[name] = namedListeners = [];\n        }\n        namedListeners.push(listener);\n\n        var current = this;\n        do {\n          if (!current.$$listenerCount[name]) {\n            current.$$listenerCount[name] = 0;\n          }\n          current.$$listenerCount[name]++;\n        } while ((current = current.$parent));\n\n        var self = this;\n        return function() {\n          var indexOfListener = namedListeners.indexOf(listener);\n          if (indexOfListener !== -1) {\n            namedListeners[indexOfListener] = null;\n            decrementListenerCount(self, 1, name);\n          }\n        };\n      },\n\n\n      /**\n       * @ngdoc method\n       * @name $rootScope.Scope#$emit\n       * @kind function\n       *\n       * @description\n       * Dispatches an event `name` upwards through the scope hierarchy notifying the\n       * registered {@link ng.$rootScope.Scope#$on} listeners.\n       *\n       * The event life cycle starts at the scope on which `$emit` was called. All\n       * {@link ng.$rootScope.Scope#$on listeners} listening for `name` event on this scope get\n       * notified. Afterwards, the event traverses upwards toward the root scope and calls all\n       * registered listeners along the way. The event will stop propagating if one of the listeners\n       * cancels it.\n       *\n       * Any exception emitted from the {@link ng.$rootScope.Scope#$on listeners} will be passed\n       * onto the {@link ng.$exceptionHandler $exceptionHandler} service.\n       *\n       * @param {string} name Event name to emit.\n       * @param {...*} args Optional one or more arguments which will be passed onto the event listeners.\n       * @return {Object} Event object (see {@link ng.$rootScope.Scope#$on}).\n       */\n      $emit: function(name, args) {\n        var empty = [],\n            namedListeners,\n            scope = this,\n            stopPropagation = false,\n            event = {\n              name: name,\n              targetScope: scope,\n              stopPropagation: function() {stopPropagation = true;},\n              preventDefault: function() {\n                event.defaultPrevented = true;\n              },\n              defaultPrevented: false\n            },\n            listenerArgs = concat([event], arguments, 1),\n            i, length;\n\n        do {\n          namedListeners = scope.$$listeners[name] || empty;\n          event.currentScope = scope;\n          for (i = 0, length = namedListeners.length; i < length; i++) {\n\n            // if listeners were deregistered, defragment the array\n            if (!namedListeners[i]) {\n              namedListeners.splice(i, 1);\n              i--;\n              length--;\n              continue;\n            }\n            try {\n              //allow all listeners attached to the current scope to run\n              namedListeners[i].apply(null, listenerArgs);\n            } catch (e) {\n              $exceptionHandler(e);\n            }\n          }\n          //if any listener on the current scope stops propagation, prevent bubbling\n          if (stopPropagation) {\n            event.currentScope = null;\n            return event;\n          }\n          //traverse upwards\n          scope = scope.$parent;\n        } while (scope);\n\n        event.currentScope = null;\n\n        return event;\n      },\n\n\n      /**\n       * @ngdoc method\n       * @name $rootScope.Scope#$broadcast\n       * @kind function\n       *\n       * @description\n       * Dispatches an event `name` downwards to all child scopes (and their children) notifying the\n       * registered {@link ng.$rootScope.Scope#$on} listeners.\n       *\n       * The event life cycle starts at the scope on which `$broadcast` was called. All\n       * {@link ng.$rootScope.Scope#$on listeners} listening for `name` event on this scope get\n       * notified. Afterwards, the event propagates to all direct and indirect scopes of the current\n       * scope and calls all registered listeners along the way. The event cannot be canceled.\n       *\n       * Any exception emitted from the {@link ng.$rootScope.Scope#$on listeners} will be passed\n       * onto the {@link ng.$exceptionHandler $exceptionHandler} service.\n       *\n       * @param {string} name Event name to broadcast.\n       * @param {...*} args Optional one or more arguments which will be passed onto the event listeners.\n       * @return {Object} Event object, see {@link ng.$rootScope.Scope#$on}\n       */\n      $broadcast: function(name, args) {\n        var target = this,\n            current = target,\n            next = target,\n            event = {\n              name: name,\n              targetScope: target,\n              preventDefault: function() {\n                event.defaultPrevented = true;\n              },\n              defaultPrevented: false\n            };\n\n        if (!target.$$listenerCount[name]) return event;\n\n        var listenerArgs = concat([event], arguments, 1),\n            listeners, i, length;\n\n        //down while you can, then up and next sibling or up and next sibling until back at root\n        while ((current = next)) {\n          event.currentScope = current;\n          listeners = current.$$listeners[name] || [];\n          for (i = 0, length = listeners.length; i < length; i++) {\n            // if listeners were deregistered, defragment the array\n            if (!listeners[i]) {\n              listeners.splice(i, 1);\n              i--;\n              length--;\n              continue;\n            }\n\n            try {\n              listeners[i].apply(null, listenerArgs);\n            } catch (e) {\n              $exceptionHandler(e);\n            }\n          }\n\n          // Insanity Warning: scope depth-first traversal\n          // yes, this code is a bit crazy, but it works and we have tests to prove it!\n          // this piece should be kept in sync with the traversal in $digest\n          // (though it differs due to having the extra check for $$listenerCount)\n          if (!(next = ((current.$$listenerCount[name] && current.$$childHead) ||\n              (current !== target && current.$$nextSibling)))) {\n            while (current !== target && !(next = current.$$nextSibling)) {\n              current = current.$parent;\n            }\n          }\n        }\n\n        event.currentScope = null;\n        return event;\n      }\n    };\n\n    var $rootScope = new Scope();\n\n    //The internal queues. Expose them on the $rootScope for debugging/testing purposes.\n    var asyncQueue = $rootScope.$$asyncQueue = [];\n    var postDigestQueue = $rootScope.$$postDigestQueue = [];\n    var applyAsyncQueue = $rootScope.$$applyAsyncQueue = [];\n\n    return $rootScope;\n\n\n    function beginPhase(phase) {\n      if ($rootScope.$$phase) {\n        throw $rootScopeMinErr('inprog', '{0} already in progress', $rootScope.$$phase);\n      }\n\n      $rootScope.$$phase = phase;\n    }\n\n    function clearPhase() {\n      $rootScope.$$phase = null;\n    }\n\n    function incrementWatchersCount(current, count) {\n      do {\n        current.$$watchersCount += count;\n      } while ((current = current.$parent));\n    }\n\n    function decrementListenerCount(current, count, name) {\n      do {\n        current.$$listenerCount[name] -= count;\n\n        if (current.$$listenerCount[name] === 0) {\n          delete current.$$listenerCount[name];\n        }\n      } while ((current = current.$parent));\n    }\n\n    /**\n     * function used as an initial value for watchers.\n     * because it's unique we can easily tell it apart from other values\n     */\n    function initWatchVal() {}\n\n    function flushApplyAsync() {\n      while (applyAsyncQueue.length) {\n        try {\n          applyAsyncQueue.shift()();\n        } catch (e) {\n          $exceptionHandler(e);\n        }\n      }\n      applyAsyncId = null;\n    }\n\n    function scheduleApplyAsync() {\n      if (applyAsyncId === null) {\n        applyAsyncId = $browser.defer(function() {\n          $rootScope.$apply(flushApplyAsync);\n        });\n      }\n    }\n  }];\n}\n\n/**\n * @description\n * Private service to sanitize uris for links and images. Used by $compile and $sanitize.\n */\nfunction $$SanitizeUriProvider() {\n  var aHrefSanitizationWhitelist = /^\\s*(https?|ftp|mailto|tel|file):/,\n    imgSrcSanitizationWhitelist = /^\\s*((https?|ftp|file|blob):|data:image\\/)/;\n\n  /**\n   * @description\n   * Retrieves or overrides the default regular expression that is used for whitelisting of safe\n   * urls during a[href] sanitization.\n   *\n   * The sanitization is a security measure aimed at prevent XSS attacks via html links.\n   *\n   * Any url about to be assigned to a[href] via data-binding is first normalized and turned into\n   * an absolute url. Afterwards, the url is matched against the `aHrefSanitizationWhitelist`\n   * regular expression. If a match is found, the original url is written into the dom. Otherwise,\n   * the absolute url is prefixed with `'unsafe:'` string and only then is it written into the DOM.\n   *\n   * @param {RegExp=} regexp New regexp to whitelist urls with.\n   * @returns {RegExp|ng.$compileProvider} Current RegExp if called without value or self for\n   *    chaining otherwise.\n   */\n  this.aHrefSanitizationWhitelist = function(regexp) {\n    if (isDefined(regexp)) {\n      aHrefSanitizationWhitelist = regexp;\n      return this;\n    }\n    return aHrefSanitizationWhitelist;\n  };\n\n\n  /**\n   * @description\n   * Retrieves or overrides the default regular expression that is used for whitelisting of safe\n   * urls during img[src] sanitization.\n   *\n   * The sanitization is a security measure aimed at prevent XSS attacks via html links.\n   *\n   * Any url about to be assigned to img[src] via data-binding is first normalized and turned into\n   * an absolute url. Afterwards, the url is matched against the `imgSrcSanitizationWhitelist`\n   * regular expression. If a match is found, the original url is written into the dom. Otherwise,\n   * the absolute url is prefixed with `'unsafe:'` string and only then is it written into the DOM.\n   *\n   * @param {RegExp=} regexp New regexp to whitelist urls with.\n   * @returns {RegExp|ng.$compileProvider} Current RegExp if called without value or self for\n   *    chaining otherwise.\n   */\n  this.imgSrcSanitizationWhitelist = function(regexp) {\n    if (isDefined(regexp)) {\n      imgSrcSanitizationWhitelist = regexp;\n      return this;\n    }\n    return imgSrcSanitizationWhitelist;\n  };\n\n  this.$get = function() {\n    return function sanitizeUri(uri, isImage) {\n      var regex = isImage ? imgSrcSanitizationWhitelist : aHrefSanitizationWhitelist;\n      var normalizedVal;\n      normalizedVal = urlResolve(uri).href;\n      if (normalizedVal !== '' && !normalizedVal.match(regex)) {\n        return 'unsafe:' + normalizedVal;\n      }\n      return uri;\n    };\n  };\n}\n\n/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n *     Any commits to this file should be reviewed with security in mind.  *\n *   Changes to this file can potentially create security vulnerabilities. *\n *          An approval from 2 Core members with history of modifying      *\n *                         this file is required.                          *\n *                                                                         *\n *  Does the change somehow allow for arbitrary javascript to be executed? *\n *    Or allows for someone to change the prototype of built-in objects?   *\n *     Or gives undesired access to variables likes document or window?    *\n * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */\n\nvar $sceMinErr = minErr('$sce');\n\nvar SCE_CONTEXTS = {\n  HTML: 'html',\n  CSS: 'css',\n  URL: 'url',\n  // RESOURCE_URL is a subtype of URL used in contexts where a privileged resource is sourced from a\n  // url.  (e.g. ng-include, script src, templateUrl)\n  RESOURCE_URL: 'resourceUrl',\n  JS: 'js'\n};\n\n// Helper functions follow.\n\nfunction adjustMatcher(matcher) {\n  if (matcher === 'self') {\n    return matcher;\n  } else if (isString(matcher)) {\n    // Strings match exactly except for 2 wildcards - '*' and '**'.\n    // '*' matches any character except those from the set ':/.?&'.\n    // '**' matches any character (like .* in a RegExp).\n    // More than 2 *'s raises an error as it's ill defined.\n    if (matcher.indexOf('***') > -1) {\n      throw $sceMinErr('iwcard',\n          'Illegal sequence *** in string matcher.  String: {0}', matcher);\n    }\n    matcher = escapeForRegexp(matcher).\n                  replace('\\\\*\\\\*', '.*').\n                  replace('\\\\*', '[^:/.?&;]*');\n    return new RegExp('^' + matcher + '$');\n  } else if (isRegExp(matcher)) {\n    // The only other type of matcher allowed is a Regexp.\n    // Match entire URL / disallow partial matches.\n    // Flags are reset (i.e. no global, ignoreCase or multiline)\n    return new RegExp('^' + matcher.source + '$');\n  } else {\n    throw $sceMinErr('imatcher',\n        'Matchers may only be \"self\", string patterns or RegExp objects');\n  }\n}\n\n\nfunction adjustMatchers(matchers) {\n  var adjustedMatchers = [];\n  if (isDefined(matchers)) {\n    forEach(matchers, function(matcher) {\n      adjustedMatchers.push(adjustMatcher(matcher));\n    });\n  }\n  return adjustedMatchers;\n}\n\n\n/**\n * @ngdoc service\n * @name $sceDelegate\n * @kind function\n *\n * @description\n *\n * `$sceDelegate` is a service that is used by the `$sce` service to provide {@link ng.$sce Strict\n * Contextual Escaping (SCE)} services to AngularJS.\n *\n * Typically, you would configure or override the {@link ng.$sceDelegate $sceDelegate} instead of\n * the `$sce` service to customize the way Strict Contextual Escaping works in AngularJS.  This is\n * because, while the `$sce` provides numerous shorthand methods, etc., you really only need to\n * override 3 core functions (`trustAs`, `getTrusted` and `valueOf`) to replace the way things\n * work because `$sce` delegates to `$sceDelegate` for these operations.\n *\n * Refer {@link ng.$sceDelegateProvider $sceDelegateProvider} to configure this service.\n *\n * The default instance of `$sceDelegate` should work out of the box with little pain.  While you\n * can override it completely to change the behavior of `$sce`, the common case would\n * involve configuring the {@link ng.$sceDelegateProvider $sceDelegateProvider} instead by setting\n * your own whitelists and blacklists for trusting URLs used for loading AngularJS resources such as\n * templates.  Refer {@link ng.$sceDelegateProvider#resourceUrlWhitelist\n * $sceDelegateProvider.resourceUrlWhitelist} and {@link\n * ng.$sceDelegateProvider#resourceUrlBlacklist $sceDelegateProvider.resourceUrlBlacklist}\n */\n\n/**\n * @ngdoc provider\n * @name $sceDelegateProvider\n * @description\n *\n * The `$sceDelegateProvider` provider allows developers to configure the {@link ng.$sceDelegate\n * $sceDelegate} service.  This allows one to get/set the whitelists and blacklists used to ensure\n * that the URLs used for sourcing Angular templates are safe.  Refer {@link\n * ng.$sceDelegateProvider#resourceUrlWhitelist $sceDelegateProvider.resourceUrlWhitelist} and\n * {@link ng.$sceDelegateProvider#resourceUrlBlacklist $sceDelegateProvider.resourceUrlBlacklist}\n *\n * For the general details about this service in Angular, read the main page for {@link ng.$sce\n * Strict Contextual Escaping (SCE)}.\n *\n * **Example**:  Consider the following case. <a name=\"example\"></a>\n *\n * - your app is hosted at url `http://myapp.example.com/`\n * - but some of your templates are hosted on other domains you control such as\n *   `http://srv01.assets.example.com/`,  `http://srv02.assets.example.com/`, etc.\n * - and you have an open redirect at `http://myapp.example.com/clickThru?...`.\n *\n * Here is what a secure configuration for this scenario might look like:\n *\n * ```\n *  angular.module('myApp', []).config(function($sceDelegateProvider) {\n *    $sceDelegateProvider.resourceUrlWhitelist([\n *      // Allow same origin resource loads.\n *      'self',\n *      // Allow loading from our assets domain.  Notice the difference between * and **.\n *      'http://srv*.assets.example.com/**'\n *    ]);\n *\n *    // The blacklist overrides the whitelist so the open redirect here is blocked.\n *    $sceDelegateProvider.resourceUrlBlacklist([\n *      'http://myapp.example.com/clickThru**'\n *    ]);\n *  });\n * ```\n */\n\nfunction $SceDelegateProvider() {\n  this.SCE_CONTEXTS = SCE_CONTEXTS;\n\n  // Resource URLs can also be trusted by policy.\n  var resourceUrlWhitelist = ['self'],\n      resourceUrlBlacklist = [];\n\n  /**\n   * @ngdoc method\n   * @name $sceDelegateProvider#resourceUrlWhitelist\n   * @kind function\n   *\n   * @param {Array=} whitelist When provided, replaces the resourceUrlWhitelist with the value\n   *     provided.  This must be an array or null.  A snapshot of this array is used so further\n   *     changes to the array are ignored.\n   *\n   *     Follow {@link ng.$sce#resourceUrlPatternItem this link} for a description of the items\n   *     allowed in this array.\n   *\n   *     Note: **an empty whitelist array will block all URLs**!\n   *\n   * @return {Array} the currently set whitelist array.\n   *\n   * The **default value** when no whitelist has been explicitly set is `['self']` allowing only\n   * same origin resource requests.\n   *\n   * @description\n   * Sets/Gets the whitelist of trusted resource URLs.\n   */\n  this.resourceUrlWhitelist = function(value) {\n    if (arguments.length) {\n      resourceUrlWhitelist = adjustMatchers(value);\n    }\n    return resourceUrlWhitelist;\n  };\n\n  /**\n   * @ngdoc method\n   * @name $sceDelegateProvider#resourceUrlBlacklist\n   * @kind function\n   *\n   * @param {Array=} blacklist When provided, replaces the resourceUrlBlacklist with the value\n   *     provided.  This must be an array or null.  A snapshot of this array is used so further\n   *     changes to the array are ignored.\n   *\n   *     Follow {@link ng.$sce#resourceUrlPatternItem this link} for a description of the items\n   *     allowed in this array.\n   *\n   *     The typical usage for the blacklist is to **block\n   *     [open redirects](http://cwe.mitre.org/data/definitions/601.html)** served by your domain as\n   *     these would otherwise be trusted but actually return content from the redirected domain.\n   *\n   *     Finally, **the blacklist overrides the whitelist** and has the final say.\n   *\n   * @return {Array} the currently set blacklist array.\n   *\n   * The **default value** when no whitelist has been explicitly set is the empty array (i.e. there\n   * is no blacklist.)\n   *\n   * @description\n   * Sets/Gets the blacklist of trusted resource URLs.\n   */\n\n  this.resourceUrlBlacklist = function(value) {\n    if (arguments.length) {\n      resourceUrlBlacklist = adjustMatchers(value);\n    }\n    return resourceUrlBlacklist;\n  };\n\n  this.$get = ['$injector', function($injector) {\n\n    var htmlSanitizer = function htmlSanitizer(html) {\n      throw $sceMinErr('unsafe', 'Attempting to use an unsafe value in a safe context.');\n    };\n\n    if ($injector.has('$sanitize')) {\n      htmlSanitizer = $injector.get('$sanitize');\n    }\n\n\n    function matchUrl(matcher, parsedUrl) {\n      if (matcher === 'self') {\n        return urlIsSameOrigin(parsedUrl);\n      } else {\n        // definitely a regex.  See adjustMatchers()\n        return !!matcher.exec(parsedUrl.href);\n      }\n    }\n\n    function isResourceUrlAllowedByPolicy(url) {\n      var parsedUrl = urlResolve(url.toString());\n      var i, n, allowed = false;\n      // Ensure that at least one item from the whitelist allows this url.\n      for (i = 0, n = resourceUrlWhitelist.length; i < n; i++) {\n        if (matchUrl(resourceUrlWhitelist[i], parsedUrl)) {\n          allowed = true;\n          break;\n        }\n      }\n      if (allowed) {\n        // Ensure that no item from the blacklist blocked this url.\n        for (i = 0, n = resourceUrlBlacklist.length; i < n; i++) {\n          if (matchUrl(resourceUrlBlacklist[i], parsedUrl)) {\n            allowed = false;\n            break;\n          }\n        }\n      }\n      return allowed;\n    }\n\n    function generateHolderType(Base) {\n      var holderType = function TrustedValueHolderType(trustedValue) {\n        this.$$unwrapTrustedValue = function() {\n          return trustedValue;\n        };\n      };\n      if (Base) {\n        holderType.prototype = new Base();\n      }\n      holderType.prototype.valueOf = function sceValueOf() {\n        return this.$$unwrapTrustedValue();\n      };\n      holderType.prototype.toString = function sceToString() {\n        return this.$$unwrapTrustedValue().toString();\n      };\n      return holderType;\n    }\n\n    var trustedValueHolderBase = generateHolderType(),\n        byType = {};\n\n    byType[SCE_CONTEXTS.HTML] = generateHolderType(trustedValueHolderBase);\n    byType[SCE_CONTEXTS.CSS] = generateHolderType(trustedValueHolderBase);\n    byType[SCE_CONTEXTS.URL] = generateHolderType(trustedValueHolderBase);\n    byType[SCE_CONTEXTS.JS] = generateHolderType(trustedValueHolderBase);\n    byType[SCE_CONTEXTS.RESOURCE_URL] = generateHolderType(byType[SCE_CONTEXTS.URL]);\n\n    /**\n     * @ngdoc method\n     * @name $sceDelegate#trustAs\n     *\n     * @description\n     * Returns an object that is trusted by angular for use in specified strict\n     * contextual escaping contexts (such as ng-bind-html, ng-include, any src\n     * attribute interpolation, any dom event binding attribute interpolation\n     * such as for onclick,  etc.) that uses the provided value.\n     * See {@link ng.$sce $sce} for enabling strict contextual escaping.\n     *\n     * @param {string} type The kind of context in which this value is safe for use.  e.g. url,\n     *   resourceUrl, html, js and css.\n     * @param {*} value The value that that should be considered trusted/safe.\n     * @returns {*} A value that can be used to stand in for the provided `value` in places\n     * where Angular expects a $sce.trustAs() return value.\n     */\n    function trustAs(type, trustedValue) {\n      var Constructor = (byType.hasOwnProperty(type) ? byType[type] : null);\n      if (!Constructor) {\n        throw $sceMinErr('icontext',\n            'Attempted to trust a value in invalid context. Context: {0}; Value: {1}',\n            type, trustedValue);\n      }\n      if (trustedValue === null || isUndefined(trustedValue) || trustedValue === '') {\n        return trustedValue;\n      }\n      // All the current contexts in SCE_CONTEXTS happen to be strings.  In order to avoid trusting\n      // mutable objects, we ensure here that the value passed in is actually a string.\n      if (typeof trustedValue !== 'string') {\n        throw $sceMinErr('itype',\n            'Attempted to trust a non-string value in a content requiring a string: Context: {0}',\n            type);\n      }\n      return new Constructor(trustedValue);\n    }\n\n    /**\n     * @ngdoc method\n     * @name $sceDelegate#valueOf\n     *\n     * @description\n     * If the passed parameter had been returned by a prior call to {@link ng.$sceDelegate#trustAs\n     * `$sceDelegate.trustAs`}, returns the value that had been passed to {@link\n     * ng.$sceDelegate#trustAs `$sceDelegate.trustAs`}.\n     *\n     * If the passed parameter is not a value that had been returned by {@link\n     * ng.$sceDelegate#trustAs `$sceDelegate.trustAs`}, returns it as-is.\n     *\n     * @param {*} value The result of a prior {@link ng.$sceDelegate#trustAs `$sceDelegate.trustAs`}\n     *      call or anything else.\n     * @returns {*} The `value` that was originally provided to {@link ng.$sceDelegate#trustAs\n     *     `$sceDelegate.trustAs`} if `value` is the result of such a call.  Otherwise, returns\n     *     `value` unchanged.\n     */\n    function valueOf(maybeTrusted) {\n      if (maybeTrusted instanceof trustedValueHolderBase) {\n        return maybeTrusted.$$unwrapTrustedValue();\n      } else {\n        return maybeTrusted;\n      }\n    }\n\n    /**\n     * @ngdoc method\n     * @name $sceDelegate#getTrusted\n     *\n     * @description\n     * Takes the result of a {@link ng.$sceDelegate#trustAs `$sceDelegate.trustAs`} call and\n     * returns the originally supplied value if the queried context type is a supertype of the\n     * created type.  If this condition isn't satisfied, throws an exception.\n     *\n     * @param {string} type The kind of context in which this value is to be used.\n     * @param {*} maybeTrusted The result of a prior {@link ng.$sceDelegate#trustAs\n     *     `$sceDelegate.trustAs`} call.\n     * @returns {*} The value the was originally provided to {@link ng.$sceDelegate#trustAs\n     *     `$sceDelegate.trustAs`} if valid in this context.  Otherwise, throws an exception.\n     */\n    function getTrusted(type, maybeTrusted) {\n      if (maybeTrusted === null || isUndefined(maybeTrusted) || maybeTrusted === '') {\n        return maybeTrusted;\n      }\n      var constructor = (byType.hasOwnProperty(type) ? byType[type] : null);\n      if (constructor && maybeTrusted instanceof constructor) {\n        return maybeTrusted.$$unwrapTrustedValue();\n      }\n      // If we get here, then we may only take one of two actions.\n      // 1. sanitize the value for the requested type, or\n      // 2. throw an exception.\n      if (type === SCE_CONTEXTS.RESOURCE_URL) {\n        if (isResourceUrlAllowedByPolicy(maybeTrusted)) {\n          return maybeTrusted;\n        } else {\n          throw $sceMinErr('insecurl',\n              'Blocked loading resource from url not allowed by $sceDelegate policy.  URL: {0}',\n              maybeTrusted.toString());\n        }\n      } else if (type === SCE_CONTEXTS.HTML) {\n        return htmlSanitizer(maybeTrusted);\n      }\n      throw $sceMinErr('unsafe', 'Attempting to use an unsafe value in a safe context.');\n    }\n\n    return { trustAs: trustAs,\n             getTrusted: getTrusted,\n             valueOf: valueOf };\n  }];\n}\n\n\n/**\n * @ngdoc provider\n * @name $sceProvider\n * @description\n *\n * The $sceProvider provider allows developers to configure the {@link ng.$sce $sce} service.\n * -   enable/disable Strict Contextual Escaping (SCE) in a module\n * -   override the default implementation with a custom delegate\n *\n * Read more about {@link ng.$sce Strict Contextual Escaping (SCE)}.\n */\n\n/* jshint maxlen: false*/\n\n/**\n * @ngdoc service\n * @name $sce\n * @kind function\n *\n * @description\n *\n * `$sce` is a service that provides Strict Contextual Escaping services to AngularJS.\n *\n * # Strict Contextual Escaping\n *\n * Strict Contextual Escaping (SCE) is a mode in which AngularJS requires bindings in certain\n * contexts to result in a value that is marked as safe to use for that context.  One example of\n * such a context is binding arbitrary html controlled by the user via `ng-bind-html`.  We refer\n * to these contexts as privileged or SCE contexts.\n *\n * As of version 1.2, Angular ships with SCE enabled by default.\n *\n * Note:  When enabled (the default), IE<11 in quirks mode is not supported.  In this mode, IE<11 allow\n * one to execute arbitrary javascript by the use of the expression() syntax.  Refer\n * <http://blogs.msdn.com/b/ie/archive/2008/10/16/ending-expressions.aspx> to learn more about them.\n * You can ensure your document is in standards mode and not quirks mode by adding `<!doctype html>`\n * to the top of your HTML document.\n *\n * SCE assists in writing code in way that (a) is secure by default and (b) makes auditing for\n * security vulnerabilities such as XSS, clickjacking, etc. a lot easier.\n *\n * Here's an example of a binding in a privileged context:\n *\n * ```\n * <input ng-model=\"userHtml\" aria-label=\"User input\">\n * <div ng-bind-html=\"userHtml\"></div>\n * ```\n *\n * Notice that `ng-bind-html` is bound to `userHtml` controlled by the user.  With SCE\n * disabled, this application allows the user to render arbitrary HTML into the DIV.\n * In a more realistic example, one may be rendering user comments, blog articles, etc. via\n * bindings.  (HTML is just one example of a context where rendering user controlled input creates\n * security vulnerabilities.)\n *\n * For the case of HTML, you might use a library, either on the client side, or on the server side,\n * to sanitize unsafe HTML before binding to the value and rendering it in the document.\n *\n * How would you ensure that every place that used these types of bindings was bound to a value that\n * was sanitized by your library (or returned as safe for rendering by your server?)  How can you\n * ensure that you didn't accidentally delete the line that sanitized the value, or renamed some\n * properties/fields and forgot to update the binding to the sanitized value?\n *\n * To be secure by default, you want to ensure that any such bindings are disallowed unless you can\n * determine that something explicitly says it's safe to use a value for binding in that\n * context.  You can then audit your code (a simple grep would do) to ensure that this is only done\n * for those values that you can easily tell are safe - because they were received from your server,\n * sanitized by your library, etc.  You can organize your codebase to help with this - perhaps\n * allowing only the files in a specific directory to do this.  Ensuring that the internal API\n * exposed by that code doesn't markup arbitrary values as safe then becomes a more manageable task.\n *\n * In the case of AngularJS' SCE service, one uses {@link ng.$sce#trustAs $sce.trustAs}\n * (and shorthand methods such as {@link ng.$sce#trustAsHtml $sce.trustAsHtml}, etc.) to\n * obtain values that will be accepted by SCE / privileged contexts.\n *\n *\n * ## How does it work?\n *\n * In privileged contexts, directives and code will bind to the result of {@link ng.$sce#getTrusted\n * $sce.getTrusted(context, value)} rather than to the value directly.  Directives use {@link\n * ng.$sce#parseAs $sce.parseAs} rather than `$parse` to watch attribute bindings, which performs the\n * {@link ng.$sce#getTrusted $sce.getTrusted} behind the scenes on non-constant literals.\n *\n * As an example, {@link ng.directive:ngBindHtml ngBindHtml} uses {@link\n * ng.$sce#parseAsHtml $sce.parseAsHtml(binding expression)}.  Here's the actual code (slightly\n * simplified):\n *\n * ```\n * var ngBindHtmlDirective = ['$sce', function($sce) {\n *   return function(scope, element, attr) {\n *     scope.$watch($sce.parseAsHtml(attr.ngBindHtml), function(value) {\n *       element.html(value || '');\n *     });\n *   };\n * }];\n * ```\n *\n * ## Impact on loading templates\n *\n * This applies both to the {@link ng.directive:ngInclude `ng-include`} directive as well as\n * `templateUrl`'s specified by {@link guide/directive directives}.\n *\n * By default, Angular only loads templates from the same domain and protocol as the application\n * document.  This is done by calling {@link ng.$sce#getTrustedResourceUrl\n * $sce.getTrustedResourceUrl} on the template URL.  To load templates from other domains and/or\n * protocols, you may either {@link ng.$sceDelegateProvider#resourceUrlWhitelist whitelist\n * them} or {@link ng.$sce#trustAsResourceUrl wrap it} into a trusted value.\n *\n * *Please note*:\n * The browser's\n * [Same Origin Policy](https://code.google.com/p/browsersec/wiki/Part2#Same-origin_policy_for_XMLHttpRequest)\n * and [Cross-Origin Resource Sharing (CORS)](http://www.w3.org/TR/cors/)\n * policy apply in addition to this and may further restrict whether the template is successfully\n * loaded.  This means that without the right CORS policy, loading templates from a different domain\n * won't work on all browsers.  Also, loading templates from `file://` URL does not work on some\n * browsers.\n *\n * ## This feels like too much overhead\n *\n * It's important to remember that SCE only applies to interpolation expressions.\n *\n * If your expressions are constant literals, they're automatically trusted and you don't need to\n * call `$sce.trustAs` on them (remember to include the `ngSanitize` module) (e.g.\n * `<div ng-bind-html=\"'<b>implicitly trusted</b>'\"></div>`) just works.\n *\n * Additionally, `a[href]` and `img[src]` automatically sanitize their URLs and do not pass them\n * through {@link ng.$sce#getTrusted $sce.getTrusted}.  SCE doesn't play a role here.\n *\n * The included {@link ng.$sceDelegate $sceDelegate} comes with sane defaults to allow you to load\n * templates in `ng-include` from your application's domain without having to even know about SCE.\n * It blocks loading templates from other domains or loading templates over http from an https\n * served document.  You can change these by setting your own custom {@link\n * ng.$sceDelegateProvider#resourceUrlWhitelist whitelists} and {@link\n * ng.$sceDelegateProvider#resourceUrlBlacklist blacklists} for matching such URLs.\n *\n * This significantly reduces the overhead.  It is far easier to pay the small overhead and have an\n * application that's secure and can be audited to verify that with much more ease than bolting\n * security onto an application later.\n *\n * <a name=\"contexts\"></a>\n * ## What trusted context types are supported?\n *\n * | Context             | Notes          |\n * |---------------------|----------------|\n * | `$sce.HTML`         | For HTML that's safe to source into the application.  The {@link ng.directive:ngBindHtml ngBindHtml} directive uses this context for bindings. If an unsafe value is encountered and the {@link ngSanitize $sanitize} module is present this will sanitize the value instead of throwing an error. |\n * | `$sce.CSS`          | For CSS that's safe to source into the application.  Currently unused.  Feel free to use it in your own directives. |\n * | `$sce.URL`          | For URLs that are safe to follow as links.  Currently unused (`<a href=` and `<img src=` sanitize their urls and don't constitute an SCE context. |\n * | `$sce.RESOURCE_URL` | For URLs that are not only safe to follow as links, but whose contents are also safe to include in your application.  Examples include `ng-include`, `src` / `ngSrc` bindings for tags other than `IMG` (e.g. `IFRAME`, `OBJECT`, etc.)  <br><br>Note that `$sce.RESOURCE_URL` makes a stronger statement about the URL than `$sce.URL` does and therefore contexts requiring values trusted for `$sce.RESOURCE_URL` can be used anywhere that values trusted for `$sce.URL` are required. |\n * | `$sce.JS`           | For JavaScript that is safe to execute in your application's context.  Currently unused.  Feel free to use it in your own directives. |\n *\n * ## Format of items in {@link ng.$sceDelegateProvider#resourceUrlWhitelist resourceUrlWhitelist}/{@link ng.$sceDelegateProvider#resourceUrlBlacklist Blacklist} <a name=\"resourceUrlPatternItem\"></a>\n *\n *  Each element in these arrays must be one of the following:\n *\n *  - **'self'**\n *    - The special **string**, `'self'`, can be used to match against all URLs of the **same\n *      domain** as the application document using the **same protocol**.\n *  - **String** (except the special value `'self'`)\n *    - The string is matched against the full *normalized / absolute URL* of the resource\n *      being tested (substring matches are not good enough.)\n *    - There are exactly **two wildcard sequences** - `*` and `**`.  All other characters\n *      match themselves.\n *    - `*`: matches zero or more occurrences of any character other than one of the following 6\n *      characters: '`:`', '`/`', '`.`', '`?`', '`&`' and '`;`'.  It's a useful wildcard for use\n *      in a whitelist.\n *    - `**`: matches zero or more occurrences of *any* character.  As such, it's not\n *      appropriate for use in a scheme, domain, etc. as it would match too much.  (e.g.\n *      http://**.example.com/ would match http://evil.com/?ignore=.example.com/ and that might\n *      not have been the intention.)  Its usage at the very end of the path is ok.  (e.g.\n *      http://foo.example.com/templates/**).\n *  - **RegExp** (*see caveat below*)\n *    - *Caveat*:  While regular expressions are powerful and offer great flexibility,  their syntax\n *      (and all the inevitable escaping) makes them *harder to maintain*.  It's easy to\n *      accidentally introduce a bug when one updates a complex expression (imho, all regexes should\n *      have good test coverage).  For instance, the use of `.` in the regex is correct only in a\n *      small number of cases.  A `.` character in the regex used when matching the scheme or a\n *      subdomain could be matched against a `:` or literal `.` that was likely not intended.   It\n *      is highly recommended to use the string patterns and only fall back to regular expressions\n *      as a last resort.\n *    - The regular expression must be an instance of RegExp (i.e. not a string.)  It is\n *      matched against the **entire** *normalized / absolute URL* of the resource being tested\n *      (even when the RegExp did not have the `^` and `$` codes.)  In addition, any flags\n *      present on the RegExp (such as multiline, global, ignoreCase) are ignored.\n *    - If you are generating your JavaScript from some other templating engine (not\n *      recommended, e.g. in issue [#4006](https://github.com/angular/angular.js/issues/4006)),\n *      remember to escape your regular expression (and be aware that you might need more than\n *      one level of escaping depending on your templating engine and the way you interpolated\n *      the value.)  Do make use of your platform's escaping mechanism as it might be good\n *      enough before coding your own.  E.g. Ruby has\n *      [Regexp.escape(str)](http://www.ruby-doc.org/core-2.0.0/Regexp.html#method-c-escape)\n *      and Python has [re.escape](http://docs.python.org/library/re.html#re.escape).\n *      Javascript lacks a similar built in function for escaping.  Take a look at Google\n *      Closure library's [goog.string.regExpEscape(s)](\n *      http://docs.closure-library.googlecode.com/git/closure_goog_string_string.js.source.html#line962).\n *\n * Refer {@link ng.$sceDelegateProvider $sceDelegateProvider} for an example.\n *\n * ## Show me an example using SCE.\n *\n * <example module=\"mySceApp\" deps=\"angular-sanitize.js\">\n * <file name=\"index.html\">\n *   <div ng-controller=\"AppController as myCtrl\">\n *     <i ng-bind-html=\"myCtrl.explicitlyTrustedHtml\" id=\"explicitlyTrustedHtml\"></i><br><br>\n *     <b>User comments</b><br>\n *     By default, HTML that isn't explicitly trusted (e.g. Alice's comment) is sanitized when\n *     $sanitize is available.  If $sanitize isn't available, this results in an error instead of an\n *     exploit.\n *     <div class=\"well\">\n *       <div ng-repeat=\"userComment in myCtrl.userComments\">\n *         <b>{{userComment.name}}</b>:\n *         <span ng-bind-html=\"userComment.htmlComment\" class=\"htmlComment\"></span>\n *         <br>\n *       </div>\n *     </div>\n *   </div>\n * </file>\n *\n * <file name=\"script.js\">\n *   angular.module('mySceApp', ['ngSanitize'])\n *     .controller('AppController', ['$http', '$templateCache', '$sce',\n *       function($http, $templateCache, $sce) {\n *         var self = this;\n *         $http.get(\"test_data.json\", {cache: $templateCache}).success(function(userComments) {\n *           self.userComments = userComments;\n *         });\n *         self.explicitlyTrustedHtml = $sce.trustAsHtml(\n *             '<span onmouseover=\"this.textContent=&quot;Explicitly trusted HTML bypasses ' +\n *             'sanitization.&quot;\">Hover over this text.</span>');\n *       }]);\n * </file>\n *\n * <file name=\"test_data.json\">\n * [\n *   { \"name\": \"Alice\",\n *     \"htmlComment\":\n *         \"<span onmouseover='this.textContent=\\\"PWN3D!\\\"'>Is <i>anyone</i> reading this?</span>\"\n *   },\n *   { \"name\": \"Bob\",\n *     \"htmlComment\": \"<i>Yes!</i>  Am I the only other one?\"\n *   }\n * ]\n * </file>\n *\n * <file name=\"protractor.js\" type=\"protractor\">\n *   describe('SCE doc demo', function() {\n *     it('should sanitize untrusted values', function() {\n *       expect(element.all(by.css('.htmlComment')).first().getInnerHtml())\n *           .toBe('<span>Is <i>anyone</i> reading this?</span>');\n *     });\n *\n *     it('should NOT sanitize explicitly trusted values', function() {\n *       expect(element(by.id('explicitlyTrustedHtml')).getInnerHtml()).toBe(\n *           '<span onmouseover=\"this.textContent=&quot;Explicitly trusted HTML bypasses ' +\n *           'sanitization.&quot;\">Hover over this text.</span>');\n *     });\n *   });\n * </file>\n * </example>\n *\n *\n *\n * ## Can I disable SCE completely?\n *\n * Yes, you can.  However, this is strongly discouraged.  SCE gives you a lot of security benefits\n * for little coding overhead.  It will be much harder to take an SCE disabled application and\n * either secure it on your own or enable SCE at a later stage.  It might make sense to disable SCE\n * for cases where you have a lot of existing code that was written before SCE was introduced and\n * you're migrating them a module at a time.\n *\n * That said, here's how you can completely disable SCE:\n *\n * ```\n * angular.module('myAppWithSceDisabledmyApp', []).config(function($sceProvider) {\n *   // Completely disable SCE.  For demonstration purposes only!\n *   // Do not use in new projects.\n *   $sceProvider.enabled(false);\n * });\n * ```\n *\n */\n/* jshint maxlen: 100 */\n\nfunction $SceProvider() {\n  var enabled = true;\n\n  /**\n   * @ngdoc method\n   * @name $sceProvider#enabled\n   * @kind function\n   *\n   * @param {boolean=} value If provided, then enables/disables SCE.\n   * @return {boolean} true if SCE is enabled, false otherwise.\n   *\n   * @description\n   * Enables/disables SCE and returns the current value.\n   */\n  this.enabled = function(value) {\n    if (arguments.length) {\n      enabled = !!value;\n    }\n    return enabled;\n  };\n\n\n  /* Design notes on the default implementation for SCE.\n   *\n   * The API contract for the SCE delegate\n   * -------------------------------------\n   * The SCE delegate object must provide the following 3 methods:\n   *\n   * - trustAs(contextEnum, value)\n   *     This method is used to tell the SCE service that the provided value is OK to use in the\n   *     contexts specified by contextEnum.  It must return an object that will be accepted by\n   *     getTrusted() for a compatible contextEnum and return this value.\n   *\n   * - valueOf(value)\n   *     For values that were not produced by trustAs(), return them as is.  For values that were\n   *     produced by trustAs(), return the corresponding input value to trustAs.  Basically, if\n   *     trustAs is wrapping the given values into some type, this operation unwraps it when given\n   *     such a value.\n   *\n   * - getTrusted(contextEnum, value)\n   *     This function should return the a value that is safe to use in the context specified by\n   *     contextEnum or throw and exception otherwise.\n   *\n   * NOTE: This contract deliberately does NOT state that values returned by trustAs() must be\n   * opaque or wrapped in some holder object.  That happens to be an implementation detail.  For\n   * instance, an implementation could maintain a registry of all trusted objects by context.  In\n   * such a case, trustAs() would return the same object that was passed in.  getTrusted() would\n   * return the same object passed in if it was found in the registry under a compatible context or\n   * throw an exception otherwise.  An implementation might only wrap values some of the time based\n   * on some criteria.  getTrusted() might return a value and not throw an exception for special\n   * constants or objects even if not wrapped.  All such implementations fulfill this contract.\n   *\n   *\n   * A note on the inheritance model for SCE contexts\n   * ------------------------------------------------\n   * I've used inheritance and made RESOURCE_URL wrapped types a subtype of URL wrapped types.  This\n   * is purely an implementation details.\n   *\n   * The contract is simply this:\n   *\n   *     getTrusted($sce.RESOURCE_URL, value) succeeding implies that getTrusted($sce.URL, value)\n   *     will also succeed.\n   *\n   * Inheritance happens to capture this in a natural way.  In some future, we\n   * may not use inheritance anymore.  That is OK because no code outside of\n   * sce.js and sceSpecs.js would need to be aware of this detail.\n   */\n\n  this.$get = ['$parse', '$sceDelegate', function(\n                $parse,   $sceDelegate) {\n    // Prereq: Ensure that we're not running in IE<11 quirks mode.  In that mode, IE < 11 allow\n    // the \"expression(javascript expression)\" syntax which is insecure.\n    if (enabled && msie < 8) {\n      throw $sceMinErr('iequirks',\n        'Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks ' +\n        'mode.  You can fix this by adding the text <!doctype html> to the top of your HTML ' +\n        'document.  See http://docs.angularjs.org/api/ng.$sce for more information.');\n    }\n\n    var sce = shallowCopy(SCE_CONTEXTS);\n\n    /**\n     * @ngdoc method\n     * @name $sce#isEnabled\n     * @kind function\n     *\n     * @return {Boolean} true if SCE is enabled, false otherwise.  If you want to set the value, you\n     * have to do it at module config time on {@link ng.$sceProvider $sceProvider}.\n     *\n     * @description\n     * Returns a boolean indicating if SCE is enabled.\n     */\n    sce.isEnabled = function() {\n      return enabled;\n    };\n    sce.trustAs = $sceDelegate.trustAs;\n    sce.getTrusted = $sceDelegate.getTrusted;\n    sce.valueOf = $sceDelegate.valueOf;\n\n    if (!enabled) {\n      sce.trustAs = sce.getTrusted = function(type, value) { return value; };\n      sce.valueOf = identity;\n    }\n\n    /**\n     * @ngdoc method\n     * @name $sce#parseAs\n     *\n     * @description\n     * Converts Angular {@link guide/expression expression} into a function.  This is like {@link\n     * ng.$parse $parse} and is identical when the expression is a literal constant.  Otherwise, it\n     * wraps the expression in a call to {@link ng.$sce#getTrusted $sce.getTrusted(*type*,\n     * *result*)}\n     *\n     * @param {string} type The kind of SCE context in which this result will be used.\n     * @param {string} expression String expression to compile.\n     * @returns {function(context, locals)} a function which represents the compiled expression:\n     *\n     *    * `context` – `{object}` – an object against which any expressions embedded in the strings\n     *      are evaluated against (typically a scope object).\n     *    * `locals` – `{object=}` – local variables context object, useful for overriding values in\n     *      `context`.\n     */\n    sce.parseAs = function sceParseAs(type, expr) {\n      var parsed = $parse(expr);\n      if (parsed.literal && parsed.constant) {\n        return parsed;\n      } else {\n        return $parse(expr, function(value) {\n          return sce.getTrusted(type, value);\n        });\n      }\n    };\n\n    /**\n     * @ngdoc method\n     * @name $sce#trustAs\n     *\n     * @description\n     * Delegates to {@link ng.$sceDelegate#trustAs `$sceDelegate.trustAs`}.  As such,\n     * returns an object that is trusted by angular for use in specified strict contextual\n     * escaping contexts (such as ng-bind-html, ng-include, any src attribute\n     * interpolation, any dom event binding attribute interpolation such as for onclick,  etc.)\n     * that uses the provided value.  See * {@link ng.$sce $sce} for enabling strict contextual\n     * escaping.\n     *\n     * @param {string} type The kind of context in which this value is safe for use.  e.g. url,\n     *   resourceUrl, html, js and css.\n     * @param {*} value The value that that should be considered trusted/safe.\n     * @returns {*} A value that can be used to stand in for the provided `value` in places\n     * where Angular expects a $sce.trustAs() return value.\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#trustAsHtml\n     *\n     * @description\n     * Shorthand method.  `$sce.trustAsHtml(value)` →\n     *     {@link ng.$sceDelegate#trustAs `$sceDelegate.trustAs($sce.HTML, value)`}\n     *\n     * @param {*} value The value to trustAs.\n     * @returns {*} An object that can be passed to {@link ng.$sce#getTrustedHtml\n     *     $sce.getTrustedHtml(value)} to obtain the original value.  (privileged directives\n     *     only accept expressions that are either literal constants or are the\n     *     return value of {@link ng.$sce#trustAs $sce.trustAs}.)\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#trustAsUrl\n     *\n     * @description\n     * Shorthand method.  `$sce.trustAsUrl(value)` →\n     *     {@link ng.$sceDelegate#trustAs `$sceDelegate.trustAs($sce.URL, value)`}\n     *\n     * @param {*} value The value to trustAs.\n     * @returns {*} An object that can be passed to {@link ng.$sce#getTrustedUrl\n     *     $sce.getTrustedUrl(value)} to obtain the original value.  (privileged directives\n     *     only accept expressions that are either literal constants or are the\n     *     return value of {@link ng.$sce#trustAs $sce.trustAs}.)\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#trustAsResourceUrl\n     *\n     * @description\n     * Shorthand method.  `$sce.trustAsResourceUrl(value)` →\n     *     {@link ng.$sceDelegate#trustAs `$sceDelegate.trustAs($sce.RESOURCE_URL, value)`}\n     *\n     * @param {*} value The value to trustAs.\n     * @returns {*} An object that can be passed to {@link ng.$sce#getTrustedResourceUrl\n     *     $sce.getTrustedResourceUrl(value)} to obtain the original value.  (privileged directives\n     *     only accept expressions that are either literal constants or are the return\n     *     value of {@link ng.$sce#trustAs $sce.trustAs}.)\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#trustAsJs\n     *\n     * @description\n     * Shorthand method.  `$sce.trustAsJs(value)` →\n     *     {@link ng.$sceDelegate#trustAs `$sceDelegate.trustAs($sce.JS, value)`}\n     *\n     * @param {*} value The value to trustAs.\n     * @returns {*} An object that can be passed to {@link ng.$sce#getTrustedJs\n     *     $sce.getTrustedJs(value)} to obtain the original value.  (privileged directives\n     *     only accept expressions that are either literal constants or are the\n     *     return value of {@link ng.$sce#trustAs $sce.trustAs}.)\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#getTrusted\n     *\n     * @description\n     * Delegates to {@link ng.$sceDelegate#getTrusted `$sceDelegate.getTrusted`}.  As such,\n     * takes the result of a {@link ng.$sce#trustAs `$sce.trustAs`}() call and returns the\n     * originally supplied value if the queried context type is a supertype of the created type.\n     * If this condition isn't satisfied, throws an exception.\n     *\n     * @param {string} type The kind of context in which this value is to be used.\n     * @param {*} maybeTrusted The result of a prior {@link ng.$sce#trustAs `$sce.trustAs`}\n     *                         call.\n     * @returns {*} The value the was originally provided to\n     *              {@link ng.$sce#trustAs `$sce.trustAs`} if valid in this context.\n     *              Otherwise, throws an exception.\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#getTrustedHtml\n     *\n     * @description\n     * Shorthand method.  `$sce.getTrustedHtml(value)` →\n     *     {@link ng.$sceDelegate#getTrusted `$sceDelegate.getTrusted($sce.HTML, value)`}\n     *\n     * @param {*} value The value to pass to `$sce.getTrusted`.\n     * @returns {*} The return value of `$sce.getTrusted($sce.HTML, value)`\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#getTrustedCss\n     *\n     * @description\n     * Shorthand method.  `$sce.getTrustedCss(value)` →\n     *     {@link ng.$sceDelegate#getTrusted `$sceDelegate.getTrusted($sce.CSS, value)`}\n     *\n     * @param {*} value The value to pass to `$sce.getTrusted`.\n     * @returns {*} The return value of `$sce.getTrusted($sce.CSS, value)`\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#getTrustedUrl\n     *\n     * @description\n     * Shorthand method.  `$sce.getTrustedUrl(value)` →\n     *     {@link ng.$sceDelegate#getTrusted `$sceDelegate.getTrusted($sce.URL, value)`}\n     *\n     * @param {*} value The value to pass to `$sce.getTrusted`.\n     * @returns {*} The return value of `$sce.getTrusted($sce.URL, value)`\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#getTrustedResourceUrl\n     *\n     * @description\n     * Shorthand method.  `$sce.getTrustedResourceUrl(value)` →\n     *     {@link ng.$sceDelegate#getTrusted `$sceDelegate.getTrusted($sce.RESOURCE_URL, value)`}\n     *\n     * @param {*} value The value to pass to `$sceDelegate.getTrusted`.\n     * @returns {*} The return value of `$sce.getTrusted($sce.RESOURCE_URL, value)`\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#getTrustedJs\n     *\n     * @description\n     * Shorthand method.  `$sce.getTrustedJs(value)` →\n     *     {@link ng.$sceDelegate#getTrusted `$sceDelegate.getTrusted($sce.JS, value)`}\n     *\n     * @param {*} value The value to pass to `$sce.getTrusted`.\n     * @returns {*} The return value of `$sce.getTrusted($sce.JS, value)`\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#parseAsHtml\n     *\n     * @description\n     * Shorthand method.  `$sce.parseAsHtml(expression string)` →\n     *     {@link ng.$sce#parseAs `$sce.parseAs($sce.HTML, value)`}\n     *\n     * @param {string} expression String expression to compile.\n     * @returns {function(context, locals)} a function which represents the compiled expression:\n     *\n     *    * `context` – `{object}` – an object against which any expressions embedded in the strings\n     *      are evaluated against (typically a scope object).\n     *    * `locals` – `{object=}` – local variables context object, useful for overriding values in\n     *      `context`.\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#parseAsCss\n     *\n     * @description\n     * Shorthand method.  `$sce.parseAsCss(value)` →\n     *     {@link ng.$sce#parseAs `$sce.parseAs($sce.CSS, value)`}\n     *\n     * @param {string} expression String expression to compile.\n     * @returns {function(context, locals)} a function which represents the compiled expression:\n     *\n     *    * `context` – `{object}` – an object against which any expressions embedded in the strings\n     *      are evaluated against (typically a scope object).\n     *    * `locals` – `{object=}` – local variables context object, useful for overriding values in\n     *      `context`.\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#parseAsUrl\n     *\n     * @description\n     * Shorthand method.  `$sce.parseAsUrl(value)` →\n     *     {@link ng.$sce#parseAs `$sce.parseAs($sce.URL, value)`}\n     *\n     * @param {string} expression String expression to compile.\n     * @returns {function(context, locals)} a function which represents the compiled expression:\n     *\n     *    * `context` – `{object}` – an object against which any expressions embedded in the strings\n     *      are evaluated against (typically a scope object).\n     *    * `locals` – `{object=}` – local variables context object, useful for overriding values in\n     *      `context`.\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#parseAsResourceUrl\n     *\n     * @description\n     * Shorthand method.  `$sce.parseAsResourceUrl(value)` →\n     *     {@link ng.$sce#parseAs `$sce.parseAs($sce.RESOURCE_URL, value)`}\n     *\n     * @param {string} expression String expression to compile.\n     * @returns {function(context, locals)} a function which represents the compiled expression:\n     *\n     *    * `context` – `{object}` – an object against which any expressions embedded in the strings\n     *      are evaluated against (typically a scope object).\n     *    * `locals` – `{object=}` – local variables context object, useful for overriding values in\n     *      `context`.\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#parseAsJs\n     *\n     * @description\n     * Shorthand method.  `$sce.parseAsJs(value)` →\n     *     {@link ng.$sce#parseAs `$sce.parseAs($sce.JS, value)`}\n     *\n     * @param {string} expression String expression to compile.\n     * @returns {function(context, locals)} a function which represents the compiled expression:\n     *\n     *    * `context` – `{object}` – an object against which any expressions embedded in the strings\n     *      are evaluated against (typically a scope object).\n     *    * `locals` – `{object=}` – local variables context object, useful for overriding values in\n     *      `context`.\n     */\n\n    // Shorthand delegations.\n    var parse = sce.parseAs,\n        getTrusted = sce.getTrusted,\n        trustAs = sce.trustAs;\n\n    forEach(SCE_CONTEXTS, function(enumValue, name) {\n      var lName = lowercase(name);\n      sce[camelCase(\"parse_as_\" + lName)] = function(expr) {\n        return parse(enumValue, expr);\n      };\n      sce[camelCase(\"get_trusted_\" + lName)] = function(value) {\n        return getTrusted(enumValue, value);\n      };\n      sce[camelCase(\"trust_as_\" + lName)] = function(value) {\n        return trustAs(enumValue, value);\n      };\n    });\n\n    return sce;\n  }];\n}\n\n/**\n * !!! This is an undocumented \"private\" service !!!\n *\n * @name $sniffer\n * @requires $window\n * @requires $document\n *\n * @property {boolean} history Does the browser support html5 history api ?\n * @property {boolean} transitions Does the browser support CSS transition events ?\n * @property {boolean} animations Does the browser support CSS animation events ?\n *\n * @description\n * This is very simple implementation of testing browser's features.\n */\nfunction $SnifferProvider() {\n  this.$get = ['$window', '$document', function($window, $document) {\n    var eventSupport = {},\n        android =\n          toInt((/android (\\d+)/.exec(lowercase(($window.navigator || {}).userAgent)) || [])[1]),\n        boxee = /Boxee/i.test(($window.navigator || {}).userAgent),\n        document = $document[0] || {},\n        vendorPrefix,\n        vendorRegex = /^(Moz|webkit|ms)(?=[A-Z])/,\n        bodyStyle = document.body && document.body.style,\n        transitions = false,\n        animations = false,\n        match;\n\n    if (bodyStyle) {\n      for (var prop in bodyStyle) {\n        if (match = vendorRegex.exec(prop)) {\n          vendorPrefix = match[0];\n          vendorPrefix = vendorPrefix.substr(0, 1).toUpperCase() + vendorPrefix.substr(1);\n          break;\n        }\n      }\n\n      if (!vendorPrefix) {\n        vendorPrefix = ('WebkitOpacity' in bodyStyle) && 'webkit';\n      }\n\n      transitions = !!(('transition' in bodyStyle) || (vendorPrefix + 'Transition' in bodyStyle));\n      animations  = !!(('animation' in bodyStyle) || (vendorPrefix + 'Animation' in bodyStyle));\n\n      if (android && (!transitions ||  !animations)) {\n        transitions = isString(bodyStyle.webkitTransition);\n        animations = isString(bodyStyle.webkitAnimation);\n      }\n    }\n\n\n    return {\n      // Android has history.pushState, but it does not update location correctly\n      // so let's not use the history API at all.\n      // http://code.google.com/p/android/issues/detail?id=17471\n      // https://github.com/angular/angular.js/issues/904\n\n      // older webkit browser (533.9) on Boxee box has exactly the same problem as Android has\n      // so let's not use the history API also\n      // We are purposefully using `!(android < 4)` to cover the case when `android` is undefined\n      // jshint -W018\n      history: !!($window.history && $window.history.pushState && !(android < 4) && !boxee),\n      // jshint +W018\n      hasEvent: function(event) {\n        // IE9 implements 'input' event it's so fubared that we rather pretend that it doesn't have\n        // it. In particular the event is not fired when backspace or delete key are pressed or\n        // when cut operation is performed.\n        // IE10+ implements 'input' event but it erroneously fires under various situations,\n        // e.g. when placeholder changes, or a form is focused.\n        if (event === 'input' && msie <= 11) return false;\n\n        if (isUndefined(eventSupport[event])) {\n          var divElm = document.createElement('div');\n          eventSupport[event] = 'on' + event in divElm;\n        }\n\n        return eventSupport[event];\n      },\n      csp: csp(),\n      vendorPrefix: vendorPrefix,\n      transitions: transitions,\n      animations: animations,\n      android: android\n    };\n  }];\n}\n\nvar $compileMinErr = minErr('$compile');\n\n/**\n * @ngdoc service\n * @name $templateRequest\n *\n * @description\n * The `$templateRequest` service runs security checks then downloads the provided template using\n * `$http` and, upon success, stores the contents inside of `$templateCache`. If the HTTP request\n * fails or the response data of the HTTP request is empty, a `$compile` error will be thrown (the\n * exception can be thwarted by setting the 2nd parameter of the function to true). Note that the\n * contents of `$templateCache` are trusted, so the call to `$sce.getTrustedUrl(tpl)` is omitted\n * when `tpl` is of type string and `$templateCache` has the matching entry.\n *\n * @param {string|TrustedResourceUrl} tpl The HTTP request template URL\n * @param {boolean=} ignoreRequestError Whether or not to ignore the exception when the request fails or the template is empty\n *\n * @return {Promise} a promise for the HTTP response data of the given URL.\n *\n * @property {number} totalPendingRequests total amount of pending template requests being downloaded.\n */\nfunction $TemplateRequestProvider() {\n  this.$get = ['$templateCache', '$http', '$q', '$sce', function($templateCache, $http, $q, $sce) {\n    function handleRequestFn(tpl, ignoreRequestError) {\n      handleRequestFn.totalPendingRequests++;\n\n      // We consider the template cache holds only trusted templates, so\n      // there's no need to go through whitelisting again for keys that already\n      // are included in there. This also makes Angular accept any script\n      // directive, no matter its name. However, we still need to unwrap trusted\n      // types.\n      if (!isString(tpl) || !$templateCache.get(tpl)) {\n        tpl = $sce.getTrustedResourceUrl(tpl);\n      }\n\n      var transformResponse = $http.defaults && $http.defaults.transformResponse;\n\n      if (isArray(transformResponse)) {\n        transformResponse = transformResponse.filter(function(transformer) {\n          return transformer !== defaultHttpResponseTransform;\n        });\n      } else if (transformResponse === defaultHttpResponseTransform) {\n        transformResponse = null;\n      }\n\n      var httpOptions = {\n        cache: $templateCache,\n        transformResponse: transformResponse\n      };\n\n      return $http.get(tpl, httpOptions)\n        ['finally'](function() {\n          handleRequestFn.totalPendingRequests--;\n        })\n        .then(function(response) {\n          $templateCache.put(tpl, response.data);\n          return response.data;\n        }, handleError);\n\n      function handleError(resp) {\n        if (!ignoreRequestError) {\n          throw $compileMinErr('tpload', 'Failed to load template: {0} (HTTP status: {1} {2})',\n            tpl, resp.status, resp.statusText);\n        }\n        return $q.reject(resp);\n      }\n    }\n\n    handleRequestFn.totalPendingRequests = 0;\n\n    return handleRequestFn;\n  }];\n}\n\nfunction $$TestabilityProvider() {\n  this.$get = ['$rootScope', '$browser', '$location',\n       function($rootScope,   $browser,   $location) {\n\n    /**\n     * @name $testability\n     *\n     * @description\n     * The private $$testability service provides a collection of methods for use when debugging\n     * or by automated test and debugging tools.\n     */\n    var testability = {};\n\n    /**\n     * @name $$testability#findBindings\n     *\n     * @description\n     * Returns an array of elements that are bound (via ng-bind or {{}})\n     * to expressions matching the input.\n     *\n     * @param {Element} element The element root to search from.\n     * @param {string} expression The binding expression to match.\n     * @param {boolean} opt_exactMatch If true, only returns exact matches\n     *     for the expression. Filters and whitespace are ignored.\n     */\n    testability.findBindings = function(element, expression, opt_exactMatch) {\n      var bindings = element.getElementsByClassName('ng-binding');\n      var matches = [];\n      forEach(bindings, function(binding) {\n        var dataBinding = angular.element(binding).data('$binding');\n        if (dataBinding) {\n          forEach(dataBinding, function(bindingName) {\n            if (opt_exactMatch) {\n              var matcher = new RegExp('(^|\\\\s)' + escapeForRegexp(expression) + '(\\\\s|\\\\||$)');\n              if (matcher.test(bindingName)) {\n                matches.push(binding);\n              }\n            } else {\n              if (bindingName.indexOf(expression) != -1) {\n                matches.push(binding);\n              }\n            }\n          });\n        }\n      });\n      return matches;\n    };\n\n    /**\n     * @name $$testability#findModels\n     *\n     * @description\n     * Returns an array of elements that are two-way found via ng-model to\n     * expressions matching the input.\n     *\n     * @param {Element} element The element root to search from.\n     * @param {string} expression The model expression to match.\n     * @param {boolean} opt_exactMatch If true, only returns exact matches\n     *     for the expression.\n     */\n    testability.findModels = function(element, expression, opt_exactMatch) {\n      var prefixes = ['ng-', 'data-ng-', 'ng\\\\:'];\n      for (var p = 0; p < prefixes.length; ++p) {\n        var attributeEquals = opt_exactMatch ? '=' : '*=';\n        var selector = '[' + prefixes[p] + 'model' + attributeEquals + '\"' + expression + '\"]';\n        var elements = element.querySelectorAll(selector);\n        if (elements.length) {\n          return elements;\n        }\n      }\n    };\n\n    /**\n     * @name $$testability#getLocation\n     *\n     * @description\n     * Shortcut for getting the location in a browser agnostic way. Returns\n     *     the path, search, and hash. (e.g. /path?a=b#hash)\n     */\n    testability.getLocation = function() {\n      return $location.url();\n    };\n\n    /**\n     * @name $$testability#setLocation\n     *\n     * @description\n     * Shortcut for navigating to a location without doing a full page reload.\n     *\n     * @param {string} url The location url (path, search and hash,\n     *     e.g. /path?a=b#hash) to go to.\n     */\n    testability.setLocation = function(url) {\n      if (url !== $location.url()) {\n        $location.url(url);\n        $rootScope.$digest();\n      }\n    };\n\n    /**\n     * @name $$testability#whenStable\n     *\n     * @description\n     * Calls the callback when $timeout and $http requests are completed.\n     *\n     * @param {function} callback\n     */\n    testability.whenStable = function(callback) {\n      $browser.notifyWhenNoOutstandingRequests(callback);\n    };\n\n    return testability;\n  }];\n}\n\nfunction $TimeoutProvider() {\n  this.$get = ['$rootScope', '$browser', '$q', '$$q', '$exceptionHandler',\n       function($rootScope,   $browser,   $q,   $$q,   $exceptionHandler) {\n\n    var deferreds = {};\n\n\n     /**\n      * @ngdoc service\n      * @name $timeout\n      *\n      * @description\n      * Angular's wrapper for `window.setTimeout`. The `fn` function is wrapped into a try/catch\n      * block and delegates any exceptions to\n      * {@link ng.$exceptionHandler $exceptionHandler} service.\n      *\n      * The return value of calling `$timeout` is a promise, which will be resolved when\n      * the delay has passed and the timeout function, if provided, is executed.\n      *\n      * To cancel a timeout request, call `$timeout.cancel(promise)`.\n      *\n      * In tests you can use {@link ngMock.$timeout `$timeout.flush()`} to\n      * synchronously flush the queue of deferred functions.\n      *\n      * If you only want a promise that will be resolved after some specified delay\n      * then you can call `$timeout` without the `fn` function.\n      *\n      * @param {function()=} fn A function, whose execution should be delayed.\n      * @param {number=} [delay=0] Delay in milliseconds.\n      * @param {boolean=} [invokeApply=true] If set to `false` skips model dirty checking, otherwise\n      *   will invoke `fn` within the {@link ng.$rootScope.Scope#$apply $apply} block.\n      * @param {...*=} Pass additional parameters to the executed function.\n      * @returns {Promise} Promise that will be resolved when the timeout is reached. The value this\n      *   promise will be resolved with is the return value of the `fn` function.\n      *\n      */\n    function timeout(fn, delay, invokeApply) {\n      if (!isFunction(fn)) {\n        invokeApply = delay;\n        delay = fn;\n        fn = noop;\n      }\n\n      var args = sliceArgs(arguments, 3),\n          skipApply = (isDefined(invokeApply) && !invokeApply),\n          deferred = (skipApply ? $$q : $q).defer(),\n          promise = deferred.promise,\n          timeoutId;\n\n      timeoutId = $browser.defer(function() {\n        try {\n          deferred.resolve(fn.apply(null, args));\n        } catch (e) {\n          deferred.reject(e);\n          $exceptionHandler(e);\n        }\n        finally {\n          delete deferreds[promise.$$timeoutId];\n        }\n\n        if (!skipApply) $rootScope.$apply();\n      }, delay);\n\n      promise.$$timeoutId = timeoutId;\n      deferreds[timeoutId] = deferred;\n\n      return promise;\n    }\n\n\n     /**\n      * @ngdoc method\n      * @name $timeout#cancel\n      *\n      * @description\n      * Cancels a task associated with the `promise`. As a result of this, the promise will be\n      * resolved with a rejection.\n      *\n      * @param {Promise=} promise Promise returned by the `$timeout` function.\n      * @returns {boolean} Returns `true` if the task hasn't executed yet and was successfully\n      *   canceled.\n      */\n    timeout.cancel = function(promise) {\n      if (promise && promise.$$timeoutId in deferreds) {\n        deferreds[promise.$$timeoutId].reject('canceled');\n        delete deferreds[promise.$$timeoutId];\n        return $browser.defer.cancel(promise.$$timeoutId);\n      }\n      return false;\n    };\n\n    return timeout;\n  }];\n}\n\n// NOTE:  The usage of window and document instead of $window and $document here is\n// deliberate.  This service depends on the specific behavior of anchor nodes created by the\n// browser (resolving and parsing URLs) that is unlikely to be provided by mock objects and\n// cause us to break tests.  In addition, when the browser resolves a URL for XHR, it\n// doesn't know about mocked locations and resolves URLs to the real document - which is\n// exactly the behavior needed here.  There is little value is mocking these out for this\n// service.\nvar urlParsingNode = document.createElement(\"a\");\nvar originUrl = urlResolve(window.location.href);\n\n\n/**\n *\n * Implementation Notes for non-IE browsers\n * ----------------------------------------\n * Assigning a URL to the href property of an anchor DOM node, even one attached to the DOM,\n * results both in the normalizing and parsing of the URL.  Normalizing means that a relative\n * URL will be resolved into an absolute URL in the context of the application document.\n * Parsing means that the anchor node's host, hostname, protocol, port, pathname and related\n * properties are all populated to reflect the normalized URL.  This approach has wide\n * compatibility - Safari 1+, Mozilla 1+, Opera 7+,e etc.  See\n * http://www.aptana.com/reference/html/api/HTMLAnchorElement.html\n *\n * Implementation Notes for IE\n * ---------------------------\n * IE <= 10 normalizes the URL when assigned to the anchor node similar to the other\n * browsers.  However, the parsed components will not be set if the URL assigned did not specify\n * them.  (e.g. if you assign a.href = \"foo\", then a.protocol, a.host, etc. will be empty.)  We\n * work around that by performing the parsing in a 2nd step by taking a previously normalized\n * URL (e.g. by assigning to a.href) and assigning it a.href again.  This correctly populates the\n * properties such as protocol, hostname, port, etc.\n *\n * References:\n *   http://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement\n *   http://www.aptana.com/reference/html/api/HTMLAnchorElement.html\n *   http://url.spec.whatwg.org/#urlutils\n *   https://github.com/angular/angular.js/pull/2902\n *   http://james.padolsey.com/javascript/parsing-urls-with-the-dom/\n *\n * @kind function\n * @param {string} url The URL to be parsed.\n * @description Normalizes and parses a URL.\n * @returns {object} Returns the normalized URL as a dictionary.\n *\n *   | member name   | Description    |\n *   |---------------|----------------|\n *   | href          | A normalized version of the provided URL if it was not an absolute URL |\n *   | protocol      | The protocol including the trailing colon                              |\n *   | host          | The host and port (if the port is non-default) of the normalizedUrl    |\n *   | search        | The search params, minus the question mark                             |\n *   | hash          | The hash string, minus the hash symbol\n *   | hostname      | The hostname\n *   | port          | The port, without \":\"\n *   | pathname      | The pathname, beginning with \"/\"\n *\n */\nfunction urlResolve(url) {\n  var href = url;\n\n  if (msie) {\n    // Normalize before parse.  Refer Implementation Notes on why this is\n    // done in two steps on IE.\n    urlParsingNode.setAttribute(\"href\", href);\n    href = urlParsingNode.href;\n  }\n\n  urlParsingNode.setAttribute('href', href);\n\n  // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n  return {\n    href: urlParsingNode.href,\n    protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n    host: urlParsingNode.host,\n    search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n    hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n    hostname: urlParsingNode.hostname,\n    port: urlParsingNode.port,\n    pathname: (urlParsingNode.pathname.charAt(0) === '/')\n      ? urlParsingNode.pathname\n      : '/' + urlParsingNode.pathname\n  };\n}\n\n/**\n * Parse a request URL and determine whether this is a same-origin request as the application document.\n *\n * @param {string|object} requestUrl The url of the request as a string that will be resolved\n * or a parsed URL object.\n * @returns {boolean} Whether the request is for the same origin as the application document.\n */\nfunction urlIsSameOrigin(requestUrl) {\n  var parsed = (isString(requestUrl)) ? urlResolve(requestUrl) : requestUrl;\n  return (parsed.protocol === originUrl.protocol &&\n          parsed.host === originUrl.host);\n}\n\n/**\n * @ngdoc service\n * @name $window\n *\n * @description\n * A reference to the browser's `window` object. While `window`\n * is globally available in JavaScript, it causes testability problems, because\n * it is a global variable. In angular we always refer to it through the\n * `$window` service, so it may be overridden, removed or mocked for testing.\n *\n * Expressions, like the one defined for the `ngClick` directive in the example\n * below, are evaluated with respect to the current scope.  Therefore, there is\n * no risk of inadvertently coding in a dependency on a global value in such an\n * expression.\n *\n * @example\n   <example module=\"windowExample\">\n     <file name=\"index.html\">\n       <script>\n         angular.module('windowExample', [])\n           .controller('ExampleController', ['$scope', '$window', function($scope, $window) {\n             $scope.greeting = 'Hello, World!';\n             $scope.doGreeting = function(greeting) {\n               $window.alert(greeting);\n             };\n           }]);\n       </script>\n       <div ng-controller=\"ExampleController\">\n         <input type=\"text\" ng-model=\"greeting\" aria-label=\"greeting\" />\n         <button ng-click=\"doGreeting(greeting)\">ALERT</button>\n       </div>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n      it('should display the greeting in the input box', function() {\n       element(by.model('greeting')).sendKeys('Hello, E2E Tests');\n       // If we click the button it will block the test runner\n       // element(':button').click();\n      });\n     </file>\n   </example>\n */\nfunction $WindowProvider() {\n  this.$get = valueFn(window);\n}\n\n/**\n * @name $$cookieReader\n * @requires $document\n *\n * @description\n * This is a private service for reading cookies used by $http and ngCookies\n *\n * @return {Object} a key/value map of the current cookies\n */\nfunction $$CookieReader($document) {\n  var rawDocument = $document[0] || {};\n  var lastCookies = {};\n  var lastCookieString = '';\n\n  function safeDecodeURIComponent(str) {\n    try {\n      return decodeURIComponent(str);\n    } catch (e) {\n      return str;\n    }\n  }\n\n  return function() {\n    var cookieArray, cookie, i, index, name;\n    var currentCookieString = rawDocument.cookie || '';\n\n    if (currentCookieString !== lastCookieString) {\n      lastCookieString = currentCookieString;\n      cookieArray = lastCookieString.split('; ');\n      lastCookies = {};\n\n      for (i = 0; i < cookieArray.length; i++) {\n        cookie = cookieArray[i];\n        index = cookie.indexOf('=');\n        if (index > 0) { //ignore nameless cookies\n          name = safeDecodeURIComponent(cookie.substring(0, index));\n          // the first value that is seen for a cookie is the most\n          // specific one.  values for the same cookie name that\n          // follow are for less specific paths.\n          if (isUndefined(lastCookies[name])) {\n            lastCookies[name] = safeDecodeURIComponent(cookie.substring(index + 1));\n          }\n        }\n      }\n    }\n    return lastCookies;\n  };\n}\n\n$$CookieReader.$inject = ['$document'];\n\nfunction $$CookieReaderProvider() {\n  this.$get = $$CookieReader;\n}\n\n/* global currencyFilter: true,\n dateFilter: true,\n filterFilter: true,\n jsonFilter: true,\n limitToFilter: true,\n lowercaseFilter: true,\n numberFilter: true,\n orderByFilter: true,\n uppercaseFilter: true,\n */\n\n/**\n * @ngdoc provider\n * @name $filterProvider\n * @description\n *\n * Filters are just functions which transform input to an output. However filters need to be\n * Dependency Injected. To achieve this a filter definition consists of a factory function which is\n * annotated with dependencies and is responsible for creating a filter function.\n *\n * <div class=\"alert alert-warning\">\n * **Note:** Filter names must be valid angular {@link expression} identifiers, such as `uppercase` or `orderBy`.\n * Names with special characters, such as hyphens and dots, are not allowed. If you wish to namespace\n * your filters, then you can use capitalization (`myappSubsectionFilterx`) or underscores\n * (`myapp_subsection_filterx`).\n * </div>\n *\n * ```js\n *   // Filter registration\n *   function MyModule($provide, $filterProvider) {\n *     // create a service to demonstrate injection (not always needed)\n *     $provide.value('greet', function(name){\n *       return 'Hello ' + name + '!';\n *     });\n *\n *     // register a filter factory which uses the\n *     // greet service to demonstrate DI.\n *     $filterProvider.register('greet', function(greet){\n *       // return the filter function which uses the greet service\n *       // to generate salutation\n *       return function(text) {\n *         // filters need to be forgiving so check input validity\n *         return text && greet(text) || text;\n *       };\n *     });\n *   }\n * ```\n *\n * The filter function is registered with the `$injector` under the filter name suffix with\n * `Filter`.\n *\n * ```js\n *   it('should be the same instance', inject(\n *     function($filterProvider) {\n *       $filterProvider.register('reverse', function(){\n *         return ...;\n *       });\n *     },\n *     function($filter, reverseFilter) {\n *       expect($filter('reverse')).toBe(reverseFilter);\n *     });\n * ```\n *\n *\n * For more information about how angular filters work, and how to create your own filters, see\n * {@link guide/filter Filters} in the Angular Developer Guide.\n */\n\n/**\n * @ngdoc service\n * @name $filter\n * @kind function\n * @description\n * Filters are used for formatting data displayed to the user.\n *\n * The general syntax in templates is as follows:\n *\n *         {{ expression [| filter_name[:parameter_value] ... ] }}\n *\n * @param {String} name Name of the filter function to retrieve\n * @return {Function} the filter function\n * @example\n   <example name=\"$filter\" module=\"filterExample\">\n     <file name=\"index.html\">\n       <div ng-controller=\"MainCtrl\">\n        <h3>{{ originalText }}</h3>\n        <h3>{{ filteredText }}</h3>\n       </div>\n     </file>\n\n     <file name=\"script.js\">\n      angular.module('filterExample', [])\n      .controller('MainCtrl', function($scope, $filter) {\n        $scope.originalText = 'hello';\n        $scope.filteredText = $filter('uppercase')($scope.originalText);\n      });\n     </file>\n   </example>\n  */\n$FilterProvider.$inject = ['$provide'];\nfunction $FilterProvider($provide) {\n  var suffix = 'Filter';\n\n  /**\n   * @ngdoc method\n   * @name $filterProvider#register\n   * @param {string|Object} name Name of the filter function, or an object map of filters where\n   *    the keys are the filter names and the values are the filter factories.\n   *\n   *    <div class=\"alert alert-warning\">\n   *    **Note:** Filter names must be valid angular {@link expression} identifiers, such as `uppercase` or `orderBy`.\n   *    Names with special characters, such as hyphens and dots, are not allowed. If you wish to namespace\n   *    your filters, then you can use capitalization (`myappSubsectionFilterx`) or underscores\n   *    (`myapp_subsection_filterx`).\n   *    </div>\n    * @param {Function} factory If the first argument was a string, a factory function for the filter to be registered.\n   * @returns {Object} Registered filter instance, or if a map of filters was provided then a map\n   *    of the registered filter instances.\n   */\n  function register(name, factory) {\n    if (isObject(name)) {\n      var filters = {};\n      forEach(name, function(filter, key) {\n        filters[key] = register(key, filter);\n      });\n      return filters;\n    } else {\n      return $provide.factory(name + suffix, factory);\n    }\n  }\n  this.register = register;\n\n  this.$get = ['$injector', function($injector) {\n    return function(name) {\n      return $injector.get(name + suffix);\n    };\n  }];\n\n  ////////////////////////////////////////\n\n  /* global\n    currencyFilter: false,\n    dateFilter: false,\n    filterFilter: false,\n    jsonFilter: false,\n    limitToFilter: false,\n    lowercaseFilter: false,\n    numberFilter: false,\n    orderByFilter: false,\n    uppercaseFilter: false,\n  */\n\n  register('currency', currencyFilter);\n  register('date', dateFilter);\n  register('filter', filterFilter);\n  register('json', jsonFilter);\n  register('limitTo', limitToFilter);\n  register('lowercase', lowercaseFilter);\n  register('number', numberFilter);\n  register('orderBy', orderByFilter);\n  register('uppercase', uppercaseFilter);\n}\n\n/**\n * @ngdoc filter\n * @name filter\n * @kind function\n *\n * @description\n * Selects a subset of items from `array` and returns it as a new array.\n *\n * @param {Array} array The source array.\n * @param {string|Object|function()} expression The predicate to be used for selecting items from\n *   `array`.\n *\n *   Can be one of:\n *\n *   - `string`: The string is used for matching against the contents of the `array`. All strings or\n *     objects with string properties in `array` that match this string will be returned. This also\n *     applies to nested object properties.\n *     The predicate can be negated by prefixing the string with `!`.\n *\n *   - `Object`: A pattern object can be used to filter specific properties on objects contained\n *     by `array`. For example `{name:\"M\", phone:\"1\"}` predicate will return an array of items\n *     which have property `name` containing \"M\" and property `phone` containing \"1\". A special\n *     property name `$` can be used (as in `{$:\"text\"}`) to accept a match against any\n *     property of the object or its nested object properties. That's equivalent to the simple\n *     substring match with a `string` as described above. The predicate can be negated by prefixing\n *     the string with `!`.\n *     For example `{name: \"!M\"}` predicate will return an array of items which have property `name`\n *     not containing \"M\".\n *\n *     Note that a named property will match properties on the same level only, while the special\n *     `$` property will match properties on the same level or deeper. E.g. an array item like\n *     `{name: {first: 'John', last: 'Doe'}}` will **not** be matched by `{name: 'John'}`, but\n *     **will** be matched by `{$: 'John'}`.\n *\n *   - `function(value, index, array)`: A predicate function can be used to write arbitrary filters.\n *     The function is called for each element of the array, with the element, its index, and\n *     the entire array itself as arguments.\n *\n *     The final result is an array of those elements that the predicate returned true for.\n *\n * @param {function(actual, expected)|true|undefined} comparator Comparator which is used in\n *     determining if the expected value (from the filter expression) and actual value (from\n *     the object in the array) should be considered a match.\n *\n *   Can be one of:\n *\n *   - `function(actual, expected)`:\n *     The function will be given the object value and the predicate value to compare and\n *     should return true if both values should be considered equal.\n *\n *   - `true`: A shorthand for `function(actual, expected) { return angular.equals(actual, expected)}`.\n *     This is essentially strict comparison of expected and actual.\n *\n *   - `false|undefined`: A short hand for a function which will look for a substring match in case\n *     insensitive way.\n *\n *     Primitive values are converted to strings. Objects are not compared against primitives,\n *     unless they have a custom `toString` method (e.g. `Date` objects).\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n       <div ng-init=\"friends = [{name:'John', phone:'555-1276'},\n                                {name:'Mary', phone:'800-BIG-MARY'},\n                                {name:'Mike', phone:'555-4321'},\n                                {name:'Adam', phone:'555-5678'},\n                                {name:'Julie', phone:'555-8765'},\n                                {name:'Juliette', phone:'555-5678'}]\"></div>\n\n       <label>Search: <input ng-model=\"searchText\"></label>\n       <table id=\"searchTextResults\">\n         <tr><th>Name</th><th>Phone</th></tr>\n         <tr ng-repeat=\"friend in friends | filter:searchText\">\n           <td>{{friend.name}}</td>\n           <td>{{friend.phone}}</td>\n         </tr>\n       </table>\n       <hr>\n       <label>Any: <input ng-model=\"search.$\"></label> <br>\n       <label>Name only <input ng-model=\"search.name\"></label><br>\n       <label>Phone only <input ng-model=\"search.phone\"></label><br>\n       <label>Equality <input type=\"checkbox\" ng-model=\"strict\"></label><br>\n       <table id=\"searchObjResults\">\n         <tr><th>Name</th><th>Phone</th></tr>\n         <tr ng-repeat=\"friendObj in friends | filter:search:strict\">\n           <td>{{friendObj.name}}</td>\n           <td>{{friendObj.phone}}</td>\n         </tr>\n       </table>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       var expectFriendNames = function(expectedNames, key) {\n         element.all(by.repeater(key + ' in friends').column(key + '.name')).then(function(arr) {\n           arr.forEach(function(wd, i) {\n             expect(wd.getText()).toMatch(expectedNames[i]);\n           });\n         });\n       };\n\n       it('should search across all fields when filtering with a string', function() {\n         var searchText = element(by.model('searchText'));\n         searchText.clear();\n         searchText.sendKeys('m');\n         expectFriendNames(['Mary', 'Mike', 'Adam'], 'friend');\n\n         searchText.clear();\n         searchText.sendKeys('76');\n         expectFriendNames(['John', 'Julie'], 'friend');\n       });\n\n       it('should search in specific fields when filtering with a predicate object', function() {\n         var searchAny = element(by.model('search.$'));\n         searchAny.clear();\n         searchAny.sendKeys('i');\n         expectFriendNames(['Mary', 'Mike', 'Julie', 'Juliette'], 'friendObj');\n       });\n       it('should use a equal comparison when comparator is true', function() {\n         var searchName = element(by.model('search.name'));\n         var strict = element(by.model('strict'));\n         searchName.clear();\n         searchName.sendKeys('Julie');\n         strict.click();\n         expectFriendNames(['Julie'], 'friendObj');\n       });\n     </file>\n   </example>\n */\nfunction filterFilter() {\n  return function(array, expression, comparator) {\n    if (!isArrayLike(array)) {\n      if (array == null) {\n        return array;\n      } else {\n        throw minErr('filter')('notarray', 'Expected array but received: {0}', array);\n      }\n    }\n\n    var expressionType = getTypeForFilter(expression);\n    var predicateFn;\n    var matchAgainstAnyProp;\n\n    switch (expressionType) {\n      case 'function':\n        predicateFn = expression;\n        break;\n      case 'boolean':\n      case 'null':\n      case 'number':\n      case 'string':\n        matchAgainstAnyProp = true;\n        //jshint -W086\n      case 'object':\n        //jshint +W086\n        predicateFn = createPredicateFn(expression, comparator, matchAgainstAnyProp);\n        break;\n      default:\n        return array;\n    }\n\n    return Array.prototype.filter.call(array, predicateFn);\n  };\n}\n\n// Helper functions for `filterFilter`\nfunction createPredicateFn(expression, comparator, matchAgainstAnyProp) {\n  var shouldMatchPrimitives = isObject(expression) && ('$' in expression);\n  var predicateFn;\n\n  if (comparator === true) {\n    comparator = equals;\n  } else if (!isFunction(comparator)) {\n    comparator = function(actual, expected) {\n      if (isUndefined(actual)) {\n        // No substring matching against `undefined`\n        return false;\n      }\n      if ((actual === null) || (expected === null)) {\n        // No substring matching against `null`; only match against `null`\n        return actual === expected;\n      }\n      if (isObject(expected) || (isObject(actual) && !hasCustomToString(actual))) {\n        // Should not compare primitives against objects, unless they have custom `toString` method\n        return false;\n      }\n\n      actual = lowercase('' + actual);\n      expected = lowercase('' + expected);\n      return actual.indexOf(expected) !== -1;\n    };\n  }\n\n  predicateFn = function(item) {\n    if (shouldMatchPrimitives && !isObject(item)) {\n      return deepCompare(item, expression.$, comparator, false);\n    }\n    return deepCompare(item, expression, comparator, matchAgainstAnyProp);\n  };\n\n  return predicateFn;\n}\n\nfunction deepCompare(actual, expected, comparator, matchAgainstAnyProp, dontMatchWholeObject) {\n  var actualType = getTypeForFilter(actual);\n  var expectedType = getTypeForFilter(expected);\n\n  if ((expectedType === 'string') && (expected.charAt(0) === '!')) {\n    return !deepCompare(actual, expected.substring(1), comparator, matchAgainstAnyProp);\n  } else if (isArray(actual)) {\n    // In case `actual` is an array, consider it a match\n    // if ANY of it's items matches `expected`\n    return actual.some(function(item) {\n      return deepCompare(item, expected, comparator, matchAgainstAnyProp);\n    });\n  }\n\n  switch (actualType) {\n    case 'object':\n      var key;\n      if (matchAgainstAnyProp) {\n        for (key in actual) {\n          if ((key.charAt(0) !== '$') && deepCompare(actual[key], expected, comparator, true)) {\n            return true;\n          }\n        }\n        return dontMatchWholeObject ? false : deepCompare(actual, expected, comparator, false);\n      } else if (expectedType === 'object') {\n        for (key in expected) {\n          var expectedVal = expected[key];\n          if (isFunction(expectedVal) || isUndefined(expectedVal)) {\n            continue;\n          }\n\n          var matchAnyProperty = key === '$';\n          var actualVal = matchAnyProperty ? actual : actual[key];\n          if (!deepCompare(actualVal, expectedVal, comparator, matchAnyProperty, matchAnyProperty)) {\n            return false;\n          }\n        }\n        return true;\n      } else {\n        return comparator(actual, expected);\n      }\n      break;\n    case 'function':\n      return false;\n    default:\n      return comparator(actual, expected);\n  }\n}\n\n// Used for easily differentiating between `null` and actual `object`\nfunction getTypeForFilter(val) {\n  return (val === null) ? 'null' : typeof val;\n}\n\n/**\n * @ngdoc filter\n * @name currency\n * @kind function\n *\n * @description\n * Formats a number as a currency (ie $1,234.56). When no currency symbol is provided, default\n * symbol for current locale is used.\n *\n * @param {number} amount Input to filter.\n * @param {string=} symbol Currency symbol or identifier to be displayed.\n * @param {number=} fractionSize Number of decimal places to round the amount to, defaults to default max fraction size for current locale\n * @returns {string} Formatted number.\n *\n *\n * @example\n   <example module=\"currencyExample\">\n     <file name=\"index.html\">\n       <script>\n         angular.module('currencyExample', [])\n           .controller('ExampleController', ['$scope', function($scope) {\n             $scope.amount = 1234.56;\n           }]);\n       </script>\n       <div ng-controller=\"ExampleController\">\n         <input type=\"number\" ng-model=\"amount\" aria-label=\"amount\"> <br>\n         default currency symbol ($): <span id=\"currency-default\">{{amount | currency}}</span><br>\n         custom currency identifier (USD$): <span id=\"currency-custom\">{{amount | currency:\"USD$\"}}</span>\n         no fractions (0): <span id=\"currency-no-fractions\">{{amount | currency:\"USD$\":0}}</span>\n       </div>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       it('should init with 1234.56', function() {\n         expect(element(by.id('currency-default')).getText()).toBe('$1,234.56');\n         expect(element(by.id('currency-custom')).getText()).toBe('USD$1,234.56');\n         expect(element(by.id('currency-no-fractions')).getText()).toBe('USD$1,235');\n       });\n       it('should update', function() {\n         if (browser.params.browser == 'safari') {\n           // Safari does not understand the minus key. See\n           // https://github.com/angular/protractor/issues/481\n           return;\n         }\n         element(by.model('amount')).clear();\n         element(by.model('amount')).sendKeys('-1234');\n         expect(element(by.id('currency-default')).getText()).toBe('-$1,234.00');\n         expect(element(by.id('currency-custom')).getText()).toBe('-USD$1,234.00');\n         expect(element(by.id('currency-no-fractions')).getText()).toBe('-USD$1,234');\n       });\n     </file>\n   </example>\n */\ncurrencyFilter.$inject = ['$locale'];\nfunction currencyFilter($locale) {\n  var formats = $locale.NUMBER_FORMATS;\n  return function(amount, currencySymbol, fractionSize) {\n    if (isUndefined(currencySymbol)) {\n      currencySymbol = formats.CURRENCY_SYM;\n    }\n\n    if (isUndefined(fractionSize)) {\n      fractionSize = formats.PATTERNS[1].maxFrac;\n    }\n\n    // if null or undefined pass it through\n    return (amount == null)\n        ? amount\n        : formatNumber(amount, formats.PATTERNS[1], formats.GROUP_SEP, formats.DECIMAL_SEP, fractionSize).\n            replace(/\\u00A4/g, currencySymbol);\n  };\n}\n\n/**\n * @ngdoc filter\n * @name number\n * @kind function\n *\n * @description\n * Formats a number as text.\n *\n * If the input is null or undefined, it will just be returned.\n * If the input is infinite (Infinity/-Infinity) the Infinity symbol '∞' is returned.\n * If the input is not a number an empty string is returned.\n *\n *\n * @param {number|string} number Number to format.\n * @param {(number|string)=} fractionSize Number of decimal places to round the number to.\n * If this is not provided then the fraction size is computed from the current locale's number\n * formatting pattern. In the case of the default locale, it will be 3.\n * @returns {string} Number rounded to decimalPlaces and places a “,” after each third digit.\n *\n * @example\n   <example module=\"numberFilterExample\">\n     <file name=\"index.html\">\n       <script>\n         angular.module('numberFilterExample', [])\n           .controller('ExampleController', ['$scope', function($scope) {\n             $scope.val = 1234.56789;\n           }]);\n       </script>\n       <div ng-controller=\"ExampleController\">\n         <label>Enter number: <input ng-model='val'></label><br>\n         Default formatting: <span id='number-default'>{{val | number}}</span><br>\n         No fractions: <span>{{val | number:0}}</span><br>\n         Negative number: <span>{{-val | number:4}}</span>\n       </div>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       it('should format numbers', function() {\n         expect(element(by.id('number-default')).getText()).toBe('1,234.568');\n         expect(element(by.binding('val | number:0')).getText()).toBe('1,235');\n         expect(element(by.binding('-val | number:4')).getText()).toBe('-1,234.5679');\n       });\n\n       it('should update', function() {\n         element(by.model('val')).clear();\n         element(by.model('val')).sendKeys('3374.333');\n         expect(element(by.id('number-default')).getText()).toBe('3,374.333');\n         expect(element(by.binding('val | number:0')).getText()).toBe('3,374');\n         expect(element(by.binding('-val | number:4')).getText()).toBe('-3,374.3330');\n      });\n     </file>\n   </example>\n */\n\n\nnumberFilter.$inject = ['$locale'];\nfunction numberFilter($locale) {\n  var formats = $locale.NUMBER_FORMATS;\n  return function(number, fractionSize) {\n\n    // if null or undefined pass it through\n    return (number == null)\n        ? number\n        : formatNumber(number, formats.PATTERNS[0], formats.GROUP_SEP, formats.DECIMAL_SEP,\n                       fractionSize);\n  };\n}\n\nvar DECIMAL_SEP = '.';\nfunction formatNumber(number, pattern, groupSep, decimalSep, fractionSize) {\n  if (isObject(number)) return '';\n\n  var isNegative = number < 0;\n  number = Math.abs(number);\n\n  var isInfinity = number === Infinity;\n  if (!isInfinity && !isFinite(number)) return '';\n\n  var numStr = number + '',\n      formatedText = '',\n      hasExponent = false,\n      parts = [];\n\n  if (isInfinity) formatedText = '\\u221e';\n\n  if (!isInfinity && numStr.indexOf('e') !== -1) {\n    var match = numStr.match(/([\\d\\.]+)e(-?)(\\d+)/);\n    if (match && match[2] == '-' && match[3] > fractionSize + 1) {\n      number = 0;\n    } else {\n      formatedText = numStr;\n      hasExponent = true;\n    }\n  }\n\n  if (!isInfinity && !hasExponent) {\n    var fractionLen = (numStr.split(DECIMAL_SEP)[1] || '').length;\n\n    // determine fractionSize if it is not specified\n    if (isUndefined(fractionSize)) {\n      fractionSize = Math.min(Math.max(pattern.minFrac, fractionLen), pattern.maxFrac);\n    }\n\n    // safely round numbers in JS without hitting imprecisions of floating-point arithmetics\n    // inspired by:\n    // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/round\n    number = +(Math.round(+(number.toString() + 'e' + fractionSize)).toString() + 'e' + -fractionSize);\n\n    var fraction = ('' + number).split(DECIMAL_SEP);\n    var whole = fraction[0];\n    fraction = fraction[1] || '';\n\n    var i, pos = 0,\n        lgroup = pattern.lgSize,\n        group = pattern.gSize;\n\n    if (whole.length >= (lgroup + group)) {\n      pos = whole.length - lgroup;\n      for (i = 0; i < pos; i++) {\n        if ((pos - i) % group === 0 && i !== 0) {\n          formatedText += groupSep;\n        }\n        formatedText += whole.charAt(i);\n      }\n    }\n\n    for (i = pos; i < whole.length; i++) {\n      if ((whole.length - i) % lgroup === 0 && i !== 0) {\n        formatedText += groupSep;\n      }\n      formatedText += whole.charAt(i);\n    }\n\n    // format fraction part.\n    while (fraction.length < fractionSize) {\n      fraction += '0';\n    }\n\n    if (fractionSize && fractionSize !== \"0\") formatedText += decimalSep + fraction.substr(0, fractionSize);\n  } else {\n    if (fractionSize > 0 && number < 1) {\n      formatedText = number.toFixed(fractionSize);\n      number = parseFloat(formatedText);\n      formatedText = formatedText.replace(DECIMAL_SEP, decimalSep);\n    }\n  }\n\n  if (number === 0) {\n    isNegative = false;\n  }\n\n  parts.push(isNegative ? pattern.negPre : pattern.posPre,\n             formatedText,\n             isNegative ? pattern.negSuf : pattern.posSuf);\n  return parts.join('');\n}\n\nfunction padNumber(num, digits, trim) {\n  var neg = '';\n  if (num < 0) {\n    neg =  '-';\n    num = -num;\n  }\n  num = '' + num;\n  while (num.length < digits) num = '0' + num;\n  if (trim) {\n    num = num.substr(num.length - digits);\n  }\n  return neg + num;\n}\n\n\nfunction dateGetter(name, size, offset, trim) {\n  offset = offset || 0;\n  return function(date) {\n    var value = date['get' + name]();\n    if (offset > 0 || value > -offset) {\n      value += offset;\n    }\n    if (value === 0 && offset == -12) value = 12;\n    return padNumber(value, size, trim);\n  };\n}\n\nfunction dateStrGetter(name, shortForm) {\n  return function(date, formats) {\n    var value = date['get' + name]();\n    var get = uppercase(shortForm ? ('SHORT' + name) : name);\n\n    return formats[get][value];\n  };\n}\n\nfunction timeZoneGetter(date, formats, offset) {\n  var zone = -1 * offset;\n  var paddedZone = (zone >= 0) ? \"+\" : \"\";\n\n  paddedZone += padNumber(Math[zone > 0 ? 'floor' : 'ceil'](zone / 60), 2) +\n                padNumber(Math.abs(zone % 60), 2);\n\n  return paddedZone;\n}\n\nfunction getFirstThursdayOfYear(year) {\n    // 0 = index of January\n    var dayOfWeekOnFirst = (new Date(year, 0, 1)).getDay();\n    // 4 = index of Thursday (+1 to account for 1st = 5)\n    // 11 = index of *next* Thursday (+1 account for 1st = 12)\n    return new Date(year, 0, ((dayOfWeekOnFirst <= 4) ? 5 : 12) - dayOfWeekOnFirst);\n}\n\nfunction getThursdayThisWeek(datetime) {\n    return new Date(datetime.getFullYear(), datetime.getMonth(),\n      // 4 = index of Thursday\n      datetime.getDate() + (4 - datetime.getDay()));\n}\n\nfunction weekGetter(size) {\n   return function(date) {\n      var firstThurs = getFirstThursdayOfYear(date.getFullYear()),\n         thisThurs = getThursdayThisWeek(date);\n\n      var diff = +thisThurs - +firstThurs,\n         result = 1 + Math.round(diff / 6.048e8); // 6.048e8 ms per week\n\n      return padNumber(result, size);\n   };\n}\n\nfunction ampmGetter(date, formats) {\n  return date.getHours() < 12 ? formats.AMPMS[0] : formats.AMPMS[1];\n}\n\nfunction eraGetter(date, formats) {\n  return date.getFullYear() <= 0 ? formats.ERAS[0] : formats.ERAS[1];\n}\n\nfunction longEraGetter(date, formats) {\n  return date.getFullYear() <= 0 ? formats.ERANAMES[0] : formats.ERANAMES[1];\n}\n\nvar DATE_FORMATS = {\n  yyyy: dateGetter('FullYear', 4),\n    yy: dateGetter('FullYear', 2, 0, true),\n     y: dateGetter('FullYear', 1),\n  MMMM: dateStrGetter('Month'),\n   MMM: dateStrGetter('Month', true),\n    MM: dateGetter('Month', 2, 1),\n     M: dateGetter('Month', 1, 1),\n    dd: dateGetter('Date', 2),\n     d: dateGetter('Date', 1),\n    HH: dateGetter('Hours', 2),\n     H: dateGetter('Hours', 1),\n    hh: dateGetter('Hours', 2, -12),\n     h: dateGetter('Hours', 1, -12),\n    mm: dateGetter('Minutes', 2),\n     m: dateGetter('Minutes', 1),\n    ss: dateGetter('Seconds', 2),\n     s: dateGetter('Seconds', 1),\n     // while ISO 8601 requires fractions to be prefixed with `.` or `,`\n     // we can be just safely rely on using `sss` since we currently don't support single or two digit fractions\n   sss: dateGetter('Milliseconds', 3),\n  EEEE: dateStrGetter('Day'),\n   EEE: dateStrGetter('Day', true),\n     a: ampmGetter,\n     Z: timeZoneGetter,\n    ww: weekGetter(2),\n     w: weekGetter(1),\n     G: eraGetter,\n     GG: eraGetter,\n     GGG: eraGetter,\n     GGGG: longEraGetter\n};\n\nvar DATE_FORMATS_SPLIT = /((?:[^yMdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,\n    NUMBER_STRING = /^\\-?\\d+$/;\n\n/**\n * @ngdoc filter\n * @name date\n * @kind function\n *\n * @description\n *   Formats `date` to a string based on the requested `format`.\n *\n *   `format` string can be composed of the following elements:\n *\n *   * `'yyyy'`: 4 digit representation of year (e.g. AD 1 => 0001, AD 2010 => 2010)\n *   * `'yy'`: 2 digit representation of year, padded (00-99). (e.g. AD 2001 => 01, AD 2010 => 10)\n *   * `'y'`: 1 digit representation of year, e.g. (AD 1 => 1, AD 199 => 199)\n *   * `'MMMM'`: Month in year (January-December)\n *   * `'MMM'`: Month in year (Jan-Dec)\n *   * `'MM'`: Month in year, padded (01-12)\n *   * `'M'`: Month in year (1-12)\n *   * `'dd'`: Day in month, padded (01-31)\n *   * `'d'`: Day in month (1-31)\n *   * `'EEEE'`: Day in Week,(Sunday-Saturday)\n *   * `'EEE'`: Day in Week, (Sun-Sat)\n *   * `'HH'`: Hour in day, padded (00-23)\n *   * `'H'`: Hour in day (0-23)\n *   * `'hh'`: Hour in AM/PM, padded (01-12)\n *   * `'h'`: Hour in AM/PM, (1-12)\n *   * `'mm'`: Minute in hour, padded (00-59)\n *   * `'m'`: Minute in hour (0-59)\n *   * `'ss'`: Second in minute, padded (00-59)\n *   * `'s'`: Second in minute (0-59)\n *   * `'sss'`: Millisecond in second, padded (000-999)\n *   * `'a'`: AM/PM marker\n *   * `'Z'`: 4 digit (+sign) representation of the timezone offset (-1200-+1200)\n *   * `'ww'`: Week of year, padded (00-53). Week 01 is the week with the first Thursday of the year\n *   * `'w'`: Week of year (0-53). Week 1 is the week with the first Thursday of the year\n *   * `'G'`, `'GG'`, `'GGG'`: The abbreviated form of the era string (e.g. 'AD')\n *   * `'GGGG'`: The long form of the era string (e.g. 'Anno Domini')\n *\n *   `format` string can also be one of the following predefined\n *   {@link guide/i18n localizable formats}:\n *\n *   * `'medium'`: equivalent to `'MMM d, y h:mm:ss a'` for en_US locale\n *     (e.g. Sep 3, 2010 12:05:08 PM)\n *   * `'short'`: equivalent to `'M/d/yy h:mm a'` for en_US  locale (e.g. 9/3/10 12:05 PM)\n *   * `'fullDate'`: equivalent to `'EEEE, MMMM d, y'` for en_US  locale\n *     (e.g. Friday, September 3, 2010)\n *   * `'longDate'`: equivalent to `'MMMM d, y'` for en_US  locale (e.g. September 3, 2010)\n *   * `'mediumDate'`: equivalent to `'MMM d, y'` for en_US  locale (e.g. Sep 3, 2010)\n *   * `'shortDate'`: equivalent to `'M/d/yy'` for en_US locale (e.g. 9/3/10)\n *   * `'mediumTime'`: equivalent to `'h:mm:ss a'` for en_US locale (e.g. 12:05:08 PM)\n *   * `'shortTime'`: equivalent to `'h:mm a'` for en_US locale (e.g. 12:05 PM)\n *\n *   `format` string can contain literal values. These need to be escaped by surrounding with single quotes (e.g.\n *   `\"h 'in the morning'\"`). In order to output a single quote, escape it - i.e., two single quotes in a sequence\n *   (e.g. `\"h 'o''clock'\"`).\n *\n * @param {(Date|number|string)} date Date to format either as Date object, milliseconds (string or\n *    number) or various ISO 8601 datetime string formats (e.g. yyyy-MM-ddTHH:mm:ss.sssZ and its\n *    shorter versions like yyyy-MM-ddTHH:mmZ, yyyy-MM-dd or yyyyMMddTHHmmssZ). If no timezone is\n *    specified in the string input, the time is considered to be in the local timezone.\n * @param {string=} format Formatting rules (see Description). If not specified,\n *    `mediumDate` is used.\n * @param {string=} timezone Timezone to be used for formatting. It understands UTC/GMT and the\n *    continental US time zone abbreviations, but for general use, use a time zone offset, for\n *    example, `'+0430'` (4 hours, 30 minutes east of the Greenwich meridian)\n *    If not specified, the timezone of the browser will be used.\n * @returns {string} Formatted string or the input if input is not recognized as date/millis.\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n       <span ng-non-bindable>{{1288323623006 | date:'medium'}}</span>:\n           <span>{{1288323623006 | date:'medium'}}</span><br>\n       <span ng-non-bindable>{{1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'}}</span>:\n          <span>{{1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'}}</span><br>\n       <span ng-non-bindable>{{1288323623006 | date:'MM/dd/yyyy @ h:mma'}}</span>:\n          <span>{{'1288323623006' | date:'MM/dd/yyyy @ h:mma'}}</span><br>\n       <span ng-non-bindable>{{1288323623006 | date:\"MM/dd/yyyy 'at' h:mma\"}}</span>:\n          <span>{{'1288323623006' | date:\"MM/dd/yyyy 'at' h:mma\"}}</span><br>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       it('should format date', function() {\n         expect(element(by.binding(\"1288323623006 | date:'medium'\")).getText()).\n            toMatch(/Oct 2\\d, 2010 \\d{1,2}:\\d{2}:\\d{2} (AM|PM)/);\n         expect(element(by.binding(\"1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'\")).getText()).\n            toMatch(/2010\\-10\\-2\\d \\d{2}:\\d{2}:\\d{2} (\\-|\\+)?\\d{4}/);\n         expect(element(by.binding(\"'1288323623006' | date:'MM/dd/yyyy @ h:mma'\")).getText()).\n            toMatch(/10\\/2\\d\\/2010 @ \\d{1,2}:\\d{2}(AM|PM)/);\n         expect(element(by.binding(\"'1288323623006' | date:\\\"MM/dd/yyyy 'at' h:mma\\\"\")).getText()).\n            toMatch(/10\\/2\\d\\/2010 at \\d{1,2}:\\d{2}(AM|PM)/);\n       });\n     </file>\n   </example>\n */\ndateFilter.$inject = ['$locale'];\nfunction dateFilter($locale) {\n\n\n  var R_ISO8601_STR = /^(\\d{4})-?(\\d\\d)-?(\\d\\d)(?:T(\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:\\.(\\d+))?)?)?(Z|([+-])(\\d\\d):?(\\d\\d))?)?$/;\n                     // 1        2       3         4          5          6          7          8  9     10      11\n  function jsonStringToDate(string) {\n    var match;\n    if (match = string.match(R_ISO8601_STR)) {\n      var date = new Date(0),\n          tzHour = 0,\n          tzMin  = 0,\n          dateSetter = match[8] ? date.setUTCFullYear : date.setFullYear,\n          timeSetter = match[8] ? date.setUTCHours : date.setHours;\n\n      if (match[9]) {\n        tzHour = toInt(match[9] + match[10]);\n        tzMin = toInt(match[9] + match[11]);\n      }\n      dateSetter.call(date, toInt(match[1]), toInt(match[2]) - 1, toInt(match[3]));\n      var h = toInt(match[4] || 0) - tzHour;\n      var m = toInt(match[5] || 0) - tzMin;\n      var s = toInt(match[6] || 0);\n      var ms = Math.round(parseFloat('0.' + (match[7] || 0)) * 1000);\n      timeSetter.call(date, h, m, s, ms);\n      return date;\n    }\n    return string;\n  }\n\n\n  return function(date, format, timezone) {\n    var text = '',\n        parts = [],\n        fn, match;\n\n    format = format || 'mediumDate';\n    format = $locale.DATETIME_FORMATS[format] || format;\n    if (isString(date)) {\n      date = NUMBER_STRING.test(date) ? toInt(date) : jsonStringToDate(date);\n    }\n\n    if (isNumber(date)) {\n      date = new Date(date);\n    }\n\n    if (!isDate(date) || !isFinite(date.getTime())) {\n      return date;\n    }\n\n    while (format) {\n      match = DATE_FORMATS_SPLIT.exec(format);\n      if (match) {\n        parts = concat(parts, match, 1);\n        format = parts.pop();\n      } else {\n        parts.push(format);\n        format = null;\n      }\n    }\n\n    var dateTimezoneOffset = date.getTimezoneOffset();\n    if (timezone) {\n      dateTimezoneOffset = timezoneToOffset(timezone, date.getTimezoneOffset());\n      date = convertTimezoneToLocal(date, timezone, true);\n    }\n    forEach(parts, function(value) {\n      fn = DATE_FORMATS[value];\n      text += fn ? fn(date, $locale.DATETIME_FORMATS, dateTimezoneOffset)\n                 : value.replace(/(^'|'$)/g, '').replace(/''/g, \"'\");\n    });\n\n    return text;\n  };\n}\n\n\n/**\n * @ngdoc filter\n * @name json\n * @kind function\n *\n * @description\n *   Allows you to convert a JavaScript object into JSON string.\n *\n *   This filter is mostly useful for debugging. When using the double curly {{value}} notation\n *   the binding is automatically converted to JSON.\n *\n * @param {*} object Any JavaScript object (including arrays and primitive types) to filter.\n * @param {number=} spacing The number of spaces to use per indentation, defaults to 2.\n * @returns {string} JSON string.\n *\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n       <pre id=\"default-spacing\">{{ {'name':'value'} | json }}</pre>\n       <pre id=\"custom-spacing\">{{ {'name':'value'} | json:4 }}</pre>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       it('should jsonify filtered objects', function() {\n         expect(element(by.id('default-spacing')).getText()).toMatch(/\\{\\n  \"name\": ?\"value\"\\n}/);\n         expect(element(by.id('custom-spacing')).getText()).toMatch(/\\{\\n    \"name\": ?\"value\"\\n}/);\n       });\n     </file>\n   </example>\n *\n */\nfunction jsonFilter() {\n  return function(object, spacing) {\n    if (isUndefined(spacing)) {\n        spacing = 2;\n    }\n    return toJson(object, spacing);\n  };\n}\n\n\n/**\n * @ngdoc filter\n * @name lowercase\n * @kind function\n * @description\n * Converts string to lowercase.\n * @see angular.lowercase\n */\nvar lowercaseFilter = valueFn(lowercase);\n\n\n/**\n * @ngdoc filter\n * @name uppercase\n * @kind function\n * @description\n * Converts string to uppercase.\n * @see angular.uppercase\n */\nvar uppercaseFilter = valueFn(uppercase);\n\n/**\n * @ngdoc filter\n * @name limitTo\n * @kind function\n *\n * @description\n * Creates a new array or string containing only a specified number of elements. The elements\n * are taken from either the beginning or the end of the source array, string or number, as specified by\n * the value and sign (positive or negative) of `limit`. If a number is used as input, it is\n * converted to a string.\n *\n * @param {Array|string|number} input Source array, string or number to be limited.\n * @param {string|number} limit The length of the returned array or string. If the `limit` number\n *     is positive, `limit` number of items from the beginning of the source array/string are copied.\n *     If the number is negative, `limit` number  of items from the end of the source array/string\n *     are copied. The `limit` will be trimmed if it exceeds `array.length`. If `limit` is undefined,\n *     the input will be returned unchanged.\n * @param {(string|number)=} begin Index at which to begin limitation. As a negative index, `begin`\n *     indicates an offset from the end of `input`. Defaults to `0`.\n * @returns {Array|string} A new sub-array or substring of length `limit` or less if input array\n *     had less than `limit` elements.\n *\n * @example\n   <example module=\"limitToExample\">\n     <file name=\"index.html\">\n       <script>\n         angular.module('limitToExample', [])\n           .controller('ExampleController', ['$scope', function($scope) {\n             $scope.numbers = [1,2,3,4,5,6,7,8,9];\n             $scope.letters = \"abcdefghi\";\n             $scope.longNumber = 2345432342;\n             $scope.numLimit = 3;\n             $scope.letterLimit = 3;\n             $scope.longNumberLimit = 3;\n           }]);\n       </script>\n       <div ng-controller=\"ExampleController\">\n         <label>\n            Limit {{numbers}} to:\n            <input type=\"number\" step=\"1\" ng-model=\"numLimit\">\n         </label>\n         <p>Output numbers: {{ numbers | limitTo:numLimit }}</p>\n         <label>\n            Limit {{letters}} to:\n            <input type=\"number\" step=\"1\" ng-model=\"letterLimit\">\n         </label>\n         <p>Output letters: {{ letters | limitTo:letterLimit }}</p>\n         <label>\n            Limit {{longNumber}} to:\n            <input type=\"number\" step=\"1\" ng-model=\"longNumberLimit\">\n         </label>\n         <p>Output long number: {{ longNumber | limitTo:longNumberLimit }}</p>\n       </div>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       var numLimitInput = element(by.model('numLimit'));\n       var letterLimitInput = element(by.model('letterLimit'));\n       var longNumberLimitInput = element(by.model('longNumberLimit'));\n       var limitedNumbers = element(by.binding('numbers | limitTo:numLimit'));\n       var limitedLetters = element(by.binding('letters | limitTo:letterLimit'));\n       var limitedLongNumber = element(by.binding('longNumber | limitTo:longNumberLimit'));\n\n       it('should limit the number array to first three items', function() {\n         expect(numLimitInput.getAttribute('value')).toBe('3');\n         expect(letterLimitInput.getAttribute('value')).toBe('3');\n         expect(longNumberLimitInput.getAttribute('value')).toBe('3');\n         expect(limitedNumbers.getText()).toEqual('Output numbers: [1,2,3]');\n         expect(limitedLetters.getText()).toEqual('Output letters: abc');\n         expect(limitedLongNumber.getText()).toEqual('Output long number: 234');\n       });\n\n       // There is a bug in safari and protractor that doesn't like the minus key\n       // it('should update the output when -3 is entered', function() {\n       //   numLimitInput.clear();\n       //   numLimitInput.sendKeys('-3');\n       //   letterLimitInput.clear();\n       //   letterLimitInput.sendKeys('-3');\n       //   longNumberLimitInput.clear();\n       //   longNumberLimitInput.sendKeys('-3');\n       //   expect(limitedNumbers.getText()).toEqual('Output numbers: [7,8,9]');\n       //   expect(limitedLetters.getText()).toEqual('Output letters: ghi');\n       //   expect(limitedLongNumber.getText()).toEqual('Output long number: 342');\n       // });\n\n       it('should not exceed the maximum size of input array', function() {\n         numLimitInput.clear();\n         numLimitInput.sendKeys('100');\n         letterLimitInput.clear();\n         letterLimitInput.sendKeys('100');\n         longNumberLimitInput.clear();\n         longNumberLimitInput.sendKeys('100');\n         expect(limitedNumbers.getText()).toEqual('Output numbers: [1,2,3,4,5,6,7,8,9]');\n         expect(limitedLetters.getText()).toEqual('Output letters: abcdefghi');\n         expect(limitedLongNumber.getText()).toEqual('Output long number: 2345432342');\n       });\n     </file>\n   </example>\n*/\nfunction limitToFilter() {\n  return function(input, limit, begin) {\n    if (Math.abs(Number(limit)) === Infinity) {\n      limit = Number(limit);\n    } else {\n      limit = toInt(limit);\n    }\n    if (isNaN(limit)) return input;\n\n    if (isNumber(input)) input = input.toString();\n    if (!isArray(input) && !isString(input)) return input;\n\n    begin = (!begin || isNaN(begin)) ? 0 : toInt(begin);\n    begin = (begin < 0) ? Math.max(0, input.length + begin) : begin;\n\n    if (limit >= 0) {\n      return input.slice(begin, begin + limit);\n    } else {\n      if (begin === 0) {\n        return input.slice(limit, input.length);\n      } else {\n        return input.slice(Math.max(0, begin + limit), begin);\n      }\n    }\n  };\n}\n\n/**\n * @ngdoc filter\n * @name orderBy\n * @kind function\n *\n * @description\n * Orders a specified `array` by the `expression` predicate. It is ordered alphabetically\n * for strings and numerically for numbers. Note: if you notice numbers are not being sorted\n * as expected, make sure they are actually being saved as numbers and not strings.\n *\n * @param {Array} array The array to sort.\n * @param {function(*)|string|Array.<(function(*)|string)>=} expression A predicate to be\n *    used by the comparator to determine the order of elements.\n *\n *    Can be one of:\n *\n *    - `function`: Getter function. The result of this function will be sorted using the\n *      `<`, `===`, `>` operator.\n *    - `string`: An Angular expression. The result of this expression is used to compare elements\n *      (for example `name` to sort by a property called `name` or `name.substr(0, 3)` to sort by\n *      3 first characters of a property called `name`). The result of a constant expression\n *      is interpreted as a property name to be used in comparisons (for example `\"special name\"`\n *      to sort object by the value of their `special name` property). An expression can be\n *      optionally prefixed with `+` or `-` to control ascending or descending sort order\n *      (for example, `+name` or `-name`). If no property is provided, (e.g. `'+'`) then the array\n *      element itself is used to compare where sorting.\n *    - `Array`: An array of function or string predicates. The first predicate in the array\n *      is used for sorting, but when two items are equivalent, the next predicate is used.\n *\n *    If the predicate is missing or empty then it defaults to `'+'`.\n *\n * @param {boolean=} reverse Reverse the order of the array.\n * @returns {Array} Sorted copy of the source array.\n *\n *\n * @example\n * The example below demonstrates a simple ngRepeat, where the data is sorted\n * by age in descending order (predicate is set to `'-age'`).\n * `reverse` is not set, which means it defaults to `false`.\n   <example module=\"orderByExample\">\n     <file name=\"index.html\">\n       <script>\n         angular.module('orderByExample', [])\n           .controller('ExampleController', ['$scope', function($scope) {\n             $scope.friends =\n                 [{name:'John', phone:'555-1212', age:10},\n                  {name:'Mary', phone:'555-9876', age:19},\n                  {name:'Mike', phone:'555-4321', age:21},\n                  {name:'Adam', phone:'555-5678', age:35},\n                  {name:'Julie', phone:'555-8765', age:29}];\n           }]);\n       </script>\n       <div ng-controller=\"ExampleController\">\n         <table class=\"friend\">\n           <tr>\n             <th>Name</th>\n             <th>Phone Number</th>\n             <th>Age</th>\n           </tr>\n           <tr ng-repeat=\"friend in friends | orderBy:'-age'\">\n             <td>{{friend.name}}</td>\n             <td>{{friend.phone}}</td>\n             <td>{{friend.age}}</td>\n           </tr>\n         </table>\n       </div>\n     </file>\n   </example>\n *\n * The predicate and reverse parameters can be controlled dynamically through scope properties,\n * as shown in the next example.\n * @example\n   <example module=\"orderByExample\">\n     <file name=\"index.html\">\n       <script>\n         angular.module('orderByExample', [])\n           .controller('ExampleController', ['$scope', function($scope) {\n             $scope.friends =\n                 [{name:'John', phone:'555-1212', age:10},\n                  {name:'Mary', phone:'555-9876', age:19},\n                  {name:'Mike', phone:'555-4321', age:21},\n                  {name:'Adam', phone:'555-5678', age:35},\n                  {name:'Julie', phone:'555-8765', age:29}];\n             $scope.predicate = 'age';\n             $scope.reverse = true;\n             $scope.order = function(predicate) {\n               $scope.reverse = ($scope.predicate === predicate) ? !$scope.reverse : false;\n               $scope.predicate = predicate;\n             };\n           }]);\n       </script>\n       <style type=\"text/css\">\n         .sortorder:after {\n           content: '\\25b2';\n         }\n         .sortorder.reverse:after {\n           content: '\\25bc';\n         }\n       </style>\n       <div ng-controller=\"ExampleController\">\n         <pre>Sorting predicate = {{predicate}}; reverse = {{reverse}}</pre>\n         <hr/>\n         [ <a href=\"\" ng-click=\"predicate=''\">unsorted</a> ]\n         <table class=\"friend\">\n           <tr>\n             <th>\n               <a href=\"\" ng-click=\"order('name')\">Name</a>\n               <span class=\"sortorder\" ng-show=\"predicate === 'name'\" ng-class=\"{reverse:reverse}\"></span>\n             </th>\n             <th>\n               <a href=\"\" ng-click=\"order('phone')\">Phone Number</a>\n               <span class=\"sortorder\" ng-show=\"predicate === 'phone'\" ng-class=\"{reverse:reverse}\"></span>\n             </th>\n             <th>\n               <a href=\"\" ng-click=\"order('age')\">Age</a>\n               <span class=\"sortorder\" ng-show=\"predicate === 'age'\" ng-class=\"{reverse:reverse}\"></span>\n             </th>\n           </tr>\n           <tr ng-repeat=\"friend in friends | orderBy:predicate:reverse\">\n             <td>{{friend.name}}</td>\n             <td>{{friend.phone}}</td>\n             <td>{{friend.age}}</td>\n           </tr>\n         </table>\n       </div>\n     </file>\n   </example>\n *\n * It's also possible to call the orderBy filter manually, by injecting `$filter`, retrieving the\n * filter routine with `$filter('orderBy')`, and calling the returned filter routine with the\n * desired parameters.\n *\n * Example:\n *\n * @example\n  <example module=\"orderByExample\">\n    <file name=\"index.html\">\n      <div ng-controller=\"ExampleController\">\n        <table class=\"friend\">\n          <tr>\n            <th><a href=\"\" ng-click=\"reverse=false;order('name', false)\">Name</a>\n              (<a href=\"\" ng-click=\"order('-name',false)\">^</a>)</th>\n            <th><a href=\"\" ng-click=\"reverse=!reverse;order('phone', reverse)\">Phone Number</a></th>\n            <th><a href=\"\" ng-click=\"reverse=!reverse;order('age',reverse)\">Age</a></th>\n          </tr>\n          <tr ng-repeat=\"friend in friends\">\n            <td>{{friend.name}}</td>\n            <td>{{friend.phone}}</td>\n            <td>{{friend.age}}</td>\n          </tr>\n        </table>\n      </div>\n    </file>\n\n    <file name=\"script.js\">\n      angular.module('orderByExample', [])\n        .controller('ExampleController', ['$scope', '$filter', function($scope, $filter) {\n          var orderBy = $filter('orderBy');\n          $scope.friends = [\n            { name: 'John',    phone: '555-1212',    age: 10 },\n            { name: 'Mary',    phone: '555-9876',    age: 19 },\n            { name: 'Mike',    phone: '555-4321',    age: 21 },\n            { name: 'Adam',    phone: '555-5678',    age: 35 },\n            { name: 'Julie',   phone: '555-8765',    age: 29 }\n          ];\n          $scope.order = function(predicate, reverse) {\n            $scope.friends = orderBy($scope.friends, predicate, reverse);\n          };\n          $scope.order('-age',false);\n        }]);\n    </file>\n</example>\n */\norderByFilter.$inject = ['$parse'];\nfunction orderByFilter($parse) {\n  return function(array, sortPredicate, reverseOrder) {\n\n    if (!(isArrayLike(array))) return array;\n\n    if (!isArray(sortPredicate)) { sortPredicate = [sortPredicate]; }\n    if (sortPredicate.length === 0) { sortPredicate = ['+']; }\n\n    var predicates = processPredicates(sortPredicate, reverseOrder);\n    // Add a predicate at the end that evaluates to the element index. This makes the\n    // sort stable as it works as a tie-breaker when all the input predicates cannot\n    // distinguish between two elements.\n    predicates.push({ get: function() { return {}; }, descending: reverseOrder ? -1 : 1});\n\n    // The next three lines are a version of a Swartzian Transform idiom from Perl\n    // (sometimes called the Decorate-Sort-Undecorate idiom)\n    // See https://en.wikipedia.org/wiki/Schwartzian_transform\n    var compareValues = Array.prototype.map.call(array, getComparisonObject);\n    compareValues.sort(doComparison);\n    array = compareValues.map(function(item) { return item.value; });\n\n    return array;\n\n    function getComparisonObject(value, index) {\n      return {\n        value: value,\n        predicateValues: predicates.map(function(predicate) {\n          return getPredicateValue(predicate.get(value), index);\n        })\n      };\n    }\n\n    function doComparison(v1, v2) {\n      var result = 0;\n      for (var index=0, length = predicates.length; index < length; ++index) {\n        result = compare(v1.predicateValues[index], v2.predicateValues[index]) * predicates[index].descending;\n        if (result) break;\n      }\n      return result;\n    }\n  };\n\n  function processPredicates(sortPredicate, reverseOrder) {\n    reverseOrder = reverseOrder ? -1 : 1;\n    return sortPredicate.map(function(predicate) {\n      var descending = 1, get = identity;\n\n      if (isFunction(predicate)) {\n        get = predicate;\n      } else if (isString(predicate)) {\n        if ((predicate.charAt(0) == '+' || predicate.charAt(0) == '-')) {\n          descending = predicate.charAt(0) == '-' ? -1 : 1;\n          predicate = predicate.substring(1);\n        }\n        if (predicate !== '') {\n          get = $parse(predicate);\n          if (get.constant) {\n            var key = get();\n            get = function(value) { return value[key]; };\n          }\n        }\n      }\n      return { get: get, descending: descending * reverseOrder };\n    });\n  }\n\n  function isPrimitive(value) {\n    switch (typeof value) {\n      case 'number': /* falls through */\n      case 'boolean': /* falls through */\n      case 'string':\n        return true;\n      default:\n        return false;\n    }\n  }\n\n  function objectValue(value, index) {\n    // If `valueOf` is a valid function use that\n    if (typeof value.valueOf === 'function') {\n      value = value.valueOf();\n      if (isPrimitive(value)) return value;\n    }\n    // If `toString` is a valid function and not the one from `Object.prototype` use that\n    if (hasCustomToString(value)) {\n      value = value.toString();\n      if (isPrimitive(value)) return value;\n    }\n    // We have a basic object so we use the position of the object in the collection\n    return index;\n  }\n\n  function getPredicateValue(value, index) {\n    var type = typeof value;\n    if (value === null) {\n      type = 'string';\n      value = 'null';\n    } else if (type === 'string') {\n      value = value.toLowerCase();\n    } else if (type === 'object') {\n      value = objectValue(value, index);\n    }\n    return { value: value, type: type };\n  }\n\n  function compare(v1, v2) {\n    var result = 0;\n    if (v1.type === v2.type) {\n      if (v1.value !== v2.value) {\n        result = v1.value < v2.value ? -1 : 1;\n      }\n    } else {\n      result = v1.type < v2.type ? -1 : 1;\n    }\n    return result;\n  }\n}\n\nfunction ngDirective(directive) {\n  if (isFunction(directive)) {\n    directive = {\n      link: directive\n    };\n  }\n  directive.restrict = directive.restrict || 'AC';\n  return valueFn(directive);\n}\n\n/**\n * @ngdoc directive\n * @name a\n * @restrict E\n *\n * @description\n * Modifies the default behavior of the html A tag so that the default action is prevented when\n * the href attribute is empty.\n *\n * This change permits the easy creation of action links with the `ngClick` directive\n * without changing the location or causing page reloads, e.g.:\n * `<a href=\"\" ng-click=\"list.addItem()\">Add Item</a>`\n */\nvar htmlAnchorDirective = valueFn({\n  restrict: 'E',\n  compile: function(element, attr) {\n    if (!attr.href && !attr.xlinkHref) {\n      return function(scope, element) {\n        // If the linked element is not an anchor tag anymore, do nothing\n        if (element[0].nodeName.toLowerCase() !== 'a') return;\n\n        // SVGAElement does not use the href attribute, but rather the 'xlinkHref' attribute.\n        var href = toString.call(element.prop('href')) === '[object SVGAnimatedString]' ?\n                   'xlink:href' : 'href';\n        element.on('click', function(event) {\n          // if we have no href url, then don't navigate anywhere.\n          if (!element.attr(href)) {\n            event.preventDefault();\n          }\n        });\n      };\n    }\n  }\n});\n\n/**\n * @ngdoc directive\n * @name ngHref\n * @restrict A\n * @priority 99\n *\n * @description\n * Using Angular markup like `{{hash}}` in an href attribute will\n * make the link go to the wrong URL if the user clicks it before\n * Angular has a chance to replace the `{{hash}}` markup with its\n * value. Until Angular replaces the markup the link will be broken\n * and will most likely return a 404 error. The `ngHref` directive\n * solves this problem.\n *\n * The wrong way to write it:\n * ```html\n * <a href=\"http://www.gravatar.com/avatar/{{hash}}\">link1</a>\n * ```\n *\n * The correct way to write it:\n * ```html\n * <a ng-href=\"http://www.gravatar.com/avatar/{{hash}}\">link1</a>\n * ```\n *\n * @element A\n * @param {template} ngHref any string which can contain `{{}}` markup.\n *\n * @example\n * This example shows various combinations of `href`, `ng-href` and `ng-click` attributes\n * in links and their different behaviors:\n    <example>\n      <file name=\"index.html\">\n        <input ng-model=\"value\" /><br />\n        <a id=\"link-1\" href ng-click=\"value = 1\">link 1</a> (link, don't reload)<br />\n        <a id=\"link-2\" href=\"\" ng-click=\"value = 2\">link 2</a> (link, don't reload)<br />\n        <a id=\"link-3\" ng-href=\"/{{'123'}}\">link 3</a> (link, reload!)<br />\n        <a id=\"link-4\" href=\"\" name=\"xx\" ng-click=\"value = 4\">anchor</a> (link, don't reload)<br />\n        <a id=\"link-5\" name=\"xxx\" ng-click=\"value = 5\">anchor</a> (no link)<br />\n        <a id=\"link-6\" ng-href=\"{{value}}\">link</a> (link, change location)\n      </file>\n      <file name=\"protractor.js\" type=\"protractor\">\n        it('should execute ng-click but not reload when href without value', function() {\n          element(by.id('link-1')).click();\n          expect(element(by.model('value')).getAttribute('value')).toEqual('1');\n          expect(element(by.id('link-1')).getAttribute('href')).toBe('');\n        });\n\n        it('should execute ng-click but not reload when href empty string', function() {\n          element(by.id('link-2')).click();\n          expect(element(by.model('value')).getAttribute('value')).toEqual('2');\n          expect(element(by.id('link-2')).getAttribute('href')).toBe('');\n        });\n\n        it('should execute ng-click and change url when ng-href specified', function() {\n          expect(element(by.id('link-3')).getAttribute('href')).toMatch(/\\/123$/);\n\n          element(by.id('link-3')).click();\n\n          // At this point, we navigate away from an Angular page, so we need\n          // to use browser.driver to get the base webdriver.\n\n          browser.wait(function() {\n            return browser.driver.getCurrentUrl().then(function(url) {\n              return url.match(/\\/123$/);\n            });\n          }, 5000, 'page should navigate to /123');\n        });\n\n        it('should execute ng-click but not reload when href empty string and name specified', function() {\n          element(by.id('link-4')).click();\n          expect(element(by.model('value')).getAttribute('value')).toEqual('4');\n          expect(element(by.id('link-4')).getAttribute('href')).toBe('');\n        });\n\n        it('should execute ng-click but not reload when no href but name specified', function() {\n          element(by.id('link-5')).click();\n          expect(element(by.model('value')).getAttribute('value')).toEqual('5');\n          expect(element(by.id('link-5')).getAttribute('href')).toBe(null);\n        });\n\n        it('should only change url when only ng-href', function() {\n          element(by.model('value')).clear();\n          element(by.model('value')).sendKeys('6');\n          expect(element(by.id('link-6')).getAttribute('href')).toMatch(/\\/6$/);\n\n          element(by.id('link-6')).click();\n\n          // At this point, we navigate away from an Angular page, so we need\n          // to use browser.driver to get the base webdriver.\n          browser.wait(function() {\n            return browser.driver.getCurrentUrl().then(function(url) {\n              return url.match(/\\/6$/);\n            });\n          }, 5000, 'page should navigate to /6');\n        });\n      </file>\n    </example>\n */\n\n/**\n * @ngdoc directive\n * @name ngSrc\n * @restrict A\n * @priority 99\n *\n * @description\n * Using Angular markup like `{{hash}}` in a `src` attribute doesn't\n * work right: The browser will fetch from the URL with the literal\n * text `{{hash}}` until Angular replaces the expression inside\n * `{{hash}}`. The `ngSrc` directive solves this problem.\n *\n * The buggy way to write it:\n * ```html\n * <img src=\"http://www.gravatar.com/avatar/{{hash}}\" alt=\"Description\"/>\n * ```\n *\n * The correct way to write it:\n * ```html\n * <img ng-src=\"http://www.gravatar.com/avatar/{{hash}}\" alt=\"Description\" />\n * ```\n *\n * @element IMG\n * @param {template} ngSrc any string which can contain `{{}}` markup.\n */\n\n/**\n * @ngdoc directive\n * @name ngSrcset\n * @restrict A\n * @priority 99\n *\n * @description\n * Using Angular markup like `{{hash}}` in a `srcset` attribute doesn't\n * work right: The browser will fetch from the URL with the literal\n * text `{{hash}}` until Angular replaces the expression inside\n * `{{hash}}`. The `ngSrcset` directive solves this problem.\n *\n * The buggy way to write it:\n * ```html\n * <img srcset=\"http://www.gravatar.com/avatar/{{hash}} 2x\" alt=\"Description\"/>\n * ```\n *\n * The correct way to write it:\n * ```html\n * <img ng-srcset=\"http://www.gravatar.com/avatar/{{hash}} 2x\" alt=\"Description\" />\n * ```\n *\n * @element IMG\n * @param {template} ngSrcset any string which can contain `{{}}` markup.\n */\n\n/**\n * @ngdoc directive\n * @name ngDisabled\n * @restrict A\n * @priority 100\n *\n * @description\n *\n * This directive sets the `disabled` attribute on the element if the\n * {@link guide/expression expression} inside `ngDisabled` evaluates to truthy.\n *\n * A special directive is necessary because we cannot use interpolation inside the `disabled`\n * attribute.  The following example would make the button enabled on Chrome/Firefox\n * but not on older IEs:\n *\n * ```html\n * <!-- See below for an example of ng-disabled being used correctly -->\n * <div ng-init=\"isDisabled = false\">\n *  <button disabled=\"{{isDisabled}}\">Disabled</button>\n * </div>\n * ```\n *\n * This is because the HTML specification does not require browsers to preserve the values of\n * boolean attributes such as `disabled` (Their presence means true and their absence means false.)\n * If we put an Angular interpolation expression into such an attribute then the\n * binding information would be lost when the browser removes the attribute.\n *\n * @example\n    <example>\n      <file name=\"index.html\">\n        <label>Click me to toggle: <input type=\"checkbox\" ng-model=\"checked\"></label><br/>\n        <button ng-model=\"button\" ng-disabled=\"checked\">Button</button>\n      </file>\n      <file name=\"protractor.js\" type=\"protractor\">\n        it('should toggle button', function() {\n          expect(element(by.css('button')).getAttribute('disabled')).toBeFalsy();\n          element(by.model('checked')).click();\n          expect(element(by.css('button')).getAttribute('disabled')).toBeTruthy();\n        });\n      </file>\n    </example>\n *\n * @element INPUT\n * @param {expression} ngDisabled If the {@link guide/expression expression} is truthy,\n *     then the `disabled` attribute will be set on the element\n */\n\n\n/**\n * @ngdoc directive\n * @name ngChecked\n * @restrict A\n * @priority 100\n *\n * @description\n * Sets the `checked` attribute on the element, if the expression inside `ngChecked` is truthy.\n *\n * Note that this directive should not be used together with {@link ngModel `ngModel`},\n * as this can lead to unexpected behavior.\n *\n * ### Why do we need `ngChecked`?\n *\n * The HTML specification does not require browsers to preserve the values of boolean attributes\n * such as checked. (Their presence means true and their absence means false.)\n * If we put an Angular interpolation expression into such an attribute then the\n * binding information would be lost when the browser removes the attribute.\n * The `ngChecked` directive solves this problem for the `checked` attribute.\n * This complementary directive is not removed by the browser and so provides\n * a permanent reliable place to store the binding information.\n * @example\n    <example>\n      <file name=\"index.html\">\n        <label>Check me to check both: <input type=\"checkbox\" ng-model=\"master\"></label><br/>\n        <input id=\"checkSlave\" type=\"checkbox\" ng-checked=\"master\" aria-label=\"Slave input\">\n      </file>\n      <file name=\"protractor.js\" type=\"protractor\">\n        it('should check both checkBoxes', function() {\n          expect(element(by.id('checkSlave')).getAttribute('checked')).toBeFalsy();\n          element(by.model('master')).click();\n          expect(element(by.id('checkSlave')).getAttribute('checked')).toBeTruthy();\n        });\n      </file>\n    </example>\n *\n * @element INPUT\n * @param {expression} ngChecked If the {@link guide/expression expression} is truthy,\n *     then the `checked` attribute will be set on the element\n */\n\n\n/**\n * @ngdoc directive\n * @name ngReadonly\n * @restrict A\n * @priority 100\n *\n * @description\n * The HTML specification does not require browsers to preserve the values of boolean attributes\n * such as readonly. (Their presence means true and their absence means false.)\n * If we put an Angular interpolation expression into such an attribute then the\n * binding information would be lost when the browser removes the attribute.\n * The `ngReadonly` directive solves this problem for the `readonly` attribute.\n * This complementary directive is not removed by the browser and so provides\n * a permanent reliable place to store the binding information.\n * @example\n    <example>\n      <file name=\"index.html\">\n        <label>Check me to make text readonly: <input type=\"checkbox\" ng-model=\"checked\"></label><br/>\n        <input type=\"text\" ng-readonly=\"checked\" value=\"I'm Angular\" aria-label=\"Readonly field\" />\n      </file>\n      <file name=\"protractor.js\" type=\"protractor\">\n        it('should toggle readonly attr', function() {\n          expect(element(by.css('[type=\"text\"]')).getAttribute('readonly')).toBeFalsy();\n          element(by.model('checked')).click();\n          expect(element(by.css('[type=\"text\"]')).getAttribute('readonly')).toBeTruthy();\n        });\n      </file>\n    </example>\n *\n * @element INPUT\n * @param {expression} ngReadonly If the {@link guide/expression expression} is truthy,\n *     then special attribute \"readonly\" will be set on the element\n */\n\n\n/**\n * @ngdoc directive\n * @name ngSelected\n * @restrict A\n * @priority 100\n *\n * @description\n * The HTML specification does not require browsers to preserve the values of boolean attributes\n * such as selected. (Their presence means true and their absence means false.)\n * If we put an Angular interpolation expression into such an attribute then the\n * binding information would be lost when the browser removes the attribute.\n * The `ngSelected` directive solves this problem for the `selected` attribute.\n * This complementary directive is not removed by the browser and so provides\n * a permanent reliable place to store the binding information.\n *\n * @example\n    <example>\n      <file name=\"index.html\">\n        <label>Check me to select: <input type=\"checkbox\" ng-model=\"selected\"></label><br/>\n        <select aria-label=\"ngSelected demo\">\n          <option>Hello!</option>\n          <option id=\"greet\" ng-selected=\"selected\">Greetings!</option>\n        </select>\n      </file>\n      <file name=\"protractor.js\" type=\"protractor\">\n        it('should select Greetings!', function() {\n          expect(element(by.id('greet')).getAttribute('selected')).toBeFalsy();\n          element(by.model('selected')).click();\n          expect(element(by.id('greet')).getAttribute('selected')).toBeTruthy();\n        });\n      </file>\n    </example>\n *\n * @element OPTION\n * @param {expression} ngSelected If the {@link guide/expression expression} is truthy,\n *     then special attribute \"selected\" will be set on the element\n */\n\n/**\n * @ngdoc directive\n * @name ngOpen\n * @restrict A\n * @priority 100\n *\n * @description\n * The HTML specification does not require browsers to preserve the values of boolean attributes\n * such as open. (Their presence means true and their absence means false.)\n * If we put an Angular interpolation expression into such an attribute then the\n * binding information would be lost when the browser removes the attribute.\n * The `ngOpen` directive solves this problem for the `open` attribute.\n * This complementary directive is not removed by the browser and so provides\n * a permanent reliable place to store the binding information.\n * @example\n     <example>\n       <file name=\"index.html\">\n         <label>Check me check multiple: <input type=\"checkbox\" ng-model=\"open\"></label><br/>\n         <details id=\"details\" ng-open=\"open\">\n            <summary>Show/Hide me</summary>\n         </details>\n       </file>\n       <file name=\"protractor.js\" type=\"protractor\">\n         it('should toggle open', function() {\n           expect(element(by.id('details')).getAttribute('open')).toBeFalsy();\n           element(by.model('open')).click();\n           expect(element(by.id('details')).getAttribute('open')).toBeTruthy();\n         });\n       </file>\n     </example>\n *\n * @element DETAILS\n * @param {expression} ngOpen If the {@link guide/expression expression} is truthy,\n *     then special attribute \"open\" will be set on the element\n */\n\nvar ngAttributeAliasDirectives = {};\n\n// boolean attrs are evaluated\nforEach(BOOLEAN_ATTR, function(propName, attrName) {\n  // binding to multiple is not supported\n  if (propName == \"multiple\") return;\n\n  function defaultLinkFn(scope, element, attr) {\n    scope.$watch(attr[normalized], function ngBooleanAttrWatchAction(value) {\n      attr.$set(attrName, !!value);\n    });\n  }\n\n  var normalized = directiveNormalize('ng-' + attrName);\n  var linkFn = defaultLinkFn;\n\n  if (propName === 'checked') {\n    linkFn = function(scope, element, attr) {\n      // ensuring ngChecked doesn't interfere with ngModel when both are set on the same input\n      if (attr.ngModel !== attr[normalized]) {\n        defaultLinkFn(scope, element, attr);\n      }\n    };\n  }\n\n  ngAttributeAliasDirectives[normalized] = function() {\n    return {\n      restrict: 'A',\n      priority: 100,\n      link: linkFn\n    };\n  };\n});\n\n// aliased input attrs are evaluated\nforEach(ALIASED_ATTR, function(htmlAttr, ngAttr) {\n  ngAttributeAliasDirectives[ngAttr] = function() {\n    return {\n      priority: 100,\n      link: function(scope, element, attr) {\n        //special case ngPattern when a literal regular expression value\n        //is used as the expression (this way we don't have to watch anything).\n        if (ngAttr === \"ngPattern\" && attr.ngPattern.charAt(0) == \"/\") {\n          var match = attr.ngPattern.match(REGEX_STRING_REGEXP);\n          if (match) {\n            attr.$set(\"ngPattern\", new RegExp(match[1], match[2]));\n            return;\n          }\n        }\n\n        scope.$watch(attr[ngAttr], function ngAttrAliasWatchAction(value) {\n          attr.$set(ngAttr, value);\n        });\n      }\n    };\n  };\n});\n\n// ng-src, ng-srcset, ng-href are interpolated\nforEach(['src', 'srcset', 'href'], function(attrName) {\n  var normalized = directiveNormalize('ng-' + attrName);\n  ngAttributeAliasDirectives[normalized] = function() {\n    return {\n      priority: 99, // it needs to run after the attributes are interpolated\n      link: function(scope, element, attr) {\n        var propName = attrName,\n            name = attrName;\n\n        if (attrName === 'href' &&\n            toString.call(element.prop('href')) === '[object SVGAnimatedString]') {\n          name = 'xlinkHref';\n          attr.$attr[name] = 'xlink:href';\n          propName = null;\n        }\n\n        attr.$observe(normalized, function(value) {\n          if (!value) {\n            if (attrName === 'href') {\n              attr.$set(name, null);\n            }\n            return;\n          }\n\n          attr.$set(name, value);\n\n          // on IE, if \"ng:src\" directive declaration is used and \"src\" attribute doesn't exist\n          // then calling element.setAttribute('src', 'foo') doesn't do anything, so we need\n          // to set the property as well to achieve the desired effect.\n          // we use attr[attrName] value since $set can sanitize the url.\n          if (msie && propName) element.prop(propName, attr[name]);\n        });\n      }\n    };\n  };\n});\n\n/* global -nullFormCtrl, -SUBMITTED_CLASS, addSetValidityMethod: true\n */\nvar nullFormCtrl = {\n  $addControl: noop,\n  $$renameControl: nullFormRenameControl,\n  $removeControl: noop,\n  $setValidity: noop,\n  $setDirty: noop,\n  $setPristine: noop,\n  $setSubmitted: noop\n},\nSUBMITTED_CLASS = 'ng-submitted';\n\nfunction nullFormRenameControl(control, name) {\n  control.$name = name;\n}\n\n/**\n * @ngdoc type\n * @name form.FormController\n *\n * @property {boolean} $pristine True if user has not interacted with the form yet.\n * @property {boolean} $dirty True if user has already interacted with the form.\n * @property {boolean} $valid True if all of the containing forms and controls are valid.\n * @property {boolean} $invalid True if at least one containing control or form is invalid.\n * @property {boolean} $pending True if at least one containing control or form is pending.\n * @property {boolean} $submitted True if user has submitted the form even if its invalid.\n *\n * @property {Object} $error Is an object hash, containing references to controls or\n *  forms with failing validators, where:\n *\n *  - keys are validation tokens (error names),\n *  - values are arrays of controls or forms that have a failing validator for given error name.\n *\n *  Built-in validation tokens:\n *\n *  - `email`\n *  - `max`\n *  - `maxlength`\n *  - `min`\n *  - `minlength`\n *  - `number`\n *  - `pattern`\n *  - `required`\n *  - `url`\n *  - `date`\n *  - `datetimelocal`\n *  - `time`\n *  - `week`\n *  - `month`\n *\n * @description\n * `FormController` keeps track of all its controls and nested forms as well as the state of them,\n * such as being valid/invalid or dirty/pristine.\n *\n * Each {@link ng.directive:form form} directive creates an instance\n * of `FormController`.\n *\n */\n//asks for $scope to fool the BC controller module\nFormController.$inject = ['$element', '$attrs', '$scope', '$animate', '$interpolate'];\nfunction FormController(element, attrs, $scope, $animate, $interpolate) {\n  var form = this,\n      controls = [];\n\n  // init state\n  form.$error = {};\n  form.$$success = {};\n  form.$pending = undefined;\n  form.$name = $interpolate(attrs.name || attrs.ngForm || '')($scope);\n  form.$dirty = false;\n  form.$pristine = true;\n  form.$valid = true;\n  form.$invalid = false;\n  form.$submitted = false;\n  form.$$parentForm = nullFormCtrl;\n\n  /**\n   * @ngdoc method\n   * @name form.FormController#$rollbackViewValue\n   *\n   * @description\n   * Rollback all form controls pending updates to the `$modelValue`.\n   *\n   * Updates may be pending by a debounced event or because the input is waiting for a some future\n   * event defined in `ng-model-options`. This method is typically needed by the reset button of\n   * a form that uses `ng-model-options` to pend updates.\n   */\n  form.$rollbackViewValue = function() {\n    forEach(controls, function(control) {\n      control.$rollbackViewValue();\n    });\n  };\n\n  /**\n   * @ngdoc method\n   * @name form.FormController#$commitViewValue\n   *\n   * @description\n   * Commit all form controls pending updates to the `$modelValue`.\n   *\n   * Updates may be pending by a debounced event or because the input is waiting for a some future\n   * event defined in `ng-model-options`. This method is rarely needed as `NgModelController`\n   * usually handles calling this in response to input events.\n   */\n  form.$commitViewValue = function() {\n    forEach(controls, function(control) {\n      control.$commitViewValue();\n    });\n  };\n\n  /**\n   * @ngdoc method\n   * @name form.FormController#$addControl\n   * @param {object} control control object, either a {@link form.FormController} or an\n   * {@link ngModel.NgModelController}\n   *\n   * @description\n   * Register a control with the form. Input elements using ngModelController do this automatically\n   * when they are linked.\n   *\n   * Note that the current state of the control will not be reflected on the new parent form. This\n   * is not an issue with normal use, as freshly compiled and linked controls are in a `$pristine`\n   * state.\n   *\n   * However, if the method is used programmatically, for example by adding dynamically created controls,\n   * or controls that have been previously removed without destroying their corresponding DOM element,\n   * it's the developers responsiblity to make sure the current state propagates to the parent form.\n   *\n   * For example, if an input control is added that is already `$dirty` and has `$error` properties,\n   * calling `$setDirty()` and `$validate()` afterwards will propagate the state to the parent form.\n   */\n  form.$addControl = function(control) {\n    // Breaking change - before, inputs whose name was \"hasOwnProperty\" were quietly ignored\n    // and not added to the scope.  Now we throw an error.\n    assertNotHasOwnProperty(control.$name, 'input');\n    controls.push(control);\n\n    if (control.$name) {\n      form[control.$name] = control;\n    }\n\n    control.$$parentForm = form;\n  };\n\n  // Private API: rename a form control\n  form.$$renameControl = function(control, newName) {\n    var oldName = control.$name;\n\n    if (form[oldName] === control) {\n      delete form[oldName];\n    }\n    form[newName] = control;\n    control.$name = newName;\n  };\n\n  /**\n   * @ngdoc method\n   * @name form.FormController#$removeControl\n   * @param {object} control control object, either a {@link form.FormController} or an\n   * {@link ngModel.NgModelController}\n   *\n   * @description\n   * Deregister a control from the form.\n   *\n   * Input elements using ngModelController do this automatically when they are destroyed.\n   *\n   * Note that only the removed control's validation state (`$errors`etc.) will be removed from the\n   * form. `$dirty`, `$submitted` states will not be changed, because the expected behavior can be\n   * different from case to case. For example, removing the only `$dirty` control from a form may or\n   * may not mean that the form is still `$dirty`.\n   */\n  form.$removeControl = function(control) {\n    if (control.$name && form[control.$name] === control) {\n      delete form[control.$name];\n    }\n    forEach(form.$pending, function(value, name) {\n      form.$setValidity(name, null, control);\n    });\n    forEach(form.$error, function(value, name) {\n      form.$setValidity(name, null, control);\n    });\n    forEach(form.$$success, function(value, name) {\n      form.$setValidity(name, null, control);\n    });\n\n    arrayRemove(controls, control);\n    control.$$parentForm = nullFormCtrl;\n  };\n\n\n  /**\n   * @ngdoc method\n   * @name form.FormController#$setValidity\n   *\n   * @description\n   * Sets the validity of a form control.\n   *\n   * This method will also propagate to parent forms.\n   */\n  addSetValidityMethod({\n    ctrl: this,\n    $element: element,\n    set: function(object, property, controller) {\n      var list = object[property];\n      if (!list) {\n        object[property] = [controller];\n      } else {\n        var index = list.indexOf(controller);\n        if (index === -1) {\n          list.push(controller);\n        }\n      }\n    },\n    unset: function(object, property, controller) {\n      var list = object[property];\n      if (!list) {\n        return;\n      }\n      arrayRemove(list, controller);\n      if (list.length === 0) {\n        delete object[property];\n      }\n    },\n    $animate: $animate\n  });\n\n  /**\n   * @ngdoc method\n   * @name form.FormController#$setDirty\n   *\n   * @description\n   * Sets the form to a dirty state.\n   *\n   * This method can be called to add the 'ng-dirty' class and set the form to a dirty\n   * state (ng-dirty class). This method will also propagate to parent forms.\n   */\n  form.$setDirty = function() {\n    $animate.removeClass(element, PRISTINE_CLASS);\n    $animate.addClass(element, DIRTY_CLASS);\n    form.$dirty = true;\n    form.$pristine = false;\n    form.$$parentForm.$setDirty();\n  };\n\n  /**\n   * @ngdoc method\n   * @name form.FormController#$setPristine\n   *\n   * @description\n   * Sets the form to its pristine state.\n   *\n   * This method can be called to remove the 'ng-dirty' class and set the form to its pristine\n   * state (ng-pristine class). This method will also propagate to all the controls contained\n   * in this form.\n   *\n   * Setting a form back to a pristine state is often useful when we want to 'reuse' a form after\n   * saving or resetting it.\n   */\n  form.$setPristine = function() {\n    $animate.setClass(element, PRISTINE_CLASS, DIRTY_CLASS + ' ' + SUBMITTED_CLASS);\n    form.$dirty = false;\n    form.$pristine = true;\n    form.$submitted = false;\n    forEach(controls, function(control) {\n      control.$setPristine();\n    });\n  };\n\n  /**\n   * @ngdoc method\n   * @name form.FormController#$setUntouched\n   *\n   * @description\n   * Sets the form to its untouched state.\n   *\n   * This method can be called to remove the 'ng-touched' class and set the form controls to their\n   * untouched state (ng-untouched class).\n   *\n   * Setting a form controls back to their untouched state is often useful when setting the form\n   * back to its pristine state.\n   */\n  form.$setUntouched = function() {\n    forEach(controls, function(control) {\n      control.$setUntouched();\n    });\n  };\n\n  /**\n   * @ngdoc method\n   * @name form.FormController#$setSubmitted\n   *\n   * @description\n   * Sets the form to its submitted state.\n   */\n  form.$setSubmitted = function() {\n    $animate.addClass(element, SUBMITTED_CLASS);\n    form.$submitted = true;\n    form.$$parentForm.$setSubmitted();\n  };\n}\n\n/**\n * @ngdoc directive\n * @name ngForm\n * @restrict EAC\n *\n * @description\n * Nestable alias of {@link ng.directive:form `form`} directive. HTML\n * does not allow nesting of form elements. It is useful to nest forms, for example if the validity of a\n * sub-group of controls needs to be determined.\n *\n * Note: the purpose of `ngForm` is to group controls,\n * but not to be a replacement for the `<form>` tag with all of its capabilities\n * (e.g. posting to the server, ...).\n *\n * @param {string=} ngForm|name Name of the form. If specified, the form controller will be published into\n *                       related scope, under this name.\n *\n */\n\n /**\n * @ngdoc directive\n * @name form\n * @restrict E\n *\n * @description\n * Directive that instantiates\n * {@link form.FormController FormController}.\n *\n * If the `name` attribute is specified, the form controller is published onto the current scope under\n * this name.\n *\n * # Alias: {@link ng.directive:ngForm `ngForm`}\n *\n * In Angular, forms can be nested. This means that the outer form is valid when all of the child\n * forms are valid as well. However, browsers do not allow nesting of `<form>` elements, so\n * Angular provides the {@link ng.directive:ngForm `ngForm`} directive which behaves identically to\n * `<form>` but can be nested.  This allows you to have nested forms, which is very useful when\n * using Angular validation directives in forms that are dynamically generated using the\n * {@link ng.directive:ngRepeat `ngRepeat`} directive. Since you cannot dynamically generate the `name`\n * attribute of input elements using interpolation, you have to wrap each set of repeated inputs in an\n * `ngForm` directive and nest these in an outer `form` element.\n *\n *\n * # CSS classes\n *  - `ng-valid` is set if the form is valid.\n *  - `ng-invalid` is set if the form is invalid.\n *  - `ng-pending` is set if the form is pending.\n *  - `ng-pristine` is set if the form is pristine.\n *  - `ng-dirty` is set if the form is dirty.\n *  - `ng-submitted` is set if the form was submitted.\n *\n * Keep in mind that ngAnimate can detect each of these classes when added and removed.\n *\n *\n * # Submitting a form and preventing the default action\n *\n * Since the role of forms in client-side Angular applications is different than in classical\n * roundtrip apps, it is desirable for the browser not to translate the form submission into a full\n * page reload that sends the data to the server. Instead some javascript logic should be triggered\n * to handle the form submission in an application-specific way.\n *\n * For this reason, Angular prevents the default action (form submission to the server) unless the\n * `<form>` element has an `action` attribute specified.\n *\n * You can use one of the following two ways to specify what javascript method should be called when\n * a form is submitted:\n *\n * - {@link ng.directive:ngSubmit ngSubmit} directive on the form element\n * - {@link ng.directive:ngClick ngClick} directive on the first\n  *  button or input field of type submit (input[type=submit])\n *\n * To prevent double execution of the handler, use only one of the {@link ng.directive:ngSubmit ngSubmit}\n * or {@link ng.directive:ngClick ngClick} directives.\n * This is because of the following form submission rules in the HTML specification:\n *\n * - If a form has only one input field then hitting enter in this field triggers form submit\n * (`ngSubmit`)\n * - if a form has 2+ input fields and no buttons or input[type=submit] then hitting enter\n * doesn't trigger submit\n * - if a form has one or more input fields and one or more buttons or input[type=submit] then\n * hitting enter in any of the input fields will trigger the click handler on the *first* button or\n * input[type=submit] (`ngClick`) *and* a submit handler on the enclosing form (`ngSubmit`)\n *\n * Any pending `ngModelOptions` changes will take place immediately when an enclosing form is\n * submitted. Note that `ngClick` events will occur before the model is updated. Use `ngSubmit`\n * to have access to the updated model.\n *\n * ## Animation Hooks\n *\n * Animations in ngForm are triggered when any of the associated CSS classes are added and removed.\n * These classes are: `.ng-pristine`, `.ng-dirty`, `.ng-invalid` and `.ng-valid` as well as any\n * other validations that are performed within the form. Animations in ngForm are similar to how\n * they work in ngClass and animations can be hooked into using CSS transitions, keyframes as well\n * as JS animations.\n *\n * The following example shows a simple way to utilize CSS transitions to style a form element\n * that has been rendered as invalid after it has been validated:\n *\n * <pre>\n * //be sure to include ngAnimate as a module to hook into more\n * //advanced animations\n * .my-form {\n *   transition:0.5s linear all;\n *   background: white;\n * }\n * .my-form.ng-invalid {\n *   background: red;\n *   color:white;\n * }\n * </pre>\n *\n * @example\n    <example deps=\"angular-animate.js\" animations=\"true\" fixBase=\"true\" module=\"formExample\">\n      <file name=\"index.html\">\n       <script>\n         angular.module('formExample', [])\n           .controller('FormController', ['$scope', function($scope) {\n             $scope.userType = 'guest';\n           }]);\n       </script>\n       <style>\n        .my-form {\n          transition:all linear 0.5s;\n          background: transparent;\n        }\n        .my-form.ng-invalid {\n          background: red;\n        }\n       </style>\n       <form name=\"myForm\" ng-controller=\"FormController\" class=\"my-form\">\n         userType: <input name=\"input\" ng-model=\"userType\" required>\n         <span class=\"error\" ng-show=\"myForm.input.$error.required\">Required!</span><br>\n         <code>userType = {{userType}}</code><br>\n         <code>myForm.input.$valid = {{myForm.input.$valid}}</code><br>\n         <code>myForm.input.$error = {{myForm.input.$error}}</code><br>\n         <code>myForm.$valid = {{myForm.$valid}}</code><br>\n         <code>myForm.$error.required = {{!!myForm.$error.required}}</code><br>\n        </form>\n      </file>\n      <file name=\"protractor.js\" type=\"protractor\">\n        it('should initialize to model', function() {\n          var userType = element(by.binding('userType'));\n          var valid = element(by.binding('myForm.input.$valid'));\n\n          expect(userType.getText()).toContain('guest');\n          expect(valid.getText()).toContain('true');\n        });\n\n        it('should be invalid if empty', function() {\n          var userType = element(by.binding('userType'));\n          var valid = element(by.binding('myForm.input.$valid'));\n          var userInput = element(by.model('userType'));\n\n          userInput.clear();\n          userInput.sendKeys('');\n\n          expect(userType.getText()).toEqual('userType =');\n          expect(valid.getText()).toContain('false');\n        });\n      </file>\n    </example>\n *\n * @param {string=} name Name of the form. If specified, the form controller will be published into\n *                       related scope, under this name.\n */\nvar formDirectiveFactory = function(isNgForm) {\n  return ['$timeout', '$parse', function($timeout, $parse) {\n    var formDirective = {\n      name: 'form',\n      restrict: isNgForm ? 'EAC' : 'E',\n      require: ['form', '^^?form'], //first is the form's own ctrl, second is an optional parent form\n      controller: FormController,\n      compile: function ngFormCompile(formElement, attr) {\n        // Setup initial state of the control\n        formElement.addClass(PRISTINE_CLASS).addClass(VALID_CLASS);\n\n        var nameAttr = attr.name ? 'name' : (isNgForm && attr.ngForm ? 'ngForm' : false);\n\n        return {\n          pre: function ngFormPreLink(scope, formElement, attr, ctrls) {\n            var controller = ctrls[0];\n\n            // if `action` attr is not present on the form, prevent the default action (submission)\n            if (!('action' in attr)) {\n              // we can't use jq events because if a form is destroyed during submission the default\n              // action is not prevented. see #1238\n              //\n              // IE 9 is not affected because it doesn't fire a submit event and try to do a full\n              // page reload if the form was destroyed by submission of the form via a click handler\n              // on a button in the form. Looks like an IE9 specific bug.\n              var handleFormSubmission = function(event) {\n                scope.$apply(function() {\n                  controller.$commitViewValue();\n                  controller.$setSubmitted();\n                });\n\n                event.preventDefault();\n              };\n\n              addEventListenerFn(formElement[0], 'submit', handleFormSubmission);\n\n              // unregister the preventDefault listener so that we don't not leak memory but in a\n              // way that will achieve the prevention of the default action.\n              formElement.on('$destroy', function() {\n                $timeout(function() {\n                  removeEventListenerFn(formElement[0], 'submit', handleFormSubmission);\n                }, 0, false);\n              });\n            }\n\n            var parentFormCtrl = ctrls[1] || controller.$$parentForm;\n            parentFormCtrl.$addControl(controller);\n\n            var setter = nameAttr ? getSetter(controller.$name) : noop;\n\n            if (nameAttr) {\n              setter(scope, controller);\n              attr.$observe(nameAttr, function(newValue) {\n                if (controller.$name === newValue) return;\n                setter(scope, undefined);\n                controller.$$parentForm.$$renameControl(controller, newValue);\n                setter = getSetter(controller.$name);\n                setter(scope, controller);\n              });\n            }\n            formElement.on('$destroy', function() {\n              controller.$$parentForm.$removeControl(controller);\n              setter(scope, undefined);\n              extend(controller, nullFormCtrl); //stop propagating child destruction handlers upwards\n            });\n          }\n        };\n      }\n    };\n\n    return formDirective;\n\n    function getSetter(expression) {\n      if (expression === '') {\n        //create an assignable expression, so forms with an empty name can be renamed later\n        return $parse('this[\"\"]').assign;\n      }\n      return $parse(expression).assign || noop;\n    }\n  }];\n};\n\nvar formDirective = formDirectiveFactory();\nvar ngFormDirective = formDirectiveFactory(true);\n\n/* global VALID_CLASS: false,\n  INVALID_CLASS: false,\n  PRISTINE_CLASS: false,\n  DIRTY_CLASS: false,\n  UNTOUCHED_CLASS: false,\n  TOUCHED_CLASS: false,\n  ngModelMinErr: false,\n*/\n\n// Regex code is obtained from SO: https://stackoverflow.com/questions/3143070/javascript-regex-iso-datetime#answer-3143231\nvar ISO_DATE_REGEXP = /\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d:[0-5]\\d\\.\\d+([+-][0-2]\\d:[0-5]\\d|Z)/;\n// See valid URLs in RFC3987 (http://tools.ietf.org/html/rfc3987)\nvar URL_REGEXP = /^[A-Za-z][A-Za-z\\d.+-]*:\\/*(?:\\w+(?::\\w+)?@)?[^\\s/]+(?::\\d+)?(?:\\/[\\w#!:.?+=&%@\\-/]*)?$/;\nvar EMAIL_REGEXP = /^[a-z0-9!#$%&'*+\\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i;\nvar NUMBER_REGEXP = /^\\s*(\\-|\\+)?(\\d+|(\\d*(\\.\\d*)))([eE][+-]?\\d+)?\\s*$/;\nvar DATE_REGEXP = /^(\\d{4})-(\\d{2})-(\\d{2})$/;\nvar DATETIMELOCAL_REGEXP = /^(\\d{4})-(\\d\\d)-(\\d\\d)T(\\d\\d):(\\d\\d)(?::(\\d\\d)(\\.\\d{1,3})?)?$/;\nvar WEEK_REGEXP = /^(\\d{4})-W(\\d\\d)$/;\nvar MONTH_REGEXP = /^(\\d{4})-(\\d\\d)$/;\nvar TIME_REGEXP = /^(\\d\\d):(\\d\\d)(?::(\\d\\d)(\\.\\d{1,3})?)?$/;\n\nvar inputType = {\n\n  /**\n   * @ngdoc input\n   * @name input[text]\n   *\n   * @description\n   * Standard HTML text input with angular data binding, inherited by most of the `input` elements.\n   *\n   *\n   * @param {string} ngModel Assignable angular expression to data-bind to.\n   * @param {string=} name Property name of the form under which the control is published.\n   * @param {string=} required Adds `required` validation error key if the value is not entered.\n   * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n   *    the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n   *    `required` when you want to data-bind to the `required` attribute.\n   * @param {number=} ngMinlength Sets `minlength` validation error key if the value is shorter than\n   *    minlength.\n   * @param {number=} ngMaxlength Sets `maxlength` validation error key if the value is longer than\n   *    maxlength. Setting the attribute to a negative or non-numeric value, allows view values of\n   *    any length.\n   * @param {string=} pattern Similar to `ngPattern` except that the attribute value is the actual string\n   *    that contains the regular expression body that will be converted to a regular expression\n   *    as in the ngPattern directive.\n   * @param {string=} ngPattern Sets `pattern` validation error key if the ngModel value does not match\n   *    a RegExp found by evaluating the Angular expression given in the attribute value.\n   *    If the expression evaluates to a RegExp object, then this is used directly.\n   *    If the expression evaluates to a string, then it will be converted to a RegExp\n   *    after wrapping it in `^` and `$` characters. For instance, `\"abc\"` will be converted to\n   *    `new RegExp('^abc$')`.<br />\n   *    **Note:** Avoid using the `g` flag on the RegExp, as it will cause each successive search to\n   *    start at the index of the last search's match, thus not taking the whole input value into\n   *    account.\n   * @param {string=} ngChange Angular expression to be executed when input changes due to user\n   *    interaction with the input element.\n   * @param {boolean=} [ngTrim=true] If set to false Angular will not automatically trim the input.\n   *    This parameter is ignored for input[type=password] controls, which will never trim the\n   *    input.\n   *\n   * @example\n      <example name=\"text-input-directive\" module=\"textInputExample\">\n        <file name=\"index.html\">\n         <script>\n           angular.module('textInputExample', [])\n             .controller('ExampleController', ['$scope', function($scope) {\n               $scope.example = {\n                 text: 'guest',\n                 word: /^\\s*\\w*\\s*$/\n               };\n             }]);\n         </script>\n         <form name=\"myForm\" ng-controller=\"ExampleController\">\n           <label>Single word:\n             <input type=\"text\" name=\"input\" ng-model=\"example.text\"\n                    ng-pattern=\"example.word\" required ng-trim=\"false\">\n           </label>\n           <div role=\"alert\">\n             <span class=\"error\" ng-show=\"myForm.input.$error.required\">\n               Required!</span>\n             <span class=\"error\" ng-show=\"myForm.input.$error.pattern\">\n               Single word only!</span>\n           </div>\n           <tt>text = {{example.text}}</tt><br/>\n           <tt>myForm.input.$valid = {{myForm.input.$valid}}</tt><br/>\n           <tt>myForm.input.$error = {{myForm.input.$error}}</tt><br/>\n           <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n           <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n          </form>\n        </file>\n        <file name=\"protractor.js\" type=\"protractor\">\n          var text = element(by.binding('example.text'));\n          var valid = element(by.binding('myForm.input.$valid'));\n          var input = element(by.model('example.text'));\n\n          it('should initialize to model', function() {\n            expect(text.getText()).toContain('guest');\n            expect(valid.getText()).toContain('true');\n          });\n\n          it('should be invalid if empty', function() {\n            input.clear();\n            input.sendKeys('');\n\n            expect(text.getText()).toEqual('text =');\n            expect(valid.getText()).toContain('false');\n          });\n\n          it('should be invalid if multi word', function() {\n            input.clear();\n            input.sendKeys('hello world');\n\n            expect(valid.getText()).toContain('false');\n          });\n        </file>\n      </example>\n   */\n  'text': textInputType,\n\n    /**\n     * @ngdoc input\n     * @name input[date]\n     *\n     * @description\n     * Input with date validation and transformation. In browsers that do not yet support\n     * the HTML5 date input, a text element will be used. In that case, text must be entered in a valid ISO-8601\n     * date format (yyyy-MM-dd), for example: `2009-01-06`. Since many\n     * modern browsers do not yet support this input type, it is important to provide cues to users on the\n     * expected input format via a placeholder or label.\n     *\n     * The model must always be a Date object, otherwise Angular will throw an error.\n     * Invalid `Date` objects (dates whose `getTime()` is `NaN`) will be rendered as an empty string.\n     *\n     * The timezone to be used to read/write the `Date` instance in the model can be defined using\n     * {@link ng.directive:ngModelOptions ngModelOptions}. By default, this is the timezone of the browser.\n     *\n     * @param {string} ngModel Assignable angular expression to data-bind to.\n     * @param {string=} name Property name of the form under which the control is published.\n     * @param {string=} min Sets the `min` validation error key if the value entered is less than `min`. This must be a\n     *   valid ISO date string (yyyy-MM-dd). You can also use interpolation inside this attribute\n     *   (e.g. `min=\"{{minDate | date:'yyyy-MM-dd'}}\"`). Note that `min` will also add native HTML5\n     *   constraint validation.\n     * @param {string=} max Sets the `max` validation error key if the value entered is greater than `max`. This must be\n     *   a valid ISO date string (yyyy-MM-dd). You can also use interpolation inside this attribute\n     *   (e.g. `max=\"{{maxDate | date:'yyyy-MM-dd'}}\"`). Note that `max` will also add native HTML5\n     *   constraint validation.\n     * @param {(date|string)=} ngMin Sets the `min` validation constraint to the Date / ISO date string\n     *   the `ngMin` expression evaluates to. Note that it does not set the `min` attribute.\n     * @param {(date|string)=} ngMax Sets the `max` validation constraint to the Date / ISO date string\n     *   the `ngMax` expression evaluates to. Note that it does not set the `max` attribute.\n     * @param {string=} required Sets `required` validation error key if the value is not entered.\n     * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n     *    the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n     *    `required` when you want to data-bind to the `required` attribute.\n     * @param {string=} ngChange Angular expression to be executed when input changes due to user\n     *    interaction with the input element.\n     *\n     * @example\n     <example name=\"date-input-directive\" module=\"dateInputExample\">\n     <file name=\"index.html\">\n       <script>\n          angular.module('dateInputExample', [])\n            .controller('DateController', ['$scope', function($scope) {\n              $scope.example = {\n                value: new Date(2013, 9, 22)\n              };\n            }]);\n       </script>\n       <form name=\"myForm\" ng-controller=\"DateController as dateCtrl\">\n          <label for=\"exampleInput\">Pick a date in 2013:</label>\n          <input type=\"date\" id=\"exampleInput\" name=\"input\" ng-model=\"example.value\"\n              placeholder=\"yyyy-MM-dd\" min=\"2013-01-01\" max=\"2013-12-31\" required />\n          <div role=\"alert\">\n            <span class=\"error\" ng-show=\"myForm.input.$error.required\">\n                Required!</span>\n            <span class=\"error\" ng-show=\"myForm.input.$error.date\">\n                Not a valid date!</span>\n           </div>\n           <tt>value = {{example.value | date: \"yyyy-MM-dd\"}}</tt><br/>\n           <tt>myForm.input.$valid = {{myForm.input.$valid}}</tt><br/>\n           <tt>myForm.input.$error = {{myForm.input.$error}}</tt><br/>\n           <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n           <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n       </form>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n        var value = element(by.binding('example.value | date: \"yyyy-MM-dd\"'));\n        var valid = element(by.binding('myForm.input.$valid'));\n        var input = element(by.model('example.value'));\n\n        // currently protractor/webdriver does not support\n        // sending keys to all known HTML5 input controls\n        // for various browsers (see https://github.com/angular/protractor/issues/562).\n        function setInput(val) {\n          // set the value of the element and force validation.\n          var scr = \"var ipt = document.getElementById('exampleInput'); \" +\n          \"ipt.value = '\" + val + \"';\" +\n          \"angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('\" + val + \"'); });\";\n          browser.executeScript(scr);\n        }\n\n        it('should initialize to model', function() {\n          expect(value.getText()).toContain('2013-10-22');\n          expect(valid.getText()).toContain('myForm.input.$valid = true');\n        });\n\n        it('should be invalid if empty', function() {\n          setInput('');\n          expect(value.getText()).toEqual('value =');\n          expect(valid.getText()).toContain('myForm.input.$valid = false');\n        });\n\n        it('should be invalid if over max', function() {\n          setInput('2015-01-01');\n          expect(value.getText()).toContain('');\n          expect(valid.getText()).toContain('myForm.input.$valid = false');\n        });\n     </file>\n     </example>\n     */\n  'date': createDateInputType('date', DATE_REGEXP,\n         createDateParser(DATE_REGEXP, ['yyyy', 'MM', 'dd']),\n         'yyyy-MM-dd'),\n\n   /**\n    * @ngdoc input\n    * @name input[datetime-local]\n    *\n    * @description\n    * Input with datetime validation and transformation. In browsers that do not yet support\n    * the HTML5 date input, a text element will be used. In that case, the text must be entered in a valid ISO-8601\n    * local datetime format (yyyy-MM-ddTHH:mm:ss), for example: `2010-12-28T14:57:00`.\n    *\n    * The model must always be a Date object, otherwise Angular will throw an error.\n    * Invalid `Date` objects (dates whose `getTime()` is `NaN`) will be rendered as an empty string.\n    *\n    * The timezone to be used to read/write the `Date` instance in the model can be defined using\n    * {@link ng.directive:ngModelOptions ngModelOptions}. By default, this is the timezone of the browser.\n    *\n    * @param {string} ngModel Assignable angular expression to data-bind to.\n    * @param {string=} name Property name of the form under which the control is published.\n    * @param {string=} min Sets the `min` validation error key if the value entered is less than `min`.\n    *   This must be a valid ISO datetime format (yyyy-MM-ddTHH:mm:ss). You can also use interpolation\n    *   inside this attribute (e.g. `min=\"{{minDatetimeLocal | date:'yyyy-MM-ddTHH:mm:ss'}}\"`).\n    *   Note that `min` will also add native HTML5 constraint validation.\n    * @param {string=} max Sets the `max` validation error key if the value entered is greater than `max`.\n    *   This must be a valid ISO datetime format (yyyy-MM-ddTHH:mm:ss). You can also use interpolation\n    *   inside this attribute (e.g. `max=\"{{maxDatetimeLocal | date:'yyyy-MM-ddTHH:mm:ss'}}\"`).\n    *   Note that `max` will also add native HTML5 constraint validation.\n    * @param {(date|string)=} ngMin Sets the `min` validation error key to the Date / ISO datetime string\n    *   the `ngMin` expression evaluates to. Note that it does not set the `min` attribute.\n    * @param {(date|string)=} ngMax Sets the `max` validation error key to the Date / ISO datetime string\n    *   the `ngMax` expression evaluates to. Note that it does not set the `max` attribute.\n    * @param {string=} required Sets `required` validation error key if the value is not entered.\n    * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n    *    the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n    *    `required` when you want to data-bind to the `required` attribute.\n    * @param {string=} ngChange Angular expression to be executed when input changes due to user\n    *    interaction with the input element.\n    *\n    * @example\n    <example name=\"datetimelocal-input-directive\" module=\"dateExample\">\n    <file name=\"index.html\">\n      <script>\n        angular.module('dateExample', [])\n          .controller('DateController', ['$scope', function($scope) {\n            $scope.example = {\n              value: new Date(2010, 11, 28, 14, 57)\n            };\n          }]);\n      </script>\n      <form name=\"myForm\" ng-controller=\"DateController as dateCtrl\">\n        <label for=\"exampleInput\">Pick a date between in 2013:</label>\n        <input type=\"datetime-local\" id=\"exampleInput\" name=\"input\" ng-model=\"example.value\"\n            placeholder=\"yyyy-MM-ddTHH:mm:ss\" min=\"2001-01-01T00:00:00\" max=\"2013-12-31T00:00:00\" required />\n        <div role=\"alert\">\n          <span class=\"error\" ng-show=\"myForm.input.$error.required\">\n              Required!</span>\n          <span class=\"error\" ng-show=\"myForm.input.$error.datetimelocal\">\n              Not a valid date!</span>\n        </div>\n        <tt>value = {{example.value | date: \"yyyy-MM-ddTHH:mm:ss\"}}</tt><br/>\n        <tt>myForm.input.$valid = {{myForm.input.$valid}}</tt><br/>\n        <tt>myForm.input.$error = {{myForm.input.$error}}</tt><br/>\n        <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n        <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n      </form>\n    </file>\n    <file name=\"protractor.js\" type=\"protractor\">\n      var value = element(by.binding('example.value | date: \"yyyy-MM-ddTHH:mm:ss\"'));\n      var valid = element(by.binding('myForm.input.$valid'));\n      var input = element(by.model('example.value'));\n\n      // currently protractor/webdriver does not support\n      // sending keys to all known HTML5 input controls\n      // for various browsers (https://github.com/angular/protractor/issues/562).\n      function setInput(val) {\n        // set the value of the element and force validation.\n        var scr = \"var ipt = document.getElementById('exampleInput'); \" +\n        \"ipt.value = '\" + val + \"';\" +\n        \"angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('\" + val + \"'); });\";\n        browser.executeScript(scr);\n      }\n\n      it('should initialize to model', function() {\n        expect(value.getText()).toContain('2010-12-28T14:57:00');\n        expect(valid.getText()).toContain('myForm.input.$valid = true');\n      });\n\n      it('should be invalid if empty', function() {\n        setInput('');\n        expect(value.getText()).toEqual('value =');\n        expect(valid.getText()).toContain('myForm.input.$valid = false');\n      });\n\n      it('should be invalid if over max', function() {\n        setInput('2015-01-01T23:59:00');\n        expect(value.getText()).toContain('');\n        expect(valid.getText()).toContain('myForm.input.$valid = false');\n      });\n    </file>\n    </example>\n    */\n  'datetime-local': createDateInputType('datetimelocal', DATETIMELOCAL_REGEXP,\n      createDateParser(DATETIMELOCAL_REGEXP, ['yyyy', 'MM', 'dd', 'HH', 'mm', 'ss', 'sss']),\n      'yyyy-MM-ddTHH:mm:ss.sss'),\n\n  /**\n   * @ngdoc input\n   * @name input[time]\n   *\n   * @description\n   * Input with time validation and transformation. In browsers that do not yet support\n   * the HTML5 date input, a text element will be used. In that case, the text must be entered in a valid ISO-8601\n   * local time format (HH:mm:ss), for example: `14:57:00`. Model must be a Date object. This binding will always output a\n   * Date object to the model of January 1, 1970, or local date `new Date(1970, 0, 1, HH, mm, ss)`.\n   *\n   * The model must always be a Date object, otherwise Angular will throw an error.\n   * Invalid `Date` objects (dates whose `getTime()` is `NaN`) will be rendered as an empty string.\n   *\n   * The timezone to be used to read/write the `Date` instance in the model can be defined using\n   * {@link ng.directive:ngModelOptions ngModelOptions}. By default, this is the timezone of the browser.\n   *\n   * @param {string} ngModel Assignable angular expression to data-bind to.\n   * @param {string=} name Property name of the form under which the control is published.\n   * @param {string=} min Sets the `min` validation error key if the value entered is less than `min`.\n   *   This must be a valid ISO time format (HH:mm:ss). You can also use interpolation inside this\n   *   attribute (e.g. `min=\"{{minTime | date:'HH:mm:ss'}}\"`). Note that `min` will also add\n   *   native HTML5 constraint validation.\n   * @param {string=} max Sets the `max` validation error key if the value entered is greater than `max`.\n   *   This must be a valid ISO time format (HH:mm:ss). You can also use interpolation inside this\n   *   attribute (e.g. `max=\"{{maxTime | date:'HH:mm:ss'}}\"`). Note that `max` will also add\n   *   native HTML5 constraint validation.\n   * @param {(date|string)=} ngMin Sets the `min` validation constraint to the Date / ISO time string the\n   *   `ngMin` expression evaluates to. Note that it does not set the `min` attribute.\n   * @param {(date|string)=} ngMax Sets the `max` validation constraint to the Date / ISO time string the\n   *   `ngMax` expression evaluates to. Note that it does not set the `max` attribute.\n   * @param {string=} required Sets `required` validation error key if the value is not entered.\n   * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n   *    the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n   *    `required` when you want to data-bind to the `required` attribute.\n   * @param {string=} ngChange Angular expression to be executed when input changes due to user\n   *    interaction with the input element.\n   *\n   * @example\n   <example name=\"time-input-directive\" module=\"timeExample\">\n   <file name=\"index.html\">\n     <script>\n      angular.module('timeExample', [])\n        .controller('DateController', ['$scope', function($scope) {\n          $scope.example = {\n            value: new Date(1970, 0, 1, 14, 57, 0)\n          };\n        }]);\n     </script>\n     <form name=\"myForm\" ng-controller=\"DateController as dateCtrl\">\n        <label for=\"exampleInput\">Pick a between 8am and 5pm:</label>\n        <input type=\"time\" id=\"exampleInput\" name=\"input\" ng-model=\"example.value\"\n            placeholder=\"HH:mm:ss\" min=\"08:00:00\" max=\"17:00:00\" required />\n        <div role=\"alert\">\n          <span class=\"error\" ng-show=\"myForm.input.$error.required\">\n              Required!</span>\n          <span class=\"error\" ng-show=\"myForm.input.$error.time\">\n              Not a valid date!</span>\n        </div>\n        <tt>value = {{example.value | date: \"HH:mm:ss\"}}</tt><br/>\n        <tt>myForm.input.$valid = {{myForm.input.$valid}}</tt><br/>\n        <tt>myForm.input.$error = {{myForm.input.$error}}</tt><br/>\n        <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n        <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n     </form>\n   </file>\n   <file name=\"protractor.js\" type=\"protractor\">\n      var value = element(by.binding('example.value | date: \"HH:mm:ss\"'));\n      var valid = element(by.binding('myForm.input.$valid'));\n      var input = element(by.model('example.value'));\n\n      // currently protractor/webdriver does not support\n      // sending keys to all known HTML5 input controls\n      // for various browsers (https://github.com/angular/protractor/issues/562).\n      function setInput(val) {\n        // set the value of the element and force validation.\n        var scr = \"var ipt = document.getElementById('exampleInput'); \" +\n        \"ipt.value = '\" + val + \"';\" +\n        \"angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('\" + val + \"'); });\";\n        browser.executeScript(scr);\n      }\n\n      it('should initialize to model', function() {\n        expect(value.getText()).toContain('14:57:00');\n        expect(valid.getText()).toContain('myForm.input.$valid = true');\n      });\n\n      it('should be invalid if empty', function() {\n        setInput('');\n        expect(value.getText()).toEqual('value =');\n        expect(valid.getText()).toContain('myForm.input.$valid = false');\n      });\n\n      it('should be invalid if over max', function() {\n        setInput('23:59:00');\n        expect(value.getText()).toContain('');\n        expect(valid.getText()).toContain('myForm.input.$valid = false');\n      });\n   </file>\n   </example>\n   */\n  'time': createDateInputType('time', TIME_REGEXP,\n      createDateParser(TIME_REGEXP, ['HH', 'mm', 'ss', 'sss']),\n     'HH:mm:ss.sss'),\n\n   /**\n    * @ngdoc input\n    * @name input[week]\n    *\n    * @description\n    * Input with week-of-the-year validation and transformation to Date. In browsers that do not yet support\n    * the HTML5 week input, a text element will be used. In that case, the text must be entered in a valid ISO-8601\n    * week format (yyyy-W##), for example: `2013-W02`.\n    *\n    * The model must always be a Date object, otherwise Angular will throw an error.\n    * Invalid `Date` objects (dates whose `getTime()` is `NaN`) will be rendered as an empty string.\n    *\n    * The timezone to be used to read/write the `Date` instance in the model can be defined using\n    * {@link ng.directive:ngModelOptions ngModelOptions}. By default, this is the timezone of the browser.\n    *\n    * @param {string} ngModel Assignable angular expression to data-bind to.\n    * @param {string=} name Property name of the form under which the control is published.\n    * @param {string=} min Sets the `min` validation error key if the value entered is less than `min`.\n    *   This must be a valid ISO week format (yyyy-W##). You can also use interpolation inside this\n    *   attribute (e.g. `min=\"{{minWeek | date:'yyyy-Www'}}\"`). Note that `min` will also add\n    *   native HTML5 constraint validation.\n    * @param {string=} max Sets the `max` validation error key if the value entered is greater than `max`.\n    *   This must be a valid ISO week format (yyyy-W##). You can also use interpolation inside this\n    *   attribute (e.g. `max=\"{{maxWeek | date:'yyyy-Www'}}\"`). Note that `max` will also add\n    *   native HTML5 constraint validation.\n    * @param {(date|string)=} ngMin Sets the `min` validation constraint to the Date / ISO week string\n    *   the `ngMin` expression evaluates to. Note that it does not set the `min` attribute.\n    * @param {(date|string)=} ngMax Sets the `max` validation constraint to the Date / ISO week string\n    *   the `ngMax` expression evaluates to. Note that it does not set the `max` attribute.\n    * @param {string=} required Sets `required` validation error key if the value is not entered.\n    * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n    *    the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n    *    `required` when you want to data-bind to the `required` attribute.\n    * @param {string=} ngChange Angular expression to be executed when input changes due to user\n    *    interaction with the input element.\n    *\n    * @example\n    <example name=\"week-input-directive\" module=\"weekExample\">\n    <file name=\"index.html\">\n      <script>\n      angular.module('weekExample', [])\n        .controller('DateController', ['$scope', function($scope) {\n          $scope.example = {\n            value: new Date(2013, 0, 3)\n          };\n        }]);\n      </script>\n      <form name=\"myForm\" ng-controller=\"DateController as dateCtrl\">\n        <label>Pick a date between in 2013:\n          <input id=\"exampleInput\" type=\"week\" name=\"input\" ng-model=\"example.value\"\n                 placeholder=\"YYYY-W##\" min=\"2012-W32\"\n                 max=\"2013-W52\" required />\n        </label>\n        <div role=\"alert\">\n          <span class=\"error\" ng-show=\"myForm.input.$error.required\">\n              Required!</span>\n          <span class=\"error\" ng-show=\"myForm.input.$error.week\">\n              Not a valid date!</span>\n        </div>\n        <tt>value = {{example.value | date: \"yyyy-Www\"}}</tt><br/>\n        <tt>myForm.input.$valid = {{myForm.input.$valid}}</tt><br/>\n        <tt>myForm.input.$error = {{myForm.input.$error}}</tt><br/>\n        <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n        <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n      </form>\n    </file>\n    <file name=\"protractor.js\" type=\"protractor\">\n      var value = element(by.binding('example.value | date: \"yyyy-Www\"'));\n      var valid = element(by.binding('myForm.input.$valid'));\n      var input = element(by.model('example.value'));\n\n      // currently protractor/webdriver does not support\n      // sending keys to all known HTML5 input controls\n      // for various browsers (https://github.com/angular/protractor/issues/562).\n      function setInput(val) {\n        // set the value of the element and force validation.\n        var scr = \"var ipt = document.getElementById('exampleInput'); \" +\n        \"ipt.value = '\" + val + \"';\" +\n        \"angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('\" + val + \"'); });\";\n        browser.executeScript(scr);\n      }\n\n      it('should initialize to model', function() {\n        expect(value.getText()).toContain('2013-W01');\n        expect(valid.getText()).toContain('myForm.input.$valid = true');\n      });\n\n      it('should be invalid if empty', function() {\n        setInput('');\n        expect(value.getText()).toEqual('value =');\n        expect(valid.getText()).toContain('myForm.input.$valid = false');\n      });\n\n      it('should be invalid if over max', function() {\n        setInput('2015-W01');\n        expect(value.getText()).toContain('');\n        expect(valid.getText()).toContain('myForm.input.$valid = false');\n      });\n    </file>\n    </example>\n    */\n  'week': createDateInputType('week', WEEK_REGEXP, weekParser, 'yyyy-Www'),\n\n  /**\n   * @ngdoc input\n   * @name input[month]\n   *\n   * @description\n   * Input with month validation and transformation. In browsers that do not yet support\n   * the HTML5 month input, a text element will be used. In that case, the text must be entered in a valid ISO-8601\n   * month format (yyyy-MM), for example: `2009-01`.\n   *\n   * The model must always be a Date object, otherwise Angular will throw an error.\n   * Invalid `Date` objects (dates whose `getTime()` is `NaN`) will be rendered as an empty string.\n   * If the model is not set to the first of the month, the next view to model update will set it\n   * to the first of the month.\n   *\n   * The timezone to be used to read/write the `Date` instance in the model can be defined using\n   * {@link ng.directive:ngModelOptions ngModelOptions}. By default, this is the timezone of the browser.\n   *\n   * @param {string} ngModel Assignable angular expression to data-bind to.\n   * @param {string=} name Property name of the form under which the control is published.\n   * @param {string=} min Sets the `min` validation error key if the value entered is less than `min`.\n   *   This must be a valid ISO month format (yyyy-MM). You can also use interpolation inside this\n   *   attribute (e.g. `min=\"{{minMonth | date:'yyyy-MM'}}\"`). Note that `min` will also add\n   *   native HTML5 constraint validation.\n   * @param {string=} max Sets the `max` validation error key if the value entered is greater than `max`.\n   *   This must be a valid ISO month format (yyyy-MM). You can also use interpolation inside this\n   *   attribute (e.g. `max=\"{{maxMonth | date:'yyyy-MM'}}\"`). Note that `max` will also add\n   *   native HTML5 constraint validation.\n   * @param {(date|string)=} ngMin Sets the `min` validation constraint to the Date / ISO week string\n   *   the `ngMin` expression evaluates to. Note that it does not set the `min` attribute.\n   * @param {(date|string)=} ngMax Sets the `max` validation constraint to the Date / ISO week string\n   *   the `ngMax` expression evaluates to. Note that it does not set the `max` attribute.\n\n   * @param {string=} required Sets `required` validation error key if the value is not entered.\n   * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n   *    the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n   *    `required` when you want to data-bind to the `required` attribute.\n   * @param {string=} ngChange Angular expression to be executed when input changes due to user\n   *    interaction with the input element.\n   *\n   * @example\n   <example name=\"month-input-directive\" module=\"monthExample\">\n   <file name=\"index.html\">\n     <script>\n      angular.module('monthExample', [])\n        .controller('DateController', ['$scope', function($scope) {\n          $scope.example = {\n            value: new Date(2013, 9, 1)\n          };\n        }]);\n     </script>\n     <form name=\"myForm\" ng-controller=\"DateController as dateCtrl\">\n       <label for=\"exampleInput\">Pick a month in 2013:</label>\n       <input id=\"exampleInput\" type=\"month\" name=\"input\" ng-model=\"example.value\"\n          placeholder=\"yyyy-MM\" min=\"2013-01\" max=\"2013-12\" required />\n       <div role=\"alert\">\n         <span class=\"error\" ng-show=\"myForm.input.$error.required\">\n            Required!</span>\n         <span class=\"error\" ng-show=\"myForm.input.$error.month\">\n            Not a valid month!</span>\n       </div>\n       <tt>value = {{example.value | date: \"yyyy-MM\"}}</tt><br/>\n       <tt>myForm.input.$valid = {{myForm.input.$valid}}</tt><br/>\n       <tt>myForm.input.$error = {{myForm.input.$error}}</tt><br/>\n       <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n       <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n     </form>\n   </file>\n   <file name=\"protractor.js\" type=\"protractor\">\n      var value = element(by.binding('example.value | date: \"yyyy-MM\"'));\n      var valid = element(by.binding('myForm.input.$valid'));\n      var input = element(by.model('example.value'));\n\n      // currently protractor/webdriver does not support\n      // sending keys to all known HTML5 input controls\n      // for various browsers (https://github.com/angular/protractor/issues/562).\n      function setInput(val) {\n        // set the value of the element and force validation.\n        var scr = \"var ipt = document.getElementById('exampleInput'); \" +\n        \"ipt.value = '\" + val + \"';\" +\n        \"angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('\" + val + \"'); });\";\n        browser.executeScript(scr);\n      }\n\n      it('should initialize to model', function() {\n        expect(value.getText()).toContain('2013-10');\n        expect(valid.getText()).toContain('myForm.input.$valid = true');\n      });\n\n      it('should be invalid if empty', function() {\n        setInput('');\n        expect(value.getText()).toEqual('value =');\n        expect(valid.getText()).toContain('myForm.input.$valid = false');\n      });\n\n      it('should be invalid if over max', function() {\n        setInput('2015-01');\n        expect(value.getText()).toContain('');\n        expect(valid.getText()).toContain('myForm.input.$valid = false');\n      });\n   </file>\n   </example>\n   */\n  'month': createDateInputType('month', MONTH_REGEXP,\n     createDateParser(MONTH_REGEXP, ['yyyy', 'MM']),\n     'yyyy-MM'),\n\n  /**\n   * @ngdoc input\n   * @name input[number]\n   *\n   * @description\n   * Text input with number validation and transformation. Sets the `number` validation\n   * error if not a valid number.\n   *\n   * <div class=\"alert alert-warning\">\n   * The model must always be of type `number` otherwise Angular will throw an error.\n   * Be aware that a string containing a number is not enough. See the {@link ngModel:numfmt}\n   * error docs for more information and an example of how to convert your model if necessary.\n   * </div>\n   *\n   * ## Issues with HTML5 constraint validation\n   *\n   * In browsers that follow the\n   * [HTML5 specification](https://html.spec.whatwg.org/multipage/forms.html#number-state-%28type=number%29),\n   * `input[number]` does not work as expected with {@link ngModelOptions `ngModelOptions.allowInvalid`}.\n   * If a non-number is entered in the input, the browser will report the value as an empty string,\n   * which means the view / model values in `ngModel` and subsequently the scope value\n   * will also be an empty string.\n   *\n   *\n   * @param {string} ngModel Assignable angular expression to data-bind to.\n   * @param {string=} name Property name of the form under which the control is published.\n   * @param {string=} min Sets the `min` validation error key if the value entered is less than `min`.\n   * @param {string=} max Sets the `max` validation error key if the value entered is greater than `max`.\n   * @param {string=} required Sets `required` validation error key if the value is not entered.\n   * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n   *    the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n   *    `required` when you want to data-bind to the `required` attribute.\n   * @param {number=} ngMinlength Sets `minlength` validation error key if the value is shorter than\n   *    minlength.\n   * @param {number=} ngMaxlength Sets `maxlength` validation error key if the value is longer than\n   *    maxlength. Setting the attribute to a negative or non-numeric value, allows view values of\n   *    any length.\n   * @param {string=} pattern Similar to `ngPattern` except that the attribute value is the actual string\n   *    that contains the regular expression body that will be converted to a regular expression\n   *    as in the ngPattern directive.\n   * @param {string=} ngPattern Sets `pattern` validation error key if the ngModel value does not match\n   *    a RegExp found by evaluating the Angular expression given in the attribute value.\n   *    If the expression evaluates to a RegExp object, then this is used directly.\n   *    If the expression evaluates to a string, then it will be converted to a RegExp\n   *    after wrapping it in `^` and `$` characters. For instance, `\"abc\"` will be converted to\n   *    `new RegExp('^abc$')`.<br />\n   *    **Note:** Avoid using the `g` flag on the RegExp, as it will cause each successive search to\n   *    start at the index of the last search's match, thus not taking the whole input value into\n   *    account.\n   * @param {string=} ngChange Angular expression to be executed when input changes due to user\n   *    interaction with the input element.\n   *\n   * @example\n      <example name=\"number-input-directive\" module=\"numberExample\">\n        <file name=\"index.html\">\n         <script>\n           angular.module('numberExample', [])\n             .controller('ExampleController', ['$scope', function($scope) {\n               $scope.example = {\n                 value: 12\n               };\n             }]);\n         </script>\n         <form name=\"myForm\" ng-controller=\"ExampleController\">\n           <label>Number:\n             <input type=\"number\" name=\"input\" ng-model=\"example.value\"\n                    min=\"0\" max=\"99\" required>\n          </label>\n           <div role=\"alert\">\n             <span class=\"error\" ng-show=\"myForm.input.$error.required\">\n               Required!</span>\n             <span class=\"error\" ng-show=\"myForm.input.$error.number\">\n               Not valid number!</span>\n           </div>\n           <tt>value = {{example.value}}</tt><br/>\n           <tt>myForm.input.$valid = {{myForm.input.$valid}}</tt><br/>\n           <tt>myForm.input.$error = {{myForm.input.$error}}</tt><br/>\n           <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n           <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n          </form>\n        </file>\n        <file name=\"protractor.js\" type=\"protractor\">\n          var value = element(by.binding('example.value'));\n          var valid = element(by.binding('myForm.input.$valid'));\n          var input = element(by.model('example.value'));\n\n          it('should initialize to model', function() {\n            expect(value.getText()).toContain('12');\n            expect(valid.getText()).toContain('true');\n          });\n\n          it('should be invalid if empty', function() {\n            input.clear();\n            input.sendKeys('');\n            expect(value.getText()).toEqual('value =');\n            expect(valid.getText()).toContain('false');\n          });\n\n          it('should be invalid if over max', function() {\n            input.clear();\n            input.sendKeys('123');\n            expect(value.getText()).toEqual('value =');\n            expect(valid.getText()).toContain('false');\n          });\n        </file>\n      </example>\n   */\n  'number': numberInputType,\n\n\n  /**\n   * @ngdoc input\n   * @name input[url]\n   *\n   * @description\n   * Text input with URL validation. Sets the `url` validation error key if the content is not a\n   * valid URL.\n   *\n   * <div class=\"alert alert-warning\">\n   * **Note:** `input[url]` uses a regex to validate urls that is derived from the regex\n   * used in Chromium. If you need stricter validation, you can use `ng-pattern` or modify\n   * the built-in validators (see the {@link guide/forms Forms guide})\n   * </div>\n   *\n   * @param {string} ngModel Assignable angular expression to data-bind to.\n   * @param {string=} name Property name of the form under which the control is published.\n   * @param {string=} required Sets `required` validation error key if the value is not entered.\n   * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n   *    the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n   *    `required` when you want to data-bind to the `required` attribute.\n   * @param {number=} ngMinlength Sets `minlength` validation error key if the value is shorter than\n   *    minlength.\n   * @param {number=} ngMaxlength Sets `maxlength` validation error key if the value is longer than\n   *    maxlength. Setting the attribute to a negative or non-numeric value, allows view values of\n   *    any length.\n   * @param {string=} pattern Similar to `ngPattern` except that the attribute value is the actual string\n   *    that contains the regular expression body that will be converted to a regular expression\n   *    as in the ngPattern directive.\n   * @param {string=} ngPattern Sets `pattern` validation error key if the ngModel value does not match\n   *    a RegExp found by evaluating the Angular expression given in the attribute value.\n   *    If the expression evaluates to a RegExp object, then this is used directly.\n   *    If the expression evaluates to a string, then it will be converted to a RegExp\n   *    after wrapping it in `^` and `$` characters. For instance, `\"abc\"` will be converted to\n   *    `new RegExp('^abc$')`.<br />\n   *    **Note:** Avoid using the `g` flag on the RegExp, as it will cause each successive search to\n   *    start at the index of the last search's match, thus not taking the whole input value into\n   *    account.\n   * @param {string=} ngChange Angular expression to be executed when input changes due to user\n   *    interaction with the input element.\n   *\n   * @example\n      <example name=\"url-input-directive\" module=\"urlExample\">\n        <file name=\"index.html\">\n         <script>\n           angular.module('urlExample', [])\n             .controller('ExampleController', ['$scope', function($scope) {\n               $scope.url = {\n                 text: 'http://google.com'\n               };\n             }]);\n         </script>\n         <form name=\"myForm\" ng-controller=\"ExampleController\">\n           <label>URL:\n             <input type=\"url\" name=\"input\" ng-model=\"url.text\" required>\n           <label>\n           <div role=\"alert\">\n             <span class=\"error\" ng-show=\"myForm.input.$error.required\">\n               Required!</span>\n             <span class=\"error\" ng-show=\"myForm.input.$error.url\">\n               Not valid url!</span>\n           </div>\n           <tt>text = {{url.text}}</tt><br/>\n           <tt>myForm.input.$valid = {{myForm.input.$valid}}</tt><br/>\n           <tt>myForm.input.$error = {{myForm.input.$error}}</tt><br/>\n           <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n           <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n           <tt>myForm.$error.url = {{!!myForm.$error.url}}</tt><br/>\n          </form>\n        </file>\n        <file name=\"protractor.js\" type=\"protractor\">\n          var text = element(by.binding('url.text'));\n          var valid = element(by.binding('myForm.input.$valid'));\n          var input = element(by.model('url.text'));\n\n          it('should initialize to model', function() {\n            expect(text.getText()).toContain('http://google.com');\n            expect(valid.getText()).toContain('true');\n          });\n\n          it('should be invalid if empty', function() {\n            input.clear();\n            input.sendKeys('');\n\n            expect(text.getText()).toEqual('text =');\n            expect(valid.getText()).toContain('false');\n          });\n\n          it('should be invalid if not url', function() {\n            input.clear();\n            input.sendKeys('box');\n\n            expect(valid.getText()).toContain('false');\n          });\n        </file>\n      </example>\n   */\n  'url': urlInputType,\n\n\n  /**\n   * @ngdoc input\n   * @name input[email]\n   *\n   * @description\n   * Text input with email validation. Sets the `email` validation error key if not a valid email\n   * address.\n   *\n   * <div class=\"alert alert-warning\">\n   * **Note:** `input[email]` uses a regex to validate email addresses that is derived from the regex\n   * used in Chromium. If you need stricter validation (e.g. requiring a top-level domain), you can\n   * use `ng-pattern` or modify the built-in validators (see the {@link guide/forms Forms guide})\n   * </div>\n   *\n   * @param {string} ngModel Assignable angular expression to data-bind to.\n   * @param {string=} name Property name of the form under which the control is published.\n   * @param {string=} required Sets `required` validation error key if the value is not entered.\n   * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n   *    the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n   *    `required` when you want to data-bind to the `required` attribute.\n   * @param {number=} ngMinlength Sets `minlength` validation error key if the value is shorter than\n   *    minlength.\n   * @param {number=} ngMaxlength Sets `maxlength` validation error key if the value is longer than\n   *    maxlength. Setting the attribute to a negative or non-numeric value, allows view values of\n   *    any length.\n   * @param {string=} pattern Similar to `ngPattern` except that the attribute value is the actual string\n   *    that contains the regular expression body that will be converted to a regular expression\n   *    as in the ngPattern directive.\n   * @param {string=} ngPattern Sets `pattern` validation error key if the ngModel value does not match\n   *    a RegExp found by evaluating the Angular expression given in the attribute value.\n   *    If the expression evaluates to a RegExp object, then this is used directly.\n   *    If the expression evaluates to a string, then it will be converted to a RegExp\n   *    after wrapping it in `^` and `$` characters. For instance, `\"abc\"` will be converted to\n   *    `new RegExp('^abc$')`.<br />\n   *    **Note:** Avoid using the `g` flag on the RegExp, as it will cause each successive search to\n   *    start at the index of the last search's match, thus not taking the whole input value into\n   *    account.\n   * @param {string=} ngChange Angular expression to be executed when input changes due to user\n   *    interaction with the input element.\n   *\n   * @example\n      <example name=\"email-input-directive\" module=\"emailExample\">\n        <file name=\"index.html\">\n         <script>\n           angular.module('emailExample', [])\n             .controller('ExampleController', ['$scope', function($scope) {\n               $scope.email = {\n                 text: 'me@example.com'\n               };\n             }]);\n         </script>\n           <form name=\"myForm\" ng-controller=\"ExampleController\">\n             <label>Email:\n               <input type=\"email\" name=\"input\" ng-model=\"email.text\" required>\n             </label>\n             <div role=\"alert\">\n               <span class=\"error\" ng-show=\"myForm.input.$error.required\">\n                 Required!</span>\n               <span class=\"error\" ng-show=\"myForm.input.$error.email\">\n                 Not valid email!</span>\n             </div>\n             <tt>text = {{email.text}}</tt><br/>\n             <tt>myForm.input.$valid = {{myForm.input.$valid}}</tt><br/>\n             <tt>myForm.input.$error = {{myForm.input.$error}}</tt><br/>\n             <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n             <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n             <tt>myForm.$error.email = {{!!myForm.$error.email}}</tt><br/>\n           </form>\n         </file>\n        <file name=\"protractor.js\" type=\"protractor\">\n          var text = element(by.binding('email.text'));\n          var valid = element(by.binding('myForm.input.$valid'));\n          var input = element(by.model('email.text'));\n\n          it('should initialize to model', function() {\n            expect(text.getText()).toContain('me@example.com');\n            expect(valid.getText()).toContain('true');\n          });\n\n          it('should be invalid if empty', function() {\n            input.clear();\n            input.sendKeys('');\n            expect(text.getText()).toEqual('text =');\n            expect(valid.getText()).toContain('false');\n          });\n\n          it('should be invalid if not email', function() {\n            input.clear();\n            input.sendKeys('xxx');\n\n            expect(valid.getText()).toContain('false');\n          });\n        </file>\n      </example>\n   */\n  'email': emailInputType,\n\n\n  /**\n   * @ngdoc input\n   * @name input[radio]\n   *\n   * @description\n   * HTML radio button.\n   *\n   * @param {string} ngModel Assignable angular expression to data-bind to.\n   * @param {string} value The value to which the `ngModel` expression should be set when selected.\n   *    Note that `value` only supports `string` values, i.e. the scope model needs to be a string,\n   *    too. Use `ngValue` if you need complex models (`number`, `object`, ...).\n   * @param {string=} name Property name of the form under which the control is published.\n   * @param {string=} ngChange Angular expression to be executed when input changes due to user\n   *    interaction with the input element.\n   * @param {string} ngValue Angular expression to which `ngModel` will be be set when the radio\n   *    is selected. Should be used instead of the `value` attribute if you need\n   *    a non-string `ngModel` (`boolean`, `array`, ...).\n   *\n   * @example\n      <example name=\"radio-input-directive\" module=\"radioExample\">\n        <file name=\"index.html\">\n         <script>\n           angular.module('radioExample', [])\n             .controller('ExampleController', ['$scope', function($scope) {\n               $scope.color = {\n                 name: 'blue'\n               };\n               $scope.specialValue = {\n                 \"id\": \"12345\",\n                 \"value\": \"green\"\n               };\n             }]);\n         </script>\n         <form name=\"myForm\" ng-controller=\"ExampleController\">\n           <label>\n             <input type=\"radio\" ng-model=\"color.name\" value=\"red\">\n             Red\n           </label><br/>\n           <label>\n             <input type=\"radio\" ng-model=\"color.name\" ng-value=\"specialValue\">\n             Green\n           </label><br/>\n           <label>\n             <input type=\"radio\" ng-model=\"color.name\" value=\"blue\">\n             Blue\n           </label><br/>\n           <tt>color = {{color.name | json}}</tt><br/>\n          </form>\n          Note that `ng-value=\"specialValue\"` sets radio item's value to be the value of `$scope.specialValue`.\n        </file>\n        <file name=\"protractor.js\" type=\"protractor\">\n          it('should change state', function() {\n            var color = element(by.binding('color.name'));\n\n            expect(color.getText()).toContain('blue');\n\n            element.all(by.model('color.name')).get(0).click();\n\n            expect(color.getText()).toContain('red');\n          });\n        </file>\n      </example>\n   */\n  'radio': radioInputType,\n\n\n  /**\n   * @ngdoc input\n   * @name input[checkbox]\n   *\n   * @description\n   * HTML checkbox.\n   *\n   * @param {string} ngModel Assignable angular expression to data-bind to.\n   * @param {string=} name Property name of the form under which the control is published.\n   * @param {expression=} ngTrueValue The value to which the expression should be set when selected.\n   * @param {expression=} ngFalseValue The value to which the expression should be set when not selected.\n   * @param {string=} ngChange Angular expression to be executed when input changes due to user\n   *    interaction with the input element.\n   *\n   * @example\n      <example name=\"checkbox-input-directive\" module=\"checkboxExample\">\n        <file name=\"index.html\">\n         <script>\n           angular.module('checkboxExample', [])\n             .controller('ExampleController', ['$scope', function($scope) {\n               $scope.checkboxModel = {\n                value1 : true,\n                value2 : 'YES'\n              };\n             }]);\n         </script>\n         <form name=\"myForm\" ng-controller=\"ExampleController\">\n           <label>Value1:\n             <input type=\"checkbox\" ng-model=\"checkboxModel.value1\">\n           </label><br/>\n           <label>Value2:\n             <input type=\"checkbox\" ng-model=\"checkboxModel.value2\"\n                    ng-true-value=\"'YES'\" ng-false-value=\"'NO'\">\n            </label><br/>\n           <tt>value1 = {{checkboxModel.value1}}</tt><br/>\n           <tt>value2 = {{checkboxModel.value2}}</tt><br/>\n          </form>\n        </file>\n        <file name=\"protractor.js\" type=\"protractor\">\n          it('should change state', function() {\n            var value1 = element(by.binding('checkboxModel.value1'));\n            var value2 = element(by.binding('checkboxModel.value2'));\n\n            expect(value1.getText()).toContain('true');\n            expect(value2.getText()).toContain('YES');\n\n            element(by.model('checkboxModel.value1')).click();\n            element(by.model('checkboxModel.value2')).click();\n\n            expect(value1.getText()).toContain('false');\n            expect(value2.getText()).toContain('NO');\n          });\n        </file>\n      </example>\n   */\n  'checkbox': checkboxInputType,\n\n  'hidden': noop,\n  'button': noop,\n  'submit': noop,\n  'reset': noop,\n  'file': noop\n};\n\nfunction stringBasedInputType(ctrl) {\n  ctrl.$formatters.push(function(value) {\n    return ctrl.$isEmpty(value) ? value : value.toString();\n  });\n}\n\nfunction textInputType(scope, element, attr, ctrl, $sniffer, $browser) {\n  baseInputType(scope, element, attr, ctrl, $sniffer, $browser);\n  stringBasedInputType(ctrl);\n}\n\nfunction baseInputType(scope, element, attr, ctrl, $sniffer, $browser) {\n  var type = lowercase(element[0].type);\n\n  // In composition mode, users are still inputing intermediate text buffer,\n  // hold the listener until composition is done.\n  // More about composition events: https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent\n  if (!$sniffer.android) {\n    var composing = false;\n\n    element.on('compositionstart', function(data) {\n      composing = true;\n    });\n\n    element.on('compositionend', function() {\n      composing = false;\n      listener();\n    });\n  }\n\n  var listener = function(ev) {\n    if (timeout) {\n      $browser.defer.cancel(timeout);\n      timeout = null;\n    }\n    if (composing) return;\n    var value = element.val(),\n        event = ev && ev.type;\n\n    // By default we will trim the value\n    // If the attribute ng-trim exists we will avoid trimming\n    // If input type is 'password', the value is never trimmed\n    if (type !== 'password' && (!attr.ngTrim || attr.ngTrim !== 'false')) {\n      value = trim(value);\n    }\n\n    // If a control is suffering from bad input (due to native validators), browsers discard its\n    // value, so it may be necessary to revalidate (by calling $setViewValue again) even if the\n    // control's value is the same empty value twice in a row.\n    if (ctrl.$viewValue !== value || (value === '' && ctrl.$$hasNativeValidators)) {\n      ctrl.$setViewValue(value, event);\n    }\n  };\n\n  // if the browser does support \"input\" event, we are fine - except on IE9 which doesn't fire the\n  // input event on backspace, delete or cut\n  if ($sniffer.hasEvent('input')) {\n    element.on('input', listener);\n  } else {\n    var timeout;\n\n    var deferListener = function(ev, input, origValue) {\n      if (!timeout) {\n        timeout = $browser.defer(function() {\n          timeout = null;\n          if (!input || input.value !== origValue) {\n            listener(ev);\n          }\n        });\n      }\n    };\n\n    element.on('keydown', function(event) {\n      var key = event.keyCode;\n\n      // ignore\n      //    command            modifiers                   arrows\n      if (key === 91 || (15 < key && key < 19) || (37 <= key && key <= 40)) return;\n\n      deferListener(event, this, this.value);\n    });\n\n    // if user modifies input value using context menu in IE, we need \"paste\" and \"cut\" events to catch it\n    if ($sniffer.hasEvent('paste')) {\n      element.on('paste cut', deferListener);\n    }\n  }\n\n  // if user paste into input using mouse on older browser\n  // or form autocomplete on newer browser, we need \"change\" event to catch it\n  element.on('change', listener);\n\n  ctrl.$render = function() {\n    // Workaround for Firefox validation #12102.\n    var value = ctrl.$isEmpty(ctrl.$viewValue) ? '' : ctrl.$viewValue;\n    if (element.val() !== value) {\n      element.val(value);\n    }\n  };\n}\n\nfunction weekParser(isoWeek, existingDate) {\n  if (isDate(isoWeek)) {\n    return isoWeek;\n  }\n\n  if (isString(isoWeek)) {\n    WEEK_REGEXP.lastIndex = 0;\n    var parts = WEEK_REGEXP.exec(isoWeek);\n    if (parts) {\n      var year = +parts[1],\n          week = +parts[2],\n          hours = 0,\n          minutes = 0,\n          seconds = 0,\n          milliseconds = 0,\n          firstThurs = getFirstThursdayOfYear(year),\n          addDays = (week - 1) * 7;\n\n      if (existingDate) {\n        hours = existingDate.getHours();\n        minutes = existingDate.getMinutes();\n        seconds = existingDate.getSeconds();\n        milliseconds = existingDate.getMilliseconds();\n      }\n\n      return new Date(year, 0, firstThurs.getDate() + addDays, hours, minutes, seconds, milliseconds);\n    }\n  }\n\n  return NaN;\n}\n\nfunction createDateParser(regexp, mapping) {\n  return function(iso, date) {\n    var parts, map;\n\n    if (isDate(iso)) {\n      return iso;\n    }\n\n    if (isString(iso)) {\n      // When a date is JSON'ified to wraps itself inside of an extra\n      // set of double quotes. This makes the date parsing code unable\n      // to match the date string and parse it as a date.\n      if (iso.charAt(0) == '\"' && iso.charAt(iso.length - 1) == '\"') {\n        iso = iso.substring(1, iso.length - 1);\n      }\n      if (ISO_DATE_REGEXP.test(iso)) {\n        return new Date(iso);\n      }\n      regexp.lastIndex = 0;\n      parts = regexp.exec(iso);\n\n      if (parts) {\n        parts.shift();\n        if (date) {\n          map = {\n            yyyy: date.getFullYear(),\n            MM: date.getMonth() + 1,\n            dd: date.getDate(),\n            HH: date.getHours(),\n            mm: date.getMinutes(),\n            ss: date.getSeconds(),\n            sss: date.getMilliseconds() / 1000\n          };\n        } else {\n          map = { yyyy: 1970, MM: 1, dd: 1, HH: 0, mm: 0, ss: 0, sss: 0 };\n        }\n\n        forEach(parts, function(part, index) {\n          if (index < mapping.length) {\n            map[mapping[index]] = +part;\n          }\n        });\n        return new Date(map.yyyy, map.MM - 1, map.dd, map.HH, map.mm, map.ss || 0, map.sss * 1000 || 0);\n      }\n    }\n\n    return NaN;\n  };\n}\n\nfunction createDateInputType(type, regexp, parseDate, format) {\n  return function dynamicDateInputType(scope, element, attr, ctrl, $sniffer, $browser, $filter) {\n    badInputChecker(scope, element, attr, ctrl);\n    baseInputType(scope, element, attr, ctrl, $sniffer, $browser);\n    var timezone = ctrl && ctrl.$options && ctrl.$options.timezone;\n    var previousDate;\n\n    ctrl.$$parserName = type;\n    ctrl.$parsers.push(function(value) {\n      if (ctrl.$isEmpty(value)) return null;\n      if (regexp.test(value)) {\n        // Note: We cannot read ctrl.$modelValue, as there might be a different\n        // parser/formatter in the processing chain so that the model\n        // contains some different data format!\n        var parsedDate = parseDate(value, previousDate);\n        if (timezone) {\n          parsedDate = convertTimezoneToLocal(parsedDate, timezone);\n        }\n        return parsedDate;\n      }\n      return undefined;\n    });\n\n    ctrl.$formatters.push(function(value) {\n      if (value && !isDate(value)) {\n        throw ngModelMinErr('datefmt', 'Expected `{0}` to be a date', value);\n      }\n      if (isValidDate(value)) {\n        previousDate = value;\n        if (previousDate && timezone) {\n          previousDate = convertTimezoneToLocal(previousDate, timezone, true);\n        }\n        return $filter('date')(value, format, timezone);\n      } else {\n        previousDate = null;\n        return '';\n      }\n    });\n\n    if (isDefined(attr.min) || attr.ngMin) {\n      var minVal;\n      ctrl.$validators.min = function(value) {\n        return !isValidDate(value) || isUndefined(minVal) || parseDate(value) >= minVal;\n      };\n      attr.$observe('min', function(val) {\n        minVal = parseObservedDateValue(val);\n        ctrl.$validate();\n      });\n    }\n\n    if (isDefined(attr.max) || attr.ngMax) {\n      var maxVal;\n      ctrl.$validators.max = function(value) {\n        return !isValidDate(value) || isUndefined(maxVal) || parseDate(value) <= maxVal;\n      };\n      attr.$observe('max', function(val) {\n        maxVal = parseObservedDateValue(val);\n        ctrl.$validate();\n      });\n    }\n\n    function isValidDate(value) {\n      // Invalid Date: getTime() returns NaN\n      return value && !(value.getTime && value.getTime() !== value.getTime());\n    }\n\n    function parseObservedDateValue(val) {\n      return isDefined(val) && !isDate(val) ? parseDate(val) || undefined : val;\n    }\n  };\n}\n\nfunction badInputChecker(scope, element, attr, ctrl) {\n  var node = element[0];\n  var nativeValidation = ctrl.$$hasNativeValidators = isObject(node.validity);\n  if (nativeValidation) {\n    ctrl.$parsers.push(function(value) {\n      var validity = element.prop(VALIDITY_STATE_PROPERTY) || {};\n      // Detect bug in FF35 for input[email] (https://bugzilla.mozilla.org/show_bug.cgi?id=1064430):\n      // - also sets validity.badInput (should only be validity.typeMismatch).\n      // - see http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#e-mail-state-(type=email)\n      // - can ignore this case as we can still read out the erroneous email...\n      return validity.badInput && !validity.typeMismatch ? undefined : value;\n    });\n  }\n}\n\nfunction numberInputType(scope, element, attr, ctrl, $sniffer, $browser) {\n  badInputChecker(scope, element, attr, ctrl);\n  baseInputType(scope, element, attr, ctrl, $sniffer, $browser);\n\n  ctrl.$$parserName = 'number';\n  ctrl.$parsers.push(function(value) {\n    if (ctrl.$isEmpty(value))      return null;\n    if (NUMBER_REGEXP.test(value)) return parseFloat(value);\n    return undefined;\n  });\n\n  ctrl.$formatters.push(function(value) {\n    if (!ctrl.$isEmpty(value)) {\n      if (!isNumber(value)) {\n        throw ngModelMinErr('numfmt', 'Expected `{0}` to be a number', value);\n      }\n      value = value.toString();\n    }\n    return value;\n  });\n\n  if (isDefined(attr.min) || attr.ngMin) {\n    var minVal;\n    ctrl.$validators.min = function(value) {\n      return ctrl.$isEmpty(value) || isUndefined(minVal) || value >= minVal;\n    };\n\n    attr.$observe('min', function(val) {\n      if (isDefined(val) && !isNumber(val)) {\n        val = parseFloat(val, 10);\n      }\n      minVal = isNumber(val) && !isNaN(val) ? val : undefined;\n      // TODO(matsko): implement validateLater to reduce number of validations\n      ctrl.$validate();\n    });\n  }\n\n  if (isDefined(attr.max) || attr.ngMax) {\n    var maxVal;\n    ctrl.$validators.max = function(value) {\n      return ctrl.$isEmpty(value) || isUndefined(maxVal) || value <= maxVal;\n    };\n\n    attr.$observe('max', function(val) {\n      if (isDefined(val) && !isNumber(val)) {\n        val = parseFloat(val, 10);\n      }\n      maxVal = isNumber(val) && !isNaN(val) ? val : undefined;\n      // TODO(matsko): implement validateLater to reduce number of validations\n      ctrl.$validate();\n    });\n  }\n}\n\nfunction urlInputType(scope, element, attr, ctrl, $sniffer, $browser) {\n  // Note: no badInputChecker here by purpose as `url` is only a validation\n  // in browsers, i.e. we can always read out input.value even if it is not valid!\n  baseInputType(scope, element, attr, ctrl, $sniffer, $browser);\n  stringBasedInputType(ctrl);\n\n  ctrl.$$parserName = 'url';\n  ctrl.$validators.url = function(modelValue, viewValue) {\n    var value = modelValue || viewValue;\n    return ctrl.$isEmpty(value) || URL_REGEXP.test(value);\n  };\n}\n\nfunction emailInputType(scope, element, attr, ctrl, $sniffer, $browser) {\n  // Note: no badInputChecker here by purpose as `url` is only a validation\n  // in browsers, i.e. we can always read out input.value even if it is not valid!\n  baseInputType(scope, element, attr, ctrl, $sniffer, $browser);\n  stringBasedInputType(ctrl);\n\n  ctrl.$$parserName = 'email';\n  ctrl.$validators.email = function(modelValue, viewValue) {\n    var value = modelValue || viewValue;\n    return ctrl.$isEmpty(value) || EMAIL_REGEXP.test(value);\n  };\n}\n\nfunction radioInputType(scope, element, attr, ctrl) {\n  // make the name unique, if not defined\n  if (isUndefined(attr.name)) {\n    element.attr('name', nextUid());\n  }\n\n  var listener = function(ev) {\n    if (element[0].checked) {\n      ctrl.$setViewValue(attr.value, ev && ev.type);\n    }\n  };\n\n  element.on('click', listener);\n\n  ctrl.$render = function() {\n    var value = attr.value;\n    element[0].checked = (value == ctrl.$viewValue);\n  };\n\n  attr.$observe('value', ctrl.$render);\n}\n\nfunction parseConstantExpr($parse, context, name, expression, fallback) {\n  var parseFn;\n  if (isDefined(expression)) {\n    parseFn = $parse(expression);\n    if (!parseFn.constant) {\n      throw ngModelMinErr('constexpr', 'Expected constant expression for `{0}`, but saw ' +\n                                   '`{1}`.', name, expression);\n    }\n    return parseFn(context);\n  }\n  return fallback;\n}\n\nfunction checkboxInputType(scope, element, attr, ctrl, $sniffer, $browser, $filter, $parse) {\n  var trueValue = parseConstantExpr($parse, scope, 'ngTrueValue', attr.ngTrueValue, true);\n  var falseValue = parseConstantExpr($parse, scope, 'ngFalseValue', attr.ngFalseValue, false);\n\n  var listener = function(ev) {\n    ctrl.$setViewValue(element[0].checked, ev && ev.type);\n  };\n\n  element.on('click', listener);\n\n  ctrl.$render = function() {\n    element[0].checked = ctrl.$viewValue;\n  };\n\n  // Override the standard `$isEmpty` because the $viewValue of an empty checkbox is always set to `false`\n  // This is because of the parser below, which compares the `$modelValue` with `trueValue` to convert\n  // it to a boolean.\n  ctrl.$isEmpty = function(value) {\n    return value === false;\n  };\n\n  ctrl.$formatters.push(function(value) {\n    return equals(value, trueValue);\n  });\n\n  ctrl.$parsers.push(function(value) {\n    return value ? trueValue : falseValue;\n  });\n}\n\n\n/**\n * @ngdoc directive\n * @name textarea\n * @restrict E\n *\n * @description\n * HTML textarea element control with angular data-binding. The data-binding and validation\n * properties of this element are exactly the same as those of the\n * {@link ng.directive:input input element}.\n *\n * @param {string} ngModel Assignable angular expression to data-bind to.\n * @param {string=} name Property name of the form under which the control is published.\n * @param {string=} required Sets `required` validation error key if the value is not entered.\n * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n *    the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n *    `required` when you want to data-bind to the `required` attribute.\n * @param {number=} ngMinlength Sets `minlength` validation error key if the value is shorter than\n *    minlength.\n * @param {number=} ngMaxlength Sets `maxlength` validation error key if the value is longer than\n *    maxlength. Setting the attribute to a negative or non-numeric value, allows view values of any\n *    length.\n * @param {string=} ngPattern Sets `pattern` validation error key if the ngModel value does not match\n *    a RegExp found by evaluating the Angular expression given in the attribute value.\n *    If the expression evaluates to a RegExp object, then this is used directly.\n *    If the expression evaluates to a string, then it will be converted to a RegExp\n *    after wrapping it in `^` and `$` characters. For instance, `\"abc\"` will be converted to\n *    `new RegExp('^abc$')`.<br />\n *    **Note:** Avoid using the `g` flag on the RegExp, as it will cause each successive search to\n *    start at the index of the last search's match, thus not taking the whole input value into\n *    account.\n * @param {string=} ngChange Angular expression to be executed when input changes due to user\n *    interaction with the input element.\n * @param {boolean=} [ngTrim=true] If set to false Angular will not automatically trim the input.\n */\n\n\n/**\n * @ngdoc directive\n * @name input\n * @restrict E\n *\n * @description\n * HTML input element control. When used together with {@link ngModel `ngModel`}, it provides data-binding,\n * input state control, and validation.\n * Input control follows HTML5 input types and polyfills the HTML5 validation behavior for older browsers.\n *\n * <div class=\"alert alert-warning\">\n * **Note:** Not every feature offered is available for all input types.\n * Specifically, data binding and event handling via `ng-model` is unsupported for `input[file]`.\n * </div>\n *\n * @param {string} ngModel Assignable angular expression to data-bind to.\n * @param {string=} name Property name of the form under which the control is published.\n * @param {string=} required Sets `required` validation error key if the value is not entered.\n * @param {boolean=} ngRequired Sets `required` attribute if set to true\n * @param {number=} ngMinlength Sets `minlength` validation error key if the value is shorter than\n *    minlength.\n * @param {number=} ngMaxlength Sets `maxlength` validation error key if the value is longer than\n *    maxlength. Setting the attribute to a negative or non-numeric value, allows view values of any\n *    length.\n * @param {string=} ngPattern Sets `pattern` validation error key if the ngModel value does not match\n *    a RegExp found by evaluating the Angular expression given in the attribute value.\n *    If the expression evaluates to a RegExp object, then this is used directly.\n *    If the expression evaluates to a string, then it will be converted to a RegExp\n *    after wrapping it in `^` and `$` characters. For instance, `\"abc\"` will be converted to\n *    `new RegExp('^abc$')`.<br />\n *    **Note:** Avoid using the `g` flag on the RegExp, as it will cause each successive search to\n *    start at the index of the last search's match, thus not taking the whole input value into\n *    account.\n * @param {string=} ngChange Angular expression to be executed when input changes due to user\n *    interaction with the input element.\n * @param {boolean=} [ngTrim=true] If set to false Angular will not automatically trim the input.\n *    This parameter is ignored for input[type=password] controls, which will never trim the\n *    input.\n *\n * @example\n    <example name=\"input-directive\" module=\"inputExample\">\n      <file name=\"index.html\">\n       <script>\n          angular.module('inputExample', [])\n            .controller('ExampleController', ['$scope', function($scope) {\n              $scope.user = {name: 'guest', last: 'visitor'};\n            }]);\n       </script>\n       <div ng-controller=\"ExampleController\">\n         <form name=\"myForm\">\n           <label>\n              User name:\n              <input type=\"text\" name=\"userName\" ng-model=\"user.name\" required>\n           </label>\n           <div role=\"alert\">\n             <span class=\"error\" ng-show=\"myForm.userName.$error.required\">\n              Required!</span>\n           </div>\n           <label>\n              Last name:\n              <input type=\"text\" name=\"lastName\" ng-model=\"user.last\"\n              ng-minlength=\"3\" ng-maxlength=\"10\">\n           </label>\n           <div role=\"alert\">\n             <span class=\"error\" ng-show=\"myForm.lastName.$error.minlength\">\n               Too short!</span>\n             <span class=\"error\" ng-show=\"myForm.lastName.$error.maxlength\">\n               Too long!</span>\n           </div>\n         </form>\n         <hr>\n         <tt>user = {{user}}</tt><br/>\n         <tt>myForm.userName.$valid = {{myForm.userName.$valid}}</tt><br/>\n         <tt>myForm.userName.$error = {{myForm.userName.$error}}</tt><br/>\n         <tt>myForm.lastName.$valid = {{myForm.lastName.$valid}}</tt><br/>\n         <tt>myForm.lastName.$error = {{myForm.lastName.$error}}</tt><br/>\n         <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n         <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n         <tt>myForm.$error.minlength = {{!!myForm.$error.minlength}}</tt><br/>\n         <tt>myForm.$error.maxlength = {{!!myForm.$error.maxlength}}</tt><br/>\n       </div>\n      </file>\n      <file name=\"protractor.js\" type=\"protractor\">\n        var user = element(by.exactBinding('user'));\n        var userNameValid = element(by.binding('myForm.userName.$valid'));\n        var lastNameValid = element(by.binding('myForm.lastName.$valid'));\n        var lastNameError = element(by.binding('myForm.lastName.$error'));\n        var formValid = element(by.binding('myForm.$valid'));\n        var userNameInput = element(by.model('user.name'));\n        var userLastInput = element(by.model('user.last'));\n\n        it('should initialize to model', function() {\n          expect(user.getText()).toContain('{\"name\":\"guest\",\"last\":\"visitor\"}');\n          expect(userNameValid.getText()).toContain('true');\n          expect(formValid.getText()).toContain('true');\n        });\n\n        it('should be invalid if empty when required', function() {\n          userNameInput.clear();\n          userNameInput.sendKeys('');\n\n          expect(user.getText()).toContain('{\"last\":\"visitor\"}');\n          expect(userNameValid.getText()).toContain('false');\n          expect(formValid.getText()).toContain('false');\n        });\n\n        it('should be valid if empty when min length is set', function() {\n          userLastInput.clear();\n          userLastInput.sendKeys('');\n\n          expect(user.getText()).toContain('{\"name\":\"guest\",\"last\":\"\"}');\n          expect(lastNameValid.getText()).toContain('true');\n          expect(formValid.getText()).toContain('true');\n        });\n\n        it('should be invalid if less than required min length', function() {\n          userLastInput.clear();\n          userLastInput.sendKeys('xx');\n\n          expect(user.getText()).toContain('{\"name\":\"guest\"}');\n          expect(lastNameValid.getText()).toContain('false');\n          expect(lastNameError.getText()).toContain('minlength');\n          expect(formValid.getText()).toContain('false');\n        });\n\n        it('should be invalid if longer than max length', function() {\n          userLastInput.clear();\n          userLastInput.sendKeys('some ridiculously long name');\n\n          expect(user.getText()).toContain('{\"name\":\"guest\"}');\n          expect(lastNameValid.getText()).toContain('false');\n          expect(lastNameError.getText()).toContain('maxlength');\n          expect(formValid.getText()).toContain('false');\n        });\n      </file>\n    </example>\n */\nvar inputDirective = ['$browser', '$sniffer', '$filter', '$parse',\n    function($browser, $sniffer, $filter, $parse) {\n  return {\n    restrict: 'E',\n    require: ['?ngModel'],\n    link: {\n      pre: function(scope, element, attr, ctrls) {\n        if (ctrls[0]) {\n          (inputType[lowercase(attr.type)] || inputType.text)(scope, element, attr, ctrls[0], $sniffer,\n                                                              $browser, $filter, $parse);\n        }\n      }\n    }\n  };\n}];\n\n\n\nvar CONSTANT_VALUE_REGEXP = /^(true|false|\\d+)$/;\n/**\n * @ngdoc directive\n * @name ngValue\n *\n * @description\n * Binds the given expression to the value of `<option>` or {@link input[radio] `input[radio]`},\n * so that when the element is selected, the {@link ngModel `ngModel`} of that element is set to\n * the bound value.\n *\n * `ngValue` is useful when dynamically generating lists of radio buttons using\n * {@link ngRepeat `ngRepeat`}, as shown below.\n *\n * Likewise, `ngValue` can be used to generate `<option>` elements for\n * the {@link select `select`} element. In that case however, only strings are supported\n * for the `value `attribute, so the resulting `ngModel` will always be a string.\n * Support for `select` models with non-string values is available via `ngOptions`.\n *\n * @element input\n * @param {string=} ngValue angular expression, whose value will be bound to the `value` attribute\n *   of the `input` element\n *\n * @example\n    <example name=\"ngValue-directive\" module=\"valueExample\">\n      <file name=\"index.html\">\n       <script>\n          angular.module('valueExample', [])\n            .controller('ExampleController', ['$scope', function($scope) {\n              $scope.names = ['pizza', 'unicorns', 'robots'];\n              $scope.my = { favorite: 'unicorns' };\n            }]);\n       </script>\n        <form ng-controller=\"ExampleController\">\n          <h2>Which is your favorite?</h2>\n            <label ng-repeat=\"name in names\" for=\"{{name}}\">\n              {{name}}\n              <input type=\"radio\"\n                     ng-model=\"my.favorite\"\n                     ng-value=\"name\"\n                     id=\"{{name}}\"\n                     name=\"favorite\">\n            </label>\n          <div>You chose {{my.favorite}}</div>\n        </form>\n      </file>\n      <file name=\"protractor.js\" type=\"protractor\">\n        var favorite = element(by.binding('my.favorite'));\n\n        it('should initialize to model', function() {\n          expect(favorite.getText()).toContain('unicorns');\n        });\n        it('should bind the values to the inputs', function() {\n          element.all(by.model('my.favorite')).get(0).click();\n          expect(favorite.getText()).toContain('pizza');\n        });\n      </file>\n    </example>\n */\nvar ngValueDirective = function() {\n  return {\n    restrict: 'A',\n    priority: 100,\n    compile: function(tpl, tplAttr) {\n      if (CONSTANT_VALUE_REGEXP.test(tplAttr.ngValue)) {\n        return function ngValueConstantLink(scope, elm, attr) {\n          attr.$set('value', scope.$eval(attr.ngValue));\n        };\n      } else {\n        return function ngValueLink(scope, elm, attr) {\n          scope.$watch(attr.ngValue, function valueWatchAction(value) {\n            attr.$set('value', value);\n          });\n        };\n      }\n    }\n  };\n};\n\n/**\n * @ngdoc directive\n * @name ngBind\n * @restrict AC\n *\n * @description\n * The `ngBind` attribute tells Angular to replace the text content of the specified HTML element\n * with the value of a given expression, and to update the text content when the value of that\n * expression changes.\n *\n * Typically, you don't use `ngBind` directly, but instead you use the double curly markup like\n * `{{ expression }}` which is similar but less verbose.\n *\n * It is preferable to use `ngBind` instead of `{{ expression }}` if a template is momentarily\n * displayed by the browser in its raw state before Angular compiles it. Since `ngBind` is an\n * element attribute, it makes the bindings invisible to the user while the page is loading.\n *\n * An alternative solution to this problem would be using the\n * {@link ng.directive:ngCloak ngCloak} directive.\n *\n *\n * @element ANY\n * @param {expression} ngBind {@link guide/expression Expression} to evaluate.\n *\n * @example\n * Enter a name in the Live Preview text box; the greeting below the text box changes instantly.\n   <example module=\"bindExample\">\n     <file name=\"index.html\">\n       <script>\n         angular.module('bindExample', [])\n           .controller('ExampleController', ['$scope', function($scope) {\n             $scope.name = 'Whirled';\n           }]);\n       </script>\n       <div ng-controller=\"ExampleController\">\n         <label>Enter name: <input type=\"text\" ng-model=\"name\"></label><br>\n         Hello <span ng-bind=\"name\"></span>!\n       </div>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       it('should check ng-bind', function() {\n         var nameInput = element(by.model('name'));\n\n         expect(element(by.binding('name')).getText()).toBe('Whirled');\n         nameInput.clear();\n         nameInput.sendKeys('world');\n         expect(element(by.binding('name')).getText()).toBe('world');\n       });\n     </file>\n   </example>\n */\nvar ngBindDirective = ['$compile', function($compile) {\n  return {\n    restrict: 'AC',\n    compile: function ngBindCompile(templateElement) {\n      $compile.$$addBindingClass(templateElement);\n      return function ngBindLink(scope, element, attr) {\n        $compile.$$addBindingInfo(element, attr.ngBind);\n        element = element[0];\n        scope.$watch(attr.ngBind, function ngBindWatchAction(value) {\n          element.textContent = isUndefined(value) ? '' : value;\n        });\n      };\n    }\n  };\n}];\n\n\n/**\n * @ngdoc directive\n * @name ngBindTemplate\n *\n * @description\n * The `ngBindTemplate` directive specifies that the element\n * text content should be replaced with the interpolation of the template\n * in the `ngBindTemplate` attribute.\n * Unlike `ngBind`, the `ngBindTemplate` can contain multiple `{{` `}}`\n * expressions. This directive is needed since some HTML elements\n * (such as TITLE and OPTION) cannot contain SPAN elements.\n *\n * @element ANY\n * @param {string} ngBindTemplate template of form\n *   <tt>{{</tt> <tt>expression</tt> <tt>}}</tt> to eval.\n *\n * @example\n * Try it here: enter text in text box and watch the greeting change.\n   <example module=\"bindExample\">\n     <file name=\"index.html\">\n       <script>\n         angular.module('bindExample', [])\n           .controller('ExampleController', ['$scope', function($scope) {\n             $scope.salutation = 'Hello';\n             $scope.name = 'World';\n           }]);\n       </script>\n       <div ng-controller=\"ExampleController\">\n        <label>Salutation: <input type=\"text\" ng-model=\"salutation\"></label><br>\n        <label>Name: <input type=\"text\" ng-model=\"name\"></label><br>\n        <pre ng-bind-template=\"{{salutation}} {{name}}!\"></pre>\n       </div>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       it('should check ng-bind', function() {\n         var salutationElem = element(by.binding('salutation'));\n         var salutationInput = element(by.model('salutation'));\n         var nameInput = element(by.model('name'));\n\n         expect(salutationElem.getText()).toBe('Hello World!');\n\n         salutationInput.clear();\n         salutationInput.sendKeys('Greetings');\n         nameInput.clear();\n         nameInput.sendKeys('user');\n\n         expect(salutationElem.getText()).toBe('Greetings user!');\n       });\n     </file>\n   </example>\n */\nvar ngBindTemplateDirective = ['$interpolate', '$compile', function($interpolate, $compile) {\n  return {\n    compile: function ngBindTemplateCompile(templateElement) {\n      $compile.$$addBindingClass(templateElement);\n      return function ngBindTemplateLink(scope, element, attr) {\n        var interpolateFn = $interpolate(element.attr(attr.$attr.ngBindTemplate));\n        $compile.$$addBindingInfo(element, interpolateFn.expressions);\n        element = element[0];\n        attr.$observe('ngBindTemplate', function(value) {\n          element.textContent = isUndefined(value) ? '' : value;\n        });\n      };\n    }\n  };\n}];\n\n\n/**\n * @ngdoc directive\n * @name ngBindHtml\n *\n * @description\n * Evaluates the expression and inserts the resulting HTML into the element in a secure way. By default,\n * the resulting HTML content will be sanitized using the {@link ngSanitize.$sanitize $sanitize} service.\n * To utilize this functionality, ensure that `$sanitize` is available, for example, by including {@link\n * ngSanitize} in your module's dependencies (not in core Angular). In order to use {@link ngSanitize}\n * in your module's dependencies, you need to include \"angular-sanitize.js\" in your application.\n *\n * You may also bypass sanitization for values you know are safe. To do so, bind to\n * an explicitly trusted value via {@link ng.$sce#trustAsHtml $sce.trustAsHtml}.  See the example\n * under {@link ng.$sce#show-me-an-example-using-sce- Strict Contextual Escaping (SCE)}.\n *\n * Note: If a `$sanitize` service is unavailable and the bound value isn't explicitly trusted, you\n * will have an exception (instead of an exploit.)\n *\n * @element ANY\n * @param {expression} ngBindHtml {@link guide/expression Expression} to evaluate.\n *\n * @example\n\n   <example module=\"bindHtmlExample\" deps=\"angular-sanitize.js\">\n     <file name=\"index.html\">\n       <div ng-controller=\"ExampleController\">\n        <p ng-bind-html=\"myHTML\"></p>\n       </div>\n     </file>\n\n     <file name=\"script.js\">\n       angular.module('bindHtmlExample', ['ngSanitize'])\n         .controller('ExampleController', ['$scope', function($scope) {\n           $scope.myHTML =\n              'I am an <code>HTML</code>string with ' +\n              '<a href=\"#\">links!</a> and other <em>stuff</em>';\n         }]);\n     </file>\n\n     <file name=\"protractor.js\" type=\"protractor\">\n       it('should check ng-bind-html', function() {\n         expect(element(by.binding('myHTML')).getText()).toBe(\n             'I am an HTMLstring with links! and other stuff');\n       });\n     </file>\n   </example>\n */\nvar ngBindHtmlDirective = ['$sce', '$parse', '$compile', function($sce, $parse, $compile) {\n  return {\n    restrict: 'A',\n    compile: function ngBindHtmlCompile(tElement, tAttrs) {\n      var ngBindHtmlGetter = $parse(tAttrs.ngBindHtml);\n      var ngBindHtmlWatch = $parse(tAttrs.ngBindHtml, function getStringValue(value) {\n        return (value || '').toString();\n      });\n      $compile.$$addBindingClass(tElement);\n\n      return function ngBindHtmlLink(scope, element, attr) {\n        $compile.$$addBindingInfo(element, attr.ngBindHtml);\n\n        scope.$watch(ngBindHtmlWatch, function ngBindHtmlWatchAction() {\n          // we re-evaluate the expr because we want a TrustedValueHolderType\n          // for $sce, not a string\n          element.html($sce.getTrustedHtml(ngBindHtmlGetter(scope)) || '');\n        });\n      };\n    }\n  };\n}];\n\n/**\n * @ngdoc directive\n * @name ngChange\n *\n * @description\n * Evaluate the given expression when the user changes the input.\n * The expression is evaluated immediately, unlike the JavaScript onchange event\n * which only triggers at the end of a change (usually, when the user leaves the\n * form element or presses the return key).\n *\n * The `ngChange` expression is only evaluated when a change in the input value causes\n * a new value to be committed to the model.\n *\n * It will not be evaluated:\n * * if the value returned from the `$parsers` transformation pipeline has not changed\n * * if the input has continued to be invalid since the model will stay `null`\n * * if the model is changed programmatically and not by a change to the input value\n *\n *\n * Note, this directive requires `ngModel` to be present.\n *\n * @element input\n * @param {expression} ngChange {@link guide/expression Expression} to evaluate upon change\n * in input value.\n *\n * @example\n * <example name=\"ngChange-directive\" module=\"changeExample\">\n *   <file name=\"index.html\">\n *     <script>\n *       angular.module('changeExample', [])\n *         .controller('ExampleController', ['$scope', function($scope) {\n *           $scope.counter = 0;\n *           $scope.change = function() {\n *             $scope.counter++;\n *           };\n *         }]);\n *     </script>\n *     <div ng-controller=\"ExampleController\">\n *       <input type=\"checkbox\" ng-model=\"confirmed\" ng-change=\"change()\" id=\"ng-change-example1\" />\n *       <input type=\"checkbox\" ng-model=\"confirmed\" id=\"ng-change-example2\" />\n *       <label for=\"ng-change-example2\">Confirmed</label><br />\n *       <tt>debug = {{confirmed}}</tt><br/>\n *       <tt>counter = {{counter}}</tt><br/>\n *     </div>\n *   </file>\n *   <file name=\"protractor.js\" type=\"protractor\">\n *     var counter = element(by.binding('counter'));\n *     var debug = element(by.binding('confirmed'));\n *\n *     it('should evaluate the expression if changing from view', function() {\n *       expect(counter.getText()).toContain('0');\n *\n *       element(by.id('ng-change-example1')).click();\n *\n *       expect(counter.getText()).toContain('1');\n *       expect(debug.getText()).toContain('true');\n *     });\n *\n *     it('should not evaluate the expression if changing from model', function() {\n *       element(by.id('ng-change-example2')).click();\n\n *       expect(counter.getText()).toContain('0');\n *       expect(debug.getText()).toContain('true');\n *     });\n *   </file>\n * </example>\n */\nvar ngChangeDirective = valueFn({\n  restrict: 'A',\n  require: 'ngModel',\n  link: function(scope, element, attr, ctrl) {\n    ctrl.$viewChangeListeners.push(function() {\n      scope.$eval(attr.ngChange);\n    });\n  }\n});\n\nfunction classDirective(name, selector) {\n  name = 'ngClass' + name;\n  return ['$animate', function($animate) {\n    return {\n      restrict: 'AC',\n      link: function(scope, element, attr) {\n        var oldVal;\n\n        scope.$watch(attr[name], ngClassWatchAction, true);\n\n        attr.$observe('class', function(value) {\n          ngClassWatchAction(scope.$eval(attr[name]));\n        });\n\n\n        if (name !== 'ngClass') {\n          scope.$watch('$index', function($index, old$index) {\n            // jshint bitwise: false\n            var mod = $index & 1;\n            if (mod !== (old$index & 1)) {\n              var classes = arrayClasses(scope.$eval(attr[name]));\n              mod === selector ?\n                addClasses(classes) :\n                removeClasses(classes);\n            }\n          });\n        }\n\n        function addClasses(classes) {\n          var newClasses = digestClassCounts(classes, 1);\n          attr.$addClass(newClasses);\n        }\n\n        function removeClasses(classes) {\n          var newClasses = digestClassCounts(classes, -1);\n          attr.$removeClass(newClasses);\n        }\n\n        function digestClassCounts(classes, count) {\n          // Use createMap() to prevent class assumptions involving property\n          // names in Object.prototype\n          var classCounts = element.data('$classCounts') || createMap();\n          var classesToUpdate = [];\n          forEach(classes, function(className) {\n            if (count > 0 || classCounts[className]) {\n              classCounts[className] = (classCounts[className] || 0) + count;\n              if (classCounts[className] === +(count > 0)) {\n                classesToUpdate.push(className);\n              }\n            }\n          });\n          element.data('$classCounts', classCounts);\n          return classesToUpdate.join(' ');\n        }\n\n        function updateClasses(oldClasses, newClasses) {\n          var toAdd = arrayDifference(newClasses, oldClasses);\n          var toRemove = arrayDifference(oldClasses, newClasses);\n          toAdd = digestClassCounts(toAdd, 1);\n          toRemove = digestClassCounts(toRemove, -1);\n          if (toAdd && toAdd.length) {\n            $animate.addClass(element, toAdd);\n          }\n          if (toRemove && toRemove.length) {\n            $animate.removeClass(element, toRemove);\n          }\n        }\n\n        function ngClassWatchAction(newVal) {\n          if (selector === true || scope.$index % 2 === selector) {\n            var newClasses = arrayClasses(newVal || []);\n            if (!oldVal) {\n              addClasses(newClasses);\n            } else if (!equals(newVal,oldVal)) {\n              var oldClasses = arrayClasses(oldVal);\n              updateClasses(oldClasses, newClasses);\n            }\n          }\n          oldVal = shallowCopy(newVal);\n        }\n      }\n    };\n\n    function arrayDifference(tokens1, tokens2) {\n      var values = [];\n\n      outer:\n      for (var i = 0; i < tokens1.length; i++) {\n        var token = tokens1[i];\n        for (var j = 0; j < tokens2.length; j++) {\n          if (token == tokens2[j]) continue outer;\n        }\n        values.push(token);\n      }\n      return values;\n    }\n\n    function arrayClasses(classVal) {\n      var classes = [];\n      if (isArray(classVal)) {\n        forEach(classVal, function(v) {\n          classes = classes.concat(arrayClasses(v));\n        });\n        return classes;\n      } else if (isString(classVal)) {\n        return classVal.split(' ');\n      } else if (isObject(classVal)) {\n        forEach(classVal, function(v, k) {\n          if (v) {\n            classes = classes.concat(k.split(' '));\n          }\n        });\n        return classes;\n      }\n      return classVal;\n    }\n  }];\n}\n\n/**\n * @ngdoc directive\n * @name ngClass\n * @restrict AC\n *\n * @description\n * The `ngClass` directive allows you to dynamically set CSS classes on an HTML element by databinding\n * an expression that represents all classes to be added.\n *\n * The directive operates in three different ways, depending on which of three types the expression\n * evaluates to:\n *\n * 1. If the expression evaluates to a string, the string should be one or more space-delimited class\n * names.\n *\n * 2. If the expression evaluates to an object, then for each key-value pair of the\n * object with a truthy value the corresponding key is used as a class name.\n *\n * 3. If the expression evaluates to an array, each element of the array should either be a string as in\n * type 1 or an object as in type 2. This means that you can mix strings and objects together in an array\n * to give you more control over what CSS classes appear. See the code below for an example of this.\n *\n *\n * The directive won't add duplicate classes if a particular class was already set.\n *\n * When the expression changes, the previously added classes are removed and only then are the\n * new classes added.\n *\n * @animations\n * **add** - happens just before the class is applied to the elements\n *\n * **remove** - happens just before the class is removed from the element\n *\n * @element ANY\n * @param {expression} ngClass {@link guide/expression Expression} to eval. The result\n *   of the evaluation can be a string representing space delimited class\n *   names, an array, or a map of class names to boolean values. In the case of a map, the\n *   names of the properties whose values are truthy will be added as css classes to the\n *   element.\n *\n * @example Example that demonstrates basic bindings via ngClass directive.\n   <example>\n     <file name=\"index.html\">\n       <p ng-class=\"{strike: deleted, bold: important, 'has-error': error}\">Map Syntax Example</p>\n       <label>\n          <input type=\"checkbox\" ng-model=\"deleted\">\n          deleted (apply \"strike\" class)\n       </label><br>\n       <label>\n          <input type=\"checkbox\" ng-model=\"important\">\n          important (apply \"bold\" class)\n       </label><br>\n       <label>\n          <input type=\"checkbox\" ng-model=\"error\">\n          error (apply \"has-error\" class)\n       </label>\n       <hr>\n       <p ng-class=\"style\">Using String Syntax</p>\n       <input type=\"text\" ng-model=\"style\"\n              placeholder=\"Type: bold strike red\" aria-label=\"Type: bold strike red\">\n       <hr>\n       <p ng-class=\"[style1, style2, style3]\">Using Array Syntax</p>\n       <input ng-model=\"style1\"\n              placeholder=\"Type: bold, strike or red\" aria-label=\"Type: bold, strike or red\"><br>\n       <input ng-model=\"style2\"\n              placeholder=\"Type: bold, strike or red\" aria-label=\"Type: bold, strike or red 2\"><br>\n       <input ng-model=\"style3\"\n              placeholder=\"Type: bold, strike or red\" aria-label=\"Type: bold, strike or red 3\"><br>\n       <hr>\n       <p ng-class=\"[style4, {orange: warning}]\">Using Array and Map Syntax</p>\n       <input ng-model=\"style4\" placeholder=\"Type: bold, strike\" aria-label=\"Type: bold, strike\"><br>\n       <label><input type=\"checkbox\" ng-model=\"warning\"> warning (apply \"orange\" class)</label>\n     </file>\n     <file name=\"style.css\">\n       .strike {\n           text-decoration: line-through;\n       }\n       .bold {\n           font-weight: bold;\n       }\n       .red {\n           color: red;\n       }\n       .has-error {\n           color: red;\n           background-color: yellow;\n       }\n       .orange {\n           color: orange;\n       }\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       var ps = element.all(by.css('p'));\n\n       it('should let you toggle the class', function() {\n\n         expect(ps.first().getAttribute('class')).not.toMatch(/bold/);\n         expect(ps.first().getAttribute('class')).not.toMatch(/has-error/);\n\n         element(by.model('important')).click();\n         expect(ps.first().getAttribute('class')).toMatch(/bold/);\n\n         element(by.model('error')).click();\n         expect(ps.first().getAttribute('class')).toMatch(/has-error/);\n       });\n\n       it('should let you toggle string example', function() {\n         expect(ps.get(1).getAttribute('class')).toBe('');\n         element(by.model('style')).clear();\n         element(by.model('style')).sendKeys('red');\n         expect(ps.get(1).getAttribute('class')).toBe('red');\n       });\n\n       it('array example should have 3 classes', function() {\n         expect(ps.get(2).getAttribute('class')).toBe('');\n         element(by.model('style1')).sendKeys('bold');\n         element(by.model('style2')).sendKeys('strike');\n         element(by.model('style3')).sendKeys('red');\n         expect(ps.get(2).getAttribute('class')).toBe('bold strike red');\n       });\n\n       it('array with map example should have 2 classes', function() {\n         expect(ps.last().getAttribute('class')).toBe('');\n         element(by.model('style4')).sendKeys('bold');\n         element(by.model('warning')).click();\n         expect(ps.last().getAttribute('class')).toBe('bold orange');\n       });\n     </file>\n   </example>\n\n   ## Animations\n\n   The example below demonstrates how to perform animations using ngClass.\n\n   <example module=\"ngAnimate\" deps=\"angular-animate.js\" animations=\"true\">\n     <file name=\"index.html\">\n      <input id=\"setbtn\" type=\"button\" value=\"set\" ng-click=\"myVar='my-class'\">\n      <input id=\"clearbtn\" type=\"button\" value=\"clear\" ng-click=\"myVar=''\">\n      <br>\n      <span class=\"base-class\" ng-class=\"myVar\">Sample Text</span>\n     </file>\n     <file name=\"style.css\">\n       .base-class {\n         transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;\n       }\n\n       .base-class.my-class {\n         color: red;\n         font-size:3em;\n       }\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       it('should check ng-class', function() {\n         expect(element(by.css('.base-class')).getAttribute('class')).not.\n           toMatch(/my-class/);\n\n         element(by.id('setbtn')).click();\n\n         expect(element(by.css('.base-class')).getAttribute('class')).\n           toMatch(/my-class/);\n\n         element(by.id('clearbtn')).click();\n\n         expect(element(by.css('.base-class')).getAttribute('class')).not.\n           toMatch(/my-class/);\n       });\n     </file>\n   </example>\n\n\n   ## ngClass and pre-existing CSS3 Transitions/Animations\n   The ngClass directive still supports CSS3 Transitions/Animations even if they do not follow the ngAnimate CSS naming structure.\n   Upon animation ngAnimate will apply supplementary CSS classes to track the start and end of an animation, but this will not hinder\n   any pre-existing CSS transitions already on the element. To get an idea of what happens during a class-based animation, be sure\n   to view the step by step details of {@link $animate#addClass $animate.addClass} and\n   {@link $animate#removeClass $animate.removeClass}.\n */\nvar ngClassDirective = classDirective('', true);\n\n/**\n * @ngdoc directive\n * @name ngClassOdd\n * @restrict AC\n *\n * @description\n * The `ngClassOdd` and `ngClassEven` directives work exactly as\n * {@link ng.directive:ngClass ngClass}, except they work in\n * conjunction with `ngRepeat` and take effect only on odd (even) rows.\n *\n * This directive can be applied only within the scope of an\n * {@link ng.directive:ngRepeat ngRepeat}.\n *\n * @element ANY\n * @param {expression} ngClassOdd {@link guide/expression Expression} to eval. The result\n *   of the evaluation can be a string representing space delimited class names or an array.\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n        <ol ng-init=\"names=['John', 'Mary', 'Cate', 'Suz']\">\n          <li ng-repeat=\"name in names\">\n           <span ng-class-odd=\"'odd'\" ng-class-even=\"'even'\">\n             {{name}}\n           </span>\n          </li>\n        </ol>\n     </file>\n     <file name=\"style.css\">\n       .odd {\n         color: red;\n       }\n       .even {\n         color: blue;\n       }\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       it('should check ng-class-odd and ng-class-even', function() {\n         expect(element(by.repeater('name in names').row(0).column('name')).getAttribute('class')).\n           toMatch(/odd/);\n         expect(element(by.repeater('name in names').row(1).column('name')).getAttribute('class')).\n           toMatch(/even/);\n       });\n     </file>\n   </example>\n */\nvar ngClassOddDirective = classDirective('Odd', 0);\n\n/**\n * @ngdoc directive\n * @name ngClassEven\n * @restrict AC\n *\n * @description\n * The `ngClassOdd` and `ngClassEven` directives work exactly as\n * {@link ng.directive:ngClass ngClass}, except they work in\n * conjunction with `ngRepeat` and take effect only on odd (even) rows.\n *\n * This directive can be applied only within the scope of an\n * {@link ng.directive:ngRepeat ngRepeat}.\n *\n * @element ANY\n * @param {expression} ngClassEven {@link guide/expression Expression} to eval. The\n *   result of the evaluation can be a string representing space delimited class names or an array.\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n        <ol ng-init=\"names=['John', 'Mary', 'Cate', 'Suz']\">\n          <li ng-repeat=\"name in names\">\n           <span ng-class-odd=\"'odd'\" ng-class-even=\"'even'\">\n             {{name}} &nbsp; &nbsp; &nbsp;\n           </span>\n          </li>\n        </ol>\n     </file>\n     <file name=\"style.css\">\n       .odd {\n         color: red;\n       }\n       .even {\n         color: blue;\n       }\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       it('should check ng-class-odd and ng-class-even', function() {\n         expect(element(by.repeater('name in names').row(0).column('name')).getAttribute('class')).\n           toMatch(/odd/);\n         expect(element(by.repeater('name in names').row(1).column('name')).getAttribute('class')).\n           toMatch(/even/);\n       });\n     </file>\n   </example>\n */\nvar ngClassEvenDirective = classDirective('Even', 1);\n\n/**\n * @ngdoc directive\n * @name ngCloak\n * @restrict AC\n *\n * @description\n * The `ngCloak` directive is used to prevent the Angular html template from being briefly\n * displayed by the browser in its raw (uncompiled) form while your application is loading. Use this\n * directive to avoid the undesirable flicker effect caused by the html template display.\n *\n * The directive can be applied to the `<body>` element, but the preferred usage is to apply\n * multiple `ngCloak` directives to small portions of the page to permit progressive rendering\n * of the browser view.\n *\n * `ngCloak` works in cooperation with the following css rule embedded within `angular.js` and\n * `angular.min.js`.\n * For CSP mode please add `angular-csp.css` to your html file (see {@link ng.directive:ngCsp ngCsp}).\n *\n * ```css\n * [ng\\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {\n *   display: none !important;\n * }\n * ```\n *\n * When this css rule is loaded by the browser, all html elements (including their children) that\n * are tagged with the `ngCloak` directive are hidden. When Angular encounters this directive\n * during the compilation of the template it deletes the `ngCloak` element attribute, making\n * the compiled element visible.\n *\n * For the best result, the `angular.js` script must be loaded in the head section of the html\n * document; alternatively, the css rule above must be included in the external stylesheet of the\n * application.\n *\n * @element ANY\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n        <div id=\"template1\" ng-cloak>{{ 'hello' }}</div>\n        <div id=\"template2\" class=\"ng-cloak\">{{ 'world' }}</div>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       it('should remove the template directive and css class', function() {\n         expect($('#template1').getAttribute('ng-cloak')).\n           toBeNull();\n         expect($('#template2').getAttribute('ng-cloak')).\n           toBeNull();\n       });\n     </file>\n   </example>\n *\n */\nvar ngCloakDirective = ngDirective({\n  compile: function(element, attr) {\n    attr.$set('ngCloak', undefined);\n    element.removeClass('ng-cloak');\n  }\n});\n\n/**\n * @ngdoc directive\n * @name ngController\n *\n * @description\n * The `ngController` directive attaches a controller class to the view. This is a key aspect of how angular\n * supports the principles behind the Model-View-Controller design pattern.\n *\n * MVC components in angular:\n *\n * * Model — Models are the properties of a scope; scopes are attached to the DOM where scope properties\n *   are accessed through bindings.\n * * View — The template (HTML with data bindings) that is rendered into the View.\n * * Controller — The `ngController` directive specifies a Controller class; the class contains business\n *   logic behind the application to decorate the scope with functions and values\n *\n * Note that you can also attach controllers to the DOM by declaring it in a route definition\n * via the {@link ngRoute.$route $route} service. A common mistake is to declare the controller\n * again using `ng-controller` in the template itself.  This will cause the controller to be attached\n * and executed twice.\n *\n * @element ANY\n * @scope\n * @priority 500\n * @param {expression} ngController Name of a constructor function registered with the current\n * {@link ng.$controllerProvider $controllerProvider} or an {@link guide/expression expression}\n * that on the current scope evaluates to a constructor function.\n *\n * The controller instance can be published into a scope property by specifying\n * `ng-controller=\"as propertyName\"`.\n *\n * If the current `$controllerProvider` is configured to use globals (via\n * {@link ng.$controllerProvider#allowGlobals `$controllerProvider.allowGlobals()` }), this may\n * also be the name of a globally accessible constructor function (not recommended).\n *\n * @example\n * Here is a simple form for editing user contact information. Adding, removing, clearing, and\n * greeting are methods declared on the controller (see source tab). These methods can\n * easily be called from the angular markup. Any changes to the data are automatically reflected\n * in the View without the need for a manual update.\n *\n * Two different declaration styles are included below:\n *\n * * one binds methods and properties directly onto the controller using `this`:\n * `ng-controller=\"SettingsController1 as settings\"`\n * * one injects `$scope` into the controller:\n * `ng-controller=\"SettingsController2\"`\n *\n * The second option is more common in the Angular community, and is generally used in boilerplates\n * and in this guide. However, there are advantages to binding properties directly to the controller\n * and avoiding scope.\n *\n * * Using `controller as` makes it obvious which controller you are accessing in the template when\n * multiple controllers apply to an element.\n * * If you are writing your controllers as classes you have easier access to the properties and\n * methods, which will appear on the scope, from inside the controller code.\n * * Since there is always a `.` in the bindings, you don't have to worry about prototypal\n * inheritance masking primitives.\n *\n * This example demonstrates the `controller as` syntax.\n *\n * <example name=\"ngControllerAs\" module=\"controllerAsExample\">\n *   <file name=\"index.html\">\n *    <div id=\"ctrl-as-exmpl\" ng-controller=\"SettingsController1 as settings\">\n *      <label>Name: <input type=\"text\" ng-model=\"settings.name\"/></label>\n *      <button ng-click=\"settings.greet()\">greet</button><br/>\n *      Contact:\n *      <ul>\n *        <li ng-repeat=\"contact in settings.contacts\">\n *          <select ng-model=\"contact.type\" aria-label=\"Contact method\" id=\"select_{{$index}}\">\n *             <option>phone</option>\n *             <option>email</option>\n *          </select>\n *          <input type=\"text\" ng-model=\"contact.value\" aria-labelledby=\"select_{{$index}}\" />\n *          <button ng-click=\"settings.clearContact(contact)\">clear</button>\n *          <button ng-click=\"settings.removeContact(contact)\" aria-label=\"Remove\">X</button>\n *        </li>\n *        <li><button ng-click=\"settings.addContact()\">add</button></li>\n *     </ul>\n *    </div>\n *   </file>\n *   <file name=\"app.js\">\n *    angular.module('controllerAsExample', [])\n *      .controller('SettingsController1', SettingsController1);\n *\n *    function SettingsController1() {\n *      this.name = \"John Smith\";\n *      this.contacts = [\n *        {type: 'phone', value: '408 555 1212'},\n *        {type: 'email', value: 'john.smith@example.org'} ];\n *    }\n *\n *    SettingsController1.prototype.greet = function() {\n *      alert(this.name);\n *    };\n *\n *    SettingsController1.prototype.addContact = function() {\n *      this.contacts.push({type: 'email', value: 'yourname@example.org'});\n *    };\n *\n *    SettingsController1.prototype.removeContact = function(contactToRemove) {\n *     var index = this.contacts.indexOf(contactToRemove);\n *      this.contacts.splice(index, 1);\n *    };\n *\n *    SettingsController1.prototype.clearContact = function(contact) {\n *      contact.type = 'phone';\n *      contact.value = '';\n *    };\n *   </file>\n *   <file name=\"protractor.js\" type=\"protractor\">\n *     it('should check controller as', function() {\n *       var container = element(by.id('ctrl-as-exmpl'));\n *         expect(container.element(by.model('settings.name'))\n *           .getAttribute('value')).toBe('John Smith');\n *\n *       var firstRepeat =\n *           container.element(by.repeater('contact in settings.contacts').row(0));\n *       var secondRepeat =\n *           container.element(by.repeater('contact in settings.contacts').row(1));\n *\n *       expect(firstRepeat.element(by.model('contact.value')).getAttribute('value'))\n *           .toBe('408 555 1212');\n *\n *       expect(secondRepeat.element(by.model('contact.value')).getAttribute('value'))\n *           .toBe('john.smith@example.org');\n *\n *       firstRepeat.element(by.buttonText('clear')).click();\n *\n *       expect(firstRepeat.element(by.model('contact.value')).getAttribute('value'))\n *           .toBe('');\n *\n *       container.element(by.buttonText('add')).click();\n *\n *       expect(container.element(by.repeater('contact in settings.contacts').row(2))\n *           .element(by.model('contact.value'))\n *           .getAttribute('value'))\n *           .toBe('yourname@example.org');\n *     });\n *   </file>\n * </example>\n *\n * This example demonstrates the \"attach to `$scope`\" style of controller.\n *\n * <example name=\"ngController\" module=\"controllerExample\">\n *  <file name=\"index.html\">\n *   <div id=\"ctrl-exmpl\" ng-controller=\"SettingsController2\">\n *     <label>Name: <input type=\"text\" ng-model=\"name\"/></label>\n *     <button ng-click=\"greet()\">greet</button><br/>\n *     Contact:\n *     <ul>\n *       <li ng-repeat=\"contact in contacts\">\n *         <select ng-model=\"contact.type\" id=\"select_{{$index}}\">\n *            <option>phone</option>\n *            <option>email</option>\n *         </select>\n *         <input type=\"text\" ng-model=\"contact.value\" aria-labelledby=\"select_{{$index}}\" />\n *         <button ng-click=\"clearContact(contact)\">clear</button>\n *         <button ng-click=\"removeContact(contact)\">X</button>\n *       </li>\n *       <li>[ <button ng-click=\"addContact()\">add</button> ]</li>\n *    </ul>\n *   </div>\n *  </file>\n *  <file name=\"app.js\">\n *   angular.module('controllerExample', [])\n *     .controller('SettingsController2', ['$scope', SettingsController2]);\n *\n *   function SettingsController2($scope) {\n *     $scope.name = \"John Smith\";\n *     $scope.contacts = [\n *       {type:'phone', value:'408 555 1212'},\n *       {type:'email', value:'john.smith@example.org'} ];\n *\n *     $scope.greet = function() {\n *       alert($scope.name);\n *     };\n *\n *     $scope.addContact = function() {\n *       $scope.contacts.push({type:'email', value:'yourname@example.org'});\n *     };\n *\n *     $scope.removeContact = function(contactToRemove) {\n *       var index = $scope.contacts.indexOf(contactToRemove);\n *       $scope.contacts.splice(index, 1);\n *     };\n *\n *     $scope.clearContact = function(contact) {\n *       contact.type = 'phone';\n *       contact.value = '';\n *     };\n *   }\n *  </file>\n *  <file name=\"protractor.js\" type=\"protractor\">\n *    it('should check controller', function() {\n *      var container = element(by.id('ctrl-exmpl'));\n *\n *      expect(container.element(by.model('name'))\n *          .getAttribute('value')).toBe('John Smith');\n *\n *      var firstRepeat =\n *          container.element(by.repeater('contact in contacts').row(0));\n *      var secondRepeat =\n *          container.element(by.repeater('contact in contacts').row(1));\n *\n *      expect(firstRepeat.element(by.model('contact.value')).getAttribute('value'))\n *          .toBe('408 555 1212');\n *      expect(secondRepeat.element(by.model('contact.value')).getAttribute('value'))\n *          .toBe('john.smith@example.org');\n *\n *      firstRepeat.element(by.buttonText('clear')).click();\n *\n *      expect(firstRepeat.element(by.model('contact.value')).getAttribute('value'))\n *          .toBe('');\n *\n *      container.element(by.buttonText('add')).click();\n *\n *      expect(container.element(by.repeater('contact in contacts').row(2))\n *          .element(by.model('contact.value'))\n *          .getAttribute('value'))\n *          .toBe('yourname@example.org');\n *    });\n *  </file>\n *</example>\n\n */\nvar ngControllerDirective = [function() {\n  return {\n    restrict: 'A',\n    scope: true,\n    controller: '@',\n    priority: 500\n  };\n}];\n\n/**\n * @ngdoc directive\n * @name ngCsp\n *\n * @element html\n * @description\n *\n * Angular has some features that can break certain\n * [CSP (Content Security Policy)](https://developer.mozilla.org/en/Security/CSP) rules.\n *\n * If you intend to implement these rules then you must tell Angular not to use these features.\n *\n * This is necessary when developing things like Google Chrome Extensions or Universal Windows Apps.\n *\n *\n * The following rules affect Angular:\n *\n * * `unsafe-eval`: this rule forbids apps to use `eval` or `Function(string)` generated functions\n * (among other things). Angular makes use of this in the {@link $parse} service to provide a 30%\n * increase in the speed of evaluating Angular expressions.\n *\n * * `unsafe-inline`: this rule forbids apps from inject custom styles into the document. Angular\n * makes use of this to include some CSS rules (e.g. {@link ngCloak} and {@link ngHide}).\n * To make these directives work when a CSP rule is blocking inline styles, you must link to the\n * `angular-csp.css` in your HTML manually.\n *\n * If you do not provide `ngCsp` then Angular tries to autodetect if CSP is blocking unsafe-eval\n * and automatically deactivates this feature in the {@link $parse} service. This autodetection,\n * however, triggers a CSP error to be logged in the console:\n *\n * ```\n * Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of\n * script in the following Content Security Policy directive: \"default-src 'self'\". Note that\n * 'script-src' was not explicitly set, so 'default-src' is used as a fallback.\n * ```\n *\n * This error is harmless but annoying. To prevent the error from showing up, put the `ngCsp`\n * directive on an element of the HTML document that appears before the `<script>` tag that loads\n * the `angular.js` file.\n *\n * *Note: This directive is only available in the `ng-csp` and `data-ng-csp` attribute form.*\n *\n * You can specify which of the CSP related Angular features should be deactivated by providing\n * a value for the `ng-csp` attribute. The options are as follows:\n *\n * * no-inline-style: this stops Angular from injecting CSS styles into the DOM\n *\n * * no-unsafe-eval: this stops Angular from optimising $parse with unsafe eval of strings\n *\n * You can use these values in the following combinations:\n *\n *\n * * No declaration means that Angular will assume that you can do inline styles, but it will do\n * a runtime check for unsafe-eval. E.g. `<body>`. This is backwardly compatible with previous versions\n * of Angular.\n *\n * * A simple `ng-csp` (or `data-ng-csp`) attribute will tell Angular to deactivate both inline\n * styles and unsafe eval. E.g. `<body ng-csp>`. This is backwardly compatible with previous versions\n * of Angular.\n *\n * * Specifying only `no-unsafe-eval` tells Angular that we must not use eval, but that we can inject\n * inline styles. E.g. `<body ng-csp=\"no-unsafe-eval\">`.\n *\n * * Specifying only `no-inline-style` tells Angular that we must not inject styles, but that we can\n * run eval - no automcatic check for unsafe eval will occur. E.g. `<body ng-csp=\"no-inline-style\">`\n *\n * * Specifying both `no-unsafe-eval` and `no-inline-style` tells Angular that we must not inject\n * styles nor use eval, which is the same as an empty: ng-csp.\n * E.g.`<body ng-csp=\"no-inline-style;no-unsafe-eval\">`\n *\n * @example\n * This example shows how to apply the `ngCsp` directive to the `html` tag.\n   ```html\n     <!doctype html>\n     <html ng-app ng-csp>\n     ...\n     ...\n     </html>\n   ```\n  * @example\n      // Note: the suffix `.csp` in the example name triggers\n      // csp mode in our http server!\n      <example name=\"example.csp\" module=\"cspExample\" ng-csp=\"true\">\n        <file name=\"index.html\">\n          <div ng-controller=\"MainController as ctrl\">\n            <div>\n              <button ng-click=\"ctrl.inc()\" id=\"inc\">Increment</button>\n              <span id=\"counter\">\n                {{ctrl.counter}}\n              </span>\n            </div>\n\n            <div>\n              <button ng-click=\"ctrl.evil()\" id=\"evil\">Evil</button>\n              <span id=\"evilError\">\n                {{ctrl.evilError}}\n              </span>\n            </div>\n          </div>\n        </file>\n        <file name=\"script.js\">\n           angular.module('cspExample', [])\n             .controller('MainController', function() {\n                this.counter = 0;\n                this.inc = function() {\n                  this.counter++;\n                };\n                this.evil = function() {\n                  // jshint evil:true\n                  try {\n                    eval('1+2');\n                  } catch (e) {\n                    this.evilError = e.message;\n                  }\n                };\n              });\n        </file>\n        <file name=\"protractor.js\" type=\"protractor\">\n          var util, webdriver;\n\n          var incBtn = element(by.id('inc'));\n          var counter = element(by.id('counter'));\n          var evilBtn = element(by.id('evil'));\n          var evilError = element(by.id('evilError'));\n\n          function getAndClearSevereErrors() {\n            return browser.manage().logs().get('browser').then(function(browserLog) {\n              return browserLog.filter(function(logEntry) {\n                return logEntry.level.value > webdriver.logging.Level.WARNING.value;\n              });\n            });\n          }\n\n          function clearErrors() {\n            getAndClearSevereErrors();\n          }\n\n          function expectNoErrors() {\n            getAndClearSevereErrors().then(function(filteredLog) {\n              expect(filteredLog.length).toEqual(0);\n              if (filteredLog.length) {\n                console.log('browser console errors: ' + util.inspect(filteredLog));\n              }\n            });\n          }\n\n          function expectError(regex) {\n            getAndClearSevereErrors().then(function(filteredLog) {\n              var found = false;\n              filteredLog.forEach(function(log) {\n                if (log.message.match(regex)) {\n                  found = true;\n                }\n              });\n              if (!found) {\n                throw new Error('expected an error that matches ' + regex);\n              }\n            });\n          }\n\n          beforeEach(function() {\n            util = require('util');\n            webdriver = require('protractor/node_modules/selenium-webdriver');\n          });\n\n          // For now, we only test on Chrome,\n          // as Safari does not load the page with Protractor's injected scripts,\n          // and Firefox webdriver always disables content security policy (#6358)\n          if (browser.params.browser !== 'chrome') {\n            return;\n          }\n\n          it('should not report errors when the page is loaded', function() {\n            // clear errors so we are not dependent on previous tests\n            clearErrors();\n            // Need to reload the page as the page is already loaded when\n            // we come here\n            browser.driver.getCurrentUrl().then(function(url) {\n              browser.get(url);\n            });\n            expectNoErrors();\n          });\n\n          it('should evaluate expressions', function() {\n            expect(counter.getText()).toEqual('0');\n            incBtn.click();\n            expect(counter.getText()).toEqual('1');\n            expectNoErrors();\n          });\n\n          it('should throw and report an error when using \"eval\"', function() {\n            evilBtn.click();\n            expect(evilError.getText()).toMatch(/Content Security Policy/);\n            expectError(/Content Security Policy/);\n          });\n        </file>\n      </example>\n  */\n\n// ngCsp is not implemented as a proper directive any more, because we need it be processed while we\n// bootstrap the system (before $parse is instantiated), for this reason we just have\n// the csp() fn that looks for the `ng-csp` attribute anywhere in the current doc\n\n/**\n * @ngdoc directive\n * @name ngClick\n *\n * @description\n * The ngClick directive allows you to specify custom behavior when\n * an element is clicked.\n *\n * @element ANY\n * @priority 0\n * @param {expression} ngClick {@link guide/expression Expression} to evaluate upon\n * click. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n      <button ng-click=\"count = count + 1\" ng-init=\"count=0\">\n        Increment\n      </button>\n      <span>\n        count: {{count}}\n      </span>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       it('should check ng-click', function() {\n         expect(element(by.binding('count')).getText()).toMatch('0');\n         element(by.css('button')).click();\n         expect(element(by.binding('count')).getText()).toMatch('1');\n       });\n     </file>\n   </example>\n */\n/*\n * A collection of directives that allows creation of custom event handlers that are defined as\n * angular expressions and are compiled and executed within the current scope.\n */\nvar ngEventDirectives = {};\n\n// For events that might fire synchronously during DOM manipulation\n// we need to execute their event handlers asynchronously using $evalAsync,\n// so that they are not executed in an inconsistent state.\nvar forceAsyncEvents = {\n  'blur': true,\n  'focus': true\n};\nforEach(\n  'click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste'.split(' '),\n  function(eventName) {\n    var directiveName = directiveNormalize('ng-' + eventName);\n    ngEventDirectives[directiveName] = ['$parse', '$rootScope', function($parse, $rootScope) {\n      return {\n        restrict: 'A',\n        compile: function($element, attr) {\n          // We expose the powerful $event object on the scope that provides access to the Window,\n          // etc. that isn't protected by the fast paths in $parse.  We explicitly request better\n          // checks at the cost of speed since event handler expressions are not executed as\n          // frequently as regular change detection.\n          var fn = $parse(attr[directiveName], /* interceptorFn */ null, /* expensiveChecks */ true);\n          return function ngEventHandler(scope, element) {\n            element.on(eventName, function(event) {\n              var callback = function() {\n                fn(scope, {$event:event});\n              };\n              if (forceAsyncEvents[eventName] && $rootScope.$$phase) {\n                scope.$evalAsync(callback);\n              } else {\n                scope.$apply(callback);\n              }\n            });\n          };\n        }\n      };\n    }];\n  }\n);\n\n/**\n * @ngdoc directive\n * @name ngDblclick\n *\n * @description\n * The `ngDblclick` directive allows you to specify custom behavior on a dblclick event.\n *\n * @element ANY\n * @priority 0\n * @param {expression} ngDblclick {@link guide/expression Expression} to evaluate upon\n * a dblclick. (The Event object is available as `$event`)\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n      <button ng-dblclick=\"count = count + 1\" ng-init=\"count=0\">\n        Increment (on double click)\n      </button>\n      count: {{count}}\n     </file>\n   </example>\n */\n\n\n/**\n * @ngdoc directive\n * @name ngMousedown\n *\n * @description\n * The ngMousedown directive allows you to specify custom behavior on mousedown event.\n *\n * @element ANY\n * @priority 0\n * @param {expression} ngMousedown {@link guide/expression Expression} to evaluate upon\n * mousedown. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n      <button ng-mousedown=\"count = count + 1\" ng-init=\"count=0\">\n        Increment (on mouse down)\n      </button>\n      count: {{count}}\n     </file>\n   </example>\n */\n\n\n/**\n * @ngdoc directive\n * @name ngMouseup\n *\n * @description\n * Specify custom behavior on mouseup event.\n *\n * @element ANY\n * @priority 0\n * @param {expression} ngMouseup {@link guide/expression Expression} to evaluate upon\n * mouseup. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n      <button ng-mouseup=\"count = count + 1\" ng-init=\"count=0\">\n        Increment (on mouse up)\n      </button>\n      count: {{count}}\n     </file>\n   </example>\n */\n\n/**\n * @ngdoc directive\n * @name ngMouseover\n *\n * @description\n * Specify custom behavior on mouseover event.\n *\n * @element ANY\n * @priority 0\n * @param {expression} ngMouseover {@link guide/expression Expression} to evaluate upon\n * mouseover. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n      <button ng-mouseover=\"count = count + 1\" ng-init=\"count=0\">\n        Increment (when mouse is over)\n      </button>\n      count: {{count}}\n     </file>\n   </example>\n */\n\n\n/**\n * @ngdoc directive\n * @name ngMouseenter\n *\n * @description\n * Specify custom behavior on mouseenter event.\n *\n * @element ANY\n * @priority 0\n * @param {expression} ngMouseenter {@link guide/expression Expression} to evaluate upon\n * mouseenter. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n      <button ng-mouseenter=\"count = count + 1\" ng-init=\"count=0\">\n        Increment (when mouse enters)\n      </button>\n      count: {{count}}\n     </file>\n   </example>\n */\n\n\n/**\n * @ngdoc directive\n * @name ngMouseleave\n *\n * @description\n * Specify custom behavior on mouseleave event.\n *\n * @element ANY\n * @priority 0\n * @param {expression} ngMouseleave {@link guide/expression Expression} to evaluate upon\n * mouseleave. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n      <button ng-mouseleave=\"count = count + 1\" ng-init=\"count=0\">\n        Increment (when mouse leaves)\n      </button>\n      count: {{count}}\n     </file>\n   </example>\n */\n\n\n/**\n * @ngdoc directive\n * @name ngMousemove\n *\n * @description\n * Specify custom behavior on mousemove event.\n *\n * @element ANY\n * @priority 0\n * @param {expression} ngMousemove {@link guide/expression Expression} to evaluate upon\n * mousemove. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n      <button ng-mousemove=\"count = count + 1\" ng-init=\"count=0\">\n        Increment (when mouse moves)\n      </button>\n      count: {{count}}\n     </file>\n   </example>\n */\n\n\n/**\n * @ngdoc directive\n * @name ngKeydown\n *\n * @description\n * Specify custom behavior on keydown event.\n *\n * @element ANY\n * @priority 0\n * @param {expression} ngKeydown {@link guide/expression Expression} to evaluate upon\n * keydown. (Event object is available as `$event` and can be interrogated for keyCode, altKey, etc.)\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n      <input ng-keydown=\"count = count + 1\" ng-init=\"count=0\">\n      key down count: {{count}}\n     </file>\n   </example>\n */\n\n\n/**\n * @ngdoc directive\n * @name ngKeyup\n *\n * @description\n * Specify custom behavior on keyup event.\n *\n * @element ANY\n * @priority 0\n * @param {expression} ngKeyup {@link guide/expression Expression} to evaluate upon\n * keyup. (Event object is available as `$event` and can be interrogated for keyCode, altKey, etc.)\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n       <p>Typing in the input box below updates the key count</p>\n       <input ng-keyup=\"count = count + 1\" ng-init=\"count=0\"> key up count: {{count}}\n\n       <p>Typing in the input box below updates the keycode</p>\n       <input ng-keyup=\"event=$event\">\n       <p>event keyCode: {{ event.keyCode }}</p>\n       <p>event altKey: {{ event.altKey }}</p>\n     </file>\n   </example>\n */\n\n\n/**\n * @ngdoc directive\n * @name ngKeypress\n *\n * @description\n * Specify custom behavior on keypress event.\n *\n * @element ANY\n * @param {expression} ngKeypress {@link guide/expression Expression} to evaluate upon\n * keypress. ({@link guide/expression#-event- Event object is available as `$event`}\n * and can be interrogated for keyCode, altKey, etc.)\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n      <input ng-keypress=\"count = count + 1\" ng-init=\"count=0\">\n      key press count: {{count}}\n     </file>\n   </example>\n */\n\n\n/**\n * @ngdoc directive\n * @name ngSubmit\n *\n * @description\n * Enables binding angular expressions to onsubmit events.\n *\n * Additionally it prevents the default action (which for form means sending the request to the\n * server and reloading the current page), but only if the form does not contain `action`,\n * `data-action`, or `x-action` attributes.\n *\n * <div class=\"alert alert-warning\">\n * **Warning:** Be careful not to cause \"double-submission\" by using both the `ngClick` and\n * `ngSubmit` handlers together. See the\n * {@link form#submitting-a-form-and-preventing-the-default-action `form` directive documentation}\n * for a detailed discussion of when `ngSubmit` may be triggered.\n * </div>\n *\n * @element form\n * @priority 0\n * @param {expression} ngSubmit {@link guide/expression Expression} to eval.\n * ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n   <example module=\"submitExample\">\n     <file name=\"index.html\">\n      <script>\n        angular.module('submitExample', [])\n          .controller('ExampleController', ['$scope', function($scope) {\n            $scope.list = [];\n            $scope.text = 'hello';\n            $scope.submit = function() {\n              if ($scope.text) {\n                $scope.list.push(this.text);\n                $scope.text = '';\n              }\n            };\n          }]);\n      </script>\n      <form ng-submit=\"submit()\" ng-controller=\"ExampleController\">\n        Enter text and hit enter:\n        <input type=\"text\" ng-model=\"text\" name=\"text\" />\n        <input type=\"submit\" id=\"submit\" value=\"Submit\" />\n        <pre>list={{list}}</pre>\n      </form>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       it('should check ng-submit', function() {\n         expect(element(by.binding('list')).getText()).toBe('list=[]');\n         element(by.css('#submit')).click();\n         expect(element(by.binding('list')).getText()).toContain('hello');\n         expect(element(by.model('text')).getAttribute('value')).toBe('');\n       });\n       it('should ignore empty strings', function() {\n         expect(element(by.binding('list')).getText()).toBe('list=[]');\n         element(by.css('#submit')).click();\n         element(by.css('#submit')).click();\n         expect(element(by.binding('list')).getText()).toContain('hello');\n        });\n     </file>\n   </example>\n */\n\n/**\n * @ngdoc directive\n * @name ngFocus\n *\n * @description\n * Specify custom behavior on focus event.\n *\n * Note: As the `focus` event is executed synchronously when calling `input.focus()`\n * AngularJS executes the expression using `scope.$evalAsync` if the event is fired\n * during an `$apply` to ensure a consistent state.\n *\n * @element window, input, select, textarea, a\n * @priority 0\n * @param {expression} ngFocus {@link guide/expression Expression} to evaluate upon\n * focus. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n * See {@link ng.directive:ngClick ngClick}\n */\n\n/**\n * @ngdoc directive\n * @name ngBlur\n *\n * @description\n * Specify custom behavior on blur event.\n *\n * A [blur event](https://developer.mozilla.org/en-US/docs/Web/Events/blur) fires when\n * an element has lost focus.\n *\n * Note: As the `blur` event is executed synchronously also during DOM manipulations\n * (e.g. removing a focussed input),\n * AngularJS executes the expression using `scope.$evalAsync` if the event is fired\n * during an `$apply` to ensure a consistent state.\n *\n * @element window, input, select, textarea, a\n * @priority 0\n * @param {expression} ngBlur {@link guide/expression Expression} to evaluate upon\n * blur. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n * See {@link ng.directive:ngClick ngClick}\n */\n\n/**\n * @ngdoc directive\n * @name ngCopy\n *\n * @description\n * Specify custom behavior on copy event.\n *\n * @element window, input, select, textarea, a\n * @priority 0\n * @param {expression} ngCopy {@link guide/expression Expression} to evaluate upon\n * copy. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n      <input ng-copy=\"copied=true\" ng-init=\"copied=false; value='copy me'\" ng-model=\"value\">\n      copied: {{copied}}\n     </file>\n   </example>\n */\n\n/**\n * @ngdoc directive\n * @name ngCut\n *\n * @description\n * Specify custom behavior on cut event.\n *\n * @element window, input, select, textarea, a\n * @priority 0\n * @param {expression} ngCut {@link guide/expression Expression} to evaluate upon\n * cut. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n      <input ng-cut=\"cut=true\" ng-init=\"cut=false; value='cut me'\" ng-model=\"value\">\n      cut: {{cut}}\n     </file>\n   </example>\n */\n\n/**\n * @ngdoc directive\n * @name ngPaste\n *\n * @description\n * Specify custom behavior on paste event.\n *\n * @element window, input, select, textarea, a\n * @priority 0\n * @param {expression} ngPaste {@link guide/expression Expression} to evaluate upon\n * paste. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n      <input ng-paste=\"paste=true\" ng-init=\"paste=false\" placeholder='paste here'>\n      pasted: {{paste}}\n     </file>\n   </example>\n */\n\n/**\n * @ngdoc directive\n * @name ngIf\n * @restrict A\n * @multiElement\n *\n * @description\n * The `ngIf` directive removes or recreates a portion of the DOM tree based on an\n * {expression}. If the expression assigned to `ngIf` evaluates to a false\n * value then the element is removed from the DOM, otherwise a clone of the\n * element is reinserted into the DOM.\n *\n * `ngIf` differs from `ngShow` and `ngHide` in that `ngIf` completely removes and recreates the\n * element in the DOM rather than changing its visibility via the `display` css property.  A common\n * case when this difference is significant is when using css selectors that rely on an element's\n * position within the DOM, such as the `:first-child` or `:last-child` pseudo-classes.\n *\n * Note that when an element is removed using `ngIf` its scope is destroyed and a new scope\n * is created when the element is restored.  The scope created within `ngIf` inherits from\n * its parent scope using\n * [prototypal inheritance](https://github.com/angular/angular.js/wiki/Understanding-Scopes#javascript-prototypal-inheritance).\n * An important implication of this is if `ngModel` is used within `ngIf` to bind to\n * a javascript primitive defined in the parent scope. In this case any modifications made to the\n * variable within the child scope will override (hide) the value in the parent scope.\n *\n * Also, `ngIf` recreates elements using their compiled state. An example of this behavior\n * is if an element's class attribute is directly modified after it's compiled, using something like\n * jQuery's `.addClass()` method, and the element is later removed. When `ngIf` recreates the element\n * the added class will be lost because the original compiled state is used to regenerate the element.\n *\n * Additionally, you can provide animations via the `ngAnimate` module to animate the `enter`\n * and `leave` effects.\n *\n * @animations\n * enter - happens just after the `ngIf` contents change and a new DOM element is created and injected into the `ngIf` container\n * leave - happens just before the `ngIf` contents are removed from the DOM\n *\n * @element ANY\n * @scope\n * @priority 600\n * @param {expression} ngIf If the {@link guide/expression expression} is falsy then\n *     the element is removed from the DOM tree. If it is truthy a copy of the compiled\n *     element is added to the DOM tree.\n *\n * @example\n  <example module=\"ngAnimate\" deps=\"angular-animate.js\" animations=\"true\">\n    <file name=\"index.html\">\n      <label>Click me: <input type=\"checkbox\" ng-model=\"checked\" ng-init=\"checked=true\" /></label><br/>\n      Show when checked:\n      <span ng-if=\"checked\" class=\"animate-if\">\n        This is removed when the checkbox is unchecked.\n      </span>\n    </file>\n    <file name=\"animations.css\">\n      .animate-if {\n        background:white;\n        border:1px solid black;\n        padding:10px;\n      }\n\n      .animate-if.ng-enter, .animate-if.ng-leave {\n        transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;\n      }\n\n      .animate-if.ng-enter,\n      .animate-if.ng-leave.ng-leave-active {\n        opacity:0;\n      }\n\n      .animate-if.ng-leave,\n      .animate-if.ng-enter.ng-enter-active {\n        opacity:1;\n      }\n    </file>\n  </example>\n */\nvar ngIfDirective = ['$animate', function($animate) {\n  return {\n    multiElement: true,\n    transclude: 'element',\n    priority: 600,\n    terminal: true,\n    restrict: 'A',\n    $$tlb: true,\n    link: function($scope, $element, $attr, ctrl, $transclude) {\n        var block, childScope, previousElements;\n        $scope.$watch($attr.ngIf, function ngIfWatchAction(value) {\n\n          if (value) {\n            if (!childScope) {\n              $transclude(function(clone, newScope) {\n                childScope = newScope;\n                clone[clone.length++] = document.createComment(' end ngIf: ' + $attr.ngIf + ' ');\n                // Note: We only need the first/last node of the cloned nodes.\n                // However, we need to keep the reference to the jqlite wrapper as it might be changed later\n                // by a directive with templateUrl when its template arrives.\n                block = {\n                  clone: clone\n                };\n                $animate.enter(clone, $element.parent(), $element);\n              });\n            }\n          } else {\n            if (previousElements) {\n              previousElements.remove();\n              previousElements = null;\n            }\n            if (childScope) {\n              childScope.$destroy();\n              childScope = null;\n            }\n            if (block) {\n              previousElements = getBlockNodes(block.clone);\n              $animate.leave(previousElements).then(function() {\n                previousElements = null;\n              });\n              block = null;\n            }\n          }\n        });\n    }\n  };\n}];\n\n/**\n * @ngdoc directive\n * @name ngInclude\n * @restrict ECA\n *\n * @description\n * Fetches, compiles and includes an external HTML fragment.\n *\n * By default, the template URL is restricted to the same domain and protocol as the\n * application document. This is done by calling {@link $sce#getTrustedResourceUrl\n * $sce.getTrustedResourceUrl} on it. To load templates from other domains or protocols\n * you may either {@link ng.$sceDelegateProvider#resourceUrlWhitelist whitelist them} or\n * {@link $sce#trustAsResourceUrl wrap them} as trusted values. Refer to Angular's {@link\n * ng.$sce Strict Contextual Escaping}.\n *\n * In addition, the browser's\n * [Same Origin Policy](https://code.google.com/p/browsersec/wiki/Part2#Same-origin_policy_for_XMLHttpRequest)\n * and [Cross-Origin Resource Sharing (CORS)](http://www.w3.org/TR/cors/)\n * policy may further restrict whether the template is successfully loaded.\n * For example, `ngInclude` won't work for cross-domain requests on all browsers and for `file://`\n * access on some browsers.\n *\n * @animations\n * enter - animation is used to bring new content into the browser.\n * leave - animation is used to animate existing content away.\n *\n * The enter and leave animation occur concurrently.\n *\n * @scope\n * @priority 400\n *\n * @param {string} ngInclude|src angular expression evaluating to URL. If the source is a string constant,\n *                 make sure you wrap it in **single** quotes, e.g. `src=\"'myPartialTemplate.html'\"`.\n * @param {string=} onload Expression to evaluate when a new partial is loaded.\n *                  <div class=\"alert alert-warning\">\n *                  **Note:** When using onload on SVG elements in IE11, the browser will try to call\n *                  a function with the name on the window element, which will usually throw a\n *                  \"function is undefined\" error. To fix this, you can instead use `data-onload` or a\n *                  different form that {@link guide/directive#normalization matches} `onload`.\n *                  </div>\n   *\n * @param {string=} autoscroll Whether `ngInclude` should call {@link ng.$anchorScroll\n *                  $anchorScroll} to scroll the viewport after the content is loaded.\n *\n *                  - If the attribute is not set, disable scrolling.\n *                  - If the attribute is set without value, enable scrolling.\n *                  - Otherwise enable scrolling only if the expression evaluates to truthy value.\n *\n * @example\n  <example module=\"includeExample\" deps=\"angular-animate.js\" animations=\"true\">\n    <file name=\"index.html\">\n     <div ng-controller=\"ExampleController\">\n       <select ng-model=\"template\" ng-options=\"t.name for t in templates\">\n        <option value=\"\">(blank)</option>\n       </select>\n       url of the template: <code>{{template.url}}</code>\n       <hr/>\n       <div class=\"slide-animate-container\">\n         <div class=\"slide-animate\" ng-include=\"template.url\"></div>\n       </div>\n     </div>\n    </file>\n    <file name=\"script.js\">\n      angular.module('includeExample', ['ngAnimate'])\n        .controller('ExampleController', ['$scope', function($scope) {\n          $scope.templates =\n            [ { name: 'template1.html', url: 'template1.html'},\n              { name: 'template2.html', url: 'template2.html'} ];\n          $scope.template = $scope.templates[0];\n        }]);\n     </file>\n    <file name=\"template1.html\">\n      Content of template1.html\n    </file>\n    <file name=\"template2.html\">\n      Content of template2.html\n    </file>\n    <file name=\"animations.css\">\n      .slide-animate-container {\n        position:relative;\n        background:white;\n        border:1px solid black;\n        height:40px;\n        overflow:hidden;\n      }\n\n      .slide-animate {\n        padding:10px;\n      }\n\n      .slide-animate.ng-enter, .slide-animate.ng-leave {\n        transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;\n\n        position:absolute;\n        top:0;\n        left:0;\n        right:0;\n        bottom:0;\n        display:block;\n        padding:10px;\n      }\n\n      .slide-animate.ng-enter {\n        top:-50px;\n      }\n      .slide-animate.ng-enter.ng-enter-active {\n        top:0;\n      }\n\n      .slide-animate.ng-leave {\n        top:0;\n      }\n      .slide-animate.ng-leave.ng-leave-active {\n        top:50px;\n      }\n    </file>\n    <file name=\"protractor.js\" type=\"protractor\">\n      var templateSelect = element(by.model('template'));\n      var includeElem = element(by.css('[ng-include]'));\n\n      it('should load template1.html', function() {\n        expect(includeElem.getText()).toMatch(/Content of template1.html/);\n      });\n\n      it('should load template2.html', function() {\n        if (browser.params.browser == 'firefox') {\n          // Firefox can't handle using selects\n          // See https://github.com/angular/protractor/issues/480\n          return;\n        }\n        templateSelect.click();\n        templateSelect.all(by.css('option')).get(2).click();\n        expect(includeElem.getText()).toMatch(/Content of template2.html/);\n      });\n\n      it('should change to blank', function() {\n        if (browser.params.browser == 'firefox') {\n          // Firefox can't handle using selects\n          return;\n        }\n        templateSelect.click();\n        templateSelect.all(by.css('option')).get(0).click();\n        expect(includeElem.isPresent()).toBe(false);\n      });\n    </file>\n  </example>\n */\n\n\n/**\n * @ngdoc event\n * @name ngInclude#$includeContentRequested\n * @eventType emit on the scope ngInclude was declared in\n * @description\n * Emitted every time the ngInclude content is requested.\n *\n * @param {Object} angularEvent Synthetic event object.\n * @param {String} src URL of content to load.\n */\n\n\n/**\n * @ngdoc event\n * @name ngInclude#$includeContentLoaded\n * @eventType emit on the current ngInclude scope\n * @description\n * Emitted every time the ngInclude content is reloaded.\n *\n * @param {Object} angularEvent Synthetic event object.\n * @param {String} src URL of content to load.\n */\n\n\n/**\n * @ngdoc event\n * @name ngInclude#$includeContentError\n * @eventType emit on the scope ngInclude was declared in\n * @description\n * Emitted when a template HTTP request yields an erroneous response (status < 200 || status > 299)\n *\n * @param {Object} angularEvent Synthetic event object.\n * @param {String} src URL of content to load.\n */\nvar ngIncludeDirective = ['$templateRequest', '$anchorScroll', '$animate',\n                  function($templateRequest,   $anchorScroll,   $animate) {\n  return {\n    restrict: 'ECA',\n    priority: 400,\n    terminal: true,\n    transclude: 'element',\n    controller: angular.noop,\n    compile: function(element, attr) {\n      var srcExp = attr.ngInclude || attr.src,\n          onloadExp = attr.onload || '',\n          autoScrollExp = attr.autoscroll;\n\n      return function(scope, $element, $attr, ctrl, $transclude) {\n        var changeCounter = 0,\n            currentScope,\n            previousElement,\n            currentElement;\n\n        var cleanupLastIncludeContent = function() {\n          if (previousElement) {\n            previousElement.remove();\n            previousElement = null;\n          }\n          if (currentScope) {\n            currentScope.$destroy();\n            currentScope = null;\n          }\n          if (currentElement) {\n            $animate.leave(currentElement).then(function() {\n              previousElement = null;\n            });\n            previousElement = currentElement;\n            currentElement = null;\n          }\n        };\n\n        scope.$watch(srcExp, function ngIncludeWatchAction(src) {\n          var afterAnimation = function() {\n            if (isDefined(autoScrollExp) && (!autoScrollExp || scope.$eval(autoScrollExp))) {\n              $anchorScroll();\n            }\n          };\n          var thisChangeId = ++changeCounter;\n\n          if (src) {\n            //set the 2nd param to true to ignore the template request error so that the inner\n            //contents and scope can be cleaned up.\n            $templateRequest(src, true).then(function(response) {\n              if (thisChangeId !== changeCounter) return;\n              var newScope = scope.$new();\n              ctrl.template = response;\n\n              // Note: This will also link all children of ng-include that were contained in the original\n              // html. If that content contains controllers, ... they could pollute/change the scope.\n              // However, using ng-include on an element with additional content does not make sense...\n              // Note: We can't remove them in the cloneAttchFn of $transclude as that\n              // function is called before linking the content, which would apply child\n              // directives to non existing elements.\n              var clone = $transclude(newScope, function(clone) {\n                cleanupLastIncludeContent();\n                $animate.enter(clone, null, $element).then(afterAnimation);\n              });\n\n              currentScope = newScope;\n              currentElement = clone;\n\n              currentScope.$emit('$includeContentLoaded', src);\n              scope.$eval(onloadExp);\n            }, function() {\n              if (thisChangeId === changeCounter) {\n                cleanupLastIncludeContent();\n                scope.$emit('$includeContentError', src);\n              }\n            });\n            scope.$emit('$includeContentRequested', src);\n          } else {\n            cleanupLastIncludeContent();\n            ctrl.template = null;\n          }\n        });\n      };\n    }\n  };\n}];\n\n// This directive is called during the $transclude call of the first `ngInclude` directive.\n// It will replace and compile the content of the element with the loaded template.\n// We need this directive so that the element content is already filled when\n// the link function of another directive on the same element as ngInclude\n// is called.\nvar ngIncludeFillContentDirective = ['$compile',\n  function($compile) {\n    return {\n      restrict: 'ECA',\n      priority: -400,\n      require: 'ngInclude',\n      link: function(scope, $element, $attr, ctrl) {\n        if (/SVG/.test($element[0].toString())) {\n          // WebKit: https://bugs.webkit.org/show_bug.cgi?id=135698 --- SVG elements do not\n          // support innerHTML, so detect this here and try to generate the contents\n          // specially.\n          $element.empty();\n          $compile(jqLiteBuildFragment(ctrl.template, document).childNodes)(scope,\n              function namespaceAdaptedClone(clone) {\n            $element.append(clone);\n          }, {futureParentElement: $element});\n          return;\n        }\n\n        $element.html(ctrl.template);\n        $compile($element.contents())(scope);\n      }\n    };\n  }];\n\n/**\n * @ngdoc directive\n * @name ngInit\n * @restrict AC\n *\n * @description\n * The `ngInit` directive allows you to evaluate an expression in the\n * current scope.\n *\n * <div class=\"alert alert-danger\">\n * This directive can be abused to add unnecessary amounts of logic into your templates.\n * There are only a few appropriate uses of `ngInit`, such as for aliasing special properties of\n * {@link ng.directive:ngRepeat `ngRepeat`}, as seen in the demo below; and for injecting data via\n * server side scripting. Besides these few cases, you should use {@link guide/controller controllers}\n * rather than `ngInit` to initialize values on a scope.\n * </div>\n *\n * <div class=\"alert alert-warning\">\n * **Note**: If you have assignment in `ngInit` along with a {@link ng.$filter `filter`}, make\n * sure you have parentheses to ensure correct operator precedence:\n * <pre class=\"prettyprint\">\n * `<div ng-init=\"test1 = ($index | toString)\"></div>`\n * </pre>\n * </div>\n *\n * @priority 450\n *\n * @element ANY\n * @param {expression} ngInit {@link guide/expression Expression} to eval.\n *\n * @example\n   <example module=\"initExample\">\n     <file name=\"index.html\">\n   <script>\n     angular.module('initExample', [])\n       .controller('ExampleController', ['$scope', function($scope) {\n         $scope.list = [['a', 'b'], ['c', 'd']];\n       }]);\n   </script>\n   <div ng-controller=\"ExampleController\">\n     <div ng-repeat=\"innerList in list\" ng-init=\"outerIndex = $index\">\n       <div ng-repeat=\"value in innerList\" ng-init=\"innerIndex = $index\">\n          <span class=\"example-init\">list[ {{outerIndex}} ][ {{innerIndex}} ] = {{value}};</span>\n       </div>\n     </div>\n   </div>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       it('should alias index positions', function() {\n         var elements = element.all(by.css('.example-init'));\n         expect(elements.get(0).getText()).toBe('list[ 0 ][ 0 ] = a;');\n         expect(elements.get(1).getText()).toBe('list[ 0 ][ 1 ] = b;');\n         expect(elements.get(2).getText()).toBe('list[ 1 ][ 0 ] = c;');\n         expect(elements.get(3).getText()).toBe('list[ 1 ][ 1 ] = d;');\n       });\n     </file>\n   </example>\n */\nvar ngInitDirective = ngDirective({\n  priority: 450,\n  compile: function() {\n    return {\n      pre: function(scope, element, attrs) {\n        scope.$eval(attrs.ngInit);\n      }\n    };\n  }\n});\n\n/**\n * @ngdoc directive\n * @name ngList\n *\n * @description\n * Text input that converts between a delimited string and an array of strings. The default\n * delimiter is a comma followed by a space - equivalent to `ng-list=\", \"`. You can specify a custom\n * delimiter as the value of the `ngList` attribute - for example, `ng-list=\" | \"`.\n *\n * The behaviour of the directive is affected by the use of the `ngTrim` attribute.\n * * If `ngTrim` is set to `\"false\"` then whitespace around both the separator and each\n *   list item is respected. This implies that the user of the directive is responsible for\n *   dealing with whitespace but also allows you to use whitespace as a delimiter, such as a\n *   tab or newline character.\n * * Otherwise whitespace around the delimiter is ignored when splitting (although it is respected\n *   when joining the list items back together) and whitespace around each list item is stripped\n *   before it is added to the model.\n *\n * ### Example with Validation\n *\n * <example name=\"ngList-directive\" module=\"listExample\">\n *   <file name=\"app.js\">\n *      angular.module('listExample', [])\n *        .controller('ExampleController', ['$scope', function($scope) {\n *          $scope.names = ['morpheus', 'neo', 'trinity'];\n *        }]);\n *   </file>\n *   <file name=\"index.html\">\n *    <form name=\"myForm\" ng-controller=\"ExampleController\">\n *      <label>List: <input name=\"namesInput\" ng-model=\"names\" ng-list required></label>\n *      <span role=\"alert\">\n *        <span class=\"error\" ng-show=\"myForm.namesInput.$error.required\">\n *        Required!</span>\n *      </span>\n *      <br>\n *      <tt>names = {{names}}</tt><br/>\n *      <tt>myForm.namesInput.$valid = {{myForm.namesInput.$valid}}</tt><br/>\n *      <tt>myForm.namesInput.$error = {{myForm.namesInput.$error}}</tt><br/>\n *      <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n *      <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n *     </form>\n *   </file>\n *   <file name=\"protractor.js\" type=\"protractor\">\n *     var listInput = element(by.model('names'));\n *     var names = element(by.exactBinding('names'));\n *     var valid = element(by.binding('myForm.namesInput.$valid'));\n *     var error = element(by.css('span.error'));\n *\n *     it('should initialize to model', function() {\n *       expect(names.getText()).toContain('[\"morpheus\",\"neo\",\"trinity\"]');\n *       expect(valid.getText()).toContain('true');\n *       expect(error.getCssValue('display')).toBe('none');\n *     });\n *\n *     it('should be invalid if empty', function() {\n *       listInput.clear();\n *       listInput.sendKeys('');\n *\n *       expect(names.getText()).toContain('');\n *       expect(valid.getText()).toContain('false');\n *       expect(error.getCssValue('display')).not.toBe('none');\n *     });\n *   </file>\n * </example>\n *\n * ### Example - splitting on newline\n * <example name=\"ngList-directive-newlines\">\n *   <file name=\"index.html\">\n *    <textarea ng-model=\"list\" ng-list=\"&#10;\" ng-trim=\"false\"></textarea>\n *    <pre>{{ list | json }}</pre>\n *   </file>\n *   <file name=\"protractor.js\" type=\"protractor\">\n *     it(\"should split the text by newlines\", function() {\n *       var listInput = element(by.model('list'));\n *       var output = element(by.binding('list | json'));\n *       listInput.sendKeys('abc\\ndef\\nghi');\n *       expect(output.getText()).toContain('[\\n  \"abc\",\\n  \"def\",\\n  \"ghi\"\\n]');\n *     });\n *   </file>\n * </example>\n *\n * @element input\n * @param {string=} ngList optional delimiter that should be used to split the value.\n */\nvar ngListDirective = function() {\n  return {\n    restrict: 'A',\n    priority: 100,\n    require: 'ngModel',\n    link: function(scope, element, attr, ctrl) {\n      // We want to control whitespace trimming so we use this convoluted approach\n      // to access the ngList attribute, which doesn't pre-trim the attribute\n      var ngList = element.attr(attr.$attr.ngList) || ', ';\n      var trimValues = attr.ngTrim !== 'false';\n      var separator = trimValues ? trim(ngList) : ngList;\n\n      var parse = function(viewValue) {\n        // If the viewValue is invalid (say required but empty) it will be `undefined`\n        if (isUndefined(viewValue)) return;\n\n        var list = [];\n\n        if (viewValue) {\n          forEach(viewValue.split(separator), function(value) {\n            if (value) list.push(trimValues ? trim(value) : value);\n          });\n        }\n\n        return list;\n      };\n\n      ctrl.$parsers.push(parse);\n      ctrl.$formatters.push(function(value) {\n        if (isArray(value)) {\n          return value.join(ngList);\n        }\n\n        return undefined;\n      });\n\n      // Override the standard $isEmpty because an empty array means the input is empty.\n      ctrl.$isEmpty = function(value) {\n        return !value || !value.length;\n      };\n    }\n  };\n};\n\n/* global VALID_CLASS: true,\n  INVALID_CLASS: true,\n  PRISTINE_CLASS: true,\n  DIRTY_CLASS: true,\n  UNTOUCHED_CLASS: true,\n  TOUCHED_CLASS: true,\n*/\n\nvar VALID_CLASS = 'ng-valid',\n    INVALID_CLASS = 'ng-invalid',\n    PRISTINE_CLASS = 'ng-pristine',\n    DIRTY_CLASS = 'ng-dirty',\n    UNTOUCHED_CLASS = 'ng-untouched',\n    TOUCHED_CLASS = 'ng-touched',\n    PENDING_CLASS = 'ng-pending';\n\nvar ngModelMinErr = minErr('ngModel');\n\n/**\n * @ngdoc type\n * @name ngModel.NgModelController\n *\n * @property {*} $viewValue The actual value from the control's view. For `input` elements, this is a\n * String. See {@link ngModel.NgModelController#$setViewValue} for information about when the $viewValue\n * is set.\n * @property {*} $modelValue The value in the model that the control is bound to.\n * @property {Array.<Function>} $parsers Array of functions to execute, as a pipeline, whenever\n       the control reads value from the DOM. The functions are called in array order, each passing\n       its return value through to the next. The last return value is forwarded to the\n       {@link ngModel.NgModelController#$validators `$validators`} collection.\n\nParsers are used to sanitize / convert the {@link ngModel.NgModelController#$viewValue\n`$viewValue`}.\n\nReturning `undefined` from a parser means a parse error occurred. In that case,\nno {@link ngModel.NgModelController#$validators `$validators`} will run and the `ngModel`\nwill be set to `undefined` unless {@link ngModelOptions `ngModelOptions.allowInvalid`}\nis set to `true`. The parse error is stored in `ngModel.$error.parse`.\n\n *\n * @property {Array.<Function>} $formatters Array of functions to execute, as a pipeline, whenever\n       the model value changes. The functions are called in reverse array order, each passing the value through to the\n       next. The last return value is used as the actual DOM value.\n       Used to format / convert values for display in the control.\n * ```js\n * function formatter(value) {\n *   if (value) {\n *     return value.toUpperCase();\n *   }\n * }\n * ngModel.$formatters.push(formatter);\n * ```\n *\n * @property {Object.<string, function>} $validators A collection of validators that are applied\n *      whenever the model value changes. The key value within the object refers to the name of the\n *      validator while the function refers to the validation operation. The validation operation is\n *      provided with the model value as an argument and must return a true or false value depending\n *      on the response of that validation.\n *\n * ```js\n * ngModel.$validators.validCharacters = function(modelValue, viewValue) {\n *   var value = modelValue || viewValue;\n *   return /[0-9]+/.test(value) &&\n *          /[a-z]+/.test(value) &&\n *          /[A-Z]+/.test(value) &&\n *          /\\W+/.test(value);\n * };\n * ```\n *\n * @property {Object.<string, function>} $asyncValidators A collection of validations that are expected to\n *      perform an asynchronous validation (e.g. a HTTP request). The validation function that is provided\n *      is expected to return a promise when it is run during the model validation process. Once the promise\n *      is delivered then the validation status will be set to true when fulfilled and false when rejected.\n *      When the asynchronous validators are triggered, each of the validators will run in parallel and the model\n *      value will only be updated once all validators have been fulfilled. As long as an asynchronous validator\n *      is unfulfilled, its key will be added to the controllers `$pending` property. Also, all asynchronous validators\n *      will only run once all synchronous validators have passed.\n *\n * Please note that if $http is used then it is important that the server returns a success HTTP response code\n * in order to fulfill the validation and a status level of `4xx` in order to reject the validation.\n *\n * ```js\n * ngModel.$asyncValidators.uniqueUsername = function(modelValue, viewValue) {\n *   var value = modelValue || viewValue;\n *\n *   // Lookup user by username\n *   return $http.get('/api/users/' + value).\n *      then(function resolved() {\n *        //username exists, this means validation fails\n *        return $q.reject('exists');\n *      }, function rejected() {\n *        //username does not exist, therefore this validation passes\n *        return true;\n *      });\n * };\n * ```\n *\n * @property {Array.<Function>} $viewChangeListeners Array of functions to execute whenever the\n *     view value has changed. It is called with no arguments, and its return value is ignored.\n *     This can be used in place of additional $watches against the model value.\n *\n * @property {Object} $error An object hash with all failing validator ids as keys.\n * @property {Object} $pending An object hash with all pending validator ids as keys.\n *\n * @property {boolean} $untouched True if control has not lost focus yet.\n * @property {boolean} $touched True if control has lost focus.\n * @property {boolean} $pristine True if user has not interacted with the control yet.\n * @property {boolean} $dirty True if user has already interacted with the control.\n * @property {boolean} $valid True if there is no error.\n * @property {boolean} $invalid True if at least one error on the control.\n * @property {string} $name The name attribute of the control.\n *\n * @description\n *\n * `NgModelController` provides API for the {@link ngModel `ngModel`} directive.\n * The controller contains services for data-binding, validation, CSS updates, and value formatting\n * and parsing. It purposefully does not contain any logic which deals with DOM rendering or\n * listening to DOM events.\n * Such DOM related logic should be provided by other directives which make use of\n * `NgModelController` for data-binding to control elements.\n * Angular provides this DOM logic for most {@link input `input`} elements.\n * At the end of this page you can find a {@link ngModel.NgModelController#custom-control-example\n * custom control example} that uses `ngModelController` to bind to `contenteditable` elements.\n *\n * @example\n * ### Custom Control Example\n * This example shows how to use `NgModelController` with a custom control to achieve\n * data-binding. Notice how different directives (`contenteditable`, `ng-model`, and `required`)\n * collaborate together to achieve the desired result.\n *\n * `contenteditable` is an HTML5 attribute, which tells the browser to let the element\n * contents be edited in place by the user.\n *\n * We are using the {@link ng.service:$sce $sce} service here and include the {@link ngSanitize $sanitize}\n * module to automatically remove \"bad\" content like inline event listener (e.g. `<span onclick=\"...\">`).\n * However, as we are using `$sce` the model can still decide to provide unsafe content if it marks\n * that content using the `$sce` service.\n *\n * <example name=\"NgModelController\" module=\"customControl\" deps=\"angular-sanitize.js\">\n    <file name=\"style.css\">\n      [contenteditable] {\n        border: 1px solid black;\n        background-color: white;\n        min-height: 20px;\n      }\n\n      .ng-invalid {\n        border: 1px solid red;\n      }\n\n    </file>\n    <file name=\"script.js\">\n      angular.module('customControl', ['ngSanitize']).\n        directive('contenteditable', ['$sce', function($sce) {\n          return {\n            restrict: 'A', // only activate on element attribute\n            require: '?ngModel', // get a hold of NgModelController\n            link: function(scope, element, attrs, ngModel) {\n              if (!ngModel) return; // do nothing if no ng-model\n\n              // Specify how UI should be updated\n              ngModel.$render = function() {\n                element.html($sce.getTrustedHtml(ngModel.$viewValue || ''));\n              };\n\n              // Listen for change events to enable binding\n              element.on('blur keyup change', function() {\n                scope.$evalAsync(read);\n              });\n              read(); // initialize\n\n              // Write data to the model\n              function read() {\n                var html = element.html();\n                // When we clear the content editable the browser leaves a <br> behind\n                // If strip-br attribute is provided then we strip this out\n                if ( attrs.stripBr && html == '<br>' ) {\n                  html = '';\n                }\n                ngModel.$setViewValue(html);\n              }\n            }\n          };\n        }]);\n    </file>\n    <file name=\"index.html\">\n      <form name=\"myForm\">\n       <div contenteditable\n            name=\"myWidget\" ng-model=\"userContent\"\n            strip-br=\"true\"\n            required>Change me!</div>\n        <span ng-show=\"myForm.myWidget.$error.required\">Required!</span>\n       <hr>\n       <textarea ng-model=\"userContent\" aria-label=\"Dynamic textarea\"></textarea>\n      </form>\n    </file>\n    <file name=\"protractor.js\" type=\"protractor\">\n    it('should data-bind and become invalid', function() {\n      if (browser.params.browser == 'safari' || browser.params.browser == 'firefox') {\n        // SafariDriver can't handle contenteditable\n        // and Firefox driver can't clear contenteditables very well\n        return;\n      }\n      var contentEditable = element(by.css('[contenteditable]'));\n      var content = 'Change me!';\n\n      expect(contentEditable.getText()).toEqual(content);\n\n      contentEditable.clear();\n      contentEditable.sendKeys(protractor.Key.BACK_SPACE);\n      expect(contentEditable.getText()).toEqual('');\n      expect(contentEditable.getAttribute('class')).toMatch(/ng-invalid-required/);\n    });\n    </file>\n * </example>\n *\n *\n */\nvar NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$parse', '$animate', '$timeout', '$rootScope', '$q', '$interpolate',\n    function($scope, $exceptionHandler, $attr, $element, $parse, $animate, $timeout, $rootScope, $q, $interpolate) {\n  this.$viewValue = Number.NaN;\n  this.$modelValue = Number.NaN;\n  this.$$rawModelValue = undefined; // stores the parsed modelValue / model set from scope regardless of validity.\n  this.$validators = {};\n  this.$asyncValidators = {};\n  this.$parsers = [];\n  this.$formatters = [];\n  this.$viewChangeListeners = [];\n  this.$untouched = true;\n  this.$touched = false;\n  this.$pristine = true;\n  this.$dirty = false;\n  this.$valid = true;\n  this.$invalid = false;\n  this.$error = {}; // keep invalid keys here\n  this.$$success = {}; // keep valid keys here\n  this.$pending = undefined; // keep pending keys here\n  this.$name = $interpolate($attr.name || '', false)($scope);\n  this.$$parentForm = nullFormCtrl;\n\n  var parsedNgModel = $parse($attr.ngModel),\n      parsedNgModelAssign = parsedNgModel.assign,\n      ngModelGet = parsedNgModel,\n      ngModelSet = parsedNgModelAssign,\n      pendingDebounce = null,\n      parserValid,\n      ctrl = this;\n\n  this.$$setOptions = function(options) {\n    ctrl.$options = options;\n    if (options && options.getterSetter) {\n      var invokeModelGetter = $parse($attr.ngModel + '()'),\n          invokeModelSetter = $parse($attr.ngModel + '($$$p)');\n\n      ngModelGet = function($scope) {\n        var modelValue = parsedNgModel($scope);\n        if (isFunction(modelValue)) {\n          modelValue = invokeModelGetter($scope);\n        }\n        return modelValue;\n      };\n      ngModelSet = function($scope, newValue) {\n        if (isFunction(parsedNgModel($scope))) {\n          invokeModelSetter($scope, {$$$p: ctrl.$modelValue});\n        } else {\n          parsedNgModelAssign($scope, ctrl.$modelValue);\n        }\n      };\n    } else if (!parsedNgModel.assign) {\n      throw ngModelMinErr('nonassign', \"Expression '{0}' is non-assignable. Element: {1}\",\n          $attr.ngModel, startingTag($element));\n    }\n  };\n\n  /**\n   * @ngdoc method\n   * @name ngModel.NgModelController#$render\n   *\n   * @description\n   * Called when the view needs to be updated. It is expected that the user of the ng-model\n   * directive will implement this method.\n   *\n   * The `$render()` method is invoked in the following situations:\n   *\n   * * `$rollbackViewValue()` is called.  If we are rolling back the view value to the last\n   *   committed value then `$render()` is called to update the input control.\n   * * The value referenced by `ng-model` is changed programmatically and both the `$modelValue` and\n   *   the `$viewValue` are different from last time.\n   *\n   * Since `ng-model` does not do a deep watch, `$render()` is only invoked if the values of\n   * `$modelValue` and `$viewValue` are actually different from their previous value. If `$modelValue`\n   * or `$viewValue` are objects (rather than a string or number) then `$render()` will not be\n   * invoked if you only change a property on the objects.\n   */\n  this.$render = noop;\n\n  /**\n   * @ngdoc method\n   * @name ngModel.NgModelController#$isEmpty\n   *\n   * @description\n   * This is called when we need to determine if the value of an input is empty.\n   *\n   * For instance, the required directive does this to work out if the input has data or not.\n   *\n   * The default `$isEmpty` function checks whether the value is `undefined`, `''`, `null` or `NaN`.\n   *\n   * You can override this for input directives whose concept of being empty is different from the\n   * default. The `checkboxInputType` directive does this because in its case a value of `false`\n   * implies empty.\n   *\n   * @param {*} value The value of the input to check for emptiness.\n   * @returns {boolean} True if `value` is \"empty\".\n   */\n  this.$isEmpty = function(value) {\n    return isUndefined(value) || value === '' || value === null || value !== value;\n  };\n\n  var currentValidationRunId = 0;\n\n  /**\n   * @ngdoc method\n   * @name ngModel.NgModelController#$setValidity\n   *\n   * @description\n   * Change the validity state, and notify the form.\n   *\n   * This method can be called within $parsers/$formatters or a custom validation implementation.\n   * However, in most cases it should be sufficient to use the `ngModel.$validators` and\n   * `ngModel.$asyncValidators` collections which will call `$setValidity` automatically.\n   *\n   * @param {string} validationErrorKey Name of the validator. The `validationErrorKey` will be assigned\n   *        to either `$error[validationErrorKey]` or `$pending[validationErrorKey]`\n   *        (for unfulfilled `$asyncValidators`), so that it is available for data-binding.\n   *        The `validationErrorKey` should be in camelCase and will get converted into dash-case\n   *        for class name. Example: `myError` will result in `ng-valid-my-error` and `ng-invalid-my-error`\n   *        class and can be bound to as  `{{someForm.someControl.$error.myError}}` .\n   * @param {boolean} isValid Whether the current state is valid (true), invalid (false), pending (undefined),\n   *                          or skipped (null). Pending is used for unfulfilled `$asyncValidators`.\n   *                          Skipped is used by Angular when validators do not run because of parse errors and\n   *                          when `$asyncValidators` do not run because any of the `$validators` failed.\n   */\n  addSetValidityMethod({\n    ctrl: this,\n    $element: $element,\n    set: function(object, property) {\n      object[property] = true;\n    },\n    unset: function(object, property) {\n      delete object[property];\n    },\n    $animate: $animate\n  });\n\n  /**\n   * @ngdoc method\n   * @name ngModel.NgModelController#$setPristine\n   *\n   * @description\n   * Sets the control to its pristine state.\n   *\n   * This method can be called to remove the `ng-dirty` class and set the control to its pristine\n   * state (`ng-pristine` class). A model is considered to be pristine when the control\n   * has not been changed from when first compiled.\n   */\n  this.$setPristine = function() {\n    ctrl.$dirty = false;\n    ctrl.$pristine = true;\n    $animate.removeClass($element, DIRTY_CLASS);\n    $animate.addClass($element, PRISTINE_CLASS);\n  };\n\n  /**\n   * @ngdoc method\n   * @name ngModel.NgModelController#$setDirty\n   *\n   * @description\n   * Sets the control to its dirty state.\n   *\n   * This method can be called to remove the `ng-pristine` class and set the control to its dirty\n   * state (`ng-dirty` class). A model is considered to be dirty when the control has been changed\n   * from when first compiled.\n   */\n  this.$setDirty = function() {\n    ctrl.$dirty = true;\n    ctrl.$pristine = false;\n    $animate.removeClass($element, PRISTINE_CLASS);\n    $animate.addClass($element, DIRTY_CLASS);\n    ctrl.$$parentForm.$setDirty();\n  };\n\n  /**\n   * @ngdoc method\n   * @name ngModel.NgModelController#$setUntouched\n   *\n   * @description\n   * Sets the control to its untouched state.\n   *\n   * This method can be called to remove the `ng-touched` class and set the control to its\n   * untouched state (`ng-untouched` class). Upon compilation, a model is set as untouched\n   * by default, however this function can be used to restore that state if the model has\n   * already been touched by the user.\n   */\n  this.$setUntouched = function() {\n    ctrl.$touched = false;\n    ctrl.$untouched = true;\n    $animate.setClass($element, UNTOUCHED_CLASS, TOUCHED_CLASS);\n  };\n\n  /**\n   * @ngdoc method\n   * @name ngModel.NgModelController#$setTouched\n   *\n   * @description\n   * Sets the control to its touched state.\n   *\n   * This method can be called to remove the `ng-untouched` class and set the control to its\n   * touched state (`ng-touched` class). A model is considered to be touched when the user has\n   * first focused the control element and then shifted focus away from the control (blur event).\n   */\n  this.$setTouched = function() {\n    ctrl.$touched = true;\n    ctrl.$untouched = false;\n    $animate.setClass($element, TOUCHED_CLASS, UNTOUCHED_CLASS);\n  };\n\n  /**\n   * @ngdoc method\n   * @name ngModel.NgModelController#$rollbackViewValue\n   *\n   * @description\n   * Cancel an update and reset the input element's value to prevent an update to the `$modelValue`,\n   * which may be caused by a pending debounced event or because the input is waiting for a some\n   * future event.\n   *\n   * If you have an input that uses `ng-model-options` to set up debounced events or events such\n   * as blur you can have a situation where there is a period when the `$viewValue`\n   * is out of synch with the ngModel's `$modelValue`.\n   *\n   * In this case, you can run into difficulties if you try to update the ngModel's `$modelValue`\n   * programmatically before these debounced/future events have resolved/occurred, because Angular's\n   * dirty checking mechanism is not able to tell whether the model has actually changed or not.\n   *\n   * The `$rollbackViewValue()` method should be called before programmatically changing the model of an\n   * input which may have such events pending. This is important in order to make sure that the\n   * input field will be updated with the new model value and any pending operations are cancelled.\n   *\n   * <example name=\"ng-model-cancel-update\" module=\"cancel-update-example\">\n   *   <file name=\"app.js\">\n   *     angular.module('cancel-update-example', [])\n   *\n   *     .controller('CancelUpdateController', ['$scope', function($scope) {\n   *       $scope.resetWithCancel = function(e) {\n   *         if (e.keyCode == 27) {\n   *           $scope.myForm.myInput1.$rollbackViewValue();\n   *           $scope.myValue = '';\n   *         }\n   *       };\n   *       $scope.resetWithoutCancel = function(e) {\n   *         if (e.keyCode == 27) {\n   *           $scope.myValue = '';\n   *         }\n   *       };\n   *     }]);\n   *   </file>\n   *   <file name=\"index.html\">\n   *     <div ng-controller=\"CancelUpdateController\">\n   *       <p>Try typing something in each input.  See that the model only updates when you\n   *          blur off the input.\n   *        </p>\n   *        <p>Now see what happens if you start typing then press the Escape key</p>\n   *\n   *       <form name=\"myForm\" ng-model-options=\"{ updateOn: 'blur' }\">\n   *         <p id=\"inputDescription1\">With $rollbackViewValue()</p>\n   *         <input name=\"myInput1\" aria-describedby=\"inputDescription1\" ng-model=\"myValue\"\n   *                ng-keydown=\"resetWithCancel($event)\"><br/>\n   *         myValue: \"{{ myValue }}\"\n   *\n   *         <p id=\"inputDescription2\">Without $rollbackViewValue()</p>\n   *         <input name=\"myInput2\" aria-describedby=\"inputDescription2\" ng-model=\"myValue\"\n   *                ng-keydown=\"resetWithoutCancel($event)\"><br/>\n   *         myValue: \"{{ myValue }}\"\n   *       </form>\n   *     </div>\n   *   </file>\n   * </example>\n   */\n  this.$rollbackViewValue = function() {\n    $timeout.cancel(pendingDebounce);\n    ctrl.$viewValue = ctrl.$$lastCommittedViewValue;\n    ctrl.$render();\n  };\n\n  /**\n   * @ngdoc method\n   * @name ngModel.NgModelController#$validate\n   *\n   * @description\n   * Runs each of the registered validators (first synchronous validators and then\n   * asynchronous validators).\n   * If the validity changes to invalid, the model will be set to `undefined`,\n   * unless {@link ngModelOptions `ngModelOptions.allowInvalid`} is `true`.\n   * If the validity changes to valid, it will set the model to the last available valid\n   * `$modelValue`, i.e. either the last parsed value or the last value set from the scope.\n   */\n  this.$validate = function() {\n    // ignore $validate before model is initialized\n    if (isNumber(ctrl.$modelValue) && isNaN(ctrl.$modelValue)) {\n      return;\n    }\n\n    var viewValue = ctrl.$$lastCommittedViewValue;\n    // Note: we use the $$rawModelValue as $modelValue might have been\n    // set to undefined during a view -> model update that found validation\n    // errors. We can't parse the view here, since that could change\n    // the model although neither viewValue nor the model on the scope changed\n    var modelValue = ctrl.$$rawModelValue;\n\n    var prevValid = ctrl.$valid;\n    var prevModelValue = ctrl.$modelValue;\n\n    var allowInvalid = ctrl.$options && ctrl.$options.allowInvalid;\n\n    ctrl.$$runValidators(modelValue, viewValue, function(allValid) {\n      // If there was no change in validity, don't update the model\n      // This prevents changing an invalid modelValue to undefined\n      if (!allowInvalid && prevValid !== allValid) {\n        // Note: Don't check ctrl.$valid here, as we could have\n        // external validators (e.g. calculated on the server),\n        // that just call $setValidity and need the model value\n        // to calculate their validity.\n        ctrl.$modelValue = allValid ? modelValue : undefined;\n\n        if (ctrl.$modelValue !== prevModelValue) {\n          ctrl.$$writeModelToScope();\n        }\n      }\n    });\n\n  };\n\n  this.$$runValidators = function(modelValue, viewValue, doneCallback) {\n    currentValidationRunId++;\n    var localValidationRunId = currentValidationRunId;\n\n    // check parser error\n    if (!processParseErrors()) {\n      validationDone(false);\n      return;\n    }\n    if (!processSyncValidators()) {\n      validationDone(false);\n      return;\n    }\n    processAsyncValidators();\n\n    function processParseErrors() {\n      var errorKey = ctrl.$$parserName || 'parse';\n      if (isUndefined(parserValid)) {\n        setValidity(errorKey, null);\n      } else {\n        if (!parserValid) {\n          forEach(ctrl.$validators, function(v, name) {\n            setValidity(name, null);\n          });\n          forEach(ctrl.$asyncValidators, function(v, name) {\n            setValidity(name, null);\n          });\n        }\n        // Set the parse error last, to prevent unsetting it, should a $validators key == parserName\n        setValidity(errorKey, parserValid);\n        return parserValid;\n      }\n      return true;\n    }\n\n    function processSyncValidators() {\n      var syncValidatorsValid = true;\n      forEach(ctrl.$validators, function(validator, name) {\n        var result = validator(modelValue, viewValue);\n        syncValidatorsValid = syncValidatorsValid && result;\n        setValidity(name, result);\n      });\n      if (!syncValidatorsValid) {\n        forEach(ctrl.$asyncValidators, function(v, name) {\n          setValidity(name, null);\n        });\n        return false;\n      }\n      return true;\n    }\n\n    function processAsyncValidators() {\n      var validatorPromises = [];\n      var allValid = true;\n      forEach(ctrl.$asyncValidators, function(validator, name) {\n        var promise = validator(modelValue, viewValue);\n        if (!isPromiseLike(promise)) {\n          throw ngModelMinErr(\"$asyncValidators\",\n            \"Expected asynchronous validator to return a promise but got '{0}' instead.\", promise);\n        }\n        setValidity(name, undefined);\n        validatorPromises.push(promise.then(function() {\n          setValidity(name, true);\n        }, function(error) {\n          allValid = false;\n          setValidity(name, false);\n        }));\n      });\n      if (!validatorPromises.length) {\n        validationDone(true);\n      } else {\n        $q.all(validatorPromises).then(function() {\n          validationDone(allValid);\n        }, noop);\n      }\n    }\n\n    function setValidity(name, isValid) {\n      if (localValidationRunId === currentValidationRunId) {\n        ctrl.$setValidity(name, isValid);\n      }\n    }\n\n    function validationDone(allValid) {\n      if (localValidationRunId === currentValidationRunId) {\n\n        doneCallback(allValid);\n      }\n    }\n  };\n\n  /**\n   * @ngdoc method\n   * @name ngModel.NgModelController#$commitViewValue\n   *\n   * @description\n   * Commit a pending update to the `$modelValue`.\n   *\n   * Updates may be pending by a debounced event or because the input is waiting for a some future\n   * event defined in `ng-model-options`. this method is rarely needed as `NgModelController`\n   * usually handles calling this in response to input events.\n   */\n  this.$commitViewValue = function() {\n    var viewValue = ctrl.$viewValue;\n\n    $timeout.cancel(pendingDebounce);\n\n    // If the view value has not changed then we should just exit, except in the case where there is\n    // a native validator on the element. In this case the validation state may have changed even though\n    // the viewValue has stayed empty.\n    if (ctrl.$$lastCommittedViewValue === viewValue && (viewValue !== '' || !ctrl.$$hasNativeValidators)) {\n      return;\n    }\n    ctrl.$$lastCommittedViewValue = viewValue;\n\n    // change to dirty\n    if (ctrl.$pristine) {\n      this.$setDirty();\n    }\n    this.$$parseAndValidate();\n  };\n\n  this.$$parseAndValidate = function() {\n    var viewValue = ctrl.$$lastCommittedViewValue;\n    var modelValue = viewValue;\n    parserValid = isUndefined(modelValue) ? undefined : true;\n\n    if (parserValid) {\n      for (var i = 0; i < ctrl.$parsers.length; i++) {\n        modelValue = ctrl.$parsers[i](modelValue);\n        if (isUndefined(modelValue)) {\n          parserValid = false;\n          break;\n        }\n      }\n    }\n    if (isNumber(ctrl.$modelValue) && isNaN(ctrl.$modelValue)) {\n      // ctrl.$modelValue has not been touched yet...\n      ctrl.$modelValue = ngModelGet($scope);\n    }\n    var prevModelValue = ctrl.$modelValue;\n    var allowInvalid = ctrl.$options && ctrl.$options.allowInvalid;\n    ctrl.$$rawModelValue = modelValue;\n\n    if (allowInvalid) {\n      ctrl.$modelValue = modelValue;\n      writeToModelIfNeeded();\n    }\n\n    // Pass the $$lastCommittedViewValue here, because the cached viewValue might be out of date.\n    // This can happen if e.g. $setViewValue is called from inside a parser\n    ctrl.$$runValidators(modelValue, ctrl.$$lastCommittedViewValue, function(allValid) {\n      if (!allowInvalid) {\n        // Note: Don't check ctrl.$valid here, as we could have\n        // external validators (e.g. calculated on the server),\n        // that just call $setValidity and need the model value\n        // to calculate their validity.\n        ctrl.$modelValue = allValid ? modelValue : undefined;\n        writeToModelIfNeeded();\n      }\n    });\n\n    function writeToModelIfNeeded() {\n      if (ctrl.$modelValue !== prevModelValue) {\n        ctrl.$$writeModelToScope();\n      }\n    }\n  };\n\n  this.$$writeModelToScope = function() {\n    ngModelSet($scope, ctrl.$modelValue);\n    forEach(ctrl.$viewChangeListeners, function(listener) {\n      try {\n        listener();\n      } catch (e) {\n        $exceptionHandler(e);\n      }\n    });\n  };\n\n  /**\n   * @ngdoc method\n   * @name ngModel.NgModelController#$setViewValue\n   *\n   * @description\n   * Update the view value.\n   *\n   * This method should be called when a control wants to change the view value; typically,\n   * this is done from within a DOM event handler. For example, the {@link ng.directive:input input}\n   * directive calls it when the value of the input changes and {@link ng.directive:select select}\n   * calls it when an option is selected.\n   *\n   * When `$setViewValue` is called, the new `value` will be staged for committing through the `$parsers`\n   * and `$validators` pipelines. If there are no special {@link ngModelOptions} specified then the staged\n   * value sent directly for processing, finally to be applied to `$modelValue` and then the\n   * **expression** specified in the `ng-model` attribute. Lastly, all the registered change listeners,\n   * in the `$viewChangeListeners` list, are called.\n   *\n   * In case the {@link ng.directive:ngModelOptions ngModelOptions} directive is used with `updateOn`\n   * and the `default` trigger is not listed, all those actions will remain pending until one of the\n   * `updateOn` events is triggered on the DOM element.\n   * All these actions will be debounced if the {@link ng.directive:ngModelOptions ngModelOptions}\n   * directive is used with a custom debounce for this particular event.\n   * Note that a `$digest` is only triggered once the `updateOn` events are fired, or if `debounce`\n   * is specified, once the timer runs out.\n   *\n   * When used with standard inputs, the view value will always be a string (which is in some cases\n   * parsed into another type, such as a `Date` object for `input[date]`.)\n   * However, custom controls might also pass objects to this method. In this case, we should make\n   * a copy of the object before passing it to `$setViewValue`. This is because `ngModel` does not\n   * perform a deep watch of objects, it only looks for a change of identity. If you only change\n   * the property of the object then ngModel will not realise that the object has changed and\n   * will not invoke the `$parsers` and `$validators` pipelines. For this reason, you should\n   * not change properties of the copy once it has been passed to `$setViewValue`.\n   * Otherwise you may cause the model value on the scope to change incorrectly.\n   *\n   * <div class=\"alert alert-info\">\n   * In any case, the value passed to the method should always reflect the current value\n   * of the control. For example, if you are calling `$setViewValue` for an input element,\n   * you should pass the input DOM value. Otherwise, the control and the scope model become\n   * out of sync. It's also important to note that `$setViewValue` does not call `$render` or change\n   * the control's DOM value in any way. If we want to change the control's DOM value\n   * programmatically, we should update the `ngModel` scope expression. Its new value will be\n   * picked up by the model controller, which will run it through the `$formatters`, `$render` it\n   * to update the DOM, and finally call `$validate` on it.\n   * </div>\n   *\n   * @param {*} value value from the view.\n   * @param {string} trigger Event that triggered the update.\n   */\n  this.$setViewValue = function(value, trigger) {\n    ctrl.$viewValue = value;\n    if (!ctrl.$options || ctrl.$options.updateOnDefault) {\n      ctrl.$$debounceViewValueCommit(trigger);\n    }\n  };\n\n  this.$$debounceViewValueCommit = function(trigger) {\n    var debounceDelay = 0,\n        options = ctrl.$options,\n        debounce;\n\n    if (options && isDefined(options.debounce)) {\n      debounce = options.debounce;\n      if (isNumber(debounce)) {\n        debounceDelay = debounce;\n      } else if (isNumber(debounce[trigger])) {\n        debounceDelay = debounce[trigger];\n      } else if (isNumber(debounce['default'])) {\n        debounceDelay = debounce['default'];\n      }\n    }\n\n    $timeout.cancel(pendingDebounce);\n    if (debounceDelay) {\n      pendingDebounce = $timeout(function() {\n        ctrl.$commitViewValue();\n      }, debounceDelay);\n    } else if ($rootScope.$$phase) {\n      ctrl.$commitViewValue();\n    } else {\n      $scope.$apply(function() {\n        ctrl.$commitViewValue();\n      });\n    }\n  };\n\n  // model -> value\n  // Note: we cannot use a normal scope.$watch as we want to detect the following:\n  // 1. scope value is 'a'\n  // 2. user enters 'b'\n  // 3. ng-change kicks in and reverts scope value to 'a'\n  //    -> scope value did not change since the last digest as\n  //       ng-change executes in apply phase\n  // 4. view should be changed back to 'a'\n  $scope.$watch(function ngModelWatch() {\n    var modelValue = ngModelGet($scope);\n\n    // if scope model value and ngModel value are out of sync\n    // TODO(perf): why not move this to the action fn?\n    if (modelValue !== ctrl.$modelValue &&\n       // checks for NaN is needed to allow setting the model to NaN when there's an asyncValidator\n       (ctrl.$modelValue === ctrl.$modelValue || modelValue === modelValue)\n    ) {\n      ctrl.$modelValue = ctrl.$$rawModelValue = modelValue;\n      parserValid = undefined;\n\n      var formatters = ctrl.$formatters,\n          idx = formatters.length;\n\n      var viewValue = modelValue;\n      while (idx--) {\n        viewValue = formatters[idx](viewValue);\n      }\n      if (ctrl.$viewValue !== viewValue) {\n        ctrl.$viewValue = ctrl.$$lastCommittedViewValue = viewValue;\n        ctrl.$render();\n\n        ctrl.$$runValidators(modelValue, viewValue, noop);\n      }\n    }\n\n    return modelValue;\n  });\n}];\n\n\n/**\n * @ngdoc directive\n * @name ngModel\n *\n * @element input\n * @priority 1\n *\n * @description\n * The `ngModel` directive binds an `input`,`select`, `textarea` (or custom form control) to a\n * property on the scope using {@link ngModel.NgModelController NgModelController},\n * which is created and exposed by this directive.\n *\n * `ngModel` is responsible for:\n *\n * - Binding the view into the model, which other directives such as `input`, `textarea` or `select`\n *   require.\n * - Providing validation behavior (i.e. required, number, email, url).\n * - Keeping the state of the control (valid/invalid, dirty/pristine, touched/untouched, validation errors).\n * - Setting related css classes on the element (`ng-valid`, `ng-invalid`, `ng-dirty`, `ng-pristine`, `ng-touched`, `ng-untouched`) including animations.\n * - Registering the control with its parent {@link ng.directive:form form}.\n *\n * Note: `ngModel` will try to bind to the property given by evaluating the expression on the\n * current scope. If the property doesn't already exist on this scope, it will be created\n * implicitly and added to the scope.\n *\n * For best practices on using `ngModel`, see:\n *\n *  - [Understanding Scopes](https://github.com/angular/angular.js/wiki/Understanding-Scopes)\n *\n * For basic examples, how to use `ngModel`, see:\n *\n *  - {@link ng.directive:input input}\n *    - {@link input[text] text}\n *    - {@link input[checkbox] checkbox}\n *    - {@link input[radio] radio}\n *    - {@link input[number] number}\n *    - {@link input[email] email}\n *    - {@link input[url] url}\n *    - {@link input[date] date}\n *    - {@link input[datetime-local] datetime-local}\n *    - {@link input[time] time}\n *    - {@link input[month] month}\n *    - {@link input[week] week}\n *  - {@link ng.directive:select select}\n *  - {@link ng.directive:textarea textarea}\n *\n * # CSS classes\n * The following CSS classes are added and removed on the associated input/select/textarea element\n * depending on the validity of the model.\n *\n *  - `ng-valid`: the model is valid\n *  - `ng-invalid`: the model is invalid\n *  - `ng-valid-[key]`: for each valid key added by `$setValidity`\n *  - `ng-invalid-[key]`: for each invalid key added by `$setValidity`\n *  - `ng-pristine`: the control hasn't been interacted with yet\n *  - `ng-dirty`: the control has been interacted with\n *  - `ng-touched`: the control has been blurred\n *  - `ng-untouched`: the control hasn't been blurred\n *  - `ng-pending`: any `$asyncValidators` are unfulfilled\n *\n * Keep in mind that ngAnimate can detect each of these classes when added and removed.\n *\n * ## Animation Hooks\n *\n * Animations within models are triggered when any of the associated CSS classes are added and removed\n * on the input element which is attached to the model. These classes are: `.ng-pristine`, `.ng-dirty`,\n * `.ng-invalid` and `.ng-valid` as well as any other validations that are performed on the model itself.\n * The animations that are triggered within ngModel are similar to how they work in ngClass and\n * animations can be hooked into using CSS transitions, keyframes as well as JS animations.\n *\n * The following example shows a simple way to utilize CSS transitions to style an input element\n * that has been rendered as invalid after it has been validated:\n *\n * <pre>\n * //be sure to include ngAnimate as a module to hook into more\n * //advanced animations\n * .my-input {\n *   transition:0.5s linear all;\n *   background: white;\n * }\n * .my-input.ng-invalid {\n *   background: red;\n *   color:white;\n * }\n * </pre>\n *\n * @example\n * <example deps=\"angular-animate.js\" animations=\"true\" fixBase=\"true\" module=\"inputExample\">\n     <file name=\"index.html\">\n       <script>\n        angular.module('inputExample', [])\n          .controller('ExampleController', ['$scope', function($scope) {\n            $scope.val = '1';\n          }]);\n       </script>\n       <style>\n         .my-input {\n           transition:all linear 0.5s;\n           background: transparent;\n         }\n         .my-input.ng-invalid {\n           color:white;\n           background: red;\n         }\n       </style>\n       <p id=\"inputDescription\">\n        Update input to see transitions when valid/invalid.\n        Integer is a valid value.\n       </p>\n       <form name=\"testForm\" ng-controller=\"ExampleController\">\n         <input ng-model=\"val\" ng-pattern=\"/^\\d+$/\" name=\"anim\" class=\"my-input\"\n                aria-describedby=\"inputDescription\" />\n       </form>\n     </file>\n * </example>\n *\n * ## Binding to a getter/setter\n *\n * Sometimes it's helpful to bind `ngModel` to a getter/setter function.  A getter/setter is a\n * function that returns a representation of the model when called with zero arguments, and sets\n * the internal state of a model when called with an argument. It's sometimes useful to use this\n * for models that have an internal representation that's different from what the model exposes\n * to the view.\n *\n * <div class=\"alert alert-success\">\n * **Best Practice:** It's best to keep getters fast because Angular is likely to call them more\n * frequently than other parts of your code.\n * </div>\n *\n * You use this behavior by adding `ng-model-options=\"{ getterSetter: true }\"` to an element that\n * has `ng-model` attached to it. You can also add `ng-model-options=\"{ getterSetter: true }\"` to\n * a `<form>`, which will enable this behavior for all `<input>`s within it. See\n * {@link ng.directive:ngModelOptions `ngModelOptions`} for more.\n *\n * The following example shows how to use `ngModel` with a getter/setter:\n *\n * @example\n * <example name=\"ngModel-getter-setter\" module=\"getterSetterExample\">\n     <file name=\"index.html\">\n       <div ng-controller=\"ExampleController\">\n         <form name=\"userForm\">\n           <label>Name:\n             <input type=\"text\" name=\"userName\"\n                    ng-model=\"user.name\"\n                    ng-model-options=\"{ getterSetter: true }\" />\n           </label>\n         </form>\n         <pre>user.name = <span ng-bind=\"user.name()\"></span></pre>\n       </div>\n     </file>\n     <file name=\"app.js\">\n       angular.module('getterSetterExample', [])\n         .controller('ExampleController', ['$scope', function($scope) {\n           var _name = 'Brian';\n           $scope.user = {\n             name: function(newName) {\n              // Note that newName can be undefined for two reasons:\n              // 1. Because it is called as a getter and thus called with no arguments\n              // 2. Because the property should actually be set to undefined. This happens e.g. if the\n              //    input is invalid\n              return arguments.length ? (_name = newName) : _name;\n             }\n           };\n         }]);\n     </file>\n * </example>\n */\nvar ngModelDirective = ['$rootScope', function($rootScope) {\n  return {\n    restrict: 'A',\n    require: ['ngModel', '^?form', '^?ngModelOptions'],\n    controller: NgModelController,\n    // Prelink needs to run before any input directive\n    // so that we can set the NgModelOptions in NgModelController\n    // before anyone else uses it.\n    priority: 1,\n    compile: function ngModelCompile(element) {\n      // Setup initial state of the control\n      element.addClass(PRISTINE_CLASS).addClass(UNTOUCHED_CLASS).addClass(VALID_CLASS);\n\n      return {\n        pre: function ngModelPreLink(scope, element, attr, ctrls) {\n          var modelCtrl = ctrls[0],\n              formCtrl = ctrls[1] || modelCtrl.$$parentForm;\n\n          modelCtrl.$$setOptions(ctrls[2] && ctrls[2].$options);\n\n          // notify others, especially parent forms\n          formCtrl.$addControl(modelCtrl);\n\n          attr.$observe('name', function(newValue) {\n            if (modelCtrl.$name !== newValue) {\n              modelCtrl.$$parentForm.$$renameControl(modelCtrl, newValue);\n            }\n          });\n\n          scope.$on('$destroy', function() {\n            modelCtrl.$$parentForm.$removeControl(modelCtrl);\n          });\n        },\n        post: function ngModelPostLink(scope, element, attr, ctrls) {\n          var modelCtrl = ctrls[0];\n          if (modelCtrl.$options && modelCtrl.$options.updateOn) {\n            element.on(modelCtrl.$options.updateOn, function(ev) {\n              modelCtrl.$$debounceViewValueCommit(ev && ev.type);\n            });\n          }\n\n          element.on('blur', function(ev) {\n            if (modelCtrl.$touched) return;\n\n            if ($rootScope.$$phase) {\n              scope.$evalAsync(modelCtrl.$setTouched);\n            } else {\n              scope.$apply(modelCtrl.$setTouched);\n            }\n          });\n        }\n      };\n    }\n  };\n}];\n\nvar DEFAULT_REGEXP = /(\\s+|^)default(\\s+|$)/;\n\n/**\n * @ngdoc directive\n * @name ngModelOptions\n *\n * @description\n * Allows tuning how model updates are done. Using `ngModelOptions` you can specify a custom list of\n * events that will trigger a model update and/or a debouncing delay so that the actual update only\n * takes place when a timer expires; this timer will be reset after another change takes place.\n *\n * Given the nature of `ngModelOptions`, the value displayed inside input fields in the view might\n * be different from the value in the actual model. This means that if you update the model you\n * should also invoke {@link ngModel.NgModelController `$rollbackViewValue`} on the relevant input field in\n * order to make sure it is synchronized with the model and that any debounced action is canceled.\n *\n * The easiest way to reference the control's {@link ngModel.NgModelController `$rollbackViewValue`}\n * method is by making sure the input is placed inside a form that has a `name` attribute. This is\n * important because `form` controllers are published to the related scope under the name in their\n * `name` attribute.\n *\n * Any pending changes will take place immediately when an enclosing form is submitted via the\n * `submit` event. Note that `ngClick` events will occur before the model is updated. Use `ngSubmit`\n * to have access to the updated model.\n *\n * `ngModelOptions` has an effect on the element it's declared on and its descendants.\n *\n * @param {Object} ngModelOptions options to apply to the current model. Valid keys are:\n *   - `updateOn`: string specifying which event should the input be bound to. You can set several\n *     events using an space delimited list. There is a special event called `default` that\n *     matches the default events belonging of the control.\n *   - `debounce`: integer value which contains the debounce model update value in milliseconds. A\n *     value of 0 triggers an immediate update. If an object is supplied instead, you can specify a\n *     custom value for each event. For example:\n *     `ng-model-options=\"{ updateOn: 'default blur', debounce: { 'default': 500, 'blur': 0 } }\"`\n *   - `allowInvalid`: boolean value which indicates that the model can be set with values that did\n *     not validate correctly instead of the default behavior of setting the model to undefined.\n *   - `getterSetter`: boolean value which determines whether or not to treat functions bound to\n       `ngModel` as getters/setters.\n *   - `timezone`: Defines the timezone to be used to read/write the `Date` instance in the model for\n *     `<input type=\"date\">`, `<input type=\"time\">`, ... . It understands UTC/GMT and the\n *     continental US time zone abbreviations, but for general use, use a time zone offset, for\n *     example, `'+0430'` (4 hours, 30 minutes east of the Greenwich meridian)\n *     If not specified, the timezone of the browser will be used.\n *\n * @example\n\n  The following example shows how to override immediate updates. Changes on the inputs within the\n  form will update the model only when the control loses focus (blur event). If `escape` key is\n  pressed while the input field is focused, the value is reset to the value in the current model.\n\n  <example name=\"ngModelOptions-directive-blur\" module=\"optionsExample\">\n    <file name=\"index.html\">\n      <div ng-controller=\"ExampleController\">\n        <form name=\"userForm\">\n          <label>Name:\n            <input type=\"text\" name=\"userName\"\n                   ng-model=\"user.name\"\n                   ng-model-options=\"{ updateOn: 'blur' }\"\n                   ng-keyup=\"cancel($event)\" />\n          </label><br />\n          <label>Other data:\n            <input type=\"text\" ng-model=\"user.data\" />\n          </label><br />\n        </form>\n        <pre>user.name = <span ng-bind=\"user.name\"></span></pre>\n        <pre>user.data = <span ng-bind=\"user.data\"></span></pre>\n      </div>\n    </file>\n    <file name=\"app.js\">\n      angular.module('optionsExample', [])\n        .controller('ExampleController', ['$scope', function($scope) {\n          $scope.user = { name: 'John', data: '' };\n\n          $scope.cancel = function(e) {\n            if (e.keyCode == 27) {\n              $scope.userForm.userName.$rollbackViewValue();\n            }\n          };\n        }]);\n    </file>\n    <file name=\"protractor.js\" type=\"protractor\">\n      var model = element(by.binding('user.name'));\n      var input = element(by.model('user.name'));\n      var other = element(by.model('user.data'));\n\n      it('should allow custom events', function() {\n        input.sendKeys(' Doe');\n        input.click();\n        expect(model.getText()).toEqual('John');\n        other.click();\n        expect(model.getText()).toEqual('John Doe');\n      });\n\n      it('should $rollbackViewValue when model changes', function() {\n        input.sendKeys(' Doe');\n        expect(input.getAttribute('value')).toEqual('John Doe');\n        input.sendKeys(protractor.Key.ESCAPE);\n        expect(input.getAttribute('value')).toEqual('John');\n        other.click();\n        expect(model.getText()).toEqual('John');\n      });\n    </file>\n  </example>\n\n  This one shows how to debounce model changes. Model will be updated only 1 sec after last change.\n  If the `Clear` button is pressed, any debounced action is canceled and the value becomes empty.\n\n  <example name=\"ngModelOptions-directive-debounce\" module=\"optionsExample\">\n    <file name=\"index.html\">\n      <div ng-controller=\"ExampleController\">\n        <form name=\"userForm\">\n          <label>Name:\n            <input type=\"text\" name=\"userName\"\n                   ng-model=\"user.name\"\n                   ng-model-options=\"{ debounce: 1000 }\" />\n          </label>\n          <button ng-click=\"userForm.userName.$rollbackViewValue(); user.name=''\">Clear</button>\n          <br />\n        </form>\n        <pre>user.name = <span ng-bind=\"user.name\"></span></pre>\n      </div>\n    </file>\n    <file name=\"app.js\">\n      angular.module('optionsExample', [])\n        .controller('ExampleController', ['$scope', function($scope) {\n          $scope.user = { name: 'Igor' };\n        }]);\n    </file>\n  </example>\n\n  This one shows how to bind to getter/setters:\n\n  <example name=\"ngModelOptions-directive-getter-setter\" module=\"getterSetterExample\">\n    <file name=\"index.html\">\n      <div ng-controller=\"ExampleController\">\n        <form name=\"userForm\">\n          <label>Name:\n            <input type=\"text\" name=\"userName\"\n                   ng-model=\"user.name\"\n                   ng-model-options=\"{ getterSetter: true }\" />\n          </label>\n        </form>\n        <pre>user.name = <span ng-bind=\"user.name()\"></span></pre>\n      </div>\n    </file>\n    <file name=\"app.js\">\n      angular.module('getterSetterExample', [])\n        .controller('ExampleController', ['$scope', function($scope) {\n          var _name = 'Brian';\n          $scope.user = {\n            name: function(newName) {\n              // Note that newName can be undefined for two reasons:\n              // 1. Because it is called as a getter and thus called with no arguments\n              // 2. Because the property should actually be set to undefined. This happens e.g. if the\n              //    input is invalid\n              return arguments.length ? (_name = newName) : _name;\n            }\n          };\n        }]);\n    </file>\n  </example>\n */\nvar ngModelOptionsDirective = function() {\n  return {\n    restrict: 'A',\n    controller: ['$scope', '$attrs', function($scope, $attrs) {\n      var that = this;\n      this.$options = copy($scope.$eval($attrs.ngModelOptions));\n      // Allow adding/overriding bound events\n      if (isDefined(this.$options.updateOn)) {\n        this.$options.updateOnDefault = false;\n        // extract \"default\" pseudo-event from list of events that can trigger a model update\n        this.$options.updateOn = trim(this.$options.updateOn.replace(DEFAULT_REGEXP, function() {\n          that.$options.updateOnDefault = true;\n          return ' ';\n        }));\n      } else {\n        this.$options.updateOnDefault = true;\n      }\n    }]\n  };\n};\n\n\n\n// helper methods\nfunction addSetValidityMethod(context) {\n  var ctrl = context.ctrl,\n      $element = context.$element,\n      classCache = {},\n      set = context.set,\n      unset = context.unset,\n      $animate = context.$animate;\n\n  classCache[INVALID_CLASS] = !(classCache[VALID_CLASS] = $element.hasClass(VALID_CLASS));\n\n  ctrl.$setValidity = setValidity;\n\n  function setValidity(validationErrorKey, state, controller) {\n    if (isUndefined(state)) {\n      createAndSet('$pending', validationErrorKey, controller);\n    } else {\n      unsetAndCleanup('$pending', validationErrorKey, controller);\n    }\n    if (!isBoolean(state)) {\n      unset(ctrl.$error, validationErrorKey, controller);\n      unset(ctrl.$$success, validationErrorKey, controller);\n    } else {\n      if (state) {\n        unset(ctrl.$error, validationErrorKey, controller);\n        set(ctrl.$$success, validationErrorKey, controller);\n      } else {\n        set(ctrl.$error, validationErrorKey, controller);\n        unset(ctrl.$$success, validationErrorKey, controller);\n      }\n    }\n    if (ctrl.$pending) {\n      cachedToggleClass(PENDING_CLASS, true);\n      ctrl.$valid = ctrl.$invalid = undefined;\n      toggleValidationCss('', null);\n    } else {\n      cachedToggleClass(PENDING_CLASS, false);\n      ctrl.$valid = isObjectEmpty(ctrl.$error);\n      ctrl.$invalid = !ctrl.$valid;\n      toggleValidationCss('', ctrl.$valid);\n    }\n\n    // re-read the state as the set/unset methods could have\n    // combined state in ctrl.$error[validationError] (used for forms),\n    // where setting/unsetting only increments/decrements the value,\n    // and does not replace it.\n    var combinedState;\n    if (ctrl.$pending && ctrl.$pending[validationErrorKey]) {\n      combinedState = undefined;\n    } else if (ctrl.$error[validationErrorKey]) {\n      combinedState = false;\n    } else if (ctrl.$$success[validationErrorKey]) {\n      combinedState = true;\n    } else {\n      combinedState = null;\n    }\n\n    toggleValidationCss(validationErrorKey, combinedState);\n    ctrl.$$parentForm.$setValidity(validationErrorKey, combinedState, ctrl);\n  }\n\n  function createAndSet(name, value, controller) {\n    if (!ctrl[name]) {\n      ctrl[name] = {};\n    }\n    set(ctrl[name], value, controller);\n  }\n\n  function unsetAndCleanup(name, value, controller) {\n    if (ctrl[name]) {\n      unset(ctrl[name], value, controller);\n    }\n    if (isObjectEmpty(ctrl[name])) {\n      ctrl[name] = undefined;\n    }\n  }\n\n  function cachedToggleClass(className, switchValue) {\n    if (switchValue && !classCache[className]) {\n      $animate.addClass($element, className);\n      classCache[className] = true;\n    } else if (!switchValue && classCache[className]) {\n      $animate.removeClass($element, className);\n      classCache[className] = false;\n    }\n  }\n\n  function toggleValidationCss(validationErrorKey, isValid) {\n    validationErrorKey = validationErrorKey ? '-' + snake_case(validationErrorKey, '-') : '';\n\n    cachedToggleClass(VALID_CLASS + validationErrorKey, isValid === true);\n    cachedToggleClass(INVALID_CLASS + validationErrorKey, isValid === false);\n  }\n}\n\nfunction isObjectEmpty(obj) {\n  if (obj) {\n    for (var prop in obj) {\n      if (obj.hasOwnProperty(prop)) {\n        return false;\n      }\n    }\n  }\n  return true;\n}\n\n/**\n * @ngdoc directive\n * @name ngNonBindable\n * @restrict AC\n * @priority 1000\n *\n * @description\n * The `ngNonBindable` directive tells Angular not to compile or bind the contents of the current\n * DOM element. This is useful if the element contains what appears to be Angular directives and\n * bindings but which should be ignored by Angular. This could be the case if you have a site that\n * displays snippets of code, for instance.\n *\n * @element ANY\n *\n * @example\n * In this example there are two locations where a simple interpolation binding (`{{}}`) is present,\n * but the one wrapped in `ngNonBindable` is left alone.\n *\n * @example\n    <example>\n      <file name=\"index.html\">\n        <div>Normal: {{1 + 2}}</div>\n        <div ng-non-bindable>Ignored: {{1 + 2}}</div>\n      </file>\n      <file name=\"protractor.js\" type=\"protractor\">\n       it('should check ng-non-bindable', function() {\n         expect(element(by.binding('1 + 2')).getText()).toContain('3');\n         expect(element.all(by.css('div')).last().getText()).toMatch(/1 \\+ 2/);\n       });\n      </file>\n    </example>\n */\nvar ngNonBindableDirective = ngDirective({ terminal: true, priority: 1000 });\n\n/* global jqLiteRemove */\n\nvar ngOptionsMinErr = minErr('ngOptions');\n\n/**\n * @ngdoc directive\n * @name ngOptions\n * @restrict A\n *\n * @description\n *\n * The `ngOptions` attribute can be used to dynamically generate a list of `<option>`\n * elements for the `<select>` element using the array or object obtained by evaluating the\n * `ngOptions` comprehension expression.\n *\n * In many cases, `ngRepeat` can be used on `<option>` elements instead of `ngOptions` to achieve a\n * similar result. However, `ngOptions` provides some benefits such as reducing memory and\n * increasing speed by not creating a new scope for each repeated instance, as well as providing\n * more flexibility in how the `<select>`'s model is assigned via the `select` **`as`** part of the\n * comprehension expression. `ngOptions` should be used when the `<select>` model needs to be bound\n *  to a non-string value. This is because an option element can only be bound to string values at\n * present.\n *\n * When an item in the `<select>` menu is selected, the array element or object property\n * represented by the selected option will be bound to the model identified by the `ngModel`\n * directive.\n *\n * Optionally, a single hard-coded `<option>` element, with the value set to an empty string, can\n * be nested into the `<select>` element. This element will then represent the `null` or \"not selected\"\n * option. See example below for demonstration.\n *\n * ## Complex Models (objects or collections)\n *\n * By default, `ngModel` watches the model by reference, not value. This is important to know when\n * binding the select to a model that is an object or a collection.\n *\n * One issue occurs if you want to preselect an option. For example, if you set\n * the model to an object that is equal to an object in your collection, `ngOptions` won't be able to set the selection,\n * because the objects are not identical. So by default, you should always reference the item in your collection\n * for preselections, e.g.: `$scope.selected = $scope.collection[3]`.\n *\n * Another solution is to use a `track by` clause, because then `ngOptions` will track the identity\n * of the item not by reference, but by the result of the `track by` expression. For example, if your\n * collection items have an id property, you would `track by item.id`.\n *\n * A different issue with objects or collections is that ngModel won't detect if an object property or\n * a collection item changes. For that reason, `ngOptions` additionally watches the model using\n * `$watchCollection`, when the expression contains a `track by` clause or the the select has the `multiple` attribute.\n * This allows ngOptions to trigger a re-rendering of the options even if the actual object/collection\n * has not changed identity, but only a property on the object or an item in the collection changes.\n *\n * Note that `$watchCollection` does a shallow comparison of the properties of the object (or the items in the collection\n * if the model is an array). This means that changing a property deeper than the first level inside the\n * object/collection will not trigger a re-rendering.\n *\n * ## `select` **`as`**\n *\n * Using `select` **`as`** will bind the result of the `select` expression to the model, but\n * the value of the `<select>` and `<option>` html elements will be either the index (for array data sources)\n * or property name (for object data sources) of the value within the collection. If a **`track by`** expression\n * is used, the result of that expression will be set as the value of the `option` and `select` elements.\n *\n *\n * ### `select` **`as`** and **`track by`**\n *\n * <div class=\"alert alert-warning\">\n * Be careful when using `select` **`as`** and **`track by`** in the same expression.\n * </div>\n *\n * Given this array of items on the $scope:\n *\n * ```js\n * $scope.items = [{\n *   id: 1,\n *   label: 'aLabel',\n *   subItem: { name: 'aSubItem' }\n * }, {\n *   id: 2,\n *   label: 'bLabel',\n *   subItem: { name: 'bSubItem' }\n * }];\n * ```\n *\n * This will work:\n *\n * ```html\n * <select ng-options=\"item as item.label for item in items track by item.id\" ng-model=\"selected\"></select>\n * ```\n * ```js\n * $scope.selected = $scope.items[0];\n * ```\n *\n * but this will not work:\n *\n * ```html\n * <select ng-options=\"item.subItem as item.label for item in items track by item.id\" ng-model=\"selected\"></select>\n * ```\n * ```js\n * $scope.selected = $scope.items[0].subItem;\n * ```\n *\n * In both examples, the **`track by`** expression is applied successfully to each `item` in the\n * `items` array. Because the selected option has been set programmatically in the controller, the\n * **`track by`** expression is also applied to the `ngModel` value. In the first example, the\n * `ngModel` value is `items[0]` and the **`track by`** expression evaluates to `items[0].id` with\n * no issue. In the second example, the `ngModel` value is `items[0].subItem` and the **`track by`**\n * expression evaluates to `items[0].subItem.id` (which is undefined). As a result, the model value\n * is not matched against any `<option>` and the `<select>` appears as having no selected value.\n *\n *\n * @param {string} ngModel Assignable angular expression to data-bind to.\n * @param {string=} name Property name of the form under which the control is published.\n * @param {string=} required The control is considered valid only if value is entered.\n * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n *    the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n *    `required` when you want to data-bind to the `required` attribute.\n * @param {comprehension_expression=} ngOptions in one of the following forms:\n *\n *   * for array data sources:\n *     * `label` **`for`** `value` **`in`** `array`\n *     * `select` **`as`** `label` **`for`** `value` **`in`** `array`\n *     * `label` **`group by`** `group` **`for`** `value` **`in`** `array`\n *     * `label` **`disable when`** `disable` **`for`** `value` **`in`** `array`\n *     * `label` **`group by`** `group` **`for`** `value` **`in`** `array` **`track by`** `trackexpr`\n *     * `label` **`disable when`** `disable` **`for`** `value` **`in`** `array` **`track by`** `trackexpr`\n *     * `label` **`for`** `value` **`in`** `array` | orderBy:`orderexpr` **`track by`** `trackexpr`\n *        (for including a filter with `track by`)\n *   * for object data sources:\n *     * `label` **`for (`**`key` **`,`** `value`**`) in`** `object`\n *     * `select` **`as`** `label` **`for (`**`key` **`,`** `value`**`) in`** `object`\n *     * `label` **`group by`** `group` **`for (`**`key`**`,`** `value`**`) in`** `object`\n *     * `label` **`disable when`** `disable` **`for (`**`key`**`,`** `value`**`) in`** `object`\n *     * `select` **`as`** `label` **`group by`** `group`\n *         **`for` `(`**`key`**`,`** `value`**`) in`** `object`\n *     * `select` **`as`** `label` **`disable when`** `disable`\n *         **`for` `(`**`key`**`,`** `value`**`) in`** `object`\n *\n * Where:\n *\n *   * `array` / `object`: an expression which evaluates to an array / object to iterate over.\n *   * `value`: local variable which will refer to each item in the `array` or each property value\n *      of `object` during iteration.\n *   * `key`: local variable which will refer to a property name in `object` during iteration.\n *   * `label`: The result of this expression will be the label for `<option>` element. The\n *     `expression` will most likely refer to the `value` variable (e.g. `value.propertyName`).\n *   * `select`: The result of this expression will be bound to the model of the parent `<select>`\n *      element. If not specified, `select` expression will default to `value`.\n *   * `group`: The result of this expression will be used to group options using the `<optgroup>`\n *      DOM element.\n *   * `disable`: The result of this expression will be used to disable the rendered `<option>`\n *      element. Return `true` to disable.\n *   * `trackexpr`: Used when working with an array of objects. The result of this expression will be\n *      used to identify the objects in the array. The `trackexpr` will most likely refer to the\n *     `value` variable (e.g. `value.propertyName`). With this the selection is preserved\n *      even when the options are recreated (e.g. reloaded from the server).\n *\n * @example\n    <example module=\"selectExample\">\n      <file name=\"index.html\">\n        <script>\n        angular.module('selectExample', [])\n          .controller('ExampleController', ['$scope', function($scope) {\n            $scope.colors = [\n              {name:'black', shade:'dark'},\n              {name:'white', shade:'light', notAnOption: true},\n              {name:'red', shade:'dark'},\n              {name:'blue', shade:'dark', notAnOption: true},\n              {name:'yellow', shade:'light', notAnOption: false}\n            ];\n            $scope.myColor = $scope.colors[2]; // red\n          }]);\n        </script>\n        <div ng-controller=\"ExampleController\">\n          <ul>\n            <li ng-repeat=\"color in colors\">\n              <label>Name: <input ng-model=\"color.name\"></label>\n              <label><input type=\"checkbox\" ng-model=\"color.notAnOption\"> Disabled?</label>\n              <button ng-click=\"colors.splice($index, 1)\" aria-label=\"Remove\">X</button>\n            </li>\n            <li>\n              <button ng-click=\"colors.push({})\">add</button>\n            </li>\n          </ul>\n          <hr/>\n          <label>Color (null not allowed):\n            <select ng-model=\"myColor\" ng-options=\"color.name for color in colors\"></select>\n          </label><br/>\n          <label>Color (null allowed):\n          <span  class=\"nullable\">\n            <select ng-model=\"myColor\" ng-options=\"color.name for color in colors\">\n              <option value=\"\">-- choose color --</option>\n            </select>\n          </span></label><br/>\n\n          <label>Color grouped by shade:\n            <select ng-model=\"myColor\" ng-options=\"color.name group by color.shade for color in colors\">\n            </select>\n          </label><br/>\n\n          <label>Color grouped by shade, with some disabled:\n            <select ng-model=\"myColor\"\n                  ng-options=\"color.name group by color.shade disable when color.notAnOption for color in colors\">\n            </select>\n          </label><br/>\n\n\n\n          Select <button ng-click=\"myColor = { name:'not in list', shade: 'other' }\">bogus</button>.\n          <br/>\n          <hr/>\n          Currently selected: {{ {selected_color:myColor} }}\n          <div style=\"border:solid 1px black; height:20px\"\n               ng-style=\"{'background-color':myColor.name}\">\n          </div>\n        </div>\n      </file>\n      <file name=\"protractor.js\" type=\"protractor\">\n         it('should check ng-options', function() {\n           expect(element(by.binding('{selected_color:myColor}')).getText()).toMatch('red');\n           element.all(by.model('myColor')).first().click();\n           element.all(by.css('select[ng-model=\"myColor\"] option')).first().click();\n           expect(element(by.binding('{selected_color:myColor}')).getText()).toMatch('black');\n           element(by.css('.nullable select[ng-model=\"myColor\"]')).click();\n           element.all(by.css('.nullable select[ng-model=\"myColor\"] option')).first().click();\n           expect(element(by.binding('{selected_color:myColor}')).getText()).toMatch('null');\n         });\n      </file>\n    </example>\n */\n\n// jshint maxlen: false\n//                     //00001111111111000000000002222222222000000000000000000000333333333300000000000000000000000004444444444400000000000005555555555555550000000006666666666666660000000777777777777777000000000000000888888888800000000000000000009999999999\nvar NG_OPTIONS_REGEXP = /^\\s*([\\s\\S]+?)(?:\\s+as\\s+([\\s\\S]+?))?(?:\\s+group\\s+by\\s+([\\s\\S]+?))?(?:\\s+disable\\s+when\\s+([\\s\\S]+?))?\\s+for\\s+(?:([\\$\\w][\\$\\w]*)|(?:\\(\\s*([\\$\\w][\\$\\w]*)\\s*,\\s*([\\$\\w][\\$\\w]*)\\s*\\)))\\s+in\\s+([\\s\\S]+?)(?:\\s+track\\s+by\\s+([\\s\\S]+?))?$/;\n                        // 1: value expression (valueFn)\n                        // 2: label expression (displayFn)\n                        // 3: group by expression (groupByFn)\n                        // 4: disable when expression (disableWhenFn)\n                        // 5: array item variable name\n                        // 6: object item key variable name\n                        // 7: object item value variable name\n                        // 8: collection expression\n                        // 9: track by expression\n// jshint maxlen: 100\n\n\nvar ngOptionsDirective = ['$compile', '$parse', function($compile, $parse) {\n\n  function parseOptionsExpression(optionsExp, selectElement, scope) {\n\n    var match = optionsExp.match(NG_OPTIONS_REGEXP);\n    if (!(match)) {\n      throw ngOptionsMinErr('iexp',\n        \"Expected expression in form of \" +\n        \"'_select_ (as _label_)? for (_key_,)?_value_ in _collection_'\" +\n        \" but got '{0}'. Element: {1}\",\n        optionsExp, startingTag(selectElement));\n    }\n\n    // Extract the parts from the ngOptions expression\n\n    // The variable name for the value of the item in the collection\n    var valueName = match[5] || match[7];\n    // The variable name for the key of the item in the collection\n    var keyName = match[6];\n\n    // An expression that generates the viewValue for an option if there is a label expression\n    var selectAs = / as /.test(match[0]) && match[1];\n    // An expression that is used to track the id of each object in the options collection\n    var trackBy = match[9];\n    // An expression that generates the viewValue for an option if there is no label expression\n    var valueFn = $parse(match[2] ? match[1] : valueName);\n    var selectAsFn = selectAs && $parse(selectAs);\n    var viewValueFn = selectAsFn || valueFn;\n    var trackByFn = trackBy && $parse(trackBy);\n\n    // Get the value by which we are going to track the option\n    // if we have a trackFn then use that (passing scope and locals)\n    // otherwise just hash the given viewValue\n    var getTrackByValueFn = trackBy ?\n                              function(value, locals) { return trackByFn(scope, locals); } :\n                              function getHashOfValue(value) { return hashKey(value); };\n    var getTrackByValue = function(value, key) {\n      return getTrackByValueFn(value, getLocals(value, key));\n    };\n\n    var displayFn = $parse(match[2] || match[1]);\n    var groupByFn = $parse(match[3] || '');\n    var disableWhenFn = $parse(match[4] || '');\n    var valuesFn = $parse(match[8]);\n\n    var locals = {};\n    var getLocals = keyName ? function(value, key) {\n      locals[keyName] = key;\n      locals[valueName] = value;\n      return locals;\n    } : function(value) {\n      locals[valueName] = value;\n      return locals;\n    };\n\n\n    function Option(selectValue, viewValue, label, group, disabled) {\n      this.selectValue = selectValue;\n      this.viewValue = viewValue;\n      this.label = label;\n      this.group = group;\n      this.disabled = disabled;\n    }\n\n    function getOptionValuesKeys(optionValues) {\n      var optionValuesKeys;\n\n      if (!keyName && isArrayLike(optionValues)) {\n        optionValuesKeys = optionValues;\n      } else {\n        // if object, extract keys, in enumeration order, unsorted\n        optionValuesKeys = [];\n        for (var itemKey in optionValues) {\n          if (optionValues.hasOwnProperty(itemKey) && itemKey.charAt(0) !== '$') {\n            optionValuesKeys.push(itemKey);\n          }\n        }\n      }\n      return optionValuesKeys;\n    }\n\n    return {\n      trackBy: trackBy,\n      getTrackByValue: getTrackByValue,\n      getWatchables: $parse(valuesFn, function(optionValues) {\n        // Create a collection of things that we would like to watch (watchedArray)\n        // so that they can all be watched using a single $watchCollection\n        // that only runs the handler once if anything changes\n        var watchedArray = [];\n        optionValues = optionValues || [];\n\n        var optionValuesKeys = getOptionValuesKeys(optionValues);\n        var optionValuesLength = optionValuesKeys.length;\n        for (var index = 0; index < optionValuesLength; index++) {\n          var key = (optionValues === optionValuesKeys) ? index : optionValuesKeys[index];\n          var value = optionValues[key];\n\n          var locals = getLocals(optionValues[key], key);\n          var selectValue = getTrackByValueFn(optionValues[key], locals);\n          watchedArray.push(selectValue);\n\n          // Only need to watch the displayFn if there is a specific label expression\n          if (match[2] || match[1]) {\n            var label = displayFn(scope, locals);\n            watchedArray.push(label);\n          }\n\n          // Only need to watch the disableWhenFn if there is a specific disable expression\n          if (match[4]) {\n            var disableWhen = disableWhenFn(scope, locals);\n            watchedArray.push(disableWhen);\n          }\n        }\n        return watchedArray;\n      }),\n\n      getOptions: function() {\n\n        var optionItems = [];\n        var selectValueMap = {};\n\n        // The option values were already computed in the `getWatchables` fn,\n        // which must have been called to trigger `getOptions`\n        var optionValues = valuesFn(scope) || [];\n        var optionValuesKeys = getOptionValuesKeys(optionValues);\n        var optionValuesLength = optionValuesKeys.length;\n\n        for (var index = 0; index < optionValuesLength; index++) {\n          var key = (optionValues === optionValuesKeys) ? index : optionValuesKeys[index];\n          var value = optionValues[key];\n          var locals = getLocals(value, key);\n          var viewValue = viewValueFn(scope, locals);\n          var selectValue = getTrackByValueFn(viewValue, locals);\n          var label = displayFn(scope, locals);\n          var group = groupByFn(scope, locals);\n          var disabled = disableWhenFn(scope, locals);\n          var optionItem = new Option(selectValue, viewValue, label, group, disabled);\n\n          optionItems.push(optionItem);\n          selectValueMap[selectValue] = optionItem;\n        }\n\n        return {\n          items: optionItems,\n          selectValueMap: selectValueMap,\n          getOptionFromViewValue: function(value) {\n            return selectValueMap[getTrackByValue(value)];\n          },\n          getViewValueFromOption: function(option) {\n            // If the viewValue could be an object that may be mutated by the application,\n            // we need to make a copy and not return the reference to the value on the option.\n            return trackBy ? angular.copy(option.viewValue) : option.viewValue;\n          }\n        };\n      }\n    };\n  }\n\n\n  // we can't just jqLite('<option>') since jqLite is not smart enough\n  // to create it in <select> and IE barfs otherwise.\n  var optionTemplate = document.createElement('option'),\n      optGroupTemplate = document.createElement('optgroup');\n\n\n    function ngOptionsPostLink(scope, selectElement, attr, ctrls) {\n\n      // if ngModel is not defined, we don't need to do anything\n      var ngModelCtrl = ctrls[1];\n      if (!ngModelCtrl) return;\n\n      var selectCtrl = ctrls[0];\n      var multiple = attr.multiple;\n\n      // The emptyOption allows the application developer to provide their own custom \"empty\"\n      // option when the viewValue does not match any of the option values.\n      var emptyOption;\n      for (var i = 0, children = selectElement.children(), ii = children.length; i < ii; i++) {\n        if (children[i].value === '') {\n          emptyOption = children.eq(i);\n          break;\n        }\n      }\n\n      var providedEmptyOption = !!emptyOption;\n\n      var unknownOption = jqLite(optionTemplate.cloneNode(false));\n      unknownOption.val('?');\n\n      var options;\n      var ngOptions = parseOptionsExpression(attr.ngOptions, selectElement, scope);\n\n\n      var renderEmptyOption = function() {\n        if (!providedEmptyOption) {\n          selectElement.prepend(emptyOption);\n        }\n        selectElement.val('');\n        emptyOption.prop('selected', true); // needed for IE\n        emptyOption.attr('selected', true);\n      };\n\n      var removeEmptyOption = function() {\n        if (!providedEmptyOption) {\n          emptyOption.remove();\n        }\n      };\n\n\n      var renderUnknownOption = function() {\n        selectElement.prepend(unknownOption);\n        selectElement.val('?');\n        unknownOption.prop('selected', true); // needed for IE\n        unknownOption.attr('selected', true);\n      };\n\n      var removeUnknownOption = function() {\n        unknownOption.remove();\n      };\n\n      // Update the controller methods for multiple selectable options\n      if (!multiple) {\n\n        selectCtrl.writeValue = function writeNgOptionsValue(value) {\n          var option = options.getOptionFromViewValue(value);\n\n          if (option && !option.disabled) {\n            if (selectElement[0].value !== option.selectValue) {\n              removeUnknownOption();\n              removeEmptyOption();\n\n              selectElement[0].value = option.selectValue;\n              option.element.selected = true;\n              option.element.setAttribute('selected', 'selected');\n            }\n          } else {\n            if (value === null || providedEmptyOption) {\n              removeUnknownOption();\n              renderEmptyOption();\n            } else {\n              removeEmptyOption();\n              renderUnknownOption();\n            }\n          }\n        };\n\n        selectCtrl.readValue = function readNgOptionsValue() {\n\n          var selectedOption = options.selectValueMap[selectElement.val()];\n\n          if (selectedOption && !selectedOption.disabled) {\n            removeEmptyOption();\n            removeUnknownOption();\n            return options.getViewValueFromOption(selectedOption);\n          }\n          return null;\n        };\n\n        // If we are using `track by` then we must watch the tracked value on the model\n        // since ngModel only watches for object identity change\n        if (ngOptions.trackBy) {\n          scope.$watch(\n            function() { return ngOptions.getTrackByValue(ngModelCtrl.$viewValue); },\n            function() { ngModelCtrl.$render(); }\n          );\n        }\n\n      } else {\n\n        ngModelCtrl.$isEmpty = function(value) {\n          return !value || value.length === 0;\n        };\n\n\n        selectCtrl.writeValue = function writeNgOptionsMultiple(value) {\n          options.items.forEach(function(option) {\n            option.element.selected = false;\n          });\n\n          if (value) {\n            value.forEach(function(item) {\n              var option = options.getOptionFromViewValue(item);\n              if (option && !option.disabled) option.element.selected = true;\n            });\n          }\n        };\n\n\n        selectCtrl.readValue = function readNgOptionsMultiple() {\n          var selectedValues = selectElement.val() || [],\n              selections = [];\n\n          forEach(selectedValues, function(value) {\n            var option = options.selectValueMap[value];\n            if (option && !option.disabled) selections.push(options.getViewValueFromOption(option));\n          });\n\n          return selections;\n        };\n\n        // If we are using `track by` then we must watch these tracked values on the model\n        // since ngModel only watches for object identity change\n        if (ngOptions.trackBy) {\n\n          scope.$watchCollection(function() {\n            if (isArray(ngModelCtrl.$viewValue)) {\n              return ngModelCtrl.$viewValue.map(function(value) {\n                return ngOptions.getTrackByValue(value);\n              });\n            }\n          }, function() {\n            ngModelCtrl.$render();\n          });\n\n        }\n      }\n\n\n      if (providedEmptyOption) {\n\n        // we need to remove it before calling selectElement.empty() because otherwise IE will\n        // remove the label from the element. wtf?\n        emptyOption.remove();\n\n        // compile the element since there might be bindings in it\n        $compile(emptyOption)(scope);\n\n        // remove the class, which is added automatically because we recompile the element and it\n        // becomes the compilation root\n        emptyOption.removeClass('ng-scope');\n      } else {\n        emptyOption = jqLite(optionTemplate.cloneNode(false));\n      }\n\n      // We need to do this here to ensure that the options object is defined\n      // when we first hit it in writeNgOptionsValue\n      updateOptions();\n\n      // We will re-render the option elements if the option values or labels change\n      scope.$watchCollection(ngOptions.getWatchables, updateOptions);\n\n      // ------------------------------------------------------------------ //\n\n\n      function updateOptionElement(option, element) {\n        option.element = element;\n        element.disabled = option.disabled;\n        // NOTE: The label must be set before the value, otherwise IE10/11/EDGE create unresponsive\n        // selects in certain circumstances when multiple selects are next to each other and display\n        // the option list in listbox style, i.e. the select is [multiple], or specifies a [size].\n        // See https://github.com/angular/angular.js/issues/11314 for more info.\n        // This is unfortunately untestable with unit / e2e tests\n        if (option.label !== element.label) {\n          element.label = option.label;\n          element.textContent = option.label;\n        }\n        if (option.value !== element.value) element.value = option.selectValue;\n      }\n\n      function addOrReuseElement(parent, current, type, templateElement) {\n        var element;\n        // Check whether we can reuse the next element\n        if (current && lowercase(current.nodeName) === type) {\n          // The next element is the right type so reuse it\n          element = current;\n        } else {\n          // The next element is not the right type so create a new one\n          element = templateElement.cloneNode(false);\n          if (!current) {\n            // There are no more elements so just append it to the select\n            parent.appendChild(element);\n          } else {\n            // The next element is not a group so insert the new one\n            parent.insertBefore(element, current);\n          }\n        }\n        return element;\n      }\n\n\n      function removeExcessElements(current) {\n        var next;\n        while (current) {\n          next = current.nextSibling;\n          jqLiteRemove(current);\n          current = next;\n        }\n      }\n\n\n      function skipEmptyAndUnknownOptions(current) {\n        var emptyOption_ = emptyOption && emptyOption[0];\n        var unknownOption_ = unknownOption && unknownOption[0];\n\n        // We cannot rely on the extracted empty option being the same as the compiled empty option,\n        // because the compiled empty option might have been replaced by a comment because\n        // it had an \"element\" transclusion directive on it (such as ngIf)\n        if (emptyOption_ || unknownOption_) {\n          while (current &&\n                (current === emptyOption_ ||\n                current === unknownOption_ ||\n                current.nodeType === NODE_TYPE_COMMENT ||\n                current.value === '')) {\n            current = current.nextSibling;\n          }\n        }\n        return current;\n      }\n\n\n      function updateOptions() {\n\n        var previousValue = options && selectCtrl.readValue();\n\n        options = ngOptions.getOptions();\n\n        var groupMap = {};\n        var currentElement = selectElement[0].firstChild;\n\n        // Ensure that the empty option is always there if it was explicitly provided\n        if (providedEmptyOption) {\n          selectElement.prepend(emptyOption);\n        }\n\n        currentElement = skipEmptyAndUnknownOptions(currentElement);\n\n        options.items.forEach(function updateOption(option) {\n          var group;\n          var groupElement;\n          var optionElement;\n\n          if (option.group) {\n\n            // This option is to live in a group\n            // See if we have already created this group\n            group = groupMap[option.group];\n\n            if (!group) {\n\n              // We have not already created this group\n              groupElement = addOrReuseElement(selectElement[0],\n                                               currentElement,\n                                               'optgroup',\n                                               optGroupTemplate);\n              // Move to the next element\n              currentElement = groupElement.nextSibling;\n\n              // Update the label on the group element\n              groupElement.label = option.group;\n\n              // Store it for use later\n              group = groupMap[option.group] = {\n                groupElement: groupElement,\n                currentOptionElement: groupElement.firstChild\n              };\n\n            }\n\n            // So now we have a group for this option we add the option to the group\n            optionElement = addOrReuseElement(group.groupElement,\n                                              group.currentOptionElement,\n                                              'option',\n                                              optionTemplate);\n            updateOptionElement(option, optionElement);\n            // Move to the next element\n            group.currentOptionElement = optionElement.nextSibling;\n\n          } else {\n\n            // This option is not in a group\n            optionElement = addOrReuseElement(selectElement[0],\n                                              currentElement,\n                                              'option',\n                                              optionTemplate);\n            updateOptionElement(option, optionElement);\n            // Move to the next element\n            currentElement = optionElement.nextSibling;\n          }\n        });\n\n\n        // Now remove all excess options and group\n        Object.keys(groupMap).forEach(function(key) {\n          removeExcessElements(groupMap[key].currentOptionElement);\n        });\n        removeExcessElements(currentElement);\n\n        ngModelCtrl.$render();\n\n        // Check to see if the value has changed due to the update to the options\n        if (!ngModelCtrl.$isEmpty(previousValue)) {\n          var nextValue = selectCtrl.readValue();\n          if (ngOptions.trackBy ? !equals(previousValue, nextValue) : previousValue !== nextValue) {\n            ngModelCtrl.$setViewValue(nextValue);\n            ngModelCtrl.$render();\n          }\n        }\n\n      }\n  }\n\n  return {\n    restrict: 'A',\n    terminal: true,\n    require: ['select', '?ngModel'],\n    link: {\n      pre: function ngOptionsPreLink(scope, selectElement, attr, ctrls) {\n        // Deactivate the SelectController.register method to prevent\n        // option directives from accidentally registering themselves\n        // (and unwanted $destroy handlers etc.)\n        ctrls[0].registerOption = noop;\n      },\n      post: ngOptionsPostLink\n    }\n  };\n}];\n\n/**\n * @ngdoc directive\n * @name ngPluralize\n * @restrict EA\n *\n * @description\n * `ngPluralize` is a directive that displays messages according to en-US localization rules.\n * These rules are bundled with angular.js, but can be overridden\n * (see {@link guide/i18n Angular i18n} dev guide). You configure ngPluralize directive\n * by specifying the mappings between\n * [plural categories](http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html)\n * and the strings to be displayed.\n *\n * # Plural categories and explicit number rules\n * There are two\n * [plural categories](http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html)\n * in Angular's default en-US locale: \"one\" and \"other\".\n *\n * While a plural category may match many numbers (for example, in en-US locale, \"other\" can match\n * any number that is not 1), an explicit number rule can only match one number. For example, the\n * explicit number rule for \"3\" matches the number 3. There are examples of plural categories\n * and explicit number rules throughout the rest of this documentation.\n *\n * # Configuring ngPluralize\n * You configure ngPluralize by providing 2 attributes: `count` and `when`.\n * You can also provide an optional attribute, `offset`.\n *\n * The value of the `count` attribute can be either a string or an {@link guide/expression\n * Angular expression}; these are evaluated on the current scope for its bound value.\n *\n * The `when` attribute specifies the mappings between plural categories and the actual\n * string to be displayed. The value of the attribute should be a JSON object.\n *\n * The following example shows how to configure ngPluralize:\n *\n * ```html\n * <ng-pluralize count=\"personCount\"\n                 when=\"{'0': 'Nobody is viewing.',\n *                      'one': '1 person is viewing.',\n *                      'other': '{} people are viewing.'}\">\n * </ng-pluralize>\n *```\n *\n * In the example, `\"0: Nobody is viewing.\"` is an explicit number rule. If you did not\n * specify this rule, 0 would be matched to the \"other\" category and \"0 people are viewing\"\n * would be shown instead of \"Nobody is viewing\". You can specify an explicit number rule for\n * other numbers, for example 12, so that instead of showing \"12 people are viewing\", you can\n * show \"a dozen people are viewing\".\n *\n * You can use a set of closed braces (`{}`) as a placeholder for the number that you want substituted\n * into pluralized strings. In the previous example, Angular will replace `{}` with\n * <span ng-non-bindable>`{{personCount}}`</span>. The closed braces `{}` is a placeholder\n * for <span ng-non-bindable>{{numberExpression}}</span>.\n *\n * If no rule is defined for a category, then an empty string is displayed and a warning is generated.\n * Note that some locales define more categories than `one` and `other`. For example, fr-fr defines `few` and `many`.\n *\n * # Configuring ngPluralize with offset\n * The `offset` attribute allows further customization of pluralized text, which can result in\n * a better user experience. For example, instead of the message \"4 people are viewing this document\",\n * you might display \"John, Kate and 2 others are viewing this document\".\n * The offset attribute allows you to offset a number by any desired value.\n * Let's take a look at an example:\n *\n * ```html\n * <ng-pluralize count=\"personCount\" offset=2\n *               when=\"{'0': 'Nobody is viewing.',\n *                      '1': '{{person1}} is viewing.',\n *                      '2': '{{person1}} and {{person2}} are viewing.',\n *                      'one': '{{person1}}, {{person2}} and one other person are viewing.',\n *                      'other': '{{person1}}, {{person2}} and {} other people are viewing.'}\">\n * </ng-pluralize>\n * ```\n *\n * Notice that we are still using two plural categories(one, other), but we added\n * three explicit number rules 0, 1 and 2.\n * When one person, perhaps John, views the document, \"John is viewing\" will be shown.\n * When three people view the document, no explicit number rule is found, so\n * an offset of 2 is taken off 3, and Angular uses 1 to decide the plural category.\n * In this case, plural category 'one' is matched and \"John, Mary and one other person are viewing\"\n * is shown.\n *\n * Note that when you specify offsets, you must provide explicit number rules for\n * numbers from 0 up to and including the offset. If you use an offset of 3, for example,\n * you must provide explicit number rules for 0, 1, 2 and 3. You must also provide plural strings for\n * plural categories \"one\" and \"other\".\n *\n * @param {string|expression} count The variable to be bound to.\n * @param {string} when The mapping between plural category to its corresponding strings.\n * @param {number=} offset Offset to deduct from the total number.\n *\n * @example\n    <example module=\"pluralizeExample\">\n      <file name=\"index.html\">\n        <script>\n          angular.module('pluralizeExample', [])\n            .controller('ExampleController', ['$scope', function($scope) {\n              $scope.person1 = 'Igor';\n              $scope.person2 = 'Misko';\n              $scope.personCount = 1;\n            }]);\n        </script>\n        <div ng-controller=\"ExampleController\">\n          <label>Person 1:<input type=\"text\" ng-model=\"person1\" value=\"Igor\" /></label><br/>\n          <label>Person 2:<input type=\"text\" ng-model=\"person2\" value=\"Misko\" /></label><br/>\n          <label>Number of People:<input type=\"text\" ng-model=\"personCount\" value=\"1\" /></label><br/>\n\n          <!--- Example with simple pluralization rules for en locale --->\n          Without Offset:\n          <ng-pluralize count=\"personCount\"\n                        when=\"{'0': 'Nobody is viewing.',\n                               'one': '1 person is viewing.',\n                               'other': '{} people are viewing.'}\">\n          </ng-pluralize><br>\n\n          <!--- Example with offset --->\n          With Offset(2):\n          <ng-pluralize count=\"personCount\" offset=2\n                        when=\"{'0': 'Nobody is viewing.',\n                               '1': '{{person1}} is viewing.',\n                               '2': '{{person1}} and {{person2}} are viewing.',\n                               'one': '{{person1}}, {{person2}} and one other person are viewing.',\n                               'other': '{{person1}}, {{person2}} and {} other people are viewing.'}\">\n          </ng-pluralize>\n        </div>\n      </file>\n      <file name=\"protractor.js\" type=\"protractor\">\n        it('should show correct pluralized string', function() {\n          var withoutOffset = element.all(by.css('ng-pluralize')).get(0);\n          var withOffset = element.all(by.css('ng-pluralize')).get(1);\n          var countInput = element(by.model('personCount'));\n\n          expect(withoutOffset.getText()).toEqual('1 person is viewing.');\n          expect(withOffset.getText()).toEqual('Igor is viewing.');\n\n          countInput.clear();\n          countInput.sendKeys('0');\n\n          expect(withoutOffset.getText()).toEqual('Nobody is viewing.');\n          expect(withOffset.getText()).toEqual('Nobody is viewing.');\n\n          countInput.clear();\n          countInput.sendKeys('2');\n\n          expect(withoutOffset.getText()).toEqual('2 people are viewing.');\n          expect(withOffset.getText()).toEqual('Igor and Misko are viewing.');\n\n          countInput.clear();\n          countInput.sendKeys('3');\n\n          expect(withoutOffset.getText()).toEqual('3 people are viewing.');\n          expect(withOffset.getText()).toEqual('Igor, Misko and one other person are viewing.');\n\n          countInput.clear();\n          countInput.sendKeys('4');\n\n          expect(withoutOffset.getText()).toEqual('4 people are viewing.');\n          expect(withOffset.getText()).toEqual('Igor, Misko and 2 other people are viewing.');\n        });\n        it('should show data-bound names', function() {\n          var withOffset = element.all(by.css('ng-pluralize')).get(1);\n          var personCount = element(by.model('personCount'));\n          var person1 = element(by.model('person1'));\n          var person2 = element(by.model('person2'));\n          personCount.clear();\n          personCount.sendKeys('4');\n          person1.clear();\n          person1.sendKeys('Di');\n          person2.clear();\n          person2.sendKeys('Vojta');\n          expect(withOffset.getText()).toEqual('Di, Vojta and 2 other people are viewing.');\n        });\n      </file>\n    </example>\n */\nvar ngPluralizeDirective = ['$locale', '$interpolate', '$log', function($locale, $interpolate, $log) {\n  var BRACE = /{}/g,\n      IS_WHEN = /^when(Minus)?(.+)$/;\n\n  return {\n    link: function(scope, element, attr) {\n      var numberExp = attr.count,\n          whenExp = attr.$attr.when && element.attr(attr.$attr.when), // we have {{}} in attrs\n          offset = attr.offset || 0,\n          whens = scope.$eval(whenExp) || {},\n          whensExpFns = {},\n          startSymbol = $interpolate.startSymbol(),\n          endSymbol = $interpolate.endSymbol(),\n          braceReplacement = startSymbol + numberExp + '-' + offset + endSymbol,\n          watchRemover = angular.noop,\n          lastCount;\n\n      forEach(attr, function(expression, attributeName) {\n        var tmpMatch = IS_WHEN.exec(attributeName);\n        if (tmpMatch) {\n          var whenKey = (tmpMatch[1] ? '-' : '') + lowercase(tmpMatch[2]);\n          whens[whenKey] = element.attr(attr.$attr[attributeName]);\n        }\n      });\n      forEach(whens, function(expression, key) {\n        whensExpFns[key] = $interpolate(expression.replace(BRACE, braceReplacement));\n\n      });\n\n      scope.$watch(numberExp, function ngPluralizeWatchAction(newVal) {\n        var count = parseFloat(newVal);\n        var countIsNaN = isNaN(count);\n\n        if (!countIsNaN && !(count in whens)) {\n          // If an explicit number rule such as 1, 2, 3... is defined, just use it.\n          // Otherwise, check it against pluralization rules in $locale service.\n          count = $locale.pluralCat(count - offset);\n        }\n\n        // If both `count` and `lastCount` are NaN, we don't need to re-register a watch.\n        // In JS `NaN !== NaN`, so we have to exlicitly check.\n        if ((count !== lastCount) && !(countIsNaN && isNumber(lastCount) && isNaN(lastCount))) {\n          watchRemover();\n          var whenExpFn = whensExpFns[count];\n          if (isUndefined(whenExpFn)) {\n            if (newVal != null) {\n              $log.debug(\"ngPluralize: no rule defined for '\" + count + \"' in \" + whenExp);\n            }\n            watchRemover = noop;\n            updateElementText();\n          } else {\n            watchRemover = scope.$watch(whenExpFn, updateElementText);\n          }\n          lastCount = count;\n        }\n      });\n\n      function updateElementText(newText) {\n        element.text(newText || '');\n      }\n    }\n  };\n}];\n\n/**\n * @ngdoc directive\n * @name ngRepeat\n * @multiElement\n *\n * @description\n * The `ngRepeat` directive instantiates a template once per item from a collection. Each template\n * instance gets its own scope, where the given loop variable is set to the current collection item,\n * and `$index` is set to the item index or key.\n *\n * Special properties are exposed on the local scope of each template instance, including:\n *\n * | Variable  | Type            | Details                                                                     |\n * |-----------|-----------------|-----------------------------------------------------------------------------|\n * | `$index`  | {@type number}  | iterator offset of the repeated element (0..length-1)                       |\n * | `$first`  | {@type boolean} | true if the repeated element is first in the iterator.                      |\n * | `$middle` | {@type boolean} | true if the repeated element is between the first and last in the iterator. |\n * | `$last`   | {@type boolean} | true if the repeated element is last in the iterator.                       |\n * | `$even`   | {@type boolean} | true if the iterator position `$index` is even (otherwise false).           |\n * | `$odd`    | {@type boolean} | true if the iterator position `$index` is odd (otherwise false).            |\n *\n * <div class=\"alert alert-info\">\n *   Creating aliases for these properties is possible with {@link ng.directive:ngInit `ngInit`}.\n *   This may be useful when, for instance, nesting ngRepeats.\n * </div>\n *\n *\n * # Iterating over object properties\n *\n * It is possible to get `ngRepeat` to iterate over the properties of an object using the following\n * syntax:\n *\n * ```js\n * <div ng-repeat=\"(key, value) in myObj\"> ... </div>\n * ```\n *\n * You need to be aware that the JavaScript specification does not define the order of keys\n * returned for an object. (To mitigate this in Angular 1.3 the `ngRepeat` directive\n * used to sort the keys alphabetically.)\n *\n * Version 1.4 removed the alphabetic sorting. We now rely on the order returned by the browser\n * when running `for key in myObj`. It seems that browsers generally follow the strategy of providing\n * keys in the order in which they were defined, although there are exceptions when keys are deleted\n * and reinstated. See the [MDN page on `delete` for more info](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/delete#Cross-browser_notes).\n *\n * If this is not desired, the recommended workaround is to convert your object into an array\n * that is sorted into the order that you prefer before providing it to `ngRepeat`.  You could\n * do this with a filter such as [toArrayFilter](http://ngmodules.org/modules/angular-toArrayFilter)\n * or implement a `$watch` on the object yourself.\n *\n *\n * # Tracking and Duplicates\n *\n * `ngRepeat` uses {@link $rootScope.Scope#$watchCollection $watchCollection} to detect changes in\n * the collection. When a change happens, ngRepeat then makes the corresponding changes to the DOM:\n *\n * * When an item is added, a new instance of the template is added to the DOM.\n * * When an item is removed, its template instance is removed from the DOM.\n * * When items are reordered, their respective templates are reordered in the DOM.\n *\n * To minimize creation of DOM elements, `ngRepeat` uses a function\n * to \"keep track\" of all items in the collection and their corresponding DOM elements.\n * For example, if an item is added to the collection, ngRepeat will know that all other items\n * already have DOM elements, and will not re-render them.\n *\n * The default tracking function (which tracks items by their identity) does not allow\n * duplicate items in arrays. This is because when there are duplicates, it is not possible\n * to maintain a one-to-one mapping between collection items and DOM elements.\n *\n * If you do need to repeat duplicate items, you can substitute the default tracking behavior\n * with your own using the `track by` expression.\n *\n * For example, you may track items by the index of each item in the collection, using the\n * special scope property `$index`:\n * ```html\n *    <div ng-repeat=\"n in [42, 42, 43, 43] track by $index\">\n *      {{n}}\n *    </div>\n * ```\n *\n * You may also use arbitrary expressions in `track by`, including references to custom functions\n * on the scope:\n * ```html\n *    <div ng-repeat=\"n in [42, 42, 43, 43] track by myTrackingFunction(n)\">\n *      {{n}}\n *    </div>\n * ```\n *\n * <div class=\"alert alert-success\">\n * If you are working with objects that have an identifier property, you should track\n * by the identifier instead of the whole object. Should you reload your data later, `ngRepeat`\n * will not have to rebuild the DOM elements for items it has already rendered, even if the\n * JavaScript objects in the collection have been substituted for new ones. For large collections,\n * this signifincantly improves rendering performance. If you don't have a unique identifier,\n * `track by $index` can also provide a performance boost.\n * </div>\n * ```html\n *    <div ng-repeat=\"model in collection track by model.id\">\n *      {{model.name}}\n *    </div>\n * ```\n *\n * When no `track by` expression is provided, it is equivalent to tracking by the built-in\n * `$id` function, which tracks items by their identity:\n * ```html\n *    <div ng-repeat=\"obj in collection track by $id(obj)\">\n *      {{obj.prop}}\n *    </div>\n * ```\n *\n * <div class=\"alert alert-warning\">\n * **Note:** `track by` must always be the last expression:\n * </div>\n * ```\n * <div ng-repeat=\"model in collection | orderBy: 'id' as filtered_result track by model.id\">\n *     {{model.name}}\n * </div>\n * ```\n *\n * # Special repeat start and end points\n * To repeat a series of elements instead of just one parent element, ngRepeat (as well as other ng directives) supports extending\n * the range of the repeater by defining explicit start and end points by using **ng-repeat-start** and **ng-repeat-end** respectively.\n * The **ng-repeat-start** directive works the same as **ng-repeat**, but will repeat all the HTML code (including the tag it's defined on)\n * up to and including the ending HTML tag where **ng-repeat-end** is placed.\n *\n * The example below makes use of this feature:\n * ```html\n *   <header ng-repeat-start=\"item in items\">\n *     Header {{ item }}\n *   </header>\n *   <div class=\"body\">\n *     Body {{ item }}\n *   </div>\n *   <footer ng-repeat-end>\n *     Footer {{ item }}\n *   </footer>\n * ```\n *\n * And with an input of {@type ['A','B']} for the items variable in the example above, the output will evaluate to:\n * ```html\n *   <header>\n *     Header A\n *   </header>\n *   <div class=\"body\">\n *     Body A\n *   </div>\n *   <footer>\n *     Footer A\n *   </footer>\n *   <header>\n *     Header B\n *   </header>\n *   <div class=\"body\">\n *     Body B\n *   </div>\n *   <footer>\n *     Footer B\n *   </footer>\n * ```\n *\n * The custom start and end points for ngRepeat also support all other HTML directive syntax flavors provided in AngularJS (such\n * as **data-ng-repeat-start**, **x-ng-repeat-start** and **ng:repeat-start**).\n *\n * @animations\n * **.enter** - when a new item is added to the list or when an item is revealed after a filter\n *\n * **.leave** - when an item is removed from the list or when an item is filtered out\n *\n * **.move** - when an adjacent item is filtered out causing a reorder or when the item contents are reordered\n *\n * @element ANY\n * @scope\n * @priority 1000\n * @param {repeat_expression} ngRepeat The expression indicating how to enumerate a collection. These\n *   formats are currently supported:\n *\n *   * `variable in expression` – where variable is the user defined loop variable and `expression`\n *     is a scope expression giving the collection to enumerate.\n *\n *     For example: `album in artist.albums`.\n *\n *   * `(key, value) in expression` – where `key` and `value` can be any user defined identifiers,\n *     and `expression` is the scope expression giving the collection to enumerate.\n *\n *     For example: `(name, age) in {'adam':10, 'amalie':12}`.\n *\n *   * `variable in expression track by tracking_expression` – You can also provide an optional tracking expression\n *     which can be used to associate the objects in the collection with the DOM elements. If no tracking expression\n *     is specified, ng-repeat associates elements by identity. It is an error to have\n *     more than one tracking expression value resolve to the same key. (This would mean that two distinct objects are\n *     mapped to the same DOM element, which is not possible.)\n *\n *     Note that the tracking expression must come last, after any filters, and the alias expression.\n *\n *     For example: `item in items` is equivalent to `item in items track by $id(item)`. This implies that the DOM elements\n *     will be associated by item identity in the array.\n *\n *     For example: `item in items track by $id(item)`. A built in `$id()` function can be used to assign a unique\n *     `$$hashKey` property to each item in the array. This property is then used as a key to associated DOM elements\n *     with the corresponding item in the array by identity. Moving the same object in array would move the DOM\n *     element in the same way in the DOM.\n *\n *     For example: `item in items track by item.id` is a typical pattern when the items come from the database. In this\n *     case the object identity does not matter. Two objects are considered equivalent as long as their `id`\n *     property is same.\n *\n *     For example: `item in items | filter:searchText track by item.id` is a pattern that might be used to apply a filter\n *     to items in conjunction with a tracking expression.\n *\n *   * `variable in expression as alias_expression` – You can also provide an optional alias expression which will then store the\n *     intermediate results of the repeater after the filters have been applied. Typically this is used to render a special message\n *     when a filter is active on the repeater, but the filtered result set is empty.\n *\n *     For example: `item in items | filter:x as results` will store the fragment of the repeated items as `results`, but only after\n *     the items have been processed through the filter.\n *\n *     Please note that `as [variable name] is not an operator but rather a part of ngRepeat micro-syntax so it can be used only at the end\n *     (and not as operator, inside an expression).\n *\n *     For example: `item in items | filter : x | orderBy : order | limitTo : limit as results` .\n *\n * @example\n * This example initializes the scope to a list of names and\n * then uses `ngRepeat` to display every person:\n  <example module=\"ngAnimate\" deps=\"angular-animate.js\" animations=\"true\">\n    <file name=\"index.html\">\n      <div ng-init=\"friends = [\n        {name:'John', age:25, gender:'boy'},\n        {name:'Jessie', age:30, gender:'girl'},\n        {name:'Johanna', age:28, gender:'girl'},\n        {name:'Joy', age:15, gender:'girl'},\n        {name:'Mary', age:28, gender:'girl'},\n        {name:'Peter', age:95, gender:'boy'},\n        {name:'Sebastian', age:50, gender:'boy'},\n        {name:'Erika', age:27, gender:'girl'},\n        {name:'Patrick', age:40, gender:'boy'},\n        {name:'Samantha', age:60, gender:'girl'}\n      ]\">\n        I have {{friends.length}} friends. They are:\n        <input type=\"search\" ng-model=\"q\" placeholder=\"filter friends...\" aria-label=\"filter friends\" />\n        <ul class=\"example-animate-container\">\n          <li class=\"animate-repeat\" ng-repeat=\"friend in friends | filter:q as results\">\n            [{{$index + 1}}] {{friend.name}} who is {{friend.age}} years old.\n          </li>\n          <li class=\"animate-repeat\" ng-if=\"results.length == 0\">\n            <strong>No results found...</strong>\n          </li>\n        </ul>\n      </div>\n    </file>\n    <file name=\"animations.css\">\n      .example-animate-container {\n        background:white;\n        border:1px solid black;\n        list-style:none;\n        margin:0;\n        padding:0 10px;\n      }\n\n      .animate-repeat {\n        line-height:40px;\n        list-style:none;\n        box-sizing:border-box;\n      }\n\n      .animate-repeat.ng-move,\n      .animate-repeat.ng-enter,\n      .animate-repeat.ng-leave {\n        transition:all linear 0.5s;\n      }\n\n      .animate-repeat.ng-leave.ng-leave-active,\n      .animate-repeat.ng-move,\n      .animate-repeat.ng-enter {\n        opacity:0;\n        max-height:0;\n      }\n\n      .animate-repeat.ng-leave,\n      .animate-repeat.ng-move.ng-move-active,\n      .animate-repeat.ng-enter.ng-enter-active {\n        opacity:1;\n        max-height:40px;\n      }\n    </file>\n    <file name=\"protractor.js\" type=\"protractor\">\n      var friends = element.all(by.repeater('friend in friends'));\n\n      it('should render initial data set', function() {\n        expect(friends.count()).toBe(10);\n        expect(friends.get(0).getText()).toEqual('[1] John who is 25 years old.');\n        expect(friends.get(1).getText()).toEqual('[2] Jessie who is 30 years old.');\n        expect(friends.last().getText()).toEqual('[10] Samantha who is 60 years old.');\n        expect(element(by.binding('friends.length')).getText())\n            .toMatch(\"I have 10 friends. They are:\");\n      });\n\n       it('should update repeater when filter predicate changes', function() {\n         expect(friends.count()).toBe(10);\n\n         element(by.model('q')).sendKeys('ma');\n\n         expect(friends.count()).toBe(2);\n         expect(friends.get(0).getText()).toEqual('[1] Mary who is 28 years old.');\n         expect(friends.last().getText()).toEqual('[2] Samantha who is 60 years old.');\n       });\n      </file>\n    </example>\n */\nvar ngRepeatDirective = ['$parse', '$animate', function($parse, $animate) {\n  var NG_REMOVED = '$$NG_REMOVED';\n  var ngRepeatMinErr = minErr('ngRepeat');\n\n  var updateScope = function(scope, index, valueIdentifier, value, keyIdentifier, key, arrayLength) {\n    // TODO(perf): generate setters to shave off ~40ms or 1-1.5%\n    scope[valueIdentifier] = value;\n    if (keyIdentifier) scope[keyIdentifier] = key;\n    scope.$index = index;\n    scope.$first = (index === 0);\n    scope.$last = (index === (arrayLength - 1));\n    scope.$middle = !(scope.$first || scope.$last);\n    // jshint bitwise: false\n    scope.$odd = !(scope.$even = (index&1) === 0);\n    // jshint bitwise: true\n  };\n\n  var getBlockStart = function(block) {\n    return block.clone[0];\n  };\n\n  var getBlockEnd = function(block) {\n    return block.clone[block.clone.length - 1];\n  };\n\n\n  return {\n    restrict: 'A',\n    multiElement: true,\n    transclude: 'element',\n    priority: 1000,\n    terminal: true,\n    $$tlb: true,\n    compile: function ngRepeatCompile($element, $attr) {\n      var expression = $attr.ngRepeat;\n      var ngRepeatEndComment = document.createComment(' end ngRepeat: ' + expression + ' ');\n\n      var match = expression.match(/^\\s*([\\s\\S]+?)\\s+in\\s+([\\s\\S]+?)(?:\\s+as\\s+([\\s\\S]+?))?(?:\\s+track\\s+by\\s+([\\s\\S]+?))?\\s*$/);\n\n      if (!match) {\n        throw ngRepeatMinErr('iexp', \"Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.\",\n            expression);\n      }\n\n      var lhs = match[1];\n      var rhs = match[2];\n      var aliasAs = match[3];\n      var trackByExp = match[4];\n\n      match = lhs.match(/^(?:(\\s*[\\$\\w]+)|\\(\\s*([\\$\\w]+)\\s*,\\s*([\\$\\w]+)\\s*\\))$/);\n\n      if (!match) {\n        throw ngRepeatMinErr('iidexp', \"'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.\",\n            lhs);\n      }\n      var valueIdentifier = match[3] || match[1];\n      var keyIdentifier = match[2];\n\n      if (aliasAs && (!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(aliasAs) ||\n          /^(null|undefined|this|\\$index|\\$first|\\$middle|\\$last|\\$even|\\$odd|\\$parent|\\$root|\\$id)$/.test(aliasAs))) {\n        throw ngRepeatMinErr('badident', \"alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.\",\n          aliasAs);\n      }\n\n      var trackByExpGetter, trackByIdExpFn, trackByIdArrayFn, trackByIdObjFn;\n      var hashFnLocals = {$id: hashKey};\n\n      if (trackByExp) {\n        trackByExpGetter = $parse(trackByExp);\n      } else {\n        trackByIdArrayFn = function(key, value) {\n          return hashKey(value);\n        };\n        trackByIdObjFn = function(key) {\n          return key;\n        };\n      }\n\n      return function ngRepeatLink($scope, $element, $attr, ctrl, $transclude) {\n\n        if (trackByExpGetter) {\n          trackByIdExpFn = function(key, value, index) {\n            // assign key, value, and $index to the locals so that they can be used in hash functions\n            if (keyIdentifier) hashFnLocals[keyIdentifier] = key;\n            hashFnLocals[valueIdentifier] = value;\n            hashFnLocals.$index = index;\n            return trackByExpGetter($scope, hashFnLocals);\n          };\n        }\n\n        // Store a list of elements from previous run. This is a hash where key is the item from the\n        // iterator, and the value is objects with following properties.\n        //   - scope: bound scope\n        //   - element: previous element.\n        //   - index: position\n        //\n        // We are using no-proto object so that we don't need to guard against inherited props via\n        // hasOwnProperty.\n        var lastBlockMap = createMap();\n\n        //watch props\n        $scope.$watchCollection(rhs, function ngRepeatAction(collection) {\n          var index, length,\n              previousNode = $element[0],     // node that cloned nodes should be inserted after\n                                              // initialized to the comment node anchor\n              nextNode,\n              // Same as lastBlockMap but it has the current state. It will become the\n              // lastBlockMap on the next iteration.\n              nextBlockMap = createMap(),\n              collectionLength,\n              key, value, // key/value of iteration\n              trackById,\n              trackByIdFn,\n              collectionKeys,\n              block,       // last object information {scope, element, id}\n              nextBlockOrder,\n              elementsToRemove;\n\n          if (aliasAs) {\n            $scope[aliasAs] = collection;\n          }\n\n          if (isArrayLike(collection)) {\n            collectionKeys = collection;\n            trackByIdFn = trackByIdExpFn || trackByIdArrayFn;\n          } else {\n            trackByIdFn = trackByIdExpFn || trackByIdObjFn;\n            // if object, extract keys, in enumeration order, unsorted\n            collectionKeys = [];\n            for (var itemKey in collection) {\n              if (hasOwnProperty.call(collection, itemKey) && itemKey.charAt(0) !== '$') {\n                collectionKeys.push(itemKey);\n              }\n            }\n          }\n\n          collectionLength = collectionKeys.length;\n          nextBlockOrder = new Array(collectionLength);\n\n          // locate existing items\n          for (index = 0; index < collectionLength; index++) {\n            key = (collection === collectionKeys) ? index : collectionKeys[index];\n            value = collection[key];\n            trackById = trackByIdFn(key, value, index);\n            if (lastBlockMap[trackById]) {\n              // found previously seen block\n              block = lastBlockMap[trackById];\n              delete lastBlockMap[trackById];\n              nextBlockMap[trackById] = block;\n              nextBlockOrder[index] = block;\n            } else if (nextBlockMap[trackById]) {\n              // if collision detected. restore lastBlockMap and throw an error\n              forEach(nextBlockOrder, function(block) {\n                if (block && block.scope) lastBlockMap[block.id] = block;\n              });\n              throw ngRepeatMinErr('dupes',\n                  \"Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}\",\n                  expression, trackById, value);\n            } else {\n              // new never before seen block\n              nextBlockOrder[index] = {id: trackById, scope: undefined, clone: undefined};\n              nextBlockMap[trackById] = true;\n            }\n          }\n\n          // remove leftover items\n          for (var blockKey in lastBlockMap) {\n            block = lastBlockMap[blockKey];\n            elementsToRemove = getBlockNodes(block.clone);\n            $animate.leave(elementsToRemove);\n            if (elementsToRemove[0].parentNode) {\n              // if the element was not removed yet because of pending animation, mark it as deleted\n              // so that we can ignore it later\n              for (index = 0, length = elementsToRemove.length; index < length; index++) {\n                elementsToRemove[index][NG_REMOVED] = true;\n              }\n            }\n            block.scope.$destroy();\n          }\n\n          // we are not using forEach for perf reasons (trying to avoid #call)\n          for (index = 0; index < collectionLength; index++) {\n            key = (collection === collectionKeys) ? index : collectionKeys[index];\n            value = collection[key];\n            block = nextBlockOrder[index];\n\n            if (block.scope) {\n              // if we have already seen this object, then we need to reuse the\n              // associated scope/element\n\n              nextNode = previousNode;\n\n              // skip nodes that are already pending removal via leave animation\n              do {\n                nextNode = nextNode.nextSibling;\n              } while (nextNode && nextNode[NG_REMOVED]);\n\n              if (getBlockStart(block) != nextNode) {\n                // existing item which got moved\n                $animate.move(getBlockNodes(block.clone), null, jqLite(previousNode));\n              }\n              previousNode = getBlockEnd(block);\n              updateScope(block.scope, index, valueIdentifier, value, keyIdentifier, key, collectionLength);\n            } else {\n              // new item which we don't know about\n              $transclude(function ngRepeatTransclude(clone, scope) {\n                block.scope = scope;\n                // http://jsperf.com/clone-vs-createcomment\n                var endNode = ngRepeatEndComment.cloneNode(false);\n                clone[clone.length++] = endNode;\n\n                // TODO(perf): support naked previousNode in `enter` to avoid creation of jqLite wrapper?\n                $animate.enter(clone, null, jqLite(previousNode));\n                previousNode = endNode;\n                // Note: We only need the first/last node of the cloned nodes.\n                // However, we need to keep the reference to the jqlite wrapper as it might be changed later\n                // by a directive with templateUrl when its template arrives.\n                block.clone = clone;\n                nextBlockMap[block.id] = block;\n                updateScope(block.scope, index, valueIdentifier, value, keyIdentifier, key, collectionLength);\n              });\n            }\n          }\n          lastBlockMap = nextBlockMap;\n        });\n      };\n    }\n  };\n}];\n\nvar NG_HIDE_CLASS = 'ng-hide';\nvar NG_HIDE_IN_PROGRESS_CLASS = 'ng-hide-animate';\n/**\n * @ngdoc directive\n * @name ngShow\n * @multiElement\n *\n * @description\n * The `ngShow` directive shows or hides the given HTML element based on the expression\n * provided to the `ngShow` attribute. The element is shown or hidden by removing or adding\n * the `.ng-hide` CSS class onto the element. The `.ng-hide` CSS class is predefined\n * in AngularJS and sets the display style to none (using an !important flag).\n * For CSP mode please add `angular-csp.css` to your html file (see {@link ng.directive:ngCsp ngCsp}).\n *\n * ```html\n * <!-- when $scope.myValue is truthy (element is visible) -->\n * <div ng-show=\"myValue\"></div>\n *\n * <!-- when $scope.myValue is falsy (element is hidden) -->\n * <div ng-show=\"myValue\" class=\"ng-hide\"></div>\n * ```\n *\n * When the `ngShow` expression evaluates to a falsy value then the `.ng-hide` CSS class is added to the class\n * attribute on the element causing it to become hidden. When truthy, the `.ng-hide` CSS class is removed\n * from the element causing the element not to appear hidden.\n *\n * ## Why is !important used?\n *\n * You may be wondering why !important is used for the `.ng-hide` CSS class. This is because the `.ng-hide` selector\n * can be easily overridden by heavier selectors. For example, something as simple\n * as changing the display style on a HTML list item would make hidden elements appear visible.\n * This also becomes a bigger issue when dealing with CSS frameworks.\n *\n * By using !important, the show and hide behavior will work as expected despite any clash between CSS selector\n * specificity (when !important isn't used with any conflicting styles). If a developer chooses to override the\n * styling to change how to hide an element then it is just a matter of using !important in their own CSS code.\n *\n * ### Overriding `.ng-hide`\n *\n * By default, the `.ng-hide` class will style the element with `display: none!important`. If you wish to change\n * the hide behavior with ngShow/ngHide then this can be achieved by restating the styles for the `.ng-hide`\n * class CSS. Note that the selector that needs to be used is actually `.ng-hide:not(.ng-hide-animate)` to cope\n * with extra animation classes that can be added.\n *\n * ```css\n * .ng-hide:not(.ng-hide-animate) {\n *   /&#42; this is just another form of hiding an element &#42;/\n *   display: block!important;\n *   position: absolute;\n *   top: -9999px;\n *   left: -9999px;\n * }\n * ```\n *\n * By default you don't need to override in CSS anything and the animations will work around the display style.\n *\n * ## A note about animations with `ngShow`\n *\n * Animations in ngShow/ngHide work with the show and hide events that are triggered when the directive expression\n * is true and false. This system works like the animation system present with ngClass except that\n * you must also include the !important flag to override the display property\n * so that you can perform an animation when the element is hidden during the time of the animation.\n *\n * ```css\n * //\n * //a working example can be found at the bottom of this page\n * //\n * .my-element.ng-hide-add, .my-element.ng-hide-remove {\n *   /&#42; this is required as of 1.3x to properly\n *      apply all styling in a show/hide animation &#42;/\n *   transition: 0s linear all;\n * }\n *\n * .my-element.ng-hide-add-active,\n * .my-element.ng-hide-remove-active {\n *   /&#42; the transition is defined in the active class &#42;/\n *   transition: 1s linear all;\n * }\n *\n * .my-element.ng-hide-add { ... }\n * .my-element.ng-hide-add.ng-hide-add-active { ... }\n * .my-element.ng-hide-remove { ... }\n * .my-element.ng-hide-remove.ng-hide-remove-active { ... }\n * ```\n *\n * Keep in mind that, as of AngularJS version 1.3.0-beta.11, there is no need to change the display\n * property to block during animation states--ngAnimate will handle the style toggling automatically for you.\n *\n * @animations\n * addClass: `.ng-hide` - happens after the `ngShow` expression evaluates to a truthy value and the just before contents are set to visible\n * removeClass: `.ng-hide` - happens after the `ngShow` expression evaluates to a non truthy value and just before the contents are set to hidden\n *\n * @element ANY\n * @param {expression} ngShow If the {@link guide/expression expression} is truthy\n *     then the element is shown or hidden respectively.\n *\n * @example\n  <example module=\"ngAnimate\" deps=\"angular-animate.js\" animations=\"true\">\n    <file name=\"index.html\">\n      Click me: <input type=\"checkbox\" ng-model=\"checked\" aria-label=\"Toggle ngHide\"><br/>\n      <div>\n        Show:\n        <div class=\"check-element animate-show\" ng-show=\"checked\">\n          <span class=\"glyphicon glyphicon-thumbs-up\"></span> I show up when your checkbox is checked.\n        </div>\n      </div>\n      <div>\n        Hide:\n        <div class=\"check-element animate-show\" ng-hide=\"checked\">\n          <span class=\"glyphicon glyphicon-thumbs-down\"></span> I hide when your checkbox is checked.\n        </div>\n      </div>\n    </file>\n    <file name=\"glyphicons.css\">\n      @import url(../../components/bootstrap-3.1.1/css/bootstrap.css);\n    </file>\n    <file name=\"animations.css\">\n      .animate-show {\n        line-height: 20px;\n        opacity: 1;\n        padding: 10px;\n        border: 1px solid black;\n        background: white;\n      }\n\n      .animate-show.ng-hide-add, .animate-show.ng-hide-remove {\n        transition: all linear 0.5s;\n      }\n\n      .animate-show.ng-hide {\n        line-height: 0;\n        opacity: 0;\n        padding: 0 10px;\n      }\n\n      .check-element {\n        padding: 10px;\n        border: 1px solid black;\n        background: white;\n      }\n    </file>\n    <file name=\"protractor.js\" type=\"protractor\">\n      var thumbsUp = element(by.css('span.glyphicon-thumbs-up'));\n      var thumbsDown = element(by.css('span.glyphicon-thumbs-down'));\n\n      it('should check ng-show / ng-hide', function() {\n        expect(thumbsUp.isDisplayed()).toBeFalsy();\n        expect(thumbsDown.isDisplayed()).toBeTruthy();\n\n        element(by.model('checked')).click();\n\n        expect(thumbsUp.isDisplayed()).toBeTruthy();\n        expect(thumbsDown.isDisplayed()).toBeFalsy();\n      });\n    </file>\n  </example>\n */\nvar ngShowDirective = ['$animate', function($animate) {\n  return {\n    restrict: 'A',\n    multiElement: true,\n    link: function(scope, element, attr) {\n      scope.$watch(attr.ngShow, function ngShowWatchAction(value) {\n        // we're adding a temporary, animation-specific class for ng-hide since this way\n        // we can control when the element is actually displayed on screen without having\n        // to have a global/greedy CSS selector that breaks when other animations are run.\n        // Read: https://github.com/angular/angular.js/issues/9103#issuecomment-58335845\n        $animate[value ? 'removeClass' : 'addClass'](element, NG_HIDE_CLASS, {\n          tempClasses: NG_HIDE_IN_PROGRESS_CLASS\n        });\n      });\n    }\n  };\n}];\n\n\n/**\n * @ngdoc directive\n * @name ngHide\n * @multiElement\n *\n * @description\n * The `ngHide` directive shows or hides the given HTML element based on the expression\n * provided to the `ngHide` attribute. The element is shown or hidden by removing or adding\n * the `ng-hide` CSS class onto the element. The `.ng-hide` CSS class is predefined\n * in AngularJS and sets the display style to none (using an !important flag).\n * For CSP mode please add `angular-csp.css` to your html file (see {@link ng.directive:ngCsp ngCsp}).\n *\n * ```html\n * <!-- when $scope.myValue is truthy (element is hidden) -->\n * <div ng-hide=\"myValue\" class=\"ng-hide\"></div>\n *\n * <!-- when $scope.myValue is falsy (element is visible) -->\n * <div ng-hide=\"myValue\"></div>\n * ```\n *\n * When the `ngHide` expression evaluates to a truthy value then the `.ng-hide` CSS class is added to the class\n * attribute on the element causing it to become hidden. When falsy, the `.ng-hide` CSS class is removed\n * from the element causing the element not to appear hidden.\n *\n * ## Why is !important used?\n *\n * You may be wondering why !important is used for the `.ng-hide` CSS class. This is because the `.ng-hide` selector\n * can be easily overridden by heavier selectors. For example, something as simple\n * as changing the display style on a HTML list item would make hidden elements appear visible.\n * This also becomes a bigger issue when dealing with CSS frameworks.\n *\n * By using !important, the show and hide behavior will work as expected despite any clash between CSS selector\n * specificity (when !important isn't used with any conflicting styles). If a developer chooses to override the\n * styling to change how to hide an element then it is just a matter of using !important in their own CSS code.\n *\n * ### Overriding `.ng-hide`\n *\n * By default, the `.ng-hide` class will style the element with `display: none!important`. If you wish to change\n * the hide behavior with ngShow/ngHide then this can be achieved by restating the styles for the `.ng-hide`\n * class in CSS:\n *\n * ```css\n * .ng-hide {\n *   /&#42; this is just another form of hiding an element &#42;/\n *   display: block!important;\n *   position: absolute;\n *   top: -9999px;\n *   left: -9999px;\n * }\n * ```\n *\n * By default you don't need to override in CSS anything and the animations will work around the display style.\n *\n * ## A note about animations with `ngHide`\n *\n * Animations in ngShow/ngHide work with the show and hide events that are triggered when the directive expression\n * is true and false. This system works like the animation system present with ngClass, except that the `.ng-hide`\n * CSS class is added and removed for you instead of your own CSS class.\n *\n * ```css\n * //\n * //a working example can be found at the bottom of this page\n * //\n * .my-element.ng-hide-add, .my-element.ng-hide-remove {\n *   transition: 0.5s linear all;\n * }\n *\n * .my-element.ng-hide-add { ... }\n * .my-element.ng-hide-add.ng-hide-add-active { ... }\n * .my-element.ng-hide-remove { ... }\n * .my-element.ng-hide-remove.ng-hide-remove-active { ... }\n * ```\n *\n * Keep in mind that, as of AngularJS version 1.3.0-beta.11, there is no need to change the display\n * property to block during animation states--ngAnimate will handle the style toggling automatically for you.\n *\n * @animations\n * removeClass: `.ng-hide` - happens after the `ngHide` expression evaluates to a truthy value and just before the contents are set to hidden\n * addClass: `.ng-hide` - happens after the `ngHide` expression evaluates to a non truthy value and just before the contents are set to visible\n *\n * @element ANY\n * @param {expression} ngHide If the {@link guide/expression expression} is truthy then\n *     the element is shown or hidden respectively.\n *\n * @example\n  <example module=\"ngAnimate\" deps=\"angular-animate.js\" animations=\"true\">\n    <file name=\"index.html\">\n      Click me: <input type=\"checkbox\" ng-model=\"checked\" aria-label=\"Toggle ngShow\"><br/>\n      <div>\n        Show:\n        <div class=\"check-element animate-hide\" ng-show=\"checked\">\n          <span class=\"glyphicon glyphicon-thumbs-up\"></span> I show up when your checkbox is checked.\n        </div>\n      </div>\n      <div>\n        Hide:\n        <div class=\"check-element animate-hide\" ng-hide=\"checked\">\n          <span class=\"glyphicon glyphicon-thumbs-down\"></span> I hide when your checkbox is checked.\n        </div>\n      </div>\n    </file>\n    <file name=\"glyphicons.css\">\n      @import url(../../components/bootstrap-3.1.1/css/bootstrap.css);\n    </file>\n    <file name=\"animations.css\">\n      .animate-hide {\n        transition: all linear 0.5s;\n        line-height: 20px;\n        opacity: 1;\n        padding: 10px;\n        border: 1px solid black;\n        background: white;\n      }\n\n      .animate-hide.ng-hide {\n        line-height: 0;\n        opacity: 0;\n        padding: 0 10px;\n      }\n\n      .check-element {\n        padding: 10px;\n        border: 1px solid black;\n        background: white;\n      }\n    </file>\n    <file name=\"protractor.js\" type=\"protractor\">\n      var thumbsUp = element(by.css('span.glyphicon-thumbs-up'));\n      var thumbsDown = element(by.css('span.glyphicon-thumbs-down'));\n\n      it('should check ng-show / ng-hide', function() {\n        expect(thumbsUp.isDisplayed()).toBeFalsy();\n        expect(thumbsDown.isDisplayed()).toBeTruthy();\n\n        element(by.model('checked')).click();\n\n        expect(thumbsUp.isDisplayed()).toBeTruthy();\n        expect(thumbsDown.isDisplayed()).toBeFalsy();\n      });\n    </file>\n  </example>\n */\nvar ngHideDirective = ['$animate', function($animate) {\n  return {\n    restrict: 'A',\n    multiElement: true,\n    link: function(scope, element, attr) {\n      scope.$watch(attr.ngHide, function ngHideWatchAction(value) {\n        // The comment inside of the ngShowDirective explains why we add and\n        // remove a temporary class for the show/hide animation\n        $animate[value ? 'addClass' : 'removeClass'](element,NG_HIDE_CLASS, {\n          tempClasses: NG_HIDE_IN_PROGRESS_CLASS\n        });\n      });\n    }\n  };\n}];\n\n/**\n * @ngdoc directive\n * @name ngStyle\n * @restrict AC\n *\n * @description\n * The `ngStyle` directive allows you to set CSS style on an HTML element conditionally.\n *\n * @element ANY\n * @param {expression} ngStyle\n *\n * {@link guide/expression Expression} which evals to an\n * object whose keys are CSS style names and values are corresponding values for those CSS\n * keys.\n *\n * Since some CSS style names are not valid keys for an object, they must be quoted.\n * See the 'background-color' style in the example below.\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n        <input type=\"button\" value=\"set color\" ng-click=\"myStyle={color:'red'}\">\n        <input type=\"button\" value=\"set background\" ng-click=\"myStyle={'background-color':'blue'}\">\n        <input type=\"button\" value=\"clear\" ng-click=\"myStyle={}\">\n        <br/>\n        <span ng-style=\"myStyle\">Sample Text</span>\n        <pre>myStyle={{myStyle}}</pre>\n     </file>\n     <file name=\"style.css\">\n       span {\n         color: black;\n       }\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       var colorSpan = element(by.css('span'));\n\n       it('should check ng-style', function() {\n         expect(colorSpan.getCssValue('color')).toBe('rgba(0, 0, 0, 1)');\n         element(by.css('input[value=\\'set color\\']')).click();\n         expect(colorSpan.getCssValue('color')).toBe('rgba(255, 0, 0, 1)');\n         element(by.css('input[value=clear]')).click();\n         expect(colorSpan.getCssValue('color')).toBe('rgba(0, 0, 0, 1)');\n       });\n     </file>\n   </example>\n */\nvar ngStyleDirective = ngDirective(function(scope, element, attr) {\n  scope.$watch(attr.ngStyle, function ngStyleWatchAction(newStyles, oldStyles) {\n    if (oldStyles && (newStyles !== oldStyles)) {\n      forEach(oldStyles, function(val, style) { element.css(style, '');});\n    }\n    if (newStyles) element.css(newStyles);\n  }, true);\n});\n\n/**\n * @ngdoc directive\n * @name ngSwitch\n * @restrict EA\n *\n * @description\n * The `ngSwitch` directive is used to conditionally swap DOM structure on your template based on a scope expression.\n * Elements within `ngSwitch` but without `ngSwitchWhen` or `ngSwitchDefault` directives will be preserved at the location\n * as specified in the template.\n *\n * The directive itself works similar to ngInclude, however, instead of downloading template code (or loading it\n * from the template cache), `ngSwitch` simply chooses one of the nested elements and makes it visible based on which element\n * matches the value obtained from the evaluated expression. In other words, you define a container element\n * (where you place the directive), place an expression on the **`on=\"...\"` attribute**\n * (or the **`ng-switch=\"...\"` attribute**), define any inner elements inside of the directive and place\n * a when attribute per element. The when attribute is used to inform ngSwitch which element to display when the on\n * expression is evaluated. If a matching expression is not found via a when attribute then an element with the default\n * attribute is displayed.\n *\n * <div class=\"alert alert-info\">\n * Be aware that the attribute values to match against cannot be expressions. They are interpreted\n * as literal string values to match against.\n * For example, **`ng-switch-when=\"someVal\"`** will match against the string `\"someVal\"` not against the\n * value of the expression `$scope.someVal`.\n * </div>\n\n * @animations\n * enter - happens after the ngSwitch contents change and the matched child element is placed inside the container\n * leave - happens just after the ngSwitch contents change and just before the former contents are removed from the DOM\n *\n * @usage\n *\n * ```\n * <ANY ng-switch=\"expression\">\n *   <ANY ng-switch-when=\"matchValue1\">...</ANY>\n *   <ANY ng-switch-when=\"matchValue2\">...</ANY>\n *   <ANY ng-switch-default>...</ANY>\n * </ANY>\n * ```\n *\n *\n * @scope\n * @priority 1200\n * @param {*} ngSwitch|on expression to match against <code>ng-switch-when</code>.\n * On child elements add:\n *\n * * `ngSwitchWhen`: the case statement to match against. If match then this\n *   case will be displayed. If the same match appears multiple times, all the\n *   elements will be displayed.\n * * `ngSwitchDefault`: the default case when no other case match. If there\n *   are multiple default cases, all of them will be displayed when no other\n *   case match.\n *\n *\n * @example\n  <example module=\"switchExample\" deps=\"angular-animate.js\" animations=\"true\">\n    <file name=\"index.html\">\n      <div ng-controller=\"ExampleController\">\n        <select ng-model=\"selection\" ng-options=\"item for item in items\">\n        </select>\n        <code>selection={{selection}}</code>\n        <hr/>\n        <div class=\"animate-switch-container\"\n          ng-switch on=\"selection\">\n            <div class=\"animate-switch\" ng-switch-when=\"settings\">Settings Div</div>\n            <div class=\"animate-switch\" ng-switch-when=\"home\">Home Span</div>\n            <div class=\"animate-switch\" ng-switch-default>default</div>\n        </div>\n      </div>\n    </file>\n    <file name=\"script.js\">\n      angular.module('switchExample', ['ngAnimate'])\n        .controller('ExampleController', ['$scope', function($scope) {\n          $scope.items = ['settings', 'home', 'other'];\n          $scope.selection = $scope.items[0];\n        }]);\n    </file>\n    <file name=\"animations.css\">\n      .animate-switch-container {\n        position:relative;\n        background:white;\n        border:1px solid black;\n        height:40px;\n        overflow:hidden;\n      }\n\n      .animate-switch {\n        padding:10px;\n      }\n\n      .animate-switch.ng-animate {\n        transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;\n\n        position:absolute;\n        top:0;\n        left:0;\n        right:0;\n        bottom:0;\n      }\n\n      .animate-switch.ng-leave.ng-leave-active,\n      .animate-switch.ng-enter {\n        top:-50px;\n      }\n      .animate-switch.ng-leave,\n      .animate-switch.ng-enter.ng-enter-active {\n        top:0;\n      }\n    </file>\n    <file name=\"protractor.js\" type=\"protractor\">\n      var switchElem = element(by.css('[ng-switch]'));\n      var select = element(by.model('selection'));\n\n      it('should start in settings', function() {\n        expect(switchElem.getText()).toMatch(/Settings Div/);\n      });\n      it('should change to home', function() {\n        select.all(by.css('option')).get(1).click();\n        expect(switchElem.getText()).toMatch(/Home Span/);\n      });\n      it('should select default', function() {\n        select.all(by.css('option')).get(2).click();\n        expect(switchElem.getText()).toMatch(/default/);\n      });\n    </file>\n  </example>\n */\nvar ngSwitchDirective = ['$animate', function($animate) {\n  return {\n    require: 'ngSwitch',\n\n    // asks for $scope to fool the BC controller module\n    controller: ['$scope', function ngSwitchController() {\n     this.cases = {};\n    }],\n    link: function(scope, element, attr, ngSwitchController) {\n      var watchExpr = attr.ngSwitch || attr.on,\n          selectedTranscludes = [],\n          selectedElements = [],\n          previousLeaveAnimations = [],\n          selectedScopes = [];\n\n      var spliceFactory = function(array, index) {\n          return function() { array.splice(index, 1); };\n      };\n\n      scope.$watch(watchExpr, function ngSwitchWatchAction(value) {\n        var i, ii;\n        for (i = 0, ii = previousLeaveAnimations.length; i < ii; ++i) {\n          $animate.cancel(previousLeaveAnimations[i]);\n        }\n        previousLeaveAnimations.length = 0;\n\n        for (i = 0, ii = selectedScopes.length; i < ii; ++i) {\n          var selected = getBlockNodes(selectedElements[i].clone);\n          selectedScopes[i].$destroy();\n          var promise = previousLeaveAnimations[i] = $animate.leave(selected);\n          promise.then(spliceFactory(previousLeaveAnimations, i));\n        }\n\n        selectedElements.length = 0;\n        selectedScopes.length = 0;\n\n        if ((selectedTranscludes = ngSwitchController.cases['!' + value] || ngSwitchController.cases['?'])) {\n          forEach(selectedTranscludes, function(selectedTransclude) {\n            selectedTransclude.transclude(function(caseElement, selectedScope) {\n              selectedScopes.push(selectedScope);\n              var anchor = selectedTransclude.element;\n              caseElement[caseElement.length++] = document.createComment(' end ngSwitchWhen: ');\n              var block = { clone: caseElement };\n\n              selectedElements.push(block);\n              $animate.enter(caseElement, anchor.parent(), anchor);\n            });\n          });\n        }\n      });\n    }\n  };\n}];\n\nvar ngSwitchWhenDirective = ngDirective({\n  transclude: 'element',\n  priority: 1200,\n  require: '^ngSwitch',\n  multiElement: true,\n  link: function(scope, element, attrs, ctrl, $transclude) {\n    ctrl.cases['!' + attrs.ngSwitchWhen] = (ctrl.cases['!' + attrs.ngSwitchWhen] || []);\n    ctrl.cases['!' + attrs.ngSwitchWhen].push({ transclude: $transclude, element: element });\n  }\n});\n\nvar ngSwitchDefaultDirective = ngDirective({\n  transclude: 'element',\n  priority: 1200,\n  require: '^ngSwitch',\n  multiElement: true,\n  link: function(scope, element, attr, ctrl, $transclude) {\n    ctrl.cases['?'] = (ctrl.cases['?'] || []);\n    ctrl.cases['?'].push({ transclude: $transclude, element: element });\n   }\n});\n\n/**\n * @ngdoc directive\n * @name ngTransclude\n * @restrict EAC\n *\n * @description\n * Directive that marks the insertion point for the transcluded DOM of the nearest parent directive that uses transclusion.\n *\n * Any existing content of the element that this directive is placed on will be removed before the transcluded content is inserted.\n *\n * @element ANY\n *\n * @example\n   <example module=\"transcludeExample\">\n     <file name=\"index.html\">\n       <script>\n         angular.module('transcludeExample', [])\n          .directive('pane', function(){\n             return {\n               restrict: 'E',\n               transclude: true,\n               scope: { title:'@' },\n               template: '<div style=\"border: 1px solid black;\">' +\n                           '<div style=\"background-color: gray\">{{title}}</div>' +\n                           '<ng-transclude></ng-transclude>' +\n                         '</div>'\n             };\n         })\n         .controller('ExampleController', ['$scope', function($scope) {\n           $scope.title = 'Lorem Ipsum';\n           $scope.text = 'Neque porro quisquam est qui dolorem ipsum quia dolor...';\n         }]);\n       </script>\n       <div ng-controller=\"ExampleController\">\n         <input ng-model=\"title\" aria-label=\"title\"> <br/>\n         <textarea ng-model=\"text\" aria-label=\"text\"></textarea> <br/>\n         <pane title=\"{{title}}\">{{text}}</pane>\n       </div>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n        it('should have transcluded', function() {\n          var titleElement = element(by.model('title'));\n          titleElement.clear();\n          titleElement.sendKeys('TITLE');\n          var textElement = element(by.model('text'));\n          textElement.clear();\n          textElement.sendKeys('TEXT');\n          expect(element(by.binding('title')).getText()).toEqual('TITLE');\n          expect(element(by.binding('text')).getText()).toEqual('TEXT');\n        });\n     </file>\n   </example>\n *\n */\nvar ngTranscludeDirective = ngDirective({\n  restrict: 'EAC',\n  link: function($scope, $element, $attrs, controller, $transclude) {\n    if (!$transclude) {\n      throw minErr('ngTransclude')('orphan',\n       'Illegal use of ngTransclude directive in the template! ' +\n       'No parent directive that requires a transclusion found. ' +\n       'Element: {0}',\n       startingTag($element));\n    }\n\n    $transclude(function(clone) {\n      $element.empty();\n      $element.append(clone);\n    });\n  }\n});\n\n/**\n * @ngdoc directive\n * @name script\n * @restrict E\n *\n * @description\n * Load the content of a `<script>` element into {@link ng.$templateCache `$templateCache`}, so that the\n * template can be used by {@link ng.directive:ngInclude `ngInclude`},\n * {@link ngRoute.directive:ngView `ngView`}, or {@link guide/directive directives}. The type of the\n * `<script>` element must be specified as `text/ng-template`, and a cache name for the template must be\n * assigned through the element's `id`, which can then be used as a directive's `templateUrl`.\n *\n * @param {string} type Must be set to `'text/ng-template'`.\n * @param {string} id Cache name of the template.\n *\n * @example\n  <example>\n    <file name=\"index.html\">\n      <script type=\"text/ng-template\" id=\"/tpl.html\">\n        Content of the template.\n      </script>\n\n      <a ng-click=\"currentTpl='/tpl.html'\" id=\"tpl-link\">Load inlined template</a>\n      <div id=\"tpl-content\" ng-include src=\"currentTpl\"></div>\n    </file>\n    <file name=\"protractor.js\" type=\"protractor\">\n      it('should load template defined inside script tag', function() {\n        element(by.css('#tpl-link')).click();\n        expect(element(by.css('#tpl-content')).getText()).toMatch(/Content of the template/);\n      });\n    </file>\n  </example>\n */\nvar scriptDirective = ['$templateCache', function($templateCache) {\n  return {\n    restrict: 'E',\n    terminal: true,\n    compile: function(element, attr) {\n      if (attr.type == 'text/ng-template') {\n        var templateUrl = attr.id,\n            text = element[0].text;\n\n        $templateCache.put(templateUrl, text);\n      }\n    }\n  };\n}];\n\nvar noopNgModelController = { $setViewValue: noop, $render: noop };\n\nfunction chromeHack(optionElement) {\n  // Workaround for https://code.google.com/p/chromium/issues/detail?id=381459\n  // Adding an <option selected=\"selected\"> element to a <select required=\"required\"> should\n  // automatically select the new element\n  if (optionElement[0].hasAttribute('selected')) {\n    optionElement[0].selected = true;\n  }\n}\n\n/**\n * @ngdoc type\n * @name  select.SelectController\n * @description\n * The controller for the `<select>` directive. This provides support for reading\n * and writing the selected value(s) of the control and also coordinates dynamically\n * added `<option>` elements, perhaps by an `ngRepeat` directive.\n */\nvar SelectController =\n        ['$element', '$scope', '$attrs', function($element, $scope, $attrs) {\n\n  var self = this,\n      optionsMap = new HashMap();\n\n  // If the ngModel doesn't get provided then provide a dummy noop version to prevent errors\n  self.ngModelCtrl = noopNgModelController;\n\n  // The \"unknown\" option is one that is prepended to the list if the viewValue\n  // does not match any of the options. When it is rendered the value of the unknown\n  // option is '? XXX ?' where XXX is the hashKey of the value that is not known.\n  //\n  // We can't just jqLite('<option>') since jqLite is not smart enough\n  // to create it in <select> and IE barfs otherwise.\n  self.unknownOption = jqLite(document.createElement('option'));\n  self.renderUnknownOption = function(val) {\n    var unknownVal = '? ' + hashKey(val) + ' ?';\n    self.unknownOption.val(unknownVal);\n    $element.prepend(self.unknownOption);\n    $element.val(unknownVal);\n  };\n\n  $scope.$on('$destroy', function() {\n    // disable unknown option so that we don't do work when the whole select is being destroyed\n    self.renderUnknownOption = noop;\n  });\n\n  self.removeUnknownOption = function() {\n    if (self.unknownOption.parent()) self.unknownOption.remove();\n  };\n\n\n  // Read the value of the select control, the implementation of this changes depending\n  // upon whether the select can have multiple values and whether ngOptions is at work.\n  self.readValue = function readSingleValue() {\n    self.removeUnknownOption();\n    return $element.val();\n  };\n\n\n  // Write the value to the select control, the implementation of this changes depending\n  // upon whether the select can have multiple values and whether ngOptions is at work.\n  self.writeValue = function writeSingleValue(value) {\n    if (self.hasOption(value)) {\n      self.removeUnknownOption();\n      $element.val(value);\n      if (value === '') self.emptyOption.prop('selected', true); // to make IE9 happy\n    } else {\n      if (value == null && self.emptyOption) {\n        self.removeUnknownOption();\n        $element.val('');\n      } else {\n        self.renderUnknownOption(value);\n      }\n    }\n  };\n\n\n  // Tell the select control that an option, with the given value, has been added\n  self.addOption = function(value, element) {\n    assertNotHasOwnProperty(value, '\"option value\"');\n    if (value === '') {\n      self.emptyOption = element;\n    }\n    var count = optionsMap.get(value) || 0;\n    optionsMap.put(value, count + 1);\n    self.ngModelCtrl.$render();\n    chromeHack(element);\n  };\n\n  // Tell the select control that an option, with the given value, has been removed\n  self.removeOption = function(value) {\n    var count = optionsMap.get(value);\n    if (count) {\n      if (count === 1) {\n        optionsMap.remove(value);\n        if (value === '') {\n          self.emptyOption = undefined;\n        }\n      } else {\n        optionsMap.put(value, count - 1);\n      }\n    }\n  };\n\n  // Check whether the select control has an option matching the given value\n  self.hasOption = function(value) {\n    return !!optionsMap.get(value);\n  };\n\n\n  self.registerOption = function(optionScope, optionElement, optionAttrs, interpolateValueFn, interpolateTextFn) {\n\n    if (interpolateValueFn) {\n      // The value attribute is interpolated\n      var oldVal;\n      optionAttrs.$observe('value', function valueAttributeObserveAction(newVal) {\n        if (isDefined(oldVal)) {\n          self.removeOption(oldVal);\n        }\n        oldVal = newVal;\n        self.addOption(newVal, optionElement);\n      });\n    } else if (interpolateTextFn) {\n      // The text content is interpolated\n      optionScope.$watch(interpolateTextFn, function interpolateWatchAction(newVal, oldVal) {\n        optionAttrs.$set('value', newVal);\n        if (oldVal !== newVal) {\n          self.removeOption(oldVal);\n        }\n        self.addOption(newVal, optionElement);\n      });\n    } else {\n      // The value attribute is static\n      self.addOption(optionAttrs.value, optionElement);\n    }\n\n    optionElement.on('$destroy', function() {\n      self.removeOption(optionAttrs.value);\n      self.ngModelCtrl.$render();\n    });\n  };\n}];\n\n/**\n * @ngdoc directive\n * @name select\n * @restrict E\n *\n * @description\n * HTML `SELECT` element with angular data-binding.\n *\n * The `select` directive is used together with {@link ngModel `ngModel`} to provide data-binding\n * between the scope and the `<select>` control (including setting default values).\n * Ìt also handles dynamic `<option>` elements, which can be added using the {@link ngRepeat `ngRepeat}` or\n * {@link ngOptions `ngOptions`} directives.\n *\n * When an item in the `<select>` menu is selected, the value of the selected option will be bound\n * to the model identified by the `ngModel` directive. With static or repeated options, this is\n * the content of the `value` attribute or the textContent of the `<option>`, if the value attribute is missing.\n * If you want dynamic value attributes, you can use interpolation inside the value attribute.\n *\n * <div class=\"alert alert-warning\">\n * Note that the value of a `select` directive used without `ngOptions` is always a string.\n * When the model needs to be bound to a non-string value, you must either explictly convert it\n * using a directive (see example below) or use `ngOptions` to specify the set of options.\n * This is because an option element can only be bound to string values at present.\n * </div>\n *\n * If the viewValue of `ngModel` does not match any of the options, then the control\n * will automatically add an \"unknown\" option, which it then removes when the mismatch is resolved.\n *\n * Optionally, a single hard-coded `<option>` element, with the value set to an empty string, can\n * be nested into the `<select>` element. This element will then represent the `null` or \"not selected\"\n * option. See example below for demonstration.\n *\n * <div class=\"alert alert-info\">\n * In many cases, `ngRepeat` can be used on `<option>` elements instead of {@link ng.directive:ngOptions\n * ngOptions} to achieve a similar result. However, `ngOptions` provides some benefits, such as\n * more flexibility in how the `<select>`'s model is assigned via the `select` **`as`** part of the\n * comprehension expression, and additionally in reducing memory and increasing speed by not creating\n * a new scope for each repeated instance.\n * </div>\n *\n *\n * @param {string} ngModel Assignable angular expression to data-bind to.\n * @param {string=} name Property name of the form under which the control is published.\n * @param {string=} multiple Allows multiple options to be selected. The selected values will be\n *     bound to the model as an array.\n * @param {string=} required Sets `required` validation error key if the value is not entered.\n * @param {string=} ngRequired Adds required attribute and required validation constraint to\n * the element when the ngRequired expression evaluates to true. Use ngRequired instead of required\n * when you want to data-bind to the required attribute.\n * @param {string=} ngChange Angular expression to be executed when selected option(s) changes due to user\n *    interaction with the select element.\n * @param {string=} ngOptions sets the options that the select is populated with and defines what is\n * set on the model on selection. See {@link ngOptions `ngOptions`}.\n *\n * @example\n * ### Simple `select` elements with static options\n *\n * <example name=\"static-select\" module=\"staticSelect\">\n * <file name=\"index.html\">\n * <div ng-controller=\"ExampleController\">\n *   <form name=\"myForm\">\n *     <label for=\"singleSelect\"> Single select: </label><br>\n *     <select name=\"singleSelect\" ng-model=\"data.singleSelect\">\n *       <option value=\"option-1\">Option 1</option>\n *       <option value=\"option-2\">Option 2</option>\n *     </select><br>\n *\n *     <label for=\"singleSelect\"> Single select with \"not selected\" option and dynamic option values: </label><br>\n *     <select name=\"singleSelect\" id=\"singleSelect\" ng-model=\"data.singleSelect\">\n *       <option value=\"\">---Please select---</option> <!-- not selected / blank option -->\n *       <option value=\"{{data.option1}}\">Option 1</option> <!-- interpolation -->\n *       <option value=\"option-2\">Option 2</option>\n *     </select><br>\n *     <button ng-click=\"forceUnknownOption()\">Force unknown option</button><br>\n *     <tt>singleSelect = {{data.singleSelect}}</tt>\n *\n *     <hr>\n *     <label for=\"multipleSelect\"> Multiple select: </label><br>\n *     <select name=\"multipleSelect\" id=\"multipleSelect\" ng-model=\"data.multipleSelect\" multiple>\n *       <option value=\"option-1\">Option 1</option>\n *       <option value=\"option-2\">Option 2</option>\n *       <option value=\"option-3\">Option 3</option>\n *     </select><br>\n *     <tt>multipleSelect = {{data.multipleSelect}}</tt><br/>\n *   </form>\n * </div>\n * </file>\n * <file name=\"app.js\">\n *  angular.module('staticSelect', [])\n *    .controller('ExampleController', ['$scope', function($scope) {\n *      $scope.data = {\n *       singleSelect: null,\n *       multipleSelect: [],\n *       option1: 'option-1',\n *      };\n *\n *      $scope.forceUnknownOption = function() {\n *        $scope.data.singleSelect = 'nonsense';\n *      };\n *   }]);\n * </file>\n *</example>\n *\n * ### Using `ngRepeat` to generate `select` options\n * <example name=\"ngrepeat-select\" module=\"ngrepeatSelect\">\n * <file name=\"index.html\">\n * <div ng-controller=\"ExampleController\">\n *   <form name=\"myForm\">\n *     <label for=\"repeatSelect\"> Repeat select: </label>\n *     <select name=\"repeatSelect\" id=\"repeatSelect\" ng-model=\"data.repeatSelect\">\n *       <option ng-repeat=\"option in data.availableOptions\" value=\"{{option.id}}\">{{option.name}}</option>\n *     </select>\n *   </form>\n *   <hr>\n *   <tt>repeatSelect = {{data.repeatSelect}}</tt><br/>\n * </div>\n * </file>\n * <file name=\"app.js\">\n *  angular.module('ngrepeatSelect', [])\n *    .controller('ExampleController', ['$scope', function($scope) {\n *      $scope.data = {\n *       repeatSelect: null,\n *       availableOptions: [\n *         {id: '1', name: 'Option A'},\n *         {id: '2', name: 'Option B'},\n *         {id: '3', name: 'Option C'}\n *       ],\n *      };\n *   }]);\n * </file>\n *</example>\n *\n *\n * ### Using `select` with `ngOptions` and setting a default value\n * See the {@link ngOptions ngOptions documentation} for more `ngOptions` usage examples.\n *\n * <example name=\"select-with-default-values\" module=\"defaultValueSelect\">\n * <file name=\"index.html\">\n * <div ng-controller=\"ExampleController\">\n *   <form name=\"myForm\">\n *     <label for=\"mySelect\">Make a choice:</label>\n *     <select name=\"mySelect\" id=\"mySelect\"\n *       ng-options=\"option.name for option in data.availableOptions track by option.id\"\n *       ng-model=\"data.selectedOption\"></select>\n *   </form>\n *   <hr>\n *   <tt>option = {{data.selectedOption}}</tt><br/>\n * </div>\n * </file>\n * <file name=\"app.js\">\n *  angular.module('defaultValueSelect', [])\n *    .controller('ExampleController', ['$scope', function($scope) {\n *      $scope.data = {\n *       availableOptions: [\n *         {id: '1', name: 'Option A'},\n *         {id: '2', name: 'Option B'},\n *         {id: '3', name: 'Option C'}\n *       ],\n *       selectedOption: {id: '3', name: 'Option C'} //This sets the default value of the select in the ui\n *       };\n *   }]);\n * </file>\n *</example>\n *\n *\n * ### Binding `select` to a non-string value via `ngModel` parsing / formatting\n *\n * <example name=\"select-with-non-string-options\" module=\"nonStringSelect\">\n *   <file name=\"index.html\">\n *     <select ng-model=\"model.id\" convert-to-number>\n *       <option value=\"0\">Zero</option>\n *       <option value=\"1\">One</option>\n *       <option value=\"2\">Two</option>\n *     </select>\n *     {{ model }}\n *   </file>\n *   <file name=\"app.js\">\n *     angular.module('nonStringSelect', [])\n *       .run(function($rootScope) {\n *         $rootScope.model = { id: 2 };\n *       })\n *       .directive('convertToNumber', function() {\n *         return {\n *           require: 'ngModel',\n *           link: function(scope, element, attrs, ngModel) {\n *             ngModel.$parsers.push(function(val) {\n *               return parseInt(val, 10);\n *             });\n *             ngModel.$formatters.push(function(val) {\n *               return '' + val;\n *             });\n *           }\n *         };\n *       });\n *   </file>\n *   <file name=\"protractor.js\" type=\"protractor\">\n *     it('should initialize to model', function() {\n *       var select = element(by.css('select'));\n *       expect(element(by.model('model.id')).$('option:checked').getText()).toEqual('Two');\n *     });\n *   </file>\n * </example>\n *\n */\nvar selectDirective = function() {\n\n  return {\n    restrict: 'E',\n    require: ['select', '?ngModel'],\n    controller: SelectController,\n    priority: 1,\n    link: {\n      pre: selectPreLink\n    }\n  };\n\n  function selectPreLink(scope, element, attr, ctrls) {\n\n      // if ngModel is not defined, we don't need to do anything\n      var ngModelCtrl = ctrls[1];\n      if (!ngModelCtrl) return;\n\n      var selectCtrl = ctrls[0];\n\n      selectCtrl.ngModelCtrl = ngModelCtrl;\n\n      // We delegate rendering to the `writeValue` method, which can be changed\n      // if the select can have multiple selected values or if the options are being\n      // generated by `ngOptions`\n      ngModelCtrl.$render = function() {\n        selectCtrl.writeValue(ngModelCtrl.$viewValue);\n      };\n\n      // When the selected item(s) changes we delegate getting the value of the select control\n      // to the `readValue` method, which can be changed if the select can have multiple\n      // selected values or if the options are being generated by `ngOptions`\n      element.on('change', function() {\n        scope.$apply(function() {\n          ngModelCtrl.$setViewValue(selectCtrl.readValue());\n        });\n      });\n\n      // If the select allows multiple values then we need to modify how we read and write\n      // values from and to the control; also what it means for the value to be empty and\n      // we have to add an extra watch since ngModel doesn't work well with arrays - it\n      // doesn't trigger rendering if only an item in the array changes.\n      if (attr.multiple) {\n\n        // Read value now needs to check each option to see if it is selected\n        selectCtrl.readValue = function readMultipleValue() {\n          var array = [];\n          forEach(element.find('option'), function(option) {\n            if (option.selected) {\n              array.push(option.value);\n            }\n          });\n          return array;\n        };\n\n        // Write value now needs to set the selected property of each matching option\n        selectCtrl.writeValue = function writeMultipleValue(value) {\n          var items = new HashMap(value);\n          forEach(element.find('option'), function(option) {\n            option.selected = isDefined(items.get(option.value));\n          });\n        };\n\n        // we have to do it on each watch since ngModel watches reference, but\n        // we need to work of an array, so we need to see if anything was inserted/removed\n        var lastView, lastViewRef = NaN;\n        scope.$watch(function selectMultipleWatch() {\n          if (lastViewRef === ngModelCtrl.$viewValue && !equals(lastView, ngModelCtrl.$viewValue)) {\n            lastView = shallowCopy(ngModelCtrl.$viewValue);\n            ngModelCtrl.$render();\n          }\n          lastViewRef = ngModelCtrl.$viewValue;\n        });\n\n        // If we are a multiple select then value is now a collection\n        // so the meaning of $isEmpty changes\n        ngModelCtrl.$isEmpty = function(value) {\n          return !value || value.length === 0;\n        };\n\n      }\n    }\n};\n\n\n// The option directive is purely designed to communicate the existence (or lack of)\n// of dynamically created (and destroyed) option elements to their containing select\n// directive via its controller.\nvar optionDirective = ['$interpolate', function($interpolate) {\n  return {\n    restrict: 'E',\n    priority: 100,\n    compile: function(element, attr) {\n\n      if (isDefined(attr.value)) {\n        // If the value attribute is defined, check if it contains an interpolation\n        var interpolateValueFn = $interpolate(attr.value, true);\n      } else {\n        // If the value attribute is not defined then we fall back to the\n        // text content of the option element, which may be interpolated\n        var interpolateTextFn = $interpolate(element.text(), true);\n        if (!interpolateTextFn) {\n          attr.$set('value', element.text());\n        }\n      }\n\n      return function(scope, element, attr) {\n\n        // This is an optimization over using ^^ since we don't want to have to search\n        // all the way to the root of the DOM for every single option element\n        var selectCtrlName = '$selectController',\n            parent = element.parent(),\n            selectCtrl = parent.data(selectCtrlName) ||\n              parent.parent().data(selectCtrlName); // in case we are in optgroup\n\n        if (selectCtrl) {\n          selectCtrl.registerOption(scope, element, attr, interpolateValueFn, interpolateTextFn);\n        }\n      };\n    }\n  };\n}];\n\nvar styleDirective = valueFn({\n  restrict: 'E',\n  terminal: false\n});\n\nvar requiredDirective = function() {\n  return {\n    restrict: 'A',\n    require: '?ngModel',\n    link: function(scope, elm, attr, ctrl) {\n      if (!ctrl) return;\n      attr.required = true; // force truthy in case we are on non input element\n\n      ctrl.$validators.required = function(modelValue, viewValue) {\n        return !attr.required || !ctrl.$isEmpty(viewValue);\n      };\n\n      attr.$observe('required', function() {\n        ctrl.$validate();\n      });\n    }\n  };\n};\n\n\nvar patternDirective = function() {\n  return {\n    restrict: 'A',\n    require: '?ngModel',\n    link: function(scope, elm, attr, ctrl) {\n      if (!ctrl) return;\n\n      var regexp, patternExp = attr.ngPattern || attr.pattern;\n      attr.$observe('pattern', function(regex) {\n        if (isString(regex) && regex.length > 0) {\n          regex = new RegExp('^' + regex + '$');\n        }\n\n        if (regex && !regex.test) {\n          throw minErr('ngPattern')('noregexp',\n            'Expected {0} to be a RegExp but was {1}. Element: {2}', patternExp,\n            regex, startingTag(elm));\n        }\n\n        regexp = regex || undefined;\n        ctrl.$validate();\n      });\n\n      ctrl.$validators.pattern = function(modelValue, viewValue) {\n        // HTML5 pattern constraint validates the input value, so we validate the viewValue\n        return ctrl.$isEmpty(viewValue) || isUndefined(regexp) || regexp.test(viewValue);\n      };\n    }\n  };\n};\n\n\nvar maxlengthDirective = function() {\n  return {\n    restrict: 'A',\n    require: '?ngModel',\n    link: function(scope, elm, attr, ctrl) {\n      if (!ctrl) return;\n\n      var maxlength = -1;\n      attr.$observe('maxlength', function(value) {\n        var intVal = toInt(value);\n        maxlength = isNaN(intVal) ? -1 : intVal;\n        ctrl.$validate();\n      });\n      ctrl.$validators.maxlength = function(modelValue, viewValue) {\n        return (maxlength < 0) || ctrl.$isEmpty(viewValue) || (viewValue.length <= maxlength);\n      };\n    }\n  };\n};\n\nvar minlengthDirective = function() {\n  return {\n    restrict: 'A',\n    require: '?ngModel',\n    link: function(scope, elm, attr, ctrl) {\n      if (!ctrl) return;\n\n      var minlength = 0;\n      attr.$observe('minlength', function(value) {\n        minlength = toInt(value) || 0;\n        ctrl.$validate();\n      });\n      ctrl.$validators.minlength = function(modelValue, viewValue) {\n        return ctrl.$isEmpty(viewValue) || viewValue.length >= minlength;\n      };\n    }\n  };\n};\n\nif (window.angular.bootstrap) {\n  //AngularJS is already loaded, so we can return here...\n  console.log('WARNING: Tried to load angular more than once.');\n  return;\n}\n\n//try to bind to jquery now so that one can write jqLite(document).ready()\n//but we will rebind on bootstrap again.\nbindJQuery();\n\npublishExternalAPI(angular);\n\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"MMMM d, y\",\n    \"medium\": \"MMM d, y h:mm:ss a\",\n    \"mediumDate\": \"MMM d, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"M/d/yy h:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-us\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n\n/**\n * Setup file for the Scenario.\n * Must be first in the compilation/bootstrap list.\n */\n\n// Public namespace\nangular.scenario = angular.scenario || {};\n\n/**\n * Expose jQuery (e.g. for custom dsl extensions).\n */\nangular.scenario.jQuery = _jQuery;\n\n/**\n * Defines a new output format.\n *\n * @param {string} name the name of the new output format\n * @param {function()} fn function(context, runner) that generates the output\n */\nangular.scenario.output = angular.scenario.output || function(name, fn) {\n  angular.scenario.output[name] = fn;\n};\n\n/**\n * Defines a new DSL statement. If your factory function returns a Future\n * it's returned, otherwise the result is assumed to be a map of functions\n * for chaining. Chained functions are subject to the same rules.\n *\n * Note: All functions on the chain are bound to the chain scope so values\n *   set on \"this\" in your statement function are available in the chained\n *   functions.\n *\n * @param {string} name The name of the statement\n * @param {function()} fn Factory function(), return a function for\n *  the statement.\n */\nangular.scenario.dsl = angular.scenario.dsl || function(name, fn) {\n  angular.scenario.dsl[name] = function() {\n    /* jshint -W040 *//* The dsl binds `this` for us when calling chained functions */\n    function executeStatement(statement, args) {\n      var result = statement.apply(this, args);\n      if (angular.isFunction(result) || result instanceof angular.scenario.Future) {\n        return result;\n      }\n      var self = this;\n      var chain = angular.extend({}, result);\n      angular.forEach(chain, function(value, name) {\n        if (angular.isFunction(value)) {\n          chain[name] = function() {\n            return executeStatement.call(self, value, arguments);\n          };\n        } else {\n          chain[name] = value;\n        }\n      });\n      return chain;\n    }\n    var statement = fn.apply(this, arguments);\n    return function() {\n      return executeStatement.call(this, statement, arguments);\n    };\n  };\n};\n\n/**\n * Defines a new matcher for use with the expects() statement. The value\n * this.actual (like in Jasmine) is available in your matcher to compare\n * against. Your function should return a boolean. The future is automatically\n * created for you.\n *\n * @param {string} name The name of the matcher\n * @param {function()} fn The matching function(expected).\n */\nangular.scenario.matcher = angular.scenario.matcher || function(name, fn) {\n  angular.scenario.matcher[name] = function(expected) {\n    var description = this.future.name +\n                      (this.inverse ? ' not ' : ' ') + name +\n                      ' ' + angular.toJson(expected);\n    var self = this;\n    this.addFuture('expect ' + description,\n      function(done) {\n        var error;\n        self.actual = self.future.value;\n        if ((self.inverse && fn.call(self, expected)) ||\n            (!self.inverse && !fn.call(self, expected))) {\n          error = 'expected ' + description +\n            ' but was ' + angular.toJson(self.actual);\n        }\n        done(error);\n    });\n  };\n};\n\n/**\n * Initialize the scenario runner and run !\n *\n * Access global window and document object\n * Access $runner through closure\n *\n * @param {Object=} config Config options\n */\nangular.scenario.setUpAndRun = function(config) {\n  var href = window.location.href;\n  var body = _jQuery(document.body);\n  var output = [];\n  var objModel = new angular.scenario.ObjectModel($runner);\n\n  if (config && config.scenario_output) {\n    output = config.scenario_output.split(',');\n  }\n\n  angular.forEach(angular.scenario.output, function(fn, name) {\n    if (!output.length || output.indexOf(name) != -1) {\n      var context = body.append('<div></div>').find('div:last');\n      context.attr('id', name);\n      fn.call({}, context, $runner, objModel);\n    }\n  });\n\n  if (!/^http/.test(href) && !/^https/.test(href)) {\n    body.append('<p id=\"system-error\"></p>');\n    body.find('#system-error').text(\n      'Scenario runner must be run using http or https. The protocol ' +\n      href.split(':')[0] + ':// is not supported.'\n    );\n    return;\n  }\n\n  var appFrame = body.append('<div id=\"application\"></div>').find('#application');\n  var application = new angular.scenario.Application(appFrame);\n\n  $runner.on('RunnerEnd', function() {\n    appFrame.css('display', 'none');\n    appFrame.find('iframe').attr('src', 'about:blank');\n  });\n\n  $runner.on('RunnerError', function(error) {\n    if (window.console) {\n      console.log(formatException(error));\n    } else {\n      // Do something for IE\n      alert(error);\n    }\n  });\n\n  $runner.run(application);\n};\n\n/**\n * Iterates through list with iterator function that must call the\n * continueFunction to continue iterating.\n *\n * @param {Array} list list to iterate over\n * @param {function()} iterator Callback function(value, continueFunction)\n * @param {function()} done Callback function(error, result) called when\n *   iteration finishes or an error occurs.\n */\nfunction asyncForEach(list, iterator, done) {\n  var i = 0;\n  function loop(error, index) {\n    if (index && index > i) {\n      i = index;\n    }\n    if (error || i >= list.length) {\n      done(error);\n    } else {\n      try {\n        iterator(list[i++], loop);\n      } catch (e) {\n        done(e);\n      }\n    }\n  }\n  loop();\n}\n\n/**\n * Formats an exception into a string with the stack trace, but limits\n * to a specific line length.\n *\n * @param {Object} error The exception to format, can be anything throwable\n * @param {Number=} [maxStackLines=5] max lines of the stack trace to include\n *  default is 5.\n */\nfunction formatException(error, maxStackLines) {\n  maxStackLines = maxStackLines || 5;\n  var message = error.toString();\n  if (error.stack) {\n    var stack = error.stack.split('\\n');\n    if (stack[0].indexOf(message) === -1) {\n      maxStackLines++;\n      stack.unshift(error.message);\n    }\n    message = stack.slice(0, maxStackLines).join('\\n');\n  }\n  return message;\n}\n\n/**\n * Returns a function that gets the file name and line number from a\n * location in the stack if available based on the call site.\n *\n * Note: this returns another function because accessing .stack is very\n * expensive in Chrome.\n *\n * @param {Number} offset Number of stack lines to skip\n */\nfunction callerFile(offset) {\n  var error = new Error();\n\n  return function() {\n    var line = (error.stack || '').split('\\n')[offset];\n\n    // Clean up the stack trace line\n    if (line) {\n      if (line.indexOf('@') !== -1) {\n        // Firefox\n        line = line.substring(line.indexOf('@') + 1);\n      } else {\n        // Chrome\n        line = line.substring(line.indexOf('(') + 1).replace(')', '');\n      }\n    }\n\n    return line || '';\n  };\n}\n\n\n/**\n * Don't use the jQuery trigger method since it works incorrectly.\n *\n * jQuery notifies listeners and then changes the state of a checkbox and\n * does not create a real browser event. A real click changes the state of\n * the checkbox and then notifies listeners.\n *\n * To work around this we instead use our own handler that fires a real event.\n */\n(function(fn) {\n  // We need a handle to the original trigger function for input tests.\n  var parentTrigger = fn._originalTrigger = fn.trigger;\n  fn.trigger = function(type) {\n    if (/(click|change|keydown|blur|input|mousedown|mouseup)/.test(type)) {\n      var processDefaults = [];\n      this.each(function(index, node) {\n        processDefaults.push(browserTrigger(node, type));\n      });\n\n      // this is not compatible with jQuery - we return an array of returned values,\n      // so that scenario runner know whether JS code has preventDefault() of the event or not...\n      return processDefaults;\n    }\n    return parentTrigger.apply(this, arguments);\n  };\n})(_jQuery.fn);\n\n/**\n * Finds all bindings with the substring match of name and returns an\n * array of their values.\n *\n * @param {string} bindExp The name to match\n * @return {Array.<string>} String of binding values\n */\n_jQuery.fn.bindings = function(windowJquery, bindExp) {\n  var result = [], match,\n      bindSelector = '.ng-binding:visible';\n  if (angular.isString(bindExp)) {\n    bindExp = bindExp.replace(/\\s/g, '');\n    match = function(actualExp) {\n      if (actualExp) {\n        actualExp = actualExp.replace(/\\s/g, '');\n        if (actualExp == bindExp) return true;\n        if (actualExp.indexOf(bindExp) === 0) {\n          return actualExp.charAt(bindExp.length) == '|';\n        }\n      }\n    };\n  } else if (bindExp) {\n    match = function(actualExp) {\n      return actualExp && bindExp.exec(actualExp);\n    };\n  } else {\n    match = function(actualExp) {\n      return !!actualExp;\n    };\n  }\n  var selection = this.find(bindSelector);\n  if (this.is(bindSelector)) {\n    selection = selection.add(this);\n  }\n\n  function push(value) {\n    if (angular.isUndefined(value)) {\n      value = '';\n    } else if (typeof value !== 'string') {\n      value = angular.toJson(value);\n    }\n    result.push('' + value);\n  }\n\n  selection.each(function() {\n    var element = windowJquery(this),\n        bindings;\n    if (bindings = element.data('$binding')) {\n      for (var expressions = [], binding, j=0, jj=bindings.length; j < jj; j++) {\n        binding = bindings[j];\n\n        if (binding.expressions) {\n          expressions = binding.expressions;\n        } else {\n          expressions = [binding];\n        }\n        for (var scope, expression, i = 0, ii = expressions.length; i < ii; i++) {\n          expression = expressions[i];\n          if (match(expression)) {\n            scope = scope || element.scope();\n            push(scope.$eval(expression));\n          }\n        }\n      }\n    }\n  });\n  return result;\n};\n\n(function() {\n  /**\n   * Triggers a browser event. Attempts to choose the right event if one is\n   * not specified.\n   *\n   * @param {Object} element Either a wrapped jQuery/jqLite node or a DOMElement\n   * @param {string} eventType Optional event type\n   * @param {Object=} eventData An optional object which contains additional event data (such as x,y\n   * coordinates, keys, etc...) that are passed into the event when triggered\n   */\n  window.browserTrigger = function browserTrigger(element, eventType, eventData) {\n    if (element && !element.nodeName) element = element[0];\n    if (!element) return;\n\n    eventData = eventData || {};\n    var relatedTarget = eventData.relatedTarget || element;\n    var keys = eventData.keys;\n    var x = eventData.x;\n    var y = eventData.y;\n\n    var inputType = (element.type) ? element.type.toLowerCase() : null,\n        nodeName = element.nodeName.toLowerCase();\n    if (!eventType) {\n      eventType = {\n        'text':            'change',\n        'textarea':        'change',\n        'hidden':          'change',\n        'password':        'change',\n        'button':          'click',\n        'submit':          'click',\n        'reset':           'click',\n        'image':           'click',\n        'checkbox':        'click',\n        'radio':           'click',\n        'select-one':      'change',\n        'select-multiple': 'change',\n        '_default_':       'click'\n      }[inputType || '_default_'];\n    }\n\n    if (nodeName == 'option') {\n      element.parentNode.value = element.value;\n      element = element.parentNode;\n      eventType = 'change';\n    }\n\n    keys = keys || [];\n    function pressed(key) {\n      return keys.indexOf(key) !== -1;\n    }\n\n    var evnt;\n    if (/transitionend/.test(eventType)) {\n      if (window.WebKitTransitionEvent) {\n        evnt = new WebKitTransitionEvent(eventType, eventData);\n        evnt.initEvent(eventType, false, true);\n      } else {\n        try {\n          evnt = new TransitionEvent(eventType, eventData);\n        }\n        catch (e) {\n          evnt = document.createEvent('TransitionEvent');\n          evnt.initTransitionEvent(eventType, null, null, null, eventData.elapsedTime || 0);\n        }\n      }\n    } else if (/animationend/.test(eventType)) {\n      if (window.WebKitAnimationEvent) {\n        evnt = new WebKitAnimationEvent(eventType, eventData);\n        evnt.initEvent(eventType, false, true);\n      } else {\n        try {\n          evnt = new AnimationEvent(eventType, eventData);\n        }\n        catch (e) {\n          evnt = document.createEvent('AnimationEvent');\n          evnt.initAnimationEvent(eventType, null, null, null, eventData.elapsedTime || 0);\n        }\n      }\n    } else if (/touch/.test(eventType) && supportsTouchEvents()) {\n      evnt = createTouchEvent(element, eventType, x, y);\n    } else {\n      evnt = document.createEvent('MouseEvents');\n      x = x || 0;\n      y = y || 0;\n      evnt.initMouseEvent(eventType, true, true, window, 0, x, y, x, y, pressed('ctrl'),\n          pressed('alt'), pressed('shift'), pressed('meta'), 0, relatedTarget);\n    }\n\n    /* we're unable to change the timeStamp value directly so this\n     * is only here to allow for testing where the timeStamp value is\n     * read */\n    evnt.$manualTimeStamp = eventData.timeStamp;\n\n    if (!evnt) return;\n\n    var originalPreventDefault = evnt.preventDefault,\n        appWindow = element.ownerDocument.defaultView,\n        fakeProcessDefault = true,\n        finalProcessDefault,\n        angular = appWindow.angular || {};\n\n    // igor: temporary fix for https://bugzilla.mozilla.org/show_bug.cgi?id=684208\n    angular['ff-684208-preventDefault'] = false;\n    evnt.preventDefault = function() {\n      fakeProcessDefault = false;\n      return originalPreventDefault.apply(evnt, arguments);\n    };\n\n    element.dispatchEvent(evnt);\n    finalProcessDefault = !(angular['ff-684208-preventDefault'] || !fakeProcessDefault);\n\n    delete angular['ff-684208-preventDefault'];\n\n    return finalProcessDefault;\n  };\n\n  function supportsTouchEvents() {\n    if ('_cached' in supportsTouchEvents) {\n      return supportsTouchEvents._cached;\n    }\n    if (!document.createTouch || !document.createTouchList) {\n      supportsTouchEvents._cached = false;\n      return false;\n    }\n    try {\n      document.createEvent('TouchEvent');\n    } catch (e) {\n      supportsTouchEvents._cached = false;\n      return false;\n    }\n    supportsTouchEvents._cached = true;\n    return true;\n  }\n\n  function createTouchEvent(element, eventType, x, y) {\n    var evnt = new Event(eventType);\n    x = x || 0;\n    y = y || 0;\n\n    var touch = document.createTouch(window, element, Date.now(), x, y, x, y);\n    var touches = document.createTouchList(touch);\n\n    evnt.touches = touches;\n\n    return evnt;\n  }\n}());\n\n/**\n * Represents the application currently being tested and abstracts usage\n * of iframes or separate windows.\n *\n * @param {Object} context jQuery wrapper around HTML context.\n */\nangular.scenario.Application = function(context) {\n  this.context = context;\n  context.append(\n    '<h2>Current URL: <a href=\"about:blank\">None</a></h2>' +\n    '<div id=\"test-frames\"></div>'\n  );\n};\n\n/**\n * Gets the jQuery collection of frames. Don't use this directly because\n * frames may go stale.\n *\n * @private\n * @return {Object} jQuery collection\n */\nangular.scenario.Application.prototype.getFrame_ = function() {\n  return this.context.find('#test-frames iframe:last');\n};\n\n/**\n * Gets the window of the test runner frame. Always favor executeAction()\n * instead of this method since it prevents you from getting a stale window.\n *\n * @private\n * @return {Object} the window of the frame\n */\nangular.scenario.Application.prototype.getWindow_ = function() {\n  var contentWindow = this.getFrame_().prop('contentWindow');\n  if (!contentWindow) {\n    throw 'Frame window is not accessible.';\n  }\n  return contentWindow;\n};\n\n/**\n * Changes the location of the frame.\n *\n * @param {string} url The URL. If it begins with a # then only the\n *   hash of the page is changed.\n * @param {function()} loadFn function($window, $document) Called when frame loads.\n * @param {function()} errorFn function(error) Called if any error when loading.\n */\nangular.scenario.Application.prototype.navigateTo = function(url, loadFn, errorFn) {\n  var self = this;\n  var frame = self.getFrame_();\n  //TODO(esprehn): Refactor to use rethrow()\n  errorFn = errorFn || function(e) { throw e; };\n  if (url === 'about:blank') {\n    errorFn('Sandbox Error: Navigating to about:blank is not allowed.');\n  } else if (url.charAt(0) === '#') {\n    url = frame.attr('src').split('#')[0] + url;\n    frame.attr('src', url);\n    self.executeAction(loadFn);\n  } else {\n    frame.remove();\n    self.context.find('#test-frames').append('<iframe>');\n    frame = self.getFrame_();\n\n    frame.load(function() {\n      frame.off();\n      try {\n        var $window = self.getWindow_();\n\n        if (!$window.angular) {\n          self.executeAction(loadFn);\n          return;\n        }\n\n        if (!$window.angular.resumeBootstrap) {\n          $window.angular.resumeDeferredBootstrap = resumeDeferredBootstrap;\n        } else {\n          resumeDeferredBootstrap();\n        }\n\n      } catch (e) {\n        errorFn(e);\n      }\n\n      function resumeDeferredBootstrap() {\n        // Disable animations\n        var $injector = $window.angular.resumeBootstrap([['$provide', function($provide) {\n          return ['$animate', function($animate) {\n            $animate.enabled(false);\n          }];\n        }]]);\n        self.rootElement = $injector.get('$rootElement')[0];\n        self.executeAction(loadFn);\n      }\n    }).attr('src', url);\n\n    // for IE compatibility set the name *after* setting the frame url\n    frame[0].contentWindow.name = \"NG_DEFER_BOOTSTRAP!\";\n  }\n  self.context.find('> h2 a').attr('href', url).text(url);\n};\n\n/**\n * Executes a function in the context of the tested application. Will wait\n * for all pending angular xhr requests before executing.\n *\n * @param {function()} action The callback to execute. function($window, $document)\n *  $document is a jQuery wrapped document.\n */\nangular.scenario.Application.prototype.executeAction = function(action) {\n  var self = this;\n  var $window = this.getWindow_();\n  if (!$window.document) {\n    throw 'Sandbox Error: Application document not accessible.';\n  }\n  if (!$window.angular) {\n    return action.call(this, $window, _jQuery($window.document));\n  }\n\n  if (!!this.rootElement) {\n    executeWithElement(this.rootElement);\n  } else {\n    angularInit($window.document, angular.bind(this, executeWithElement));\n  }\n\n  function executeWithElement(element) {\n    var $injector = $window.angular.element(element).injector();\n    var $element = _jQuery(element);\n\n    $element.injector = function() {\n      return $injector;\n    };\n\n    $injector.invoke(function($browser) {\n      $browser.notifyWhenNoOutstandingRequests(function() {\n        action.call(self, $window, $element);\n      });\n    });\n  }\n};\n\n/**\n * The representation of define blocks. Don't used directly, instead use\n * define() in your tests.\n *\n * @param {string} descName Name of the block\n * @param {Object} parent describe or undefined if the root.\n */\nangular.scenario.Describe = function(descName, parent) {\n  this.only = parent && parent.only;\n  this.beforeEachFns = [];\n  this.afterEachFns = [];\n  this.its = [];\n  this.children = [];\n  this.name = descName;\n  this.parent = parent;\n  this.id = angular.scenario.Describe.id++;\n\n  /**\n   * Calls all before functions.\n   */\n  var beforeEachFns = this.beforeEachFns;\n  this.setupBefore = function() {\n    if (parent) parent.setupBefore.call(this);\n    angular.forEach(beforeEachFns, function(fn) { fn.call(this); }, this);\n  };\n\n  /**\n   * Calls all after functions.\n   */\n  var afterEachFns = this.afterEachFns;\n  this.setupAfter  = function() {\n    angular.forEach(afterEachFns, function(fn) { fn.call(this); }, this);\n    if (parent) parent.setupAfter.call(this);\n  };\n};\n\n// Shared Unique ID generator for every describe block\nangular.scenario.Describe.id = 0;\n\n// Shared Unique ID generator for every it (spec)\nangular.scenario.Describe.specId = 0;\n\n/**\n * Defines a block to execute before each it or nested describe.\n *\n * @param {function()} body Body of the block.\n */\nangular.scenario.Describe.prototype.beforeEach = function(body) {\n  this.beforeEachFns.push(body);\n};\n\n/**\n * Defines a block to execute after each it or nested describe.\n *\n * @param {function()} body Body of the block.\n */\nangular.scenario.Describe.prototype.afterEach = function(body) {\n  this.afterEachFns.push(body);\n};\n\n/**\n * Creates a new describe block that's a child of this one.\n *\n * @param {string} name Name of the block. Appended to the parent block's name.\n * @param {function()} body Body of the block.\n */\nangular.scenario.Describe.prototype.describe = function(name, body) {\n  var child = new angular.scenario.Describe(name, this);\n  this.children.push(child);\n  body.call(child);\n};\n\n/**\n * Same as describe() but makes ddescribe blocks the only to run.\n *\n * @param {string} name Name of the test.\n * @param {function()} body Body of the block.\n */\nangular.scenario.Describe.prototype.ddescribe = function(name, body) {\n  var child = new angular.scenario.Describe(name, this);\n  child.only = true;\n  this.children.push(child);\n  body.call(child);\n};\n\n/**\n * Use to disable a describe block.\n */\nangular.scenario.Describe.prototype.xdescribe = angular.noop;\n\n/**\n * Defines a test.\n *\n * @param {string} name Name of the test.\n * @param {function()} body Body of the block.\n */\nangular.scenario.Describe.prototype.it = function(name, body) {\n  this.its.push({\n    id: angular.scenario.Describe.specId++,\n    definition: this,\n    only: this.only,\n    name: name,\n    before: this.setupBefore,\n    body: body,\n    after: this.setupAfter\n  });\n};\n\n/**\n * Same as it() but makes iit tests the only test to run.\n *\n * @param {string} name Name of the test.\n * @param {function()} body Body of the block.\n */\nangular.scenario.Describe.prototype.iit = function(name, body) {\n  this.it.apply(this, arguments);\n  this.its[this.its.length - 1].only = true;\n};\n\n/**\n * Use to disable a test block.\n */\nangular.scenario.Describe.prototype.xit = angular.noop;\n\n/**\n * Gets an array of functions representing all the tests (recursively).\n * that can be executed with SpecRunner's.\n *\n * @return {Array<Object>} Array of it blocks {\n *   definition : Object // parent Describe\n *   only: boolean\n *   name: string\n *   before: Function\n *   body: Function\n *   after: Function\n *  }\n */\nangular.scenario.Describe.prototype.getSpecs = function() {\n  var specs = arguments[0] || [];\n  angular.forEach(this.children, function(child) {\n    child.getSpecs(specs);\n  });\n  angular.forEach(this.its, function(it) {\n    specs.push(it);\n  });\n  var only = [];\n  angular.forEach(specs, function(it) {\n    if (it.only) {\n      only.push(it);\n    }\n  });\n  return (only.length && only) || specs;\n};\n\n/**\n * A future action in a spec.\n *\n * @param {string} name name of the future action\n * @param {function()} behavior future callback(error, result)\n * @param {function()} line Optional. function that returns the file/line number.\n */\nangular.scenario.Future = function(name, behavior, line) {\n  this.name = name;\n  this.behavior = behavior;\n  this.fulfilled = false;\n  this.value = undefined;\n  this.parser = angular.identity;\n  this.line = line || function() { return ''; };\n};\n\n/**\n * Executes the behavior of the closure.\n *\n * @param {function()} doneFn Callback function(error, result)\n */\nangular.scenario.Future.prototype.execute = function(doneFn) {\n  var self = this;\n  this.behavior(function(error, result) {\n    self.fulfilled = true;\n    if (result) {\n      try {\n        result = self.parser(result);\n      } catch (e) {\n        error = e;\n      }\n    }\n    self.value = error || result;\n    doneFn(error, result);\n  });\n};\n\n/**\n * Configures the future to convert its final with a function fn(value)\n *\n * @param {function()} fn function(value) that returns the parsed value\n */\nangular.scenario.Future.prototype.parsedWith = function(fn) {\n  this.parser = fn;\n  return this;\n};\n\n/**\n * Configures the future to parse its final value from JSON\n * into objects.\n */\nangular.scenario.Future.prototype.fromJson = function() {\n  return this.parsedWith(angular.fromJson);\n};\n\n/**\n * Configures the future to convert its final value from objects\n * into JSON.\n */\nangular.scenario.Future.prototype.toJson = function() {\n  return this.parsedWith(angular.toJson);\n};\n\n/**\n * Maintains an object tree from the runner events.\n *\n * @param {Object} runner The scenario Runner instance to connect to.\n *\n * TODO(esprehn): Every output type creates one of these, but we probably\n *  want one global shared instance. Need to handle events better too\n *  so the HTML output doesn't need to do spec model.getSpec(spec.id)\n *  silliness.\n *\n * TODO(vojta) refactor on, emit methods (from all objects) - use inheritance\n */\nangular.scenario.ObjectModel = function(runner) {\n  var self = this;\n\n  this.specMap = {};\n  this.listeners = [];\n  this.value = {\n    name: '',\n    children: {}\n  };\n\n  runner.on('SpecBegin', function(spec) {\n    var block = self.value,\n        definitions = [];\n\n    angular.forEach(self.getDefinitionPath(spec), function(def) {\n      if (!block.children[def.name]) {\n        block.children[def.name] = {\n          id: def.id,\n          name: def.name,\n          children: {},\n          specs: {}\n        };\n      }\n      block = block.children[def.name];\n      definitions.push(def.name);\n    });\n\n    var it = self.specMap[spec.id] =\n             block.specs[spec.name] =\n             new angular.scenario.ObjectModel.Spec(spec.id, spec.name, definitions);\n\n    // forward the event\n    self.emit('SpecBegin', it);\n  });\n\n  runner.on('SpecError', function(spec, error) {\n    var it = self.getSpec(spec.id);\n    it.status = 'error';\n    it.error = error;\n\n    // forward the event\n    self.emit('SpecError', it, error);\n  });\n\n  runner.on('SpecEnd', function(spec) {\n    var it = self.getSpec(spec.id);\n    complete(it);\n\n    // forward the event\n    self.emit('SpecEnd', it);\n  });\n\n  runner.on('StepBegin', function(spec, step) {\n    var it = self.getSpec(spec.id);\n    step = new angular.scenario.ObjectModel.Step(step.name);\n    it.steps.push(step);\n\n    // forward the event\n    self.emit('StepBegin', it, step);\n  });\n\n  runner.on('StepEnd', function(spec) {\n    var it = self.getSpec(spec.id);\n    var step = it.getLastStep();\n    if (step.name !== step.name) {\n      throw 'Events fired in the wrong order. Step names don\\'t match.';\n    }\n    complete(step);\n\n    // forward the event\n    self.emit('StepEnd', it, step);\n  });\n\n  runner.on('StepFailure', function(spec, step, error) {\n    var it = self.getSpec(spec.id),\n        modelStep = it.getLastStep();\n\n    modelStep.setErrorStatus('failure', error, step.line());\n    it.setStatusFromStep(modelStep);\n\n    // forward the event\n    self.emit('StepFailure', it, modelStep, error);\n  });\n\n  runner.on('StepError', function(spec, step, error) {\n    var it = self.getSpec(spec.id),\n        modelStep = it.getLastStep();\n\n    modelStep.setErrorStatus('error', error, step.line());\n    it.setStatusFromStep(modelStep);\n\n    // forward the event\n    self.emit('StepError', it, modelStep, error);\n  });\n\n  runner.on('RunnerBegin', function() {\n    self.emit('RunnerBegin');\n  });\n  runner.on('RunnerEnd', function() {\n    self.emit('RunnerEnd');\n  });\n\n  function complete(item) {\n    item.endTime = Date.now();\n    item.duration = item.endTime - item.startTime;\n    item.status = item.status || 'success';\n  }\n};\n\n/**\n * Adds a listener for an event.\n *\n * @param {string} eventName Name of the event to add a handler for\n * @param {function()} listener Function that will be called when event is fired\n */\nangular.scenario.ObjectModel.prototype.on = function(eventName, listener) {\n  eventName = eventName.toLowerCase();\n  this.listeners[eventName] = this.listeners[eventName] || [];\n  this.listeners[eventName].push(listener);\n};\n\n/**\n * Emits an event which notifies listeners and passes extra\n * arguments.\n *\n * @param {string} eventName Name of the event to fire.\n */\nangular.scenario.ObjectModel.prototype.emit = function(eventName) {\n  var self = this,\n      args = Array.prototype.slice.call(arguments, 1);\n\n  eventName = eventName.toLowerCase();\n\n  if (this.listeners[eventName]) {\n    angular.forEach(this.listeners[eventName], function(listener) {\n      listener.apply(self, args);\n    });\n  }\n};\n\n/**\n * Computes the path of definition describe blocks that wrap around\n * this spec.\n *\n * @param spec Spec to compute the path for.\n * @return {Array<Describe>} The describe block path\n */\nangular.scenario.ObjectModel.prototype.getDefinitionPath = function(spec) {\n  var path = [];\n  var currentDefinition = spec.definition;\n  while (currentDefinition && currentDefinition.name) {\n    path.unshift(currentDefinition);\n    currentDefinition = currentDefinition.parent;\n  }\n  return path;\n};\n\n/**\n * Gets a spec by id.\n *\n * @param {string} id The id of the spec to get the object for.\n * @return {Object} the Spec instance\n */\nangular.scenario.ObjectModel.prototype.getSpec = function(id) {\n  return this.specMap[id];\n};\n\n/**\n * A single it block.\n *\n * @param {string} id Id of the spec\n * @param {string} name Name of the spec\n * @param {Array<string>=} definitionNames List of all describe block names that wrap this spec\n */\nangular.scenario.ObjectModel.Spec = function(id, name, definitionNames) {\n  this.id = id;\n  this.name = name;\n  this.startTime = Date.now();\n  this.steps = [];\n  this.fullDefinitionName = (definitionNames || []).join(' ');\n};\n\n/**\n * Adds a new step to the Spec.\n *\n * @param {string} name Name of the step (really name of the future)\n * @return {Object} the added step\n */\nangular.scenario.ObjectModel.Spec.prototype.addStep = function(name) {\n  var step = new angular.scenario.ObjectModel.Step(name);\n  this.steps.push(step);\n  return step;\n};\n\n/**\n * Gets the most recent step.\n *\n * @return {Object} the step\n */\nangular.scenario.ObjectModel.Spec.prototype.getLastStep = function() {\n  return this.steps[this.steps.length - 1];\n};\n\n/**\n * Set status of the Spec from given Step\n *\n * @param {angular.scenario.ObjectModel.Step} step\n */\nangular.scenario.ObjectModel.Spec.prototype.setStatusFromStep = function(step) {\n  if (!this.status || step.status == 'error') {\n    this.status = step.status;\n    this.error = step.error;\n    this.line = step.line;\n  }\n};\n\n/**\n * A single step inside a Spec.\n *\n * @param {string} name Name of the step\n */\nangular.scenario.ObjectModel.Step = function(name) {\n  this.name = name;\n  this.startTime = Date.now();\n};\n\n/**\n * Helper method for setting all error status related properties\n *\n * @param {string} status\n * @param {string} error\n * @param {string} line\n */\nangular.scenario.ObjectModel.Step.prototype.setErrorStatus = function(status, error, line) {\n  this.status = status;\n  this.error = error;\n  this.line = line;\n};\n\n/**\n * Runner for scenarios\n *\n * Has to be initialized before any test is loaded,\n * because it publishes the API into window (global space).\n */\nangular.scenario.Runner = function($window) {\n  this.listeners = [];\n  this.$window = $window;\n  this.rootDescribe = new angular.scenario.Describe();\n  this.currentDescribe = this.rootDescribe;\n  this.api = {\n    it: this.it,\n    iit: this.iit,\n    xit: angular.noop,\n    describe: this.describe,\n    ddescribe: this.ddescribe,\n    xdescribe: angular.noop,\n    beforeEach: this.beforeEach,\n    afterEach: this.afterEach\n  };\n  angular.forEach(this.api, angular.bind(this, function(fn, key) {\n    this.$window[key] = angular.bind(this, fn);\n  }));\n};\n\n/**\n * Emits an event which notifies listeners and passes extra\n * arguments.\n *\n * @param {string} eventName Name of the event to fire.\n */\nangular.scenario.Runner.prototype.emit = function(eventName) {\n  var self = this;\n  var args = Array.prototype.slice.call(arguments, 1);\n  eventName = eventName.toLowerCase();\n  if (!this.listeners[eventName]) {\n    return;\n  }\n  angular.forEach(this.listeners[eventName], function(listener) {\n    listener.apply(self, args);\n  });\n};\n\n/**\n * Adds a listener for an event.\n *\n * @param {string} eventName The name of the event to add a handler for\n * @param {string} listener The fn(...) that takes the extra arguments from emit()\n */\nangular.scenario.Runner.prototype.on = function(eventName, listener) {\n  eventName = eventName.toLowerCase();\n  this.listeners[eventName] = this.listeners[eventName] || [];\n  this.listeners[eventName].push(listener);\n};\n\n/**\n * Defines a describe block of a spec.\n *\n * @see Describe.js\n *\n * @param {string} name Name of the block\n * @param {function()} body Body of the block\n */\nangular.scenario.Runner.prototype.describe = function(name, body) {\n  var self = this;\n  this.currentDescribe.describe(name, function() {\n    var parentDescribe = self.currentDescribe;\n    self.currentDescribe = this;\n    try {\n      body.call(this);\n    } finally {\n      self.currentDescribe = parentDescribe;\n    }\n  });\n};\n\n/**\n * Same as describe, but makes ddescribe the only blocks to run.\n *\n * @see Describe.js\n *\n * @param {string} name Name of the block\n * @param {function()} body Body of the block\n */\nangular.scenario.Runner.prototype.ddescribe = function(name, body) {\n  var self = this;\n  this.currentDescribe.ddescribe(name, function() {\n    var parentDescribe = self.currentDescribe;\n    self.currentDescribe = this;\n    try {\n      body.call(this);\n    } finally {\n      self.currentDescribe = parentDescribe;\n    }\n  });\n};\n\n/**\n * Defines a test in a describe block of a spec.\n *\n * @see Describe.js\n *\n * @param {string} name Name of the block\n * @param {function()} body Body of the block\n */\nangular.scenario.Runner.prototype.it = function(name, body) {\n  this.currentDescribe.it(name, body);\n};\n\n/**\n * Same as it, but makes iit tests the only tests to run.\n *\n * @see Describe.js\n *\n * @param {string} name Name of the block\n * @param {function()} body Body of the block\n */\nangular.scenario.Runner.prototype.iit = function(name, body) {\n  this.currentDescribe.iit(name, body);\n};\n\n/**\n * Defines a function to be called before each it block in the describe\n * (and before all nested describes).\n *\n * @see Describe.js\n *\n * @param {function()} Callback to execute\n */\nangular.scenario.Runner.prototype.beforeEach = function(body) {\n  this.currentDescribe.beforeEach(body);\n};\n\n/**\n * Defines a function to be called after each it block in the describe\n * (and before all nested describes).\n *\n * @see Describe.js\n *\n * @param {function()} Callback to execute\n */\nangular.scenario.Runner.prototype.afterEach = function(body) {\n  this.currentDescribe.afterEach(body);\n};\n\n/**\n * Creates a new spec runner.\n *\n * @private\n * @param {Object} scope parent scope\n */\nangular.scenario.Runner.prototype.createSpecRunner_ = function(scope) {\n  var child = scope.$new();\n  var Cls = angular.scenario.SpecRunner;\n\n  // Export all the methods to child scope manually as now we don't mess controllers with scopes\n  // TODO(vojta): refactor scenario runner so that these objects are not tightly coupled as current\n  for (var name in Cls.prototype) {\n    child[name] = angular.bind(child, Cls.prototype[name]);\n  }\n\n  Cls.call(child);\n  return child;\n};\n\n/**\n * Runs all the loaded tests with the specified runner class on the\n * provided application.\n *\n * @param {angular.scenario.Application} application App to remote control.\n */\nangular.scenario.Runner.prototype.run = function(application) {\n  var self = this;\n  var $root = angular.injector(['ng']).get('$rootScope');\n  angular.extend($root, this);\n  angular.forEach(angular.scenario.Runner.prototype, function(fn, name) {\n    $root[name] = angular.bind(self, fn);\n  });\n  $root.application = application;\n  $root.emit('RunnerBegin');\n  asyncForEach(this.rootDescribe.getSpecs(), function(spec, specDone) {\n    var dslCache = {};\n    var runner = self.createSpecRunner_($root);\n    angular.forEach(angular.scenario.dsl, function(fn, key) {\n      dslCache[key] = fn.call($root);\n    });\n    angular.forEach(angular.scenario.dsl, function(fn, key) {\n      self.$window[key] = function() {\n        var line = callerFile(3);\n        var scope = runner.$new();\n\n        // Make the dsl accessible on the current chain\n        scope.dsl = {};\n        angular.forEach(dslCache, function(fn, key) {\n          scope.dsl[key] = function() {\n            return dslCache[key].apply(scope, arguments);\n          };\n        });\n\n        // Make these methods work on the current chain\n        scope.addFuture = function() {\n          Array.prototype.push.call(arguments, line);\n          return angular.scenario.SpecRunner.\n            prototype.addFuture.apply(scope, arguments);\n        };\n        scope.addFutureAction = function() {\n          Array.prototype.push.call(arguments, line);\n          return angular.scenario.SpecRunner.\n            prototype.addFutureAction.apply(scope, arguments);\n        };\n\n        return scope.dsl[key].apply(scope, arguments);\n      };\n    });\n    runner.run(spec, function() {\n      runner.$destroy();\n      specDone.apply(this, arguments);\n    });\n  },\n  function(error) {\n    if (error) {\n      self.emit('RunnerError', error);\n    }\n    self.emit('RunnerEnd');\n  });\n};\n\n/**\n * This class is the \"this\" of the it/beforeEach/afterEach method.\n * Responsibilities:\n *   - \"this\" for it/beforeEach/afterEach\n *   - keep state for single it/beforeEach/afterEach execution\n *   - keep track of all of the futures to execute\n *   - run single spec (execute each future)\n */\nangular.scenario.SpecRunner = function() {\n  this.futures = [];\n  this.afterIndex = 0;\n};\n\n/**\n * Executes a spec which is an it block with associated before/after functions\n * based on the describe nesting.\n *\n * @param {Object} spec A spec object\n * @param {function()} specDone function that is called when the spec finishes,\n *                              of the form `Function(error, index)`\n */\nangular.scenario.SpecRunner.prototype.run = function(spec, specDone) {\n  var self = this;\n  this.spec = spec;\n\n  this.emit('SpecBegin', spec);\n\n  try {\n    spec.before.call(this);\n    spec.body.call(this);\n    this.afterIndex = this.futures.length;\n    spec.after.call(this);\n  } catch (e) {\n    this.emit('SpecError', spec, e);\n    this.emit('SpecEnd', spec);\n    specDone();\n    return;\n  }\n\n  var handleError = function(error, done) {\n    if (self.error) {\n      return done();\n    }\n    self.error = true;\n    done(null, self.afterIndex);\n  };\n\n  asyncForEach(\n    this.futures,\n    function(future, futureDone) {\n      self.step = future;\n      self.emit('StepBegin', spec, future);\n      try {\n        future.execute(function(error) {\n          if (error) {\n            self.emit('StepFailure', spec, future, error);\n            self.emit('StepEnd', spec, future);\n            return handleError(error, futureDone);\n          }\n          self.emit('StepEnd', spec, future);\n          self.$window.setTimeout(function() { futureDone(); }, 0);\n        });\n      } catch (e) {\n        self.emit('StepError', spec, future, e);\n        self.emit('StepEnd', spec, future);\n        handleError(e, futureDone);\n      }\n    },\n    function(e) {\n      if (e) {\n        self.emit('SpecError', spec, e);\n      }\n      self.emit('SpecEnd', spec);\n      // Call done in a timeout so exceptions don't recursively\n      // call this function\n      self.$window.setTimeout(function() { specDone(); }, 0);\n    }\n  );\n};\n\n/**\n * Adds a new future action.\n *\n * Note: Do not pass line manually. It happens automatically.\n *\n * @param {string} name Name of the future\n * @param {function()} behavior Behavior of the future\n * @param {function()} line fn() that returns file/line number\n */\nangular.scenario.SpecRunner.prototype.addFuture = function(name, behavior, line) {\n  var future = new angular.scenario.Future(name, angular.bind(this, behavior), line);\n  this.futures.push(future);\n  return future;\n};\n\n/**\n * Adds a new future action to be executed on the application window.\n *\n * Note: Do not pass line manually. It happens automatically.\n *\n * @param {string} name Name of the future\n * @param {function()} behavior Behavior of the future\n * @param {function()} line fn() that returns file/line number\n */\nangular.scenario.SpecRunner.prototype.addFutureAction = function(name, behavior, line) {\n  var self = this;\n  var NG = /\\[ng\\\\\\:/;\n  return this.addFuture(name, function(done) {\n    this.application.executeAction(function($window, $document) {\n\n      //TODO(esprehn): Refactor this so it doesn't need to be in here.\n      $document.elements = function(selector) {\n        var args = Array.prototype.slice.call(arguments, 1);\n        selector = (self.selector || '') + ' ' + (selector || '');\n        selector = _jQuery.trim(selector) || '*';\n        angular.forEach(args, function(value, index) {\n          selector = selector.replace('$' + (index + 1), value);\n        });\n        var result = $document.find(selector);\n        if (selector.match(NG)) {\n          angular.forEach(['[ng-','[data-ng-','[x-ng-'], function(value, index) {\n            result = result.add(selector.replace(NG, value), $document);\n          });\n        }\n        if (!result.length) {\n          throw {\n            type: 'selector',\n            message: 'Selector ' + selector + ' did not match any elements.'\n          };\n        }\n\n        return result;\n      };\n\n      try {\n        behavior.call(self, $window, $document, done);\n      } catch (e) {\n        if (e.type && e.type === 'selector') {\n          done(e.message);\n        } else {\n          throw e;\n        }\n      }\n    });\n  }, line);\n};\n\n/**\n * Shared DSL statements that are useful to all scenarios.\n */\n\n /**\n * Usage:\n *    pause() pauses until you call resume() in the console\n */\nangular.scenario.dsl('pause', function() {\n  return function() {\n    return this.addFuture('pausing for you to resume', function(done) {\n      this.emit('InteractivePause', this.spec, this.step);\n      this.$window.resume = function() { done(); };\n    });\n  };\n});\n\n/**\n * Usage:\n *    sleep(seconds) pauses the test for specified number of seconds\n */\nangular.scenario.dsl('sleep', function() {\n  return function(time) {\n    return this.addFuture('sleep for ' + time + ' seconds', function(done) {\n      this.$window.setTimeout(function() { done(null, time * 1000); }, time * 1000);\n    });\n  };\n});\n\n/**\n * Usage:\n *    browser().navigateTo(url) Loads the url into the frame\n *    browser().navigateTo(url, fn) where fn(url) is called and returns the URL to navigate to\n *    browser().reload() refresh the page (reload the same URL)\n *    browser().window.href() window.location.href\n *    browser().window.path() window.location.pathname\n *    browser().window.search() window.location.search\n *    browser().window.hash() window.location.hash without # prefix\n *    browser().location().url() see ng.$location#url\n *    browser().location().path() see ng.$location#path\n *    browser().location().search() see ng.$location#search\n *    browser().location().hash() see ng.$location#hash\n */\nangular.scenario.dsl('browser', function() {\n  var chain = {};\n\n  chain.navigateTo = function(url, delegate) {\n    var application = this.application;\n    return this.addFuture(\"browser navigate to '\" + url + \"'\", function(done) {\n      if (delegate) {\n        url = delegate.call(this, url);\n      }\n      application.navigateTo(url, function() {\n        done(null, url);\n      }, done);\n    });\n  };\n\n  chain.reload = function() {\n    var application = this.application;\n    return this.addFutureAction('browser reload', function($window, $document, done) {\n      var href = $window.location.href;\n      application.navigateTo(href, function() {\n        done(null, href);\n      }, done);\n    });\n  };\n\n  chain.window = function() {\n    var api = {};\n\n    api.href = function() {\n      return this.addFutureAction('window.location.href', function($window, $document, done) {\n        done(null, $window.location.href);\n      });\n    };\n\n    api.path = function() {\n      return this.addFutureAction('window.location.path', function($window, $document, done) {\n        done(null, $window.location.pathname);\n      });\n    };\n\n    api.search = function() {\n      return this.addFutureAction('window.location.search', function($window, $document, done) {\n        done(null, $window.location.search);\n      });\n    };\n\n    api.hash = function() {\n      return this.addFutureAction('window.location.hash', function($window, $document, done) {\n        done(null, $window.location.hash.replace('#', ''));\n      });\n    };\n\n    return api;\n  };\n\n  chain.location = function() {\n    var api = {};\n\n    api.url = function() {\n      return this.addFutureAction('$location.url()', function($window, $document, done) {\n        done(null, $document.injector().get('$location').url());\n      });\n    };\n\n    api.path = function() {\n      return this.addFutureAction('$location.path()', function($window, $document, done) {\n        done(null, $document.injector().get('$location').path());\n      });\n    };\n\n    api.search = function() {\n      return this.addFutureAction('$location.search()', function($window, $document, done) {\n        done(null, $document.injector().get('$location').search());\n      });\n    };\n\n    api.hash = function() {\n      return this.addFutureAction('$location.hash()', function($window, $document, done) {\n        done(null, $document.injector().get('$location').hash());\n      });\n    };\n\n    return api;\n  };\n\n  return function() {\n    return chain;\n  };\n});\n\n/**\n * Usage:\n *    expect(future).{matcher} where matcher is one of the matchers defined\n *    with angular.scenario.matcher\n *\n * ex. expect(binding(\"name\")).toEqual(\"Elliott\")\n */\nangular.scenario.dsl('expect', function() {\n  var chain = angular.extend({}, angular.scenario.matcher);\n\n  chain.not = function() {\n    this.inverse = true;\n    return chain;\n  };\n\n  return function(future) {\n    this.future = future;\n    return chain;\n  };\n});\n\n/**\n * Usage:\n *    using(selector, label) scopes the next DSL element selection\n *\n * ex.\n *   using('#foo', \"'Foo' text field\").input('bar')\n */\nangular.scenario.dsl('using', function() {\n  return function(selector, label) {\n    this.selector = _jQuery.trim((this.selector || '') + ' ' + selector);\n    if (angular.isString(label) && label.length) {\n      this.label = label + ' ( ' + this.selector + ' )';\n    } else {\n      this.label = this.selector;\n    }\n    return this.dsl;\n  };\n});\n\n/**\n * Usage:\n *    binding(name) returns the value of the first matching binding\n */\nangular.scenario.dsl('binding', function() {\n  return function(name) {\n    return this.addFutureAction(\"select binding '\" + name + \"'\",\n      function($window, $document, done) {\n        var values = $document.elements().bindings($window.angular.element, name);\n        if (!values.length) {\n          return done(\"Binding selector '\" + name + \"' did not match.\");\n        }\n        done(null, values[0]);\n    });\n  };\n});\n\n/**\n * Usage:\n *    input(name).enter(value) enters value in input with specified name\n *    input(name).check() checks checkbox\n *    input(name).select(value) selects the radio button with specified name/value\n *    input(name).val() returns the value of the input.\n */\nangular.scenario.dsl('input', function() {\n  var chain = {};\n  var supportInputEvent = 'oninput' in document.createElement('div') && !(msie && msie <= 11);\n\n  chain.enter = function(value, event) {\n    return this.addFutureAction(\"input '\" + this.name + \"' enter '\" + value + \"'\",\n      function($window, $document, done) {\n        var input = $document.elements('[ng\\\\:model=\"$1\"]', this.name).filter(':input');\n        input.val(value);\n        input.trigger(event || (supportInputEvent ? 'input' : 'change'));\n        done();\n    });\n  };\n\n  chain.check = function() {\n    return this.addFutureAction(\"checkbox '\" + this.name + \"' toggle\",\n      function($window, $document, done) {\n        var input = $document.elements('[ng\\\\:model=\"$1\"]', this.name).filter(':checkbox');\n        input.trigger('click');\n        done();\n    });\n  };\n\n  chain.select = function(value) {\n    return this.addFutureAction(\"radio button '\" + this.name + \"' toggle '\" + value + \"'\",\n      function($window, $document, done) {\n        var input = $document.\n          elements('[ng\\\\:model=\"$1\"][value=\"$2\"]', this.name, value).filter(':radio');\n        input.trigger('click');\n        done();\n    });\n  };\n\n  chain.val = function() {\n    return this.addFutureAction(\"return input val\", function($window, $document, done) {\n      var input = $document.elements('[ng\\\\:model=\"$1\"]', this.name).filter(':input');\n      done(null,input.val());\n    });\n  };\n\n  return function(name) {\n    this.name = name;\n    return chain;\n  };\n});\n\n\n/**\n * Usage:\n *    repeater('#products table', 'Product List').count() number of rows\n *    repeater('#products table', 'Product List').row(1) all bindings in row as an array\n *    repeater('#products table', 'Product List').column('product.name') all values across all rows\n *    in an array\n */\nangular.scenario.dsl('repeater', function() {\n  var chain = {};\n\n  chain.count = function() {\n    return this.addFutureAction(\"repeater '\" + this.label + \"' count\",\n      function($window, $document, done) {\n        try {\n          done(null, $document.elements().length);\n        } catch (e) {\n          done(null, 0);\n        }\n    });\n  };\n\n  chain.column = function(binding) {\n    return this.addFutureAction(\"repeater '\" + this.label + \"' column '\" + binding + \"'\",\n      function($window, $document, done) {\n        done(null, $document.elements().bindings($window.angular.element, binding));\n    });\n  };\n\n  chain.row = function(index) {\n    return this.addFutureAction(\"repeater '\" + this.label + \"' row '\" + index + \"'\",\n      function($window, $document, done) {\n        var matches = $document.elements().slice(index, index + 1);\n        if (!matches.length) {\n          return done('row ' + index + ' out of bounds');\n        }\n        done(null, matches.bindings($window.angular.element));\n    });\n  };\n\n  return function(selector, label) {\n    this.dsl.using(selector, label);\n    return chain;\n  };\n});\n\n/**\n * Usage:\n *    select(name).option('value') select one option\n *    select(name).options('value1', 'value2', ...) select options from a multi select\n */\nangular.scenario.dsl('select', function() {\n  var chain = {};\n\n  chain.option = function(value) {\n    return this.addFutureAction(\"select '\" + this.name + \"' option '\" + value + \"'\",\n      function($window, $document, done) {\n        var select = $document.elements('select[ng\\\\:model=\"$1\"]', this.name);\n        var option = select.find('option[value=\"' + value + '\"]');\n        if (option.length) {\n          select.val(value);\n        } else {\n          option = select.find('option').filter(function() {\n            return _jQuery(this).text() === value;\n          });\n          if (!option.length) {\n            option = select.find('option:contains(\"' + value + '\")');\n          }\n          if (option.length) {\n            select.val(option.val());\n          } else {\n              return done(\"option '\" + value + \"' not found\");\n          }\n        }\n        select.trigger('change');\n        done();\n    });\n  };\n\n  chain.options = function() {\n    var values = arguments;\n    return this.addFutureAction(\"select '\" + this.name + \"' options '\" + values + \"'\",\n      function($window, $document, done) {\n        var select = $document.elements('select[multiple][ng\\\\:model=\"$1\"]', this.name);\n        select.val(values);\n        select.trigger('change');\n        done();\n    });\n  };\n\n  return function(name) {\n    this.name = name;\n    return chain;\n  };\n});\n\n/**\n * Usage:\n *    element(selector, label).count() get the number of elements that match selector\n *    element(selector, label).click() clicks an element\n *    element(selector, label).mouseover() mouseover an element\n *    element(selector, label).mousedown() mousedown an element\n *    element(selector, label).mouseup() mouseup an element\n *    element(selector, label).query(fn) executes fn(selectedElements, done)\n *    element(selector, label).{method}() gets the value (as defined by jQuery, ex. val)\n *    element(selector, label).{method}(value) sets the value (as defined by jQuery, ex. val)\n *    element(selector, label).{method}(key) gets the value (as defined by jQuery, ex. attr)\n *    element(selector, label).{method}(key, value) sets the value (as defined by jQuery, ex. attr)\n */\nangular.scenario.dsl('element', function() {\n  var KEY_VALUE_METHODS = ['attr', 'css', 'prop'];\n  var VALUE_METHODS = [\n    'val', 'text', 'html', 'height', 'innerHeight', 'outerHeight', 'width',\n    'innerWidth', 'outerWidth', 'position', 'scrollLeft', 'scrollTop', 'offset'\n  ];\n  var chain = {};\n\n  chain.count = function() {\n    return this.addFutureAction(\"element '\" + this.label + \"' count\",\n      function($window, $document, done) {\n        try {\n          done(null, $document.elements().length);\n        } catch (e) {\n          done(null, 0);\n        }\n    });\n  };\n\n  chain.click = function() {\n    return this.addFutureAction(\"element '\" + this.label + \"' click\",\n      function($window, $document, done) {\n        var elements = $document.elements();\n        var href = elements.attr('href');\n        var eventProcessDefault = elements.trigger('click')[0];\n\n        if (href && elements[0].nodeName.toLowerCase() === 'a' && eventProcessDefault) {\n          this.application.navigateTo(href, function() {\n            done();\n          }, done);\n        } else {\n          done();\n        }\n    });\n  };\n\n  chain.dblclick = function() {\n    return this.addFutureAction(\"element '\" + this.label + \"' dblclick\",\n      function($window, $document, done) {\n        var elements = $document.elements();\n        var href = elements.attr('href');\n        var eventProcessDefault = elements.trigger('dblclick')[0];\n\n        if (href && elements[0].nodeName.toLowerCase() === 'a' && eventProcessDefault) {\n          this.application.navigateTo(href, function() {\n            done();\n          }, done);\n        } else {\n          done();\n        }\n    });\n  };\n\n  chain.mouseover = function() {\n    return this.addFutureAction(\"element '\" + this.label + \"' mouseover\",\n      function($window, $document, done) {\n        var elements = $document.elements();\n        elements.trigger('mouseover');\n        done();\n    });\n  };\n\n  chain.mousedown = function() {\n      return this.addFutureAction(\"element '\" + this.label + \"' mousedown\",\n        function($window, $document, done) {\n          var elements = $document.elements();\n          elements.trigger('mousedown');\n          done();\n      });\n    };\n\n  chain.mouseup = function() {\n      return this.addFutureAction(\"element '\" + this.label + \"' mouseup\",\n        function($window, $document, done) {\n          var elements = $document.elements();\n          elements.trigger('mouseup');\n          done();\n      });\n    };\n\n  chain.query = function(fn) {\n    return this.addFutureAction('element ' + this.label + ' custom query',\n      function($window, $document, done) {\n        fn.call(this, $document.elements(), done);\n    });\n  };\n\n  angular.forEach(KEY_VALUE_METHODS, function(methodName) {\n    chain[methodName] = function(name, value) {\n      var args = arguments,\n          futureName = (args.length == 1)\n              ? \"element '\" + this.label + \"' get \" + methodName + \" '\" + name + \"'\"\n              : \"element '\" + this.label + \"' set \" + methodName + \" '\" + name + \"' to \" + \"'\" +\n                value + \"'\";\n\n      return this.addFutureAction(futureName, function($window, $document, done) {\n        var element = $document.elements();\n        done(null, element[methodName].apply(element, args));\n      });\n    };\n  });\n\n  angular.forEach(VALUE_METHODS, function(methodName) {\n    chain[methodName] = function(value) {\n      var args = arguments,\n          futureName = (args.length === 0)\n              ? \"element '\" + this.label + \"' \" + methodName\n              : \"element '\" + this.label + \"' set \" + methodName + \" to '\" + value + \"'\";\n\n      return this.addFutureAction(futureName, function($window, $document, done) {\n        var element = $document.elements();\n        done(null, element[methodName].apply(element, args));\n      });\n    };\n  });\n\n  return function(selector, label) {\n    this.dsl.using(selector, label);\n    return chain;\n  };\n});\n\n/**\n * Matchers for implementing specs. Follows the Jasmine spec conventions.\n */\n\nangular.scenario.matcher('toEqual', function(expected) {\n  return angular.equals(this.actual, expected);\n});\n\nangular.scenario.matcher('toBe', function(expected) {\n  return this.actual === expected;\n});\n\nangular.scenario.matcher('toBeDefined', function() {\n  return angular.isDefined(this.actual);\n});\n\nangular.scenario.matcher('toBeTruthy', function() {\n  return this.actual;\n});\n\nangular.scenario.matcher('toBeFalsy', function() {\n  return !this.actual;\n});\n\nangular.scenario.matcher('toMatch', function(expected) {\n  return new RegExp(expected).test(this.actual);\n});\n\nangular.scenario.matcher('toBeNull', function() {\n  return this.actual === null;\n});\n\nangular.scenario.matcher('toContain', function(expected) {\n  return includes(this.actual, expected);\n});\n\nangular.scenario.matcher('toBeLessThan', function(expected) {\n  return this.actual < expected;\n});\n\nangular.scenario.matcher('toBeGreaterThan', function(expected) {\n  return this.actual > expected;\n});\n\n/**\n * User Interface for the Scenario Runner.\n *\n * TODO(esprehn): This should be refactored now that ObjectModel exists\n *  to use angular bindings for the UI.\n */\nangular.scenario.output('html', function(context, runner, model) {\n  var specUiMap = {},\n      lastStepUiMap = {};\n\n  context.append(\n    '<div id=\"header\">' +\n    '  <h1><span class=\"angular\">AngularJS</span>: Scenario Test Runner</h1>' +\n    '  <ul id=\"status-legend\" class=\"status-display\">' +\n    '    <li class=\"status-error\">0 Errors</li>' +\n    '    <li class=\"status-failure\">0 Failures</li>' +\n    '    <li class=\"status-success\">0 Passed</li>' +\n    '  </ul>' +\n    '</div>' +\n    '<div id=\"specs\">' +\n    '  <div class=\"test-children\"></div>' +\n    '</div>'\n  );\n\n  runner.on('InteractivePause', function(spec) {\n    var ui = lastStepUiMap[spec.id];\n    ui.find('.test-title').\n      html('paused... <a href=\"javascript:resume()\">resume</a> when ready.');\n  });\n\n  runner.on('SpecBegin', function(spec) {\n    var ui = findContext(spec);\n    ui.find('> .tests').append(\n      '<li class=\"status-pending test-it\"></li>'\n    );\n    ui = ui.find('> .tests li:last');\n    ui.append(\n      '<div class=\"test-info\">' +\n      '  <p class=\"test-title\">' +\n      '    <span class=\"timer-result\"></span>' +\n      '    <span class=\"test-name\"></span>' +\n      '  </p>' +\n      '</div>' +\n      '<div class=\"scrollpane\">' +\n      '  <ol class=\"test-actions\"></ol>' +\n      '</div>'\n    );\n    ui.find('> .test-info .test-name').text(spec.name);\n    ui.find('> .test-info').click(function() {\n      var scrollpane = ui.find('> .scrollpane');\n      var actions = scrollpane.find('> .test-actions');\n      var name = context.find('> .test-info .test-name');\n      if (actions.find(':visible').length) {\n        actions.hide();\n        name.removeClass('open').addClass('closed');\n      } else {\n        actions.show();\n        scrollpane.attr('scrollTop', scrollpane.attr('scrollHeight'));\n        name.removeClass('closed').addClass('open');\n      }\n    });\n\n    specUiMap[spec.id] = ui;\n  });\n\n  runner.on('SpecError', function(spec, error) {\n    var ui = specUiMap[spec.id];\n    ui.append('<pre></pre>');\n    ui.find('> pre').text(formatException(error));\n  });\n\n  runner.on('SpecEnd', function(spec) {\n    var ui = specUiMap[spec.id];\n    spec = model.getSpec(spec.id);\n    ui.removeClass('status-pending');\n    ui.addClass('status-' + spec.status);\n    ui.find(\"> .test-info .timer-result\").text(spec.duration + \"ms\");\n    if (spec.status === 'success') {\n      ui.find('> .test-info .test-name').addClass('closed');\n      ui.find('> .scrollpane .test-actions').hide();\n    }\n    updateTotals(spec.status);\n  });\n\n  runner.on('StepBegin', function(spec, step) {\n    var ui = specUiMap[spec.id];\n    spec = model.getSpec(spec.id);\n    step = spec.getLastStep();\n    ui.find('> .scrollpane .test-actions').append('<li class=\"status-pending\"></li>');\n    var stepUi = lastStepUiMap[spec.id] = ui.find('> .scrollpane .test-actions li:last');\n    stepUi.append(\n      '<div class=\"timer-result\"></div>' +\n      '<div class=\"test-title\"></div>'\n    );\n    stepUi.find('> .test-title').text(step.name);\n    var scrollpane = stepUi.parents('.scrollpane');\n    scrollpane.attr('scrollTop', scrollpane.attr('scrollHeight'));\n  });\n\n  runner.on('StepFailure', function(spec, step, error) {\n    var ui = lastStepUiMap[spec.id];\n    addError(ui, step.line, error);\n  });\n\n  runner.on('StepError', function(spec, step, error) {\n    var ui = lastStepUiMap[spec.id];\n    addError(ui, step.line, error);\n  });\n\n  runner.on('StepEnd', function(spec, step) {\n    var stepUi = lastStepUiMap[spec.id];\n    spec = model.getSpec(spec.id);\n    step = spec.getLastStep();\n    stepUi.find('.timer-result').text(step.duration + 'ms');\n    stepUi.removeClass('status-pending');\n    stepUi.addClass('status-' + step.status);\n    var scrollpane = specUiMap[spec.id].find('> .scrollpane');\n    scrollpane.attr('scrollTop', scrollpane.attr('scrollHeight'));\n  });\n\n  /**\n   * Finds the context of a spec block defined by the passed definition.\n   *\n   * @param {Object} The definition created by the Describe object.\n   */\n  function findContext(spec) {\n    var currentContext = context.find('#specs');\n    angular.forEach(model.getDefinitionPath(spec), function(defn) {\n      var id = 'describe-' + defn.id;\n      if (!context.find('#' + id).length) {\n        currentContext.find('> .test-children').append(\n          '<div class=\"test-describe\" id=\"' + id + '\">' +\n          '  <h2></h2>' +\n          '  <div class=\"test-children\"></div>' +\n          '  <ul class=\"tests\"></ul>' +\n          '</div>'\n        );\n        context.find('#' + id).find('> h2').text('describe: ' + defn.name);\n      }\n      currentContext = context.find('#' + id);\n    });\n    return context.find('#describe-' + spec.definition.id);\n  }\n\n  /**\n   * Updates the test counter for the status.\n   *\n   * @param {string} the status.\n   */\n  function updateTotals(status) {\n    var legend = context.find('#status-legend .status-' + status);\n    var parts = legend.text().split(' ');\n    var value = (parts[0] * 1) + 1;\n    legend.text(value + ' ' + parts[1]);\n  }\n\n  /**\n   * Add an error to a step.\n   *\n   * @param {Object} The JQuery wrapped context\n   * @param {function()} fn() that should return the file/line number of the error\n   * @param {Object} the error.\n   */\n  function addError(context, line, error) {\n    context.find('.test-title').append('<pre></pre>');\n    var message = _jQuery.trim(line() + '\\n\\n' + formatException(error));\n    context.find('.test-title pre:last').text(message);\n  }\n});\n\n/**\n * Generates JSON output into a context.\n */\nangular.scenario.output('json', function(context, runner, model) {\n  model.on('RunnerEnd', function() {\n    context.text(angular.toJson(model.value));\n  });\n});\n\n/**\n * Generates XML output into a context.\n */\nangular.scenario.output('xml', function(context, runner, model) {\n  var $ = function(args) {return new context.init(args);};\n  model.on('RunnerEnd', function() {\n    var scenario = $('<scenario></scenario>');\n    context.append(scenario);\n    serializeXml(scenario, model.value);\n  });\n\n  /**\n   * Convert the tree into XML.\n   *\n   * @param {Object} context jQuery context to add the XML to.\n   * @param {Object} tree node to serialize\n   */\n  function serializeXml(context, tree) {\n     angular.forEach(tree.children, function(child) {\n       var describeContext = $('<describe></describe>');\n       describeContext.attr('id', child.id);\n       describeContext.attr('name', child.name);\n       context.append(describeContext);\n       serializeXml(describeContext, child);\n     });\n     var its = $('<its></its>');\n     context.append(its);\n     angular.forEach(tree.specs, function(spec) {\n       var it = $('<it></it>');\n       it.attr('id', spec.id);\n       it.attr('name', spec.name);\n       it.attr('duration', spec.duration);\n       it.attr('status', spec.status);\n       its.append(it);\n       angular.forEach(spec.steps, function(step) {\n         var stepContext = $('<step></step>');\n         stepContext.attr('name', step.name);\n         stepContext.attr('duration', step.duration);\n         stepContext.attr('status', step.status);\n         it.append(stepContext);\n         if (step.error) {\n           var error = $('<error></error>');\n           stepContext.append(error);\n           error.text(formatException(step.error));\n         }\n       });\n     });\n   }\n});\n\n/**\n * Creates a global value $result with the result of the runner.\n */\nangular.scenario.output('object', function(context, runner, model) {\n  runner.$window.$result = model.value;\n});\n\nbindJQuery();\npublishExternalAPI(angular);\n\nvar $runner = new angular.scenario.Runner(window),\n    scripts = document.getElementsByTagName('script'),\n    script = scripts[scripts.length - 1],\n    config = {};\n\nangular.forEach(script.attributes, function(attr) {\n  var match = attr.name.match(/ng[:\\-](.*)/);\n  if (match) {\n    config[match[1]] = attr.value || true;\n  }\n});\n\nif (config.autotest) {\n  JQLite(document).ready(function() {\n    angular.scenario.setUpAndRun(config);\n  });\n}\n})(window, document);\n\n\n!window.angular.$$csp().noInlineStyle && window.angular.element(document.head).prepend('<style type=\"text/css\">@charset \"UTF-8\";\\n\\n[ng\\\\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak],\\n.ng-cloak, .x-ng-cloak,\\n.ng-hide:not(.ng-hide-animate) {\\n  display: none !important;\\n}\\n\\nng\\\\:form {\\n  display: block;\\n}\\n\\n.ng-animate-shim {\\n  visibility:hidden;\\n}\\n\\n.ng-anchor {\\n  position:absolute;\\n}\\n</style>');\n!window.angular.$$csp().noInlineStyle && window.angular.element(document.head).prepend('<style type=\"text/css\">@charset \"UTF-8\";\\n/* CSS Document */\\n\\n/** Structure */\\nbody {\\n  font-family: Arial, sans-serif;\\n  margin: 0;\\n  font-size: 14px;\\n}\\n\\n#system-error {\\n  font-size: 1.5em;\\n  text-align: center;\\n}\\n\\n#json, #xml {\\n  display: none;\\n}\\n\\n#header {\\n  position: fixed;\\n  width: 100%;\\n}\\n\\n#specs {\\n  padding-top: 50px;\\n}\\n\\n#header .angular {\\n  font-family: Courier New, monospace;\\n  font-weight: bold;\\n}\\n\\n#header h1 {\\n  font-weight: normal;\\n  float: left;\\n  font-size: 30px;\\n  line-height: 30px;\\n  margin: 0;\\n  padding: 10px 10px;\\n  height: 30px;\\n}\\n\\n#application h2,\\n#specs h2 {\\n  margin: 0;\\n  padding: 0.5em;\\n  font-size: 1.1em;\\n}\\n\\n#status-legend {\\n  margin-top: 10px;\\n  margin-right: 10px;\\n}\\n\\n#header,\\n#application,\\n.test-info,\\n.test-actions li {\\n  overflow: hidden;\\n}\\n\\n#application {\\n  margin: 10px;\\n}\\n\\n#application iframe {\\n  width: 100%;\\n  height: 758px;\\n}\\n\\n#application .popout {\\n  float: right;\\n}\\n\\n#application iframe {\\n  border: none;\\n}\\n\\n.tests li,\\n.test-actions li,\\n.test-it li,\\n.test-it ol,\\n.status-display {\\n  list-style-type: none;\\n}\\n\\n.tests,\\n.test-it ol,\\n.status-display {\\n  margin: 0;\\n  padding: 0;\\n}\\n\\n.test-info {\\n  margin-left: 1em;\\n  margin-top: 0.5em;\\n  border-radius: 8px 0 0 8px;\\n  -webkit-border-radius: 8px 0 0 8px;\\n  -moz-border-radius: 8px 0 0 8px;\\n  cursor: pointer;\\n}\\n\\n.test-info:hover .test-name {\\n  text-decoration: underline;\\n}\\n\\n.test-info .closed:before {\\n  content: \\'\\\\25b8\\\\00A0\\';\\n}\\n\\n.test-info .open:before {\\n  content: \\'\\\\25be\\\\00A0\\';\\n  font-weight: bold;\\n}\\n\\n.test-it ol {\\n  margin-left: 2.5em;\\n}\\n\\n.status-display,\\n.status-display li {\\n  float: right;\\n}\\n\\n.status-display li {\\n  padding: 5px 10px;\\n}\\n\\n.timer-result,\\n.test-title {\\n  display: inline-block;\\n  margin: 0;\\n  padding: 4px;\\n}\\n\\n.test-actions .test-title,\\n.test-actions .test-result {\\n  display: table-cell;\\n  padding-left: 0.5em;\\n  padding-right: 0.5em;\\n}\\n\\n.test-actions {\\n  display: table;\\n}\\n\\n.test-actions li {\\n  display: table-row;\\n}\\n\\n.timer-result {\\n  width: 4em;\\n  padding: 0 10px;\\n  text-align: right;\\n  font-family: monospace;\\n}\\n\\n.test-it pre,\\n.test-actions pre {\\n  clear: left;\\n  color: black;\\n  margin-left: 6em;\\n}\\n\\n.test-describe {\\n  padding-bottom: 0.5em;\\n}\\n\\n.test-describe .test-describe {\\n  margin: 5px 5px 10px 2em;\\n}\\n\\n.test-actions .status-pending .test-title:before {\\n  content: \\'\\\\00bb\\\\00A0\\';\\n}\\n\\n.scrollpane {\\n   max-height: 20em;\\n   overflow: auto;\\n}\\n\\n/** Colors */\\n\\n#header {\\n  background-color: #F2C200;\\n}\\n\\n#specs h2 {\\n  border-top: 2px solid #BABAD1;\\n}\\n\\n#specs h2,\\n#application h2 {\\n  background-color: #efefef;\\n}\\n\\n#application {\\n  border: 1px solid #BABAD1;\\n}\\n\\n.test-describe .test-describe {\\n  border-left: 1px solid #BABAD1;\\n  border-right: 1px solid #BABAD1;\\n  border-bottom: 1px solid #BABAD1;\\n}\\n\\n.status-display {\\n  border: 1px solid #777;\\n}\\n\\n.status-display .status-pending,\\n.status-pending .test-info {\\n  background-color: #F9EEBC;\\n}\\n\\n.status-display .status-success,\\n.status-success .test-info {\\n  background-color: #B1D7A1;\\n}\\n\\n.status-display .status-failure,\\n.status-failure .test-info {\\n  background-color: #FF8286;\\n}\\n\\n.status-display .status-error,\\n.status-error .test-info {\\n  background-color: black;\\n  color: white;\\n}\\n\\n.test-actions .status-success .test-title {\\n  color: #30B30A;\\n}\\n\\n.test-actions .status-failure .test-title {\\n  color: #DF0000;\\n}\\n\\n.test-actions .status-error .test-title {\\n  color: black;\\n}\\n\\n.test-actions .timer-result {\\n  color: #888;\\n}\\n</style>');"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/angular-touch.js",
    "content": "/**\n * @license AngularJS v1.4.8\n * (c) 2010-2015 Google, Inc. http://angularjs.org\n * License: MIT\n */\n(function(window, angular, undefined) {'use strict';\n\n/**\n * @ngdoc module\n * @name ngTouch\n * @description\n *\n * # ngTouch\n *\n * The `ngTouch` module provides touch events and other helpers for touch-enabled devices.\n * The implementation is based on jQuery Mobile touch event handling\n * ([jquerymobile.com](http://jquerymobile.com/)).\n *\n *\n * See {@link ngTouch.$swipe `$swipe`} for usage.\n *\n * <div doc-module-components=\"ngTouch\"></div>\n *\n */\n\n// define ngTouch module\n/* global -ngTouch */\nvar ngTouch = angular.module('ngTouch', []);\n\nfunction nodeName_(element) {\n  return angular.lowercase(element.nodeName || (element[0] && element[0].nodeName));\n}\n\n/* global ngTouch: false */\n\n    /**\n     * @ngdoc service\n     * @name $swipe\n     *\n     * @description\n     * The `$swipe` service is a service that abstracts the messier details of hold-and-drag swipe\n     * behavior, to make implementing swipe-related directives more convenient.\n     *\n     * Requires the {@link ngTouch `ngTouch`} module to be installed.\n     *\n     * `$swipe` is used by the `ngSwipeLeft` and `ngSwipeRight` directives in `ngTouch`, and by\n     * `ngCarousel` in a separate component.\n     *\n     * # Usage\n     * The `$swipe` service is an object with a single method: `bind`. `bind` takes an element\n     * which is to be watched for swipes, and an object with four handler functions. See the\n     * documentation for `bind` below.\n     */\n\nngTouch.factory('$swipe', [function() {\n  // The total distance in any direction before we make the call on swipe vs. scroll.\n  var MOVE_BUFFER_RADIUS = 10;\n\n  var POINTER_EVENTS = {\n    'mouse': {\n      start: 'mousedown',\n      move: 'mousemove',\n      end: 'mouseup'\n    },\n    'touch': {\n      start: 'touchstart',\n      move: 'touchmove',\n      end: 'touchend',\n      cancel: 'touchcancel'\n    }\n  };\n\n  function getCoordinates(event) {\n    var originalEvent = event.originalEvent || event;\n    var touches = originalEvent.touches && originalEvent.touches.length ? originalEvent.touches : [originalEvent];\n    var e = (originalEvent.changedTouches && originalEvent.changedTouches[0]) || touches[0];\n\n    return {\n      x: e.clientX,\n      y: e.clientY\n    };\n  }\n\n  function getEvents(pointerTypes, eventType) {\n    var res = [];\n    angular.forEach(pointerTypes, function(pointerType) {\n      var eventName = POINTER_EVENTS[pointerType][eventType];\n      if (eventName) {\n        res.push(eventName);\n      }\n    });\n    return res.join(' ');\n  }\n\n  return {\n    /**\n     * @ngdoc method\n     * @name $swipe#bind\n     *\n     * @description\n     * The main method of `$swipe`. It takes an element to be watched for swipe motions, and an\n     * object containing event handlers.\n     * The pointer types that should be used can be specified via the optional\n     * third argument, which is an array of strings `'mouse'` and `'touch'`. By default,\n     * `$swipe` will listen for `mouse` and `touch` events.\n     *\n     * The four events are `start`, `move`, `end`, and `cancel`. `start`, `move`, and `end`\n     * receive as a parameter a coordinates object of the form `{ x: 150, y: 310 }` and the raw\n     * `event`. `cancel` receives the raw `event` as its single parameter.\n     *\n     * `start` is called on either `mousedown` or `touchstart`. After this event, `$swipe` is\n     * watching for `touchmove` or `mousemove` events. These events are ignored until the total\n     * distance moved in either dimension exceeds a small threshold.\n     *\n     * Once this threshold is exceeded, either the horizontal or vertical delta is greater.\n     * - If the horizontal distance is greater, this is a swipe and `move` and `end` events follow.\n     * - If the vertical distance is greater, this is a scroll, and we let the browser take over.\n     *   A `cancel` event is sent.\n     *\n     * `move` is called on `mousemove` and `touchmove` after the above logic has determined that\n     * a swipe is in progress.\n     *\n     * `end` is called when a swipe is successfully completed with a `touchend` or `mouseup`.\n     *\n     * `cancel` is called either on a `touchcancel` from the browser, or when we begin scrolling\n     * as described above.\n     *\n     */\n    bind: function(element, eventHandlers, pointerTypes) {\n      // Absolute total movement, used to control swipe vs. scroll.\n      var totalX, totalY;\n      // Coordinates of the start position.\n      var startCoords;\n      // Last event's position.\n      var lastPos;\n      // Whether a swipe is active.\n      var active = false;\n\n      pointerTypes = pointerTypes || ['mouse', 'touch'];\n      element.on(getEvents(pointerTypes, 'start'), function(event) {\n        startCoords = getCoordinates(event);\n        active = true;\n        totalX = 0;\n        totalY = 0;\n        lastPos = startCoords;\n        eventHandlers['start'] && eventHandlers['start'](startCoords, event);\n      });\n      var events = getEvents(pointerTypes, 'cancel');\n      if (events) {\n        element.on(events, function(event) {\n          active = false;\n          eventHandlers['cancel'] && eventHandlers['cancel'](event);\n        });\n      }\n\n      element.on(getEvents(pointerTypes, 'move'), function(event) {\n        if (!active) return;\n\n        // Android will send a touchcancel if it thinks we're starting to scroll.\n        // So when the total distance (+ or - or both) exceeds 10px in either direction,\n        // we either:\n        // - On totalX > totalY, we send preventDefault() and treat this as a swipe.\n        // - On totalY > totalX, we let the browser handle it as a scroll.\n\n        if (!startCoords) return;\n        var coords = getCoordinates(event);\n\n        totalX += Math.abs(coords.x - lastPos.x);\n        totalY += Math.abs(coords.y - lastPos.y);\n\n        lastPos = coords;\n\n        if (totalX < MOVE_BUFFER_RADIUS && totalY < MOVE_BUFFER_RADIUS) {\n          return;\n        }\n\n        // One of totalX or totalY has exceeded the buffer, so decide on swipe vs. scroll.\n        if (totalY > totalX) {\n          // Allow native scrolling to take over.\n          active = false;\n          eventHandlers['cancel'] && eventHandlers['cancel'](event);\n          return;\n        } else {\n          // Prevent the browser from scrolling.\n          event.preventDefault();\n          eventHandlers['move'] && eventHandlers['move'](coords, event);\n        }\n      });\n\n      element.on(getEvents(pointerTypes, 'end'), function(event) {\n        if (!active) return;\n        active = false;\n        eventHandlers['end'] && eventHandlers['end'](getCoordinates(event), event);\n      });\n    }\n  };\n}]);\n\n/* global ngTouch: false,\n  nodeName_: false\n*/\n\n/**\n * @ngdoc directive\n * @name ngClick\n *\n * @description\n * A more powerful replacement for the default ngClick designed to be used on touchscreen\n * devices. Most mobile browsers wait about 300ms after a tap-and-release before sending\n * the click event. This version handles them immediately, and then prevents the\n * following click event from propagating.\n *\n * Requires the {@link ngTouch `ngTouch`} module to be installed.\n *\n * This directive can fall back to using an ordinary click event, and so works on desktop\n * browsers as well as mobile.\n *\n * This directive also sets the CSS class `ng-click-active` while the element is being held\n * down (by a mouse click or touch) so you can restyle the depressed element if you wish.\n *\n * @element ANY\n * @param {expression} ngClick {@link guide/expression Expression} to evaluate\n * upon tap. (Event object is available as `$event`)\n *\n * @example\n    <example module=\"ngClickExample\" deps=\"angular-touch.js\">\n      <file name=\"index.html\">\n        <button ng-click=\"count = count + 1\" ng-init=\"count=0\">\n          Increment\n        </button>\n        count: {{ count }}\n      </file>\n      <file name=\"script.js\">\n        angular.module('ngClickExample', ['ngTouch']);\n      </file>\n    </example>\n */\n\nngTouch.config(['$provide', function($provide) {\n  $provide.decorator('ngClickDirective', ['$delegate', function($delegate) {\n    // drop the default ngClick directive\n    $delegate.shift();\n    return $delegate;\n  }]);\n}]);\n\nngTouch.directive('ngClick', ['$parse', '$timeout', '$rootElement',\n    function($parse, $timeout, $rootElement) {\n  var TAP_DURATION = 750; // Shorter than 750ms is a tap, longer is a taphold or drag.\n  var MOVE_TOLERANCE = 12; // 12px seems to work in most mobile browsers.\n  var PREVENT_DURATION = 2500; // 2.5 seconds maximum from preventGhostClick call to click\n  var CLICKBUSTER_THRESHOLD = 25; // 25 pixels in any dimension is the limit for busting clicks.\n\n  var ACTIVE_CLASS_NAME = 'ng-click-active';\n  var lastPreventedTime;\n  var touchCoordinates;\n  var lastLabelClickCoordinates;\n\n\n  // TAP EVENTS AND GHOST CLICKS\n  //\n  // Why tap events?\n  // Mobile browsers detect a tap, then wait a moment (usually ~300ms) to see if you're\n  // double-tapping, and then fire a click event.\n  //\n  // This delay sucks and makes mobile apps feel unresponsive.\n  // So we detect touchstart, touchcancel and touchend ourselves and determine when\n  // the user has tapped on something.\n  //\n  // What happens when the browser then generates a click event?\n  // The browser, of course, also detects the tap and fires a click after a delay. This results in\n  // tapping/clicking twice. We do \"clickbusting\" to prevent it.\n  //\n  // How does it work?\n  // We attach global touchstart and click handlers, that run during the capture (early) phase.\n  // So the sequence for a tap is:\n  // - global touchstart: Sets an \"allowable region\" at the point touched.\n  // - element's touchstart: Starts a touch\n  // (- touchcancel ends the touch, no click follows)\n  // - element's touchend: Determines if the tap is valid (didn't move too far away, didn't hold\n  //   too long) and fires the user's tap handler. The touchend also calls preventGhostClick().\n  // - preventGhostClick() removes the allowable region the global touchstart created.\n  // - The browser generates a click event.\n  // - The global click handler catches the click, and checks whether it was in an allowable region.\n  //     - If preventGhostClick was called, the region will have been removed, the click is busted.\n  //     - If the region is still there, the click proceeds normally. Therefore clicks on links and\n  //       other elements without ngTap on them work normally.\n  //\n  // This is an ugly, terrible hack!\n  // Yeah, tell me about it. The alternatives are using the slow click events, or making our users\n  // deal with the ghost clicks, so I consider this the least of evils. Fortunately Angular\n  // encapsulates this ugly logic away from the user.\n  //\n  // Why not just put click handlers on the element?\n  // We do that too, just to be sure. If the tap event caused the DOM to change,\n  // it is possible another element is now in that position. To take account for these possibly\n  // distinct elements, the handlers are global and care only about coordinates.\n\n  // Checks if the coordinates are close enough to be within the region.\n  function hit(x1, y1, x2, y2) {\n    return Math.abs(x1 - x2) < CLICKBUSTER_THRESHOLD && Math.abs(y1 - y2) < CLICKBUSTER_THRESHOLD;\n  }\n\n  // Checks a list of allowable regions against a click location.\n  // Returns true if the click should be allowed.\n  // Splices out the allowable region from the list after it has been used.\n  function checkAllowableRegions(touchCoordinates, x, y) {\n    for (var i = 0; i < touchCoordinates.length; i += 2) {\n      if (hit(touchCoordinates[i], touchCoordinates[i + 1], x, y)) {\n        touchCoordinates.splice(i, i + 2);\n        return true; // allowable region\n      }\n    }\n    return false; // No allowable region; bust it.\n  }\n\n  // Global click handler that prevents the click if it's in a bustable zone and preventGhostClick\n  // was called recently.\n  function onClick(event) {\n    if (Date.now() - lastPreventedTime > PREVENT_DURATION) {\n      return; // Too old.\n    }\n\n    var touches = event.touches && event.touches.length ? event.touches : [event];\n    var x = touches[0].clientX;\n    var y = touches[0].clientY;\n    // Work around desktop Webkit quirk where clicking a label will fire two clicks (on the label\n    // and on the input element). Depending on the exact browser, this second click we don't want\n    // to bust has either (0,0), negative coordinates, or coordinates equal to triggering label\n    // click event\n    if (x < 1 && y < 1) {\n      return; // offscreen\n    }\n    if (lastLabelClickCoordinates &&\n        lastLabelClickCoordinates[0] === x && lastLabelClickCoordinates[1] === y) {\n      return; // input click triggered by label click\n    }\n    // reset label click coordinates on first subsequent click\n    if (lastLabelClickCoordinates) {\n      lastLabelClickCoordinates = null;\n    }\n    // remember label click coordinates to prevent click busting of trigger click event on input\n    if (nodeName_(event.target) === 'label') {\n      lastLabelClickCoordinates = [x, y];\n    }\n\n    // Look for an allowable region containing this click.\n    // If we find one, that means it was created by touchstart and not removed by\n    // preventGhostClick, so we don't bust it.\n    if (checkAllowableRegions(touchCoordinates, x, y)) {\n      return;\n    }\n\n    // If we didn't find an allowable region, bust the click.\n    event.stopPropagation();\n    event.preventDefault();\n\n    // Blur focused form elements\n    event.target && event.target.blur && event.target.blur();\n  }\n\n\n  // Global touchstart handler that creates an allowable region for a click event.\n  // This allowable region can be removed by preventGhostClick if we want to bust it.\n  function onTouchStart(event) {\n    var touches = event.touches && event.touches.length ? event.touches : [event];\n    var x = touches[0].clientX;\n    var y = touches[0].clientY;\n    touchCoordinates.push(x, y);\n\n    $timeout(function() {\n      // Remove the allowable region.\n      for (var i = 0; i < touchCoordinates.length; i += 2) {\n        if (touchCoordinates[i] == x && touchCoordinates[i + 1] == y) {\n          touchCoordinates.splice(i, i + 2);\n          return;\n        }\n      }\n    }, PREVENT_DURATION, false);\n  }\n\n  // On the first call, attaches some event handlers. Then whenever it gets called, it creates a\n  // zone around the touchstart where clicks will get busted.\n  function preventGhostClick(x, y) {\n    if (!touchCoordinates) {\n      $rootElement[0].addEventListener('click', onClick, true);\n      $rootElement[0].addEventListener('touchstart', onTouchStart, true);\n      touchCoordinates = [];\n    }\n\n    lastPreventedTime = Date.now();\n\n    checkAllowableRegions(touchCoordinates, x, y);\n  }\n\n  // Actual linking function.\n  return function(scope, element, attr) {\n    var clickHandler = $parse(attr.ngClick),\n        tapping = false,\n        tapElement,  // Used to blur the element after a tap.\n        startTime,   // Used to check if the tap was held too long.\n        touchStartX,\n        touchStartY;\n\n    function resetState() {\n      tapping = false;\n      element.removeClass(ACTIVE_CLASS_NAME);\n    }\n\n    element.on('touchstart', function(event) {\n      tapping = true;\n      tapElement = event.target ? event.target : event.srcElement; // IE uses srcElement.\n      // Hack for Safari, which can target text nodes instead of containers.\n      if (tapElement.nodeType == 3) {\n        tapElement = tapElement.parentNode;\n      }\n\n      element.addClass(ACTIVE_CLASS_NAME);\n\n      startTime = Date.now();\n\n      // Use jQuery originalEvent\n      var originalEvent = event.originalEvent || event;\n      var touches = originalEvent.touches && originalEvent.touches.length ? originalEvent.touches : [originalEvent];\n      var e = touches[0];\n      touchStartX = e.clientX;\n      touchStartY = e.clientY;\n    });\n\n    element.on('touchcancel', function(event) {\n      resetState();\n    });\n\n    element.on('touchend', function(event) {\n      var diff = Date.now() - startTime;\n\n      // Use jQuery originalEvent\n      var originalEvent = event.originalEvent || event;\n      var touches = (originalEvent.changedTouches && originalEvent.changedTouches.length) ?\n          originalEvent.changedTouches :\n          ((originalEvent.touches && originalEvent.touches.length) ? originalEvent.touches : [originalEvent]);\n      var e = touches[0];\n      var x = e.clientX;\n      var y = e.clientY;\n      var dist = Math.sqrt(Math.pow(x - touchStartX, 2) + Math.pow(y - touchStartY, 2));\n\n      if (tapping && diff < TAP_DURATION && dist < MOVE_TOLERANCE) {\n        // Call preventGhostClick so the clickbuster will catch the corresponding click.\n        preventGhostClick(x, y);\n\n        // Blur the focused element (the button, probably) before firing the callback.\n        // This doesn't work perfectly on Android Chrome, but seems to work elsewhere.\n        // I couldn't get anything to work reliably on Android Chrome.\n        if (tapElement) {\n          tapElement.blur();\n        }\n\n        if (!angular.isDefined(attr.disabled) || attr.disabled === false) {\n          element.triggerHandler('click', [event]);\n        }\n      }\n\n      resetState();\n    });\n\n    // Hack for iOS Safari's benefit. It goes searching for onclick handlers and is liable to click\n    // something else nearby.\n    element.onclick = function(event) { };\n\n    // Actual click handler.\n    // There are three different kinds of clicks, only two of which reach this point.\n    // - On desktop browsers without touch events, their clicks will always come here.\n    // - On mobile browsers, the simulated \"fast\" click will call this.\n    // - But the browser's follow-up slow click will be \"busted\" before it reaches this handler.\n    // Therefore it's safe to use this directive on both mobile and desktop.\n    element.on('click', function(event, touchend) {\n      scope.$apply(function() {\n        clickHandler(scope, {$event: (touchend || event)});\n      });\n    });\n\n    element.on('mousedown', function(event) {\n      element.addClass(ACTIVE_CLASS_NAME);\n    });\n\n    element.on('mousemove mouseup', function(event) {\n      element.removeClass(ACTIVE_CLASS_NAME);\n    });\n\n  };\n}]);\n\n/* global ngTouch: false */\n\n/**\n * @ngdoc directive\n * @name ngSwipeLeft\n *\n * @description\n * Specify custom behavior when an element is swiped to the left on a touchscreen device.\n * A leftward swipe is a quick, right-to-left slide of the finger.\n * Though ngSwipeLeft is designed for touch-based devices, it will work with a mouse click and drag\n * too.\n *\n * To disable the mouse click and drag functionality, add `ng-swipe-disable-mouse` to\n * the `ng-swipe-left` or `ng-swipe-right` DOM Element.\n *\n * Requires the {@link ngTouch `ngTouch`} module to be installed.\n *\n * @element ANY\n * @param {expression} ngSwipeLeft {@link guide/expression Expression} to evaluate\n * upon left swipe. (Event object is available as `$event`)\n *\n * @example\n    <example module=\"ngSwipeLeftExample\" deps=\"angular-touch.js\">\n      <file name=\"index.html\">\n        <div ng-show=\"!showActions\" ng-swipe-left=\"showActions = true\">\n          Some list content, like an email in the inbox\n        </div>\n        <div ng-show=\"showActions\" ng-swipe-right=\"showActions = false\">\n          <button ng-click=\"reply()\">Reply</button>\n          <button ng-click=\"delete()\">Delete</button>\n        </div>\n      </file>\n      <file name=\"script.js\">\n        angular.module('ngSwipeLeftExample', ['ngTouch']);\n      </file>\n    </example>\n */\n\n/**\n * @ngdoc directive\n * @name ngSwipeRight\n *\n * @description\n * Specify custom behavior when an element is swiped to the right on a touchscreen device.\n * A rightward swipe is a quick, left-to-right slide of the finger.\n * Though ngSwipeRight is designed for touch-based devices, it will work with a mouse click and drag\n * too.\n *\n * Requires the {@link ngTouch `ngTouch`} module to be installed.\n *\n * @element ANY\n * @param {expression} ngSwipeRight {@link guide/expression Expression} to evaluate\n * upon right swipe. (Event object is available as `$event`)\n *\n * @example\n    <example module=\"ngSwipeRightExample\" deps=\"angular-touch.js\">\n      <file name=\"index.html\">\n        <div ng-show=\"!showActions\" ng-swipe-left=\"showActions = true\">\n          Some list content, like an email in the inbox\n        </div>\n        <div ng-show=\"showActions\" ng-swipe-right=\"showActions = false\">\n          <button ng-click=\"reply()\">Reply</button>\n          <button ng-click=\"delete()\">Delete</button>\n        </div>\n      </file>\n      <file name=\"script.js\">\n        angular.module('ngSwipeRightExample', ['ngTouch']);\n      </file>\n    </example>\n */\n\nfunction makeSwipeDirective(directiveName, direction, eventName) {\n  ngTouch.directive(directiveName, ['$parse', '$swipe', function($parse, $swipe) {\n    // The maximum vertical delta for a swipe should be less than 75px.\n    var MAX_VERTICAL_DISTANCE = 75;\n    // Vertical distance should not be more than a fraction of the horizontal distance.\n    var MAX_VERTICAL_RATIO = 0.3;\n    // At least a 30px lateral motion is necessary for a swipe.\n    var MIN_HORIZONTAL_DISTANCE = 30;\n\n    return function(scope, element, attr) {\n      var swipeHandler = $parse(attr[directiveName]);\n\n      var startCoords, valid;\n\n      function validSwipe(coords) {\n        // Check that it's within the coordinates.\n        // Absolute vertical distance must be within tolerances.\n        // Horizontal distance, we take the current X - the starting X.\n        // This is negative for leftward swipes and positive for rightward swipes.\n        // After multiplying by the direction (-1 for left, +1 for right), legal swipes\n        // (ie. same direction as the directive wants) will have a positive delta and\n        // illegal ones a negative delta.\n        // Therefore this delta must be positive, and larger than the minimum.\n        if (!startCoords) return false;\n        var deltaY = Math.abs(coords.y - startCoords.y);\n        var deltaX = (coords.x - startCoords.x) * direction;\n        return valid && // Short circuit for already-invalidated swipes.\n            deltaY < MAX_VERTICAL_DISTANCE &&\n            deltaX > 0 &&\n            deltaX > MIN_HORIZONTAL_DISTANCE &&\n            deltaY / deltaX < MAX_VERTICAL_RATIO;\n      }\n\n      var pointerTypes = ['touch'];\n      if (!angular.isDefined(attr['ngSwipeDisableMouse'])) {\n        pointerTypes.push('mouse');\n      }\n      $swipe.bind(element, {\n        'start': function(coords, event) {\n          startCoords = coords;\n          valid = true;\n        },\n        'cancel': function(event) {\n          valid = false;\n        },\n        'end': function(coords, event) {\n          if (validSwipe(coords)) {\n            scope.$apply(function() {\n              element.triggerHandler(eventName);\n              swipeHandler(scope, {$event: event});\n            });\n          }\n        }\n      }, pointerTypes);\n    };\n  }]);\n}\n\n// Left is negative X-coordinate, right is positive.\nmakeSwipeDirective('ngSwipeLeft', -1, 'swipeleft');\nmakeSwipeDirective('ngSwipeRight', 1, 'swiperight');\n\n\n\n})(window, window.angular);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/angular.js",
    "content": "/**\n * @license AngularJS v1.4.8\n * (c) 2010-2015 Google, Inc. http://angularjs.org\n * License: MIT\n */\n(function(window, document, undefined) {'use strict';\n\n/**\n * @description\n *\n * This object provides a utility for producing rich Error messages within\n * Angular. It can be called as follows:\n *\n * var exampleMinErr = minErr('example');\n * throw exampleMinErr('one', 'This {0} is {1}', foo, bar);\n *\n * The above creates an instance of minErr in the example namespace. The\n * resulting error will have a namespaced error code of example.one.  The\n * resulting error will replace {0} with the value of foo, and {1} with the\n * value of bar. The object is not restricted in the number of arguments it can\n * take.\n *\n * If fewer arguments are specified than necessary for interpolation, the extra\n * interpolation markers will be preserved in the final string.\n *\n * Since data will be parsed statically during a build step, some restrictions\n * are applied with respect to how minErr instances are created and called.\n * Instances should have names of the form namespaceMinErr for a minErr created\n * using minErr('namespace') . Error codes, namespaces and template strings\n * should all be static strings, not variables or general expressions.\n *\n * @param {string} module The namespace to use for the new minErr instance.\n * @param {function} ErrorConstructor Custom error constructor to be instantiated when returning\n *   error from returned function, for cases when a particular type of error is useful.\n * @returns {function(code:string, template:string, ...templateArgs): Error} minErr instance\n */\n\nfunction minErr(module, ErrorConstructor) {\n  ErrorConstructor = ErrorConstructor || Error;\n  return function() {\n    var SKIP_INDEXES = 2;\n\n    var templateArgs = arguments,\n      code = templateArgs[0],\n      message = '[' + (module ? module + ':' : '') + code + '] ',\n      template = templateArgs[1],\n      paramPrefix, i;\n\n    message += template.replace(/\\{\\d+\\}/g, function(match) {\n      var index = +match.slice(1, -1),\n        shiftedIndex = index + SKIP_INDEXES;\n\n      if (shiftedIndex < templateArgs.length) {\n        return toDebugString(templateArgs[shiftedIndex]);\n      }\n\n      return match;\n    });\n\n    message += '\\nhttp://errors.angularjs.org/1.4.8/' +\n      (module ? module + '/' : '') + code;\n\n    for (i = SKIP_INDEXES, paramPrefix = '?'; i < templateArgs.length; i++, paramPrefix = '&') {\n      message += paramPrefix + 'p' + (i - SKIP_INDEXES) + '=' +\n        encodeURIComponent(toDebugString(templateArgs[i]));\n    }\n\n    return new ErrorConstructor(message);\n  };\n}\n\n/* We need to tell jshint what variables are being exported */\n/* global angular: true,\n  msie: true,\n  jqLite: true,\n  jQuery: true,\n  slice: true,\n  splice: true,\n  push: true,\n  toString: true,\n  ngMinErr: true,\n  angularModule: true,\n  uid: true,\n  REGEX_STRING_REGEXP: true,\n  VALIDITY_STATE_PROPERTY: true,\n\n  lowercase: true,\n  uppercase: true,\n  manualLowercase: true,\n  manualUppercase: true,\n  nodeName_: true,\n  isArrayLike: true,\n  forEach: true,\n  forEachSorted: true,\n  reverseParams: true,\n  nextUid: true,\n  setHashKey: true,\n  extend: true,\n  toInt: true,\n  inherit: true,\n  merge: true,\n  noop: true,\n  identity: true,\n  valueFn: true,\n  isUndefined: true,\n  isDefined: true,\n  isObject: true,\n  isBlankObject: true,\n  isString: true,\n  isNumber: true,\n  isDate: true,\n  isArray: true,\n  isFunction: true,\n  isRegExp: true,\n  isWindow: true,\n  isScope: true,\n  isFile: true,\n  isFormData: true,\n  isBlob: true,\n  isBoolean: true,\n  isPromiseLike: true,\n  trim: true,\n  escapeForRegexp: true,\n  isElement: true,\n  makeMap: true,\n  includes: true,\n  arrayRemove: true,\n  copy: true,\n  shallowCopy: true,\n  equals: true,\n  csp: true,\n  jq: true,\n  concat: true,\n  sliceArgs: true,\n  bind: true,\n  toJsonReplacer: true,\n  toJson: true,\n  fromJson: true,\n  convertTimezoneToLocal: true,\n  timezoneToOffset: true,\n  startingTag: true,\n  tryDecodeURIComponent: true,\n  parseKeyValue: true,\n  toKeyValue: true,\n  encodeUriSegment: true,\n  encodeUriQuery: true,\n  angularInit: true,\n  bootstrap: true,\n  getTestability: true,\n  snake_case: true,\n  bindJQuery: true,\n  assertArg: true,\n  assertArgFn: true,\n  assertNotHasOwnProperty: true,\n  getter: true,\n  getBlockNodes: true,\n  hasOwnProperty: true,\n  createMap: true,\n\n  NODE_TYPE_ELEMENT: true,\n  NODE_TYPE_ATTRIBUTE: true,\n  NODE_TYPE_TEXT: true,\n  NODE_TYPE_COMMENT: true,\n  NODE_TYPE_DOCUMENT: true,\n  NODE_TYPE_DOCUMENT_FRAGMENT: true,\n*/\n\n////////////////////////////////////\n\n/**\n * @ngdoc module\n * @name ng\n * @module ng\n * @description\n *\n * # ng (core module)\n * The ng module is loaded by default when an AngularJS application is started. The module itself\n * contains the essential components for an AngularJS application to function. The table below\n * lists a high level breakdown of each of the services/factories, filters, directives and testing\n * components available within this core module.\n *\n * <div doc-module-components=\"ng\"></div>\n */\n\nvar REGEX_STRING_REGEXP = /^\\/(.+)\\/([a-z]*)$/;\n\n// The name of a form control's ValidityState property.\n// This is used so that it's possible for internal tests to create mock ValidityStates.\nvar VALIDITY_STATE_PROPERTY = 'validity';\n\n/**\n * @ngdoc function\n * @name angular.lowercase\n * @module ng\n * @kind function\n *\n * @description Converts the specified string to lowercase.\n * @param {string} string String to be converted to lowercase.\n * @returns {string} Lowercased string.\n */\nvar lowercase = function(string) {return isString(string) ? string.toLowerCase() : string;};\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\n/**\n * @ngdoc function\n * @name angular.uppercase\n * @module ng\n * @kind function\n *\n * @description Converts the specified string to uppercase.\n * @param {string} string String to be converted to uppercase.\n * @returns {string} Uppercased string.\n */\nvar uppercase = function(string) {return isString(string) ? string.toUpperCase() : string;};\n\n\nvar manualLowercase = function(s) {\n  /* jshint bitwise: false */\n  return isString(s)\n      ? s.replace(/[A-Z]/g, function(ch) {return String.fromCharCode(ch.charCodeAt(0) | 32);})\n      : s;\n};\nvar manualUppercase = function(s) {\n  /* jshint bitwise: false */\n  return isString(s)\n      ? s.replace(/[a-z]/g, function(ch) {return String.fromCharCode(ch.charCodeAt(0) & ~32);})\n      : s;\n};\n\n\n// String#toLowerCase and String#toUpperCase don't produce correct results in browsers with Turkish\n// locale, for this reason we need to detect this case and redefine lowercase/uppercase methods\n// with correct but slower alternatives.\nif ('i' !== 'I'.toLowerCase()) {\n  lowercase = manualLowercase;\n  uppercase = manualUppercase;\n}\n\n\nvar\n    msie,             // holds major version number for IE, or NaN if UA is not IE.\n    jqLite,           // delay binding since jQuery could be loaded after us.\n    jQuery,           // delay binding\n    slice             = [].slice,\n    splice            = [].splice,\n    push              = [].push,\n    toString          = Object.prototype.toString,\n    getPrototypeOf    = Object.getPrototypeOf,\n    ngMinErr          = minErr('ng'),\n\n    /** @name angular */\n    angular           = window.angular || (window.angular = {}),\n    angularModule,\n    uid               = 0;\n\n/**\n * documentMode is an IE-only property\n * http://msdn.microsoft.com/en-us/library/ie/cc196988(v=vs.85).aspx\n */\nmsie = document.documentMode;\n\n\n/**\n * @private\n * @param {*} obj\n * @return {boolean} Returns true if `obj` is an array or array-like object (NodeList, Arguments,\n *                   String ...)\n */\nfunction isArrayLike(obj) {\n\n  // `null`, `undefined` and `window` are not array-like\n  if (obj == null || isWindow(obj)) return false;\n\n  // arrays, strings and jQuery/jqLite objects are array like\n  // * jqLite is either the jQuery or jqLite constructor function\n  // * we have to check the existance of jqLite first as this method is called\n  //   via the forEach method when constructing the jqLite object in the first place\n  if (isArray(obj) || isString(obj) || (jqLite && obj instanceof jqLite)) return true;\n\n  // Support: iOS 8.2 (not reproducible in simulator)\n  // \"length\" in obj used to prevent JIT error (gh-11508)\n  var length = \"length\" in Object(obj) && obj.length;\n\n  // NodeList objects (with `item` method) and\n  // other objects with suitable length characteristics are array-like\n  return isNumber(length) &&\n    (length >= 0 && (length - 1) in obj || typeof obj.item == 'function');\n}\n\n/**\n * @ngdoc function\n * @name angular.forEach\n * @module ng\n * @kind function\n *\n * @description\n * Invokes the `iterator` function once for each item in `obj` collection, which can be either an\n * object or an array. The `iterator` function is invoked with `iterator(value, key, obj)`, where `value`\n * is the value of an object property or an array element, `key` is the object property key or\n * array element index and obj is the `obj` itself. Specifying a `context` for the function is optional.\n *\n * It is worth noting that `.forEach` does not iterate over inherited properties because it filters\n * using the `hasOwnProperty` method.\n *\n * Unlike ES262's\n * [Array.prototype.forEach](http://www.ecma-international.org/ecma-262/5.1/#sec-15.4.4.18),\n * Providing 'undefined' or 'null' values for `obj` will not throw a TypeError, but rather just\n * return the value provided.\n *\n   ```js\n     var values = {name: 'misko', gender: 'male'};\n     var log = [];\n     angular.forEach(values, function(value, key) {\n       this.push(key + ': ' + value);\n     }, log);\n     expect(log).toEqual(['name: misko', 'gender: male']);\n   ```\n *\n * @param {Object|Array} obj Object to iterate over.\n * @param {Function} iterator Iterator function.\n * @param {Object=} context Object to become context (`this`) for the iterator function.\n * @returns {Object|Array} Reference to `obj`.\n */\n\nfunction forEach(obj, iterator, context) {\n  var key, length;\n  if (obj) {\n    if (isFunction(obj)) {\n      for (key in obj) {\n        // Need to check if hasOwnProperty exists,\n        // as on IE8 the result of querySelectorAll is an object without a hasOwnProperty function\n        if (key != 'prototype' && key != 'length' && key != 'name' && (!obj.hasOwnProperty || obj.hasOwnProperty(key))) {\n          iterator.call(context, obj[key], key, obj);\n        }\n      }\n    } else if (isArray(obj) || isArrayLike(obj)) {\n      var isPrimitive = typeof obj !== 'object';\n      for (key = 0, length = obj.length; key < length; key++) {\n        if (isPrimitive || key in obj) {\n          iterator.call(context, obj[key], key, obj);\n        }\n      }\n    } else if (obj.forEach && obj.forEach !== forEach) {\n        obj.forEach(iterator, context, obj);\n    } else if (isBlankObject(obj)) {\n      // createMap() fast path --- Safe to avoid hasOwnProperty check because prototype chain is empty\n      for (key in obj) {\n        iterator.call(context, obj[key], key, obj);\n      }\n    } else if (typeof obj.hasOwnProperty === 'function') {\n      // Slow path for objects inheriting Object.prototype, hasOwnProperty check needed\n      for (key in obj) {\n        if (obj.hasOwnProperty(key)) {\n          iterator.call(context, obj[key], key, obj);\n        }\n      }\n    } else {\n      // Slow path for objects which do not have a method `hasOwnProperty`\n      for (key in obj) {\n        if (hasOwnProperty.call(obj, key)) {\n          iterator.call(context, obj[key], key, obj);\n        }\n      }\n    }\n  }\n  return obj;\n}\n\nfunction forEachSorted(obj, iterator, context) {\n  var keys = Object.keys(obj).sort();\n  for (var i = 0; i < keys.length; i++) {\n    iterator.call(context, obj[keys[i]], keys[i]);\n  }\n  return keys;\n}\n\n\n/**\n * when using forEach the params are value, key, but it is often useful to have key, value.\n * @param {function(string, *)} iteratorFn\n * @returns {function(*, string)}\n */\nfunction reverseParams(iteratorFn) {\n  return function(value, key) { iteratorFn(key, value); };\n}\n\n/**\n * A consistent way of creating unique IDs in angular.\n *\n * Using simple numbers allows us to generate 28.6 million unique ids per second for 10 years before\n * we hit number precision issues in JavaScript.\n *\n * Math.pow(2,53) / 60 / 60 / 24 / 365 / 10 = 28.6M\n *\n * @returns {number} an unique alpha-numeric string\n */\nfunction nextUid() {\n  return ++uid;\n}\n\n\n/**\n * Set or clear the hashkey for an object.\n * @param obj object\n * @param h the hashkey (!truthy to delete the hashkey)\n */\nfunction setHashKey(obj, h) {\n  if (h) {\n    obj.$$hashKey = h;\n  } else {\n    delete obj.$$hashKey;\n  }\n}\n\n\nfunction baseExtend(dst, objs, deep) {\n  var h = dst.$$hashKey;\n\n  for (var i = 0, ii = objs.length; i < ii; ++i) {\n    var obj = objs[i];\n    if (!isObject(obj) && !isFunction(obj)) continue;\n    var keys = Object.keys(obj);\n    for (var j = 0, jj = keys.length; j < jj; j++) {\n      var key = keys[j];\n      var src = obj[key];\n\n      if (deep && isObject(src)) {\n        if (isDate(src)) {\n          dst[key] = new Date(src.valueOf());\n        } else if (isRegExp(src)) {\n          dst[key] = new RegExp(src);\n        } else if (src.nodeName) {\n          dst[key] = src.cloneNode(true);\n        } else if (isElement(src)) {\n          dst[key] = src.clone();\n        } else {\n          if (!isObject(dst[key])) dst[key] = isArray(src) ? [] : {};\n          baseExtend(dst[key], [src], true);\n        }\n      } else {\n        dst[key] = src;\n      }\n    }\n  }\n\n  setHashKey(dst, h);\n  return dst;\n}\n\n/**\n * @ngdoc function\n * @name angular.extend\n * @module ng\n * @kind function\n *\n * @description\n * Extends the destination object `dst` by copying own enumerable properties from the `src` object(s)\n * to `dst`. You can specify multiple `src` objects. If you want to preserve original objects, you can do so\n * by passing an empty object as the target: `var object = angular.extend({}, object1, object2)`.\n *\n * **Note:** Keep in mind that `angular.extend` does not support recursive merge (deep copy). Use\n * {@link angular.merge} for this.\n *\n * @param {Object} dst Destination object.\n * @param {...Object} src Source object(s).\n * @returns {Object} Reference to `dst`.\n */\nfunction extend(dst) {\n  return baseExtend(dst, slice.call(arguments, 1), false);\n}\n\n\n/**\n* @ngdoc function\n* @name angular.merge\n* @module ng\n* @kind function\n*\n* @description\n* Deeply extends the destination object `dst` by copying own enumerable properties from the `src` object(s)\n* to `dst`. You can specify multiple `src` objects. If you want to preserve original objects, you can do so\n* by passing an empty object as the target: `var object = angular.merge({}, object1, object2)`.\n*\n* Unlike {@link angular.extend extend()}, `merge()` recursively descends into object properties of source\n* objects, performing a deep copy.\n*\n* @param {Object} dst Destination object.\n* @param {...Object} src Source object(s).\n* @returns {Object} Reference to `dst`.\n*/\nfunction merge(dst) {\n  return baseExtend(dst, slice.call(arguments, 1), true);\n}\n\n\n\nfunction toInt(str) {\n  return parseInt(str, 10);\n}\n\n\nfunction inherit(parent, extra) {\n  return extend(Object.create(parent), extra);\n}\n\n/**\n * @ngdoc function\n * @name angular.noop\n * @module ng\n * @kind function\n *\n * @description\n * A function that performs no operations. This function can be useful when writing code in the\n * functional style.\n   ```js\n     function foo(callback) {\n       var result = calculateResult();\n       (callback || angular.noop)(result);\n     }\n   ```\n */\nfunction noop() {}\nnoop.$inject = [];\n\n\n/**\n * @ngdoc function\n * @name angular.identity\n * @module ng\n * @kind function\n *\n * @description\n * A function that returns its first argument. This function is useful when writing code in the\n * functional style.\n *\n   ```js\n     function transformer(transformationFn, value) {\n       return (transformationFn || angular.identity)(value);\n     };\n   ```\n  * @param {*} value to be returned.\n  * @returns {*} the value passed in.\n */\nfunction identity($) {return $;}\nidentity.$inject = [];\n\n\nfunction valueFn(value) {return function() {return value;};}\n\nfunction hasCustomToString(obj) {\n  return isFunction(obj.toString) && obj.toString !== toString;\n}\n\n\n/**\n * @ngdoc function\n * @name angular.isUndefined\n * @module ng\n * @kind function\n *\n * @description\n * Determines if a reference is undefined.\n *\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is undefined.\n */\nfunction isUndefined(value) {return typeof value === 'undefined';}\n\n\n/**\n * @ngdoc function\n * @name angular.isDefined\n * @module ng\n * @kind function\n *\n * @description\n * Determines if a reference is defined.\n *\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is defined.\n */\nfunction isDefined(value) {return typeof value !== 'undefined';}\n\n\n/**\n * @ngdoc function\n * @name angular.isObject\n * @module ng\n * @kind function\n *\n * @description\n * Determines if a reference is an `Object`. Unlike `typeof` in JavaScript, `null`s are not\n * considered to be objects. Note that JavaScript arrays are objects.\n *\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is an `Object` but not `null`.\n */\nfunction isObject(value) {\n  // http://jsperf.com/isobject4\n  return value !== null && typeof value === 'object';\n}\n\n\n/**\n * Determine if a value is an object with a null prototype\n *\n * @returns {boolean} True if `value` is an `Object` with a null prototype\n */\nfunction isBlankObject(value) {\n  return value !== null && typeof value === 'object' && !getPrototypeOf(value);\n}\n\n\n/**\n * @ngdoc function\n * @name angular.isString\n * @module ng\n * @kind function\n *\n * @description\n * Determines if a reference is a `String`.\n *\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is a `String`.\n */\nfunction isString(value) {return typeof value === 'string';}\n\n\n/**\n * @ngdoc function\n * @name angular.isNumber\n * @module ng\n * @kind function\n *\n * @description\n * Determines if a reference is a `Number`.\n *\n * This includes the \"special\" numbers `NaN`, `+Infinity` and `-Infinity`.\n *\n * If you wish to exclude these then you can use the native\n * [`isFinite'](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/isFinite)\n * method.\n *\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is a `Number`.\n */\nfunction isNumber(value) {return typeof value === 'number';}\n\n\n/**\n * @ngdoc function\n * @name angular.isDate\n * @module ng\n * @kind function\n *\n * @description\n * Determines if a value is a date.\n *\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is a `Date`.\n */\nfunction isDate(value) {\n  return toString.call(value) === '[object Date]';\n}\n\n\n/**\n * @ngdoc function\n * @name angular.isArray\n * @module ng\n * @kind function\n *\n * @description\n * Determines if a reference is an `Array`.\n *\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is an `Array`.\n */\nvar isArray = Array.isArray;\n\n/**\n * @ngdoc function\n * @name angular.isFunction\n * @module ng\n * @kind function\n *\n * @description\n * Determines if a reference is a `Function`.\n *\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is a `Function`.\n */\nfunction isFunction(value) {return typeof value === 'function';}\n\n\n/**\n * Determines if a value is a regular expression object.\n *\n * @private\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is a `RegExp`.\n */\nfunction isRegExp(value) {\n  return toString.call(value) === '[object RegExp]';\n}\n\n\n/**\n * Checks if `obj` is a window object.\n *\n * @private\n * @param {*} obj Object to check\n * @returns {boolean} True if `obj` is a window obj.\n */\nfunction isWindow(obj) {\n  return obj && obj.window === obj;\n}\n\n\nfunction isScope(obj) {\n  return obj && obj.$evalAsync && obj.$watch;\n}\n\n\nfunction isFile(obj) {\n  return toString.call(obj) === '[object File]';\n}\n\n\nfunction isFormData(obj) {\n  return toString.call(obj) === '[object FormData]';\n}\n\n\nfunction isBlob(obj) {\n  return toString.call(obj) === '[object Blob]';\n}\n\n\nfunction isBoolean(value) {\n  return typeof value === 'boolean';\n}\n\n\nfunction isPromiseLike(obj) {\n  return obj && isFunction(obj.then);\n}\n\n\nvar TYPED_ARRAY_REGEXP = /^\\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\\]$/;\nfunction isTypedArray(value) {\n  return value && isNumber(value.length) && TYPED_ARRAY_REGEXP.test(toString.call(value));\n}\n\n\nvar trim = function(value) {\n  return isString(value) ? value.trim() : value;\n};\n\n// Copied from:\n// http://docs.closure-library.googlecode.com/git/local_closure_goog_string_string.js.source.html#line1021\n// Prereq: s is a string.\nvar escapeForRegexp = function(s) {\n  return s.replace(/([-()\\[\\]{}+?*.$\\^|,:#<!\\\\])/g, '\\\\$1').\n           replace(/\\x08/g, '\\\\x08');\n};\n\n\n/**\n * @ngdoc function\n * @name angular.isElement\n * @module ng\n * @kind function\n *\n * @description\n * Determines if a reference is a DOM element (or wrapped jQuery element).\n *\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is a DOM element (or wrapped jQuery element).\n */\nfunction isElement(node) {\n  return !!(node &&\n    (node.nodeName  // we are a direct element\n    || (node.prop && node.attr && node.find)));  // we have an on and find method part of jQuery API\n}\n\n/**\n * @param str 'key1,key2,...'\n * @returns {object} in the form of {key1:true, key2:true, ...}\n */\nfunction makeMap(str) {\n  var obj = {}, items = str.split(\",\"), i;\n  for (i = 0; i < items.length; i++) {\n    obj[items[i]] = true;\n  }\n  return obj;\n}\n\n\nfunction nodeName_(element) {\n  return lowercase(element.nodeName || (element[0] && element[0].nodeName));\n}\n\nfunction includes(array, obj) {\n  return Array.prototype.indexOf.call(array, obj) != -1;\n}\n\nfunction arrayRemove(array, value) {\n  var index = array.indexOf(value);\n  if (index >= 0) {\n    array.splice(index, 1);\n  }\n  return index;\n}\n\n/**\n * @ngdoc function\n * @name angular.copy\n * @module ng\n * @kind function\n *\n * @description\n * Creates a deep copy of `source`, which should be an object or an array.\n *\n * * If no destination is supplied, a copy of the object or array is created.\n * * If a destination is provided, all of its elements (for arrays) or properties (for objects)\n *   are deleted and then all elements/properties from the source are copied to it.\n * * If `source` is not an object or array (inc. `null` and `undefined`), `source` is returned.\n * * If `source` is identical to 'destination' an exception will be thrown.\n *\n * @param {*} source The source that will be used to make a copy.\n *                   Can be any type, including primitives, `null`, and `undefined`.\n * @param {(Object|Array)=} destination Destination into which the source is copied. If\n *     provided, must be of the same type as `source`.\n * @returns {*} The copy or updated `destination`, if `destination` was specified.\n *\n * @example\n <example module=\"copyExample\">\n <file name=\"index.html\">\n <div ng-controller=\"ExampleController\">\n <form novalidate class=\"simple-form\">\n Name: <input type=\"text\" ng-model=\"user.name\" /><br />\n E-mail: <input type=\"email\" ng-model=\"user.email\" /><br />\n Gender: <input type=\"radio\" ng-model=\"user.gender\" value=\"male\" />male\n <input type=\"radio\" ng-model=\"user.gender\" value=\"female\" />female<br />\n <button ng-click=\"reset()\">RESET</button>\n <button ng-click=\"update(user)\">SAVE</button>\n </form>\n <pre>form = {{user | json}}</pre>\n <pre>master = {{master | json}}</pre>\n </div>\n\n <script>\n  angular.module('copyExample', [])\n    .controller('ExampleController', ['$scope', function($scope) {\n      $scope.master= {};\n\n      $scope.update = function(user) {\n        // Example with 1 argument\n        $scope.master= angular.copy(user);\n      };\n\n      $scope.reset = function() {\n        // Example with 2 arguments\n        angular.copy($scope.master, $scope.user);\n      };\n\n      $scope.reset();\n    }]);\n </script>\n </file>\n </example>\n */\nfunction copy(source, destination) {\n  var stackSource = [];\n  var stackDest = [];\n\n  if (destination) {\n    if (isTypedArray(destination)) {\n      throw ngMinErr('cpta', \"Can't copy! TypedArray destination cannot be mutated.\");\n    }\n    if (source === destination) {\n      throw ngMinErr('cpi', \"Can't copy! Source and destination are identical.\");\n    }\n\n    // Empty the destination object\n    if (isArray(destination)) {\n      destination.length = 0;\n    } else {\n      forEach(destination, function(value, key) {\n        if (key !== '$$hashKey') {\n          delete destination[key];\n        }\n      });\n    }\n\n    stackSource.push(source);\n    stackDest.push(destination);\n    return copyRecurse(source, destination);\n  }\n\n  return copyElement(source);\n\n  function copyRecurse(source, destination) {\n    var h = destination.$$hashKey;\n    var result, key;\n    if (isArray(source)) {\n      for (var i = 0, ii = source.length; i < ii; i++) {\n        destination.push(copyElement(source[i]));\n      }\n    } else if (isBlankObject(source)) {\n      // createMap() fast path --- Safe to avoid hasOwnProperty check because prototype chain is empty\n      for (key in source) {\n        destination[key] = copyElement(source[key]);\n      }\n    } else if (source && typeof source.hasOwnProperty === 'function') {\n      // Slow path, which must rely on hasOwnProperty\n      for (key in source) {\n        if (source.hasOwnProperty(key)) {\n          destination[key] = copyElement(source[key]);\n        }\n      }\n    } else {\n      // Slowest path --- hasOwnProperty can't be called as a method\n      for (key in source) {\n        if (hasOwnProperty.call(source, key)) {\n          destination[key] = copyElement(source[key]);\n        }\n      }\n    }\n    setHashKey(destination, h);\n    return destination;\n  }\n\n  function copyElement(source) {\n    // Simple values\n    if (!isObject(source)) {\n      return source;\n    }\n\n    // Already copied values\n    var index = stackSource.indexOf(source);\n    if (index !== -1) {\n      return stackDest[index];\n    }\n\n    if (isWindow(source) || isScope(source)) {\n      throw ngMinErr('cpws',\n        \"Can't copy! Making copies of Window or Scope instances is not supported.\");\n    }\n\n    var needsRecurse = false;\n    var destination;\n\n    if (isArray(source)) {\n      destination = [];\n      needsRecurse = true;\n    } else if (isTypedArray(source)) {\n      destination = new source.constructor(source);\n    } else if (isDate(source)) {\n      destination = new Date(source.getTime());\n    } else if (isRegExp(source)) {\n      destination = new RegExp(source.source, source.toString().match(/[^\\/]*$/)[0]);\n      destination.lastIndex = source.lastIndex;\n    } else if (isFunction(source.cloneNode)) {\n        destination = source.cloneNode(true);\n    } else {\n      destination = Object.create(getPrototypeOf(source));\n      needsRecurse = true;\n    }\n\n    stackSource.push(source);\n    stackDest.push(destination);\n\n    return needsRecurse\n      ? copyRecurse(source, destination)\n      : destination;\n  }\n}\n\n/**\n * Creates a shallow copy of an object, an array or a primitive.\n *\n * Assumes that there are no proto properties for objects.\n */\nfunction shallowCopy(src, dst) {\n  if (isArray(src)) {\n    dst = dst || [];\n\n    for (var i = 0, ii = src.length; i < ii; i++) {\n      dst[i] = src[i];\n    }\n  } else if (isObject(src)) {\n    dst = dst || {};\n\n    for (var key in src) {\n      if (!(key.charAt(0) === '$' && key.charAt(1) === '$')) {\n        dst[key] = src[key];\n      }\n    }\n  }\n\n  return dst || src;\n}\n\n\n/**\n * @ngdoc function\n * @name angular.equals\n * @module ng\n * @kind function\n *\n * @description\n * Determines if two objects or two values are equivalent. Supports value types, regular\n * expressions, arrays and objects.\n *\n * Two objects or values are considered equivalent if at least one of the following is true:\n *\n * * Both objects or values pass `===` comparison.\n * * Both objects or values are of the same type and all of their properties are equal by\n *   comparing them with `angular.equals`.\n * * Both values are NaN. (In JavaScript, NaN == NaN => false. But we consider two NaN as equal)\n * * Both values represent the same regular expression (In JavaScript,\n *   /abc/ == /abc/ => false. But we consider two regular expressions as equal when their textual\n *   representation matches).\n *\n * During a property comparison, properties of `function` type and properties with names\n * that begin with `$` are ignored.\n *\n * Scope and DOMWindow objects are being compared only by identify (`===`).\n *\n * @param {*} o1 Object or value to compare.\n * @param {*} o2 Object or value to compare.\n * @returns {boolean} True if arguments are equal.\n */\nfunction equals(o1, o2) {\n  if (o1 === o2) return true;\n  if (o1 === null || o2 === null) return false;\n  if (o1 !== o1 && o2 !== o2) return true; // NaN === NaN\n  var t1 = typeof o1, t2 = typeof o2, length, key, keySet;\n  if (t1 == t2) {\n    if (t1 == 'object') {\n      if (isArray(o1)) {\n        if (!isArray(o2)) return false;\n        if ((length = o1.length) == o2.length) {\n          for (key = 0; key < length; key++) {\n            if (!equals(o1[key], o2[key])) return false;\n          }\n          return true;\n        }\n      } else if (isDate(o1)) {\n        if (!isDate(o2)) return false;\n        return equals(o1.getTime(), o2.getTime());\n      } else if (isRegExp(o1)) {\n        return isRegExp(o2) ? o1.toString() == o2.toString() : false;\n      } else {\n        if (isScope(o1) || isScope(o2) || isWindow(o1) || isWindow(o2) ||\n          isArray(o2) || isDate(o2) || isRegExp(o2)) return false;\n        keySet = createMap();\n        for (key in o1) {\n          if (key.charAt(0) === '$' || isFunction(o1[key])) continue;\n          if (!equals(o1[key], o2[key])) return false;\n          keySet[key] = true;\n        }\n        for (key in o2) {\n          if (!(key in keySet) &&\n              key.charAt(0) !== '$' &&\n              isDefined(o2[key]) &&\n              !isFunction(o2[key])) return false;\n        }\n        return true;\n      }\n    }\n  }\n  return false;\n}\n\nvar csp = function() {\n  if (!isDefined(csp.rules)) {\n\n\n    var ngCspElement = (document.querySelector('[ng-csp]') ||\n                    document.querySelector('[data-ng-csp]'));\n\n    if (ngCspElement) {\n      var ngCspAttribute = ngCspElement.getAttribute('ng-csp') ||\n                    ngCspElement.getAttribute('data-ng-csp');\n      csp.rules = {\n        noUnsafeEval: !ngCspAttribute || (ngCspAttribute.indexOf('no-unsafe-eval') !== -1),\n        noInlineStyle: !ngCspAttribute || (ngCspAttribute.indexOf('no-inline-style') !== -1)\n      };\n    } else {\n      csp.rules = {\n        noUnsafeEval: noUnsafeEval(),\n        noInlineStyle: false\n      };\n    }\n  }\n\n  return csp.rules;\n\n  function noUnsafeEval() {\n    try {\n      /* jshint -W031, -W054 */\n      new Function('');\n      /* jshint +W031, +W054 */\n      return false;\n    } catch (e) {\n      return true;\n    }\n  }\n};\n\n/**\n * @ngdoc directive\n * @module ng\n * @name ngJq\n *\n * @element ANY\n * @param {string=} ngJq the name of the library available under `window`\n * to be used for angular.element\n * @description\n * Use this directive to force the angular.element library.  This should be\n * used to force either jqLite by leaving ng-jq blank or setting the name of\n * the jquery variable under window (eg. jQuery).\n *\n * Since angular looks for this directive when it is loaded (doesn't wait for the\n * DOMContentLoaded event), it must be placed on an element that comes before the script\n * which loads angular. Also, only the first instance of `ng-jq` will be used and all\n * others ignored.\n *\n * @example\n * This example shows how to force jqLite using the `ngJq` directive to the `html` tag.\n ```html\n <!doctype html>\n <html ng-app ng-jq>\n ...\n ...\n </html>\n ```\n * @example\n * This example shows how to use a jQuery based library of a different name.\n * The library name must be available at the top most 'window'.\n ```html\n <!doctype html>\n <html ng-app ng-jq=\"jQueryLib\">\n ...\n ...\n </html>\n ```\n */\nvar jq = function() {\n  if (isDefined(jq.name_)) return jq.name_;\n  var el;\n  var i, ii = ngAttrPrefixes.length, prefix, name;\n  for (i = 0; i < ii; ++i) {\n    prefix = ngAttrPrefixes[i];\n    if (el = document.querySelector('[' + prefix.replace(':', '\\\\:') + 'jq]')) {\n      name = el.getAttribute(prefix + 'jq');\n      break;\n    }\n  }\n\n  return (jq.name_ = name);\n};\n\nfunction concat(array1, array2, index) {\n  return array1.concat(slice.call(array2, index));\n}\n\nfunction sliceArgs(args, startIndex) {\n  return slice.call(args, startIndex || 0);\n}\n\n\n/* jshint -W101 */\n/**\n * @ngdoc function\n * @name angular.bind\n * @module ng\n * @kind function\n *\n * @description\n * Returns a function which calls function `fn` bound to `self` (`self` becomes the `this` for\n * `fn`). You can supply optional `args` that are prebound to the function. This feature is also\n * known as [partial application](http://en.wikipedia.org/wiki/Partial_application), as\n * distinguished from [function currying](http://en.wikipedia.org/wiki/Currying#Contrast_with_partial_function_application).\n *\n * @param {Object} self Context which `fn` should be evaluated in.\n * @param {function()} fn Function to be bound.\n * @param {...*} args Optional arguments to be prebound to the `fn` function call.\n * @returns {function()} Function that wraps the `fn` with all the specified bindings.\n */\n/* jshint +W101 */\nfunction bind(self, fn) {\n  var curryArgs = arguments.length > 2 ? sliceArgs(arguments, 2) : [];\n  if (isFunction(fn) && !(fn instanceof RegExp)) {\n    return curryArgs.length\n      ? function() {\n          return arguments.length\n            ? fn.apply(self, concat(curryArgs, arguments, 0))\n            : fn.apply(self, curryArgs);\n        }\n      : function() {\n          return arguments.length\n            ? fn.apply(self, arguments)\n            : fn.call(self);\n        };\n  } else {\n    // in IE, native methods are not functions so they cannot be bound (note: they don't need to be)\n    return fn;\n  }\n}\n\n\nfunction toJsonReplacer(key, value) {\n  var val = value;\n\n  if (typeof key === 'string' && key.charAt(0) === '$' && key.charAt(1) === '$') {\n    val = undefined;\n  } else if (isWindow(value)) {\n    val = '$WINDOW';\n  } else if (value &&  document === value) {\n    val = '$DOCUMENT';\n  } else if (isScope(value)) {\n    val = '$SCOPE';\n  }\n\n  return val;\n}\n\n\n/**\n * @ngdoc function\n * @name angular.toJson\n * @module ng\n * @kind function\n *\n * @description\n * Serializes input into a JSON-formatted string. Properties with leading $$ characters will be\n * stripped since angular uses this notation internally.\n *\n * @param {Object|Array|Date|string|number} obj Input to be serialized into JSON.\n * @param {boolean|number} [pretty=2] If set to true, the JSON output will contain newlines and whitespace.\n *    If set to an integer, the JSON output will contain that many spaces per indentation.\n * @returns {string|undefined} JSON-ified string representing `obj`.\n */\nfunction toJson(obj, pretty) {\n  if (typeof obj === 'undefined') return undefined;\n  if (!isNumber(pretty)) {\n    pretty = pretty ? 2 : null;\n  }\n  return JSON.stringify(obj, toJsonReplacer, pretty);\n}\n\n\n/**\n * @ngdoc function\n * @name angular.fromJson\n * @module ng\n * @kind function\n *\n * @description\n * Deserializes a JSON string.\n *\n * @param {string} json JSON string to deserialize.\n * @returns {Object|Array|string|number} Deserialized JSON string.\n */\nfunction fromJson(json) {\n  return isString(json)\n      ? JSON.parse(json)\n      : json;\n}\n\n\nfunction timezoneToOffset(timezone, fallback) {\n  var requestedTimezoneOffset = Date.parse('Jan 01, 1970 00:00:00 ' + timezone) / 60000;\n  return isNaN(requestedTimezoneOffset) ? fallback : requestedTimezoneOffset;\n}\n\n\nfunction addDateMinutes(date, minutes) {\n  date = new Date(date.getTime());\n  date.setMinutes(date.getMinutes() + minutes);\n  return date;\n}\n\n\nfunction convertTimezoneToLocal(date, timezone, reverse) {\n  reverse = reverse ? -1 : 1;\n  var timezoneOffset = timezoneToOffset(timezone, date.getTimezoneOffset());\n  return addDateMinutes(date, reverse * (timezoneOffset - date.getTimezoneOffset()));\n}\n\n\n/**\n * @returns {string} Returns the string representation of the element.\n */\nfunction startingTag(element) {\n  element = jqLite(element).clone();\n  try {\n    // turns out IE does not let you set .html() on elements which\n    // are not allowed to have children. So we just ignore it.\n    element.empty();\n  } catch (e) {}\n  var elemHtml = jqLite('<div>').append(element).html();\n  try {\n    return element[0].nodeType === NODE_TYPE_TEXT ? lowercase(elemHtml) :\n        elemHtml.\n          match(/^(<[^>]+>)/)[1].\n          replace(/^<([\\w\\-]+)/, function(match, nodeName) { return '<' + lowercase(nodeName); });\n  } catch (e) {\n    return lowercase(elemHtml);\n  }\n\n}\n\n\n/////////////////////////////////////////////////\n\n/**\n * Tries to decode the URI component without throwing an exception.\n *\n * @private\n * @param str value potential URI component to check.\n * @returns {boolean} True if `value` can be decoded\n * with the decodeURIComponent function.\n */\nfunction tryDecodeURIComponent(value) {\n  try {\n    return decodeURIComponent(value);\n  } catch (e) {\n    // Ignore any invalid uri component\n  }\n}\n\n\n/**\n * Parses an escaped url query string into key-value pairs.\n * @returns {Object.<string,boolean|Array>}\n */\nfunction parseKeyValue(/**string*/keyValue) {\n  var obj = {};\n  forEach((keyValue || \"\").split('&'), function(keyValue) {\n    var splitPoint, key, val;\n    if (keyValue) {\n      key = keyValue = keyValue.replace(/\\+/g,'%20');\n      splitPoint = keyValue.indexOf('=');\n      if (splitPoint !== -1) {\n        key = keyValue.substring(0, splitPoint);\n        val = keyValue.substring(splitPoint + 1);\n      }\n      key = tryDecodeURIComponent(key);\n      if (isDefined(key)) {\n        val = isDefined(val) ? tryDecodeURIComponent(val) : true;\n        if (!hasOwnProperty.call(obj, key)) {\n          obj[key] = val;\n        } else if (isArray(obj[key])) {\n          obj[key].push(val);\n        } else {\n          obj[key] = [obj[key],val];\n        }\n      }\n    }\n  });\n  return obj;\n}\n\nfunction toKeyValue(obj) {\n  var parts = [];\n  forEach(obj, function(value, key) {\n    if (isArray(value)) {\n      forEach(value, function(arrayValue) {\n        parts.push(encodeUriQuery(key, true) +\n                   (arrayValue === true ? '' : '=' + encodeUriQuery(arrayValue, true)));\n      });\n    } else {\n    parts.push(encodeUriQuery(key, true) +\n               (value === true ? '' : '=' + encodeUriQuery(value, true)));\n    }\n  });\n  return parts.length ? parts.join('&') : '';\n}\n\n\n/**\n * We need our custom method because encodeURIComponent is too aggressive and doesn't follow\n * http://www.ietf.org/rfc/rfc3986.txt with regards to the character set (pchar) allowed in path\n * segments:\n *    segment       = *pchar\n *    pchar         = unreserved / pct-encoded / sub-delims / \":\" / \"@\"\n *    pct-encoded   = \"%\" HEXDIG HEXDIG\n *    unreserved    = ALPHA / DIGIT / \"-\" / \".\" / \"_\" / \"~\"\n *    sub-delims    = \"!\" / \"$\" / \"&\" / \"'\" / \"(\" / \")\"\n *                     / \"*\" / \"+\" / \",\" / \";\" / \"=\"\n */\nfunction encodeUriSegment(val) {\n  return encodeUriQuery(val, true).\n             replace(/%26/gi, '&').\n             replace(/%3D/gi, '=').\n             replace(/%2B/gi, '+');\n}\n\n\n/**\n * This method is intended for encoding *key* or *value* parts of query component. We need a custom\n * method because encodeURIComponent is too aggressive and encodes stuff that doesn't have to be\n * encoded per http://tools.ietf.org/html/rfc3986:\n *    query       = *( pchar / \"/\" / \"?\" )\n *    pchar         = unreserved / pct-encoded / sub-delims / \":\" / \"@\"\n *    unreserved    = ALPHA / DIGIT / \"-\" / \".\" / \"_\" / \"~\"\n *    pct-encoded   = \"%\" HEXDIG HEXDIG\n *    sub-delims    = \"!\" / \"$\" / \"&\" / \"'\" / \"(\" / \")\"\n *                     / \"*\" / \"+\" / \",\" / \";\" / \"=\"\n */\nfunction encodeUriQuery(val, pctEncodeSpaces) {\n  return encodeURIComponent(val).\n             replace(/%40/gi, '@').\n             replace(/%3A/gi, ':').\n             replace(/%24/g, '$').\n             replace(/%2C/gi, ',').\n             replace(/%3B/gi, ';').\n             replace(/%20/g, (pctEncodeSpaces ? '%20' : '+'));\n}\n\nvar ngAttrPrefixes = ['ng-', 'data-ng-', 'ng:', 'x-ng-'];\n\nfunction getNgAttribute(element, ngAttr) {\n  var attr, i, ii = ngAttrPrefixes.length;\n  for (i = 0; i < ii; ++i) {\n    attr = ngAttrPrefixes[i] + ngAttr;\n    if (isString(attr = element.getAttribute(attr))) {\n      return attr;\n    }\n  }\n  return null;\n}\n\n/**\n * @ngdoc directive\n * @name ngApp\n * @module ng\n *\n * @element ANY\n * @param {angular.Module} ngApp an optional application\n *   {@link angular.module module} name to load.\n * @param {boolean=} ngStrictDi if this attribute is present on the app element, the injector will be\n *   created in \"strict-di\" mode. This means that the application will fail to invoke functions which\n *   do not use explicit function annotation (and are thus unsuitable for minification), as described\n *   in {@link guide/di the Dependency Injection guide}, and useful debugging info will assist in\n *   tracking down the root of these bugs.\n *\n * @description\n *\n * Use this directive to **auto-bootstrap** an AngularJS application. The `ngApp` directive\n * designates the **root element** of the application and is typically placed near the root element\n * of the page - e.g. on the `<body>` or `<html>` tags.\n *\n * Only one AngularJS application can be auto-bootstrapped per HTML document. The first `ngApp`\n * found in the document will be used to define the root element to auto-bootstrap as an\n * application. To run multiple applications in an HTML document you must manually bootstrap them using\n * {@link angular.bootstrap} instead. AngularJS applications cannot be nested within each other.\n *\n * You can specify an **AngularJS module** to be used as the root module for the application.  This\n * module will be loaded into the {@link auto.$injector} when the application is bootstrapped. It\n * should contain the application code needed or have dependencies on other modules that will\n * contain the code. See {@link angular.module} for more information.\n *\n * In the example below if the `ngApp` directive were not placed on the `html` element then the\n * document would not be compiled, the `AppController` would not be instantiated and the `{{ a+b }}`\n * would not be resolved to `3`.\n *\n * `ngApp` is the easiest, and most common way to bootstrap an application.\n *\n <example module=\"ngAppDemo\">\n   <file name=\"index.html\">\n   <div ng-controller=\"ngAppDemoController\">\n     I can add: {{a}} + {{b}} =  {{ a+b }}\n   </div>\n   </file>\n   <file name=\"script.js\">\n   angular.module('ngAppDemo', []).controller('ngAppDemoController', function($scope) {\n     $scope.a = 1;\n     $scope.b = 2;\n   });\n   </file>\n </example>\n *\n * Using `ngStrictDi`, you would see something like this:\n *\n <example ng-app-included=\"true\">\n   <file name=\"index.html\">\n   <div ng-app=\"ngAppStrictDemo\" ng-strict-di>\n       <div ng-controller=\"GoodController1\">\n           I can add: {{a}} + {{b}} =  {{ a+b }}\n\n           <p>This renders because the controller does not fail to\n              instantiate, by using explicit annotation style (see\n              script.js for details)\n           </p>\n       </div>\n\n       <div ng-controller=\"GoodController2\">\n           Name: <input ng-model=\"name\"><br />\n           Hello, {{name}}!\n\n           <p>This renders because the controller does not fail to\n              instantiate, by using explicit annotation style\n              (see script.js for details)\n           </p>\n       </div>\n\n       <div ng-controller=\"BadController\">\n           I can add: {{a}} + {{b}} =  {{ a+b }}\n\n           <p>The controller could not be instantiated, due to relying\n              on automatic function annotations (which are disabled in\n              strict mode). As such, the content of this section is not\n              interpolated, and there should be an error in your web console.\n           </p>\n       </div>\n   </div>\n   </file>\n   <file name=\"script.js\">\n   angular.module('ngAppStrictDemo', [])\n     // BadController will fail to instantiate, due to relying on automatic function annotation,\n     // rather than an explicit annotation\n     .controller('BadController', function($scope) {\n       $scope.a = 1;\n       $scope.b = 2;\n     })\n     // Unlike BadController, GoodController1 and GoodController2 will not fail to be instantiated,\n     // due to using explicit annotations using the array style and $inject property, respectively.\n     .controller('GoodController1', ['$scope', function($scope) {\n       $scope.a = 1;\n       $scope.b = 2;\n     }])\n     .controller('GoodController2', GoodController2);\n     function GoodController2($scope) {\n       $scope.name = \"World\";\n     }\n     GoodController2.$inject = ['$scope'];\n   </file>\n   <file name=\"style.css\">\n   div[ng-controller] {\n       margin-bottom: 1em;\n       -webkit-border-radius: 4px;\n       border-radius: 4px;\n       border: 1px solid;\n       padding: .5em;\n   }\n   div[ng-controller^=Good] {\n       border-color: #d6e9c6;\n       background-color: #dff0d8;\n       color: #3c763d;\n   }\n   div[ng-controller^=Bad] {\n       border-color: #ebccd1;\n       background-color: #f2dede;\n       color: #a94442;\n       margin-bottom: 0;\n   }\n   </file>\n </example>\n */\nfunction angularInit(element, bootstrap) {\n  var appElement,\n      module,\n      config = {};\n\n  // The element `element` has priority over any other element\n  forEach(ngAttrPrefixes, function(prefix) {\n    var name = prefix + 'app';\n\n    if (!appElement && element.hasAttribute && element.hasAttribute(name)) {\n      appElement = element;\n      module = element.getAttribute(name);\n    }\n  });\n  forEach(ngAttrPrefixes, function(prefix) {\n    var name = prefix + 'app';\n    var candidate;\n\n    if (!appElement && (candidate = element.querySelector('[' + name.replace(':', '\\\\:') + ']'))) {\n      appElement = candidate;\n      module = candidate.getAttribute(name);\n    }\n  });\n  if (appElement) {\n    config.strictDi = getNgAttribute(appElement, \"strict-di\") !== null;\n    bootstrap(appElement, module ? [module] : [], config);\n  }\n}\n\n/**\n * @ngdoc function\n * @name angular.bootstrap\n * @module ng\n * @description\n * Use this function to manually start up angular application.\n *\n * See: {@link guide/bootstrap Bootstrap}\n *\n * Note that Protractor based end-to-end tests cannot use this function to bootstrap manually.\n * They must use {@link ng.directive:ngApp ngApp}.\n *\n * Angular will detect if it has been loaded into the browser more than once and only allow the\n * first loaded script to be bootstrapped and will report a warning to the browser console for\n * each of the subsequent scripts. This prevents strange results in applications, where otherwise\n * multiple instances of Angular try to work on the DOM.\n *\n * ```html\n * <!doctype html>\n * <html>\n * <body>\n * <div ng-controller=\"WelcomeController\">\n *   {{greeting}}\n * </div>\n *\n * <script src=\"angular.js\"></script>\n * <script>\n *   var app = angular.module('demo', [])\n *   .controller('WelcomeController', function($scope) {\n *       $scope.greeting = 'Welcome!';\n *   });\n *   angular.bootstrap(document, ['demo']);\n * </script>\n * </body>\n * </html>\n * ```\n *\n * @param {DOMElement} element DOM element which is the root of angular application.\n * @param {Array<String|Function|Array>=} modules an array of modules to load into the application.\n *     Each item in the array should be the name of a predefined module or a (DI annotated)\n *     function that will be invoked by the injector as a `config` block.\n *     See: {@link angular.module modules}\n * @param {Object=} config an object for defining configuration options for the application. The\n *     following keys are supported:\n *\n * * `strictDi` - disable automatic function annotation for the application. This is meant to\n *   assist in finding bugs which break minified code. Defaults to `false`.\n *\n * @returns {auto.$injector} Returns the newly created injector for this app.\n */\nfunction bootstrap(element, modules, config) {\n  if (!isObject(config)) config = {};\n  var defaultConfig = {\n    strictDi: false\n  };\n  config = extend(defaultConfig, config);\n  var doBootstrap = function() {\n    element = jqLite(element);\n\n    if (element.injector()) {\n      var tag = (element[0] === document) ? 'document' : startingTag(element);\n      //Encode angle brackets to prevent input from being sanitized to empty string #8683\n      throw ngMinErr(\n          'btstrpd',\n          \"App Already Bootstrapped with this Element '{0}'\",\n          tag.replace(/</,'&lt;').replace(/>/,'&gt;'));\n    }\n\n    modules = modules || [];\n    modules.unshift(['$provide', function($provide) {\n      $provide.value('$rootElement', element);\n    }]);\n\n    if (config.debugInfoEnabled) {\n      // Pushing so that this overrides `debugInfoEnabled` setting defined in user's `modules`.\n      modules.push(['$compileProvider', function($compileProvider) {\n        $compileProvider.debugInfoEnabled(true);\n      }]);\n    }\n\n    modules.unshift('ng');\n    var injector = createInjector(modules, config.strictDi);\n    injector.invoke(['$rootScope', '$rootElement', '$compile', '$injector',\n       function bootstrapApply(scope, element, compile, injector) {\n        scope.$apply(function() {\n          element.data('$injector', injector);\n          compile(element)(scope);\n        });\n      }]\n    );\n    return injector;\n  };\n\n  var NG_ENABLE_DEBUG_INFO = /^NG_ENABLE_DEBUG_INFO!/;\n  var NG_DEFER_BOOTSTRAP = /^NG_DEFER_BOOTSTRAP!/;\n\n  if (window && NG_ENABLE_DEBUG_INFO.test(window.name)) {\n    config.debugInfoEnabled = true;\n    window.name = window.name.replace(NG_ENABLE_DEBUG_INFO, '');\n  }\n\n  if (window && !NG_DEFER_BOOTSTRAP.test(window.name)) {\n    return doBootstrap();\n  }\n\n  window.name = window.name.replace(NG_DEFER_BOOTSTRAP, '');\n  angular.resumeBootstrap = function(extraModules) {\n    forEach(extraModules, function(module) {\n      modules.push(module);\n    });\n    return doBootstrap();\n  };\n\n  if (isFunction(angular.resumeDeferredBootstrap)) {\n    angular.resumeDeferredBootstrap();\n  }\n}\n\n/**\n * @ngdoc function\n * @name angular.reloadWithDebugInfo\n * @module ng\n * @description\n * Use this function to reload the current application with debug information turned on.\n * This takes precedence over a call to `$compileProvider.debugInfoEnabled(false)`.\n *\n * See {@link ng.$compileProvider#debugInfoEnabled} for more.\n */\nfunction reloadWithDebugInfo() {\n  window.name = 'NG_ENABLE_DEBUG_INFO!' + window.name;\n  window.location.reload();\n}\n\n/**\n * @name angular.getTestability\n * @module ng\n * @description\n * Get the testability service for the instance of Angular on the given\n * element.\n * @param {DOMElement} element DOM element which is the root of angular application.\n */\nfunction getTestability(rootElement) {\n  var injector = angular.element(rootElement).injector();\n  if (!injector) {\n    throw ngMinErr('test',\n      'no injector found for element argument to getTestability');\n  }\n  return injector.get('$$testability');\n}\n\nvar SNAKE_CASE_REGEXP = /[A-Z]/g;\nfunction snake_case(name, separator) {\n  separator = separator || '_';\n  return name.replace(SNAKE_CASE_REGEXP, function(letter, pos) {\n    return (pos ? separator : '') + letter.toLowerCase();\n  });\n}\n\nvar bindJQueryFired = false;\nvar skipDestroyOnNextJQueryCleanData;\nfunction bindJQuery() {\n  var originalCleanData;\n\n  if (bindJQueryFired) {\n    return;\n  }\n\n  // bind to jQuery if present;\n  var jqName = jq();\n  jQuery = isUndefined(jqName) ? window.jQuery :   // use jQuery (if present)\n           !jqName             ? undefined     :   // use jqLite\n                                 window[jqName];   // use jQuery specified by `ngJq`\n\n  // Use jQuery if it exists with proper functionality, otherwise default to us.\n  // Angular 1.2+ requires jQuery 1.7+ for on()/off() support.\n  // Angular 1.3+ technically requires at least jQuery 2.1+ but it may work with older\n  // versions. It will not work for sure with jQuery <1.7, though.\n  if (jQuery && jQuery.fn.on) {\n    jqLite = jQuery;\n    extend(jQuery.fn, {\n      scope: JQLitePrototype.scope,\n      isolateScope: JQLitePrototype.isolateScope,\n      controller: JQLitePrototype.controller,\n      injector: JQLitePrototype.injector,\n      inheritedData: JQLitePrototype.inheritedData\n    });\n\n    // All nodes removed from the DOM via various jQuery APIs like .remove()\n    // are passed through jQuery.cleanData. Monkey-patch this method to fire\n    // the $destroy event on all removed nodes.\n    originalCleanData = jQuery.cleanData;\n    jQuery.cleanData = function(elems) {\n      var events;\n      if (!skipDestroyOnNextJQueryCleanData) {\n        for (var i = 0, elem; (elem = elems[i]) != null; i++) {\n          events = jQuery._data(elem, \"events\");\n          if (events && events.$destroy) {\n            jQuery(elem).triggerHandler('$destroy');\n          }\n        }\n      } else {\n        skipDestroyOnNextJQueryCleanData = false;\n      }\n      originalCleanData(elems);\n    };\n  } else {\n    jqLite = JQLite;\n  }\n\n  angular.element = jqLite;\n\n  // Prevent double-proxying.\n  bindJQueryFired = true;\n}\n\n/**\n * throw error if the argument is falsy.\n */\nfunction assertArg(arg, name, reason) {\n  if (!arg) {\n    throw ngMinErr('areq', \"Argument '{0}' is {1}\", (name || '?'), (reason || \"required\"));\n  }\n  return arg;\n}\n\nfunction assertArgFn(arg, name, acceptArrayAnnotation) {\n  if (acceptArrayAnnotation && isArray(arg)) {\n      arg = arg[arg.length - 1];\n  }\n\n  assertArg(isFunction(arg), name, 'not a function, got ' +\n      (arg && typeof arg === 'object' ? arg.constructor.name || 'Object' : typeof arg));\n  return arg;\n}\n\n/**\n * throw error if the name given is hasOwnProperty\n * @param  {String} name    the name to test\n * @param  {String} context the context in which the name is used, such as module or directive\n */\nfunction assertNotHasOwnProperty(name, context) {\n  if (name === 'hasOwnProperty') {\n    throw ngMinErr('badname', \"hasOwnProperty is not a valid {0} name\", context);\n  }\n}\n\n/**\n * Return the value accessible from the object by path. Any undefined traversals are ignored\n * @param {Object} obj starting object\n * @param {String} path path to traverse\n * @param {boolean} [bindFnToScope=true]\n * @returns {Object} value as accessible by path\n */\n//TODO(misko): this function needs to be removed\nfunction getter(obj, path, bindFnToScope) {\n  if (!path) return obj;\n  var keys = path.split('.');\n  var key;\n  var lastInstance = obj;\n  var len = keys.length;\n\n  for (var i = 0; i < len; i++) {\n    key = keys[i];\n    if (obj) {\n      obj = (lastInstance = obj)[key];\n    }\n  }\n  if (!bindFnToScope && isFunction(obj)) {\n    return bind(lastInstance, obj);\n  }\n  return obj;\n}\n\n/**\n * Return the DOM siblings between the first and last node in the given array.\n * @param {Array} array like object\n * @returns {Array} the inputted object or a jqLite collection containing the nodes\n */\nfunction getBlockNodes(nodes) {\n  // TODO(perf): update `nodes` instead of creating a new object?\n  var node = nodes[0];\n  var endNode = nodes[nodes.length - 1];\n  var blockNodes;\n\n  for (var i = 1; node !== endNode && (node = node.nextSibling); i++) {\n    if (blockNodes || nodes[i] !== node) {\n      if (!blockNodes) {\n        blockNodes = jqLite(slice.call(nodes, 0, i));\n      }\n      blockNodes.push(node);\n    }\n  }\n\n  return blockNodes || nodes;\n}\n\n\n/**\n * Creates a new object without a prototype. This object is useful for lookup without having to\n * guard against prototypically inherited properties via hasOwnProperty.\n *\n * Related micro-benchmarks:\n * - http://jsperf.com/object-create2\n * - http://jsperf.com/proto-map-lookup/2\n * - http://jsperf.com/for-in-vs-object-keys2\n *\n * @returns {Object}\n */\nfunction createMap() {\n  return Object.create(null);\n}\n\nvar NODE_TYPE_ELEMENT = 1;\nvar NODE_TYPE_ATTRIBUTE = 2;\nvar NODE_TYPE_TEXT = 3;\nvar NODE_TYPE_COMMENT = 8;\nvar NODE_TYPE_DOCUMENT = 9;\nvar NODE_TYPE_DOCUMENT_FRAGMENT = 11;\n\n/**\n * @ngdoc type\n * @name angular.Module\n * @module ng\n * @description\n *\n * Interface for configuring angular {@link angular.module modules}.\n */\n\nfunction setupModuleLoader(window) {\n\n  var $injectorMinErr = minErr('$injector');\n  var ngMinErr = minErr('ng');\n\n  function ensure(obj, name, factory) {\n    return obj[name] || (obj[name] = factory());\n  }\n\n  var angular = ensure(window, 'angular', Object);\n\n  // We need to expose `angular.$$minErr` to modules such as `ngResource` that reference it during bootstrap\n  angular.$$minErr = angular.$$minErr || minErr;\n\n  return ensure(angular, 'module', function() {\n    /** @type {Object.<string, angular.Module>} */\n    var modules = {};\n\n    /**\n     * @ngdoc function\n     * @name angular.module\n     * @module ng\n     * @description\n     *\n     * The `angular.module` is a global place for creating, registering and retrieving Angular\n     * modules.\n     * All modules (angular core or 3rd party) that should be available to an application must be\n     * registered using this mechanism.\n     *\n     * Passing one argument retrieves an existing {@link angular.Module},\n     * whereas passing more than one argument creates a new {@link angular.Module}\n     *\n     *\n     * # Module\n     *\n     * A module is a collection of services, directives, controllers, filters, and configuration information.\n     * `angular.module` is used to configure the {@link auto.$injector $injector}.\n     *\n     * ```js\n     * // Create a new module\n     * var myModule = angular.module('myModule', []);\n     *\n     * // register a new service\n     * myModule.value('appName', 'MyCoolApp');\n     *\n     * // configure existing services inside initialization blocks.\n     * myModule.config(['$locationProvider', function($locationProvider) {\n     *   // Configure existing providers\n     *   $locationProvider.hashPrefix('!');\n     * }]);\n     * ```\n     *\n     * Then you can create an injector and load your modules like this:\n     *\n     * ```js\n     * var injector = angular.injector(['ng', 'myModule'])\n     * ```\n     *\n     * However it's more likely that you'll just use\n     * {@link ng.directive:ngApp ngApp} or\n     * {@link angular.bootstrap} to simplify this process for you.\n     *\n     * @param {!string} name The name of the module to create or retrieve.\n     * @param {!Array.<string>=} requires If specified then new module is being created. If\n     *        unspecified then the module is being retrieved for further configuration.\n     * @param {Function=} configFn Optional configuration function for the module. Same as\n     *        {@link angular.Module#config Module#config()}.\n     * @returns {module} new module with the {@link angular.Module} api.\n     */\n    return function module(name, requires, configFn) {\n      var assertNotHasOwnProperty = function(name, context) {\n        if (name === 'hasOwnProperty') {\n          throw ngMinErr('badname', 'hasOwnProperty is not a valid {0} name', context);\n        }\n      };\n\n      assertNotHasOwnProperty(name, 'module');\n      if (requires && modules.hasOwnProperty(name)) {\n        modules[name] = null;\n      }\n      return ensure(modules, name, function() {\n        if (!requires) {\n          throw $injectorMinErr('nomod', \"Module '{0}' is not available! You either misspelled \" +\n             \"the module name or forgot to load it. If registering a module ensure that you \" +\n             \"specify the dependencies as the second argument.\", name);\n        }\n\n        /** @type {!Array.<Array.<*>>} */\n        var invokeQueue = [];\n\n        /** @type {!Array.<Function>} */\n        var configBlocks = [];\n\n        /** @type {!Array.<Function>} */\n        var runBlocks = [];\n\n        var config = invokeLater('$injector', 'invoke', 'push', configBlocks);\n\n        /** @type {angular.Module} */\n        var moduleInstance = {\n          // Private state\n          _invokeQueue: invokeQueue,\n          _configBlocks: configBlocks,\n          _runBlocks: runBlocks,\n\n          /**\n           * @ngdoc property\n           * @name angular.Module#requires\n           * @module ng\n           *\n           * @description\n           * Holds the list of modules which the injector will load before the current module is\n           * loaded.\n           */\n          requires: requires,\n\n          /**\n           * @ngdoc property\n           * @name angular.Module#name\n           * @module ng\n           *\n           * @description\n           * Name of the module.\n           */\n          name: name,\n\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#provider\n           * @module ng\n           * @param {string} name service name\n           * @param {Function} providerType Construction function for creating new instance of the\n           *                                service.\n           * @description\n           * See {@link auto.$provide#provider $provide.provider()}.\n           */\n          provider: invokeLaterAndSetModuleName('$provide', 'provider'),\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#factory\n           * @module ng\n           * @param {string} name service name\n           * @param {Function} providerFunction Function for creating new instance of the service.\n           * @description\n           * See {@link auto.$provide#factory $provide.factory()}.\n           */\n          factory: invokeLaterAndSetModuleName('$provide', 'factory'),\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#service\n           * @module ng\n           * @param {string} name service name\n           * @param {Function} constructor A constructor function that will be instantiated.\n           * @description\n           * See {@link auto.$provide#service $provide.service()}.\n           */\n          service: invokeLaterAndSetModuleName('$provide', 'service'),\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#value\n           * @module ng\n           * @param {string} name service name\n           * @param {*} object Service instance object.\n           * @description\n           * See {@link auto.$provide#value $provide.value()}.\n           */\n          value: invokeLater('$provide', 'value'),\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#constant\n           * @module ng\n           * @param {string} name constant name\n           * @param {*} object Constant value.\n           * @description\n           * Because the constants are fixed, they get applied before other provide methods.\n           * See {@link auto.$provide#constant $provide.constant()}.\n           */\n          constant: invokeLater('$provide', 'constant', 'unshift'),\n\n           /**\n           * @ngdoc method\n           * @name angular.Module#decorator\n           * @module ng\n           * @param {string} The name of the service to decorate.\n           * @param {Function} This function will be invoked when the service needs to be\n           *                                    instantiated and should return the decorated service instance.\n           * @description\n           * See {@link auto.$provide#decorator $provide.decorator()}.\n           */\n          decorator: invokeLaterAndSetModuleName('$provide', 'decorator'),\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#animation\n           * @module ng\n           * @param {string} name animation name\n           * @param {Function} animationFactory Factory function for creating new instance of an\n           *                                    animation.\n           * @description\n           *\n           * **NOTE**: animations take effect only if the **ngAnimate** module is loaded.\n           *\n           *\n           * Defines an animation hook that can be later used with\n           * {@link $animate $animate} service and directives that use this service.\n           *\n           * ```js\n           * module.animation('.animation-name', function($inject1, $inject2) {\n           *   return {\n           *     eventName : function(element, done) {\n           *       //code to run the animation\n           *       //once complete, then run done()\n           *       return function cancellationFunction(element) {\n           *         //code to cancel the animation\n           *       }\n           *     }\n           *   }\n           * })\n           * ```\n           *\n           * See {@link ng.$animateProvider#register $animateProvider.register()} and\n           * {@link ngAnimate ngAnimate module} for more information.\n           */\n          animation: invokeLaterAndSetModuleName('$animateProvider', 'register'),\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#filter\n           * @module ng\n           * @param {string} name Filter name - this must be a valid angular expression identifier\n           * @param {Function} filterFactory Factory function for creating new instance of filter.\n           * @description\n           * See {@link ng.$filterProvider#register $filterProvider.register()}.\n           *\n           * <div class=\"alert alert-warning\">\n           * **Note:** Filter names must be valid angular {@link expression} identifiers, such as `uppercase` or `orderBy`.\n           * Names with special characters, such as hyphens and dots, are not allowed. If you wish to namespace\n           * your filters, then you can use capitalization (`myappSubsectionFilterx`) or underscores\n           * (`myapp_subsection_filterx`).\n           * </div>\n           */\n          filter: invokeLaterAndSetModuleName('$filterProvider', 'register'),\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#controller\n           * @module ng\n           * @param {string|Object} name Controller name, or an object map of controllers where the\n           *    keys are the names and the values are the constructors.\n           * @param {Function} constructor Controller constructor function.\n           * @description\n           * See {@link ng.$controllerProvider#register $controllerProvider.register()}.\n           */\n          controller: invokeLaterAndSetModuleName('$controllerProvider', 'register'),\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#directive\n           * @module ng\n           * @param {string|Object} name Directive name, or an object map of directives where the\n           *    keys are the names and the values are the factories.\n           * @param {Function} directiveFactory Factory function for creating new instance of\n           * directives.\n           * @description\n           * See {@link ng.$compileProvider#directive $compileProvider.directive()}.\n           */\n          directive: invokeLaterAndSetModuleName('$compileProvider', 'directive'),\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#config\n           * @module ng\n           * @param {Function} configFn Execute this function on module load. Useful for service\n           *    configuration.\n           * @description\n           * Use this method to register work which needs to be performed on module loading.\n           * For more about how to configure services, see\n           * {@link providers#provider-recipe Provider Recipe}.\n           */\n          config: config,\n\n          /**\n           * @ngdoc method\n           * @name angular.Module#run\n           * @module ng\n           * @param {Function} initializationFn Execute this function after injector creation.\n           *    Useful for application initialization.\n           * @description\n           * Use this method to register work which should be performed when the injector is done\n           * loading all modules.\n           */\n          run: function(block) {\n            runBlocks.push(block);\n            return this;\n          }\n        };\n\n        if (configFn) {\n          config(configFn);\n        }\n\n        return moduleInstance;\n\n        /**\n         * @param {string} provider\n         * @param {string} method\n         * @param {String=} insertMethod\n         * @returns {angular.Module}\n         */\n        function invokeLater(provider, method, insertMethod, queue) {\n          if (!queue) queue = invokeQueue;\n          return function() {\n            queue[insertMethod || 'push']([provider, method, arguments]);\n            return moduleInstance;\n          };\n        }\n\n        /**\n         * @param {string} provider\n         * @param {string} method\n         * @returns {angular.Module}\n         */\n        function invokeLaterAndSetModuleName(provider, method) {\n          return function(recipeName, factoryFunction) {\n            if (factoryFunction && isFunction(factoryFunction)) factoryFunction.$$moduleName = name;\n            invokeQueue.push([provider, method, arguments]);\n            return moduleInstance;\n          };\n        }\n      });\n    };\n  });\n\n}\n\n/* global: toDebugString: true */\n\nfunction serializeObject(obj) {\n  var seen = [];\n\n  return JSON.stringify(obj, function(key, val) {\n    val = toJsonReplacer(key, val);\n    if (isObject(val)) {\n\n      if (seen.indexOf(val) >= 0) return '...';\n\n      seen.push(val);\n    }\n    return val;\n  });\n}\n\nfunction toDebugString(obj) {\n  if (typeof obj === 'function') {\n    return obj.toString().replace(/ \\{[\\s\\S]*$/, '');\n  } else if (isUndefined(obj)) {\n    return 'undefined';\n  } else if (typeof obj !== 'string') {\n    return serializeObject(obj);\n  }\n  return obj;\n}\n\n/* global angularModule: true,\n  version: true,\n\n  $CompileProvider,\n\n  htmlAnchorDirective,\n  inputDirective,\n  inputDirective,\n  formDirective,\n  scriptDirective,\n  selectDirective,\n  styleDirective,\n  optionDirective,\n  ngBindDirective,\n  ngBindHtmlDirective,\n  ngBindTemplateDirective,\n  ngClassDirective,\n  ngClassEvenDirective,\n  ngClassOddDirective,\n  ngCloakDirective,\n  ngControllerDirective,\n  ngFormDirective,\n  ngHideDirective,\n  ngIfDirective,\n  ngIncludeDirective,\n  ngIncludeFillContentDirective,\n  ngInitDirective,\n  ngNonBindableDirective,\n  ngPluralizeDirective,\n  ngRepeatDirective,\n  ngShowDirective,\n  ngStyleDirective,\n  ngSwitchDirective,\n  ngSwitchWhenDirective,\n  ngSwitchDefaultDirective,\n  ngOptionsDirective,\n  ngTranscludeDirective,\n  ngModelDirective,\n  ngListDirective,\n  ngChangeDirective,\n  patternDirective,\n  patternDirective,\n  requiredDirective,\n  requiredDirective,\n  minlengthDirective,\n  minlengthDirective,\n  maxlengthDirective,\n  maxlengthDirective,\n  ngValueDirective,\n  ngModelOptionsDirective,\n  ngAttributeAliasDirectives,\n  ngEventDirectives,\n\n  $AnchorScrollProvider,\n  $AnimateProvider,\n  $CoreAnimateCssProvider,\n  $$CoreAnimateQueueProvider,\n  $$CoreAnimateRunnerProvider,\n  $BrowserProvider,\n  $CacheFactoryProvider,\n  $ControllerProvider,\n  $DocumentProvider,\n  $ExceptionHandlerProvider,\n  $FilterProvider,\n  $$ForceReflowProvider,\n  $InterpolateProvider,\n  $IntervalProvider,\n  $$HashMapProvider,\n  $HttpProvider,\n  $HttpParamSerializerProvider,\n  $HttpParamSerializerJQLikeProvider,\n  $HttpBackendProvider,\n  $xhrFactoryProvider,\n  $LocationProvider,\n  $LogProvider,\n  $ParseProvider,\n  $RootScopeProvider,\n  $QProvider,\n  $$QProvider,\n  $$SanitizeUriProvider,\n  $SceProvider,\n  $SceDelegateProvider,\n  $SnifferProvider,\n  $TemplateCacheProvider,\n  $TemplateRequestProvider,\n  $$TestabilityProvider,\n  $TimeoutProvider,\n  $$RAFProvider,\n  $WindowProvider,\n  $$jqLiteProvider,\n  $$CookieReaderProvider\n*/\n\n\n/**\n * @ngdoc object\n * @name angular.version\n * @module ng\n * @description\n * An object that contains information about the current AngularJS version.\n *\n * This object has the following properties:\n *\n * - `full` – `{string}` – Full version string, such as \"0.9.18\".\n * - `major` – `{number}` – Major version number, such as \"0\".\n * - `minor` – `{number}` – Minor version number, such as \"9\".\n * - `dot` – `{number}` – Dot version number, such as \"18\".\n * - `codeName` – `{string}` – Code name of the release, such as \"jiggling-armfat\".\n */\nvar version = {\n  full: '1.4.8',    // all of these placeholder strings will be replaced by grunt's\n  major: 1,    // package task\n  minor: 4,\n  dot: 8,\n  codeName: 'ice-manipulation'\n};\n\n\nfunction publishExternalAPI(angular) {\n  extend(angular, {\n    'bootstrap': bootstrap,\n    'copy': copy,\n    'extend': extend,\n    'merge': merge,\n    'equals': equals,\n    'element': jqLite,\n    'forEach': forEach,\n    'injector': createInjector,\n    'noop': noop,\n    'bind': bind,\n    'toJson': toJson,\n    'fromJson': fromJson,\n    'identity': identity,\n    'isUndefined': isUndefined,\n    'isDefined': isDefined,\n    'isString': isString,\n    'isFunction': isFunction,\n    'isObject': isObject,\n    'isNumber': isNumber,\n    'isElement': isElement,\n    'isArray': isArray,\n    'version': version,\n    'isDate': isDate,\n    'lowercase': lowercase,\n    'uppercase': uppercase,\n    'callbacks': {counter: 0},\n    'getTestability': getTestability,\n    '$$minErr': minErr,\n    '$$csp': csp,\n    'reloadWithDebugInfo': reloadWithDebugInfo\n  });\n\n  angularModule = setupModuleLoader(window);\n\n  angularModule('ng', ['ngLocale'], ['$provide',\n    function ngModule($provide) {\n      // $$sanitizeUriProvider needs to be before $compileProvider as it is used by it.\n      $provide.provider({\n        $$sanitizeUri: $$SanitizeUriProvider\n      });\n      $provide.provider('$compile', $CompileProvider).\n        directive({\n            a: htmlAnchorDirective,\n            input: inputDirective,\n            textarea: inputDirective,\n            form: formDirective,\n            script: scriptDirective,\n            select: selectDirective,\n            style: styleDirective,\n            option: optionDirective,\n            ngBind: ngBindDirective,\n            ngBindHtml: ngBindHtmlDirective,\n            ngBindTemplate: ngBindTemplateDirective,\n            ngClass: ngClassDirective,\n            ngClassEven: ngClassEvenDirective,\n            ngClassOdd: ngClassOddDirective,\n            ngCloak: ngCloakDirective,\n            ngController: ngControllerDirective,\n            ngForm: ngFormDirective,\n            ngHide: ngHideDirective,\n            ngIf: ngIfDirective,\n            ngInclude: ngIncludeDirective,\n            ngInit: ngInitDirective,\n            ngNonBindable: ngNonBindableDirective,\n            ngPluralize: ngPluralizeDirective,\n            ngRepeat: ngRepeatDirective,\n            ngShow: ngShowDirective,\n            ngStyle: ngStyleDirective,\n            ngSwitch: ngSwitchDirective,\n            ngSwitchWhen: ngSwitchWhenDirective,\n            ngSwitchDefault: ngSwitchDefaultDirective,\n            ngOptions: ngOptionsDirective,\n            ngTransclude: ngTranscludeDirective,\n            ngModel: ngModelDirective,\n            ngList: ngListDirective,\n            ngChange: ngChangeDirective,\n            pattern: patternDirective,\n            ngPattern: patternDirective,\n            required: requiredDirective,\n            ngRequired: requiredDirective,\n            minlength: minlengthDirective,\n            ngMinlength: minlengthDirective,\n            maxlength: maxlengthDirective,\n            ngMaxlength: maxlengthDirective,\n            ngValue: ngValueDirective,\n            ngModelOptions: ngModelOptionsDirective\n        }).\n        directive({\n          ngInclude: ngIncludeFillContentDirective\n        }).\n        directive(ngAttributeAliasDirectives).\n        directive(ngEventDirectives);\n      $provide.provider({\n        $anchorScroll: $AnchorScrollProvider,\n        $animate: $AnimateProvider,\n        $animateCss: $CoreAnimateCssProvider,\n        $$animateQueue: $$CoreAnimateQueueProvider,\n        $$AnimateRunner: $$CoreAnimateRunnerProvider,\n        $browser: $BrowserProvider,\n        $cacheFactory: $CacheFactoryProvider,\n        $controller: $ControllerProvider,\n        $document: $DocumentProvider,\n        $exceptionHandler: $ExceptionHandlerProvider,\n        $filter: $FilterProvider,\n        $$forceReflow: $$ForceReflowProvider,\n        $interpolate: $InterpolateProvider,\n        $interval: $IntervalProvider,\n        $http: $HttpProvider,\n        $httpParamSerializer: $HttpParamSerializerProvider,\n        $httpParamSerializerJQLike: $HttpParamSerializerJQLikeProvider,\n        $httpBackend: $HttpBackendProvider,\n        $xhrFactory: $xhrFactoryProvider,\n        $location: $LocationProvider,\n        $log: $LogProvider,\n        $parse: $ParseProvider,\n        $rootScope: $RootScopeProvider,\n        $q: $QProvider,\n        $$q: $$QProvider,\n        $sce: $SceProvider,\n        $sceDelegate: $SceDelegateProvider,\n        $sniffer: $SnifferProvider,\n        $templateCache: $TemplateCacheProvider,\n        $templateRequest: $TemplateRequestProvider,\n        $$testability: $$TestabilityProvider,\n        $timeout: $TimeoutProvider,\n        $window: $WindowProvider,\n        $$rAF: $$RAFProvider,\n        $$jqLite: $$jqLiteProvider,\n        $$HashMap: $$HashMapProvider,\n        $$cookieReader: $$CookieReaderProvider\n      });\n    }\n  ]);\n}\n\n/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n *     Any commits to this file should be reviewed with security in mind.  *\n *   Changes to this file can potentially create security vulnerabilities. *\n *          An approval from 2 Core members with history of modifying      *\n *                         this file is required.                          *\n *                                                                         *\n *  Does the change somehow allow for arbitrary javascript to be executed? *\n *    Or allows for someone to change the prototype of built-in objects?   *\n *     Or gives undesired access to variables likes document or window?    *\n * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */\n\n/* global JQLitePrototype: true,\n  addEventListenerFn: true,\n  removeEventListenerFn: true,\n  BOOLEAN_ATTR: true,\n  ALIASED_ATTR: true,\n*/\n\n//////////////////////////////////\n//JQLite\n//////////////////////////////////\n\n/**\n * @ngdoc function\n * @name angular.element\n * @module ng\n * @kind function\n *\n * @description\n * Wraps a raw DOM element or HTML string as a [jQuery](http://jquery.com) element.\n *\n * If jQuery is available, `angular.element` is an alias for the\n * [jQuery](http://api.jquery.com/jQuery/) function. If jQuery is not available, `angular.element`\n * delegates to Angular's built-in subset of jQuery, called \"jQuery lite\" or \"jqLite.\"\n *\n * <div class=\"alert alert-success\">jqLite is a tiny, API-compatible subset of jQuery that allows\n * Angular to manipulate the DOM in a cross-browser compatible way. **jqLite** implements only the most\n * commonly needed functionality with the goal of having a very small footprint.</div>\n *\n * To use `jQuery`, simply ensure it is loaded before the `angular.js` file.\n *\n * <div class=\"alert\">**Note:** all element references in Angular are always wrapped with jQuery or\n * jqLite; they are never raw DOM references.</div>\n *\n * ## Angular's jqLite\n * jqLite provides only the following jQuery methods:\n *\n * - [`addClass()`](http://api.jquery.com/addClass/)\n * - [`after()`](http://api.jquery.com/after/)\n * - [`append()`](http://api.jquery.com/append/)\n * - [`attr()`](http://api.jquery.com/attr/) - Does not support functions as parameters\n * - [`bind()`](http://api.jquery.com/bind/) - Does not support namespaces, selectors or eventData\n * - [`children()`](http://api.jquery.com/children/) - Does not support selectors\n * - [`clone()`](http://api.jquery.com/clone/)\n * - [`contents()`](http://api.jquery.com/contents/)\n * - [`css()`](http://api.jquery.com/css/) - Only retrieves inline-styles, does not call `getComputedStyle()`. As a setter, does not convert numbers to strings or append 'px'.\n * - [`data()`](http://api.jquery.com/data/)\n * - [`detach()`](http://api.jquery.com/detach/)\n * - [`empty()`](http://api.jquery.com/empty/)\n * - [`eq()`](http://api.jquery.com/eq/)\n * - [`find()`](http://api.jquery.com/find/) - Limited to lookups by tag name\n * - [`hasClass()`](http://api.jquery.com/hasClass/)\n * - [`html()`](http://api.jquery.com/html/)\n * - [`next()`](http://api.jquery.com/next/) - Does not support selectors\n * - [`on()`](http://api.jquery.com/on/) - Does not support namespaces, selectors or eventData\n * - [`off()`](http://api.jquery.com/off/) - Does not support namespaces, selectors or event object as parameter\n * - [`one()`](http://api.jquery.com/one/) - Does not support namespaces or selectors\n * - [`parent()`](http://api.jquery.com/parent/) - Does not support selectors\n * - [`prepend()`](http://api.jquery.com/prepend/)\n * - [`prop()`](http://api.jquery.com/prop/)\n * - [`ready()`](http://api.jquery.com/ready/)\n * - [`remove()`](http://api.jquery.com/remove/)\n * - [`removeAttr()`](http://api.jquery.com/removeAttr/)\n * - [`removeClass()`](http://api.jquery.com/removeClass/)\n * - [`removeData()`](http://api.jquery.com/removeData/)\n * - [`replaceWith()`](http://api.jquery.com/replaceWith/)\n * - [`text()`](http://api.jquery.com/text/)\n * - [`toggleClass()`](http://api.jquery.com/toggleClass/)\n * - [`triggerHandler()`](http://api.jquery.com/triggerHandler/) - Passes a dummy event object to handlers.\n * - [`unbind()`](http://api.jquery.com/unbind/) - Does not support namespaces or event object as parameter\n * - [`val()`](http://api.jquery.com/val/)\n * - [`wrap()`](http://api.jquery.com/wrap/)\n *\n * ## jQuery/jqLite Extras\n * Angular also provides the following additional methods and events to both jQuery and jqLite:\n *\n * ### Events\n * - `$destroy` - AngularJS intercepts all jqLite/jQuery's DOM destruction apis and fires this event\n *    on all DOM nodes being removed.  This can be used to clean up any 3rd party bindings to the DOM\n *    element before it is removed.\n *\n * ### Methods\n * - `controller(name)` - retrieves the controller of the current element or its parent. By default\n *   retrieves controller associated with the `ngController` directive. If `name` is provided as\n *   camelCase directive name, then the controller for this directive will be retrieved (e.g.\n *   `'ngModel'`).\n * - `injector()` - retrieves the injector of the current element or its parent.\n * - `scope()` - retrieves the {@link ng.$rootScope.Scope scope} of the current\n *   element or its parent. Requires {@link guide/production#disabling-debug-data Debug Data} to\n *   be enabled.\n * - `isolateScope()` - retrieves an isolate {@link ng.$rootScope.Scope scope} if one is attached directly to the\n *   current element. This getter should be used only on elements that contain a directive which starts a new isolate\n *   scope. Calling `scope()` on this element always returns the original non-isolate scope.\n *   Requires {@link guide/production#disabling-debug-data Debug Data} to be enabled.\n * - `inheritedData()` - same as `data()`, but walks up the DOM until a value is found or the top\n *   parent element is reached.\n *\n * @param {string|DOMElement} element HTML string or DOMElement to be wrapped into jQuery.\n * @returns {Object} jQuery object.\n */\n\nJQLite.expando = 'ng339';\n\nvar jqCache = JQLite.cache = {},\n    jqId = 1,\n    addEventListenerFn = function(element, type, fn) {\n      element.addEventListener(type, fn, false);\n    },\n    removeEventListenerFn = function(element, type, fn) {\n      element.removeEventListener(type, fn, false);\n    };\n\n/*\n * !!! This is an undocumented \"private\" function !!!\n */\nJQLite._data = function(node) {\n  //jQuery always returns an object on cache miss\n  return this.cache[node[this.expando]] || {};\n};\n\nfunction jqNextId() { return ++jqId; }\n\n\nvar SPECIAL_CHARS_REGEXP = /([\\:\\-\\_]+(.))/g;\nvar MOZ_HACK_REGEXP = /^moz([A-Z])/;\nvar MOUSE_EVENT_MAP= { mouseleave: \"mouseout\", mouseenter: \"mouseover\"};\nvar jqLiteMinErr = minErr('jqLite');\n\n/**\n * Converts snake_case to camelCase.\n * Also there is special case for Moz prefix starting with upper case letter.\n * @param name Name to normalize\n */\nfunction camelCase(name) {\n  return name.\n    replace(SPECIAL_CHARS_REGEXP, function(_, separator, letter, offset) {\n      return offset ? letter.toUpperCase() : letter;\n    }).\n    replace(MOZ_HACK_REGEXP, 'Moz$1');\n}\n\nvar SINGLE_TAG_REGEXP = /^<([\\w-]+)\\s*\\/?>(?:<\\/\\1>|)$/;\nvar HTML_REGEXP = /<|&#?\\w+;/;\nvar TAG_NAME_REGEXP = /<([\\w:-]+)/;\nvar XHTML_TAG_REGEXP = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\\w:-]+)[^>]*)\\/>/gi;\n\nvar wrapMap = {\n  'option': [1, '<select multiple=\"multiple\">', '</select>'],\n\n  'thead': [1, '<table>', '</table>'],\n  'col': [2, '<table><colgroup>', '</colgroup></table>'],\n  'tr': [2, '<table><tbody>', '</tbody></table>'],\n  'td': [3, '<table><tbody><tr>', '</tr></tbody></table>'],\n  '_default': [0, \"\", \"\"]\n};\n\nwrapMap.optgroup = wrapMap.option;\nwrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;\nwrapMap.th = wrapMap.td;\n\n\nfunction jqLiteIsTextNode(html) {\n  return !HTML_REGEXP.test(html);\n}\n\nfunction jqLiteAcceptsData(node) {\n  // The window object can accept data but has no nodeType\n  // Otherwise we are only interested in elements (1) and documents (9)\n  var nodeType = node.nodeType;\n  return nodeType === NODE_TYPE_ELEMENT || !nodeType || nodeType === NODE_TYPE_DOCUMENT;\n}\n\nfunction jqLiteHasData(node) {\n  for (var key in jqCache[node.ng339]) {\n    return true;\n  }\n  return false;\n}\n\nfunction jqLiteBuildFragment(html, context) {\n  var tmp, tag, wrap,\n      fragment = context.createDocumentFragment(),\n      nodes = [], i;\n\n  if (jqLiteIsTextNode(html)) {\n    // Convert non-html into a text node\n    nodes.push(context.createTextNode(html));\n  } else {\n    // Convert html into DOM nodes\n    tmp = tmp || fragment.appendChild(context.createElement(\"div\"));\n    tag = (TAG_NAME_REGEXP.exec(html) || [\"\", \"\"])[1].toLowerCase();\n    wrap = wrapMap[tag] || wrapMap._default;\n    tmp.innerHTML = wrap[1] + html.replace(XHTML_TAG_REGEXP, \"<$1></$2>\") + wrap[2];\n\n    // Descend through wrappers to the right content\n    i = wrap[0];\n    while (i--) {\n      tmp = tmp.lastChild;\n    }\n\n    nodes = concat(nodes, tmp.childNodes);\n\n    tmp = fragment.firstChild;\n    tmp.textContent = \"\";\n  }\n\n  // Remove wrapper from fragment\n  fragment.textContent = \"\";\n  fragment.innerHTML = \"\"; // Clear inner HTML\n  forEach(nodes, function(node) {\n    fragment.appendChild(node);\n  });\n\n  return fragment;\n}\n\nfunction jqLiteParseHTML(html, context) {\n  context = context || document;\n  var parsed;\n\n  if ((parsed = SINGLE_TAG_REGEXP.exec(html))) {\n    return [context.createElement(parsed[1])];\n  }\n\n  if ((parsed = jqLiteBuildFragment(html, context))) {\n    return parsed.childNodes;\n  }\n\n  return [];\n}\n\n\n// IE9-11 has no method \"contains\" in SVG element and in Node.prototype. Bug #10259.\nvar jqLiteContains = Node.prototype.contains || function(arg) {\n  // jshint bitwise: false\n  return !!(this.compareDocumentPosition(arg) & 16);\n  // jshint bitwise: true\n};\n\n/////////////////////////////////////////////\nfunction JQLite(element) {\n  if (element instanceof JQLite) {\n    return element;\n  }\n\n  var argIsString;\n\n  if (isString(element)) {\n    element = trim(element);\n    argIsString = true;\n  }\n  if (!(this instanceof JQLite)) {\n    if (argIsString && element.charAt(0) != '<') {\n      throw jqLiteMinErr('nosel', 'Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element');\n    }\n    return new JQLite(element);\n  }\n\n  if (argIsString) {\n    jqLiteAddNodes(this, jqLiteParseHTML(element));\n  } else {\n    jqLiteAddNodes(this, element);\n  }\n}\n\nfunction jqLiteClone(element) {\n  return element.cloneNode(true);\n}\n\nfunction jqLiteDealoc(element, onlyDescendants) {\n  if (!onlyDescendants) jqLiteRemoveData(element);\n\n  if (element.querySelectorAll) {\n    var descendants = element.querySelectorAll('*');\n    for (var i = 0, l = descendants.length; i < l; i++) {\n      jqLiteRemoveData(descendants[i]);\n    }\n  }\n}\n\nfunction jqLiteOff(element, type, fn, unsupported) {\n  if (isDefined(unsupported)) throw jqLiteMinErr('offargs', 'jqLite#off() does not support the `selector` argument');\n\n  var expandoStore = jqLiteExpandoStore(element);\n  var events = expandoStore && expandoStore.events;\n  var handle = expandoStore && expandoStore.handle;\n\n  if (!handle) return; //no listeners registered\n\n  if (!type) {\n    for (type in events) {\n      if (type !== '$destroy') {\n        removeEventListenerFn(element, type, handle);\n      }\n      delete events[type];\n    }\n  } else {\n\n    var removeHandler = function(type) {\n      var listenerFns = events[type];\n      if (isDefined(fn)) {\n        arrayRemove(listenerFns || [], fn);\n      }\n      if (!(isDefined(fn) && listenerFns && listenerFns.length > 0)) {\n        removeEventListenerFn(element, type, handle);\n        delete events[type];\n      }\n    };\n\n    forEach(type.split(' '), function(type) {\n      removeHandler(type);\n      if (MOUSE_EVENT_MAP[type]) {\n        removeHandler(MOUSE_EVENT_MAP[type]);\n      }\n    });\n  }\n}\n\nfunction jqLiteRemoveData(element, name) {\n  var expandoId = element.ng339;\n  var expandoStore = expandoId && jqCache[expandoId];\n\n  if (expandoStore) {\n    if (name) {\n      delete expandoStore.data[name];\n      return;\n    }\n\n    if (expandoStore.handle) {\n      if (expandoStore.events.$destroy) {\n        expandoStore.handle({}, '$destroy');\n      }\n      jqLiteOff(element);\n    }\n    delete jqCache[expandoId];\n    element.ng339 = undefined; // don't delete DOM expandos. IE and Chrome don't like it\n  }\n}\n\n\nfunction jqLiteExpandoStore(element, createIfNecessary) {\n  var expandoId = element.ng339,\n      expandoStore = expandoId && jqCache[expandoId];\n\n  if (createIfNecessary && !expandoStore) {\n    element.ng339 = expandoId = jqNextId();\n    expandoStore = jqCache[expandoId] = {events: {}, data: {}, handle: undefined};\n  }\n\n  return expandoStore;\n}\n\n\nfunction jqLiteData(element, key, value) {\n  if (jqLiteAcceptsData(element)) {\n\n    var isSimpleSetter = isDefined(value);\n    var isSimpleGetter = !isSimpleSetter && key && !isObject(key);\n    var massGetter = !key;\n    var expandoStore = jqLiteExpandoStore(element, !isSimpleGetter);\n    var data = expandoStore && expandoStore.data;\n\n    if (isSimpleSetter) { // data('key', value)\n      data[key] = value;\n    } else {\n      if (massGetter) {  // data()\n        return data;\n      } else {\n        if (isSimpleGetter) { // data('key')\n          // don't force creation of expandoStore if it doesn't exist yet\n          return data && data[key];\n        } else { // mass-setter: data({key1: val1, key2: val2})\n          extend(data, key);\n        }\n      }\n    }\n  }\n}\n\nfunction jqLiteHasClass(element, selector) {\n  if (!element.getAttribute) return false;\n  return ((\" \" + (element.getAttribute('class') || '') + \" \").replace(/[\\n\\t]/g, \" \").\n      indexOf(\" \" + selector + \" \") > -1);\n}\n\nfunction jqLiteRemoveClass(element, cssClasses) {\n  if (cssClasses && element.setAttribute) {\n    forEach(cssClasses.split(' '), function(cssClass) {\n      element.setAttribute('class', trim(\n          (\" \" + (element.getAttribute('class') || '') + \" \")\n          .replace(/[\\n\\t]/g, \" \")\n          .replace(\" \" + trim(cssClass) + \" \", \" \"))\n      );\n    });\n  }\n}\n\nfunction jqLiteAddClass(element, cssClasses) {\n  if (cssClasses && element.setAttribute) {\n    var existingClasses = (' ' + (element.getAttribute('class') || '') + ' ')\n                            .replace(/[\\n\\t]/g, \" \");\n\n    forEach(cssClasses.split(' '), function(cssClass) {\n      cssClass = trim(cssClass);\n      if (existingClasses.indexOf(' ' + cssClass + ' ') === -1) {\n        existingClasses += cssClass + ' ';\n      }\n    });\n\n    element.setAttribute('class', trim(existingClasses));\n  }\n}\n\n\nfunction jqLiteAddNodes(root, elements) {\n  // THIS CODE IS VERY HOT. Don't make changes without benchmarking.\n\n  if (elements) {\n\n    // if a Node (the most common case)\n    if (elements.nodeType) {\n      root[root.length++] = elements;\n    } else {\n      var length = elements.length;\n\n      // if an Array or NodeList and not a Window\n      if (typeof length === 'number' && elements.window !== elements) {\n        if (length) {\n          for (var i = 0; i < length; i++) {\n            root[root.length++] = elements[i];\n          }\n        }\n      } else {\n        root[root.length++] = elements;\n      }\n    }\n  }\n}\n\n\nfunction jqLiteController(element, name) {\n  return jqLiteInheritedData(element, '$' + (name || 'ngController') + 'Controller');\n}\n\nfunction jqLiteInheritedData(element, name, value) {\n  // if element is the document object work with the html element instead\n  // this makes $(document).scope() possible\n  if (element.nodeType == NODE_TYPE_DOCUMENT) {\n    element = element.documentElement;\n  }\n  var names = isArray(name) ? name : [name];\n\n  while (element) {\n    for (var i = 0, ii = names.length; i < ii; i++) {\n      if (isDefined(value = jqLite.data(element, names[i]))) return value;\n    }\n\n    // If dealing with a document fragment node with a host element, and no parent, use the host\n    // element as the parent. This enables directives within a Shadow DOM or polyfilled Shadow DOM\n    // to lookup parent controllers.\n    element = element.parentNode || (element.nodeType === NODE_TYPE_DOCUMENT_FRAGMENT && element.host);\n  }\n}\n\nfunction jqLiteEmpty(element) {\n  jqLiteDealoc(element, true);\n  while (element.firstChild) {\n    element.removeChild(element.firstChild);\n  }\n}\n\nfunction jqLiteRemove(element, keepData) {\n  if (!keepData) jqLiteDealoc(element);\n  var parent = element.parentNode;\n  if (parent) parent.removeChild(element);\n}\n\n\nfunction jqLiteDocumentLoaded(action, win) {\n  win = win || window;\n  if (win.document.readyState === 'complete') {\n    // Force the action to be run async for consistent behaviour\n    // from the action's point of view\n    // i.e. it will definitely not be in a $apply\n    win.setTimeout(action);\n  } else {\n    // No need to unbind this handler as load is only ever called once\n    jqLite(win).on('load', action);\n  }\n}\n\n//////////////////////////////////////////\n// Functions which are declared directly.\n//////////////////////////////////////////\nvar JQLitePrototype = JQLite.prototype = {\n  ready: function(fn) {\n    var fired = false;\n\n    function trigger() {\n      if (fired) return;\n      fired = true;\n      fn();\n    }\n\n    // check if document is already loaded\n    if (document.readyState === 'complete') {\n      setTimeout(trigger);\n    } else {\n      this.on('DOMContentLoaded', trigger); // works for modern browsers and IE9\n      // we can not use jqLite since we are not done loading and jQuery could be loaded later.\n      // jshint -W064\n      JQLite(window).on('load', trigger); // fallback to window.onload for others\n      // jshint +W064\n    }\n  },\n  toString: function() {\n    var value = [];\n    forEach(this, function(e) { value.push('' + e);});\n    return '[' + value.join(', ') + ']';\n  },\n\n  eq: function(index) {\n      return (index >= 0) ? jqLite(this[index]) : jqLite(this[this.length + index]);\n  },\n\n  length: 0,\n  push: push,\n  sort: [].sort,\n  splice: [].splice\n};\n\n//////////////////////////////////////////\n// Functions iterating getter/setters.\n// these functions return self on setter and\n// value on get.\n//////////////////////////////////////////\nvar BOOLEAN_ATTR = {};\nforEach('multiple,selected,checked,disabled,readOnly,required,open'.split(','), function(value) {\n  BOOLEAN_ATTR[lowercase(value)] = value;\n});\nvar BOOLEAN_ELEMENTS = {};\nforEach('input,select,option,textarea,button,form,details'.split(','), function(value) {\n  BOOLEAN_ELEMENTS[value] = true;\n});\nvar ALIASED_ATTR = {\n  'ngMinlength': 'minlength',\n  'ngMaxlength': 'maxlength',\n  'ngMin': 'min',\n  'ngMax': 'max',\n  'ngPattern': 'pattern'\n};\n\nfunction getBooleanAttrName(element, name) {\n  // check dom last since we will most likely fail on name\n  var booleanAttr = BOOLEAN_ATTR[name.toLowerCase()];\n\n  // booleanAttr is here twice to minimize DOM access\n  return booleanAttr && BOOLEAN_ELEMENTS[nodeName_(element)] && booleanAttr;\n}\n\nfunction getAliasedAttrName(name) {\n  return ALIASED_ATTR[name];\n}\n\nforEach({\n  data: jqLiteData,\n  removeData: jqLiteRemoveData,\n  hasData: jqLiteHasData\n}, function(fn, name) {\n  JQLite[name] = fn;\n});\n\nforEach({\n  data: jqLiteData,\n  inheritedData: jqLiteInheritedData,\n\n  scope: function(element) {\n    // Can't use jqLiteData here directly so we stay compatible with jQuery!\n    return jqLite.data(element, '$scope') || jqLiteInheritedData(element.parentNode || element, ['$isolateScope', '$scope']);\n  },\n\n  isolateScope: function(element) {\n    // Can't use jqLiteData here directly so we stay compatible with jQuery!\n    return jqLite.data(element, '$isolateScope') || jqLite.data(element, '$isolateScopeNoTemplate');\n  },\n\n  controller: jqLiteController,\n\n  injector: function(element) {\n    return jqLiteInheritedData(element, '$injector');\n  },\n\n  removeAttr: function(element, name) {\n    element.removeAttribute(name);\n  },\n\n  hasClass: jqLiteHasClass,\n\n  css: function(element, name, value) {\n    name = camelCase(name);\n\n    if (isDefined(value)) {\n      element.style[name] = value;\n    } else {\n      return element.style[name];\n    }\n  },\n\n  attr: function(element, name, value) {\n    var nodeType = element.nodeType;\n    if (nodeType === NODE_TYPE_TEXT || nodeType === NODE_TYPE_ATTRIBUTE || nodeType === NODE_TYPE_COMMENT) {\n      return;\n    }\n    var lowercasedName = lowercase(name);\n    if (BOOLEAN_ATTR[lowercasedName]) {\n      if (isDefined(value)) {\n        if (!!value) {\n          element[name] = true;\n          element.setAttribute(name, lowercasedName);\n        } else {\n          element[name] = false;\n          element.removeAttribute(lowercasedName);\n        }\n      } else {\n        return (element[name] ||\n                 (element.attributes.getNamedItem(name) || noop).specified)\n               ? lowercasedName\n               : undefined;\n      }\n    } else if (isDefined(value)) {\n      element.setAttribute(name, value);\n    } else if (element.getAttribute) {\n      // the extra argument \"2\" is to get the right thing for a.href in IE, see jQuery code\n      // some elements (e.g. Document) don't have get attribute, so return undefined\n      var ret = element.getAttribute(name, 2);\n      // normalize non-existing attributes to undefined (as jQuery)\n      return ret === null ? undefined : ret;\n    }\n  },\n\n  prop: function(element, name, value) {\n    if (isDefined(value)) {\n      element[name] = value;\n    } else {\n      return element[name];\n    }\n  },\n\n  text: (function() {\n    getText.$dv = '';\n    return getText;\n\n    function getText(element, value) {\n      if (isUndefined(value)) {\n        var nodeType = element.nodeType;\n        return (nodeType === NODE_TYPE_ELEMENT || nodeType === NODE_TYPE_TEXT) ? element.textContent : '';\n      }\n      element.textContent = value;\n    }\n  })(),\n\n  val: function(element, value) {\n    if (isUndefined(value)) {\n      if (element.multiple && nodeName_(element) === 'select') {\n        var result = [];\n        forEach(element.options, function(option) {\n          if (option.selected) {\n            result.push(option.value || option.text);\n          }\n        });\n        return result.length === 0 ? null : result;\n      }\n      return element.value;\n    }\n    element.value = value;\n  },\n\n  html: function(element, value) {\n    if (isUndefined(value)) {\n      return element.innerHTML;\n    }\n    jqLiteDealoc(element, true);\n    element.innerHTML = value;\n  },\n\n  empty: jqLiteEmpty\n}, function(fn, name) {\n  /**\n   * Properties: writes return selection, reads return first value\n   */\n  JQLite.prototype[name] = function(arg1, arg2) {\n    var i, key;\n    var nodeCount = this.length;\n\n    // jqLiteHasClass has only two arguments, but is a getter-only fn, so we need to special-case it\n    // in a way that survives minification.\n    // jqLiteEmpty takes no arguments but is a setter.\n    if (fn !== jqLiteEmpty &&\n        (isUndefined((fn.length == 2 && (fn !== jqLiteHasClass && fn !== jqLiteController)) ? arg1 : arg2))) {\n      if (isObject(arg1)) {\n\n        // we are a write, but the object properties are the key/values\n        for (i = 0; i < nodeCount; i++) {\n          if (fn === jqLiteData) {\n            // data() takes the whole object in jQuery\n            fn(this[i], arg1);\n          } else {\n            for (key in arg1) {\n              fn(this[i], key, arg1[key]);\n            }\n          }\n        }\n        // return self for chaining\n        return this;\n      } else {\n        // we are a read, so read the first child.\n        // TODO: do we still need this?\n        var value = fn.$dv;\n        // Only if we have $dv do we iterate over all, otherwise it is just the first element.\n        var jj = (isUndefined(value)) ? Math.min(nodeCount, 1) : nodeCount;\n        for (var j = 0; j < jj; j++) {\n          var nodeValue = fn(this[j], arg1, arg2);\n          value = value ? value + nodeValue : nodeValue;\n        }\n        return value;\n      }\n    } else {\n      // we are a write, so apply to all children\n      for (i = 0; i < nodeCount; i++) {\n        fn(this[i], arg1, arg2);\n      }\n      // return self for chaining\n      return this;\n    }\n  };\n});\n\nfunction createEventHandler(element, events) {\n  var eventHandler = function(event, type) {\n    // jQuery specific api\n    event.isDefaultPrevented = function() {\n      return event.defaultPrevented;\n    };\n\n    var eventFns = events[type || event.type];\n    var eventFnsLength = eventFns ? eventFns.length : 0;\n\n    if (!eventFnsLength) return;\n\n    if (isUndefined(event.immediatePropagationStopped)) {\n      var originalStopImmediatePropagation = event.stopImmediatePropagation;\n      event.stopImmediatePropagation = function() {\n        event.immediatePropagationStopped = true;\n\n        if (event.stopPropagation) {\n          event.stopPropagation();\n        }\n\n        if (originalStopImmediatePropagation) {\n          originalStopImmediatePropagation.call(event);\n        }\n      };\n    }\n\n    event.isImmediatePropagationStopped = function() {\n      return event.immediatePropagationStopped === true;\n    };\n\n    // Some events have special handlers that wrap the real handler\n    var handlerWrapper = eventFns.specialHandlerWrapper || defaultHandlerWrapper;\n\n    // Copy event handlers in case event handlers array is modified during execution.\n    if ((eventFnsLength > 1)) {\n      eventFns = shallowCopy(eventFns);\n    }\n\n    for (var i = 0; i < eventFnsLength; i++) {\n      if (!event.isImmediatePropagationStopped()) {\n        handlerWrapper(element, event, eventFns[i]);\n      }\n    }\n  };\n\n  // TODO: this is a hack for angularMocks/clearDataCache that makes it possible to deregister all\n  //       events on `element`\n  eventHandler.elem = element;\n  return eventHandler;\n}\n\nfunction defaultHandlerWrapper(element, event, handler) {\n  handler.call(element, event);\n}\n\nfunction specialMouseHandlerWrapper(target, event, handler) {\n  // Refer to jQuery's implementation of mouseenter & mouseleave\n  // Read about mouseenter and mouseleave:\n  // http://www.quirksmode.org/js/events_mouse.html#link8\n  var related = event.relatedTarget;\n  // For mousenter/leave call the handler if related is outside the target.\n  // NB: No relatedTarget if the mouse left/entered the browser window\n  if (!related || (related !== target && !jqLiteContains.call(target, related))) {\n    handler.call(target, event);\n  }\n}\n\n//////////////////////////////////////////\n// Functions iterating traversal.\n// These functions chain results into a single\n// selector.\n//////////////////////////////////////////\nforEach({\n  removeData: jqLiteRemoveData,\n\n  on: function jqLiteOn(element, type, fn, unsupported) {\n    if (isDefined(unsupported)) throw jqLiteMinErr('onargs', 'jqLite#on() does not support the `selector` or `eventData` parameters');\n\n    // Do not add event handlers to non-elements because they will not be cleaned up.\n    if (!jqLiteAcceptsData(element)) {\n      return;\n    }\n\n    var expandoStore = jqLiteExpandoStore(element, true);\n    var events = expandoStore.events;\n    var handle = expandoStore.handle;\n\n    if (!handle) {\n      handle = expandoStore.handle = createEventHandler(element, events);\n    }\n\n    // http://jsperf.com/string-indexof-vs-split\n    var types = type.indexOf(' ') >= 0 ? type.split(' ') : [type];\n    var i = types.length;\n\n    var addHandler = function(type, specialHandlerWrapper, noEventListener) {\n      var eventFns = events[type];\n\n      if (!eventFns) {\n        eventFns = events[type] = [];\n        eventFns.specialHandlerWrapper = specialHandlerWrapper;\n        if (type !== '$destroy' && !noEventListener) {\n          addEventListenerFn(element, type, handle);\n        }\n      }\n\n      eventFns.push(fn);\n    };\n\n    while (i--) {\n      type = types[i];\n      if (MOUSE_EVENT_MAP[type]) {\n        addHandler(MOUSE_EVENT_MAP[type], specialMouseHandlerWrapper);\n        addHandler(type, undefined, true);\n      } else {\n        addHandler(type);\n      }\n    }\n  },\n\n  off: jqLiteOff,\n\n  one: function(element, type, fn) {\n    element = jqLite(element);\n\n    //add the listener twice so that when it is called\n    //you can remove the original function and still be\n    //able to call element.off(ev, fn) normally\n    element.on(type, function onFn() {\n      element.off(type, fn);\n      element.off(type, onFn);\n    });\n    element.on(type, fn);\n  },\n\n  replaceWith: function(element, replaceNode) {\n    var index, parent = element.parentNode;\n    jqLiteDealoc(element);\n    forEach(new JQLite(replaceNode), function(node) {\n      if (index) {\n        parent.insertBefore(node, index.nextSibling);\n      } else {\n        parent.replaceChild(node, element);\n      }\n      index = node;\n    });\n  },\n\n  children: function(element) {\n    var children = [];\n    forEach(element.childNodes, function(element) {\n      if (element.nodeType === NODE_TYPE_ELEMENT) {\n        children.push(element);\n      }\n    });\n    return children;\n  },\n\n  contents: function(element) {\n    return element.contentDocument || element.childNodes || [];\n  },\n\n  append: function(element, node) {\n    var nodeType = element.nodeType;\n    if (nodeType !== NODE_TYPE_ELEMENT && nodeType !== NODE_TYPE_DOCUMENT_FRAGMENT) return;\n\n    node = new JQLite(node);\n\n    for (var i = 0, ii = node.length; i < ii; i++) {\n      var child = node[i];\n      element.appendChild(child);\n    }\n  },\n\n  prepend: function(element, node) {\n    if (element.nodeType === NODE_TYPE_ELEMENT) {\n      var index = element.firstChild;\n      forEach(new JQLite(node), function(child) {\n        element.insertBefore(child, index);\n      });\n    }\n  },\n\n  wrap: function(element, wrapNode) {\n    wrapNode = jqLite(wrapNode).eq(0).clone()[0];\n    var parent = element.parentNode;\n    if (parent) {\n      parent.replaceChild(wrapNode, element);\n    }\n    wrapNode.appendChild(element);\n  },\n\n  remove: jqLiteRemove,\n\n  detach: function(element) {\n    jqLiteRemove(element, true);\n  },\n\n  after: function(element, newElement) {\n    var index = element, parent = element.parentNode;\n    newElement = new JQLite(newElement);\n\n    for (var i = 0, ii = newElement.length; i < ii; i++) {\n      var node = newElement[i];\n      parent.insertBefore(node, index.nextSibling);\n      index = node;\n    }\n  },\n\n  addClass: jqLiteAddClass,\n  removeClass: jqLiteRemoveClass,\n\n  toggleClass: function(element, selector, condition) {\n    if (selector) {\n      forEach(selector.split(' '), function(className) {\n        var classCondition = condition;\n        if (isUndefined(classCondition)) {\n          classCondition = !jqLiteHasClass(element, className);\n        }\n        (classCondition ? jqLiteAddClass : jqLiteRemoveClass)(element, className);\n      });\n    }\n  },\n\n  parent: function(element) {\n    var parent = element.parentNode;\n    return parent && parent.nodeType !== NODE_TYPE_DOCUMENT_FRAGMENT ? parent : null;\n  },\n\n  next: function(element) {\n    return element.nextElementSibling;\n  },\n\n  find: function(element, selector) {\n    if (element.getElementsByTagName) {\n      return element.getElementsByTagName(selector);\n    } else {\n      return [];\n    }\n  },\n\n  clone: jqLiteClone,\n\n  triggerHandler: function(element, event, extraParameters) {\n\n    var dummyEvent, eventFnsCopy, handlerArgs;\n    var eventName = event.type || event;\n    var expandoStore = jqLiteExpandoStore(element);\n    var events = expandoStore && expandoStore.events;\n    var eventFns = events && events[eventName];\n\n    if (eventFns) {\n      // Create a dummy event to pass to the handlers\n      dummyEvent = {\n        preventDefault: function() { this.defaultPrevented = true; },\n        isDefaultPrevented: function() { return this.defaultPrevented === true; },\n        stopImmediatePropagation: function() { this.immediatePropagationStopped = true; },\n        isImmediatePropagationStopped: function() { return this.immediatePropagationStopped === true; },\n        stopPropagation: noop,\n        type: eventName,\n        target: element\n      };\n\n      // If a custom event was provided then extend our dummy event with it\n      if (event.type) {\n        dummyEvent = extend(dummyEvent, event);\n      }\n\n      // Copy event handlers in case event handlers array is modified during execution.\n      eventFnsCopy = shallowCopy(eventFns);\n      handlerArgs = extraParameters ? [dummyEvent].concat(extraParameters) : [dummyEvent];\n\n      forEach(eventFnsCopy, function(fn) {\n        if (!dummyEvent.isImmediatePropagationStopped()) {\n          fn.apply(element, handlerArgs);\n        }\n      });\n    }\n  }\n}, function(fn, name) {\n  /**\n   * chaining functions\n   */\n  JQLite.prototype[name] = function(arg1, arg2, arg3) {\n    var value;\n\n    for (var i = 0, ii = this.length; i < ii; i++) {\n      if (isUndefined(value)) {\n        value = fn(this[i], arg1, arg2, arg3);\n        if (isDefined(value)) {\n          // any function which returns a value needs to be wrapped\n          value = jqLite(value);\n        }\n      } else {\n        jqLiteAddNodes(value, fn(this[i], arg1, arg2, arg3));\n      }\n    }\n    return isDefined(value) ? value : this;\n  };\n\n  // bind legacy bind/unbind to on/off\n  JQLite.prototype.bind = JQLite.prototype.on;\n  JQLite.prototype.unbind = JQLite.prototype.off;\n});\n\n\n// Provider for private $$jqLite service\nfunction $$jqLiteProvider() {\n  this.$get = function $$jqLite() {\n    return extend(JQLite, {\n      hasClass: function(node, classes) {\n        if (node.attr) node = node[0];\n        return jqLiteHasClass(node, classes);\n      },\n      addClass: function(node, classes) {\n        if (node.attr) node = node[0];\n        return jqLiteAddClass(node, classes);\n      },\n      removeClass: function(node, classes) {\n        if (node.attr) node = node[0];\n        return jqLiteRemoveClass(node, classes);\n      }\n    });\n  };\n}\n\n/**\n * Computes a hash of an 'obj'.\n * Hash of a:\n *  string is string\n *  number is number as string\n *  object is either result of calling $$hashKey function on the object or uniquely generated id,\n *         that is also assigned to the $$hashKey property of the object.\n *\n * @param obj\n * @returns {string} hash string such that the same input will have the same hash string.\n *         The resulting string key is in 'type:hashKey' format.\n */\nfunction hashKey(obj, nextUidFn) {\n  var key = obj && obj.$$hashKey;\n\n  if (key) {\n    if (typeof key === 'function') {\n      key = obj.$$hashKey();\n    }\n    return key;\n  }\n\n  var objType = typeof obj;\n  if (objType == 'function' || (objType == 'object' && obj !== null)) {\n    key = obj.$$hashKey = objType + ':' + (nextUidFn || nextUid)();\n  } else {\n    key = objType + ':' + obj;\n  }\n\n  return key;\n}\n\n/**\n * HashMap which can use objects as keys\n */\nfunction HashMap(array, isolatedUid) {\n  if (isolatedUid) {\n    var uid = 0;\n    this.nextUid = function() {\n      return ++uid;\n    };\n  }\n  forEach(array, this.put, this);\n}\nHashMap.prototype = {\n  /**\n   * Store key value pair\n   * @param key key to store can be any type\n   * @param value value to store can be any type\n   */\n  put: function(key, value) {\n    this[hashKey(key, this.nextUid)] = value;\n  },\n\n  /**\n   * @param key\n   * @returns {Object} the value for the key\n   */\n  get: function(key) {\n    return this[hashKey(key, this.nextUid)];\n  },\n\n  /**\n   * Remove the key/value pair\n   * @param key\n   */\n  remove: function(key) {\n    var value = this[key = hashKey(key, this.nextUid)];\n    delete this[key];\n    return value;\n  }\n};\n\nvar $$HashMapProvider = [function() {\n  this.$get = [function() {\n    return HashMap;\n  }];\n}];\n\n/**\n * @ngdoc function\n * @module ng\n * @name angular.injector\n * @kind function\n *\n * @description\n * Creates an injector object that can be used for retrieving services as well as for\n * dependency injection (see {@link guide/di dependency injection}).\n *\n * @param {Array.<string|Function>} modules A list of module functions or their aliases. See\n *     {@link angular.module}. The `ng` module must be explicitly added.\n * @param {boolean=} [strictDi=false] Whether the injector should be in strict mode, which\n *     disallows argument name annotation inference.\n * @returns {injector} Injector object. See {@link auto.$injector $injector}.\n *\n * @example\n * Typical usage\n * ```js\n *   // create an injector\n *   var $injector = angular.injector(['ng']);\n *\n *   // use the injector to kick off your application\n *   // use the type inference to auto inject arguments, or use implicit injection\n *   $injector.invoke(function($rootScope, $compile, $document) {\n *     $compile($document)($rootScope);\n *     $rootScope.$digest();\n *   });\n * ```\n *\n * Sometimes you want to get access to the injector of a currently running Angular app\n * from outside Angular. Perhaps, you want to inject and compile some markup after the\n * application has been bootstrapped. You can do this using the extra `injector()` added\n * to JQuery/jqLite elements. See {@link angular.element}.\n *\n * *This is fairly rare but could be the case if a third party library is injecting the\n * markup.*\n *\n * In the following example a new block of HTML containing a `ng-controller`\n * directive is added to the end of the document body by JQuery. We then compile and link\n * it into the current AngularJS scope.\n *\n * ```js\n * var $div = $('<div ng-controller=\"MyCtrl\">{{content.label}}</div>');\n * $(document.body).append($div);\n *\n * angular.element(document).injector().invoke(function($compile) {\n *   var scope = angular.element($div).scope();\n *   $compile($div)(scope);\n * });\n * ```\n */\n\n\n/**\n * @ngdoc module\n * @name auto\n * @description\n *\n * Implicit module which gets automatically added to each {@link auto.$injector $injector}.\n */\n\nvar FN_ARGS = /^[^\\(]*\\(\\s*([^\\)]*)\\)/m;\nvar FN_ARG_SPLIT = /,/;\nvar FN_ARG = /^\\s*(_?)(\\S+?)\\1\\s*$/;\nvar STRIP_COMMENTS = /((\\/\\/.*$)|(\\/\\*[\\s\\S]*?\\*\\/))/mg;\nvar $injectorMinErr = minErr('$injector');\n\nfunction anonFn(fn) {\n  // For anonymous functions, showing at the very least the function signature can help in\n  // debugging.\n  var fnText = fn.toString().replace(STRIP_COMMENTS, ''),\n      args = fnText.match(FN_ARGS);\n  if (args) {\n    return 'function(' + (args[1] || '').replace(/[\\s\\r\\n]+/, ' ') + ')';\n  }\n  return 'fn';\n}\n\nfunction annotate(fn, strictDi, name) {\n  var $inject,\n      fnText,\n      argDecl,\n      last;\n\n  if (typeof fn === 'function') {\n    if (!($inject = fn.$inject)) {\n      $inject = [];\n      if (fn.length) {\n        if (strictDi) {\n          if (!isString(name) || !name) {\n            name = fn.name || anonFn(fn);\n          }\n          throw $injectorMinErr('strictdi',\n            '{0} is not using explicit annotation and cannot be invoked in strict mode', name);\n        }\n        fnText = fn.toString().replace(STRIP_COMMENTS, '');\n        argDecl = fnText.match(FN_ARGS);\n        forEach(argDecl[1].split(FN_ARG_SPLIT), function(arg) {\n          arg.replace(FN_ARG, function(all, underscore, name) {\n            $inject.push(name);\n          });\n        });\n      }\n      fn.$inject = $inject;\n    }\n  } else if (isArray(fn)) {\n    last = fn.length - 1;\n    assertArgFn(fn[last], 'fn');\n    $inject = fn.slice(0, last);\n  } else {\n    assertArgFn(fn, 'fn', true);\n  }\n  return $inject;\n}\n\n///////////////////////////////////////\n\n/**\n * @ngdoc service\n * @name $injector\n *\n * @description\n *\n * `$injector` is used to retrieve object instances as defined by\n * {@link auto.$provide provider}, instantiate types, invoke methods,\n * and load modules.\n *\n * The following always holds true:\n *\n * ```js\n *   var $injector = angular.injector();\n *   expect($injector.get('$injector')).toBe($injector);\n *   expect($injector.invoke(function($injector) {\n *     return $injector;\n *   })).toBe($injector);\n * ```\n *\n * # Injection Function Annotation\n *\n * JavaScript does not have annotations, and annotations are needed for dependency injection. The\n * following are all valid ways of annotating function with injection arguments and are equivalent.\n *\n * ```js\n *   // inferred (only works if code not minified/obfuscated)\n *   $injector.invoke(function(serviceA){});\n *\n *   // annotated\n *   function explicit(serviceA) {};\n *   explicit.$inject = ['serviceA'];\n *   $injector.invoke(explicit);\n *\n *   // inline\n *   $injector.invoke(['serviceA', function(serviceA){}]);\n * ```\n *\n * ## Inference\n *\n * In JavaScript calling `toString()` on a function returns the function definition. The definition\n * can then be parsed and the function arguments can be extracted. This method of discovering\n * annotations is disallowed when the injector is in strict mode.\n * *NOTE:* This does not work with minification, and obfuscation tools since these tools change the\n * argument names.\n *\n * ## `$inject` Annotation\n * By adding an `$inject` property onto a function the injection parameters can be specified.\n *\n * ## Inline\n * As an array of injection names, where the last item in the array is the function to call.\n */\n\n/**\n * @ngdoc method\n * @name $injector#get\n *\n * @description\n * Return an instance of the service.\n *\n * @param {string} name The name of the instance to retrieve.\n * @param {string=} caller An optional string to provide the origin of the function call for error messages.\n * @return {*} The instance.\n */\n\n/**\n * @ngdoc method\n * @name $injector#invoke\n *\n * @description\n * Invoke the method and supply the method arguments from the `$injector`.\n *\n * @param {Function|Array.<string|Function>} fn The injectable function to invoke. Function parameters are\n *   injected according to the {@link guide/di $inject Annotation} rules.\n * @param {Object=} self The `this` for the invoked method.\n * @param {Object=} locals Optional object. If preset then any argument names are read from this\n *                         object first, before the `$injector` is consulted.\n * @returns {*} the value returned by the invoked `fn` function.\n */\n\n/**\n * @ngdoc method\n * @name $injector#has\n *\n * @description\n * Allows the user to query if the particular service exists.\n *\n * @param {string} name Name of the service to query.\n * @returns {boolean} `true` if injector has given service.\n */\n\n/**\n * @ngdoc method\n * @name $injector#instantiate\n * @description\n * Create a new instance of JS type. The method takes a constructor function, invokes the new\n * operator, and supplies all of the arguments to the constructor function as specified by the\n * constructor annotation.\n *\n * @param {Function} Type Annotated constructor function.\n * @param {Object=} locals Optional object. If preset then any argument names are read from this\n * object first, before the `$injector` is consulted.\n * @returns {Object} new instance of `Type`.\n */\n\n/**\n * @ngdoc method\n * @name $injector#annotate\n *\n * @description\n * Returns an array of service names which the function is requesting for injection. This API is\n * used by the injector to determine which services need to be injected into the function when the\n * function is invoked. There are three ways in which the function can be annotated with the needed\n * dependencies.\n *\n * # Argument names\n *\n * The simplest form is to extract the dependencies from the arguments of the function. This is done\n * by converting the function into a string using `toString()` method and extracting the argument\n * names.\n * ```js\n *   // Given\n *   function MyController($scope, $route) {\n *     // ...\n *   }\n *\n *   // Then\n *   expect(injector.annotate(MyController)).toEqual(['$scope', '$route']);\n * ```\n *\n * You can disallow this method by using strict injection mode.\n *\n * This method does not work with code minification / obfuscation. For this reason the following\n * annotation strategies are supported.\n *\n * # The `$inject` property\n *\n * If a function has an `$inject` property and its value is an array of strings, then the strings\n * represent names of services to be injected into the function.\n * ```js\n *   // Given\n *   var MyController = function(obfuscatedScope, obfuscatedRoute) {\n *     // ...\n *   }\n *   // Define function dependencies\n *   MyController['$inject'] = ['$scope', '$route'];\n *\n *   // Then\n *   expect(injector.annotate(MyController)).toEqual(['$scope', '$route']);\n * ```\n *\n * # The array notation\n *\n * It is often desirable to inline Injected functions and that's when setting the `$inject` property\n * is very inconvenient. In these situations using the array notation to specify the dependencies in\n * a way that survives minification is a better choice:\n *\n * ```js\n *   // We wish to write this (not minification / obfuscation safe)\n *   injector.invoke(function($compile, $rootScope) {\n *     // ...\n *   });\n *\n *   // We are forced to write break inlining\n *   var tmpFn = function(obfuscatedCompile, obfuscatedRootScope) {\n *     // ...\n *   };\n *   tmpFn.$inject = ['$compile', '$rootScope'];\n *   injector.invoke(tmpFn);\n *\n *   // To better support inline function the inline annotation is supported\n *   injector.invoke(['$compile', '$rootScope', function(obfCompile, obfRootScope) {\n *     // ...\n *   }]);\n *\n *   // Therefore\n *   expect(injector.annotate(\n *      ['$compile', '$rootScope', function(obfus_$compile, obfus_$rootScope) {}])\n *    ).toEqual(['$compile', '$rootScope']);\n * ```\n *\n * @param {Function|Array.<string|Function>} fn Function for which dependent service names need to\n * be retrieved as described above.\n *\n * @param {boolean=} [strictDi=false] Disallow argument name annotation inference.\n *\n * @returns {Array.<string>} The names of the services which the function requires.\n */\n\n\n\n\n/**\n * @ngdoc service\n * @name $provide\n *\n * @description\n *\n * The {@link auto.$provide $provide} service has a number of methods for registering components\n * with the {@link auto.$injector $injector}. Many of these functions are also exposed on\n * {@link angular.Module}.\n *\n * An Angular **service** is a singleton object created by a **service factory**.  These **service\n * factories** are functions which, in turn, are created by a **service provider**.\n * The **service providers** are constructor functions. When instantiated they must contain a\n * property called `$get`, which holds the **service factory** function.\n *\n * When you request a service, the {@link auto.$injector $injector} is responsible for finding the\n * correct **service provider**, instantiating it and then calling its `$get` **service factory**\n * function to get the instance of the **service**.\n *\n * Often services have no configuration options and there is no need to add methods to the service\n * provider.  The provider will be no more than a constructor function with a `$get` property. For\n * these cases the {@link auto.$provide $provide} service has additional helper methods to register\n * services without specifying a provider.\n *\n * * {@link auto.$provide#provider provider(provider)} - registers a **service provider** with the\n *     {@link auto.$injector $injector}\n * * {@link auto.$provide#constant constant(obj)} - registers a value/object that can be accessed by\n *     providers and services.\n * * {@link auto.$provide#value value(obj)} - registers a value/object that can only be accessed by\n *     services, not providers.\n * * {@link auto.$provide#factory factory(fn)} - registers a service **factory function**, `fn`,\n *     that will be wrapped in a **service provider** object, whose `$get` property will contain the\n *     given factory function.\n * * {@link auto.$provide#service service(class)} - registers a **constructor function**, `class`\n *     that will be wrapped in a **service provider** object, whose `$get` property will instantiate\n *      a new object using the given constructor function.\n *\n * See the individual methods for more information and examples.\n */\n\n/**\n * @ngdoc method\n * @name $provide#provider\n * @description\n *\n * Register a **provider function** with the {@link auto.$injector $injector}. Provider functions\n * are constructor functions, whose instances are responsible for \"providing\" a factory for a\n * service.\n *\n * Service provider names start with the name of the service they provide followed by `Provider`.\n * For example, the {@link ng.$log $log} service has a provider called\n * {@link ng.$logProvider $logProvider}.\n *\n * Service provider objects can have additional methods which allow configuration of the provider\n * and its service. Importantly, you can configure what kind of service is created by the `$get`\n * method, or how that service will act. For example, the {@link ng.$logProvider $logProvider} has a\n * method {@link ng.$logProvider#debugEnabled debugEnabled}\n * which lets you specify whether the {@link ng.$log $log} service will log debug messages to the\n * console or not.\n *\n * @param {string} name The name of the instance. NOTE: the provider will be available under `name +\n                        'Provider'` key.\n * @param {(Object|function())} provider If the provider is:\n *\n *   - `Object`: then it should have a `$get` method. The `$get` method will be invoked using\n *     {@link auto.$injector#invoke $injector.invoke()} when an instance needs to be created.\n *   - `Constructor`: a new instance of the provider will be created using\n *     {@link auto.$injector#instantiate $injector.instantiate()}, then treated as `object`.\n *\n * @returns {Object} registered provider instance\n\n * @example\n *\n * The following example shows how to create a simple event tracking service and register it using\n * {@link auto.$provide#provider $provide.provider()}.\n *\n * ```js\n *  // Define the eventTracker provider\n *  function EventTrackerProvider() {\n *    var trackingUrl = '/track';\n *\n *    // A provider method for configuring where the tracked events should been saved\n *    this.setTrackingUrl = function(url) {\n *      trackingUrl = url;\n *    };\n *\n *    // The service factory function\n *    this.$get = ['$http', function($http) {\n *      var trackedEvents = {};\n *      return {\n *        // Call this to track an event\n *        event: function(event) {\n *          var count = trackedEvents[event] || 0;\n *          count += 1;\n *          trackedEvents[event] = count;\n *          return count;\n *        },\n *        // Call this to save the tracked events to the trackingUrl\n *        save: function() {\n *          $http.post(trackingUrl, trackedEvents);\n *        }\n *      };\n *    }];\n *  }\n *\n *  describe('eventTracker', function() {\n *    var postSpy;\n *\n *    beforeEach(module(function($provide) {\n *      // Register the eventTracker provider\n *      $provide.provider('eventTracker', EventTrackerProvider);\n *    }));\n *\n *    beforeEach(module(function(eventTrackerProvider) {\n *      // Configure eventTracker provider\n *      eventTrackerProvider.setTrackingUrl('/custom-track');\n *    }));\n *\n *    it('tracks events', inject(function(eventTracker) {\n *      expect(eventTracker.event('login')).toEqual(1);\n *      expect(eventTracker.event('login')).toEqual(2);\n *    }));\n *\n *    it('saves to the tracking url', inject(function(eventTracker, $http) {\n *      postSpy = spyOn($http, 'post');\n *      eventTracker.event('login');\n *      eventTracker.save();\n *      expect(postSpy).toHaveBeenCalled();\n *      expect(postSpy.mostRecentCall.args[0]).not.toEqual('/track');\n *      expect(postSpy.mostRecentCall.args[0]).toEqual('/custom-track');\n *      expect(postSpy.mostRecentCall.args[1]).toEqual({ 'login': 1 });\n *    }));\n *  });\n * ```\n */\n\n/**\n * @ngdoc method\n * @name $provide#factory\n * @description\n *\n * Register a **service factory**, which will be called to return the service instance.\n * This is short for registering a service where its provider consists of only a `$get` property,\n * which is the given service factory function.\n * You should use {@link auto.$provide#factory $provide.factory(getFn)} if you do not need to\n * configure your service in a provider.\n *\n * @param {string} name The name of the instance.\n * @param {Function|Array.<string|Function>} $getFn The injectable $getFn for the instance creation.\n *                      Internally this is a short hand for `$provide.provider(name, {$get: $getFn})`.\n * @returns {Object} registered provider instance\n *\n * @example\n * Here is an example of registering a service\n * ```js\n *   $provide.factory('ping', ['$http', function($http) {\n *     return function ping() {\n *       return $http.send('/ping');\n *     };\n *   }]);\n * ```\n * You would then inject and use this service like this:\n * ```js\n *   someModule.controller('Ctrl', ['ping', function(ping) {\n *     ping();\n *   }]);\n * ```\n */\n\n\n/**\n * @ngdoc method\n * @name $provide#service\n * @description\n *\n * Register a **service constructor**, which will be invoked with `new` to create the service\n * instance.\n * This is short for registering a service where its provider's `$get` property is the service\n * constructor function that will be used to instantiate the service instance.\n *\n * You should use {@link auto.$provide#service $provide.service(class)} if you define your service\n * as a type/class.\n *\n * @param {string} name The name of the instance.\n * @param {Function|Array.<string|Function>} constructor An injectable class (constructor function)\n *     that will be instantiated.\n * @returns {Object} registered provider instance\n *\n * @example\n * Here is an example of registering a service using\n * {@link auto.$provide#service $provide.service(class)}.\n * ```js\n *   var Ping = function($http) {\n *     this.$http = $http;\n *   };\n *\n *   Ping.$inject = ['$http'];\n *\n *   Ping.prototype.send = function() {\n *     return this.$http.get('/ping');\n *   };\n *   $provide.service('ping', Ping);\n * ```\n * You would then inject and use this service like this:\n * ```js\n *   someModule.controller('Ctrl', ['ping', function(ping) {\n *     ping.send();\n *   }]);\n * ```\n */\n\n\n/**\n * @ngdoc method\n * @name $provide#value\n * @description\n *\n * Register a **value service** with the {@link auto.$injector $injector}, such as a string, a\n * number, an array, an object or a function.  This is short for registering a service where its\n * provider's `$get` property is a factory function that takes no arguments and returns the **value\n * service**.\n *\n * Value services are similar to constant services, except that they cannot be injected into a\n * module configuration function (see {@link angular.Module#config}) but they can be overridden by\n * an Angular\n * {@link auto.$provide#decorator decorator}.\n *\n * @param {string} name The name of the instance.\n * @param {*} value The value.\n * @returns {Object} registered provider instance\n *\n * @example\n * Here are some examples of creating value services.\n * ```js\n *   $provide.value('ADMIN_USER', 'admin');\n *\n *   $provide.value('RoleLookup', { admin: 0, writer: 1, reader: 2 });\n *\n *   $provide.value('halfOf', function(value) {\n *     return value / 2;\n *   });\n * ```\n */\n\n\n/**\n * @ngdoc method\n * @name $provide#constant\n * @description\n *\n * Register a **constant service**, such as a string, a number, an array, an object or a function,\n * with the {@link auto.$injector $injector}. Unlike {@link auto.$provide#value value} it can be\n * injected into a module configuration function (see {@link angular.Module#config}) and it cannot\n * be overridden by an Angular {@link auto.$provide#decorator decorator}.\n *\n * @param {string} name The name of the constant.\n * @param {*} value The constant value.\n * @returns {Object} registered instance\n *\n * @example\n * Here a some examples of creating constants:\n * ```js\n *   $provide.constant('SHARD_HEIGHT', 306);\n *\n *   $provide.constant('MY_COLOURS', ['red', 'blue', 'grey']);\n *\n *   $provide.constant('double', function(value) {\n *     return value * 2;\n *   });\n * ```\n */\n\n\n/**\n * @ngdoc method\n * @name $provide#decorator\n * @description\n *\n * Register a **service decorator** with the {@link auto.$injector $injector}. A service decorator\n * intercepts the creation of a service, allowing it to override or modify the behaviour of the\n * service. The object returned by the decorator may be the original service, or a new service\n * object which replaces or wraps and delegates to the original service.\n *\n * @param {string} name The name of the service to decorate.\n * @param {Function|Array.<string|Function>} decorator This function will be invoked when the service needs to be\n *    instantiated and should return the decorated service instance. The function is called using\n *    the {@link auto.$injector#invoke injector.invoke} method and is therefore fully injectable.\n *    Local injection arguments:\n *\n *    * `$delegate` - The original service instance, which can be monkey patched, configured,\n *      decorated or delegated to.\n *\n * @example\n * Here we decorate the {@link ng.$log $log} service to convert warnings to errors by intercepting\n * calls to {@link ng.$log#error $log.warn()}.\n * ```js\n *   $provide.decorator('$log', ['$delegate', function($delegate) {\n *     $delegate.warn = $delegate.error;\n *     return $delegate;\n *   }]);\n * ```\n */\n\n\nfunction createInjector(modulesToLoad, strictDi) {\n  strictDi = (strictDi === true);\n  var INSTANTIATING = {},\n      providerSuffix = 'Provider',\n      path = [],\n      loadedModules = new HashMap([], true),\n      providerCache = {\n        $provide: {\n            provider: supportObject(provider),\n            factory: supportObject(factory),\n            service: supportObject(service),\n            value: supportObject(value),\n            constant: supportObject(constant),\n            decorator: decorator\n          }\n      },\n      providerInjector = (providerCache.$injector =\n          createInternalInjector(providerCache, function(serviceName, caller) {\n            if (angular.isString(caller)) {\n              path.push(caller);\n            }\n            throw $injectorMinErr('unpr', \"Unknown provider: {0}\", path.join(' <- '));\n          })),\n      instanceCache = {},\n      instanceInjector = (instanceCache.$injector =\n          createInternalInjector(instanceCache, function(serviceName, caller) {\n            var provider = providerInjector.get(serviceName + providerSuffix, caller);\n            return instanceInjector.invoke(provider.$get, provider, undefined, serviceName);\n          }));\n\n\n  forEach(loadModules(modulesToLoad), function(fn) { if (fn) instanceInjector.invoke(fn); });\n\n  return instanceInjector;\n\n  ////////////////////////////////////\n  // $provider\n  ////////////////////////////////////\n\n  function supportObject(delegate) {\n    return function(key, value) {\n      if (isObject(key)) {\n        forEach(key, reverseParams(delegate));\n      } else {\n        return delegate(key, value);\n      }\n    };\n  }\n\n  function provider(name, provider_) {\n    assertNotHasOwnProperty(name, 'service');\n    if (isFunction(provider_) || isArray(provider_)) {\n      provider_ = providerInjector.instantiate(provider_);\n    }\n    if (!provider_.$get) {\n      throw $injectorMinErr('pget', \"Provider '{0}' must define $get factory method.\", name);\n    }\n    return providerCache[name + providerSuffix] = provider_;\n  }\n\n  function enforceReturnValue(name, factory) {\n    return function enforcedReturnValue() {\n      var result = instanceInjector.invoke(factory, this);\n      if (isUndefined(result)) {\n        throw $injectorMinErr('undef', \"Provider '{0}' must return a value from $get factory method.\", name);\n      }\n      return result;\n    };\n  }\n\n  function factory(name, factoryFn, enforce) {\n    return provider(name, {\n      $get: enforce !== false ? enforceReturnValue(name, factoryFn) : factoryFn\n    });\n  }\n\n  function service(name, constructor) {\n    return factory(name, ['$injector', function($injector) {\n      return $injector.instantiate(constructor);\n    }]);\n  }\n\n  function value(name, val) { return factory(name, valueFn(val), false); }\n\n  function constant(name, value) {\n    assertNotHasOwnProperty(name, 'constant');\n    providerCache[name] = value;\n    instanceCache[name] = value;\n  }\n\n  function decorator(serviceName, decorFn) {\n    var origProvider = providerInjector.get(serviceName + providerSuffix),\n        orig$get = origProvider.$get;\n\n    origProvider.$get = function() {\n      var origInstance = instanceInjector.invoke(orig$get, origProvider);\n      return instanceInjector.invoke(decorFn, null, {$delegate: origInstance});\n    };\n  }\n\n  ////////////////////////////////////\n  // Module Loading\n  ////////////////////////////////////\n  function loadModules(modulesToLoad) {\n    assertArg(isUndefined(modulesToLoad) || isArray(modulesToLoad), 'modulesToLoad', 'not an array');\n    var runBlocks = [], moduleFn;\n    forEach(modulesToLoad, function(module) {\n      if (loadedModules.get(module)) return;\n      loadedModules.put(module, true);\n\n      function runInvokeQueue(queue) {\n        var i, ii;\n        for (i = 0, ii = queue.length; i < ii; i++) {\n          var invokeArgs = queue[i],\n              provider = providerInjector.get(invokeArgs[0]);\n\n          provider[invokeArgs[1]].apply(provider, invokeArgs[2]);\n        }\n      }\n\n      try {\n        if (isString(module)) {\n          moduleFn = angularModule(module);\n          runBlocks = runBlocks.concat(loadModules(moduleFn.requires)).concat(moduleFn._runBlocks);\n          runInvokeQueue(moduleFn._invokeQueue);\n          runInvokeQueue(moduleFn._configBlocks);\n        } else if (isFunction(module)) {\n            runBlocks.push(providerInjector.invoke(module));\n        } else if (isArray(module)) {\n            runBlocks.push(providerInjector.invoke(module));\n        } else {\n          assertArgFn(module, 'module');\n        }\n      } catch (e) {\n        if (isArray(module)) {\n          module = module[module.length - 1];\n        }\n        if (e.message && e.stack && e.stack.indexOf(e.message) == -1) {\n          // Safari & FF's stack traces don't contain error.message content\n          // unlike those of Chrome and IE\n          // So if stack doesn't contain message, we create a new string that contains both.\n          // Since error.stack is read-only in Safari, I'm overriding e and not e.stack here.\n          /* jshint -W022 */\n          e = e.message + '\\n' + e.stack;\n        }\n        throw $injectorMinErr('modulerr', \"Failed to instantiate module {0} due to:\\n{1}\",\n                  module, e.stack || e.message || e);\n      }\n    });\n    return runBlocks;\n  }\n\n  ////////////////////////////////////\n  // internal Injector\n  ////////////////////////////////////\n\n  function createInternalInjector(cache, factory) {\n\n    function getService(serviceName, caller) {\n      if (cache.hasOwnProperty(serviceName)) {\n        if (cache[serviceName] === INSTANTIATING) {\n          throw $injectorMinErr('cdep', 'Circular dependency found: {0}',\n                    serviceName + ' <- ' + path.join(' <- '));\n        }\n        return cache[serviceName];\n      } else {\n        try {\n          path.unshift(serviceName);\n          cache[serviceName] = INSTANTIATING;\n          return cache[serviceName] = factory(serviceName, caller);\n        } catch (err) {\n          if (cache[serviceName] === INSTANTIATING) {\n            delete cache[serviceName];\n          }\n          throw err;\n        } finally {\n          path.shift();\n        }\n      }\n    }\n\n    function invoke(fn, self, locals, serviceName) {\n      if (typeof locals === 'string') {\n        serviceName = locals;\n        locals = null;\n      }\n\n      var args = [],\n          $inject = createInjector.$$annotate(fn, strictDi, serviceName),\n          length, i,\n          key;\n\n      for (i = 0, length = $inject.length; i < length; i++) {\n        key = $inject[i];\n        if (typeof key !== 'string') {\n          throw $injectorMinErr('itkn',\n                  'Incorrect injection token! Expected service name as string, got {0}', key);\n        }\n        args.push(\n          locals && locals.hasOwnProperty(key)\n          ? locals[key]\n          : getService(key, serviceName)\n        );\n      }\n      if (isArray(fn)) {\n        fn = fn[length];\n      }\n\n      // http://jsperf.com/angularjs-invoke-apply-vs-switch\n      // #5388\n      return fn.apply(self, args);\n    }\n\n    function instantiate(Type, locals, serviceName) {\n      // Check if Type is annotated and use just the given function at n-1 as parameter\n      // e.g. someModule.factory('greeter', ['$window', function(renamed$window) {}]);\n      // Object creation: http://jsperf.com/create-constructor/2\n      var instance = Object.create((isArray(Type) ? Type[Type.length - 1] : Type).prototype || null);\n      var returnedValue = invoke(Type, instance, locals, serviceName);\n\n      return isObject(returnedValue) || isFunction(returnedValue) ? returnedValue : instance;\n    }\n\n    return {\n      invoke: invoke,\n      instantiate: instantiate,\n      get: getService,\n      annotate: createInjector.$$annotate,\n      has: function(name) {\n        return providerCache.hasOwnProperty(name + providerSuffix) || cache.hasOwnProperty(name);\n      }\n    };\n  }\n}\n\ncreateInjector.$$annotate = annotate;\n\n/**\n * @ngdoc provider\n * @name $anchorScrollProvider\n *\n * @description\n * Use `$anchorScrollProvider` to disable automatic scrolling whenever\n * {@link ng.$location#hash $location.hash()} changes.\n */\nfunction $AnchorScrollProvider() {\n\n  var autoScrollingEnabled = true;\n\n  /**\n   * @ngdoc method\n   * @name $anchorScrollProvider#disableAutoScrolling\n   *\n   * @description\n   * By default, {@link ng.$anchorScroll $anchorScroll()} will automatically detect changes to\n   * {@link ng.$location#hash $location.hash()} and scroll to the element matching the new hash.<br />\n   * Use this method to disable automatic scrolling.\n   *\n   * If automatic scrolling is disabled, one must explicitly call\n   * {@link ng.$anchorScroll $anchorScroll()} in order to scroll to the element related to the\n   * current hash.\n   */\n  this.disableAutoScrolling = function() {\n    autoScrollingEnabled = false;\n  };\n\n  /**\n   * @ngdoc service\n   * @name $anchorScroll\n   * @kind function\n   * @requires $window\n   * @requires $location\n   * @requires $rootScope\n   *\n   * @description\n   * When called, it scrolls to the element related to the specified `hash` or (if omitted) to the\n   * current value of {@link ng.$location#hash $location.hash()}, according to the rules specified\n   * in the\n   * [HTML5 spec](http://www.w3.org/html/wg/drafts/html/master/browsers.html#the-indicated-part-of-the-document).\n   *\n   * It also watches the {@link ng.$location#hash $location.hash()} and automatically scrolls to\n   * match any anchor whenever it changes. This can be disabled by calling\n   * {@link ng.$anchorScrollProvider#disableAutoScrolling $anchorScrollProvider.disableAutoScrolling()}.\n   *\n   * Additionally, you can use its {@link ng.$anchorScroll#yOffset yOffset} property to specify a\n   * vertical scroll-offset (either fixed or dynamic).\n   *\n   * @param {string=} hash The hash specifying the element to scroll to. If omitted, the value of\n   *                       {@link ng.$location#hash $location.hash()} will be used.\n   *\n   * @property {(number|function|jqLite)} yOffset\n   * If set, specifies a vertical scroll-offset. This is often useful when there are fixed\n   * positioned elements at the top of the page, such as navbars, headers etc.\n   *\n   * `yOffset` can be specified in various ways:\n   * - **number**: A fixed number of pixels to be used as offset.<br /><br />\n   * - **function**: A getter function called everytime `$anchorScroll()` is executed. Must return\n   *   a number representing the offset (in pixels).<br /><br />\n   * - **jqLite**: A jqLite/jQuery element to be used for specifying the offset. The distance from\n   *   the top of the page to the element's bottom will be used as offset.<br />\n   *   **Note**: The element will be taken into account only as long as its `position` is set to\n   *   `fixed`. This option is useful, when dealing with responsive navbars/headers that adjust\n   *   their height and/or positioning according to the viewport's size.\n   *\n   * <br />\n   * <div class=\"alert alert-warning\">\n   * In order for `yOffset` to work properly, scrolling should take place on the document's root and\n   * not some child element.\n   * </div>\n   *\n   * @example\n     <example module=\"anchorScrollExample\">\n       <file name=\"index.html\">\n         <div id=\"scrollArea\" ng-controller=\"ScrollController\">\n           <a ng-click=\"gotoBottom()\">Go to bottom</a>\n           <a id=\"bottom\"></a> You're at the bottom!\n         </div>\n       </file>\n       <file name=\"script.js\">\n         angular.module('anchorScrollExample', [])\n           .controller('ScrollController', ['$scope', '$location', '$anchorScroll',\n             function ($scope, $location, $anchorScroll) {\n               $scope.gotoBottom = function() {\n                 // set the location.hash to the id of\n                 // the element you wish to scroll to.\n                 $location.hash('bottom');\n\n                 // call $anchorScroll()\n                 $anchorScroll();\n               };\n             }]);\n       </file>\n       <file name=\"style.css\">\n         #scrollArea {\n           height: 280px;\n           overflow: auto;\n         }\n\n         #bottom {\n           display: block;\n           margin-top: 2000px;\n         }\n       </file>\n     </example>\n   *\n   * <hr />\n   * The example below illustrates the use of a vertical scroll-offset (specified as a fixed value).\n   * See {@link ng.$anchorScroll#yOffset $anchorScroll.yOffset} for more details.\n   *\n   * @example\n     <example module=\"anchorScrollOffsetExample\">\n       <file name=\"index.html\">\n         <div class=\"fixed-header\" ng-controller=\"headerCtrl\">\n           <a href=\"\" ng-click=\"gotoAnchor(x)\" ng-repeat=\"x in [1,2,3,4,5]\">\n             Go to anchor {{x}}\n           </a>\n         </div>\n         <div id=\"anchor{{x}}\" class=\"anchor\" ng-repeat=\"x in [1,2,3,4,5]\">\n           Anchor {{x}} of 5\n         </div>\n       </file>\n       <file name=\"script.js\">\n         angular.module('anchorScrollOffsetExample', [])\n           .run(['$anchorScroll', function($anchorScroll) {\n             $anchorScroll.yOffset = 50;   // always scroll by 50 extra pixels\n           }])\n           .controller('headerCtrl', ['$anchorScroll', '$location', '$scope',\n             function ($anchorScroll, $location, $scope) {\n               $scope.gotoAnchor = function(x) {\n                 var newHash = 'anchor' + x;\n                 if ($location.hash() !== newHash) {\n                   // set the $location.hash to `newHash` and\n                   // $anchorScroll will automatically scroll to it\n                   $location.hash('anchor' + x);\n                 } else {\n                   // call $anchorScroll() explicitly,\n                   // since $location.hash hasn't changed\n                   $anchorScroll();\n                 }\n               };\n             }\n           ]);\n       </file>\n       <file name=\"style.css\">\n         body {\n           padding-top: 50px;\n         }\n\n         .anchor {\n           border: 2px dashed DarkOrchid;\n           padding: 10px 10px 200px 10px;\n         }\n\n         .fixed-header {\n           background-color: rgba(0, 0, 0, 0.2);\n           height: 50px;\n           position: fixed;\n           top: 0; left: 0; right: 0;\n         }\n\n         .fixed-header > a {\n           display: inline-block;\n           margin: 5px 15px;\n         }\n       </file>\n     </example>\n   */\n  this.$get = ['$window', '$location', '$rootScope', function($window, $location, $rootScope) {\n    var document = $window.document;\n\n    // Helper function to get first anchor from a NodeList\n    // (using `Array#some()` instead of `angular#forEach()` since it's more performant\n    //  and working in all supported browsers.)\n    function getFirstAnchor(list) {\n      var result = null;\n      Array.prototype.some.call(list, function(element) {\n        if (nodeName_(element) === 'a') {\n          result = element;\n          return true;\n        }\n      });\n      return result;\n    }\n\n    function getYOffset() {\n\n      var offset = scroll.yOffset;\n\n      if (isFunction(offset)) {\n        offset = offset();\n      } else if (isElement(offset)) {\n        var elem = offset[0];\n        var style = $window.getComputedStyle(elem);\n        if (style.position !== 'fixed') {\n          offset = 0;\n        } else {\n          offset = elem.getBoundingClientRect().bottom;\n        }\n      } else if (!isNumber(offset)) {\n        offset = 0;\n      }\n\n      return offset;\n    }\n\n    function scrollTo(elem) {\n      if (elem) {\n        elem.scrollIntoView();\n\n        var offset = getYOffset();\n\n        if (offset) {\n          // `offset` is the number of pixels we should scroll UP in order to align `elem` properly.\n          // This is true ONLY if the call to `elem.scrollIntoView()` initially aligns `elem` at the\n          // top of the viewport.\n          //\n          // IF the number of pixels from the top of `elem` to the end of the page's content is less\n          // than the height of the viewport, then `elem.scrollIntoView()` will align the `elem` some\n          // way down the page.\n          //\n          // This is often the case for elements near the bottom of the page.\n          //\n          // In such cases we do not need to scroll the whole `offset` up, just the difference between\n          // the top of the element and the offset, which is enough to align the top of `elem` at the\n          // desired position.\n          var elemTop = elem.getBoundingClientRect().top;\n          $window.scrollBy(0, elemTop - offset);\n        }\n      } else {\n        $window.scrollTo(0, 0);\n      }\n    }\n\n    function scroll(hash) {\n      hash = isString(hash) ? hash : $location.hash();\n      var elm;\n\n      // empty hash, scroll to the top of the page\n      if (!hash) scrollTo(null);\n\n      // element with given id\n      else if ((elm = document.getElementById(hash))) scrollTo(elm);\n\n      // first anchor with given name :-D\n      else if ((elm = getFirstAnchor(document.getElementsByName(hash)))) scrollTo(elm);\n\n      // no element and hash == 'top', scroll to the top of the page\n      else if (hash === 'top') scrollTo(null);\n    }\n\n    // does not scroll when user clicks on anchor link that is currently on\n    // (no url change, no $location.hash() change), browser native does scroll\n    if (autoScrollingEnabled) {\n      $rootScope.$watch(function autoScrollWatch() {return $location.hash();},\n        function autoScrollWatchAction(newVal, oldVal) {\n          // skip the initial scroll if $location.hash is empty\n          if (newVal === oldVal && newVal === '') return;\n\n          jqLiteDocumentLoaded(function() {\n            $rootScope.$evalAsync(scroll);\n          });\n        });\n    }\n\n    return scroll;\n  }];\n}\n\nvar $animateMinErr = minErr('$animate');\nvar ELEMENT_NODE = 1;\nvar NG_ANIMATE_CLASSNAME = 'ng-animate';\n\nfunction mergeClasses(a,b) {\n  if (!a && !b) return '';\n  if (!a) return b;\n  if (!b) return a;\n  if (isArray(a)) a = a.join(' ');\n  if (isArray(b)) b = b.join(' ');\n  return a + ' ' + b;\n}\n\nfunction extractElementNode(element) {\n  for (var i = 0; i < element.length; i++) {\n    var elm = element[i];\n    if (elm.nodeType === ELEMENT_NODE) {\n      return elm;\n    }\n  }\n}\n\nfunction splitClasses(classes) {\n  if (isString(classes)) {\n    classes = classes.split(' ');\n  }\n\n  // Use createMap() to prevent class assumptions involving property names in\n  // Object.prototype\n  var obj = createMap();\n  forEach(classes, function(klass) {\n    // sometimes the split leaves empty string values\n    // incase extra spaces were applied to the options\n    if (klass.length) {\n      obj[klass] = true;\n    }\n  });\n  return obj;\n}\n\n// if any other type of options value besides an Object value is\n// passed into the $animate.method() animation then this helper code\n// will be run which will ignore it. While this patch is not the\n// greatest solution to this, a lot of existing plugins depend on\n// $animate to either call the callback (< 1.2) or return a promise\n// that can be changed. This helper function ensures that the options\n// are wiped clean incase a callback function is provided.\nfunction prepareAnimateOptions(options) {\n  return isObject(options)\n      ? options\n      : {};\n}\n\nvar $$CoreAnimateRunnerProvider = function() {\n  this.$get = ['$q', '$$rAF', function($q, $$rAF) {\n    function AnimateRunner() {}\n    AnimateRunner.all = noop;\n    AnimateRunner.chain = noop;\n    AnimateRunner.prototype = {\n      end: noop,\n      cancel: noop,\n      resume: noop,\n      pause: noop,\n      complete: noop,\n      then: function(pass, fail) {\n        return $q(function(resolve) {\n          $$rAF(function() {\n            resolve();\n          });\n        }).then(pass, fail);\n      }\n    };\n    return AnimateRunner;\n  }];\n};\n\n// this is prefixed with Core since it conflicts with\n// the animateQueueProvider defined in ngAnimate/animateQueue.js\nvar $$CoreAnimateQueueProvider = function() {\n  var postDigestQueue = new HashMap();\n  var postDigestElements = [];\n\n  this.$get = ['$$AnimateRunner', '$rootScope',\n       function($$AnimateRunner,   $rootScope) {\n    return {\n      enabled: noop,\n      on: noop,\n      off: noop,\n      pin: noop,\n\n      push: function(element, event, options, domOperation) {\n        domOperation        && domOperation();\n\n        options = options || {};\n        options.from        && element.css(options.from);\n        options.to          && element.css(options.to);\n\n        if (options.addClass || options.removeClass) {\n          addRemoveClassesPostDigest(element, options.addClass, options.removeClass);\n        }\n\n        return new $$AnimateRunner(); // jshint ignore:line\n      }\n    };\n\n\n    function updateData(data, classes, value) {\n      var changed = false;\n      if (classes) {\n        classes = isString(classes) ? classes.split(' ') :\n                  isArray(classes) ? classes : [];\n        forEach(classes, function(className) {\n          if (className) {\n            changed = true;\n            data[className] = value;\n          }\n        });\n      }\n      return changed;\n    }\n\n    function handleCSSClassChanges() {\n      forEach(postDigestElements, function(element) {\n        var data = postDigestQueue.get(element);\n        if (data) {\n          var existing = splitClasses(element.attr('class'));\n          var toAdd = '';\n          var toRemove = '';\n          forEach(data, function(status, className) {\n            var hasClass = !!existing[className];\n            if (status !== hasClass) {\n              if (status) {\n                toAdd += (toAdd.length ? ' ' : '') + className;\n              } else {\n                toRemove += (toRemove.length ? ' ' : '') + className;\n              }\n            }\n          });\n\n          forEach(element, function(elm) {\n            toAdd    && jqLiteAddClass(elm, toAdd);\n            toRemove && jqLiteRemoveClass(elm, toRemove);\n          });\n          postDigestQueue.remove(element);\n        }\n      });\n      postDigestElements.length = 0;\n    }\n\n\n    function addRemoveClassesPostDigest(element, add, remove) {\n      var data = postDigestQueue.get(element) || {};\n\n      var classesAdded = updateData(data, add, true);\n      var classesRemoved = updateData(data, remove, false);\n\n      if (classesAdded || classesRemoved) {\n\n        postDigestQueue.put(element, data);\n        postDigestElements.push(element);\n\n        if (postDigestElements.length === 1) {\n          $rootScope.$$postDigest(handleCSSClassChanges);\n        }\n      }\n    }\n  }];\n};\n\n/**\n * @ngdoc provider\n * @name $animateProvider\n *\n * @description\n * Default implementation of $animate that doesn't perform any animations, instead just\n * synchronously performs DOM updates and resolves the returned runner promise.\n *\n * In order to enable animations the `ngAnimate` module has to be loaded.\n *\n * To see the functional implementation check out `src/ngAnimate/animate.js`.\n */\nvar $AnimateProvider = ['$provide', function($provide) {\n  var provider = this;\n\n  this.$$registeredAnimations = Object.create(null);\n\n   /**\n   * @ngdoc method\n   * @name $animateProvider#register\n   *\n   * @description\n   * Registers a new injectable animation factory function. The factory function produces the\n   * animation object which contains callback functions for each event that is expected to be\n   * animated.\n   *\n   *   * `eventFn`: `function(element, ... , doneFunction, options)`\n   *   The element to animate, the `doneFunction` and the options fed into the animation. Depending\n   *   on the type of animation additional arguments will be injected into the animation function. The\n   *   list below explains the function signatures for the different animation methods:\n   *\n   *   - setClass: function(element, addedClasses, removedClasses, doneFunction, options)\n   *   - addClass: function(element, addedClasses, doneFunction, options)\n   *   - removeClass: function(element, removedClasses, doneFunction, options)\n   *   - enter, leave, move: function(element, doneFunction, options)\n   *   - animate: function(element, fromStyles, toStyles, doneFunction, options)\n   *\n   *   Make sure to trigger the `doneFunction` once the animation is fully complete.\n   *\n   * ```js\n   *   return {\n   *     //enter, leave, move signature\n   *     eventFn : function(element, done, options) {\n   *       //code to run the animation\n   *       //once complete, then run done()\n   *       return function endFunction(wasCancelled) {\n   *         //code to cancel the animation\n   *       }\n   *     }\n   *   }\n   * ```\n   *\n   * @param {string} name The name of the animation (this is what the class-based CSS value will be compared to).\n   * @param {Function} factory The factory function that will be executed to return the animation\n   *                           object.\n   */\n  this.register = function(name, factory) {\n    if (name && name.charAt(0) !== '.') {\n      throw $animateMinErr('notcsel', \"Expecting class selector starting with '.' got '{0}'.\", name);\n    }\n\n    var key = name + '-animation';\n    provider.$$registeredAnimations[name.substr(1)] = key;\n    $provide.factory(key, factory);\n  };\n\n  /**\n   * @ngdoc method\n   * @name $animateProvider#classNameFilter\n   *\n   * @description\n   * Sets and/or returns the CSS class regular expression that is checked when performing\n   * an animation. Upon bootstrap the classNameFilter value is not set at all and will\n   * therefore enable $animate to attempt to perform an animation on any element that is triggered.\n   * When setting the `classNameFilter` value, animations will only be performed on elements\n   * that successfully match the filter expression. This in turn can boost performance\n   * for low-powered devices as well as applications containing a lot of structural operations.\n   * @param {RegExp=} expression The className expression which will be checked against all animations\n   * @return {RegExp} The current CSS className expression value. If null then there is no expression value\n   */\n  this.classNameFilter = function(expression) {\n    if (arguments.length === 1) {\n      this.$$classNameFilter = (expression instanceof RegExp) ? expression : null;\n      if (this.$$classNameFilter) {\n        var reservedRegex = new RegExp(\"(\\\\s+|\\\\/)\" + NG_ANIMATE_CLASSNAME + \"(\\\\s+|\\\\/)\");\n        if (reservedRegex.test(this.$$classNameFilter.toString())) {\n          throw $animateMinErr('nongcls','$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the \"{0}\" CSS class.', NG_ANIMATE_CLASSNAME);\n\n        }\n      }\n    }\n    return this.$$classNameFilter;\n  };\n\n  this.$get = ['$$animateQueue', function($$animateQueue) {\n    function domInsert(element, parentElement, afterElement) {\n      // if for some reason the previous element was removed\n      // from the dom sometime before this code runs then let's\n      // just stick to using the parent element as the anchor\n      if (afterElement) {\n        var afterNode = extractElementNode(afterElement);\n        if (afterNode && !afterNode.parentNode && !afterNode.previousElementSibling) {\n          afterElement = null;\n        }\n      }\n      afterElement ? afterElement.after(element) : parentElement.prepend(element);\n    }\n\n    /**\n     * @ngdoc service\n     * @name $animate\n     * @description The $animate service exposes a series of DOM utility methods that provide support\n     * for animation hooks. The default behavior is the application of DOM operations, however,\n     * when an animation is detected (and animations are enabled), $animate will do the heavy lifting\n     * to ensure that animation runs with the triggered DOM operation.\n     *\n     * By default $animate doesn't trigger any animations. This is because the `ngAnimate` module isn't\n     * included and only when it is active then the animation hooks that `$animate` triggers will be\n     * functional. Once active then all structural `ng-` directives will trigger animations as they perform\n     * their DOM-related operations (enter, leave and move). Other directives such as `ngClass`,\n     * `ngShow`, `ngHide` and `ngMessages` also provide support for animations.\n     *\n     * It is recommended that the`$animate` service is always used when executing DOM-related procedures within directives.\n     *\n     * To learn more about enabling animation support, click here to visit the\n     * {@link ngAnimate ngAnimate module page}.\n     */\n    return {\n      // we don't call it directly since non-existant arguments may\n      // be interpreted as null within the sub enabled function\n\n      /**\n       *\n       * @ngdoc method\n       * @name $animate#on\n       * @kind function\n       * @description Sets up an event listener to fire whenever the animation event (enter, leave, move, etc...)\n       *    has fired on the given element or among any of its children. Once the listener is fired, the provided callback\n       *    is fired with the following params:\n       *\n       * ```js\n       * $animate.on('enter', container,\n       *    function callback(element, phase) {\n       *      // cool we detected an enter animation within the container\n       *    }\n       * );\n       * ```\n       *\n       * @param {string} event the animation event that will be captured (e.g. enter, leave, move, addClass, removeClass, etc...)\n       * @param {DOMElement} container the container element that will capture each of the animation events that are fired on itself\n       *     as well as among its children\n       * @param {Function} callback the callback function that will be fired when the listener is triggered\n       *\n       * The arguments present in the callback function are:\n       * * `element` - The captured DOM element that the animation was fired on.\n       * * `phase` - The phase of the animation. The two possible phases are **start** (when the animation starts) and **close** (when it ends).\n       */\n      on: $$animateQueue.on,\n\n      /**\n       *\n       * @ngdoc method\n       * @name $animate#off\n       * @kind function\n       * @description Deregisters an event listener based on the event which has been associated with the provided element. This method\n       * can be used in three different ways depending on the arguments:\n       *\n       * ```js\n       * // remove all the animation event listeners listening for `enter`\n       * $animate.off('enter');\n       *\n       * // remove all the animation event listeners listening for `enter` on the given element and its children\n       * $animate.off('enter', container);\n       *\n       * // remove the event listener function provided by `listenerFn` that is set\n       * // to listen for `enter` on the given `element` as well as its children\n       * $animate.off('enter', container, callback);\n       * ```\n       *\n       * @param {string} event the animation event (e.g. enter, leave, move, addClass, removeClass, etc...)\n       * @param {DOMElement=} container the container element the event listener was placed on\n       * @param {Function=} callback the callback function that was registered as the listener\n       */\n      off: $$animateQueue.off,\n\n      /**\n       * @ngdoc method\n       * @name $animate#pin\n       * @kind function\n       * @description Associates the provided element with a host parent element to allow the element to be animated even if it exists\n       *    outside of the DOM structure of the Angular application. By doing so, any animation triggered via `$animate` can be issued on the\n       *    element despite being outside the realm of the application or within another application. Say for example if the application\n       *    was bootstrapped on an element that is somewhere inside of the `<body>` tag, but we wanted to allow for an element to be situated\n       *    as a direct child of `document.body`, then this can be achieved by pinning the element via `$animate.pin(element)`. Keep in mind\n       *    that calling `$animate.pin(element, parentElement)` will not actually insert into the DOM anywhere; it will just create the association.\n       *\n       *    Note that this feature is only active when the `ngAnimate` module is used.\n       *\n       * @param {DOMElement} element the external element that will be pinned\n       * @param {DOMElement} parentElement the host parent element that will be associated with the external element\n       */\n      pin: $$animateQueue.pin,\n\n      /**\n       *\n       * @ngdoc method\n       * @name $animate#enabled\n       * @kind function\n       * @description Used to get and set whether animations are enabled or not on the entire application or on an element and its children. This\n       * function can be called in four ways:\n       *\n       * ```js\n       * // returns true or false\n       * $animate.enabled();\n       *\n       * // changes the enabled state for all animations\n       * $animate.enabled(false);\n       * $animate.enabled(true);\n       *\n       * // returns true or false if animations are enabled for an element\n       * $animate.enabled(element);\n       *\n       * // changes the enabled state for an element and its children\n       * $animate.enabled(element, true);\n       * $animate.enabled(element, false);\n       * ```\n       *\n       * @param {DOMElement=} element the element that will be considered for checking/setting the enabled state\n       * @param {boolean=} enabled whether or not the animations will be enabled for the element\n       *\n       * @return {boolean} whether or not animations are enabled\n       */\n      enabled: $$animateQueue.enabled,\n\n      /**\n       * @ngdoc method\n       * @name $animate#cancel\n       * @kind function\n       * @description Cancels the provided animation.\n       *\n       * @param {Promise} animationPromise The animation promise that is returned when an animation is started.\n       */\n      cancel: function(runner) {\n        runner.end && runner.end();\n      },\n\n      /**\n       *\n       * @ngdoc method\n       * @name $animate#enter\n       * @kind function\n       * @description Inserts the element into the DOM either after the `after` element (if provided) or\n       *   as the first child within the `parent` element and then triggers an animation.\n       *   A promise is returned that will be resolved during the next digest once the animation\n       *   has completed.\n       *\n       * @param {DOMElement} element the element which will be inserted into the DOM\n       * @param {DOMElement} parent the parent element which will append the element as\n       *   a child (so long as the after element is not present)\n       * @param {DOMElement=} after the sibling element after which the element will be appended\n       * @param {object=} options an optional collection of options/styles that will be applied to the element\n       *\n       * @return {Promise} the animation callback promise\n       */\n      enter: function(element, parent, after, options) {\n        parent = parent && jqLite(parent);\n        after = after && jqLite(after);\n        parent = parent || after.parent();\n        domInsert(element, parent, after);\n        return $$animateQueue.push(element, 'enter', prepareAnimateOptions(options));\n      },\n\n      /**\n       *\n       * @ngdoc method\n       * @name $animate#move\n       * @kind function\n       * @description Inserts (moves) the element into its new position in the DOM either after\n       *   the `after` element (if provided) or as the first child within the `parent` element\n       *   and then triggers an animation. A promise is returned that will be resolved\n       *   during the next digest once the animation has completed.\n       *\n       * @param {DOMElement} element the element which will be moved into the new DOM position\n       * @param {DOMElement} parent the parent element which will append the element as\n       *   a child (so long as the after element is not present)\n       * @param {DOMElement=} after the sibling element after which the element will be appended\n       * @param {object=} options an optional collection of options/styles that will be applied to the element\n       *\n       * @return {Promise} the animation callback promise\n       */\n      move: function(element, parent, after, options) {\n        parent = parent && jqLite(parent);\n        after = after && jqLite(after);\n        parent = parent || after.parent();\n        domInsert(element, parent, after);\n        return $$animateQueue.push(element, 'move', prepareAnimateOptions(options));\n      },\n\n      /**\n       * @ngdoc method\n       * @name $animate#leave\n       * @kind function\n       * @description Triggers an animation and then removes the element from the DOM.\n       * When the function is called a promise is returned that will be resolved during the next\n       * digest once the animation has completed.\n       *\n       * @param {DOMElement} element the element which will be removed from the DOM\n       * @param {object=} options an optional collection of options/styles that will be applied to the element\n       *\n       * @return {Promise} the animation callback promise\n       */\n      leave: function(element, options) {\n        return $$animateQueue.push(element, 'leave', prepareAnimateOptions(options), function() {\n          element.remove();\n        });\n      },\n\n      /**\n       * @ngdoc method\n       * @name $animate#addClass\n       * @kind function\n       *\n       * @description Triggers an addClass animation surrounding the addition of the provided CSS class(es). Upon\n       *   execution, the addClass operation will only be handled after the next digest and it will not trigger an\n       *   animation if element already contains the CSS class or if the class is removed at a later step.\n       *   Note that class-based animations are treated differently compared to structural animations\n       *   (like enter, move and leave) since the CSS classes may be added/removed at different points\n       *   depending if CSS or JavaScript animations are used.\n       *\n       * @param {DOMElement} element the element which the CSS classes will be applied to\n       * @param {string} className the CSS class(es) that will be added (multiple classes are separated via spaces)\n       * @param {object=} options an optional collection of options/styles that will be applied to the element\n       *\n       * @return {Promise} the animation callback promise\n       */\n      addClass: function(element, className, options) {\n        options = prepareAnimateOptions(options);\n        options.addClass = mergeClasses(options.addclass, className);\n        return $$animateQueue.push(element, 'addClass', options);\n      },\n\n      /**\n       * @ngdoc method\n       * @name $animate#removeClass\n       * @kind function\n       *\n       * @description Triggers a removeClass animation surrounding the removal of the provided CSS class(es). Upon\n       *   execution, the removeClass operation will only be handled after the next digest and it will not trigger an\n       *   animation if element does not contain the CSS class or if the class is added at a later step.\n       *   Note that class-based animations are treated differently compared to structural animations\n       *   (like enter, move and leave) since the CSS classes may be added/removed at different points\n       *   depending if CSS or JavaScript animations are used.\n       *\n       * @param {DOMElement} element the element which the CSS classes will be applied to\n       * @param {string} className the CSS class(es) that will be removed (multiple classes are separated via spaces)\n       * @param {object=} options an optional collection of options/styles that will be applied to the element\n       *\n       * @return {Promise} the animation callback promise\n       */\n      removeClass: function(element, className, options) {\n        options = prepareAnimateOptions(options);\n        options.removeClass = mergeClasses(options.removeClass, className);\n        return $$animateQueue.push(element, 'removeClass', options);\n      },\n\n      /**\n       * @ngdoc method\n       * @name $animate#setClass\n       * @kind function\n       *\n       * @description Performs both the addition and removal of a CSS classes on an element and (during the process)\n       *    triggers an animation surrounding the class addition/removal. Much like `$animate.addClass` and\n       *    `$animate.removeClass`, `setClass` will only evaluate the classes being added/removed once a digest has\n       *    passed. Note that class-based animations are treated differently compared to structural animations\n       *    (like enter, move and leave) since the CSS classes may be added/removed at different points\n       *    depending if CSS or JavaScript animations are used.\n       *\n       * @param {DOMElement} element the element which the CSS classes will be applied to\n       * @param {string} add the CSS class(es) that will be added (multiple classes are separated via spaces)\n       * @param {string} remove the CSS class(es) that will be removed (multiple classes are separated via spaces)\n       * @param {object=} options an optional collection of options/styles that will be applied to the element\n       *\n       * @return {Promise} the animation callback promise\n       */\n      setClass: function(element, add, remove, options) {\n        options = prepareAnimateOptions(options);\n        options.addClass = mergeClasses(options.addClass, add);\n        options.removeClass = mergeClasses(options.removeClass, remove);\n        return $$animateQueue.push(element, 'setClass', options);\n      },\n\n      /**\n       * @ngdoc method\n       * @name $animate#animate\n       * @kind function\n       *\n       * @description Performs an inline animation on the element which applies the provided to and from CSS styles to the element.\n       * If any detected CSS transition, keyframe or JavaScript matches the provided className value then the animation will take\n       * on the provided styles. For example, if a transition animation is set for the given className then the provided from and\n       * to styles will be applied alongside the given transition. If a JavaScript animation is detected then the provided styles\n       * will be given in as function paramters into the `animate` method (or as apart of the `options` parameter).\n       *\n       * @param {DOMElement} element the element which the CSS styles will be applied to\n       * @param {object} from the from (starting) CSS styles that will be applied to the element and across the animation.\n       * @param {object} to the to (destination) CSS styles that will be applied to the element and across the animation.\n       * @param {string=} className an optional CSS class that will be applied to the element for the duration of the animation. If\n       *    this value is left as empty then a CSS class of `ng-inline-animate` will be applied to the element.\n       *    (Note that if no animation is detected then this value will not be appplied to the element.)\n       * @param {object=} options an optional collection of options/styles that will be applied to the element\n       *\n       * @return {Promise} the animation callback promise\n       */\n      animate: function(element, from, to, className, options) {\n        options = prepareAnimateOptions(options);\n        options.from = options.from ? extend(options.from, from) : from;\n        options.to   = options.to   ? extend(options.to, to)     : to;\n\n        className = className || 'ng-inline-animate';\n        options.tempClasses = mergeClasses(options.tempClasses, className);\n        return $$animateQueue.push(element, 'animate', options);\n      }\n    };\n  }];\n}];\n\n/**\n * @ngdoc service\n * @name $animateCss\n * @kind object\n *\n * @description\n * This is the core version of `$animateCss`. By default, only when the `ngAnimate` is included,\n * then the `$animateCss` service will actually perform animations.\n *\n * Click here {@link ngAnimate.$animateCss to read the documentation for $animateCss}.\n */\nvar $CoreAnimateCssProvider = function() {\n  this.$get = ['$$rAF', '$q', function($$rAF, $q) {\n\n    var RAFPromise = function() {};\n    RAFPromise.prototype = {\n      done: function(cancel) {\n        this.defer && this.defer[cancel === true ? 'reject' : 'resolve']();\n      },\n      end: function() {\n        this.done();\n      },\n      cancel: function() {\n        this.done(true);\n      },\n      getPromise: function() {\n        if (!this.defer) {\n          this.defer = $q.defer();\n        }\n        return this.defer.promise;\n      },\n      then: function(f1,f2) {\n        return this.getPromise().then(f1,f2);\n      },\n      'catch': function(f1) {\n        return this.getPromise()['catch'](f1);\n      },\n      'finally': function(f1) {\n        return this.getPromise()['finally'](f1);\n      }\n    };\n\n    return function(element, options) {\n      // there is no point in applying the styles since\n      // there is no animation that goes on at all in\n      // this version of $animateCss.\n      if (options.cleanupStyles) {\n        options.from = options.to = null;\n      }\n\n      if (options.from) {\n        element.css(options.from);\n        options.from = null;\n      }\n\n      var closed, runner = new RAFPromise();\n      return {\n        start: run,\n        end: run\n      };\n\n      function run() {\n        $$rAF(function() {\n          close();\n          if (!closed) {\n            runner.done();\n          }\n          closed = true;\n        });\n        return runner;\n      }\n\n      function close() {\n        if (options.addClass) {\n          element.addClass(options.addClass);\n          options.addClass = null;\n        }\n        if (options.removeClass) {\n          element.removeClass(options.removeClass);\n          options.removeClass = null;\n        }\n        if (options.to) {\n          element.css(options.to);\n          options.to = null;\n        }\n      }\n    };\n  }];\n};\n\n/* global stripHash: true */\n\n/**\n * ! This is a private undocumented service !\n *\n * @name $browser\n * @requires $log\n * @description\n * This object has two goals:\n *\n * - hide all the global state in the browser caused by the window object\n * - abstract away all the browser specific features and inconsistencies\n *\n * For tests we provide {@link ngMock.$browser mock implementation} of the `$browser`\n * service, which can be used for convenient testing of the application without the interaction with\n * the real browser apis.\n */\n/**\n * @param {object} window The global window object.\n * @param {object} document jQuery wrapped document.\n * @param {object} $log window.console or an object with the same interface.\n * @param {object} $sniffer $sniffer service\n */\nfunction Browser(window, document, $log, $sniffer) {\n  var self = this,\n      rawDocument = document[0],\n      location = window.location,\n      history = window.history,\n      setTimeout = window.setTimeout,\n      clearTimeout = window.clearTimeout,\n      pendingDeferIds = {};\n\n  self.isMock = false;\n\n  var outstandingRequestCount = 0;\n  var outstandingRequestCallbacks = [];\n\n  // TODO(vojta): remove this temporary api\n  self.$$completeOutstandingRequest = completeOutstandingRequest;\n  self.$$incOutstandingRequestCount = function() { outstandingRequestCount++; };\n\n  /**\n   * Executes the `fn` function(supports currying) and decrements the `outstandingRequestCallbacks`\n   * counter. If the counter reaches 0, all the `outstandingRequestCallbacks` are executed.\n   */\n  function completeOutstandingRequest(fn) {\n    try {\n      fn.apply(null, sliceArgs(arguments, 1));\n    } finally {\n      outstandingRequestCount--;\n      if (outstandingRequestCount === 0) {\n        while (outstandingRequestCallbacks.length) {\n          try {\n            outstandingRequestCallbacks.pop()();\n          } catch (e) {\n            $log.error(e);\n          }\n        }\n      }\n    }\n  }\n\n  function getHash(url) {\n    var index = url.indexOf('#');\n    return index === -1 ? '' : url.substr(index);\n  }\n\n  /**\n   * @private\n   * Note: this method is used only by scenario runner\n   * TODO(vojta): prefix this method with $$ ?\n   * @param {function()} callback Function that will be called when no outstanding request\n   */\n  self.notifyWhenNoOutstandingRequests = function(callback) {\n    if (outstandingRequestCount === 0) {\n      callback();\n    } else {\n      outstandingRequestCallbacks.push(callback);\n    }\n  };\n\n  //////////////////////////////////////////////////////////////\n  // URL API\n  //////////////////////////////////////////////////////////////\n\n  var cachedState, lastHistoryState,\n      lastBrowserUrl = location.href,\n      baseElement = document.find('base'),\n      pendingLocation = null;\n\n  cacheState();\n  lastHistoryState = cachedState;\n\n  /**\n   * @name $browser#url\n   *\n   * @description\n   * GETTER:\n   * Without any argument, this method just returns current value of location.href.\n   *\n   * SETTER:\n   * With at least one argument, this method sets url to new value.\n   * If html5 history api supported, pushState/replaceState is used, otherwise\n   * location.href/location.replace is used.\n   * Returns its own instance to allow chaining\n   *\n   * NOTE: this api is intended for use only by the $location service. Please use the\n   * {@link ng.$location $location service} to change url.\n   *\n   * @param {string} url New url (when used as setter)\n   * @param {boolean=} replace Should new url replace current history record?\n   * @param {object=} state object to use with pushState/replaceState\n   */\n  self.url = function(url, replace, state) {\n    // In modern browsers `history.state` is `null` by default; treating it separately\n    // from `undefined` would cause `$browser.url('/foo')` to change `history.state`\n    // to undefined via `pushState`. Instead, let's change `undefined` to `null` here.\n    if (isUndefined(state)) {\n      state = null;\n    }\n\n    // Android Browser BFCache causes location, history reference to become stale.\n    if (location !== window.location) location = window.location;\n    if (history !== window.history) history = window.history;\n\n    // setter\n    if (url) {\n      var sameState = lastHistoryState === state;\n\n      // Don't change anything if previous and current URLs and states match. This also prevents\n      // IE<10 from getting into redirect loop when in LocationHashbangInHtml5Url mode.\n      // See https://github.com/angular/angular.js/commit/ffb2701\n      if (lastBrowserUrl === url && (!$sniffer.history || sameState)) {\n        return self;\n      }\n      var sameBase = lastBrowserUrl && stripHash(lastBrowserUrl) === stripHash(url);\n      lastBrowserUrl = url;\n      lastHistoryState = state;\n      // Don't use history API if only the hash changed\n      // due to a bug in IE10/IE11 which leads\n      // to not firing a `hashchange` nor `popstate` event\n      // in some cases (see #9143).\n      if ($sniffer.history && (!sameBase || !sameState)) {\n        history[replace ? 'replaceState' : 'pushState'](state, '', url);\n        cacheState();\n        // Do the assignment again so that those two variables are referentially identical.\n        lastHistoryState = cachedState;\n      } else {\n        if (!sameBase || pendingLocation) {\n          pendingLocation = url;\n        }\n        if (replace) {\n          location.replace(url);\n        } else if (!sameBase) {\n          location.href = url;\n        } else {\n          location.hash = getHash(url);\n        }\n        if (location.href !== url) {\n          pendingLocation = url;\n        }\n      }\n      return self;\n    // getter\n    } else {\n      // - pendingLocation is needed as browsers don't allow to read out\n      //   the new location.href if a reload happened or if there is a bug like in iOS 9 (see\n      //   https://openradar.appspot.com/22186109).\n      // - the replacement is a workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=407172\n      return pendingLocation || location.href.replace(/%27/g,\"'\");\n    }\n  };\n\n  /**\n   * @name $browser#state\n   *\n   * @description\n   * This method is a getter.\n   *\n   * Return history.state or null if history.state is undefined.\n   *\n   * @returns {object} state\n   */\n  self.state = function() {\n    return cachedState;\n  };\n\n  var urlChangeListeners = [],\n      urlChangeInit = false;\n\n  function cacheStateAndFireUrlChange() {\n    pendingLocation = null;\n    cacheState();\n    fireUrlChange();\n  }\n\n  function getCurrentState() {\n    try {\n      return history.state;\n    } catch (e) {\n      // MSIE can reportedly throw when there is no state (UNCONFIRMED).\n    }\n  }\n\n  // This variable should be used *only* inside the cacheState function.\n  var lastCachedState = null;\n  function cacheState() {\n    // This should be the only place in $browser where `history.state` is read.\n    cachedState = getCurrentState();\n    cachedState = isUndefined(cachedState) ? null : cachedState;\n\n    // Prevent callbacks fo fire twice if both hashchange & popstate were fired.\n    if (equals(cachedState, lastCachedState)) {\n      cachedState = lastCachedState;\n    }\n    lastCachedState = cachedState;\n  }\n\n  function fireUrlChange() {\n    if (lastBrowserUrl === self.url() && lastHistoryState === cachedState) {\n      return;\n    }\n\n    lastBrowserUrl = self.url();\n    lastHistoryState = cachedState;\n    forEach(urlChangeListeners, function(listener) {\n      listener(self.url(), cachedState);\n    });\n  }\n\n  /**\n   * @name $browser#onUrlChange\n   *\n   * @description\n   * Register callback function that will be called, when url changes.\n   *\n   * It's only called when the url is changed from outside of angular:\n   * - user types different url into address bar\n   * - user clicks on history (forward/back) button\n   * - user clicks on a link\n   *\n   * It's not called when url is changed by $browser.url() method\n   *\n   * The listener gets called with new url as parameter.\n   *\n   * NOTE: this api is intended for use only by the $location service. Please use the\n   * {@link ng.$location $location service} to monitor url changes in angular apps.\n   *\n   * @param {function(string)} listener Listener function to be called when url changes.\n   * @return {function(string)} Returns the registered listener fn - handy if the fn is anonymous.\n   */\n  self.onUrlChange = function(callback) {\n    // TODO(vojta): refactor to use node's syntax for events\n    if (!urlChangeInit) {\n      // We listen on both (hashchange/popstate) when available, as some browsers (e.g. Opera)\n      // don't fire popstate when user change the address bar and don't fire hashchange when url\n      // changed by push/replaceState\n\n      // html5 history api - popstate event\n      if ($sniffer.history) jqLite(window).on('popstate', cacheStateAndFireUrlChange);\n      // hashchange event\n      jqLite(window).on('hashchange', cacheStateAndFireUrlChange);\n\n      urlChangeInit = true;\n    }\n\n    urlChangeListeners.push(callback);\n    return callback;\n  };\n\n  /**\n   * @private\n   * Remove popstate and hashchange handler from window.\n   *\n   * NOTE: this api is intended for use only by $rootScope.\n   */\n  self.$$applicationDestroyed = function() {\n    jqLite(window).off('hashchange popstate', cacheStateAndFireUrlChange);\n  };\n\n  /**\n   * Checks whether the url has changed outside of Angular.\n   * Needs to be exported to be able to check for changes that have been done in sync,\n   * as hashchange/popstate events fire in async.\n   */\n  self.$$checkUrlChange = fireUrlChange;\n\n  //////////////////////////////////////////////////////////////\n  // Misc API\n  //////////////////////////////////////////////////////////////\n\n  /**\n   * @name $browser#baseHref\n   *\n   * @description\n   * Returns current <base href>\n   * (always relative - without domain)\n   *\n   * @returns {string} The current base href\n   */\n  self.baseHref = function() {\n    var href = baseElement.attr('href');\n    return href ? href.replace(/^(https?\\:)?\\/\\/[^\\/]*/, '') : '';\n  };\n\n  /**\n   * @name $browser#defer\n   * @param {function()} fn A function, who's execution should be deferred.\n   * @param {number=} [delay=0] of milliseconds to defer the function execution.\n   * @returns {*} DeferId that can be used to cancel the task via `$browser.defer.cancel()`.\n   *\n   * @description\n   * Executes a fn asynchronously via `setTimeout(fn, delay)`.\n   *\n   * Unlike when calling `setTimeout` directly, in test this function is mocked and instead of using\n   * `setTimeout` in tests, the fns are queued in an array, which can be programmatically flushed\n   * via `$browser.defer.flush()`.\n   *\n   */\n  self.defer = function(fn, delay) {\n    var timeoutId;\n    outstandingRequestCount++;\n    timeoutId = setTimeout(function() {\n      delete pendingDeferIds[timeoutId];\n      completeOutstandingRequest(fn);\n    }, delay || 0);\n    pendingDeferIds[timeoutId] = true;\n    return timeoutId;\n  };\n\n\n  /**\n   * @name $browser#defer.cancel\n   *\n   * @description\n   * Cancels a deferred task identified with `deferId`.\n   *\n   * @param {*} deferId Token returned by the `$browser.defer` function.\n   * @returns {boolean} Returns `true` if the task hasn't executed yet and was successfully\n   *                    canceled.\n   */\n  self.defer.cancel = function(deferId) {\n    if (pendingDeferIds[deferId]) {\n      delete pendingDeferIds[deferId];\n      clearTimeout(deferId);\n      completeOutstandingRequest(noop);\n      return true;\n    }\n    return false;\n  };\n\n}\n\nfunction $BrowserProvider() {\n  this.$get = ['$window', '$log', '$sniffer', '$document',\n      function($window, $log, $sniffer, $document) {\n        return new Browser($window, $document, $log, $sniffer);\n      }];\n}\n\n/**\n * @ngdoc service\n * @name $cacheFactory\n *\n * @description\n * Factory that constructs {@link $cacheFactory.Cache Cache} objects and gives access to\n * them.\n *\n * ```js\n *\n *  var cache = $cacheFactory('cacheId');\n *  expect($cacheFactory.get('cacheId')).toBe(cache);\n *  expect($cacheFactory.get('noSuchCacheId')).not.toBeDefined();\n *\n *  cache.put(\"key\", \"value\");\n *  cache.put(\"another key\", \"another value\");\n *\n *  // We've specified no options on creation\n *  expect(cache.info()).toEqual({id: 'cacheId', size: 2});\n *\n * ```\n *\n *\n * @param {string} cacheId Name or id of the newly created cache.\n * @param {object=} options Options object that specifies the cache behavior. Properties:\n *\n *   - `{number=}` `capacity` — turns the cache into LRU cache.\n *\n * @returns {object} Newly created cache object with the following set of methods:\n *\n * - `{object}` `info()` — Returns id, size, and options of cache.\n * - `{{*}}` `put({string} key, {*} value)` — Puts a new key-value pair into the cache and returns\n *   it.\n * - `{{*}}` `get({string} key)` — Returns cached value for `key` or undefined for cache miss.\n * - `{void}` `remove({string} key)` — Removes a key-value pair from the cache.\n * - `{void}` `removeAll()` — Removes all cached values.\n * - `{void}` `destroy()` — Removes references to this cache from $cacheFactory.\n *\n * @example\n   <example module=\"cacheExampleApp\">\n     <file name=\"index.html\">\n       <div ng-controller=\"CacheController\">\n         <input ng-model=\"newCacheKey\" placeholder=\"Key\">\n         <input ng-model=\"newCacheValue\" placeholder=\"Value\">\n         <button ng-click=\"put(newCacheKey, newCacheValue)\">Cache</button>\n\n         <p ng-if=\"keys.length\">Cached Values</p>\n         <div ng-repeat=\"key in keys\">\n           <span ng-bind=\"key\"></span>\n           <span>: </span>\n           <b ng-bind=\"cache.get(key)\"></b>\n         </div>\n\n         <p>Cache Info</p>\n         <div ng-repeat=\"(key, value) in cache.info()\">\n           <span ng-bind=\"key\"></span>\n           <span>: </span>\n           <b ng-bind=\"value\"></b>\n         </div>\n       </div>\n     </file>\n     <file name=\"script.js\">\n       angular.module('cacheExampleApp', []).\n         controller('CacheController', ['$scope', '$cacheFactory', function($scope, $cacheFactory) {\n           $scope.keys = [];\n           $scope.cache = $cacheFactory('cacheId');\n           $scope.put = function(key, value) {\n             if (angular.isUndefined($scope.cache.get(key))) {\n               $scope.keys.push(key);\n             }\n             $scope.cache.put(key, angular.isUndefined(value) ? null : value);\n           };\n         }]);\n     </file>\n     <file name=\"style.css\">\n       p {\n         margin: 10px 0 3px;\n       }\n     </file>\n   </example>\n */\nfunction $CacheFactoryProvider() {\n\n  this.$get = function() {\n    var caches = {};\n\n    function cacheFactory(cacheId, options) {\n      if (cacheId in caches) {\n        throw minErr('$cacheFactory')('iid', \"CacheId '{0}' is already taken!\", cacheId);\n      }\n\n      var size = 0,\n          stats = extend({}, options, {id: cacheId}),\n          data = createMap(),\n          capacity = (options && options.capacity) || Number.MAX_VALUE,\n          lruHash = createMap(),\n          freshEnd = null,\n          staleEnd = null;\n\n      /**\n       * @ngdoc type\n       * @name $cacheFactory.Cache\n       *\n       * @description\n       * A cache object used to store and retrieve data, primarily used by\n       * {@link $http $http} and the {@link ng.directive:script script} directive to cache\n       * templates and other data.\n       *\n       * ```js\n       *  angular.module('superCache')\n       *    .factory('superCache', ['$cacheFactory', function($cacheFactory) {\n       *      return $cacheFactory('super-cache');\n       *    }]);\n       * ```\n       *\n       * Example test:\n       *\n       * ```js\n       *  it('should behave like a cache', inject(function(superCache) {\n       *    superCache.put('key', 'value');\n       *    superCache.put('another key', 'another value');\n       *\n       *    expect(superCache.info()).toEqual({\n       *      id: 'super-cache',\n       *      size: 2\n       *    });\n       *\n       *    superCache.remove('another key');\n       *    expect(superCache.get('another key')).toBeUndefined();\n       *\n       *    superCache.removeAll();\n       *    expect(superCache.info()).toEqual({\n       *      id: 'super-cache',\n       *      size: 0\n       *    });\n       *  }));\n       * ```\n       */\n      return caches[cacheId] = {\n\n        /**\n         * @ngdoc method\n         * @name $cacheFactory.Cache#put\n         * @kind function\n         *\n         * @description\n         * Inserts a named entry into the {@link $cacheFactory.Cache Cache} object to be\n         * retrieved later, and incrementing the size of the cache if the key was not already\n         * present in the cache. If behaving like an LRU cache, it will also remove stale\n         * entries from the set.\n         *\n         * It will not insert undefined values into the cache.\n         *\n         * @param {string} key the key under which the cached data is stored.\n         * @param {*} value the value to store alongside the key. If it is undefined, the key\n         *    will not be stored.\n         * @returns {*} the value stored.\n         */\n        put: function(key, value) {\n          if (isUndefined(value)) return;\n          if (capacity < Number.MAX_VALUE) {\n            var lruEntry = lruHash[key] || (lruHash[key] = {key: key});\n\n            refresh(lruEntry);\n          }\n\n          if (!(key in data)) size++;\n          data[key] = value;\n\n          if (size > capacity) {\n            this.remove(staleEnd.key);\n          }\n\n          return value;\n        },\n\n        /**\n         * @ngdoc method\n         * @name $cacheFactory.Cache#get\n         * @kind function\n         *\n         * @description\n         * Retrieves named data stored in the {@link $cacheFactory.Cache Cache} object.\n         *\n         * @param {string} key the key of the data to be retrieved\n         * @returns {*} the value stored.\n         */\n        get: function(key) {\n          if (capacity < Number.MAX_VALUE) {\n            var lruEntry = lruHash[key];\n\n            if (!lruEntry) return;\n\n            refresh(lruEntry);\n          }\n\n          return data[key];\n        },\n\n\n        /**\n         * @ngdoc method\n         * @name $cacheFactory.Cache#remove\n         * @kind function\n         *\n         * @description\n         * Removes an entry from the {@link $cacheFactory.Cache Cache} object.\n         *\n         * @param {string} key the key of the entry to be removed\n         */\n        remove: function(key) {\n          if (capacity < Number.MAX_VALUE) {\n            var lruEntry = lruHash[key];\n\n            if (!lruEntry) return;\n\n            if (lruEntry == freshEnd) freshEnd = lruEntry.p;\n            if (lruEntry == staleEnd) staleEnd = lruEntry.n;\n            link(lruEntry.n,lruEntry.p);\n\n            delete lruHash[key];\n          }\n\n          if (!(key in data)) return;\n\n          delete data[key];\n          size--;\n        },\n\n\n        /**\n         * @ngdoc method\n         * @name $cacheFactory.Cache#removeAll\n         * @kind function\n         *\n         * @description\n         * Clears the cache object of any entries.\n         */\n        removeAll: function() {\n          data = createMap();\n          size = 0;\n          lruHash = createMap();\n          freshEnd = staleEnd = null;\n        },\n\n\n        /**\n         * @ngdoc method\n         * @name $cacheFactory.Cache#destroy\n         * @kind function\n         *\n         * @description\n         * Destroys the {@link $cacheFactory.Cache Cache} object entirely,\n         * removing it from the {@link $cacheFactory $cacheFactory} set.\n         */\n        destroy: function() {\n          data = null;\n          stats = null;\n          lruHash = null;\n          delete caches[cacheId];\n        },\n\n\n        /**\n         * @ngdoc method\n         * @name $cacheFactory.Cache#info\n         * @kind function\n         *\n         * @description\n         * Retrieve information regarding a particular {@link $cacheFactory.Cache Cache}.\n         *\n         * @returns {object} an object with the following properties:\n         *   <ul>\n         *     <li>**id**: the id of the cache instance</li>\n         *     <li>**size**: the number of entries kept in the cache instance</li>\n         *     <li>**...**: any additional properties from the options object when creating the\n         *       cache.</li>\n         *   </ul>\n         */\n        info: function() {\n          return extend({}, stats, {size: size});\n        }\n      };\n\n\n      /**\n       * makes the `entry` the freshEnd of the LRU linked list\n       */\n      function refresh(entry) {\n        if (entry != freshEnd) {\n          if (!staleEnd) {\n            staleEnd = entry;\n          } else if (staleEnd == entry) {\n            staleEnd = entry.n;\n          }\n\n          link(entry.n, entry.p);\n          link(entry, freshEnd);\n          freshEnd = entry;\n          freshEnd.n = null;\n        }\n      }\n\n\n      /**\n       * bidirectionally links two entries of the LRU linked list\n       */\n      function link(nextEntry, prevEntry) {\n        if (nextEntry != prevEntry) {\n          if (nextEntry) nextEntry.p = prevEntry; //p stands for previous, 'prev' didn't minify\n          if (prevEntry) prevEntry.n = nextEntry; //n stands for next, 'next' didn't minify\n        }\n      }\n    }\n\n\n  /**\n   * @ngdoc method\n   * @name $cacheFactory#info\n   *\n   * @description\n   * Get information about all the caches that have been created\n   *\n   * @returns {Object} - key-value map of `cacheId` to the result of calling `cache#info`\n   */\n    cacheFactory.info = function() {\n      var info = {};\n      forEach(caches, function(cache, cacheId) {\n        info[cacheId] = cache.info();\n      });\n      return info;\n    };\n\n\n  /**\n   * @ngdoc method\n   * @name $cacheFactory#get\n   *\n   * @description\n   * Get access to a cache object by the `cacheId` used when it was created.\n   *\n   * @param {string} cacheId Name or id of a cache to access.\n   * @returns {object} Cache object identified by the cacheId or undefined if no such cache.\n   */\n    cacheFactory.get = function(cacheId) {\n      return caches[cacheId];\n    };\n\n\n    return cacheFactory;\n  };\n}\n\n/**\n * @ngdoc service\n * @name $templateCache\n *\n * @description\n * The first time a template is used, it is loaded in the template cache for quick retrieval. You\n * can load templates directly into the cache in a `script` tag, or by consuming the\n * `$templateCache` service directly.\n *\n * Adding via the `script` tag:\n *\n * ```html\n *   <script type=\"text/ng-template\" id=\"templateId.html\">\n *     <p>This is the content of the template</p>\n *   </script>\n * ```\n *\n * **Note:** the `script` tag containing the template does not need to be included in the `head` of\n * the document, but it must be a descendent of the {@link ng.$rootElement $rootElement} (IE,\n * element with ng-app attribute), otherwise the template will be ignored.\n *\n * Adding via the `$templateCache` service:\n *\n * ```js\n * var myApp = angular.module('myApp', []);\n * myApp.run(function($templateCache) {\n *   $templateCache.put('templateId.html', 'This is the content of the template');\n * });\n * ```\n *\n * To retrieve the template later, simply use it in your HTML:\n * ```html\n * <div ng-include=\" 'templateId.html' \"></div>\n * ```\n *\n * or get it via Javascript:\n * ```js\n * $templateCache.get('templateId.html')\n * ```\n *\n * See {@link ng.$cacheFactory $cacheFactory}.\n *\n */\nfunction $TemplateCacheProvider() {\n  this.$get = ['$cacheFactory', function($cacheFactory) {\n    return $cacheFactory('templates');\n  }];\n}\n\n/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n *     Any commits to this file should be reviewed with security in mind.  *\n *   Changes to this file can potentially create security vulnerabilities. *\n *          An approval from 2 Core members with history of modifying      *\n *                         this file is required.                          *\n *                                                                         *\n *  Does the change somehow allow for arbitrary javascript to be executed? *\n *    Or allows for someone to change the prototype of built-in objects?   *\n *     Or gives undesired access to variables likes document or window?    *\n * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */\n\n/* ! VARIABLE/FUNCTION NAMING CONVENTIONS THAT APPLY TO THIS FILE!\n *\n * DOM-related variables:\n *\n * - \"node\" - DOM Node\n * - \"element\" - DOM Element or Node\n * - \"$node\" or \"$element\" - jqLite-wrapped node or element\n *\n *\n * Compiler related stuff:\n *\n * - \"linkFn\" - linking fn of a single directive\n * - \"nodeLinkFn\" - function that aggregates all linking fns for a particular node\n * - \"childLinkFn\" -  function that aggregates all linking fns for child nodes of a particular node\n * - \"compositeLinkFn\" - function that aggregates all linking fns for a compilation root (nodeList)\n */\n\n\n/**\n * @ngdoc service\n * @name $compile\n * @kind function\n *\n * @description\n * Compiles an HTML string or DOM into a template and produces a template function, which\n * can then be used to link {@link ng.$rootScope.Scope `scope`} and the template together.\n *\n * The compilation is a process of walking the DOM tree and matching DOM elements to\n * {@link ng.$compileProvider#directive directives}.\n *\n * <div class=\"alert alert-warning\">\n * **Note:** This document is an in-depth reference of all directive options.\n * For a gentle introduction to directives with examples of common use cases,\n * see the {@link guide/directive directive guide}.\n * </div>\n *\n * ## Comprehensive Directive API\n *\n * There are many different options for a directive.\n *\n * The difference resides in the return value of the factory function.\n * You can either return a \"Directive Definition Object\" (see below) that defines the directive properties,\n * or just the `postLink` function (all other properties will have the default values).\n *\n * <div class=\"alert alert-success\">\n * **Best Practice:** It's recommended to use the \"directive definition object\" form.\n * </div>\n *\n * Here's an example directive declared with a Directive Definition Object:\n *\n * ```js\n *   var myModule = angular.module(...);\n *\n *   myModule.directive('directiveName', function factory(injectables) {\n *     var directiveDefinitionObject = {\n *       priority: 0,\n *       template: '<div></div>', // or // function(tElement, tAttrs) { ... },\n *       // or\n *       // templateUrl: 'directive.html', // or // function(tElement, tAttrs) { ... },\n *       transclude: false,\n *       restrict: 'A',\n *       templateNamespace: 'html',\n *       scope: false,\n *       controller: function($scope, $element, $attrs, $transclude, otherInjectables) { ... },\n *       controllerAs: 'stringIdentifier',\n *       bindToController: false,\n *       require: 'siblingDirectiveName', // or // ['^parentDirectiveName', '?optionalDirectiveName', '?^optionalParent'],\n *       compile: function compile(tElement, tAttrs, transclude) {\n *         return {\n *           pre: function preLink(scope, iElement, iAttrs, controller) { ... },\n *           post: function postLink(scope, iElement, iAttrs, controller) { ... }\n *         }\n *         // or\n *         // return function postLink( ... ) { ... }\n *       },\n *       // or\n *       // link: {\n *       //  pre: function preLink(scope, iElement, iAttrs, controller) { ... },\n *       //  post: function postLink(scope, iElement, iAttrs, controller) { ... }\n *       // }\n *       // or\n *       // link: function postLink( ... ) { ... }\n *     };\n *     return directiveDefinitionObject;\n *   });\n * ```\n *\n * <div class=\"alert alert-warning\">\n * **Note:** Any unspecified options will use the default value. You can see the default values below.\n * </div>\n *\n * Therefore the above can be simplified as:\n *\n * ```js\n *   var myModule = angular.module(...);\n *\n *   myModule.directive('directiveName', function factory(injectables) {\n *     var directiveDefinitionObject = {\n *       link: function postLink(scope, iElement, iAttrs) { ... }\n *     };\n *     return directiveDefinitionObject;\n *     // or\n *     // return function postLink(scope, iElement, iAttrs) { ... }\n *   });\n * ```\n *\n *\n *\n * ### Directive Definition Object\n *\n * The directive definition object provides instructions to the {@link ng.$compile\n * compiler}. The attributes are:\n *\n * #### `multiElement`\n * When this property is set to true, the HTML compiler will collect DOM nodes between\n * nodes with the attributes `directive-name-start` and `directive-name-end`, and group them\n * together as the directive elements. It is recommended that this feature be used on directives\n * which are not strictly behavioural (such as {@link ngClick}), and which\n * do not manipulate or replace child nodes (such as {@link ngInclude}).\n *\n * #### `priority`\n * When there are multiple directives defined on a single DOM element, sometimes it\n * is necessary to specify the order in which the directives are applied. The `priority` is used\n * to sort the directives before their `compile` functions get called. Priority is defined as a\n * number. Directives with greater numerical `priority` are compiled first. Pre-link functions\n * are also run in priority order, but post-link functions are run in reverse order. The order\n * of directives with the same priority is undefined. The default priority is `0`.\n *\n * #### `terminal`\n * If set to true then the current `priority` will be the last set of directives\n * which will execute (any directives at the current priority will still execute\n * as the order of execution on same `priority` is undefined). Note that expressions\n * and other directives used in the directive's template will also be excluded from execution.\n *\n * #### `scope`\n * The scope property can be `true`, an object or a falsy value:\n *\n * * **falsy:** No scope will be created for the directive. The directive will use its parent's scope.\n *\n * * **`true`:** A new child scope that prototypically inherits from its parent will be created for\n * the directive's element. If multiple directives on the same element request a new scope,\n * only one new scope is created. The new scope rule does not apply for the root of the template\n * since the root of the template always gets a new scope.\n *\n * * **`{...}` (an object hash):** A new \"isolate\" scope is created for the directive's element. The\n * 'isolate' scope differs from normal scope in that it does not prototypically inherit from its parent\n * scope. This is useful when creating reusable components, which should not accidentally read or modify\n * data in the parent scope.\n *\n * The 'isolate' scope object hash defines a set of local scope properties derived from attributes on the\n * directive's element. These local properties are useful for aliasing values for templates. The keys in\n * the object hash map to the name of the property on the isolate scope; the values define how the property\n * is bound to the parent scope, via matching attributes on the directive's element:\n *\n * * `@` or `@attr` - bind a local scope property to the value of DOM attribute. The result is\n *   always a string since DOM attributes are strings. If no `attr` name is specified  then the\n *   attribute name is assumed to be the same as the local name.\n *   Given `<widget my-attr=\"hello {{name}}\">` and widget definition\n *   of `scope: { localName:'@myAttr' }`, then widget scope property `localName` will reflect\n *   the interpolated value of `hello {{name}}`. As the `name` attribute changes so will the\n *   `localName` property on the widget scope. The `name` is read from the parent scope (not\n *   component scope).\n *\n * * `=` or `=attr` - set up bi-directional binding between a local scope property and the\n *   parent scope property of name defined via the value of the `attr` attribute. If no `attr`\n *   name is specified then the attribute name is assumed to be the same as the local name.\n *   Given `<widget my-attr=\"parentModel\">` and widget definition of\n *   `scope: { localModel:'=myAttr' }`, then widget scope property `localModel` will reflect the\n *   value of `parentModel` on the parent scope. Any changes to `parentModel` will be reflected\n *   in `localModel` and any changes in `localModel` will reflect in `parentModel`. If the parent\n *   scope property doesn't exist, it will throw a NON_ASSIGNABLE_MODEL_EXPRESSION exception. You\n *   can avoid this behavior using `=?` or `=?attr` in order to flag the property as optional. If\n *   you want to shallow watch for changes (i.e. $watchCollection instead of $watch) you can use\n *   `=*` or `=*attr` (`=*?` or `=*?attr` if the property is optional).\n *\n * * `&` or `&attr` - provides a way to execute an expression in the context of the parent scope.\n *   If no `attr` name is specified then the attribute name is assumed to be the same as the\n *   local name. Given `<widget my-attr=\"count = count + value\">` and widget definition of\n *   `scope: { localFn:'&myAttr' }`, then isolate scope property `localFn` will point to\n *   a function wrapper for the `count = count + value` expression. Often it's desirable to\n *   pass data from the isolated scope via an expression to the parent scope, this can be\n *   done by passing a map of local variable names and values into the expression wrapper fn.\n *   For example, if the expression is `increment(amount)` then we can specify the amount value\n *   by calling the `localFn` as `localFn({amount: 22})`.\n *\n * In general it's possible to apply more than one directive to one element, but there might be limitations\n * depending on the type of scope required by the directives. The following points will help explain these limitations.\n * For simplicity only two directives are taken into account, but it is also applicable for several directives:\n *\n * * **no scope** + **no scope** => Two directives which don't require their own scope will use their parent's scope\n * * **child scope** + **no scope** =>  Both directives will share one single child scope\n * * **child scope** + **child scope** =>  Both directives will share one single child scope\n * * **isolated scope** + **no scope** =>  The isolated directive will use it's own created isolated scope. The other directive will use\n * its parent's scope\n * * **isolated scope** + **child scope** =>  **Won't work!** Only one scope can be related to one element. Therefore these directives cannot\n * be applied to the same element.\n * * **isolated scope** + **isolated scope**  =>  **Won't work!** Only one scope can be related to one element. Therefore these directives\n * cannot be applied to the same element.\n *\n *\n * #### `bindToController`\n * When an isolate scope is used for a component (see above), and `controllerAs` is used, `bindToController: true` will\n * allow a component to have its properties bound to the controller, rather than to scope. When the controller\n * is instantiated, the initial values of the isolate scope bindings are already available.\n *\n * #### `controller`\n * Controller constructor function. The controller is instantiated before the\n * pre-linking phase and can be accessed by other directives (see\n * `require` attribute). This allows the directives to communicate with each other and augment\n * each other's behavior. The controller is injectable (and supports bracket notation) with the following locals:\n *\n * * `$scope` - Current scope associated with the element\n * * `$element` - Current element\n * * `$attrs` - Current attributes object for the element\n * * `$transclude` - A transclude linking function pre-bound to the correct transclusion scope:\n *   `function([scope], cloneLinkingFn, futureParentElement)`.\n *    * `scope`: optional argument to override the scope.\n *    * `cloneLinkingFn`: optional argument to create clones of the original transcluded content.\n *    * `futureParentElement`:\n *        * defines the parent to which the `cloneLinkingFn` will add the cloned elements.\n *        * default: `$element.parent()` resp. `$element` for `transclude:'element'` resp. `transclude:true`.\n *        * only needed for transcludes that are allowed to contain non html elements (e.g. SVG elements)\n *          and when the `cloneLinkinFn` is passed,\n *          as those elements need to created and cloned in a special way when they are defined outside their\n *          usual containers (e.g. like `<svg>`).\n *        * See also the `directive.templateNamespace` property.\n *\n *\n * #### `require`\n * Require another directive and inject its controller as the fourth argument to the linking function. The\n * `require` takes a string name (or array of strings) of the directive(s) to pass in. If an array is used, the\n * injected argument will be an array in corresponding order. If no such directive can be\n * found, or if the directive does not have a controller, then an error is raised (unless no link function\n * is specified, in which case error checking is skipped). The name can be prefixed with:\n *\n * * (no prefix) - Locate the required controller on the current element. Throw an error if not found.\n * * `?` - Attempt to locate the required controller or pass `null` to the `link` fn if not found.\n * * `^` - Locate the required controller by searching the element and its parents. Throw an error if not found.\n * * `^^` - Locate the required controller by searching the element's parents. Throw an error if not found.\n * * `?^` - Attempt to locate the required controller by searching the element and its parents or pass\n *   `null` to the `link` fn if not found.\n * * `?^^` - Attempt to locate the required controller by searching the element's parents, or pass\n *   `null` to the `link` fn if not found.\n *\n *\n * #### `controllerAs`\n * Identifier name for a reference to the controller in the directive's scope.\n * This allows the controller to be referenced from the directive template. This is especially\n * useful when a directive is used as component, i.e. with an `isolate` scope. It's also possible\n * to use it in a directive without an `isolate` / `new` scope, but you need to be aware that the\n * `controllerAs` reference might overwrite a property that already exists on the parent scope.\n *\n *\n * #### `restrict`\n * String of subset of `EACM` which restricts the directive to a specific directive\n * declaration style. If omitted, the defaults (elements and attributes) are used.\n *\n * * `E` - Element name (default): `<my-directive></my-directive>`\n * * `A` - Attribute (default): `<div my-directive=\"exp\"></div>`\n * * `C` - Class: `<div class=\"my-directive: exp;\"></div>`\n * * `M` - Comment: `<!-- directive: my-directive exp -->`\n *\n *\n * #### `templateNamespace`\n * String representing the document type used by the markup in the template.\n * AngularJS needs this information as those elements need to be created and cloned\n * in a special way when they are defined outside their usual containers like `<svg>` and `<math>`.\n *\n * * `html` - All root nodes in the template are HTML. Root nodes may also be\n *   top-level elements such as `<svg>` or `<math>`.\n * * `svg` - The root nodes in the template are SVG elements (excluding `<math>`).\n * * `math` - The root nodes in the template are MathML elements (excluding `<svg>`).\n *\n * If no `templateNamespace` is specified, then the namespace is considered to be `html`.\n *\n * #### `template`\n * HTML markup that may:\n * * Replace the contents of the directive's element (default).\n * * Replace the directive's element itself (if `replace` is true - DEPRECATED).\n * * Wrap the contents of the directive's element (if `transclude` is true).\n *\n * Value may be:\n *\n * * A string. For example `<div red-on-hover>{{delete_str}}</div>`.\n * * A function which takes two arguments `tElement` and `tAttrs` (described in the `compile`\n *   function api below) and returns a string value.\n *\n *\n * #### `templateUrl`\n * This is similar to `template` but the template is loaded from the specified URL, asynchronously.\n *\n * Because template loading is asynchronous the compiler will suspend compilation of directives on that element\n * for later when the template has been resolved.  In the meantime it will continue to compile and link\n * sibling and parent elements as though this element had not contained any directives.\n *\n * The compiler does not suspend the entire compilation to wait for templates to be loaded because this\n * would result in the whole app \"stalling\" until all templates are loaded asynchronously - even in the\n * case when only one deeply nested directive has `templateUrl`.\n *\n * Template loading is asynchronous even if the template has been preloaded into the {@link $templateCache}\n *\n * You can specify `templateUrl` as a string representing the URL or as a function which takes two\n * arguments `tElement` and `tAttrs` (described in the `compile` function api below) and returns\n * a string value representing the url.  In either case, the template URL is passed through {@link\n * $sce#getTrustedResourceUrl $sce.getTrustedResourceUrl}.\n *\n *\n * #### `replace` ([*DEPRECATED*!], will be removed in next major release - i.e. v2.0)\n * specify what the template should replace. Defaults to `false`.\n *\n * * `true` - the template will replace the directive's element.\n * * `false` - the template will replace the contents of the directive's element.\n *\n * The replacement process migrates all of the attributes / classes from the old element to the new\n * one. See the {@link guide/directive#template-expanding-directive\n * Directives Guide} for an example.\n *\n * There are very few scenarios where element replacement is required for the application function,\n * the main one being reusable custom components that are used within SVG contexts\n * (because SVG doesn't work with custom elements in the DOM tree).\n *\n * #### `transclude`\n * Extract the contents of the element where the directive appears and make it available to the directive.\n * The contents are compiled and provided to the directive as a **transclusion function**. See the\n * {@link $compile#transclusion Transclusion} section below.\n *\n * There are two kinds of transclusion depending upon whether you want to transclude just the contents of the\n * directive's element or the entire element:\n *\n * * `true` - transclude the content (i.e. the child nodes) of the directive's element.\n * * `'element'` - transclude the whole of the directive's element including any directives on this\n *   element that defined at a lower priority than this directive. When used, the `template`\n *   property is ignored.\n *\n *\n * #### `compile`\n *\n * ```js\n *   function compile(tElement, tAttrs, transclude) { ... }\n * ```\n *\n * The compile function deals with transforming the template DOM. Since most directives do not do\n * template transformation, it is not used often. The compile function takes the following arguments:\n *\n *   * `tElement` - template element - The element where the directive has been declared. It is\n *     safe to do template transformation on the element and child elements only.\n *\n *   * `tAttrs` - template attributes - Normalized list of attributes declared on this element shared\n *     between all directive compile functions.\n *\n *   * `transclude` -  [*DEPRECATED*!] A transclude linking function: `function(scope, cloneLinkingFn)`\n *\n * <div class=\"alert alert-warning\">\n * **Note:** The template instance and the link instance may be different objects if the template has\n * been cloned. For this reason it is **not** safe to do anything other than DOM transformations that\n * apply to all cloned DOM nodes within the compile function. Specifically, DOM listener registration\n * should be done in a linking function rather than in a compile function.\n * </div>\n\n * <div class=\"alert alert-warning\">\n * **Note:** The compile function cannot handle directives that recursively use themselves in their\n * own templates or compile functions. Compiling these directives results in an infinite loop and a\n * stack overflow errors.\n *\n * This can be avoided by manually using $compile in the postLink function to imperatively compile\n * a directive's template instead of relying on automatic template compilation via `template` or\n * `templateUrl` declaration or manual compilation inside the compile function.\n * </div>\n *\n * <div class=\"alert alert-danger\">\n * **Note:** The `transclude` function that is passed to the compile function is deprecated, as it\n *   e.g. does not know about the right outer scope. Please use the transclude function that is passed\n *   to the link function instead.\n * </div>\n\n * A compile function can have a return value which can be either a function or an object.\n *\n * * returning a (post-link) function - is equivalent to registering the linking function via the\n *   `link` property of the config object when the compile function is empty.\n *\n * * returning an object with function(s) registered via `pre` and `post` properties - allows you to\n *   control when a linking function should be called during the linking phase. See info about\n *   pre-linking and post-linking functions below.\n *\n *\n * #### `link`\n * This property is used only if the `compile` property is not defined.\n *\n * ```js\n *   function link(scope, iElement, iAttrs, controller, transcludeFn) { ... }\n * ```\n *\n * The link function is responsible for registering DOM listeners as well as updating the DOM. It is\n * executed after the template has been cloned. This is where most of the directive logic will be\n * put.\n *\n *   * `scope` - {@link ng.$rootScope.Scope Scope} - The scope to be used by the\n *     directive for registering {@link ng.$rootScope.Scope#$watch watches}.\n *\n *   * `iElement` - instance element - The element where the directive is to be used. It is safe to\n *     manipulate the children of the element only in `postLink` function since the children have\n *     already been linked.\n *\n *   * `iAttrs` - instance attributes - Normalized list of attributes declared on this element shared\n *     between all directive linking functions.\n *\n *   * `controller` - the directive's required controller instance(s) - Instances are shared\n *     among all directives, which allows the directives to use the controllers as a communication\n *     channel. The exact value depends on the directive's `require` property:\n *       * no controller(s) required: the directive's own controller, or `undefined` if it doesn't have one\n *       * `string`: the controller instance\n *       * `array`: array of controller instances\n *\n *     If a required controller cannot be found, and it is optional, the instance is `null`,\n *     otherwise the {@link error:$compile:ctreq Missing Required Controller} error is thrown.\n *\n *     Note that you can also require the directive's own controller - it will be made available like\n *     any other controller.\n *\n *   * `transcludeFn` - A transclude linking function pre-bound to the correct transclusion scope.\n *     This is the same as the `$transclude`\n *     parameter of directive controllers, see there for details.\n *     `function([scope], cloneLinkingFn, futureParentElement)`.\n *\n * #### Pre-linking function\n *\n * Executed before the child elements are linked. Not safe to do DOM transformation since the\n * compiler linking function will fail to locate the correct elements for linking.\n *\n * #### Post-linking function\n *\n * Executed after the child elements are linked.\n *\n * Note that child elements that contain `templateUrl` directives will not have been compiled\n * and linked since they are waiting for their template to load asynchronously and their own\n * compilation and linking has been suspended until that occurs.\n *\n * It is safe to do DOM transformation in the post-linking function on elements that are not waiting\n * for their async templates to be resolved.\n *\n *\n * ### Transclusion\n *\n * Transclusion is the process of extracting a collection of DOM elements from one part of the DOM and\n * copying them to another part of the DOM, while maintaining their connection to the original AngularJS\n * scope from where they were taken.\n *\n * Transclusion is used (often with {@link ngTransclude}) to insert the\n * original contents of a directive's element into a specified place in the template of the directive.\n * The benefit of transclusion, over simply moving the DOM elements manually, is that the transcluded\n * content has access to the properties on the scope from which it was taken, even if the directive\n * has isolated scope.\n * See the {@link guide/directive#creating-a-directive-that-wraps-other-elements Directives Guide}.\n *\n * This makes it possible for the widget to have private state for its template, while the transcluded\n * content has access to its originating scope.\n *\n * <div class=\"alert alert-warning\">\n * **Note:** When testing an element transclude directive you must not place the directive at the root of the\n * DOM fragment that is being compiled. See {@link guide/unit-testing#testing-transclusion-directives\n * Testing Transclusion Directives}.\n * </div>\n *\n * #### Transclusion Functions\n *\n * When a directive requests transclusion, the compiler extracts its contents and provides a **transclusion\n * function** to the directive's `link` function and `controller`. This transclusion function is a special\n * **linking function** that will return the compiled contents linked to a new transclusion scope.\n *\n * <div class=\"alert alert-info\">\n * If you are just using {@link ngTransclude} then you don't need to worry about this function, since\n * ngTransclude will deal with it for us.\n * </div>\n *\n * If you want to manually control the insertion and removal of the transcluded content in your directive\n * then you must use this transclude function. When you call a transclude function it returns a a jqLite/JQuery\n * object that contains the compiled DOM, which is linked to the correct transclusion scope.\n *\n * When you call a transclusion function you can pass in a **clone attach function**. This function accepts\n * two parameters, `function(clone, scope) { ... }`, where the `clone` is a fresh compiled copy of your transcluded\n * content and the `scope` is the newly created transclusion scope, to which the clone is bound.\n *\n * <div class=\"alert alert-info\">\n * **Best Practice**: Always provide a `cloneFn` (clone attach function) when you call a translude function\n * since you then get a fresh clone of the original DOM and also have access to the new transclusion scope.\n * </div>\n *\n * It is normal practice to attach your transcluded content (`clone`) to the DOM inside your **clone\n * attach function**:\n *\n * ```js\n * var transcludedContent, transclusionScope;\n *\n * $transclude(function(clone, scope) {\n *   element.append(clone);\n *   transcludedContent = clone;\n *   transclusionScope = scope;\n * });\n * ```\n *\n * Later, if you want to remove the transcluded content from your DOM then you should also destroy the\n * associated transclusion scope:\n *\n * ```js\n * transcludedContent.remove();\n * transclusionScope.$destroy();\n * ```\n *\n * <div class=\"alert alert-info\">\n * **Best Practice**: if you intend to add and remove transcluded content manually in your directive\n * (by calling the transclude function to get the DOM and calling `element.remove()` to remove it),\n * then you are also responsible for calling `$destroy` on the transclusion scope.\n * </div>\n *\n * The built-in DOM manipulation directives, such as {@link ngIf}, {@link ngSwitch} and {@link ngRepeat}\n * automatically destroy their transluded clones as necessary so you do not need to worry about this if\n * you are simply using {@link ngTransclude} to inject the transclusion into your directive.\n *\n *\n * #### Transclusion Scopes\n *\n * When you call a transclude function it returns a DOM fragment that is pre-bound to a **transclusion\n * scope**. This scope is special, in that it is a child of the directive's scope (and so gets destroyed\n * when the directive's scope gets destroyed) but it inherits the properties of the scope from which it\n * was taken.\n *\n * For example consider a directive that uses transclusion and isolated scope. The DOM hierarchy might look\n * like this:\n *\n * ```html\n * <div ng-app>\n *   <div isolate>\n *     <div transclusion>\n *     </div>\n *   </div>\n * </div>\n * ```\n *\n * The `$parent` scope hierarchy will look like this:\n *\n * ```\n * - $rootScope\n *   - isolate\n *     - transclusion\n * ```\n *\n * but the scopes will inherit prototypically from different scopes to their `$parent`.\n *\n * ```\n * - $rootScope\n *   - transclusion\n * - isolate\n * ```\n *\n *\n * ### Attributes\n *\n * The {@link ng.$compile.directive.Attributes Attributes} object - passed as a parameter in the\n * `link()` or `compile()` functions. It has a variety of uses.\n *\n * accessing *Normalized attribute names:*\n * Directives like 'ngBind' can be expressed in many ways: 'ng:bind', `data-ng-bind`, or 'x-ng-bind'.\n * the attributes object allows for normalized access to\n *   the attributes.\n *\n * * *Directive inter-communication:* All directives share the same instance of the attributes\n *   object which allows the directives to use the attributes object as inter directive\n *   communication.\n *\n * * *Supports interpolation:* Interpolation attributes are assigned to the attribute object\n *   allowing other directives to read the interpolated value.\n *\n * * *Observing interpolated attributes:* Use `$observe` to observe the value changes of attributes\n *   that contain interpolation (e.g. `src=\"{{bar}}\"`). Not only is this very efficient but it's also\n *   the only way to easily get the actual value because during the linking phase the interpolation\n *   hasn't been evaluated yet and so the value is at this time set to `undefined`.\n *\n * ```js\n * function linkingFn(scope, elm, attrs, ctrl) {\n *   // get the attribute value\n *   console.log(attrs.ngModel);\n *\n *   // change the attribute\n *   attrs.$set('ngModel', 'new value');\n *\n *   // observe changes to interpolated attribute\n *   attrs.$observe('ngModel', function(value) {\n *     console.log('ngModel has changed value to ' + value);\n *   });\n * }\n * ```\n *\n * ## Example\n *\n * <div class=\"alert alert-warning\">\n * **Note**: Typically directives are registered with `module.directive`. The example below is\n * to illustrate how `$compile` works.\n * </div>\n *\n <example module=\"compileExample\">\n   <file name=\"index.html\">\n    <script>\n      angular.module('compileExample', [], function($compileProvider) {\n        // configure new 'compile' directive by passing a directive\n        // factory function. The factory function injects the '$compile'\n        $compileProvider.directive('compile', function($compile) {\n          // directive factory creates a link function\n          return function(scope, element, attrs) {\n            scope.$watch(\n              function(scope) {\n                 // watch the 'compile' expression for changes\n                return scope.$eval(attrs.compile);\n              },\n              function(value) {\n                // when the 'compile' expression changes\n                // assign it into the current DOM\n                element.html(value);\n\n                // compile the new DOM and link it to the current\n                // scope.\n                // NOTE: we only compile .childNodes so that\n                // we don't get into infinite loop compiling ourselves\n                $compile(element.contents())(scope);\n              }\n            );\n          };\n        });\n      })\n      .controller('GreeterController', ['$scope', function($scope) {\n        $scope.name = 'Angular';\n        $scope.html = 'Hello {{name}}';\n      }]);\n    </script>\n    <div ng-controller=\"GreeterController\">\n      <input ng-model=\"name\"> <br/>\n      <textarea ng-model=\"html\"></textarea> <br/>\n      <div compile=\"html\"></div>\n    </div>\n   </file>\n   <file name=\"protractor.js\" type=\"protractor\">\n     it('should auto compile', function() {\n       var textarea = $('textarea');\n       var output = $('div[compile]');\n       // The initial state reads 'Hello Angular'.\n       expect(output.getText()).toBe('Hello Angular');\n       textarea.clear();\n       textarea.sendKeys('{{name}}!');\n       expect(output.getText()).toBe('Angular!');\n     });\n   </file>\n </example>\n\n *\n *\n * @param {string|DOMElement} element Element or HTML string to compile into a template function.\n * @param {function(angular.Scope, cloneAttachFn=)} transclude function available to directives - DEPRECATED.\n *\n * <div class=\"alert alert-danger\">\n * **Note:** Passing a `transclude` function to the $compile function is deprecated, as it\n *   e.g. will not use the right outer scope. Please pass the transclude function as a\n *   `parentBoundTranscludeFn` to the link function instead.\n * </div>\n *\n * @param {number} maxPriority only apply directives lower than given priority (Only effects the\n *                 root element(s), not their children)\n * @returns {function(scope, cloneAttachFn=, options=)} a link function which is used to bind template\n * (a DOM element/tree) to a scope. Where:\n *\n *  * `scope` - A {@link ng.$rootScope.Scope Scope} to bind to.\n *  * `cloneAttachFn` - If `cloneAttachFn` is provided, then the link function will clone the\n *  `template` and call the `cloneAttachFn` function allowing the caller to attach the\n *  cloned elements to the DOM document at the appropriate place. The `cloneAttachFn` is\n *  called as: <br/> `cloneAttachFn(clonedElement, scope)` where:\n *\n *      * `clonedElement` - is a clone of the original `element` passed into the compiler.\n *      * `scope` - is the current scope with which the linking function is working with.\n *\n *  * `options` - An optional object hash with linking options. If `options` is provided, then the following\n *  keys may be used to control linking behavior:\n *\n *      * `parentBoundTranscludeFn` - the transclude function made available to\n *        directives; if given, it will be passed through to the link functions of\n *        directives found in `element` during compilation.\n *      * `transcludeControllers` - an object hash with keys that map controller names\n *        to controller instances; if given, it will make the controllers\n *        available to directives.\n *      * `futureParentElement` - defines the parent to which the `cloneAttachFn` will add\n *        the cloned elements; only needed for transcludes that are allowed to contain non html\n *        elements (e.g. SVG elements). See also the directive.controller property.\n *\n * Calling the linking function returns the element of the template. It is either the original\n * element passed in, or the clone of the element if the `cloneAttachFn` is provided.\n *\n * After linking the view is not updated until after a call to $digest which typically is done by\n * Angular automatically.\n *\n * If you need access to the bound view, there are two ways to do it:\n *\n * - If you are not asking the linking function to clone the template, create the DOM element(s)\n *   before you send them to the compiler and keep this reference around.\n *   ```js\n *     var element = $compile('<p>{{total}}</p>')(scope);\n *   ```\n *\n * - if on the other hand, you need the element to be cloned, the view reference from the original\n *   example would not point to the clone, but rather to the original template that was cloned. In\n *   this case, you can access the clone via the cloneAttachFn:\n *   ```js\n *     var templateElement = angular.element('<p>{{total}}</p>'),\n *         scope = ....;\n *\n *     var clonedElement = $compile(templateElement)(scope, function(clonedElement, scope) {\n *       //attach the clone to DOM document at the right place\n *     });\n *\n *     //now we have reference to the cloned DOM via `clonedElement`\n *   ```\n *\n *\n * For information on how the compiler works, see the\n * {@link guide/compiler Angular HTML Compiler} section of the Developer Guide.\n */\n\nvar $compileMinErr = minErr('$compile');\n\n/**\n * @ngdoc provider\n * @name $compileProvider\n *\n * @description\n */\n$CompileProvider.$inject = ['$provide', '$$sanitizeUriProvider'];\nfunction $CompileProvider($provide, $$sanitizeUriProvider) {\n  var hasDirectives = {},\n      Suffix = 'Directive',\n      COMMENT_DIRECTIVE_REGEXP = /^\\s*directive\\:\\s*([\\w\\-]+)\\s+(.*)$/,\n      CLASS_DIRECTIVE_REGEXP = /(([\\w\\-]+)(?:\\:([^;]+))?;?)/,\n      ALL_OR_NOTHING_ATTRS = makeMap('ngSrc,ngSrcset,src,srcset'),\n      REQUIRE_PREFIX_REGEXP = /^(?:(\\^\\^?)?(\\?)?(\\^\\^?)?)?/;\n\n  // Ref: http://developers.whatwg.org/webappapis.html#event-handler-idl-attributes\n  // The assumption is that future DOM event attribute names will begin with\n  // 'on' and be composed of only English letters.\n  var EVENT_HANDLER_ATTR_REGEXP = /^(on[a-z]+|formaction)$/;\n\n  function parseIsolateBindings(scope, directiveName, isController) {\n    var LOCAL_REGEXP = /^\\s*([@&]|=(\\*?))(\\??)\\s*(\\w*)\\s*$/;\n\n    var bindings = {};\n\n    forEach(scope, function(definition, scopeName) {\n      var match = definition.match(LOCAL_REGEXP);\n\n      if (!match) {\n        throw $compileMinErr('iscp',\n            \"Invalid {3} for directive '{0}'.\" +\n            \" Definition: {... {1}: '{2}' ...}\",\n            directiveName, scopeName, definition,\n            (isController ? \"controller bindings definition\" :\n            \"isolate scope definition\"));\n      }\n\n      bindings[scopeName] = {\n        mode: match[1][0],\n        collection: match[2] === '*',\n        optional: match[3] === '?',\n        attrName: match[4] || scopeName\n      };\n    });\n\n    return bindings;\n  }\n\n  function parseDirectiveBindings(directive, directiveName) {\n    var bindings = {\n      isolateScope: null,\n      bindToController: null\n    };\n    if (isObject(directive.scope)) {\n      if (directive.bindToController === true) {\n        bindings.bindToController = parseIsolateBindings(directive.scope,\n                                                         directiveName, true);\n        bindings.isolateScope = {};\n      } else {\n        bindings.isolateScope = parseIsolateBindings(directive.scope,\n                                                     directiveName, false);\n      }\n    }\n    if (isObject(directive.bindToController)) {\n      bindings.bindToController =\n          parseIsolateBindings(directive.bindToController, directiveName, true);\n    }\n    if (isObject(bindings.bindToController)) {\n      var controller = directive.controller;\n      var controllerAs = directive.controllerAs;\n      if (!controller) {\n        // There is no controller, there may or may not be a controllerAs property\n        throw $compileMinErr('noctrl',\n              \"Cannot bind to controller without directive '{0}'s controller.\",\n              directiveName);\n      } else if (!identifierForController(controller, controllerAs)) {\n        // There is a controller, but no identifier or controllerAs property\n        throw $compileMinErr('noident',\n              \"Cannot bind to controller without identifier for directive '{0}'.\",\n              directiveName);\n      }\n    }\n    return bindings;\n  }\n\n  function assertValidDirectiveName(name) {\n    var letter = name.charAt(0);\n    if (!letter || letter !== lowercase(letter)) {\n      throw $compileMinErr('baddir', \"Directive name '{0}' is invalid. The first character must be a lowercase letter\", name);\n    }\n    if (name !== name.trim()) {\n      throw $compileMinErr('baddir',\n            \"Directive name '{0}' is invalid. The name should not contain leading or trailing whitespaces\",\n            name);\n    }\n  }\n\n  /**\n   * @ngdoc method\n   * @name $compileProvider#directive\n   * @kind function\n   *\n   * @description\n   * Register a new directive with the compiler.\n   *\n   * @param {string|Object} name Name of the directive in camel-case (i.e. <code>ngBind</code> which\n   *    will match as <code>ng-bind</code>), or an object map of directives where the keys are the\n   *    names and the values are the factories.\n   * @param {Function|Array} directiveFactory An injectable directive factory function. See\n   *    {@link guide/directive} for more info.\n   * @returns {ng.$compileProvider} Self for chaining.\n   */\n   this.directive = function registerDirective(name, directiveFactory) {\n    assertNotHasOwnProperty(name, 'directive');\n    if (isString(name)) {\n      assertValidDirectiveName(name);\n      assertArg(directiveFactory, 'directiveFactory');\n      if (!hasDirectives.hasOwnProperty(name)) {\n        hasDirectives[name] = [];\n        $provide.factory(name + Suffix, ['$injector', '$exceptionHandler',\n          function($injector, $exceptionHandler) {\n            var directives = [];\n            forEach(hasDirectives[name], function(directiveFactory, index) {\n              try {\n                var directive = $injector.invoke(directiveFactory);\n                if (isFunction(directive)) {\n                  directive = { compile: valueFn(directive) };\n                } else if (!directive.compile && directive.link) {\n                  directive.compile = valueFn(directive.link);\n                }\n                directive.priority = directive.priority || 0;\n                directive.index = index;\n                directive.name = directive.name || name;\n                directive.require = directive.require || (directive.controller && directive.name);\n                directive.restrict = directive.restrict || 'EA';\n                var bindings = directive.$$bindings =\n                    parseDirectiveBindings(directive, directive.name);\n                if (isObject(bindings.isolateScope)) {\n                  directive.$$isolateBindings = bindings.isolateScope;\n                }\n                directive.$$moduleName = directiveFactory.$$moduleName;\n                directives.push(directive);\n              } catch (e) {\n                $exceptionHandler(e);\n              }\n            });\n            return directives;\n          }]);\n      }\n      hasDirectives[name].push(directiveFactory);\n    } else {\n      forEach(name, reverseParams(registerDirective));\n    }\n    return this;\n  };\n\n\n  /**\n   * @ngdoc method\n   * @name $compileProvider#aHrefSanitizationWhitelist\n   * @kind function\n   *\n   * @description\n   * Retrieves or overrides the default regular expression that is used for whitelisting of safe\n   * urls during a[href] sanitization.\n   *\n   * The sanitization is a security measure aimed at preventing XSS attacks via html links.\n   *\n   * Any url about to be assigned to a[href] via data-binding is first normalized and turned into\n   * an absolute url. Afterwards, the url is matched against the `aHrefSanitizationWhitelist`\n   * regular expression. If a match is found, the original url is written into the dom. Otherwise,\n   * the absolute url is prefixed with `'unsafe:'` string and only then is it written into the DOM.\n   *\n   * @param {RegExp=} regexp New regexp to whitelist urls with.\n   * @returns {RegExp|ng.$compileProvider} Current RegExp if called without value or self for\n   *    chaining otherwise.\n   */\n  this.aHrefSanitizationWhitelist = function(regexp) {\n    if (isDefined(regexp)) {\n      $$sanitizeUriProvider.aHrefSanitizationWhitelist(regexp);\n      return this;\n    } else {\n      return $$sanitizeUriProvider.aHrefSanitizationWhitelist();\n    }\n  };\n\n\n  /**\n   * @ngdoc method\n   * @name $compileProvider#imgSrcSanitizationWhitelist\n   * @kind function\n   *\n   * @description\n   * Retrieves or overrides the default regular expression that is used for whitelisting of safe\n   * urls during img[src] sanitization.\n   *\n   * The sanitization is a security measure aimed at prevent XSS attacks via html links.\n   *\n   * Any url about to be assigned to img[src] via data-binding is first normalized and turned into\n   * an absolute url. Afterwards, the url is matched against the `imgSrcSanitizationWhitelist`\n   * regular expression. If a match is found, the original url is written into the dom. Otherwise,\n   * the absolute url is prefixed with `'unsafe:'` string and only then is it written into the DOM.\n   *\n   * @param {RegExp=} regexp New regexp to whitelist urls with.\n   * @returns {RegExp|ng.$compileProvider} Current RegExp if called without value or self for\n   *    chaining otherwise.\n   */\n  this.imgSrcSanitizationWhitelist = function(regexp) {\n    if (isDefined(regexp)) {\n      $$sanitizeUriProvider.imgSrcSanitizationWhitelist(regexp);\n      return this;\n    } else {\n      return $$sanitizeUriProvider.imgSrcSanitizationWhitelist();\n    }\n  };\n\n  /**\n   * @ngdoc method\n   * @name  $compileProvider#debugInfoEnabled\n   *\n   * @param {boolean=} enabled update the debugInfoEnabled state if provided, otherwise just return the\n   * current debugInfoEnabled state\n   * @returns {*} current value if used as getter or itself (chaining) if used as setter\n   *\n   * @kind function\n   *\n   * @description\n   * Call this method to enable/disable various debug runtime information in the compiler such as adding\n   * binding information and a reference to the current scope on to DOM elements.\n   * If enabled, the compiler will add the following to DOM elements that have been bound to the scope\n   * * `ng-binding` CSS class\n   * * `$binding` data property containing an array of the binding expressions\n   *\n   * You may want to disable this in production for a significant performance boost. See\n   * {@link guide/production#disabling-debug-data Disabling Debug Data} for more.\n   *\n   * The default value is true.\n   */\n  var debugInfoEnabled = true;\n  this.debugInfoEnabled = function(enabled) {\n    if (isDefined(enabled)) {\n      debugInfoEnabled = enabled;\n      return this;\n    }\n    return debugInfoEnabled;\n  };\n\n  this.$get = [\n            '$injector', '$interpolate', '$exceptionHandler', '$templateRequest', '$parse',\n            '$controller', '$rootScope', '$document', '$sce', '$animate', '$$sanitizeUri',\n    function($injector,   $interpolate,   $exceptionHandler,   $templateRequest,   $parse,\n             $controller,   $rootScope,   $document,   $sce,   $animate,   $$sanitizeUri) {\n\n    var Attributes = function(element, attributesToCopy) {\n      if (attributesToCopy) {\n        var keys = Object.keys(attributesToCopy);\n        var i, l, key;\n\n        for (i = 0, l = keys.length; i < l; i++) {\n          key = keys[i];\n          this[key] = attributesToCopy[key];\n        }\n      } else {\n        this.$attr = {};\n      }\n\n      this.$$element = element;\n    };\n\n    Attributes.prototype = {\n      /**\n       * @ngdoc method\n       * @name $compile.directive.Attributes#$normalize\n       * @kind function\n       *\n       * @description\n       * Converts an attribute name (e.g. dash/colon/underscore-delimited string, optionally prefixed with `x-` or\n       * `data-`) to its normalized, camelCase form.\n       *\n       * Also there is special case for Moz prefix starting with upper case letter.\n       *\n       * For further information check out the guide on {@link guide/directive#matching-directives Matching Directives}\n       *\n       * @param {string} name Name to normalize\n       */\n      $normalize: directiveNormalize,\n\n\n      /**\n       * @ngdoc method\n       * @name $compile.directive.Attributes#$addClass\n       * @kind function\n       *\n       * @description\n       * Adds the CSS class value specified by the classVal parameter to the element. If animations\n       * are enabled then an animation will be triggered for the class addition.\n       *\n       * @param {string} classVal The className value that will be added to the element\n       */\n      $addClass: function(classVal) {\n        if (classVal && classVal.length > 0) {\n          $animate.addClass(this.$$element, classVal);\n        }\n      },\n\n      /**\n       * @ngdoc method\n       * @name $compile.directive.Attributes#$removeClass\n       * @kind function\n       *\n       * @description\n       * Removes the CSS class value specified by the classVal parameter from the element. If\n       * animations are enabled then an animation will be triggered for the class removal.\n       *\n       * @param {string} classVal The className value that will be removed from the element\n       */\n      $removeClass: function(classVal) {\n        if (classVal && classVal.length > 0) {\n          $animate.removeClass(this.$$element, classVal);\n        }\n      },\n\n      /**\n       * @ngdoc method\n       * @name $compile.directive.Attributes#$updateClass\n       * @kind function\n       *\n       * @description\n       * Adds and removes the appropriate CSS class values to the element based on the difference\n       * between the new and old CSS class values (specified as newClasses and oldClasses).\n       *\n       * @param {string} newClasses The current CSS className value\n       * @param {string} oldClasses The former CSS className value\n       */\n      $updateClass: function(newClasses, oldClasses) {\n        var toAdd = tokenDifference(newClasses, oldClasses);\n        if (toAdd && toAdd.length) {\n          $animate.addClass(this.$$element, toAdd);\n        }\n\n        var toRemove = tokenDifference(oldClasses, newClasses);\n        if (toRemove && toRemove.length) {\n          $animate.removeClass(this.$$element, toRemove);\n        }\n      },\n\n      /**\n       * Set a normalized attribute on the element in a way such that all directives\n       * can share the attribute. This function properly handles boolean attributes.\n       * @param {string} key Normalized key. (ie ngAttribute)\n       * @param {string|boolean} value The value to set. If `null` attribute will be deleted.\n       * @param {boolean=} writeAttr If false, does not write the value to DOM element attribute.\n       *     Defaults to true.\n       * @param {string=} attrName Optional none normalized name. Defaults to key.\n       */\n      $set: function(key, value, writeAttr, attrName) {\n        // TODO: decide whether or not to throw an error if \"class\"\n        //is set through this function since it may cause $updateClass to\n        //become unstable.\n\n        var node = this.$$element[0],\n            booleanKey = getBooleanAttrName(node, key),\n            aliasedKey = getAliasedAttrName(key),\n            observer = key,\n            nodeName;\n\n        if (booleanKey) {\n          this.$$element.prop(key, value);\n          attrName = booleanKey;\n        } else if (aliasedKey) {\n          this[aliasedKey] = value;\n          observer = aliasedKey;\n        }\n\n        this[key] = value;\n\n        // translate normalized key to actual key\n        if (attrName) {\n          this.$attr[key] = attrName;\n        } else {\n          attrName = this.$attr[key];\n          if (!attrName) {\n            this.$attr[key] = attrName = snake_case(key, '-');\n          }\n        }\n\n        nodeName = nodeName_(this.$$element);\n\n        if ((nodeName === 'a' && key === 'href') ||\n            (nodeName === 'img' && key === 'src')) {\n          // sanitize a[href] and img[src] values\n          this[key] = value = $$sanitizeUri(value, key === 'src');\n        } else if (nodeName === 'img' && key === 'srcset') {\n          // sanitize img[srcset] values\n          var result = \"\";\n\n          // first check if there are spaces because it's not the same pattern\n          var trimmedSrcset = trim(value);\n          //                (   999x   ,|   999w   ,|   ,|,   )\n          var srcPattern = /(\\s+\\d+x\\s*,|\\s+\\d+w\\s*,|\\s+,|,\\s+)/;\n          var pattern = /\\s/.test(trimmedSrcset) ? srcPattern : /(,)/;\n\n          // split srcset into tuple of uri and descriptor except for the last item\n          var rawUris = trimmedSrcset.split(pattern);\n\n          // for each tuples\n          var nbrUrisWith2parts = Math.floor(rawUris.length / 2);\n          for (var i = 0; i < nbrUrisWith2parts; i++) {\n            var innerIdx = i * 2;\n            // sanitize the uri\n            result += $$sanitizeUri(trim(rawUris[innerIdx]), true);\n            // add the descriptor\n            result += (\" \" + trim(rawUris[innerIdx + 1]));\n          }\n\n          // split the last item into uri and descriptor\n          var lastTuple = trim(rawUris[i * 2]).split(/\\s/);\n\n          // sanitize the last uri\n          result += $$sanitizeUri(trim(lastTuple[0]), true);\n\n          // and add the last descriptor if any\n          if (lastTuple.length === 2) {\n            result += (\" \" + trim(lastTuple[1]));\n          }\n          this[key] = value = result;\n        }\n\n        if (writeAttr !== false) {\n          if (value === null || isUndefined(value)) {\n            this.$$element.removeAttr(attrName);\n          } else {\n            this.$$element.attr(attrName, value);\n          }\n        }\n\n        // fire observers\n        var $$observers = this.$$observers;\n        $$observers && forEach($$observers[observer], function(fn) {\n          try {\n            fn(value);\n          } catch (e) {\n            $exceptionHandler(e);\n          }\n        });\n      },\n\n\n      /**\n       * @ngdoc method\n       * @name $compile.directive.Attributes#$observe\n       * @kind function\n       *\n       * @description\n       * Observes an interpolated attribute.\n       *\n       * The observer function will be invoked once during the next `$digest` following\n       * compilation. The observer is then invoked whenever the interpolated value\n       * changes.\n       *\n       * @param {string} key Normalized key. (ie ngAttribute) .\n       * @param {function(interpolatedValue)} fn Function that will be called whenever\n                the interpolated value of the attribute changes.\n       *        See the {@link guide/directive#text-and-attribute-bindings Directives} guide for more info.\n       * @returns {function()} Returns a deregistration function for this observer.\n       */\n      $observe: function(key, fn) {\n        var attrs = this,\n            $$observers = (attrs.$$observers || (attrs.$$observers = createMap())),\n            listeners = ($$observers[key] || ($$observers[key] = []));\n\n        listeners.push(fn);\n        $rootScope.$evalAsync(function() {\n          if (!listeners.$$inter && attrs.hasOwnProperty(key) && !isUndefined(attrs[key])) {\n            // no one registered attribute interpolation function, so lets call it manually\n            fn(attrs[key]);\n          }\n        });\n\n        return function() {\n          arrayRemove(listeners, fn);\n        };\n      }\n    };\n\n\n    function safeAddClass($element, className) {\n      try {\n        $element.addClass(className);\n      } catch (e) {\n        // ignore, since it means that we are trying to set class on\n        // SVG element, where class name is read-only.\n      }\n    }\n\n\n    var startSymbol = $interpolate.startSymbol(),\n        endSymbol = $interpolate.endSymbol(),\n        denormalizeTemplate = (startSymbol == '{{' || endSymbol  == '}}')\n            ? identity\n            : function denormalizeTemplate(template) {\n              return template.replace(/\\{\\{/g, startSymbol).replace(/}}/g, endSymbol);\n        },\n        NG_ATTR_BINDING = /^ngAttr[A-Z]/;\n    var MULTI_ELEMENT_DIR_RE = /^(.+)Start$/;\n\n    compile.$$addBindingInfo = debugInfoEnabled ? function $$addBindingInfo($element, binding) {\n      var bindings = $element.data('$binding') || [];\n\n      if (isArray(binding)) {\n        bindings = bindings.concat(binding);\n      } else {\n        bindings.push(binding);\n      }\n\n      $element.data('$binding', bindings);\n    } : noop;\n\n    compile.$$addBindingClass = debugInfoEnabled ? function $$addBindingClass($element) {\n      safeAddClass($element, 'ng-binding');\n    } : noop;\n\n    compile.$$addScopeInfo = debugInfoEnabled ? function $$addScopeInfo($element, scope, isolated, noTemplate) {\n      var dataName = isolated ? (noTemplate ? '$isolateScopeNoTemplate' : '$isolateScope') : '$scope';\n      $element.data(dataName, scope);\n    } : noop;\n\n    compile.$$addScopeClass = debugInfoEnabled ? function $$addScopeClass($element, isolated) {\n      safeAddClass($element, isolated ? 'ng-isolate-scope' : 'ng-scope');\n    } : noop;\n\n    return compile;\n\n    //================================\n\n    function compile($compileNodes, transcludeFn, maxPriority, ignoreDirective,\n                        previousCompileContext) {\n      if (!($compileNodes instanceof jqLite)) {\n        // jquery always rewraps, whereas we need to preserve the original selector so that we can\n        // modify it.\n        $compileNodes = jqLite($compileNodes);\n      }\n      // We can not compile top level text elements since text nodes can be merged and we will\n      // not be able to attach scope data to them, so we will wrap them in <span>\n      forEach($compileNodes, function(node, index) {\n        if (node.nodeType == NODE_TYPE_TEXT && node.nodeValue.match(/\\S+/) /* non-empty */ ) {\n          $compileNodes[index] = jqLite(node).wrap('<span></span>').parent()[0];\n        }\n      });\n      var compositeLinkFn =\n              compileNodes($compileNodes, transcludeFn, $compileNodes,\n                           maxPriority, ignoreDirective, previousCompileContext);\n      compile.$$addScopeClass($compileNodes);\n      var namespace = null;\n      return function publicLinkFn(scope, cloneConnectFn, options) {\n        assertArg(scope, 'scope');\n\n        if (previousCompileContext && previousCompileContext.needsNewScope) {\n          // A parent directive did a replace and a directive on this element asked\n          // for transclusion, which caused us to lose a layer of element on which\n          // we could hold the new transclusion scope, so we will create it manually\n          // here.\n          scope = scope.$parent.$new();\n        }\n\n        options = options || {};\n        var parentBoundTranscludeFn = options.parentBoundTranscludeFn,\n          transcludeControllers = options.transcludeControllers,\n          futureParentElement = options.futureParentElement;\n\n        // When `parentBoundTranscludeFn` is passed, it is a\n        // `controllersBoundTransclude` function (it was previously passed\n        // as `transclude` to directive.link) so we must unwrap it to get\n        // its `boundTranscludeFn`\n        if (parentBoundTranscludeFn && parentBoundTranscludeFn.$$boundTransclude) {\n          parentBoundTranscludeFn = parentBoundTranscludeFn.$$boundTransclude;\n        }\n\n        if (!namespace) {\n          namespace = detectNamespaceForChildElements(futureParentElement);\n        }\n        var $linkNode;\n        if (namespace !== 'html') {\n          // When using a directive with replace:true and templateUrl the $compileNodes\n          // (or a child element inside of them)\n          // might change, so we need to recreate the namespace adapted compileNodes\n          // for call to the link function.\n          // Note: This will already clone the nodes...\n          $linkNode = jqLite(\n            wrapTemplate(namespace, jqLite('<div>').append($compileNodes).html())\n          );\n        } else if (cloneConnectFn) {\n          // important!!: we must call our jqLite.clone() since the jQuery one is trying to be smart\n          // and sometimes changes the structure of the DOM.\n          $linkNode = JQLitePrototype.clone.call($compileNodes);\n        } else {\n          $linkNode = $compileNodes;\n        }\n\n        if (transcludeControllers) {\n          for (var controllerName in transcludeControllers) {\n            $linkNode.data('$' + controllerName + 'Controller', transcludeControllers[controllerName].instance);\n          }\n        }\n\n        compile.$$addScopeInfo($linkNode, scope);\n\n        if (cloneConnectFn) cloneConnectFn($linkNode, scope);\n        if (compositeLinkFn) compositeLinkFn(scope, $linkNode, $linkNode, parentBoundTranscludeFn);\n        return $linkNode;\n      };\n    }\n\n    function detectNamespaceForChildElements(parentElement) {\n      // TODO: Make this detect MathML as well...\n      var node = parentElement && parentElement[0];\n      if (!node) {\n        return 'html';\n      } else {\n        return nodeName_(node) !== 'foreignobject' && node.toString().match(/SVG/) ? 'svg' : 'html';\n      }\n    }\n\n    /**\n     * Compile function matches each node in nodeList against the directives. Once all directives\n     * for a particular node are collected their compile functions are executed. The compile\n     * functions return values - the linking functions - are combined into a composite linking\n     * function, which is the a linking function for the node.\n     *\n     * @param {NodeList} nodeList an array of nodes or NodeList to compile\n     * @param {function(angular.Scope, cloneAttachFn=)} transcludeFn A linking function, where the\n     *        scope argument is auto-generated to the new child of the transcluded parent scope.\n     * @param {DOMElement=} $rootElement If the nodeList is the root of the compilation tree then\n     *        the rootElement must be set the jqLite collection of the compile root. This is\n     *        needed so that the jqLite collection items can be replaced with widgets.\n     * @param {number=} maxPriority Max directive priority.\n     * @returns {Function} A composite linking function of all of the matched directives or null.\n     */\n    function compileNodes(nodeList, transcludeFn, $rootElement, maxPriority, ignoreDirective,\n                            previousCompileContext) {\n      var linkFns = [],\n          attrs, directives, nodeLinkFn, childNodes, childLinkFn, linkFnFound, nodeLinkFnFound;\n\n      for (var i = 0; i < nodeList.length; i++) {\n        attrs = new Attributes();\n\n        // we must always refer to nodeList[i] since the nodes can be replaced underneath us.\n        directives = collectDirectives(nodeList[i], [], attrs, i === 0 ? maxPriority : undefined,\n                                        ignoreDirective);\n\n        nodeLinkFn = (directives.length)\n            ? applyDirectivesToNode(directives, nodeList[i], attrs, transcludeFn, $rootElement,\n                                      null, [], [], previousCompileContext)\n            : null;\n\n        if (nodeLinkFn && nodeLinkFn.scope) {\n          compile.$$addScopeClass(attrs.$$element);\n        }\n\n        childLinkFn = (nodeLinkFn && nodeLinkFn.terminal ||\n                      !(childNodes = nodeList[i].childNodes) ||\n                      !childNodes.length)\n            ? null\n            : compileNodes(childNodes,\n                 nodeLinkFn ? (\n                  (nodeLinkFn.transcludeOnThisElement || !nodeLinkFn.templateOnThisElement)\n                     && nodeLinkFn.transclude) : transcludeFn);\n\n        if (nodeLinkFn || childLinkFn) {\n          linkFns.push(i, nodeLinkFn, childLinkFn);\n          linkFnFound = true;\n          nodeLinkFnFound = nodeLinkFnFound || nodeLinkFn;\n        }\n\n        //use the previous context only for the first element in the virtual group\n        previousCompileContext = null;\n      }\n\n      // return a linking function if we have found anything, null otherwise\n      return linkFnFound ? compositeLinkFn : null;\n\n      function compositeLinkFn(scope, nodeList, $rootElement, parentBoundTranscludeFn) {\n        var nodeLinkFn, childLinkFn, node, childScope, i, ii, idx, childBoundTranscludeFn;\n        var stableNodeList;\n\n\n        if (nodeLinkFnFound) {\n          // copy nodeList so that if a nodeLinkFn removes or adds an element at this DOM level our\n          // offsets don't get screwed up\n          var nodeListLength = nodeList.length;\n          stableNodeList = new Array(nodeListLength);\n\n          // create a sparse array by only copying the elements which have a linkFn\n          for (i = 0; i < linkFns.length; i+=3) {\n            idx = linkFns[i];\n            stableNodeList[idx] = nodeList[idx];\n          }\n        } else {\n          stableNodeList = nodeList;\n        }\n\n        for (i = 0, ii = linkFns.length; i < ii;) {\n          node = stableNodeList[linkFns[i++]];\n          nodeLinkFn = linkFns[i++];\n          childLinkFn = linkFns[i++];\n\n          if (nodeLinkFn) {\n            if (nodeLinkFn.scope) {\n              childScope = scope.$new();\n              compile.$$addScopeInfo(jqLite(node), childScope);\n            } else {\n              childScope = scope;\n            }\n\n            if (nodeLinkFn.transcludeOnThisElement) {\n              childBoundTranscludeFn = createBoundTranscludeFn(\n                  scope, nodeLinkFn.transclude, parentBoundTranscludeFn);\n\n            } else if (!nodeLinkFn.templateOnThisElement && parentBoundTranscludeFn) {\n              childBoundTranscludeFn = parentBoundTranscludeFn;\n\n            } else if (!parentBoundTranscludeFn && transcludeFn) {\n              childBoundTranscludeFn = createBoundTranscludeFn(scope, transcludeFn);\n\n            } else {\n              childBoundTranscludeFn = null;\n            }\n\n            nodeLinkFn(childLinkFn, childScope, node, $rootElement, childBoundTranscludeFn);\n\n          } else if (childLinkFn) {\n            childLinkFn(scope, node.childNodes, undefined, parentBoundTranscludeFn);\n          }\n        }\n      }\n    }\n\n    function createBoundTranscludeFn(scope, transcludeFn, previousBoundTranscludeFn) {\n\n      var boundTranscludeFn = function(transcludedScope, cloneFn, controllers, futureParentElement, containingScope) {\n\n        if (!transcludedScope) {\n          transcludedScope = scope.$new(false, containingScope);\n          transcludedScope.$$transcluded = true;\n        }\n\n        return transcludeFn(transcludedScope, cloneFn, {\n          parentBoundTranscludeFn: previousBoundTranscludeFn,\n          transcludeControllers: controllers,\n          futureParentElement: futureParentElement\n        });\n      };\n\n      return boundTranscludeFn;\n    }\n\n    /**\n     * Looks for directives on the given node and adds them to the directive collection which is\n     * sorted.\n     *\n     * @param node Node to search.\n     * @param directives An array to which the directives are added to. This array is sorted before\n     *        the function returns.\n     * @param attrs The shared attrs object which is used to populate the normalized attributes.\n     * @param {number=} maxPriority Max directive priority.\n     */\n    function collectDirectives(node, directives, attrs, maxPriority, ignoreDirective) {\n      var nodeType = node.nodeType,\n          attrsMap = attrs.$attr,\n          match,\n          className;\n\n      switch (nodeType) {\n        case NODE_TYPE_ELEMENT: /* Element */\n          // use the node name: <directive>\n          addDirective(directives,\n              directiveNormalize(nodeName_(node)), 'E', maxPriority, ignoreDirective);\n\n          // iterate over the attributes\n          for (var attr, name, nName, ngAttrName, value, isNgAttr, nAttrs = node.attributes,\n                   j = 0, jj = nAttrs && nAttrs.length; j < jj; j++) {\n            var attrStartName = false;\n            var attrEndName = false;\n\n            attr = nAttrs[j];\n            name = attr.name;\n            value = trim(attr.value);\n\n            // support ngAttr attribute binding\n            ngAttrName = directiveNormalize(name);\n            if (isNgAttr = NG_ATTR_BINDING.test(ngAttrName)) {\n              name = name.replace(PREFIX_REGEXP, '')\n                .substr(8).replace(/_(.)/g, function(match, letter) {\n                  return letter.toUpperCase();\n                });\n            }\n\n            var multiElementMatch = ngAttrName.match(MULTI_ELEMENT_DIR_RE);\n            if (multiElementMatch && directiveIsMultiElement(multiElementMatch[1])) {\n              attrStartName = name;\n              attrEndName = name.substr(0, name.length - 5) + 'end';\n              name = name.substr(0, name.length - 6);\n            }\n\n            nName = directiveNormalize(name.toLowerCase());\n            attrsMap[nName] = name;\n            if (isNgAttr || !attrs.hasOwnProperty(nName)) {\n                attrs[nName] = value;\n                if (getBooleanAttrName(node, nName)) {\n                  attrs[nName] = true; // presence means true\n                }\n            }\n            addAttrInterpolateDirective(node, directives, value, nName, isNgAttr);\n            addDirective(directives, nName, 'A', maxPriority, ignoreDirective, attrStartName,\n                          attrEndName);\n          }\n\n          // use class as directive\n          className = node.className;\n          if (isObject(className)) {\n              // Maybe SVGAnimatedString\n              className = className.animVal;\n          }\n          if (isString(className) && className !== '') {\n            while (match = CLASS_DIRECTIVE_REGEXP.exec(className)) {\n              nName = directiveNormalize(match[2]);\n              if (addDirective(directives, nName, 'C', maxPriority, ignoreDirective)) {\n                attrs[nName] = trim(match[3]);\n              }\n              className = className.substr(match.index + match[0].length);\n            }\n          }\n          break;\n        case NODE_TYPE_TEXT: /* Text Node */\n          if (msie === 11) {\n            // Workaround for #11781\n            while (node.parentNode && node.nextSibling && node.nextSibling.nodeType === NODE_TYPE_TEXT) {\n              node.nodeValue = node.nodeValue + node.nextSibling.nodeValue;\n              node.parentNode.removeChild(node.nextSibling);\n            }\n          }\n          addTextInterpolateDirective(directives, node.nodeValue);\n          break;\n        case NODE_TYPE_COMMENT: /* Comment */\n          try {\n            match = COMMENT_DIRECTIVE_REGEXP.exec(node.nodeValue);\n            if (match) {\n              nName = directiveNormalize(match[1]);\n              if (addDirective(directives, nName, 'M', maxPriority, ignoreDirective)) {\n                attrs[nName] = trim(match[2]);\n              }\n            }\n          } catch (e) {\n            // turns out that under some circumstances IE9 throws errors when one attempts to read\n            // comment's node value.\n            // Just ignore it and continue. (Can't seem to reproduce in test case.)\n          }\n          break;\n      }\n\n      directives.sort(byPriority);\n      return directives;\n    }\n\n    /**\n     * Given a node with an directive-start it collects all of the siblings until it finds\n     * directive-end.\n     * @param node\n     * @param attrStart\n     * @param attrEnd\n     * @returns {*}\n     */\n    function groupScan(node, attrStart, attrEnd) {\n      var nodes = [];\n      var depth = 0;\n      if (attrStart && node.hasAttribute && node.hasAttribute(attrStart)) {\n        do {\n          if (!node) {\n            throw $compileMinErr('uterdir',\n                      \"Unterminated attribute, found '{0}' but no matching '{1}' found.\",\n                      attrStart, attrEnd);\n          }\n          if (node.nodeType == NODE_TYPE_ELEMENT) {\n            if (node.hasAttribute(attrStart)) depth++;\n            if (node.hasAttribute(attrEnd)) depth--;\n          }\n          nodes.push(node);\n          node = node.nextSibling;\n        } while (depth > 0);\n      } else {\n        nodes.push(node);\n      }\n\n      return jqLite(nodes);\n    }\n\n    /**\n     * Wrapper for linking function which converts normal linking function into a grouped\n     * linking function.\n     * @param linkFn\n     * @param attrStart\n     * @param attrEnd\n     * @returns {Function}\n     */\n    function groupElementsLinkFnWrapper(linkFn, attrStart, attrEnd) {\n      return function(scope, element, attrs, controllers, transcludeFn) {\n        element = groupScan(element[0], attrStart, attrEnd);\n        return linkFn(scope, element, attrs, controllers, transcludeFn);\n      };\n    }\n\n    /**\n     * Once the directives have been collected, their compile functions are executed. This method\n     * is responsible for inlining directive templates as well as terminating the application\n     * of the directives if the terminal directive has been reached.\n     *\n     * @param {Array} directives Array of collected directives to execute their compile function.\n     *        this needs to be pre-sorted by priority order.\n     * @param {Node} compileNode The raw DOM node to apply the compile functions to\n     * @param {Object} templateAttrs The shared attribute function\n     * @param {function(angular.Scope, cloneAttachFn=)} transcludeFn A linking function, where the\n     *                                                  scope argument is auto-generated to the new\n     *                                                  child of the transcluded parent scope.\n     * @param {JQLite} jqCollection If we are working on the root of the compile tree then this\n     *                              argument has the root jqLite array so that we can replace nodes\n     *                              on it.\n     * @param {Object=} originalReplaceDirective An optional directive that will be ignored when\n     *                                           compiling the transclusion.\n     * @param {Array.<Function>} preLinkFns\n     * @param {Array.<Function>} postLinkFns\n     * @param {Object} previousCompileContext Context used for previous compilation of the current\n     *                                        node\n     * @returns {Function} linkFn\n     */\n    function applyDirectivesToNode(directives, compileNode, templateAttrs, transcludeFn,\n                                   jqCollection, originalReplaceDirective, preLinkFns, postLinkFns,\n                                   previousCompileContext) {\n      previousCompileContext = previousCompileContext || {};\n\n      var terminalPriority = -Number.MAX_VALUE,\n          newScopeDirective = previousCompileContext.newScopeDirective,\n          controllerDirectives = previousCompileContext.controllerDirectives,\n          newIsolateScopeDirective = previousCompileContext.newIsolateScopeDirective,\n          templateDirective = previousCompileContext.templateDirective,\n          nonTlbTranscludeDirective = previousCompileContext.nonTlbTranscludeDirective,\n          hasTranscludeDirective = false,\n          hasTemplate = false,\n          hasElementTranscludeDirective = previousCompileContext.hasElementTranscludeDirective,\n          $compileNode = templateAttrs.$$element = jqLite(compileNode),\n          directive,\n          directiveName,\n          $template,\n          replaceDirective = originalReplaceDirective,\n          childTranscludeFn = transcludeFn,\n          linkFn,\n          directiveValue;\n\n      // executes all directives on the current element\n      for (var i = 0, ii = directives.length; i < ii; i++) {\n        directive = directives[i];\n        var attrStart = directive.$$start;\n        var attrEnd = directive.$$end;\n\n        // collect multiblock sections\n        if (attrStart) {\n          $compileNode = groupScan(compileNode, attrStart, attrEnd);\n        }\n        $template = undefined;\n\n        if (terminalPriority > directive.priority) {\n          break; // prevent further processing of directives\n        }\n\n        if (directiveValue = directive.scope) {\n\n          // skip the check for directives with async templates, we'll check the derived sync\n          // directive when the template arrives\n          if (!directive.templateUrl) {\n            if (isObject(directiveValue)) {\n              // This directive is trying to add an isolated scope.\n              // Check that there is no scope of any kind already\n              assertNoDuplicate('new/isolated scope', newIsolateScopeDirective || newScopeDirective,\n                                directive, $compileNode);\n              newIsolateScopeDirective = directive;\n            } else {\n              // This directive is trying to add a child scope.\n              // Check that there is no isolated scope already\n              assertNoDuplicate('new/isolated scope', newIsolateScopeDirective, directive,\n                                $compileNode);\n            }\n          }\n\n          newScopeDirective = newScopeDirective || directive;\n        }\n\n        directiveName = directive.name;\n\n        if (!directive.templateUrl && directive.controller) {\n          directiveValue = directive.controller;\n          controllerDirectives = controllerDirectives || createMap();\n          assertNoDuplicate(\"'\" + directiveName + \"' controller\",\n              controllerDirectives[directiveName], directive, $compileNode);\n          controllerDirectives[directiveName] = directive;\n        }\n\n        if (directiveValue = directive.transclude) {\n          hasTranscludeDirective = true;\n\n          // Special case ngIf and ngRepeat so that we don't complain about duplicate transclusion.\n          // This option should only be used by directives that know how to safely handle element transclusion,\n          // where the transcluded nodes are added or replaced after linking.\n          if (!directive.$$tlb) {\n            assertNoDuplicate('transclusion', nonTlbTranscludeDirective, directive, $compileNode);\n            nonTlbTranscludeDirective = directive;\n          }\n\n          if (directiveValue == 'element') {\n            hasElementTranscludeDirective = true;\n            terminalPriority = directive.priority;\n            $template = $compileNode;\n            $compileNode = templateAttrs.$$element =\n                jqLite(document.createComment(' ' + directiveName + ': ' +\n                                              templateAttrs[directiveName] + ' '));\n            compileNode = $compileNode[0];\n            replaceWith(jqCollection, sliceArgs($template), compileNode);\n\n            childTranscludeFn = compile($template, transcludeFn, terminalPriority,\n                                        replaceDirective && replaceDirective.name, {\n                                          // Don't pass in:\n                                          // - controllerDirectives - otherwise we'll create duplicates controllers\n                                          // - newIsolateScopeDirective or templateDirective - combining templates with\n                                          //   element transclusion doesn't make sense.\n                                          //\n                                          // We need only nonTlbTranscludeDirective so that we prevent putting transclusion\n                                          // on the same element more than once.\n                                          nonTlbTranscludeDirective: nonTlbTranscludeDirective\n                                        });\n          } else {\n            $template = jqLite(jqLiteClone(compileNode)).contents();\n            $compileNode.empty(); // clear contents\n            childTranscludeFn = compile($template, transcludeFn, undefined,\n                undefined, { needsNewScope: directive.$$isolateScope || directive.$$newScope});\n          }\n        }\n\n        if (directive.template) {\n          hasTemplate = true;\n          assertNoDuplicate('template', templateDirective, directive, $compileNode);\n          templateDirective = directive;\n\n          directiveValue = (isFunction(directive.template))\n              ? directive.template($compileNode, templateAttrs)\n              : directive.template;\n\n          directiveValue = denormalizeTemplate(directiveValue);\n\n          if (directive.replace) {\n            replaceDirective = directive;\n            if (jqLiteIsTextNode(directiveValue)) {\n              $template = [];\n            } else {\n              $template = removeComments(wrapTemplate(directive.templateNamespace, trim(directiveValue)));\n            }\n            compileNode = $template[0];\n\n            if ($template.length != 1 || compileNode.nodeType !== NODE_TYPE_ELEMENT) {\n              throw $compileMinErr('tplrt',\n                  \"Template for directive '{0}' must have exactly one root element. {1}\",\n                  directiveName, '');\n            }\n\n            replaceWith(jqCollection, $compileNode, compileNode);\n\n            var newTemplateAttrs = {$attr: {}};\n\n            // combine directives from the original node and from the template:\n            // - take the array of directives for this element\n            // - split it into two parts, those that already applied (processed) and those that weren't (unprocessed)\n            // - collect directives from the template and sort them by priority\n            // - combine directives as: processed + template + unprocessed\n            var templateDirectives = collectDirectives(compileNode, [], newTemplateAttrs);\n            var unprocessedDirectives = directives.splice(i + 1, directives.length - (i + 1));\n\n            if (newIsolateScopeDirective || newScopeDirective) {\n              // The original directive caused the current element to be replaced but this element\n              // also needs to have a new scope, so we need to tell the template directives\n              // that they would need to get their scope from further up, if they require transclusion\n              markDirectiveScope(templateDirectives, newIsolateScopeDirective, newScopeDirective);\n            }\n            directives = directives.concat(templateDirectives).concat(unprocessedDirectives);\n            mergeTemplateAttributes(templateAttrs, newTemplateAttrs);\n\n            ii = directives.length;\n          } else {\n            $compileNode.html(directiveValue);\n          }\n        }\n\n        if (directive.templateUrl) {\n          hasTemplate = true;\n          assertNoDuplicate('template', templateDirective, directive, $compileNode);\n          templateDirective = directive;\n\n          if (directive.replace) {\n            replaceDirective = directive;\n          }\n\n          nodeLinkFn = compileTemplateUrl(directives.splice(i, directives.length - i), $compileNode,\n              templateAttrs, jqCollection, hasTranscludeDirective && childTranscludeFn, preLinkFns, postLinkFns, {\n                controllerDirectives: controllerDirectives,\n                newScopeDirective: (newScopeDirective !== directive) && newScopeDirective,\n                newIsolateScopeDirective: newIsolateScopeDirective,\n                templateDirective: templateDirective,\n                nonTlbTranscludeDirective: nonTlbTranscludeDirective\n              });\n          ii = directives.length;\n        } else if (directive.compile) {\n          try {\n            linkFn = directive.compile($compileNode, templateAttrs, childTranscludeFn);\n            if (isFunction(linkFn)) {\n              addLinkFns(null, linkFn, attrStart, attrEnd);\n            } else if (linkFn) {\n              addLinkFns(linkFn.pre, linkFn.post, attrStart, attrEnd);\n            }\n          } catch (e) {\n            $exceptionHandler(e, startingTag($compileNode));\n          }\n        }\n\n        if (directive.terminal) {\n          nodeLinkFn.terminal = true;\n          terminalPriority = Math.max(terminalPriority, directive.priority);\n        }\n\n      }\n\n      nodeLinkFn.scope = newScopeDirective && newScopeDirective.scope === true;\n      nodeLinkFn.transcludeOnThisElement = hasTranscludeDirective;\n      nodeLinkFn.templateOnThisElement = hasTemplate;\n      nodeLinkFn.transclude = childTranscludeFn;\n\n      previousCompileContext.hasElementTranscludeDirective = hasElementTranscludeDirective;\n\n      // might be normal or delayed nodeLinkFn depending on if templateUrl is present\n      return nodeLinkFn;\n\n      ////////////////////\n\n      function addLinkFns(pre, post, attrStart, attrEnd) {\n        if (pre) {\n          if (attrStart) pre = groupElementsLinkFnWrapper(pre, attrStart, attrEnd);\n          pre.require = directive.require;\n          pre.directiveName = directiveName;\n          if (newIsolateScopeDirective === directive || directive.$$isolateScope) {\n            pre = cloneAndAnnotateFn(pre, {isolateScope: true});\n          }\n          preLinkFns.push(pre);\n        }\n        if (post) {\n          if (attrStart) post = groupElementsLinkFnWrapper(post, attrStart, attrEnd);\n          post.require = directive.require;\n          post.directiveName = directiveName;\n          if (newIsolateScopeDirective === directive || directive.$$isolateScope) {\n            post = cloneAndAnnotateFn(post, {isolateScope: true});\n          }\n          postLinkFns.push(post);\n        }\n      }\n\n\n      function getControllers(directiveName, require, $element, elementControllers) {\n        var value;\n\n        if (isString(require)) {\n          var match = require.match(REQUIRE_PREFIX_REGEXP);\n          var name = require.substring(match[0].length);\n          var inheritType = match[1] || match[3];\n          var optional = match[2] === '?';\n\n          //If only parents then start at the parent element\n          if (inheritType === '^^') {\n            $element = $element.parent();\n          //Otherwise attempt getting the controller from elementControllers in case\n          //the element is transcluded (and has no data) and to avoid .data if possible\n          } else {\n            value = elementControllers && elementControllers[name];\n            value = value && value.instance;\n          }\n\n          if (!value) {\n            var dataName = '$' + name + 'Controller';\n            value = inheritType ? $element.inheritedData(dataName) : $element.data(dataName);\n          }\n\n          if (!value && !optional) {\n            throw $compileMinErr('ctreq',\n                \"Controller '{0}', required by directive '{1}', can't be found!\",\n                name, directiveName);\n          }\n        } else if (isArray(require)) {\n          value = [];\n          for (var i = 0, ii = require.length; i < ii; i++) {\n            value[i] = getControllers(directiveName, require[i], $element, elementControllers);\n          }\n        }\n\n        return value || null;\n      }\n\n      function setupControllers($element, attrs, transcludeFn, controllerDirectives, isolateScope, scope) {\n        var elementControllers = createMap();\n        for (var controllerKey in controllerDirectives) {\n          var directive = controllerDirectives[controllerKey];\n          var locals = {\n            $scope: directive === newIsolateScopeDirective || directive.$$isolateScope ? isolateScope : scope,\n            $element: $element,\n            $attrs: attrs,\n            $transclude: transcludeFn\n          };\n\n          var controller = directive.controller;\n          if (controller == '@') {\n            controller = attrs[directive.name];\n          }\n\n          var controllerInstance = $controller(controller, locals, true, directive.controllerAs);\n\n          // For directives with element transclusion the element is a comment,\n          // but jQuery .data doesn't support attaching data to comment nodes as it's hard to\n          // clean up (http://bugs.jquery.com/ticket/8335).\n          // Instead, we save the controllers for the element in a local hash and attach to .data\n          // later, once we have the actual element.\n          elementControllers[directive.name] = controllerInstance;\n          if (!hasElementTranscludeDirective) {\n            $element.data('$' + directive.name + 'Controller', controllerInstance.instance);\n          }\n        }\n        return elementControllers;\n      }\n\n      function nodeLinkFn(childLinkFn, scope, linkNode, $rootElement, boundTranscludeFn) {\n        var linkFn, isolateScope, controllerScope, elementControllers, transcludeFn, $element,\n            attrs, removeScopeBindingWatches, removeControllerBindingWatches;\n\n        if (compileNode === linkNode) {\n          attrs = templateAttrs;\n          $element = templateAttrs.$$element;\n        } else {\n          $element = jqLite(linkNode);\n          attrs = new Attributes($element, templateAttrs);\n        }\n\n        controllerScope = scope;\n        if (newIsolateScopeDirective) {\n          isolateScope = scope.$new(true);\n        } else if (newScopeDirective) {\n          controllerScope = scope.$parent;\n        }\n\n        if (boundTranscludeFn) {\n          // track `boundTranscludeFn` so it can be unwrapped if `transcludeFn`\n          // is later passed as `parentBoundTranscludeFn` to `publicLinkFn`\n          transcludeFn = controllersBoundTransclude;\n          transcludeFn.$$boundTransclude = boundTranscludeFn;\n        }\n\n        if (controllerDirectives) {\n          elementControllers = setupControllers($element, attrs, transcludeFn, controllerDirectives, isolateScope, scope);\n        }\n\n        if (newIsolateScopeDirective) {\n          // Initialize isolate scope bindings for new isolate scope directive.\n          compile.$$addScopeInfo($element, isolateScope, true, !(templateDirective && (templateDirective === newIsolateScopeDirective ||\n              templateDirective === newIsolateScopeDirective.$$originalDirective)));\n          compile.$$addScopeClass($element, true);\n          isolateScope.$$isolateBindings =\n              newIsolateScopeDirective.$$isolateBindings;\n          removeScopeBindingWatches = initializeDirectiveBindings(scope, attrs, isolateScope,\n                                        isolateScope.$$isolateBindings,\n                                        newIsolateScopeDirective);\n          if (removeScopeBindingWatches) {\n            isolateScope.$on('$destroy', removeScopeBindingWatches);\n          }\n        }\n\n        // Initialize bindToController bindings\n        for (var name in elementControllers) {\n          var controllerDirective = controllerDirectives[name];\n          var controller = elementControllers[name];\n          var bindings = controllerDirective.$$bindings.bindToController;\n\n          if (controller.identifier && bindings) {\n            removeControllerBindingWatches =\n              initializeDirectiveBindings(controllerScope, attrs, controller.instance, bindings, controllerDirective);\n          }\n\n          var controllerResult = controller();\n          if (controllerResult !== controller.instance) {\n            // If the controller constructor has a return value, overwrite the instance\n            // from setupControllers\n            controller.instance = controllerResult;\n            $element.data('$' + controllerDirective.name + 'Controller', controllerResult);\n            removeControllerBindingWatches && removeControllerBindingWatches();\n            removeControllerBindingWatches =\n              initializeDirectiveBindings(controllerScope, attrs, controller.instance, bindings, controllerDirective);\n          }\n        }\n\n        // PRELINKING\n        for (i = 0, ii = preLinkFns.length; i < ii; i++) {\n          linkFn = preLinkFns[i];\n          invokeLinkFn(linkFn,\n              linkFn.isolateScope ? isolateScope : scope,\n              $element,\n              attrs,\n              linkFn.require && getControllers(linkFn.directiveName, linkFn.require, $element, elementControllers),\n              transcludeFn\n          );\n        }\n\n        // RECURSION\n        // We only pass the isolate scope, if the isolate directive has a template,\n        // otherwise the child elements do not belong to the isolate directive.\n        var scopeToChild = scope;\n        if (newIsolateScopeDirective && (newIsolateScopeDirective.template || newIsolateScopeDirective.templateUrl === null)) {\n          scopeToChild = isolateScope;\n        }\n        childLinkFn && childLinkFn(scopeToChild, linkNode.childNodes, undefined, boundTranscludeFn);\n\n        // POSTLINKING\n        for (i = postLinkFns.length - 1; i >= 0; i--) {\n          linkFn = postLinkFns[i];\n          invokeLinkFn(linkFn,\n              linkFn.isolateScope ? isolateScope : scope,\n              $element,\n              attrs,\n              linkFn.require && getControllers(linkFn.directiveName, linkFn.require, $element, elementControllers),\n              transcludeFn\n          );\n        }\n\n        // This is the function that is injected as `$transclude`.\n        // Note: all arguments are optional!\n        function controllersBoundTransclude(scope, cloneAttachFn, futureParentElement) {\n          var transcludeControllers;\n\n          // No scope passed in:\n          if (!isScope(scope)) {\n            futureParentElement = cloneAttachFn;\n            cloneAttachFn = scope;\n            scope = undefined;\n          }\n\n          if (hasElementTranscludeDirective) {\n            transcludeControllers = elementControllers;\n          }\n          if (!futureParentElement) {\n            futureParentElement = hasElementTranscludeDirective ? $element.parent() : $element;\n          }\n          return boundTranscludeFn(scope, cloneAttachFn, transcludeControllers, futureParentElement, scopeToChild);\n        }\n      }\n    }\n\n    // Depending upon the context in which a directive finds itself it might need to have a new isolated\n    // or child scope created. For instance:\n    // * if the directive has been pulled into a template because another directive with a higher priority\n    // asked for element transclusion\n    // * if the directive itself asks for transclusion but it is at the root of a template and the original\n    // element was replaced. See https://github.com/angular/angular.js/issues/12936\n    function markDirectiveScope(directives, isolateScope, newScope) {\n      for (var j = 0, jj = directives.length; j < jj; j++) {\n        directives[j] = inherit(directives[j], {$$isolateScope: isolateScope, $$newScope: newScope});\n      }\n    }\n\n    /**\n     * looks up the directive and decorates it with exception handling and proper parameters. We\n     * call this the boundDirective.\n     *\n     * @param {string} name name of the directive to look up.\n     * @param {string} location The directive must be found in specific format.\n     *   String containing any of theses characters:\n     *\n     *   * `E`: element name\n     *   * `A': attribute\n     *   * `C`: class\n     *   * `M`: comment\n     * @returns {boolean} true if directive was added.\n     */\n    function addDirective(tDirectives, name, location, maxPriority, ignoreDirective, startAttrName,\n                          endAttrName) {\n      if (name === ignoreDirective) return null;\n      var match = null;\n      if (hasDirectives.hasOwnProperty(name)) {\n        for (var directive, directives = $injector.get(name + Suffix),\n            i = 0, ii = directives.length; i < ii; i++) {\n          try {\n            directive = directives[i];\n            if ((isUndefined(maxPriority) || maxPriority > directive.priority) &&\n                 directive.restrict.indexOf(location) != -1) {\n              if (startAttrName) {\n                directive = inherit(directive, {$$start: startAttrName, $$end: endAttrName});\n              }\n              tDirectives.push(directive);\n              match = directive;\n            }\n          } catch (e) { $exceptionHandler(e); }\n        }\n      }\n      return match;\n    }\n\n\n    /**\n     * looks up the directive and returns true if it is a multi-element directive,\n     * and therefore requires DOM nodes between -start and -end markers to be grouped\n     * together.\n     *\n     * @param {string} name name of the directive to look up.\n     * @returns true if directive was registered as multi-element.\n     */\n    function directiveIsMultiElement(name) {\n      if (hasDirectives.hasOwnProperty(name)) {\n        for (var directive, directives = $injector.get(name + Suffix),\n            i = 0, ii = directives.length; i < ii; i++) {\n          directive = directives[i];\n          if (directive.multiElement) {\n            return true;\n          }\n        }\n      }\n      return false;\n    }\n\n    /**\n     * When the element is replaced with HTML template then the new attributes\n     * on the template need to be merged with the existing attributes in the DOM.\n     * The desired effect is to have both of the attributes present.\n     *\n     * @param {object} dst destination attributes (original DOM)\n     * @param {object} src source attributes (from the directive template)\n     */\n    function mergeTemplateAttributes(dst, src) {\n      var srcAttr = src.$attr,\n          dstAttr = dst.$attr,\n          $element = dst.$$element;\n\n      // reapply the old attributes to the new element\n      forEach(dst, function(value, key) {\n        if (key.charAt(0) != '$') {\n          if (src[key] && src[key] !== value) {\n            value += (key === 'style' ? ';' : ' ') + src[key];\n          }\n          dst.$set(key, value, true, srcAttr[key]);\n        }\n      });\n\n      // copy the new attributes on the old attrs object\n      forEach(src, function(value, key) {\n        if (key == 'class') {\n          safeAddClass($element, value);\n          dst['class'] = (dst['class'] ? dst['class'] + ' ' : '') + value;\n        } else if (key == 'style') {\n          $element.attr('style', $element.attr('style') + ';' + value);\n          dst['style'] = (dst['style'] ? dst['style'] + ';' : '') + value;\n          // `dst` will never contain hasOwnProperty as DOM parser won't let it.\n          // You will get an \"InvalidCharacterError: DOM Exception 5\" error if you\n          // have an attribute like \"has-own-property\" or \"data-has-own-property\", etc.\n        } else if (key.charAt(0) != '$' && !dst.hasOwnProperty(key)) {\n          dst[key] = value;\n          dstAttr[key] = srcAttr[key];\n        }\n      });\n    }\n\n\n    function compileTemplateUrl(directives, $compileNode, tAttrs,\n        $rootElement, childTranscludeFn, preLinkFns, postLinkFns, previousCompileContext) {\n      var linkQueue = [],\n          afterTemplateNodeLinkFn,\n          afterTemplateChildLinkFn,\n          beforeTemplateCompileNode = $compileNode[0],\n          origAsyncDirective = directives.shift(),\n          derivedSyncDirective = inherit(origAsyncDirective, {\n            templateUrl: null, transclude: null, replace: null, $$originalDirective: origAsyncDirective\n          }),\n          templateUrl = (isFunction(origAsyncDirective.templateUrl))\n              ? origAsyncDirective.templateUrl($compileNode, tAttrs)\n              : origAsyncDirective.templateUrl,\n          templateNamespace = origAsyncDirective.templateNamespace;\n\n      $compileNode.empty();\n\n      $templateRequest(templateUrl)\n        .then(function(content) {\n          var compileNode, tempTemplateAttrs, $template, childBoundTranscludeFn;\n\n          content = denormalizeTemplate(content);\n\n          if (origAsyncDirective.replace) {\n            if (jqLiteIsTextNode(content)) {\n              $template = [];\n            } else {\n              $template = removeComments(wrapTemplate(templateNamespace, trim(content)));\n            }\n            compileNode = $template[0];\n\n            if ($template.length != 1 || compileNode.nodeType !== NODE_TYPE_ELEMENT) {\n              throw $compileMinErr('tplrt',\n                  \"Template for directive '{0}' must have exactly one root element. {1}\",\n                  origAsyncDirective.name, templateUrl);\n            }\n\n            tempTemplateAttrs = {$attr: {}};\n            replaceWith($rootElement, $compileNode, compileNode);\n            var templateDirectives = collectDirectives(compileNode, [], tempTemplateAttrs);\n\n            if (isObject(origAsyncDirective.scope)) {\n              // the original directive that caused the template to be loaded async required\n              // an isolate scope\n              markDirectiveScope(templateDirectives, true);\n            }\n            directives = templateDirectives.concat(directives);\n            mergeTemplateAttributes(tAttrs, tempTemplateAttrs);\n          } else {\n            compileNode = beforeTemplateCompileNode;\n            $compileNode.html(content);\n          }\n\n          directives.unshift(derivedSyncDirective);\n\n          afterTemplateNodeLinkFn = applyDirectivesToNode(directives, compileNode, tAttrs,\n              childTranscludeFn, $compileNode, origAsyncDirective, preLinkFns, postLinkFns,\n              previousCompileContext);\n          forEach($rootElement, function(node, i) {\n            if (node == compileNode) {\n              $rootElement[i] = $compileNode[0];\n            }\n          });\n          afterTemplateChildLinkFn = compileNodes($compileNode[0].childNodes, childTranscludeFn);\n\n          while (linkQueue.length) {\n            var scope = linkQueue.shift(),\n                beforeTemplateLinkNode = linkQueue.shift(),\n                linkRootElement = linkQueue.shift(),\n                boundTranscludeFn = linkQueue.shift(),\n                linkNode = $compileNode[0];\n\n            if (scope.$$destroyed) continue;\n\n            if (beforeTemplateLinkNode !== beforeTemplateCompileNode) {\n              var oldClasses = beforeTemplateLinkNode.className;\n\n              if (!(previousCompileContext.hasElementTranscludeDirective &&\n                  origAsyncDirective.replace)) {\n                // it was cloned therefore we have to clone as well.\n                linkNode = jqLiteClone(compileNode);\n              }\n              replaceWith(linkRootElement, jqLite(beforeTemplateLinkNode), linkNode);\n\n              // Copy in CSS classes from original node\n              safeAddClass(jqLite(linkNode), oldClasses);\n            }\n            if (afterTemplateNodeLinkFn.transcludeOnThisElement) {\n              childBoundTranscludeFn = createBoundTranscludeFn(scope, afterTemplateNodeLinkFn.transclude, boundTranscludeFn);\n            } else {\n              childBoundTranscludeFn = boundTranscludeFn;\n            }\n            afterTemplateNodeLinkFn(afterTemplateChildLinkFn, scope, linkNode, $rootElement,\n              childBoundTranscludeFn);\n          }\n          linkQueue = null;\n        });\n\n      return function delayedNodeLinkFn(ignoreChildLinkFn, scope, node, rootElement, boundTranscludeFn) {\n        var childBoundTranscludeFn = boundTranscludeFn;\n        if (scope.$$destroyed) return;\n        if (linkQueue) {\n          linkQueue.push(scope,\n                         node,\n                         rootElement,\n                         childBoundTranscludeFn);\n        } else {\n          if (afterTemplateNodeLinkFn.transcludeOnThisElement) {\n            childBoundTranscludeFn = createBoundTranscludeFn(scope, afterTemplateNodeLinkFn.transclude, boundTranscludeFn);\n          }\n          afterTemplateNodeLinkFn(afterTemplateChildLinkFn, scope, node, rootElement, childBoundTranscludeFn);\n        }\n      };\n    }\n\n\n    /**\n     * Sorting function for bound directives.\n     */\n    function byPriority(a, b) {\n      var diff = b.priority - a.priority;\n      if (diff !== 0) return diff;\n      if (a.name !== b.name) return (a.name < b.name) ? -1 : 1;\n      return a.index - b.index;\n    }\n\n    function assertNoDuplicate(what, previousDirective, directive, element) {\n\n      function wrapModuleNameIfDefined(moduleName) {\n        return moduleName ?\n          (' (module: ' + moduleName + ')') :\n          '';\n      }\n\n      if (previousDirective) {\n        throw $compileMinErr('multidir', 'Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}',\n            previousDirective.name, wrapModuleNameIfDefined(previousDirective.$$moduleName),\n            directive.name, wrapModuleNameIfDefined(directive.$$moduleName), what, startingTag(element));\n      }\n    }\n\n\n    function addTextInterpolateDirective(directives, text) {\n      var interpolateFn = $interpolate(text, true);\n      if (interpolateFn) {\n        directives.push({\n          priority: 0,\n          compile: function textInterpolateCompileFn(templateNode) {\n            var templateNodeParent = templateNode.parent(),\n                hasCompileParent = !!templateNodeParent.length;\n\n            // When transcluding a template that has bindings in the root\n            // we don't have a parent and thus need to add the class during linking fn.\n            if (hasCompileParent) compile.$$addBindingClass(templateNodeParent);\n\n            return function textInterpolateLinkFn(scope, node) {\n              var parent = node.parent();\n              if (!hasCompileParent) compile.$$addBindingClass(parent);\n              compile.$$addBindingInfo(parent, interpolateFn.expressions);\n              scope.$watch(interpolateFn, function interpolateFnWatchAction(value) {\n                node[0].nodeValue = value;\n              });\n            };\n          }\n        });\n      }\n    }\n\n\n    function wrapTemplate(type, template) {\n      type = lowercase(type || 'html');\n      switch (type) {\n      case 'svg':\n      case 'math':\n        var wrapper = document.createElement('div');\n        wrapper.innerHTML = '<' + type + '>' + template + '</' + type + '>';\n        return wrapper.childNodes[0].childNodes;\n      default:\n        return template;\n      }\n    }\n\n\n    function getTrustedContext(node, attrNormalizedName) {\n      if (attrNormalizedName == \"srcdoc\") {\n        return $sce.HTML;\n      }\n      var tag = nodeName_(node);\n      // maction[xlink:href] can source SVG.  It's not limited to <maction>.\n      if (attrNormalizedName == \"xlinkHref\" ||\n          (tag == \"form\" && attrNormalizedName == \"action\") ||\n          (tag != \"img\" && (attrNormalizedName == \"src\" ||\n                            attrNormalizedName == \"ngSrc\"))) {\n        return $sce.RESOURCE_URL;\n      }\n    }\n\n\n    function addAttrInterpolateDirective(node, directives, value, name, allOrNothing) {\n      var trustedContext = getTrustedContext(node, name);\n      allOrNothing = ALL_OR_NOTHING_ATTRS[name] || allOrNothing;\n\n      var interpolateFn = $interpolate(value, true, trustedContext, allOrNothing);\n\n      // no interpolation found -> ignore\n      if (!interpolateFn) return;\n\n\n      if (name === \"multiple\" && nodeName_(node) === \"select\") {\n        throw $compileMinErr(\"selmulti\",\n            \"Binding to the 'multiple' attribute is not supported. Element: {0}\",\n            startingTag(node));\n      }\n\n      directives.push({\n        priority: 100,\n        compile: function() {\n            return {\n              pre: function attrInterpolatePreLinkFn(scope, element, attr) {\n                var $$observers = (attr.$$observers || (attr.$$observers = createMap()));\n\n                if (EVENT_HANDLER_ATTR_REGEXP.test(name)) {\n                  throw $compileMinErr('nodomevents',\n                      \"Interpolations for HTML DOM event attributes are disallowed.  Please use the \" +\n                          \"ng- versions (such as ng-click instead of onclick) instead.\");\n                }\n\n                // If the attribute has changed since last $interpolate()ed\n                var newValue = attr[name];\n                if (newValue !== value) {\n                  // we need to interpolate again since the attribute value has been updated\n                  // (e.g. by another directive's compile function)\n                  // ensure unset/empty values make interpolateFn falsy\n                  interpolateFn = newValue && $interpolate(newValue, true, trustedContext, allOrNothing);\n                  value = newValue;\n                }\n\n                // if attribute was updated so that there is no interpolation going on we don't want to\n                // register any observers\n                if (!interpolateFn) return;\n\n                // initialize attr object so that it's ready in case we need the value for isolate\n                // scope initialization, otherwise the value would not be available from isolate\n                // directive's linking fn during linking phase\n                attr[name] = interpolateFn(scope);\n\n                ($$observers[name] || ($$observers[name] = [])).$$inter = true;\n                (attr.$$observers && attr.$$observers[name].$$scope || scope).\n                  $watch(interpolateFn, function interpolateFnWatchAction(newValue, oldValue) {\n                    //special case for class attribute addition + removal\n                    //so that class changes can tap into the animation\n                    //hooks provided by the $animate service. Be sure to\n                    //skip animations when the first digest occurs (when\n                    //both the new and the old values are the same) since\n                    //the CSS classes are the non-interpolated values\n                    if (name === 'class' && newValue != oldValue) {\n                      attr.$updateClass(newValue, oldValue);\n                    } else {\n                      attr.$set(name, newValue);\n                    }\n                  });\n              }\n            };\n          }\n      });\n    }\n\n\n    /**\n     * This is a special jqLite.replaceWith, which can replace items which\n     * have no parents, provided that the containing jqLite collection is provided.\n     *\n     * @param {JqLite=} $rootElement The root of the compile tree. Used so that we can replace nodes\n     *                               in the root of the tree.\n     * @param {JqLite} elementsToRemove The jqLite element which we are going to replace. We keep\n     *                                  the shell, but replace its DOM node reference.\n     * @param {Node} newNode The new DOM node.\n     */\n    function replaceWith($rootElement, elementsToRemove, newNode) {\n      var firstElementToRemove = elementsToRemove[0],\n          removeCount = elementsToRemove.length,\n          parent = firstElementToRemove.parentNode,\n          i, ii;\n\n      if ($rootElement) {\n        for (i = 0, ii = $rootElement.length; i < ii; i++) {\n          if ($rootElement[i] == firstElementToRemove) {\n            $rootElement[i++] = newNode;\n            for (var j = i, j2 = j + removeCount - 1,\n                     jj = $rootElement.length;\n                 j < jj; j++, j2++) {\n              if (j2 < jj) {\n                $rootElement[j] = $rootElement[j2];\n              } else {\n                delete $rootElement[j];\n              }\n            }\n            $rootElement.length -= removeCount - 1;\n\n            // If the replaced element is also the jQuery .context then replace it\n            // .context is a deprecated jQuery api, so we should set it only when jQuery set it\n            // http://api.jquery.com/context/\n            if ($rootElement.context === firstElementToRemove) {\n              $rootElement.context = newNode;\n            }\n            break;\n          }\n        }\n      }\n\n      if (parent) {\n        parent.replaceChild(newNode, firstElementToRemove);\n      }\n\n      // TODO(perf): what's this document fragment for? is it needed? can we at least reuse it?\n      var fragment = document.createDocumentFragment();\n      fragment.appendChild(firstElementToRemove);\n\n      if (jqLite.hasData(firstElementToRemove)) {\n        // Copy over user data (that includes Angular's $scope etc.). Don't copy private\n        // data here because there's no public interface in jQuery to do that and copying over\n        // event listeners (which is the main use of private data) wouldn't work anyway.\n        jqLite.data(newNode, jqLite.data(firstElementToRemove));\n\n        // Remove data of the replaced element. We cannot just call .remove()\n        // on the element it since that would deallocate scope that is needed\n        // for the new node. Instead, remove the data \"manually\".\n        if (!jQuery) {\n          delete jqLite.cache[firstElementToRemove[jqLite.expando]];\n        } else {\n          // jQuery 2.x doesn't expose the data storage. Use jQuery.cleanData to clean up after\n          // the replaced element. The cleanData version monkey-patched by Angular would cause\n          // the scope to be trashed and we do need the very same scope to work with the new\n          // element. However, we cannot just cache the non-patched version and use it here as\n          // that would break if another library patches the method after Angular does (one\n          // example is jQuery UI). Instead, set a flag indicating scope destroying should be\n          // skipped this one time.\n          skipDestroyOnNextJQueryCleanData = true;\n          jQuery.cleanData([firstElementToRemove]);\n        }\n      }\n\n      for (var k = 1, kk = elementsToRemove.length; k < kk; k++) {\n        var element = elementsToRemove[k];\n        jqLite(element).remove(); // must do this way to clean up expando\n        fragment.appendChild(element);\n        delete elementsToRemove[k];\n      }\n\n      elementsToRemove[0] = newNode;\n      elementsToRemove.length = 1;\n    }\n\n\n    function cloneAndAnnotateFn(fn, annotation) {\n      return extend(function() { return fn.apply(null, arguments); }, fn, annotation);\n    }\n\n\n    function invokeLinkFn(linkFn, scope, $element, attrs, controllers, transcludeFn) {\n      try {\n        linkFn(scope, $element, attrs, controllers, transcludeFn);\n      } catch (e) {\n        $exceptionHandler(e, startingTag($element));\n      }\n    }\n\n\n    // Set up $watches for isolate scope and controller bindings. This process\n    // only occurs for isolate scopes and new scopes with controllerAs.\n    function initializeDirectiveBindings(scope, attrs, destination, bindings, directive) {\n      var removeWatchCollection = [];\n      forEach(bindings, function(definition, scopeName) {\n        var attrName = definition.attrName,\n        optional = definition.optional,\n        mode = definition.mode, // @, =, or &\n        lastValue,\n        parentGet, parentSet, compare;\n\n        switch (mode) {\n\n          case '@':\n            if (!optional && !hasOwnProperty.call(attrs, attrName)) {\n              destination[scopeName] = attrs[attrName] = void 0;\n            }\n            attrs.$observe(attrName, function(value) {\n              if (isString(value)) {\n                destination[scopeName] = value;\n              }\n            });\n            attrs.$$observers[attrName].$$scope = scope;\n            if (isString(attrs[attrName])) {\n              // If the attribute has been provided then we trigger an interpolation to ensure\n              // the value is there for use in the link fn\n              destination[scopeName] = $interpolate(attrs[attrName])(scope);\n            }\n            break;\n\n          case '=':\n            if (!hasOwnProperty.call(attrs, attrName)) {\n              if (optional) break;\n              attrs[attrName] = void 0;\n            }\n            if (optional && !attrs[attrName]) break;\n\n            parentGet = $parse(attrs[attrName]);\n            if (parentGet.literal) {\n              compare = equals;\n            } else {\n              compare = function(a, b) { return a === b || (a !== a && b !== b); };\n            }\n            parentSet = parentGet.assign || function() {\n              // reset the change, or we will throw this exception on every $digest\n              lastValue = destination[scopeName] = parentGet(scope);\n              throw $compileMinErr('nonassign',\n                  \"Expression '{0}' used with directive '{1}' is non-assignable!\",\n                  attrs[attrName], directive.name);\n            };\n            lastValue = destination[scopeName] = parentGet(scope);\n            var parentValueWatch = function parentValueWatch(parentValue) {\n              if (!compare(parentValue, destination[scopeName])) {\n                // we are out of sync and need to copy\n                if (!compare(parentValue, lastValue)) {\n                  // parent changed and it has precedence\n                  destination[scopeName] = parentValue;\n                } else {\n                  // if the parent can be assigned then do so\n                  parentSet(scope, parentValue = destination[scopeName]);\n                }\n              }\n              return lastValue = parentValue;\n            };\n            parentValueWatch.$stateful = true;\n            var removeWatch;\n            if (definition.collection) {\n              removeWatch = scope.$watchCollection(attrs[attrName], parentValueWatch);\n            } else {\n              removeWatch = scope.$watch($parse(attrs[attrName], parentValueWatch), null, parentGet.literal);\n            }\n            removeWatchCollection.push(removeWatch);\n            break;\n\n          case '&':\n            // Don't assign Object.prototype method to scope\n            parentGet = attrs.hasOwnProperty(attrName) ? $parse(attrs[attrName]) : noop;\n\n            // Don't assign noop to destination if expression is not valid\n            if (parentGet === noop && optional) break;\n\n            destination[scopeName] = function(locals) {\n              return parentGet(scope, locals);\n            };\n            break;\n        }\n      });\n\n      return removeWatchCollection.length && function removeWatches() {\n        for (var i = 0, ii = removeWatchCollection.length; i < ii; ++i) {\n          removeWatchCollection[i]();\n        }\n      };\n    }\n  }];\n}\n\nvar PREFIX_REGEXP = /^((?:x|data)[\\:\\-_])/i;\n/**\n * Converts all accepted directives format into proper directive name.\n * @param name Name to normalize\n */\nfunction directiveNormalize(name) {\n  return camelCase(name.replace(PREFIX_REGEXP, ''));\n}\n\n/**\n * @ngdoc type\n * @name $compile.directive.Attributes\n *\n * @description\n * A shared object between directive compile / linking functions which contains normalized DOM\n * element attributes. The values reflect current binding state `{{ }}`. The normalization is\n * needed since all of these are treated as equivalent in Angular:\n *\n * ```\n *    <span ng:bind=\"a\" ng-bind=\"a\" data-ng-bind=\"a\" x-ng-bind=\"a\">\n * ```\n */\n\n/**\n * @ngdoc property\n * @name $compile.directive.Attributes#$attr\n *\n * @description\n * A map of DOM element attribute names to the normalized name. This is\n * needed to do reverse lookup from normalized name back to actual name.\n */\n\n\n/**\n * @ngdoc method\n * @name $compile.directive.Attributes#$set\n * @kind function\n *\n * @description\n * Set DOM element attribute value.\n *\n *\n * @param {string} name Normalized element attribute name of the property to modify. The name is\n *          reverse-translated using the {@link ng.$compile.directive.Attributes#$attr $attr}\n *          property to the original name.\n * @param {string} value Value to set the attribute to. The value can be an interpolated string.\n */\n\n\n\n/**\n * Closure compiler type information\n */\n\nfunction nodesetLinkingFn(\n  /* angular.Scope */ scope,\n  /* NodeList */ nodeList,\n  /* Element */ rootElement,\n  /* function(Function) */ boundTranscludeFn\n) {}\n\nfunction directiveLinkingFn(\n  /* nodesetLinkingFn */ nodesetLinkingFn,\n  /* angular.Scope */ scope,\n  /* Node */ node,\n  /* Element */ rootElement,\n  /* function(Function) */ boundTranscludeFn\n) {}\n\nfunction tokenDifference(str1, str2) {\n  var values = '',\n      tokens1 = str1.split(/\\s+/),\n      tokens2 = str2.split(/\\s+/);\n\n  outer:\n  for (var i = 0; i < tokens1.length; i++) {\n    var token = tokens1[i];\n    for (var j = 0; j < tokens2.length; j++) {\n      if (token == tokens2[j]) continue outer;\n    }\n    values += (values.length > 0 ? ' ' : '') + token;\n  }\n  return values;\n}\n\nfunction removeComments(jqNodes) {\n  jqNodes = jqLite(jqNodes);\n  var i = jqNodes.length;\n\n  if (i <= 1) {\n    return jqNodes;\n  }\n\n  while (i--) {\n    var node = jqNodes[i];\n    if (node.nodeType === NODE_TYPE_COMMENT) {\n      splice.call(jqNodes, i, 1);\n    }\n  }\n  return jqNodes;\n}\n\nvar $controllerMinErr = minErr('$controller');\n\n\nvar CNTRL_REG = /^(\\S+)(\\s+as\\s+(\\w+))?$/;\nfunction identifierForController(controller, ident) {\n  if (ident && isString(ident)) return ident;\n  if (isString(controller)) {\n    var match = CNTRL_REG.exec(controller);\n    if (match) return match[3];\n  }\n}\n\n\n/**\n * @ngdoc provider\n * @name $controllerProvider\n * @description\n * The {@link ng.$controller $controller service} is used by Angular to create new\n * controllers.\n *\n * This provider allows controller registration via the\n * {@link ng.$controllerProvider#register register} method.\n */\nfunction $ControllerProvider() {\n  var controllers = {},\n      globals = false;\n\n  /**\n   * @ngdoc method\n   * @name $controllerProvider#register\n   * @param {string|Object} name Controller name, or an object map of controllers where the keys are\n   *    the names and the values are the constructors.\n   * @param {Function|Array} constructor Controller constructor fn (optionally decorated with DI\n   *    annotations in the array notation).\n   */\n  this.register = function(name, constructor) {\n    assertNotHasOwnProperty(name, 'controller');\n    if (isObject(name)) {\n      extend(controllers, name);\n    } else {\n      controllers[name] = constructor;\n    }\n  };\n\n  /**\n   * @ngdoc method\n   * @name $controllerProvider#allowGlobals\n   * @description If called, allows `$controller` to find controller constructors on `window`\n   */\n  this.allowGlobals = function() {\n    globals = true;\n  };\n\n\n  this.$get = ['$injector', '$window', function($injector, $window) {\n\n    /**\n     * @ngdoc service\n     * @name $controller\n     * @requires $injector\n     *\n     * @param {Function|string} constructor If called with a function then it's considered to be the\n     *    controller constructor function. Otherwise it's considered to be a string which is used\n     *    to retrieve the controller constructor using the following steps:\n     *\n     *    * check if a controller with given name is registered via `$controllerProvider`\n     *    * check if evaluating the string on the current scope returns a constructor\n     *    * if $controllerProvider#allowGlobals, check `window[constructor]` on the global\n     *      `window` object (not recommended)\n     *\n     *    The string can use the `controller as property` syntax, where the controller instance is published\n     *    as the specified property on the `scope`; the `scope` must be injected into `locals` param for this\n     *    to work correctly.\n     *\n     * @param {Object} locals Injection locals for Controller.\n     * @return {Object} Instance of given controller.\n     *\n     * @description\n     * `$controller` service is responsible for instantiating controllers.\n     *\n     * It's just a simple call to {@link auto.$injector $injector}, but extracted into\n     * a service, so that one can override this service with [BC version](https://gist.github.com/1649788).\n     */\n    return function(expression, locals, later, ident) {\n      // PRIVATE API:\n      //   param `later` --- indicates that the controller's constructor is invoked at a later time.\n      //                     If true, $controller will allocate the object with the correct\n      //                     prototype chain, but will not invoke the controller until a returned\n      //                     callback is invoked.\n      //   param `ident` --- An optional label which overrides the label parsed from the controller\n      //                     expression, if any.\n      var instance, match, constructor, identifier;\n      later = later === true;\n      if (ident && isString(ident)) {\n        identifier = ident;\n      }\n\n      if (isString(expression)) {\n        match = expression.match(CNTRL_REG);\n        if (!match) {\n          throw $controllerMinErr('ctrlfmt',\n            \"Badly formed controller string '{0}'. \" +\n            \"Must match `__name__ as __id__` or `__name__`.\", expression);\n        }\n        constructor = match[1],\n        identifier = identifier || match[3];\n        expression = controllers.hasOwnProperty(constructor)\n            ? controllers[constructor]\n            : getter(locals.$scope, constructor, true) ||\n                (globals ? getter($window, constructor, true) : undefined);\n\n        assertArgFn(expression, constructor, true);\n      }\n\n      if (later) {\n        // Instantiate controller later:\n        // This machinery is used to create an instance of the object before calling the\n        // controller's constructor itself.\n        //\n        // This allows properties to be added to the controller before the constructor is\n        // invoked. Primarily, this is used for isolate scope bindings in $compile.\n        //\n        // This feature is not intended for use by applications, and is thus not documented\n        // publicly.\n        // Object creation: http://jsperf.com/create-constructor/2\n        var controllerPrototype = (isArray(expression) ?\n          expression[expression.length - 1] : expression).prototype;\n        instance = Object.create(controllerPrototype || null);\n\n        if (identifier) {\n          addIdentifier(locals, identifier, instance, constructor || expression.name);\n        }\n\n        var instantiate;\n        return instantiate = extend(function() {\n          var result = $injector.invoke(expression, instance, locals, constructor);\n          if (result !== instance && (isObject(result) || isFunction(result))) {\n            instance = result;\n            if (identifier) {\n              // If result changed, re-assign controllerAs value to scope.\n              addIdentifier(locals, identifier, instance, constructor || expression.name);\n            }\n          }\n          return instance;\n        }, {\n          instance: instance,\n          identifier: identifier\n        });\n      }\n\n      instance = $injector.instantiate(expression, locals, constructor);\n\n      if (identifier) {\n        addIdentifier(locals, identifier, instance, constructor || expression.name);\n      }\n\n      return instance;\n    };\n\n    function addIdentifier(locals, identifier, instance, name) {\n      if (!(locals && isObject(locals.$scope))) {\n        throw minErr('$controller')('noscp',\n          \"Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.\",\n          name, identifier);\n      }\n\n      locals.$scope[identifier] = instance;\n    }\n  }];\n}\n\n/**\n * @ngdoc service\n * @name $document\n * @requires $window\n *\n * @description\n * A {@link angular.element jQuery or jqLite} wrapper for the browser's `window.document` object.\n *\n * @example\n   <example module=\"documentExample\">\n     <file name=\"index.html\">\n       <div ng-controller=\"ExampleController\">\n         <p>$document title: <b ng-bind=\"title\"></b></p>\n         <p>window.document title: <b ng-bind=\"windowTitle\"></b></p>\n       </div>\n     </file>\n     <file name=\"script.js\">\n       angular.module('documentExample', [])\n         .controller('ExampleController', ['$scope', '$document', function($scope, $document) {\n           $scope.title = $document[0].title;\n           $scope.windowTitle = angular.element(window.document)[0].title;\n         }]);\n     </file>\n   </example>\n */\nfunction $DocumentProvider() {\n  this.$get = ['$window', function(window) {\n    return jqLite(window.document);\n  }];\n}\n\n/**\n * @ngdoc service\n * @name $exceptionHandler\n * @requires ng.$log\n *\n * @description\n * Any uncaught exception in angular expressions is delegated to this service.\n * The default implementation simply delegates to `$log.error` which logs it into\n * the browser console.\n *\n * In unit tests, if `angular-mocks.js` is loaded, this service is overridden by\n * {@link ngMock.$exceptionHandler mock $exceptionHandler} which aids in testing.\n *\n * ## Example:\n *\n * ```js\n *   angular.module('exceptionOverride', []).factory('$exceptionHandler', function() {\n *     return function(exception, cause) {\n *       exception.message += ' (caused by \"' + cause + '\")';\n *       throw exception;\n *     };\n *   });\n * ```\n *\n * This example will override the normal action of `$exceptionHandler`, to make angular\n * exceptions fail hard when they happen, instead of just logging to the console.\n *\n * <hr />\n * Note, that code executed in event-listeners (even those registered using jqLite's `on`/`bind`\n * methods) does not delegate exceptions to the {@link ng.$exceptionHandler $exceptionHandler}\n * (unless executed during a digest).\n *\n * If you wish, you can manually delegate exceptions, e.g.\n * `try { ... } catch(e) { $exceptionHandler(e); }`\n *\n * @param {Error} exception Exception associated with the error.\n * @param {string=} cause optional information about the context in which\n *       the error was thrown.\n *\n */\nfunction $ExceptionHandlerProvider() {\n  this.$get = ['$log', function($log) {\n    return function(exception, cause) {\n      $log.error.apply($log, arguments);\n    };\n  }];\n}\n\nvar $$ForceReflowProvider = function() {\n  this.$get = ['$document', function($document) {\n    return function(domNode) {\n      //the line below will force the browser to perform a repaint so\n      //that all the animated elements within the animation frame will\n      //be properly updated and drawn on screen. This is required to\n      //ensure that the preparation animation is properly flushed so that\n      //the active state picks up from there. DO NOT REMOVE THIS LINE.\n      //DO NOT OPTIMIZE THIS LINE. THE MINIFIER WILL REMOVE IT OTHERWISE WHICH\n      //WILL RESULT IN AN UNPREDICTABLE BUG THAT IS VERY HARD TO TRACK DOWN AND\n      //WILL TAKE YEARS AWAY FROM YOUR LIFE.\n      if (domNode) {\n        if (!domNode.nodeType && domNode instanceof jqLite) {\n          domNode = domNode[0];\n        }\n      } else {\n        domNode = $document[0].body;\n      }\n      return domNode.offsetWidth + 1;\n    };\n  }];\n};\n\nvar APPLICATION_JSON = 'application/json';\nvar CONTENT_TYPE_APPLICATION_JSON = {'Content-Type': APPLICATION_JSON + ';charset=utf-8'};\nvar JSON_START = /^\\[|^\\{(?!\\{)/;\nvar JSON_ENDS = {\n  '[': /]$/,\n  '{': /}$/\n};\nvar JSON_PROTECTION_PREFIX = /^\\)\\]\\}',?\\n/;\nvar $httpMinErr = minErr('$http');\nvar $httpMinErrLegacyFn = function(method) {\n  return function() {\n    throw $httpMinErr('legacy', 'The method `{0}` on the promise returned from `$http` has been disabled.', method);\n  };\n};\n\nfunction serializeValue(v) {\n  if (isObject(v)) {\n    return isDate(v) ? v.toISOString() : toJson(v);\n  }\n  return v;\n}\n\n\nfunction $HttpParamSerializerProvider() {\n  /**\n   * @ngdoc service\n   * @name $httpParamSerializer\n   * @description\n   *\n   * Default {@link $http `$http`} params serializer that converts objects to strings\n   * according to the following rules:\n   *\n   * * `{'foo': 'bar'}` results in `foo=bar`\n   * * `{'foo': Date.now()}` results in `foo=2015-04-01T09%3A50%3A49.262Z` (`toISOString()` and encoded representation of a Date object)\n   * * `{'foo': ['bar', 'baz']}` results in `foo=bar&foo=baz` (repeated key for each array element)\n   * * `{'foo': {'bar':'baz'}}` results in `foo=%7B%22bar%22%3A%22baz%22%7D\"` (stringified and encoded representation of an object)\n   *\n   * Note that serializer will sort the request parameters alphabetically.\n   * */\n\n  this.$get = function() {\n    return function ngParamSerializer(params) {\n      if (!params) return '';\n      var parts = [];\n      forEachSorted(params, function(value, key) {\n        if (value === null || isUndefined(value)) return;\n        if (isArray(value)) {\n          forEach(value, function(v, k) {\n            parts.push(encodeUriQuery(key)  + '=' + encodeUriQuery(serializeValue(v)));\n          });\n        } else {\n          parts.push(encodeUriQuery(key) + '=' + encodeUriQuery(serializeValue(value)));\n        }\n      });\n\n      return parts.join('&');\n    };\n  };\n}\n\nfunction $HttpParamSerializerJQLikeProvider() {\n  /**\n   * @ngdoc service\n   * @name $httpParamSerializerJQLike\n   * @description\n   *\n   * Alternative {@link $http `$http`} params serializer that follows\n   * jQuery's [`param()`](http://api.jquery.com/jquery.param/) method logic.\n   * The serializer will also sort the params alphabetically.\n   *\n   * To use it for serializing `$http` request parameters, set it as the `paramSerializer` property:\n   *\n   * ```js\n   * $http({\n   *   url: myUrl,\n   *   method: 'GET',\n   *   params: myParams,\n   *   paramSerializer: '$httpParamSerializerJQLike'\n   * });\n   * ```\n   *\n   * It is also possible to set it as the default `paramSerializer` in the\n   * {@link $httpProvider#defaults `$httpProvider`}.\n   *\n   * Additionally, you can inject the serializer and use it explicitly, for example to serialize\n   * form data for submission:\n   *\n   * ```js\n   * .controller(function($http, $httpParamSerializerJQLike) {\n   *   //...\n   *\n   *   $http({\n   *     url: myUrl,\n   *     method: 'POST',\n   *     data: $httpParamSerializerJQLike(myData),\n   *     headers: {\n   *       'Content-Type': 'application/x-www-form-urlencoded'\n   *     }\n   *   });\n   *\n   * });\n   * ```\n   *\n   * */\n  this.$get = function() {\n    return function jQueryLikeParamSerializer(params) {\n      if (!params) return '';\n      var parts = [];\n      serialize(params, '', true);\n      return parts.join('&');\n\n      function serialize(toSerialize, prefix, topLevel) {\n        if (toSerialize === null || isUndefined(toSerialize)) return;\n        if (isArray(toSerialize)) {\n          forEach(toSerialize, function(value, index) {\n            serialize(value, prefix + '[' + (isObject(value) ? index : '') + ']');\n          });\n        } else if (isObject(toSerialize) && !isDate(toSerialize)) {\n          forEachSorted(toSerialize, function(value, key) {\n            serialize(value, prefix +\n                (topLevel ? '' : '[') +\n                key +\n                (topLevel ? '' : ']'));\n          });\n        } else {\n          parts.push(encodeUriQuery(prefix) + '=' + encodeUriQuery(serializeValue(toSerialize)));\n        }\n      }\n    };\n  };\n}\n\nfunction defaultHttpResponseTransform(data, headers) {\n  if (isString(data)) {\n    // Strip json vulnerability protection prefix and trim whitespace\n    var tempData = data.replace(JSON_PROTECTION_PREFIX, '').trim();\n\n    if (tempData) {\n      var contentType = headers('Content-Type');\n      if ((contentType && (contentType.indexOf(APPLICATION_JSON) === 0)) || isJsonLike(tempData)) {\n        data = fromJson(tempData);\n      }\n    }\n  }\n\n  return data;\n}\n\nfunction isJsonLike(str) {\n    var jsonStart = str.match(JSON_START);\n    return jsonStart && JSON_ENDS[jsonStart[0]].test(str);\n}\n\n/**\n * Parse headers into key value object\n *\n * @param {string} headers Raw headers as a string\n * @returns {Object} Parsed headers as key value object\n */\nfunction parseHeaders(headers) {\n  var parsed = createMap(), i;\n\n  function fillInParsed(key, val) {\n    if (key) {\n      parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n    }\n  }\n\n  if (isString(headers)) {\n    forEach(headers.split('\\n'), function(line) {\n      i = line.indexOf(':');\n      fillInParsed(lowercase(trim(line.substr(0, i))), trim(line.substr(i + 1)));\n    });\n  } else if (isObject(headers)) {\n    forEach(headers, function(headerVal, headerKey) {\n      fillInParsed(lowercase(headerKey), trim(headerVal));\n    });\n  }\n\n  return parsed;\n}\n\n\n/**\n * Returns a function that provides access to parsed headers.\n *\n * Headers are lazy parsed when first requested.\n * @see parseHeaders\n *\n * @param {(string|Object)} headers Headers to provide access to.\n * @returns {function(string=)} Returns a getter function which if called with:\n *\n *   - if called with single an argument returns a single header value or null\n *   - if called with no arguments returns an object containing all headers.\n */\nfunction headersGetter(headers) {\n  var headersObj;\n\n  return function(name) {\n    if (!headersObj) headersObj =  parseHeaders(headers);\n\n    if (name) {\n      var value = headersObj[lowercase(name)];\n      if (value === void 0) {\n        value = null;\n      }\n      return value;\n    }\n\n    return headersObj;\n  };\n}\n\n\n/**\n * Chain all given functions\n *\n * This function is used for both request and response transforming\n *\n * @param {*} data Data to transform.\n * @param {function(string=)} headers HTTP headers getter fn.\n * @param {number} status HTTP status code of the response.\n * @param {(Function|Array.<Function>)} fns Function or an array of functions.\n * @returns {*} Transformed data.\n */\nfunction transformData(data, headers, status, fns) {\n  if (isFunction(fns)) {\n    return fns(data, headers, status);\n  }\n\n  forEach(fns, function(fn) {\n    data = fn(data, headers, status);\n  });\n\n  return data;\n}\n\n\nfunction isSuccess(status) {\n  return 200 <= status && status < 300;\n}\n\n\n/**\n * @ngdoc provider\n * @name $httpProvider\n * @description\n * Use `$httpProvider` to change the default behavior of the {@link ng.$http $http} service.\n * */\nfunction $HttpProvider() {\n  /**\n   * @ngdoc property\n   * @name $httpProvider#defaults\n   * @description\n   *\n   * Object containing default values for all {@link ng.$http $http} requests.\n   *\n   * - **`defaults.cache`** - {Object} - an object built with {@link ng.$cacheFactory `$cacheFactory`}\n   * that will provide the cache for all requests who set their `cache` property to `true`.\n   * If you set the `defaults.cache = false` then only requests that specify their own custom\n   * cache object will be cached. See {@link $http#caching $http Caching} for more information.\n   *\n   * - **`defaults.xsrfCookieName`** - {string} - Name of cookie containing the XSRF token.\n   * Defaults value is `'XSRF-TOKEN'`.\n   *\n   * - **`defaults.xsrfHeaderName`** - {string} - Name of HTTP header to populate with the\n   * XSRF token. Defaults value is `'X-XSRF-TOKEN'`.\n   *\n   * - **`defaults.headers`** - {Object} - Default headers for all $http requests.\n   * Refer to {@link ng.$http#setting-http-headers $http} for documentation on\n   * setting default headers.\n   *     - **`defaults.headers.common`**\n   *     - **`defaults.headers.post`**\n   *     - **`defaults.headers.put`**\n   *     - **`defaults.headers.patch`**\n   *\n   *\n   * - **`defaults.paramSerializer`** - `{string|function(Object<string,string>):string}` - A function\n   *  used to the prepare string representation of request parameters (specified as an object).\n   *  If specified as string, it is interpreted as a function registered with the {@link auto.$injector $injector}.\n   *  Defaults to {@link ng.$httpParamSerializer $httpParamSerializer}.\n   *\n   **/\n  var defaults = this.defaults = {\n    // transform incoming response data\n    transformResponse: [defaultHttpResponseTransform],\n\n    // transform outgoing request data\n    transformRequest: [function(d) {\n      return isObject(d) && !isFile(d) && !isBlob(d) && !isFormData(d) ? toJson(d) : d;\n    }],\n\n    // default headers\n    headers: {\n      common: {\n        'Accept': 'application/json, text/plain, */*'\n      },\n      post:   shallowCopy(CONTENT_TYPE_APPLICATION_JSON),\n      put:    shallowCopy(CONTENT_TYPE_APPLICATION_JSON),\n      patch:  shallowCopy(CONTENT_TYPE_APPLICATION_JSON)\n    },\n\n    xsrfCookieName: 'XSRF-TOKEN',\n    xsrfHeaderName: 'X-XSRF-TOKEN',\n\n    paramSerializer: '$httpParamSerializer'\n  };\n\n  var useApplyAsync = false;\n  /**\n   * @ngdoc method\n   * @name $httpProvider#useApplyAsync\n   * @description\n   *\n   * Configure $http service to combine processing of multiple http responses received at around\n   * the same time via {@link ng.$rootScope.Scope#$applyAsync $rootScope.$applyAsync}. This can result in\n   * significant performance improvement for bigger applications that make many HTTP requests\n   * concurrently (common during application bootstrap).\n   *\n   * Defaults to false. If no value is specified, returns the current configured value.\n   *\n   * @param {boolean=} value If true, when requests are loaded, they will schedule a deferred\n   *    \"apply\" on the next tick, giving time for subsequent requests in a roughly ~10ms window\n   *    to load and share the same digest cycle.\n   *\n   * @returns {boolean|Object} If a value is specified, returns the $httpProvider for chaining.\n   *    otherwise, returns the current configured value.\n   **/\n  this.useApplyAsync = function(value) {\n    if (isDefined(value)) {\n      useApplyAsync = !!value;\n      return this;\n    }\n    return useApplyAsync;\n  };\n\n  var useLegacyPromise = true;\n  /**\n   * @ngdoc method\n   * @name $httpProvider#useLegacyPromiseExtensions\n   * @description\n   *\n   * Configure `$http` service to return promises without the shorthand methods `success` and `error`.\n   * This should be used to make sure that applications work without these methods.\n   *\n   * Defaults to true. If no value is specified, returns the current configured value.\n   *\n   * @param {boolean=} value If true, `$http` will return a promise with the deprecated legacy `success` and `error` methods.\n   *\n   * @returns {boolean|Object} If a value is specified, returns the $httpProvider for chaining.\n   *    otherwise, returns the current configured value.\n   **/\n  this.useLegacyPromiseExtensions = function(value) {\n    if (isDefined(value)) {\n      useLegacyPromise = !!value;\n      return this;\n    }\n    return useLegacyPromise;\n  };\n\n  /**\n   * @ngdoc property\n   * @name $httpProvider#interceptors\n   * @description\n   *\n   * Array containing service factories for all synchronous or asynchronous {@link ng.$http $http}\n   * pre-processing of request or postprocessing of responses.\n   *\n   * These service factories are ordered by request, i.e. they are applied in the same order as the\n   * array, on request, but reverse order, on response.\n   *\n   * {@link ng.$http#interceptors Interceptors detailed info}\n   **/\n  var interceptorFactories = this.interceptors = [];\n\n  this.$get = ['$httpBackend', '$$cookieReader', '$cacheFactory', '$rootScope', '$q', '$injector',\n      function($httpBackend, $$cookieReader, $cacheFactory, $rootScope, $q, $injector) {\n\n    var defaultCache = $cacheFactory('$http');\n\n    /**\n     * Make sure that default param serializer is exposed as a function\n     */\n    defaults.paramSerializer = isString(defaults.paramSerializer) ?\n      $injector.get(defaults.paramSerializer) : defaults.paramSerializer;\n\n    /**\n     * Interceptors stored in reverse order. Inner interceptors before outer interceptors.\n     * The reversal is needed so that we can build up the interception chain around the\n     * server request.\n     */\n    var reversedInterceptors = [];\n\n    forEach(interceptorFactories, function(interceptorFactory) {\n      reversedInterceptors.unshift(isString(interceptorFactory)\n          ? $injector.get(interceptorFactory) : $injector.invoke(interceptorFactory));\n    });\n\n    /**\n     * @ngdoc service\n     * @kind function\n     * @name $http\n     * @requires ng.$httpBackend\n     * @requires $cacheFactory\n     * @requires $rootScope\n     * @requires $q\n     * @requires $injector\n     *\n     * @description\n     * The `$http` service is a core Angular service that facilitates communication with the remote\n     * HTTP servers via the browser's [XMLHttpRequest](https://developer.mozilla.org/en/xmlhttprequest)\n     * object or via [JSONP](http://en.wikipedia.org/wiki/JSONP).\n     *\n     * For unit testing applications that use `$http` service, see\n     * {@link ngMock.$httpBackend $httpBackend mock}.\n     *\n     * For a higher level of abstraction, please check out the {@link ngResource.$resource\n     * $resource} service.\n     *\n     * The $http API is based on the {@link ng.$q deferred/promise APIs} exposed by\n     * the $q service. While for simple usage patterns this doesn't matter much, for advanced usage\n     * it is important to familiarize yourself with these APIs and the guarantees they provide.\n     *\n     *\n     * ## General usage\n     * The `$http` service is a function which takes a single argument — a {@link $http#usage configuration object} —\n     * that is used to generate an HTTP request and returns  a {@link ng.$q promise}.\n     *\n     * ```js\n     *   // Simple GET request example:\n     *   $http({\n     *     method: 'GET',\n     *     url: '/someUrl'\n     *   }).then(function successCallback(response) {\n     *       // this callback will be called asynchronously\n     *       // when the response is available\n     *     }, function errorCallback(response) {\n     *       // called asynchronously if an error occurs\n     *       // or server returns response with an error status.\n     *     });\n     * ```\n     *\n     * The response object has these properties:\n     *\n     *   - **data** – `{string|Object}` – The response body transformed with the transform\n     *     functions.\n     *   - **status** – `{number}` – HTTP status code of the response.\n     *   - **headers** – `{function([headerName])}` – Header getter function.\n     *   - **config** – `{Object}` – The configuration object that was used to generate the request.\n     *   - **statusText** – `{string}` – HTTP status text of the response.\n     *\n     * A response status code between 200 and 299 is considered a success status and\n     * will result in the success callback being called. Note that if the response is a redirect,\n     * XMLHttpRequest will transparently follow it, meaning that the error callback will not be\n     * called for such responses.\n     *\n     *\n     * ## Shortcut methods\n     *\n     * Shortcut methods are also available. All shortcut methods require passing in the URL, and\n     * request data must be passed in for POST/PUT requests. An optional config can be passed as the\n     * last argument.\n     *\n     * ```js\n     *   $http.get('/someUrl', config).then(successCallback, errorCallback);\n     *   $http.post('/someUrl', data, config).then(successCallback, errorCallback);\n     * ```\n     *\n     * Complete list of shortcut methods:\n     *\n     * - {@link ng.$http#get $http.get}\n     * - {@link ng.$http#head $http.head}\n     * - {@link ng.$http#post $http.post}\n     * - {@link ng.$http#put $http.put}\n     * - {@link ng.$http#delete $http.delete}\n     * - {@link ng.$http#jsonp $http.jsonp}\n     * - {@link ng.$http#patch $http.patch}\n     *\n     *\n     * ## Writing Unit Tests that use $http\n     * When unit testing (using {@link ngMock ngMock}), it is necessary to call\n     * {@link ngMock.$httpBackend#flush $httpBackend.flush()} to flush each pending\n     * request using trained responses.\n     *\n     * ```\n     * $httpBackend.expectGET(...);\n     * $http.get(...);\n     * $httpBackend.flush();\n     * ```\n     *\n     * ## Deprecation Notice\n     * <div class=\"alert alert-danger\">\n     *   The `$http` legacy promise methods `success` and `error` have been deprecated.\n     *   Use the standard `then` method instead.\n     *   If {@link $httpProvider#useLegacyPromiseExtensions `$httpProvider.useLegacyPromiseExtensions`} is set to\n     *   `false` then these methods will throw {@link $http:legacy `$http/legacy`} error.\n     * </div>\n     *\n     * ## Setting HTTP Headers\n     *\n     * The $http service will automatically add certain HTTP headers to all requests. These defaults\n     * can be fully configured by accessing the `$httpProvider.defaults.headers` configuration\n     * object, which currently contains this default configuration:\n     *\n     * - `$httpProvider.defaults.headers.common` (headers that are common for all requests):\n     *   - `Accept: application/json, text/plain, * / *`\n     * - `$httpProvider.defaults.headers.post`: (header defaults for POST requests)\n     *   - `Content-Type: application/json`\n     * - `$httpProvider.defaults.headers.put` (header defaults for PUT requests)\n     *   - `Content-Type: application/json`\n     *\n     * To add or overwrite these defaults, simply add or remove a property from these configuration\n     * objects. To add headers for an HTTP method other than POST or PUT, simply add a new object\n     * with the lowercased HTTP method name as the key, e.g.\n     * `$httpProvider.defaults.headers.get = { 'My-Header' : 'value' }`.\n     *\n     * The defaults can also be set at runtime via the `$http.defaults` object in the same\n     * fashion. For example:\n     *\n     * ```\n     * module.run(function($http) {\n     *   $http.defaults.headers.common.Authorization = 'Basic YmVlcDpib29w'\n     * });\n     * ```\n     *\n     * In addition, you can supply a `headers` property in the config object passed when\n     * calling `$http(config)`, which overrides the defaults without changing them globally.\n     *\n     * To explicitly remove a header automatically added via $httpProvider.defaults.headers on a per request basis,\n     * Use the `headers` property, setting the desired header to `undefined`. For example:\n     *\n     * ```js\n     * var req = {\n     *  method: 'POST',\n     *  url: 'http://example.com',\n     *  headers: {\n     *    'Content-Type': undefined\n     *  },\n     *  data: { test: 'test' }\n     * }\n     *\n     * $http(req).then(function(){...}, function(){...});\n     * ```\n     *\n     * ## Transforming Requests and Responses\n     *\n     * Both requests and responses can be transformed using transformation functions: `transformRequest`\n     * and `transformResponse`. These properties can be a single function that returns\n     * the transformed value (`function(data, headersGetter, status)`) or an array of such transformation functions,\n     * which allows you to `push` or `unshift` a new transformation function into the transformation chain.\n     *\n     * ### Default Transformations\n     *\n     * The `$httpProvider` provider and `$http` service expose `defaults.transformRequest` and\n     * `defaults.transformResponse` properties. If a request does not provide its own transformations\n     * then these will be applied.\n     *\n     * You can augment or replace the default transformations by modifying these properties by adding to or\n     * replacing the array.\n     *\n     * Angular provides the following default transformations:\n     *\n     * Request transformations (`$httpProvider.defaults.transformRequest` and `$http.defaults.transformRequest`):\n     *\n     * - If the `data` property of the request configuration object contains an object, serialize it\n     *   into JSON format.\n     *\n     * Response transformations (`$httpProvider.defaults.transformResponse` and `$http.defaults.transformResponse`):\n     *\n     *  - If XSRF prefix is detected, strip it (see Security Considerations section below).\n     *  - If JSON response is detected, deserialize it using a JSON parser.\n     *\n     *\n     * ### Overriding the Default Transformations Per Request\n     *\n     * If you wish override the request/response transformations only for a single request then provide\n     * `transformRequest` and/or `transformResponse` properties on the configuration object passed\n     * into `$http`.\n     *\n     * Note that if you provide these properties on the config object the default transformations will be\n     * overwritten. If you wish to augment the default transformations then you must include them in your\n     * local transformation array.\n     *\n     * The following code demonstrates adding a new response transformation to be run after the default response\n     * transformations have been run.\n     *\n     * ```js\n     * function appendTransform(defaults, transform) {\n     *\n     *   // We can't guarantee that the default transformation is an array\n     *   defaults = angular.isArray(defaults) ? defaults : [defaults];\n     *\n     *   // Append the new transformation to the defaults\n     *   return defaults.concat(transform);\n     * }\n     *\n     * $http({\n     *   url: '...',\n     *   method: 'GET',\n     *   transformResponse: appendTransform($http.defaults.transformResponse, function(value) {\n     *     return doTransform(value);\n     *   })\n     * });\n     * ```\n     *\n     *\n     * ## Caching\n     *\n     * To enable caching, set the request configuration `cache` property to `true` (to use default\n     * cache) or to a custom cache object (built with {@link ng.$cacheFactory `$cacheFactory`}).\n     * When the cache is enabled, `$http` stores the response from the server in the specified\n     * cache. The next time the same request is made, the response is served from the cache without\n     * sending a request to the server.\n     *\n     * Note that even if the response is served from cache, delivery of the data is asynchronous in\n     * the same way that real requests are.\n     *\n     * If there are multiple GET requests for the same URL that should be cached using the same\n     * cache, but the cache is not populated yet, only one request to the server will be made and\n     * the remaining requests will be fulfilled using the response from the first request.\n     *\n     * You can change the default cache to a new object (built with\n     * {@link ng.$cacheFactory `$cacheFactory`}) by updating the\n     * {@link ng.$http#defaults `$http.defaults.cache`} property. All requests who set\n     * their `cache` property to `true` will now use this cache object.\n     *\n     * If you set the default cache to `false` then only requests that specify their own custom\n     * cache object will be cached.\n     *\n     * ## Interceptors\n     *\n     * Before you start creating interceptors, be sure to understand the\n     * {@link ng.$q $q and deferred/promise APIs}.\n     *\n     * For purposes of global error handling, authentication, or any kind of synchronous or\n     * asynchronous pre-processing of request or postprocessing of responses, it is desirable to be\n     * able to intercept requests before they are handed to the server and\n     * responses before they are handed over to the application code that\n     * initiated these requests. The interceptors leverage the {@link ng.$q\n     * promise APIs} to fulfill this need for both synchronous and asynchronous pre-processing.\n     *\n     * The interceptors are service factories that are registered with the `$httpProvider` by\n     * adding them to the `$httpProvider.interceptors` array. The factory is called and\n     * injected with dependencies (if specified) and returns the interceptor.\n     *\n     * There are two kinds of interceptors (and two kinds of rejection interceptors):\n     *\n     *   * `request`: interceptors get called with a http {@link $http#usage config} object. The function is free to\n     *     modify the `config` object or create a new one. The function needs to return the `config`\n     *     object directly, or a promise containing the `config` or a new `config` object.\n     *   * `requestError`: interceptor gets called when a previous interceptor threw an error or\n     *     resolved with a rejection.\n     *   * `response`: interceptors get called with http `response` object. The function is free to\n     *     modify the `response` object or create a new one. The function needs to return the `response`\n     *     object directly, or as a promise containing the `response` or a new `response` object.\n     *   * `responseError`: interceptor gets called when a previous interceptor threw an error or\n     *     resolved with a rejection.\n     *\n     *\n     * ```js\n     *   // register the interceptor as a service\n     *   $provide.factory('myHttpInterceptor', function($q, dependency1, dependency2) {\n     *     return {\n     *       // optional method\n     *       'request': function(config) {\n     *         // do something on success\n     *         return config;\n     *       },\n     *\n     *       // optional method\n     *      'requestError': function(rejection) {\n     *         // do something on error\n     *         if (canRecover(rejection)) {\n     *           return responseOrNewPromise\n     *         }\n     *         return $q.reject(rejection);\n     *       },\n     *\n     *\n     *\n     *       // optional method\n     *       'response': function(response) {\n     *         // do something on success\n     *         return response;\n     *       },\n     *\n     *       // optional method\n     *      'responseError': function(rejection) {\n     *         // do something on error\n     *         if (canRecover(rejection)) {\n     *           return responseOrNewPromise\n     *         }\n     *         return $q.reject(rejection);\n     *       }\n     *     };\n     *   });\n     *\n     *   $httpProvider.interceptors.push('myHttpInterceptor');\n     *\n     *\n     *   // alternatively, register the interceptor via an anonymous factory\n     *   $httpProvider.interceptors.push(function($q, dependency1, dependency2) {\n     *     return {\n     *      'request': function(config) {\n     *          // same as above\n     *       },\n     *\n     *       'response': function(response) {\n     *          // same as above\n     *       }\n     *     };\n     *   });\n     * ```\n     *\n     * ## Security Considerations\n     *\n     * When designing web applications, consider security threats from:\n     *\n     * - [JSON vulnerability](http://haacked.com/archive/2008/11/20/anatomy-of-a-subtle-json-vulnerability.aspx)\n     * - [XSRF](http://en.wikipedia.org/wiki/Cross-site_request_forgery)\n     *\n     * Both server and the client must cooperate in order to eliminate these threats. Angular comes\n     * pre-configured with strategies that address these issues, but for this to work backend server\n     * cooperation is required.\n     *\n     * ### JSON Vulnerability Protection\n     *\n     * A [JSON vulnerability](http://haacked.com/archive/2008/11/20/anatomy-of-a-subtle-json-vulnerability.aspx)\n     * allows third party website to turn your JSON resource URL into\n     * [JSONP](http://en.wikipedia.org/wiki/JSONP) request under some conditions. To\n     * counter this your server can prefix all JSON requests with following string `\")]}',\\n\"`.\n     * Angular will automatically strip the prefix before processing it as JSON.\n     *\n     * For example if your server needs to return:\n     * ```js\n     * ['one','two']\n     * ```\n     *\n     * which is vulnerable to attack, your server can return:\n     * ```js\n     * )]}',\n     * ['one','two']\n     * ```\n     *\n     * Angular will strip the prefix, before processing the JSON.\n     *\n     *\n     * ### Cross Site Request Forgery (XSRF) Protection\n     *\n     * [XSRF](http://en.wikipedia.org/wiki/Cross-site_request_forgery) is a technique by which\n     * an unauthorized site can gain your user's private data. Angular provides a mechanism\n     * to counter XSRF. When performing XHR requests, the $http service reads a token from a cookie\n     * (by default, `XSRF-TOKEN`) and sets it as an HTTP header (`X-XSRF-TOKEN`). Since only\n     * JavaScript that runs on your domain could read the cookie, your server can be assured that\n     * the XHR came from JavaScript running on your domain. The header will not be set for\n     * cross-domain requests.\n     *\n     * To take advantage of this, your server needs to set a token in a JavaScript readable session\n     * cookie called `XSRF-TOKEN` on the first HTTP GET request. On subsequent XHR requests the\n     * server can verify that the cookie matches `X-XSRF-TOKEN` HTTP header, and therefore be sure\n     * that only JavaScript running on your domain could have sent the request. The token must be\n     * unique for each user and must be verifiable by the server (to prevent the JavaScript from\n     * making up its own tokens). We recommend that the token is a digest of your site's\n     * authentication cookie with a [salt](https://en.wikipedia.org/wiki/Salt_(cryptography&#41;)\n     * for added security.\n     *\n     * The name of the headers can be specified using the xsrfHeaderName and xsrfCookieName\n     * properties of either $httpProvider.defaults at config-time, $http.defaults at run-time,\n     * or the per-request config object.\n     *\n     * In order to prevent collisions in environments where multiple Angular apps share the\n     * same domain or subdomain, we recommend that each application uses unique cookie name.\n     *\n     * @param {object} config Object describing the request to be made and how it should be\n     *    processed. The object has following properties:\n     *\n     *    - **method** – `{string}` – HTTP method (e.g. 'GET', 'POST', etc)\n     *    - **url** – `{string}` – Absolute or relative URL of the resource that is being requested.\n     *    - **params** – `{Object.<string|Object>}` – Map of strings or objects which will be serialized\n     *      with the `paramSerializer` and appended as GET parameters.\n     *    - **data** – `{string|Object}` – Data to be sent as the request message data.\n     *    - **headers** – `{Object}` – Map of strings or functions which return strings representing\n     *      HTTP headers to send to the server. If the return value of a function is null, the\n     *      header will not be sent. Functions accept a config object as an argument.\n     *    - **xsrfHeaderName** – `{string}` – Name of HTTP header to populate with the XSRF token.\n     *    - **xsrfCookieName** – `{string}` – Name of cookie containing the XSRF token.\n     *    - **transformRequest** –\n     *      `{function(data, headersGetter)|Array.<function(data, headersGetter)>}` –\n     *      transform function or an array of such functions. The transform function takes the http\n     *      request body and headers and returns its transformed (typically serialized) version.\n     *      See {@link ng.$http#overriding-the-default-transformations-per-request\n     *      Overriding the Default Transformations}\n     *    - **transformResponse** –\n     *      `{function(data, headersGetter, status)|Array.<function(data, headersGetter, status)>}` –\n     *      transform function or an array of such functions. The transform function takes the http\n     *      response body, headers and status and returns its transformed (typically deserialized) version.\n     *      See {@link ng.$http#overriding-the-default-transformations-per-request\n     *      Overriding the Default TransformationjqLiks}\n     *    - **paramSerializer** - `{string|function(Object<string,string>):string}` - A function used to\n     *      prepare the string representation of request parameters (specified as an object).\n     *      If specified as string, it is interpreted as function registered with the\n     *      {@link $injector $injector}, which means you can create your own serializer\n     *      by registering it as a {@link auto.$provide#service service}.\n     *      The default serializer is the {@link $httpParamSerializer $httpParamSerializer};\n     *      alternatively, you can use the {@link $httpParamSerializerJQLike $httpParamSerializerJQLike}\n     *    - **cache** – `{boolean|Cache}` – If true, a default $http cache will be used to cache the\n     *      GET request, otherwise if a cache instance built with\n     *      {@link ng.$cacheFactory $cacheFactory}, this cache will be used for\n     *      caching.\n     *    - **timeout** – `{number|Promise}` – timeout in milliseconds, or {@link ng.$q promise}\n     *      that should abort the request when resolved.\n     *    - **withCredentials** - `{boolean}` - whether to set the `withCredentials` flag on the\n     *      XHR object. See [requests with credentials](https://developer.mozilla.org/docs/Web/HTTP/Access_control_CORS#Requests_with_credentials)\n     *      for more information.\n     *    - **responseType** - `{string}` - see\n     *      [XMLHttpRequest.responseType](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest#xmlhttprequest-responsetype).\n     *\n     * @returns {HttpPromise} Returns a {@link ng.$q `Promise}` that will be resolved to a response object\n     *                        when the request succeeds or fails.\n     *\n     *\n     * @property {Array.<Object>} pendingRequests Array of config objects for currently pending\n     *   requests. This is primarily meant to be used for debugging purposes.\n     *\n     *\n     * @example\n<example module=\"httpExample\">\n<file name=\"index.html\">\n  <div ng-controller=\"FetchController\">\n    <select ng-model=\"method\" aria-label=\"Request method\">\n      <option>GET</option>\n      <option>JSONP</option>\n    </select>\n    <input type=\"text\" ng-model=\"url\" size=\"80\" aria-label=\"URL\" />\n    <button id=\"fetchbtn\" ng-click=\"fetch()\">fetch</button><br>\n    <button id=\"samplegetbtn\" ng-click=\"updateModel('GET', 'http-hello.html')\">Sample GET</button>\n    <button id=\"samplejsonpbtn\"\n      ng-click=\"updateModel('JSONP',\n                    'https://angularjs.org/greet.php?callback=JSON_CALLBACK&name=Super%20Hero')\">\n      Sample JSONP\n    </button>\n    <button id=\"invalidjsonpbtn\"\n      ng-click=\"updateModel('JSONP', 'https://angularjs.org/doesntexist&callback=JSON_CALLBACK')\">\n        Invalid JSONP\n      </button>\n    <pre>http status code: {{status}}</pre>\n    <pre>http response data: {{data}}</pre>\n  </div>\n</file>\n<file name=\"script.js\">\n  angular.module('httpExample', [])\n    .controller('FetchController', ['$scope', '$http', '$templateCache',\n      function($scope, $http, $templateCache) {\n        $scope.method = 'GET';\n        $scope.url = 'http-hello.html';\n\n        $scope.fetch = function() {\n          $scope.code = null;\n          $scope.response = null;\n\n          $http({method: $scope.method, url: $scope.url, cache: $templateCache}).\n            then(function(response) {\n              $scope.status = response.status;\n              $scope.data = response.data;\n            }, function(response) {\n              $scope.data = response.data || \"Request failed\";\n              $scope.status = response.status;\n          });\n        };\n\n        $scope.updateModel = function(method, url) {\n          $scope.method = method;\n          $scope.url = url;\n        };\n      }]);\n</file>\n<file name=\"http-hello.html\">\n  Hello, $http!\n</file>\n<file name=\"protractor.js\" type=\"protractor\">\n  var status = element(by.binding('status'));\n  var data = element(by.binding('data'));\n  var fetchBtn = element(by.id('fetchbtn'));\n  var sampleGetBtn = element(by.id('samplegetbtn'));\n  var sampleJsonpBtn = element(by.id('samplejsonpbtn'));\n  var invalidJsonpBtn = element(by.id('invalidjsonpbtn'));\n\n  it('should make an xhr GET request', function() {\n    sampleGetBtn.click();\n    fetchBtn.click();\n    expect(status.getText()).toMatch('200');\n    expect(data.getText()).toMatch(/Hello, \\$http!/);\n  });\n\n// Commented out due to flakes. See https://github.com/angular/angular.js/issues/9185\n// it('should make a JSONP request to angularjs.org', function() {\n//   sampleJsonpBtn.click();\n//   fetchBtn.click();\n//   expect(status.getText()).toMatch('200');\n//   expect(data.getText()).toMatch(/Super Hero!/);\n// });\n\n  it('should make JSONP request to invalid URL and invoke the error handler',\n      function() {\n    invalidJsonpBtn.click();\n    fetchBtn.click();\n    expect(status.getText()).toMatch('0');\n    expect(data.getText()).toMatch('Request failed');\n  });\n</file>\n</example>\n     */\n    function $http(requestConfig) {\n\n      if (!angular.isObject(requestConfig)) {\n        throw minErr('$http')('badreq', 'Http request configuration must be an object.  Received: {0}', requestConfig);\n      }\n\n      var config = extend({\n        method: 'get',\n        transformRequest: defaults.transformRequest,\n        transformResponse: defaults.transformResponse,\n        paramSerializer: defaults.paramSerializer\n      }, requestConfig);\n\n      config.headers = mergeHeaders(requestConfig);\n      config.method = uppercase(config.method);\n      config.paramSerializer = isString(config.paramSerializer) ?\n        $injector.get(config.paramSerializer) : config.paramSerializer;\n\n      var serverRequest = function(config) {\n        var headers = config.headers;\n        var reqData = transformData(config.data, headersGetter(headers), undefined, config.transformRequest);\n\n        // strip content-type if data is undefined\n        if (isUndefined(reqData)) {\n          forEach(headers, function(value, header) {\n            if (lowercase(header) === 'content-type') {\n                delete headers[header];\n            }\n          });\n        }\n\n        if (isUndefined(config.withCredentials) && !isUndefined(defaults.withCredentials)) {\n          config.withCredentials = defaults.withCredentials;\n        }\n\n        // send request\n        return sendReq(config, reqData).then(transformResponse, transformResponse);\n      };\n\n      var chain = [serverRequest, undefined];\n      var promise = $q.when(config);\n\n      // apply interceptors\n      forEach(reversedInterceptors, function(interceptor) {\n        if (interceptor.request || interceptor.requestError) {\n          chain.unshift(interceptor.request, interceptor.requestError);\n        }\n        if (interceptor.response || interceptor.responseError) {\n          chain.push(interceptor.response, interceptor.responseError);\n        }\n      });\n\n      while (chain.length) {\n        var thenFn = chain.shift();\n        var rejectFn = chain.shift();\n\n        promise = promise.then(thenFn, rejectFn);\n      }\n\n      if (useLegacyPromise) {\n        promise.success = function(fn) {\n          assertArgFn(fn, 'fn');\n\n          promise.then(function(response) {\n            fn(response.data, response.status, response.headers, config);\n          });\n          return promise;\n        };\n\n        promise.error = function(fn) {\n          assertArgFn(fn, 'fn');\n\n          promise.then(null, function(response) {\n            fn(response.data, response.status, response.headers, config);\n          });\n          return promise;\n        };\n      } else {\n        promise.success = $httpMinErrLegacyFn('success');\n        promise.error = $httpMinErrLegacyFn('error');\n      }\n\n      return promise;\n\n      function transformResponse(response) {\n        // make a copy since the response must be cacheable\n        var resp = extend({}, response);\n        resp.data = transformData(response.data, response.headers, response.status,\n                                  config.transformResponse);\n        return (isSuccess(response.status))\n          ? resp\n          : $q.reject(resp);\n      }\n\n      function executeHeaderFns(headers, config) {\n        var headerContent, processedHeaders = {};\n\n        forEach(headers, function(headerFn, header) {\n          if (isFunction(headerFn)) {\n            headerContent = headerFn(config);\n            if (headerContent != null) {\n              processedHeaders[header] = headerContent;\n            }\n          } else {\n            processedHeaders[header] = headerFn;\n          }\n        });\n\n        return processedHeaders;\n      }\n\n      function mergeHeaders(config) {\n        var defHeaders = defaults.headers,\n            reqHeaders = extend({}, config.headers),\n            defHeaderName, lowercaseDefHeaderName, reqHeaderName;\n\n        defHeaders = extend({}, defHeaders.common, defHeaders[lowercase(config.method)]);\n\n        // using for-in instead of forEach to avoid unecessary iteration after header has been found\n        defaultHeadersIteration:\n        for (defHeaderName in defHeaders) {\n          lowercaseDefHeaderName = lowercase(defHeaderName);\n\n          for (reqHeaderName in reqHeaders) {\n            if (lowercase(reqHeaderName) === lowercaseDefHeaderName) {\n              continue defaultHeadersIteration;\n            }\n          }\n\n          reqHeaders[defHeaderName] = defHeaders[defHeaderName];\n        }\n\n        // execute if header value is a function for merged headers\n        return executeHeaderFns(reqHeaders, shallowCopy(config));\n      }\n    }\n\n    $http.pendingRequests = [];\n\n    /**\n     * @ngdoc method\n     * @name $http#get\n     *\n     * @description\n     * Shortcut method to perform `GET` request.\n     *\n     * @param {string} url Relative or absolute URL specifying the destination of the request\n     * @param {Object=} config Optional configuration object\n     * @returns {HttpPromise} Future object\n     */\n\n    /**\n     * @ngdoc method\n     * @name $http#delete\n     *\n     * @description\n     * Shortcut method to perform `DELETE` request.\n     *\n     * @param {string} url Relative or absolute URL specifying the destination of the request\n     * @param {Object=} config Optional configuration object\n     * @returns {HttpPromise} Future object\n     */\n\n    /**\n     * @ngdoc method\n     * @name $http#head\n     *\n     * @description\n     * Shortcut method to perform `HEAD` request.\n     *\n     * @param {string} url Relative or absolute URL specifying the destination of the request\n     * @param {Object=} config Optional configuration object\n     * @returns {HttpPromise} Future object\n     */\n\n    /**\n     * @ngdoc method\n     * @name $http#jsonp\n     *\n     * @description\n     * Shortcut method to perform `JSONP` request.\n     *\n     * @param {string} url Relative or absolute URL specifying the destination of the request.\n     *                     The name of the callback should be the string `JSON_CALLBACK`.\n     * @param {Object=} config Optional configuration object\n     * @returns {HttpPromise} Future object\n     */\n    createShortMethods('get', 'delete', 'head', 'jsonp');\n\n    /**\n     * @ngdoc method\n     * @name $http#post\n     *\n     * @description\n     * Shortcut method to perform `POST` request.\n     *\n     * @param {string} url Relative or absolute URL specifying the destination of the request\n     * @param {*} data Request content\n     * @param {Object=} config Optional configuration object\n     * @returns {HttpPromise} Future object\n     */\n\n    /**\n     * @ngdoc method\n     * @name $http#put\n     *\n     * @description\n     * Shortcut method to perform `PUT` request.\n     *\n     * @param {string} url Relative or absolute URL specifying the destination of the request\n     * @param {*} data Request content\n     * @param {Object=} config Optional configuration object\n     * @returns {HttpPromise} Future object\n     */\n\n     /**\n      * @ngdoc method\n      * @name $http#patch\n      *\n      * @description\n      * Shortcut method to perform `PATCH` request.\n      *\n      * @param {string} url Relative or absolute URL specifying the destination of the request\n      * @param {*} data Request content\n      * @param {Object=} config Optional configuration object\n      * @returns {HttpPromise} Future object\n      */\n    createShortMethodsWithData('post', 'put', 'patch');\n\n        /**\n         * @ngdoc property\n         * @name $http#defaults\n         *\n         * @description\n         * Runtime equivalent of the `$httpProvider.defaults` property. Allows configuration of\n         * default headers, withCredentials as well as request and response transformations.\n         *\n         * See \"Setting HTTP Headers\" and \"Transforming Requests and Responses\" sections above.\n         */\n    $http.defaults = defaults;\n\n\n    return $http;\n\n\n    function createShortMethods(names) {\n      forEach(arguments, function(name) {\n        $http[name] = function(url, config) {\n          return $http(extend({}, config || {}, {\n            method: name,\n            url: url\n          }));\n        };\n      });\n    }\n\n\n    function createShortMethodsWithData(name) {\n      forEach(arguments, function(name) {\n        $http[name] = function(url, data, config) {\n          return $http(extend({}, config || {}, {\n            method: name,\n            url: url,\n            data: data\n          }));\n        };\n      });\n    }\n\n\n    /**\n     * Makes the request.\n     *\n     * !!! ACCESSES CLOSURE VARS:\n     * $httpBackend, defaults, $log, $rootScope, defaultCache, $http.pendingRequests\n     */\n    function sendReq(config, reqData) {\n      var deferred = $q.defer(),\n          promise = deferred.promise,\n          cache,\n          cachedResp,\n          reqHeaders = config.headers,\n          url = buildUrl(config.url, config.paramSerializer(config.params));\n\n      $http.pendingRequests.push(config);\n      promise.then(removePendingReq, removePendingReq);\n\n\n      if ((config.cache || defaults.cache) && config.cache !== false &&\n          (config.method === 'GET' || config.method === 'JSONP')) {\n        cache = isObject(config.cache) ? config.cache\n              : isObject(defaults.cache) ? defaults.cache\n              : defaultCache;\n      }\n\n      if (cache) {\n        cachedResp = cache.get(url);\n        if (isDefined(cachedResp)) {\n          if (isPromiseLike(cachedResp)) {\n            // cached request has already been sent, but there is no response yet\n            cachedResp.then(resolvePromiseWithResult, resolvePromiseWithResult);\n          } else {\n            // serving from cache\n            if (isArray(cachedResp)) {\n              resolvePromise(cachedResp[1], cachedResp[0], shallowCopy(cachedResp[2]), cachedResp[3]);\n            } else {\n              resolvePromise(cachedResp, 200, {}, 'OK');\n            }\n          }\n        } else {\n          // put the promise for the non-transformed response into cache as a placeholder\n          cache.put(url, promise);\n        }\n      }\n\n\n      // if we won't have the response in cache, set the xsrf headers and\n      // send the request to the backend\n      if (isUndefined(cachedResp)) {\n        var xsrfValue = urlIsSameOrigin(config.url)\n            ? $$cookieReader()[config.xsrfCookieName || defaults.xsrfCookieName]\n            : undefined;\n        if (xsrfValue) {\n          reqHeaders[(config.xsrfHeaderName || defaults.xsrfHeaderName)] = xsrfValue;\n        }\n\n        $httpBackend(config.method, url, reqData, done, reqHeaders, config.timeout,\n            config.withCredentials, config.responseType);\n      }\n\n      return promise;\n\n\n      /**\n       * Callback registered to $httpBackend():\n       *  - caches the response if desired\n       *  - resolves the raw $http promise\n       *  - calls $apply\n       */\n      function done(status, response, headersString, statusText) {\n        if (cache) {\n          if (isSuccess(status)) {\n            cache.put(url, [status, response, parseHeaders(headersString), statusText]);\n          } else {\n            // remove promise from the cache\n            cache.remove(url);\n          }\n        }\n\n        function resolveHttpPromise() {\n          resolvePromise(response, status, headersString, statusText);\n        }\n\n        if (useApplyAsync) {\n          $rootScope.$applyAsync(resolveHttpPromise);\n        } else {\n          resolveHttpPromise();\n          if (!$rootScope.$$phase) $rootScope.$apply();\n        }\n      }\n\n\n      /**\n       * Resolves the raw $http promise.\n       */\n      function resolvePromise(response, status, headers, statusText) {\n        //status: HTTP response status code, 0, -1 (aborted by timeout / promise)\n        status = status >= -1 ? status : 0;\n\n        (isSuccess(status) ? deferred.resolve : deferred.reject)({\n          data: response,\n          status: status,\n          headers: headersGetter(headers),\n          config: config,\n          statusText: statusText\n        });\n      }\n\n      function resolvePromiseWithResult(result) {\n        resolvePromise(result.data, result.status, shallowCopy(result.headers()), result.statusText);\n      }\n\n      function removePendingReq() {\n        var idx = $http.pendingRequests.indexOf(config);\n        if (idx !== -1) $http.pendingRequests.splice(idx, 1);\n      }\n    }\n\n\n    function buildUrl(url, serializedParams) {\n      if (serializedParams.length > 0) {\n        url += ((url.indexOf('?') == -1) ? '?' : '&') + serializedParams;\n      }\n      return url;\n    }\n  }];\n}\n\n/**\n * @ngdoc service\n * @name $xhrFactory\n *\n * @description\n * Factory function used to create XMLHttpRequest objects.\n *\n * Replace or decorate this service to create your own custom XMLHttpRequest objects.\n *\n * ```\n * angular.module('myApp', [])\n * .factory('$xhrFactory', function() {\n *   return function createXhr(method, url) {\n *     return new window.XMLHttpRequest({mozSystem: true});\n *   };\n * });\n * ```\n *\n * @param {string} method HTTP method of the request (GET, POST, PUT, ..)\n * @param {string} url URL of the request.\n */\nfunction $xhrFactoryProvider() {\n  this.$get = function() {\n    return function createXhr() {\n      return new window.XMLHttpRequest();\n    };\n  };\n}\n\n/**\n * @ngdoc service\n * @name $httpBackend\n * @requires $window\n * @requires $document\n * @requires $xhrFactory\n *\n * @description\n * HTTP backend used by the {@link ng.$http service} that delegates to\n * XMLHttpRequest object or JSONP and deals with browser incompatibilities.\n *\n * You should never need to use this service directly, instead use the higher-level abstractions:\n * {@link ng.$http $http} or {@link ngResource.$resource $resource}.\n *\n * During testing this implementation is swapped with {@link ngMock.$httpBackend mock\n * $httpBackend} which can be trained with responses.\n */\nfunction $HttpBackendProvider() {\n  this.$get = ['$browser', '$window', '$document', '$xhrFactory', function($browser, $window, $document, $xhrFactory) {\n    return createHttpBackend($browser, $xhrFactory, $browser.defer, $window.angular.callbacks, $document[0]);\n  }];\n}\n\nfunction createHttpBackend($browser, createXhr, $browserDefer, callbacks, rawDocument) {\n  // TODO(vojta): fix the signature\n  return function(method, url, post, callback, headers, timeout, withCredentials, responseType) {\n    $browser.$$incOutstandingRequestCount();\n    url = url || $browser.url();\n\n    if (lowercase(method) == 'jsonp') {\n      var callbackId = '_' + (callbacks.counter++).toString(36);\n      callbacks[callbackId] = function(data) {\n        callbacks[callbackId].data = data;\n        callbacks[callbackId].called = true;\n      };\n\n      var jsonpDone = jsonpReq(url.replace('JSON_CALLBACK', 'angular.callbacks.' + callbackId),\n          callbackId, function(status, text) {\n        completeRequest(callback, status, callbacks[callbackId].data, \"\", text);\n        callbacks[callbackId] = noop;\n      });\n    } else {\n\n      var xhr = createXhr(method, url);\n\n      xhr.open(method, url, true);\n      forEach(headers, function(value, key) {\n        if (isDefined(value)) {\n            xhr.setRequestHeader(key, value);\n        }\n      });\n\n      xhr.onload = function requestLoaded() {\n        var statusText = xhr.statusText || '';\n\n        // responseText is the old-school way of retrieving response (supported by IE9)\n        // response/responseType properties were introduced in XHR Level2 spec (supported by IE10)\n        var response = ('response' in xhr) ? xhr.response : xhr.responseText;\n\n        // normalize IE9 bug (http://bugs.jquery.com/ticket/1450)\n        var status = xhr.status === 1223 ? 204 : xhr.status;\n\n        // fix status code when it is 0 (0 status is undocumented).\n        // Occurs when accessing file resources or on Android 4.1 stock browser\n        // while retrieving files from application cache.\n        if (status === 0) {\n          status = response ? 200 : urlResolve(url).protocol == 'file' ? 404 : 0;\n        }\n\n        completeRequest(callback,\n            status,\n            response,\n            xhr.getAllResponseHeaders(),\n            statusText);\n      };\n\n      var requestError = function() {\n        // The response is always empty\n        // See https://xhr.spec.whatwg.org/#request-error-steps and https://fetch.spec.whatwg.org/#concept-network-error\n        completeRequest(callback, -1, null, null, '');\n      };\n\n      xhr.onerror = requestError;\n      xhr.onabort = requestError;\n\n      if (withCredentials) {\n        xhr.withCredentials = true;\n      }\n\n      if (responseType) {\n        try {\n          xhr.responseType = responseType;\n        } catch (e) {\n          // WebKit added support for the json responseType value on 09/03/2013\n          // https://bugs.webkit.org/show_bug.cgi?id=73648. Versions of Safari prior to 7 are\n          // known to throw when setting the value \"json\" as the response type. Other older\n          // browsers implementing the responseType\n          //\n          // The json response type can be ignored if not supported, because JSON payloads are\n          // parsed on the client-side regardless.\n          if (responseType !== 'json') {\n            throw e;\n          }\n        }\n      }\n\n      xhr.send(isUndefined(post) ? null : post);\n    }\n\n    if (timeout > 0) {\n      var timeoutId = $browserDefer(timeoutRequest, timeout);\n    } else if (isPromiseLike(timeout)) {\n      timeout.then(timeoutRequest);\n    }\n\n\n    function timeoutRequest() {\n      jsonpDone && jsonpDone();\n      xhr && xhr.abort();\n    }\n\n    function completeRequest(callback, status, response, headersString, statusText) {\n      // cancel timeout and subsequent timeout promise resolution\n      if (isDefined(timeoutId)) {\n        $browserDefer.cancel(timeoutId);\n      }\n      jsonpDone = xhr = null;\n\n      callback(status, response, headersString, statusText);\n      $browser.$$completeOutstandingRequest(noop);\n    }\n  };\n\n  function jsonpReq(url, callbackId, done) {\n    // we can't use jQuery/jqLite here because jQuery does crazy stuff with script elements, e.g.:\n    // - fetches local scripts via XHR and evals them\n    // - adds and immediately removes script elements from the document\n    var script = rawDocument.createElement('script'), callback = null;\n    script.type = \"text/javascript\";\n    script.src = url;\n    script.async = true;\n\n    callback = function(event) {\n      removeEventListenerFn(script, \"load\", callback);\n      removeEventListenerFn(script, \"error\", callback);\n      rawDocument.body.removeChild(script);\n      script = null;\n      var status = -1;\n      var text = \"unknown\";\n\n      if (event) {\n        if (event.type === \"load\" && !callbacks[callbackId].called) {\n          event = { type: \"error\" };\n        }\n        text = event.type;\n        status = event.type === \"error\" ? 404 : 200;\n      }\n\n      if (done) {\n        done(status, text);\n      }\n    };\n\n    addEventListenerFn(script, \"load\", callback);\n    addEventListenerFn(script, \"error\", callback);\n    rawDocument.body.appendChild(script);\n    return callback;\n  }\n}\n\nvar $interpolateMinErr = angular.$interpolateMinErr = minErr('$interpolate');\n$interpolateMinErr.throwNoconcat = function(text) {\n  throw $interpolateMinErr('noconcat',\n      \"Error while interpolating: {0}\\nStrict Contextual Escaping disallows \" +\n      \"interpolations that concatenate multiple expressions when a trusted value is \" +\n      \"required.  See http://docs.angularjs.org/api/ng.$sce\", text);\n};\n\n$interpolateMinErr.interr = function(text, err) {\n  return $interpolateMinErr('interr', \"Can't interpolate: {0}\\n{1}\", text, err.toString());\n};\n\n/**\n * @ngdoc provider\n * @name $interpolateProvider\n *\n * @description\n *\n * Used for configuring the interpolation markup. Defaults to `{{` and `}}`.\n *\n * @example\n<example module=\"customInterpolationApp\">\n<file name=\"index.html\">\n<script>\n  var customInterpolationApp = angular.module('customInterpolationApp', []);\n\n  customInterpolationApp.config(function($interpolateProvider) {\n    $interpolateProvider.startSymbol('//');\n    $interpolateProvider.endSymbol('//');\n  });\n\n\n  customInterpolationApp.controller('DemoController', function() {\n      this.label = \"This binding is brought you by // interpolation symbols.\";\n  });\n</script>\n<div ng-app=\"App\" ng-controller=\"DemoController as demo\">\n    //demo.label//\n</div>\n</file>\n<file name=\"protractor.js\" type=\"protractor\">\n  it('should interpolate binding with custom symbols', function() {\n    expect(element(by.binding('demo.label')).getText()).toBe('This binding is brought you by // interpolation symbols.');\n  });\n</file>\n</example>\n */\nfunction $InterpolateProvider() {\n  var startSymbol = '{{';\n  var endSymbol = '}}';\n\n  /**\n   * @ngdoc method\n   * @name $interpolateProvider#startSymbol\n   * @description\n   * Symbol to denote start of expression in the interpolated string. Defaults to `{{`.\n   *\n   * @param {string=} value new value to set the starting symbol to.\n   * @returns {string|self} Returns the symbol when used as getter and self if used as setter.\n   */\n  this.startSymbol = function(value) {\n    if (value) {\n      startSymbol = value;\n      return this;\n    } else {\n      return startSymbol;\n    }\n  };\n\n  /**\n   * @ngdoc method\n   * @name $interpolateProvider#endSymbol\n   * @description\n   * Symbol to denote the end of expression in the interpolated string. Defaults to `}}`.\n   *\n   * @param {string=} value new value to set the ending symbol to.\n   * @returns {string|self} Returns the symbol when used as getter and self if used as setter.\n   */\n  this.endSymbol = function(value) {\n    if (value) {\n      endSymbol = value;\n      return this;\n    } else {\n      return endSymbol;\n    }\n  };\n\n\n  this.$get = ['$parse', '$exceptionHandler', '$sce', function($parse, $exceptionHandler, $sce) {\n    var startSymbolLength = startSymbol.length,\n        endSymbolLength = endSymbol.length,\n        escapedStartRegexp = new RegExp(startSymbol.replace(/./g, escape), 'g'),\n        escapedEndRegexp = new RegExp(endSymbol.replace(/./g, escape), 'g');\n\n    function escape(ch) {\n      return '\\\\\\\\\\\\' + ch;\n    }\n\n    function unescapeText(text) {\n      return text.replace(escapedStartRegexp, startSymbol).\n        replace(escapedEndRegexp, endSymbol);\n    }\n\n    function stringify(value) {\n      if (value == null) { // null || undefined\n        return '';\n      }\n      switch (typeof value) {\n        case 'string':\n          break;\n        case 'number':\n          value = '' + value;\n          break;\n        default:\n          value = toJson(value);\n      }\n\n      return value;\n    }\n\n    /**\n     * @ngdoc service\n     * @name $interpolate\n     * @kind function\n     *\n     * @requires $parse\n     * @requires $sce\n     *\n     * @description\n     *\n     * Compiles a string with markup into an interpolation function. This service is used by the\n     * HTML {@link ng.$compile $compile} service for data binding. See\n     * {@link ng.$interpolateProvider $interpolateProvider} for configuring the\n     * interpolation markup.\n     *\n     *\n     * ```js\n     *   var $interpolate = ...; // injected\n     *   var exp = $interpolate('Hello {{name | uppercase}}!');\n     *   expect(exp({name:'Angular'})).toEqual('Hello ANGULAR!');\n     * ```\n     *\n     * `$interpolate` takes an optional fourth argument, `allOrNothing`. If `allOrNothing` is\n     * `true`, the interpolation function will return `undefined` unless all embedded expressions\n     * evaluate to a value other than `undefined`.\n     *\n     * ```js\n     *   var $interpolate = ...; // injected\n     *   var context = {greeting: 'Hello', name: undefined };\n     *\n     *   // default \"forgiving\" mode\n     *   var exp = $interpolate('{{greeting}} {{name}}!');\n     *   expect(exp(context)).toEqual('Hello !');\n     *\n     *   // \"allOrNothing\" mode\n     *   exp = $interpolate('{{greeting}} {{name}}!', false, null, true);\n     *   expect(exp(context)).toBeUndefined();\n     *   context.name = 'Angular';\n     *   expect(exp(context)).toEqual('Hello Angular!');\n     * ```\n     *\n     * `allOrNothing` is useful for interpolating URLs. `ngSrc` and `ngSrcset` use this behavior.\n     *\n     * ####Escaped Interpolation\n     * $interpolate provides a mechanism for escaping interpolation markers. Start and end markers\n     * can be escaped by preceding each of their characters with a REVERSE SOLIDUS U+005C (backslash).\n     * It will be rendered as a regular start/end marker, and will not be interpreted as an expression\n     * or binding.\n     *\n     * This enables web-servers to prevent script injection attacks and defacing attacks, to some\n     * degree, while also enabling code examples to work without relying on the\n     * {@link ng.directive:ngNonBindable ngNonBindable} directive.\n     *\n     * **For security purposes, it is strongly encouraged that web servers escape user-supplied data,\n     * replacing angle brackets (&lt;, &gt;) with &amp;lt; and &amp;gt; respectively, and replacing all\n     * interpolation start/end markers with their escaped counterparts.**\n     *\n     * Escaped interpolation markers are only replaced with the actual interpolation markers in rendered\n     * output when the $interpolate service processes the text. So, for HTML elements interpolated\n     * by {@link ng.$compile $compile}, or otherwise interpolated with the `mustHaveExpression` parameter\n     * set to `true`, the interpolated text must contain an unescaped interpolation expression. As such,\n     * this is typically useful only when user-data is used in rendering a template from the server, or\n     * when otherwise untrusted data is used by a directive.\n     *\n     * <example>\n     *  <file name=\"index.html\">\n     *    <div ng-init=\"username='A user'\">\n     *      <p ng-init=\"apptitle='Escaping demo'\">{{apptitle}}: \\{\\{ username = \"defaced value\"; \\}\\}\n     *        </p>\n     *      <p><strong>{{username}}</strong> attempts to inject code which will deface the\n     *        application, but fails to accomplish their task, because the server has correctly\n     *        escaped the interpolation start/end markers with REVERSE SOLIDUS U+005C (backslash)\n     *        characters.</p>\n     *      <p>Instead, the result of the attempted script injection is visible, and can be removed\n     *        from the database by an administrator.</p>\n     *    </div>\n     *  </file>\n     * </example>\n     *\n     * @param {string} text The text with markup to interpolate.\n     * @param {boolean=} mustHaveExpression if set to true then the interpolation string must have\n     *    embedded expression in order to return an interpolation function. Strings with no\n     *    embedded expression will return null for the interpolation function.\n     * @param {string=} trustedContext when provided, the returned function passes the interpolated\n     *    result through {@link ng.$sce#getTrusted $sce.getTrusted(interpolatedResult,\n     *    trustedContext)} before returning it.  Refer to the {@link ng.$sce $sce} service that\n     *    provides Strict Contextual Escaping for details.\n     * @param {boolean=} allOrNothing if `true`, then the returned function returns undefined\n     *    unless all embedded expressions evaluate to a value other than `undefined`.\n     * @returns {function(context)} an interpolation function which is used to compute the\n     *    interpolated string. The function has these parameters:\n     *\n     * - `context`: evaluation context for all expressions embedded in the interpolated text\n     */\n    function $interpolate(text, mustHaveExpression, trustedContext, allOrNothing) {\n      allOrNothing = !!allOrNothing;\n      var startIndex,\n          endIndex,\n          index = 0,\n          expressions = [],\n          parseFns = [],\n          textLength = text.length,\n          exp,\n          concat = [],\n          expressionPositions = [];\n\n      while (index < textLength) {\n        if (((startIndex = text.indexOf(startSymbol, index)) != -1) &&\n             ((endIndex = text.indexOf(endSymbol, startIndex + startSymbolLength)) != -1)) {\n          if (index !== startIndex) {\n            concat.push(unescapeText(text.substring(index, startIndex)));\n          }\n          exp = text.substring(startIndex + startSymbolLength, endIndex);\n          expressions.push(exp);\n          parseFns.push($parse(exp, parseStringifyInterceptor));\n          index = endIndex + endSymbolLength;\n          expressionPositions.push(concat.length);\n          concat.push('');\n        } else {\n          // we did not find an interpolation, so we have to add the remainder to the separators array\n          if (index !== textLength) {\n            concat.push(unescapeText(text.substring(index)));\n          }\n          break;\n        }\n      }\n\n      // Concatenating expressions makes it hard to reason about whether some combination of\n      // concatenated values are unsafe to use and could easily lead to XSS.  By requiring that a\n      // single expression be used for iframe[src], object[src], etc., we ensure that the value\n      // that's used is assigned or constructed by some JS code somewhere that is more testable or\n      // make it obvious that you bound the value to some user controlled value.  This helps reduce\n      // the load when auditing for XSS issues.\n      if (trustedContext && concat.length > 1) {\n          $interpolateMinErr.throwNoconcat(text);\n      }\n\n      if (!mustHaveExpression || expressions.length) {\n        var compute = function(values) {\n          for (var i = 0, ii = expressions.length; i < ii; i++) {\n            if (allOrNothing && isUndefined(values[i])) return;\n            concat[expressionPositions[i]] = values[i];\n          }\n          return concat.join('');\n        };\n\n        var getValue = function(value) {\n          return trustedContext ?\n            $sce.getTrusted(trustedContext, value) :\n            $sce.valueOf(value);\n        };\n\n        return extend(function interpolationFn(context) {\n            var i = 0;\n            var ii = expressions.length;\n            var values = new Array(ii);\n\n            try {\n              for (; i < ii; i++) {\n                values[i] = parseFns[i](context);\n              }\n\n              return compute(values);\n            } catch (err) {\n              $exceptionHandler($interpolateMinErr.interr(text, err));\n            }\n\n          }, {\n          // all of these properties are undocumented for now\n          exp: text, //just for compatibility with regular watchers created via $watch\n          expressions: expressions,\n          $$watchDelegate: function(scope, listener) {\n            var lastValue;\n            return scope.$watchGroup(parseFns, function interpolateFnWatcher(values, oldValues) {\n              var currValue = compute(values);\n              if (isFunction(listener)) {\n                listener.call(this, currValue, values !== oldValues ? lastValue : currValue, scope);\n              }\n              lastValue = currValue;\n            });\n          }\n        });\n      }\n\n      function parseStringifyInterceptor(value) {\n        try {\n          value = getValue(value);\n          return allOrNothing && !isDefined(value) ? value : stringify(value);\n        } catch (err) {\n          $exceptionHandler($interpolateMinErr.interr(text, err));\n        }\n      }\n    }\n\n\n    /**\n     * @ngdoc method\n     * @name $interpolate#startSymbol\n     * @description\n     * Symbol to denote the start of expression in the interpolated string. Defaults to `{{`.\n     *\n     * Use {@link ng.$interpolateProvider#startSymbol `$interpolateProvider.startSymbol`} to change\n     * the symbol.\n     *\n     * @returns {string} start symbol.\n     */\n    $interpolate.startSymbol = function() {\n      return startSymbol;\n    };\n\n\n    /**\n     * @ngdoc method\n     * @name $interpolate#endSymbol\n     * @description\n     * Symbol to denote the end of expression in the interpolated string. Defaults to `}}`.\n     *\n     * Use {@link ng.$interpolateProvider#endSymbol `$interpolateProvider.endSymbol`} to change\n     * the symbol.\n     *\n     * @returns {string} end symbol.\n     */\n    $interpolate.endSymbol = function() {\n      return endSymbol;\n    };\n\n    return $interpolate;\n  }];\n}\n\nfunction $IntervalProvider() {\n  this.$get = ['$rootScope', '$window', '$q', '$$q',\n       function($rootScope,   $window,   $q,   $$q) {\n    var intervals = {};\n\n\n     /**\n      * @ngdoc service\n      * @name $interval\n      *\n      * @description\n      * Angular's wrapper for `window.setInterval`. The `fn` function is executed every `delay`\n      * milliseconds.\n      *\n      * The return value of registering an interval function is a promise. This promise will be\n      * notified upon each tick of the interval, and will be resolved after `count` iterations, or\n      * run indefinitely if `count` is not defined. The value of the notification will be the\n      * number of iterations that have run.\n      * To cancel an interval, call `$interval.cancel(promise)`.\n      *\n      * In tests you can use {@link ngMock.$interval#flush `$interval.flush(millis)`} to\n      * move forward by `millis` milliseconds and trigger any functions scheduled to run in that\n      * time.\n      *\n      * <div class=\"alert alert-warning\">\n      * **Note**: Intervals created by this service must be explicitly destroyed when you are finished\n      * with them.  In particular they are not automatically destroyed when a controller's scope or a\n      * directive's element are destroyed.\n      * You should take this into consideration and make sure to always cancel the interval at the\n      * appropriate moment.  See the example below for more details on how and when to do this.\n      * </div>\n      *\n      * @param {function()} fn A function that should be called repeatedly.\n      * @param {number} delay Number of milliseconds between each function call.\n      * @param {number=} [count=0] Number of times to repeat. If not set, or 0, will repeat\n      *   indefinitely.\n      * @param {boolean=} [invokeApply=true] If set to `false` skips model dirty checking, otherwise\n      *   will invoke `fn` within the {@link ng.$rootScope.Scope#$apply $apply} block.\n      * @param {...*=} Pass additional parameters to the executed function.\n      * @returns {promise} A promise which will be notified on each iteration.\n      *\n      * @example\n      * <example module=\"intervalExample\">\n      * <file name=\"index.html\">\n      *   <script>\n      *     angular.module('intervalExample', [])\n      *       .controller('ExampleController', ['$scope', '$interval',\n      *         function($scope, $interval) {\n      *           $scope.format = 'M/d/yy h:mm:ss a';\n      *           $scope.blood_1 = 100;\n      *           $scope.blood_2 = 120;\n      *\n      *           var stop;\n      *           $scope.fight = function() {\n      *             // Don't start a new fight if we are already fighting\n      *             if ( angular.isDefined(stop) ) return;\n      *\n      *             stop = $interval(function() {\n      *               if ($scope.blood_1 > 0 && $scope.blood_2 > 0) {\n      *                 $scope.blood_1 = $scope.blood_1 - 3;\n      *                 $scope.blood_2 = $scope.blood_2 - 4;\n      *               } else {\n      *                 $scope.stopFight();\n      *               }\n      *             }, 100);\n      *           };\n      *\n      *           $scope.stopFight = function() {\n      *             if (angular.isDefined(stop)) {\n      *               $interval.cancel(stop);\n      *               stop = undefined;\n      *             }\n      *           };\n      *\n      *           $scope.resetFight = function() {\n      *             $scope.blood_1 = 100;\n      *             $scope.blood_2 = 120;\n      *           };\n      *\n      *           $scope.$on('$destroy', function() {\n      *             // Make sure that the interval is destroyed too\n      *             $scope.stopFight();\n      *           });\n      *         }])\n      *       // Register the 'myCurrentTime' directive factory method.\n      *       // We inject $interval and dateFilter service since the factory method is DI.\n      *       .directive('myCurrentTime', ['$interval', 'dateFilter',\n      *         function($interval, dateFilter) {\n      *           // return the directive link function. (compile function not needed)\n      *           return function(scope, element, attrs) {\n      *             var format,  // date format\n      *                 stopTime; // so that we can cancel the time updates\n      *\n      *             // used to update the UI\n      *             function updateTime() {\n      *               element.text(dateFilter(new Date(), format));\n      *             }\n      *\n      *             // watch the expression, and update the UI on change.\n      *             scope.$watch(attrs.myCurrentTime, function(value) {\n      *               format = value;\n      *               updateTime();\n      *             });\n      *\n      *             stopTime = $interval(updateTime, 1000);\n      *\n      *             // listen on DOM destroy (removal) event, and cancel the next UI update\n      *             // to prevent updating time after the DOM element was removed.\n      *             element.on('$destroy', function() {\n      *               $interval.cancel(stopTime);\n      *             });\n      *           }\n      *         }]);\n      *   </script>\n      *\n      *   <div>\n      *     <div ng-controller=\"ExampleController\">\n      *       <label>Date format: <input ng-model=\"format\"></label> <hr/>\n      *       Current time is: <span my-current-time=\"format\"></span>\n      *       <hr/>\n      *       Blood 1 : <font color='red'>{{blood_1}}</font>\n      *       Blood 2 : <font color='red'>{{blood_2}}</font>\n      *       <button type=\"button\" data-ng-click=\"fight()\">Fight</button>\n      *       <button type=\"button\" data-ng-click=\"stopFight()\">StopFight</button>\n      *       <button type=\"button\" data-ng-click=\"resetFight()\">resetFight</button>\n      *     </div>\n      *   </div>\n      *\n      * </file>\n      * </example>\n      */\n    function interval(fn, delay, count, invokeApply) {\n      var hasParams = arguments.length > 4,\n          args = hasParams ? sliceArgs(arguments, 4) : [],\n          setInterval = $window.setInterval,\n          clearInterval = $window.clearInterval,\n          iteration = 0,\n          skipApply = (isDefined(invokeApply) && !invokeApply),\n          deferred = (skipApply ? $$q : $q).defer(),\n          promise = deferred.promise;\n\n      count = isDefined(count) ? count : 0;\n\n      promise.then(null, null, (!hasParams) ? fn : function() {\n        fn.apply(null, args);\n      });\n\n      promise.$$intervalId = setInterval(function tick() {\n        deferred.notify(iteration++);\n\n        if (count > 0 && iteration >= count) {\n          deferred.resolve(iteration);\n          clearInterval(promise.$$intervalId);\n          delete intervals[promise.$$intervalId];\n        }\n\n        if (!skipApply) $rootScope.$apply();\n\n      }, delay);\n\n      intervals[promise.$$intervalId] = deferred;\n\n      return promise;\n    }\n\n\n     /**\n      * @ngdoc method\n      * @name $interval#cancel\n      *\n      * @description\n      * Cancels a task associated with the `promise`.\n      *\n      * @param {Promise=} promise returned by the `$interval` function.\n      * @returns {boolean} Returns `true` if the task was successfully canceled.\n      */\n    interval.cancel = function(promise) {\n      if (promise && promise.$$intervalId in intervals) {\n        intervals[promise.$$intervalId].reject('canceled');\n        $window.clearInterval(promise.$$intervalId);\n        delete intervals[promise.$$intervalId];\n        return true;\n      }\n      return false;\n    };\n\n    return interval;\n  }];\n}\n\n/**\n * @ngdoc service\n * @name $locale\n *\n * @description\n * $locale service provides localization rules for various Angular components. As of right now the\n * only public api is:\n *\n * * `id` – `{string}` – locale id formatted as `languageId-countryId` (e.g. `en-us`)\n */\n\nvar PATH_MATCH = /^([^\\?#]*)(\\?([^#]*))?(#(.*))?$/,\n    DEFAULT_PORTS = {'http': 80, 'https': 443, 'ftp': 21};\nvar $locationMinErr = minErr('$location');\n\n\n/**\n * Encode path using encodeUriSegment, ignoring forward slashes\n *\n * @param {string} path Path to encode\n * @returns {string}\n */\nfunction encodePath(path) {\n  var segments = path.split('/'),\n      i = segments.length;\n\n  while (i--) {\n    segments[i] = encodeUriSegment(segments[i]);\n  }\n\n  return segments.join('/');\n}\n\nfunction parseAbsoluteUrl(absoluteUrl, locationObj) {\n  var parsedUrl = urlResolve(absoluteUrl);\n\n  locationObj.$$protocol = parsedUrl.protocol;\n  locationObj.$$host = parsedUrl.hostname;\n  locationObj.$$port = toInt(parsedUrl.port) || DEFAULT_PORTS[parsedUrl.protocol] || null;\n}\n\n\nfunction parseAppUrl(relativeUrl, locationObj) {\n  var prefixed = (relativeUrl.charAt(0) !== '/');\n  if (prefixed) {\n    relativeUrl = '/' + relativeUrl;\n  }\n  var match = urlResolve(relativeUrl);\n  locationObj.$$path = decodeURIComponent(prefixed && match.pathname.charAt(0) === '/' ?\n      match.pathname.substring(1) : match.pathname);\n  locationObj.$$search = parseKeyValue(match.search);\n  locationObj.$$hash = decodeURIComponent(match.hash);\n\n  // make sure path starts with '/';\n  if (locationObj.$$path && locationObj.$$path.charAt(0) != '/') {\n    locationObj.$$path = '/' + locationObj.$$path;\n  }\n}\n\n\n/**\n *\n * @param {string} begin\n * @param {string} whole\n * @returns {string} returns text from whole after begin or undefined if it does not begin with\n *                   expected string.\n */\nfunction beginsWith(begin, whole) {\n  if (whole.indexOf(begin) === 0) {\n    return whole.substr(begin.length);\n  }\n}\n\n\nfunction stripHash(url) {\n  var index = url.indexOf('#');\n  return index == -1 ? url : url.substr(0, index);\n}\n\nfunction trimEmptyHash(url) {\n  return url.replace(/(#.+)|#$/, '$1');\n}\n\n\nfunction stripFile(url) {\n  return url.substr(0, stripHash(url).lastIndexOf('/') + 1);\n}\n\n/* return the server only (scheme://host:port) */\nfunction serverBase(url) {\n  return url.substring(0, url.indexOf('/', url.indexOf('//') + 2));\n}\n\n\n/**\n * LocationHtml5Url represents an url\n * This object is exposed as $location service when HTML5 mode is enabled and supported\n *\n * @constructor\n * @param {string} appBase application base URL\n * @param {string} appBaseNoFile application base URL stripped of any filename\n * @param {string} basePrefix url path prefix\n */\nfunction LocationHtml5Url(appBase, appBaseNoFile, basePrefix) {\n  this.$$html5 = true;\n  basePrefix = basePrefix || '';\n  parseAbsoluteUrl(appBase, this);\n\n\n  /**\n   * Parse given html5 (regular) url string into properties\n   * @param {string} url HTML5 url\n   * @private\n   */\n  this.$$parse = function(url) {\n    var pathUrl = beginsWith(appBaseNoFile, url);\n    if (!isString(pathUrl)) {\n      throw $locationMinErr('ipthprfx', 'Invalid url \"{0}\", missing path prefix \"{1}\".', url,\n          appBaseNoFile);\n    }\n\n    parseAppUrl(pathUrl, this);\n\n    if (!this.$$path) {\n      this.$$path = '/';\n    }\n\n    this.$$compose();\n  };\n\n  /**\n   * Compose url and update `absUrl` property\n   * @private\n   */\n  this.$$compose = function() {\n    var search = toKeyValue(this.$$search),\n        hash = this.$$hash ? '#' + encodeUriSegment(this.$$hash) : '';\n\n    this.$$url = encodePath(this.$$path) + (search ? '?' + search : '') + hash;\n    this.$$absUrl = appBaseNoFile + this.$$url.substr(1); // first char is always '/'\n  };\n\n  this.$$parseLinkUrl = function(url, relHref) {\n    if (relHref && relHref[0] === '#') {\n      // special case for links to hash fragments:\n      // keep the old url and only replace the hash fragment\n      this.hash(relHref.slice(1));\n      return true;\n    }\n    var appUrl, prevAppUrl;\n    var rewrittenUrl;\n\n    if (isDefined(appUrl = beginsWith(appBase, url))) {\n      prevAppUrl = appUrl;\n      if (isDefined(appUrl = beginsWith(basePrefix, appUrl))) {\n        rewrittenUrl = appBaseNoFile + (beginsWith('/', appUrl) || appUrl);\n      } else {\n        rewrittenUrl = appBase + prevAppUrl;\n      }\n    } else if (isDefined(appUrl = beginsWith(appBaseNoFile, url))) {\n      rewrittenUrl = appBaseNoFile + appUrl;\n    } else if (appBaseNoFile == url + '/') {\n      rewrittenUrl = appBaseNoFile;\n    }\n    if (rewrittenUrl) {\n      this.$$parse(rewrittenUrl);\n    }\n    return !!rewrittenUrl;\n  };\n}\n\n\n/**\n * LocationHashbangUrl represents url\n * This object is exposed as $location service when developer doesn't opt into html5 mode.\n * It also serves as the base class for html5 mode fallback on legacy browsers.\n *\n * @constructor\n * @param {string} appBase application base URL\n * @param {string} appBaseNoFile application base URL stripped of any filename\n * @param {string} hashPrefix hashbang prefix\n */\nfunction LocationHashbangUrl(appBase, appBaseNoFile, hashPrefix) {\n\n  parseAbsoluteUrl(appBase, this);\n\n\n  /**\n   * Parse given hashbang url into properties\n   * @param {string} url Hashbang url\n   * @private\n   */\n  this.$$parse = function(url) {\n    var withoutBaseUrl = beginsWith(appBase, url) || beginsWith(appBaseNoFile, url);\n    var withoutHashUrl;\n\n    if (!isUndefined(withoutBaseUrl) && withoutBaseUrl.charAt(0) === '#') {\n\n      // The rest of the url starts with a hash so we have\n      // got either a hashbang path or a plain hash fragment\n      withoutHashUrl = beginsWith(hashPrefix, withoutBaseUrl);\n      if (isUndefined(withoutHashUrl)) {\n        // There was no hashbang prefix so we just have a hash fragment\n        withoutHashUrl = withoutBaseUrl;\n      }\n\n    } else {\n      // There was no hashbang path nor hash fragment:\n      // If we are in HTML5 mode we use what is left as the path;\n      // Otherwise we ignore what is left\n      if (this.$$html5) {\n        withoutHashUrl = withoutBaseUrl;\n      } else {\n        withoutHashUrl = '';\n        if (isUndefined(withoutBaseUrl)) {\n          appBase = url;\n          this.replace();\n        }\n      }\n    }\n\n    parseAppUrl(withoutHashUrl, this);\n\n    this.$$path = removeWindowsDriveName(this.$$path, withoutHashUrl, appBase);\n\n    this.$$compose();\n\n    /*\n     * In Windows, on an anchor node on documents loaded from\n     * the filesystem, the browser will return a pathname\n     * prefixed with the drive name ('/C:/path') when a\n     * pathname without a drive is set:\n     *  * a.setAttribute('href', '/foo')\n     *   * a.pathname === '/C:/foo' //true\n     *\n     * Inside of Angular, we're always using pathnames that\n     * do not include drive names for routing.\n     */\n    function removeWindowsDriveName(path, url, base) {\n      /*\n      Matches paths for file protocol on windows,\n      such as /C:/foo/bar, and captures only /foo/bar.\n      */\n      var windowsFilePathExp = /^\\/[A-Z]:(\\/.*)/;\n\n      var firstPathSegmentMatch;\n\n      //Get the relative path from the input URL.\n      if (url.indexOf(base) === 0) {\n        url = url.replace(base, '');\n      }\n\n      // The input URL intentionally contains a first path segment that ends with a colon.\n      if (windowsFilePathExp.exec(url)) {\n        return path;\n      }\n\n      firstPathSegmentMatch = windowsFilePathExp.exec(path);\n      return firstPathSegmentMatch ? firstPathSegmentMatch[1] : path;\n    }\n  };\n\n  /**\n   * Compose hashbang url and update `absUrl` property\n   * @private\n   */\n  this.$$compose = function() {\n    var search = toKeyValue(this.$$search),\n        hash = this.$$hash ? '#' + encodeUriSegment(this.$$hash) : '';\n\n    this.$$url = encodePath(this.$$path) + (search ? '?' + search : '') + hash;\n    this.$$absUrl = appBase + (this.$$url ? hashPrefix + this.$$url : '');\n  };\n\n  this.$$parseLinkUrl = function(url, relHref) {\n    if (stripHash(appBase) == stripHash(url)) {\n      this.$$parse(url);\n      return true;\n    }\n    return false;\n  };\n}\n\n\n/**\n * LocationHashbangUrl represents url\n * This object is exposed as $location service when html5 history api is enabled but the browser\n * does not support it.\n *\n * @constructor\n * @param {string} appBase application base URL\n * @param {string} appBaseNoFile application base URL stripped of any filename\n * @param {string} hashPrefix hashbang prefix\n */\nfunction LocationHashbangInHtml5Url(appBase, appBaseNoFile, hashPrefix) {\n  this.$$html5 = true;\n  LocationHashbangUrl.apply(this, arguments);\n\n  this.$$parseLinkUrl = function(url, relHref) {\n    if (relHref && relHref[0] === '#') {\n      // special case for links to hash fragments:\n      // keep the old url and only replace the hash fragment\n      this.hash(relHref.slice(1));\n      return true;\n    }\n\n    var rewrittenUrl;\n    var appUrl;\n\n    if (appBase == stripHash(url)) {\n      rewrittenUrl = url;\n    } else if ((appUrl = beginsWith(appBaseNoFile, url))) {\n      rewrittenUrl = appBase + hashPrefix + appUrl;\n    } else if (appBaseNoFile === url + '/') {\n      rewrittenUrl = appBaseNoFile;\n    }\n    if (rewrittenUrl) {\n      this.$$parse(rewrittenUrl);\n    }\n    return !!rewrittenUrl;\n  };\n\n  this.$$compose = function() {\n    var search = toKeyValue(this.$$search),\n        hash = this.$$hash ? '#' + encodeUriSegment(this.$$hash) : '';\n\n    this.$$url = encodePath(this.$$path) + (search ? '?' + search : '') + hash;\n    // include hashPrefix in $$absUrl when $$url is empty so IE9 does not reload page because of removal of '#'\n    this.$$absUrl = appBase + hashPrefix + this.$$url;\n  };\n\n}\n\n\nvar locationPrototype = {\n\n  /**\n   * Are we in html5 mode?\n   * @private\n   */\n  $$html5: false,\n\n  /**\n   * Has any change been replacing?\n   * @private\n   */\n  $$replace: false,\n\n  /**\n   * @ngdoc method\n   * @name $location#absUrl\n   *\n   * @description\n   * This method is getter only.\n   *\n   * Return full url representation with all segments encoded according to rules specified in\n   * [RFC 3986](http://www.ietf.org/rfc/rfc3986.txt).\n   *\n   *\n   * ```js\n   * // given url http://example.com/#/some/path?foo=bar&baz=xoxo\n   * var absUrl = $location.absUrl();\n   * // => \"http://example.com/#/some/path?foo=bar&baz=xoxo\"\n   * ```\n   *\n   * @return {string} full url\n   */\n  absUrl: locationGetter('$$absUrl'),\n\n  /**\n   * @ngdoc method\n   * @name $location#url\n   *\n   * @description\n   * This method is getter / setter.\n   *\n   * Return url (e.g. `/path?a=b#hash`) when called without any parameter.\n   *\n   * Change path, search and hash, when called with parameter and return `$location`.\n   *\n   *\n   * ```js\n   * // given url http://example.com/#/some/path?foo=bar&baz=xoxo\n   * var url = $location.url();\n   * // => \"/some/path?foo=bar&baz=xoxo\"\n   * ```\n   *\n   * @param {string=} url New url without base prefix (e.g. `/path?a=b#hash`)\n   * @return {string} url\n   */\n  url: function(url) {\n    if (isUndefined(url)) {\n      return this.$$url;\n    }\n\n    var match = PATH_MATCH.exec(url);\n    if (match[1] || url === '') this.path(decodeURIComponent(match[1]));\n    if (match[2] || match[1] || url === '') this.search(match[3] || '');\n    this.hash(match[5] || '');\n\n    return this;\n  },\n\n  /**\n   * @ngdoc method\n   * @name $location#protocol\n   *\n   * @description\n   * This method is getter only.\n   *\n   * Return protocol of current url.\n   *\n   *\n   * ```js\n   * // given url http://example.com/#/some/path?foo=bar&baz=xoxo\n   * var protocol = $location.protocol();\n   * // => \"http\"\n   * ```\n   *\n   * @return {string} protocol of current url\n   */\n  protocol: locationGetter('$$protocol'),\n\n  /**\n   * @ngdoc method\n   * @name $location#host\n   *\n   * @description\n   * This method is getter only.\n   *\n   * Return host of current url.\n   *\n   * Note: compared to the non-angular version `location.host` which returns `hostname:port`, this returns the `hostname` portion only.\n   *\n   *\n   * ```js\n   * // given url http://example.com/#/some/path?foo=bar&baz=xoxo\n   * var host = $location.host();\n   * // => \"example.com\"\n   *\n   * // given url http://user:password@example.com:8080/#/some/path?foo=bar&baz=xoxo\n   * host = $location.host();\n   * // => \"example.com\"\n   * host = location.host;\n   * // => \"example.com:8080\"\n   * ```\n   *\n   * @return {string} host of current url.\n   */\n  host: locationGetter('$$host'),\n\n  /**\n   * @ngdoc method\n   * @name $location#port\n   *\n   * @description\n   * This method is getter only.\n   *\n   * Return port of current url.\n   *\n   *\n   * ```js\n   * // given url http://example.com/#/some/path?foo=bar&baz=xoxo\n   * var port = $location.port();\n   * // => 80\n   * ```\n   *\n   * @return {Number} port\n   */\n  port: locationGetter('$$port'),\n\n  /**\n   * @ngdoc method\n   * @name $location#path\n   *\n   * @description\n   * This method is getter / setter.\n   *\n   * Return path of current url when called without any parameter.\n   *\n   * Change path when called with parameter and return `$location`.\n   *\n   * Note: Path should always begin with forward slash (/), this method will add the forward slash\n   * if it is missing.\n   *\n   *\n   * ```js\n   * // given url http://example.com/#/some/path?foo=bar&baz=xoxo\n   * var path = $location.path();\n   * // => \"/some/path\"\n   * ```\n   *\n   * @param {(string|number)=} path New path\n   * @return {string} path\n   */\n  path: locationGetterSetter('$$path', function(path) {\n    path = path !== null ? path.toString() : '';\n    return path.charAt(0) == '/' ? path : '/' + path;\n  }),\n\n  /**\n   * @ngdoc method\n   * @name $location#search\n   *\n   * @description\n   * This method is getter / setter.\n   *\n   * Return search part (as object) of current url when called without any parameter.\n   *\n   * Change search part when called with parameter and return `$location`.\n   *\n   *\n   * ```js\n   * // given url http://example.com/#/some/path?foo=bar&baz=xoxo\n   * var searchObject = $location.search();\n   * // => {foo: 'bar', baz: 'xoxo'}\n   *\n   * // set foo to 'yipee'\n   * $location.search('foo', 'yipee');\n   * // $location.search() => {foo: 'yipee', baz: 'xoxo'}\n   * ```\n   *\n   * @param {string|Object.<string>|Object.<Array.<string>>} search New search params - string or\n   * hash object.\n   *\n   * When called with a single argument the method acts as a setter, setting the `search` component\n   * of `$location` to the specified value.\n   *\n   * If the argument is a hash object containing an array of values, these values will be encoded\n   * as duplicate search parameters in the url.\n   *\n   * @param {(string|Number|Array<string>|boolean)=} paramValue If `search` is a string or number, then `paramValue`\n   * will override only a single search property.\n   *\n   * If `paramValue` is an array, it will override the property of the `search` component of\n   * `$location` specified via the first argument.\n   *\n   * If `paramValue` is `null`, the property specified via the first argument will be deleted.\n   *\n   * If `paramValue` is `true`, the property specified via the first argument will be added with no\n   * value nor trailing equal sign.\n   *\n   * @return {Object} If called with no arguments returns the parsed `search` object. If called with\n   * one or more arguments returns `$location` object itself.\n   */\n  search: function(search, paramValue) {\n    switch (arguments.length) {\n      case 0:\n        return this.$$search;\n      case 1:\n        if (isString(search) || isNumber(search)) {\n          search = search.toString();\n          this.$$search = parseKeyValue(search);\n        } else if (isObject(search)) {\n          search = copy(search, {});\n          // remove object undefined or null properties\n          forEach(search, function(value, key) {\n            if (value == null) delete search[key];\n          });\n\n          this.$$search = search;\n        } else {\n          throw $locationMinErr('isrcharg',\n              'The first argument of the `$location#search()` call must be a string or an object.');\n        }\n        break;\n      default:\n        if (isUndefined(paramValue) || paramValue === null) {\n          delete this.$$search[search];\n        } else {\n          this.$$search[search] = paramValue;\n        }\n    }\n\n    this.$$compose();\n    return this;\n  },\n\n  /**\n   * @ngdoc method\n   * @name $location#hash\n   *\n   * @description\n   * This method is getter / setter.\n   *\n   * Returns the hash fragment when called without any parameters.\n   *\n   * Changes the hash fragment when called with a parameter and returns `$location`.\n   *\n   *\n   * ```js\n   * // given url http://example.com/#/some/path?foo=bar&baz=xoxo#hashValue\n   * var hash = $location.hash();\n   * // => \"hashValue\"\n   * ```\n   *\n   * @param {(string|number)=} hash New hash fragment\n   * @return {string} hash\n   */\n  hash: locationGetterSetter('$$hash', function(hash) {\n    return hash !== null ? hash.toString() : '';\n  }),\n\n  /**\n   * @ngdoc method\n   * @name $location#replace\n   *\n   * @description\n   * If called, all changes to $location during the current `$digest` will replace the current history\n   * record, instead of adding a new one.\n   */\n  replace: function() {\n    this.$$replace = true;\n    return this;\n  }\n};\n\nforEach([LocationHashbangInHtml5Url, LocationHashbangUrl, LocationHtml5Url], function(Location) {\n  Location.prototype = Object.create(locationPrototype);\n\n  /**\n   * @ngdoc method\n   * @name $location#state\n   *\n   * @description\n   * This method is getter / setter.\n   *\n   * Return the history state object when called without any parameter.\n   *\n   * Change the history state object when called with one parameter and return `$location`.\n   * The state object is later passed to `pushState` or `replaceState`.\n   *\n   * NOTE: This method is supported only in HTML5 mode and only in browsers supporting\n   * the HTML5 History API (i.e. methods `pushState` and `replaceState`). If you need to support\n   * older browsers (like IE9 or Android < 4.0), don't use this method.\n   *\n   * @param {object=} state State object for pushState or replaceState\n   * @return {object} state\n   */\n  Location.prototype.state = function(state) {\n    if (!arguments.length) {\n      return this.$$state;\n    }\n\n    if (Location !== LocationHtml5Url || !this.$$html5) {\n      throw $locationMinErr('nostate', 'History API state support is available only ' +\n        'in HTML5 mode and only in browsers supporting HTML5 History API');\n    }\n    // The user might modify `stateObject` after invoking `$location.state(stateObject)`\n    // but we're changing the $$state reference to $browser.state() during the $digest\n    // so the modification window is narrow.\n    this.$$state = isUndefined(state) ? null : state;\n\n    return this;\n  };\n});\n\n\nfunction locationGetter(property) {\n  return function() {\n    return this[property];\n  };\n}\n\n\nfunction locationGetterSetter(property, preprocess) {\n  return function(value) {\n    if (isUndefined(value)) {\n      return this[property];\n    }\n\n    this[property] = preprocess(value);\n    this.$$compose();\n\n    return this;\n  };\n}\n\n\n/**\n * @ngdoc service\n * @name $location\n *\n * @requires $rootElement\n *\n * @description\n * The $location service parses the URL in the browser address bar (based on the\n * [window.location](https://developer.mozilla.org/en/window.location)) and makes the URL\n * available to your application. Changes to the URL in the address bar are reflected into\n * $location service and changes to $location are reflected into the browser address bar.\n *\n * **The $location service:**\n *\n * - Exposes the current URL in the browser address bar, so you can\n *   - Watch and observe the URL.\n *   - Change the URL.\n * - Synchronizes the URL with the browser when the user\n *   - Changes the address bar.\n *   - Clicks the back or forward button (or clicks a History link).\n *   - Clicks on a link.\n * - Represents the URL object as a set of methods (protocol, host, port, path, search, hash).\n *\n * For more information see {@link guide/$location Developer Guide: Using $location}\n */\n\n/**\n * @ngdoc provider\n * @name $locationProvider\n * @description\n * Use the `$locationProvider` to configure how the application deep linking paths are stored.\n */\nfunction $LocationProvider() {\n  var hashPrefix = '',\n      html5Mode = {\n        enabled: false,\n        requireBase: true,\n        rewriteLinks: true\n      };\n\n  /**\n   * @ngdoc method\n   * @name $locationProvider#hashPrefix\n   * @description\n   * @param {string=} prefix Prefix for hash part (containing path and search)\n   * @returns {*} current value if used as getter or itself (chaining) if used as setter\n   */\n  this.hashPrefix = function(prefix) {\n    if (isDefined(prefix)) {\n      hashPrefix = prefix;\n      return this;\n    } else {\n      return hashPrefix;\n    }\n  };\n\n  /**\n   * @ngdoc method\n   * @name $locationProvider#html5Mode\n   * @description\n   * @param {(boolean|Object)=} mode If boolean, sets `html5Mode.enabled` to value.\n   *   If object, sets `enabled`, `requireBase` and `rewriteLinks` to respective values. Supported\n   *   properties:\n   *   - **enabled** – `{boolean}` – (default: false) If true, will rely on `history.pushState` to\n   *     change urls where supported. Will fall back to hash-prefixed paths in browsers that do not\n   *     support `pushState`.\n   *   - **requireBase** - `{boolean}` - (default: `true`) When html5Mode is enabled, specifies\n   *     whether or not a <base> tag is required to be present. If `enabled` and `requireBase` are\n   *     true, and a base tag is not present, an error will be thrown when `$location` is injected.\n   *     See the {@link guide/$location $location guide for more information}\n   *   - **rewriteLinks** - `{boolean}` - (default: `true`) When html5Mode is enabled,\n   *     enables/disables url rewriting for relative links.\n   *\n   * @returns {Object} html5Mode object if used as getter or itself (chaining) if used as setter\n   */\n  this.html5Mode = function(mode) {\n    if (isBoolean(mode)) {\n      html5Mode.enabled = mode;\n      return this;\n    } else if (isObject(mode)) {\n\n      if (isBoolean(mode.enabled)) {\n        html5Mode.enabled = mode.enabled;\n      }\n\n      if (isBoolean(mode.requireBase)) {\n        html5Mode.requireBase = mode.requireBase;\n      }\n\n      if (isBoolean(mode.rewriteLinks)) {\n        html5Mode.rewriteLinks = mode.rewriteLinks;\n      }\n\n      return this;\n    } else {\n      return html5Mode;\n    }\n  };\n\n  /**\n   * @ngdoc event\n   * @name $location#$locationChangeStart\n   * @eventType broadcast on root scope\n   * @description\n   * Broadcasted before a URL will change.\n   *\n   * This change can be prevented by calling\n   * `preventDefault` method of the event. See {@link ng.$rootScope.Scope#$on} for more\n   * details about event object. Upon successful change\n   * {@link ng.$location#$locationChangeSuccess $locationChangeSuccess} is fired.\n   *\n   * The `newState` and `oldState` parameters may be defined only in HTML5 mode and when\n   * the browser supports the HTML5 History API.\n   *\n   * @param {Object} angularEvent Synthetic event object.\n   * @param {string} newUrl New URL\n   * @param {string=} oldUrl URL that was before it was changed.\n   * @param {string=} newState New history state object\n   * @param {string=} oldState History state object that was before it was changed.\n   */\n\n  /**\n   * @ngdoc event\n   * @name $location#$locationChangeSuccess\n   * @eventType broadcast on root scope\n   * @description\n   * Broadcasted after a URL was changed.\n   *\n   * The `newState` and `oldState` parameters may be defined only in HTML5 mode and when\n   * the browser supports the HTML5 History API.\n   *\n   * @param {Object} angularEvent Synthetic event object.\n   * @param {string} newUrl New URL\n   * @param {string=} oldUrl URL that was before it was changed.\n   * @param {string=} newState New history state object\n   * @param {string=} oldState History state object that was before it was changed.\n   */\n\n  this.$get = ['$rootScope', '$browser', '$sniffer', '$rootElement', '$window',\n      function($rootScope, $browser, $sniffer, $rootElement, $window) {\n    var $location,\n        LocationMode,\n        baseHref = $browser.baseHref(), // if base[href] is undefined, it defaults to ''\n        initialUrl = $browser.url(),\n        appBase;\n\n    if (html5Mode.enabled) {\n      if (!baseHref && html5Mode.requireBase) {\n        throw $locationMinErr('nobase',\n          \"$location in HTML5 mode requires a <base> tag to be present!\");\n      }\n      appBase = serverBase(initialUrl) + (baseHref || '/');\n      LocationMode = $sniffer.history ? LocationHtml5Url : LocationHashbangInHtml5Url;\n    } else {\n      appBase = stripHash(initialUrl);\n      LocationMode = LocationHashbangUrl;\n    }\n    var appBaseNoFile = stripFile(appBase);\n\n    $location = new LocationMode(appBase, appBaseNoFile, '#' + hashPrefix);\n    $location.$$parseLinkUrl(initialUrl, initialUrl);\n\n    $location.$$state = $browser.state();\n\n    var IGNORE_URI_REGEXP = /^\\s*(javascript|mailto):/i;\n\n    function setBrowserUrlWithFallback(url, replace, state) {\n      var oldUrl = $location.url();\n      var oldState = $location.$$state;\n      try {\n        $browser.url(url, replace, state);\n\n        // Make sure $location.state() returns referentially identical (not just deeply equal)\n        // state object; this makes possible quick checking if the state changed in the digest\n        // loop. Checking deep equality would be too expensive.\n        $location.$$state = $browser.state();\n      } catch (e) {\n        // Restore old values if pushState fails\n        $location.url(oldUrl);\n        $location.$$state = oldState;\n\n        throw e;\n      }\n    }\n\n    $rootElement.on('click', function(event) {\n      // TODO(vojta): rewrite link when opening in new tab/window (in legacy browser)\n      // currently we open nice url link and redirect then\n\n      if (!html5Mode.rewriteLinks || event.ctrlKey || event.metaKey || event.shiftKey || event.which == 2 || event.button == 2) return;\n\n      var elm = jqLite(event.target);\n\n      // traverse the DOM up to find first A tag\n      while (nodeName_(elm[0]) !== 'a') {\n        // ignore rewriting if no A tag (reached root element, or no parent - removed from document)\n        if (elm[0] === $rootElement[0] || !(elm = elm.parent())[0]) return;\n      }\n\n      var absHref = elm.prop('href');\n      // get the actual href attribute - see\n      // http://msdn.microsoft.com/en-us/library/ie/dd347148(v=vs.85).aspx\n      var relHref = elm.attr('href') || elm.attr('xlink:href');\n\n      if (isObject(absHref) && absHref.toString() === '[object SVGAnimatedString]') {\n        // SVGAnimatedString.animVal should be identical to SVGAnimatedString.baseVal, unless during\n        // an animation.\n        absHref = urlResolve(absHref.animVal).href;\n      }\n\n      // Ignore when url is started with javascript: or mailto:\n      if (IGNORE_URI_REGEXP.test(absHref)) return;\n\n      if (absHref && !elm.attr('target') && !event.isDefaultPrevented()) {\n        if ($location.$$parseLinkUrl(absHref, relHref)) {\n          // We do a preventDefault for all urls that are part of the angular application,\n          // in html5mode and also without, so that we are able to abort navigation without\n          // getting double entries in the location history.\n          event.preventDefault();\n          // update location manually\n          if ($location.absUrl() != $browser.url()) {\n            $rootScope.$apply();\n            // hack to work around FF6 bug 684208 when scenario runner clicks on links\n            $window.angular['ff-684208-preventDefault'] = true;\n          }\n        }\n      }\n    });\n\n\n    // rewrite hashbang url <> html5 url\n    if (trimEmptyHash($location.absUrl()) != trimEmptyHash(initialUrl)) {\n      $browser.url($location.absUrl(), true);\n    }\n\n    var initializing = true;\n\n    // update $location when $browser url changes\n    $browser.onUrlChange(function(newUrl, newState) {\n\n      if (isUndefined(beginsWith(appBaseNoFile, newUrl))) {\n        // If we are navigating outside of the app then force a reload\n        $window.location.href = newUrl;\n        return;\n      }\n\n      $rootScope.$evalAsync(function() {\n        var oldUrl = $location.absUrl();\n        var oldState = $location.$$state;\n        var defaultPrevented;\n        newUrl = trimEmptyHash(newUrl);\n        $location.$$parse(newUrl);\n        $location.$$state = newState;\n\n        defaultPrevented = $rootScope.$broadcast('$locationChangeStart', newUrl, oldUrl,\n            newState, oldState).defaultPrevented;\n\n        // if the location was changed by a `$locationChangeStart` handler then stop\n        // processing this location change\n        if ($location.absUrl() !== newUrl) return;\n\n        if (defaultPrevented) {\n          $location.$$parse(oldUrl);\n          $location.$$state = oldState;\n          setBrowserUrlWithFallback(oldUrl, false, oldState);\n        } else {\n          initializing = false;\n          afterLocationChange(oldUrl, oldState);\n        }\n      });\n      if (!$rootScope.$$phase) $rootScope.$digest();\n    });\n\n    // update browser\n    $rootScope.$watch(function $locationWatch() {\n      var oldUrl = trimEmptyHash($browser.url());\n      var newUrl = trimEmptyHash($location.absUrl());\n      var oldState = $browser.state();\n      var currentReplace = $location.$$replace;\n      var urlOrStateChanged = oldUrl !== newUrl ||\n        ($location.$$html5 && $sniffer.history && oldState !== $location.$$state);\n\n      if (initializing || urlOrStateChanged) {\n        initializing = false;\n\n        $rootScope.$evalAsync(function() {\n          var newUrl = $location.absUrl();\n          var defaultPrevented = $rootScope.$broadcast('$locationChangeStart', newUrl, oldUrl,\n              $location.$$state, oldState).defaultPrevented;\n\n          // if the location was changed by a `$locationChangeStart` handler then stop\n          // processing this location change\n          if ($location.absUrl() !== newUrl) return;\n\n          if (defaultPrevented) {\n            $location.$$parse(oldUrl);\n            $location.$$state = oldState;\n          } else {\n            if (urlOrStateChanged) {\n              setBrowserUrlWithFallback(newUrl, currentReplace,\n                                        oldState === $location.$$state ? null : $location.$$state);\n            }\n            afterLocationChange(oldUrl, oldState);\n          }\n        });\n      }\n\n      $location.$$replace = false;\n\n      // we don't need to return anything because $evalAsync will make the digest loop dirty when\n      // there is a change\n    });\n\n    return $location;\n\n    function afterLocationChange(oldUrl, oldState) {\n      $rootScope.$broadcast('$locationChangeSuccess', $location.absUrl(), oldUrl,\n        $location.$$state, oldState);\n    }\n}];\n}\n\n/**\n * @ngdoc service\n * @name $log\n * @requires $window\n *\n * @description\n * Simple service for logging. Default implementation safely writes the message\n * into the browser's console (if present).\n *\n * The main purpose of this service is to simplify debugging and troubleshooting.\n *\n * The default is to log `debug` messages. You can use\n * {@link ng.$logProvider ng.$logProvider#debugEnabled} to change this.\n *\n * @example\n   <example module=\"logExample\">\n     <file name=\"script.js\">\n       angular.module('logExample', [])\n         .controller('LogController', ['$scope', '$log', function($scope, $log) {\n           $scope.$log = $log;\n           $scope.message = 'Hello World!';\n         }]);\n     </file>\n     <file name=\"index.html\">\n       <div ng-controller=\"LogController\">\n         <p>Reload this page with open console, enter text and hit the log button...</p>\n         <label>Message:\n         <input type=\"text\" ng-model=\"message\" /></label>\n         <button ng-click=\"$log.log(message)\">log</button>\n         <button ng-click=\"$log.warn(message)\">warn</button>\n         <button ng-click=\"$log.info(message)\">info</button>\n         <button ng-click=\"$log.error(message)\">error</button>\n         <button ng-click=\"$log.debug(message)\">debug</button>\n       </div>\n     </file>\n   </example>\n */\n\n/**\n * @ngdoc provider\n * @name $logProvider\n * @description\n * Use the `$logProvider` to configure how the application logs messages\n */\nfunction $LogProvider() {\n  var debug = true,\n      self = this;\n\n  /**\n   * @ngdoc method\n   * @name $logProvider#debugEnabled\n   * @description\n   * @param {boolean=} flag enable or disable debug level messages\n   * @returns {*} current value if used as getter or itself (chaining) if used as setter\n   */\n  this.debugEnabled = function(flag) {\n    if (isDefined(flag)) {\n      debug = flag;\n    return this;\n    } else {\n      return debug;\n    }\n  };\n\n  this.$get = ['$window', function($window) {\n    return {\n      /**\n       * @ngdoc method\n       * @name $log#log\n       *\n       * @description\n       * Write a log message\n       */\n      log: consoleLog('log'),\n\n      /**\n       * @ngdoc method\n       * @name $log#info\n       *\n       * @description\n       * Write an information message\n       */\n      info: consoleLog('info'),\n\n      /**\n       * @ngdoc method\n       * @name $log#warn\n       *\n       * @description\n       * Write a warning message\n       */\n      warn: consoleLog('warn'),\n\n      /**\n       * @ngdoc method\n       * @name $log#error\n       *\n       * @description\n       * Write an error message\n       */\n      error: consoleLog('error'),\n\n      /**\n       * @ngdoc method\n       * @name $log#debug\n       *\n       * @description\n       * Write a debug message\n       */\n      debug: (function() {\n        var fn = consoleLog('debug');\n\n        return function() {\n          if (debug) {\n            fn.apply(self, arguments);\n          }\n        };\n      }())\n    };\n\n    function formatError(arg) {\n      if (arg instanceof Error) {\n        if (arg.stack) {\n          arg = (arg.message && arg.stack.indexOf(arg.message) === -1)\n              ? 'Error: ' + arg.message + '\\n' + arg.stack\n              : arg.stack;\n        } else if (arg.sourceURL) {\n          arg = arg.message + '\\n' + arg.sourceURL + ':' + arg.line;\n        }\n      }\n      return arg;\n    }\n\n    function consoleLog(type) {\n      var console = $window.console || {},\n          logFn = console[type] || console.log || noop,\n          hasApply = false;\n\n      // Note: reading logFn.apply throws an error in IE11 in IE8 document mode.\n      // The reason behind this is that console.log has type \"object\" in IE8...\n      try {\n        hasApply = !!logFn.apply;\n      } catch (e) {}\n\n      if (hasApply) {\n        return function() {\n          var args = [];\n          forEach(arguments, function(arg) {\n            args.push(formatError(arg));\n          });\n          return logFn.apply(console, args);\n        };\n      }\n\n      // we are IE which either doesn't have window.console => this is noop and we do nothing,\n      // or we are IE where console.log doesn't have apply so we log at least first 2 args\n      return function(arg1, arg2) {\n        logFn(arg1, arg2 == null ? '' : arg2);\n      };\n    }\n  }];\n}\n\n/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n *     Any commits to this file should be reviewed with security in mind.  *\n *   Changes to this file can potentially create security vulnerabilities. *\n *          An approval from 2 Core members with history of modifying      *\n *                         this file is required.                          *\n *                                                                         *\n *  Does the change somehow allow for arbitrary javascript to be executed? *\n *    Or allows for someone to change the prototype of built-in objects?   *\n *     Or gives undesired access to variables likes document or window?    *\n * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */\n\nvar $parseMinErr = minErr('$parse');\n\n// Sandboxing Angular Expressions\n// ------------------------------\n// Angular expressions are generally considered safe because these expressions only have direct\n// access to `$scope` and locals. However, one can obtain the ability to execute arbitrary JS code by\n// obtaining a reference to native JS functions such as the Function constructor.\n//\n// As an example, consider the following Angular expression:\n//\n//   {}.toString.constructor('alert(\"evil JS code\")')\n//\n// This sandboxing technique is not perfect and doesn't aim to be. The goal is to prevent exploits\n// against the expression language, but not to prevent exploits that were enabled by exposing\n// sensitive JavaScript or browser APIs on Scope. Exposing such objects on a Scope is never a good\n// practice and therefore we are not even trying to protect against interaction with an object\n// explicitly exposed in this way.\n//\n// In general, it is not possible to access a Window object from an angular expression unless a\n// window or some DOM object that has a reference to window is published onto a Scope.\n// Similarly we prevent invocations of function known to be dangerous, as well as assignments to\n// native objects.\n//\n// See https://docs.angularjs.org/guide/security\n\n\nfunction ensureSafeMemberName(name, fullExpression) {\n  if (name === \"__defineGetter__\" || name === \"__defineSetter__\"\n      || name === \"__lookupGetter__\" || name === \"__lookupSetter__\"\n      || name === \"__proto__\") {\n    throw $parseMinErr('isecfld',\n        'Attempting to access a disallowed field in Angular expressions! '\n        + 'Expression: {0}', fullExpression);\n  }\n  return name;\n}\n\nfunction getStringValue(name, fullExpression) {\n  // From the JavaScript docs:\n  // Property names must be strings. This means that non-string objects cannot be used\n  // as keys in an object. Any non-string object, including a number, is typecasted\n  // into a string via the toString method.\n  //\n  // So, to ensure that we are checking the same `name` that JavaScript would use,\n  // we cast it to a string, if possible.\n  // Doing `name + ''` can cause a repl error if the result to `toString` is not a string,\n  // this is, this will handle objects that misbehave.\n  name = name + '';\n  if (!isString(name)) {\n    throw $parseMinErr('iseccst',\n        'Cannot convert object to primitive value! '\n        + 'Expression: {0}', fullExpression);\n  }\n  return name;\n}\n\nfunction ensureSafeObject(obj, fullExpression) {\n  // nifty check if obj is Function that is fast and works across iframes and other contexts\n  if (obj) {\n    if (obj.constructor === obj) {\n      throw $parseMinErr('isecfn',\n          'Referencing Function in Angular expressions is disallowed! Expression: {0}',\n          fullExpression);\n    } else if (// isWindow(obj)\n        obj.window === obj) {\n      throw $parseMinErr('isecwindow',\n          'Referencing the Window in Angular expressions is disallowed! Expression: {0}',\n          fullExpression);\n    } else if (// isElement(obj)\n        obj.children && (obj.nodeName || (obj.prop && obj.attr && obj.find))) {\n      throw $parseMinErr('isecdom',\n          'Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}',\n          fullExpression);\n    } else if (// block Object so that we can't get hold of dangerous Object.* methods\n        obj === Object) {\n      throw $parseMinErr('isecobj',\n          'Referencing Object in Angular expressions is disallowed! Expression: {0}',\n          fullExpression);\n    }\n  }\n  return obj;\n}\n\nvar CALL = Function.prototype.call;\nvar APPLY = Function.prototype.apply;\nvar BIND = Function.prototype.bind;\n\nfunction ensureSafeFunction(obj, fullExpression) {\n  if (obj) {\n    if (obj.constructor === obj) {\n      throw $parseMinErr('isecfn',\n        'Referencing Function in Angular expressions is disallowed! Expression: {0}',\n        fullExpression);\n    } else if (obj === CALL || obj === APPLY || obj === BIND) {\n      throw $parseMinErr('isecff',\n        'Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}',\n        fullExpression);\n    }\n  }\n}\n\nfunction ensureSafeAssignContext(obj, fullExpression) {\n  if (obj) {\n    if (obj === (0).constructor || obj === (false).constructor || obj === ''.constructor ||\n        obj === {}.constructor || obj === [].constructor || obj === Function.constructor) {\n      throw $parseMinErr('isecaf',\n        'Assigning to a constructor is disallowed! Expression: {0}', fullExpression);\n    }\n  }\n}\n\nvar OPERATORS = createMap();\nforEach('+ - * / % === !== == != < > <= >= && || ! = |'.split(' '), function(operator) { OPERATORS[operator] = true; });\nvar ESCAPE = {\"n\":\"\\n\", \"f\":\"\\f\", \"r\":\"\\r\", \"t\":\"\\t\", \"v\":\"\\v\", \"'\":\"'\", '\"':'\"'};\n\n\n/////////////////////////////////////////\n\n\n/**\n * @constructor\n */\nvar Lexer = function(options) {\n  this.options = options;\n};\n\nLexer.prototype = {\n  constructor: Lexer,\n\n  lex: function(text) {\n    this.text = text;\n    this.index = 0;\n    this.tokens = [];\n\n    while (this.index < this.text.length) {\n      var ch = this.text.charAt(this.index);\n      if (ch === '\"' || ch === \"'\") {\n        this.readString(ch);\n      } else if (this.isNumber(ch) || ch === '.' && this.isNumber(this.peek())) {\n        this.readNumber();\n      } else if (this.isIdent(ch)) {\n        this.readIdent();\n      } else if (this.is(ch, '(){}[].,;:?')) {\n        this.tokens.push({index: this.index, text: ch});\n        this.index++;\n      } else if (this.isWhitespace(ch)) {\n        this.index++;\n      } else {\n        var ch2 = ch + this.peek();\n        var ch3 = ch2 + this.peek(2);\n        var op1 = OPERATORS[ch];\n        var op2 = OPERATORS[ch2];\n        var op3 = OPERATORS[ch3];\n        if (op1 || op2 || op3) {\n          var token = op3 ? ch3 : (op2 ? ch2 : ch);\n          this.tokens.push({index: this.index, text: token, operator: true});\n          this.index += token.length;\n        } else {\n          this.throwError('Unexpected next character ', this.index, this.index + 1);\n        }\n      }\n    }\n    return this.tokens;\n  },\n\n  is: function(ch, chars) {\n    return chars.indexOf(ch) !== -1;\n  },\n\n  peek: function(i) {\n    var num = i || 1;\n    return (this.index + num < this.text.length) ? this.text.charAt(this.index + num) : false;\n  },\n\n  isNumber: function(ch) {\n    return ('0' <= ch && ch <= '9') && typeof ch === \"string\";\n  },\n\n  isWhitespace: function(ch) {\n    // IE treats non-breaking space as \\u00A0\n    return (ch === ' ' || ch === '\\r' || ch === '\\t' ||\n            ch === '\\n' || ch === '\\v' || ch === '\\u00A0');\n  },\n\n  isIdent: function(ch) {\n    return ('a' <= ch && ch <= 'z' ||\n            'A' <= ch && ch <= 'Z' ||\n            '_' === ch || ch === '$');\n  },\n\n  isExpOperator: function(ch) {\n    return (ch === '-' || ch === '+' || this.isNumber(ch));\n  },\n\n  throwError: function(error, start, end) {\n    end = end || this.index;\n    var colStr = (isDefined(start)\n            ? 's ' + start +  '-' + this.index + ' [' + this.text.substring(start, end) + ']'\n            : ' ' + end);\n    throw $parseMinErr('lexerr', 'Lexer Error: {0} at column{1} in expression [{2}].',\n        error, colStr, this.text);\n  },\n\n  readNumber: function() {\n    var number = '';\n    var start = this.index;\n    while (this.index < this.text.length) {\n      var ch = lowercase(this.text.charAt(this.index));\n      if (ch == '.' || this.isNumber(ch)) {\n        number += ch;\n      } else {\n        var peekCh = this.peek();\n        if (ch == 'e' && this.isExpOperator(peekCh)) {\n          number += ch;\n        } else if (this.isExpOperator(ch) &&\n            peekCh && this.isNumber(peekCh) &&\n            number.charAt(number.length - 1) == 'e') {\n          number += ch;\n        } else if (this.isExpOperator(ch) &&\n            (!peekCh || !this.isNumber(peekCh)) &&\n            number.charAt(number.length - 1) == 'e') {\n          this.throwError('Invalid exponent');\n        } else {\n          break;\n        }\n      }\n      this.index++;\n    }\n    this.tokens.push({\n      index: start,\n      text: number,\n      constant: true,\n      value: Number(number)\n    });\n  },\n\n  readIdent: function() {\n    var start = this.index;\n    while (this.index < this.text.length) {\n      var ch = this.text.charAt(this.index);\n      if (!(this.isIdent(ch) || this.isNumber(ch))) {\n        break;\n      }\n      this.index++;\n    }\n    this.tokens.push({\n      index: start,\n      text: this.text.slice(start, this.index),\n      identifier: true\n    });\n  },\n\n  readString: function(quote) {\n    var start = this.index;\n    this.index++;\n    var string = '';\n    var rawString = quote;\n    var escape = false;\n    while (this.index < this.text.length) {\n      var ch = this.text.charAt(this.index);\n      rawString += ch;\n      if (escape) {\n        if (ch === 'u') {\n          var hex = this.text.substring(this.index + 1, this.index + 5);\n          if (!hex.match(/[\\da-f]{4}/i)) {\n            this.throwError('Invalid unicode escape [\\\\u' + hex + ']');\n          }\n          this.index += 4;\n          string += String.fromCharCode(parseInt(hex, 16));\n        } else {\n          var rep = ESCAPE[ch];\n          string = string + (rep || ch);\n        }\n        escape = false;\n      } else if (ch === '\\\\') {\n        escape = true;\n      } else if (ch === quote) {\n        this.index++;\n        this.tokens.push({\n          index: start,\n          text: rawString,\n          constant: true,\n          value: string\n        });\n        return;\n      } else {\n        string += ch;\n      }\n      this.index++;\n    }\n    this.throwError('Unterminated quote', start);\n  }\n};\n\nvar AST = function(lexer, options) {\n  this.lexer = lexer;\n  this.options = options;\n};\n\nAST.Program = 'Program';\nAST.ExpressionStatement = 'ExpressionStatement';\nAST.AssignmentExpression = 'AssignmentExpression';\nAST.ConditionalExpression = 'ConditionalExpression';\nAST.LogicalExpression = 'LogicalExpression';\nAST.BinaryExpression = 'BinaryExpression';\nAST.UnaryExpression = 'UnaryExpression';\nAST.CallExpression = 'CallExpression';\nAST.MemberExpression = 'MemberExpression';\nAST.Identifier = 'Identifier';\nAST.Literal = 'Literal';\nAST.ArrayExpression = 'ArrayExpression';\nAST.Property = 'Property';\nAST.ObjectExpression = 'ObjectExpression';\nAST.ThisExpression = 'ThisExpression';\n\n// Internal use only\nAST.NGValueParameter = 'NGValueParameter';\n\nAST.prototype = {\n  ast: function(text) {\n    this.text = text;\n    this.tokens = this.lexer.lex(text);\n\n    var value = this.program();\n\n    if (this.tokens.length !== 0) {\n      this.throwError('is an unexpected token', this.tokens[0]);\n    }\n\n    return value;\n  },\n\n  program: function() {\n    var body = [];\n    while (true) {\n      if (this.tokens.length > 0 && !this.peek('}', ')', ';', ']'))\n        body.push(this.expressionStatement());\n      if (!this.expect(';')) {\n        return { type: AST.Program, body: body};\n      }\n    }\n  },\n\n  expressionStatement: function() {\n    return { type: AST.ExpressionStatement, expression: this.filterChain() };\n  },\n\n  filterChain: function() {\n    var left = this.expression();\n    var token;\n    while ((token = this.expect('|'))) {\n      left = this.filter(left);\n    }\n    return left;\n  },\n\n  expression: function() {\n    return this.assignment();\n  },\n\n  assignment: function() {\n    var result = this.ternary();\n    if (this.expect('=')) {\n      result = { type: AST.AssignmentExpression, left: result, right: this.assignment(), operator: '='};\n    }\n    return result;\n  },\n\n  ternary: function() {\n    var test = this.logicalOR();\n    var alternate;\n    var consequent;\n    if (this.expect('?')) {\n      alternate = this.expression();\n      if (this.consume(':')) {\n        consequent = this.expression();\n        return { type: AST.ConditionalExpression, test: test, alternate: alternate, consequent: consequent};\n      }\n    }\n    return test;\n  },\n\n  logicalOR: function() {\n    var left = this.logicalAND();\n    while (this.expect('||')) {\n      left = { type: AST.LogicalExpression, operator: '||', left: left, right: this.logicalAND() };\n    }\n    return left;\n  },\n\n  logicalAND: function() {\n    var left = this.equality();\n    while (this.expect('&&')) {\n      left = { type: AST.LogicalExpression, operator: '&&', left: left, right: this.equality()};\n    }\n    return left;\n  },\n\n  equality: function() {\n    var left = this.relational();\n    var token;\n    while ((token = this.expect('==','!=','===','!=='))) {\n      left = { type: AST.BinaryExpression, operator: token.text, left: left, right: this.relational() };\n    }\n    return left;\n  },\n\n  relational: function() {\n    var left = this.additive();\n    var token;\n    while ((token = this.expect('<', '>', '<=', '>='))) {\n      left = { type: AST.BinaryExpression, operator: token.text, left: left, right: this.additive() };\n    }\n    return left;\n  },\n\n  additive: function() {\n    var left = this.multiplicative();\n    var token;\n    while ((token = this.expect('+','-'))) {\n      left = { type: AST.BinaryExpression, operator: token.text, left: left, right: this.multiplicative() };\n    }\n    return left;\n  },\n\n  multiplicative: function() {\n    var left = this.unary();\n    var token;\n    while ((token = this.expect('*','/','%'))) {\n      left = { type: AST.BinaryExpression, operator: token.text, left: left, right: this.unary() };\n    }\n    return left;\n  },\n\n  unary: function() {\n    var token;\n    if ((token = this.expect('+', '-', '!'))) {\n      return { type: AST.UnaryExpression, operator: token.text, prefix: true, argument: this.unary() };\n    } else {\n      return this.primary();\n    }\n  },\n\n  primary: function() {\n    var primary;\n    if (this.expect('(')) {\n      primary = this.filterChain();\n      this.consume(')');\n    } else if (this.expect('[')) {\n      primary = this.arrayDeclaration();\n    } else if (this.expect('{')) {\n      primary = this.object();\n    } else if (this.constants.hasOwnProperty(this.peek().text)) {\n      primary = copy(this.constants[this.consume().text]);\n    } else if (this.peek().identifier) {\n      primary = this.identifier();\n    } else if (this.peek().constant) {\n      primary = this.constant();\n    } else {\n      this.throwError('not a primary expression', this.peek());\n    }\n\n    var next;\n    while ((next = this.expect('(', '[', '.'))) {\n      if (next.text === '(') {\n        primary = {type: AST.CallExpression, callee: primary, arguments: this.parseArguments() };\n        this.consume(')');\n      } else if (next.text === '[') {\n        primary = { type: AST.MemberExpression, object: primary, property: this.expression(), computed: true };\n        this.consume(']');\n      } else if (next.text === '.') {\n        primary = { type: AST.MemberExpression, object: primary, property: this.identifier(), computed: false };\n      } else {\n        this.throwError('IMPOSSIBLE');\n      }\n    }\n    return primary;\n  },\n\n  filter: function(baseExpression) {\n    var args = [baseExpression];\n    var result = {type: AST.CallExpression, callee: this.identifier(), arguments: args, filter: true};\n\n    while (this.expect(':')) {\n      args.push(this.expression());\n    }\n\n    return result;\n  },\n\n  parseArguments: function() {\n    var args = [];\n    if (this.peekToken().text !== ')') {\n      do {\n        args.push(this.expression());\n      } while (this.expect(','));\n    }\n    return args;\n  },\n\n  identifier: function() {\n    var token = this.consume();\n    if (!token.identifier) {\n      this.throwError('is not a valid identifier', token);\n    }\n    return { type: AST.Identifier, name: token.text };\n  },\n\n  constant: function() {\n    // TODO check that it is a constant\n    return { type: AST.Literal, value: this.consume().value };\n  },\n\n  arrayDeclaration: function() {\n    var elements = [];\n    if (this.peekToken().text !== ']') {\n      do {\n        if (this.peek(']')) {\n          // Support trailing commas per ES5.1.\n          break;\n        }\n        elements.push(this.expression());\n      } while (this.expect(','));\n    }\n    this.consume(']');\n\n    return { type: AST.ArrayExpression, elements: elements };\n  },\n\n  object: function() {\n    var properties = [], property;\n    if (this.peekToken().text !== '}') {\n      do {\n        if (this.peek('}')) {\n          // Support trailing commas per ES5.1.\n          break;\n        }\n        property = {type: AST.Property, kind: 'init'};\n        if (this.peek().constant) {\n          property.key = this.constant();\n        } else if (this.peek().identifier) {\n          property.key = this.identifier();\n        } else {\n          this.throwError(\"invalid key\", this.peek());\n        }\n        this.consume(':');\n        property.value = this.expression();\n        properties.push(property);\n      } while (this.expect(','));\n    }\n    this.consume('}');\n\n    return {type: AST.ObjectExpression, properties: properties };\n  },\n\n  throwError: function(msg, token) {\n    throw $parseMinErr('syntax',\n        'Syntax Error: Token \\'{0}\\' {1} at column {2} of the expression [{3}] starting at [{4}].',\n          token.text, msg, (token.index + 1), this.text, this.text.substring(token.index));\n  },\n\n  consume: function(e1) {\n    if (this.tokens.length === 0) {\n      throw $parseMinErr('ueoe', 'Unexpected end of expression: {0}', this.text);\n    }\n\n    var token = this.expect(e1);\n    if (!token) {\n      this.throwError('is unexpected, expecting [' + e1 + ']', this.peek());\n    }\n    return token;\n  },\n\n  peekToken: function() {\n    if (this.tokens.length === 0) {\n      throw $parseMinErr('ueoe', 'Unexpected end of expression: {0}', this.text);\n    }\n    return this.tokens[0];\n  },\n\n  peek: function(e1, e2, e3, e4) {\n    return this.peekAhead(0, e1, e2, e3, e4);\n  },\n\n  peekAhead: function(i, e1, e2, e3, e4) {\n    if (this.tokens.length > i) {\n      var token = this.tokens[i];\n      var t = token.text;\n      if (t === e1 || t === e2 || t === e3 || t === e4 ||\n          (!e1 && !e2 && !e3 && !e4)) {\n        return token;\n      }\n    }\n    return false;\n  },\n\n  expect: function(e1, e2, e3, e4) {\n    var token = this.peek(e1, e2, e3, e4);\n    if (token) {\n      this.tokens.shift();\n      return token;\n    }\n    return false;\n  },\n\n\n  /* `undefined` is not a constant, it is an identifier,\n   * but using it as an identifier is not supported\n   */\n  constants: {\n    'true': { type: AST.Literal, value: true },\n    'false': { type: AST.Literal, value: false },\n    'null': { type: AST.Literal, value: null },\n    'undefined': {type: AST.Literal, value: undefined },\n    'this': {type: AST.ThisExpression }\n  }\n};\n\nfunction ifDefined(v, d) {\n  return typeof v !== 'undefined' ? v : d;\n}\n\nfunction plusFn(l, r) {\n  if (typeof l === 'undefined') return r;\n  if (typeof r === 'undefined') return l;\n  return l + r;\n}\n\nfunction isStateless($filter, filterName) {\n  var fn = $filter(filterName);\n  return !fn.$stateful;\n}\n\nfunction findConstantAndWatchExpressions(ast, $filter) {\n  var allConstants;\n  var argsToWatch;\n  switch (ast.type) {\n  case AST.Program:\n    allConstants = true;\n    forEach(ast.body, function(expr) {\n      findConstantAndWatchExpressions(expr.expression, $filter);\n      allConstants = allConstants && expr.expression.constant;\n    });\n    ast.constant = allConstants;\n    break;\n  case AST.Literal:\n    ast.constant = true;\n    ast.toWatch = [];\n    break;\n  case AST.UnaryExpression:\n    findConstantAndWatchExpressions(ast.argument, $filter);\n    ast.constant = ast.argument.constant;\n    ast.toWatch = ast.argument.toWatch;\n    break;\n  case AST.BinaryExpression:\n    findConstantAndWatchExpressions(ast.left, $filter);\n    findConstantAndWatchExpressions(ast.right, $filter);\n    ast.constant = ast.left.constant && ast.right.constant;\n    ast.toWatch = ast.left.toWatch.concat(ast.right.toWatch);\n    break;\n  case AST.LogicalExpression:\n    findConstantAndWatchExpressions(ast.left, $filter);\n    findConstantAndWatchExpressions(ast.right, $filter);\n    ast.constant = ast.left.constant && ast.right.constant;\n    ast.toWatch = ast.constant ? [] : [ast];\n    break;\n  case AST.ConditionalExpression:\n    findConstantAndWatchExpressions(ast.test, $filter);\n    findConstantAndWatchExpressions(ast.alternate, $filter);\n    findConstantAndWatchExpressions(ast.consequent, $filter);\n    ast.constant = ast.test.constant && ast.alternate.constant && ast.consequent.constant;\n    ast.toWatch = ast.constant ? [] : [ast];\n    break;\n  case AST.Identifier:\n    ast.constant = false;\n    ast.toWatch = [ast];\n    break;\n  case AST.MemberExpression:\n    findConstantAndWatchExpressions(ast.object, $filter);\n    if (ast.computed) {\n      findConstantAndWatchExpressions(ast.property, $filter);\n    }\n    ast.constant = ast.object.constant && (!ast.computed || ast.property.constant);\n    ast.toWatch = [ast];\n    break;\n  case AST.CallExpression:\n    allConstants = ast.filter ? isStateless($filter, ast.callee.name) : false;\n    argsToWatch = [];\n    forEach(ast.arguments, function(expr) {\n      findConstantAndWatchExpressions(expr, $filter);\n      allConstants = allConstants && expr.constant;\n      if (!expr.constant) {\n        argsToWatch.push.apply(argsToWatch, expr.toWatch);\n      }\n    });\n    ast.constant = allConstants;\n    ast.toWatch = ast.filter && isStateless($filter, ast.callee.name) ? argsToWatch : [ast];\n    break;\n  case AST.AssignmentExpression:\n    findConstantAndWatchExpressions(ast.left, $filter);\n    findConstantAndWatchExpressions(ast.right, $filter);\n    ast.constant = ast.left.constant && ast.right.constant;\n    ast.toWatch = [ast];\n    break;\n  case AST.ArrayExpression:\n    allConstants = true;\n    argsToWatch = [];\n    forEach(ast.elements, function(expr) {\n      findConstantAndWatchExpressions(expr, $filter);\n      allConstants = allConstants && expr.constant;\n      if (!expr.constant) {\n        argsToWatch.push.apply(argsToWatch, expr.toWatch);\n      }\n    });\n    ast.constant = allConstants;\n    ast.toWatch = argsToWatch;\n    break;\n  case AST.ObjectExpression:\n    allConstants = true;\n    argsToWatch = [];\n    forEach(ast.properties, function(property) {\n      findConstantAndWatchExpressions(property.value, $filter);\n      allConstants = allConstants && property.value.constant;\n      if (!property.value.constant) {\n        argsToWatch.push.apply(argsToWatch, property.value.toWatch);\n      }\n    });\n    ast.constant = allConstants;\n    ast.toWatch = argsToWatch;\n    break;\n  case AST.ThisExpression:\n    ast.constant = false;\n    ast.toWatch = [];\n    break;\n  }\n}\n\nfunction getInputs(body) {\n  if (body.length != 1) return;\n  var lastExpression = body[0].expression;\n  var candidate = lastExpression.toWatch;\n  if (candidate.length !== 1) return candidate;\n  return candidate[0] !== lastExpression ? candidate : undefined;\n}\n\nfunction isAssignable(ast) {\n  return ast.type === AST.Identifier || ast.type === AST.MemberExpression;\n}\n\nfunction assignableAST(ast) {\n  if (ast.body.length === 1 && isAssignable(ast.body[0].expression)) {\n    return {type: AST.AssignmentExpression, left: ast.body[0].expression, right: {type: AST.NGValueParameter}, operator: '='};\n  }\n}\n\nfunction isLiteral(ast) {\n  return ast.body.length === 0 ||\n      ast.body.length === 1 && (\n      ast.body[0].expression.type === AST.Literal ||\n      ast.body[0].expression.type === AST.ArrayExpression ||\n      ast.body[0].expression.type === AST.ObjectExpression);\n}\n\nfunction isConstant(ast) {\n  return ast.constant;\n}\n\nfunction ASTCompiler(astBuilder, $filter) {\n  this.astBuilder = astBuilder;\n  this.$filter = $filter;\n}\n\nASTCompiler.prototype = {\n  compile: function(expression, expensiveChecks) {\n    var self = this;\n    var ast = this.astBuilder.ast(expression);\n    this.state = {\n      nextId: 0,\n      filters: {},\n      expensiveChecks: expensiveChecks,\n      fn: {vars: [], body: [], own: {}},\n      assign: {vars: [], body: [], own: {}},\n      inputs: []\n    };\n    findConstantAndWatchExpressions(ast, self.$filter);\n    var extra = '';\n    var assignable;\n    this.stage = 'assign';\n    if ((assignable = assignableAST(ast))) {\n      this.state.computing = 'assign';\n      var result = this.nextId();\n      this.recurse(assignable, result);\n      this.return_(result);\n      extra = 'fn.assign=' + this.generateFunction('assign', 's,v,l');\n    }\n    var toWatch = getInputs(ast.body);\n    self.stage = 'inputs';\n    forEach(toWatch, function(watch, key) {\n      var fnKey = 'fn' + key;\n      self.state[fnKey] = {vars: [], body: [], own: {}};\n      self.state.computing = fnKey;\n      var intoId = self.nextId();\n      self.recurse(watch, intoId);\n      self.return_(intoId);\n      self.state.inputs.push(fnKey);\n      watch.watchId = key;\n    });\n    this.state.computing = 'fn';\n    this.stage = 'main';\n    this.recurse(ast);\n    var fnString =\n      // The build and minification steps remove the string \"use strict\" from the code, but this is done using a regex.\n      // This is a workaround for this until we do a better job at only removing the prefix only when we should.\n      '\"' + this.USE + ' ' + this.STRICT + '\";\\n' +\n      this.filterPrefix() +\n      'var fn=' + this.generateFunction('fn', 's,l,a,i') +\n      extra +\n      this.watchFns() +\n      'return fn;';\n\n    /* jshint -W054 */\n    var fn = (new Function('$filter',\n        'ensureSafeMemberName',\n        'ensureSafeObject',\n        'ensureSafeFunction',\n        'getStringValue',\n        'ensureSafeAssignContext',\n        'ifDefined',\n        'plus',\n        'text',\n        fnString))(\n          this.$filter,\n          ensureSafeMemberName,\n          ensureSafeObject,\n          ensureSafeFunction,\n          getStringValue,\n          ensureSafeAssignContext,\n          ifDefined,\n          plusFn,\n          expression);\n    /* jshint +W054 */\n    this.state = this.stage = undefined;\n    fn.literal = isLiteral(ast);\n    fn.constant = isConstant(ast);\n    return fn;\n  },\n\n  USE: 'use',\n\n  STRICT: 'strict',\n\n  watchFns: function() {\n    var result = [];\n    var fns = this.state.inputs;\n    var self = this;\n    forEach(fns, function(name) {\n      result.push('var ' + name + '=' + self.generateFunction(name, 's'));\n    });\n    if (fns.length) {\n      result.push('fn.inputs=[' + fns.join(',') + '];');\n    }\n    return result.join('');\n  },\n\n  generateFunction: function(name, params) {\n    return 'function(' + params + '){' +\n        this.varsPrefix(name) +\n        this.body(name) +\n        '};';\n  },\n\n  filterPrefix: function() {\n    var parts = [];\n    var self = this;\n    forEach(this.state.filters, function(id, filter) {\n      parts.push(id + '=$filter(' + self.escape(filter) + ')');\n    });\n    if (parts.length) return 'var ' + parts.join(',') + ';';\n    return '';\n  },\n\n  varsPrefix: function(section) {\n    return this.state[section].vars.length ? 'var ' + this.state[section].vars.join(',') + ';' : '';\n  },\n\n  body: function(section) {\n    return this.state[section].body.join('');\n  },\n\n  recurse: function(ast, intoId, nameId, recursionFn, create, skipWatchIdCheck) {\n    var left, right, self = this, args, expression;\n    recursionFn = recursionFn || noop;\n    if (!skipWatchIdCheck && isDefined(ast.watchId)) {\n      intoId = intoId || this.nextId();\n      this.if_('i',\n        this.lazyAssign(intoId, this.computedMember('i', ast.watchId)),\n        this.lazyRecurse(ast, intoId, nameId, recursionFn, create, true)\n      );\n      return;\n    }\n    switch (ast.type) {\n    case AST.Program:\n      forEach(ast.body, function(expression, pos) {\n        self.recurse(expression.expression, undefined, undefined, function(expr) { right = expr; });\n        if (pos !== ast.body.length - 1) {\n          self.current().body.push(right, ';');\n        } else {\n          self.return_(right);\n        }\n      });\n      break;\n    case AST.Literal:\n      expression = this.escape(ast.value);\n      this.assign(intoId, expression);\n      recursionFn(expression);\n      break;\n    case AST.UnaryExpression:\n      this.recurse(ast.argument, undefined, undefined, function(expr) { right = expr; });\n      expression = ast.operator + '(' + this.ifDefined(right, 0) + ')';\n      this.assign(intoId, expression);\n      recursionFn(expression);\n      break;\n    case AST.BinaryExpression:\n      this.recurse(ast.left, undefined, undefined, function(expr) { left = expr; });\n      this.recurse(ast.right, undefined, undefined, function(expr) { right = expr; });\n      if (ast.operator === '+') {\n        expression = this.plus(left, right);\n      } else if (ast.operator === '-') {\n        expression = this.ifDefined(left, 0) + ast.operator + this.ifDefined(right, 0);\n      } else {\n        expression = '(' + left + ')' + ast.operator + '(' + right + ')';\n      }\n      this.assign(intoId, expression);\n      recursionFn(expression);\n      break;\n    case AST.LogicalExpression:\n      intoId = intoId || this.nextId();\n      self.recurse(ast.left, intoId);\n      self.if_(ast.operator === '&&' ? intoId : self.not(intoId), self.lazyRecurse(ast.right, intoId));\n      recursionFn(intoId);\n      break;\n    case AST.ConditionalExpression:\n      intoId = intoId || this.nextId();\n      self.recurse(ast.test, intoId);\n      self.if_(intoId, self.lazyRecurse(ast.alternate, intoId), self.lazyRecurse(ast.consequent, intoId));\n      recursionFn(intoId);\n      break;\n    case AST.Identifier:\n      intoId = intoId || this.nextId();\n      if (nameId) {\n        nameId.context = self.stage === 'inputs' ? 's' : this.assign(this.nextId(), this.getHasOwnProperty('l', ast.name) + '?l:s');\n        nameId.computed = false;\n        nameId.name = ast.name;\n      }\n      ensureSafeMemberName(ast.name);\n      self.if_(self.stage === 'inputs' || self.not(self.getHasOwnProperty('l', ast.name)),\n        function() {\n          self.if_(self.stage === 'inputs' || 's', function() {\n            if (create && create !== 1) {\n              self.if_(\n                self.not(self.nonComputedMember('s', ast.name)),\n                self.lazyAssign(self.nonComputedMember('s', ast.name), '{}'));\n            }\n            self.assign(intoId, self.nonComputedMember('s', ast.name));\n          });\n        }, intoId && self.lazyAssign(intoId, self.nonComputedMember('l', ast.name))\n        );\n      if (self.state.expensiveChecks || isPossiblyDangerousMemberName(ast.name)) {\n        self.addEnsureSafeObject(intoId);\n      }\n      recursionFn(intoId);\n      break;\n    case AST.MemberExpression:\n      left = nameId && (nameId.context = this.nextId()) || this.nextId();\n      intoId = intoId || this.nextId();\n      self.recurse(ast.object, left, undefined, function() {\n        self.if_(self.notNull(left), function() {\n          if (ast.computed) {\n            right = self.nextId();\n            self.recurse(ast.property, right);\n            self.getStringValue(right);\n            self.addEnsureSafeMemberName(right);\n            if (create && create !== 1) {\n              self.if_(self.not(self.computedMember(left, right)), self.lazyAssign(self.computedMember(left, right), '{}'));\n            }\n            expression = self.ensureSafeObject(self.computedMember(left, right));\n            self.assign(intoId, expression);\n            if (nameId) {\n              nameId.computed = true;\n              nameId.name = right;\n            }\n          } else {\n            ensureSafeMemberName(ast.property.name);\n            if (create && create !== 1) {\n              self.if_(self.not(self.nonComputedMember(left, ast.property.name)), self.lazyAssign(self.nonComputedMember(left, ast.property.name), '{}'));\n            }\n            expression = self.nonComputedMember(left, ast.property.name);\n            if (self.state.expensiveChecks || isPossiblyDangerousMemberName(ast.property.name)) {\n              expression = self.ensureSafeObject(expression);\n            }\n            self.assign(intoId, expression);\n            if (nameId) {\n              nameId.computed = false;\n              nameId.name = ast.property.name;\n            }\n          }\n        }, function() {\n          self.assign(intoId, 'undefined');\n        });\n        recursionFn(intoId);\n      }, !!create);\n      break;\n    case AST.CallExpression:\n      intoId = intoId || this.nextId();\n      if (ast.filter) {\n        right = self.filter(ast.callee.name);\n        args = [];\n        forEach(ast.arguments, function(expr) {\n          var argument = self.nextId();\n          self.recurse(expr, argument);\n          args.push(argument);\n        });\n        expression = right + '(' + args.join(',') + ')';\n        self.assign(intoId, expression);\n        recursionFn(intoId);\n      } else {\n        right = self.nextId();\n        left = {};\n        args = [];\n        self.recurse(ast.callee, right, left, function() {\n          self.if_(self.notNull(right), function() {\n            self.addEnsureSafeFunction(right);\n            forEach(ast.arguments, function(expr) {\n              self.recurse(expr, self.nextId(), undefined, function(argument) {\n                args.push(self.ensureSafeObject(argument));\n              });\n            });\n            if (left.name) {\n              if (!self.state.expensiveChecks) {\n                self.addEnsureSafeObject(left.context);\n              }\n              expression = self.member(left.context, left.name, left.computed) + '(' + args.join(',') + ')';\n            } else {\n              expression = right + '(' + args.join(',') + ')';\n            }\n            expression = self.ensureSafeObject(expression);\n            self.assign(intoId, expression);\n          }, function() {\n            self.assign(intoId, 'undefined');\n          });\n          recursionFn(intoId);\n        });\n      }\n      break;\n    case AST.AssignmentExpression:\n      right = this.nextId();\n      left = {};\n      if (!isAssignable(ast.left)) {\n        throw $parseMinErr('lval', 'Trying to assing a value to a non l-value');\n      }\n      this.recurse(ast.left, undefined, left, function() {\n        self.if_(self.notNull(left.context), function() {\n          self.recurse(ast.right, right);\n          self.addEnsureSafeObject(self.member(left.context, left.name, left.computed));\n          self.addEnsureSafeAssignContext(left.context);\n          expression = self.member(left.context, left.name, left.computed) + ast.operator + right;\n          self.assign(intoId, expression);\n          recursionFn(intoId || expression);\n        });\n      }, 1);\n      break;\n    case AST.ArrayExpression:\n      args = [];\n      forEach(ast.elements, function(expr) {\n        self.recurse(expr, self.nextId(), undefined, function(argument) {\n          args.push(argument);\n        });\n      });\n      expression = '[' + args.join(',') + ']';\n      this.assign(intoId, expression);\n      recursionFn(expression);\n      break;\n    case AST.ObjectExpression:\n      args = [];\n      forEach(ast.properties, function(property) {\n        self.recurse(property.value, self.nextId(), undefined, function(expr) {\n          args.push(self.escape(\n              property.key.type === AST.Identifier ? property.key.name :\n                ('' + property.key.value)) +\n              ':' + expr);\n        });\n      });\n      expression = '{' + args.join(',') + '}';\n      this.assign(intoId, expression);\n      recursionFn(expression);\n      break;\n    case AST.ThisExpression:\n      this.assign(intoId, 's');\n      recursionFn('s');\n      break;\n    case AST.NGValueParameter:\n      this.assign(intoId, 'v');\n      recursionFn('v');\n      break;\n    }\n  },\n\n  getHasOwnProperty: function(element, property) {\n    var key = element + '.' + property;\n    var own = this.current().own;\n    if (!own.hasOwnProperty(key)) {\n      own[key] = this.nextId(false, element + '&&(' + this.escape(property) + ' in ' + element + ')');\n    }\n    return own[key];\n  },\n\n  assign: function(id, value) {\n    if (!id) return;\n    this.current().body.push(id, '=', value, ';');\n    return id;\n  },\n\n  filter: function(filterName) {\n    if (!this.state.filters.hasOwnProperty(filterName)) {\n      this.state.filters[filterName] = this.nextId(true);\n    }\n    return this.state.filters[filterName];\n  },\n\n  ifDefined: function(id, defaultValue) {\n    return 'ifDefined(' + id + ',' + this.escape(defaultValue) + ')';\n  },\n\n  plus: function(left, right) {\n    return 'plus(' + left + ',' + right + ')';\n  },\n\n  return_: function(id) {\n    this.current().body.push('return ', id, ';');\n  },\n\n  if_: function(test, alternate, consequent) {\n    if (test === true) {\n      alternate();\n    } else {\n      var body = this.current().body;\n      body.push('if(', test, '){');\n      alternate();\n      body.push('}');\n      if (consequent) {\n        body.push('else{');\n        consequent();\n        body.push('}');\n      }\n    }\n  },\n\n  not: function(expression) {\n    return '!(' + expression + ')';\n  },\n\n  notNull: function(expression) {\n    return expression + '!=null';\n  },\n\n  nonComputedMember: function(left, right) {\n    return left + '.' + right;\n  },\n\n  computedMember: function(left, right) {\n    return left + '[' + right + ']';\n  },\n\n  member: function(left, right, computed) {\n    if (computed) return this.computedMember(left, right);\n    return this.nonComputedMember(left, right);\n  },\n\n  addEnsureSafeObject: function(item) {\n    this.current().body.push(this.ensureSafeObject(item), ';');\n  },\n\n  addEnsureSafeMemberName: function(item) {\n    this.current().body.push(this.ensureSafeMemberName(item), ';');\n  },\n\n  addEnsureSafeFunction: function(item) {\n    this.current().body.push(this.ensureSafeFunction(item), ';');\n  },\n\n  addEnsureSafeAssignContext: function(item) {\n    this.current().body.push(this.ensureSafeAssignContext(item), ';');\n  },\n\n  ensureSafeObject: function(item) {\n    return 'ensureSafeObject(' + item + ',text)';\n  },\n\n  ensureSafeMemberName: function(item) {\n    return 'ensureSafeMemberName(' + item + ',text)';\n  },\n\n  ensureSafeFunction: function(item) {\n    return 'ensureSafeFunction(' + item + ',text)';\n  },\n\n  getStringValue: function(item) {\n    this.assign(item, 'getStringValue(' + item + ',text)');\n  },\n\n  ensureSafeAssignContext: function(item) {\n    return 'ensureSafeAssignContext(' + item + ',text)';\n  },\n\n  lazyRecurse: function(ast, intoId, nameId, recursionFn, create, skipWatchIdCheck) {\n    var self = this;\n    return function() {\n      self.recurse(ast, intoId, nameId, recursionFn, create, skipWatchIdCheck);\n    };\n  },\n\n  lazyAssign: function(id, value) {\n    var self = this;\n    return function() {\n      self.assign(id, value);\n    };\n  },\n\n  stringEscapeRegex: /[^ a-zA-Z0-9]/g,\n\n  stringEscapeFn: function(c) {\n    return '\\\\u' + ('0000' + c.charCodeAt(0).toString(16)).slice(-4);\n  },\n\n  escape: function(value) {\n    if (isString(value)) return \"'\" + value.replace(this.stringEscapeRegex, this.stringEscapeFn) + \"'\";\n    if (isNumber(value)) return value.toString();\n    if (value === true) return 'true';\n    if (value === false) return 'false';\n    if (value === null) return 'null';\n    if (typeof value === 'undefined') return 'undefined';\n\n    throw $parseMinErr('esc', 'IMPOSSIBLE');\n  },\n\n  nextId: function(skip, init) {\n    var id = 'v' + (this.state.nextId++);\n    if (!skip) {\n      this.current().vars.push(id + (init ? '=' + init : ''));\n    }\n    return id;\n  },\n\n  current: function() {\n    return this.state[this.state.computing];\n  }\n};\n\n\nfunction ASTInterpreter(astBuilder, $filter) {\n  this.astBuilder = astBuilder;\n  this.$filter = $filter;\n}\n\nASTInterpreter.prototype = {\n  compile: function(expression, expensiveChecks) {\n    var self = this;\n    var ast = this.astBuilder.ast(expression);\n    this.expression = expression;\n    this.expensiveChecks = expensiveChecks;\n    findConstantAndWatchExpressions(ast, self.$filter);\n    var assignable;\n    var assign;\n    if ((assignable = assignableAST(ast))) {\n      assign = this.recurse(assignable);\n    }\n    var toWatch = getInputs(ast.body);\n    var inputs;\n    if (toWatch) {\n      inputs = [];\n      forEach(toWatch, function(watch, key) {\n        var input = self.recurse(watch);\n        watch.input = input;\n        inputs.push(input);\n        watch.watchId = key;\n      });\n    }\n    var expressions = [];\n    forEach(ast.body, function(expression) {\n      expressions.push(self.recurse(expression.expression));\n    });\n    var fn = ast.body.length === 0 ? function() {} :\n             ast.body.length === 1 ? expressions[0] :\n             function(scope, locals) {\n               var lastValue;\n               forEach(expressions, function(exp) {\n                 lastValue = exp(scope, locals);\n               });\n               return lastValue;\n             };\n    if (assign) {\n      fn.assign = function(scope, value, locals) {\n        return assign(scope, locals, value);\n      };\n    }\n    if (inputs) {\n      fn.inputs = inputs;\n    }\n    fn.literal = isLiteral(ast);\n    fn.constant = isConstant(ast);\n    return fn;\n  },\n\n  recurse: function(ast, context, create) {\n    var left, right, self = this, args, expression;\n    if (ast.input) {\n      return this.inputs(ast.input, ast.watchId);\n    }\n    switch (ast.type) {\n    case AST.Literal:\n      return this.value(ast.value, context);\n    case AST.UnaryExpression:\n      right = this.recurse(ast.argument);\n      return this['unary' + ast.operator](right, context);\n    case AST.BinaryExpression:\n      left = this.recurse(ast.left);\n      right = this.recurse(ast.right);\n      return this['binary' + ast.operator](left, right, context);\n    case AST.LogicalExpression:\n      left = this.recurse(ast.left);\n      right = this.recurse(ast.right);\n      return this['binary' + ast.operator](left, right, context);\n    case AST.ConditionalExpression:\n      return this['ternary?:'](\n        this.recurse(ast.test),\n        this.recurse(ast.alternate),\n        this.recurse(ast.consequent),\n        context\n      );\n    case AST.Identifier:\n      ensureSafeMemberName(ast.name, self.expression);\n      return self.identifier(ast.name,\n                             self.expensiveChecks || isPossiblyDangerousMemberName(ast.name),\n                             context, create, self.expression);\n    case AST.MemberExpression:\n      left = this.recurse(ast.object, false, !!create);\n      if (!ast.computed) {\n        ensureSafeMemberName(ast.property.name, self.expression);\n        right = ast.property.name;\n      }\n      if (ast.computed) right = this.recurse(ast.property);\n      return ast.computed ?\n        this.computedMember(left, right, context, create, self.expression) :\n        this.nonComputedMember(left, right, self.expensiveChecks, context, create, self.expression);\n    case AST.CallExpression:\n      args = [];\n      forEach(ast.arguments, function(expr) {\n        args.push(self.recurse(expr));\n      });\n      if (ast.filter) right = this.$filter(ast.callee.name);\n      if (!ast.filter) right = this.recurse(ast.callee, true);\n      return ast.filter ?\n        function(scope, locals, assign, inputs) {\n          var values = [];\n          for (var i = 0; i < args.length; ++i) {\n            values.push(args[i](scope, locals, assign, inputs));\n          }\n          var value = right.apply(undefined, values, inputs);\n          return context ? {context: undefined, name: undefined, value: value} : value;\n        } :\n        function(scope, locals, assign, inputs) {\n          var rhs = right(scope, locals, assign, inputs);\n          var value;\n          if (rhs.value != null) {\n            ensureSafeObject(rhs.context, self.expression);\n            ensureSafeFunction(rhs.value, self.expression);\n            var values = [];\n            for (var i = 0; i < args.length; ++i) {\n              values.push(ensureSafeObject(args[i](scope, locals, assign, inputs), self.expression));\n            }\n            value = ensureSafeObject(rhs.value.apply(rhs.context, values), self.expression);\n          }\n          return context ? {value: value} : value;\n        };\n    case AST.AssignmentExpression:\n      left = this.recurse(ast.left, true, 1);\n      right = this.recurse(ast.right);\n      return function(scope, locals, assign, inputs) {\n        var lhs = left(scope, locals, assign, inputs);\n        var rhs = right(scope, locals, assign, inputs);\n        ensureSafeObject(lhs.value, self.expression);\n        ensureSafeAssignContext(lhs.context);\n        lhs.context[lhs.name] = rhs;\n        return context ? {value: rhs} : rhs;\n      };\n    case AST.ArrayExpression:\n      args = [];\n      forEach(ast.elements, function(expr) {\n        args.push(self.recurse(expr));\n      });\n      return function(scope, locals, assign, inputs) {\n        var value = [];\n        for (var i = 0; i < args.length; ++i) {\n          value.push(args[i](scope, locals, assign, inputs));\n        }\n        return context ? {value: value} : value;\n      };\n    case AST.ObjectExpression:\n      args = [];\n      forEach(ast.properties, function(property) {\n        args.push({key: property.key.type === AST.Identifier ?\n                        property.key.name :\n                        ('' + property.key.value),\n                   value: self.recurse(property.value)\n        });\n      });\n      return function(scope, locals, assign, inputs) {\n        var value = {};\n        for (var i = 0; i < args.length; ++i) {\n          value[args[i].key] = args[i].value(scope, locals, assign, inputs);\n        }\n        return context ? {value: value} : value;\n      };\n    case AST.ThisExpression:\n      return function(scope) {\n        return context ? {value: scope} : scope;\n      };\n    case AST.NGValueParameter:\n      return function(scope, locals, assign, inputs) {\n        return context ? {value: assign} : assign;\n      };\n    }\n  },\n\n  'unary+': function(argument, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = argument(scope, locals, assign, inputs);\n      if (isDefined(arg)) {\n        arg = +arg;\n      } else {\n        arg = 0;\n      }\n      return context ? {value: arg} : arg;\n    };\n  },\n  'unary-': function(argument, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = argument(scope, locals, assign, inputs);\n      if (isDefined(arg)) {\n        arg = -arg;\n      } else {\n        arg = 0;\n      }\n      return context ? {value: arg} : arg;\n    };\n  },\n  'unary!': function(argument, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = !argument(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary+': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var lhs = left(scope, locals, assign, inputs);\n      var rhs = right(scope, locals, assign, inputs);\n      var arg = plusFn(lhs, rhs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary-': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var lhs = left(scope, locals, assign, inputs);\n      var rhs = right(scope, locals, assign, inputs);\n      var arg = (isDefined(lhs) ? lhs : 0) - (isDefined(rhs) ? rhs : 0);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary*': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = left(scope, locals, assign, inputs) * right(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary/': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = left(scope, locals, assign, inputs) / right(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary%': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = left(scope, locals, assign, inputs) % right(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary===': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = left(scope, locals, assign, inputs) === right(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary!==': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = left(scope, locals, assign, inputs) !== right(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary==': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = left(scope, locals, assign, inputs) == right(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary!=': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = left(scope, locals, assign, inputs) != right(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary<': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = left(scope, locals, assign, inputs) < right(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary>': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = left(scope, locals, assign, inputs) > right(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary<=': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = left(scope, locals, assign, inputs) <= right(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary>=': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = left(scope, locals, assign, inputs) >= right(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary&&': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = left(scope, locals, assign, inputs) && right(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'binary||': function(left, right, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = left(scope, locals, assign, inputs) || right(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  'ternary?:': function(test, alternate, consequent, context) {\n    return function(scope, locals, assign, inputs) {\n      var arg = test(scope, locals, assign, inputs) ? alternate(scope, locals, assign, inputs) : consequent(scope, locals, assign, inputs);\n      return context ? {value: arg} : arg;\n    };\n  },\n  value: function(value, context) {\n    return function() { return context ? {context: undefined, name: undefined, value: value} : value; };\n  },\n  identifier: function(name, expensiveChecks, context, create, expression) {\n    return function(scope, locals, assign, inputs) {\n      var base = locals && (name in locals) ? locals : scope;\n      if (create && create !== 1 && base && !(base[name])) {\n        base[name] = {};\n      }\n      var value = base ? base[name] : undefined;\n      if (expensiveChecks) {\n        ensureSafeObject(value, expression);\n      }\n      if (context) {\n        return {context: base, name: name, value: value};\n      } else {\n        return value;\n      }\n    };\n  },\n  computedMember: function(left, right, context, create, expression) {\n    return function(scope, locals, assign, inputs) {\n      var lhs = left(scope, locals, assign, inputs);\n      var rhs;\n      var value;\n      if (lhs != null) {\n        rhs = right(scope, locals, assign, inputs);\n        rhs = getStringValue(rhs);\n        ensureSafeMemberName(rhs, expression);\n        if (create && create !== 1 && lhs && !(lhs[rhs])) {\n          lhs[rhs] = {};\n        }\n        value = lhs[rhs];\n        ensureSafeObject(value, expression);\n      }\n      if (context) {\n        return {context: lhs, name: rhs, value: value};\n      } else {\n        return value;\n      }\n    };\n  },\n  nonComputedMember: function(left, right, expensiveChecks, context, create, expression) {\n    return function(scope, locals, assign, inputs) {\n      var lhs = left(scope, locals, assign, inputs);\n      if (create && create !== 1 && lhs && !(lhs[right])) {\n        lhs[right] = {};\n      }\n      var value = lhs != null ? lhs[right] : undefined;\n      if (expensiveChecks || isPossiblyDangerousMemberName(right)) {\n        ensureSafeObject(value, expression);\n      }\n      if (context) {\n        return {context: lhs, name: right, value: value};\n      } else {\n        return value;\n      }\n    };\n  },\n  inputs: function(input, watchId) {\n    return function(scope, value, locals, inputs) {\n      if (inputs) return inputs[watchId];\n      return input(scope, value, locals);\n    };\n  }\n};\n\n/**\n * @constructor\n */\nvar Parser = function(lexer, $filter, options) {\n  this.lexer = lexer;\n  this.$filter = $filter;\n  this.options = options;\n  this.ast = new AST(this.lexer);\n  this.astCompiler = options.csp ? new ASTInterpreter(this.ast, $filter) :\n                                   new ASTCompiler(this.ast, $filter);\n};\n\nParser.prototype = {\n  constructor: Parser,\n\n  parse: function(text) {\n    return this.astCompiler.compile(text, this.options.expensiveChecks);\n  }\n};\n\nvar getterFnCacheDefault = createMap();\nvar getterFnCacheExpensive = createMap();\n\nfunction isPossiblyDangerousMemberName(name) {\n  return name == 'constructor';\n}\n\nvar objectValueOf = Object.prototype.valueOf;\n\nfunction getValueOf(value) {\n  return isFunction(value.valueOf) ? value.valueOf() : objectValueOf.call(value);\n}\n\n///////////////////////////////////\n\n/**\n * @ngdoc service\n * @name $parse\n * @kind function\n *\n * @description\n *\n * Converts Angular {@link guide/expression expression} into a function.\n *\n * ```js\n *   var getter = $parse('user.name');\n *   var setter = getter.assign;\n *   var context = {user:{name:'angular'}};\n *   var locals = {user:{name:'local'}};\n *\n *   expect(getter(context)).toEqual('angular');\n *   setter(context, 'newValue');\n *   expect(context.user.name).toEqual('newValue');\n *   expect(getter(context, locals)).toEqual('local');\n * ```\n *\n *\n * @param {string} expression String expression to compile.\n * @returns {function(context, locals)} a function which represents the compiled expression:\n *\n *    * `context` – `{object}` – an object against which any expressions embedded in the strings\n *      are evaluated against (typically a scope object).\n *    * `locals` – `{object=}` – local variables context object, useful for overriding values in\n *      `context`.\n *\n *    The returned function also has the following properties:\n *      * `literal` – `{boolean}` – whether the expression's top-level node is a JavaScript\n *        literal.\n *      * `constant` – `{boolean}` – whether the expression is made entirely of JavaScript\n *        constant literals.\n *      * `assign` – `{?function(context, value)}` – if the expression is assignable, this will be\n *        set to a function to change its value on the given context.\n *\n */\n\n\n/**\n * @ngdoc provider\n * @name $parseProvider\n *\n * @description\n * `$parseProvider` can be used for configuring the default behavior of the {@link ng.$parse $parse}\n *  service.\n */\nfunction $ParseProvider() {\n  var cacheDefault = createMap();\n  var cacheExpensive = createMap();\n\n  this.$get = ['$filter', function($filter) {\n    var noUnsafeEval = csp().noUnsafeEval;\n    var $parseOptions = {\n          csp: noUnsafeEval,\n          expensiveChecks: false\n        },\n        $parseOptionsExpensive = {\n          csp: noUnsafeEval,\n          expensiveChecks: true\n        };\n\n    return function $parse(exp, interceptorFn, expensiveChecks) {\n      var parsedExpression, oneTime, cacheKey;\n\n      switch (typeof exp) {\n        case 'string':\n          exp = exp.trim();\n          cacheKey = exp;\n\n          var cache = (expensiveChecks ? cacheExpensive : cacheDefault);\n          parsedExpression = cache[cacheKey];\n\n          if (!parsedExpression) {\n            if (exp.charAt(0) === ':' && exp.charAt(1) === ':') {\n              oneTime = true;\n              exp = exp.substring(2);\n            }\n            var parseOptions = expensiveChecks ? $parseOptionsExpensive : $parseOptions;\n            var lexer = new Lexer(parseOptions);\n            var parser = new Parser(lexer, $filter, parseOptions);\n            parsedExpression = parser.parse(exp);\n            if (parsedExpression.constant) {\n              parsedExpression.$$watchDelegate = constantWatchDelegate;\n            } else if (oneTime) {\n              parsedExpression.$$watchDelegate = parsedExpression.literal ?\n                  oneTimeLiteralWatchDelegate : oneTimeWatchDelegate;\n            } else if (parsedExpression.inputs) {\n              parsedExpression.$$watchDelegate = inputsWatchDelegate;\n            }\n            cache[cacheKey] = parsedExpression;\n          }\n          return addInterceptor(parsedExpression, interceptorFn);\n\n        case 'function':\n          return addInterceptor(exp, interceptorFn);\n\n        default:\n          return noop;\n      }\n    };\n\n    function expressionInputDirtyCheck(newValue, oldValueOfValue) {\n\n      if (newValue == null || oldValueOfValue == null) { // null/undefined\n        return newValue === oldValueOfValue;\n      }\n\n      if (typeof newValue === 'object') {\n\n        // attempt to convert the value to a primitive type\n        // TODO(docs): add a note to docs that by implementing valueOf even objects and arrays can\n        //             be cheaply dirty-checked\n        newValue = getValueOf(newValue);\n\n        if (typeof newValue === 'object') {\n          // objects/arrays are not supported - deep-watching them would be too expensive\n          return false;\n        }\n\n        // fall-through to the primitive equality check\n      }\n\n      //Primitive or NaN\n      return newValue === oldValueOfValue || (newValue !== newValue && oldValueOfValue !== oldValueOfValue);\n    }\n\n    function inputsWatchDelegate(scope, listener, objectEquality, parsedExpression, prettyPrintExpression) {\n      var inputExpressions = parsedExpression.inputs;\n      var lastResult;\n\n      if (inputExpressions.length === 1) {\n        var oldInputValueOf = expressionInputDirtyCheck; // init to something unique so that equals check fails\n        inputExpressions = inputExpressions[0];\n        return scope.$watch(function expressionInputWatch(scope) {\n          var newInputValue = inputExpressions(scope);\n          if (!expressionInputDirtyCheck(newInputValue, oldInputValueOf)) {\n            lastResult = parsedExpression(scope, undefined, undefined, [newInputValue]);\n            oldInputValueOf = newInputValue && getValueOf(newInputValue);\n          }\n          return lastResult;\n        }, listener, objectEquality, prettyPrintExpression);\n      }\n\n      var oldInputValueOfValues = [];\n      var oldInputValues = [];\n      for (var i = 0, ii = inputExpressions.length; i < ii; i++) {\n        oldInputValueOfValues[i] = expressionInputDirtyCheck; // init to something unique so that equals check fails\n        oldInputValues[i] = null;\n      }\n\n      return scope.$watch(function expressionInputsWatch(scope) {\n        var changed = false;\n\n        for (var i = 0, ii = inputExpressions.length; i < ii; i++) {\n          var newInputValue = inputExpressions[i](scope);\n          if (changed || (changed = !expressionInputDirtyCheck(newInputValue, oldInputValueOfValues[i]))) {\n            oldInputValues[i] = newInputValue;\n            oldInputValueOfValues[i] = newInputValue && getValueOf(newInputValue);\n          }\n        }\n\n        if (changed) {\n          lastResult = parsedExpression(scope, undefined, undefined, oldInputValues);\n        }\n\n        return lastResult;\n      }, listener, objectEquality, prettyPrintExpression);\n    }\n\n    function oneTimeWatchDelegate(scope, listener, objectEquality, parsedExpression) {\n      var unwatch, lastValue;\n      return unwatch = scope.$watch(function oneTimeWatch(scope) {\n        return parsedExpression(scope);\n      }, function oneTimeListener(value, old, scope) {\n        lastValue = value;\n        if (isFunction(listener)) {\n          listener.apply(this, arguments);\n        }\n        if (isDefined(value)) {\n          scope.$$postDigest(function() {\n            if (isDefined(lastValue)) {\n              unwatch();\n            }\n          });\n        }\n      }, objectEquality);\n    }\n\n    function oneTimeLiteralWatchDelegate(scope, listener, objectEquality, parsedExpression) {\n      var unwatch, lastValue;\n      return unwatch = scope.$watch(function oneTimeWatch(scope) {\n        return parsedExpression(scope);\n      }, function oneTimeListener(value, old, scope) {\n        lastValue = value;\n        if (isFunction(listener)) {\n          listener.call(this, value, old, scope);\n        }\n        if (isAllDefined(value)) {\n          scope.$$postDigest(function() {\n            if (isAllDefined(lastValue)) unwatch();\n          });\n        }\n      }, objectEquality);\n\n      function isAllDefined(value) {\n        var allDefined = true;\n        forEach(value, function(val) {\n          if (!isDefined(val)) allDefined = false;\n        });\n        return allDefined;\n      }\n    }\n\n    function constantWatchDelegate(scope, listener, objectEquality, parsedExpression) {\n      var unwatch;\n      return unwatch = scope.$watch(function constantWatch(scope) {\n        return parsedExpression(scope);\n      }, function constantListener(value, old, scope) {\n        if (isFunction(listener)) {\n          listener.apply(this, arguments);\n        }\n        unwatch();\n      }, objectEquality);\n    }\n\n    function addInterceptor(parsedExpression, interceptorFn) {\n      if (!interceptorFn) return parsedExpression;\n      var watchDelegate = parsedExpression.$$watchDelegate;\n      var useInputs = false;\n\n      var regularWatch =\n          watchDelegate !== oneTimeLiteralWatchDelegate &&\n          watchDelegate !== oneTimeWatchDelegate;\n\n      var fn = regularWatch ? function regularInterceptedExpression(scope, locals, assign, inputs) {\n        var value = useInputs && inputs ? inputs[0] : parsedExpression(scope, locals, assign, inputs);\n        return interceptorFn(value, scope, locals);\n      } : function oneTimeInterceptedExpression(scope, locals, assign, inputs) {\n        var value = parsedExpression(scope, locals, assign, inputs);\n        var result = interceptorFn(value, scope, locals);\n        // we only return the interceptor's result if the\n        // initial value is defined (for bind-once)\n        return isDefined(value) ? result : value;\n      };\n\n      // Propagate $$watchDelegates other then inputsWatchDelegate\n      if (parsedExpression.$$watchDelegate &&\n          parsedExpression.$$watchDelegate !== inputsWatchDelegate) {\n        fn.$$watchDelegate = parsedExpression.$$watchDelegate;\n      } else if (!interceptorFn.$stateful) {\n        // If there is an interceptor, but no watchDelegate then treat the interceptor like\n        // we treat filters - it is assumed to be a pure function unless flagged with $stateful\n        fn.$$watchDelegate = inputsWatchDelegate;\n        useInputs = !parsedExpression.inputs;\n        fn.inputs = parsedExpression.inputs ? parsedExpression.inputs : [parsedExpression];\n      }\n\n      return fn;\n    }\n  }];\n}\n\n/**\n * @ngdoc service\n * @name $q\n * @requires $rootScope\n *\n * @description\n * A service that helps you run functions asynchronously, and use their return values (or exceptions)\n * when they are done processing.\n *\n * This is an implementation of promises/deferred objects inspired by\n * [Kris Kowal's Q](https://github.com/kriskowal/q).\n *\n * $q can be used in two fashions --- one which is more similar to Kris Kowal's Q or jQuery's Deferred\n * implementations, and the other which resembles ES6 promises to some degree.\n *\n * # $q constructor\n *\n * The streamlined ES6 style promise is essentially just using $q as a constructor which takes a `resolver`\n * function as the first argument. This is similar to the native Promise implementation from ES6 Harmony,\n * see [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise).\n *\n * While the constructor-style use is supported, not all of the supporting methods from ES6 Harmony promises are\n * available yet.\n *\n * It can be used like so:\n *\n * ```js\n *   // for the purpose of this example let's assume that variables `$q` and `okToGreet`\n *   // are available in the current lexical scope (they could have been injected or passed in).\n *\n *   function asyncGreet(name) {\n *     // perform some asynchronous operation, resolve or reject the promise when appropriate.\n *     return $q(function(resolve, reject) {\n *       setTimeout(function() {\n *         if (okToGreet(name)) {\n *           resolve('Hello, ' + name + '!');\n *         } else {\n *           reject('Greeting ' + name + ' is not allowed.');\n *         }\n *       }, 1000);\n *     });\n *   }\n *\n *   var promise = asyncGreet('Robin Hood');\n *   promise.then(function(greeting) {\n *     alert('Success: ' + greeting);\n *   }, function(reason) {\n *     alert('Failed: ' + reason);\n *   });\n * ```\n *\n * Note: progress/notify callbacks are not currently supported via the ES6-style interface.\n *\n * Note: unlike ES6 behaviour, an exception thrown in the constructor function will NOT implicitly reject the promise.\n *\n * However, the more traditional CommonJS-style usage is still available, and documented below.\n *\n * [The CommonJS Promise proposal](http://wiki.commonjs.org/wiki/Promises) describes a promise as an\n * interface for interacting with an object that represents the result of an action that is\n * performed asynchronously, and may or may not be finished at any given point in time.\n *\n * From the perspective of dealing with error handling, deferred and promise APIs are to\n * asynchronous programming what `try`, `catch` and `throw` keywords are to synchronous programming.\n *\n * ```js\n *   // for the purpose of this example let's assume that variables `$q` and `okToGreet`\n *   // are available in the current lexical scope (they could have been injected or passed in).\n *\n *   function asyncGreet(name) {\n *     var deferred = $q.defer();\n *\n *     setTimeout(function() {\n *       deferred.notify('About to greet ' + name + '.');\n *\n *       if (okToGreet(name)) {\n *         deferred.resolve('Hello, ' + name + '!');\n *       } else {\n *         deferred.reject('Greeting ' + name + ' is not allowed.');\n *       }\n *     }, 1000);\n *\n *     return deferred.promise;\n *   }\n *\n *   var promise = asyncGreet('Robin Hood');\n *   promise.then(function(greeting) {\n *     alert('Success: ' + greeting);\n *   }, function(reason) {\n *     alert('Failed: ' + reason);\n *   }, function(update) {\n *     alert('Got notification: ' + update);\n *   });\n * ```\n *\n * At first it might not be obvious why this extra complexity is worth the trouble. The payoff\n * comes in the way of guarantees that promise and deferred APIs make, see\n * https://github.com/kriskowal/uncommonjs/blob/master/promises/specification.md.\n *\n * Additionally the promise api allows for composition that is very hard to do with the\n * traditional callback ([CPS](http://en.wikipedia.org/wiki/Continuation-passing_style)) approach.\n * For more on this please see the [Q documentation](https://github.com/kriskowal/q) especially the\n * section on serial or parallel joining of promises.\n *\n * # The Deferred API\n *\n * A new instance of deferred is constructed by calling `$q.defer()`.\n *\n * The purpose of the deferred object is to expose the associated Promise instance as well as APIs\n * that can be used for signaling the successful or unsuccessful completion, as well as the status\n * of the task.\n *\n * **Methods**\n *\n * - `resolve(value)` – resolves the derived promise with the `value`. If the value is a rejection\n *   constructed via `$q.reject`, the promise will be rejected instead.\n * - `reject(reason)` – rejects the derived promise with the `reason`. This is equivalent to\n *   resolving it with a rejection constructed via `$q.reject`.\n * - `notify(value)` - provides updates on the status of the promise's execution. This may be called\n *   multiple times before the promise is either resolved or rejected.\n *\n * **Properties**\n *\n * - promise – `{Promise}` – promise object associated with this deferred.\n *\n *\n * # The Promise API\n *\n * A new promise instance is created when a deferred instance is created and can be retrieved by\n * calling `deferred.promise`.\n *\n * The purpose of the promise object is to allow for interested parties to get access to the result\n * of the deferred task when it completes.\n *\n * **Methods**\n *\n * - `then(successCallback, errorCallback, notifyCallback)` – regardless of when the promise was or\n *   will be resolved or rejected, `then` calls one of the success or error callbacks asynchronously\n *   as soon as the result is available. The callbacks are called with a single argument: the result\n *   or rejection reason. Additionally, the notify callback may be called zero or more times to\n *   provide a progress indication, before the promise is resolved or rejected.\n *\n *   This method *returns a new promise* which is resolved or rejected via the return value of the\n *   `successCallback`, `errorCallback` (unless that value is a promise, in which case it is resolved\n *   with the value which is resolved in that promise using\n *   [promise chaining](http://www.html5rocks.com/en/tutorials/es6/promises/#toc-promises-queues)).\n *   It also notifies via the return value of the `notifyCallback` method. The promise cannot be\n *   resolved or rejected from the notifyCallback method.\n *\n * - `catch(errorCallback)` – shorthand for `promise.then(null, errorCallback)`\n *\n * - `finally(callback, notifyCallback)` – allows you to observe either the fulfillment or rejection of a promise,\n *   but to do so without modifying the final value. This is useful to release resources or do some\n *   clean-up that needs to be done whether the promise was rejected or resolved. See the [full\n *   specification](https://github.com/kriskowal/q/wiki/API-Reference#promisefinallycallback) for\n *   more information.\n *\n * # Chaining promises\n *\n * Because calling the `then` method of a promise returns a new derived promise, it is easily\n * possible to create a chain of promises:\n *\n * ```js\n *   promiseB = promiseA.then(function(result) {\n *     return result + 1;\n *   });\n *\n *   // promiseB will be resolved immediately after promiseA is resolved and its value\n *   // will be the result of promiseA incremented by 1\n * ```\n *\n * It is possible to create chains of any length and since a promise can be resolved with another\n * promise (which will defer its resolution further), it is possible to pause/defer resolution of\n * the promises at any point in the chain. This makes it possible to implement powerful APIs like\n * $http's response interceptors.\n *\n *\n * # Differences between Kris Kowal's Q and $q\n *\n *  There are two main differences:\n *\n * - $q is integrated with the {@link ng.$rootScope.Scope} Scope model observation\n *   mechanism in angular, which means faster propagation of resolution or rejection into your\n *   models and avoiding unnecessary browser repaints, which would result in flickering UI.\n * - Q has many more features than $q, but that comes at a cost of bytes. $q is tiny, but contains\n *   all the important functionality needed for common async tasks.\n *\n *  # Testing\n *\n *  ```js\n *    it('should simulate promise', inject(function($q, $rootScope) {\n *      var deferred = $q.defer();\n *      var promise = deferred.promise;\n *      var resolvedValue;\n *\n *      promise.then(function(value) { resolvedValue = value; });\n *      expect(resolvedValue).toBeUndefined();\n *\n *      // Simulate resolving of promise\n *      deferred.resolve(123);\n *      // Note that the 'then' function does not get called synchronously.\n *      // This is because we want the promise API to always be async, whether or not\n *      // it got called synchronously or asynchronously.\n *      expect(resolvedValue).toBeUndefined();\n *\n *      // Propagate promise resolution to 'then' functions using $apply().\n *      $rootScope.$apply();\n *      expect(resolvedValue).toEqual(123);\n *    }));\n *  ```\n *\n * @param {function(function, function)} resolver Function which is responsible for resolving or\n *   rejecting the newly created promise. The first parameter is a function which resolves the\n *   promise, the second parameter is a function which rejects the promise.\n *\n * @returns {Promise} The newly created promise.\n */\nfunction $QProvider() {\n\n  this.$get = ['$rootScope', '$exceptionHandler', function($rootScope, $exceptionHandler) {\n    return qFactory(function(callback) {\n      $rootScope.$evalAsync(callback);\n    }, $exceptionHandler);\n  }];\n}\n\nfunction $$QProvider() {\n  this.$get = ['$browser', '$exceptionHandler', function($browser, $exceptionHandler) {\n    return qFactory(function(callback) {\n      $browser.defer(callback);\n    }, $exceptionHandler);\n  }];\n}\n\n/**\n * Constructs a promise manager.\n *\n * @param {function(function)} nextTick Function for executing functions in the next turn.\n * @param {function(...*)} exceptionHandler Function into which unexpected exceptions are passed for\n *     debugging purposes.\n * @returns {object} Promise manager.\n */\nfunction qFactory(nextTick, exceptionHandler) {\n  var $qMinErr = minErr('$q', TypeError);\n  function callOnce(self, resolveFn, rejectFn) {\n    var called = false;\n    function wrap(fn) {\n      return function(value) {\n        if (called) return;\n        called = true;\n        fn.call(self, value);\n      };\n    }\n\n    return [wrap(resolveFn), wrap(rejectFn)];\n  }\n\n  /**\n   * @ngdoc method\n   * @name ng.$q#defer\n   * @kind function\n   *\n   * @description\n   * Creates a `Deferred` object which represents a task which will finish in the future.\n   *\n   * @returns {Deferred} Returns a new instance of deferred.\n   */\n  var defer = function() {\n    return new Deferred();\n  };\n\n  function Promise() {\n    this.$$state = { status: 0 };\n  }\n\n  extend(Promise.prototype, {\n    then: function(onFulfilled, onRejected, progressBack) {\n      if (isUndefined(onFulfilled) && isUndefined(onRejected) && isUndefined(progressBack)) {\n        return this;\n      }\n      var result = new Deferred();\n\n      this.$$state.pending = this.$$state.pending || [];\n      this.$$state.pending.push([result, onFulfilled, onRejected, progressBack]);\n      if (this.$$state.status > 0) scheduleProcessQueue(this.$$state);\n\n      return result.promise;\n    },\n\n    \"catch\": function(callback) {\n      return this.then(null, callback);\n    },\n\n    \"finally\": function(callback, progressBack) {\n      return this.then(function(value) {\n        return handleCallback(value, true, callback);\n      }, function(error) {\n        return handleCallback(error, false, callback);\n      }, progressBack);\n    }\n  });\n\n  //Faster, more basic than angular.bind http://jsperf.com/angular-bind-vs-custom-vs-native\n  function simpleBind(context, fn) {\n    return function(value) {\n      fn.call(context, value);\n    };\n  }\n\n  function processQueue(state) {\n    var fn, deferred, pending;\n\n    pending = state.pending;\n    state.processScheduled = false;\n    state.pending = undefined;\n    for (var i = 0, ii = pending.length; i < ii; ++i) {\n      deferred = pending[i][0];\n      fn = pending[i][state.status];\n      try {\n        if (isFunction(fn)) {\n          deferred.resolve(fn(state.value));\n        } else if (state.status === 1) {\n          deferred.resolve(state.value);\n        } else {\n          deferred.reject(state.value);\n        }\n      } catch (e) {\n        deferred.reject(e);\n        exceptionHandler(e);\n      }\n    }\n  }\n\n  function scheduleProcessQueue(state) {\n    if (state.processScheduled || !state.pending) return;\n    state.processScheduled = true;\n    nextTick(function() { processQueue(state); });\n  }\n\n  function Deferred() {\n    this.promise = new Promise();\n    //Necessary to support unbound execution :/\n    this.resolve = simpleBind(this, this.resolve);\n    this.reject = simpleBind(this, this.reject);\n    this.notify = simpleBind(this, this.notify);\n  }\n\n  extend(Deferred.prototype, {\n    resolve: function(val) {\n      if (this.promise.$$state.status) return;\n      if (val === this.promise) {\n        this.$$reject($qMinErr(\n          'qcycle',\n          \"Expected promise to be resolved with value other than itself '{0}'\",\n          val));\n      } else {\n        this.$$resolve(val);\n      }\n\n    },\n\n    $$resolve: function(val) {\n      var then, fns;\n\n      fns = callOnce(this, this.$$resolve, this.$$reject);\n      try {\n        if ((isObject(val) || isFunction(val))) then = val && val.then;\n        if (isFunction(then)) {\n          this.promise.$$state.status = -1;\n          then.call(val, fns[0], fns[1], this.notify);\n        } else {\n          this.promise.$$state.value = val;\n          this.promise.$$state.status = 1;\n          scheduleProcessQueue(this.promise.$$state);\n        }\n      } catch (e) {\n        fns[1](e);\n        exceptionHandler(e);\n      }\n    },\n\n    reject: function(reason) {\n      if (this.promise.$$state.status) return;\n      this.$$reject(reason);\n    },\n\n    $$reject: function(reason) {\n      this.promise.$$state.value = reason;\n      this.promise.$$state.status = 2;\n      scheduleProcessQueue(this.promise.$$state);\n    },\n\n    notify: function(progress) {\n      var callbacks = this.promise.$$state.pending;\n\n      if ((this.promise.$$state.status <= 0) && callbacks && callbacks.length) {\n        nextTick(function() {\n          var callback, result;\n          for (var i = 0, ii = callbacks.length; i < ii; i++) {\n            result = callbacks[i][0];\n            callback = callbacks[i][3];\n            try {\n              result.notify(isFunction(callback) ? callback(progress) : progress);\n            } catch (e) {\n              exceptionHandler(e);\n            }\n          }\n        });\n      }\n    }\n  });\n\n  /**\n   * @ngdoc method\n   * @name $q#reject\n   * @kind function\n   *\n   * @description\n   * Creates a promise that is resolved as rejected with the specified `reason`. This api should be\n   * used to forward rejection in a chain of promises. If you are dealing with the last promise in\n   * a promise chain, you don't need to worry about it.\n   *\n   * When comparing deferreds/promises to the familiar behavior of try/catch/throw, think of\n   * `reject` as the `throw` keyword in JavaScript. This also means that if you \"catch\" an error via\n   * a promise error callback and you want to forward the error to the promise derived from the\n   * current promise, you have to \"rethrow\" the error by returning a rejection constructed via\n   * `reject`.\n   *\n   * ```js\n   *   promiseB = promiseA.then(function(result) {\n   *     // success: do something and resolve promiseB\n   *     //          with the old or a new result\n   *     return result;\n   *   }, function(reason) {\n   *     // error: handle the error if possible and\n   *     //        resolve promiseB with newPromiseOrValue,\n   *     //        otherwise forward the rejection to promiseB\n   *     if (canHandle(reason)) {\n   *      // handle the error and recover\n   *      return newPromiseOrValue;\n   *     }\n   *     return $q.reject(reason);\n   *   });\n   * ```\n   *\n   * @param {*} reason Constant, message, exception or an object representing the rejection reason.\n   * @returns {Promise} Returns a promise that was already resolved as rejected with the `reason`.\n   */\n  var reject = function(reason) {\n    var result = new Deferred();\n    result.reject(reason);\n    return result.promise;\n  };\n\n  var makePromise = function makePromise(value, resolved) {\n    var result = new Deferred();\n    if (resolved) {\n      result.resolve(value);\n    } else {\n      result.reject(value);\n    }\n    return result.promise;\n  };\n\n  var handleCallback = function handleCallback(value, isResolved, callback) {\n    var callbackOutput = null;\n    try {\n      if (isFunction(callback)) callbackOutput = callback();\n    } catch (e) {\n      return makePromise(e, false);\n    }\n    if (isPromiseLike(callbackOutput)) {\n      return callbackOutput.then(function() {\n        return makePromise(value, isResolved);\n      }, function(error) {\n        return makePromise(error, false);\n      });\n    } else {\n      return makePromise(value, isResolved);\n    }\n  };\n\n  /**\n   * @ngdoc method\n   * @name $q#when\n   * @kind function\n   *\n   * @description\n   * Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise.\n   * This is useful when you are dealing with an object that might or might not be a promise, or if\n   * the promise comes from a source that can't be trusted.\n   *\n   * @param {*} value Value or a promise\n   * @param {Function=} successCallback\n   * @param {Function=} errorCallback\n   * @param {Function=} progressCallback\n   * @returns {Promise} Returns a promise of the passed value or promise\n   */\n\n\n  var when = function(value, callback, errback, progressBack) {\n    var result = new Deferred();\n    result.resolve(value);\n    return result.promise.then(callback, errback, progressBack);\n  };\n\n  /**\n   * @ngdoc method\n   * @name $q#resolve\n   * @kind function\n   *\n   * @description\n   * Alias of {@link ng.$q#when when} to maintain naming consistency with ES6.\n   *\n   * @param {*} value Value or a promise\n   * @param {Function=} successCallback\n   * @param {Function=} errorCallback\n   * @param {Function=} progressCallback\n   * @returns {Promise} Returns a promise of the passed value or promise\n   */\n  var resolve = when;\n\n  /**\n   * @ngdoc method\n   * @name $q#all\n   * @kind function\n   *\n   * @description\n   * Combines multiple promises into a single promise that is resolved when all of the input\n   * promises are resolved.\n   *\n   * @param {Array.<Promise>|Object.<Promise>} promises An array or hash of promises.\n   * @returns {Promise} Returns a single promise that will be resolved with an array/hash of values,\n   *   each value corresponding to the promise at the same index/key in the `promises` array/hash.\n   *   If any of the promises is resolved with a rejection, this resulting promise will be rejected\n   *   with the same rejection value.\n   */\n\n  function all(promises) {\n    var deferred = new Deferred(),\n        counter = 0,\n        results = isArray(promises) ? [] : {};\n\n    forEach(promises, function(promise, key) {\n      counter++;\n      when(promise).then(function(value) {\n        if (results.hasOwnProperty(key)) return;\n        results[key] = value;\n        if (!(--counter)) deferred.resolve(results);\n      }, function(reason) {\n        if (results.hasOwnProperty(key)) return;\n        deferred.reject(reason);\n      });\n    });\n\n    if (counter === 0) {\n      deferred.resolve(results);\n    }\n\n    return deferred.promise;\n  }\n\n  var $Q = function Q(resolver) {\n    if (!isFunction(resolver)) {\n      throw $qMinErr('norslvr', \"Expected resolverFn, got '{0}'\", resolver);\n    }\n\n    if (!(this instanceof Q)) {\n      // More useful when $Q is the Promise itself.\n      return new Q(resolver);\n    }\n\n    var deferred = new Deferred();\n\n    function resolveFn(value) {\n      deferred.resolve(value);\n    }\n\n    function rejectFn(reason) {\n      deferred.reject(reason);\n    }\n\n    resolver(resolveFn, rejectFn);\n\n    return deferred.promise;\n  };\n\n  $Q.defer = defer;\n  $Q.reject = reject;\n  $Q.when = when;\n  $Q.resolve = resolve;\n  $Q.all = all;\n\n  return $Q;\n}\n\nfunction $$RAFProvider() { //rAF\n  this.$get = ['$window', '$timeout', function($window, $timeout) {\n    var requestAnimationFrame = $window.requestAnimationFrame ||\n                                $window.webkitRequestAnimationFrame;\n\n    var cancelAnimationFrame = $window.cancelAnimationFrame ||\n                               $window.webkitCancelAnimationFrame ||\n                               $window.webkitCancelRequestAnimationFrame;\n\n    var rafSupported = !!requestAnimationFrame;\n    var raf = rafSupported\n      ? function(fn) {\n          var id = requestAnimationFrame(fn);\n          return function() {\n            cancelAnimationFrame(id);\n          };\n        }\n      : function(fn) {\n          var timer = $timeout(fn, 16.66, false); // 1000 / 60 = 16.666\n          return function() {\n            $timeout.cancel(timer);\n          };\n        };\n\n    raf.supported = rafSupported;\n\n    return raf;\n  }];\n}\n\n/**\n * DESIGN NOTES\n *\n * The design decisions behind the scope are heavily favored for speed and memory consumption.\n *\n * The typical use of scope is to watch the expressions, which most of the time return the same\n * value as last time so we optimize the operation.\n *\n * Closures construction is expensive in terms of speed as well as memory:\n *   - No closures, instead use prototypical inheritance for API\n *   - Internal state needs to be stored on scope directly, which means that private state is\n *     exposed as $$____ properties\n *\n * Loop operations are optimized by using while(count--) { ... }\n *   - This means that in order to keep the same order of execution as addition we have to add\n *     items to the array at the beginning (unshift) instead of at the end (push)\n *\n * Child scopes are created and removed often\n *   - Using an array would be slow since inserts in the middle are expensive; so we use linked lists\n *\n * There are fewer watches than observers. This is why you don't want the observer to be implemented\n * in the same way as watch. Watch requires return of the initialization function which is expensive\n * to construct.\n */\n\n\n/**\n * @ngdoc provider\n * @name $rootScopeProvider\n * @description\n *\n * Provider for the $rootScope service.\n */\n\n/**\n * @ngdoc method\n * @name $rootScopeProvider#digestTtl\n * @description\n *\n * Sets the number of `$digest` iterations the scope should attempt to execute before giving up and\n * assuming that the model is unstable.\n *\n * The current default is 10 iterations.\n *\n * In complex applications it's possible that the dependencies between `$watch`s will result in\n * several digest iterations. However if an application needs more than the default 10 digest\n * iterations for its model to stabilize then you should investigate what is causing the model to\n * continuously change during the digest.\n *\n * Increasing the TTL could have performance implications, so you should not change it without\n * proper justification.\n *\n * @param {number} limit The number of digest iterations.\n */\n\n\n/**\n * @ngdoc service\n * @name $rootScope\n * @description\n *\n * Every application has a single root {@link ng.$rootScope.Scope scope}.\n * All other scopes are descendant scopes of the root scope. Scopes provide separation\n * between the model and the view, via a mechanism for watching the model for changes.\n * They also provide event emission/broadcast and subscription facility. See the\n * {@link guide/scope developer guide on scopes}.\n */\nfunction $RootScopeProvider() {\n  var TTL = 10;\n  var $rootScopeMinErr = minErr('$rootScope');\n  var lastDirtyWatch = null;\n  var applyAsyncId = null;\n\n  this.digestTtl = function(value) {\n    if (arguments.length) {\n      TTL = value;\n    }\n    return TTL;\n  };\n\n  function createChildScopeClass(parent) {\n    function ChildScope() {\n      this.$$watchers = this.$$nextSibling =\n          this.$$childHead = this.$$childTail = null;\n      this.$$listeners = {};\n      this.$$listenerCount = {};\n      this.$$watchersCount = 0;\n      this.$id = nextUid();\n      this.$$ChildScope = null;\n    }\n    ChildScope.prototype = parent;\n    return ChildScope;\n  }\n\n  this.$get = ['$injector', '$exceptionHandler', '$parse', '$browser',\n      function($injector, $exceptionHandler, $parse, $browser) {\n\n    function destroyChildScope($event) {\n        $event.currentScope.$$destroyed = true;\n    }\n\n    function cleanUpScope($scope) {\n\n      if (msie === 9) {\n        // There is a memory leak in IE9 if all child scopes are not disconnected\n        // completely when a scope is destroyed. So this code will recurse up through\n        // all this scopes children\n        //\n        // See issue https://github.com/angular/angular.js/issues/10706\n        $scope.$$childHead && cleanUpScope($scope.$$childHead);\n        $scope.$$nextSibling && cleanUpScope($scope.$$nextSibling);\n      }\n\n      // The code below works around IE9 and V8's memory leaks\n      //\n      // See:\n      // - https://code.google.com/p/v8/issues/detail?id=2073#c26\n      // - https://github.com/angular/angular.js/issues/6794#issuecomment-38648909\n      // - https://github.com/angular/angular.js/issues/1313#issuecomment-10378451\n\n      $scope.$parent = $scope.$$nextSibling = $scope.$$prevSibling = $scope.$$childHead =\n          $scope.$$childTail = $scope.$root = $scope.$$watchers = null;\n    }\n\n    /**\n     * @ngdoc type\n     * @name $rootScope.Scope\n     *\n     * @description\n     * A root scope can be retrieved using the {@link ng.$rootScope $rootScope} key from the\n     * {@link auto.$injector $injector}. Child scopes are created using the\n     * {@link ng.$rootScope.Scope#$new $new()} method. (Most scopes are created automatically when\n     * compiled HTML template is executed.) See also the {@link guide/scope Scopes guide} for\n     * an in-depth introduction and usage examples.\n     *\n     *\n     * # Inheritance\n     * A scope can inherit from a parent scope, as in this example:\n     * ```js\n         var parent = $rootScope;\n         var child = parent.$new();\n\n         parent.salutation = \"Hello\";\n         expect(child.salutation).toEqual('Hello');\n\n         child.salutation = \"Welcome\";\n         expect(child.salutation).toEqual('Welcome');\n         expect(parent.salutation).toEqual('Hello');\n     * ```\n     *\n     * When interacting with `Scope` in tests, additional helper methods are available on the\n     * instances of `Scope` type. See {@link ngMock.$rootScope.Scope ngMock Scope} for additional\n     * details.\n     *\n     *\n     * @param {Object.<string, function()>=} providers Map of service factory which need to be\n     *                                       provided for the current scope. Defaults to {@link ng}.\n     * @param {Object.<string, *>=} instanceCache Provides pre-instantiated services which should\n     *                              append/override services provided by `providers`. This is handy\n     *                              when unit-testing and having the need to override a default\n     *                              service.\n     * @returns {Object} Newly created scope.\n     *\n     */\n    function Scope() {\n      this.$id = nextUid();\n      this.$$phase = this.$parent = this.$$watchers =\n                     this.$$nextSibling = this.$$prevSibling =\n                     this.$$childHead = this.$$childTail = null;\n      this.$root = this;\n      this.$$destroyed = false;\n      this.$$listeners = {};\n      this.$$listenerCount = {};\n      this.$$watchersCount = 0;\n      this.$$isolateBindings = null;\n    }\n\n    /**\n     * @ngdoc property\n     * @name $rootScope.Scope#$id\n     *\n     * @description\n     * Unique scope ID (monotonically increasing) useful for debugging.\n     */\n\n     /**\n      * @ngdoc property\n      * @name $rootScope.Scope#$parent\n      *\n      * @description\n      * Reference to the parent scope.\n      */\n\n      /**\n       * @ngdoc property\n       * @name $rootScope.Scope#$root\n       *\n       * @description\n       * Reference to the root scope.\n       */\n\n    Scope.prototype = {\n      constructor: Scope,\n      /**\n       * @ngdoc method\n       * @name $rootScope.Scope#$new\n       * @kind function\n       *\n       * @description\n       * Creates a new child {@link ng.$rootScope.Scope scope}.\n       *\n       * The parent scope will propagate the {@link ng.$rootScope.Scope#$digest $digest()} event.\n       * The scope can be removed from the scope hierarchy using {@link ng.$rootScope.Scope#$destroy $destroy()}.\n       *\n       * {@link ng.$rootScope.Scope#$destroy $destroy()} must be called on a scope when it is\n       * desired for the scope and its child scopes to be permanently detached from the parent and\n       * thus stop participating in model change detection and listener notification by invoking.\n       *\n       * @param {boolean} isolate If true, then the scope does not prototypically inherit from the\n       *         parent scope. The scope is isolated, as it can not see parent scope properties.\n       *         When creating widgets, it is useful for the widget to not accidentally read parent\n       *         state.\n       *\n       * @param {Scope} [parent=this] The {@link ng.$rootScope.Scope `Scope`} that will be the `$parent`\n       *                              of the newly created scope. Defaults to `this` scope if not provided.\n       *                              This is used when creating a transclude scope to correctly place it\n       *                              in the scope hierarchy while maintaining the correct prototypical\n       *                              inheritance.\n       *\n       * @returns {Object} The newly created child scope.\n       *\n       */\n      $new: function(isolate, parent) {\n        var child;\n\n        parent = parent || this;\n\n        if (isolate) {\n          child = new Scope();\n          child.$root = this.$root;\n        } else {\n          // Only create a child scope class if somebody asks for one,\n          // but cache it to allow the VM to optimize lookups.\n          if (!this.$$ChildScope) {\n            this.$$ChildScope = createChildScopeClass(this);\n          }\n          child = new this.$$ChildScope();\n        }\n        child.$parent = parent;\n        child.$$prevSibling = parent.$$childTail;\n        if (parent.$$childHead) {\n          parent.$$childTail.$$nextSibling = child;\n          parent.$$childTail = child;\n        } else {\n          parent.$$childHead = parent.$$childTail = child;\n        }\n\n        // When the new scope is not isolated or we inherit from `this`, and\n        // the parent scope is destroyed, the property `$$destroyed` is inherited\n        // prototypically. In all other cases, this property needs to be set\n        // when the parent scope is destroyed.\n        // The listener needs to be added after the parent is set\n        if (isolate || parent != this) child.$on('$destroy', destroyChildScope);\n\n        return child;\n      },\n\n      /**\n       * @ngdoc method\n       * @name $rootScope.Scope#$watch\n       * @kind function\n       *\n       * @description\n       * Registers a `listener` callback to be executed whenever the `watchExpression` changes.\n       *\n       * - The `watchExpression` is called on every call to {@link ng.$rootScope.Scope#$digest\n       *   $digest()} and should return the value that will be watched. (`watchExpression` should not change\n       *   its value when executed multiple times with the same input because it may be executed multiple\n       *   times by {@link ng.$rootScope.Scope#$digest $digest()}. That is, `watchExpression` should be\n       *   [idempotent](http://en.wikipedia.org/wiki/Idempotence).\n       * - The `listener` is called only when the value from the current `watchExpression` and the\n       *   previous call to `watchExpression` are not equal (with the exception of the initial run,\n       *   see below). Inequality is determined according to reference inequality,\n       *   [strict comparison](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Comparison_Operators)\n       *    via the `!==` Javascript operator, unless `objectEquality == true`\n       *   (see next point)\n       * - When `objectEquality == true`, inequality of the `watchExpression` is determined\n       *   according to the {@link angular.equals} function. To save the value of the object for\n       *   later comparison, the {@link angular.copy} function is used. This therefore means that\n       *   watching complex objects will have adverse memory and performance implications.\n       * - The watch `listener` may change the model, which may trigger other `listener`s to fire.\n       *   This is achieved by rerunning the watchers until no changes are detected. The rerun\n       *   iteration limit is 10 to prevent an infinite loop deadlock.\n       *\n       *\n       * If you want to be notified whenever {@link ng.$rootScope.Scope#$digest $digest} is called,\n       * you can register a `watchExpression` function with no `listener`. (Be prepared for\n       * multiple calls to your `watchExpression` because it will execute multiple times in a\n       * single {@link ng.$rootScope.Scope#$digest $digest} cycle if a change is detected.)\n       *\n       * After a watcher is registered with the scope, the `listener` fn is called asynchronously\n       * (via {@link ng.$rootScope.Scope#$evalAsync $evalAsync}) to initialize the\n       * watcher. In rare cases, this is undesirable because the listener is called when the result\n       * of `watchExpression` didn't change. To detect this scenario within the `listener` fn, you\n       * can compare the `newVal` and `oldVal`. If these two values are identical (`===`) then the\n       * listener was called due to initialization.\n       *\n       *\n       *\n       * # Example\n       * ```js\n           // let's assume that scope was dependency injected as the $rootScope\n           var scope = $rootScope;\n           scope.name = 'misko';\n           scope.counter = 0;\n\n           expect(scope.counter).toEqual(0);\n           scope.$watch('name', function(newValue, oldValue) {\n             scope.counter = scope.counter + 1;\n           });\n           expect(scope.counter).toEqual(0);\n\n           scope.$digest();\n           // the listener is always called during the first $digest loop after it was registered\n           expect(scope.counter).toEqual(1);\n\n           scope.$digest();\n           // but now it will not be called unless the value changes\n           expect(scope.counter).toEqual(1);\n\n           scope.name = 'adam';\n           scope.$digest();\n           expect(scope.counter).toEqual(2);\n\n\n\n           // Using a function as a watchExpression\n           var food;\n           scope.foodCounter = 0;\n           expect(scope.foodCounter).toEqual(0);\n           scope.$watch(\n             // This function returns the value being watched. It is called for each turn of the $digest loop\n             function() { return food; },\n             // This is the change listener, called when the value returned from the above function changes\n             function(newValue, oldValue) {\n               if ( newValue !== oldValue ) {\n                 // Only increment the counter if the value changed\n                 scope.foodCounter = scope.foodCounter + 1;\n               }\n             }\n           );\n           // No digest has been run so the counter will be zero\n           expect(scope.foodCounter).toEqual(0);\n\n           // Run the digest but since food has not changed count will still be zero\n           scope.$digest();\n           expect(scope.foodCounter).toEqual(0);\n\n           // Update food and run digest.  Now the counter will increment\n           food = 'cheeseburger';\n           scope.$digest();\n           expect(scope.foodCounter).toEqual(1);\n\n       * ```\n       *\n       *\n       *\n       * @param {(function()|string)} watchExpression Expression that is evaluated on each\n       *    {@link ng.$rootScope.Scope#$digest $digest} cycle. A change in the return value triggers\n       *    a call to the `listener`.\n       *\n       *    - `string`: Evaluated as {@link guide/expression expression}\n       *    - `function(scope)`: called with current `scope` as a parameter.\n       * @param {function(newVal, oldVal, scope)} listener Callback called whenever the value\n       *    of `watchExpression` changes.\n       *\n       *    - `newVal` contains the current value of the `watchExpression`\n       *    - `oldVal` contains the previous value of the `watchExpression`\n       *    - `scope` refers to the current scope\n       * @param {boolean=} objectEquality Compare for object equality using {@link angular.equals} instead of\n       *     comparing for reference equality.\n       * @returns {function()} Returns a deregistration function for this listener.\n       */\n      $watch: function(watchExp, listener, objectEquality, prettyPrintExpression) {\n        var get = $parse(watchExp);\n\n        if (get.$$watchDelegate) {\n          return get.$$watchDelegate(this, listener, objectEquality, get, watchExp);\n        }\n        var scope = this,\n            array = scope.$$watchers,\n            watcher = {\n              fn: listener,\n              last: initWatchVal,\n              get: get,\n              exp: prettyPrintExpression || watchExp,\n              eq: !!objectEquality\n            };\n\n        lastDirtyWatch = null;\n\n        if (!isFunction(listener)) {\n          watcher.fn = noop;\n        }\n\n        if (!array) {\n          array = scope.$$watchers = [];\n        }\n        // we use unshift since we use a while loop in $digest for speed.\n        // the while loop reads in reverse order.\n        array.unshift(watcher);\n        incrementWatchersCount(this, 1);\n\n        return function deregisterWatch() {\n          if (arrayRemove(array, watcher) >= 0) {\n            incrementWatchersCount(scope, -1);\n          }\n          lastDirtyWatch = null;\n        };\n      },\n\n      /**\n       * @ngdoc method\n       * @name $rootScope.Scope#$watchGroup\n       * @kind function\n       *\n       * @description\n       * A variant of {@link ng.$rootScope.Scope#$watch $watch()} where it watches an array of `watchExpressions`.\n       * If any one expression in the collection changes the `listener` is executed.\n       *\n       * - The items in the `watchExpressions` array are observed via standard $watch operation and are examined on every\n       *   call to $digest() to see if any items changes.\n       * - The `listener` is called whenever any expression in the `watchExpressions` array changes.\n       *\n       * @param {Array.<string|Function(scope)>} watchExpressions Array of expressions that will be individually\n       * watched using {@link ng.$rootScope.Scope#$watch $watch()}\n       *\n       * @param {function(newValues, oldValues, scope)} listener Callback called whenever the return value of any\n       *    expression in `watchExpressions` changes\n       *    The `newValues` array contains the current values of the `watchExpressions`, with the indexes matching\n       *    those of `watchExpression`\n       *    and the `oldValues` array contains the previous values of the `watchExpressions`, with the indexes matching\n       *    those of `watchExpression`\n       *    The `scope` refers to the current scope.\n       * @returns {function()} Returns a de-registration function for all listeners.\n       */\n      $watchGroup: function(watchExpressions, listener) {\n        var oldValues = new Array(watchExpressions.length);\n        var newValues = new Array(watchExpressions.length);\n        var deregisterFns = [];\n        var self = this;\n        var changeReactionScheduled = false;\n        var firstRun = true;\n\n        if (!watchExpressions.length) {\n          // No expressions means we call the listener ASAP\n          var shouldCall = true;\n          self.$evalAsync(function() {\n            if (shouldCall) listener(newValues, newValues, self);\n          });\n          return function deregisterWatchGroup() {\n            shouldCall = false;\n          };\n        }\n\n        if (watchExpressions.length === 1) {\n          // Special case size of one\n          return this.$watch(watchExpressions[0], function watchGroupAction(value, oldValue, scope) {\n            newValues[0] = value;\n            oldValues[0] = oldValue;\n            listener(newValues, (value === oldValue) ? newValues : oldValues, scope);\n          });\n        }\n\n        forEach(watchExpressions, function(expr, i) {\n          var unwatchFn = self.$watch(expr, function watchGroupSubAction(value, oldValue) {\n            newValues[i] = value;\n            oldValues[i] = oldValue;\n            if (!changeReactionScheduled) {\n              changeReactionScheduled = true;\n              self.$evalAsync(watchGroupAction);\n            }\n          });\n          deregisterFns.push(unwatchFn);\n        });\n\n        function watchGroupAction() {\n          changeReactionScheduled = false;\n\n          if (firstRun) {\n            firstRun = false;\n            listener(newValues, newValues, self);\n          } else {\n            listener(newValues, oldValues, self);\n          }\n        }\n\n        return function deregisterWatchGroup() {\n          while (deregisterFns.length) {\n            deregisterFns.shift()();\n          }\n        };\n      },\n\n\n      /**\n       * @ngdoc method\n       * @name $rootScope.Scope#$watchCollection\n       * @kind function\n       *\n       * @description\n       * Shallow watches the properties of an object and fires whenever any of the properties change\n       * (for arrays, this implies watching the array items; for object maps, this implies watching\n       * the properties). If a change is detected, the `listener` callback is fired.\n       *\n       * - The `obj` collection is observed via standard $watch operation and is examined on every\n       *   call to $digest() to see if any items have been added, removed, or moved.\n       * - The `listener` is called whenever anything within the `obj` has changed. Examples include\n       *   adding, removing, and moving items belonging to an object or array.\n       *\n       *\n       * # Example\n       * ```js\n          $scope.names = ['igor', 'matias', 'misko', 'james'];\n          $scope.dataCount = 4;\n\n          $scope.$watchCollection('names', function(newNames, oldNames) {\n            $scope.dataCount = newNames.length;\n          });\n\n          expect($scope.dataCount).toEqual(4);\n          $scope.$digest();\n\n          //still at 4 ... no changes\n          expect($scope.dataCount).toEqual(4);\n\n          $scope.names.pop();\n          $scope.$digest();\n\n          //now there's been a change\n          expect($scope.dataCount).toEqual(3);\n       * ```\n       *\n       *\n       * @param {string|function(scope)} obj Evaluated as {@link guide/expression expression}. The\n       *    expression value should evaluate to an object or an array which is observed on each\n       *    {@link ng.$rootScope.Scope#$digest $digest} cycle. Any shallow change within the\n       *    collection will trigger a call to the `listener`.\n       *\n       * @param {function(newCollection, oldCollection, scope)} listener a callback function called\n       *    when a change is detected.\n       *    - The `newCollection` object is the newly modified data obtained from the `obj` expression\n       *    - The `oldCollection` object is a copy of the former collection data.\n       *      Due to performance considerations, the`oldCollection` value is computed only if the\n       *      `listener` function declares two or more arguments.\n       *    - The `scope` argument refers to the current scope.\n       *\n       * @returns {function()} Returns a de-registration function for this listener. When the\n       *    de-registration function is executed, the internal watch operation is terminated.\n       */\n      $watchCollection: function(obj, listener) {\n        $watchCollectionInterceptor.$stateful = true;\n\n        var self = this;\n        // the current value, updated on each dirty-check run\n        var newValue;\n        // a shallow copy of the newValue from the last dirty-check run,\n        // updated to match newValue during dirty-check run\n        var oldValue;\n        // a shallow copy of the newValue from when the last change happened\n        var veryOldValue;\n        // only track veryOldValue if the listener is asking for it\n        var trackVeryOldValue = (listener.length > 1);\n        var changeDetected = 0;\n        var changeDetector = $parse(obj, $watchCollectionInterceptor);\n        var internalArray = [];\n        var internalObject = {};\n        var initRun = true;\n        var oldLength = 0;\n\n        function $watchCollectionInterceptor(_value) {\n          newValue = _value;\n          var newLength, key, bothNaN, newItem, oldItem;\n\n          // If the new value is undefined, then return undefined as the watch may be a one-time watch\n          if (isUndefined(newValue)) return;\n\n          if (!isObject(newValue)) { // if primitive\n            if (oldValue !== newValue) {\n              oldValue = newValue;\n              changeDetected++;\n            }\n          } else if (isArrayLike(newValue)) {\n            if (oldValue !== internalArray) {\n              // we are transitioning from something which was not an array into array.\n              oldValue = internalArray;\n              oldLength = oldValue.length = 0;\n              changeDetected++;\n            }\n\n            newLength = newValue.length;\n\n            if (oldLength !== newLength) {\n              // if lengths do not match we need to trigger change notification\n              changeDetected++;\n              oldValue.length = oldLength = newLength;\n            }\n            // copy the items to oldValue and look for changes.\n            for (var i = 0; i < newLength; i++) {\n              oldItem = oldValue[i];\n              newItem = newValue[i];\n\n              bothNaN = (oldItem !== oldItem) && (newItem !== newItem);\n              if (!bothNaN && (oldItem !== newItem)) {\n                changeDetected++;\n                oldValue[i] = newItem;\n              }\n            }\n          } else {\n            if (oldValue !== internalObject) {\n              // we are transitioning from something which was not an object into object.\n              oldValue = internalObject = {};\n              oldLength = 0;\n              changeDetected++;\n            }\n            // copy the items to oldValue and look for changes.\n            newLength = 0;\n            for (key in newValue) {\n              if (hasOwnProperty.call(newValue, key)) {\n                newLength++;\n                newItem = newValue[key];\n                oldItem = oldValue[key];\n\n                if (key in oldValue) {\n                  bothNaN = (oldItem !== oldItem) && (newItem !== newItem);\n                  if (!bothNaN && (oldItem !== newItem)) {\n                    changeDetected++;\n                    oldValue[key] = newItem;\n                  }\n                } else {\n                  oldLength++;\n                  oldValue[key] = newItem;\n                  changeDetected++;\n                }\n              }\n            }\n            if (oldLength > newLength) {\n              // we used to have more keys, need to find them and destroy them.\n              changeDetected++;\n              for (key in oldValue) {\n                if (!hasOwnProperty.call(newValue, key)) {\n                  oldLength--;\n                  delete oldValue[key];\n                }\n              }\n            }\n          }\n          return changeDetected;\n        }\n\n        function $watchCollectionAction() {\n          if (initRun) {\n            initRun = false;\n            listener(newValue, newValue, self);\n          } else {\n            listener(newValue, veryOldValue, self);\n          }\n\n          // make a copy for the next time a collection is changed\n          if (trackVeryOldValue) {\n            if (!isObject(newValue)) {\n              //primitive\n              veryOldValue = newValue;\n            } else if (isArrayLike(newValue)) {\n              veryOldValue = new Array(newValue.length);\n              for (var i = 0; i < newValue.length; i++) {\n                veryOldValue[i] = newValue[i];\n              }\n            } else { // if object\n              veryOldValue = {};\n              for (var key in newValue) {\n                if (hasOwnProperty.call(newValue, key)) {\n                  veryOldValue[key] = newValue[key];\n                }\n              }\n            }\n          }\n        }\n\n        return this.$watch(changeDetector, $watchCollectionAction);\n      },\n\n      /**\n       * @ngdoc method\n       * @name $rootScope.Scope#$digest\n       * @kind function\n       *\n       * @description\n       * Processes all of the {@link ng.$rootScope.Scope#$watch watchers} of the current scope and\n       * its children. Because a {@link ng.$rootScope.Scope#$watch watcher}'s listener can change\n       * the model, the `$digest()` keeps calling the {@link ng.$rootScope.Scope#$watch watchers}\n       * until no more listeners are firing. This means that it is possible to get into an infinite\n       * loop. This function will throw `'Maximum iteration limit exceeded.'` if the number of\n       * iterations exceeds 10.\n       *\n       * Usually, you don't call `$digest()` directly in\n       * {@link ng.directive:ngController controllers} or in\n       * {@link ng.$compileProvider#directive directives}.\n       * Instead, you should call {@link ng.$rootScope.Scope#$apply $apply()} (typically from within\n       * a {@link ng.$compileProvider#directive directive}), which will force a `$digest()`.\n       *\n       * If you want to be notified whenever `$digest()` is called,\n       * you can register a `watchExpression` function with\n       * {@link ng.$rootScope.Scope#$watch $watch()} with no `listener`.\n       *\n       * In unit tests, you may need to call `$digest()` to simulate the scope life cycle.\n       *\n       * # Example\n       * ```js\n           var scope = ...;\n           scope.name = 'misko';\n           scope.counter = 0;\n\n           expect(scope.counter).toEqual(0);\n           scope.$watch('name', function(newValue, oldValue) {\n             scope.counter = scope.counter + 1;\n           });\n           expect(scope.counter).toEqual(0);\n\n           scope.$digest();\n           // the listener is always called during the first $digest loop after it was registered\n           expect(scope.counter).toEqual(1);\n\n           scope.$digest();\n           // but now it will not be called unless the value changes\n           expect(scope.counter).toEqual(1);\n\n           scope.name = 'adam';\n           scope.$digest();\n           expect(scope.counter).toEqual(2);\n       * ```\n       *\n       */\n      $digest: function() {\n        var watch, value, last,\n            watchers,\n            length,\n            dirty, ttl = TTL,\n            next, current, target = this,\n            watchLog = [],\n            logIdx, logMsg, asyncTask;\n\n        beginPhase('$digest');\n        // Check for changes to browser url that happened in sync before the call to $digest\n        $browser.$$checkUrlChange();\n\n        if (this === $rootScope && applyAsyncId !== null) {\n          // If this is the root scope, and $applyAsync has scheduled a deferred $apply(), then\n          // cancel the scheduled $apply and flush the queue of expressions to be evaluated.\n          $browser.defer.cancel(applyAsyncId);\n          flushApplyAsync();\n        }\n\n        lastDirtyWatch = null;\n\n        do { // \"while dirty\" loop\n          dirty = false;\n          current = target;\n\n          while (asyncQueue.length) {\n            try {\n              asyncTask = asyncQueue.shift();\n              asyncTask.scope.$eval(asyncTask.expression, asyncTask.locals);\n            } catch (e) {\n              $exceptionHandler(e);\n            }\n            lastDirtyWatch = null;\n          }\n\n          traverseScopesLoop:\n          do { // \"traverse the scopes\" loop\n            if ((watchers = current.$$watchers)) {\n              // process our watches\n              length = watchers.length;\n              while (length--) {\n                try {\n                  watch = watchers[length];\n                  // Most common watches are on primitives, in which case we can short\n                  // circuit it with === operator, only when === fails do we use .equals\n                  if (watch) {\n                    if ((value = watch.get(current)) !== (last = watch.last) &&\n                        !(watch.eq\n                            ? equals(value, last)\n                            : (typeof value === 'number' && typeof last === 'number'\n                               && isNaN(value) && isNaN(last)))) {\n                      dirty = true;\n                      lastDirtyWatch = watch;\n                      watch.last = watch.eq ? copy(value, null) : value;\n                      watch.fn(value, ((last === initWatchVal) ? value : last), current);\n                      if (ttl < 5) {\n                        logIdx = 4 - ttl;\n                        if (!watchLog[logIdx]) watchLog[logIdx] = [];\n                        watchLog[logIdx].push({\n                          msg: isFunction(watch.exp) ? 'fn: ' + (watch.exp.name || watch.exp.toString()) : watch.exp,\n                          newVal: value,\n                          oldVal: last\n                        });\n                      }\n                    } else if (watch === lastDirtyWatch) {\n                      // If the most recently dirty watcher is now clean, short circuit since the remaining watchers\n                      // have already been tested.\n                      dirty = false;\n                      break traverseScopesLoop;\n                    }\n                  }\n                } catch (e) {\n                  $exceptionHandler(e);\n                }\n              }\n            }\n\n            // Insanity Warning: scope depth-first traversal\n            // yes, this code is a bit crazy, but it works and we have tests to prove it!\n            // this piece should be kept in sync with the traversal in $broadcast\n            if (!(next = ((current.$$watchersCount && current.$$childHead) ||\n                (current !== target && current.$$nextSibling)))) {\n              while (current !== target && !(next = current.$$nextSibling)) {\n                current = current.$parent;\n              }\n            }\n          } while ((current = next));\n\n          // `break traverseScopesLoop;` takes us to here\n\n          if ((dirty || asyncQueue.length) && !(ttl--)) {\n            clearPhase();\n            throw $rootScopeMinErr('infdig',\n                '{0} $digest() iterations reached. Aborting!\\n' +\n                'Watchers fired in the last 5 iterations: {1}',\n                TTL, watchLog);\n          }\n\n        } while (dirty || asyncQueue.length);\n\n        clearPhase();\n\n        while (postDigestQueue.length) {\n          try {\n            postDigestQueue.shift()();\n          } catch (e) {\n            $exceptionHandler(e);\n          }\n        }\n      },\n\n\n      /**\n       * @ngdoc event\n       * @name $rootScope.Scope#$destroy\n       * @eventType broadcast on scope being destroyed\n       *\n       * @description\n       * Broadcasted when a scope and its children are being destroyed.\n       *\n       * Note that, in AngularJS, there is also a `$destroy` jQuery event, which can be used to\n       * clean up DOM bindings before an element is removed from the DOM.\n       */\n\n      /**\n       * @ngdoc method\n       * @name $rootScope.Scope#$destroy\n       * @kind function\n       *\n       * @description\n       * Removes the current scope (and all of its children) from the parent scope. Removal implies\n       * that calls to {@link ng.$rootScope.Scope#$digest $digest()} will no longer\n       * propagate to the current scope and its children. Removal also implies that the current\n       * scope is eligible for garbage collection.\n       *\n       * The `$destroy()` is usually used by directives such as\n       * {@link ng.directive:ngRepeat ngRepeat} for managing the\n       * unrolling of the loop.\n       *\n       * Just before a scope is destroyed, a `$destroy` event is broadcasted on this scope.\n       * Application code can register a `$destroy` event handler that will give it a chance to\n       * perform any necessary cleanup.\n       *\n       * Note that, in AngularJS, there is also a `$destroy` jQuery event, which can be used to\n       * clean up DOM bindings before an element is removed from the DOM.\n       */\n      $destroy: function() {\n        // We can't destroy a scope that has been already destroyed.\n        if (this.$$destroyed) return;\n        var parent = this.$parent;\n\n        this.$broadcast('$destroy');\n        this.$$destroyed = true;\n\n        if (this === $rootScope) {\n          //Remove handlers attached to window when $rootScope is removed\n          $browser.$$applicationDestroyed();\n        }\n\n        incrementWatchersCount(this, -this.$$watchersCount);\n        for (var eventName in this.$$listenerCount) {\n          decrementListenerCount(this, this.$$listenerCount[eventName], eventName);\n        }\n\n        // sever all the references to parent scopes (after this cleanup, the current scope should\n        // not be retained by any of our references and should be eligible for garbage collection)\n        if (parent && parent.$$childHead == this) parent.$$childHead = this.$$nextSibling;\n        if (parent && parent.$$childTail == this) parent.$$childTail = this.$$prevSibling;\n        if (this.$$prevSibling) this.$$prevSibling.$$nextSibling = this.$$nextSibling;\n        if (this.$$nextSibling) this.$$nextSibling.$$prevSibling = this.$$prevSibling;\n\n        // Disable listeners, watchers and apply/digest methods\n        this.$destroy = this.$digest = this.$apply = this.$evalAsync = this.$applyAsync = noop;\n        this.$on = this.$watch = this.$watchGroup = function() { return noop; };\n        this.$$listeners = {};\n\n        // Disconnect the next sibling to prevent `cleanUpScope` destroying those too\n        this.$$nextSibling = null;\n        cleanUpScope(this);\n      },\n\n      /**\n       * @ngdoc method\n       * @name $rootScope.Scope#$eval\n       * @kind function\n       *\n       * @description\n       * Executes the `expression` on the current scope and returns the result. Any exceptions in\n       * the expression are propagated (uncaught). This is useful when evaluating Angular\n       * expressions.\n       *\n       * # Example\n       * ```js\n           var scope = ng.$rootScope.Scope();\n           scope.a = 1;\n           scope.b = 2;\n\n           expect(scope.$eval('a+b')).toEqual(3);\n           expect(scope.$eval(function(scope){ return scope.a + scope.b; })).toEqual(3);\n       * ```\n       *\n       * @param {(string|function())=} expression An angular expression to be executed.\n       *\n       *    - `string`: execute using the rules as defined in  {@link guide/expression expression}.\n       *    - `function(scope)`: execute the function with the current `scope` parameter.\n       *\n       * @param {(object)=} locals Local variables object, useful for overriding values in scope.\n       * @returns {*} The result of evaluating the expression.\n       */\n      $eval: function(expr, locals) {\n        return $parse(expr)(this, locals);\n      },\n\n      /**\n       * @ngdoc method\n       * @name $rootScope.Scope#$evalAsync\n       * @kind function\n       *\n       * @description\n       * Executes the expression on the current scope at a later point in time.\n       *\n       * The `$evalAsync` makes no guarantees as to when the `expression` will be executed, only\n       * that:\n       *\n       *   - it will execute after the function that scheduled the evaluation (preferably before DOM\n       *     rendering).\n       *   - at least one {@link ng.$rootScope.Scope#$digest $digest cycle} will be performed after\n       *     `expression` execution.\n       *\n       * Any exceptions from the execution of the expression are forwarded to the\n       * {@link ng.$exceptionHandler $exceptionHandler} service.\n       *\n       * __Note:__ if this function is called outside of a `$digest` cycle, a new `$digest` cycle\n       * will be scheduled. However, it is encouraged to always call code that changes the model\n       * from within an `$apply` call. That includes code evaluated via `$evalAsync`.\n       *\n       * @param {(string|function())=} expression An angular expression to be executed.\n       *\n       *    - `string`: execute using the rules as defined in {@link guide/expression expression}.\n       *    - `function(scope)`: execute the function with the current `scope` parameter.\n       *\n       * @param {(object)=} locals Local variables object, useful for overriding values in scope.\n       */\n      $evalAsync: function(expr, locals) {\n        // if we are outside of an $digest loop and this is the first time we are scheduling async\n        // task also schedule async auto-flush\n        if (!$rootScope.$$phase && !asyncQueue.length) {\n          $browser.defer(function() {\n            if (asyncQueue.length) {\n              $rootScope.$digest();\n            }\n          });\n        }\n\n        asyncQueue.push({scope: this, expression: expr, locals: locals});\n      },\n\n      $$postDigest: function(fn) {\n        postDigestQueue.push(fn);\n      },\n\n      /**\n       * @ngdoc method\n       * @name $rootScope.Scope#$apply\n       * @kind function\n       *\n       * @description\n       * `$apply()` is used to execute an expression in angular from outside of the angular\n       * framework. (For example from browser DOM events, setTimeout, XHR or third party libraries).\n       * Because we are calling into the angular framework we need to perform proper scope life\n       * cycle of {@link ng.$exceptionHandler exception handling},\n       * {@link ng.$rootScope.Scope#$digest executing watches}.\n       *\n       * ## Life cycle\n       *\n       * # Pseudo-Code of `$apply()`\n       * ```js\n           function $apply(expr) {\n             try {\n               return $eval(expr);\n             } catch (e) {\n               $exceptionHandler(e);\n             } finally {\n               $root.$digest();\n             }\n           }\n       * ```\n       *\n       *\n       * Scope's `$apply()` method transitions through the following stages:\n       *\n       * 1. The {@link guide/expression expression} is executed using the\n       *    {@link ng.$rootScope.Scope#$eval $eval()} method.\n       * 2. Any exceptions from the execution of the expression are forwarded to the\n       *    {@link ng.$exceptionHandler $exceptionHandler} service.\n       * 3. The {@link ng.$rootScope.Scope#$watch watch} listeners are fired immediately after the\n       *    expression was executed using the {@link ng.$rootScope.Scope#$digest $digest()} method.\n       *\n       *\n       * @param {(string|function())=} exp An angular expression to be executed.\n       *\n       *    - `string`: execute using the rules as defined in {@link guide/expression expression}.\n       *    - `function(scope)`: execute the function with current `scope` parameter.\n       *\n       * @returns {*} The result of evaluating the expression.\n       */\n      $apply: function(expr) {\n        try {\n          beginPhase('$apply');\n          try {\n            return this.$eval(expr);\n          } finally {\n            clearPhase();\n          }\n        } catch (e) {\n          $exceptionHandler(e);\n        } finally {\n          try {\n            $rootScope.$digest();\n          } catch (e) {\n            $exceptionHandler(e);\n            throw e;\n          }\n        }\n      },\n\n      /**\n       * @ngdoc method\n       * @name $rootScope.Scope#$applyAsync\n       * @kind function\n       *\n       * @description\n       * Schedule the invocation of $apply to occur at a later time. The actual time difference\n       * varies across browsers, but is typically around ~10 milliseconds.\n       *\n       * This can be used to queue up multiple expressions which need to be evaluated in the same\n       * digest.\n       *\n       * @param {(string|function())=} exp An angular expression to be executed.\n       *\n       *    - `string`: execute using the rules as defined in {@link guide/expression expression}.\n       *    - `function(scope)`: execute the function with current `scope` parameter.\n       */\n      $applyAsync: function(expr) {\n        var scope = this;\n        expr && applyAsyncQueue.push($applyAsyncExpression);\n        scheduleApplyAsync();\n\n        function $applyAsyncExpression() {\n          scope.$eval(expr);\n        }\n      },\n\n      /**\n       * @ngdoc method\n       * @name $rootScope.Scope#$on\n       * @kind function\n       *\n       * @description\n       * Listens on events of a given type. See {@link ng.$rootScope.Scope#$emit $emit} for\n       * discussion of event life cycle.\n       *\n       * The event listener function format is: `function(event, args...)`. The `event` object\n       * passed into the listener has the following attributes:\n       *\n       *   - `targetScope` - `{Scope}`: the scope on which the event was `$emit`-ed or\n       *     `$broadcast`-ed.\n       *   - `currentScope` - `{Scope}`: the scope that is currently handling the event. Once the\n       *     event propagates through the scope hierarchy, this property is set to null.\n       *   - `name` - `{string}`: name of the event.\n       *   - `stopPropagation` - `{function=}`: calling `stopPropagation` function will cancel\n       *     further event propagation (available only for events that were `$emit`-ed).\n       *   - `preventDefault` - `{function}`: calling `preventDefault` sets `defaultPrevented` flag\n       *     to true.\n       *   - `defaultPrevented` - `{boolean}`: true if `preventDefault` was called.\n       *\n       * @param {string} name Event name to listen on.\n       * @param {function(event, ...args)} listener Function to call when the event is emitted.\n       * @returns {function()} Returns a deregistration function for this listener.\n       */\n      $on: function(name, listener) {\n        var namedListeners = this.$$listeners[name];\n        if (!namedListeners) {\n          this.$$listeners[name] = namedListeners = [];\n        }\n        namedListeners.push(listener);\n\n        var current = this;\n        do {\n          if (!current.$$listenerCount[name]) {\n            current.$$listenerCount[name] = 0;\n          }\n          current.$$listenerCount[name]++;\n        } while ((current = current.$parent));\n\n        var self = this;\n        return function() {\n          var indexOfListener = namedListeners.indexOf(listener);\n          if (indexOfListener !== -1) {\n            namedListeners[indexOfListener] = null;\n            decrementListenerCount(self, 1, name);\n          }\n        };\n      },\n\n\n      /**\n       * @ngdoc method\n       * @name $rootScope.Scope#$emit\n       * @kind function\n       *\n       * @description\n       * Dispatches an event `name` upwards through the scope hierarchy notifying the\n       * registered {@link ng.$rootScope.Scope#$on} listeners.\n       *\n       * The event life cycle starts at the scope on which `$emit` was called. All\n       * {@link ng.$rootScope.Scope#$on listeners} listening for `name` event on this scope get\n       * notified. Afterwards, the event traverses upwards toward the root scope and calls all\n       * registered listeners along the way. The event will stop propagating if one of the listeners\n       * cancels it.\n       *\n       * Any exception emitted from the {@link ng.$rootScope.Scope#$on listeners} will be passed\n       * onto the {@link ng.$exceptionHandler $exceptionHandler} service.\n       *\n       * @param {string} name Event name to emit.\n       * @param {...*} args Optional one or more arguments which will be passed onto the event listeners.\n       * @return {Object} Event object (see {@link ng.$rootScope.Scope#$on}).\n       */\n      $emit: function(name, args) {\n        var empty = [],\n            namedListeners,\n            scope = this,\n            stopPropagation = false,\n            event = {\n              name: name,\n              targetScope: scope,\n              stopPropagation: function() {stopPropagation = true;},\n              preventDefault: function() {\n                event.defaultPrevented = true;\n              },\n              defaultPrevented: false\n            },\n            listenerArgs = concat([event], arguments, 1),\n            i, length;\n\n        do {\n          namedListeners = scope.$$listeners[name] || empty;\n          event.currentScope = scope;\n          for (i = 0, length = namedListeners.length; i < length; i++) {\n\n            // if listeners were deregistered, defragment the array\n            if (!namedListeners[i]) {\n              namedListeners.splice(i, 1);\n              i--;\n              length--;\n              continue;\n            }\n            try {\n              //allow all listeners attached to the current scope to run\n              namedListeners[i].apply(null, listenerArgs);\n            } catch (e) {\n              $exceptionHandler(e);\n            }\n          }\n          //if any listener on the current scope stops propagation, prevent bubbling\n          if (stopPropagation) {\n            event.currentScope = null;\n            return event;\n          }\n          //traverse upwards\n          scope = scope.$parent;\n        } while (scope);\n\n        event.currentScope = null;\n\n        return event;\n      },\n\n\n      /**\n       * @ngdoc method\n       * @name $rootScope.Scope#$broadcast\n       * @kind function\n       *\n       * @description\n       * Dispatches an event `name` downwards to all child scopes (and their children) notifying the\n       * registered {@link ng.$rootScope.Scope#$on} listeners.\n       *\n       * The event life cycle starts at the scope on which `$broadcast` was called. All\n       * {@link ng.$rootScope.Scope#$on listeners} listening for `name` event on this scope get\n       * notified. Afterwards, the event propagates to all direct and indirect scopes of the current\n       * scope and calls all registered listeners along the way. The event cannot be canceled.\n       *\n       * Any exception emitted from the {@link ng.$rootScope.Scope#$on listeners} will be passed\n       * onto the {@link ng.$exceptionHandler $exceptionHandler} service.\n       *\n       * @param {string} name Event name to broadcast.\n       * @param {...*} args Optional one or more arguments which will be passed onto the event listeners.\n       * @return {Object} Event object, see {@link ng.$rootScope.Scope#$on}\n       */\n      $broadcast: function(name, args) {\n        var target = this,\n            current = target,\n            next = target,\n            event = {\n              name: name,\n              targetScope: target,\n              preventDefault: function() {\n                event.defaultPrevented = true;\n              },\n              defaultPrevented: false\n            };\n\n        if (!target.$$listenerCount[name]) return event;\n\n        var listenerArgs = concat([event], arguments, 1),\n            listeners, i, length;\n\n        //down while you can, then up and next sibling or up and next sibling until back at root\n        while ((current = next)) {\n          event.currentScope = current;\n          listeners = current.$$listeners[name] || [];\n          for (i = 0, length = listeners.length; i < length; i++) {\n            // if listeners were deregistered, defragment the array\n            if (!listeners[i]) {\n              listeners.splice(i, 1);\n              i--;\n              length--;\n              continue;\n            }\n\n            try {\n              listeners[i].apply(null, listenerArgs);\n            } catch (e) {\n              $exceptionHandler(e);\n            }\n          }\n\n          // Insanity Warning: scope depth-first traversal\n          // yes, this code is a bit crazy, but it works and we have tests to prove it!\n          // this piece should be kept in sync with the traversal in $digest\n          // (though it differs due to having the extra check for $$listenerCount)\n          if (!(next = ((current.$$listenerCount[name] && current.$$childHead) ||\n              (current !== target && current.$$nextSibling)))) {\n            while (current !== target && !(next = current.$$nextSibling)) {\n              current = current.$parent;\n            }\n          }\n        }\n\n        event.currentScope = null;\n        return event;\n      }\n    };\n\n    var $rootScope = new Scope();\n\n    //The internal queues. Expose them on the $rootScope for debugging/testing purposes.\n    var asyncQueue = $rootScope.$$asyncQueue = [];\n    var postDigestQueue = $rootScope.$$postDigestQueue = [];\n    var applyAsyncQueue = $rootScope.$$applyAsyncQueue = [];\n\n    return $rootScope;\n\n\n    function beginPhase(phase) {\n      if ($rootScope.$$phase) {\n        throw $rootScopeMinErr('inprog', '{0} already in progress', $rootScope.$$phase);\n      }\n\n      $rootScope.$$phase = phase;\n    }\n\n    function clearPhase() {\n      $rootScope.$$phase = null;\n    }\n\n    function incrementWatchersCount(current, count) {\n      do {\n        current.$$watchersCount += count;\n      } while ((current = current.$parent));\n    }\n\n    function decrementListenerCount(current, count, name) {\n      do {\n        current.$$listenerCount[name] -= count;\n\n        if (current.$$listenerCount[name] === 0) {\n          delete current.$$listenerCount[name];\n        }\n      } while ((current = current.$parent));\n    }\n\n    /**\n     * function used as an initial value for watchers.\n     * because it's unique we can easily tell it apart from other values\n     */\n    function initWatchVal() {}\n\n    function flushApplyAsync() {\n      while (applyAsyncQueue.length) {\n        try {\n          applyAsyncQueue.shift()();\n        } catch (e) {\n          $exceptionHandler(e);\n        }\n      }\n      applyAsyncId = null;\n    }\n\n    function scheduleApplyAsync() {\n      if (applyAsyncId === null) {\n        applyAsyncId = $browser.defer(function() {\n          $rootScope.$apply(flushApplyAsync);\n        });\n      }\n    }\n  }];\n}\n\n/**\n * @description\n * Private service to sanitize uris for links and images. Used by $compile and $sanitize.\n */\nfunction $$SanitizeUriProvider() {\n  var aHrefSanitizationWhitelist = /^\\s*(https?|ftp|mailto|tel|file):/,\n    imgSrcSanitizationWhitelist = /^\\s*((https?|ftp|file|blob):|data:image\\/)/;\n\n  /**\n   * @description\n   * Retrieves or overrides the default regular expression that is used for whitelisting of safe\n   * urls during a[href] sanitization.\n   *\n   * The sanitization is a security measure aimed at prevent XSS attacks via html links.\n   *\n   * Any url about to be assigned to a[href] via data-binding is first normalized and turned into\n   * an absolute url. Afterwards, the url is matched against the `aHrefSanitizationWhitelist`\n   * regular expression. If a match is found, the original url is written into the dom. Otherwise,\n   * the absolute url is prefixed with `'unsafe:'` string and only then is it written into the DOM.\n   *\n   * @param {RegExp=} regexp New regexp to whitelist urls with.\n   * @returns {RegExp|ng.$compileProvider} Current RegExp if called without value or self for\n   *    chaining otherwise.\n   */\n  this.aHrefSanitizationWhitelist = function(regexp) {\n    if (isDefined(regexp)) {\n      aHrefSanitizationWhitelist = regexp;\n      return this;\n    }\n    return aHrefSanitizationWhitelist;\n  };\n\n\n  /**\n   * @description\n   * Retrieves or overrides the default regular expression that is used for whitelisting of safe\n   * urls during img[src] sanitization.\n   *\n   * The sanitization is a security measure aimed at prevent XSS attacks via html links.\n   *\n   * Any url about to be assigned to img[src] via data-binding is first normalized and turned into\n   * an absolute url. Afterwards, the url is matched against the `imgSrcSanitizationWhitelist`\n   * regular expression. If a match is found, the original url is written into the dom. Otherwise,\n   * the absolute url is prefixed with `'unsafe:'` string and only then is it written into the DOM.\n   *\n   * @param {RegExp=} regexp New regexp to whitelist urls with.\n   * @returns {RegExp|ng.$compileProvider} Current RegExp if called without value or self for\n   *    chaining otherwise.\n   */\n  this.imgSrcSanitizationWhitelist = function(regexp) {\n    if (isDefined(regexp)) {\n      imgSrcSanitizationWhitelist = regexp;\n      return this;\n    }\n    return imgSrcSanitizationWhitelist;\n  };\n\n  this.$get = function() {\n    return function sanitizeUri(uri, isImage) {\n      var regex = isImage ? imgSrcSanitizationWhitelist : aHrefSanitizationWhitelist;\n      var normalizedVal;\n      normalizedVal = urlResolve(uri).href;\n      if (normalizedVal !== '' && !normalizedVal.match(regex)) {\n        return 'unsafe:' + normalizedVal;\n      }\n      return uri;\n    };\n  };\n}\n\n/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n *     Any commits to this file should be reviewed with security in mind.  *\n *   Changes to this file can potentially create security vulnerabilities. *\n *          An approval from 2 Core members with history of modifying      *\n *                         this file is required.                          *\n *                                                                         *\n *  Does the change somehow allow for arbitrary javascript to be executed? *\n *    Or allows for someone to change the prototype of built-in objects?   *\n *     Or gives undesired access to variables likes document or window?    *\n * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */\n\nvar $sceMinErr = minErr('$sce');\n\nvar SCE_CONTEXTS = {\n  HTML: 'html',\n  CSS: 'css',\n  URL: 'url',\n  // RESOURCE_URL is a subtype of URL used in contexts where a privileged resource is sourced from a\n  // url.  (e.g. ng-include, script src, templateUrl)\n  RESOURCE_URL: 'resourceUrl',\n  JS: 'js'\n};\n\n// Helper functions follow.\n\nfunction adjustMatcher(matcher) {\n  if (matcher === 'self') {\n    return matcher;\n  } else if (isString(matcher)) {\n    // Strings match exactly except for 2 wildcards - '*' and '**'.\n    // '*' matches any character except those from the set ':/.?&'.\n    // '**' matches any character (like .* in a RegExp).\n    // More than 2 *'s raises an error as it's ill defined.\n    if (matcher.indexOf('***') > -1) {\n      throw $sceMinErr('iwcard',\n          'Illegal sequence *** in string matcher.  String: {0}', matcher);\n    }\n    matcher = escapeForRegexp(matcher).\n                  replace('\\\\*\\\\*', '.*').\n                  replace('\\\\*', '[^:/.?&;]*');\n    return new RegExp('^' + matcher + '$');\n  } else if (isRegExp(matcher)) {\n    // The only other type of matcher allowed is a Regexp.\n    // Match entire URL / disallow partial matches.\n    // Flags are reset (i.e. no global, ignoreCase or multiline)\n    return new RegExp('^' + matcher.source + '$');\n  } else {\n    throw $sceMinErr('imatcher',\n        'Matchers may only be \"self\", string patterns or RegExp objects');\n  }\n}\n\n\nfunction adjustMatchers(matchers) {\n  var adjustedMatchers = [];\n  if (isDefined(matchers)) {\n    forEach(matchers, function(matcher) {\n      adjustedMatchers.push(adjustMatcher(matcher));\n    });\n  }\n  return adjustedMatchers;\n}\n\n\n/**\n * @ngdoc service\n * @name $sceDelegate\n * @kind function\n *\n * @description\n *\n * `$sceDelegate` is a service that is used by the `$sce` service to provide {@link ng.$sce Strict\n * Contextual Escaping (SCE)} services to AngularJS.\n *\n * Typically, you would configure or override the {@link ng.$sceDelegate $sceDelegate} instead of\n * the `$sce` service to customize the way Strict Contextual Escaping works in AngularJS.  This is\n * because, while the `$sce` provides numerous shorthand methods, etc., you really only need to\n * override 3 core functions (`trustAs`, `getTrusted` and `valueOf`) to replace the way things\n * work because `$sce` delegates to `$sceDelegate` for these operations.\n *\n * Refer {@link ng.$sceDelegateProvider $sceDelegateProvider} to configure this service.\n *\n * The default instance of `$sceDelegate` should work out of the box with little pain.  While you\n * can override it completely to change the behavior of `$sce`, the common case would\n * involve configuring the {@link ng.$sceDelegateProvider $sceDelegateProvider} instead by setting\n * your own whitelists and blacklists for trusting URLs used for loading AngularJS resources such as\n * templates.  Refer {@link ng.$sceDelegateProvider#resourceUrlWhitelist\n * $sceDelegateProvider.resourceUrlWhitelist} and {@link\n * ng.$sceDelegateProvider#resourceUrlBlacklist $sceDelegateProvider.resourceUrlBlacklist}\n */\n\n/**\n * @ngdoc provider\n * @name $sceDelegateProvider\n * @description\n *\n * The `$sceDelegateProvider` provider allows developers to configure the {@link ng.$sceDelegate\n * $sceDelegate} service.  This allows one to get/set the whitelists and blacklists used to ensure\n * that the URLs used for sourcing Angular templates are safe.  Refer {@link\n * ng.$sceDelegateProvider#resourceUrlWhitelist $sceDelegateProvider.resourceUrlWhitelist} and\n * {@link ng.$sceDelegateProvider#resourceUrlBlacklist $sceDelegateProvider.resourceUrlBlacklist}\n *\n * For the general details about this service in Angular, read the main page for {@link ng.$sce\n * Strict Contextual Escaping (SCE)}.\n *\n * **Example**:  Consider the following case. <a name=\"example\"></a>\n *\n * - your app is hosted at url `http://myapp.example.com/`\n * - but some of your templates are hosted on other domains you control such as\n *   `http://srv01.assets.example.com/`,  `http://srv02.assets.example.com/`, etc.\n * - and you have an open redirect at `http://myapp.example.com/clickThru?...`.\n *\n * Here is what a secure configuration for this scenario might look like:\n *\n * ```\n *  angular.module('myApp', []).config(function($sceDelegateProvider) {\n *    $sceDelegateProvider.resourceUrlWhitelist([\n *      // Allow same origin resource loads.\n *      'self',\n *      // Allow loading from our assets domain.  Notice the difference between * and **.\n *      'http://srv*.assets.example.com/**'\n *    ]);\n *\n *    // The blacklist overrides the whitelist so the open redirect here is blocked.\n *    $sceDelegateProvider.resourceUrlBlacklist([\n *      'http://myapp.example.com/clickThru**'\n *    ]);\n *  });\n * ```\n */\n\nfunction $SceDelegateProvider() {\n  this.SCE_CONTEXTS = SCE_CONTEXTS;\n\n  // Resource URLs can also be trusted by policy.\n  var resourceUrlWhitelist = ['self'],\n      resourceUrlBlacklist = [];\n\n  /**\n   * @ngdoc method\n   * @name $sceDelegateProvider#resourceUrlWhitelist\n   * @kind function\n   *\n   * @param {Array=} whitelist When provided, replaces the resourceUrlWhitelist with the value\n   *     provided.  This must be an array or null.  A snapshot of this array is used so further\n   *     changes to the array are ignored.\n   *\n   *     Follow {@link ng.$sce#resourceUrlPatternItem this link} for a description of the items\n   *     allowed in this array.\n   *\n   *     Note: **an empty whitelist array will block all URLs**!\n   *\n   * @return {Array} the currently set whitelist array.\n   *\n   * The **default value** when no whitelist has been explicitly set is `['self']` allowing only\n   * same origin resource requests.\n   *\n   * @description\n   * Sets/Gets the whitelist of trusted resource URLs.\n   */\n  this.resourceUrlWhitelist = function(value) {\n    if (arguments.length) {\n      resourceUrlWhitelist = adjustMatchers(value);\n    }\n    return resourceUrlWhitelist;\n  };\n\n  /**\n   * @ngdoc method\n   * @name $sceDelegateProvider#resourceUrlBlacklist\n   * @kind function\n   *\n   * @param {Array=} blacklist When provided, replaces the resourceUrlBlacklist with the value\n   *     provided.  This must be an array or null.  A snapshot of this array is used so further\n   *     changes to the array are ignored.\n   *\n   *     Follow {@link ng.$sce#resourceUrlPatternItem this link} for a description of the items\n   *     allowed in this array.\n   *\n   *     The typical usage for the blacklist is to **block\n   *     [open redirects](http://cwe.mitre.org/data/definitions/601.html)** served by your domain as\n   *     these would otherwise be trusted but actually return content from the redirected domain.\n   *\n   *     Finally, **the blacklist overrides the whitelist** and has the final say.\n   *\n   * @return {Array} the currently set blacklist array.\n   *\n   * The **default value** when no whitelist has been explicitly set is the empty array (i.e. there\n   * is no blacklist.)\n   *\n   * @description\n   * Sets/Gets the blacklist of trusted resource URLs.\n   */\n\n  this.resourceUrlBlacklist = function(value) {\n    if (arguments.length) {\n      resourceUrlBlacklist = adjustMatchers(value);\n    }\n    return resourceUrlBlacklist;\n  };\n\n  this.$get = ['$injector', function($injector) {\n\n    var htmlSanitizer = function htmlSanitizer(html) {\n      throw $sceMinErr('unsafe', 'Attempting to use an unsafe value in a safe context.');\n    };\n\n    if ($injector.has('$sanitize')) {\n      htmlSanitizer = $injector.get('$sanitize');\n    }\n\n\n    function matchUrl(matcher, parsedUrl) {\n      if (matcher === 'self') {\n        return urlIsSameOrigin(parsedUrl);\n      } else {\n        // definitely a regex.  See adjustMatchers()\n        return !!matcher.exec(parsedUrl.href);\n      }\n    }\n\n    function isResourceUrlAllowedByPolicy(url) {\n      var parsedUrl = urlResolve(url.toString());\n      var i, n, allowed = false;\n      // Ensure that at least one item from the whitelist allows this url.\n      for (i = 0, n = resourceUrlWhitelist.length; i < n; i++) {\n        if (matchUrl(resourceUrlWhitelist[i], parsedUrl)) {\n          allowed = true;\n          break;\n        }\n      }\n      if (allowed) {\n        // Ensure that no item from the blacklist blocked this url.\n        for (i = 0, n = resourceUrlBlacklist.length; i < n; i++) {\n          if (matchUrl(resourceUrlBlacklist[i], parsedUrl)) {\n            allowed = false;\n            break;\n          }\n        }\n      }\n      return allowed;\n    }\n\n    function generateHolderType(Base) {\n      var holderType = function TrustedValueHolderType(trustedValue) {\n        this.$$unwrapTrustedValue = function() {\n          return trustedValue;\n        };\n      };\n      if (Base) {\n        holderType.prototype = new Base();\n      }\n      holderType.prototype.valueOf = function sceValueOf() {\n        return this.$$unwrapTrustedValue();\n      };\n      holderType.prototype.toString = function sceToString() {\n        return this.$$unwrapTrustedValue().toString();\n      };\n      return holderType;\n    }\n\n    var trustedValueHolderBase = generateHolderType(),\n        byType = {};\n\n    byType[SCE_CONTEXTS.HTML] = generateHolderType(trustedValueHolderBase);\n    byType[SCE_CONTEXTS.CSS] = generateHolderType(trustedValueHolderBase);\n    byType[SCE_CONTEXTS.URL] = generateHolderType(trustedValueHolderBase);\n    byType[SCE_CONTEXTS.JS] = generateHolderType(trustedValueHolderBase);\n    byType[SCE_CONTEXTS.RESOURCE_URL] = generateHolderType(byType[SCE_CONTEXTS.URL]);\n\n    /**\n     * @ngdoc method\n     * @name $sceDelegate#trustAs\n     *\n     * @description\n     * Returns an object that is trusted by angular for use in specified strict\n     * contextual escaping contexts (such as ng-bind-html, ng-include, any src\n     * attribute interpolation, any dom event binding attribute interpolation\n     * such as for onclick,  etc.) that uses the provided value.\n     * See {@link ng.$sce $sce} for enabling strict contextual escaping.\n     *\n     * @param {string} type The kind of context in which this value is safe for use.  e.g. url,\n     *   resourceUrl, html, js and css.\n     * @param {*} value The value that that should be considered trusted/safe.\n     * @returns {*} A value that can be used to stand in for the provided `value` in places\n     * where Angular expects a $sce.trustAs() return value.\n     */\n    function trustAs(type, trustedValue) {\n      var Constructor = (byType.hasOwnProperty(type) ? byType[type] : null);\n      if (!Constructor) {\n        throw $sceMinErr('icontext',\n            'Attempted to trust a value in invalid context. Context: {0}; Value: {1}',\n            type, trustedValue);\n      }\n      if (trustedValue === null || isUndefined(trustedValue) || trustedValue === '') {\n        return trustedValue;\n      }\n      // All the current contexts in SCE_CONTEXTS happen to be strings.  In order to avoid trusting\n      // mutable objects, we ensure here that the value passed in is actually a string.\n      if (typeof trustedValue !== 'string') {\n        throw $sceMinErr('itype',\n            'Attempted to trust a non-string value in a content requiring a string: Context: {0}',\n            type);\n      }\n      return new Constructor(trustedValue);\n    }\n\n    /**\n     * @ngdoc method\n     * @name $sceDelegate#valueOf\n     *\n     * @description\n     * If the passed parameter had been returned by a prior call to {@link ng.$sceDelegate#trustAs\n     * `$sceDelegate.trustAs`}, returns the value that had been passed to {@link\n     * ng.$sceDelegate#trustAs `$sceDelegate.trustAs`}.\n     *\n     * If the passed parameter is not a value that had been returned by {@link\n     * ng.$sceDelegate#trustAs `$sceDelegate.trustAs`}, returns it as-is.\n     *\n     * @param {*} value The result of a prior {@link ng.$sceDelegate#trustAs `$sceDelegate.trustAs`}\n     *      call or anything else.\n     * @returns {*} The `value` that was originally provided to {@link ng.$sceDelegate#trustAs\n     *     `$sceDelegate.trustAs`} if `value` is the result of such a call.  Otherwise, returns\n     *     `value` unchanged.\n     */\n    function valueOf(maybeTrusted) {\n      if (maybeTrusted instanceof trustedValueHolderBase) {\n        return maybeTrusted.$$unwrapTrustedValue();\n      } else {\n        return maybeTrusted;\n      }\n    }\n\n    /**\n     * @ngdoc method\n     * @name $sceDelegate#getTrusted\n     *\n     * @description\n     * Takes the result of a {@link ng.$sceDelegate#trustAs `$sceDelegate.trustAs`} call and\n     * returns the originally supplied value if the queried context type is a supertype of the\n     * created type.  If this condition isn't satisfied, throws an exception.\n     *\n     * @param {string} type The kind of context in which this value is to be used.\n     * @param {*} maybeTrusted The result of a prior {@link ng.$sceDelegate#trustAs\n     *     `$sceDelegate.trustAs`} call.\n     * @returns {*} The value the was originally provided to {@link ng.$sceDelegate#trustAs\n     *     `$sceDelegate.trustAs`} if valid in this context.  Otherwise, throws an exception.\n     */\n    function getTrusted(type, maybeTrusted) {\n      if (maybeTrusted === null || isUndefined(maybeTrusted) || maybeTrusted === '') {\n        return maybeTrusted;\n      }\n      var constructor = (byType.hasOwnProperty(type) ? byType[type] : null);\n      if (constructor && maybeTrusted instanceof constructor) {\n        return maybeTrusted.$$unwrapTrustedValue();\n      }\n      // If we get here, then we may only take one of two actions.\n      // 1. sanitize the value for the requested type, or\n      // 2. throw an exception.\n      if (type === SCE_CONTEXTS.RESOURCE_URL) {\n        if (isResourceUrlAllowedByPolicy(maybeTrusted)) {\n          return maybeTrusted;\n        } else {\n          throw $sceMinErr('insecurl',\n              'Blocked loading resource from url not allowed by $sceDelegate policy.  URL: {0}',\n              maybeTrusted.toString());\n        }\n      } else if (type === SCE_CONTEXTS.HTML) {\n        return htmlSanitizer(maybeTrusted);\n      }\n      throw $sceMinErr('unsafe', 'Attempting to use an unsafe value in a safe context.');\n    }\n\n    return { trustAs: trustAs,\n             getTrusted: getTrusted,\n             valueOf: valueOf };\n  }];\n}\n\n\n/**\n * @ngdoc provider\n * @name $sceProvider\n * @description\n *\n * The $sceProvider provider allows developers to configure the {@link ng.$sce $sce} service.\n * -   enable/disable Strict Contextual Escaping (SCE) in a module\n * -   override the default implementation with a custom delegate\n *\n * Read more about {@link ng.$sce Strict Contextual Escaping (SCE)}.\n */\n\n/* jshint maxlen: false*/\n\n/**\n * @ngdoc service\n * @name $sce\n * @kind function\n *\n * @description\n *\n * `$sce` is a service that provides Strict Contextual Escaping services to AngularJS.\n *\n * # Strict Contextual Escaping\n *\n * Strict Contextual Escaping (SCE) is a mode in which AngularJS requires bindings in certain\n * contexts to result in a value that is marked as safe to use for that context.  One example of\n * such a context is binding arbitrary html controlled by the user via `ng-bind-html`.  We refer\n * to these contexts as privileged or SCE contexts.\n *\n * As of version 1.2, Angular ships with SCE enabled by default.\n *\n * Note:  When enabled (the default), IE<11 in quirks mode is not supported.  In this mode, IE<11 allow\n * one to execute arbitrary javascript by the use of the expression() syntax.  Refer\n * <http://blogs.msdn.com/b/ie/archive/2008/10/16/ending-expressions.aspx> to learn more about them.\n * You can ensure your document is in standards mode and not quirks mode by adding `<!doctype html>`\n * to the top of your HTML document.\n *\n * SCE assists in writing code in way that (a) is secure by default and (b) makes auditing for\n * security vulnerabilities such as XSS, clickjacking, etc. a lot easier.\n *\n * Here's an example of a binding in a privileged context:\n *\n * ```\n * <input ng-model=\"userHtml\" aria-label=\"User input\">\n * <div ng-bind-html=\"userHtml\"></div>\n * ```\n *\n * Notice that `ng-bind-html` is bound to `userHtml` controlled by the user.  With SCE\n * disabled, this application allows the user to render arbitrary HTML into the DIV.\n * In a more realistic example, one may be rendering user comments, blog articles, etc. via\n * bindings.  (HTML is just one example of a context where rendering user controlled input creates\n * security vulnerabilities.)\n *\n * For the case of HTML, you might use a library, either on the client side, or on the server side,\n * to sanitize unsafe HTML before binding to the value and rendering it in the document.\n *\n * How would you ensure that every place that used these types of bindings was bound to a value that\n * was sanitized by your library (or returned as safe for rendering by your server?)  How can you\n * ensure that you didn't accidentally delete the line that sanitized the value, or renamed some\n * properties/fields and forgot to update the binding to the sanitized value?\n *\n * To be secure by default, you want to ensure that any such bindings are disallowed unless you can\n * determine that something explicitly says it's safe to use a value for binding in that\n * context.  You can then audit your code (a simple grep would do) to ensure that this is only done\n * for those values that you can easily tell are safe - because they were received from your server,\n * sanitized by your library, etc.  You can organize your codebase to help with this - perhaps\n * allowing only the files in a specific directory to do this.  Ensuring that the internal API\n * exposed by that code doesn't markup arbitrary values as safe then becomes a more manageable task.\n *\n * In the case of AngularJS' SCE service, one uses {@link ng.$sce#trustAs $sce.trustAs}\n * (and shorthand methods such as {@link ng.$sce#trustAsHtml $sce.trustAsHtml}, etc.) to\n * obtain values that will be accepted by SCE / privileged contexts.\n *\n *\n * ## How does it work?\n *\n * In privileged contexts, directives and code will bind to the result of {@link ng.$sce#getTrusted\n * $sce.getTrusted(context, value)} rather than to the value directly.  Directives use {@link\n * ng.$sce#parseAs $sce.parseAs} rather than `$parse` to watch attribute bindings, which performs the\n * {@link ng.$sce#getTrusted $sce.getTrusted} behind the scenes on non-constant literals.\n *\n * As an example, {@link ng.directive:ngBindHtml ngBindHtml} uses {@link\n * ng.$sce#parseAsHtml $sce.parseAsHtml(binding expression)}.  Here's the actual code (slightly\n * simplified):\n *\n * ```\n * var ngBindHtmlDirective = ['$sce', function($sce) {\n *   return function(scope, element, attr) {\n *     scope.$watch($sce.parseAsHtml(attr.ngBindHtml), function(value) {\n *       element.html(value || '');\n *     });\n *   };\n * }];\n * ```\n *\n * ## Impact on loading templates\n *\n * This applies both to the {@link ng.directive:ngInclude `ng-include`} directive as well as\n * `templateUrl`'s specified by {@link guide/directive directives}.\n *\n * By default, Angular only loads templates from the same domain and protocol as the application\n * document.  This is done by calling {@link ng.$sce#getTrustedResourceUrl\n * $sce.getTrustedResourceUrl} on the template URL.  To load templates from other domains and/or\n * protocols, you may either {@link ng.$sceDelegateProvider#resourceUrlWhitelist whitelist\n * them} or {@link ng.$sce#trustAsResourceUrl wrap it} into a trusted value.\n *\n * *Please note*:\n * The browser's\n * [Same Origin Policy](https://code.google.com/p/browsersec/wiki/Part2#Same-origin_policy_for_XMLHttpRequest)\n * and [Cross-Origin Resource Sharing (CORS)](http://www.w3.org/TR/cors/)\n * policy apply in addition to this and may further restrict whether the template is successfully\n * loaded.  This means that without the right CORS policy, loading templates from a different domain\n * won't work on all browsers.  Also, loading templates from `file://` URL does not work on some\n * browsers.\n *\n * ## This feels like too much overhead\n *\n * It's important to remember that SCE only applies to interpolation expressions.\n *\n * If your expressions are constant literals, they're automatically trusted and you don't need to\n * call `$sce.trustAs` on them (remember to include the `ngSanitize` module) (e.g.\n * `<div ng-bind-html=\"'<b>implicitly trusted</b>'\"></div>`) just works.\n *\n * Additionally, `a[href]` and `img[src]` automatically sanitize their URLs and do not pass them\n * through {@link ng.$sce#getTrusted $sce.getTrusted}.  SCE doesn't play a role here.\n *\n * The included {@link ng.$sceDelegate $sceDelegate} comes with sane defaults to allow you to load\n * templates in `ng-include` from your application's domain without having to even know about SCE.\n * It blocks loading templates from other domains or loading templates over http from an https\n * served document.  You can change these by setting your own custom {@link\n * ng.$sceDelegateProvider#resourceUrlWhitelist whitelists} and {@link\n * ng.$sceDelegateProvider#resourceUrlBlacklist blacklists} for matching such URLs.\n *\n * This significantly reduces the overhead.  It is far easier to pay the small overhead and have an\n * application that's secure and can be audited to verify that with much more ease than bolting\n * security onto an application later.\n *\n * <a name=\"contexts\"></a>\n * ## What trusted context types are supported?\n *\n * | Context             | Notes          |\n * |---------------------|----------------|\n * | `$sce.HTML`         | For HTML that's safe to source into the application.  The {@link ng.directive:ngBindHtml ngBindHtml} directive uses this context for bindings. If an unsafe value is encountered and the {@link ngSanitize $sanitize} module is present this will sanitize the value instead of throwing an error. |\n * | `$sce.CSS`          | For CSS that's safe to source into the application.  Currently unused.  Feel free to use it in your own directives. |\n * | `$sce.URL`          | For URLs that are safe to follow as links.  Currently unused (`<a href=` and `<img src=` sanitize their urls and don't constitute an SCE context. |\n * | `$sce.RESOURCE_URL` | For URLs that are not only safe to follow as links, but whose contents are also safe to include in your application.  Examples include `ng-include`, `src` / `ngSrc` bindings for tags other than `IMG` (e.g. `IFRAME`, `OBJECT`, etc.)  <br><br>Note that `$sce.RESOURCE_URL` makes a stronger statement about the URL than `$sce.URL` does and therefore contexts requiring values trusted for `$sce.RESOURCE_URL` can be used anywhere that values trusted for `$sce.URL` are required. |\n * | `$sce.JS`           | For JavaScript that is safe to execute in your application's context.  Currently unused.  Feel free to use it in your own directives. |\n *\n * ## Format of items in {@link ng.$sceDelegateProvider#resourceUrlWhitelist resourceUrlWhitelist}/{@link ng.$sceDelegateProvider#resourceUrlBlacklist Blacklist} <a name=\"resourceUrlPatternItem\"></a>\n *\n *  Each element in these arrays must be one of the following:\n *\n *  - **'self'**\n *    - The special **string**, `'self'`, can be used to match against all URLs of the **same\n *      domain** as the application document using the **same protocol**.\n *  - **String** (except the special value `'self'`)\n *    - The string is matched against the full *normalized / absolute URL* of the resource\n *      being tested (substring matches are not good enough.)\n *    - There are exactly **two wildcard sequences** - `*` and `**`.  All other characters\n *      match themselves.\n *    - `*`: matches zero or more occurrences of any character other than one of the following 6\n *      characters: '`:`', '`/`', '`.`', '`?`', '`&`' and '`;`'.  It's a useful wildcard for use\n *      in a whitelist.\n *    - `**`: matches zero or more occurrences of *any* character.  As such, it's not\n *      appropriate for use in a scheme, domain, etc. as it would match too much.  (e.g.\n *      http://**.example.com/ would match http://evil.com/?ignore=.example.com/ and that might\n *      not have been the intention.)  Its usage at the very end of the path is ok.  (e.g.\n *      http://foo.example.com/templates/**).\n *  - **RegExp** (*see caveat below*)\n *    - *Caveat*:  While regular expressions are powerful and offer great flexibility,  their syntax\n *      (and all the inevitable escaping) makes them *harder to maintain*.  It's easy to\n *      accidentally introduce a bug when one updates a complex expression (imho, all regexes should\n *      have good test coverage).  For instance, the use of `.` in the regex is correct only in a\n *      small number of cases.  A `.` character in the regex used when matching the scheme or a\n *      subdomain could be matched against a `:` or literal `.` that was likely not intended.   It\n *      is highly recommended to use the string patterns and only fall back to regular expressions\n *      as a last resort.\n *    - The regular expression must be an instance of RegExp (i.e. not a string.)  It is\n *      matched against the **entire** *normalized / absolute URL* of the resource being tested\n *      (even when the RegExp did not have the `^` and `$` codes.)  In addition, any flags\n *      present on the RegExp (such as multiline, global, ignoreCase) are ignored.\n *    - If you are generating your JavaScript from some other templating engine (not\n *      recommended, e.g. in issue [#4006](https://github.com/angular/angular.js/issues/4006)),\n *      remember to escape your regular expression (and be aware that you might need more than\n *      one level of escaping depending on your templating engine and the way you interpolated\n *      the value.)  Do make use of your platform's escaping mechanism as it might be good\n *      enough before coding your own.  E.g. Ruby has\n *      [Regexp.escape(str)](http://www.ruby-doc.org/core-2.0.0/Regexp.html#method-c-escape)\n *      and Python has [re.escape](http://docs.python.org/library/re.html#re.escape).\n *      Javascript lacks a similar built in function for escaping.  Take a look at Google\n *      Closure library's [goog.string.regExpEscape(s)](\n *      http://docs.closure-library.googlecode.com/git/closure_goog_string_string.js.source.html#line962).\n *\n * Refer {@link ng.$sceDelegateProvider $sceDelegateProvider} for an example.\n *\n * ## Show me an example using SCE.\n *\n * <example module=\"mySceApp\" deps=\"angular-sanitize.js\">\n * <file name=\"index.html\">\n *   <div ng-controller=\"AppController as myCtrl\">\n *     <i ng-bind-html=\"myCtrl.explicitlyTrustedHtml\" id=\"explicitlyTrustedHtml\"></i><br><br>\n *     <b>User comments</b><br>\n *     By default, HTML that isn't explicitly trusted (e.g. Alice's comment) is sanitized when\n *     $sanitize is available.  If $sanitize isn't available, this results in an error instead of an\n *     exploit.\n *     <div class=\"well\">\n *       <div ng-repeat=\"userComment in myCtrl.userComments\">\n *         <b>{{userComment.name}}</b>:\n *         <span ng-bind-html=\"userComment.htmlComment\" class=\"htmlComment\"></span>\n *         <br>\n *       </div>\n *     </div>\n *   </div>\n * </file>\n *\n * <file name=\"script.js\">\n *   angular.module('mySceApp', ['ngSanitize'])\n *     .controller('AppController', ['$http', '$templateCache', '$sce',\n *       function($http, $templateCache, $sce) {\n *         var self = this;\n *         $http.get(\"test_data.json\", {cache: $templateCache}).success(function(userComments) {\n *           self.userComments = userComments;\n *         });\n *         self.explicitlyTrustedHtml = $sce.trustAsHtml(\n *             '<span onmouseover=\"this.textContent=&quot;Explicitly trusted HTML bypasses ' +\n *             'sanitization.&quot;\">Hover over this text.</span>');\n *       }]);\n * </file>\n *\n * <file name=\"test_data.json\">\n * [\n *   { \"name\": \"Alice\",\n *     \"htmlComment\":\n *         \"<span onmouseover='this.textContent=\\\"PWN3D!\\\"'>Is <i>anyone</i> reading this?</span>\"\n *   },\n *   { \"name\": \"Bob\",\n *     \"htmlComment\": \"<i>Yes!</i>  Am I the only other one?\"\n *   }\n * ]\n * </file>\n *\n * <file name=\"protractor.js\" type=\"protractor\">\n *   describe('SCE doc demo', function() {\n *     it('should sanitize untrusted values', function() {\n *       expect(element.all(by.css('.htmlComment')).first().getInnerHtml())\n *           .toBe('<span>Is <i>anyone</i> reading this?</span>');\n *     });\n *\n *     it('should NOT sanitize explicitly trusted values', function() {\n *       expect(element(by.id('explicitlyTrustedHtml')).getInnerHtml()).toBe(\n *           '<span onmouseover=\"this.textContent=&quot;Explicitly trusted HTML bypasses ' +\n *           'sanitization.&quot;\">Hover over this text.</span>');\n *     });\n *   });\n * </file>\n * </example>\n *\n *\n *\n * ## Can I disable SCE completely?\n *\n * Yes, you can.  However, this is strongly discouraged.  SCE gives you a lot of security benefits\n * for little coding overhead.  It will be much harder to take an SCE disabled application and\n * either secure it on your own or enable SCE at a later stage.  It might make sense to disable SCE\n * for cases where you have a lot of existing code that was written before SCE was introduced and\n * you're migrating them a module at a time.\n *\n * That said, here's how you can completely disable SCE:\n *\n * ```\n * angular.module('myAppWithSceDisabledmyApp', []).config(function($sceProvider) {\n *   // Completely disable SCE.  For demonstration purposes only!\n *   // Do not use in new projects.\n *   $sceProvider.enabled(false);\n * });\n * ```\n *\n */\n/* jshint maxlen: 100 */\n\nfunction $SceProvider() {\n  var enabled = true;\n\n  /**\n   * @ngdoc method\n   * @name $sceProvider#enabled\n   * @kind function\n   *\n   * @param {boolean=} value If provided, then enables/disables SCE.\n   * @return {boolean} true if SCE is enabled, false otherwise.\n   *\n   * @description\n   * Enables/disables SCE and returns the current value.\n   */\n  this.enabled = function(value) {\n    if (arguments.length) {\n      enabled = !!value;\n    }\n    return enabled;\n  };\n\n\n  /* Design notes on the default implementation for SCE.\n   *\n   * The API contract for the SCE delegate\n   * -------------------------------------\n   * The SCE delegate object must provide the following 3 methods:\n   *\n   * - trustAs(contextEnum, value)\n   *     This method is used to tell the SCE service that the provided value is OK to use in the\n   *     contexts specified by contextEnum.  It must return an object that will be accepted by\n   *     getTrusted() for a compatible contextEnum and return this value.\n   *\n   * - valueOf(value)\n   *     For values that were not produced by trustAs(), return them as is.  For values that were\n   *     produced by trustAs(), return the corresponding input value to trustAs.  Basically, if\n   *     trustAs is wrapping the given values into some type, this operation unwraps it when given\n   *     such a value.\n   *\n   * - getTrusted(contextEnum, value)\n   *     This function should return the a value that is safe to use in the context specified by\n   *     contextEnum or throw and exception otherwise.\n   *\n   * NOTE: This contract deliberately does NOT state that values returned by trustAs() must be\n   * opaque or wrapped in some holder object.  That happens to be an implementation detail.  For\n   * instance, an implementation could maintain a registry of all trusted objects by context.  In\n   * such a case, trustAs() would return the same object that was passed in.  getTrusted() would\n   * return the same object passed in if it was found in the registry under a compatible context or\n   * throw an exception otherwise.  An implementation might only wrap values some of the time based\n   * on some criteria.  getTrusted() might return a value and not throw an exception for special\n   * constants or objects even if not wrapped.  All such implementations fulfill this contract.\n   *\n   *\n   * A note on the inheritance model for SCE contexts\n   * ------------------------------------------------\n   * I've used inheritance and made RESOURCE_URL wrapped types a subtype of URL wrapped types.  This\n   * is purely an implementation details.\n   *\n   * The contract is simply this:\n   *\n   *     getTrusted($sce.RESOURCE_URL, value) succeeding implies that getTrusted($sce.URL, value)\n   *     will also succeed.\n   *\n   * Inheritance happens to capture this in a natural way.  In some future, we\n   * may not use inheritance anymore.  That is OK because no code outside of\n   * sce.js and sceSpecs.js would need to be aware of this detail.\n   */\n\n  this.$get = ['$parse', '$sceDelegate', function(\n                $parse,   $sceDelegate) {\n    // Prereq: Ensure that we're not running in IE<11 quirks mode.  In that mode, IE < 11 allow\n    // the \"expression(javascript expression)\" syntax which is insecure.\n    if (enabled && msie < 8) {\n      throw $sceMinErr('iequirks',\n        'Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks ' +\n        'mode.  You can fix this by adding the text <!doctype html> to the top of your HTML ' +\n        'document.  See http://docs.angularjs.org/api/ng.$sce for more information.');\n    }\n\n    var sce = shallowCopy(SCE_CONTEXTS);\n\n    /**\n     * @ngdoc method\n     * @name $sce#isEnabled\n     * @kind function\n     *\n     * @return {Boolean} true if SCE is enabled, false otherwise.  If you want to set the value, you\n     * have to do it at module config time on {@link ng.$sceProvider $sceProvider}.\n     *\n     * @description\n     * Returns a boolean indicating if SCE is enabled.\n     */\n    sce.isEnabled = function() {\n      return enabled;\n    };\n    sce.trustAs = $sceDelegate.trustAs;\n    sce.getTrusted = $sceDelegate.getTrusted;\n    sce.valueOf = $sceDelegate.valueOf;\n\n    if (!enabled) {\n      sce.trustAs = sce.getTrusted = function(type, value) { return value; };\n      sce.valueOf = identity;\n    }\n\n    /**\n     * @ngdoc method\n     * @name $sce#parseAs\n     *\n     * @description\n     * Converts Angular {@link guide/expression expression} into a function.  This is like {@link\n     * ng.$parse $parse} and is identical when the expression is a literal constant.  Otherwise, it\n     * wraps the expression in a call to {@link ng.$sce#getTrusted $sce.getTrusted(*type*,\n     * *result*)}\n     *\n     * @param {string} type The kind of SCE context in which this result will be used.\n     * @param {string} expression String expression to compile.\n     * @returns {function(context, locals)} a function which represents the compiled expression:\n     *\n     *    * `context` – `{object}` – an object against which any expressions embedded in the strings\n     *      are evaluated against (typically a scope object).\n     *    * `locals` – `{object=}` – local variables context object, useful for overriding values in\n     *      `context`.\n     */\n    sce.parseAs = function sceParseAs(type, expr) {\n      var parsed = $parse(expr);\n      if (parsed.literal && parsed.constant) {\n        return parsed;\n      } else {\n        return $parse(expr, function(value) {\n          return sce.getTrusted(type, value);\n        });\n      }\n    };\n\n    /**\n     * @ngdoc method\n     * @name $sce#trustAs\n     *\n     * @description\n     * Delegates to {@link ng.$sceDelegate#trustAs `$sceDelegate.trustAs`}.  As such,\n     * returns an object that is trusted by angular for use in specified strict contextual\n     * escaping contexts (such as ng-bind-html, ng-include, any src attribute\n     * interpolation, any dom event binding attribute interpolation such as for onclick,  etc.)\n     * that uses the provided value.  See * {@link ng.$sce $sce} for enabling strict contextual\n     * escaping.\n     *\n     * @param {string} type The kind of context in which this value is safe for use.  e.g. url,\n     *   resourceUrl, html, js and css.\n     * @param {*} value The value that that should be considered trusted/safe.\n     * @returns {*} A value that can be used to stand in for the provided `value` in places\n     * where Angular expects a $sce.trustAs() return value.\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#trustAsHtml\n     *\n     * @description\n     * Shorthand method.  `$sce.trustAsHtml(value)` →\n     *     {@link ng.$sceDelegate#trustAs `$sceDelegate.trustAs($sce.HTML, value)`}\n     *\n     * @param {*} value The value to trustAs.\n     * @returns {*} An object that can be passed to {@link ng.$sce#getTrustedHtml\n     *     $sce.getTrustedHtml(value)} to obtain the original value.  (privileged directives\n     *     only accept expressions that are either literal constants or are the\n     *     return value of {@link ng.$sce#trustAs $sce.trustAs}.)\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#trustAsUrl\n     *\n     * @description\n     * Shorthand method.  `$sce.trustAsUrl(value)` →\n     *     {@link ng.$sceDelegate#trustAs `$sceDelegate.trustAs($sce.URL, value)`}\n     *\n     * @param {*} value The value to trustAs.\n     * @returns {*} An object that can be passed to {@link ng.$sce#getTrustedUrl\n     *     $sce.getTrustedUrl(value)} to obtain the original value.  (privileged directives\n     *     only accept expressions that are either literal constants or are the\n     *     return value of {@link ng.$sce#trustAs $sce.trustAs}.)\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#trustAsResourceUrl\n     *\n     * @description\n     * Shorthand method.  `$sce.trustAsResourceUrl(value)` →\n     *     {@link ng.$sceDelegate#trustAs `$sceDelegate.trustAs($sce.RESOURCE_URL, value)`}\n     *\n     * @param {*} value The value to trustAs.\n     * @returns {*} An object that can be passed to {@link ng.$sce#getTrustedResourceUrl\n     *     $sce.getTrustedResourceUrl(value)} to obtain the original value.  (privileged directives\n     *     only accept expressions that are either literal constants or are the return\n     *     value of {@link ng.$sce#trustAs $sce.trustAs}.)\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#trustAsJs\n     *\n     * @description\n     * Shorthand method.  `$sce.trustAsJs(value)` →\n     *     {@link ng.$sceDelegate#trustAs `$sceDelegate.trustAs($sce.JS, value)`}\n     *\n     * @param {*} value The value to trustAs.\n     * @returns {*} An object that can be passed to {@link ng.$sce#getTrustedJs\n     *     $sce.getTrustedJs(value)} to obtain the original value.  (privileged directives\n     *     only accept expressions that are either literal constants or are the\n     *     return value of {@link ng.$sce#trustAs $sce.trustAs}.)\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#getTrusted\n     *\n     * @description\n     * Delegates to {@link ng.$sceDelegate#getTrusted `$sceDelegate.getTrusted`}.  As such,\n     * takes the result of a {@link ng.$sce#trustAs `$sce.trustAs`}() call and returns the\n     * originally supplied value if the queried context type is a supertype of the created type.\n     * If this condition isn't satisfied, throws an exception.\n     *\n     * @param {string} type The kind of context in which this value is to be used.\n     * @param {*} maybeTrusted The result of a prior {@link ng.$sce#trustAs `$sce.trustAs`}\n     *                         call.\n     * @returns {*} The value the was originally provided to\n     *              {@link ng.$sce#trustAs `$sce.trustAs`} if valid in this context.\n     *              Otherwise, throws an exception.\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#getTrustedHtml\n     *\n     * @description\n     * Shorthand method.  `$sce.getTrustedHtml(value)` →\n     *     {@link ng.$sceDelegate#getTrusted `$sceDelegate.getTrusted($sce.HTML, value)`}\n     *\n     * @param {*} value The value to pass to `$sce.getTrusted`.\n     * @returns {*} The return value of `$sce.getTrusted($sce.HTML, value)`\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#getTrustedCss\n     *\n     * @description\n     * Shorthand method.  `$sce.getTrustedCss(value)` →\n     *     {@link ng.$sceDelegate#getTrusted `$sceDelegate.getTrusted($sce.CSS, value)`}\n     *\n     * @param {*} value The value to pass to `$sce.getTrusted`.\n     * @returns {*} The return value of `$sce.getTrusted($sce.CSS, value)`\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#getTrustedUrl\n     *\n     * @description\n     * Shorthand method.  `$sce.getTrustedUrl(value)` →\n     *     {@link ng.$sceDelegate#getTrusted `$sceDelegate.getTrusted($sce.URL, value)`}\n     *\n     * @param {*} value The value to pass to `$sce.getTrusted`.\n     * @returns {*} The return value of `$sce.getTrusted($sce.URL, value)`\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#getTrustedResourceUrl\n     *\n     * @description\n     * Shorthand method.  `$sce.getTrustedResourceUrl(value)` →\n     *     {@link ng.$sceDelegate#getTrusted `$sceDelegate.getTrusted($sce.RESOURCE_URL, value)`}\n     *\n     * @param {*} value The value to pass to `$sceDelegate.getTrusted`.\n     * @returns {*} The return value of `$sce.getTrusted($sce.RESOURCE_URL, value)`\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#getTrustedJs\n     *\n     * @description\n     * Shorthand method.  `$sce.getTrustedJs(value)` →\n     *     {@link ng.$sceDelegate#getTrusted `$sceDelegate.getTrusted($sce.JS, value)`}\n     *\n     * @param {*} value The value to pass to `$sce.getTrusted`.\n     * @returns {*} The return value of `$sce.getTrusted($sce.JS, value)`\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#parseAsHtml\n     *\n     * @description\n     * Shorthand method.  `$sce.parseAsHtml(expression string)` →\n     *     {@link ng.$sce#parseAs `$sce.parseAs($sce.HTML, value)`}\n     *\n     * @param {string} expression String expression to compile.\n     * @returns {function(context, locals)} a function which represents the compiled expression:\n     *\n     *    * `context` – `{object}` – an object against which any expressions embedded in the strings\n     *      are evaluated against (typically a scope object).\n     *    * `locals` – `{object=}` – local variables context object, useful for overriding values in\n     *      `context`.\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#parseAsCss\n     *\n     * @description\n     * Shorthand method.  `$sce.parseAsCss(value)` →\n     *     {@link ng.$sce#parseAs `$sce.parseAs($sce.CSS, value)`}\n     *\n     * @param {string} expression String expression to compile.\n     * @returns {function(context, locals)} a function which represents the compiled expression:\n     *\n     *    * `context` – `{object}` – an object against which any expressions embedded in the strings\n     *      are evaluated against (typically a scope object).\n     *    * `locals` – `{object=}` – local variables context object, useful for overriding values in\n     *      `context`.\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#parseAsUrl\n     *\n     * @description\n     * Shorthand method.  `$sce.parseAsUrl(value)` →\n     *     {@link ng.$sce#parseAs `$sce.parseAs($sce.URL, value)`}\n     *\n     * @param {string} expression String expression to compile.\n     * @returns {function(context, locals)} a function which represents the compiled expression:\n     *\n     *    * `context` – `{object}` – an object against which any expressions embedded in the strings\n     *      are evaluated against (typically a scope object).\n     *    * `locals` – `{object=}` – local variables context object, useful for overriding values in\n     *      `context`.\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#parseAsResourceUrl\n     *\n     * @description\n     * Shorthand method.  `$sce.parseAsResourceUrl(value)` →\n     *     {@link ng.$sce#parseAs `$sce.parseAs($sce.RESOURCE_URL, value)`}\n     *\n     * @param {string} expression String expression to compile.\n     * @returns {function(context, locals)} a function which represents the compiled expression:\n     *\n     *    * `context` – `{object}` – an object against which any expressions embedded in the strings\n     *      are evaluated against (typically a scope object).\n     *    * `locals` – `{object=}` – local variables context object, useful for overriding values in\n     *      `context`.\n     */\n\n    /**\n     * @ngdoc method\n     * @name $sce#parseAsJs\n     *\n     * @description\n     * Shorthand method.  `$sce.parseAsJs(value)` →\n     *     {@link ng.$sce#parseAs `$sce.parseAs($sce.JS, value)`}\n     *\n     * @param {string} expression String expression to compile.\n     * @returns {function(context, locals)} a function which represents the compiled expression:\n     *\n     *    * `context` – `{object}` – an object against which any expressions embedded in the strings\n     *      are evaluated against (typically a scope object).\n     *    * `locals` – `{object=}` – local variables context object, useful for overriding values in\n     *      `context`.\n     */\n\n    // Shorthand delegations.\n    var parse = sce.parseAs,\n        getTrusted = sce.getTrusted,\n        trustAs = sce.trustAs;\n\n    forEach(SCE_CONTEXTS, function(enumValue, name) {\n      var lName = lowercase(name);\n      sce[camelCase(\"parse_as_\" + lName)] = function(expr) {\n        return parse(enumValue, expr);\n      };\n      sce[camelCase(\"get_trusted_\" + lName)] = function(value) {\n        return getTrusted(enumValue, value);\n      };\n      sce[camelCase(\"trust_as_\" + lName)] = function(value) {\n        return trustAs(enumValue, value);\n      };\n    });\n\n    return sce;\n  }];\n}\n\n/**\n * !!! This is an undocumented \"private\" service !!!\n *\n * @name $sniffer\n * @requires $window\n * @requires $document\n *\n * @property {boolean} history Does the browser support html5 history api ?\n * @property {boolean} transitions Does the browser support CSS transition events ?\n * @property {boolean} animations Does the browser support CSS animation events ?\n *\n * @description\n * This is very simple implementation of testing browser's features.\n */\nfunction $SnifferProvider() {\n  this.$get = ['$window', '$document', function($window, $document) {\n    var eventSupport = {},\n        android =\n          toInt((/android (\\d+)/.exec(lowercase(($window.navigator || {}).userAgent)) || [])[1]),\n        boxee = /Boxee/i.test(($window.navigator || {}).userAgent),\n        document = $document[0] || {},\n        vendorPrefix,\n        vendorRegex = /^(Moz|webkit|ms)(?=[A-Z])/,\n        bodyStyle = document.body && document.body.style,\n        transitions = false,\n        animations = false,\n        match;\n\n    if (bodyStyle) {\n      for (var prop in bodyStyle) {\n        if (match = vendorRegex.exec(prop)) {\n          vendorPrefix = match[0];\n          vendorPrefix = vendorPrefix.substr(0, 1).toUpperCase() + vendorPrefix.substr(1);\n          break;\n        }\n      }\n\n      if (!vendorPrefix) {\n        vendorPrefix = ('WebkitOpacity' in bodyStyle) && 'webkit';\n      }\n\n      transitions = !!(('transition' in bodyStyle) || (vendorPrefix + 'Transition' in bodyStyle));\n      animations  = !!(('animation' in bodyStyle) || (vendorPrefix + 'Animation' in bodyStyle));\n\n      if (android && (!transitions ||  !animations)) {\n        transitions = isString(bodyStyle.webkitTransition);\n        animations = isString(bodyStyle.webkitAnimation);\n      }\n    }\n\n\n    return {\n      // Android has history.pushState, but it does not update location correctly\n      // so let's not use the history API at all.\n      // http://code.google.com/p/android/issues/detail?id=17471\n      // https://github.com/angular/angular.js/issues/904\n\n      // older webkit browser (533.9) on Boxee box has exactly the same problem as Android has\n      // so let's not use the history API also\n      // We are purposefully using `!(android < 4)` to cover the case when `android` is undefined\n      // jshint -W018\n      history: !!($window.history && $window.history.pushState && !(android < 4) && !boxee),\n      // jshint +W018\n      hasEvent: function(event) {\n        // IE9 implements 'input' event it's so fubared that we rather pretend that it doesn't have\n        // it. In particular the event is not fired when backspace or delete key are pressed or\n        // when cut operation is performed.\n        // IE10+ implements 'input' event but it erroneously fires under various situations,\n        // e.g. when placeholder changes, or a form is focused.\n        if (event === 'input' && msie <= 11) return false;\n\n        if (isUndefined(eventSupport[event])) {\n          var divElm = document.createElement('div');\n          eventSupport[event] = 'on' + event in divElm;\n        }\n\n        return eventSupport[event];\n      },\n      csp: csp(),\n      vendorPrefix: vendorPrefix,\n      transitions: transitions,\n      animations: animations,\n      android: android\n    };\n  }];\n}\n\nvar $compileMinErr = minErr('$compile');\n\n/**\n * @ngdoc service\n * @name $templateRequest\n *\n * @description\n * The `$templateRequest` service runs security checks then downloads the provided template using\n * `$http` and, upon success, stores the contents inside of `$templateCache`. If the HTTP request\n * fails or the response data of the HTTP request is empty, a `$compile` error will be thrown (the\n * exception can be thwarted by setting the 2nd parameter of the function to true). Note that the\n * contents of `$templateCache` are trusted, so the call to `$sce.getTrustedUrl(tpl)` is omitted\n * when `tpl` is of type string and `$templateCache` has the matching entry.\n *\n * @param {string|TrustedResourceUrl} tpl The HTTP request template URL\n * @param {boolean=} ignoreRequestError Whether or not to ignore the exception when the request fails or the template is empty\n *\n * @return {Promise} a promise for the HTTP response data of the given URL.\n *\n * @property {number} totalPendingRequests total amount of pending template requests being downloaded.\n */\nfunction $TemplateRequestProvider() {\n  this.$get = ['$templateCache', '$http', '$q', '$sce', function($templateCache, $http, $q, $sce) {\n    function handleRequestFn(tpl, ignoreRequestError) {\n      handleRequestFn.totalPendingRequests++;\n\n      // We consider the template cache holds only trusted templates, so\n      // there's no need to go through whitelisting again for keys that already\n      // are included in there. This also makes Angular accept any script\n      // directive, no matter its name. However, we still need to unwrap trusted\n      // types.\n      if (!isString(tpl) || !$templateCache.get(tpl)) {\n        tpl = $sce.getTrustedResourceUrl(tpl);\n      }\n\n      var transformResponse = $http.defaults && $http.defaults.transformResponse;\n\n      if (isArray(transformResponse)) {\n        transformResponse = transformResponse.filter(function(transformer) {\n          return transformer !== defaultHttpResponseTransform;\n        });\n      } else if (transformResponse === defaultHttpResponseTransform) {\n        transformResponse = null;\n      }\n\n      var httpOptions = {\n        cache: $templateCache,\n        transformResponse: transformResponse\n      };\n\n      return $http.get(tpl, httpOptions)\n        ['finally'](function() {\n          handleRequestFn.totalPendingRequests--;\n        })\n        .then(function(response) {\n          $templateCache.put(tpl, response.data);\n          return response.data;\n        }, handleError);\n\n      function handleError(resp) {\n        if (!ignoreRequestError) {\n          throw $compileMinErr('tpload', 'Failed to load template: {0} (HTTP status: {1} {2})',\n            tpl, resp.status, resp.statusText);\n        }\n        return $q.reject(resp);\n      }\n    }\n\n    handleRequestFn.totalPendingRequests = 0;\n\n    return handleRequestFn;\n  }];\n}\n\nfunction $$TestabilityProvider() {\n  this.$get = ['$rootScope', '$browser', '$location',\n       function($rootScope,   $browser,   $location) {\n\n    /**\n     * @name $testability\n     *\n     * @description\n     * The private $$testability service provides a collection of methods for use when debugging\n     * or by automated test and debugging tools.\n     */\n    var testability = {};\n\n    /**\n     * @name $$testability#findBindings\n     *\n     * @description\n     * Returns an array of elements that are bound (via ng-bind or {{}})\n     * to expressions matching the input.\n     *\n     * @param {Element} element The element root to search from.\n     * @param {string} expression The binding expression to match.\n     * @param {boolean} opt_exactMatch If true, only returns exact matches\n     *     for the expression. Filters and whitespace are ignored.\n     */\n    testability.findBindings = function(element, expression, opt_exactMatch) {\n      var bindings = element.getElementsByClassName('ng-binding');\n      var matches = [];\n      forEach(bindings, function(binding) {\n        var dataBinding = angular.element(binding).data('$binding');\n        if (dataBinding) {\n          forEach(dataBinding, function(bindingName) {\n            if (opt_exactMatch) {\n              var matcher = new RegExp('(^|\\\\s)' + escapeForRegexp(expression) + '(\\\\s|\\\\||$)');\n              if (matcher.test(bindingName)) {\n                matches.push(binding);\n              }\n            } else {\n              if (bindingName.indexOf(expression) != -1) {\n                matches.push(binding);\n              }\n            }\n          });\n        }\n      });\n      return matches;\n    };\n\n    /**\n     * @name $$testability#findModels\n     *\n     * @description\n     * Returns an array of elements that are two-way found via ng-model to\n     * expressions matching the input.\n     *\n     * @param {Element} element The element root to search from.\n     * @param {string} expression The model expression to match.\n     * @param {boolean} opt_exactMatch If true, only returns exact matches\n     *     for the expression.\n     */\n    testability.findModels = function(element, expression, opt_exactMatch) {\n      var prefixes = ['ng-', 'data-ng-', 'ng\\\\:'];\n      for (var p = 0; p < prefixes.length; ++p) {\n        var attributeEquals = opt_exactMatch ? '=' : '*=';\n        var selector = '[' + prefixes[p] + 'model' + attributeEquals + '\"' + expression + '\"]';\n        var elements = element.querySelectorAll(selector);\n        if (elements.length) {\n          return elements;\n        }\n      }\n    };\n\n    /**\n     * @name $$testability#getLocation\n     *\n     * @description\n     * Shortcut for getting the location in a browser agnostic way. Returns\n     *     the path, search, and hash. (e.g. /path?a=b#hash)\n     */\n    testability.getLocation = function() {\n      return $location.url();\n    };\n\n    /**\n     * @name $$testability#setLocation\n     *\n     * @description\n     * Shortcut for navigating to a location without doing a full page reload.\n     *\n     * @param {string} url The location url (path, search and hash,\n     *     e.g. /path?a=b#hash) to go to.\n     */\n    testability.setLocation = function(url) {\n      if (url !== $location.url()) {\n        $location.url(url);\n        $rootScope.$digest();\n      }\n    };\n\n    /**\n     * @name $$testability#whenStable\n     *\n     * @description\n     * Calls the callback when $timeout and $http requests are completed.\n     *\n     * @param {function} callback\n     */\n    testability.whenStable = function(callback) {\n      $browser.notifyWhenNoOutstandingRequests(callback);\n    };\n\n    return testability;\n  }];\n}\n\nfunction $TimeoutProvider() {\n  this.$get = ['$rootScope', '$browser', '$q', '$$q', '$exceptionHandler',\n       function($rootScope,   $browser,   $q,   $$q,   $exceptionHandler) {\n\n    var deferreds = {};\n\n\n     /**\n      * @ngdoc service\n      * @name $timeout\n      *\n      * @description\n      * Angular's wrapper for `window.setTimeout`. The `fn` function is wrapped into a try/catch\n      * block and delegates any exceptions to\n      * {@link ng.$exceptionHandler $exceptionHandler} service.\n      *\n      * The return value of calling `$timeout` is a promise, which will be resolved when\n      * the delay has passed and the timeout function, if provided, is executed.\n      *\n      * To cancel a timeout request, call `$timeout.cancel(promise)`.\n      *\n      * In tests you can use {@link ngMock.$timeout `$timeout.flush()`} to\n      * synchronously flush the queue of deferred functions.\n      *\n      * If you only want a promise that will be resolved after some specified delay\n      * then you can call `$timeout` without the `fn` function.\n      *\n      * @param {function()=} fn A function, whose execution should be delayed.\n      * @param {number=} [delay=0] Delay in milliseconds.\n      * @param {boolean=} [invokeApply=true] If set to `false` skips model dirty checking, otherwise\n      *   will invoke `fn` within the {@link ng.$rootScope.Scope#$apply $apply} block.\n      * @param {...*=} Pass additional parameters to the executed function.\n      * @returns {Promise} Promise that will be resolved when the timeout is reached. The value this\n      *   promise will be resolved with is the return value of the `fn` function.\n      *\n      */\n    function timeout(fn, delay, invokeApply) {\n      if (!isFunction(fn)) {\n        invokeApply = delay;\n        delay = fn;\n        fn = noop;\n      }\n\n      var args = sliceArgs(arguments, 3),\n          skipApply = (isDefined(invokeApply) && !invokeApply),\n          deferred = (skipApply ? $$q : $q).defer(),\n          promise = deferred.promise,\n          timeoutId;\n\n      timeoutId = $browser.defer(function() {\n        try {\n          deferred.resolve(fn.apply(null, args));\n        } catch (e) {\n          deferred.reject(e);\n          $exceptionHandler(e);\n        }\n        finally {\n          delete deferreds[promise.$$timeoutId];\n        }\n\n        if (!skipApply) $rootScope.$apply();\n      }, delay);\n\n      promise.$$timeoutId = timeoutId;\n      deferreds[timeoutId] = deferred;\n\n      return promise;\n    }\n\n\n     /**\n      * @ngdoc method\n      * @name $timeout#cancel\n      *\n      * @description\n      * Cancels a task associated with the `promise`. As a result of this, the promise will be\n      * resolved with a rejection.\n      *\n      * @param {Promise=} promise Promise returned by the `$timeout` function.\n      * @returns {boolean} Returns `true` if the task hasn't executed yet and was successfully\n      *   canceled.\n      */\n    timeout.cancel = function(promise) {\n      if (promise && promise.$$timeoutId in deferreds) {\n        deferreds[promise.$$timeoutId].reject('canceled');\n        delete deferreds[promise.$$timeoutId];\n        return $browser.defer.cancel(promise.$$timeoutId);\n      }\n      return false;\n    };\n\n    return timeout;\n  }];\n}\n\n// NOTE:  The usage of window and document instead of $window and $document here is\n// deliberate.  This service depends on the specific behavior of anchor nodes created by the\n// browser (resolving and parsing URLs) that is unlikely to be provided by mock objects and\n// cause us to break tests.  In addition, when the browser resolves a URL for XHR, it\n// doesn't know about mocked locations and resolves URLs to the real document - which is\n// exactly the behavior needed here.  There is little value is mocking these out for this\n// service.\nvar urlParsingNode = document.createElement(\"a\");\nvar originUrl = urlResolve(window.location.href);\n\n\n/**\n *\n * Implementation Notes for non-IE browsers\n * ----------------------------------------\n * Assigning a URL to the href property of an anchor DOM node, even one attached to the DOM,\n * results both in the normalizing and parsing of the URL.  Normalizing means that a relative\n * URL will be resolved into an absolute URL in the context of the application document.\n * Parsing means that the anchor node's host, hostname, protocol, port, pathname and related\n * properties are all populated to reflect the normalized URL.  This approach has wide\n * compatibility - Safari 1+, Mozilla 1+, Opera 7+,e etc.  See\n * http://www.aptana.com/reference/html/api/HTMLAnchorElement.html\n *\n * Implementation Notes for IE\n * ---------------------------\n * IE <= 10 normalizes the URL when assigned to the anchor node similar to the other\n * browsers.  However, the parsed components will not be set if the URL assigned did not specify\n * them.  (e.g. if you assign a.href = \"foo\", then a.protocol, a.host, etc. will be empty.)  We\n * work around that by performing the parsing in a 2nd step by taking a previously normalized\n * URL (e.g. by assigning to a.href) and assigning it a.href again.  This correctly populates the\n * properties such as protocol, hostname, port, etc.\n *\n * References:\n *   http://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement\n *   http://www.aptana.com/reference/html/api/HTMLAnchorElement.html\n *   http://url.spec.whatwg.org/#urlutils\n *   https://github.com/angular/angular.js/pull/2902\n *   http://james.padolsey.com/javascript/parsing-urls-with-the-dom/\n *\n * @kind function\n * @param {string} url The URL to be parsed.\n * @description Normalizes and parses a URL.\n * @returns {object} Returns the normalized URL as a dictionary.\n *\n *   | member name   | Description    |\n *   |---------------|----------------|\n *   | href          | A normalized version of the provided URL if it was not an absolute URL |\n *   | protocol      | The protocol including the trailing colon                              |\n *   | host          | The host and port (if the port is non-default) of the normalizedUrl    |\n *   | search        | The search params, minus the question mark                             |\n *   | hash          | The hash string, minus the hash symbol\n *   | hostname      | The hostname\n *   | port          | The port, without \":\"\n *   | pathname      | The pathname, beginning with \"/\"\n *\n */\nfunction urlResolve(url) {\n  var href = url;\n\n  if (msie) {\n    // Normalize before parse.  Refer Implementation Notes on why this is\n    // done in two steps on IE.\n    urlParsingNode.setAttribute(\"href\", href);\n    href = urlParsingNode.href;\n  }\n\n  urlParsingNode.setAttribute('href', href);\n\n  // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n  return {\n    href: urlParsingNode.href,\n    protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n    host: urlParsingNode.host,\n    search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n    hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n    hostname: urlParsingNode.hostname,\n    port: urlParsingNode.port,\n    pathname: (urlParsingNode.pathname.charAt(0) === '/')\n      ? urlParsingNode.pathname\n      : '/' + urlParsingNode.pathname\n  };\n}\n\n/**\n * Parse a request URL and determine whether this is a same-origin request as the application document.\n *\n * @param {string|object} requestUrl The url of the request as a string that will be resolved\n * or a parsed URL object.\n * @returns {boolean} Whether the request is for the same origin as the application document.\n */\nfunction urlIsSameOrigin(requestUrl) {\n  var parsed = (isString(requestUrl)) ? urlResolve(requestUrl) : requestUrl;\n  return (parsed.protocol === originUrl.protocol &&\n          parsed.host === originUrl.host);\n}\n\n/**\n * @ngdoc service\n * @name $window\n *\n * @description\n * A reference to the browser's `window` object. While `window`\n * is globally available in JavaScript, it causes testability problems, because\n * it is a global variable. In angular we always refer to it through the\n * `$window` service, so it may be overridden, removed or mocked for testing.\n *\n * Expressions, like the one defined for the `ngClick` directive in the example\n * below, are evaluated with respect to the current scope.  Therefore, there is\n * no risk of inadvertently coding in a dependency on a global value in such an\n * expression.\n *\n * @example\n   <example module=\"windowExample\">\n     <file name=\"index.html\">\n       <script>\n         angular.module('windowExample', [])\n           .controller('ExampleController', ['$scope', '$window', function($scope, $window) {\n             $scope.greeting = 'Hello, World!';\n             $scope.doGreeting = function(greeting) {\n               $window.alert(greeting);\n             };\n           }]);\n       </script>\n       <div ng-controller=\"ExampleController\">\n         <input type=\"text\" ng-model=\"greeting\" aria-label=\"greeting\" />\n         <button ng-click=\"doGreeting(greeting)\">ALERT</button>\n       </div>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n      it('should display the greeting in the input box', function() {\n       element(by.model('greeting')).sendKeys('Hello, E2E Tests');\n       // If we click the button it will block the test runner\n       // element(':button').click();\n      });\n     </file>\n   </example>\n */\nfunction $WindowProvider() {\n  this.$get = valueFn(window);\n}\n\n/**\n * @name $$cookieReader\n * @requires $document\n *\n * @description\n * This is a private service for reading cookies used by $http and ngCookies\n *\n * @return {Object} a key/value map of the current cookies\n */\nfunction $$CookieReader($document) {\n  var rawDocument = $document[0] || {};\n  var lastCookies = {};\n  var lastCookieString = '';\n\n  function safeDecodeURIComponent(str) {\n    try {\n      return decodeURIComponent(str);\n    } catch (e) {\n      return str;\n    }\n  }\n\n  return function() {\n    var cookieArray, cookie, i, index, name;\n    var currentCookieString = rawDocument.cookie || '';\n\n    if (currentCookieString !== lastCookieString) {\n      lastCookieString = currentCookieString;\n      cookieArray = lastCookieString.split('; ');\n      lastCookies = {};\n\n      for (i = 0; i < cookieArray.length; i++) {\n        cookie = cookieArray[i];\n        index = cookie.indexOf('=');\n        if (index > 0) { //ignore nameless cookies\n          name = safeDecodeURIComponent(cookie.substring(0, index));\n          // the first value that is seen for a cookie is the most\n          // specific one.  values for the same cookie name that\n          // follow are for less specific paths.\n          if (isUndefined(lastCookies[name])) {\n            lastCookies[name] = safeDecodeURIComponent(cookie.substring(index + 1));\n          }\n        }\n      }\n    }\n    return lastCookies;\n  };\n}\n\n$$CookieReader.$inject = ['$document'];\n\nfunction $$CookieReaderProvider() {\n  this.$get = $$CookieReader;\n}\n\n/* global currencyFilter: true,\n dateFilter: true,\n filterFilter: true,\n jsonFilter: true,\n limitToFilter: true,\n lowercaseFilter: true,\n numberFilter: true,\n orderByFilter: true,\n uppercaseFilter: true,\n */\n\n/**\n * @ngdoc provider\n * @name $filterProvider\n * @description\n *\n * Filters are just functions which transform input to an output. However filters need to be\n * Dependency Injected. To achieve this a filter definition consists of a factory function which is\n * annotated with dependencies and is responsible for creating a filter function.\n *\n * <div class=\"alert alert-warning\">\n * **Note:** Filter names must be valid angular {@link expression} identifiers, such as `uppercase` or `orderBy`.\n * Names with special characters, such as hyphens and dots, are not allowed. If you wish to namespace\n * your filters, then you can use capitalization (`myappSubsectionFilterx`) or underscores\n * (`myapp_subsection_filterx`).\n * </div>\n *\n * ```js\n *   // Filter registration\n *   function MyModule($provide, $filterProvider) {\n *     // create a service to demonstrate injection (not always needed)\n *     $provide.value('greet', function(name){\n *       return 'Hello ' + name + '!';\n *     });\n *\n *     // register a filter factory which uses the\n *     // greet service to demonstrate DI.\n *     $filterProvider.register('greet', function(greet){\n *       // return the filter function which uses the greet service\n *       // to generate salutation\n *       return function(text) {\n *         // filters need to be forgiving so check input validity\n *         return text && greet(text) || text;\n *       };\n *     });\n *   }\n * ```\n *\n * The filter function is registered with the `$injector` under the filter name suffix with\n * `Filter`.\n *\n * ```js\n *   it('should be the same instance', inject(\n *     function($filterProvider) {\n *       $filterProvider.register('reverse', function(){\n *         return ...;\n *       });\n *     },\n *     function($filter, reverseFilter) {\n *       expect($filter('reverse')).toBe(reverseFilter);\n *     });\n * ```\n *\n *\n * For more information about how angular filters work, and how to create your own filters, see\n * {@link guide/filter Filters} in the Angular Developer Guide.\n */\n\n/**\n * @ngdoc service\n * @name $filter\n * @kind function\n * @description\n * Filters are used for formatting data displayed to the user.\n *\n * The general syntax in templates is as follows:\n *\n *         {{ expression [| filter_name[:parameter_value] ... ] }}\n *\n * @param {String} name Name of the filter function to retrieve\n * @return {Function} the filter function\n * @example\n   <example name=\"$filter\" module=\"filterExample\">\n     <file name=\"index.html\">\n       <div ng-controller=\"MainCtrl\">\n        <h3>{{ originalText }}</h3>\n        <h3>{{ filteredText }}</h3>\n       </div>\n     </file>\n\n     <file name=\"script.js\">\n      angular.module('filterExample', [])\n      .controller('MainCtrl', function($scope, $filter) {\n        $scope.originalText = 'hello';\n        $scope.filteredText = $filter('uppercase')($scope.originalText);\n      });\n     </file>\n   </example>\n  */\n$FilterProvider.$inject = ['$provide'];\nfunction $FilterProvider($provide) {\n  var suffix = 'Filter';\n\n  /**\n   * @ngdoc method\n   * @name $filterProvider#register\n   * @param {string|Object} name Name of the filter function, or an object map of filters where\n   *    the keys are the filter names and the values are the filter factories.\n   *\n   *    <div class=\"alert alert-warning\">\n   *    **Note:** Filter names must be valid angular {@link expression} identifiers, such as `uppercase` or `orderBy`.\n   *    Names with special characters, such as hyphens and dots, are not allowed. If you wish to namespace\n   *    your filters, then you can use capitalization (`myappSubsectionFilterx`) or underscores\n   *    (`myapp_subsection_filterx`).\n   *    </div>\n    * @param {Function} factory If the first argument was a string, a factory function for the filter to be registered.\n   * @returns {Object} Registered filter instance, or if a map of filters was provided then a map\n   *    of the registered filter instances.\n   */\n  function register(name, factory) {\n    if (isObject(name)) {\n      var filters = {};\n      forEach(name, function(filter, key) {\n        filters[key] = register(key, filter);\n      });\n      return filters;\n    } else {\n      return $provide.factory(name + suffix, factory);\n    }\n  }\n  this.register = register;\n\n  this.$get = ['$injector', function($injector) {\n    return function(name) {\n      return $injector.get(name + suffix);\n    };\n  }];\n\n  ////////////////////////////////////////\n\n  /* global\n    currencyFilter: false,\n    dateFilter: false,\n    filterFilter: false,\n    jsonFilter: false,\n    limitToFilter: false,\n    lowercaseFilter: false,\n    numberFilter: false,\n    orderByFilter: false,\n    uppercaseFilter: false,\n  */\n\n  register('currency', currencyFilter);\n  register('date', dateFilter);\n  register('filter', filterFilter);\n  register('json', jsonFilter);\n  register('limitTo', limitToFilter);\n  register('lowercase', lowercaseFilter);\n  register('number', numberFilter);\n  register('orderBy', orderByFilter);\n  register('uppercase', uppercaseFilter);\n}\n\n/**\n * @ngdoc filter\n * @name filter\n * @kind function\n *\n * @description\n * Selects a subset of items from `array` and returns it as a new array.\n *\n * @param {Array} array The source array.\n * @param {string|Object|function()} expression The predicate to be used for selecting items from\n *   `array`.\n *\n *   Can be one of:\n *\n *   - `string`: The string is used for matching against the contents of the `array`. All strings or\n *     objects with string properties in `array` that match this string will be returned. This also\n *     applies to nested object properties.\n *     The predicate can be negated by prefixing the string with `!`.\n *\n *   - `Object`: A pattern object can be used to filter specific properties on objects contained\n *     by `array`. For example `{name:\"M\", phone:\"1\"}` predicate will return an array of items\n *     which have property `name` containing \"M\" and property `phone` containing \"1\". A special\n *     property name `$` can be used (as in `{$:\"text\"}`) to accept a match against any\n *     property of the object or its nested object properties. That's equivalent to the simple\n *     substring match with a `string` as described above. The predicate can be negated by prefixing\n *     the string with `!`.\n *     For example `{name: \"!M\"}` predicate will return an array of items which have property `name`\n *     not containing \"M\".\n *\n *     Note that a named property will match properties on the same level only, while the special\n *     `$` property will match properties on the same level or deeper. E.g. an array item like\n *     `{name: {first: 'John', last: 'Doe'}}` will **not** be matched by `{name: 'John'}`, but\n *     **will** be matched by `{$: 'John'}`.\n *\n *   - `function(value, index, array)`: A predicate function can be used to write arbitrary filters.\n *     The function is called for each element of the array, with the element, its index, and\n *     the entire array itself as arguments.\n *\n *     The final result is an array of those elements that the predicate returned true for.\n *\n * @param {function(actual, expected)|true|undefined} comparator Comparator which is used in\n *     determining if the expected value (from the filter expression) and actual value (from\n *     the object in the array) should be considered a match.\n *\n *   Can be one of:\n *\n *   - `function(actual, expected)`:\n *     The function will be given the object value and the predicate value to compare and\n *     should return true if both values should be considered equal.\n *\n *   - `true`: A shorthand for `function(actual, expected) { return angular.equals(actual, expected)}`.\n *     This is essentially strict comparison of expected and actual.\n *\n *   - `false|undefined`: A short hand for a function which will look for a substring match in case\n *     insensitive way.\n *\n *     Primitive values are converted to strings. Objects are not compared against primitives,\n *     unless they have a custom `toString` method (e.g. `Date` objects).\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n       <div ng-init=\"friends = [{name:'John', phone:'555-1276'},\n                                {name:'Mary', phone:'800-BIG-MARY'},\n                                {name:'Mike', phone:'555-4321'},\n                                {name:'Adam', phone:'555-5678'},\n                                {name:'Julie', phone:'555-8765'},\n                                {name:'Juliette', phone:'555-5678'}]\"></div>\n\n       <label>Search: <input ng-model=\"searchText\"></label>\n       <table id=\"searchTextResults\">\n         <tr><th>Name</th><th>Phone</th></tr>\n         <tr ng-repeat=\"friend in friends | filter:searchText\">\n           <td>{{friend.name}}</td>\n           <td>{{friend.phone}}</td>\n         </tr>\n       </table>\n       <hr>\n       <label>Any: <input ng-model=\"search.$\"></label> <br>\n       <label>Name only <input ng-model=\"search.name\"></label><br>\n       <label>Phone only <input ng-model=\"search.phone\"></label><br>\n       <label>Equality <input type=\"checkbox\" ng-model=\"strict\"></label><br>\n       <table id=\"searchObjResults\">\n         <tr><th>Name</th><th>Phone</th></tr>\n         <tr ng-repeat=\"friendObj in friends | filter:search:strict\">\n           <td>{{friendObj.name}}</td>\n           <td>{{friendObj.phone}}</td>\n         </tr>\n       </table>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       var expectFriendNames = function(expectedNames, key) {\n         element.all(by.repeater(key + ' in friends').column(key + '.name')).then(function(arr) {\n           arr.forEach(function(wd, i) {\n             expect(wd.getText()).toMatch(expectedNames[i]);\n           });\n         });\n       };\n\n       it('should search across all fields when filtering with a string', function() {\n         var searchText = element(by.model('searchText'));\n         searchText.clear();\n         searchText.sendKeys('m');\n         expectFriendNames(['Mary', 'Mike', 'Adam'], 'friend');\n\n         searchText.clear();\n         searchText.sendKeys('76');\n         expectFriendNames(['John', 'Julie'], 'friend');\n       });\n\n       it('should search in specific fields when filtering with a predicate object', function() {\n         var searchAny = element(by.model('search.$'));\n         searchAny.clear();\n         searchAny.sendKeys('i');\n         expectFriendNames(['Mary', 'Mike', 'Julie', 'Juliette'], 'friendObj');\n       });\n       it('should use a equal comparison when comparator is true', function() {\n         var searchName = element(by.model('search.name'));\n         var strict = element(by.model('strict'));\n         searchName.clear();\n         searchName.sendKeys('Julie');\n         strict.click();\n         expectFriendNames(['Julie'], 'friendObj');\n       });\n     </file>\n   </example>\n */\nfunction filterFilter() {\n  return function(array, expression, comparator) {\n    if (!isArrayLike(array)) {\n      if (array == null) {\n        return array;\n      } else {\n        throw minErr('filter')('notarray', 'Expected array but received: {0}', array);\n      }\n    }\n\n    var expressionType = getTypeForFilter(expression);\n    var predicateFn;\n    var matchAgainstAnyProp;\n\n    switch (expressionType) {\n      case 'function':\n        predicateFn = expression;\n        break;\n      case 'boolean':\n      case 'null':\n      case 'number':\n      case 'string':\n        matchAgainstAnyProp = true;\n        //jshint -W086\n      case 'object':\n        //jshint +W086\n        predicateFn = createPredicateFn(expression, comparator, matchAgainstAnyProp);\n        break;\n      default:\n        return array;\n    }\n\n    return Array.prototype.filter.call(array, predicateFn);\n  };\n}\n\n// Helper functions for `filterFilter`\nfunction createPredicateFn(expression, comparator, matchAgainstAnyProp) {\n  var shouldMatchPrimitives = isObject(expression) && ('$' in expression);\n  var predicateFn;\n\n  if (comparator === true) {\n    comparator = equals;\n  } else if (!isFunction(comparator)) {\n    comparator = function(actual, expected) {\n      if (isUndefined(actual)) {\n        // No substring matching against `undefined`\n        return false;\n      }\n      if ((actual === null) || (expected === null)) {\n        // No substring matching against `null`; only match against `null`\n        return actual === expected;\n      }\n      if (isObject(expected) || (isObject(actual) && !hasCustomToString(actual))) {\n        // Should not compare primitives against objects, unless they have custom `toString` method\n        return false;\n      }\n\n      actual = lowercase('' + actual);\n      expected = lowercase('' + expected);\n      return actual.indexOf(expected) !== -1;\n    };\n  }\n\n  predicateFn = function(item) {\n    if (shouldMatchPrimitives && !isObject(item)) {\n      return deepCompare(item, expression.$, comparator, false);\n    }\n    return deepCompare(item, expression, comparator, matchAgainstAnyProp);\n  };\n\n  return predicateFn;\n}\n\nfunction deepCompare(actual, expected, comparator, matchAgainstAnyProp, dontMatchWholeObject) {\n  var actualType = getTypeForFilter(actual);\n  var expectedType = getTypeForFilter(expected);\n\n  if ((expectedType === 'string') && (expected.charAt(0) === '!')) {\n    return !deepCompare(actual, expected.substring(1), comparator, matchAgainstAnyProp);\n  } else if (isArray(actual)) {\n    // In case `actual` is an array, consider it a match\n    // if ANY of it's items matches `expected`\n    return actual.some(function(item) {\n      return deepCompare(item, expected, comparator, matchAgainstAnyProp);\n    });\n  }\n\n  switch (actualType) {\n    case 'object':\n      var key;\n      if (matchAgainstAnyProp) {\n        for (key in actual) {\n          if ((key.charAt(0) !== '$') && deepCompare(actual[key], expected, comparator, true)) {\n            return true;\n          }\n        }\n        return dontMatchWholeObject ? false : deepCompare(actual, expected, comparator, false);\n      } else if (expectedType === 'object') {\n        for (key in expected) {\n          var expectedVal = expected[key];\n          if (isFunction(expectedVal) || isUndefined(expectedVal)) {\n            continue;\n          }\n\n          var matchAnyProperty = key === '$';\n          var actualVal = matchAnyProperty ? actual : actual[key];\n          if (!deepCompare(actualVal, expectedVal, comparator, matchAnyProperty, matchAnyProperty)) {\n            return false;\n          }\n        }\n        return true;\n      } else {\n        return comparator(actual, expected);\n      }\n      break;\n    case 'function':\n      return false;\n    default:\n      return comparator(actual, expected);\n  }\n}\n\n// Used for easily differentiating between `null` and actual `object`\nfunction getTypeForFilter(val) {\n  return (val === null) ? 'null' : typeof val;\n}\n\n/**\n * @ngdoc filter\n * @name currency\n * @kind function\n *\n * @description\n * Formats a number as a currency (ie $1,234.56). When no currency symbol is provided, default\n * symbol for current locale is used.\n *\n * @param {number} amount Input to filter.\n * @param {string=} symbol Currency symbol or identifier to be displayed.\n * @param {number=} fractionSize Number of decimal places to round the amount to, defaults to default max fraction size for current locale\n * @returns {string} Formatted number.\n *\n *\n * @example\n   <example module=\"currencyExample\">\n     <file name=\"index.html\">\n       <script>\n         angular.module('currencyExample', [])\n           .controller('ExampleController', ['$scope', function($scope) {\n             $scope.amount = 1234.56;\n           }]);\n       </script>\n       <div ng-controller=\"ExampleController\">\n         <input type=\"number\" ng-model=\"amount\" aria-label=\"amount\"> <br>\n         default currency symbol ($): <span id=\"currency-default\">{{amount | currency}}</span><br>\n         custom currency identifier (USD$): <span id=\"currency-custom\">{{amount | currency:\"USD$\"}}</span>\n         no fractions (0): <span id=\"currency-no-fractions\">{{amount | currency:\"USD$\":0}}</span>\n       </div>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       it('should init with 1234.56', function() {\n         expect(element(by.id('currency-default')).getText()).toBe('$1,234.56');\n         expect(element(by.id('currency-custom')).getText()).toBe('USD$1,234.56');\n         expect(element(by.id('currency-no-fractions')).getText()).toBe('USD$1,235');\n       });\n       it('should update', function() {\n         if (browser.params.browser == 'safari') {\n           // Safari does not understand the minus key. See\n           // https://github.com/angular/protractor/issues/481\n           return;\n         }\n         element(by.model('amount')).clear();\n         element(by.model('amount')).sendKeys('-1234');\n         expect(element(by.id('currency-default')).getText()).toBe('-$1,234.00');\n         expect(element(by.id('currency-custom')).getText()).toBe('-USD$1,234.00');\n         expect(element(by.id('currency-no-fractions')).getText()).toBe('-USD$1,234');\n       });\n     </file>\n   </example>\n */\ncurrencyFilter.$inject = ['$locale'];\nfunction currencyFilter($locale) {\n  var formats = $locale.NUMBER_FORMATS;\n  return function(amount, currencySymbol, fractionSize) {\n    if (isUndefined(currencySymbol)) {\n      currencySymbol = formats.CURRENCY_SYM;\n    }\n\n    if (isUndefined(fractionSize)) {\n      fractionSize = formats.PATTERNS[1].maxFrac;\n    }\n\n    // if null or undefined pass it through\n    return (amount == null)\n        ? amount\n        : formatNumber(amount, formats.PATTERNS[1], formats.GROUP_SEP, formats.DECIMAL_SEP, fractionSize).\n            replace(/\\u00A4/g, currencySymbol);\n  };\n}\n\n/**\n * @ngdoc filter\n * @name number\n * @kind function\n *\n * @description\n * Formats a number as text.\n *\n * If the input is null or undefined, it will just be returned.\n * If the input is infinite (Infinity/-Infinity) the Infinity symbol '∞' is returned.\n * If the input is not a number an empty string is returned.\n *\n *\n * @param {number|string} number Number to format.\n * @param {(number|string)=} fractionSize Number of decimal places to round the number to.\n * If this is not provided then the fraction size is computed from the current locale's number\n * formatting pattern. In the case of the default locale, it will be 3.\n * @returns {string} Number rounded to decimalPlaces and places a “,” after each third digit.\n *\n * @example\n   <example module=\"numberFilterExample\">\n     <file name=\"index.html\">\n       <script>\n         angular.module('numberFilterExample', [])\n           .controller('ExampleController', ['$scope', function($scope) {\n             $scope.val = 1234.56789;\n           }]);\n       </script>\n       <div ng-controller=\"ExampleController\">\n         <label>Enter number: <input ng-model='val'></label><br>\n         Default formatting: <span id='number-default'>{{val | number}}</span><br>\n         No fractions: <span>{{val | number:0}}</span><br>\n         Negative number: <span>{{-val | number:4}}</span>\n       </div>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       it('should format numbers', function() {\n         expect(element(by.id('number-default')).getText()).toBe('1,234.568');\n         expect(element(by.binding('val | number:0')).getText()).toBe('1,235');\n         expect(element(by.binding('-val | number:4')).getText()).toBe('-1,234.5679');\n       });\n\n       it('should update', function() {\n         element(by.model('val')).clear();\n         element(by.model('val')).sendKeys('3374.333');\n         expect(element(by.id('number-default')).getText()).toBe('3,374.333');\n         expect(element(by.binding('val | number:0')).getText()).toBe('3,374');\n         expect(element(by.binding('-val | number:4')).getText()).toBe('-3,374.3330');\n      });\n     </file>\n   </example>\n */\n\n\nnumberFilter.$inject = ['$locale'];\nfunction numberFilter($locale) {\n  var formats = $locale.NUMBER_FORMATS;\n  return function(number, fractionSize) {\n\n    // if null or undefined pass it through\n    return (number == null)\n        ? number\n        : formatNumber(number, formats.PATTERNS[0], formats.GROUP_SEP, formats.DECIMAL_SEP,\n                       fractionSize);\n  };\n}\n\nvar DECIMAL_SEP = '.';\nfunction formatNumber(number, pattern, groupSep, decimalSep, fractionSize) {\n  if (isObject(number)) return '';\n\n  var isNegative = number < 0;\n  number = Math.abs(number);\n\n  var isInfinity = number === Infinity;\n  if (!isInfinity && !isFinite(number)) return '';\n\n  var numStr = number + '',\n      formatedText = '',\n      hasExponent = false,\n      parts = [];\n\n  if (isInfinity) formatedText = '\\u221e';\n\n  if (!isInfinity && numStr.indexOf('e') !== -1) {\n    var match = numStr.match(/([\\d\\.]+)e(-?)(\\d+)/);\n    if (match && match[2] == '-' && match[3] > fractionSize + 1) {\n      number = 0;\n    } else {\n      formatedText = numStr;\n      hasExponent = true;\n    }\n  }\n\n  if (!isInfinity && !hasExponent) {\n    var fractionLen = (numStr.split(DECIMAL_SEP)[1] || '').length;\n\n    // determine fractionSize if it is not specified\n    if (isUndefined(fractionSize)) {\n      fractionSize = Math.min(Math.max(pattern.minFrac, fractionLen), pattern.maxFrac);\n    }\n\n    // safely round numbers in JS without hitting imprecisions of floating-point arithmetics\n    // inspired by:\n    // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/round\n    number = +(Math.round(+(number.toString() + 'e' + fractionSize)).toString() + 'e' + -fractionSize);\n\n    var fraction = ('' + number).split(DECIMAL_SEP);\n    var whole = fraction[0];\n    fraction = fraction[1] || '';\n\n    var i, pos = 0,\n        lgroup = pattern.lgSize,\n        group = pattern.gSize;\n\n    if (whole.length >= (lgroup + group)) {\n      pos = whole.length - lgroup;\n      for (i = 0; i < pos; i++) {\n        if ((pos - i) % group === 0 && i !== 0) {\n          formatedText += groupSep;\n        }\n        formatedText += whole.charAt(i);\n      }\n    }\n\n    for (i = pos; i < whole.length; i++) {\n      if ((whole.length - i) % lgroup === 0 && i !== 0) {\n        formatedText += groupSep;\n      }\n      formatedText += whole.charAt(i);\n    }\n\n    // format fraction part.\n    while (fraction.length < fractionSize) {\n      fraction += '0';\n    }\n\n    if (fractionSize && fractionSize !== \"0\") formatedText += decimalSep + fraction.substr(0, fractionSize);\n  } else {\n    if (fractionSize > 0 && number < 1) {\n      formatedText = number.toFixed(fractionSize);\n      number = parseFloat(formatedText);\n      formatedText = formatedText.replace(DECIMAL_SEP, decimalSep);\n    }\n  }\n\n  if (number === 0) {\n    isNegative = false;\n  }\n\n  parts.push(isNegative ? pattern.negPre : pattern.posPre,\n             formatedText,\n             isNegative ? pattern.negSuf : pattern.posSuf);\n  return parts.join('');\n}\n\nfunction padNumber(num, digits, trim) {\n  var neg = '';\n  if (num < 0) {\n    neg =  '-';\n    num = -num;\n  }\n  num = '' + num;\n  while (num.length < digits) num = '0' + num;\n  if (trim) {\n    num = num.substr(num.length - digits);\n  }\n  return neg + num;\n}\n\n\nfunction dateGetter(name, size, offset, trim) {\n  offset = offset || 0;\n  return function(date) {\n    var value = date['get' + name]();\n    if (offset > 0 || value > -offset) {\n      value += offset;\n    }\n    if (value === 0 && offset == -12) value = 12;\n    return padNumber(value, size, trim);\n  };\n}\n\nfunction dateStrGetter(name, shortForm) {\n  return function(date, formats) {\n    var value = date['get' + name]();\n    var get = uppercase(shortForm ? ('SHORT' + name) : name);\n\n    return formats[get][value];\n  };\n}\n\nfunction timeZoneGetter(date, formats, offset) {\n  var zone = -1 * offset;\n  var paddedZone = (zone >= 0) ? \"+\" : \"\";\n\n  paddedZone += padNumber(Math[zone > 0 ? 'floor' : 'ceil'](zone / 60), 2) +\n                padNumber(Math.abs(zone % 60), 2);\n\n  return paddedZone;\n}\n\nfunction getFirstThursdayOfYear(year) {\n    // 0 = index of January\n    var dayOfWeekOnFirst = (new Date(year, 0, 1)).getDay();\n    // 4 = index of Thursday (+1 to account for 1st = 5)\n    // 11 = index of *next* Thursday (+1 account for 1st = 12)\n    return new Date(year, 0, ((dayOfWeekOnFirst <= 4) ? 5 : 12) - dayOfWeekOnFirst);\n}\n\nfunction getThursdayThisWeek(datetime) {\n    return new Date(datetime.getFullYear(), datetime.getMonth(),\n      // 4 = index of Thursday\n      datetime.getDate() + (4 - datetime.getDay()));\n}\n\nfunction weekGetter(size) {\n   return function(date) {\n      var firstThurs = getFirstThursdayOfYear(date.getFullYear()),\n         thisThurs = getThursdayThisWeek(date);\n\n      var diff = +thisThurs - +firstThurs,\n         result = 1 + Math.round(diff / 6.048e8); // 6.048e8 ms per week\n\n      return padNumber(result, size);\n   };\n}\n\nfunction ampmGetter(date, formats) {\n  return date.getHours() < 12 ? formats.AMPMS[0] : formats.AMPMS[1];\n}\n\nfunction eraGetter(date, formats) {\n  return date.getFullYear() <= 0 ? formats.ERAS[0] : formats.ERAS[1];\n}\n\nfunction longEraGetter(date, formats) {\n  return date.getFullYear() <= 0 ? formats.ERANAMES[0] : formats.ERANAMES[1];\n}\n\nvar DATE_FORMATS = {\n  yyyy: dateGetter('FullYear', 4),\n    yy: dateGetter('FullYear', 2, 0, true),\n     y: dateGetter('FullYear', 1),\n  MMMM: dateStrGetter('Month'),\n   MMM: dateStrGetter('Month', true),\n    MM: dateGetter('Month', 2, 1),\n     M: dateGetter('Month', 1, 1),\n    dd: dateGetter('Date', 2),\n     d: dateGetter('Date', 1),\n    HH: dateGetter('Hours', 2),\n     H: dateGetter('Hours', 1),\n    hh: dateGetter('Hours', 2, -12),\n     h: dateGetter('Hours', 1, -12),\n    mm: dateGetter('Minutes', 2),\n     m: dateGetter('Minutes', 1),\n    ss: dateGetter('Seconds', 2),\n     s: dateGetter('Seconds', 1),\n     // while ISO 8601 requires fractions to be prefixed with `.` or `,`\n     // we can be just safely rely on using `sss` since we currently don't support single or two digit fractions\n   sss: dateGetter('Milliseconds', 3),\n  EEEE: dateStrGetter('Day'),\n   EEE: dateStrGetter('Day', true),\n     a: ampmGetter,\n     Z: timeZoneGetter,\n    ww: weekGetter(2),\n     w: weekGetter(1),\n     G: eraGetter,\n     GG: eraGetter,\n     GGG: eraGetter,\n     GGGG: longEraGetter\n};\n\nvar DATE_FORMATS_SPLIT = /((?:[^yMdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,\n    NUMBER_STRING = /^\\-?\\d+$/;\n\n/**\n * @ngdoc filter\n * @name date\n * @kind function\n *\n * @description\n *   Formats `date` to a string based on the requested `format`.\n *\n *   `format` string can be composed of the following elements:\n *\n *   * `'yyyy'`: 4 digit representation of year (e.g. AD 1 => 0001, AD 2010 => 2010)\n *   * `'yy'`: 2 digit representation of year, padded (00-99). (e.g. AD 2001 => 01, AD 2010 => 10)\n *   * `'y'`: 1 digit representation of year, e.g. (AD 1 => 1, AD 199 => 199)\n *   * `'MMMM'`: Month in year (January-December)\n *   * `'MMM'`: Month in year (Jan-Dec)\n *   * `'MM'`: Month in year, padded (01-12)\n *   * `'M'`: Month in year (1-12)\n *   * `'dd'`: Day in month, padded (01-31)\n *   * `'d'`: Day in month (1-31)\n *   * `'EEEE'`: Day in Week,(Sunday-Saturday)\n *   * `'EEE'`: Day in Week, (Sun-Sat)\n *   * `'HH'`: Hour in day, padded (00-23)\n *   * `'H'`: Hour in day (0-23)\n *   * `'hh'`: Hour in AM/PM, padded (01-12)\n *   * `'h'`: Hour in AM/PM, (1-12)\n *   * `'mm'`: Minute in hour, padded (00-59)\n *   * `'m'`: Minute in hour (0-59)\n *   * `'ss'`: Second in minute, padded (00-59)\n *   * `'s'`: Second in minute (0-59)\n *   * `'sss'`: Millisecond in second, padded (000-999)\n *   * `'a'`: AM/PM marker\n *   * `'Z'`: 4 digit (+sign) representation of the timezone offset (-1200-+1200)\n *   * `'ww'`: Week of year, padded (00-53). Week 01 is the week with the first Thursday of the year\n *   * `'w'`: Week of year (0-53). Week 1 is the week with the first Thursday of the year\n *   * `'G'`, `'GG'`, `'GGG'`: The abbreviated form of the era string (e.g. 'AD')\n *   * `'GGGG'`: The long form of the era string (e.g. 'Anno Domini')\n *\n *   `format` string can also be one of the following predefined\n *   {@link guide/i18n localizable formats}:\n *\n *   * `'medium'`: equivalent to `'MMM d, y h:mm:ss a'` for en_US locale\n *     (e.g. Sep 3, 2010 12:05:08 PM)\n *   * `'short'`: equivalent to `'M/d/yy h:mm a'` for en_US  locale (e.g. 9/3/10 12:05 PM)\n *   * `'fullDate'`: equivalent to `'EEEE, MMMM d, y'` for en_US  locale\n *     (e.g. Friday, September 3, 2010)\n *   * `'longDate'`: equivalent to `'MMMM d, y'` for en_US  locale (e.g. September 3, 2010)\n *   * `'mediumDate'`: equivalent to `'MMM d, y'` for en_US  locale (e.g. Sep 3, 2010)\n *   * `'shortDate'`: equivalent to `'M/d/yy'` for en_US locale (e.g. 9/3/10)\n *   * `'mediumTime'`: equivalent to `'h:mm:ss a'` for en_US locale (e.g. 12:05:08 PM)\n *   * `'shortTime'`: equivalent to `'h:mm a'` for en_US locale (e.g. 12:05 PM)\n *\n *   `format` string can contain literal values. These need to be escaped by surrounding with single quotes (e.g.\n *   `\"h 'in the morning'\"`). In order to output a single quote, escape it - i.e., two single quotes in a sequence\n *   (e.g. `\"h 'o''clock'\"`).\n *\n * @param {(Date|number|string)} date Date to format either as Date object, milliseconds (string or\n *    number) or various ISO 8601 datetime string formats (e.g. yyyy-MM-ddTHH:mm:ss.sssZ and its\n *    shorter versions like yyyy-MM-ddTHH:mmZ, yyyy-MM-dd or yyyyMMddTHHmmssZ). If no timezone is\n *    specified in the string input, the time is considered to be in the local timezone.\n * @param {string=} format Formatting rules (see Description). If not specified,\n *    `mediumDate` is used.\n * @param {string=} timezone Timezone to be used for formatting. It understands UTC/GMT and the\n *    continental US time zone abbreviations, but for general use, use a time zone offset, for\n *    example, `'+0430'` (4 hours, 30 minutes east of the Greenwich meridian)\n *    If not specified, the timezone of the browser will be used.\n * @returns {string} Formatted string or the input if input is not recognized as date/millis.\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n       <span ng-non-bindable>{{1288323623006 | date:'medium'}}</span>:\n           <span>{{1288323623006 | date:'medium'}}</span><br>\n       <span ng-non-bindable>{{1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'}}</span>:\n          <span>{{1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'}}</span><br>\n       <span ng-non-bindable>{{1288323623006 | date:'MM/dd/yyyy @ h:mma'}}</span>:\n          <span>{{'1288323623006' | date:'MM/dd/yyyy @ h:mma'}}</span><br>\n       <span ng-non-bindable>{{1288323623006 | date:\"MM/dd/yyyy 'at' h:mma\"}}</span>:\n          <span>{{'1288323623006' | date:\"MM/dd/yyyy 'at' h:mma\"}}</span><br>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       it('should format date', function() {\n         expect(element(by.binding(\"1288323623006 | date:'medium'\")).getText()).\n            toMatch(/Oct 2\\d, 2010 \\d{1,2}:\\d{2}:\\d{2} (AM|PM)/);\n         expect(element(by.binding(\"1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'\")).getText()).\n            toMatch(/2010\\-10\\-2\\d \\d{2}:\\d{2}:\\d{2} (\\-|\\+)?\\d{4}/);\n         expect(element(by.binding(\"'1288323623006' | date:'MM/dd/yyyy @ h:mma'\")).getText()).\n            toMatch(/10\\/2\\d\\/2010 @ \\d{1,2}:\\d{2}(AM|PM)/);\n         expect(element(by.binding(\"'1288323623006' | date:\\\"MM/dd/yyyy 'at' h:mma\\\"\")).getText()).\n            toMatch(/10\\/2\\d\\/2010 at \\d{1,2}:\\d{2}(AM|PM)/);\n       });\n     </file>\n   </example>\n */\ndateFilter.$inject = ['$locale'];\nfunction dateFilter($locale) {\n\n\n  var R_ISO8601_STR = /^(\\d{4})-?(\\d\\d)-?(\\d\\d)(?:T(\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:\\.(\\d+))?)?)?(Z|([+-])(\\d\\d):?(\\d\\d))?)?$/;\n                     // 1        2       3         4          5          6          7          8  9     10      11\n  function jsonStringToDate(string) {\n    var match;\n    if (match = string.match(R_ISO8601_STR)) {\n      var date = new Date(0),\n          tzHour = 0,\n          tzMin  = 0,\n          dateSetter = match[8] ? date.setUTCFullYear : date.setFullYear,\n          timeSetter = match[8] ? date.setUTCHours : date.setHours;\n\n      if (match[9]) {\n        tzHour = toInt(match[9] + match[10]);\n        tzMin = toInt(match[9] + match[11]);\n      }\n      dateSetter.call(date, toInt(match[1]), toInt(match[2]) - 1, toInt(match[3]));\n      var h = toInt(match[4] || 0) - tzHour;\n      var m = toInt(match[5] || 0) - tzMin;\n      var s = toInt(match[6] || 0);\n      var ms = Math.round(parseFloat('0.' + (match[7] || 0)) * 1000);\n      timeSetter.call(date, h, m, s, ms);\n      return date;\n    }\n    return string;\n  }\n\n\n  return function(date, format, timezone) {\n    var text = '',\n        parts = [],\n        fn, match;\n\n    format = format || 'mediumDate';\n    format = $locale.DATETIME_FORMATS[format] || format;\n    if (isString(date)) {\n      date = NUMBER_STRING.test(date) ? toInt(date) : jsonStringToDate(date);\n    }\n\n    if (isNumber(date)) {\n      date = new Date(date);\n    }\n\n    if (!isDate(date) || !isFinite(date.getTime())) {\n      return date;\n    }\n\n    while (format) {\n      match = DATE_FORMATS_SPLIT.exec(format);\n      if (match) {\n        parts = concat(parts, match, 1);\n        format = parts.pop();\n      } else {\n        parts.push(format);\n        format = null;\n      }\n    }\n\n    var dateTimezoneOffset = date.getTimezoneOffset();\n    if (timezone) {\n      dateTimezoneOffset = timezoneToOffset(timezone, date.getTimezoneOffset());\n      date = convertTimezoneToLocal(date, timezone, true);\n    }\n    forEach(parts, function(value) {\n      fn = DATE_FORMATS[value];\n      text += fn ? fn(date, $locale.DATETIME_FORMATS, dateTimezoneOffset)\n                 : value.replace(/(^'|'$)/g, '').replace(/''/g, \"'\");\n    });\n\n    return text;\n  };\n}\n\n\n/**\n * @ngdoc filter\n * @name json\n * @kind function\n *\n * @description\n *   Allows you to convert a JavaScript object into JSON string.\n *\n *   This filter is mostly useful for debugging. When using the double curly {{value}} notation\n *   the binding is automatically converted to JSON.\n *\n * @param {*} object Any JavaScript object (including arrays and primitive types) to filter.\n * @param {number=} spacing The number of spaces to use per indentation, defaults to 2.\n * @returns {string} JSON string.\n *\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n       <pre id=\"default-spacing\">{{ {'name':'value'} | json }}</pre>\n       <pre id=\"custom-spacing\">{{ {'name':'value'} | json:4 }}</pre>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       it('should jsonify filtered objects', function() {\n         expect(element(by.id('default-spacing')).getText()).toMatch(/\\{\\n  \"name\": ?\"value\"\\n}/);\n         expect(element(by.id('custom-spacing')).getText()).toMatch(/\\{\\n    \"name\": ?\"value\"\\n}/);\n       });\n     </file>\n   </example>\n *\n */\nfunction jsonFilter() {\n  return function(object, spacing) {\n    if (isUndefined(spacing)) {\n        spacing = 2;\n    }\n    return toJson(object, spacing);\n  };\n}\n\n\n/**\n * @ngdoc filter\n * @name lowercase\n * @kind function\n * @description\n * Converts string to lowercase.\n * @see angular.lowercase\n */\nvar lowercaseFilter = valueFn(lowercase);\n\n\n/**\n * @ngdoc filter\n * @name uppercase\n * @kind function\n * @description\n * Converts string to uppercase.\n * @see angular.uppercase\n */\nvar uppercaseFilter = valueFn(uppercase);\n\n/**\n * @ngdoc filter\n * @name limitTo\n * @kind function\n *\n * @description\n * Creates a new array or string containing only a specified number of elements. The elements\n * are taken from either the beginning or the end of the source array, string or number, as specified by\n * the value and sign (positive or negative) of `limit`. If a number is used as input, it is\n * converted to a string.\n *\n * @param {Array|string|number} input Source array, string or number to be limited.\n * @param {string|number} limit The length of the returned array or string. If the `limit` number\n *     is positive, `limit` number of items from the beginning of the source array/string are copied.\n *     If the number is negative, `limit` number  of items from the end of the source array/string\n *     are copied. The `limit` will be trimmed if it exceeds `array.length`. If `limit` is undefined,\n *     the input will be returned unchanged.\n * @param {(string|number)=} begin Index at which to begin limitation. As a negative index, `begin`\n *     indicates an offset from the end of `input`. Defaults to `0`.\n * @returns {Array|string} A new sub-array or substring of length `limit` or less if input array\n *     had less than `limit` elements.\n *\n * @example\n   <example module=\"limitToExample\">\n     <file name=\"index.html\">\n       <script>\n         angular.module('limitToExample', [])\n           .controller('ExampleController', ['$scope', function($scope) {\n             $scope.numbers = [1,2,3,4,5,6,7,8,9];\n             $scope.letters = \"abcdefghi\";\n             $scope.longNumber = 2345432342;\n             $scope.numLimit = 3;\n             $scope.letterLimit = 3;\n             $scope.longNumberLimit = 3;\n           }]);\n       </script>\n       <div ng-controller=\"ExampleController\">\n         <label>\n            Limit {{numbers}} to:\n            <input type=\"number\" step=\"1\" ng-model=\"numLimit\">\n         </label>\n         <p>Output numbers: {{ numbers | limitTo:numLimit }}</p>\n         <label>\n            Limit {{letters}} to:\n            <input type=\"number\" step=\"1\" ng-model=\"letterLimit\">\n         </label>\n         <p>Output letters: {{ letters | limitTo:letterLimit }}</p>\n         <label>\n            Limit {{longNumber}} to:\n            <input type=\"number\" step=\"1\" ng-model=\"longNumberLimit\">\n         </label>\n         <p>Output long number: {{ longNumber | limitTo:longNumberLimit }}</p>\n       </div>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       var numLimitInput = element(by.model('numLimit'));\n       var letterLimitInput = element(by.model('letterLimit'));\n       var longNumberLimitInput = element(by.model('longNumberLimit'));\n       var limitedNumbers = element(by.binding('numbers | limitTo:numLimit'));\n       var limitedLetters = element(by.binding('letters | limitTo:letterLimit'));\n       var limitedLongNumber = element(by.binding('longNumber | limitTo:longNumberLimit'));\n\n       it('should limit the number array to first three items', function() {\n         expect(numLimitInput.getAttribute('value')).toBe('3');\n         expect(letterLimitInput.getAttribute('value')).toBe('3');\n         expect(longNumberLimitInput.getAttribute('value')).toBe('3');\n         expect(limitedNumbers.getText()).toEqual('Output numbers: [1,2,3]');\n         expect(limitedLetters.getText()).toEqual('Output letters: abc');\n         expect(limitedLongNumber.getText()).toEqual('Output long number: 234');\n       });\n\n       // There is a bug in safari and protractor that doesn't like the minus key\n       // it('should update the output when -3 is entered', function() {\n       //   numLimitInput.clear();\n       //   numLimitInput.sendKeys('-3');\n       //   letterLimitInput.clear();\n       //   letterLimitInput.sendKeys('-3');\n       //   longNumberLimitInput.clear();\n       //   longNumberLimitInput.sendKeys('-3');\n       //   expect(limitedNumbers.getText()).toEqual('Output numbers: [7,8,9]');\n       //   expect(limitedLetters.getText()).toEqual('Output letters: ghi');\n       //   expect(limitedLongNumber.getText()).toEqual('Output long number: 342');\n       // });\n\n       it('should not exceed the maximum size of input array', function() {\n         numLimitInput.clear();\n         numLimitInput.sendKeys('100');\n         letterLimitInput.clear();\n         letterLimitInput.sendKeys('100');\n         longNumberLimitInput.clear();\n         longNumberLimitInput.sendKeys('100');\n         expect(limitedNumbers.getText()).toEqual('Output numbers: [1,2,3,4,5,6,7,8,9]');\n         expect(limitedLetters.getText()).toEqual('Output letters: abcdefghi');\n         expect(limitedLongNumber.getText()).toEqual('Output long number: 2345432342');\n       });\n     </file>\n   </example>\n*/\nfunction limitToFilter() {\n  return function(input, limit, begin) {\n    if (Math.abs(Number(limit)) === Infinity) {\n      limit = Number(limit);\n    } else {\n      limit = toInt(limit);\n    }\n    if (isNaN(limit)) return input;\n\n    if (isNumber(input)) input = input.toString();\n    if (!isArray(input) && !isString(input)) return input;\n\n    begin = (!begin || isNaN(begin)) ? 0 : toInt(begin);\n    begin = (begin < 0) ? Math.max(0, input.length + begin) : begin;\n\n    if (limit >= 0) {\n      return input.slice(begin, begin + limit);\n    } else {\n      if (begin === 0) {\n        return input.slice(limit, input.length);\n      } else {\n        return input.slice(Math.max(0, begin + limit), begin);\n      }\n    }\n  };\n}\n\n/**\n * @ngdoc filter\n * @name orderBy\n * @kind function\n *\n * @description\n * Orders a specified `array` by the `expression` predicate. It is ordered alphabetically\n * for strings and numerically for numbers. Note: if you notice numbers are not being sorted\n * as expected, make sure they are actually being saved as numbers and not strings.\n *\n * @param {Array} array The array to sort.\n * @param {function(*)|string|Array.<(function(*)|string)>=} expression A predicate to be\n *    used by the comparator to determine the order of elements.\n *\n *    Can be one of:\n *\n *    - `function`: Getter function. The result of this function will be sorted using the\n *      `<`, `===`, `>` operator.\n *    - `string`: An Angular expression. The result of this expression is used to compare elements\n *      (for example `name` to sort by a property called `name` or `name.substr(0, 3)` to sort by\n *      3 first characters of a property called `name`). The result of a constant expression\n *      is interpreted as a property name to be used in comparisons (for example `\"special name\"`\n *      to sort object by the value of their `special name` property). An expression can be\n *      optionally prefixed with `+` or `-` to control ascending or descending sort order\n *      (for example, `+name` or `-name`). If no property is provided, (e.g. `'+'`) then the array\n *      element itself is used to compare where sorting.\n *    - `Array`: An array of function or string predicates. The first predicate in the array\n *      is used for sorting, but when two items are equivalent, the next predicate is used.\n *\n *    If the predicate is missing or empty then it defaults to `'+'`.\n *\n * @param {boolean=} reverse Reverse the order of the array.\n * @returns {Array} Sorted copy of the source array.\n *\n *\n * @example\n * The example below demonstrates a simple ngRepeat, where the data is sorted\n * by age in descending order (predicate is set to `'-age'`).\n * `reverse` is not set, which means it defaults to `false`.\n   <example module=\"orderByExample\">\n     <file name=\"index.html\">\n       <script>\n         angular.module('orderByExample', [])\n           .controller('ExampleController', ['$scope', function($scope) {\n             $scope.friends =\n                 [{name:'John', phone:'555-1212', age:10},\n                  {name:'Mary', phone:'555-9876', age:19},\n                  {name:'Mike', phone:'555-4321', age:21},\n                  {name:'Adam', phone:'555-5678', age:35},\n                  {name:'Julie', phone:'555-8765', age:29}];\n           }]);\n       </script>\n       <div ng-controller=\"ExampleController\">\n         <table class=\"friend\">\n           <tr>\n             <th>Name</th>\n             <th>Phone Number</th>\n             <th>Age</th>\n           </tr>\n           <tr ng-repeat=\"friend in friends | orderBy:'-age'\">\n             <td>{{friend.name}}</td>\n             <td>{{friend.phone}}</td>\n             <td>{{friend.age}}</td>\n           </tr>\n         </table>\n       </div>\n     </file>\n   </example>\n *\n * The predicate and reverse parameters can be controlled dynamically through scope properties,\n * as shown in the next example.\n * @example\n   <example module=\"orderByExample\">\n     <file name=\"index.html\">\n       <script>\n         angular.module('orderByExample', [])\n           .controller('ExampleController', ['$scope', function($scope) {\n             $scope.friends =\n                 [{name:'John', phone:'555-1212', age:10},\n                  {name:'Mary', phone:'555-9876', age:19},\n                  {name:'Mike', phone:'555-4321', age:21},\n                  {name:'Adam', phone:'555-5678', age:35},\n                  {name:'Julie', phone:'555-8765', age:29}];\n             $scope.predicate = 'age';\n             $scope.reverse = true;\n             $scope.order = function(predicate) {\n               $scope.reverse = ($scope.predicate === predicate) ? !$scope.reverse : false;\n               $scope.predicate = predicate;\n             };\n           }]);\n       </script>\n       <style type=\"text/css\">\n         .sortorder:after {\n           content: '\\25b2';\n         }\n         .sortorder.reverse:after {\n           content: '\\25bc';\n         }\n       </style>\n       <div ng-controller=\"ExampleController\">\n         <pre>Sorting predicate = {{predicate}}; reverse = {{reverse}}</pre>\n         <hr/>\n         [ <a href=\"\" ng-click=\"predicate=''\">unsorted</a> ]\n         <table class=\"friend\">\n           <tr>\n             <th>\n               <a href=\"\" ng-click=\"order('name')\">Name</a>\n               <span class=\"sortorder\" ng-show=\"predicate === 'name'\" ng-class=\"{reverse:reverse}\"></span>\n             </th>\n             <th>\n               <a href=\"\" ng-click=\"order('phone')\">Phone Number</a>\n               <span class=\"sortorder\" ng-show=\"predicate === 'phone'\" ng-class=\"{reverse:reverse}\"></span>\n             </th>\n             <th>\n               <a href=\"\" ng-click=\"order('age')\">Age</a>\n               <span class=\"sortorder\" ng-show=\"predicate === 'age'\" ng-class=\"{reverse:reverse}\"></span>\n             </th>\n           </tr>\n           <tr ng-repeat=\"friend in friends | orderBy:predicate:reverse\">\n             <td>{{friend.name}}</td>\n             <td>{{friend.phone}}</td>\n             <td>{{friend.age}}</td>\n           </tr>\n         </table>\n       </div>\n     </file>\n   </example>\n *\n * It's also possible to call the orderBy filter manually, by injecting `$filter`, retrieving the\n * filter routine with `$filter('orderBy')`, and calling the returned filter routine with the\n * desired parameters.\n *\n * Example:\n *\n * @example\n  <example module=\"orderByExample\">\n    <file name=\"index.html\">\n      <div ng-controller=\"ExampleController\">\n        <table class=\"friend\">\n          <tr>\n            <th><a href=\"\" ng-click=\"reverse=false;order('name', false)\">Name</a>\n              (<a href=\"\" ng-click=\"order('-name',false)\">^</a>)</th>\n            <th><a href=\"\" ng-click=\"reverse=!reverse;order('phone', reverse)\">Phone Number</a></th>\n            <th><a href=\"\" ng-click=\"reverse=!reverse;order('age',reverse)\">Age</a></th>\n          </tr>\n          <tr ng-repeat=\"friend in friends\">\n            <td>{{friend.name}}</td>\n            <td>{{friend.phone}}</td>\n            <td>{{friend.age}}</td>\n          </tr>\n        </table>\n      </div>\n    </file>\n\n    <file name=\"script.js\">\n      angular.module('orderByExample', [])\n        .controller('ExampleController', ['$scope', '$filter', function($scope, $filter) {\n          var orderBy = $filter('orderBy');\n          $scope.friends = [\n            { name: 'John',    phone: '555-1212',    age: 10 },\n            { name: 'Mary',    phone: '555-9876',    age: 19 },\n            { name: 'Mike',    phone: '555-4321',    age: 21 },\n            { name: 'Adam',    phone: '555-5678',    age: 35 },\n            { name: 'Julie',   phone: '555-8765',    age: 29 }\n          ];\n          $scope.order = function(predicate, reverse) {\n            $scope.friends = orderBy($scope.friends, predicate, reverse);\n          };\n          $scope.order('-age',false);\n        }]);\n    </file>\n</example>\n */\norderByFilter.$inject = ['$parse'];\nfunction orderByFilter($parse) {\n  return function(array, sortPredicate, reverseOrder) {\n\n    if (!(isArrayLike(array))) return array;\n\n    if (!isArray(sortPredicate)) { sortPredicate = [sortPredicate]; }\n    if (sortPredicate.length === 0) { sortPredicate = ['+']; }\n\n    var predicates = processPredicates(sortPredicate, reverseOrder);\n    // Add a predicate at the end that evaluates to the element index. This makes the\n    // sort stable as it works as a tie-breaker when all the input predicates cannot\n    // distinguish between two elements.\n    predicates.push({ get: function() { return {}; }, descending: reverseOrder ? -1 : 1});\n\n    // The next three lines are a version of a Swartzian Transform idiom from Perl\n    // (sometimes called the Decorate-Sort-Undecorate idiom)\n    // See https://en.wikipedia.org/wiki/Schwartzian_transform\n    var compareValues = Array.prototype.map.call(array, getComparisonObject);\n    compareValues.sort(doComparison);\n    array = compareValues.map(function(item) { return item.value; });\n\n    return array;\n\n    function getComparisonObject(value, index) {\n      return {\n        value: value,\n        predicateValues: predicates.map(function(predicate) {\n          return getPredicateValue(predicate.get(value), index);\n        })\n      };\n    }\n\n    function doComparison(v1, v2) {\n      var result = 0;\n      for (var index=0, length = predicates.length; index < length; ++index) {\n        result = compare(v1.predicateValues[index], v2.predicateValues[index]) * predicates[index].descending;\n        if (result) break;\n      }\n      return result;\n    }\n  };\n\n  function processPredicates(sortPredicate, reverseOrder) {\n    reverseOrder = reverseOrder ? -1 : 1;\n    return sortPredicate.map(function(predicate) {\n      var descending = 1, get = identity;\n\n      if (isFunction(predicate)) {\n        get = predicate;\n      } else if (isString(predicate)) {\n        if ((predicate.charAt(0) == '+' || predicate.charAt(0) == '-')) {\n          descending = predicate.charAt(0) == '-' ? -1 : 1;\n          predicate = predicate.substring(1);\n        }\n        if (predicate !== '') {\n          get = $parse(predicate);\n          if (get.constant) {\n            var key = get();\n            get = function(value) { return value[key]; };\n          }\n        }\n      }\n      return { get: get, descending: descending * reverseOrder };\n    });\n  }\n\n  function isPrimitive(value) {\n    switch (typeof value) {\n      case 'number': /* falls through */\n      case 'boolean': /* falls through */\n      case 'string':\n        return true;\n      default:\n        return false;\n    }\n  }\n\n  function objectValue(value, index) {\n    // If `valueOf` is a valid function use that\n    if (typeof value.valueOf === 'function') {\n      value = value.valueOf();\n      if (isPrimitive(value)) return value;\n    }\n    // If `toString` is a valid function and not the one from `Object.prototype` use that\n    if (hasCustomToString(value)) {\n      value = value.toString();\n      if (isPrimitive(value)) return value;\n    }\n    // We have a basic object so we use the position of the object in the collection\n    return index;\n  }\n\n  function getPredicateValue(value, index) {\n    var type = typeof value;\n    if (value === null) {\n      type = 'string';\n      value = 'null';\n    } else if (type === 'string') {\n      value = value.toLowerCase();\n    } else if (type === 'object') {\n      value = objectValue(value, index);\n    }\n    return { value: value, type: type };\n  }\n\n  function compare(v1, v2) {\n    var result = 0;\n    if (v1.type === v2.type) {\n      if (v1.value !== v2.value) {\n        result = v1.value < v2.value ? -1 : 1;\n      }\n    } else {\n      result = v1.type < v2.type ? -1 : 1;\n    }\n    return result;\n  }\n}\n\nfunction ngDirective(directive) {\n  if (isFunction(directive)) {\n    directive = {\n      link: directive\n    };\n  }\n  directive.restrict = directive.restrict || 'AC';\n  return valueFn(directive);\n}\n\n/**\n * @ngdoc directive\n * @name a\n * @restrict E\n *\n * @description\n * Modifies the default behavior of the html A tag so that the default action is prevented when\n * the href attribute is empty.\n *\n * This change permits the easy creation of action links with the `ngClick` directive\n * without changing the location or causing page reloads, e.g.:\n * `<a href=\"\" ng-click=\"list.addItem()\">Add Item</a>`\n */\nvar htmlAnchorDirective = valueFn({\n  restrict: 'E',\n  compile: function(element, attr) {\n    if (!attr.href && !attr.xlinkHref) {\n      return function(scope, element) {\n        // If the linked element is not an anchor tag anymore, do nothing\n        if (element[0].nodeName.toLowerCase() !== 'a') return;\n\n        // SVGAElement does not use the href attribute, but rather the 'xlinkHref' attribute.\n        var href = toString.call(element.prop('href')) === '[object SVGAnimatedString]' ?\n                   'xlink:href' : 'href';\n        element.on('click', function(event) {\n          // if we have no href url, then don't navigate anywhere.\n          if (!element.attr(href)) {\n            event.preventDefault();\n          }\n        });\n      };\n    }\n  }\n});\n\n/**\n * @ngdoc directive\n * @name ngHref\n * @restrict A\n * @priority 99\n *\n * @description\n * Using Angular markup like `{{hash}}` in an href attribute will\n * make the link go to the wrong URL if the user clicks it before\n * Angular has a chance to replace the `{{hash}}` markup with its\n * value. Until Angular replaces the markup the link will be broken\n * and will most likely return a 404 error. The `ngHref` directive\n * solves this problem.\n *\n * The wrong way to write it:\n * ```html\n * <a href=\"http://www.gravatar.com/avatar/{{hash}}\">link1</a>\n * ```\n *\n * The correct way to write it:\n * ```html\n * <a ng-href=\"http://www.gravatar.com/avatar/{{hash}}\">link1</a>\n * ```\n *\n * @element A\n * @param {template} ngHref any string which can contain `{{}}` markup.\n *\n * @example\n * This example shows various combinations of `href`, `ng-href` and `ng-click` attributes\n * in links and their different behaviors:\n    <example>\n      <file name=\"index.html\">\n        <input ng-model=\"value\" /><br />\n        <a id=\"link-1\" href ng-click=\"value = 1\">link 1</a> (link, don't reload)<br />\n        <a id=\"link-2\" href=\"\" ng-click=\"value = 2\">link 2</a> (link, don't reload)<br />\n        <a id=\"link-3\" ng-href=\"/{{'123'}}\">link 3</a> (link, reload!)<br />\n        <a id=\"link-4\" href=\"\" name=\"xx\" ng-click=\"value = 4\">anchor</a> (link, don't reload)<br />\n        <a id=\"link-5\" name=\"xxx\" ng-click=\"value = 5\">anchor</a> (no link)<br />\n        <a id=\"link-6\" ng-href=\"{{value}}\">link</a> (link, change location)\n      </file>\n      <file name=\"protractor.js\" type=\"protractor\">\n        it('should execute ng-click but not reload when href without value', function() {\n          element(by.id('link-1')).click();\n          expect(element(by.model('value')).getAttribute('value')).toEqual('1');\n          expect(element(by.id('link-1')).getAttribute('href')).toBe('');\n        });\n\n        it('should execute ng-click but not reload when href empty string', function() {\n          element(by.id('link-2')).click();\n          expect(element(by.model('value')).getAttribute('value')).toEqual('2');\n          expect(element(by.id('link-2')).getAttribute('href')).toBe('');\n        });\n\n        it('should execute ng-click and change url when ng-href specified', function() {\n          expect(element(by.id('link-3')).getAttribute('href')).toMatch(/\\/123$/);\n\n          element(by.id('link-3')).click();\n\n          // At this point, we navigate away from an Angular page, so we need\n          // to use browser.driver to get the base webdriver.\n\n          browser.wait(function() {\n            return browser.driver.getCurrentUrl().then(function(url) {\n              return url.match(/\\/123$/);\n            });\n          }, 5000, 'page should navigate to /123');\n        });\n\n        it('should execute ng-click but not reload when href empty string and name specified', function() {\n          element(by.id('link-4')).click();\n          expect(element(by.model('value')).getAttribute('value')).toEqual('4');\n          expect(element(by.id('link-4')).getAttribute('href')).toBe('');\n        });\n\n        it('should execute ng-click but not reload when no href but name specified', function() {\n          element(by.id('link-5')).click();\n          expect(element(by.model('value')).getAttribute('value')).toEqual('5');\n          expect(element(by.id('link-5')).getAttribute('href')).toBe(null);\n        });\n\n        it('should only change url when only ng-href', function() {\n          element(by.model('value')).clear();\n          element(by.model('value')).sendKeys('6');\n          expect(element(by.id('link-6')).getAttribute('href')).toMatch(/\\/6$/);\n\n          element(by.id('link-6')).click();\n\n          // At this point, we navigate away from an Angular page, so we need\n          // to use browser.driver to get the base webdriver.\n          browser.wait(function() {\n            return browser.driver.getCurrentUrl().then(function(url) {\n              return url.match(/\\/6$/);\n            });\n          }, 5000, 'page should navigate to /6');\n        });\n      </file>\n    </example>\n */\n\n/**\n * @ngdoc directive\n * @name ngSrc\n * @restrict A\n * @priority 99\n *\n * @description\n * Using Angular markup like `{{hash}}` in a `src` attribute doesn't\n * work right: The browser will fetch from the URL with the literal\n * text `{{hash}}` until Angular replaces the expression inside\n * `{{hash}}`. The `ngSrc` directive solves this problem.\n *\n * The buggy way to write it:\n * ```html\n * <img src=\"http://www.gravatar.com/avatar/{{hash}}\" alt=\"Description\"/>\n * ```\n *\n * The correct way to write it:\n * ```html\n * <img ng-src=\"http://www.gravatar.com/avatar/{{hash}}\" alt=\"Description\" />\n * ```\n *\n * @element IMG\n * @param {template} ngSrc any string which can contain `{{}}` markup.\n */\n\n/**\n * @ngdoc directive\n * @name ngSrcset\n * @restrict A\n * @priority 99\n *\n * @description\n * Using Angular markup like `{{hash}}` in a `srcset` attribute doesn't\n * work right: The browser will fetch from the URL with the literal\n * text `{{hash}}` until Angular replaces the expression inside\n * `{{hash}}`. The `ngSrcset` directive solves this problem.\n *\n * The buggy way to write it:\n * ```html\n * <img srcset=\"http://www.gravatar.com/avatar/{{hash}} 2x\" alt=\"Description\"/>\n * ```\n *\n * The correct way to write it:\n * ```html\n * <img ng-srcset=\"http://www.gravatar.com/avatar/{{hash}} 2x\" alt=\"Description\" />\n * ```\n *\n * @element IMG\n * @param {template} ngSrcset any string which can contain `{{}}` markup.\n */\n\n/**\n * @ngdoc directive\n * @name ngDisabled\n * @restrict A\n * @priority 100\n *\n * @description\n *\n * This directive sets the `disabled` attribute on the element if the\n * {@link guide/expression expression} inside `ngDisabled` evaluates to truthy.\n *\n * A special directive is necessary because we cannot use interpolation inside the `disabled`\n * attribute.  The following example would make the button enabled on Chrome/Firefox\n * but not on older IEs:\n *\n * ```html\n * <!-- See below for an example of ng-disabled being used correctly -->\n * <div ng-init=\"isDisabled = false\">\n *  <button disabled=\"{{isDisabled}}\">Disabled</button>\n * </div>\n * ```\n *\n * This is because the HTML specification does not require browsers to preserve the values of\n * boolean attributes such as `disabled` (Their presence means true and their absence means false.)\n * If we put an Angular interpolation expression into such an attribute then the\n * binding information would be lost when the browser removes the attribute.\n *\n * @example\n    <example>\n      <file name=\"index.html\">\n        <label>Click me to toggle: <input type=\"checkbox\" ng-model=\"checked\"></label><br/>\n        <button ng-model=\"button\" ng-disabled=\"checked\">Button</button>\n      </file>\n      <file name=\"protractor.js\" type=\"protractor\">\n        it('should toggle button', function() {\n          expect(element(by.css('button')).getAttribute('disabled')).toBeFalsy();\n          element(by.model('checked')).click();\n          expect(element(by.css('button')).getAttribute('disabled')).toBeTruthy();\n        });\n      </file>\n    </example>\n *\n * @element INPUT\n * @param {expression} ngDisabled If the {@link guide/expression expression} is truthy,\n *     then the `disabled` attribute will be set on the element\n */\n\n\n/**\n * @ngdoc directive\n * @name ngChecked\n * @restrict A\n * @priority 100\n *\n * @description\n * Sets the `checked` attribute on the element, if the expression inside `ngChecked` is truthy.\n *\n * Note that this directive should not be used together with {@link ngModel `ngModel`},\n * as this can lead to unexpected behavior.\n *\n * ### Why do we need `ngChecked`?\n *\n * The HTML specification does not require browsers to preserve the values of boolean attributes\n * such as checked. (Their presence means true and their absence means false.)\n * If we put an Angular interpolation expression into such an attribute then the\n * binding information would be lost when the browser removes the attribute.\n * The `ngChecked` directive solves this problem for the `checked` attribute.\n * This complementary directive is not removed by the browser and so provides\n * a permanent reliable place to store the binding information.\n * @example\n    <example>\n      <file name=\"index.html\">\n        <label>Check me to check both: <input type=\"checkbox\" ng-model=\"master\"></label><br/>\n        <input id=\"checkSlave\" type=\"checkbox\" ng-checked=\"master\" aria-label=\"Slave input\">\n      </file>\n      <file name=\"protractor.js\" type=\"protractor\">\n        it('should check both checkBoxes', function() {\n          expect(element(by.id('checkSlave')).getAttribute('checked')).toBeFalsy();\n          element(by.model('master')).click();\n          expect(element(by.id('checkSlave')).getAttribute('checked')).toBeTruthy();\n        });\n      </file>\n    </example>\n *\n * @element INPUT\n * @param {expression} ngChecked If the {@link guide/expression expression} is truthy,\n *     then the `checked` attribute will be set on the element\n */\n\n\n/**\n * @ngdoc directive\n * @name ngReadonly\n * @restrict A\n * @priority 100\n *\n * @description\n * The HTML specification does not require browsers to preserve the values of boolean attributes\n * such as readonly. (Their presence means true and their absence means false.)\n * If we put an Angular interpolation expression into such an attribute then the\n * binding information would be lost when the browser removes the attribute.\n * The `ngReadonly` directive solves this problem for the `readonly` attribute.\n * This complementary directive is not removed by the browser and so provides\n * a permanent reliable place to store the binding information.\n * @example\n    <example>\n      <file name=\"index.html\">\n        <label>Check me to make text readonly: <input type=\"checkbox\" ng-model=\"checked\"></label><br/>\n        <input type=\"text\" ng-readonly=\"checked\" value=\"I'm Angular\" aria-label=\"Readonly field\" />\n      </file>\n      <file name=\"protractor.js\" type=\"protractor\">\n        it('should toggle readonly attr', function() {\n          expect(element(by.css('[type=\"text\"]')).getAttribute('readonly')).toBeFalsy();\n          element(by.model('checked')).click();\n          expect(element(by.css('[type=\"text\"]')).getAttribute('readonly')).toBeTruthy();\n        });\n      </file>\n    </example>\n *\n * @element INPUT\n * @param {expression} ngReadonly If the {@link guide/expression expression} is truthy,\n *     then special attribute \"readonly\" will be set on the element\n */\n\n\n/**\n * @ngdoc directive\n * @name ngSelected\n * @restrict A\n * @priority 100\n *\n * @description\n * The HTML specification does not require browsers to preserve the values of boolean attributes\n * such as selected. (Their presence means true and their absence means false.)\n * If we put an Angular interpolation expression into such an attribute then the\n * binding information would be lost when the browser removes the attribute.\n * The `ngSelected` directive solves this problem for the `selected` attribute.\n * This complementary directive is not removed by the browser and so provides\n * a permanent reliable place to store the binding information.\n *\n * @example\n    <example>\n      <file name=\"index.html\">\n        <label>Check me to select: <input type=\"checkbox\" ng-model=\"selected\"></label><br/>\n        <select aria-label=\"ngSelected demo\">\n          <option>Hello!</option>\n          <option id=\"greet\" ng-selected=\"selected\">Greetings!</option>\n        </select>\n      </file>\n      <file name=\"protractor.js\" type=\"protractor\">\n        it('should select Greetings!', function() {\n          expect(element(by.id('greet')).getAttribute('selected')).toBeFalsy();\n          element(by.model('selected')).click();\n          expect(element(by.id('greet')).getAttribute('selected')).toBeTruthy();\n        });\n      </file>\n    </example>\n *\n * @element OPTION\n * @param {expression} ngSelected If the {@link guide/expression expression} is truthy,\n *     then special attribute \"selected\" will be set on the element\n */\n\n/**\n * @ngdoc directive\n * @name ngOpen\n * @restrict A\n * @priority 100\n *\n * @description\n * The HTML specification does not require browsers to preserve the values of boolean attributes\n * such as open. (Their presence means true and their absence means false.)\n * If we put an Angular interpolation expression into such an attribute then the\n * binding information would be lost when the browser removes the attribute.\n * The `ngOpen` directive solves this problem for the `open` attribute.\n * This complementary directive is not removed by the browser and so provides\n * a permanent reliable place to store the binding information.\n * @example\n     <example>\n       <file name=\"index.html\">\n         <label>Check me check multiple: <input type=\"checkbox\" ng-model=\"open\"></label><br/>\n         <details id=\"details\" ng-open=\"open\">\n            <summary>Show/Hide me</summary>\n         </details>\n       </file>\n       <file name=\"protractor.js\" type=\"protractor\">\n         it('should toggle open', function() {\n           expect(element(by.id('details')).getAttribute('open')).toBeFalsy();\n           element(by.model('open')).click();\n           expect(element(by.id('details')).getAttribute('open')).toBeTruthy();\n         });\n       </file>\n     </example>\n *\n * @element DETAILS\n * @param {expression} ngOpen If the {@link guide/expression expression} is truthy,\n *     then special attribute \"open\" will be set on the element\n */\n\nvar ngAttributeAliasDirectives = {};\n\n// boolean attrs are evaluated\nforEach(BOOLEAN_ATTR, function(propName, attrName) {\n  // binding to multiple is not supported\n  if (propName == \"multiple\") return;\n\n  function defaultLinkFn(scope, element, attr) {\n    scope.$watch(attr[normalized], function ngBooleanAttrWatchAction(value) {\n      attr.$set(attrName, !!value);\n    });\n  }\n\n  var normalized = directiveNormalize('ng-' + attrName);\n  var linkFn = defaultLinkFn;\n\n  if (propName === 'checked') {\n    linkFn = function(scope, element, attr) {\n      // ensuring ngChecked doesn't interfere with ngModel when both are set on the same input\n      if (attr.ngModel !== attr[normalized]) {\n        defaultLinkFn(scope, element, attr);\n      }\n    };\n  }\n\n  ngAttributeAliasDirectives[normalized] = function() {\n    return {\n      restrict: 'A',\n      priority: 100,\n      link: linkFn\n    };\n  };\n});\n\n// aliased input attrs are evaluated\nforEach(ALIASED_ATTR, function(htmlAttr, ngAttr) {\n  ngAttributeAliasDirectives[ngAttr] = function() {\n    return {\n      priority: 100,\n      link: function(scope, element, attr) {\n        //special case ngPattern when a literal regular expression value\n        //is used as the expression (this way we don't have to watch anything).\n        if (ngAttr === \"ngPattern\" && attr.ngPattern.charAt(0) == \"/\") {\n          var match = attr.ngPattern.match(REGEX_STRING_REGEXP);\n          if (match) {\n            attr.$set(\"ngPattern\", new RegExp(match[1], match[2]));\n            return;\n          }\n        }\n\n        scope.$watch(attr[ngAttr], function ngAttrAliasWatchAction(value) {\n          attr.$set(ngAttr, value);\n        });\n      }\n    };\n  };\n});\n\n// ng-src, ng-srcset, ng-href are interpolated\nforEach(['src', 'srcset', 'href'], function(attrName) {\n  var normalized = directiveNormalize('ng-' + attrName);\n  ngAttributeAliasDirectives[normalized] = function() {\n    return {\n      priority: 99, // it needs to run after the attributes are interpolated\n      link: function(scope, element, attr) {\n        var propName = attrName,\n            name = attrName;\n\n        if (attrName === 'href' &&\n            toString.call(element.prop('href')) === '[object SVGAnimatedString]') {\n          name = 'xlinkHref';\n          attr.$attr[name] = 'xlink:href';\n          propName = null;\n        }\n\n        attr.$observe(normalized, function(value) {\n          if (!value) {\n            if (attrName === 'href') {\n              attr.$set(name, null);\n            }\n            return;\n          }\n\n          attr.$set(name, value);\n\n          // on IE, if \"ng:src\" directive declaration is used and \"src\" attribute doesn't exist\n          // then calling element.setAttribute('src', 'foo') doesn't do anything, so we need\n          // to set the property as well to achieve the desired effect.\n          // we use attr[attrName] value since $set can sanitize the url.\n          if (msie && propName) element.prop(propName, attr[name]);\n        });\n      }\n    };\n  };\n});\n\n/* global -nullFormCtrl, -SUBMITTED_CLASS, addSetValidityMethod: true\n */\nvar nullFormCtrl = {\n  $addControl: noop,\n  $$renameControl: nullFormRenameControl,\n  $removeControl: noop,\n  $setValidity: noop,\n  $setDirty: noop,\n  $setPristine: noop,\n  $setSubmitted: noop\n},\nSUBMITTED_CLASS = 'ng-submitted';\n\nfunction nullFormRenameControl(control, name) {\n  control.$name = name;\n}\n\n/**\n * @ngdoc type\n * @name form.FormController\n *\n * @property {boolean} $pristine True if user has not interacted with the form yet.\n * @property {boolean} $dirty True if user has already interacted with the form.\n * @property {boolean} $valid True if all of the containing forms and controls are valid.\n * @property {boolean} $invalid True if at least one containing control or form is invalid.\n * @property {boolean} $pending True if at least one containing control or form is pending.\n * @property {boolean} $submitted True if user has submitted the form even if its invalid.\n *\n * @property {Object} $error Is an object hash, containing references to controls or\n *  forms with failing validators, where:\n *\n *  - keys are validation tokens (error names),\n *  - values are arrays of controls or forms that have a failing validator for given error name.\n *\n *  Built-in validation tokens:\n *\n *  - `email`\n *  - `max`\n *  - `maxlength`\n *  - `min`\n *  - `minlength`\n *  - `number`\n *  - `pattern`\n *  - `required`\n *  - `url`\n *  - `date`\n *  - `datetimelocal`\n *  - `time`\n *  - `week`\n *  - `month`\n *\n * @description\n * `FormController` keeps track of all its controls and nested forms as well as the state of them,\n * such as being valid/invalid or dirty/pristine.\n *\n * Each {@link ng.directive:form form} directive creates an instance\n * of `FormController`.\n *\n */\n//asks for $scope to fool the BC controller module\nFormController.$inject = ['$element', '$attrs', '$scope', '$animate', '$interpolate'];\nfunction FormController(element, attrs, $scope, $animate, $interpolate) {\n  var form = this,\n      controls = [];\n\n  // init state\n  form.$error = {};\n  form.$$success = {};\n  form.$pending = undefined;\n  form.$name = $interpolate(attrs.name || attrs.ngForm || '')($scope);\n  form.$dirty = false;\n  form.$pristine = true;\n  form.$valid = true;\n  form.$invalid = false;\n  form.$submitted = false;\n  form.$$parentForm = nullFormCtrl;\n\n  /**\n   * @ngdoc method\n   * @name form.FormController#$rollbackViewValue\n   *\n   * @description\n   * Rollback all form controls pending updates to the `$modelValue`.\n   *\n   * Updates may be pending by a debounced event or because the input is waiting for a some future\n   * event defined in `ng-model-options`. This method is typically needed by the reset button of\n   * a form that uses `ng-model-options` to pend updates.\n   */\n  form.$rollbackViewValue = function() {\n    forEach(controls, function(control) {\n      control.$rollbackViewValue();\n    });\n  };\n\n  /**\n   * @ngdoc method\n   * @name form.FormController#$commitViewValue\n   *\n   * @description\n   * Commit all form controls pending updates to the `$modelValue`.\n   *\n   * Updates may be pending by a debounced event or because the input is waiting for a some future\n   * event defined in `ng-model-options`. This method is rarely needed as `NgModelController`\n   * usually handles calling this in response to input events.\n   */\n  form.$commitViewValue = function() {\n    forEach(controls, function(control) {\n      control.$commitViewValue();\n    });\n  };\n\n  /**\n   * @ngdoc method\n   * @name form.FormController#$addControl\n   * @param {object} control control object, either a {@link form.FormController} or an\n   * {@link ngModel.NgModelController}\n   *\n   * @description\n   * Register a control with the form. Input elements using ngModelController do this automatically\n   * when they are linked.\n   *\n   * Note that the current state of the control will not be reflected on the new parent form. This\n   * is not an issue with normal use, as freshly compiled and linked controls are in a `$pristine`\n   * state.\n   *\n   * However, if the method is used programmatically, for example by adding dynamically created controls,\n   * or controls that have been previously removed without destroying their corresponding DOM element,\n   * it's the developers responsiblity to make sure the current state propagates to the parent form.\n   *\n   * For example, if an input control is added that is already `$dirty` and has `$error` properties,\n   * calling `$setDirty()` and `$validate()` afterwards will propagate the state to the parent form.\n   */\n  form.$addControl = function(control) {\n    // Breaking change - before, inputs whose name was \"hasOwnProperty\" were quietly ignored\n    // and not added to the scope.  Now we throw an error.\n    assertNotHasOwnProperty(control.$name, 'input');\n    controls.push(control);\n\n    if (control.$name) {\n      form[control.$name] = control;\n    }\n\n    control.$$parentForm = form;\n  };\n\n  // Private API: rename a form control\n  form.$$renameControl = function(control, newName) {\n    var oldName = control.$name;\n\n    if (form[oldName] === control) {\n      delete form[oldName];\n    }\n    form[newName] = control;\n    control.$name = newName;\n  };\n\n  /**\n   * @ngdoc method\n   * @name form.FormController#$removeControl\n   * @param {object} control control object, either a {@link form.FormController} or an\n   * {@link ngModel.NgModelController}\n   *\n   * @description\n   * Deregister a control from the form.\n   *\n   * Input elements using ngModelController do this automatically when they are destroyed.\n   *\n   * Note that only the removed control's validation state (`$errors`etc.) will be removed from the\n   * form. `$dirty`, `$submitted` states will not be changed, because the expected behavior can be\n   * different from case to case. For example, removing the only `$dirty` control from a form may or\n   * may not mean that the form is still `$dirty`.\n   */\n  form.$removeControl = function(control) {\n    if (control.$name && form[control.$name] === control) {\n      delete form[control.$name];\n    }\n    forEach(form.$pending, function(value, name) {\n      form.$setValidity(name, null, control);\n    });\n    forEach(form.$error, function(value, name) {\n      form.$setValidity(name, null, control);\n    });\n    forEach(form.$$success, function(value, name) {\n      form.$setValidity(name, null, control);\n    });\n\n    arrayRemove(controls, control);\n    control.$$parentForm = nullFormCtrl;\n  };\n\n\n  /**\n   * @ngdoc method\n   * @name form.FormController#$setValidity\n   *\n   * @description\n   * Sets the validity of a form control.\n   *\n   * This method will also propagate to parent forms.\n   */\n  addSetValidityMethod({\n    ctrl: this,\n    $element: element,\n    set: function(object, property, controller) {\n      var list = object[property];\n      if (!list) {\n        object[property] = [controller];\n      } else {\n        var index = list.indexOf(controller);\n        if (index === -1) {\n          list.push(controller);\n        }\n      }\n    },\n    unset: function(object, property, controller) {\n      var list = object[property];\n      if (!list) {\n        return;\n      }\n      arrayRemove(list, controller);\n      if (list.length === 0) {\n        delete object[property];\n      }\n    },\n    $animate: $animate\n  });\n\n  /**\n   * @ngdoc method\n   * @name form.FormController#$setDirty\n   *\n   * @description\n   * Sets the form to a dirty state.\n   *\n   * This method can be called to add the 'ng-dirty' class and set the form to a dirty\n   * state (ng-dirty class). This method will also propagate to parent forms.\n   */\n  form.$setDirty = function() {\n    $animate.removeClass(element, PRISTINE_CLASS);\n    $animate.addClass(element, DIRTY_CLASS);\n    form.$dirty = true;\n    form.$pristine = false;\n    form.$$parentForm.$setDirty();\n  };\n\n  /**\n   * @ngdoc method\n   * @name form.FormController#$setPristine\n   *\n   * @description\n   * Sets the form to its pristine state.\n   *\n   * This method can be called to remove the 'ng-dirty' class and set the form to its pristine\n   * state (ng-pristine class). This method will also propagate to all the controls contained\n   * in this form.\n   *\n   * Setting a form back to a pristine state is often useful when we want to 'reuse' a form after\n   * saving or resetting it.\n   */\n  form.$setPristine = function() {\n    $animate.setClass(element, PRISTINE_CLASS, DIRTY_CLASS + ' ' + SUBMITTED_CLASS);\n    form.$dirty = false;\n    form.$pristine = true;\n    form.$submitted = false;\n    forEach(controls, function(control) {\n      control.$setPristine();\n    });\n  };\n\n  /**\n   * @ngdoc method\n   * @name form.FormController#$setUntouched\n   *\n   * @description\n   * Sets the form to its untouched state.\n   *\n   * This method can be called to remove the 'ng-touched' class and set the form controls to their\n   * untouched state (ng-untouched class).\n   *\n   * Setting a form controls back to their untouched state is often useful when setting the form\n   * back to its pristine state.\n   */\n  form.$setUntouched = function() {\n    forEach(controls, function(control) {\n      control.$setUntouched();\n    });\n  };\n\n  /**\n   * @ngdoc method\n   * @name form.FormController#$setSubmitted\n   *\n   * @description\n   * Sets the form to its submitted state.\n   */\n  form.$setSubmitted = function() {\n    $animate.addClass(element, SUBMITTED_CLASS);\n    form.$submitted = true;\n    form.$$parentForm.$setSubmitted();\n  };\n}\n\n/**\n * @ngdoc directive\n * @name ngForm\n * @restrict EAC\n *\n * @description\n * Nestable alias of {@link ng.directive:form `form`} directive. HTML\n * does not allow nesting of form elements. It is useful to nest forms, for example if the validity of a\n * sub-group of controls needs to be determined.\n *\n * Note: the purpose of `ngForm` is to group controls,\n * but not to be a replacement for the `<form>` tag with all of its capabilities\n * (e.g. posting to the server, ...).\n *\n * @param {string=} ngForm|name Name of the form. If specified, the form controller will be published into\n *                       related scope, under this name.\n *\n */\n\n /**\n * @ngdoc directive\n * @name form\n * @restrict E\n *\n * @description\n * Directive that instantiates\n * {@link form.FormController FormController}.\n *\n * If the `name` attribute is specified, the form controller is published onto the current scope under\n * this name.\n *\n * # Alias: {@link ng.directive:ngForm `ngForm`}\n *\n * In Angular, forms can be nested. This means that the outer form is valid when all of the child\n * forms are valid as well. However, browsers do not allow nesting of `<form>` elements, so\n * Angular provides the {@link ng.directive:ngForm `ngForm`} directive which behaves identically to\n * `<form>` but can be nested.  This allows you to have nested forms, which is very useful when\n * using Angular validation directives in forms that are dynamically generated using the\n * {@link ng.directive:ngRepeat `ngRepeat`} directive. Since you cannot dynamically generate the `name`\n * attribute of input elements using interpolation, you have to wrap each set of repeated inputs in an\n * `ngForm` directive and nest these in an outer `form` element.\n *\n *\n * # CSS classes\n *  - `ng-valid` is set if the form is valid.\n *  - `ng-invalid` is set if the form is invalid.\n *  - `ng-pending` is set if the form is pending.\n *  - `ng-pristine` is set if the form is pristine.\n *  - `ng-dirty` is set if the form is dirty.\n *  - `ng-submitted` is set if the form was submitted.\n *\n * Keep in mind that ngAnimate can detect each of these classes when added and removed.\n *\n *\n * # Submitting a form and preventing the default action\n *\n * Since the role of forms in client-side Angular applications is different than in classical\n * roundtrip apps, it is desirable for the browser not to translate the form submission into a full\n * page reload that sends the data to the server. Instead some javascript logic should be triggered\n * to handle the form submission in an application-specific way.\n *\n * For this reason, Angular prevents the default action (form submission to the server) unless the\n * `<form>` element has an `action` attribute specified.\n *\n * You can use one of the following two ways to specify what javascript method should be called when\n * a form is submitted:\n *\n * - {@link ng.directive:ngSubmit ngSubmit} directive on the form element\n * - {@link ng.directive:ngClick ngClick} directive on the first\n  *  button or input field of type submit (input[type=submit])\n *\n * To prevent double execution of the handler, use only one of the {@link ng.directive:ngSubmit ngSubmit}\n * or {@link ng.directive:ngClick ngClick} directives.\n * This is because of the following form submission rules in the HTML specification:\n *\n * - If a form has only one input field then hitting enter in this field triggers form submit\n * (`ngSubmit`)\n * - if a form has 2+ input fields and no buttons or input[type=submit] then hitting enter\n * doesn't trigger submit\n * - if a form has one or more input fields and one or more buttons or input[type=submit] then\n * hitting enter in any of the input fields will trigger the click handler on the *first* button or\n * input[type=submit] (`ngClick`) *and* a submit handler on the enclosing form (`ngSubmit`)\n *\n * Any pending `ngModelOptions` changes will take place immediately when an enclosing form is\n * submitted. Note that `ngClick` events will occur before the model is updated. Use `ngSubmit`\n * to have access to the updated model.\n *\n * ## Animation Hooks\n *\n * Animations in ngForm are triggered when any of the associated CSS classes are added and removed.\n * These classes are: `.ng-pristine`, `.ng-dirty`, `.ng-invalid` and `.ng-valid` as well as any\n * other validations that are performed within the form. Animations in ngForm are similar to how\n * they work in ngClass and animations can be hooked into using CSS transitions, keyframes as well\n * as JS animations.\n *\n * The following example shows a simple way to utilize CSS transitions to style a form element\n * that has been rendered as invalid after it has been validated:\n *\n * <pre>\n * //be sure to include ngAnimate as a module to hook into more\n * //advanced animations\n * .my-form {\n *   transition:0.5s linear all;\n *   background: white;\n * }\n * .my-form.ng-invalid {\n *   background: red;\n *   color:white;\n * }\n * </pre>\n *\n * @example\n    <example deps=\"angular-animate.js\" animations=\"true\" fixBase=\"true\" module=\"formExample\">\n      <file name=\"index.html\">\n       <script>\n         angular.module('formExample', [])\n           .controller('FormController', ['$scope', function($scope) {\n             $scope.userType = 'guest';\n           }]);\n       </script>\n       <style>\n        .my-form {\n          transition:all linear 0.5s;\n          background: transparent;\n        }\n        .my-form.ng-invalid {\n          background: red;\n        }\n       </style>\n       <form name=\"myForm\" ng-controller=\"FormController\" class=\"my-form\">\n         userType: <input name=\"input\" ng-model=\"userType\" required>\n         <span class=\"error\" ng-show=\"myForm.input.$error.required\">Required!</span><br>\n         <code>userType = {{userType}}</code><br>\n         <code>myForm.input.$valid = {{myForm.input.$valid}}</code><br>\n         <code>myForm.input.$error = {{myForm.input.$error}}</code><br>\n         <code>myForm.$valid = {{myForm.$valid}}</code><br>\n         <code>myForm.$error.required = {{!!myForm.$error.required}}</code><br>\n        </form>\n      </file>\n      <file name=\"protractor.js\" type=\"protractor\">\n        it('should initialize to model', function() {\n          var userType = element(by.binding('userType'));\n          var valid = element(by.binding('myForm.input.$valid'));\n\n          expect(userType.getText()).toContain('guest');\n          expect(valid.getText()).toContain('true');\n        });\n\n        it('should be invalid if empty', function() {\n          var userType = element(by.binding('userType'));\n          var valid = element(by.binding('myForm.input.$valid'));\n          var userInput = element(by.model('userType'));\n\n          userInput.clear();\n          userInput.sendKeys('');\n\n          expect(userType.getText()).toEqual('userType =');\n          expect(valid.getText()).toContain('false');\n        });\n      </file>\n    </example>\n *\n * @param {string=} name Name of the form. If specified, the form controller will be published into\n *                       related scope, under this name.\n */\nvar formDirectiveFactory = function(isNgForm) {\n  return ['$timeout', '$parse', function($timeout, $parse) {\n    var formDirective = {\n      name: 'form',\n      restrict: isNgForm ? 'EAC' : 'E',\n      require: ['form', '^^?form'], //first is the form's own ctrl, second is an optional parent form\n      controller: FormController,\n      compile: function ngFormCompile(formElement, attr) {\n        // Setup initial state of the control\n        formElement.addClass(PRISTINE_CLASS).addClass(VALID_CLASS);\n\n        var nameAttr = attr.name ? 'name' : (isNgForm && attr.ngForm ? 'ngForm' : false);\n\n        return {\n          pre: function ngFormPreLink(scope, formElement, attr, ctrls) {\n            var controller = ctrls[0];\n\n            // if `action` attr is not present on the form, prevent the default action (submission)\n            if (!('action' in attr)) {\n              // we can't use jq events because if a form is destroyed during submission the default\n              // action is not prevented. see #1238\n              //\n              // IE 9 is not affected because it doesn't fire a submit event and try to do a full\n              // page reload if the form was destroyed by submission of the form via a click handler\n              // on a button in the form. Looks like an IE9 specific bug.\n              var handleFormSubmission = function(event) {\n                scope.$apply(function() {\n                  controller.$commitViewValue();\n                  controller.$setSubmitted();\n                });\n\n                event.preventDefault();\n              };\n\n              addEventListenerFn(formElement[0], 'submit', handleFormSubmission);\n\n              // unregister the preventDefault listener so that we don't not leak memory but in a\n              // way that will achieve the prevention of the default action.\n              formElement.on('$destroy', function() {\n                $timeout(function() {\n                  removeEventListenerFn(formElement[0], 'submit', handleFormSubmission);\n                }, 0, false);\n              });\n            }\n\n            var parentFormCtrl = ctrls[1] || controller.$$parentForm;\n            parentFormCtrl.$addControl(controller);\n\n            var setter = nameAttr ? getSetter(controller.$name) : noop;\n\n            if (nameAttr) {\n              setter(scope, controller);\n              attr.$observe(nameAttr, function(newValue) {\n                if (controller.$name === newValue) return;\n                setter(scope, undefined);\n                controller.$$parentForm.$$renameControl(controller, newValue);\n                setter = getSetter(controller.$name);\n                setter(scope, controller);\n              });\n            }\n            formElement.on('$destroy', function() {\n              controller.$$parentForm.$removeControl(controller);\n              setter(scope, undefined);\n              extend(controller, nullFormCtrl); //stop propagating child destruction handlers upwards\n            });\n          }\n        };\n      }\n    };\n\n    return formDirective;\n\n    function getSetter(expression) {\n      if (expression === '') {\n        //create an assignable expression, so forms with an empty name can be renamed later\n        return $parse('this[\"\"]').assign;\n      }\n      return $parse(expression).assign || noop;\n    }\n  }];\n};\n\nvar formDirective = formDirectiveFactory();\nvar ngFormDirective = formDirectiveFactory(true);\n\n/* global VALID_CLASS: false,\n  INVALID_CLASS: false,\n  PRISTINE_CLASS: false,\n  DIRTY_CLASS: false,\n  UNTOUCHED_CLASS: false,\n  TOUCHED_CLASS: false,\n  ngModelMinErr: false,\n*/\n\n// Regex code is obtained from SO: https://stackoverflow.com/questions/3143070/javascript-regex-iso-datetime#answer-3143231\nvar ISO_DATE_REGEXP = /\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d:[0-5]\\d\\.\\d+([+-][0-2]\\d:[0-5]\\d|Z)/;\n// See valid URLs in RFC3987 (http://tools.ietf.org/html/rfc3987)\nvar URL_REGEXP = /^[A-Za-z][A-Za-z\\d.+-]*:\\/*(?:\\w+(?::\\w+)?@)?[^\\s/]+(?::\\d+)?(?:\\/[\\w#!:.?+=&%@\\-/]*)?$/;\nvar EMAIL_REGEXP = /^[a-z0-9!#$%&'*+\\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i;\nvar NUMBER_REGEXP = /^\\s*(\\-|\\+)?(\\d+|(\\d*(\\.\\d*)))([eE][+-]?\\d+)?\\s*$/;\nvar DATE_REGEXP = /^(\\d{4})-(\\d{2})-(\\d{2})$/;\nvar DATETIMELOCAL_REGEXP = /^(\\d{4})-(\\d\\d)-(\\d\\d)T(\\d\\d):(\\d\\d)(?::(\\d\\d)(\\.\\d{1,3})?)?$/;\nvar WEEK_REGEXP = /^(\\d{4})-W(\\d\\d)$/;\nvar MONTH_REGEXP = /^(\\d{4})-(\\d\\d)$/;\nvar TIME_REGEXP = /^(\\d\\d):(\\d\\d)(?::(\\d\\d)(\\.\\d{1,3})?)?$/;\n\nvar inputType = {\n\n  /**\n   * @ngdoc input\n   * @name input[text]\n   *\n   * @description\n   * Standard HTML text input with angular data binding, inherited by most of the `input` elements.\n   *\n   *\n   * @param {string} ngModel Assignable angular expression to data-bind to.\n   * @param {string=} name Property name of the form under which the control is published.\n   * @param {string=} required Adds `required` validation error key if the value is not entered.\n   * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n   *    the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n   *    `required` when you want to data-bind to the `required` attribute.\n   * @param {number=} ngMinlength Sets `minlength` validation error key if the value is shorter than\n   *    minlength.\n   * @param {number=} ngMaxlength Sets `maxlength` validation error key if the value is longer than\n   *    maxlength. Setting the attribute to a negative or non-numeric value, allows view values of\n   *    any length.\n   * @param {string=} pattern Similar to `ngPattern` except that the attribute value is the actual string\n   *    that contains the regular expression body that will be converted to a regular expression\n   *    as in the ngPattern directive.\n   * @param {string=} ngPattern Sets `pattern` validation error key if the ngModel value does not match\n   *    a RegExp found by evaluating the Angular expression given in the attribute value.\n   *    If the expression evaluates to a RegExp object, then this is used directly.\n   *    If the expression evaluates to a string, then it will be converted to a RegExp\n   *    after wrapping it in `^` and `$` characters. For instance, `\"abc\"` will be converted to\n   *    `new RegExp('^abc$')`.<br />\n   *    **Note:** Avoid using the `g` flag on the RegExp, as it will cause each successive search to\n   *    start at the index of the last search's match, thus not taking the whole input value into\n   *    account.\n   * @param {string=} ngChange Angular expression to be executed when input changes due to user\n   *    interaction with the input element.\n   * @param {boolean=} [ngTrim=true] If set to false Angular will not automatically trim the input.\n   *    This parameter is ignored for input[type=password] controls, which will never trim the\n   *    input.\n   *\n   * @example\n      <example name=\"text-input-directive\" module=\"textInputExample\">\n        <file name=\"index.html\">\n         <script>\n           angular.module('textInputExample', [])\n             .controller('ExampleController', ['$scope', function($scope) {\n               $scope.example = {\n                 text: 'guest',\n                 word: /^\\s*\\w*\\s*$/\n               };\n             }]);\n         </script>\n         <form name=\"myForm\" ng-controller=\"ExampleController\">\n           <label>Single word:\n             <input type=\"text\" name=\"input\" ng-model=\"example.text\"\n                    ng-pattern=\"example.word\" required ng-trim=\"false\">\n           </label>\n           <div role=\"alert\">\n             <span class=\"error\" ng-show=\"myForm.input.$error.required\">\n               Required!</span>\n             <span class=\"error\" ng-show=\"myForm.input.$error.pattern\">\n               Single word only!</span>\n           </div>\n           <tt>text = {{example.text}}</tt><br/>\n           <tt>myForm.input.$valid = {{myForm.input.$valid}}</tt><br/>\n           <tt>myForm.input.$error = {{myForm.input.$error}}</tt><br/>\n           <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n           <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n          </form>\n        </file>\n        <file name=\"protractor.js\" type=\"protractor\">\n          var text = element(by.binding('example.text'));\n          var valid = element(by.binding('myForm.input.$valid'));\n          var input = element(by.model('example.text'));\n\n          it('should initialize to model', function() {\n            expect(text.getText()).toContain('guest');\n            expect(valid.getText()).toContain('true');\n          });\n\n          it('should be invalid if empty', function() {\n            input.clear();\n            input.sendKeys('');\n\n            expect(text.getText()).toEqual('text =');\n            expect(valid.getText()).toContain('false');\n          });\n\n          it('should be invalid if multi word', function() {\n            input.clear();\n            input.sendKeys('hello world');\n\n            expect(valid.getText()).toContain('false');\n          });\n        </file>\n      </example>\n   */\n  'text': textInputType,\n\n    /**\n     * @ngdoc input\n     * @name input[date]\n     *\n     * @description\n     * Input with date validation and transformation. In browsers that do not yet support\n     * the HTML5 date input, a text element will be used. In that case, text must be entered in a valid ISO-8601\n     * date format (yyyy-MM-dd), for example: `2009-01-06`. Since many\n     * modern browsers do not yet support this input type, it is important to provide cues to users on the\n     * expected input format via a placeholder or label.\n     *\n     * The model must always be a Date object, otherwise Angular will throw an error.\n     * Invalid `Date` objects (dates whose `getTime()` is `NaN`) will be rendered as an empty string.\n     *\n     * The timezone to be used to read/write the `Date` instance in the model can be defined using\n     * {@link ng.directive:ngModelOptions ngModelOptions}. By default, this is the timezone of the browser.\n     *\n     * @param {string} ngModel Assignable angular expression to data-bind to.\n     * @param {string=} name Property name of the form under which the control is published.\n     * @param {string=} min Sets the `min` validation error key if the value entered is less than `min`. This must be a\n     *   valid ISO date string (yyyy-MM-dd). You can also use interpolation inside this attribute\n     *   (e.g. `min=\"{{minDate | date:'yyyy-MM-dd'}}\"`). Note that `min` will also add native HTML5\n     *   constraint validation.\n     * @param {string=} max Sets the `max` validation error key if the value entered is greater than `max`. This must be\n     *   a valid ISO date string (yyyy-MM-dd). You can also use interpolation inside this attribute\n     *   (e.g. `max=\"{{maxDate | date:'yyyy-MM-dd'}}\"`). Note that `max` will also add native HTML5\n     *   constraint validation.\n     * @param {(date|string)=} ngMin Sets the `min` validation constraint to the Date / ISO date string\n     *   the `ngMin` expression evaluates to. Note that it does not set the `min` attribute.\n     * @param {(date|string)=} ngMax Sets the `max` validation constraint to the Date / ISO date string\n     *   the `ngMax` expression evaluates to. Note that it does not set the `max` attribute.\n     * @param {string=} required Sets `required` validation error key if the value is not entered.\n     * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n     *    the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n     *    `required` when you want to data-bind to the `required` attribute.\n     * @param {string=} ngChange Angular expression to be executed when input changes due to user\n     *    interaction with the input element.\n     *\n     * @example\n     <example name=\"date-input-directive\" module=\"dateInputExample\">\n     <file name=\"index.html\">\n       <script>\n          angular.module('dateInputExample', [])\n            .controller('DateController', ['$scope', function($scope) {\n              $scope.example = {\n                value: new Date(2013, 9, 22)\n              };\n            }]);\n       </script>\n       <form name=\"myForm\" ng-controller=\"DateController as dateCtrl\">\n          <label for=\"exampleInput\">Pick a date in 2013:</label>\n          <input type=\"date\" id=\"exampleInput\" name=\"input\" ng-model=\"example.value\"\n              placeholder=\"yyyy-MM-dd\" min=\"2013-01-01\" max=\"2013-12-31\" required />\n          <div role=\"alert\">\n            <span class=\"error\" ng-show=\"myForm.input.$error.required\">\n                Required!</span>\n            <span class=\"error\" ng-show=\"myForm.input.$error.date\">\n                Not a valid date!</span>\n           </div>\n           <tt>value = {{example.value | date: \"yyyy-MM-dd\"}}</tt><br/>\n           <tt>myForm.input.$valid = {{myForm.input.$valid}}</tt><br/>\n           <tt>myForm.input.$error = {{myForm.input.$error}}</tt><br/>\n           <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n           <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n       </form>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n        var value = element(by.binding('example.value | date: \"yyyy-MM-dd\"'));\n        var valid = element(by.binding('myForm.input.$valid'));\n        var input = element(by.model('example.value'));\n\n        // currently protractor/webdriver does not support\n        // sending keys to all known HTML5 input controls\n        // for various browsers (see https://github.com/angular/protractor/issues/562).\n        function setInput(val) {\n          // set the value of the element and force validation.\n          var scr = \"var ipt = document.getElementById('exampleInput'); \" +\n          \"ipt.value = '\" + val + \"';\" +\n          \"angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('\" + val + \"'); });\";\n          browser.executeScript(scr);\n        }\n\n        it('should initialize to model', function() {\n          expect(value.getText()).toContain('2013-10-22');\n          expect(valid.getText()).toContain('myForm.input.$valid = true');\n        });\n\n        it('should be invalid if empty', function() {\n          setInput('');\n          expect(value.getText()).toEqual('value =');\n          expect(valid.getText()).toContain('myForm.input.$valid = false');\n        });\n\n        it('should be invalid if over max', function() {\n          setInput('2015-01-01');\n          expect(value.getText()).toContain('');\n          expect(valid.getText()).toContain('myForm.input.$valid = false');\n        });\n     </file>\n     </example>\n     */\n  'date': createDateInputType('date', DATE_REGEXP,\n         createDateParser(DATE_REGEXP, ['yyyy', 'MM', 'dd']),\n         'yyyy-MM-dd'),\n\n   /**\n    * @ngdoc input\n    * @name input[datetime-local]\n    *\n    * @description\n    * Input with datetime validation and transformation. In browsers that do not yet support\n    * the HTML5 date input, a text element will be used. In that case, the text must be entered in a valid ISO-8601\n    * local datetime format (yyyy-MM-ddTHH:mm:ss), for example: `2010-12-28T14:57:00`.\n    *\n    * The model must always be a Date object, otherwise Angular will throw an error.\n    * Invalid `Date` objects (dates whose `getTime()` is `NaN`) will be rendered as an empty string.\n    *\n    * The timezone to be used to read/write the `Date` instance in the model can be defined using\n    * {@link ng.directive:ngModelOptions ngModelOptions}. By default, this is the timezone of the browser.\n    *\n    * @param {string} ngModel Assignable angular expression to data-bind to.\n    * @param {string=} name Property name of the form under which the control is published.\n    * @param {string=} min Sets the `min` validation error key if the value entered is less than `min`.\n    *   This must be a valid ISO datetime format (yyyy-MM-ddTHH:mm:ss). You can also use interpolation\n    *   inside this attribute (e.g. `min=\"{{minDatetimeLocal | date:'yyyy-MM-ddTHH:mm:ss'}}\"`).\n    *   Note that `min` will also add native HTML5 constraint validation.\n    * @param {string=} max Sets the `max` validation error key if the value entered is greater than `max`.\n    *   This must be a valid ISO datetime format (yyyy-MM-ddTHH:mm:ss). You can also use interpolation\n    *   inside this attribute (e.g. `max=\"{{maxDatetimeLocal | date:'yyyy-MM-ddTHH:mm:ss'}}\"`).\n    *   Note that `max` will also add native HTML5 constraint validation.\n    * @param {(date|string)=} ngMin Sets the `min` validation error key to the Date / ISO datetime string\n    *   the `ngMin` expression evaluates to. Note that it does not set the `min` attribute.\n    * @param {(date|string)=} ngMax Sets the `max` validation error key to the Date / ISO datetime string\n    *   the `ngMax` expression evaluates to. Note that it does not set the `max` attribute.\n    * @param {string=} required Sets `required` validation error key if the value is not entered.\n    * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n    *    the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n    *    `required` when you want to data-bind to the `required` attribute.\n    * @param {string=} ngChange Angular expression to be executed when input changes due to user\n    *    interaction with the input element.\n    *\n    * @example\n    <example name=\"datetimelocal-input-directive\" module=\"dateExample\">\n    <file name=\"index.html\">\n      <script>\n        angular.module('dateExample', [])\n          .controller('DateController', ['$scope', function($scope) {\n            $scope.example = {\n              value: new Date(2010, 11, 28, 14, 57)\n            };\n          }]);\n      </script>\n      <form name=\"myForm\" ng-controller=\"DateController as dateCtrl\">\n        <label for=\"exampleInput\">Pick a date between in 2013:</label>\n        <input type=\"datetime-local\" id=\"exampleInput\" name=\"input\" ng-model=\"example.value\"\n            placeholder=\"yyyy-MM-ddTHH:mm:ss\" min=\"2001-01-01T00:00:00\" max=\"2013-12-31T00:00:00\" required />\n        <div role=\"alert\">\n          <span class=\"error\" ng-show=\"myForm.input.$error.required\">\n              Required!</span>\n          <span class=\"error\" ng-show=\"myForm.input.$error.datetimelocal\">\n              Not a valid date!</span>\n        </div>\n        <tt>value = {{example.value | date: \"yyyy-MM-ddTHH:mm:ss\"}}</tt><br/>\n        <tt>myForm.input.$valid = {{myForm.input.$valid}}</tt><br/>\n        <tt>myForm.input.$error = {{myForm.input.$error}}</tt><br/>\n        <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n        <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n      </form>\n    </file>\n    <file name=\"protractor.js\" type=\"protractor\">\n      var value = element(by.binding('example.value | date: \"yyyy-MM-ddTHH:mm:ss\"'));\n      var valid = element(by.binding('myForm.input.$valid'));\n      var input = element(by.model('example.value'));\n\n      // currently protractor/webdriver does not support\n      // sending keys to all known HTML5 input controls\n      // for various browsers (https://github.com/angular/protractor/issues/562).\n      function setInput(val) {\n        // set the value of the element and force validation.\n        var scr = \"var ipt = document.getElementById('exampleInput'); \" +\n        \"ipt.value = '\" + val + \"';\" +\n        \"angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('\" + val + \"'); });\";\n        browser.executeScript(scr);\n      }\n\n      it('should initialize to model', function() {\n        expect(value.getText()).toContain('2010-12-28T14:57:00');\n        expect(valid.getText()).toContain('myForm.input.$valid = true');\n      });\n\n      it('should be invalid if empty', function() {\n        setInput('');\n        expect(value.getText()).toEqual('value =');\n        expect(valid.getText()).toContain('myForm.input.$valid = false');\n      });\n\n      it('should be invalid if over max', function() {\n        setInput('2015-01-01T23:59:00');\n        expect(value.getText()).toContain('');\n        expect(valid.getText()).toContain('myForm.input.$valid = false');\n      });\n    </file>\n    </example>\n    */\n  'datetime-local': createDateInputType('datetimelocal', DATETIMELOCAL_REGEXP,\n      createDateParser(DATETIMELOCAL_REGEXP, ['yyyy', 'MM', 'dd', 'HH', 'mm', 'ss', 'sss']),\n      'yyyy-MM-ddTHH:mm:ss.sss'),\n\n  /**\n   * @ngdoc input\n   * @name input[time]\n   *\n   * @description\n   * Input with time validation and transformation. In browsers that do not yet support\n   * the HTML5 date input, a text element will be used. In that case, the text must be entered in a valid ISO-8601\n   * local time format (HH:mm:ss), for example: `14:57:00`. Model must be a Date object. This binding will always output a\n   * Date object to the model of January 1, 1970, or local date `new Date(1970, 0, 1, HH, mm, ss)`.\n   *\n   * The model must always be a Date object, otherwise Angular will throw an error.\n   * Invalid `Date` objects (dates whose `getTime()` is `NaN`) will be rendered as an empty string.\n   *\n   * The timezone to be used to read/write the `Date` instance in the model can be defined using\n   * {@link ng.directive:ngModelOptions ngModelOptions}. By default, this is the timezone of the browser.\n   *\n   * @param {string} ngModel Assignable angular expression to data-bind to.\n   * @param {string=} name Property name of the form under which the control is published.\n   * @param {string=} min Sets the `min` validation error key if the value entered is less than `min`.\n   *   This must be a valid ISO time format (HH:mm:ss). You can also use interpolation inside this\n   *   attribute (e.g. `min=\"{{minTime | date:'HH:mm:ss'}}\"`). Note that `min` will also add\n   *   native HTML5 constraint validation.\n   * @param {string=} max Sets the `max` validation error key if the value entered is greater than `max`.\n   *   This must be a valid ISO time format (HH:mm:ss). You can also use interpolation inside this\n   *   attribute (e.g. `max=\"{{maxTime | date:'HH:mm:ss'}}\"`). Note that `max` will also add\n   *   native HTML5 constraint validation.\n   * @param {(date|string)=} ngMin Sets the `min` validation constraint to the Date / ISO time string the\n   *   `ngMin` expression evaluates to. Note that it does not set the `min` attribute.\n   * @param {(date|string)=} ngMax Sets the `max` validation constraint to the Date / ISO time string the\n   *   `ngMax` expression evaluates to. Note that it does not set the `max` attribute.\n   * @param {string=} required Sets `required` validation error key if the value is not entered.\n   * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n   *    the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n   *    `required` when you want to data-bind to the `required` attribute.\n   * @param {string=} ngChange Angular expression to be executed when input changes due to user\n   *    interaction with the input element.\n   *\n   * @example\n   <example name=\"time-input-directive\" module=\"timeExample\">\n   <file name=\"index.html\">\n     <script>\n      angular.module('timeExample', [])\n        .controller('DateController', ['$scope', function($scope) {\n          $scope.example = {\n            value: new Date(1970, 0, 1, 14, 57, 0)\n          };\n        }]);\n     </script>\n     <form name=\"myForm\" ng-controller=\"DateController as dateCtrl\">\n        <label for=\"exampleInput\">Pick a between 8am and 5pm:</label>\n        <input type=\"time\" id=\"exampleInput\" name=\"input\" ng-model=\"example.value\"\n            placeholder=\"HH:mm:ss\" min=\"08:00:00\" max=\"17:00:00\" required />\n        <div role=\"alert\">\n          <span class=\"error\" ng-show=\"myForm.input.$error.required\">\n              Required!</span>\n          <span class=\"error\" ng-show=\"myForm.input.$error.time\">\n              Not a valid date!</span>\n        </div>\n        <tt>value = {{example.value | date: \"HH:mm:ss\"}}</tt><br/>\n        <tt>myForm.input.$valid = {{myForm.input.$valid}}</tt><br/>\n        <tt>myForm.input.$error = {{myForm.input.$error}}</tt><br/>\n        <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n        <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n     </form>\n   </file>\n   <file name=\"protractor.js\" type=\"protractor\">\n      var value = element(by.binding('example.value | date: \"HH:mm:ss\"'));\n      var valid = element(by.binding('myForm.input.$valid'));\n      var input = element(by.model('example.value'));\n\n      // currently protractor/webdriver does not support\n      // sending keys to all known HTML5 input controls\n      // for various browsers (https://github.com/angular/protractor/issues/562).\n      function setInput(val) {\n        // set the value of the element and force validation.\n        var scr = \"var ipt = document.getElementById('exampleInput'); \" +\n        \"ipt.value = '\" + val + \"';\" +\n        \"angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('\" + val + \"'); });\";\n        browser.executeScript(scr);\n      }\n\n      it('should initialize to model', function() {\n        expect(value.getText()).toContain('14:57:00');\n        expect(valid.getText()).toContain('myForm.input.$valid = true');\n      });\n\n      it('should be invalid if empty', function() {\n        setInput('');\n        expect(value.getText()).toEqual('value =');\n        expect(valid.getText()).toContain('myForm.input.$valid = false');\n      });\n\n      it('should be invalid if over max', function() {\n        setInput('23:59:00');\n        expect(value.getText()).toContain('');\n        expect(valid.getText()).toContain('myForm.input.$valid = false');\n      });\n   </file>\n   </example>\n   */\n  'time': createDateInputType('time', TIME_REGEXP,\n      createDateParser(TIME_REGEXP, ['HH', 'mm', 'ss', 'sss']),\n     'HH:mm:ss.sss'),\n\n   /**\n    * @ngdoc input\n    * @name input[week]\n    *\n    * @description\n    * Input with week-of-the-year validation and transformation to Date. In browsers that do not yet support\n    * the HTML5 week input, a text element will be used. In that case, the text must be entered in a valid ISO-8601\n    * week format (yyyy-W##), for example: `2013-W02`.\n    *\n    * The model must always be a Date object, otherwise Angular will throw an error.\n    * Invalid `Date` objects (dates whose `getTime()` is `NaN`) will be rendered as an empty string.\n    *\n    * The timezone to be used to read/write the `Date` instance in the model can be defined using\n    * {@link ng.directive:ngModelOptions ngModelOptions}. By default, this is the timezone of the browser.\n    *\n    * @param {string} ngModel Assignable angular expression to data-bind to.\n    * @param {string=} name Property name of the form under which the control is published.\n    * @param {string=} min Sets the `min` validation error key if the value entered is less than `min`.\n    *   This must be a valid ISO week format (yyyy-W##). You can also use interpolation inside this\n    *   attribute (e.g. `min=\"{{minWeek | date:'yyyy-Www'}}\"`). Note that `min` will also add\n    *   native HTML5 constraint validation.\n    * @param {string=} max Sets the `max` validation error key if the value entered is greater than `max`.\n    *   This must be a valid ISO week format (yyyy-W##). You can also use interpolation inside this\n    *   attribute (e.g. `max=\"{{maxWeek | date:'yyyy-Www'}}\"`). Note that `max` will also add\n    *   native HTML5 constraint validation.\n    * @param {(date|string)=} ngMin Sets the `min` validation constraint to the Date / ISO week string\n    *   the `ngMin` expression evaluates to. Note that it does not set the `min` attribute.\n    * @param {(date|string)=} ngMax Sets the `max` validation constraint to the Date / ISO week string\n    *   the `ngMax` expression evaluates to. Note that it does not set the `max` attribute.\n    * @param {string=} required Sets `required` validation error key if the value is not entered.\n    * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n    *    the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n    *    `required` when you want to data-bind to the `required` attribute.\n    * @param {string=} ngChange Angular expression to be executed when input changes due to user\n    *    interaction with the input element.\n    *\n    * @example\n    <example name=\"week-input-directive\" module=\"weekExample\">\n    <file name=\"index.html\">\n      <script>\n      angular.module('weekExample', [])\n        .controller('DateController', ['$scope', function($scope) {\n          $scope.example = {\n            value: new Date(2013, 0, 3)\n          };\n        }]);\n      </script>\n      <form name=\"myForm\" ng-controller=\"DateController as dateCtrl\">\n        <label>Pick a date between in 2013:\n          <input id=\"exampleInput\" type=\"week\" name=\"input\" ng-model=\"example.value\"\n                 placeholder=\"YYYY-W##\" min=\"2012-W32\"\n                 max=\"2013-W52\" required />\n        </label>\n        <div role=\"alert\">\n          <span class=\"error\" ng-show=\"myForm.input.$error.required\">\n              Required!</span>\n          <span class=\"error\" ng-show=\"myForm.input.$error.week\">\n              Not a valid date!</span>\n        </div>\n        <tt>value = {{example.value | date: \"yyyy-Www\"}}</tt><br/>\n        <tt>myForm.input.$valid = {{myForm.input.$valid}}</tt><br/>\n        <tt>myForm.input.$error = {{myForm.input.$error}}</tt><br/>\n        <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n        <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n      </form>\n    </file>\n    <file name=\"protractor.js\" type=\"protractor\">\n      var value = element(by.binding('example.value | date: \"yyyy-Www\"'));\n      var valid = element(by.binding('myForm.input.$valid'));\n      var input = element(by.model('example.value'));\n\n      // currently protractor/webdriver does not support\n      // sending keys to all known HTML5 input controls\n      // for various browsers (https://github.com/angular/protractor/issues/562).\n      function setInput(val) {\n        // set the value of the element and force validation.\n        var scr = \"var ipt = document.getElementById('exampleInput'); \" +\n        \"ipt.value = '\" + val + \"';\" +\n        \"angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('\" + val + \"'); });\";\n        browser.executeScript(scr);\n      }\n\n      it('should initialize to model', function() {\n        expect(value.getText()).toContain('2013-W01');\n        expect(valid.getText()).toContain('myForm.input.$valid = true');\n      });\n\n      it('should be invalid if empty', function() {\n        setInput('');\n        expect(value.getText()).toEqual('value =');\n        expect(valid.getText()).toContain('myForm.input.$valid = false');\n      });\n\n      it('should be invalid if over max', function() {\n        setInput('2015-W01');\n        expect(value.getText()).toContain('');\n        expect(valid.getText()).toContain('myForm.input.$valid = false');\n      });\n    </file>\n    </example>\n    */\n  'week': createDateInputType('week', WEEK_REGEXP, weekParser, 'yyyy-Www'),\n\n  /**\n   * @ngdoc input\n   * @name input[month]\n   *\n   * @description\n   * Input with month validation and transformation. In browsers that do not yet support\n   * the HTML5 month input, a text element will be used. In that case, the text must be entered in a valid ISO-8601\n   * month format (yyyy-MM), for example: `2009-01`.\n   *\n   * The model must always be a Date object, otherwise Angular will throw an error.\n   * Invalid `Date` objects (dates whose `getTime()` is `NaN`) will be rendered as an empty string.\n   * If the model is not set to the first of the month, the next view to model update will set it\n   * to the first of the month.\n   *\n   * The timezone to be used to read/write the `Date` instance in the model can be defined using\n   * {@link ng.directive:ngModelOptions ngModelOptions}. By default, this is the timezone of the browser.\n   *\n   * @param {string} ngModel Assignable angular expression to data-bind to.\n   * @param {string=} name Property name of the form under which the control is published.\n   * @param {string=} min Sets the `min` validation error key if the value entered is less than `min`.\n   *   This must be a valid ISO month format (yyyy-MM). You can also use interpolation inside this\n   *   attribute (e.g. `min=\"{{minMonth | date:'yyyy-MM'}}\"`). Note that `min` will also add\n   *   native HTML5 constraint validation.\n   * @param {string=} max Sets the `max` validation error key if the value entered is greater than `max`.\n   *   This must be a valid ISO month format (yyyy-MM). You can also use interpolation inside this\n   *   attribute (e.g. `max=\"{{maxMonth | date:'yyyy-MM'}}\"`). Note that `max` will also add\n   *   native HTML5 constraint validation.\n   * @param {(date|string)=} ngMin Sets the `min` validation constraint to the Date / ISO week string\n   *   the `ngMin` expression evaluates to. Note that it does not set the `min` attribute.\n   * @param {(date|string)=} ngMax Sets the `max` validation constraint to the Date / ISO week string\n   *   the `ngMax` expression evaluates to. Note that it does not set the `max` attribute.\n\n   * @param {string=} required Sets `required` validation error key if the value is not entered.\n   * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n   *    the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n   *    `required` when you want to data-bind to the `required` attribute.\n   * @param {string=} ngChange Angular expression to be executed when input changes due to user\n   *    interaction with the input element.\n   *\n   * @example\n   <example name=\"month-input-directive\" module=\"monthExample\">\n   <file name=\"index.html\">\n     <script>\n      angular.module('monthExample', [])\n        .controller('DateController', ['$scope', function($scope) {\n          $scope.example = {\n            value: new Date(2013, 9, 1)\n          };\n        }]);\n     </script>\n     <form name=\"myForm\" ng-controller=\"DateController as dateCtrl\">\n       <label for=\"exampleInput\">Pick a month in 2013:</label>\n       <input id=\"exampleInput\" type=\"month\" name=\"input\" ng-model=\"example.value\"\n          placeholder=\"yyyy-MM\" min=\"2013-01\" max=\"2013-12\" required />\n       <div role=\"alert\">\n         <span class=\"error\" ng-show=\"myForm.input.$error.required\">\n            Required!</span>\n         <span class=\"error\" ng-show=\"myForm.input.$error.month\">\n            Not a valid month!</span>\n       </div>\n       <tt>value = {{example.value | date: \"yyyy-MM\"}}</tt><br/>\n       <tt>myForm.input.$valid = {{myForm.input.$valid}}</tt><br/>\n       <tt>myForm.input.$error = {{myForm.input.$error}}</tt><br/>\n       <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n       <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n     </form>\n   </file>\n   <file name=\"protractor.js\" type=\"protractor\">\n      var value = element(by.binding('example.value | date: \"yyyy-MM\"'));\n      var valid = element(by.binding('myForm.input.$valid'));\n      var input = element(by.model('example.value'));\n\n      // currently protractor/webdriver does not support\n      // sending keys to all known HTML5 input controls\n      // for various browsers (https://github.com/angular/protractor/issues/562).\n      function setInput(val) {\n        // set the value of the element and force validation.\n        var scr = \"var ipt = document.getElementById('exampleInput'); \" +\n        \"ipt.value = '\" + val + \"';\" +\n        \"angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('\" + val + \"'); });\";\n        browser.executeScript(scr);\n      }\n\n      it('should initialize to model', function() {\n        expect(value.getText()).toContain('2013-10');\n        expect(valid.getText()).toContain('myForm.input.$valid = true');\n      });\n\n      it('should be invalid if empty', function() {\n        setInput('');\n        expect(value.getText()).toEqual('value =');\n        expect(valid.getText()).toContain('myForm.input.$valid = false');\n      });\n\n      it('should be invalid if over max', function() {\n        setInput('2015-01');\n        expect(value.getText()).toContain('');\n        expect(valid.getText()).toContain('myForm.input.$valid = false');\n      });\n   </file>\n   </example>\n   */\n  'month': createDateInputType('month', MONTH_REGEXP,\n     createDateParser(MONTH_REGEXP, ['yyyy', 'MM']),\n     'yyyy-MM'),\n\n  /**\n   * @ngdoc input\n   * @name input[number]\n   *\n   * @description\n   * Text input with number validation and transformation. Sets the `number` validation\n   * error if not a valid number.\n   *\n   * <div class=\"alert alert-warning\">\n   * The model must always be of type `number` otherwise Angular will throw an error.\n   * Be aware that a string containing a number is not enough. See the {@link ngModel:numfmt}\n   * error docs for more information and an example of how to convert your model if necessary.\n   * </div>\n   *\n   * ## Issues with HTML5 constraint validation\n   *\n   * In browsers that follow the\n   * [HTML5 specification](https://html.spec.whatwg.org/multipage/forms.html#number-state-%28type=number%29),\n   * `input[number]` does not work as expected with {@link ngModelOptions `ngModelOptions.allowInvalid`}.\n   * If a non-number is entered in the input, the browser will report the value as an empty string,\n   * which means the view / model values in `ngModel` and subsequently the scope value\n   * will also be an empty string.\n   *\n   *\n   * @param {string} ngModel Assignable angular expression to data-bind to.\n   * @param {string=} name Property name of the form under which the control is published.\n   * @param {string=} min Sets the `min` validation error key if the value entered is less than `min`.\n   * @param {string=} max Sets the `max` validation error key if the value entered is greater than `max`.\n   * @param {string=} required Sets `required` validation error key if the value is not entered.\n   * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n   *    the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n   *    `required` when you want to data-bind to the `required` attribute.\n   * @param {number=} ngMinlength Sets `minlength` validation error key if the value is shorter than\n   *    minlength.\n   * @param {number=} ngMaxlength Sets `maxlength` validation error key if the value is longer than\n   *    maxlength. Setting the attribute to a negative or non-numeric value, allows view values of\n   *    any length.\n   * @param {string=} pattern Similar to `ngPattern` except that the attribute value is the actual string\n   *    that contains the regular expression body that will be converted to a regular expression\n   *    as in the ngPattern directive.\n   * @param {string=} ngPattern Sets `pattern` validation error key if the ngModel value does not match\n   *    a RegExp found by evaluating the Angular expression given in the attribute value.\n   *    If the expression evaluates to a RegExp object, then this is used directly.\n   *    If the expression evaluates to a string, then it will be converted to a RegExp\n   *    after wrapping it in `^` and `$` characters. For instance, `\"abc\"` will be converted to\n   *    `new RegExp('^abc$')`.<br />\n   *    **Note:** Avoid using the `g` flag on the RegExp, as it will cause each successive search to\n   *    start at the index of the last search's match, thus not taking the whole input value into\n   *    account.\n   * @param {string=} ngChange Angular expression to be executed when input changes due to user\n   *    interaction with the input element.\n   *\n   * @example\n      <example name=\"number-input-directive\" module=\"numberExample\">\n        <file name=\"index.html\">\n         <script>\n           angular.module('numberExample', [])\n             .controller('ExampleController', ['$scope', function($scope) {\n               $scope.example = {\n                 value: 12\n               };\n             }]);\n         </script>\n         <form name=\"myForm\" ng-controller=\"ExampleController\">\n           <label>Number:\n             <input type=\"number\" name=\"input\" ng-model=\"example.value\"\n                    min=\"0\" max=\"99\" required>\n          </label>\n           <div role=\"alert\">\n             <span class=\"error\" ng-show=\"myForm.input.$error.required\">\n               Required!</span>\n             <span class=\"error\" ng-show=\"myForm.input.$error.number\">\n               Not valid number!</span>\n           </div>\n           <tt>value = {{example.value}}</tt><br/>\n           <tt>myForm.input.$valid = {{myForm.input.$valid}}</tt><br/>\n           <tt>myForm.input.$error = {{myForm.input.$error}}</tt><br/>\n           <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n           <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n          </form>\n        </file>\n        <file name=\"protractor.js\" type=\"protractor\">\n          var value = element(by.binding('example.value'));\n          var valid = element(by.binding('myForm.input.$valid'));\n          var input = element(by.model('example.value'));\n\n          it('should initialize to model', function() {\n            expect(value.getText()).toContain('12');\n            expect(valid.getText()).toContain('true');\n          });\n\n          it('should be invalid if empty', function() {\n            input.clear();\n            input.sendKeys('');\n            expect(value.getText()).toEqual('value =');\n            expect(valid.getText()).toContain('false');\n          });\n\n          it('should be invalid if over max', function() {\n            input.clear();\n            input.sendKeys('123');\n            expect(value.getText()).toEqual('value =');\n            expect(valid.getText()).toContain('false');\n          });\n        </file>\n      </example>\n   */\n  'number': numberInputType,\n\n\n  /**\n   * @ngdoc input\n   * @name input[url]\n   *\n   * @description\n   * Text input with URL validation. Sets the `url` validation error key if the content is not a\n   * valid URL.\n   *\n   * <div class=\"alert alert-warning\">\n   * **Note:** `input[url]` uses a regex to validate urls that is derived from the regex\n   * used in Chromium. If you need stricter validation, you can use `ng-pattern` or modify\n   * the built-in validators (see the {@link guide/forms Forms guide})\n   * </div>\n   *\n   * @param {string} ngModel Assignable angular expression to data-bind to.\n   * @param {string=} name Property name of the form under which the control is published.\n   * @param {string=} required Sets `required` validation error key if the value is not entered.\n   * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n   *    the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n   *    `required` when you want to data-bind to the `required` attribute.\n   * @param {number=} ngMinlength Sets `minlength` validation error key if the value is shorter than\n   *    minlength.\n   * @param {number=} ngMaxlength Sets `maxlength` validation error key if the value is longer than\n   *    maxlength. Setting the attribute to a negative or non-numeric value, allows view values of\n   *    any length.\n   * @param {string=} pattern Similar to `ngPattern` except that the attribute value is the actual string\n   *    that contains the regular expression body that will be converted to a regular expression\n   *    as in the ngPattern directive.\n   * @param {string=} ngPattern Sets `pattern` validation error key if the ngModel value does not match\n   *    a RegExp found by evaluating the Angular expression given in the attribute value.\n   *    If the expression evaluates to a RegExp object, then this is used directly.\n   *    If the expression evaluates to a string, then it will be converted to a RegExp\n   *    after wrapping it in `^` and `$` characters. For instance, `\"abc\"` will be converted to\n   *    `new RegExp('^abc$')`.<br />\n   *    **Note:** Avoid using the `g` flag on the RegExp, as it will cause each successive search to\n   *    start at the index of the last search's match, thus not taking the whole input value into\n   *    account.\n   * @param {string=} ngChange Angular expression to be executed when input changes due to user\n   *    interaction with the input element.\n   *\n   * @example\n      <example name=\"url-input-directive\" module=\"urlExample\">\n        <file name=\"index.html\">\n         <script>\n           angular.module('urlExample', [])\n             .controller('ExampleController', ['$scope', function($scope) {\n               $scope.url = {\n                 text: 'http://google.com'\n               };\n             }]);\n         </script>\n         <form name=\"myForm\" ng-controller=\"ExampleController\">\n           <label>URL:\n             <input type=\"url\" name=\"input\" ng-model=\"url.text\" required>\n           <label>\n           <div role=\"alert\">\n             <span class=\"error\" ng-show=\"myForm.input.$error.required\">\n               Required!</span>\n             <span class=\"error\" ng-show=\"myForm.input.$error.url\">\n               Not valid url!</span>\n           </div>\n           <tt>text = {{url.text}}</tt><br/>\n           <tt>myForm.input.$valid = {{myForm.input.$valid}}</tt><br/>\n           <tt>myForm.input.$error = {{myForm.input.$error}}</tt><br/>\n           <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n           <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n           <tt>myForm.$error.url = {{!!myForm.$error.url}}</tt><br/>\n          </form>\n        </file>\n        <file name=\"protractor.js\" type=\"protractor\">\n          var text = element(by.binding('url.text'));\n          var valid = element(by.binding('myForm.input.$valid'));\n          var input = element(by.model('url.text'));\n\n          it('should initialize to model', function() {\n            expect(text.getText()).toContain('http://google.com');\n            expect(valid.getText()).toContain('true');\n          });\n\n          it('should be invalid if empty', function() {\n            input.clear();\n            input.sendKeys('');\n\n            expect(text.getText()).toEqual('text =');\n            expect(valid.getText()).toContain('false');\n          });\n\n          it('should be invalid if not url', function() {\n            input.clear();\n            input.sendKeys('box');\n\n            expect(valid.getText()).toContain('false');\n          });\n        </file>\n      </example>\n   */\n  'url': urlInputType,\n\n\n  /**\n   * @ngdoc input\n   * @name input[email]\n   *\n   * @description\n   * Text input with email validation. Sets the `email` validation error key if not a valid email\n   * address.\n   *\n   * <div class=\"alert alert-warning\">\n   * **Note:** `input[email]` uses a regex to validate email addresses that is derived from the regex\n   * used in Chromium. If you need stricter validation (e.g. requiring a top-level domain), you can\n   * use `ng-pattern` or modify the built-in validators (see the {@link guide/forms Forms guide})\n   * </div>\n   *\n   * @param {string} ngModel Assignable angular expression to data-bind to.\n   * @param {string=} name Property name of the form under which the control is published.\n   * @param {string=} required Sets `required` validation error key if the value is not entered.\n   * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n   *    the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n   *    `required` when you want to data-bind to the `required` attribute.\n   * @param {number=} ngMinlength Sets `minlength` validation error key if the value is shorter than\n   *    minlength.\n   * @param {number=} ngMaxlength Sets `maxlength` validation error key if the value is longer than\n   *    maxlength. Setting the attribute to a negative or non-numeric value, allows view values of\n   *    any length.\n   * @param {string=} pattern Similar to `ngPattern` except that the attribute value is the actual string\n   *    that contains the regular expression body that will be converted to a regular expression\n   *    as in the ngPattern directive.\n   * @param {string=} ngPattern Sets `pattern` validation error key if the ngModel value does not match\n   *    a RegExp found by evaluating the Angular expression given in the attribute value.\n   *    If the expression evaluates to a RegExp object, then this is used directly.\n   *    If the expression evaluates to a string, then it will be converted to a RegExp\n   *    after wrapping it in `^` and `$` characters. For instance, `\"abc\"` will be converted to\n   *    `new RegExp('^abc$')`.<br />\n   *    **Note:** Avoid using the `g` flag on the RegExp, as it will cause each successive search to\n   *    start at the index of the last search's match, thus not taking the whole input value into\n   *    account.\n   * @param {string=} ngChange Angular expression to be executed when input changes due to user\n   *    interaction with the input element.\n   *\n   * @example\n      <example name=\"email-input-directive\" module=\"emailExample\">\n        <file name=\"index.html\">\n         <script>\n           angular.module('emailExample', [])\n             .controller('ExampleController', ['$scope', function($scope) {\n               $scope.email = {\n                 text: 'me@example.com'\n               };\n             }]);\n         </script>\n           <form name=\"myForm\" ng-controller=\"ExampleController\">\n             <label>Email:\n               <input type=\"email\" name=\"input\" ng-model=\"email.text\" required>\n             </label>\n             <div role=\"alert\">\n               <span class=\"error\" ng-show=\"myForm.input.$error.required\">\n                 Required!</span>\n               <span class=\"error\" ng-show=\"myForm.input.$error.email\">\n                 Not valid email!</span>\n             </div>\n             <tt>text = {{email.text}}</tt><br/>\n             <tt>myForm.input.$valid = {{myForm.input.$valid}}</tt><br/>\n             <tt>myForm.input.$error = {{myForm.input.$error}}</tt><br/>\n             <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n             <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n             <tt>myForm.$error.email = {{!!myForm.$error.email}}</tt><br/>\n           </form>\n         </file>\n        <file name=\"protractor.js\" type=\"protractor\">\n          var text = element(by.binding('email.text'));\n          var valid = element(by.binding('myForm.input.$valid'));\n          var input = element(by.model('email.text'));\n\n          it('should initialize to model', function() {\n            expect(text.getText()).toContain('me@example.com');\n            expect(valid.getText()).toContain('true');\n          });\n\n          it('should be invalid if empty', function() {\n            input.clear();\n            input.sendKeys('');\n            expect(text.getText()).toEqual('text =');\n            expect(valid.getText()).toContain('false');\n          });\n\n          it('should be invalid if not email', function() {\n            input.clear();\n            input.sendKeys('xxx');\n\n            expect(valid.getText()).toContain('false');\n          });\n        </file>\n      </example>\n   */\n  'email': emailInputType,\n\n\n  /**\n   * @ngdoc input\n   * @name input[radio]\n   *\n   * @description\n   * HTML radio button.\n   *\n   * @param {string} ngModel Assignable angular expression to data-bind to.\n   * @param {string} value The value to which the `ngModel` expression should be set when selected.\n   *    Note that `value` only supports `string` values, i.e. the scope model needs to be a string,\n   *    too. Use `ngValue` if you need complex models (`number`, `object`, ...).\n   * @param {string=} name Property name of the form under which the control is published.\n   * @param {string=} ngChange Angular expression to be executed when input changes due to user\n   *    interaction with the input element.\n   * @param {string} ngValue Angular expression to which `ngModel` will be be set when the radio\n   *    is selected. Should be used instead of the `value` attribute if you need\n   *    a non-string `ngModel` (`boolean`, `array`, ...).\n   *\n   * @example\n      <example name=\"radio-input-directive\" module=\"radioExample\">\n        <file name=\"index.html\">\n         <script>\n           angular.module('radioExample', [])\n             .controller('ExampleController', ['$scope', function($scope) {\n               $scope.color = {\n                 name: 'blue'\n               };\n               $scope.specialValue = {\n                 \"id\": \"12345\",\n                 \"value\": \"green\"\n               };\n             }]);\n         </script>\n         <form name=\"myForm\" ng-controller=\"ExampleController\">\n           <label>\n             <input type=\"radio\" ng-model=\"color.name\" value=\"red\">\n             Red\n           </label><br/>\n           <label>\n             <input type=\"radio\" ng-model=\"color.name\" ng-value=\"specialValue\">\n             Green\n           </label><br/>\n           <label>\n             <input type=\"radio\" ng-model=\"color.name\" value=\"blue\">\n             Blue\n           </label><br/>\n           <tt>color = {{color.name | json}}</tt><br/>\n          </form>\n          Note that `ng-value=\"specialValue\"` sets radio item's value to be the value of `$scope.specialValue`.\n        </file>\n        <file name=\"protractor.js\" type=\"protractor\">\n          it('should change state', function() {\n            var color = element(by.binding('color.name'));\n\n            expect(color.getText()).toContain('blue');\n\n            element.all(by.model('color.name')).get(0).click();\n\n            expect(color.getText()).toContain('red');\n          });\n        </file>\n      </example>\n   */\n  'radio': radioInputType,\n\n\n  /**\n   * @ngdoc input\n   * @name input[checkbox]\n   *\n   * @description\n   * HTML checkbox.\n   *\n   * @param {string} ngModel Assignable angular expression to data-bind to.\n   * @param {string=} name Property name of the form under which the control is published.\n   * @param {expression=} ngTrueValue The value to which the expression should be set when selected.\n   * @param {expression=} ngFalseValue The value to which the expression should be set when not selected.\n   * @param {string=} ngChange Angular expression to be executed when input changes due to user\n   *    interaction with the input element.\n   *\n   * @example\n      <example name=\"checkbox-input-directive\" module=\"checkboxExample\">\n        <file name=\"index.html\">\n         <script>\n           angular.module('checkboxExample', [])\n             .controller('ExampleController', ['$scope', function($scope) {\n               $scope.checkboxModel = {\n                value1 : true,\n                value2 : 'YES'\n              };\n             }]);\n         </script>\n         <form name=\"myForm\" ng-controller=\"ExampleController\">\n           <label>Value1:\n             <input type=\"checkbox\" ng-model=\"checkboxModel.value1\">\n           </label><br/>\n           <label>Value2:\n             <input type=\"checkbox\" ng-model=\"checkboxModel.value2\"\n                    ng-true-value=\"'YES'\" ng-false-value=\"'NO'\">\n            </label><br/>\n           <tt>value1 = {{checkboxModel.value1}}</tt><br/>\n           <tt>value2 = {{checkboxModel.value2}}</tt><br/>\n          </form>\n        </file>\n        <file name=\"protractor.js\" type=\"protractor\">\n          it('should change state', function() {\n            var value1 = element(by.binding('checkboxModel.value1'));\n            var value2 = element(by.binding('checkboxModel.value2'));\n\n            expect(value1.getText()).toContain('true');\n            expect(value2.getText()).toContain('YES');\n\n            element(by.model('checkboxModel.value1')).click();\n            element(by.model('checkboxModel.value2')).click();\n\n            expect(value1.getText()).toContain('false');\n            expect(value2.getText()).toContain('NO');\n          });\n        </file>\n      </example>\n   */\n  'checkbox': checkboxInputType,\n\n  'hidden': noop,\n  'button': noop,\n  'submit': noop,\n  'reset': noop,\n  'file': noop\n};\n\nfunction stringBasedInputType(ctrl) {\n  ctrl.$formatters.push(function(value) {\n    return ctrl.$isEmpty(value) ? value : value.toString();\n  });\n}\n\nfunction textInputType(scope, element, attr, ctrl, $sniffer, $browser) {\n  baseInputType(scope, element, attr, ctrl, $sniffer, $browser);\n  stringBasedInputType(ctrl);\n}\n\nfunction baseInputType(scope, element, attr, ctrl, $sniffer, $browser) {\n  var type = lowercase(element[0].type);\n\n  // In composition mode, users are still inputing intermediate text buffer,\n  // hold the listener until composition is done.\n  // More about composition events: https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent\n  if (!$sniffer.android) {\n    var composing = false;\n\n    element.on('compositionstart', function(data) {\n      composing = true;\n    });\n\n    element.on('compositionend', function() {\n      composing = false;\n      listener();\n    });\n  }\n\n  var listener = function(ev) {\n    if (timeout) {\n      $browser.defer.cancel(timeout);\n      timeout = null;\n    }\n    if (composing) return;\n    var value = element.val(),\n        event = ev && ev.type;\n\n    // By default we will trim the value\n    // If the attribute ng-trim exists we will avoid trimming\n    // If input type is 'password', the value is never trimmed\n    if (type !== 'password' && (!attr.ngTrim || attr.ngTrim !== 'false')) {\n      value = trim(value);\n    }\n\n    // If a control is suffering from bad input (due to native validators), browsers discard its\n    // value, so it may be necessary to revalidate (by calling $setViewValue again) even if the\n    // control's value is the same empty value twice in a row.\n    if (ctrl.$viewValue !== value || (value === '' && ctrl.$$hasNativeValidators)) {\n      ctrl.$setViewValue(value, event);\n    }\n  };\n\n  // if the browser does support \"input\" event, we are fine - except on IE9 which doesn't fire the\n  // input event on backspace, delete or cut\n  if ($sniffer.hasEvent('input')) {\n    element.on('input', listener);\n  } else {\n    var timeout;\n\n    var deferListener = function(ev, input, origValue) {\n      if (!timeout) {\n        timeout = $browser.defer(function() {\n          timeout = null;\n          if (!input || input.value !== origValue) {\n            listener(ev);\n          }\n        });\n      }\n    };\n\n    element.on('keydown', function(event) {\n      var key = event.keyCode;\n\n      // ignore\n      //    command            modifiers                   arrows\n      if (key === 91 || (15 < key && key < 19) || (37 <= key && key <= 40)) return;\n\n      deferListener(event, this, this.value);\n    });\n\n    // if user modifies input value using context menu in IE, we need \"paste\" and \"cut\" events to catch it\n    if ($sniffer.hasEvent('paste')) {\n      element.on('paste cut', deferListener);\n    }\n  }\n\n  // if user paste into input using mouse on older browser\n  // or form autocomplete on newer browser, we need \"change\" event to catch it\n  element.on('change', listener);\n\n  ctrl.$render = function() {\n    // Workaround for Firefox validation #12102.\n    var value = ctrl.$isEmpty(ctrl.$viewValue) ? '' : ctrl.$viewValue;\n    if (element.val() !== value) {\n      element.val(value);\n    }\n  };\n}\n\nfunction weekParser(isoWeek, existingDate) {\n  if (isDate(isoWeek)) {\n    return isoWeek;\n  }\n\n  if (isString(isoWeek)) {\n    WEEK_REGEXP.lastIndex = 0;\n    var parts = WEEK_REGEXP.exec(isoWeek);\n    if (parts) {\n      var year = +parts[1],\n          week = +parts[2],\n          hours = 0,\n          minutes = 0,\n          seconds = 0,\n          milliseconds = 0,\n          firstThurs = getFirstThursdayOfYear(year),\n          addDays = (week - 1) * 7;\n\n      if (existingDate) {\n        hours = existingDate.getHours();\n        minutes = existingDate.getMinutes();\n        seconds = existingDate.getSeconds();\n        milliseconds = existingDate.getMilliseconds();\n      }\n\n      return new Date(year, 0, firstThurs.getDate() + addDays, hours, minutes, seconds, milliseconds);\n    }\n  }\n\n  return NaN;\n}\n\nfunction createDateParser(regexp, mapping) {\n  return function(iso, date) {\n    var parts, map;\n\n    if (isDate(iso)) {\n      return iso;\n    }\n\n    if (isString(iso)) {\n      // When a date is JSON'ified to wraps itself inside of an extra\n      // set of double quotes. This makes the date parsing code unable\n      // to match the date string and parse it as a date.\n      if (iso.charAt(0) == '\"' && iso.charAt(iso.length - 1) == '\"') {\n        iso = iso.substring(1, iso.length - 1);\n      }\n      if (ISO_DATE_REGEXP.test(iso)) {\n        return new Date(iso);\n      }\n      regexp.lastIndex = 0;\n      parts = regexp.exec(iso);\n\n      if (parts) {\n        parts.shift();\n        if (date) {\n          map = {\n            yyyy: date.getFullYear(),\n            MM: date.getMonth() + 1,\n            dd: date.getDate(),\n            HH: date.getHours(),\n            mm: date.getMinutes(),\n            ss: date.getSeconds(),\n            sss: date.getMilliseconds() / 1000\n          };\n        } else {\n          map = { yyyy: 1970, MM: 1, dd: 1, HH: 0, mm: 0, ss: 0, sss: 0 };\n        }\n\n        forEach(parts, function(part, index) {\n          if (index < mapping.length) {\n            map[mapping[index]] = +part;\n          }\n        });\n        return new Date(map.yyyy, map.MM - 1, map.dd, map.HH, map.mm, map.ss || 0, map.sss * 1000 || 0);\n      }\n    }\n\n    return NaN;\n  };\n}\n\nfunction createDateInputType(type, regexp, parseDate, format) {\n  return function dynamicDateInputType(scope, element, attr, ctrl, $sniffer, $browser, $filter) {\n    badInputChecker(scope, element, attr, ctrl);\n    baseInputType(scope, element, attr, ctrl, $sniffer, $browser);\n    var timezone = ctrl && ctrl.$options && ctrl.$options.timezone;\n    var previousDate;\n\n    ctrl.$$parserName = type;\n    ctrl.$parsers.push(function(value) {\n      if (ctrl.$isEmpty(value)) return null;\n      if (regexp.test(value)) {\n        // Note: We cannot read ctrl.$modelValue, as there might be a different\n        // parser/formatter in the processing chain so that the model\n        // contains some different data format!\n        var parsedDate = parseDate(value, previousDate);\n        if (timezone) {\n          parsedDate = convertTimezoneToLocal(parsedDate, timezone);\n        }\n        return parsedDate;\n      }\n      return undefined;\n    });\n\n    ctrl.$formatters.push(function(value) {\n      if (value && !isDate(value)) {\n        throw ngModelMinErr('datefmt', 'Expected `{0}` to be a date', value);\n      }\n      if (isValidDate(value)) {\n        previousDate = value;\n        if (previousDate && timezone) {\n          previousDate = convertTimezoneToLocal(previousDate, timezone, true);\n        }\n        return $filter('date')(value, format, timezone);\n      } else {\n        previousDate = null;\n        return '';\n      }\n    });\n\n    if (isDefined(attr.min) || attr.ngMin) {\n      var minVal;\n      ctrl.$validators.min = function(value) {\n        return !isValidDate(value) || isUndefined(minVal) || parseDate(value) >= minVal;\n      };\n      attr.$observe('min', function(val) {\n        minVal = parseObservedDateValue(val);\n        ctrl.$validate();\n      });\n    }\n\n    if (isDefined(attr.max) || attr.ngMax) {\n      var maxVal;\n      ctrl.$validators.max = function(value) {\n        return !isValidDate(value) || isUndefined(maxVal) || parseDate(value) <= maxVal;\n      };\n      attr.$observe('max', function(val) {\n        maxVal = parseObservedDateValue(val);\n        ctrl.$validate();\n      });\n    }\n\n    function isValidDate(value) {\n      // Invalid Date: getTime() returns NaN\n      return value && !(value.getTime && value.getTime() !== value.getTime());\n    }\n\n    function parseObservedDateValue(val) {\n      return isDefined(val) && !isDate(val) ? parseDate(val) || undefined : val;\n    }\n  };\n}\n\nfunction badInputChecker(scope, element, attr, ctrl) {\n  var node = element[0];\n  var nativeValidation = ctrl.$$hasNativeValidators = isObject(node.validity);\n  if (nativeValidation) {\n    ctrl.$parsers.push(function(value) {\n      var validity = element.prop(VALIDITY_STATE_PROPERTY) || {};\n      // Detect bug in FF35 for input[email] (https://bugzilla.mozilla.org/show_bug.cgi?id=1064430):\n      // - also sets validity.badInput (should only be validity.typeMismatch).\n      // - see http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#e-mail-state-(type=email)\n      // - can ignore this case as we can still read out the erroneous email...\n      return validity.badInput && !validity.typeMismatch ? undefined : value;\n    });\n  }\n}\n\nfunction numberInputType(scope, element, attr, ctrl, $sniffer, $browser) {\n  badInputChecker(scope, element, attr, ctrl);\n  baseInputType(scope, element, attr, ctrl, $sniffer, $browser);\n\n  ctrl.$$parserName = 'number';\n  ctrl.$parsers.push(function(value) {\n    if (ctrl.$isEmpty(value))      return null;\n    if (NUMBER_REGEXP.test(value)) return parseFloat(value);\n    return undefined;\n  });\n\n  ctrl.$formatters.push(function(value) {\n    if (!ctrl.$isEmpty(value)) {\n      if (!isNumber(value)) {\n        throw ngModelMinErr('numfmt', 'Expected `{0}` to be a number', value);\n      }\n      value = value.toString();\n    }\n    return value;\n  });\n\n  if (isDefined(attr.min) || attr.ngMin) {\n    var minVal;\n    ctrl.$validators.min = function(value) {\n      return ctrl.$isEmpty(value) || isUndefined(minVal) || value >= minVal;\n    };\n\n    attr.$observe('min', function(val) {\n      if (isDefined(val) && !isNumber(val)) {\n        val = parseFloat(val, 10);\n      }\n      minVal = isNumber(val) && !isNaN(val) ? val : undefined;\n      // TODO(matsko): implement validateLater to reduce number of validations\n      ctrl.$validate();\n    });\n  }\n\n  if (isDefined(attr.max) || attr.ngMax) {\n    var maxVal;\n    ctrl.$validators.max = function(value) {\n      return ctrl.$isEmpty(value) || isUndefined(maxVal) || value <= maxVal;\n    };\n\n    attr.$observe('max', function(val) {\n      if (isDefined(val) && !isNumber(val)) {\n        val = parseFloat(val, 10);\n      }\n      maxVal = isNumber(val) && !isNaN(val) ? val : undefined;\n      // TODO(matsko): implement validateLater to reduce number of validations\n      ctrl.$validate();\n    });\n  }\n}\n\nfunction urlInputType(scope, element, attr, ctrl, $sniffer, $browser) {\n  // Note: no badInputChecker here by purpose as `url` is only a validation\n  // in browsers, i.e. we can always read out input.value even if it is not valid!\n  baseInputType(scope, element, attr, ctrl, $sniffer, $browser);\n  stringBasedInputType(ctrl);\n\n  ctrl.$$parserName = 'url';\n  ctrl.$validators.url = function(modelValue, viewValue) {\n    var value = modelValue || viewValue;\n    return ctrl.$isEmpty(value) || URL_REGEXP.test(value);\n  };\n}\n\nfunction emailInputType(scope, element, attr, ctrl, $sniffer, $browser) {\n  // Note: no badInputChecker here by purpose as `url` is only a validation\n  // in browsers, i.e. we can always read out input.value even if it is not valid!\n  baseInputType(scope, element, attr, ctrl, $sniffer, $browser);\n  stringBasedInputType(ctrl);\n\n  ctrl.$$parserName = 'email';\n  ctrl.$validators.email = function(modelValue, viewValue) {\n    var value = modelValue || viewValue;\n    return ctrl.$isEmpty(value) || EMAIL_REGEXP.test(value);\n  };\n}\n\nfunction radioInputType(scope, element, attr, ctrl) {\n  // make the name unique, if not defined\n  if (isUndefined(attr.name)) {\n    element.attr('name', nextUid());\n  }\n\n  var listener = function(ev) {\n    if (element[0].checked) {\n      ctrl.$setViewValue(attr.value, ev && ev.type);\n    }\n  };\n\n  element.on('click', listener);\n\n  ctrl.$render = function() {\n    var value = attr.value;\n    element[0].checked = (value == ctrl.$viewValue);\n  };\n\n  attr.$observe('value', ctrl.$render);\n}\n\nfunction parseConstantExpr($parse, context, name, expression, fallback) {\n  var parseFn;\n  if (isDefined(expression)) {\n    parseFn = $parse(expression);\n    if (!parseFn.constant) {\n      throw ngModelMinErr('constexpr', 'Expected constant expression for `{0}`, but saw ' +\n                                   '`{1}`.', name, expression);\n    }\n    return parseFn(context);\n  }\n  return fallback;\n}\n\nfunction checkboxInputType(scope, element, attr, ctrl, $sniffer, $browser, $filter, $parse) {\n  var trueValue = parseConstantExpr($parse, scope, 'ngTrueValue', attr.ngTrueValue, true);\n  var falseValue = parseConstantExpr($parse, scope, 'ngFalseValue', attr.ngFalseValue, false);\n\n  var listener = function(ev) {\n    ctrl.$setViewValue(element[0].checked, ev && ev.type);\n  };\n\n  element.on('click', listener);\n\n  ctrl.$render = function() {\n    element[0].checked = ctrl.$viewValue;\n  };\n\n  // Override the standard `$isEmpty` because the $viewValue of an empty checkbox is always set to `false`\n  // This is because of the parser below, which compares the `$modelValue` with `trueValue` to convert\n  // it to a boolean.\n  ctrl.$isEmpty = function(value) {\n    return value === false;\n  };\n\n  ctrl.$formatters.push(function(value) {\n    return equals(value, trueValue);\n  });\n\n  ctrl.$parsers.push(function(value) {\n    return value ? trueValue : falseValue;\n  });\n}\n\n\n/**\n * @ngdoc directive\n * @name textarea\n * @restrict E\n *\n * @description\n * HTML textarea element control with angular data-binding. The data-binding and validation\n * properties of this element are exactly the same as those of the\n * {@link ng.directive:input input element}.\n *\n * @param {string} ngModel Assignable angular expression to data-bind to.\n * @param {string=} name Property name of the form under which the control is published.\n * @param {string=} required Sets `required` validation error key if the value is not entered.\n * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n *    the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n *    `required` when you want to data-bind to the `required` attribute.\n * @param {number=} ngMinlength Sets `minlength` validation error key if the value is shorter than\n *    minlength.\n * @param {number=} ngMaxlength Sets `maxlength` validation error key if the value is longer than\n *    maxlength. Setting the attribute to a negative or non-numeric value, allows view values of any\n *    length.\n * @param {string=} ngPattern Sets `pattern` validation error key if the ngModel value does not match\n *    a RegExp found by evaluating the Angular expression given in the attribute value.\n *    If the expression evaluates to a RegExp object, then this is used directly.\n *    If the expression evaluates to a string, then it will be converted to a RegExp\n *    after wrapping it in `^` and `$` characters. For instance, `\"abc\"` will be converted to\n *    `new RegExp('^abc$')`.<br />\n *    **Note:** Avoid using the `g` flag on the RegExp, as it will cause each successive search to\n *    start at the index of the last search's match, thus not taking the whole input value into\n *    account.\n * @param {string=} ngChange Angular expression to be executed when input changes due to user\n *    interaction with the input element.\n * @param {boolean=} [ngTrim=true] If set to false Angular will not automatically trim the input.\n */\n\n\n/**\n * @ngdoc directive\n * @name input\n * @restrict E\n *\n * @description\n * HTML input element control. When used together with {@link ngModel `ngModel`}, it provides data-binding,\n * input state control, and validation.\n * Input control follows HTML5 input types and polyfills the HTML5 validation behavior for older browsers.\n *\n * <div class=\"alert alert-warning\">\n * **Note:** Not every feature offered is available for all input types.\n * Specifically, data binding and event handling via `ng-model` is unsupported for `input[file]`.\n * </div>\n *\n * @param {string} ngModel Assignable angular expression to data-bind to.\n * @param {string=} name Property name of the form under which the control is published.\n * @param {string=} required Sets `required` validation error key if the value is not entered.\n * @param {boolean=} ngRequired Sets `required` attribute if set to true\n * @param {number=} ngMinlength Sets `minlength` validation error key if the value is shorter than\n *    minlength.\n * @param {number=} ngMaxlength Sets `maxlength` validation error key if the value is longer than\n *    maxlength. Setting the attribute to a negative or non-numeric value, allows view values of any\n *    length.\n * @param {string=} ngPattern Sets `pattern` validation error key if the ngModel value does not match\n *    a RegExp found by evaluating the Angular expression given in the attribute value.\n *    If the expression evaluates to a RegExp object, then this is used directly.\n *    If the expression evaluates to a string, then it will be converted to a RegExp\n *    after wrapping it in `^` and `$` characters. For instance, `\"abc\"` will be converted to\n *    `new RegExp('^abc$')`.<br />\n *    **Note:** Avoid using the `g` flag on the RegExp, as it will cause each successive search to\n *    start at the index of the last search's match, thus not taking the whole input value into\n *    account.\n * @param {string=} ngChange Angular expression to be executed when input changes due to user\n *    interaction with the input element.\n * @param {boolean=} [ngTrim=true] If set to false Angular will not automatically trim the input.\n *    This parameter is ignored for input[type=password] controls, which will never trim the\n *    input.\n *\n * @example\n    <example name=\"input-directive\" module=\"inputExample\">\n      <file name=\"index.html\">\n       <script>\n          angular.module('inputExample', [])\n            .controller('ExampleController', ['$scope', function($scope) {\n              $scope.user = {name: 'guest', last: 'visitor'};\n            }]);\n       </script>\n       <div ng-controller=\"ExampleController\">\n         <form name=\"myForm\">\n           <label>\n              User name:\n              <input type=\"text\" name=\"userName\" ng-model=\"user.name\" required>\n           </label>\n           <div role=\"alert\">\n             <span class=\"error\" ng-show=\"myForm.userName.$error.required\">\n              Required!</span>\n           </div>\n           <label>\n              Last name:\n              <input type=\"text\" name=\"lastName\" ng-model=\"user.last\"\n              ng-minlength=\"3\" ng-maxlength=\"10\">\n           </label>\n           <div role=\"alert\">\n             <span class=\"error\" ng-show=\"myForm.lastName.$error.minlength\">\n               Too short!</span>\n             <span class=\"error\" ng-show=\"myForm.lastName.$error.maxlength\">\n               Too long!</span>\n           </div>\n         </form>\n         <hr>\n         <tt>user = {{user}}</tt><br/>\n         <tt>myForm.userName.$valid = {{myForm.userName.$valid}}</tt><br/>\n         <tt>myForm.userName.$error = {{myForm.userName.$error}}</tt><br/>\n         <tt>myForm.lastName.$valid = {{myForm.lastName.$valid}}</tt><br/>\n         <tt>myForm.lastName.$error = {{myForm.lastName.$error}}</tt><br/>\n         <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n         <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n         <tt>myForm.$error.minlength = {{!!myForm.$error.minlength}}</tt><br/>\n         <tt>myForm.$error.maxlength = {{!!myForm.$error.maxlength}}</tt><br/>\n       </div>\n      </file>\n      <file name=\"protractor.js\" type=\"protractor\">\n        var user = element(by.exactBinding('user'));\n        var userNameValid = element(by.binding('myForm.userName.$valid'));\n        var lastNameValid = element(by.binding('myForm.lastName.$valid'));\n        var lastNameError = element(by.binding('myForm.lastName.$error'));\n        var formValid = element(by.binding('myForm.$valid'));\n        var userNameInput = element(by.model('user.name'));\n        var userLastInput = element(by.model('user.last'));\n\n        it('should initialize to model', function() {\n          expect(user.getText()).toContain('{\"name\":\"guest\",\"last\":\"visitor\"}');\n          expect(userNameValid.getText()).toContain('true');\n          expect(formValid.getText()).toContain('true');\n        });\n\n        it('should be invalid if empty when required', function() {\n          userNameInput.clear();\n          userNameInput.sendKeys('');\n\n          expect(user.getText()).toContain('{\"last\":\"visitor\"}');\n          expect(userNameValid.getText()).toContain('false');\n          expect(formValid.getText()).toContain('false');\n        });\n\n        it('should be valid if empty when min length is set', function() {\n          userLastInput.clear();\n          userLastInput.sendKeys('');\n\n          expect(user.getText()).toContain('{\"name\":\"guest\",\"last\":\"\"}');\n          expect(lastNameValid.getText()).toContain('true');\n          expect(formValid.getText()).toContain('true');\n        });\n\n        it('should be invalid if less than required min length', function() {\n          userLastInput.clear();\n          userLastInput.sendKeys('xx');\n\n          expect(user.getText()).toContain('{\"name\":\"guest\"}');\n          expect(lastNameValid.getText()).toContain('false');\n          expect(lastNameError.getText()).toContain('minlength');\n          expect(formValid.getText()).toContain('false');\n        });\n\n        it('should be invalid if longer than max length', function() {\n          userLastInput.clear();\n          userLastInput.sendKeys('some ridiculously long name');\n\n          expect(user.getText()).toContain('{\"name\":\"guest\"}');\n          expect(lastNameValid.getText()).toContain('false');\n          expect(lastNameError.getText()).toContain('maxlength');\n          expect(formValid.getText()).toContain('false');\n        });\n      </file>\n    </example>\n */\nvar inputDirective = ['$browser', '$sniffer', '$filter', '$parse',\n    function($browser, $sniffer, $filter, $parse) {\n  return {\n    restrict: 'E',\n    require: ['?ngModel'],\n    link: {\n      pre: function(scope, element, attr, ctrls) {\n        if (ctrls[0]) {\n          (inputType[lowercase(attr.type)] || inputType.text)(scope, element, attr, ctrls[0], $sniffer,\n                                                              $browser, $filter, $parse);\n        }\n      }\n    }\n  };\n}];\n\n\n\nvar CONSTANT_VALUE_REGEXP = /^(true|false|\\d+)$/;\n/**\n * @ngdoc directive\n * @name ngValue\n *\n * @description\n * Binds the given expression to the value of `<option>` or {@link input[radio] `input[radio]`},\n * so that when the element is selected, the {@link ngModel `ngModel`} of that element is set to\n * the bound value.\n *\n * `ngValue` is useful when dynamically generating lists of radio buttons using\n * {@link ngRepeat `ngRepeat`}, as shown below.\n *\n * Likewise, `ngValue` can be used to generate `<option>` elements for\n * the {@link select `select`} element. In that case however, only strings are supported\n * for the `value `attribute, so the resulting `ngModel` will always be a string.\n * Support for `select` models with non-string values is available via `ngOptions`.\n *\n * @element input\n * @param {string=} ngValue angular expression, whose value will be bound to the `value` attribute\n *   of the `input` element\n *\n * @example\n    <example name=\"ngValue-directive\" module=\"valueExample\">\n      <file name=\"index.html\">\n       <script>\n          angular.module('valueExample', [])\n            .controller('ExampleController', ['$scope', function($scope) {\n              $scope.names = ['pizza', 'unicorns', 'robots'];\n              $scope.my = { favorite: 'unicorns' };\n            }]);\n       </script>\n        <form ng-controller=\"ExampleController\">\n          <h2>Which is your favorite?</h2>\n            <label ng-repeat=\"name in names\" for=\"{{name}}\">\n              {{name}}\n              <input type=\"radio\"\n                     ng-model=\"my.favorite\"\n                     ng-value=\"name\"\n                     id=\"{{name}}\"\n                     name=\"favorite\">\n            </label>\n          <div>You chose {{my.favorite}}</div>\n        </form>\n      </file>\n      <file name=\"protractor.js\" type=\"protractor\">\n        var favorite = element(by.binding('my.favorite'));\n\n        it('should initialize to model', function() {\n          expect(favorite.getText()).toContain('unicorns');\n        });\n        it('should bind the values to the inputs', function() {\n          element.all(by.model('my.favorite')).get(0).click();\n          expect(favorite.getText()).toContain('pizza');\n        });\n      </file>\n    </example>\n */\nvar ngValueDirective = function() {\n  return {\n    restrict: 'A',\n    priority: 100,\n    compile: function(tpl, tplAttr) {\n      if (CONSTANT_VALUE_REGEXP.test(tplAttr.ngValue)) {\n        return function ngValueConstantLink(scope, elm, attr) {\n          attr.$set('value', scope.$eval(attr.ngValue));\n        };\n      } else {\n        return function ngValueLink(scope, elm, attr) {\n          scope.$watch(attr.ngValue, function valueWatchAction(value) {\n            attr.$set('value', value);\n          });\n        };\n      }\n    }\n  };\n};\n\n/**\n * @ngdoc directive\n * @name ngBind\n * @restrict AC\n *\n * @description\n * The `ngBind` attribute tells Angular to replace the text content of the specified HTML element\n * with the value of a given expression, and to update the text content when the value of that\n * expression changes.\n *\n * Typically, you don't use `ngBind` directly, but instead you use the double curly markup like\n * `{{ expression }}` which is similar but less verbose.\n *\n * It is preferable to use `ngBind` instead of `{{ expression }}` if a template is momentarily\n * displayed by the browser in its raw state before Angular compiles it. Since `ngBind` is an\n * element attribute, it makes the bindings invisible to the user while the page is loading.\n *\n * An alternative solution to this problem would be using the\n * {@link ng.directive:ngCloak ngCloak} directive.\n *\n *\n * @element ANY\n * @param {expression} ngBind {@link guide/expression Expression} to evaluate.\n *\n * @example\n * Enter a name in the Live Preview text box; the greeting below the text box changes instantly.\n   <example module=\"bindExample\">\n     <file name=\"index.html\">\n       <script>\n         angular.module('bindExample', [])\n           .controller('ExampleController', ['$scope', function($scope) {\n             $scope.name = 'Whirled';\n           }]);\n       </script>\n       <div ng-controller=\"ExampleController\">\n         <label>Enter name: <input type=\"text\" ng-model=\"name\"></label><br>\n         Hello <span ng-bind=\"name\"></span>!\n       </div>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       it('should check ng-bind', function() {\n         var nameInput = element(by.model('name'));\n\n         expect(element(by.binding('name')).getText()).toBe('Whirled');\n         nameInput.clear();\n         nameInput.sendKeys('world');\n         expect(element(by.binding('name')).getText()).toBe('world');\n       });\n     </file>\n   </example>\n */\nvar ngBindDirective = ['$compile', function($compile) {\n  return {\n    restrict: 'AC',\n    compile: function ngBindCompile(templateElement) {\n      $compile.$$addBindingClass(templateElement);\n      return function ngBindLink(scope, element, attr) {\n        $compile.$$addBindingInfo(element, attr.ngBind);\n        element = element[0];\n        scope.$watch(attr.ngBind, function ngBindWatchAction(value) {\n          element.textContent = isUndefined(value) ? '' : value;\n        });\n      };\n    }\n  };\n}];\n\n\n/**\n * @ngdoc directive\n * @name ngBindTemplate\n *\n * @description\n * The `ngBindTemplate` directive specifies that the element\n * text content should be replaced with the interpolation of the template\n * in the `ngBindTemplate` attribute.\n * Unlike `ngBind`, the `ngBindTemplate` can contain multiple `{{` `}}`\n * expressions. This directive is needed since some HTML elements\n * (such as TITLE and OPTION) cannot contain SPAN elements.\n *\n * @element ANY\n * @param {string} ngBindTemplate template of form\n *   <tt>{{</tt> <tt>expression</tt> <tt>}}</tt> to eval.\n *\n * @example\n * Try it here: enter text in text box and watch the greeting change.\n   <example module=\"bindExample\">\n     <file name=\"index.html\">\n       <script>\n         angular.module('bindExample', [])\n           .controller('ExampleController', ['$scope', function($scope) {\n             $scope.salutation = 'Hello';\n             $scope.name = 'World';\n           }]);\n       </script>\n       <div ng-controller=\"ExampleController\">\n        <label>Salutation: <input type=\"text\" ng-model=\"salutation\"></label><br>\n        <label>Name: <input type=\"text\" ng-model=\"name\"></label><br>\n        <pre ng-bind-template=\"{{salutation}} {{name}}!\"></pre>\n       </div>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       it('should check ng-bind', function() {\n         var salutationElem = element(by.binding('salutation'));\n         var salutationInput = element(by.model('salutation'));\n         var nameInput = element(by.model('name'));\n\n         expect(salutationElem.getText()).toBe('Hello World!');\n\n         salutationInput.clear();\n         salutationInput.sendKeys('Greetings');\n         nameInput.clear();\n         nameInput.sendKeys('user');\n\n         expect(salutationElem.getText()).toBe('Greetings user!');\n       });\n     </file>\n   </example>\n */\nvar ngBindTemplateDirective = ['$interpolate', '$compile', function($interpolate, $compile) {\n  return {\n    compile: function ngBindTemplateCompile(templateElement) {\n      $compile.$$addBindingClass(templateElement);\n      return function ngBindTemplateLink(scope, element, attr) {\n        var interpolateFn = $interpolate(element.attr(attr.$attr.ngBindTemplate));\n        $compile.$$addBindingInfo(element, interpolateFn.expressions);\n        element = element[0];\n        attr.$observe('ngBindTemplate', function(value) {\n          element.textContent = isUndefined(value) ? '' : value;\n        });\n      };\n    }\n  };\n}];\n\n\n/**\n * @ngdoc directive\n * @name ngBindHtml\n *\n * @description\n * Evaluates the expression and inserts the resulting HTML into the element in a secure way. By default,\n * the resulting HTML content will be sanitized using the {@link ngSanitize.$sanitize $sanitize} service.\n * To utilize this functionality, ensure that `$sanitize` is available, for example, by including {@link\n * ngSanitize} in your module's dependencies (not in core Angular). In order to use {@link ngSanitize}\n * in your module's dependencies, you need to include \"angular-sanitize.js\" in your application.\n *\n * You may also bypass sanitization for values you know are safe. To do so, bind to\n * an explicitly trusted value via {@link ng.$sce#trustAsHtml $sce.trustAsHtml}.  See the example\n * under {@link ng.$sce#show-me-an-example-using-sce- Strict Contextual Escaping (SCE)}.\n *\n * Note: If a `$sanitize` service is unavailable and the bound value isn't explicitly trusted, you\n * will have an exception (instead of an exploit.)\n *\n * @element ANY\n * @param {expression} ngBindHtml {@link guide/expression Expression} to evaluate.\n *\n * @example\n\n   <example module=\"bindHtmlExample\" deps=\"angular-sanitize.js\">\n     <file name=\"index.html\">\n       <div ng-controller=\"ExampleController\">\n        <p ng-bind-html=\"myHTML\"></p>\n       </div>\n     </file>\n\n     <file name=\"script.js\">\n       angular.module('bindHtmlExample', ['ngSanitize'])\n         .controller('ExampleController', ['$scope', function($scope) {\n           $scope.myHTML =\n              'I am an <code>HTML</code>string with ' +\n              '<a href=\"#\">links!</a> and other <em>stuff</em>';\n         }]);\n     </file>\n\n     <file name=\"protractor.js\" type=\"protractor\">\n       it('should check ng-bind-html', function() {\n         expect(element(by.binding('myHTML')).getText()).toBe(\n             'I am an HTMLstring with links! and other stuff');\n       });\n     </file>\n   </example>\n */\nvar ngBindHtmlDirective = ['$sce', '$parse', '$compile', function($sce, $parse, $compile) {\n  return {\n    restrict: 'A',\n    compile: function ngBindHtmlCompile(tElement, tAttrs) {\n      var ngBindHtmlGetter = $parse(tAttrs.ngBindHtml);\n      var ngBindHtmlWatch = $parse(tAttrs.ngBindHtml, function getStringValue(value) {\n        return (value || '').toString();\n      });\n      $compile.$$addBindingClass(tElement);\n\n      return function ngBindHtmlLink(scope, element, attr) {\n        $compile.$$addBindingInfo(element, attr.ngBindHtml);\n\n        scope.$watch(ngBindHtmlWatch, function ngBindHtmlWatchAction() {\n          // we re-evaluate the expr because we want a TrustedValueHolderType\n          // for $sce, not a string\n          element.html($sce.getTrustedHtml(ngBindHtmlGetter(scope)) || '');\n        });\n      };\n    }\n  };\n}];\n\n/**\n * @ngdoc directive\n * @name ngChange\n *\n * @description\n * Evaluate the given expression when the user changes the input.\n * The expression is evaluated immediately, unlike the JavaScript onchange event\n * which only triggers at the end of a change (usually, when the user leaves the\n * form element or presses the return key).\n *\n * The `ngChange` expression is only evaluated when a change in the input value causes\n * a new value to be committed to the model.\n *\n * It will not be evaluated:\n * * if the value returned from the `$parsers` transformation pipeline has not changed\n * * if the input has continued to be invalid since the model will stay `null`\n * * if the model is changed programmatically and not by a change to the input value\n *\n *\n * Note, this directive requires `ngModel` to be present.\n *\n * @element input\n * @param {expression} ngChange {@link guide/expression Expression} to evaluate upon change\n * in input value.\n *\n * @example\n * <example name=\"ngChange-directive\" module=\"changeExample\">\n *   <file name=\"index.html\">\n *     <script>\n *       angular.module('changeExample', [])\n *         .controller('ExampleController', ['$scope', function($scope) {\n *           $scope.counter = 0;\n *           $scope.change = function() {\n *             $scope.counter++;\n *           };\n *         }]);\n *     </script>\n *     <div ng-controller=\"ExampleController\">\n *       <input type=\"checkbox\" ng-model=\"confirmed\" ng-change=\"change()\" id=\"ng-change-example1\" />\n *       <input type=\"checkbox\" ng-model=\"confirmed\" id=\"ng-change-example2\" />\n *       <label for=\"ng-change-example2\">Confirmed</label><br />\n *       <tt>debug = {{confirmed}}</tt><br/>\n *       <tt>counter = {{counter}}</tt><br/>\n *     </div>\n *   </file>\n *   <file name=\"protractor.js\" type=\"protractor\">\n *     var counter = element(by.binding('counter'));\n *     var debug = element(by.binding('confirmed'));\n *\n *     it('should evaluate the expression if changing from view', function() {\n *       expect(counter.getText()).toContain('0');\n *\n *       element(by.id('ng-change-example1')).click();\n *\n *       expect(counter.getText()).toContain('1');\n *       expect(debug.getText()).toContain('true');\n *     });\n *\n *     it('should not evaluate the expression if changing from model', function() {\n *       element(by.id('ng-change-example2')).click();\n\n *       expect(counter.getText()).toContain('0');\n *       expect(debug.getText()).toContain('true');\n *     });\n *   </file>\n * </example>\n */\nvar ngChangeDirective = valueFn({\n  restrict: 'A',\n  require: 'ngModel',\n  link: function(scope, element, attr, ctrl) {\n    ctrl.$viewChangeListeners.push(function() {\n      scope.$eval(attr.ngChange);\n    });\n  }\n});\n\nfunction classDirective(name, selector) {\n  name = 'ngClass' + name;\n  return ['$animate', function($animate) {\n    return {\n      restrict: 'AC',\n      link: function(scope, element, attr) {\n        var oldVal;\n\n        scope.$watch(attr[name], ngClassWatchAction, true);\n\n        attr.$observe('class', function(value) {\n          ngClassWatchAction(scope.$eval(attr[name]));\n        });\n\n\n        if (name !== 'ngClass') {\n          scope.$watch('$index', function($index, old$index) {\n            // jshint bitwise: false\n            var mod = $index & 1;\n            if (mod !== (old$index & 1)) {\n              var classes = arrayClasses(scope.$eval(attr[name]));\n              mod === selector ?\n                addClasses(classes) :\n                removeClasses(classes);\n            }\n          });\n        }\n\n        function addClasses(classes) {\n          var newClasses = digestClassCounts(classes, 1);\n          attr.$addClass(newClasses);\n        }\n\n        function removeClasses(classes) {\n          var newClasses = digestClassCounts(classes, -1);\n          attr.$removeClass(newClasses);\n        }\n\n        function digestClassCounts(classes, count) {\n          // Use createMap() to prevent class assumptions involving property\n          // names in Object.prototype\n          var classCounts = element.data('$classCounts') || createMap();\n          var classesToUpdate = [];\n          forEach(classes, function(className) {\n            if (count > 0 || classCounts[className]) {\n              classCounts[className] = (classCounts[className] || 0) + count;\n              if (classCounts[className] === +(count > 0)) {\n                classesToUpdate.push(className);\n              }\n            }\n          });\n          element.data('$classCounts', classCounts);\n          return classesToUpdate.join(' ');\n        }\n\n        function updateClasses(oldClasses, newClasses) {\n          var toAdd = arrayDifference(newClasses, oldClasses);\n          var toRemove = arrayDifference(oldClasses, newClasses);\n          toAdd = digestClassCounts(toAdd, 1);\n          toRemove = digestClassCounts(toRemove, -1);\n          if (toAdd && toAdd.length) {\n            $animate.addClass(element, toAdd);\n          }\n          if (toRemove && toRemove.length) {\n            $animate.removeClass(element, toRemove);\n          }\n        }\n\n        function ngClassWatchAction(newVal) {\n          if (selector === true || scope.$index % 2 === selector) {\n            var newClasses = arrayClasses(newVal || []);\n            if (!oldVal) {\n              addClasses(newClasses);\n            } else if (!equals(newVal,oldVal)) {\n              var oldClasses = arrayClasses(oldVal);\n              updateClasses(oldClasses, newClasses);\n            }\n          }\n          oldVal = shallowCopy(newVal);\n        }\n      }\n    };\n\n    function arrayDifference(tokens1, tokens2) {\n      var values = [];\n\n      outer:\n      for (var i = 0; i < tokens1.length; i++) {\n        var token = tokens1[i];\n        for (var j = 0; j < tokens2.length; j++) {\n          if (token == tokens2[j]) continue outer;\n        }\n        values.push(token);\n      }\n      return values;\n    }\n\n    function arrayClasses(classVal) {\n      var classes = [];\n      if (isArray(classVal)) {\n        forEach(classVal, function(v) {\n          classes = classes.concat(arrayClasses(v));\n        });\n        return classes;\n      } else if (isString(classVal)) {\n        return classVal.split(' ');\n      } else if (isObject(classVal)) {\n        forEach(classVal, function(v, k) {\n          if (v) {\n            classes = classes.concat(k.split(' '));\n          }\n        });\n        return classes;\n      }\n      return classVal;\n    }\n  }];\n}\n\n/**\n * @ngdoc directive\n * @name ngClass\n * @restrict AC\n *\n * @description\n * The `ngClass` directive allows you to dynamically set CSS classes on an HTML element by databinding\n * an expression that represents all classes to be added.\n *\n * The directive operates in three different ways, depending on which of three types the expression\n * evaluates to:\n *\n * 1. If the expression evaluates to a string, the string should be one or more space-delimited class\n * names.\n *\n * 2. If the expression evaluates to an object, then for each key-value pair of the\n * object with a truthy value the corresponding key is used as a class name.\n *\n * 3. If the expression evaluates to an array, each element of the array should either be a string as in\n * type 1 or an object as in type 2. This means that you can mix strings and objects together in an array\n * to give you more control over what CSS classes appear. See the code below for an example of this.\n *\n *\n * The directive won't add duplicate classes if a particular class was already set.\n *\n * When the expression changes, the previously added classes are removed and only then are the\n * new classes added.\n *\n * @animations\n * **add** - happens just before the class is applied to the elements\n *\n * **remove** - happens just before the class is removed from the element\n *\n * @element ANY\n * @param {expression} ngClass {@link guide/expression Expression} to eval. The result\n *   of the evaluation can be a string representing space delimited class\n *   names, an array, or a map of class names to boolean values. In the case of a map, the\n *   names of the properties whose values are truthy will be added as css classes to the\n *   element.\n *\n * @example Example that demonstrates basic bindings via ngClass directive.\n   <example>\n     <file name=\"index.html\">\n       <p ng-class=\"{strike: deleted, bold: important, 'has-error': error}\">Map Syntax Example</p>\n       <label>\n          <input type=\"checkbox\" ng-model=\"deleted\">\n          deleted (apply \"strike\" class)\n       </label><br>\n       <label>\n          <input type=\"checkbox\" ng-model=\"important\">\n          important (apply \"bold\" class)\n       </label><br>\n       <label>\n          <input type=\"checkbox\" ng-model=\"error\">\n          error (apply \"has-error\" class)\n       </label>\n       <hr>\n       <p ng-class=\"style\">Using String Syntax</p>\n       <input type=\"text\" ng-model=\"style\"\n              placeholder=\"Type: bold strike red\" aria-label=\"Type: bold strike red\">\n       <hr>\n       <p ng-class=\"[style1, style2, style3]\">Using Array Syntax</p>\n       <input ng-model=\"style1\"\n              placeholder=\"Type: bold, strike or red\" aria-label=\"Type: bold, strike or red\"><br>\n       <input ng-model=\"style2\"\n              placeholder=\"Type: bold, strike or red\" aria-label=\"Type: bold, strike or red 2\"><br>\n       <input ng-model=\"style3\"\n              placeholder=\"Type: bold, strike or red\" aria-label=\"Type: bold, strike or red 3\"><br>\n       <hr>\n       <p ng-class=\"[style4, {orange: warning}]\">Using Array and Map Syntax</p>\n       <input ng-model=\"style4\" placeholder=\"Type: bold, strike\" aria-label=\"Type: bold, strike\"><br>\n       <label><input type=\"checkbox\" ng-model=\"warning\"> warning (apply \"orange\" class)</label>\n     </file>\n     <file name=\"style.css\">\n       .strike {\n           text-decoration: line-through;\n       }\n       .bold {\n           font-weight: bold;\n       }\n       .red {\n           color: red;\n       }\n       .has-error {\n           color: red;\n           background-color: yellow;\n       }\n       .orange {\n           color: orange;\n       }\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       var ps = element.all(by.css('p'));\n\n       it('should let you toggle the class', function() {\n\n         expect(ps.first().getAttribute('class')).not.toMatch(/bold/);\n         expect(ps.first().getAttribute('class')).not.toMatch(/has-error/);\n\n         element(by.model('important')).click();\n         expect(ps.first().getAttribute('class')).toMatch(/bold/);\n\n         element(by.model('error')).click();\n         expect(ps.first().getAttribute('class')).toMatch(/has-error/);\n       });\n\n       it('should let you toggle string example', function() {\n         expect(ps.get(1).getAttribute('class')).toBe('');\n         element(by.model('style')).clear();\n         element(by.model('style')).sendKeys('red');\n         expect(ps.get(1).getAttribute('class')).toBe('red');\n       });\n\n       it('array example should have 3 classes', function() {\n         expect(ps.get(2).getAttribute('class')).toBe('');\n         element(by.model('style1')).sendKeys('bold');\n         element(by.model('style2')).sendKeys('strike');\n         element(by.model('style3')).sendKeys('red');\n         expect(ps.get(2).getAttribute('class')).toBe('bold strike red');\n       });\n\n       it('array with map example should have 2 classes', function() {\n         expect(ps.last().getAttribute('class')).toBe('');\n         element(by.model('style4')).sendKeys('bold');\n         element(by.model('warning')).click();\n         expect(ps.last().getAttribute('class')).toBe('bold orange');\n       });\n     </file>\n   </example>\n\n   ## Animations\n\n   The example below demonstrates how to perform animations using ngClass.\n\n   <example module=\"ngAnimate\" deps=\"angular-animate.js\" animations=\"true\">\n     <file name=\"index.html\">\n      <input id=\"setbtn\" type=\"button\" value=\"set\" ng-click=\"myVar='my-class'\">\n      <input id=\"clearbtn\" type=\"button\" value=\"clear\" ng-click=\"myVar=''\">\n      <br>\n      <span class=\"base-class\" ng-class=\"myVar\">Sample Text</span>\n     </file>\n     <file name=\"style.css\">\n       .base-class {\n         transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;\n       }\n\n       .base-class.my-class {\n         color: red;\n         font-size:3em;\n       }\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       it('should check ng-class', function() {\n         expect(element(by.css('.base-class')).getAttribute('class')).not.\n           toMatch(/my-class/);\n\n         element(by.id('setbtn')).click();\n\n         expect(element(by.css('.base-class')).getAttribute('class')).\n           toMatch(/my-class/);\n\n         element(by.id('clearbtn')).click();\n\n         expect(element(by.css('.base-class')).getAttribute('class')).not.\n           toMatch(/my-class/);\n       });\n     </file>\n   </example>\n\n\n   ## ngClass and pre-existing CSS3 Transitions/Animations\n   The ngClass directive still supports CSS3 Transitions/Animations even if they do not follow the ngAnimate CSS naming structure.\n   Upon animation ngAnimate will apply supplementary CSS classes to track the start and end of an animation, but this will not hinder\n   any pre-existing CSS transitions already on the element. To get an idea of what happens during a class-based animation, be sure\n   to view the step by step details of {@link $animate#addClass $animate.addClass} and\n   {@link $animate#removeClass $animate.removeClass}.\n */\nvar ngClassDirective = classDirective('', true);\n\n/**\n * @ngdoc directive\n * @name ngClassOdd\n * @restrict AC\n *\n * @description\n * The `ngClassOdd` and `ngClassEven` directives work exactly as\n * {@link ng.directive:ngClass ngClass}, except they work in\n * conjunction with `ngRepeat` and take effect only on odd (even) rows.\n *\n * This directive can be applied only within the scope of an\n * {@link ng.directive:ngRepeat ngRepeat}.\n *\n * @element ANY\n * @param {expression} ngClassOdd {@link guide/expression Expression} to eval. The result\n *   of the evaluation can be a string representing space delimited class names or an array.\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n        <ol ng-init=\"names=['John', 'Mary', 'Cate', 'Suz']\">\n          <li ng-repeat=\"name in names\">\n           <span ng-class-odd=\"'odd'\" ng-class-even=\"'even'\">\n             {{name}}\n           </span>\n          </li>\n        </ol>\n     </file>\n     <file name=\"style.css\">\n       .odd {\n         color: red;\n       }\n       .even {\n         color: blue;\n       }\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       it('should check ng-class-odd and ng-class-even', function() {\n         expect(element(by.repeater('name in names').row(0).column('name')).getAttribute('class')).\n           toMatch(/odd/);\n         expect(element(by.repeater('name in names').row(1).column('name')).getAttribute('class')).\n           toMatch(/even/);\n       });\n     </file>\n   </example>\n */\nvar ngClassOddDirective = classDirective('Odd', 0);\n\n/**\n * @ngdoc directive\n * @name ngClassEven\n * @restrict AC\n *\n * @description\n * The `ngClassOdd` and `ngClassEven` directives work exactly as\n * {@link ng.directive:ngClass ngClass}, except they work in\n * conjunction with `ngRepeat` and take effect only on odd (even) rows.\n *\n * This directive can be applied only within the scope of an\n * {@link ng.directive:ngRepeat ngRepeat}.\n *\n * @element ANY\n * @param {expression} ngClassEven {@link guide/expression Expression} to eval. The\n *   result of the evaluation can be a string representing space delimited class names or an array.\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n        <ol ng-init=\"names=['John', 'Mary', 'Cate', 'Suz']\">\n          <li ng-repeat=\"name in names\">\n           <span ng-class-odd=\"'odd'\" ng-class-even=\"'even'\">\n             {{name}} &nbsp; &nbsp; &nbsp;\n           </span>\n          </li>\n        </ol>\n     </file>\n     <file name=\"style.css\">\n       .odd {\n         color: red;\n       }\n       .even {\n         color: blue;\n       }\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       it('should check ng-class-odd and ng-class-even', function() {\n         expect(element(by.repeater('name in names').row(0).column('name')).getAttribute('class')).\n           toMatch(/odd/);\n         expect(element(by.repeater('name in names').row(1).column('name')).getAttribute('class')).\n           toMatch(/even/);\n       });\n     </file>\n   </example>\n */\nvar ngClassEvenDirective = classDirective('Even', 1);\n\n/**\n * @ngdoc directive\n * @name ngCloak\n * @restrict AC\n *\n * @description\n * The `ngCloak` directive is used to prevent the Angular html template from being briefly\n * displayed by the browser in its raw (uncompiled) form while your application is loading. Use this\n * directive to avoid the undesirable flicker effect caused by the html template display.\n *\n * The directive can be applied to the `<body>` element, but the preferred usage is to apply\n * multiple `ngCloak` directives to small portions of the page to permit progressive rendering\n * of the browser view.\n *\n * `ngCloak` works in cooperation with the following css rule embedded within `angular.js` and\n * `angular.min.js`.\n * For CSP mode please add `angular-csp.css` to your html file (see {@link ng.directive:ngCsp ngCsp}).\n *\n * ```css\n * [ng\\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {\n *   display: none !important;\n * }\n * ```\n *\n * When this css rule is loaded by the browser, all html elements (including their children) that\n * are tagged with the `ngCloak` directive are hidden. When Angular encounters this directive\n * during the compilation of the template it deletes the `ngCloak` element attribute, making\n * the compiled element visible.\n *\n * For the best result, the `angular.js` script must be loaded in the head section of the html\n * document; alternatively, the css rule above must be included in the external stylesheet of the\n * application.\n *\n * @element ANY\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n        <div id=\"template1\" ng-cloak>{{ 'hello' }}</div>\n        <div id=\"template2\" class=\"ng-cloak\">{{ 'world' }}</div>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       it('should remove the template directive and css class', function() {\n         expect($('#template1').getAttribute('ng-cloak')).\n           toBeNull();\n         expect($('#template2').getAttribute('ng-cloak')).\n           toBeNull();\n       });\n     </file>\n   </example>\n *\n */\nvar ngCloakDirective = ngDirective({\n  compile: function(element, attr) {\n    attr.$set('ngCloak', undefined);\n    element.removeClass('ng-cloak');\n  }\n});\n\n/**\n * @ngdoc directive\n * @name ngController\n *\n * @description\n * The `ngController` directive attaches a controller class to the view. This is a key aspect of how angular\n * supports the principles behind the Model-View-Controller design pattern.\n *\n * MVC components in angular:\n *\n * * Model — Models are the properties of a scope; scopes are attached to the DOM where scope properties\n *   are accessed through bindings.\n * * View — The template (HTML with data bindings) that is rendered into the View.\n * * Controller — The `ngController` directive specifies a Controller class; the class contains business\n *   logic behind the application to decorate the scope with functions and values\n *\n * Note that you can also attach controllers to the DOM by declaring it in a route definition\n * via the {@link ngRoute.$route $route} service. A common mistake is to declare the controller\n * again using `ng-controller` in the template itself.  This will cause the controller to be attached\n * and executed twice.\n *\n * @element ANY\n * @scope\n * @priority 500\n * @param {expression} ngController Name of a constructor function registered with the current\n * {@link ng.$controllerProvider $controllerProvider} or an {@link guide/expression expression}\n * that on the current scope evaluates to a constructor function.\n *\n * The controller instance can be published into a scope property by specifying\n * `ng-controller=\"as propertyName\"`.\n *\n * If the current `$controllerProvider` is configured to use globals (via\n * {@link ng.$controllerProvider#allowGlobals `$controllerProvider.allowGlobals()` }), this may\n * also be the name of a globally accessible constructor function (not recommended).\n *\n * @example\n * Here is a simple form for editing user contact information. Adding, removing, clearing, and\n * greeting are methods declared on the controller (see source tab). These methods can\n * easily be called from the angular markup. Any changes to the data are automatically reflected\n * in the View without the need for a manual update.\n *\n * Two different declaration styles are included below:\n *\n * * one binds methods and properties directly onto the controller using `this`:\n * `ng-controller=\"SettingsController1 as settings\"`\n * * one injects `$scope` into the controller:\n * `ng-controller=\"SettingsController2\"`\n *\n * The second option is more common in the Angular community, and is generally used in boilerplates\n * and in this guide. However, there are advantages to binding properties directly to the controller\n * and avoiding scope.\n *\n * * Using `controller as` makes it obvious which controller you are accessing in the template when\n * multiple controllers apply to an element.\n * * If you are writing your controllers as classes you have easier access to the properties and\n * methods, which will appear on the scope, from inside the controller code.\n * * Since there is always a `.` in the bindings, you don't have to worry about prototypal\n * inheritance masking primitives.\n *\n * This example demonstrates the `controller as` syntax.\n *\n * <example name=\"ngControllerAs\" module=\"controllerAsExample\">\n *   <file name=\"index.html\">\n *    <div id=\"ctrl-as-exmpl\" ng-controller=\"SettingsController1 as settings\">\n *      <label>Name: <input type=\"text\" ng-model=\"settings.name\"/></label>\n *      <button ng-click=\"settings.greet()\">greet</button><br/>\n *      Contact:\n *      <ul>\n *        <li ng-repeat=\"contact in settings.contacts\">\n *          <select ng-model=\"contact.type\" aria-label=\"Contact method\" id=\"select_{{$index}}\">\n *             <option>phone</option>\n *             <option>email</option>\n *          </select>\n *          <input type=\"text\" ng-model=\"contact.value\" aria-labelledby=\"select_{{$index}}\" />\n *          <button ng-click=\"settings.clearContact(contact)\">clear</button>\n *          <button ng-click=\"settings.removeContact(contact)\" aria-label=\"Remove\">X</button>\n *        </li>\n *        <li><button ng-click=\"settings.addContact()\">add</button></li>\n *     </ul>\n *    </div>\n *   </file>\n *   <file name=\"app.js\">\n *    angular.module('controllerAsExample', [])\n *      .controller('SettingsController1', SettingsController1);\n *\n *    function SettingsController1() {\n *      this.name = \"John Smith\";\n *      this.contacts = [\n *        {type: 'phone', value: '408 555 1212'},\n *        {type: 'email', value: 'john.smith@example.org'} ];\n *    }\n *\n *    SettingsController1.prototype.greet = function() {\n *      alert(this.name);\n *    };\n *\n *    SettingsController1.prototype.addContact = function() {\n *      this.contacts.push({type: 'email', value: 'yourname@example.org'});\n *    };\n *\n *    SettingsController1.prototype.removeContact = function(contactToRemove) {\n *     var index = this.contacts.indexOf(contactToRemove);\n *      this.contacts.splice(index, 1);\n *    };\n *\n *    SettingsController1.prototype.clearContact = function(contact) {\n *      contact.type = 'phone';\n *      contact.value = '';\n *    };\n *   </file>\n *   <file name=\"protractor.js\" type=\"protractor\">\n *     it('should check controller as', function() {\n *       var container = element(by.id('ctrl-as-exmpl'));\n *         expect(container.element(by.model('settings.name'))\n *           .getAttribute('value')).toBe('John Smith');\n *\n *       var firstRepeat =\n *           container.element(by.repeater('contact in settings.contacts').row(0));\n *       var secondRepeat =\n *           container.element(by.repeater('contact in settings.contacts').row(1));\n *\n *       expect(firstRepeat.element(by.model('contact.value')).getAttribute('value'))\n *           .toBe('408 555 1212');\n *\n *       expect(secondRepeat.element(by.model('contact.value')).getAttribute('value'))\n *           .toBe('john.smith@example.org');\n *\n *       firstRepeat.element(by.buttonText('clear')).click();\n *\n *       expect(firstRepeat.element(by.model('contact.value')).getAttribute('value'))\n *           .toBe('');\n *\n *       container.element(by.buttonText('add')).click();\n *\n *       expect(container.element(by.repeater('contact in settings.contacts').row(2))\n *           .element(by.model('contact.value'))\n *           .getAttribute('value'))\n *           .toBe('yourname@example.org');\n *     });\n *   </file>\n * </example>\n *\n * This example demonstrates the \"attach to `$scope`\" style of controller.\n *\n * <example name=\"ngController\" module=\"controllerExample\">\n *  <file name=\"index.html\">\n *   <div id=\"ctrl-exmpl\" ng-controller=\"SettingsController2\">\n *     <label>Name: <input type=\"text\" ng-model=\"name\"/></label>\n *     <button ng-click=\"greet()\">greet</button><br/>\n *     Contact:\n *     <ul>\n *       <li ng-repeat=\"contact in contacts\">\n *         <select ng-model=\"contact.type\" id=\"select_{{$index}}\">\n *            <option>phone</option>\n *            <option>email</option>\n *         </select>\n *         <input type=\"text\" ng-model=\"contact.value\" aria-labelledby=\"select_{{$index}}\" />\n *         <button ng-click=\"clearContact(contact)\">clear</button>\n *         <button ng-click=\"removeContact(contact)\">X</button>\n *       </li>\n *       <li>[ <button ng-click=\"addContact()\">add</button> ]</li>\n *    </ul>\n *   </div>\n *  </file>\n *  <file name=\"app.js\">\n *   angular.module('controllerExample', [])\n *     .controller('SettingsController2', ['$scope', SettingsController2]);\n *\n *   function SettingsController2($scope) {\n *     $scope.name = \"John Smith\";\n *     $scope.contacts = [\n *       {type:'phone', value:'408 555 1212'},\n *       {type:'email', value:'john.smith@example.org'} ];\n *\n *     $scope.greet = function() {\n *       alert($scope.name);\n *     };\n *\n *     $scope.addContact = function() {\n *       $scope.contacts.push({type:'email', value:'yourname@example.org'});\n *     };\n *\n *     $scope.removeContact = function(contactToRemove) {\n *       var index = $scope.contacts.indexOf(contactToRemove);\n *       $scope.contacts.splice(index, 1);\n *     };\n *\n *     $scope.clearContact = function(contact) {\n *       contact.type = 'phone';\n *       contact.value = '';\n *     };\n *   }\n *  </file>\n *  <file name=\"protractor.js\" type=\"protractor\">\n *    it('should check controller', function() {\n *      var container = element(by.id('ctrl-exmpl'));\n *\n *      expect(container.element(by.model('name'))\n *          .getAttribute('value')).toBe('John Smith');\n *\n *      var firstRepeat =\n *          container.element(by.repeater('contact in contacts').row(0));\n *      var secondRepeat =\n *          container.element(by.repeater('contact in contacts').row(1));\n *\n *      expect(firstRepeat.element(by.model('contact.value')).getAttribute('value'))\n *          .toBe('408 555 1212');\n *      expect(secondRepeat.element(by.model('contact.value')).getAttribute('value'))\n *          .toBe('john.smith@example.org');\n *\n *      firstRepeat.element(by.buttonText('clear')).click();\n *\n *      expect(firstRepeat.element(by.model('contact.value')).getAttribute('value'))\n *          .toBe('');\n *\n *      container.element(by.buttonText('add')).click();\n *\n *      expect(container.element(by.repeater('contact in contacts').row(2))\n *          .element(by.model('contact.value'))\n *          .getAttribute('value'))\n *          .toBe('yourname@example.org');\n *    });\n *  </file>\n *</example>\n\n */\nvar ngControllerDirective = [function() {\n  return {\n    restrict: 'A',\n    scope: true,\n    controller: '@',\n    priority: 500\n  };\n}];\n\n/**\n * @ngdoc directive\n * @name ngCsp\n *\n * @element html\n * @description\n *\n * Angular has some features that can break certain\n * [CSP (Content Security Policy)](https://developer.mozilla.org/en/Security/CSP) rules.\n *\n * If you intend to implement these rules then you must tell Angular not to use these features.\n *\n * This is necessary when developing things like Google Chrome Extensions or Universal Windows Apps.\n *\n *\n * The following rules affect Angular:\n *\n * * `unsafe-eval`: this rule forbids apps to use `eval` or `Function(string)` generated functions\n * (among other things). Angular makes use of this in the {@link $parse} service to provide a 30%\n * increase in the speed of evaluating Angular expressions.\n *\n * * `unsafe-inline`: this rule forbids apps from inject custom styles into the document. Angular\n * makes use of this to include some CSS rules (e.g. {@link ngCloak} and {@link ngHide}).\n * To make these directives work when a CSP rule is blocking inline styles, you must link to the\n * `angular-csp.css` in your HTML manually.\n *\n * If you do not provide `ngCsp` then Angular tries to autodetect if CSP is blocking unsafe-eval\n * and automatically deactivates this feature in the {@link $parse} service. This autodetection,\n * however, triggers a CSP error to be logged in the console:\n *\n * ```\n * Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of\n * script in the following Content Security Policy directive: \"default-src 'self'\". Note that\n * 'script-src' was not explicitly set, so 'default-src' is used as a fallback.\n * ```\n *\n * This error is harmless but annoying. To prevent the error from showing up, put the `ngCsp`\n * directive on an element of the HTML document that appears before the `<script>` tag that loads\n * the `angular.js` file.\n *\n * *Note: This directive is only available in the `ng-csp` and `data-ng-csp` attribute form.*\n *\n * You can specify which of the CSP related Angular features should be deactivated by providing\n * a value for the `ng-csp` attribute. The options are as follows:\n *\n * * no-inline-style: this stops Angular from injecting CSS styles into the DOM\n *\n * * no-unsafe-eval: this stops Angular from optimising $parse with unsafe eval of strings\n *\n * You can use these values in the following combinations:\n *\n *\n * * No declaration means that Angular will assume that you can do inline styles, but it will do\n * a runtime check for unsafe-eval. E.g. `<body>`. This is backwardly compatible with previous versions\n * of Angular.\n *\n * * A simple `ng-csp` (or `data-ng-csp`) attribute will tell Angular to deactivate both inline\n * styles and unsafe eval. E.g. `<body ng-csp>`. This is backwardly compatible with previous versions\n * of Angular.\n *\n * * Specifying only `no-unsafe-eval` tells Angular that we must not use eval, but that we can inject\n * inline styles. E.g. `<body ng-csp=\"no-unsafe-eval\">`.\n *\n * * Specifying only `no-inline-style` tells Angular that we must not inject styles, but that we can\n * run eval - no automcatic check for unsafe eval will occur. E.g. `<body ng-csp=\"no-inline-style\">`\n *\n * * Specifying both `no-unsafe-eval` and `no-inline-style` tells Angular that we must not inject\n * styles nor use eval, which is the same as an empty: ng-csp.\n * E.g.`<body ng-csp=\"no-inline-style;no-unsafe-eval\">`\n *\n * @example\n * This example shows how to apply the `ngCsp` directive to the `html` tag.\n   ```html\n     <!doctype html>\n     <html ng-app ng-csp>\n     ...\n     ...\n     </html>\n   ```\n  * @example\n      // Note: the suffix `.csp` in the example name triggers\n      // csp mode in our http server!\n      <example name=\"example.csp\" module=\"cspExample\" ng-csp=\"true\">\n        <file name=\"index.html\">\n          <div ng-controller=\"MainController as ctrl\">\n            <div>\n              <button ng-click=\"ctrl.inc()\" id=\"inc\">Increment</button>\n              <span id=\"counter\">\n                {{ctrl.counter}}\n              </span>\n            </div>\n\n            <div>\n              <button ng-click=\"ctrl.evil()\" id=\"evil\">Evil</button>\n              <span id=\"evilError\">\n                {{ctrl.evilError}}\n              </span>\n            </div>\n          </div>\n        </file>\n        <file name=\"script.js\">\n           angular.module('cspExample', [])\n             .controller('MainController', function() {\n                this.counter = 0;\n                this.inc = function() {\n                  this.counter++;\n                };\n                this.evil = function() {\n                  // jshint evil:true\n                  try {\n                    eval('1+2');\n                  } catch (e) {\n                    this.evilError = e.message;\n                  }\n                };\n              });\n        </file>\n        <file name=\"protractor.js\" type=\"protractor\">\n          var util, webdriver;\n\n          var incBtn = element(by.id('inc'));\n          var counter = element(by.id('counter'));\n          var evilBtn = element(by.id('evil'));\n          var evilError = element(by.id('evilError'));\n\n          function getAndClearSevereErrors() {\n            return browser.manage().logs().get('browser').then(function(browserLog) {\n              return browserLog.filter(function(logEntry) {\n                return logEntry.level.value > webdriver.logging.Level.WARNING.value;\n              });\n            });\n          }\n\n          function clearErrors() {\n            getAndClearSevereErrors();\n          }\n\n          function expectNoErrors() {\n            getAndClearSevereErrors().then(function(filteredLog) {\n              expect(filteredLog.length).toEqual(0);\n              if (filteredLog.length) {\n                console.log('browser console errors: ' + util.inspect(filteredLog));\n              }\n            });\n          }\n\n          function expectError(regex) {\n            getAndClearSevereErrors().then(function(filteredLog) {\n              var found = false;\n              filteredLog.forEach(function(log) {\n                if (log.message.match(regex)) {\n                  found = true;\n                }\n              });\n              if (!found) {\n                throw new Error('expected an error that matches ' + regex);\n              }\n            });\n          }\n\n          beforeEach(function() {\n            util = require('util');\n            webdriver = require('protractor/node_modules/selenium-webdriver');\n          });\n\n          // For now, we only test on Chrome,\n          // as Safari does not load the page with Protractor's injected scripts,\n          // and Firefox webdriver always disables content security policy (#6358)\n          if (browser.params.browser !== 'chrome') {\n            return;\n          }\n\n          it('should not report errors when the page is loaded', function() {\n            // clear errors so we are not dependent on previous tests\n            clearErrors();\n            // Need to reload the page as the page is already loaded when\n            // we come here\n            browser.driver.getCurrentUrl().then(function(url) {\n              browser.get(url);\n            });\n            expectNoErrors();\n          });\n\n          it('should evaluate expressions', function() {\n            expect(counter.getText()).toEqual('0');\n            incBtn.click();\n            expect(counter.getText()).toEqual('1');\n            expectNoErrors();\n          });\n\n          it('should throw and report an error when using \"eval\"', function() {\n            evilBtn.click();\n            expect(evilError.getText()).toMatch(/Content Security Policy/);\n            expectError(/Content Security Policy/);\n          });\n        </file>\n      </example>\n  */\n\n// ngCsp is not implemented as a proper directive any more, because we need it be processed while we\n// bootstrap the system (before $parse is instantiated), for this reason we just have\n// the csp() fn that looks for the `ng-csp` attribute anywhere in the current doc\n\n/**\n * @ngdoc directive\n * @name ngClick\n *\n * @description\n * The ngClick directive allows you to specify custom behavior when\n * an element is clicked.\n *\n * @element ANY\n * @priority 0\n * @param {expression} ngClick {@link guide/expression Expression} to evaluate upon\n * click. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n      <button ng-click=\"count = count + 1\" ng-init=\"count=0\">\n        Increment\n      </button>\n      <span>\n        count: {{count}}\n      </span>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       it('should check ng-click', function() {\n         expect(element(by.binding('count')).getText()).toMatch('0');\n         element(by.css('button')).click();\n         expect(element(by.binding('count')).getText()).toMatch('1');\n       });\n     </file>\n   </example>\n */\n/*\n * A collection of directives that allows creation of custom event handlers that are defined as\n * angular expressions and are compiled and executed within the current scope.\n */\nvar ngEventDirectives = {};\n\n// For events that might fire synchronously during DOM manipulation\n// we need to execute their event handlers asynchronously using $evalAsync,\n// so that they are not executed in an inconsistent state.\nvar forceAsyncEvents = {\n  'blur': true,\n  'focus': true\n};\nforEach(\n  'click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste'.split(' '),\n  function(eventName) {\n    var directiveName = directiveNormalize('ng-' + eventName);\n    ngEventDirectives[directiveName] = ['$parse', '$rootScope', function($parse, $rootScope) {\n      return {\n        restrict: 'A',\n        compile: function($element, attr) {\n          // We expose the powerful $event object on the scope that provides access to the Window,\n          // etc. that isn't protected by the fast paths in $parse.  We explicitly request better\n          // checks at the cost of speed since event handler expressions are not executed as\n          // frequently as regular change detection.\n          var fn = $parse(attr[directiveName], /* interceptorFn */ null, /* expensiveChecks */ true);\n          return function ngEventHandler(scope, element) {\n            element.on(eventName, function(event) {\n              var callback = function() {\n                fn(scope, {$event:event});\n              };\n              if (forceAsyncEvents[eventName] && $rootScope.$$phase) {\n                scope.$evalAsync(callback);\n              } else {\n                scope.$apply(callback);\n              }\n            });\n          };\n        }\n      };\n    }];\n  }\n);\n\n/**\n * @ngdoc directive\n * @name ngDblclick\n *\n * @description\n * The `ngDblclick` directive allows you to specify custom behavior on a dblclick event.\n *\n * @element ANY\n * @priority 0\n * @param {expression} ngDblclick {@link guide/expression Expression} to evaluate upon\n * a dblclick. (The Event object is available as `$event`)\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n      <button ng-dblclick=\"count = count + 1\" ng-init=\"count=0\">\n        Increment (on double click)\n      </button>\n      count: {{count}}\n     </file>\n   </example>\n */\n\n\n/**\n * @ngdoc directive\n * @name ngMousedown\n *\n * @description\n * The ngMousedown directive allows you to specify custom behavior on mousedown event.\n *\n * @element ANY\n * @priority 0\n * @param {expression} ngMousedown {@link guide/expression Expression} to evaluate upon\n * mousedown. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n      <button ng-mousedown=\"count = count + 1\" ng-init=\"count=0\">\n        Increment (on mouse down)\n      </button>\n      count: {{count}}\n     </file>\n   </example>\n */\n\n\n/**\n * @ngdoc directive\n * @name ngMouseup\n *\n * @description\n * Specify custom behavior on mouseup event.\n *\n * @element ANY\n * @priority 0\n * @param {expression} ngMouseup {@link guide/expression Expression} to evaluate upon\n * mouseup. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n      <button ng-mouseup=\"count = count + 1\" ng-init=\"count=0\">\n        Increment (on mouse up)\n      </button>\n      count: {{count}}\n     </file>\n   </example>\n */\n\n/**\n * @ngdoc directive\n * @name ngMouseover\n *\n * @description\n * Specify custom behavior on mouseover event.\n *\n * @element ANY\n * @priority 0\n * @param {expression} ngMouseover {@link guide/expression Expression} to evaluate upon\n * mouseover. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n      <button ng-mouseover=\"count = count + 1\" ng-init=\"count=0\">\n        Increment (when mouse is over)\n      </button>\n      count: {{count}}\n     </file>\n   </example>\n */\n\n\n/**\n * @ngdoc directive\n * @name ngMouseenter\n *\n * @description\n * Specify custom behavior on mouseenter event.\n *\n * @element ANY\n * @priority 0\n * @param {expression} ngMouseenter {@link guide/expression Expression} to evaluate upon\n * mouseenter. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n      <button ng-mouseenter=\"count = count + 1\" ng-init=\"count=0\">\n        Increment (when mouse enters)\n      </button>\n      count: {{count}}\n     </file>\n   </example>\n */\n\n\n/**\n * @ngdoc directive\n * @name ngMouseleave\n *\n * @description\n * Specify custom behavior on mouseleave event.\n *\n * @element ANY\n * @priority 0\n * @param {expression} ngMouseleave {@link guide/expression Expression} to evaluate upon\n * mouseleave. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n      <button ng-mouseleave=\"count = count + 1\" ng-init=\"count=0\">\n        Increment (when mouse leaves)\n      </button>\n      count: {{count}}\n     </file>\n   </example>\n */\n\n\n/**\n * @ngdoc directive\n * @name ngMousemove\n *\n * @description\n * Specify custom behavior on mousemove event.\n *\n * @element ANY\n * @priority 0\n * @param {expression} ngMousemove {@link guide/expression Expression} to evaluate upon\n * mousemove. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n      <button ng-mousemove=\"count = count + 1\" ng-init=\"count=0\">\n        Increment (when mouse moves)\n      </button>\n      count: {{count}}\n     </file>\n   </example>\n */\n\n\n/**\n * @ngdoc directive\n * @name ngKeydown\n *\n * @description\n * Specify custom behavior on keydown event.\n *\n * @element ANY\n * @priority 0\n * @param {expression} ngKeydown {@link guide/expression Expression} to evaluate upon\n * keydown. (Event object is available as `$event` and can be interrogated for keyCode, altKey, etc.)\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n      <input ng-keydown=\"count = count + 1\" ng-init=\"count=0\">\n      key down count: {{count}}\n     </file>\n   </example>\n */\n\n\n/**\n * @ngdoc directive\n * @name ngKeyup\n *\n * @description\n * Specify custom behavior on keyup event.\n *\n * @element ANY\n * @priority 0\n * @param {expression} ngKeyup {@link guide/expression Expression} to evaluate upon\n * keyup. (Event object is available as `$event` and can be interrogated for keyCode, altKey, etc.)\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n       <p>Typing in the input box below updates the key count</p>\n       <input ng-keyup=\"count = count + 1\" ng-init=\"count=0\"> key up count: {{count}}\n\n       <p>Typing in the input box below updates the keycode</p>\n       <input ng-keyup=\"event=$event\">\n       <p>event keyCode: {{ event.keyCode }}</p>\n       <p>event altKey: {{ event.altKey }}</p>\n     </file>\n   </example>\n */\n\n\n/**\n * @ngdoc directive\n * @name ngKeypress\n *\n * @description\n * Specify custom behavior on keypress event.\n *\n * @element ANY\n * @param {expression} ngKeypress {@link guide/expression Expression} to evaluate upon\n * keypress. ({@link guide/expression#-event- Event object is available as `$event`}\n * and can be interrogated for keyCode, altKey, etc.)\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n      <input ng-keypress=\"count = count + 1\" ng-init=\"count=0\">\n      key press count: {{count}}\n     </file>\n   </example>\n */\n\n\n/**\n * @ngdoc directive\n * @name ngSubmit\n *\n * @description\n * Enables binding angular expressions to onsubmit events.\n *\n * Additionally it prevents the default action (which for form means sending the request to the\n * server and reloading the current page), but only if the form does not contain `action`,\n * `data-action`, or `x-action` attributes.\n *\n * <div class=\"alert alert-warning\">\n * **Warning:** Be careful not to cause \"double-submission\" by using both the `ngClick` and\n * `ngSubmit` handlers together. See the\n * {@link form#submitting-a-form-and-preventing-the-default-action `form` directive documentation}\n * for a detailed discussion of when `ngSubmit` may be triggered.\n * </div>\n *\n * @element form\n * @priority 0\n * @param {expression} ngSubmit {@link guide/expression Expression} to eval.\n * ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n   <example module=\"submitExample\">\n     <file name=\"index.html\">\n      <script>\n        angular.module('submitExample', [])\n          .controller('ExampleController', ['$scope', function($scope) {\n            $scope.list = [];\n            $scope.text = 'hello';\n            $scope.submit = function() {\n              if ($scope.text) {\n                $scope.list.push(this.text);\n                $scope.text = '';\n              }\n            };\n          }]);\n      </script>\n      <form ng-submit=\"submit()\" ng-controller=\"ExampleController\">\n        Enter text and hit enter:\n        <input type=\"text\" ng-model=\"text\" name=\"text\" />\n        <input type=\"submit\" id=\"submit\" value=\"Submit\" />\n        <pre>list={{list}}</pre>\n      </form>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       it('should check ng-submit', function() {\n         expect(element(by.binding('list')).getText()).toBe('list=[]');\n         element(by.css('#submit')).click();\n         expect(element(by.binding('list')).getText()).toContain('hello');\n         expect(element(by.model('text')).getAttribute('value')).toBe('');\n       });\n       it('should ignore empty strings', function() {\n         expect(element(by.binding('list')).getText()).toBe('list=[]');\n         element(by.css('#submit')).click();\n         element(by.css('#submit')).click();\n         expect(element(by.binding('list')).getText()).toContain('hello');\n        });\n     </file>\n   </example>\n */\n\n/**\n * @ngdoc directive\n * @name ngFocus\n *\n * @description\n * Specify custom behavior on focus event.\n *\n * Note: As the `focus` event is executed synchronously when calling `input.focus()`\n * AngularJS executes the expression using `scope.$evalAsync` if the event is fired\n * during an `$apply` to ensure a consistent state.\n *\n * @element window, input, select, textarea, a\n * @priority 0\n * @param {expression} ngFocus {@link guide/expression Expression} to evaluate upon\n * focus. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n * See {@link ng.directive:ngClick ngClick}\n */\n\n/**\n * @ngdoc directive\n * @name ngBlur\n *\n * @description\n * Specify custom behavior on blur event.\n *\n * A [blur event](https://developer.mozilla.org/en-US/docs/Web/Events/blur) fires when\n * an element has lost focus.\n *\n * Note: As the `blur` event is executed synchronously also during DOM manipulations\n * (e.g. removing a focussed input),\n * AngularJS executes the expression using `scope.$evalAsync` if the event is fired\n * during an `$apply` to ensure a consistent state.\n *\n * @element window, input, select, textarea, a\n * @priority 0\n * @param {expression} ngBlur {@link guide/expression Expression} to evaluate upon\n * blur. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n * See {@link ng.directive:ngClick ngClick}\n */\n\n/**\n * @ngdoc directive\n * @name ngCopy\n *\n * @description\n * Specify custom behavior on copy event.\n *\n * @element window, input, select, textarea, a\n * @priority 0\n * @param {expression} ngCopy {@link guide/expression Expression} to evaluate upon\n * copy. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n      <input ng-copy=\"copied=true\" ng-init=\"copied=false; value='copy me'\" ng-model=\"value\">\n      copied: {{copied}}\n     </file>\n   </example>\n */\n\n/**\n * @ngdoc directive\n * @name ngCut\n *\n * @description\n * Specify custom behavior on cut event.\n *\n * @element window, input, select, textarea, a\n * @priority 0\n * @param {expression} ngCut {@link guide/expression Expression} to evaluate upon\n * cut. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n      <input ng-cut=\"cut=true\" ng-init=\"cut=false; value='cut me'\" ng-model=\"value\">\n      cut: {{cut}}\n     </file>\n   </example>\n */\n\n/**\n * @ngdoc directive\n * @name ngPaste\n *\n * @description\n * Specify custom behavior on paste event.\n *\n * @element window, input, select, textarea, a\n * @priority 0\n * @param {expression} ngPaste {@link guide/expression Expression} to evaluate upon\n * paste. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n      <input ng-paste=\"paste=true\" ng-init=\"paste=false\" placeholder='paste here'>\n      pasted: {{paste}}\n     </file>\n   </example>\n */\n\n/**\n * @ngdoc directive\n * @name ngIf\n * @restrict A\n * @multiElement\n *\n * @description\n * The `ngIf` directive removes or recreates a portion of the DOM tree based on an\n * {expression}. If the expression assigned to `ngIf` evaluates to a false\n * value then the element is removed from the DOM, otherwise a clone of the\n * element is reinserted into the DOM.\n *\n * `ngIf` differs from `ngShow` and `ngHide` in that `ngIf` completely removes and recreates the\n * element in the DOM rather than changing its visibility via the `display` css property.  A common\n * case when this difference is significant is when using css selectors that rely on an element's\n * position within the DOM, such as the `:first-child` or `:last-child` pseudo-classes.\n *\n * Note that when an element is removed using `ngIf` its scope is destroyed and a new scope\n * is created when the element is restored.  The scope created within `ngIf` inherits from\n * its parent scope using\n * [prototypal inheritance](https://github.com/angular/angular.js/wiki/Understanding-Scopes#javascript-prototypal-inheritance).\n * An important implication of this is if `ngModel` is used within `ngIf` to bind to\n * a javascript primitive defined in the parent scope. In this case any modifications made to the\n * variable within the child scope will override (hide) the value in the parent scope.\n *\n * Also, `ngIf` recreates elements using their compiled state. An example of this behavior\n * is if an element's class attribute is directly modified after it's compiled, using something like\n * jQuery's `.addClass()` method, and the element is later removed. When `ngIf` recreates the element\n * the added class will be lost because the original compiled state is used to regenerate the element.\n *\n * Additionally, you can provide animations via the `ngAnimate` module to animate the `enter`\n * and `leave` effects.\n *\n * @animations\n * enter - happens just after the `ngIf` contents change and a new DOM element is created and injected into the `ngIf` container\n * leave - happens just before the `ngIf` contents are removed from the DOM\n *\n * @element ANY\n * @scope\n * @priority 600\n * @param {expression} ngIf If the {@link guide/expression expression} is falsy then\n *     the element is removed from the DOM tree. If it is truthy a copy of the compiled\n *     element is added to the DOM tree.\n *\n * @example\n  <example module=\"ngAnimate\" deps=\"angular-animate.js\" animations=\"true\">\n    <file name=\"index.html\">\n      <label>Click me: <input type=\"checkbox\" ng-model=\"checked\" ng-init=\"checked=true\" /></label><br/>\n      Show when checked:\n      <span ng-if=\"checked\" class=\"animate-if\">\n        This is removed when the checkbox is unchecked.\n      </span>\n    </file>\n    <file name=\"animations.css\">\n      .animate-if {\n        background:white;\n        border:1px solid black;\n        padding:10px;\n      }\n\n      .animate-if.ng-enter, .animate-if.ng-leave {\n        transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;\n      }\n\n      .animate-if.ng-enter,\n      .animate-if.ng-leave.ng-leave-active {\n        opacity:0;\n      }\n\n      .animate-if.ng-leave,\n      .animate-if.ng-enter.ng-enter-active {\n        opacity:1;\n      }\n    </file>\n  </example>\n */\nvar ngIfDirective = ['$animate', function($animate) {\n  return {\n    multiElement: true,\n    transclude: 'element',\n    priority: 600,\n    terminal: true,\n    restrict: 'A',\n    $$tlb: true,\n    link: function($scope, $element, $attr, ctrl, $transclude) {\n        var block, childScope, previousElements;\n        $scope.$watch($attr.ngIf, function ngIfWatchAction(value) {\n\n          if (value) {\n            if (!childScope) {\n              $transclude(function(clone, newScope) {\n                childScope = newScope;\n                clone[clone.length++] = document.createComment(' end ngIf: ' + $attr.ngIf + ' ');\n                // Note: We only need the first/last node of the cloned nodes.\n                // However, we need to keep the reference to the jqlite wrapper as it might be changed later\n                // by a directive with templateUrl when its template arrives.\n                block = {\n                  clone: clone\n                };\n                $animate.enter(clone, $element.parent(), $element);\n              });\n            }\n          } else {\n            if (previousElements) {\n              previousElements.remove();\n              previousElements = null;\n            }\n            if (childScope) {\n              childScope.$destroy();\n              childScope = null;\n            }\n            if (block) {\n              previousElements = getBlockNodes(block.clone);\n              $animate.leave(previousElements).then(function() {\n                previousElements = null;\n              });\n              block = null;\n            }\n          }\n        });\n    }\n  };\n}];\n\n/**\n * @ngdoc directive\n * @name ngInclude\n * @restrict ECA\n *\n * @description\n * Fetches, compiles and includes an external HTML fragment.\n *\n * By default, the template URL is restricted to the same domain and protocol as the\n * application document. This is done by calling {@link $sce#getTrustedResourceUrl\n * $sce.getTrustedResourceUrl} on it. To load templates from other domains or protocols\n * you may either {@link ng.$sceDelegateProvider#resourceUrlWhitelist whitelist them} or\n * {@link $sce#trustAsResourceUrl wrap them} as trusted values. Refer to Angular's {@link\n * ng.$sce Strict Contextual Escaping}.\n *\n * In addition, the browser's\n * [Same Origin Policy](https://code.google.com/p/browsersec/wiki/Part2#Same-origin_policy_for_XMLHttpRequest)\n * and [Cross-Origin Resource Sharing (CORS)](http://www.w3.org/TR/cors/)\n * policy may further restrict whether the template is successfully loaded.\n * For example, `ngInclude` won't work for cross-domain requests on all browsers and for `file://`\n * access on some browsers.\n *\n * @animations\n * enter - animation is used to bring new content into the browser.\n * leave - animation is used to animate existing content away.\n *\n * The enter and leave animation occur concurrently.\n *\n * @scope\n * @priority 400\n *\n * @param {string} ngInclude|src angular expression evaluating to URL. If the source is a string constant,\n *                 make sure you wrap it in **single** quotes, e.g. `src=\"'myPartialTemplate.html'\"`.\n * @param {string=} onload Expression to evaluate when a new partial is loaded.\n *                  <div class=\"alert alert-warning\">\n *                  **Note:** When using onload on SVG elements in IE11, the browser will try to call\n *                  a function with the name on the window element, which will usually throw a\n *                  \"function is undefined\" error. To fix this, you can instead use `data-onload` or a\n *                  different form that {@link guide/directive#normalization matches} `onload`.\n *                  </div>\n   *\n * @param {string=} autoscroll Whether `ngInclude` should call {@link ng.$anchorScroll\n *                  $anchorScroll} to scroll the viewport after the content is loaded.\n *\n *                  - If the attribute is not set, disable scrolling.\n *                  - If the attribute is set without value, enable scrolling.\n *                  - Otherwise enable scrolling only if the expression evaluates to truthy value.\n *\n * @example\n  <example module=\"includeExample\" deps=\"angular-animate.js\" animations=\"true\">\n    <file name=\"index.html\">\n     <div ng-controller=\"ExampleController\">\n       <select ng-model=\"template\" ng-options=\"t.name for t in templates\">\n        <option value=\"\">(blank)</option>\n       </select>\n       url of the template: <code>{{template.url}}</code>\n       <hr/>\n       <div class=\"slide-animate-container\">\n         <div class=\"slide-animate\" ng-include=\"template.url\"></div>\n       </div>\n     </div>\n    </file>\n    <file name=\"script.js\">\n      angular.module('includeExample', ['ngAnimate'])\n        .controller('ExampleController', ['$scope', function($scope) {\n          $scope.templates =\n            [ { name: 'template1.html', url: 'template1.html'},\n              { name: 'template2.html', url: 'template2.html'} ];\n          $scope.template = $scope.templates[0];\n        }]);\n     </file>\n    <file name=\"template1.html\">\n      Content of template1.html\n    </file>\n    <file name=\"template2.html\">\n      Content of template2.html\n    </file>\n    <file name=\"animations.css\">\n      .slide-animate-container {\n        position:relative;\n        background:white;\n        border:1px solid black;\n        height:40px;\n        overflow:hidden;\n      }\n\n      .slide-animate {\n        padding:10px;\n      }\n\n      .slide-animate.ng-enter, .slide-animate.ng-leave {\n        transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;\n\n        position:absolute;\n        top:0;\n        left:0;\n        right:0;\n        bottom:0;\n        display:block;\n        padding:10px;\n      }\n\n      .slide-animate.ng-enter {\n        top:-50px;\n      }\n      .slide-animate.ng-enter.ng-enter-active {\n        top:0;\n      }\n\n      .slide-animate.ng-leave {\n        top:0;\n      }\n      .slide-animate.ng-leave.ng-leave-active {\n        top:50px;\n      }\n    </file>\n    <file name=\"protractor.js\" type=\"protractor\">\n      var templateSelect = element(by.model('template'));\n      var includeElem = element(by.css('[ng-include]'));\n\n      it('should load template1.html', function() {\n        expect(includeElem.getText()).toMatch(/Content of template1.html/);\n      });\n\n      it('should load template2.html', function() {\n        if (browser.params.browser == 'firefox') {\n          // Firefox can't handle using selects\n          // See https://github.com/angular/protractor/issues/480\n          return;\n        }\n        templateSelect.click();\n        templateSelect.all(by.css('option')).get(2).click();\n        expect(includeElem.getText()).toMatch(/Content of template2.html/);\n      });\n\n      it('should change to blank', function() {\n        if (browser.params.browser == 'firefox') {\n          // Firefox can't handle using selects\n          return;\n        }\n        templateSelect.click();\n        templateSelect.all(by.css('option')).get(0).click();\n        expect(includeElem.isPresent()).toBe(false);\n      });\n    </file>\n  </example>\n */\n\n\n/**\n * @ngdoc event\n * @name ngInclude#$includeContentRequested\n * @eventType emit on the scope ngInclude was declared in\n * @description\n * Emitted every time the ngInclude content is requested.\n *\n * @param {Object} angularEvent Synthetic event object.\n * @param {String} src URL of content to load.\n */\n\n\n/**\n * @ngdoc event\n * @name ngInclude#$includeContentLoaded\n * @eventType emit on the current ngInclude scope\n * @description\n * Emitted every time the ngInclude content is reloaded.\n *\n * @param {Object} angularEvent Synthetic event object.\n * @param {String} src URL of content to load.\n */\n\n\n/**\n * @ngdoc event\n * @name ngInclude#$includeContentError\n * @eventType emit on the scope ngInclude was declared in\n * @description\n * Emitted when a template HTTP request yields an erroneous response (status < 200 || status > 299)\n *\n * @param {Object} angularEvent Synthetic event object.\n * @param {String} src URL of content to load.\n */\nvar ngIncludeDirective = ['$templateRequest', '$anchorScroll', '$animate',\n                  function($templateRequest,   $anchorScroll,   $animate) {\n  return {\n    restrict: 'ECA',\n    priority: 400,\n    terminal: true,\n    transclude: 'element',\n    controller: angular.noop,\n    compile: function(element, attr) {\n      var srcExp = attr.ngInclude || attr.src,\n          onloadExp = attr.onload || '',\n          autoScrollExp = attr.autoscroll;\n\n      return function(scope, $element, $attr, ctrl, $transclude) {\n        var changeCounter = 0,\n            currentScope,\n            previousElement,\n            currentElement;\n\n        var cleanupLastIncludeContent = function() {\n          if (previousElement) {\n            previousElement.remove();\n            previousElement = null;\n          }\n          if (currentScope) {\n            currentScope.$destroy();\n            currentScope = null;\n          }\n          if (currentElement) {\n            $animate.leave(currentElement).then(function() {\n              previousElement = null;\n            });\n            previousElement = currentElement;\n            currentElement = null;\n          }\n        };\n\n        scope.$watch(srcExp, function ngIncludeWatchAction(src) {\n          var afterAnimation = function() {\n            if (isDefined(autoScrollExp) && (!autoScrollExp || scope.$eval(autoScrollExp))) {\n              $anchorScroll();\n            }\n          };\n          var thisChangeId = ++changeCounter;\n\n          if (src) {\n            //set the 2nd param to true to ignore the template request error so that the inner\n            //contents and scope can be cleaned up.\n            $templateRequest(src, true).then(function(response) {\n              if (thisChangeId !== changeCounter) return;\n              var newScope = scope.$new();\n              ctrl.template = response;\n\n              // Note: This will also link all children of ng-include that were contained in the original\n              // html. If that content contains controllers, ... they could pollute/change the scope.\n              // However, using ng-include on an element with additional content does not make sense...\n              // Note: We can't remove them in the cloneAttchFn of $transclude as that\n              // function is called before linking the content, which would apply child\n              // directives to non existing elements.\n              var clone = $transclude(newScope, function(clone) {\n                cleanupLastIncludeContent();\n                $animate.enter(clone, null, $element).then(afterAnimation);\n              });\n\n              currentScope = newScope;\n              currentElement = clone;\n\n              currentScope.$emit('$includeContentLoaded', src);\n              scope.$eval(onloadExp);\n            }, function() {\n              if (thisChangeId === changeCounter) {\n                cleanupLastIncludeContent();\n                scope.$emit('$includeContentError', src);\n              }\n            });\n            scope.$emit('$includeContentRequested', src);\n          } else {\n            cleanupLastIncludeContent();\n            ctrl.template = null;\n          }\n        });\n      };\n    }\n  };\n}];\n\n// This directive is called during the $transclude call of the first `ngInclude` directive.\n// It will replace and compile the content of the element with the loaded template.\n// We need this directive so that the element content is already filled when\n// the link function of another directive on the same element as ngInclude\n// is called.\nvar ngIncludeFillContentDirective = ['$compile',\n  function($compile) {\n    return {\n      restrict: 'ECA',\n      priority: -400,\n      require: 'ngInclude',\n      link: function(scope, $element, $attr, ctrl) {\n        if (/SVG/.test($element[0].toString())) {\n          // WebKit: https://bugs.webkit.org/show_bug.cgi?id=135698 --- SVG elements do not\n          // support innerHTML, so detect this here and try to generate the contents\n          // specially.\n          $element.empty();\n          $compile(jqLiteBuildFragment(ctrl.template, document).childNodes)(scope,\n              function namespaceAdaptedClone(clone) {\n            $element.append(clone);\n          }, {futureParentElement: $element});\n          return;\n        }\n\n        $element.html(ctrl.template);\n        $compile($element.contents())(scope);\n      }\n    };\n  }];\n\n/**\n * @ngdoc directive\n * @name ngInit\n * @restrict AC\n *\n * @description\n * The `ngInit` directive allows you to evaluate an expression in the\n * current scope.\n *\n * <div class=\"alert alert-danger\">\n * This directive can be abused to add unnecessary amounts of logic into your templates.\n * There are only a few appropriate uses of `ngInit`, such as for aliasing special properties of\n * {@link ng.directive:ngRepeat `ngRepeat`}, as seen in the demo below; and for injecting data via\n * server side scripting. Besides these few cases, you should use {@link guide/controller controllers}\n * rather than `ngInit` to initialize values on a scope.\n * </div>\n *\n * <div class=\"alert alert-warning\">\n * **Note**: If you have assignment in `ngInit` along with a {@link ng.$filter `filter`}, make\n * sure you have parentheses to ensure correct operator precedence:\n * <pre class=\"prettyprint\">\n * `<div ng-init=\"test1 = ($index | toString)\"></div>`\n * </pre>\n * </div>\n *\n * @priority 450\n *\n * @element ANY\n * @param {expression} ngInit {@link guide/expression Expression} to eval.\n *\n * @example\n   <example module=\"initExample\">\n     <file name=\"index.html\">\n   <script>\n     angular.module('initExample', [])\n       .controller('ExampleController', ['$scope', function($scope) {\n         $scope.list = [['a', 'b'], ['c', 'd']];\n       }]);\n   </script>\n   <div ng-controller=\"ExampleController\">\n     <div ng-repeat=\"innerList in list\" ng-init=\"outerIndex = $index\">\n       <div ng-repeat=\"value in innerList\" ng-init=\"innerIndex = $index\">\n          <span class=\"example-init\">list[ {{outerIndex}} ][ {{innerIndex}} ] = {{value}};</span>\n       </div>\n     </div>\n   </div>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       it('should alias index positions', function() {\n         var elements = element.all(by.css('.example-init'));\n         expect(elements.get(0).getText()).toBe('list[ 0 ][ 0 ] = a;');\n         expect(elements.get(1).getText()).toBe('list[ 0 ][ 1 ] = b;');\n         expect(elements.get(2).getText()).toBe('list[ 1 ][ 0 ] = c;');\n         expect(elements.get(3).getText()).toBe('list[ 1 ][ 1 ] = d;');\n       });\n     </file>\n   </example>\n */\nvar ngInitDirective = ngDirective({\n  priority: 450,\n  compile: function() {\n    return {\n      pre: function(scope, element, attrs) {\n        scope.$eval(attrs.ngInit);\n      }\n    };\n  }\n});\n\n/**\n * @ngdoc directive\n * @name ngList\n *\n * @description\n * Text input that converts between a delimited string and an array of strings. The default\n * delimiter is a comma followed by a space - equivalent to `ng-list=\", \"`. You can specify a custom\n * delimiter as the value of the `ngList` attribute - for example, `ng-list=\" | \"`.\n *\n * The behaviour of the directive is affected by the use of the `ngTrim` attribute.\n * * If `ngTrim` is set to `\"false\"` then whitespace around both the separator and each\n *   list item is respected. This implies that the user of the directive is responsible for\n *   dealing with whitespace but also allows you to use whitespace as a delimiter, such as a\n *   tab or newline character.\n * * Otherwise whitespace around the delimiter is ignored when splitting (although it is respected\n *   when joining the list items back together) and whitespace around each list item is stripped\n *   before it is added to the model.\n *\n * ### Example with Validation\n *\n * <example name=\"ngList-directive\" module=\"listExample\">\n *   <file name=\"app.js\">\n *      angular.module('listExample', [])\n *        .controller('ExampleController', ['$scope', function($scope) {\n *          $scope.names = ['morpheus', 'neo', 'trinity'];\n *        }]);\n *   </file>\n *   <file name=\"index.html\">\n *    <form name=\"myForm\" ng-controller=\"ExampleController\">\n *      <label>List: <input name=\"namesInput\" ng-model=\"names\" ng-list required></label>\n *      <span role=\"alert\">\n *        <span class=\"error\" ng-show=\"myForm.namesInput.$error.required\">\n *        Required!</span>\n *      </span>\n *      <br>\n *      <tt>names = {{names}}</tt><br/>\n *      <tt>myForm.namesInput.$valid = {{myForm.namesInput.$valid}}</tt><br/>\n *      <tt>myForm.namesInput.$error = {{myForm.namesInput.$error}}</tt><br/>\n *      <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n *      <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n *     </form>\n *   </file>\n *   <file name=\"protractor.js\" type=\"protractor\">\n *     var listInput = element(by.model('names'));\n *     var names = element(by.exactBinding('names'));\n *     var valid = element(by.binding('myForm.namesInput.$valid'));\n *     var error = element(by.css('span.error'));\n *\n *     it('should initialize to model', function() {\n *       expect(names.getText()).toContain('[\"morpheus\",\"neo\",\"trinity\"]');\n *       expect(valid.getText()).toContain('true');\n *       expect(error.getCssValue('display')).toBe('none');\n *     });\n *\n *     it('should be invalid if empty', function() {\n *       listInput.clear();\n *       listInput.sendKeys('');\n *\n *       expect(names.getText()).toContain('');\n *       expect(valid.getText()).toContain('false');\n *       expect(error.getCssValue('display')).not.toBe('none');\n *     });\n *   </file>\n * </example>\n *\n * ### Example - splitting on newline\n * <example name=\"ngList-directive-newlines\">\n *   <file name=\"index.html\">\n *    <textarea ng-model=\"list\" ng-list=\"&#10;\" ng-trim=\"false\"></textarea>\n *    <pre>{{ list | json }}</pre>\n *   </file>\n *   <file name=\"protractor.js\" type=\"protractor\">\n *     it(\"should split the text by newlines\", function() {\n *       var listInput = element(by.model('list'));\n *       var output = element(by.binding('list | json'));\n *       listInput.sendKeys('abc\\ndef\\nghi');\n *       expect(output.getText()).toContain('[\\n  \"abc\",\\n  \"def\",\\n  \"ghi\"\\n]');\n *     });\n *   </file>\n * </example>\n *\n * @element input\n * @param {string=} ngList optional delimiter that should be used to split the value.\n */\nvar ngListDirective = function() {\n  return {\n    restrict: 'A',\n    priority: 100,\n    require: 'ngModel',\n    link: function(scope, element, attr, ctrl) {\n      // We want to control whitespace trimming so we use this convoluted approach\n      // to access the ngList attribute, which doesn't pre-trim the attribute\n      var ngList = element.attr(attr.$attr.ngList) || ', ';\n      var trimValues = attr.ngTrim !== 'false';\n      var separator = trimValues ? trim(ngList) : ngList;\n\n      var parse = function(viewValue) {\n        // If the viewValue is invalid (say required but empty) it will be `undefined`\n        if (isUndefined(viewValue)) return;\n\n        var list = [];\n\n        if (viewValue) {\n          forEach(viewValue.split(separator), function(value) {\n            if (value) list.push(trimValues ? trim(value) : value);\n          });\n        }\n\n        return list;\n      };\n\n      ctrl.$parsers.push(parse);\n      ctrl.$formatters.push(function(value) {\n        if (isArray(value)) {\n          return value.join(ngList);\n        }\n\n        return undefined;\n      });\n\n      // Override the standard $isEmpty because an empty array means the input is empty.\n      ctrl.$isEmpty = function(value) {\n        return !value || !value.length;\n      };\n    }\n  };\n};\n\n/* global VALID_CLASS: true,\n  INVALID_CLASS: true,\n  PRISTINE_CLASS: true,\n  DIRTY_CLASS: true,\n  UNTOUCHED_CLASS: true,\n  TOUCHED_CLASS: true,\n*/\n\nvar VALID_CLASS = 'ng-valid',\n    INVALID_CLASS = 'ng-invalid',\n    PRISTINE_CLASS = 'ng-pristine',\n    DIRTY_CLASS = 'ng-dirty',\n    UNTOUCHED_CLASS = 'ng-untouched',\n    TOUCHED_CLASS = 'ng-touched',\n    PENDING_CLASS = 'ng-pending';\n\nvar ngModelMinErr = minErr('ngModel');\n\n/**\n * @ngdoc type\n * @name ngModel.NgModelController\n *\n * @property {*} $viewValue The actual value from the control's view. For `input` elements, this is a\n * String. See {@link ngModel.NgModelController#$setViewValue} for information about when the $viewValue\n * is set.\n * @property {*} $modelValue The value in the model that the control is bound to.\n * @property {Array.<Function>} $parsers Array of functions to execute, as a pipeline, whenever\n       the control reads value from the DOM. The functions are called in array order, each passing\n       its return value through to the next. The last return value is forwarded to the\n       {@link ngModel.NgModelController#$validators `$validators`} collection.\n\nParsers are used to sanitize / convert the {@link ngModel.NgModelController#$viewValue\n`$viewValue`}.\n\nReturning `undefined` from a parser means a parse error occurred. In that case,\nno {@link ngModel.NgModelController#$validators `$validators`} will run and the `ngModel`\nwill be set to `undefined` unless {@link ngModelOptions `ngModelOptions.allowInvalid`}\nis set to `true`. The parse error is stored in `ngModel.$error.parse`.\n\n *\n * @property {Array.<Function>} $formatters Array of functions to execute, as a pipeline, whenever\n       the model value changes. The functions are called in reverse array order, each passing the value through to the\n       next. The last return value is used as the actual DOM value.\n       Used to format / convert values for display in the control.\n * ```js\n * function formatter(value) {\n *   if (value) {\n *     return value.toUpperCase();\n *   }\n * }\n * ngModel.$formatters.push(formatter);\n * ```\n *\n * @property {Object.<string, function>} $validators A collection of validators that are applied\n *      whenever the model value changes. The key value within the object refers to the name of the\n *      validator while the function refers to the validation operation. The validation operation is\n *      provided with the model value as an argument and must return a true or false value depending\n *      on the response of that validation.\n *\n * ```js\n * ngModel.$validators.validCharacters = function(modelValue, viewValue) {\n *   var value = modelValue || viewValue;\n *   return /[0-9]+/.test(value) &&\n *          /[a-z]+/.test(value) &&\n *          /[A-Z]+/.test(value) &&\n *          /\\W+/.test(value);\n * };\n * ```\n *\n * @property {Object.<string, function>} $asyncValidators A collection of validations that are expected to\n *      perform an asynchronous validation (e.g. a HTTP request). The validation function that is provided\n *      is expected to return a promise when it is run during the model validation process. Once the promise\n *      is delivered then the validation status will be set to true when fulfilled and false when rejected.\n *      When the asynchronous validators are triggered, each of the validators will run in parallel and the model\n *      value will only be updated once all validators have been fulfilled. As long as an asynchronous validator\n *      is unfulfilled, its key will be added to the controllers `$pending` property. Also, all asynchronous validators\n *      will only run once all synchronous validators have passed.\n *\n * Please note that if $http is used then it is important that the server returns a success HTTP response code\n * in order to fulfill the validation and a status level of `4xx` in order to reject the validation.\n *\n * ```js\n * ngModel.$asyncValidators.uniqueUsername = function(modelValue, viewValue) {\n *   var value = modelValue || viewValue;\n *\n *   // Lookup user by username\n *   return $http.get('/api/users/' + value).\n *      then(function resolved() {\n *        //username exists, this means validation fails\n *        return $q.reject('exists');\n *      }, function rejected() {\n *        //username does not exist, therefore this validation passes\n *        return true;\n *      });\n * };\n * ```\n *\n * @property {Array.<Function>} $viewChangeListeners Array of functions to execute whenever the\n *     view value has changed. It is called with no arguments, and its return value is ignored.\n *     This can be used in place of additional $watches against the model value.\n *\n * @property {Object} $error An object hash with all failing validator ids as keys.\n * @property {Object} $pending An object hash with all pending validator ids as keys.\n *\n * @property {boolean} $untouched True if control has not lost focus yet.\n * @property {boolean} $touched True if control has lost focus.\n * @property {boolean} $pristine True if user has not interacted with the control yet.\n * @property {boolean} $dirty True if user has already interacted with the control.\n * @property {boolean} $valid True if there is no error.\n * @property {boolean} $invalid True if at least one error on the control.\n * @property {string} $name The name attribute of the control.\n *\n * @description\n *\n * `NgModelController` provides API for the {@link ngModel `ngModel`} directive.\n * The controller contains services for data-binding, validation, CSS updates, and value formatting\n * and parsing. It purposefully does not contain any logic which deals with DOM rendering or\n * listening to DOM events.\n * Such DOM related logic should be provided by other directives which make use of\n * `NgModelController` for data-binding to control elements.\n * Angular provides this DOM logic for most {@link input `input`} elements.\n * At the end of this page you can find a {@link ngModel.NgModelController#custom-control-example\n * custom control example} that uses `ngModelController` to bind to `contenteditable` elements.\n *\n * @example\n * ### Custom Control Example\n * This example shows how to use `NgModelController` with a custom control to achieve\n * data-binding. Notice how different directives (`contenteditable`, `ng-model`, and `required`)\n * collaborate together to achieve the desired result.\n *\n * `contenteditable` is an HTML5 attribute, which tells the browser to let the element\n * contents be edited in place by the user.\n *\n * We are using the {@link ng.service:$sce $sce} service here and include the {@link ngSanitize $sanitize}\n * module to automatically remove \"bad\" content like inline event listener (e.g. `<span onclick=\"...\">`).\n * However, as we are using `$sce` the model can still decide to provide unsafe content if it marks\n * that content using the `$sce` service.\n *\n * <example name=\"NgModelController\" module=\"customControl\" deps=\"angular-sanitize.js\">\n    <file name=\"style.css\">\n      [contenteditable] {\n        border: 1px solid black;\n        background-color: white;\n        min-height: 20px;\n      }\n\n      .ng-invalid {\n        border: 1px solid red;\n      }\n\n    </file>\n    <file name=\"script.js\">\n      angular.module('customControl', ['ngSanitize']).\n        directive('contenteditable', ['$sce', function($sce) {\n          return {\n            restrict: 'A', // only activate on element attribute\n            require: '?ngModel', // get a hold of NgModelController\n            link: function(scope, element, attrs, ngModel) {\n              if (!ngModel) return; // do nothing if no ng-model\n\n              // Specify how UI should be updated\n              ngModel.$render = function() {\n                element.html($sce.getTrustedHtml(ngModel.$viewValue || ''));\n              };\n\n              // Listen for change events to enable binding\n              element.on('blur keyup change', function() {\n                scope.$evalAsync(read);\n              });\n              read(); // initialize\n\n              // Write data to the model\n              function read() {\n                var html = element.html();\n                // When we clear the content editable the browser leaves a <br> behind\n                // If strip-br attribute is provided then we strip this out\n                if ( attrs.stripBr && html == '<br>' ) {\n                  html = '';\n                }\n                ngModel.$setViewValue(html);\n              }\n            }\n          };\n        }]);\n    </file>\n    <file name=\"index.html\">\n      <form name=\"myForm\">\n       <div contenteditable\n            name=\"myWidget\" ng-model=\"userContent\"\n            strip-br=\"true\"\n            required>Change me!</div>\n        <span ng-show=\"myForm.myWidget.$error.required\">Required!</span>\n       <hr>\n       <textarea ng-model=\"userContent\" aria-label=\"Dynamic textarea\"></textarea>\n      </form>\n    </file>\n    <file name=\"protractor.js\" type=\"protractor\">\n    it('should data-bind and become invalid', function() {\n      if (browser.params.browser == 'safari' || browser.params.browser == 'firefox') {\n        // SafariDriver can't handle contenteditable\n        // and Firefox driver can't clear contenteditables very well\n        return;\n      }\n      var contentEditable = element(by.css('[contenteditable]'));\n      var content = 'Change me!';\n\n      expect(contentEditable.getText()).toEqual(content);\n\n      contentEditable.clear();\n      contentEditable.sendKeys(protractor.Key.BACK_SPACE);\n      expect(contentEditable.getText()).toEqual('');\n      expect(contentEditable.getAttribute('class')).toMatch(/ng-invalid-required/);\n    });\n    </file>\n * </example>\n *\n *\n */\nvar NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$parse', '$animate', '$timeout', '$rootScope', '$q', '$interpolate',\n    function($scope, $exceptionHandler, $attr, $element, $parse, $animate, $timeout, $rootScope, $q, $interpolate) {\n  this.$viewValue = Number.NaN;\n  this.$modelValue = Number.NaN;\n  this.$$rawModelValue = undefined; // stores the parsed modelValue / model set from scope regardless of validity.\n  this.$validators = {};\n  this.$asyncValidators = {};\n  this.$parsers = [];\n  this.$formatters = [];\n  this.$viewChangeListeners = [];\n  this.$untouched = true;\n  this.$touched = false;\n  this.$pristine = true;\n  this.$dirty = false;\n  this.$valid = true;\n  this.$invalid = false;\n  this.$error = {}; // keep invalid keys here\n  this.$$success = {}; // keep valid keys here\n  this.$pending = undefined; // keep pending keys here\n  this.$name = $interpolate($attr.name || '', false)($scope);\n  this.$$parentForm = nullFormCtrl;\n\n  var parsedNgModel = $parse($attr.ngModel),\n      parsedNgModelAssign = parsedNgModel.assign,\n      ngModelGet = parsedNgModel,\n      ngModelSet = parsedNgModelAssign,\n      pendingDebounce = null,\n      parserValid,\n      ctrl = this;\n\n  this.$$setOptions = function(options) {\n    ctrl.$options = options;\n    if (options && options.getterSetter) {\n      var invokeModelGetter = $parse($attr.ngModel + '()'),\n          invokeModelSetter = $parse($attr.ngModel + '($$$p)');\n\n      ngModelGet = function($scope) {\n        var modelValue = parsedNgModel($scope);\n        if (isFunction(modelValue)) {\n          modelValue = invokeModelGetter($scope);\n        }\n        return modelValue;\n      };\n      ngModelSet = function($scope, newValue) {\n        if (isFunction(parsedNgModel($scope))) {\n          invokeModelSetter($scope, {$$$p: ctrl.$modelValue});\n        } else {\n          parsedNgModelAssign($scope, ctrl.$modelValue);\n        }\n      };\n    } else if (!parsedNgModel.assign) {\n      throw ngModelMinErr('nonassign', \"Expression '{0}' is non-assignable. Element: {1}\",\n          $attr.ngModel, startingTag($element));\n    }\n  };\n\n  /**\n   * @ngdoc method\n   * @name ngModel.NgModelController#$render\n   *\n   * @description\n   * Called when the view needs to be updated. It is expected that the user of the ng-model\n   * directive will implement this method.\n   *\n   * The `$render()` method is invoked in the following situations:\n   *\n   * * `$rollbackViewValue()` is called.  If we are rolling back the view value to the last\n   *   committed value then `$render()` is called to update the input control.\n   * * The value referenced by `ng-model` is changed programmatically and both the `$modelValue` and\n   *   the `$viewValue` are different from last time.\n   *\n   * Since `ng-model` does not do a deep watch, `$render()` is only invoked if the values of\n   * `$modelValue` and `$viewValue` are actually different from their previous value. If `$modelValue`\n   * or `$viewValue` are objects (rather than a string or number) then `$render()` will not be\n   * invoked if you only change a property on the objects.\n   */\n  this.$render = noop;\n\n  /**\n   * @ngdoc method\n   * @name ngModel.NgModelController#$isEmpty\n   *\n   * @description\n   * This is called when we need to determine if the value of an input is empty.\n   *\n   * For instance, the required directive does this to work out if the input has data or not.\n   *\n   * The default `$isEmpty` function checks whether the value is `undefined`, `''`, `null` or `NaN`.\n   *\n   * You can override this for input directives whose concept of being empty is different from the\n   * default. The `checkboxInputType` directive does this because in its case a value of `false`\n   * implies empty.\n   *\n   * @param {*} value The value of the input to check for emptiness.\n   * @returns {boolean} True if `value` is \"empty\".\n   */\n  this.$isEmpty = function(value) {\n    return isUndefined(value) || value === '' || value === null || value !== value;\n  };\n\n  var currentValidationRunId = 0;\n\n  /**\n   * @ngdoc method\n   * @name ngModel.NgModelController#$setValidity\n   *\n   * @description\n   * Change the validity state, and notify the form.\n   *\n   * This method can be called within $parsers/$formatters or a custom validation implementation.\n   * However, in most cases it should be sufficient to use the `ngModel.$validators` and\n   * `ngModel.$asyncValidators` collections which will call `$setValidity` automatically.\n   *\n   * @param {string} validationErrorKey Name of the validator. The `validationErrorKey` will be assigned\n   *        to either `$error[validationErrorKey]` or `$pending[validationErrorKey]`\n   *        (for unfulfilled `$asyncValidators`), so that it is available for data-binding.\n   *        The `validationErrorKey` should be in camelCase and will get converted into dash-case\n   *        for class name. Example: `myError` will result in `ng-valid-my-error` and `ng-invalid-my-error`\n   *        class and can be bound to as  `{{someForm.someControl.$error.myError}}` .\n   * @param {boolean} isValid Whether the current state is valid (true), invalid (false), pending (undefined),\n   *                          or skipped (null). Pending is used for unfulfilled `$asyncValidators`.\n   *                          Skipped is used by Angular when validators do not run because of parse errors and\n   *                          when `$asyncValidators` do not run because any of the `$validators` failed.\n   */\n  addSetValidityMethod({\n    ctrl: this,\n    $element: $element,\n    set: function(object, property) {\n      object[property] = true;\n    },\n    unset: function(object, property) {\n      delete object[property];\n    },\n    $animate: $animate\n  });\n\n  /**\n   * @ngdoc method\n   * @name ngModel.NgModelController#$setPristine\n   *\n   * @description\n   * Sets the control to its pristine state.\n   *\n   * This method can be called to remove the `ng-dirty` class and set the control to its pristine\n   * state (`ng-pristine` class). A model is considered to be pristine when the control\n   * has not been changed from when first compiled.\n   */\n  this.$setPristine = function() {\n    ctrl.$dirty = false;\n    ctrl.$pristine = true;\n    $animate.removeClass($element, DIRTY_CLASS);\n    $animate.addClass($element, PRISTINE_CLASS);\n  };\n\n  /**\n   * @ngdoc method\n   * @name ngModel.NgModelController#$setDirty\n   *\n   * @description\n   * Sets the control to its dirty state.\n   *\n   * This method can be called to remove the `ng-pristine` class and set the control to its dirty\n   * state (`ng-dirty` class). A model is considered to be dirty when the control has been changed\n   * from when first compiled.\n   */\n  this.$setDirty = function() {\n    ctrl.$dirty = true;\n    ctrl.$pristine = false;\n    $animate.removeClass($element, PRISTINE_CLASS);\n    $animate.addClass($element, DIRTY_CLASS);\n    ctrl.$$parentForm.$setDirty();\n  };\n\n  /**\n   * @ngdoc method\n   * @name ngModel.NgModelController#$setUntouched\n   *\n   * @description\n   * Sets the control to its untouched state.\n   *\n   * This method can be called to remove the `ng-touched` class and set the control to its\n   * untouched state (`ng-untouched` class). Upon compilation, a model is set as untouched\n   * by default, however this function can be used to restore that state if the model has\n   * already been touched by the user.\n   */\n  this.$setUntouched = function() {\n    ctrl.$touched = false;\n    ctrl.$untouched = true;\n    $animate.setClass($element, UNTOUCHED_CLASS, TOUCHED_CLASS);\n  };\n\n  /**\n   * @ngdoc method\n   * @name ngModel.NgModelController#$setTouched\n   *\n   * @description\n   * Sets the control to its touched state.\n   *\n   * This method can be called to remove the `ng-untouched` class and set the control to its\n   * touched state (`ng-touched` class). A model is considered to be touched when the user has\n   * first focused the control element and then shifted focus away from the control (blur event).\n   */\n  this.$setTouched = function() {\n    ctrl.$touched = true;\n    ctrl.$untouched = false;\n    $animate.setClass($element, TOUCHED_CLASS, UNTOUCHED_CLASS);\n  };\n\n  /**\n   * @ngdoc method\n   * @name ngModel.NgModelController#$rollbackViewValue\n   *\n   * @description\n   * Cancel an update and reset the input element's value to prevent an update to the `$modelValue`,\n   * which may be caused by a pending debounced event or because the input is waiting for a some\n   * future event.\n   *\n   * If you have an input that uses `ng-model-options` to set up debounced events or events such\n   * as blur you can have a situation where there is a period when the `$viewValue`\n   * is out of synch with the ngModel's `$modelValue`.\n   *\n   * In this case, you can run into difficulties if you try to update the ngModel's `$modelValue`\n   * programmatically before these debounced/future events have resolved/occurred, because Angular's\n   * dirty checking mechanism is not able to tell whether the model has actually changed or not.\n   *\n   * The `$rollbackViewValue()` method should be called before programmatically changing the model of an\n   * input which may have such events pending. This is important in order to make sure that the\n   * input field will be updated with the new model value and any pending operations are cancelled.\n   *\n   * <example name=\"ng-model-cancel-update\" module=\"cancel-update-example\">\n   *   <file name=\"app.js\">\n   *     angular.module('cancel-update-example', [])\n   *\n   *     .controller('CancelUpdateController', ['$scope', function($scope) {\n   *       $scope.resetWithCancel = function(e) {\n   *         if (e.keyCode == 27) {\n   *           $scope.myForm.myInput1.$rollbackViewValue();\n   *           $scope.myValue = '';\n   *         }\n   *       };\n   *       $scope.resetWithoutCancel = function(e) {\n   *         if (e.keyCode == 27) {\n   *           $scope.myValue = '';\n   *         }\n   *       };\n   *     }]);\n   *   </file>\n   *   <file name=\"index.html\">\n   *     <div ng-controller=\"CancelUpdateController\">\n   *       <p>Try typing something in each input.  See that the model only updates when you\n   *          blur off the input.\n   *        </p>\n   *        <p>Now see what happens if you start typing then press the Escape key</p>\n   *\n   *       <form name=\"myForm\" ng-model-options=\"{ updateOn: 'blur' }\">\n   *         <p id=\"inputDescription1\">With $rollbackViewValue()</p>\n   *         <input name=\"myInput1\" aria-describedby=\"inputDescription1\" ng-model=\"myValue\"\n   *                ng-keydown=\"resetWithCancel($event)\"><br/>\n   *         myValue: \"{{ myValue }}\"\n   *\n   *         <p id=\"inputDescription2\">Without $rollbackViewValue()</p>\n   *         <input name=\"myInput2\" aria-describedby=\"inputDescription2\" ng-model=\"myValue\"\n   *                ng-keydown=\"resetWithoutCancel($event)\"><br/>\n   *         myValue: \"{{ myValue }}\"\n   *       </form>\n   *     </div>\n   *   </file>\n   * </example>\n   */\n  this.$rollbackViewValue = function() {\n    $timeout.cancel(pendingDebounce);\n    ctrl.$viewValue = ctrl.$$lastCommittedViewValue;\n    ctrl.$render();\n  };\n\n  /**\n   * @ngdoc method\n   * @name ngModel.NgModelController#$validate\n   *\n   * @description\n   * Runs each of the registered validators (first synchronous validators and then\n   * asynchronous validators).\n   * If the validity changes to invalid, the model will be set to `undefined`,\n   * unless {@link ngModelOptions `ngModelOptions.allowInvalid`} is `true`.\n   * If the validity changes to valid, it will set the model to the last available valid\n   * `$modelValue`, i.e. either the last parsed value or the last value set from the scope.\n   */\n  this.$validate = function() {\n    // ignore $validate before model is initialized\n    if (isNumber(ctrl.$modelValue) && isNaN(ctrl.$modelValue)) {\n      return;\n    }\n\n    var viewValue = ctrl.$$lastCommittedViewValue;\n    // Note: we use the $$rawModelValue as $modelValue might have been\n    // set to undefined during a view -> model update that found validation\n    // errors. We can't parse the view here, since that could change\n    // the model although neither viewValue nor the model on the scope changed\n    var modelValue = ctrl.$$rawModelValue;\n\n    var prevValid = ctrl.$valid;\n    var prevModelValue = ctrl.$modelValue;\n\n    var allowInvalid = ctrl.$options && ctrl.$options.allowInvalid;\n\n    ctrl.$$runValidators(modelValue, viewValue, function(allValid) {\n      // If there was no change in validity, don't update the model\n      // This prevents changing an invalid modelValue to undefined\n      if (!allowInvalid && prevValid !== allValid) {\n        // Note: Don't check ctrl.$valid here, as we could have\n        // external validators (e.g. calculated on the server),\n        // that just call $setValidity and need the model value\n        // to calculate their validity.\n        ctrl.$modelValue = allValid ? modelValue : undefined;\n\n        if (ctrl.$modelValue !== prevModelValue) {\n          ctrl.$$writeModelToScope();\n        }\n      }\n    });\n\n  };\n\n  this.$$runValidators = function(modelValue, viewValue, doneCallback) {\n    currentValidationRunId++;\n    var localValidationRunId = currentValidationRunId;\n\n    // check parser error\n    if (!processParseErrors()) {\n      validationDone(false);\n      return;\n    }\n    if (!processSyncValidators()) {\n      validationDone(false);\n      return;\n    }\n    processAsyncValidators();\n\n    function processParseErrors() {\n      var errorKey = ctrl.$$parserName || 'parse';\n      if (isUndefined(parserValid)) {\n        setValidity(errorKey, null);\n      } else {\n        if (!parserValid) {\n          forEach(ctrl.$validators, function(v, name) {\n            setValidity(name, null);\n          });\n          forEach(ctrl.$asyncValidators, function(v, name) {\n            setValidity(name, null);\n          });\n        }\n        // Set the parse error last, to prevent unsetting it, should a $validators key == parserName\n        setValidity(errorKey, parserValid);\n        return parserValid;\n      }\n      return true;\n    }\n\n    function processSyncValidators() {\n      var syncValidatorsValid = true;\n      forEach(ctrl.$validators, function(validator, name) {\n        var result = validator(modelValue, viewValue);\n        syncValidatorsValid = syncValidatorsValid && result;\n        setValidity(name, result);\n      });\n      if (!syncValidatorsValid) {\n        forEach(ctrl.$asyncValidators, function(v, name) {\n          setValidity(name, null);\n        });\n        return false;\n      }\n      return true;\n    }\n\n    function processAsyncValidators() {\n      var validatorPromises = [];\n      var allValid = true;\n      forEach(ctrl.$asyncValidators, function(validator, name) {\n        var promise = validator(modelValue, viewValue);\n        if (!isPromiseLike(promise)) {\n          throw ngModelMinErr(\"$asyncValidators\",\n            \"Expected asynchronous validator to return a promise but got '{0}' instead.\", promise);\n        }\n        setValidity(name, undefined);\n        validatorPromises.push(promise.then(function() {\n          setValidity(name, true);\n        }, function(error) {\n          allValid = false;\n          setValidity(name, false);\n        }));\n      });\n      if (!validatorPromises.length) {\n        validationDone(true);\n      } else {\n        $q.all(validatorPromises).then(function() {\n          validationDone(allValid);\n        }, noop);\n      }\n    }\n\n    function setValidity(name, isValid) {\n      if (localValidationRunId === currentValidationRunId) {\n        ctrl.$setValidity(name, isValid);\n      }\n    }\n\n    function validationDone(allValid) {\n      if (localValidationRunId === currentValidationRunId) {\n\n        doneCallback(allValid);\n      }\n    }\n  };\n\n  /**\n   * @ngdoc method\n   * @name ngModel.NgModelController#$commitViewValue\n   *\n   * @description\n   * Commit a pending update to the `$modelValue`.\n   *\n   * Updates may be pending by a debounced event or because the input is waiting for a some future\n   * event defined in `ng-model-options`. this method is rarely needed as `NgModelController`\n   * usually handles calling this in response to input events.\n   */\n  this.$commitViewValue = function() {\n    var viewValue = ctrl.$viewValue;\n\n    $timeout.cancel(pendingDebounce);\n\n    // If the view value has not changed then we should just exit, except in the case where there is\n    // a native validator on the element. In this case the validation state may have changed even though\n    // the viewValue has stayed empty.\n    if (ctrl.$$lastCommittedViewValue === viewValue && (viewValue !== '' || !ctrl.$$hasNativeValidators)) {\n      return;\n    }\n    ctrl.$$lastCommittedViewValue = viewValue;\n\n    // change to dirty\n    if (ctrl.$pristine) {\n      this.$setDirty();\n    }\n    this.$$parseAndValidate();\n  };\n\n  this.$$parseAndValidate = function() {\n    var viewValue = ctrl.$$lastCommittedViewValue;\n    var modelValue = viewValue;\n    parserValid = isUndefined(modelValue) ? undefined : true;\n\n    if (parserValid) {\n      for (var i = 0; i < ctrl.$parsers.length; i++) {\n        modelValue = ctrl.$parsers[i](modelValue);\n        if (isUndefined(modelValue)) {\n          parserValid = false;\n          break;\n        }\n      }\n    }\n    if (isNumber(ctrl.$modelValue) && isNaN(ctrl.$modelValue)) {\n      // ctrl.$modelValue has not been touched yet...\n      ctrl.$modelValue = ngModelGet($scope);\n    }\n    var prevModelValue = ctrl.$modelValue;\n    var allowInvalid = ctrl.$options && ctrl.$options.allowInvalid;\n    ctrl.$$rawModelValue = modelValue;\n\n    if (allowInvalid) {\n      ctrl.$modelValue = modelValue;\n      writeToModelIfNeeded();\n    }\n\n    // Pass the $$lastCommittedViewValue here, because the cached viewValue might be out of date.\n    // This can happen if e.g. $setViewValue is called from inside a parser\n    ctrl.$$runValidators(modelValue, ctrl.$$lastCommittedViewValue, function(allValid) {\n      if (!allowInvalid) {\n        // Note: Don't check ctrl.$valid here, as we could have\n        // external validators (e.g. calculated on the server),\n        // that just call $setValidity and need the model value\n        // to calculate their validity.\n        ctrl.$modelValue = allValid ? modelValue : undefined;\n        writeToModelIfNeeded();\n      }\n    });\n\n    function writeToModelIfNeeded() {\n      if (ctrl.$modelValue !== prevModelValue) {\n        ctrl.$$writeModelToScope();\n      }\n    }\n  };\n\n  this.$$writeModelToScope = function() {\n    ngModelSet($scope, ctrl.$modelValue);\n    forEach(ctrl.$viewChangeListeners, function(listener) {\n      try {\n        listener();\n      } catch (e) {\n        $exceptionHandler(e);\n      }\n    });\n  };\n\n  /**\n   * @ngdoc method\n   * @name ngModel.NgModelController#$setViewValue\n   *\n   * @description\n   * Update the view value.\n   *\n   * This method should be called when a control wants to change the view value; typically,\n   * this is done from within a DOM event handler. For example, the {@link ng.directive:input input}\n   * directive calls it when the value of the input changes and {@link ng.directive:select select}\n   * calls it when an option is selected.\n   *\n   * When `$setViewValue` is called, the new `value` will be staged for committing through the `$parsers`\n   * and `$validators` pipelines. If there are no special {@link ngModelOptions} specified then the staged\n   * value sent directly for processing, finally to be applied to `$modelValue` and then the\n   * **expression** specified in the `ng-model` attribute. Lastly, all the registered change listeners,\n   * in the `$viewChangeListeners` list, are called.\n   *\n   * In case the {@link ng.directive:ngModelOptions ngModelOptions} directive is used with `updateOn`\n   * and the `default` trigger is not listed, all those actions will remain pending until one of the\n   * `updateOn` events is triggered on the DOM element.\n   * All these actions will be debounced if the {@link ng.directive:ngModelOptions ngModelOptions}\n   * directive is used with a custom debounce for this particular event.\n   * Note that a `$digest` is only triggered once the `updateOn` events are fired, or if `debounce`\n   * is specified, once the timer runs out.\n   *\n   * When used with standard inputs, the view value will always be a string (which is in some cases\n   * parsed into another type, such as a `Date` object for `input[date]`.)\n   * However, custom controls might also pass objects to this method. In this case, we should make\n   * a copy of the object before passing it to `$setViewValue`. This is because `ngModel` does not\n   * perform a deep watch of objects, it only looks for a change of identity. If you only change\n   * the property of the object then ngModel will not realise that the object has changed and\n   * will not invoke the `$parsers` and `$validators` pipelines. For this reason, you should\n   * not change properties of the copy once it has been passed to `$setViewValue`.\n   * Otherwise you may cause the model value on the scope to change incorrectly.\n   *\n   * <div class=\"alert alert-info\">\n   * In any case, the value passed to the method should always reflect the current value\n   * of the control. For example, if you are calling `$setViewValue` for an input element,\n   * you should pass the input DOM value. Otherwise, the control and the scope model become\n   * out of sync. It's also important to note that `$setViewValue` does not call `$render` or change\n   * the control's DOM value in any way. If we want to change the control's DOM value\n   * programmatically, we should update the `ngModel` scope expression. Its new value will be\n   * picked up by the model controller, which will run it through the `$formatters`, `$render` it\n   * to update the DOM, and finally call `$validate` on it.\n   * </div>\n   *\n   * @param {*} value value from the view.\n   * @param {string} trigger Event that triggered the update.\n   */\n  this.$setViewValue = function(value, trigger) {\n    ctrl.$viewValue = value;\n    if (!ctrl.$options || ctrl.$options.updateOnDefault) {\n      ctrl.$$debounceViewValueCommit(trigger);\n    }\n  };\n\n  this.$$debounceViewValueCommit = function(trigger) {\n    var debounceDelay = 0,\n        options = ctrl.$options,\n        debounce;\n\n    if (options && isDefined(options.debounce)) {\n      debounce = options.debounce;\n      if (isNumber(debounce)) {\n        debounceDelay = debounce;\n      } else if (isNumber(debounce[trigger])) {\n        debounceDelay = debounce[trigger];\n      } else if (isNumber(debounce['default'])) {\n        debounceDelay = debounce['default'];\n      }\n    }\n\n    $timeout.cancel(pendingDebounce);\n    if (debounceDelay) {\n      pendingDebounce = $timeout(function() {\n        ctrl.$commitViewValue();\n      }, debounceDelay);\n    } else if ($rootScope.$$phase) {\n      ctrl.$commitViewValue();\n    } else {\n      $scope.$apply(function() {\n        ctrl.$commitViewValue();\n      });\n    }\n  };\n\n  // model -> value\n  // Note: we cannot use a normal scope.$watch as we want to detect the following:\n  // 1. scope value is 'a'\n  // 2. user enters 'b'\n  // 3. ng-change kicks in and reverts scope value to 'a'\n  //    -> scope value did not change since the last digest as\n  //       ng-change executes in apply phase\n  // 4. view should be changed back to 'a'\n  $scope.$watch(function ngModelWatch() {\n    var modelValue = ngModelGet($scope);\n\n    // if scope model value and ngModel value are out of sync\n    // TODO(perf): why not move this to the action fn?\n    if (modelValue !== ctrl.$modelValue &&\n       // checks for NaN is needed to allow setting the model to NaN when there's an asyncValidator\n       (ctrl.$modelValue === ctrl.$modelValue || modelValue === modelValue)\n    ) {\n      ctrl.$modelValue = ctrl.$$rawModelValue = modelValue;\n      parserValid = undefined;\n\n      var formatters = ctrl.$formatters,\n          idx = formatters.length;\n\n      var viewValue = modelValue;\n      while (idx--) {\n        viewValue = formatters[idx](viewValue);\n      }\n      if (ctrl.$viewValue !== viewValue) {\n        ctrl.$viewValue = ctrl.$$lastCommittedViewValue = viewValue;\n        ctrl.$render();\n\n        ctrl.$$runValidators(modelValue, viewValue, noop);\n      }\n    }\n\n    return modelValue;\n  });\n}];\n\n\n/**\n * @ngdoc directive\n * @name ngModel\n *\n * @element input\n * @priority 1\n *\n * @description\n * The `ngModel` directive binds an `input`,`select`, `textarea` (or custom form control) to a\n * property on the scope using {@link ngModel.NgModelController NgModelController},\n * which is created and exposed by this directive.\n *\n * `ngModel` is responsible for:\n *\n * - Binding the view into the model, which other directives such as `input`, `textarea` or `select`\n *   require.\n * - Providing validation behavior (i.e. required, number, email, url).\n * - Keeping the state of the control (valid/invalid, dirty/pristine, touched/untouched, validation errors).\n * - Setting related css classes on the element (`ng-valid`, `ng-invalid`, `ng-dirty`, `ng-pristine`, `ng-touched`, `ng-untouched`) including animations.\n * - Registering the control with its parent {@link ng.directive:form form}.\n *\n * Note: `ngModel` will try to bind to the property given by evaluating the expression on the\n * current scope. If the property doesn't already exist on this scope, it will be created\n * implicitly and added to the scope.\n *\n * For best practices on using `ngModel`, see:\n *\n *  - [Understanding Scopes](https://github.com/angular/angular.js/wiki/Understanding-Scopes)\n *\n * For basic examples, how to use `ngModel`, see:\n *\n *  - {@link ng.directive:input input}\n *    - {@link input[text] text}\n *    - {@link input[checkbox] checkbox}\n *    - {@link input[radio] radio}\n *    - {@link input[number] number}\n *    - {@link input[email] email}\n *    - {@link input[url] url}\n *    - {@link input[date] date}\n *    - {@link input[datetime-local] datetime-local}\n *    - {@link input[time] time}\n *    - {@link input[month] month}\n *    - {@link input[week] week}\n *  - {@link ng.directive:select select}\n *  - {@link ng.directive:textarea textarea}\n *\n * # CSS classes\n * The following CSS classes are added and removed on the associated input/select/textarea element\n * depending on the validity of the model.\n *\n *  - `ng-valid`: the model is valid\n *  - `ng-invalid`: the model is invalid\n *  - `ng-valid-[key]`: for each valid key added by `$setValidity`\n *  - `ng-invalid-[key]`: for each invalid key added by `$setValidity`\n *  - `ng-pristine`: the control hasn't been interacted with yet\n *  - `ng-dirty`: the control has been interacted with\n *  - `ng-touched`: the control has been blurred\n *  - `ng-untouched`: the control hasn't been blurred\n *  - `ng-pending`: any `$asyncValidators` are unfulfilled\n *\n * Keep in mind that ngAnimate can detect each of these classes when added and removed.\n *\n * ## Animation Hooks\n *\n * Animations within models are triggered when any of the associated CSS classes are added and removed\n * on the input element which is attached to the model. These classes are: `.ng-pristine`, `.ng-dirty`,\n * `.ng-invalid` and `.ng-valid` as well as any other validations that are performed on the model itself.\n * The animations that are triggered within ngModel are similar to how they work in ngClass and\n * animations can be hooked into using CSS transitions, keyframes as well as JS animations.\n *\n * The following example shows a simple way to utilize CSS transitions to style an input element\n * that has been rendered as invalid after it has been validated:\n *\n * <pre>\n * //be sure to include ngAnimate as a module to hook into more\n * //advanced animations\n * .my-input {\n *   transition:0.5s linear all;\n *   background: white;\n * }\n * .my-input.ng-invalid {\n *   background: red;\n *   color:white;\n * }\n * </pre>\n *\n * @example\n * <example deps=\"angular-animate.js\" animations=\"true\" fixBase=\"true\" module=\"inputExample\">\n     <file name=\"index.html\">\n       <script>\n        angular.module('inputExample', [])\n          .controller('ExampleController', ['$scope', function($scope) {\n            $scope.val = '1';\n          }]);\n       </script>\n       <style>\n         .my-input {\n           transition:all linear 0.5s;\n           background: transparent;\n         }\n         .my-input.ng-invalid {\n           color:white;\n           background: red;\n         }\n       </style>\n       <p id=\"inputDescription\">\n        Update input to see transitions when valid/invalid.\n        Integer is a valid value.\n       </p>\n       <form name=\"testForm\" ng-controller=\"ExampleController\">\n         <input ng-model=\"val\" ng-pattern=\"/^\\d+$/\" name=\"anim\" class=\"my-input\"\n                aria-describedby=\"inputDescription\" />\n       </form>\n     </file>\n * </example>\n *\n * ## Binding to a getter/setter\n *\n * Sometimes it's helpful to bind `ngModel` to a getter/setter function.  A getter/setter is a\n * function that returns a representation of the model when called with zero arguments, and sets\n * the internal state of a model when called with an argument. It's sometimes useful to use this\n * for models that have an internal representation that's different from what the model exposes\n * to the view.\n *\n * <div class=\"alert alert-success\">\n * **Best Practice:** It's best to keep getters fast because Angular is likely to call them more\n * frequently than other parts of your code.\n * </div>\n *\n * You use this behavior by adding `ng-model-options=\"{ getterSetter: true }\"` to an element that\n * has `ng-model` attached to it. You can also add `ng-model-options=\"{ getterSetter: true }\"` to\n * a `<form>`, which will enable this behavior for all `<input>`s within it. See\n * {@link ng.directive:ngModelOptions `ngModelOptions`} for more.\n *\n * The following example shows how to use `ngModel` with a getter/setter:\n *\n * @example\n * <example name=\"ngModel-getter-setter\" module=\"getterSetterExample\">\n     <file name=\"index.html\">\n       <div ng-controller=\"ExampleController\">\n         <form name=\"userForm\">\n           <label>Name:\n             <input type=\"text\" name=\"userName\"\n                    ng-model=\"user.name\"\n                    ng-model-options=\"{ getterSetter: true }\" />\n           </label>\n         </form>\n         <pre>user.name = <span ng-bind=\"user.name()\"></span></pre>\n       </div>\n     </file>\n     <file name=\"app.js\">\n       angular.module('getterSetterExample', [])\n         .controller('ExampleController', ['$scope', function($scope) {\n           var _name = 'Brian';\n           $scope.user = {\n             name: function(newName) {\n              // Note that newName can be undefined for two reasons:\n              // 1. Because it is called as a getter and thus called with no arguments\n              // 2. Because the property should actually be set to undefined. This happens e.g. if the\n              //    input is invalid\n              return arguments.length ? (_name = newName) : _name;\n             }\n           };\n         }]);\n     </file>\n * </example>\n */\nvar ngModelDirective = ['$rootScope', function($rootScope) {\n  return {\n    restrict: 'A',\n    require: ['ngModel', '^?form', '^?ngModelOptions'],\n    controller: NgModelController,\n    // Prelink needs to run before any input directive\n    // so that we can set the NgModelOptions in NgModelController\n    // before anyone else uses it.\n    priority: 1,\n    compile: function ngModelCompile(element) {\n      // Setup initial state of the control\n      element.addClass(PRISTINE_CLASS).addClass(UNTOUCHED_CLASS).addClass(VALID_CLASS);\n\n      return {\n        pre: function ngModelPreLink(scope, element, attr, ctrls) {\n          var modelCtrl = ctrls[0],\n              formCtrl = ctrls[1] || modelCtrl.$$parentForm;\n\n          modelCtrl.$$setOptions(ctrls[2] && ctrls[2].$options);\n\n          // notify others, especially parent forms\n          formCtrl.$addControl(modelCtrl);\n\n          attr.$observe('name', function(newValue) {\n            if (modelCtrl.$name !== newValue) {\n              modelCtrl.$$parentForm.$$renameControl(modelCtrl, newValue);\n            }\n          });\n\n          scope.$on('$destroy', function() {\n            modelCtrl.$$parentForm.$removeControl(modelCtrl);\n          });\n        },\n        post: function ngModelPostLink(scope, element, attr, ctrls) {\n          var modelCtrl = ctrls[0];\n          if (modelCtrl.$options && modelCtrl.$options.updateOn) {\n            element.on(modelCtrl.$options.updateOn, function(ev) {\n              modelCtrl.$$debounceViewValueCommit(ev && ev.type);\n            });\n          }\n\n          element.on('blur', function(ev) {\n            if (modelCtrl.$touched) return;\n\n            if ($rootScope.$$phase) {\n              scope.$evalAsync(modelCtrl.$setTouched);\n            } else {\n              scope.$apply(modelCtrl.$setTouched);\n            }\n          });\n        }\n      };\n    }\n  };\n}];\n\nvar DEFAULT_REGEXP = /(\\s+|^)default(\\s+|$)/;\n\n/**\n * @ngdoc directive\n * @name ngModelOptions\n *\n * @description\n * Allows tuning how model updates are done. Using `ngModelOptions` you can specify a custom list of\n * events that will trigger a model update and/or a debouncing delay so that the actual update only\n * takes place when a timer expires; this timer will be reset after another change takes place.\n *\n * Given the nature of `ngModelOptions`, the value displayed inside input fields in the view might\n * be different from the value in the actual model. This means that if you update the model you\n * should also invoke {@link ngModel.NgModelController `$rollbackViewValue`} on the relevant input field in\n * order to make sure it is synchronized with the model and that any debounced action is canceled.\n *\n * The easiest way to reference the control's {@link ngModel.NgModelController `$rollbackViewValue`}\n * method is by making sure the input is placed inside a form that has a `name` attribute. This is\n * important because `form` controllers are published to the related scope under the name in their\n * `name` attribute.\n *\n * Any pending changes will take place immediately when an enclosing form is submitted via the\n * `submit` event. Note that `ngClick` events will occur before the model is updated. Use `ngSubmit`\n * to have access to the updated model.\n *\n * `ngModelOptions` has an effect on the element it's declared on and its descendants.\n *\n * @param {Object} ngModelOptions options to apply to the current model. Valid keys are:\n *   - `updateOn`: string specifying which event should the input be bound to. You can set several\n *     events using an space delimited list. There is a special event called `default` that\n *     matches the default events belonging of the control.\n *   - `debounce`: integer value which contains the debounce model update value in milliseconds. A\n *     value of 0 triggers an immediate update. If an object is supplied instead, you can specify a\n *     custom value for each event. For example:\n *     `ng-model-options=\"{ updateOn: 'default blur', debounce: { 'default': 500, 'blur': 0 } }\"`\n *   - `allowInvalid`: boolean value which indicates that the model can be set with values that did\n *     not validate correctly instead of the default behavior of setting the model to undefined.\n *   - `getterSetter`: boolean value which determines whether or not to treat functions bound to\n       `ngModel` as getters/setters.\n *   - `timezone`: Defines the timezone to be used to read/write the `Date` instance in the model for\n *     `<input type=\"date\">`, `<input type=\"time\">`, ... . It understands UTC/GMT and the\n *     continental US time zone abbreviations, but for general use, use a time zone offset, for\n *     example, `'+0430'` (4 hours, 30 minutes east of the Greenwich meridian)\n *     If not specified, the timezone of the browser will be used.\n *\n * @example\n\n  The following example shows how to override immediate updates. Changes on the inputs within the\n  form will update the model only when the control loses focus (blur event). If `escape` key is\n  pressed while the input field is focused, the value is reset to the value in the current model.\n\n  <example name=\"ngModelOptions-directive-blur\" module=\"optionsExample\">\n    <file name=\"index.html\">\n      <div ng-controller=\"ExampleController\">\n        <form name=\"userForm\">\n          <label>Name:\n            <input type=\"text\" name=\"userName\"\n                   ng-model=\"user.name\"\n                   ng-model-options=\"{ updateOn: 'blur' }\"\n                   ng-keyup=\"cancel($event)\" />\n          </label><br />\n          <label>Other data:\n            <input type=\"text\" ng-model=\"user.data\" />\n          </label><br />\n        </form>\n        <pre>user.name = <span ng-bind=\"user.name\"></span></pre>\n        <pre>user.data = <span ng-bind=\"user.data\"></span></pre>\n      </div>\n    </file>\n    <file name=\"app.js\">\n      angular.module('optionsExample', [])\n        .controller('ExampleController', ['$scope', function($scope) {\n          $scope.user = { name: 'John', data: '' };\n\n          $scope.cancel = function(e) {\n            if (e.keyCode == 27) {\n              $scope.userForm.userName.$rollbackViewValue();\n            }\n          };\n        }]);\n    </file>\n    <file name=\"protractor.js\" type=\"protractor\">\n      var model = element(by.binding('user.name'));\n      var input = element(by.model('user.name'));\n      var other = element(by.model('user.data'));\n\n      it('should allow custom events', function() {\n        input.sendKeys(' Doe');\n        input.click();\n        expect(model.getText()).toEqual('John');\n        other.click();\n        expect(model.getText()).toEqual('John Doe');\n      });\n\n      it('should $rollbackViewValue when model changes', function() {\n        input.sendKeys(' Doe');\n        expect(input.getAttribute('value')).toEqual('John Doe');\n        input.sendKeys(protractor.Key.ESCAPE);\n        expect(input.getAttribute('value')).toEqual('John');\n        other.click();\n        expect(model.getText()).toEqual('John');\n      });\n    </file>\n  </example>\n\n  This one shows how to debounce model changes. Model will be updated only 1 sec after last change.\n  If the `Clear` button is pressed, any debounced action is canceled and the value becomes empty.\n\n  <example name=\"ngModelOptions-directive-debounce\" module=\"optionsExample\">\n    <file name=\"index.html\">\n      <div ng-controller=\"ExampleController\">\n        <form name=\"userForm\">\n          <label>Name:\n            <input type=\"text\" name=\"userName\"\n                   ng-model=\"user.name\"\n                   ng-model-options=\"{ debounce: 1000 }\" />\n          </label>\n          <button ng-click=\"userForm.userName.$rollbackViewValue(); user.name=''\">Clear</button>\n          <br />\n        </form>\n        <pre>user.name = <span ng-bind=\"user.name\"></span></pre>\n      </div>\n    </file>\n    <file name=\"app.js\">\n      angular.module('optionsExample', [])\n        .controller('ExampleController', ['$scope', function($scope) {\n          $scope.user = { name: 'Igor' };\n        }]);\n    </file>\n  </example>\n\n  This one shows how to bind to getter/setters:\n\n  <example name=\"ngModelOptions-directive-getter-setter\" module=\"getterSetterExample\">\n    <file name=\"index.html\">\n      <div ng-controller=\"ExampleController\">\n        <form name=\"userForm\">\n          <label>Name:\n            <input type=\"text\" name=\"userName\"\n                   ng-model=\"user.name\"\n                   ng-model-options=\"{ getterSetter: true }\" />\n          </label>\n        </form>\n        <pre>user.name = <span ng-bind=\"user.name()\"></span></pre>\n      </div>\n    </file>\n    <file name=\"app.js\">\n      angular.module('getterSetterExample', [])\n        .controller('ExampleController', ['$scope', function($scope) {\n          var _name = 'Brian';\n          $scope.user = {\n            name: function(newName) {\n              // Note that newName can be undefined for two reasons:\n              // 1. Because it is called as a getter and thus called with no arguments\n              // 2. Because the property should actually be set to undefined. This happens e.g. if the\n              //    input is invalid\n              return arguments.length ? (_name = newName) : _name;\n            }\n          };\n        }]);\n    </file>\n  </example>\n */\nvar ngModelOptionsDirective = function() {\n  return {\n    restrict: 'A',\n    controller: ['$scope', '$attrs', function($scope, $attrs) {\n      var that = this;\n      this.$options = copy($scope.$eval($attrs.ngModelOptions));\n      // Allow adding/overriding bound events\n      if (isDefined(this.$options.updateOn)) {\n        this.$options.updateOnDefault = false;\n        // extract \"default\" pseudo-event from list of events that can trigger a model update\n        this.$options.updateOn = trim(this.$options.updateOn.replace(DEFAULT_REGEXP, function() {\n          that.$options.updateOnDefault = true;\n          return ' ';\n        }));\n      } else {\n        this.$options.updateOnDefault = true;\n      }\n    }]\n  };\n};\n\n\n\n// helper methods\nfunction addSetValidityMethod(context) {\n  var ctrl = context.ctrl,\n      $element = context.$element,\n      classCache = {},\n      set = context.set,\n      unset = context.unset,\n      $animate = context.$animate;\n\n  classCache[INVALID_CLASS] = !(classCache[VALID_CLASS] = $element.hasClass(VALID_CLASS));\n\n  ctrl.$setValidity = setValidity;\n\n  function setValidity(validationErrorKey, state, controller) {\n    if (isUndefined(state)) {\n      createAndSet('$pending', validationErrorKey, controller);\n    } else {\n      unsetAndCleanup('$pending', validationErrorKey, controller);\n    }\n    if (!isBoolean(state)) {\n      unset(ctrl.$error, validationErrorKey, controller);\n      unset(ctrl.$$success, validationErrorKey, controller);\n    } else {\n      if (state) {\n        unset(ctrl.$error, validationErrorKey, controller);\n        set(ctrl.$$success, validationErrorKey, controller);\n      } else {\n        set(ctrl.$error, validationErrorKey, controller);\n        unset(ctrl.$$success, validationErrorKey, controller);\n      }\n    }\n    if (ctrl.$pending) {\n      cachedToggleClass(PENDING_CLASS, true);\n      ctrl.$valid = ctrl.$invalid = undefined;\n      toggleValidationCss('', null);\n    } else {\n      cachedToggleClass(PENDING_CLASS, false);\n      ctrl.$valid = isObjectEmpty(ctrl.$error);\n      ctrl.$invalid = !ctrl.$valid;\n      toggleValidationCss('', ctrl.$valid);\n    }\n\n    // re-read the state as the set/unset methods could have\n    // combined state in ctrl.$error[validationError] (used for forms),\n    // where setting/unsetting only increments/decrements the value,\n    // and does not replace it.\n    var combinedState;\n    if (ctrl.$pending && ctrl.$pending[validationErrorKey]) {\n      combinedState = undefined;\n    } else if (ctrl.$error[validationErrorKey]) {\n      combinedState = false;\n    } else if (ctrl.$$success[validationErrorKey]) {\n      combinedState = true;\n    } else {\n      combinedState = null;\n    }\n\n    toggleValidationCss(validationErrorKey, combinedState);\n    ctrl.$$parentForm.$setValidity(validationErrorKey, combinedState, ctrl);\n  }\n\n  function createAndSet(name, value, controller) {\n    if (!ctrl[name]) {\n      ctrl[name] = {};\n    }\n    set(ctrl[name], value, controller);\n  }\n\n  function unsetAndCleanup(name, value, controller) {\n    if (ctrl[name]) {\n      unset(ctrl[name], value, controller);\n    }\n    if (isObjectEmpty(ctrl[name])) {\n      ctrl[name] = undefined;\n    }\n  }\n\n  function cachedToggleClass(className, switchValue) {\n    if (switchValue && !classCache[className]) {\n      $animate.addClass($element, className);\n      classCache[className] = true;\n    } else if (!switchValue && classCache[className]) {\n      $animate.removeClass($element, className);\n      classCache[className] = false;\n    }\n  }\n\n  function toggleValidationCss(validationErrorKey, isValid) {\n    validationErrorKey = validationErrorKey ? '-' + snake_case(validationErrorKey, '-') : '';\n\n    cachedToggleClass(VALID_CLASS + validationErrorKey, isValid === true);\n    cachedToggleClass(INVALID_CLASS + validationErrorKey, isValid === false);\n  }\n}\n\nfunction isObjectEmpty(obj) {\n  if (obj) {\n    for (var prop in obj) {\n      if (obj.hasOwnProperty(prop)) {\n        return false;\n      }\n    }\n  }\n  return true;\n}\n\n/**\n * @ngdoc directive\n * @name ngNonBindable\n * @restrict AC\n * @priority 1000\n *\n * @description\n * The `ngNonBindable` directive tells Angular not to compile or bind the contents of the current\n * DOM element. This is useful if the element contains what appears to be Angular directives and\n * bindings but which should be ignored by Angular. This could be the case if you have a site that\n * displays snippets of code, for instance.\n *\n * @element ANY\n *\n * @example\n * In this example there are two locations where a simple interpolation binding (`{{}}`) is present,\n * but the one wrapped in `ngNonBindable` is left alone.\n *\n * @example\n    <example>\n      <file name=\"index.html\">\n        <div>Normal: {{1 + 2}}</div>\n        <div ng-non-bindable>Ignored: {{1 + 2}}</div>\n      </file>\n      <file name=\"protractor.js\" type=\"protractor\">\n       it('should check ng-non-bindable', function() {\n         expect(element(by.binding('1 + 2')).getText()).toContain('3');\n         expect(element.all(by.css('div')).last().getText()).toMatch(/1 \\+ 2/);\n       });\n      </file>\n    </example>\n */\nvar ngNonBindableDirective = ngDirective({ terminal: true, priority: 1000 });\n\n/* global jqLiteRemove */\n\nvar ngOptionsMinErr = minErr('ngOptions');\n\n/**\n * @ngdoc directive\n * @name ngOptions\n * @restrict A\n *\n * @description\n *\n * The `ngOptions` attribute can be used to dynamically generate a list of `<option>`\n * elements for the `<select>` element using the array or object obtained by evaluating the\n * `ngOptions` comprehension expression.\n *\n * In many cases, `ngRepeat` can be used on `<option>` elements instead of `ngOptions` to achieve a\n * similar result. However, `ngOptions` provides some benefits such as reducing memory and\n * increasing speed by not creating a new scope for each repeated instance, as well as providing\n * more flexibility in how the `<select>`'s model is assigned via the `select` **`as`** part of the\n * comprehension expression. `ngOptions` should be used when the `<select>` model needs to be bound\n *  to a non-string value. This is because an option element can only be bound to string values at\n * present.\n *\n * When an item in the `<select>` menu is selected, the array element or object property\n * represented by the selected option will be bound to the model identified by the `ngModel`\n * directive.\n *\n * Optionally, a single hard-coded `<option>` element, with the value set to an empty string, can\n * be nested into the `<select>` element. This element will then represent the `null` or \"not selected\"\n * option. See example below for demonstration.\n *\n * ## Complex Models (objects or collections)\n *\n * By default, `ngModel` watches the model by reference, not value. This is important to know when\n * binding the select to a model that is an object or a collection.\n *\n * One issue occurs if you want to preselect an option. For example, if you set\n * the model to an object that is equal to an object in your collection, `ngOptions` won't be able to set the selection,\n * because the objects are not identical. So by default, you should always reference the item in your collection\n * for preselections, e.g.: `$scope.selected = $scope.collection[3]`.\n *\n * Another solution is to use a `track by` clause, because then `ngOptions` will track the identity\n * of the item not by reference, but by the result of the `track by` expression. For example, if your\n * collection items have an id property, you would `track by item.id`.\n *\n * A different issue with objects or collections is that ngModel won't detect if an object property or\n * a collection item changes. For that reason, `ngOptions` additionally watches the model using\n * `$watchCollection`, when the expression contains a `track by` clause or the the select has the `multiple` attribute.\n * This allows ngOptions to trigger a re-rendering of the options even if the actual object/collection\n * has not changed identity, but only a property on the object or an item in the collection changes.\n *\n * Note that `$watchCollection` does a shallow comparison of the properties of the object (or the items in the collection\n * if the model is an array). This means that changing a property deeper than the first level inside the\n * object/collection will not trigger a re-rendering.\n *\n * ## `select` **`as`**\n *\n * Using `select` **`as`** will bind the result of the `select` expression to the model, but\n * the value of the `<select>` and `<option>` html elements will be either the index (for array data sources)\n * or property name (for object data sources) of the value within the collection. If a **`track by`** expression\n * is used, the result of that expression will be set as the value of the `option` and `select` elements.\n *\n *\n * ### `select` **`as`** and **`track by`**\n *\n * <div class=\"alert alert-warning\">\n * Be careful when using `select` **`as`** and **`track by`** in the same expression.\n * </div>\n *\n * Given this array of items on the $scope:\n *\n * ```js\n * $scope.items = [{\n *   id: 1,\n *   label: 'aLabel',\n *   subItem: { name: 'aSubItem' }\n * }, {\n *   id: 2,\n *   label: 'bLabel',\n *   subItem: { name: 'bSubItem' }\n * }];\n * ```\n *\n * This will work:\n *\n * ```html\n * <select ng-options=\"item as item.label for item in items track by item.id\" ng-model=\"selected\"></select>\n * ```\n * ```js\n * $scope.selected = $scope.items[0];\n * ```\n *\n * but this will not work:\n *\n * ```html\n * <select ng-options=\"item.subItem as item.label for item in items track by item.id\" ng-model=\"selected\"></select>\n * ```\n * ```js\n * $scope.selected = $scope.items[0].subItem;\n * ```\n *\n * In both examples, the **`track by`** expression is applied successfully to each `item` in the\n * `items` array. Because the selected option has been set programmatically in the controller, the\n * **`track by`** expression is also applied to the `ngModel` value. In the first example, the\n * `ngModel` value is `items[0]` and the **`track by`** expression evaluates to `items[0].id` with\n * no issue. In the second example, the `ngModel` value is `items[0].subItem` and the **`track by`**\n * expression evaluates to `items[0].subItem.id` (which is undefined). As a result, the model value\n * is not matched against any `<option>` and the `<select>` appears as having no selected value.\n *\n *\n * @param {string} ngModel Assignable angular expression to data-bind to.\n * @param {string=} name Property name of the form under which the control is published.\n * @param {string=} required The control is considered valid only if value is entered.\n * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n *    the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n *    `required` when you want to data-bind to the `required` attribute.\n * @param {comprehension_expression=} ngOptions in one of the following forms:\n *\n *   * for array data sources:\n *     * `label` **`for`** `value` **`in`** `array`\n *     * `select` **`as`** `label` **`for`** `value` **`in`** `array`\n *     * `label` **`group by`** `group` **`for`** `value` **`in`** `array`\n *     * `label` **`disable when`** `disable` **`for`** `value` **`in`** `array`\n *     * `label` **`group by`** `group` **`for`** `value` **`in`** `array` **`track by`** `trackexpr`\n *     * `label` **`disable when`** `disable` **`for`** `value` **`in`** `array` **`track by`** `trackexpr`\n *     * `label` **`for`** `value` **`in`** `array` | orderBy:`orderexpr` **`track by`** `trackexpr`\n *        (for including a filter with `track by`)\n *   * for object data sources:\n *     * `label` **`for (`**`key` **`,`** `value`**`) in`** `object`\n *     * `select` **`as`** `label` **`for (`**`key` **`,`** `value`**`) in`** `object`\n *     * `label` **`group by`** `group` **`for (`**`key`**`,`** `value`**`) in`** `object`\n *     * `label` **`disable when`** `disable` **`for (`**`key`**`,`** `value`**`) in`** `object`\n *     * `select` **`as`** `label` **`group by`** `group`\n *         **`for` `(`**`key`**`,`** `value`**`) in`** `object`\n *     * `select` **`as`** `label` **`disable when`** `disable`\n *         **`for` `(`**`key`**`,`** `value`**`) in`** `object`\n *\n * Where:\n *\n *   * `array` / `object`: an expression which evaluates to an array / object to iterate over.\n *   * `value`: local variable which will refer to each item in the `array` or each property value\n *      of `object` during iteration.\n *   * `key`: local variable which will refer to a property name in `object` during iteration.\n *   * `label`: The result of this expression will be the label for `<option>` element. The\n *     `expression` will most likely refer to the `value` variable (e.g. `value.propertyName`).\n *   * `select`: The result of this expression will be bound to the model of the parent `<select>`\n *      element. If not specified, `select` expression will default to `value`.\n *   * `group`: The result of this expression will be used to group options using the `<optgroup>`\n *      DOM element.\n *   * `disable`: The result of this expression will be used to disable the rendered `<option>`\n *      element. Return `true` to disable.\n *   * `trackexpr`: Used when working with an array of objects. The result of this expression will be\n *      used to identify the objects in the array. The `trackexpr` will most likely refer to the\n *     `value` variable (e.g. `value.propertyName`). With this the selection is preserved\n *      even when the options are recreated (e.g. reloaded from the server).\n *\n * @example\n    <example module=\"selectExample\">\n      <file name=\"index.html\">\n        <script>\n        angular.module('selectExample', [])\n          .controller('ExampleController', ['$scope', function($scope) {\n            $scope.colors = [\n              {name:'black', shade:'dark'},\n              {name:'white', shade:'light', notAnOption: true},\n              {name:'red', shade:'dark'},\n              {name:'blue', shade:'dark', notAnOption: true},\n              {name:'yellow', shade:'light', notAnOption: false}\n            ];\n            $scope.myColor = $scope.colors[2]; // red\n          }]);\n        </script>\n        <div ng-controller=\"ExampleController\">\n          <ul>\n            <li ng-repeat=\"color in colors\">\n              <label>Name: <input ng-model=\"color.name\"></label>\n              <label><input type=\"checkbox\" ng-model=\"color.notAnOption\"> Disabled?</label>\n              <button ng-click=\"colors.splice($index, 1)\" aria-label=\"Remove\">X</button>\n            </li>\n            <li>\n              <button ng-click=\"colors.push({})\">add</button>\n            </li>\n          </ul>\n          <hr/>\n          <label>Color (null not allowed):\n            <select ng-model=\"myColor\" ng-options=\"color.name for color in colors\"></select>\n          </label><br/>\n          <label>Color (null allowed):\n          <span  class=\"nullable\">\n            <select ng-model=\"myColor\" ng-options=\"color.name for color in colors\">\n              <option value=\"\">-- choose color --</option>\n            </select>\n          </span></label><br/>\n\n          <label>Color grouped by shade:\n            <select ng-model=\"myColor\" ng-options=\"color.name group by color.shade for color in colors\">\n            </select>\n          </label><br/>\n\n          <label>Color grouped by shade, with some disabled:\n            <select ng-model=\"myColor\"\n                  ng-options=\"color.name group by color.shade disable when color.notAnOption for color in colors\">\n            </select>\n          </label><br/>\n\n\n\n          Select <button ng-click=\"myColor = { name:'not in list', shade: 'other' }\">bogus</button>.\n          <br/>\n          <hr/>\n          Currently selected: {{ {selected_color:myColor} }}\n          <div style=\"border:solid 1px black; height:20px\"\n               ng-style=\"{'background-color':myColor.name}\">\n          </div>\n        </div>\n      </file>\n      <file name=\"protractor.js\" type=\"protractor\">\n         it('should check ng-options', function() {\n           expect(element(by.binding('{selected_color:myColor}')).getText()).toMatch('red');\n           element.all(by.model('myColor')).first().click();\n           element.all(by.css('select[ng-model=\"myColor\"] option')).first().click();\n           expect(element(by.binding('{selected_color:myColor}')).getText()).toMatch('black');\n           element(by.css('.nullable select[ng-model=\"myColor\"]')).click();\n           element.all(by.css('.nullable select[ng-model=\"myColor\"] option')).first().click();\n           expect(element(by.binding('{selected_color:myColor}')).getText()).toMatch('null');\n         });\n      </file>\n    </example>\n */\n\n// jshint maxlen: false\n//                     //00001111111111000000000002222222222000000000000000000000333333333300000000000000000000000004444444444400000000000005555555555555550000000006666666666666660000000777777777777777000000000000000888888888800000000000000000009999999999\nvar NG_OPTIONS_REGEXP = /^\\s*([\\s\\S]+?)(?:\\s+as\\s+([\\s\\S]+?))?(?:\\s+group\\s+by\\s+([\\s\\S]+?))?(?:\\s+disable\\s+when\\s+([\\s\\S]+?))?\\s+for\\s+(?:([\\$\\w][\\$\\w]*)|(?:\\(\\s*([\\$\\w][\\$\\w]*)\\s*,\\s*([\\$\\w][\\$\\w]*)\\s*\\)))\\s+in\\s+([\\s\\S]+?)(?:\\s+track\\s+by\\s+([\\s\\S]+?))?$/;\n                        // 1: value expression (valueFn)\n                        // 2: label expression (displayFn)\n                        // 3: group by expression (groupByFn)\n                        // 4: disable when expression (disableWhenFn)\n                        // 5: array item variable name\n                        // 6: object item key variable name\n                        // 7: object item value variable name\n                        // 8: collection expression\n                        // 9: track by expression\n// jshint maxlen: 100\n\n\nvar ngOptionsDirective = ['$compile', '$parse', function($compile, $parse) {\n\n  function parseOptionsExpression(optionsExp, selectElement, scope) {\n\n    var match = optionsExp.match(NG_OPTIONS_REGEXP);\n    if (!(match)) {\n      throw ngOptionsMinErr('iexp',\n        \"Expected expression in form of \" +\n        \"'_select_ (as _label_)? for (_key_,)?_value_ in _collection_'\" +\n        \" but got '{0}'. Element: {1}\",\n        optionsExp, startingTag(selectElement));\n    }\n\n    // Extract the parts from the ngOptions expression\n\n    // The variable name for the value of the item in the collection\n    var valueName = match[5] || match[7];\n    // The variable name for the key of the item in the collection\n    var keyName = match[6];\n\n    // An expression that generates the viewValue for an option if there is a label expression\n    var selectAs = / as /.test(match[0]) && match[1];\n    // An expression that is used to track the id of each object in the options collection\n    var trackBy = match[9];\n    // An expression that generates the viewValue for an option if there is no label expression\n    var valueFn = $parse(match[2] ? match[1] : valueName);\n    var selectAsFn = selectAs && $parse(selectAs);\n    var viewValueFn = selectAsFn || valueFn;\n    var trackByFn = trackBy && $parse(trackBy);\n\n    // Get the value by which we are going to track the option\n    // if we have a trackFn then use that (passing scope and locals)\n    // otherwise just hash the given viewValue\n    var getTrackByValueFn = trackBy ?\n                              function(value, locals) { return trackByFn(scope, locals); } :\n                              function getHashOfValue(value) { return hashKey(value); };\n    var getTrackByValue = function(value, key) {\n      return getTrackByValueFn(value, getLocals(value, key));\n    };\n\n    var displayFn = $parse(match[2] || match[1]);\n    var groupByFn = $parse(match[3] || '');\n    var disableWhenFn = $parse(match[4] || '');\n    var valuesFn = $parse(match[8]);\n\n    var locals = {};\n    var getLocals = keyName ? function(value, key) {\n      locals[keyName] = key;\n      locals[valueName] = value;\n      return locals;\n    } : function(value) {\n      locals[valueName] = value;\n      return locals;\n    };\n\n\n    function Option(selectValue, viewValue, label, group, disabled) {\n      this.selectValue = selectValue;\n      this.viewValue = viewValue;\n      this.label = label;\n      this.group = group;\n      this.disabled = disabled;\n    }\n\n    function getOptionValuesKeys(optionValues) {\n      var optionValuesKeys;\n\n      if (!keyName && isArrayLike(optionValues)) {\n        optionValuesKeys = optionValues;\n      } else {\n        // if object, extract keys, in enumeration order, unsorted\n        optionValuesKeys = [];\n        for (var itemKey in optionValues) {\n          if (optionValues.hasOwnProperty(itemKey) && itemKey.charAt(0) !== '$') {\n            optionValuesKeys.push(itemKey);\n          }\n        }\n      }\n      return optionValuesKeys;\n    }\n\n    return {\n      trackBy: trackBy,\n      getTrackByValue: getTrackByValue,\n      getWatchables: $parse(valuesFn, function(optionValues) {\n        // Create a collection of things that we would like to watch (watchedArray)\n        // so that they can all be watched using a single $watchCollection\n        // that only runs the handler once if anything changes\n        var watchedArray = [];\n        optionValues = optionValues || [];\n\n        var optionValuesKeys = getOptionValuesKeys(optionValues);\n        var optionValuesLength = optionValuesKeys.length;\n        for (var index = 0; index < optionValuesLength; index++) {\n          var key = (optionValues === optionValuesKeys) ? index : optionValuesKeys[index];\n          var value = optionValues[key];\n\n          var locals = getLocals(optionValues[key], key);\n          var selectValue = getTrackByValueFn(optionValues[key], locals);\n          watchedArray.push(selectValue);\n\n          // Only need to watch the displayFn if there is a specific label expression\n          if (match[2] || match[1]) {\n            var label = displayFn(scope, locals);\n            watchedArray.push(label);\n          }\n\n          // Only need to watch the disableWhenFn if there is a specific disable expression\n          if (match[4]) {\n            var disableWhen = disableWhenFn(scope, locals);\n            watchedArray.push(disableWhen);\n          }\n        }\n        return watchedArray;\n      }),\n\n      getOptions: function() {\n\n        var optionItems = [];\n        var selectValueMap = {};\n\n        // The option values were already computed in the `getWatchables` fn,\n        // which must have been called to trigger `getOptions`\n        var optionValues = valuesFn(scope) || [];\n        var optionValuesKeys = getOptionValuesKeys(optionValues);\n        var optionValuesLength = optionValuesKeys.length;\n\n        for (var index = 0; index < optionValuesLength; index++) {\n          var key = (optionValues === optionValuesKeys) ? index : optionValuesKeys[index];\n          var value = optionValues[key];\n          var locals = getLocals(value, key);\n          var viewValue = viewValueFn(scope, locals);\n          var selectValue = getTrackByValueFn(viewValue, locals);\n          var label = displayFn(scope, locals);\n          var group = groupByFn(scope, locals);\n          var disabled = disableWhenFn(scope, locals);\n          var optionItem = new Option(selectValue, viewValue, label, group, disabled);\n\n          optionItems.push(optionItem);\n          selectValueMap[selectValue] = optionItem;\n        }\n\n        return {\n          items: optionItems,\n          selectValueMap: selectValueMap,\n          getOptionFromViewValue: function(value) {\n            return selectValueMap[getTrackByValue(value)];\n          },\n          getViewValueFromOption: function(option) {\n            // If the viewValue could be an object that may be mutated by the application,\n            // we need to make a copy and not return the reference to the value on the option.\n            return trackBy ? angular.copy(option.viewValue) : option.viewValue;\n          }\n        };\n      }\n    };\n  }\n\n\n  // we can't just jqLite('<option>') since jqLite is not smart enough\n  // to create it in <select> and IE barfs otherwise.\n  var optionTemplate = document.createElement('option'),\n      optGroupTemplate = document.createElement('optgroup');\n\n\n    function ngOptionsPostLink(scope, selectElement, attr, ctrls) {\n\n      // if ngModel is not defined, we don't need to do anything\n      var ngModelCtrl = ctrls[1];\n      if (!ngModelCtrl) return;\n\n      var selectCtrl = ctrls[0];\n      var multiple = attr.multiple;\n\n      // The emptyOption allows the application developer to provide their own custom \"empty\"\n      // option when the viewValue does not match any of the option values.\n      var emptyOption;\n      for (var i = 0, children = selectElement.children(), ii = children.length; i < ii; i++) {\n        if (children[i].value === '') {\n          emptyOption = children.eq(i);\n          break;\n        }\n      }\n\n      var providedEmptyOption = !!emptyOption;\n\n      var unknownOption = jqLite(optionTemplate.cloneNode(false));\n      unknownOption.val('?');\n\n      var options;\n      var ngOptions = parseOptionsExpression(attr.ngOptions, selectElement, scope);\n\n\n      var renderEmptyOption = function() {\n        if (!providedEmptyOption) {\n          selectElement.prepend(emptyOption);\n        }\n        selectElement.val('');\n        emptyOption.prop('selected', true); // needed for IE\n        emptyOption.attr('selected', true);\n      };\n\n      var removeEmptyOption = function() {\n        if (!providedEmptyOption) {\n          emptyOption.remove();\n        }\n      };\n\n\n      var renderUnknownOption = function() {\n        selectElement.prepend(unknownOption);\n        selectElement.val('?');\n        unknownOption.prop('selected', true); // needed for IE\n        unknownOption.attr('selected', true);\n      };\n\n      var removeUnknownOption = function() {\n        unknownOption.remove();\n      };\n\n      // Update the controller methods for multiple selectable options\n      if (!multiple) {\n\n        selectCtrl.writeValue = function writeNgOptionsValue(value) {\n          var option = options.getOptionFromViewValue(value);\n\n          if (option && !option.disabled) {\n            if (selectElement[0].value !== option.selectValue) {\n              removeUnknownOption();\n              removeEmptyOption();\n\n              selectElement[0].value = option.selectValue;\n              option.element.selected = true;\n              option.element.setAttribute('selected', 'selected');\n            }\n          } else {\n            if (value === null || providedEmptyOption) {\n              removeUnknownOption();\n              renderEmptyOption();\n            } else {\n              removeEmptyOption();\n              renderUnknownOption();\n            }\n          }\n        };\n\n        selectCtrl.readValue = function readNgOptionsValue() {\n\n          var selectedOption = options.selectValueMap[selectElement.val()];\n\n          if (selectedOption && !selectedOption.disabled) {\n            removeEmptyOption();\n            removeUnknownOption();\n            return options.getViewValueFromOption(selectedOption);\n          }\n          return null;\n        };\n\n        // If we are using `track by` then we must watch the tracked value on the model\n        // since ngModel only watches for object identity change\n        if (ngOptions.trackBy) {\n          scope.$watch(\n            function() { return ngOptions.getTrackByValue(ngModelCtrl.$viewValue); },\n            function() { ngModelCtrl.$render(); }\n          );\n        }\n\n      } else {\n\n        ngModelCtrl.$isEmpty = function(value) {\n          return !value || value.length === 0;\n        };\n\n\n        selectCtrl.writeValue = function writeNgOptionsMultiple(value) {\n          options.items.forEach(function(option) {\n            option.element.selected = false;\n          });\n\n          if (value) {\n            value.forEach(function(item) {\n              var option = options.getOptionFromViewValue(item);\n              if (option && !option.disabled) option.element.selected = true;\n            });\n          }\n        };\n\n\n        selectCtrl.readValue = function readNgOptionsMultiple() {\n          var selectedValues = selectElement.val() || [],\n              selections = [];\n\n          forEach(selectedValues, function(value) {\n            var option = options.selectValueMap[value];\n            if (option && !option.disabled) selections.push(options.getViewValueFromOption(option));\n          });\n\n          return selections;\n        };\n\n        // If we are using `track by` then we must watch these tracked values on the model\n        // since ngModel only watches for object identity change\n        if (ngOptions.trackBy) {\n\n          scope.$watchCollection(function() {\n            if (isArray(ngModelCtrl.$viewValue)) {\n              return ngModelCtrl.$viewValue.map(function(value) {\n                return ngOptions.getTrackByValue(value);\n              });\n            }\n          }, function() {\n            ngModelCtrl.$render();\n          });\n\n        }\n      }\n\n\n      if (providedEmptyOption) {\n\n        // we need to remove it before calling selectElement.empty() because otherwise IE will\n        // remove the label from the element. wtf?\n        emptyOption.remove();\n\n        // compile the element since there might be bindings in it\n        $compile(emptyOption)(scope);\n\n        // remove the class, which is added automatically because we recompile the element and it\n        // becomes the compilation root\n        emptyOption.removeClass('ng-scope');\n      } else {\n        emptyOption = jqLite(optionTemplate.cloneNode(false));\n      }\n\n      // We need to do this here to ensure that the options object is defined\n      // when we first hit it in writeNgOptionsValue\n      updateOptions();\n\n      // We will re-render the option elements if the option values or labels change\n      scope.$watchCollection(ngOptions.getWatchables, updateOptions);\n\n      // ------------------------------------------------------------------ //\n\n\n      function updateOptionElement(option, element) {\n        option.element = element;\n        element.disabled = option.disabled;\n        // NOTE: The label must be set before the value, otherwise IE10/11/EDGE create unresponsive\n        // selects in certain circumstances when multiple selects are next to each other and display\n        // the option list in listbox style, i.e. the select is [multiple], or specifies a [size].\n        // See https://github.com/angular/angular.js/issues/11314 for more info.\n        // This is unfortunately untestable with unit / e2e tests\n        if (option.label !== element.label) {\n          element.label = option.label;\n          element.textContent = option.label;\n        }\n        if (option.value !== element.value) element.value = option.selectValue;\n      }\n\n      function addOrReuseElement(parent, current, type, templateElement) {\n        var element;\n        // Check whether we can reuse the next element\n        if (current && lowercase(current.nodeName) === type) {\n          // The next element is the right type so reuse it\n          element = current;\n        } else {\n          // The next element is not the right type so create a new one\n          element = templateElement.cloneNode(false);\n          if (!current) {\n            // There are no more elements so just append it to the select\n            parent.appendChild(element);\n          } else {\n            // The next element is not a group so insert the new one\n            parent.insertBefore(element, current);\n          }\n        }\n        return element;\n      }\n\n\n      function removeExcessElements(current) {\n        var next;\n        while (current) {\n          next = current.nextSibling;\n          jqLiteRemove(current);\n          current = next;\n        }\n      }\n\n\n      function skipEmptyAndUnknownOptions(current) {\n        var emptyOption_ = emptyOption && emptyOption[0];\n        var unknownOption_ = unknownOption && unknownOption[0];\n\n        // We cannot rely on the extracted empty option being the same as the compiled empty option,\n        // because the compiled empty option might have been replaced by a comment because\n        // it had an \"element\" transclusion directive on it (such as ngIf)\n        if (emptyOption_ || unknownOption_) {\n          while (current &&\n                (current === emptyOption_ ||\n                current === unknownOption_ ||\n                current.nodeType === NODE_TYPE_COMMENT ||\n                current.value === '')) {\n            current = current.nextSibling;\n          }\n        }\n        return current;\n      }\n\n\n      function updateOptions() {\n\n        var previousValue = options && selectCtrl.readValue();\n\n        options = ngOptions.getOptions();\n\n        var groupMap = {};\n        var currentElement = selectElement[0].firstChild;\n\n        // Ensure that the empty option is always there if it was explicitly provided\n        if (providedEmptyOption) {\n          selectElement.prepend(emptyOption);\n        }\n\n        currentElement = skipEmptyAndUnknownOptions(currentElement);\n\n        options.items.forEach(function updateOption(option) {\n          var group;\n          var groupElement;\n          var optionElement;\n\n          if (option.group) {\n\n            // This option is to live in a group\n            // See if we have already created this group\n            group = groupMap[option.group];\n\n            if (!group) {\n\n              // We have not already created this group\n              groupElement = addOrReuseElement(selectElement[0],\n                                               currentElement,\n                                               'optgroup',\n                                               optGroupTemplate);\n              // Move to the next element\n              currentElement = groupElement.nextSibling;\n\n              // Update the label on the group element\n              groupElement.label = option.group;\n\n              // Store it for use later\n              group = groupMap[option.group] = {\n                groupElement: groupElement,\n                currentOptionElement: groupElement.firstChild\n              };\n\n            }\n\n            // So now we have a group for this option we add the option to the group\n            optionElement = addOrReuseElement(group.groupElement,\n                                              group.currentOptionElement,\n                                              'option',\n                                              optionTemplate);\n            updateOptionElement(option, optionElement);\n            // Move to the next element\n            group.currentOptionElement = optionElement.nextSibling;\n\n          } else {\n\n            // This option is not in a group\n            optionElement = addOrReuseElement(selectElement[0],\n                                              currentElement,\n                                              'option',\n                                              optionTemplate);\n            updateOptionElement(option, optionElement);\n            // Move to the next element\n            currentElement = optionElement.nextSibling;\n          }\n        });\n\n\n        // Now remove all excess options and group\n        Object.keys(groupMap).forEach(function(key) {\n          removeExcessElements(groupMap[key].currentOptionElement);\n        });\n        removeExcessElements(currentElement);\n\n        ngModelCtrl.$render();\n\n        // Check to see if the value has changed due to the update to the options\n        if (!ngModelCtrl.$isEmpty(previousValue)) {\n          var nextValue = selectCtrl.readValue();\n          if (ngOptions.trackBy ? !equals(previousValue, nextValue) : previousValue !== nextValue) {\n            ngModelCtrl.$setViewValue(nextValue);\n            ngModelCtrl.$render();\n          }\n        }\n\n      }\n  }\n\n  return {\n    restrict: 'A',\n    terminal: true,\n    require: ['select', '?ngModel'],\n    link: {\n      pre: function ngOptionsPreLink(scope, selectElement, attr, ctrls) {\n        // Deactivate the SelectController.register method to prevent\n        // option directives from accidentally registering themselves\n        // (and unwanted $destroy handlers etc.)\n        ctrls[0].registerOption = noop;\n      },\n      post: ngOptionsPostLink\n    }\n  };\n}];\n\n/**\n * @ngdoc directive\n * @name ngPluralize\n * @restrict EA\n *\n * @description\n * `ngPluralize` is a directive that displays messages according to en-US localization rules.\n * These rules are bundled with angular.js, but can be overridden\n * (see {@link guide/i18n Angular i18n} dev guide). You configure ngPluralize directive\n * by specifying the mappings between\n * [plural categories](http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html)\n * and the strings to be displayed.\n *\n * # Plural categories and explicit number rules\n * There are two\n * [plural categories](http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html)\n * in Angular's default en-US locale: \"one\" and \"other\".\n *\n * While a plural category may match many numbers (for example, in en-US locale, \"other\" can match\n * any number that is not 1), an explicit number rule can only match one number. For example, the\n * explicit number rule for \"3\" matches the number 3. There are examples of plural categories\n * and explicit number rules throughout the rest of this documentation.\n *\n * # Configuring ngPluralize\n * You configure ngPluralize by providing 2 attributes: `count` and `when`.\n * You can also provide an optional attribute, `offset`.\n *\n * The value of the `count` attribute can be either a string or an {@link guide/expression\n * Angular expression}; these are evaluated on the current scope for its bound value.\n *\n * The `when` attribute specifies the mappings between plural categories and the actual\n * string to be displayed. The value of the attribute should be a JSON object.\n *\n * The following example shows how to configure ngPluralize:\n *\n * ```html\n * <ng-pluralize count=\"personCount\"\n                 when=\"{'0': 'Nobody is viewing.',\n *                      'one': '1 person is viewing.',\n *                      'other': '{} people are viewing.'}\">\n * </ng-pluralize>\n *```\n *\n * In the example, `\"0: Nobody is viewing.\"` is an explicit number rule. If you did not\n * specify this rule, 0 would be matched to the \"other\" category and \"0 people are viewing\"\n * would be shown instead of \"Nobody is viewing\". You can specify an explicit number rule for\n * other numbers, for example 12, so that instead of showing \"12 people are viewing\", you can\n * show \"a dozen people are viewing\".\n *\n * You can use a set of closed braces (`{}`) as a placeholder for the number that you want substituted\n * into pluralized strings. In the previous example, Angular will replace `{}` with\n * <span ng-non-bindable>`{{personCount}}`</span>. The closed braces `{}` is a placeholder\n * for <span ng-non-bindable>{{numberExpression}}</span>.\n *\n * If no rule is defined for a category, then an empty string is displayed and a warning is generated.\n * Note that some locales define more categories than `one` and `other`. For example, fr-fr defines `few` and `many`.\n *\n * # Configuring ngPluralize with offset\n * The `offset` attribute allows further customization of pluralized text, which can result in\n * a better user experience. For example, instead of the message \"4 people are viewing this document\",\n * you might display \"John, Kate and 2 others are viewing this document\".\n * The offset attribute allows you to offset a number by any desired value.\n * Let's take a look at an example:\n *\n * ```html\n * <ng-pluralize count=\"personCount\" offset=2\n *               when=\"{'0': 'Nobody is viewing.',\n *                      '1': '{{person1}} is viewing.',\n *                      '2': '{{person1}} and {{person2}} are viewing.',\n *                      'one': '{{person1}}, {{person2}} and one other person are viewing.',\n *                      'other': '{{person1}}, {{person2}} and {} other people are viewing.'}\">\n * </ng-pluralize>\n * ```\n *\n * Notice that we are still using two plural categories(one, other), but we added\n * three explicit number rules 0, 1 and 2.\n * When one person, perhaps John, views the document, \"John is viewing\" will be shown.\n * When three people view the document, no explicit number rule is found, so\n * an offset of 2 is taken off 3, and Angular uses 1 to decide the plural category.\n * In this case, plural category 'one' is matched and \"John, Mary and one other person are viewing\"\n * is shown.\n *\n * Note that when you specify offsets, you must provide explicit number rules for\n * numbers from 0 up to and including the offset. If you use an offset of 3, for example,\n * you must provide explicit number rules for 0, 1, 2 and 3. You must also provide plural strings for\n * plural categories \"one\" and \"other\".\n *\n * @param {string|expression} count The variable to be bound to.\n * @param {string} when The mapping between plural category to its corresponding strings.\n * @param {number=} offset Offset to deduct from the total number.\n *\n * @example\n    <example module=\"pluralizeExample\">\n      <file name=\"index.html\">\n        <script>\n          angular.module('pluralizeExample', [])\n            .controller('ExampleController', ['$scope', function($scope) {\n              $scope.person1 = 'Igor';\n              $scope.person2 = 'Misko';\n              $scope.personCount = 1;\n            }]);\n        </script>\n        <div ng-controller=\"ExampleController\">\n          <label>Person 1:<input type=\"text\" ng-model=\"person1\" value=\"Igor\" /></label><br/>\n          <label>Person 2:<input type=\"text\" ng-model=\"person2\" value=\"Misko\" /></label><br/>\n          <label>Number of People:<input type=\"text\" ng-model=\"personCount\" value=\"1\" /></label><br/>\n\n          <!--- Example with simple pluralization rules for en locale --->\n          Without Offset:\n          <ng-pluralize count=\"personCount\"\n                        when=\"{'0': 'Nobody is viewing.',\n                               'one': '1 person is viewing.',\n                               'other': '{} people are viewing.'}\">\n          </ng-pluralize><br>\n\n          <!--- Example with offset --->\n          With Offset(2):\n          <ng-pluralize count=\"personCount\" offset=2\n                        when=\"{'0': 'Nobody is viewing.',\n                               '1': '{{person1}} is viewing.',\n                               '2': '{{person1}} and {{person2}} are viewing.',\n                               'one': '{{person1}}, {{person2}} and one other person are viewing.',\n                               'other': '{{person1}}, {{person2}} and {} other people are viewing.'}\">\n          </ng-pluralize>\n        </div>\n      </file>\n      <file name=\"protractor.js\" type=\"protractor\">\n        it('should show correct pluralized string', function() {\n          var withoutOffset = element.all(by.css('ng-pluralize')).get(0);\n          var withOffset = element.all(by.css('ng-pluralize')).get(1);\n          var countInput = element(by.model('personCount'));\n\n          expect(withoutOffset.getText()).toEqual('1 person is viewing.');\n          expect(withOffset.getText()).toEqual('Igor is viewing.');\n\n          countInput.clear();\n          countInput.sendKeys('0');\n\n          expect(withoutOffset.getText()).toEqual('Nobody is viewing.');\n          expect(withOffset.getText()).toEqual('Nobody is viewing.');\n\n          countInput.clear();\n          countInput.sendKeys('2');\n\n          expect(withoutOffset.getText()).toEqual('2 people are viewing.');\n          expect(withOffset.getText()).toEqual('Igor and Misko are viewing.');\n\n          countInput.clear();\n          countInput.sendKeys('3');\n\n          expect(withoutOffset.getText()).toEqual('3 people are viewing.');\n          expect(withOffset.getText()).toEqual('Igor, Misko and one other person are viewing.');\n\n          countInput.clear();\n          countInput.sendKeys('4');\n\n          expect(withoutOffset.getText()).toEqual('4 people are viewing.');\n          expect(withOffset.getText()).toEqual('Igor, Misko and 2 other people are viewing.');\n        });\n        it('should show data-bound names', function() {\n          var withOffset = element.all(by.css('ng-pluralize')).get(1);\n          var personCount = element(by.model('personCount'));\n          var person1 = element(by.model('person1'));\n          var person2 = element(by.model('person2'));\n          personCount.clear();\n          personCount.sendKeys('4');\n          person1.clear();\n          person1.sendKeys('Di');\n          person2.clear();\n          person2.sendKeys('Vojta');\n          expect(withOffset.getText()).toEqual('Di, Vojta and 2 other people are viewing.');\n        });\n      </file>\n    </example>\n */\nvar ngPluralizeDirective = ['$locale', '$interpolate', '$log', function($locale, $interpolate, $log) {\n  var BRACE = /{}/g,\n      IS_WHEN = /^when(Minus)?(.+)$/;\n\n  return {\n    link: function(scope, element, attr) {\n      var numberExp = attr.count,\n          whenExp = attr.$attr.when && element.attr(attr.$attr.when), // we have {{}} in attrs\n          offset = attr.offset || 0,\n          whens = scope.$eval(whenExp) || {},\n          whensExpFns = {},\n          startSymbol = $interpolate.startSymbol(),\n          endSymbol = $interpolate.endSymbol(),\n          braceReplacement = startSymbol + numberExp + '-' + offset + endSymbol,\n          watchRemover = angular.noop,\n          lastCount;\n\n      forEach(attr, function(expression, attributeName) {\n        var tmpMatch = IS_WHEN.exec(attributeName);\n        if (tmpMatch) {\n          var whenKey = (tmpMatch[1] ? '-' : '') + lowercase(tmpMatch[2]);\n          whens[whenKey] = element.attr(attr.$attr[attributeName]);\n        }\n      });\n      forEach(whens, function(expression, key) {\n        whensExpFns[key] = $interpolate(expression.replace(BRACE, braceReplacement));\n\n      });\n\n      scope.$watch(numberExp, function ngPluralizeWatchAction(newVal) {\n        var count = parseFloat(newVal);\n        var countIsNaN = isNaN(count);\n\n        if (!countIsNaN && !(count in whens)) {\n          // If an explicit number rule such as 1, 2, 3... is defined, just use it.\n          // Otherwise, check it against pluralization rules in $locale service.\n          count = $locale.pluralCat(count - offset);\n        }\n\n        // If both `count` and `lastCount` are NaN, we don't need to re-register a watch.\n        // In JS `NaN !== NaN`, so we have to exlicitly check.\n        if ((count !== lastCount) && !(countIsNaN && isNumber(lastCount) && isNaN(lastCount))) {\n          watchRemover();\n          var whenExpFn = whensExpFns[count];\n          if (isUndefined(whenExpFn)) {\n            if (newVal != null) {\n              $log.debug(\"ngPluralize: no rule defined for '\" + count + \"' in \" + whenExp);\n            }\n            watchRemover = noop;\n            updateElementText();\n          } else {\n            watchRemover = scope.$watch(whenExpFn, updateElementText);\n          }\n          lastCount = count;\n        }\n      });\n\n      function updateElementText(newText) {\n        element.text(newText || '');\n      }\n    }\n  };\n}];\n\n/**\n * @ngdoc directive\n * @name ngRepeat\n * @multiElement\n *\n * @description\n * The `ngRepeat` directive instantiates a template once per item from a collection. Each template\n * instance gets its own scope, where the given loop variable is set to the current collection item,\n * and `$index` is set to the item index or key.\n *\n * Special properties are exposed on the local scope of each template instance, including:\n *\n * | Variable  | Type            | Details                                                                     |\n * |-----------|-----------------|-----------------------------------------------------------------------------|\n * | `$index`  | {@type number}  | iterator offset of the repeated element (0..length-1)                       |\n * | `$first`  | {@type boolean} | true if the repeated element is first in the iterator.                      |\n * | `$middle` | {@type boolean} | true if the repeated element is between the first and last in the iterator. |\n * | `$last`   | {@type boolean} | true if the repeated element is last in the iterator.                       |\n * | `$even`   | {@type boolean} | true if the iterator position `$index` is even (otherwise false).           |\n * | `$odd`    | {@type boolean} | true if the iterator position `$index` is odd (otherwise false).            |\n *\n * <div class=\"alert alert-info\">\n *   Creating aliases for these properties is possible with {@link ng.directive:ngInit `ngInit`}.\n *   This may be useful when, for instance, nesting ngRepeats.\n * </div>\n *\n *\n * # Iterating over object properties\n *\n * It is possible to get `ngRepeat` to iterate over the properties of an object using the following\n * syntax:\n *\n * ```js\n * <div ng-repeat=\"(key, value) in myObj\"> ... </div>\n * ```\n *\n * You need to be aware that the JavaScript specification does not define the order of keys\n * returned for an object. (To mitigate this in Angular 1.3 the `ngRepeat` directive\n * used to sort the keys alphabetically.)\n *\n * Version 1.4 removed the alphabetic sorting. We now rely on the order returned by the browser\n * when running `for key in myObj`. It seems that browsers generally follow the strategy of providing\n * keys in the order in which they were defined, although there are exceptions when keys are deleted\n * and reinstated. See the [MDN page on `delete` for more info](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/delete#Cross-browser_notes).\n *\n * If this is not desired, the recommended workaround is to convert your object into an array\n * that is sorted into the order that you prefer before providing it to `ngRepeat`.  You could\n * do this with a filter such as [toArrayFilter](http://ngmodules.org/modules/angular-toArrayFilter)\n * or implement a `$watch` on the object yourself.\n *\n *\n * # Tracking and Duplicates\n *\n * `ngRepeat` uses {@link $rootScope.Scope#$watchCollection $watchCollection} to detect changes in\n * the collection. When a change happens, ngRepeat then makes the corresponding changes to the DOM:\n *\n * * When an item is added, a new instance of the template is added to the DOM.\n * * When an item is removed, its template instance is removed from the DOM.\n * * When items are reordered, their respective templates are reordered in the DOM.\n *\n * To minimize creation of DOM elements, `ngRepeat` uses a function\n * to \"keep track\" of all items in the collection and their corresponding DOM elements.\n * For example, if an item is added to the collection, ngRepeat will know that all other items\n * already have DOM elements, and will not re-render them.\n *\n * The default tracking function (which tracks items by their identity) does not allow\n * duplicate items in arrays. This is because when there are duplicates, it is not possible\n * to maintain a one-to-one mapping between collection items and DOM elements.\n *\n * If you do need to repeat duplicate items, you can substitute the default tracking behavior\n * with your own using the `track by` expression.\n *\n * For example, you may track items by the index of each item in the collection, using the\n * special scope property `$index`:\n * ```html\n *    <div ng-repeat=\"n in [42, 42, 43, 43] track by $index\">\n *      {{n}}\n *    </div>\n * ```\n *\n * You may also use arbitrary expressions in `track by`, including references to custom functions\n * on the scope:\n * ```html\n *    <div ng-repeat=\"n in [42, 42, 43, 43] track by myTrackingFunction(n)\">\n *      {{n}}\n *    </div>\n * ```\n *\n * <div class=\"alert alert-success\">\n * If you are working with objects that have an identifier property, you should track\n * by the identifier instead of the whole object. Should you reload your data later, `ngRepeat`\n * will not have to rebuild the DOM elements for items it has already rendered, even if the\n * JavaScript objects in the collection have been substituted for new ones. For large collections,\n * this signifincantly improves rendering performance. If you don't have a unique identifier,\n * `track by $index` can also provide a performance boost.\n * </div>\n * ```html\n *    <div ng-repeat=\"model in collection track by model.id\">\n *      {{model.name}}\n *    </div>\n * ```\n *\n * When no `track by` expression is provided, it is equivalent to tracking by the built-in\n * `$id` function, which tracks items by their identity:\n * ```html\n *    <div ng-repeat=\"obj in collection track by $id(obj)\">\n *      {{obj.prop}}\n *    </div>\n * ```\n *\n * <div class=\"alert alert-warning\">\n * **Note:** `track by` must always be the last expression:\n * </div>\n * ```\n * <div ng-repeat=\"model in collection | orderBy: 'id' as filtered_result track by model.id\">\n *     {{model.name}}\n * </div>\n * ```\n *\n * # Special repeat start and end points\n * To repeat a series of elements instead of just one parent element, ngRepeat (as well as other ng directives) supports extending\n * the range of the repeater by defining explicit start and end points by using **ng-repeat-start** and **ng-repeat-end** respectively.\n * The **ng-repeat-start** directive works the same as **ng-repeat**, but will repeat all the HTML code (including the tag it's defined on)\n * up to and including the ending HTML tag where **ng-repeat-end** is placed.\n *\n * The example below makes use of this feature:\n * ```html\n *   <header ng-repeat-start=\"item in items\">\n *     Header {{ item }}\n *   </header>\n *   <div class=\"body\">\n *     Body {{ item }}\n *   </div>\n *   <footer ng-repeat-end>\n *     Footer {{ item }}\n *   </footer>\n * ```\n *\n * And with an input of {@type ['A','B']} for the items variable in the example above, the output will evaluate to:\n * ```html\n *   <header>\n *     Header A\n *   </header>\n *   <div class=\"body\">\n *     Body A\n *   </div>\n *   <footer>\n *     Footer A\n *   </footer>\n *   <header>\n *     Header B\n *   </header>\n *   <div class=\"body\">\n *     Body B\n *   </div>\n *   <footer>\n *     Footer B\n *   </footer>\n * ```\n *\n * The custom start and end points for ngRepeat also support all other HTML directive syntax flavors provided in AngularJS (such\n * as **data-ng-repeat-start**, **x-ng-repeat-start** and **ng:repeat-start**).\n *\n * @animations\n * **.enter** - when a new item is added to the list or when an item is revealed after a filter\n *\n * **.leave** - when an item is removed from the list or when an item is filtered out\n *\n * **.move** - when an adjacent item is filtered out causing a reorder or when the item contents are reordered\n *\n * @element ANY\n * @scope\n * @priority 1000\n * @param {repeat_expression} ngRepeat The expression indicating how to enumerate a collection. These\n *   formats are currently supported:\n *\n *   * `variable in expression` – where variable is the user defined loop variable and `expression`\n *     is a scope expression giving the collection to enumerate.\n *\n *     For example: `album in artist.albums`.\n *\n *   * `(key, value) in expression` – where `key` and `value` can be any user defined identifiers,\n *     and `expression` is the scope expression giving the collection to enumerate.\n *\n *     For example: `(name, age) in {'adam':10, 'amalie':12}`.\n *\n *   * `variable in expression track by tracking_expression` – You can also provide an optional tracking expression\n *     which can be used to associate the objects in the collection with the DOM elements. If no tracking expression\n *     is specified, ng-repeat associates elements by identity. It is an error to have\n *     more than one tracking expression value resolve to the same key. (This would mean that two distinct objects are\n *     mapped to the same DOM element, which is not possible.)\n *\n *     Note that the tracking expression must come last, after any filters, and the alias expression.\n *\n *     For example: `item in items` is equivalent to `item in items track by $id(item)`. This implies that the DOM elements\n *     will be associated by item identity in the array.\n *\n *     For example: `item in items track by $id(item)`. A built in `$id()` function can be used to assign a unique\n *     `$$hashKey` property to each item in the array. This property is then used as a key to associated DOM elements\n *     with the corresponding item in the array by identity. Moving the same object in array would move the DOM\n *     element in the same way in the DOM.\n *\n *     For example: `item in items track by item.id` is a typical pattern when the items come from the database. In this\n *     case the object identity does not matter. Two objects are considered equivalent as long as their `id`\n *     property is same.\n *\n *     For example: `item in items | filter:searchText track by item.id` is a pattern that might be used to apply a filter\n *     to items in conjunction with a tracking expression.\n *\n *   * `variable in expression as alias_expression` – You can also provide an optional alias expression which will then store the\n *     intermediate results of the repeater after the filters have been applied. Typically this is used to render a special message\n *     when a filter is active on the repeater, but the filtered result set is empty.\n *\n *     For example: `item in items | filter:x as results` will store the fragment of the repeated items as `results`, but only after\n *     the items have been processed through the filter.\n *\n *     Please note that `as [variable name] is not an operator but rather a part of ngRepeat micro-syntax so it can be used only at the end\n *     (and not as operator, inside an expression).\n *\n *     For example: `item in items | filter : x | orderBy : order | limitTo : limit as results` .\n *\n * @example\n * This example initializes the scope to a list of names and\n * then uses `ngRepeat` to display every person:\n  <example module=\"ngAnimate\" deps=\"angular-animate.js\" animations=\"true\">\n    <file name=\"index.html\">\n      <div ng-init=\"friends = [\n        {name:'John', age:25, gender:'boy'},\n        {name:'Jessie', age:30, gender:'girl'},\n        {name:'Johanna', age:28, gender:'girl'},\n        {name:'Joy', age:15, gender:'girl'},\n        {name:'Mary', age:28, gender:'girl'},\n        {name:'Peter', age:95, gender:'boy'},\n        {name:'Sebastian', age:50, gender:'boy'},\n        {name:'Erika', age:27, gender:'girl'},\n        {name:'Patrick', age:40, gender:'boy'},\n        {name:'Samantha', age:60, gender:'girl'}\n      ]\">\n        I have {{friends.length}} friends. They are:\n        <input type=\"search\" ng-model=\"q\" placeholder=\"filter friends...\" aria-label=\"filter friends\" />\n        <ul class=\"example-animate-container\">\n          <li class=\"animate-repeat\" ng-repeat=\"friend in friends | filter:q as results\">\n            [{{$index + 1}}] {{friend.name}} who is {{friend.age}} years old.\n          </li>\n          <li class=\"animate-repeat\" ng-if=\"results.length == 0\">\n            <strong>No results found...</strong>\n          </li>\n        </ul>\n      </div>\n    </file>\n    <file name=\"animations.css\">\n      .example-animate-container {\n        background:white;\n        border:1px solid black;\n        list-style:none;\n        margin:0;\n        padding:0 10px;\n      }\n\n      .animate-repeat {\n        line-height:40px;\n        list-style:none;\n        box-sizing:border-box;\n      }\n\n      .animate-repeat.ng-move,\n      .animate-repeat.ng-enter,\n      .animate-repeat.ng-leave {\n        transition:all linear 0.5s;\n      }\n\n      .animate-repeat.ng-leave.ng-leave-active,\n      .animate-repeat.ng-move,\n      .animate-repeat.ng-enter {\n        opacity:0;\n        max-height:0;\n      }\n\n      .animate-repeat.ng-leave,\n      .animate-repeat.ng-move.ng-move-active,\n      .animate-repeat.ng-enter.ng-enter-active {\n        opacity:1;\n        max-height:40px;\n      }\n    </file>\n    <file name=\"protractor.js\" type=\"protractor\">\n      var friends = element.all(by.repeater('friend in friends'));\n\n      it('should render initial data set', function() {\n        expect(friends.count()).toBe(10);\n        expect(friends.get(0).getText()).toEqual('[1] John who is 25 years old.');\n        expect(friends.get(1).getText()).toEqual('[2] Jessie who is 30 years old.');\n        expect(friends.last().getText()).toEqual('[10] Samantha who is 60 years old.');\n        expect(element(by.binding('friends.length')).getText())\n            .toMatch(\"I have 10 friends. They are:\");\n      });\n\n       it('should update repeater when filter predicate changes', function() {\n         expect(friends.count()).toBe(10);\n\n         element(by.model('q')).sendKeys('ma');\n\n         expect(friends.count()).toBe(2);\n         expect(friends.get(0).getText()).toEqual('[1] Mary who is 28 years old.');\n         expect(friends.last().getText()).toEqual('[2] Samantha who is 60 years old.');\n       });\n      </file>\n    </example>\n */\nvar ngRepeatDirective = ['$parse', '$animate', function($parse, $animate) {\n  var NG_REMOVED = '$$NG_REMOVED';\n  var ngRepeatMinErr = minErr('ngRepeat');\n\n  var updateScope = function(scope, index, valueIdentifier, value, keyIdentifier, key, arrayLength) {\n    // TODO(perf): generate setters to shave off ~40ms or 1-1.5%\n    scope[valueIdentifier] = value;\n    if (keyIdentifier) scope[keyIdentifier] = key;\n    scope.$index = index;\n    scope.$first = (index === 0);\n    scope.$last = (index === (arrayLength - 1));\n    scope.$middle = !(scope.$first || scope.$last);\n    // jshint bitwise: false\n    scope.$odd = !(scope.$even = (index&1) === 0);\n    // jshint bitwise: true\n  };\n\n  var getBlockStart = function(block) {\n    return block.clone[0];\n  };\n\n  var getBlockEnd = function(block) {\n    return block.clone[block.clone.length - 1];\n  };\n\n\n  return {\n    restrict: 'A',\n    multiElement: true,\n    transclude: 'element',\n    priority: 1000,\n    terminal: true,\n    $$tlb: true,\n    compile: function ngRepeatCompile($element, $attr) {\n      var expression = $attr.ngRepeat;\n      var ngRepeatEndComment = document.createComment(' end ngRepeat: ' + expression + ' ');\n\n      var match = expression.match(/^\\s*([\\s\\S]+?)\\s+in\\s+([\\s\\S]+?)(?:\\s+as\\s+([\\s\\S]+?))?(?:\\s+track\\s+by\\s+([\\s\\S]+?))?\\s*$/);\n\n      if (!match) {\n        throw ngRepeatMinErr('iexp', \"Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.\",\n            expression);\n      }\n\n      var lhs = match[1];\n      var rhs = match[2];\n      var aliasAs = match[3];\n      var trackByExp = match[4];\n\n      match = lhs.match(/^(?:(\\s*[\\$\\w]+)|\\(\\s*([\\$\\w]+)\\s*,\\s*([\\$\\w]+)\\s*\\))$/);\n\n      if (!match) {\n        throw ngRepeatMinErr('iidexp', \"'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.\",\n            lhs);\n      }\n      var valueIdentifier = match[3] || match[1];\n      var keyIdentifier = match[2];\n\n      if (aliasAs && (!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(aliasAs) ||\n          /^(null|undefined|this|\\$index|\\$first|\\$middle|\\$last|\\$even|\\$odd|\\$parent|\\$root|\\$id)$/.test(aliasAs))) {\n        throw ngRepeatMinErr('badident', \"alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.\",\n          aliasAs);\n      }\n\n      var trackByExpGetter, trackByIdExpFn, trackByIdArrayFn, trackByIdObjFn;\n      var hashFnLocals = {$id: hashKey};\n\n      if (trackByExp) {\n        trackByExpGetter = $parse(trackByExp);\n      } else {\n        trackByIdArrayFn = function(key, value) {\n          return hashKey(value);\n        };\n        trackByIdObjFn = function(key) {\n          return key;\n        };\n      }\n\n      return function ngRepeatLink($scope, $element, $attr, ctrl, $transclude) {\n\n        if (trackByExpGetter) {\n          trackByIdExpFn = function(key, value, index) {\n            // assign key, value, and $index to the locals so that they can be used in hash functions\n            if (keyIdentifier) hashFnLocals[keyIdentifier] = key;\n            hashFnLocals[valueIdentifier] = value;\n            hashFnLocals.$index = index;\n            return trackByExpGetter($scope, hashFnLocals);\n          };\n        }\n\n        // Store a list of elements from previous run. This is a hash where key is the item from the\n        // iterator, and the value is objects with following properties.\n        //   - scope: bound scope\n        //   - element: previous element.\n        //   - index: position\n        //\n        // We are using no-proto object so that we don't need to guard against inherited props via\n        // hasOwnProperty.\n        var lastBlockMap = createMap();\n\n        //watch props\n        $scope.$watchCollection(rhs, function ngRepeatAction(collection) {\n          var index, length,\n              previousNode = $element[0],     // node that cloned nodes should be inserted after\n                                              // initialized to the comment node anchor\n              nextNode,\n              // Same as lastBlockMap but it has the current state. It will become the\n              // lastBlockMap on the next iteration.\n              nextBlockMap = createMap(),\n              collectionLength,\n              key, value, // key/value of iteration\n              trackById,\n              trackByIdFn,\n              collectionKeys,\n              block,       // last object information {scope, element, id}\n              nextBlockOrder,\n              elementsToRemove;\n\n          if (aliasAs) {\n            $scope[aliasAs] = collection;\n          }\n\n          if (isArrayLike(collection)) {\n            collectionKeys = collection;\n            trackByIdFn = trackByIdExpFn || trackByIdArrayFn;\n          } else {\n            trackByIdFn = trackByIdExpFn || trackByIdObjFn;\n            // if object, extract keys, in enumeration order, unsorted\n            collectionKeys = [];\n            for (var itemKey in collection) {\n              if (hasOwnProperty.call(collection, itemKey) && itemKey.charAt(0) !== '$') {\n                collectionKeys.push(itemKey);\n              }\n            }\n          }\n\n          collectionLength = collectionKeys.length;\n          nextBlockOrder = new Array(collectionLength);\n\n          // locate existing items\n          for (index = 0; index < collectionLength; index++) {\n            key = (collection === collectionKeys) ? index : collectionKeys[index];\n            value = collection[key];\n            trackById = trackByIdFn(key, value, index);\n            if (lastBlockMap[trackById]) {\n              // found previously seen block\n              block = lastBlockMap[trackById];\n              delete lastBlockMap[trackById];\n              nextBlockMap[trackById] = block;\n              nextBlockOrder[index] = block;\n            } else if (nextBlockMap[trackById]) {\n              // if collision detected. restore lastBlockMap and throw an error\n              forEach(nextBlockOrder, function(block) {\n                if (block && block.scope) lastBlockMap[block.id] = block;\n              });\n              throw ngRepeatMinErr('dupes',\n                  \"Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}\",\n                  expression, trackById, value);\n            } else {\n              // new never before seen block\n              nextBlockOrder[index] = {id: trackById, scope: undefined, clone: undefined};\n              nextBlockMap[trackById] = true;\n            }\n          }\n\n          // remove leftover items\n          for (var blockKey in lastBlockMap) {\n            block = lastBlockMap[blockKey];\n            elementsToRemove = getBlockNodes(block.clone);\n            $animate.leave(elementsToRemove);\n            if (elementsToRemove[0].parentNode) {\n              // if the element was not removed yet because of pending animation, mark it as deleted\n              // so that we can ignore it later\n              for (index = 0, length = elementsToRemove.length; index < length; index++) {\n                elementsToRemove[index][NG_REMOVED] = true;\n              }\n            }\n            block.scope.$destroy();\n          }\n\n          // we are not using forEach for perf reasons (trying to avoid #call)\n          for (index = 0; index < collectionLength; index++) {\n            key = (collection === collectionKeys) ? index : collectionKeys[index];\n            value = collection[key];\n            block = nextBlockOrder[index];\n\n            if (block.scope) {\n              // if we have already seen this object, then we need to reuse the\n              // associated scope/element\n\n              nextNode = previousNode;\n\n              // skip nodes that are already pending removal via leave animation\n              do {\n                nextNode = nextNode.nextSibling;\n              } while (nextNode && nextNode[NG_REMOVED]);\n\n              if (getBlockStart(block) != nextNode) {\n                // existing item which got moved\n                $animate.move(getBlockNodes(block.clone), null, jqLite(previousNode));\n              }\n              previousNode = getBlockEnd(block);\n              updateScope(block.scope, index, valueIdentifier, value, keyIdentifier, key, collectionLength);\n            } else {\n              // new item which we don't know about\n              $transclude(function ngRepeatTransclude(clone, scope) {\n                block.scope = scope;\n                // http://jsperf.com/clone-vs-createcomment\n                var endNode = ngRepeatEndComment.cloneNode(false);\n                clone[clone.length++] = endNode;\n\n                // TODO(perf): support naked previousNode in `enter` to avoid creation of jqLite wrapper?\n                $animate.enter(clone, null, jqLite(previousNode));\n                previousNode = endNode;\n                // Note: We only need the first/last node of the cloned nodes.\n                // However, we need to keep the reference to the jqlite wrapper as it might be changed later\n                // by a directive with templateUrl when its template arrives.\n                block.clone = clone;\n                nextBlockMap[block.id] = block;\n                updateScope(block.scope, index, valueIdentifier, value, keyIdentifier, key, collectionLength);\n              });\n            }\n          }\n          lastBlockMap = nextBlockMap;\n        });\n      };\n    }\n  };\n}];\n\nvar NG_HIDE_CLASS = 'ng-hide';\nvar NG_HIDE_IN_PROGRESS_CLASS = 'ng-hide-animate';\n/**\n * @ngdoc directive\n * @name ngShow\n * @multiElement\n *\n * @description\n * The `ngShow` directive shows or hides the given HTML element based on the expression\n * provided to the `ngShow` attribute. The element is shown or hidden by removing or adding\n * the `.ng-hide` CSS class onto the element. The `.ng-hide` CSS class is predefined\n * in AngularJS and sets the display style to none (using an !important flag).\n * For CSP mode please add `angular-csp.css` to your html file (see {@link ng.directive:ngCsp ngCsp}).\n *\n * ```html\n * <!-- when $scope.myValue is truthy (element is visible) -->\n * <div ng-show=\"myValue\"></div>\n *\n * <!-- when $scope.myValue is falsy (element is hidden) -->\n * <div ng-show=\"myValue\" class=\"ng-hide\"></div>\n * ```\n *\n * When the `ngShow` expression evaluates to a falsy value then the `.ng-hide` CSS class is added to the class\n * attribute on the element causing it to become hidden. When truthy, the `.ng-hide` CSS class is removed\n * from the element causing the element not to appear hidden.\n *\n * ## Why is !important used?\n *\n * You may be wondering why !important is used for the `.ng-hide` CSS class. This is because the `.ng-hide` selector\n * can be easily overridden by heavier selectors. For example, something as simple\n * as changing the display style on a HTML list item would make hidden elements appear visible.\n * This also becomes a bigger issue when dealing with CSS frameworks.\n *\n * By using !important, the show and hide behavior will work as expected despite any clash between CSS selector\n * specificity (when !important isn't used with any conflicting styles). If a developer chooses to override the\n * styling to change how to hide an element then it is just a matter of using !important in their own CSS code.\n *\n * ### Overriding `.ng-hide`\n *\n * By default, the `.ng-hide` class will style the element with `display: none!important`. If you wish to change\n * the hide behavior with ngShow/ngHide then this can be achieved by restating the styles for the `.ng-hide`\n * class CSS. Note that the selector that needs to be used is actually `.ng-hide:not(.ng-hide-animate)` to cope\n * with extra animation classes that can be added.\n *\n * ```css\n * .ng-hide:not(.ng-hide-animate) {\n *   /&#42; this is just another form of hiding an element &#42;/\n *   display: block!important;\n *   position: absolute;\n *   top: -9999px;\n *   left: -9999px;\n * }\n * ```\n *\n * By default you don't need to override in CSS anything and the animations will work around the display style.\n *\n * ## A note about animations with `ngShow`\n *\n * Animations in ngShow/ngHide work with the show and hide events that are triggered when the directive expression\n * is true and false. This system works like the animation system present with ngClass except that\n * you must also include the !important flag to override the display property\n * so that you can perform an animation when the element is hidden during the time of the animation.\n *\n * ```css\n * //\n * //a working example can be found at the bottom of this page\n * //\n * .my-element.ng-hide-add, .my-element.ng-hide-remove {\n *   /&#42; this is required as of 1.3x to properly\n *      apply all styling in a show/hide animation &#42;/\n *   transition: 0s linear all;\n * }\n *\n * .my-element.ng-hide-add-active,\n * .my-element.ng-hide-remove-active {\n *   /&#42; the transition is defined in the active class &#42;/\n *   transition: 1s linear all;\n * }\n *\n * .my-element.ng-hide-add { ... }\n * .my-element.ng-hide-add.ng-hide-add-active { ... }\n * .my-element.ng-hide-remove { ... }\n * .my-element.ng-hide-remove.ng-hide-remove-active { ... }\n * ```\n *\n * Keep in mind that, as of AngularJS version 1.3.0-beta.11, there is no need to change the display\n * property to block during animation states--ngAnimate will handle the style toggling automatically for you.\n *\n * @animations\n * addClass: `.ng-hide` - happens after the `ngShow` expression evaluates to a truthy value and the just before contents are set to visible\n * removeClass: `.ng-hide` - happens after the `ngShow` expression evaluates to a non truthy value and just before the contents are set to hidden\n *\n * @element ANY\n * @param {expression} ngShow If the {@link guide/expression expression} is truthy\n *     then the element is shown or hidden respectively.\n *\n * @example\n  <example module=\"ngAnimate\" deps=\"angular-animate.js\" animations=\"true\">\n    <file name=\"index.html\">\n      Click me: <input type=\"checkbox\" ng-model=\"checked\" aria-label=\"Toggle ngHide\"><br/>\n      <div>\n        Show:\n        <div class=\"check-element animate-show\" ng-show=\"checked\">\n          <span class=\"glyphicon glyphicon-thumbs-up\"></span> I show up when your checkbox is checked.\n        </div>\n      </div>\n      <div>\n        Hide:\n        <div class=\"check-element animate-show\" ng-hide=\"checked\">\n          <span class=\"glyphicon glyphicon-thumbs-down\"></span> I hide when your checkbox is checked.\n        </div>\n      </div>\n    </file>\n    <file name=\"glyphicons.css\">\n      @import url(../../components/bootstrap-3.1.1/css/bootstrap.css);\n    </file>\n    <file name=\"animations.css\">\n      .animate-show {\n        line-height: 20px;\n        opacity: 1;\n        padding: 10px;\n        border: 1px solid black;\n        background: white;\n      }\n\n      .animate-show.ng-hide-add, .animate-show.ng-hide-remove {\n        transition: all linear 0.5s;\n      }\n\n      .animate-show.ng-hide {\n        line-height: 0;\n        opacity: 0;\n        padding: 0 10px;\n      }\n\n      .check-element {\n        padding: 10px;\n        border: 1px solid black;\n        background: white;\n      }\n    </file>\n    <file name=\"protractor.js\" type=\"protractor\">\n      var thumbsUp = element(by.css('span.glyphicon-thumbs-up'));\n      var thumbsDown = element(by.css('span.glyphicon-thumbs-down'));\n\n      it('should check ng-show / ng-hide', function() {\n        expect(thumbsUp.isDisplayed()).toBeFalsy();\n        expect(thumbsDown.isDisplayed()).toBeTruthy();\n\n        element(by.model('checked')).click();\n\n        expect(thumbsUp.isDisplayed()).toBeTruthy();\n        expect(thumbsDown.isDisplayed()).toBeFalsy();\n      });\n    </file>\n  </example>\n */\nvar ngShowDirective = ['$animate', function($animate) {\n  return {\n    restrict: 'A',\n    multiElement: true,\n    link: function(scope, element, attr) {\n      scope.$watch(attr.ngShow, function ngShowWatchAction(value) {\n        // we're adding a temporary, animation-specific class for ng-hide since this way\n        // we can control when the element is actually displayed on screen without having\n        // to have a global/greedy CSS selector that breaks when other animations are run.\n        // Read: https://github.com/angular/angular.js/issues/9103#issuecomment-58335845\n        $animate[value ? 'removeClass' : 'addClass'](element, NG_HIDE_CLASS, {\n          tempClasses: NG_HIDE_IN_PROGRESS_CLASS\n        });\n      });\n    }\n  };\n}];\n\n\n/**\n * @ngdoc directive\n * @name ngHide\n * @multiElement\n *\n * @description\n * The `ngHide` directive shows or hides the given HTML element based on the expression\n * provided to the `ngHide` attribute. The element is shown or hidden by removing or adding\n * the `ng-hide` CSS class onto the element. The `.ng-hide` CSS class is predefined\n * in AngularJS and sets the display style to none (using an !important flag).\n * For CSP mode please add `angular-csp.css` to your html file (see {@link ng.directive:ngCsp ngCsp}).\n *\n * ```html\n * <!-- when $scope.myValue is truthy (element is hidden) -->\n * <div ng-hide=\"myValue\" class=\"ng-hide\"></div>\n *\n * <!-- when $scope.myValue is falsy (element is visible) -->\n * <div ng-hide=\"myValue\"></div>\n * ```\n *\n * When the `ngHide` expression evaluates to a truthy value then the `.ng-hide` CSS class is added to the class\n * attribute on the element causing it to become hidden. When falsy, the `.ng-hide` CSS class is removed\n * from the element causing the element not to appear hidden.\n *\n * ## Why is !important used?\n *\n * You may be wondering why !important is used for the `.ng-hide` CSS class. This is because the `.ng-hide` selector\n * can be easily overridden by heavier selectors. For example, something as simple\n * as changing the display style on a HTML list item would make hidden elements appear visible.\n * This also becomes a bigger issue when dealing with CSS frameworks.\n *\n * By using !important, the show and hide behavior will work as expected despite any clash between CSS selector\n * specificity (when !important isn't used with any conflicting styles). If a developer chooses to override the\n * styling to change how to hide an element then it is just a matter of using !important in their own CSS code.\n *\n * ### Overriding `.ng-hide`\n *\n * By default, the `.ng-hide` class will style the element with `display: none!important`. If you wish to change\n * the hide behavior with ngShow/ngHide then this can be achieved by restating the styles for the `.ng-hide`\n * class in CSS:\n *\n * ```css\n * .ng-hide {\n *   /&#42; this is just another form of hiding an element &#42;/\n *   display: block!important;\n *   position: absolute;\n *   top: -9999px;\n *   left: -9999px;\n * }\n * ```\n *\n * By default you don't need to override in CSS anything and the animations will work around the display style.\n *\n * ## A note about animations with `ngHide`\n *\n * Animations in ngShow/ngHide work with the show and hide events that are triggered when the directive expression\n * is true and false. This system works like the animation system present with ngClass, except that the `.ng-hide`\n * CSS class is added and removed for you instead of your own CSS class.\n *\n * ```css\n * //\n * //a working example can be found at the bottom of this page\n * //\n * .my-element.ng-hide-add, .my-element.ng-hide-remove {\n *   transition: 0.5s linear all;\n * }\n *\n * .my-element.ng-hide-add { ... }\n * .my-element.ng-hide-add.ng-hide-add-active { ... }\n * .my-element.ng-hide-remove { ... }\n * .my-element.ng-hide-remove.ng-hide-remove-active { ... }\n * ```\n *\n * Keep in mind that, as of AngularJS version 1.3.0-beta.11, there is no need to change the display\n * property to block during animation states--ngAnimate will handle the style toggling automatically for you.\n *\n * @animations\n * removeClass: `.ng-hide` - happens after the `ngHide` expression evaluates to a truthy value and just before the contents are set to hidden\n * addClass: `.ng-hide` - happens after the `ngHide` expression evaluates to a non truthy value and just before the contents are set to visible\n *\n * @element ANY\n * @param {expression} ngHide If the {@link guide/expression expression} is truthy then\n *     the element is shown or hidden respectively.\n *\n * @example\n  <example module=\"ngAnimate\" deps=\"angular-animate.js\" animations=\"true\">\n    <file name=\"index.html\">\n      Click me: <input type=\"checkbox\" ng-model=\"checked\" aria-label=\"Toggle ngShow\"><br/>\n      <div>\n        Show:\n        <div class=\"check-element animate-hide\" ng-show=\"checked\">\n          <span class=\"glyphicon glyphicon-thumbs-up\"></span> I show up when your checkbox is checked.\n        </div>\n      </div>\n      <div>\n        Hide:\n        <div class=\"check-element animate-hide\" ng-hide=\"checked\">\n          <span class=\"glyphicon glyphicon-thumbs-down\"></span> I hide when your checkbox is checked.\n        </div>\n      </div>\n    </file>\n    <file name=\"glyphicons.css\">\n      @import url(../../components/bootstrap-3.1.1/css/bootstrap.css);\n    </file>\n    <file name=\"animations.css\">\n      .animate-hide {\n        transition: all linear 0.5s;\n        line-height: 20px;\n        opacity: 1;\n        padding: 10px;\n        border: 1px solid black;\n        background: white;\n      }\n\n      .animate-hide.ng-hide {\n        line-height: 0;\n        opacity: 0;\n        padding: 0 10px;\n      }\n\n      .check-element {\n        padding: 10px;\n        border: 1px solid black;\n        background: white;\n      }\n    </file>\n    <file name=\"protractor.js\" type=\"protractor\">\n      var thumbsUp = element(by.css('span.glyphicon-thumbs-up'));\n      var thumbsDown = element(by.css('span.glyphicon-thumbs-down'));\n\n      it('should check ng-show / ng-hide', function() {\n        expect(thumbsUp.isDisplayed()).toBeFalsy();\n        expect(thumbsDown.isDisplayed()).toBeTruthy();\n\n        element(by.model('checked')).click();\n\n        expect(thumbsUp.isDisplayed()).toBeTruthy();\n        expect(thumbsDown.isDisplayed()).toBeFalsy();\n      });\n    </file>\n  </example>\n */\nvar ngHideDirective = ['$animate', function($animate) {\n  return {\n    restrict: 'A',\n    multiElement: true,\n    link: function(scope, element, attr) {\n      scope.$watch(attr.ngHide, function ngHideWatchAction(value) {\n        // The comment inside of the ngShowDirective explains why we add and\n        // remove a temporary class for the show/hide animation\n        $animate[value ? 'addClass' : 'removeClass'](element,NG_HIDE_CLASS, {\n          tempClasses: NG_HIDE_IN_PROGRESS_CLASS\n        });\n      });\n    }\n  };\n}];\n\n/**\n * @ngdoc directive\n * @name ngStyle\n * @restrict AC\n *\n * @description\n * The `ngStyle` directive allows you to set CSS style on an HTML element conditionally.\n *\n * @element ANY\n * @param {expression} ngStyle\n *\n * {@link guide/expression Expression} which evals to an\n * object whose keys are CSS style names and values are corresponding values for those CSS\n * keys.\n *\n * Since some CSS style names are not valid keys for an object, they must be quoted.\n * See the 'background-color' style in the example below.\n *\n * @example\n   <example>\n     <file name=\"index.html\">\n        <input type=\"button\" value=\"set color\" ng-click=\"myStyle={color:'red'}\">\n        <input type=\"button\" value=\"set background\" ng-click=\"myStyle={'background-color':'blue'}\">\n        <input type=\"button\" value=\"clear\" ng-click=\"myStyle={}\">\n        <br/>\n        <span ng-style=\"myStyle\">Sample Text</span>\n        <pre>myStyle={{myStyle}}</pre>\n     </file>\n     <file name=\"style.css\">\n       span {\n         color: black;\n       }\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n       var colorSpan = element(by.css('span'));\n\n       it('should check ng-style', function() {\n         expect(colorSpan.getCssValue('color')).toBe('rgba(0, 0, 0, 1)');\n         element(by.css('input[value=\\'set color\\']')).click();\n         expect(colorSpan.getCssValue('color')).toBe('rgba(255, 0, 0, 1)');\n         element(by.css('input[value=clear]')).click();\n         expect(colorSpan.getCssValue('color')).toBe('rgba(0, 0, 0, 1)');\n       });\n     </file>\n   </example>\n */\nvar ngStyleDirective = ngDirective(function(scope, element, attr) {\n  scope.$watch(attr.ngStyle, function ngStyleWatchAction(newStyles, oldStyles) {\n    if (oldStyles && (newStyles !== oldStyles)) {\n      forEach(oldStyles, function(val, style) { element.css(style, '');});\n    }\n    if (newStyles) element.css(newStyles);\n  }, true);\n});\n\n/**\n * @ngdoc directive\n * @name ngSwitch\n * @restrict EA\n *\n * @description\n * The `ngSwitch` directive is used to conditionally swap DOM structure on your template based on a scope expression.\n * Elements within `ngSwitch` but without `ngSwitchWhen` or `ngSwitchDefault` directives will be preserved at the location\n * as specified in the template.\n *\n * The directive itself works similar to ngInclude, however, instead of downloading template code (or loading it\n * from the template cache), `ngSwitch` simply chooses one of the nested elements and makes it visible based on which element\n * matches the value obtained from the evaluated expression. In other words, you define a container element\n * (where you place the directive), place an expression on the **`on=\"...\"` attribute**\n * (or the **`ng-switch=\"...\"` attribute**), define any inner elements inside of the directive and place\n * a when attribute per element. The when attribute is used to inform ngSwitch which element to display when the on\n * expression is evaluated. If a matching expression is not found via a when attribute then an element with the default\n * attribute is displayed.\n *\n * <div class=\"alert alert-info\">\n * Be aware that the attribute values to match against cannot be expressions. They are interpreted\n * as literal string values to match against.\n * For example, **`ng-switch-when=\"someVal\"`** will match against the string `\"someVal\"` not against the\n * value of the expression `$scope.someVal`.\n * </div>\n\n * @animations\n * enter - happens after the ngSwitch contents change and the matched child element is placed inside the container\n * leave - happens just after the ngSwitch contents change and just before the former contents are removed from the DOM\n *\n * @usage\n *\n * ```\n * <ANY ng-switch=\"expression\">\n *   <ANY ng-switch-when=\"matchValue1\">...</ANY>\n *   <ANY ng-switch-when=\"matchValue2\">...</ANY>\n *   <ANY ng-switch-default>...</ANY>\n * </ANY>\n * ```\n *\n *\n * @scope\n * @priority 1200\n * @param {*} ngSwitch|on expression to match against <code>ng-switch-when</code>.\n * On child elements add:\n *\n * * `ngSwitchWhen`: the case statement to match against. If match then this\n *   case will be displayed. If the same match appears multiple times, all the\n *   elements will be displayed.\n * * `ngSwitchDefault`: the default case when no other case match. If there\n *   are multiple default cases, all of them will be displayed when no other\n *   case match.\n *\n *\n * @example\n  <example module=\"switchExample\" deps=\"angular-animate.js\" animations=\"true\">\n    <file name=\"index.html\">\n      <div ng-controller=\"ExampleController\">\n        <select ng-model=\"selection\" ng-options=\"item for item in items\">\n        </select>\n        <code>selection={{selection}}</code>\n        <hr/>\n        <div class=\"animate-switch-container\"\n          ng-switch on=\"selection\">\n            <div class=\"animate-switch\" ng-switch-when=\"settings\">Settings Div</div>\n            <div class=\"animate-switch\" ng-switch-when=\"home\">Home Span</div>\n            <div class=\"animate-switch\" ng-switch-default>default</div>\n        </div>\n      </div>\n    </file>\n    <file name=\"script.js\">\n      angular.module('switchExample', ['ngAnimate'])\n        .controller('ExampleController', ['$scope', function($scope) {\n          $scope.items = ['settings', 'home', 'other'];\n          $scope.selection = $scope.items[0];\n        }]);\n    </file>\n    <file name=\"animations.css\">\n      .animate-switch-container {\n        position:relative;\n        background:white;\n        border:1px solid black;\n        height:40px;\n        overflow:hidden;\n      }\n\n      .animate-switch {\n        padding:10px;\n      }\n\n      .animate-switch.ng-animate {\n        transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;\n\n        position:absolute;\n        top:0;\n        left:0;\n        right:0;\n        bottom:0;\n      }\n\n      .animate-switch.ng-leave.ng-leave-active,\n      .animate-switch.ng-enter {\n        top:-50px;\n      }\n      .animate-switch.ng-leave,\n      .animate-switch.ng-enter.ng-enter-active {\n        top:0;\n      }\n    </file>\n    <file name=\"protractor.js\" type=\"protractor\">\n      var switchElem = element(by.css('[ng-switch]'));\n      var select = element(by.model('selection'));\n\n      it('should start in settings', function() {\n        expect(switchElem.getText()).toMatch(/Settings Div/);\n      });\n      it('should change to home', function() {\n        select.all(by.css('option')).get(1).click();\n        expect(switchElem.getText()).toMatch(/Home Span/);\n      });\n      it('should select default', function() {\n        select.all(by.css('option')).get(2).click();\n        expect(switchElem.getText()).toMatch(/default/);\n      });\n    </file>\n  </example>\n */\nvar ngSwitchDirective = ['$animate', function($animate) {\n  return {\n    require: 'ngSwitch',\n\n    // asks for $scope to fool the BC controller module\n    controller: ['$scope', function ngSwitchController() {\n     this.cases = {};\n    }],\n    link: function(scope, element, attr, ngSwitchController) {\n      var watchExpr = attr.ngSwitch || attr.on,\n          selectedTranscludes = [],\n          selectedElements = [],\n          previousLeaveAnimations = [],\n          selectedScopes = [];\n\n      var spliceFactory = function(array, index) {\n          return function() { array.splice(index, 1); };\n      };\n\n      scope.$watch(watchExpr, function ngSwitchWatchAction(value) {\n        var i, ii;\n        for (i = 0, ii = previousLeaveAnimations.length; i < ii; ++i) {\n          $animate.cancel(previousLeaveAnimations[i]);\n        }\n        previousLeaveAnimations.length = 0;\n\n        for (i = 0, ii = selectedScopes.length; i < ii; ++i) {\n          var selected = getBlockNodes(selectedElements[i].clone);\n          selectedScopes[i].$destroy();\n          var promise = previousLeaveAnimations[i] = $animate.leave(selected);\n          promise.then(spliceFactory(previousLeaveAnimations, i));\n        }\n\n        selectedElements.length = 0;\n        selectedScopes.length = 0;\n\n        if ((selectedTranscludes = ngSwitchController.cases['!' + value] || ngSwitchController.cases['?'])) {\n          forEach(selectedTranscludes, function(selectedTransclude) {\n            selectedTransclude.transclude(function(caseElement, selectedScope) {\n              selectedScopes.push(selectedScope);\n              var anchor = selectedTransclude.element;\n              caseElement[caseElement.length++] = document.createComment(' end ngSwitchWhen: ');\n              var block = { clone: caseElement };\n\n              selectedElements.push(block);\n              $animate.enter(caseElement, anchor.parent(), anchor);\n            });\n          });\n        }\n      });\n    }\n  };\n}];\n\nvar ngSwitchWhenDirective = ngDirective({\n  transclude: 'element',\n  priority: 1200,\n  require: '^ngSwitch',\n  multiElement: true,\n  link: function(scope, element, attrs, ctrl, $transclude) {\n    ctrl.cases['!' + attrs.ngSwitchWhen] = (ctrl.cases['!' + attrs.ngSwitchWhen] || []);\n    ctrl.cases['!' + attrs.ngSwitchWhen].push({ transclude: $transclude, element: element });\n  }\n});\n\nvar ngSwitchDefaultDirective = ngDirective({\n  transclude: 'element',\n  priority: 1200,\n  require: '^ngSwitch',\n  multiElement: true,\n  link: function(scope, element, attr, ctrl, $transclude) {\n    ctrl.cases['?'] = (ctrl.cases['?'] || []);\n    ctrl.cases['?'].push({ transclude: $transclude, element: element });\n   }\n});\n\n/**\n * @ngdoc directive\n * @name ngTransclude\n * @restrict EAC\n *\n * @description\n * Directive that marks the insertion point for the transcluded DOM of the nearest parent directive that uses transclusion.\n *\n * Any existing content of the element that this directive is placed on will be removed before the transcluded content is inserted.\n *\n * @element ANY\n *\n * @example\n   <example module=\"transcludeExample\">\n     <file name=\"index.html\">\n       <script>\n         angular.module('transcludeExample', [])\n          .directive('pane', function(){\n             return {\n               restrict: 'E',\n               transclude: true,\n               scope: { title:'@' },\n               template: '<div style=\"border: 1px solid black;\">' +\n                           '<div style=\"background-color: gray\">{{title}}</div>' +\n                           '<ng-transclude></ng-transclude>' +\n                         '</div>'\n             };\n         })\n         .controller('ExampleController', ['$scope', function($scope) {\n           $scope.title = 'Lorem Ipsum';\n           $scope.text = 'Neque porro quisquam est qui dolorem ipsum quia dolor...';\n         }]);\n       </script>\n       <div ng-controller=\"ExampleController\">\n         <input ng-model=\"title\" aria-label=\"title\"> <br/>\n         <textarea ng-model=\"text\" aria-label=\"text\"></textarea> <br/>\n         <pane title=\"{{title}}\">{{text}}</pane>\n       </div>\n     </file>\n     <file name=\"protractor.js\" type=\"protractor\">\n        it('should have transcluded', function() {\n          var titleElement = element(by.model('title'));\n          titleElement.clear();\n          titleElement.sendKeys('TITLE');\n          var textElement = element(by.model('text'));\n          textElement.clear();\n          textElement.sendKeys('TEXT');\n          expect(element(by.binding('title')).getText()).toEqual('TITLE');\n          expect(element(by.binding('text')).getText()).toEqual('TEXT');\n        });\n     </file>\n   </example>\n *\n */\nvar ngTranscludeDirective = ngDirective({\n  restrict: 'EAC',\n  link: function($scope, $element, $attrs, controller, $transclude) {\n    if (!$transclude) {\n      throw minErr('ngTransclude')('orphan',\n       'Illegal use of ngTransclude directive in the template! ' +\n       'No parent directive that requires a transclusion found. ' +\n       'Element: {0}',\n       startingTag($element));\n    }\n\n    $transclude(function(clone) {\n      $element.empty();\n      $element.append(clone);\n    });\n  }\n});\n\n/**\n * @ngdoc directive\n * @name script\n * @restrict E\n *\n * @description\n * Load the content of a `<script>` element into {@link ng.$templateCache `$templateCache`}, so that the\n * template can be used by {@link ng.directive:ngInclude `ngInclude`},\n * {@link ngRoute.directive:ngView `ngView`}, or {@link guide/directive directives}. The type of the\n * `<script>` element must be specified as `text/ng-template`, and a cache name for the template must be\n * assigned through the element's `id`, which can then be used as a directive's `templateUrl`.\n *\n * @param {string} type Must be set to `'text/ng-template'`.\n * @param {string} id Cache name of the template.\n *\n * @example\n  <example>\n    <file name=\"index.html\">\n      <script type=\"text/ng-template\" id=\"/tpl.html\">\n        Content of the template.\n      </script>\n\n      <a ng-click=\"currentTpl='/tpl.html'\" id=\"tpl-link\">Load inlined template</a>\n      <div id=\"tpl-content\" ng-include src=\"currentTpl\"></div>\n    </file>\n    <file name=\"protractor.js\" type=\"protractor\">\n      it('should load template defined inside script tag', function() {\n        element(by.css('#tpl-link')).click();\n        expect(element(by.css('#tpl-content')).getText()).toMatch(/Content of the template/);\n      });\n    </file>\n  </example>\n */\nvar scriptDirective = ['$templateCache', function($templateCache) {\n  return {\n    restrict: 'E',\n    terminal: true,\n    compile: function(element, attr) {\n      if (attr.type == 'text/ng-template') {\n        var templateUrl = attr.id,\n            text = element[0].text;\n\n        $templateCache.put(templateUrl, text);\n      }\n    }\n  };\n}];\n\nvar noopNgModelController = { $setViewValue: noop, $render: noop };\n\nfunction chromeHack(optionElement) {\n  // Workaround for https://code.google.com/p/chromium/issues/detail?id=381459\n  // Adding an <option selected=\"selected\"> element to a <select required=\"required\"> should\n  // automatically select the new element\n  if (optionElement[0].hasAttribute('selected')) {\n    optionElement[0].selected = true;\n  }\n}\n\n/**\n * @ngdoc type\n * @name  select.SelectController\n * @description\n * The controller for the `<select>` directive. This provides support for reading\n * and writing the selected value(s) of the control and also coordinates dynamically\n * added `<option>` elements, perhaps by an `ngRepeat` directive.\n */\nvar SelectController =\n        ['$element', '$scope', '$attrs', function($element, $scope, $attrs) {\n\n  var self = this,\n      optionsMap = new HashMap();\n\n  // If the ngModel doesn't get provided then provide a dummy noop version to prevent errors\n  self.ngModelCtrl = noopNgModelController;\n\n  // The \"unknown\" option is one that is prepended to the list if the viewValue\n  // does not match any of the options. When it is rendered the value of the unknown\n  // option is '? XXX ?' where XXX is the hashKey of the value that is not known.\n  //\n  // We can't just jqLite('<option>') since jqLite is not smart enough\n  // to create it in <select> and IE barfs otherwise.\n  self.unknownOption = jqLite(document.createElement('option'));\n  self.renderUnknownOption = function(val) {\n    var unknownVal = '? ' + hashKey(val) + ' ?';\n    self.unknownOption.val(unknownVal);\n    $element.prepend(self.unknownOption);\n    $element.val(unknownVal);\n  };\n\n  $scope.$on('$destroy', function() {\n    // disable unknown option so that we don't do work when the whole select is being destroyed\n    self.renderUnknownOption = noop;\n  });\n\n  self.removeUnknownOption = function() {\n    if (self.unknownOption.parent()) self.unknownOption.remove();\n  };\n\n\n  // Read the value of the select control, the implementation of this changes depending\n  // upon whether the select can have multiple values and whether ngOptions is at work.\n  self.readValue = function readSingleValue() {\n    self.removeUnknownOption();\n    return $element.val();\n  };\n\n\n  // Write the value to the select control, the implementation of this changes depending\n  // upon whether the select can have multiple values and whether ngOptions is at work.\n  self.writeValue = function writeSingleValue(value) {\n    if (self.hasOption(value)) {\n      self.removeUnknownOption();\n      $element.val(value);\n      if (value === '') self.emptyOption.prop('selected', true); // to make IE9 happy\n    } else {\n      if (value == null && self.emptyOption) {\n        self.removeUnknownOption();\n        $element.val('');\n      } else {\n        self.renderUnknownOption(value);\n      }\n    }\n  };\n\n\n  // Tell the select control that an option, with the given value, has been added\n  self.addOption = function(value, element) {\n    assertNotHasOwnProperty(value, '\"option value\"');\n    if (value === '') {\n      self.emptyOption = element;\n    }\n    var count = optionsMap.get(value) || 0;\n    optionsMap.put(value, count + 1);\n    self.ngModelCtrl.$render();\n    chromeHack(element);\n  };\n\n  // Tell the select control that an option, with the given value, has been removed\n  self.removeOption = function(value) {\n    var count = optionsMap.get(value);\n    if (count) {\n      if (count === 1) {\n        optionsMap.remove(value);\n        if (value === '') {\n          self.emptyOption = undefined;\n        }\n      } else {\n        optionsMap.put(value, count - 1);\n      }\n    }\n  };\n\n  // Check whether the select control has an option matching the given value\n  self.hasOption = function(value) {\n    return !!optionsMap.get(value);\n  };\n\n\n  self.registerOption = function(optionScope, optionElement, optionAttrs, interpolateValueFn, interpolateTextFn) {\n\n    if (interpolateValueFn) {\n      // The value attribute is interpolated\n      var oldVal;\n      optionAttrs.$observe('value', function valueAttributeObserveAction(newVal) {\n        if (isDefined(oldVal)) {\n          self.removeOption(oldVal);\n        }\n        oldVal = newVal;\n        self.addOption(newVal, optionElement);\n      });\n    } else if (interpolateTextFn) {\n      // The text content is interpolated\n      optionScope.$watch(interpolateTextFn, function interpolateWatchAction(newVal, oldVal) {\n        optionAttrs.$set('value', newVal);\n        if (oldVal !== newVal) {\n          self.removeOption(oldVal);\n        }\n        self.addOption(newVal, optionElement);\n      });\n    } else {\n      // The value attribute is static\n      self.addOption(optionAttrs.value, optionElement);\n    }\n\n    optionElement.on('$destroy', function() {\n      self.removeOption(optionAttrs.value);\n      self.ngModelCtrl.$render();\n    });\n  };\n}];\n\n/**\n * @ngdoc directive\n * @name select\n * @restrict E\n *\n * @description\n * HTML `SELECT` element with angular data-binding.\n *\n * The `select` directive is used together with {@link ngModel `ngModel`} to provide data-binding\n * between the scope and the `<select>` control (including setting default values).\n * Ìt also handles dynamic `<option>` elements, which can be added using the {@link ngRepeat `ngRepeat}` or\n * {@link ngOptions `ngOptions`} directives.\n *\n * When an item in the `<select>` menu is selected, the value of the selected option will be bound\n * to the model identified by the `ngModel` directive. With static or repeated options, this is\n * the content of the `value` attribute or the textContent of the `<option>`, if the value attribute is missing.\n * If you want dynamic value attributes, you can use interpolation inside the value attribute.\n *\n * <div class=\"alert alert-warning\">\n * Note that the value of a `select` directive used without `ngOptions` is always a string.\n * When the model needs to be bound to a non-string value, you must either explictly convert it\n * using a directive (see example below) or use `ngOptions` to specify the set of options.\n * This is because an option element can only be bound to string values at present.\n * </div>\n *\n * If the viewValue of `ngModel` does not match any of the options, then the control\n * will automatically add an \"unknown\" option, which it then removes when the mismatch is resolved.\n *\n * Optionally, a single hard-coded `<option>` element, with the value set to an empty string, can\n * be nested into the `<select>` element. This element will then represent the `null` or \"not selected\"\n * option. See example below for demonstration.\n *\n * <div class=\"alert alert-info\">\n * In many cases, `ngRepeat` can be used on `<option>` elements instead of {@link ng.directive:ngOptions\n * ngOptions} to achieve a similar result. However, `ngOptions` provides some benefits, such as\n * more flexibility in how the `<select>`'s model is assigned via the `select` **`as`** part of the\n * comprehension expression, and additionally in reducing memory and increasing speed by not creating\n * a new scope for each repeated instance.\n * </div>\n *\n *\n * @param {string} ngModel Assignable angular expression to data-bind to.\n * @param {string=} name Property name of the form under which the control is published.\n * @param {string=} multiple Allows multiple options to be selected. The selected values will be\n *     bound to the model as an array.\n * @param {string=} required Sets `required` validation error key if the value is not entered.\n * @param {string=} ngRequired Adds required attribute and required validation constraint to\n * the element when the ngRequired expression evaluates to true. Use ngRequired instead of required\n * when you want to data-bind to the required attribute.\n * @param {string=} ngChange Angular expression to be executed when selected option(s) changes due to user\n *    interaction with the select element.\n * @param {string=} ngOptions sets the options that the select is populated with and defines what is\n * set on the model on selection. See {@link ngOptions `ngOptions`}.\n *\n * @example\n * ### Simple `select` elements with static options\n *\n * <example name=\"static-select\" module=\"staticSelect\">\n * <file name=\"index.html\">\n * <div ng-controller=\"ExampleController\">\n *   <form name=\"myForm\">\n *     <label for=\"singleSelect\"> Single select: </label><br>\n *     <select name=\"singleSelect\" ng-model=\"data.singleSelect\">\n *       <option value=\"option-1\">Option 1</option>\n *       <option value=\"option-2\">Option 2</option>\n *     </select><br>\n *\n *     <label for=\"singleSelect\"> Single select with \"not selected\" option and dynamic option values: </label><br>\n *     <select name=\"singleSelect\" id=\"singleSelect\" ng-model=\"data.singleSelect\">\n *       <option value=\"\">---Please select---</option> <!-- not selected / blank option -->\n *       <option value=\"{{data.option1}}\">Option 1</option> <!-- interpolation -->\n *       <option value=\"option-2\">Option 2</option>\n *     </select><br>\n *     <button ng-click=\"forceUnknownOption()\">Force unknown option</button><br>\n *     <tt>singleSelect = {{data.singleSelect}}</tt>\n *\n *     <hr>\n *     <label for=\"multipleSelect\"> Multiple select: </label><br>\n *     <select name=\"multipleSelect\" id=\"multipleSelect\" ng-model=\"data.multipleSelect\" multiple>\n *       <option value=\"option-1\">Option 1</option>\n *       <option value=\"option-2\">Option 2</option>\n *       <option value=\"option-3\">Option 3</option>\n *     </select><br>\n *     <tt>multipleSelect = {{data.multipleSelect}}</tt><br/>\n *   </form>\n * </div>\n * </file>\n * <file name=\"app.js\">\n *  angular.module('staticSelect', [])\n *    .controller('ExampleController', ['$scope', function($scope) {\n *      $scope.data = {\n *       singleSelect: null,\n *       multipleSelect: [],\n *       option1: 'option-1',\n *      };\n *\n *      $scope.forceUnknownOption = function() {\n *        $scope.data.singleSelect = 'nonsense';\n *      };\n *   }]);\n * </file>\n *</example>\n *\n * ### Using `ngRepeat` to generate `select` options\n * <example name=\"ngrepeat-select\" module=\"ngrepeatSelect\">\n * <file name=\"index.html\">\n * <div ng-controller=\"ExampleController\">\n *   <form name=\"myForm\">\n *     <label for=\"repeatSelect\"> Repeat select: </label>\n *     <select name=\"repeatSelect\" id=\"repeatSelect\" ng-model=\"data.repeatSelect\">\n *       <option ng-repeat=\"option in data.availableOptions\" value=\"{{option.id}}\">{{option.name}}</option>\n *     </select>\n *   </form>\n *   <hr>\n *   <tt>repeatSelect = {{data.repeatSelect}}</tt><br/>\n * </div>\n * </file>\n * <file name=\"app.js\">\n *  angular.module('ngrepeatSelect', [])\n *    .controller('ExampleController', ['$scope', function($scope) {\n *      $scope.data = {\n *       repeatSelect: null,\n *       availableOptions: [\n *         {id: '1', name: 'Option A'},\n *         {id: '2', name: 'Option B'},\n *         {id: '3', name: 'Option C'}\n *       ],\n *      };\n *   }]);\n * </file>\n *</example>\n *\n *\n * ### Using `select` with `ngOptions` and setting a default value\n * See the {@link ngOptions ngOptions documentation} for more `ngOptions` usage examples.\n *\n * <example name=\"select-with-default-values\" module=\"defaultValueSelect\">\n * <file name=\"index.html\">\n * <div ng-controller=\"ExampleController\">\n *   <form name=\"myForm\">\n *     <label for=\"mySelect\">Make a choice:</label>\n *     <select name=\"mySelect\" id=\"mySelect\"\n *       ng-options=\"option.name for option in data.availableOptions track by option.id\"\n *       ng-model=\"data.selectedOption\"></select>\n *   </form>\n *   <hr>\n *   <tt>option = {{data.selectedOption}}</tt><br/>\n * </div>\n * </file>\n * <file name=\"app.js\">\n *  angular.module('defaultValueSelect', [])\n *    .controller('ExampleController', ['$scope', function($scope) {\n *      $scope.data = {\n *       availableOptions: [\n *         {id: '1', name: 'Option A'},\n *         {id: '2', name: 'Option B'},\n *         {id: '3', name: 'Option C'}\n *       ],\n *       selectedOption: {id: '3', name: 'Option C'} //This sets the default value of the select in the ui\n *       };\n *   }]);\n * </file>\n *</example>\n *\n *\n * ### Binding `select` to a non-string value via `ngModel` parsing / formatting\n *\n * <example name=\"select-with-non-string-options\" module=\"nonStringSelect\">\n *   <file name=\"index.html\">\n *     <select ng-model=\"model.id\" convert-to-number>\n *       <option value=\"0\">Zero</option>\n *       <option value=\"1\">One</option>\n *       <option value=\"2\">Two</option>\n *     </select>\n *     {{ model }}\n *   </file>\n *   <file name=\"app.js\">\n *     angular.module('nonStringSelect', [])\n *       .run(function($rootScope) {\n *         $rootScope.model = { id: 2 };\n *       })\n *       .directive('convertToNumber', function() {\n *         return {\n *           require: 'ngModel',\n *           link: function(scope, element, attrs, ngModel) {\n *             ngModel.$parsers.push(function(val) {\n *               return parseInt(val, 10);\n *             });\n *             ngModel.$formatters.push(function(val) {\n *               return '' + val;\n *             });\n *           }\n *         };\n *       });\n *   </file>\n *   <file name=\"protractor.js\" type=\"protractor\">\n *     it('should initialize to model', function() {\n *       var select = element(by.css('select'));\n *       expect(element(by.model('model.id')).$('option:checked').getText()).toEqual('Two');\n *     });\n *   </file>\n * </example>\n *\n */\nvar selectDirective = function() {\n\n  return {\n    restrict: 'E',\n    require: ['select', '?ngModel'],\n    controller: SelectController,\n    priority: 1,\n    link: {\n      pre: selectPreLink\n    }\n  };\n\n  function selectPreLink(scope, element, attr, ctrls) {\n\n      // if ngModel is not defined, we don't need to do anything\n      var ngModelCtrl = ctrls[1];\n      if (!ngModelCtrl) return;\n\n      var selectCtrl = ctrls[0];\n\n      selectCtrl.ngModelCtrl = ngModelCtrl;\n\n      // We delegate rendering to the `writeValue` method, which can be changed\n      // if the select can have multiple selected values or if the options are being\n      // generated by `ngOptions`\n      ngModelCtrl.$render = function() {\n        selectCtrl.writeValue(ngModelCtrl.$viewValue);\n      };\n\n      // When the selected item(s) changes we delegate getting the value of the select control\n      // to the `readValue` method, which can be changed if the select can have multiple\n      // selected values or if the options are being generated by `ngOptions`\n      element.on('change', function() {\n        scope.$apply(function() {\n          ngModelCtrl.$setViewValue(selectCtrl.readValue());\n        });\n      });\n\n      // If the select allows multiple values then we need to modify how we read and write\n      // values from and to the control; also what it means for the value to be empty and\n      // we have to add an extra watch since ngModel doesn't work well with arrays - it\n      // doesn't trigger rendering if only an item in the array changes.\n      if (attr.multiple) {\n\n        // Read value now needs to check each option to see if it is selected\n        selectCtrl.readValue = function readMultipleValue() {\n          var array = [];\n          forEach(element.find('option'), function(option) {\n            if (option.selected) {\n              array.push(option.value);\n            }\n          });\n          return array;\n        };\n\n        // Write value now needs to set the selected property of each matching option\n        selectCtrl.writeValue = function writeMultipleValue(value) {\n          var items = new HashMap(value);\n          forEach(element.find('option'), function(option) {\n            option.selected = isDefined(items.get(option.value));\n          });\n        };\n\n        // we have to do it on each watch since ngModel watches reference, but\n        // we need to work of an array, so we need to see if anything was inserted/removed\n        var lastView, lastViewRef = NaN;\n        scope.$watch(function selectMultipleWatch() {\n          if (lastViewRef === ngModelCtrl.$viewValue && !equals(lastView, ngModelCtrl.$viewValue)) {\n            lastView = shallowCopy(ngModelCtrl.$viewValue);\n            ngModelCtrl.$render();\n          }\n          lastViewRef = ngModelCtrl.$viewValue;\n        });\n\n        // If we are a multiple select then value is now a collection\n        // so the meaning of $isEmpty changes\n        ngModelCtrl.$isEmpty = function(value) {\n          return !value || value.length === 0;\n        };\n\n      }\n    }\n};\n\n\n// The option directive is purely designed to communicate the existence (or lack of)\n// of dynamically created (and destroyed) option elements to their containing select\n// directive via its controller.\nvar optionDirective = ['$interpolate', function($interpolate) {\n  return {\n    restrict: 'E',\n    priority: 100,\n    compile: function(element, attr) {\n\n      if (isDefined(attr.value)) {\n        // If the value attribute is defined, check if it contains an interpolation\n        var interpolateValueFn = $interpolate(attr.value, true);\n      } else {\n        // If the value attribute is not defined then we fall back to the\n        // text content of the option element, which may be interpolated\n        var interpolateTextFn = $interpolate(element.text(), true);\n        if (!interpolateTextFn) {\n          attr.$set('value', element.text());\n        }\n      }\n\n      return function(scope, element, attr) {\n\n        // This is an optimization over using ^^ since we don't want to have to search\n        // all the way to the root of the DOM for every single option element\n        var selectCtrlName = '$selectController',\n            parent = element.parent(),\n            selectCtrl = parent.data(selectCtrlName) ||\n              parent.parent().data(selectCtrlName); // in case we are in optgroup\n\n        if (selectCtrl) {\n          selectCtrl.registerOption(scope, element, attr, interpolateValueFn, interpolateTextFn);\n        }\n      };\n    }\n  };\n}];\n\nvar styleDirective = valueFn({\n  restrict: 'E',\n  terminal: false\n});\n\nvar requiredDirective = function() {\n  return {\n    restrict: 'A',\n    require: '?ngModel',\n    link: function(scope, elm, attr, ctrl) {\n      if (!ctrl) return;\n      attr.required = true; // force truthy in case we are on non input element\n\n      ctrl.$validators.required = function(modelValue, viewValue) {\n        return !attr.required || !ctrl.$isEmpty(viewValue);\n      };\n\n      attr.$observe('required', function() {\n        ctrl.$validate();\n      });\n    }\n  };\n};\n\n\nvar patternDirective = function() {\n  return {\n    restrict: 'A',\n    require: '?ngModel',\n    link: function(scope, elm, attr, ctrl) {\n      if (!ctrl) return;\n\n      var regexp, patternExp = attr.ngPattern || attr.pattern;\n      attr.$observe('pattern', function(regex) {\n        if (isString(regex) && regex.length > 0) {\n          regex = new RegExp('^' + regex + '$');\n        }\n\n        if (regex && !regex.test) {\n          throw minErr('ngPattern')('noregexp',\n            'Expected {0} to be a RegExp but was {1}. Element: {2}', patternExp,\n            regex, startingTag(elm));\n        }\n\n        regexp = regex || undefined;\n        ctrl.$validate();\n      });\n\n      ctrl.$validators.pattern = function(modelValue, viewValue) {\n        // HTML5 pattern constraint validates the input value, so we validate the viewValue\n        return ctrl.$isEmpty(viewValue) || isUndefined(regexp) || regexp.test(viewValue);\n      };\n    }\n  };\n};\n\n\nvar maxlengthDirective = function() {\n  return {\n    restrict: 'A',\n    require: '?ngModel',\n    link: function(scope, elm, attr, ctrl) {\n      if (!ctrl) return;\n\n      var maxlength = -1;\n      attr.$observe('maxlength', function(value) {\n        var intVal = toInt(value);\n        maxlength = isNaN(intVal) ? -1 : intVal;\n        ctrl.$validate();\n      });\n      ctrl.$validators.maxlength = function(modelValue, viewValue) {\n        return (maxlength < 0) || ctrl.$isEmpty(viewValue) || (viewValue.length <= maxlength);\n      };\n    }\n  };\n};\n\nvar minlengthDirective = function() {\n  return {\n    restrict: 'A',\n    require: '?ngModel',\n    link: function(scope, elm, attr, ctrl) {\n      if (!ctrl) return;\n\n      var minlength = 0;\n      attr.$observe('minlength', function(value) {\n        minlength = toInt(value) || 0;\n        ctrl.$validate();\n      });\n      ctrl.$validators.minlength = function(modelValue, viewValue) {\n        return ctrl.$isEmpty(viewValue) || viewValue.length >= minlength;\n      };\n    }\n  };\n};\n\nif (window.angular.bootstrap) {\n  //AngularJS is already loaded, so we can return here...\n  console.log('WARNING: Tried to load angular more than once.');\n  return;\n}\n\n//try to bind to jquery now so that one can write jqLite(document).ready()\n//but we will rebind on bootstrap again.\nbindJQuery();\n\npublishExternalAPI(angular);\n\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"MMMM d, y\",\n    \"medium\": \"MMM d, y h:mm:ss a\",\n    \"mediumDate\": \"MMM d, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"M/d/yy h:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-us\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n\n  jqLite(document).ready(function() {\n    angularInit(document, bootstrap);\n  });\n\n})(window, document);\n\n!window.angular.$$csp().noInlineStyle && window.angular.element(document.head).prepend('<style type=\"text/css\">@charset \"UTF-8\";[ng\\\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}</style>');"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/errors.json",
    "content": "{\"id\":\"ng\",\"generated\":\"Fri Nov 20 2015 00:03:11 GMT-0800 (PST)\",\"errors\":{\"ng\":{\"areq\":\"Argument '{0}' is {1}\",\"cpta\":\"Can't copy! TypedArray destination cannot be mutated.\",\"test\":\"no injector found for element argument to getTestability\",\"cpws\":\"Can't copy! Making copies of Window or Scope instances is not supported.\",\"btstrpd\":\"App Already Bootstrapped with this Element '{0}'\",\"cpi\":\"Can't copy! Source and destination are identical.\",\"badname\":\"hasOwnProperty is not a valid {0} name\"},\"$http\":{\"legacy\":\"The method `{0}` on the promise returned from `$http` has been disabled.\",\"badreq\":\"Http request configuration must be an object.  Received: {0}\"},\"ngRepeat\":{\"badident\":\"alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.\",\"iexp\":\"Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.\",\"dupes\":\"Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}\",\"iidexp\":\"'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.\"},\"$sce\":{\"imatcher\":\"Matchers may only be \\\"self\\\", string patterns or RegExp objects\",\"icontext\":\"Attempted to trust a value in invalid context. Context: {0}; Value: {1}\",\"iwcard\":\"Illegal sequence *** in string matcher.  String: {0}\",\"insecurl\":\"Blocked loading resource from url not allowed by $sceDelegate policy.  URL: {0}\",\"iequirks\":\"Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode.  You can fix this by adding the text <!doctype html> to the top of your HTML document.  See http://docs.angularjs.org/api/ng.$sce for more information.\",\"unsafe\":\"Attempting to use an unsafe value in a safe context.\",\"itype\":\"Attempted to trust a non-string value in a content requiring a string: Context: {0}\"},\"ngPattern\":{\"noregexp\":\"Expected {0} to be a RegExp but was {1}. Element: {2}\"},\"$controller\":{\"ctrlfmt\":\"Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.\",\"noscp\":\"Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.\"},\"$parse\":{\"isecfn\":\"Referencing Function in Angular expressions is disallowed! Expression: {0}\",\"isecobj\":\"Referencing Object in Angular expressions is disallowed! Expression: {0}\",\"lval\":\"Trying to assing a value to a non l-value\",\"isecwindow\":\"Referencing the Window in Angular expressions is disallowed! Expression: {0}\",\"ueoe\":\"Unexpected end of expression: {0}\",\"isecdom\":\"Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}\",\"lexerr\":\"Lexer Error: {0} at column{1} in expression [{2}].\",\"esc\":\"IMPOSSIBLE\",\"iseccst\":\"Cannot convert object to primitive value! Expression: {0}\",\"isecff\":\"Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}\",\"syntax\":\"Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].\",\"isecaf\":\"Assigning to a constructor is disallowed! Expression: {0}\",\"isecfld\":\"Attempting to access a disallowed field in Angular expressions! Expression: {0}\"},\"jqLite\":{\"offargs\":\"jqLite#off() does not support the `selector` argument\",\"onargs\":\"jqLite#on() does not support the `selector` or `eventData` parameters\",\"nosel\":\"Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element\"},\"$animate\":{\"notcsel\":\"Expecting class selector starting with '.' got '{0}'.\",\"nongcls\":\"$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the \\\"{0}\\\" CSS class.\"},\"$q\":{\"norslvr\":\"Expected resolverFn, got '{0}'\",\"qcycle\":\"Expected promise to be resolved with value other than itself '{0}'\"},\"$injector\":{\"pget\":\"Provider '{0}' must define $get factory method.\",\"cdep\":\"Circular dependency found: {0}\",\"nomod\":\"Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.\",\"strictdi\":\"{0} is not using explicit annotation and cannot be invoked in strict mode\",\"modulerr\":\"Failed to instantiate module {0} due to:\\n{1}\",\"undef\":\"Provider '{0}' must return a value from $get factory method.\",\"unpr\":\"Unknown provider: {0}\",\"itkn\":\"Incorrect injection token! Expected service name as string, got {0}\"},\"filter\":{\"notarray\":\"Expected array but received: {0}\"},\"ngTransclude\":{\"orphan\":\"Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}\"},\"ngModel\":{\"nonassign\":\"Expression '{0}' is non-assignable. Element: {1}\",\"datefmt\":\"Expected `{0}` to be a date\",\"$asyncValidators\":\"Expected asynchronous validator to return a promise but got '{0}' instead.\",\"constexpr\":\"Expected constant expression for `{0}`, but saw `{1}`.\",\"numfmt\":\"Expected `{0}` to be a number\"},\"$location\":{\"nostate\":\"History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API\",\"ipthprfx\":\"Invalid url \\\"{0}\\\", missing path prefix \\\"{1}\\\".\",\"isrcharg\":\"The first argument of the `$location#search()` call must be a string or an object.\",\"nobase\":\"$location in HTML5 mode requires a <base> tag to be present!\"},\"$cacheFactory\":{\"iid\":\"CacheId '{0}' is already taken!\"},\"$interpolate\":{\"noconcat\":\"Error while interpolating: {0}\\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required.  See http://docs.angularjs.org/api/ng.$sce\",\"interr\":\"Can't interpolate: {0}\\n{1}\",\"nochgmustache\":\"angular-message-format.js currently does not allow you to use custom start and end symbols for interpolation.\",\"reqcomma\":\"Expected a comma after the keyword “{0}” at line {1}, column {2} of text “{3}”\",\"untermstr\":\"The string beginning at line {0}, column {1} is unterminated in text “{2}”\",\"badexpr\":\"Unexpected operator “{0}” at line {1}, column {2} in text. Was expecting “{3}”. Text: “{4}”\",\"dupvalue\":\"The choice “{0}” is specified more than once. Duplicate key is at line {1}, column {2} in text “{3}”\",\"unsafe\":\"Use of select/plural MessageFormat syntax is currently disallowed in a secure context ({0}).  At line {1}, column {2} of text “{3}”\",\"reqother\":\"“other” is a required option.\",\"reqendinterp\":\"Expecting end of interpolation symbol, “{0}”, at line {1}, column {2} in text “{3}”\",\"reqarg\":\"Expected one of “plural” or “select” at line {0}, column {1} of text “{2}”\",\"wantstring\":\"Expected the beginning of a string at line {0}, column {1} in text “{2}”\",\"logicbug\":\"The messageformat parser has encountered an internal error.  Please file a github issue against the AngularJS project and provide this message text that triggers the bug.  Text: “{0}”\",\"reqopenbrace\":\"The plural choice “{0}” must be followed by a message in braces at line {1}, column {2} in text “{3}”\",\"unknarg\":\"Unsupported keyword “{0}” at line {0}, column {1}. Only “plural” and “select” are currently supported.  Text: “{3}”\",\"reqendbrace\":\"The plural/select choice “{0}” message starting at line {1}, column {2} does not have an ending closing brace. Text “{3}”\"},\"ngOptions\":{\"iexp\":\"Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}\"},\"$rootScope\":{\"inprog\":\"{0} already in progress\",\"infdig\":\"{0} $digest() iterations reached. Aborting!\\nWatchers fired in the last 5 iterations: {1}\"},\"$compile\":{\"noident\":\"Cannot bind to controller without identifier for directive '{0}'.\",\"selmulti\":\"Binding to the 'multiple' attribute is not supported. Element: {0}\",\"nodomevents\":\"Interpolations for HTML DOM event attributes are disallowed.  Please use the ng- versions (such as ng-click instead of onclick) instead.\",\"ctreq\":\"Controller '{0}', required by directive '{1}', can't be found!\",\"nonassign\":\"Expression '{0}' used with directive '{1}' is non-assignable!\",\"tplrt\":\"Template for directive '{0}' must have exactly one root element. {1}\",\"iscp\":\"Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}\",\"baddir\":\"Directive name '{0}' is invalid. The name should not contain leading or trailing whitespaces\",\"noctrl\":\"Cannot bind to controller without directive '{0}'s controller.\",\"multidir\":\"Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}\",\"tpload\":\"Failed to load template: {0} (HTTP status: {1} {2})\",\"uterdir\":\"Unterminated attribute, found '{0}' but no matching '{1}' found.\"},\"$resource\":{\"badargs\":\"Expected up to 4 arguments [params, data, success, error], got {0} arguments\",\"badmember\":\"Dotted member path \\\"@{0}\\\" is invalid.\",\"badname\":\"hasOwnProperty is not a valid parameter name.\",\"badcfg\":\"Error in resource configuration for action `{0}`. Expected response to contain an {1} but got an {2} (Request: {3} {4})\"},\"$route\":{\"norout\":\"Tried updating route when with no current route\"},\"$sanitize\":{\"badparse\":\"The sanitizer was unable to parse the following block of html: {0}\"}}}"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_aa-dj.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"saaku\",\n      \"carra\"\n    ],\n    \"DAY\": [\n      \"Acaada\",\n      \"Etleeni\",\n      \"Talaata\",\n      \"Arbaqa\",\n      \"Kamiisi\",\n      \"Gumqata\",\n      \"Sabti\"\n    ],\n    \"ERANAMES\": [\n      \"Yaasuusuk Duma\",\n      \"Yaasuusuk Wadir\"\n    ],\n    \"ERAS\": [\n      \"Yaasuusuk Duma\",\n      \"Yaasuusuk Wadir\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"Qunxa Garablu\",\n      \"Kudo\",\n      \"Ciggilta Kudo\",\n      \"Agda Baxis\",\n      \"Caxah Alsa\",\n      \"Qasa Dirri\",\n      \"Qado Dirri\",\n      \"Leqeeni\",\n      \"Waysu\",\n      \"Diteli\",\n      \"Ximoli\",\n      \"Kaxxa Garablu\"\n    ],\n    \"SHORTDAY\": [\n      \"Aca\",\n      \"Etl\",\n      \"Tal\",\n      \"Arb\",\n      \"Kam\",\n      \"Gum\",\n      \"Sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Qun\",\n      \"Nah\",\n      \"Cig\",\n      \"Agd\",\n      \"Cax\",\n      \"Qas\",\n      \"Qad\",\n      \"Leq\",\n      \"Way\",\n      \"Dit\",\n      \"Xim\",\n      \"Kax\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM dd, y\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd-MMM-y h:mm:ss a\",\n    \"mediumDate\": \"dd-MMM-y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Fdj\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"aa-dj\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_aa-er.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"saaku\",\n      \"carra\"\n    ],\n    \"DAY\": [\n      \"Acaada\",\n      \"Etleeni\",\n      \"Talaata\",\n      \"Arbaqa\",\n      \"Kamiisi\",\n      \"Gumqata\",\n      \"Sabti\"\n    ],\n    \"ERANAMES\": [\n      \"Yaasuusuk Duma\",\n      \"Yaasuusuk Wadir\"\n    ],\n    \"ERAS\": [\n      \"Yaasuusuk Duma\",\n      \"Yaasuusuk Wadir\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Qunxa Garablu\",\n      \"Kudo\",\n      \"Ciggilta Kudo\",\n      \"Agda Baxis\",\n      \"Caxah Alsa\",\n      \"Qasa Dirri\",\n      \"Qado Dirri\",\n      \"Liiqen\",\n      \"Waysu\",\n      \"Diteli\",\n      \"Ximoli\",\n      \"Kaxxa Garablu\"\n    ],\n    \"SHORTDAY\": [\n      \"Aca\",\n      \"Etl\",\n      \"Tal\",\n      \"Arb\",\n      \"Kam\",\n      \"Gum\",\n      \"Sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Qun\",\n      \"Nah\",\n      \"Cig\",\n      \"Agd\",\n      \"Cax\",\n      \"Qas\",\n      \"Qad\",\n      \"Leq\",\n      \"Way\",\n      \"Dit\",\n      \"Xim\",\n      \"Kax\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM dd, y\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd-MMM-y h:mm:ss a\",\n    \"mediumDate\": \"dd-MMM-y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Nfk\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"aa-er\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_aa-et.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"saaku\",\n      \"carra\"\n    ],\n    \"DAY\": [\n      \"Acaada\",\n      \"Etleeni\",\n      \"Talaata\",\n      \"Arbaqa\",\n      \"Kamiisi\",\n      \"Gumqata\",\n      \"Sabti\"\n    ],\n    \"ERANAMES\": [\n      \"Yaasuusuk Duma\",\n      \"Yaasuusuk Wadir\"\n    ],\n    \"ERAS\": [\n      \"Yaasuusuk Duma\",\n      \"Yaasuusuk Wadir\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Qunxa Garablu\",\n      \"Kudo\",\n      \"Ciggilta Kudo\",\n      \"Agda Baxis\",\n      \"Caxah Alsa\",\n      \"Qasa Dirri\",\n      \"Qado Dirri\",\n      \"Liiqen\",\n      \"Waysu\",\n      \"Diteli\",\n      \"Ximoli\",\n      \"Kaxxa Garablu\"\n    ],\n    \"SHORTDAY\": [\n      \"Aca\",\n      \"Etl\",\n      \"Tal\",\n      \"Arb\",\n      \"Kam\",\n      \"Gum\",\n      \"Sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Qun\",\n      \"Nah\",\n      \"Cig\",\n      \"Agd\",\n      \"Cax\",\n      \"Qas\",\n      \"Qad\",\n      \"Leq\",\n      \"Way\",\n      \"Dit\",\n      \"Xim\",\n      \"Kax\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM dd, y\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd-MMM-y h:mm:ss a\",\n    \"mediumDate\": \"dd-MMM-y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Birr\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"aa-et\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_aa.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"saaku\",\n      \"carra\"\n    ],\n    \"DAY\": [\n      \"Acaada\",\n      \"Etleeni\",\n      \"Talaata\",\n      \"Arbaqa\",\n      \"Kamiisi\",\n      \"Gumqata\",\n      \"Sabti\"\n    ],\n    \"ERANAMES\": [\n      \"Yaasuusuk Duma\",\n      \"Yaasuusuk Wadir\"\n    ],\n    \"ERAS\": [\n      \"Yaasuusuk Duma\",\n      \"Yaasuusuk Wadir\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Qunxa Garablu\",\n      \"Kudo\",\n      \"Ciggilta Kudo\",\n      \"Agda Baxis\",\n      \"Caxah Alsa\",\n      \"Qasa Dirri\",\n      \"Qado Dirri\",\n      \"Liiqen\",\n      \"Waysu\",\n      \"Diteli\",\n      \"Ximoli\",\n      \"Kaxxa Garablu\"\n    ],\n    \"SHORTDAY\": [\n      \"Aca\",\n      \"Etl\",\n      \"Tal\",\n      \"Arb\",\n      \"Kam\",\n      \"Gum\",\n      \"Sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Qun\",\n      \"Nah\",\n      \"Cig\",\n      \"Agd\",\n      \"Cax\",\n      \"Qas\",\n      \"Qad\",\n      \"Leq\",\n      \"Way\",\n      \"Dit\",\n      \"Xim\",\n      \"Kax\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM dd, y\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd-MMM-y h:mm:ss a\",\n    \"mediumDate\": \"dd-MMM-y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Birr\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"aa\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_af-na.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"vm.\",\n      \"nm.\"\n    ],\n    \"DAY\": [\n      \"Sondag\",\n      \"Maandag\",\n      \"Dinsdag\",\n      \"Woensdag\",\n      \"Donderdag\",\n      \"Vrydag\",\n      \"Saterdag\"\n    ],\n    \"ERANAMES\": [\n      \"voor Christus\",\n      \"na Christus\"\n    ],\n    \"ERAS\": [\n      \"v.C.\",\n      \"n.C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januarie\",\n      \"Februarie\",\n      \"Maart\",\n      \"April\",\n      \"Mei\",\n      \"Junie\",\n      \"Julie\",\n      \"Augustus\",\n      \"September\",\n      \"Oktober\",\n      \"November\",\n      \"Desember\"\n    ],\n    \"SHORTDAY\": [\n      \"So\",\n      \"Ma\",\n      \"Di\",\n      \"Wo\",\n      \"Do\",\n      \"Vr\",\n      \"Sa\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan.\",\n      \"Feb.\",\n      \"Mrt.\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"af-na\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_af-za.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"vm.\",\n      \"nm.\"\n    ],\n    \"DAY\": [\n      \"Sondag\",\n      \"Maandag\",\n      \"Dinsdag\",\n      \"Woensdag\",\n      \"Donderdag\",\n      \"Vrydag\",\n      \"Saterdag\"\n    ],\n    \"ERANAMES\": [\n      \"voor Christus\",\n      \"na Christus\"\n    ],\n    \"ERAS\": [\n      \"v.C.\",\n      \"n.C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Januarie\",\n      \"Februarie\",\n      \"Maart\",\n      \"April\",\n      \"Mei\",\n      \"Junie\",\n      \"Julie\",\n      \"Augustus\",\n      \"September\",\n      \"Oktober\",\n      \"November\",\n      \"Desember\"\n    ],\n    \"SHORTDAY\": [\n      \"So\",\n      \"Ma\",\n      \"Di\",\n      \"Wo\",\n      \"Do\",\n      \"Vr\",\n      \"Sa\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan.\",\n      \"Feb.\",\n      \"Mrt.\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd MMMM y\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd MMM y h:mm:ss a\",\n    \"mediumDate\": \"dd MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"y-MM-dd h:mm a\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"R\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"af-za\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_af.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"vm.\",\n      \"nm.\"\n    ],\n    \"DAY\": [\n      \"Sondag\",\n      \"Maandag\",\n      \"Dinsdag\",\n      \"Woensdag\",\n      \"Donderdag\",\n      \"Vrydag\",\n      \"Saterdag\"\n    ],\n    \"ERANAMES\": [\n      \"voor Christus\",\n      \"na Christus\"\n    ],\n    \"ERAS\": [\n      \"v.C.\",\n      \"n.C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Januarie\",\n      \"Februarie\",\n      \"Maart\",\n      \"April\",\n      \"Mei\",\n      \"Junie\",\n      \"Julie\",\n      \"Augustus\",\n      \"September\",\n      \"Oktober\",\n      \"November\",\n      \"Desember\"\n    ],\n    \"SHORTDAY\": [\n      \"So\",\n      \"Ma\",\n      \"Di\",\n      \"Wo\",\n      \"Do\",\n      \"Vr\",\n      \"Sa\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan.\",\n      \"Feb.\",\n      \"Mrt.\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd MMMM y\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd MMM y h:mm:ss a\",\n    \"mediumDate\": \"dd MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"y-MM-dd h:mm a\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"R\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"af\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_agq-cm.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.g\",\n      \"a.k\"\n    ],\n    \"DAY\": [\n      \"tsu\\u0294nts\\u0268\",\n      \"tsu\\u0294ukp\\u00e0\",\n      \"tsu\\u0294ugh\\u0254e\",\n      \"tsu\\u0294ut\\u0254\\u0300ml\\u00f2\",\n      \"tsu\\u0294um\\u00e8\",\n      \"tsu\\u0294ugh\\u0268\\u0302m\",\n      \"tsu\\u0294ndz\\u0268k\\u0254\\u0294\\u0254\"\n    ],\n    \"ERANAMES\": [\n      \"S\\u011be K\\u0268\\u0300lesto\",\n      \"B\\u01cea K\\u0268\\u0300lesto\"\n    ],\n    \"ERAS\": [\n      \"SK\",\n      \"BK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"ndz\\u0254\\u0300\\u014b\\u0254\\u0300n\\u00f9m\",\n      \"ndz\\u0254\\u0300\\u014b\\u0254\\u0300k\\u0197\\u0300z\\u00f9\\u0294\",\n      \"ndz\\u0254\\u0300\\u014b\\u0254\\u0300t\\u0197\\u0300d\\u0289\\u0300gh\\u00e0\",\n      \"ndz\\u0254\\u0300\\u014b\\u0254\\u0300t\\u01ceaf\\u0289\\u0304gh\\u0101\",\n      \"ndz\\u0254\\u0300\\u014b\\u00e8s\\u00e8e\",\n      \"ndz\\u0254\\u0300\\u014b\\u0254\\u0300nz\\u00f9gh\\u00f2\",\n      \"ndz\\u0254\\u0300\\u014b\\u0254\\u0300d\\u00f9mlo\",\n      \"ndz\\u0254\\u0300\\u014b\\u0254\\u0300kw\\u00eef\\u0254\\u0300e\",\n      \"ndz\\u0254\\u0300\\u014b\\u0254\\u0300t\\u0197\\u0300f\\u0289\\u0300gh\\u00e0dzugh\\u00f9\",\n      \"ndz\\u0254\\u0300\\u014b\\u0254\\u0300gh\\u01d4uwel\\u0254\\u0300m\",\n      \"ndz\\u0254\\u0300\\u014b\\u0254\\u0300chwa\\u0294\\u00e0kaa wo\",\n      \"ndz\\u0254\\u0300\\u014b\\u00e8fw\\u00f2o\"\n    ],\n    \"SHORTDAY\": [\n      \"nts\",\n      \"kpa\",\n      \"gh\\u0254\",\n      \"t\\u0254m\",\n      \"ume\",\n      \"gh\\u0268\",\n      \"dzk\"\n    ],\n    \"SHORTMONTH\": [\n      \"n\\u00f9m\",\n      \"k\\u0268z\",\n      \"t\\u0268d\",\n      \"taa\",\n      \"see\",\n      \"nzu\",\n      \"dum\",\n      \"f\\u0254e\",\n      \"dzu\",\n      \"l\\u0254m\",\n      \"kaa\",\n      \"fwo\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"agq-cm\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_agq.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.g\",\n      \"a.k\"\n    ],\n    \"DAY\": [\n      \"tsu\\u0294nts\\u0268\",\n      \"tsu\\u0294ukp\\u00e0\",\n      \"tsu\\u0294ugh\\u0254e\",\n      \"tsu\\u0294ut\\u0254\\u0300ml\\u00f2\",\n      \"tsu\\u0294um\\u00e8\",\n      \"tsu\\u0294ugh\\u0268\\u0302m\",\n      \"tsu\\u0294ndz\\u0268k\\u0254\\u0294\\u0254\"\n    ],\n    \"ERANAMES\": [\n      \"S\\u011be K\\u0268\\u0300lesto\",\n      \"B\\u01cea K\\u0268\\u0300lesto\"\n    ],\n    \"ERAS\": [\n      \"SK\",\n      \"BK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"ndz\\u0254\\u0300\\u014b\\u0254\\u0300n\\u00f9m\",\n      \"ndz\\u0254\\u0300\\u014b\\u0254\\u0300k\\u0197\\u0300z\\u00f9\\u0294\",\n      \"ndz\\u0254\\u0300\\u014b\\u0254\\u0300t\\u0197\\u0300d\\u0289\\u0300gh\\u00e0\",\n      \"ndz\\u0254\\u0300\\u014b\\u0254\\u0300t\\u01ceaf\\u0289\\u0304gh\\u0101\",\n      \"ndz\\u0254\\u0300\\u014b\\u00e8s\\u00e8e\",\n      \"ndz\\u0254\\u0300\\u014b\\u0254\\u0300nz\\u00f9gh\\u00f2\",\n      \"ndz\\u0254\\u0300\\u014b\\u0254\\u0300d\\u00f9mlo\",\n      \"ndz\\u0254\\u0300\\u014b\\u0254\\u0300kw\\u00eef\\u0254\\u0300e\",\n      \"ndz\\u0254\\u0300\\u014b\\u0254\\u0300t\\u0197\\u0300f\\u0289\\u0300gh\\u00e0dzugh\\u00f9\",\n      \"ndz\\u0254\\u0300\\u014b\\u0254\\u0300gh\\u01d4uwel\\u0254\\u0300m\",\n      \"ndz\\u0254\\u0300\\u014b\\u0254\\u0300chwa\\u0294\\u00e0kaa wo\",\n      \"ndz\\u0254\\u0300\\u014b\\u00e8fw\\u00f2o\"\n    ],\n    \"SHORTDAY\": [\n      \"nts\",\n      \"kpa\",\n      \"gh\\u0254\",\n      \"t\\u0254m\",\n      \"ume\",\n      \"gh\\u0268\",\n      \"dzk\"\n    ],\n    \"SHORTMONTH\": [\n      \"n\\u00f9m\",\n      \"k\\u0268z\",\n      \"t\\u0268d\",\n      \"taa\",\n      \"see\",\n      \"nzu\",\n      \"dum\",\n      \"f\\u0254e\",\n      \"dzu\",\n      \"l\\u0254m\",\n      \"kaa\",\n      \"fwo\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"agq\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ak-gh.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AN\",\n      \"EW\"\n    ],\n    \"DAY\": [\n      \"Kwesida\",\n      \"Dwowda\",\n      \"Benada\",\n      \"Wukuda\",\n      \"Yawda\",\n      \"Fida\",\n      \"Memeneda\"\n    ],\n    \"ERANAMES\": [\n      \"Ansa Kristo\",\n      \"Kristo Ekyiri\"\n    ],\n    \"ERAS\": [\n      \"AK\",\n      \"KE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Sanda-\\u0186p\\u025bp\\u0254n\",\n      \"Kwakwar-\\u0186gyefuo\",\n      \"Eb\\u0254w-\\u0186benem\",\n      \"Eb\\u0254bira-Oforisuo\",\n      \"Esusow Aketseaba-K\\u0254t\\u0254nimba\",\n      \"Obirade-Ay\\u025bwohomumu\",\n      \"Ay\\u025bwoho-Kitawonsa\",\n      \"Difuu-\\u0186sandaa\",\n      \"Fankwa-\\u0190b\\u0254\",\n      \"\\u0186b\\u025bs\\u025b-Ahinime\",\n      \"\\u0186ber\\u025bf\\u025bw-Obubuo\",\n      \"Mumu-\\u0186p\\u025bnimba\"\n    ],\n    \"SHORTDAY\": [\n      \"Kwe\",\n      \"Dwo\",\n      \"Ben\",\n      \"Wuk\",\n      \"Yaw\",\n      \"Fia\",\n      \"Mem\"\n    ],\n    \"SHORTMONTH\": [\n      \"S-\\u0186\",\n      \"K-\\u0186\",\n      \"E-\\u0186\",\n      \"E-O\",\n      \"E-K\",\n      \"O-A\",\n      \"A-K\",\n      \"D-\\u0186\",\n      \"F-\\u0190\",\n      \"\\u0186-A\",\n      \"\\u0186-O\",\n      \"M-\\u0186\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, y MMMM dd\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"yy/MM/dd HH:mm\",\n    \"shortDate\": \"yy/MM/dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"GHS\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ak-gh\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ak.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AN\",\n      \"EW\"\n    ],\n    \"DAY\": [\n      \"Kwesida\",\n      \"Dwowda\",\n      \"Benada\",\n      \"Wukuda\",\n      \"Yawda\",\n      \"Fida\",\n      \"Memeneda\"\n    ],\n    \"ERANAMES\": [\n      \"Ansa Kristo\",\n      \"Kristo Ekyiri\"\n    ],\n    \"ERAS\": [\n      \"AK\",\n      \"KE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Sanda-\\u0186p\\u025bp\\u0254n\",\n      \"Kwakwar-\\u0186gyefuo\",\n      \"Eb\\u0254w-\\u0186benem\",\n      \"Eb\\u0254bira-Oforisuo\",\n      \"Esusow Aketseaba-K\\u0254t\\u0254nimba\",\n      \"Obirade-Ay\\u025bwohomumu\",\n      \"Ay\\u025bwoho-Kitawonsa\",\n      \"Difuu-\\u0186sandaa\",\n      \"Fankwa-\\u0190b\\u0254\",\n      \"\\u0186b\\u025bs\\u025b-Ahinime\",\n      \"\\u0186ber\\u025bf\\u025bw-Obubuo\",\n      \"Mumu-\\u0186p\\u025bnimba\"\n    ],\n    \"SHORTDAY\": [\n      \"Kwe\",\n      \"Dwo\",\n      \"Ben\",\n      \"Wuk\",\n      \"Yaw\",\n      \"Fia\",\n      \"Mem\"\n    ],\n    \"SHORTMONTH\": [\n      \"S-\\u0186\",\n      \"K-\\u0186\",\n      \"E-\\u0186\",\n      \"E-O\",\n      \"E-K\",\n      \"O-A\",\n      \"A-K\",\n      \"D-\\u0186\",\n      \"F-\\u0190\",\n      \"\\u0186-A\",\n      \"\\u0186-O\",\n      \"M-\\u0186\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, y MMMM dd\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"yy/MM/dd HH:mm\",\n    \"shortDate\": \"yy/MM/dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"GHS\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ak\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_am-et.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u1325\\u12cb\\u1275\",\n      \"\\u12a8\\u1230\\u12d3\\u1275\"\n    ],\n    \"DAY\": [\n      \"\\u12a5\\u1211\\u12f5\",\n      \"\\u1230\\u129e\",\n      \"\\u121b\\u12ad\\u1230\\u129e\",\n      \"\\u1228\\u1261\\u12d5\",\n      \"\\u1210\\u1219\\u1235\",\n      \"\\u12d3\\u122d\\u1265\",\n      \"\\u1245\\u12f3\\u121c\"\n    ],\n    \"ERANAMES\": [\n      \"\\u12d3\\u1218\\u1270 \\u12d3\\u1208\\u121d\",\n      \"\\u12d3\\u1218\\u1270 \\u121d\\u1215\\u1228\\u1275\"\n    ],\n    \"ERAS\": [\n      \"\\u12d3/\\u12d3\",\n      \"\\u12d3/\\u121d\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u1303\\u1295\\u12e9\\u12c8\\u122a\",\n      \"\\u134c\\u1265\\u1229\\u12c8\\u122a\",\n      \"\\u121b\\u122d\\u127d\",\n      \"\\u12a4\\u1355\\u122a\\u120d\",\n      \"\\u121c\\u12ed\",\n      \"\\u1301\\u1295\",\n      \"\\u1301\\u120b\\u12ed\",\n      \"\\u12a6\\u1308\\u1235\\u1275\",\n      \"\\u1234\\u1355\\u1274\\u121d\\u1260\\u122d\",\n      \"\\u12a6\\u12ad\\u1276\\u1260\\u122d\",\n      \"\\u1296\\u126c\\u121d\\u1260\\u122d\",\n      \"\\u12f2\\u1234\\u121d\\u1260\\u122d\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u12a5\\u1211\\u12f5\",\n      \"\\u1230\\u129e\",\n      \"\\u121b\\u12ad\\u1230\",\n      \"\\u1228\\u1261\\u12d5\",\n      \"\\u1210\\u1219\\u1235\",\n      \"\\u12d3\\u122d\\u1265\",\n      \"\\u1245\\u12f3\\u121c\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u1303\\u1295\\u12e9\",\n      \"\\u134c\\u1265\\u1229\",\n      \"\\u121b\\u122d\\u127d\",\n      \"\\u12a4\\u1355\\u122a\",\n      \"\\u121c\\u12ed\",\n      \"\\u1301\\u1295\",\n      \"\\u1301\\u120b\\u12ed\",\n      \"\\u12a6\\u1308\\u1235\",\n      \"\\u1234\\u1355\\u1274\",\n      \"\\u12a6\\u12ad\\u1276\",\n      \"\\u1296\\u126c\\u121d\",\n      \"\\u12f2\\u1234\\u121d\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Birr\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"am-et\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_am.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u1325\\u12cb\\u1275\",\n      \"\\u12a8\\u1230\\u12d3\\u1275\"\n    ],\n    \"DAY\": [\n      \"\\u12a5\\u1211\\u12f5\",\n      \"\\u1230\\u129e\",\n      \"\\u121b\\u12ad\\u1230\\u129e\",\n      \"\\u1228\\u1261\\u12d5\",\n      \"\\u1210\\u1219\\u1235\",\n      \"\\u12d3\\u122d\\u1265\",\n      \"\\u1245\\u12f3\\u121c\"\n    ],\n    \"ERANAMES\": [\n      \"\\u12d3\\u1218\\u1270 \\u12d3\\u1208\\u121d\",\n      \"\\u12d3\\u1218\\u1270 \\u121d\\u1215\\u1228\\u1275\"\n    ],\n    \"ERAS\": [\n      \"\\u12d3/\\u12d3\",\n      \"\\u12d3/\\u121d\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u1303\\u1295\\u12e9\\u12c8\\u122a\",\n      \"\\u134c\\u1265\\u1229\\u12c8\\u122a\",\n      \"\\u121b\\u122d\\u127d\",\n      \"\\u12a4\\u1355\\u122a\\u120d\",\n      \"\\u121c\\u12ed\",\n      \"\\u1301\\u1295\",\n      \"\\u1301\\u120b\\u12ed\",\n      \"\\u12a6\\u1308\\u1235\\u1275\",\n      \"\\u1234\\u1355\\u1274\\u121d\\u1260\\u122d\",\n      \"\\u12a6\\u12ad\\u1276\\u1260\\u122d\",\n      \"\\u1296\\u126c\\u121d\\u1260\\u122d\",\n      \"\\u12f2\\u1234\\u121d\\u1260\\u122d\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u12a5\\u1211\\u12f5\",\n      \"\\u1230\\u129e\",\n      \"\\u121b\\u12ad\\u1230\",\n      \"\\u1228\\u1261\\u12d5\",\n      \"\\u1210\\u1219\\u1235\",\n      \"\\u12d3\\u122d\\u1265\",\n      \"\\u1245\\u12f3\\u121c\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u1303\\u1295\\u12e9\",\n      \"\\u134c\\u1265\\u1229\",\n      \"\\u121b\\u122d\\u127d\",\n      \"\\u12a4\\u1355\\u122a\",\n      \"\\u121c\\u12ed\",\n      \"\\u1301\\u1295\",\n      \"\\u1301\\u120b\\u12ed\",\n      \"\\u12a6\\u1308\\u1235\",\n      \"\\u1234\\u1355\\u1274\",\n      \"\\u12a6\\u12ad\\u1276\",\n      \"\\u1296\\u126c\\u121d\",\n      \"\\u12f2\\u1234\\u121d\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Birr\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"am\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ar-001.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0635\",\n      \"\\u0645\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u064a\\u0644\\u0627\\u062f\\u064a\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645\",\n      \"\\u0645\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"dd\\u200f/MM\\u200f/y h:mm:ss a\",\n    \"mediumDate\": \"dd\\u200f/MM\\u200f/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d\\u200f/M\\u200f/y h:mm a\",\n    \"shortDate\": \"d\\u200f/M\\u200f/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a3\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ar-001\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ar-ae.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0635\",\n      \"\\u0645\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u064a\\u0644\\u0627\\u062f\\u064a\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645\",\n      \"\\u0645\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"dd\\u200f/MM\\u200f/y h:mm:ss a\",\n    \"mediumDate\": \"dd\\u200f/MM\\u200f/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d\\u200f/M\\u200f/y h:mm a\",\n    \"shortDate\": \"d\\u200f/M\\u200f/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"dh\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ar-ae\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ar-bh.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0635\",\n      \"\\u0645\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u064a\\u0644\\u0627\\u062f\\u064a\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645\",\n      \"\\u0645\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"dd\\u200f/MM\\u200f/y h:mm:ss a\",\n    \"mediumDate\": \"dd\\u200f/MM\\u200f/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d\\u200f/M\\u200f/y h:mm a\",\n    \"shortDate\": \"d\\u200f/M\\u200f/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"din\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ar-bh\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ar-dj.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0635\",\n      \"\\u0645\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u064a\\u0644\\u0627\\u062f\\u064a\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645\",\n      \"\\u0645\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"dd\\u200f/MM\\u200f/y h:mm:ss a\",\n    \"mediumDate\": \"dd\\u200f/MM\\u200f/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d\\u200f/M\\u200f/y h:mm a\",\n    \"shortDate\": \"d\\u200f/M\\u200f/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Fdj\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ar-dj\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ar-dz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0635\",\n      \"\\u0645\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u064a\\u0644\\u0627\\u062f\\u064a\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645\",\n      \"\\u0645\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u062c\\u0627\\u0646\\u0641\\u064a\",\n      \"\\u0641\\u064a\\u0641\\u0631\\u064a\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0641\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\",\n      \"\\u062c\\u0648\\u0627\\u0646\",\n      \"\\u062c\\u0648\\u064a\\u0644\\u064a\\u0629\",\n      \"\\u0623\\u0648\\u062a\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u062c\\u0627\\u0646\\u0641\\u064a\",\n      \"\\u0641\\u064a\\u0641\\u0631\\u064a\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0641\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\",\n      \"\\u062c\\u0648\\u0627\\u0646\",\n      \"\\u062c\\u0648\\u064a\\u0644\\u064a\\u0629\",\n      \"\\u0623\\u0648\\u062a\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"dd\\u200f/MM\\u200f/y h:mm:ss a\",\n    \"mediumDate\": \"dd\\u200f/MM\\u200f/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d\\u200f/M\\u200f/y h:mm a\",\n    \"shortDate\": \"d\\u200f/M\\u200f/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"din\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ar-dz\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ar-eg.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0635\",\n      \"\\u0645\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u064a\\u0644\\u0627\\u062f\\u064a\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645\",\n      \"\\u0645\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"dd\\u200f/MM\\u200f/y h:mm:ss a\",\n    \"mediumDate\": \"dd\\u200f/MM\\u200f/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d\\u200f/M\\u200f/y h:mm a\",\n    \"shortDate\": \"d\\u200f/M\\u200f/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a3\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ar-eg\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ar-eh.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0635\",\n      \"\\u0645\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u064a\\u0644\\u0627\\u062f\\u064a\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645\",\n      \"\\u0645\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"dd\\u200f/MM\\u200f/y h:mm:ss a\",\n    \"mediumDate\": \"dd\\u200f/MM\\u200f/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d\\u200f/M\\u200f/y h:mm a\",\n    \"shortDate\": \"d\\u200f/M\\u200f/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"dh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ar-eh\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ar-er.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0635\",\n      \"\\u0645\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u064a\\u0644\\u0627\\u062f\\u064a\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645\",\n      \"\\u0645\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"dd\\u200f/MM\\u200f/y h:mm:ss a\",\n    \"mediumDate\": \"dd\\u200f/MM\\u200f/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d\\u200f/M\\u200f/y h:mm a\",\n    \"shortDate\": \"d\\u200f/M\\u200f/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Nfk\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ar-er\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ar-il.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0635\",\n      \"\\u0645\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u064a\\u0644\\u0627\\u062f\\u064a\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645\",\n      \"\\u0645\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"dd\\u200f/MM\\u200f/y h:mm:ss a\",\n    \"mediumDate\": \"dd\\u200f/MM\\u200f/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d\\u200f/M\\u200f/y h:mm a\",\n    \"shortDate\": \"d\\u200f/M\\u200f/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20aa\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ar-il\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ar-iq.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0635\",\n      \"\\u0645\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u064a\\u0644\\u0627\\u062f\\u064a\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645\",\n      \"\\u0645\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u0643\\u0627\\u0646\\u0648\\u0646 \\u0627\\u0644\\u062b\\u0627\\u0646\\u064a\",\n      \"\\u0634\\u0628\\u0627\\u0637\",\n      \"\\u0622\\u0630\\u0627\\u0631\",\n      \"\\u0646\\u064a\\u0633\\u0627\\u0646\",\n      \"\\u0623\\u064a\\u0627\\u0631\",\n      \"\\u062d\\u0632\\u064a\\u0631\\u0627\\u0646\",\n      \"\\u062a\\u0645\\u0648\\u0632\",\n      \"\\u0622\\u0628\",\n      \"\\u0623\\u064a\\u0644\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u064a\\u0646 \\u0627\\u0644\\u0623\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u064a\\u0646 \\u0627\\u0644\\u062b\\u0627\\u0646\\u064a\",\n      \"\\u0643\\u0627\\u0646\\u0648\\u0646 \\u0627\\u0644\\u0623\\u0648\\u0644\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0643\\u0627\\u0646\\u0648\\u0646 \\u0627\\u0644\\u062b\\u0627\\u0646\\u064a\",\n      \"\\u0634\\u0628\\u0627\\u0637\",\n      \"\\u0622\\u0630\\u0627\\u0631\",\n      \"\\u0646\\u064a\\u0633\\u0627\\u0646\",\n      \"\\u0623\\u064a\\u0627\\u0631\",\n      \"\\u062d\\u0632\\u064a\\u0631\\u0627\\u0646\",\n      \"\\u062a\\u0645\\u0648\\u0632\",\n      \"\\u0622\\u0628\",\n      \"\\u0623\\u064a\\u0644\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646 \\u0627\\u0644\\u0623\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u064a\\u0646 \\u0627\\u0644\\u062b\\u0627\\u0646\\u064a\",\n      \"\\u0643\\u0627\\u0646\\u0648\\u0646 \\u0627\\u0644\\u0623\\u0648\\u0644\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"dd\\u200f/MM\\u200f/y h:mm:ss a\",\n    \"mediumDate\": \"dd\\u200f/MM\\u200f/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d\\u200f/M\\u200f/y h:mm a\",\n    \"shortDate\": \"d\\u200f/M\\u200f/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"din\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ar-iq\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ar-jo.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0635\",\n      \"\\u0645\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u064a\\u0644\\u0627\\u062f\\u064a\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645\",\n      \"\\u0645\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u0643\\u0627\\u0646\\u0648\\u0646 \\u0627\\u0644\\u062b\\u0627\\u0646\\u064a\",\n      \"\\u0634\\u0628\\u0627\\u0637\",\n      \"\\u0622\\u0630\\u0627\\u0631\",\n      \"\\u0646\\u064a\\u0633\\u0627\\u0646\",\n      \"\\u0623\\u064a\\u0627\\u0631\",\n      \"\\u062d\\u0632\\u064a\\u0631\\u0627\\u0646\",\n      \"\\u062a\\u0645\\u0648\\u0632\",\n      \"\\u0622\\u0628\",\n      \"\\u0623\\u064a\\u0644\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u064a\\u0646 \\u0627\\u0644\\u0623\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u064a\\u0646 \\u0627\\u0644\\u062b\\u0627\\u0646\\u064a\",\n      \"\\u0643\\u0627\\u0646\\u0648\\u0646 \\u0627\\u0644\\u0623\\u0648\\u0644\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0643\\u0627\\u0646\\u0648\\u0646 \\u0627\\u0644\\u062b\\u0627\\u0646\\u064a\",\n      \"\\u0634\\u0628\\u0627\\u0637\",\n      \"\\u0622\\u0630\\u0627\\u0631\",\n      \"\\u0646\\u064a\\u0633\\u0627\\u0646\",\n      \"\\u0623\\u064a\\u0627\\u0631\",\n      \"\\u062d\\u0632\\u064a\\u0631\\u0627\\u0646\",\n      \"\\u062a\\u0645\\u0648\\u0632\",\n      \"\\u0622\\u0628\",\n      \"\\u0623\\u064a\\u0644\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u064a\\u0646 \\u0627\\u0644\\u0623\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u064a\\u0646 \\u0627\\u0644\\u062b\\u0627\\u0646\\u064a\",\n      \"\\u0643\\u0627\\u0646\\u0648\\u0646 \\u0627\\u0644\\u0623\\u0648\\u0644\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"dd\\u200f/MM\\u200f/y h:mm:ss a\",\n    \"mediumDate\": \"dd\\u200f/MM\\u200f/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d\\u200f/M\\u200f/y h:mm a\",\n    \"shortDate\": \"d\\u200f/M\\u200f/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"din\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ar-jo\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ar-km.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0635\",\n      \"\\u0645\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u064a\\u0644\\u0627\\u062f\\u064a\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645\",\n      \"\\u0645\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"dd\\u200f/MM\\u200f/y h:mm:ss a\",\n    \"mediumDate\": \"dd\\u200f/MM\\u200f/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d\\u200f/M\\u200f/y h:mm a\",\n    \"shortDate\": \"d\\u200f/M\\u200f/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CF\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ar-km\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ar-kw.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0635\",\n      \"\\u0645\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u064a\\u0644\\u0627\\u062f\\u064a\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645\",\n      \"\\u0645\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"dd\\u200f/MM\\u200f/y h:mm:ss a\",\n    \"mediumDate\": \"dd\\u200f/MM\\u200f/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d\\u200f/M\\u200f/y h:mm a\",\n    \"shortDate\": \"d\\u200f/M\\u200f/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"din\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ar-kw\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ar-lb.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0635\",\n      \"\\u0645\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u064a\\u0644\\u0627\\u062f\\u064a\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645\",\n      \"\\u0645\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u0643\\u0627\\u0646\\u0648\\u0646 \\u0627\\u0644\\u062b\\u0627\\u0646\\u064a\",\n      \"\\u0634\\u0628\\u0627\\u0637\",\n      \"\\u0622\\u0630\\u0627\\u0631\",\n      \"\\u0646\\u064a\\u0633\\u0627\\u0646\",\n      \"\\u0623\\u064a\\u0627\\u0631\",\n      \"\\u062d\\u0632\\u064a\\u0631\\u0627\\u0646\",\n      \"\\u062a\\u0645\\u0648\\u0632\",\n      \"\\u0622\\u0628\",\n      \"\\u0623\\u064a\\u0644\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u064a\\u0646 \\u0627\\u0644\\u0623\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u064a\\u0646 \\u0627\\u0644\\u062b\\u0627\\u0646\\u064a\",\n      \"\\u0643\\u0627\\u0646\\u0648\\u0646 \\u0627\\u0644\\u0623\\u0648\\u0644\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0643\\u0627\\u0646\\u0648\\u0646 \\u0627\\u0644\\u062b\\u0627\\u0646\\u064a\",\n      \"\\u0634\\u0628\\u0627\\u0637\",\n      \"\\u0622\\u0630\\u0627\\u0631\",\n      \"\\u0646\\u064a\\u0633\\u0627\\u0646\",\n      \"\\u0623\\u064a\\u0627\\u0631\",\n      \"\\u062d\\u0632\\u064a\\u0631\\u0627\\u0646\",\n      \"\\u062a\\u0645\\u0648\\u0632\",\n      \"\\u0622\\u0628\",\n      \"\\u0623\\u064a\\u0644\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u064a\\u0646 \\u0627\\u0644\\u0623\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u064a\\u0646 \\u0627\\u0644\\u062b\\u0627\\u0646\\u064a\",\n      \"\\u0643\\u0627\\u0646\\u0648\\u0646 \\u0627\\u0644\\u0623\\u0648\\u0644\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"dd\\u200f/MM\\u200f/y h:mm:ss a\",\n    \"mediumDate\": \"dd\\u200f/MM\\u200f/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d\\u200f/M\\u200f/y h:mm a\",\n    \"shortDate\": \"d\\u200f/M\\u200f/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"L\\u00a3\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ar-lb\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ar-ly.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0635\",\n      \"\\u0645\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u064a\\u0644\\u0627\\u062f\\u064a\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645\",\n      \"\\u0645\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"dd\\u200f/MM\\u200f/y h:mm:ss a\",\n    \"mediumDate\": \"dd\\u200f/MM\\u200f/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d\\u200f/M\\u200f/y h:mm a\",\n    \"shortDate\": \"d\\u200f/M\\u200f/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"din\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ar-ly\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ar-ma.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0635\",\n      \"\\u0645\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u064a\\u0644\\u0627\\u062f\\u064a\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645\",\n      \"\\u0645\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\\u0632\",\n      \"\\u063a\\u0634\\u062a\",\n      \"\\u0634\\u062a\\u0646\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0646\\u0628\\u0631\",\n      \"\\u062f\\u062c\\u0646\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\\u0632\",\n      \"\\u063a\\u0634\\u062a\",\n      \"\\u0634\\u062a\\u0646\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0646\\u0628\\u0631\",\n      \"\\u062f\\u062c\\u0646\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"dd\\u200f/MM\\u200f/y h:mm:ss a\",\n    \"mediumDate\": \"dd\\u200f/MM\\u200f/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d\\u200f/M\\u200f/y h:mm a\",\n    \"shortDate\": \"d\\u200f/M\\u200f/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"dh\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ar-ma\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ar-mr.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0635\",\n      \"\\u0645\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u064a\\u0644\\u0627\\u062f\\u064a\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645\",\n      \"\\u0645\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0625\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0634\\u062a\",\n      \"\\u0634\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u062c\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0625\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0634\\u062a\",\n      \"\\u0634\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u062c\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"dd\\u200f/MM\\u200f/y h:mm:ss a\",\n    \"mediumDate\": \"dd\\u200f/MM\\u200f/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d\\u200f/M\\u200f/y h:mm a\",\n    \"shortDate\": \"d\\u200f/M\\u200f/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"MRO\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ar-mr\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ar-om.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0635\",\n      \"\\u0645\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u064a\\u0644\\u0627\\u062f\\u064a\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645\",\n      \"\\u0645\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"dd\\u200f/MM\\u200f/y h:mm:ss a\",\n    \"mediumDate\": \"dd\\u200f/MM\\u200f/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d\\u200f/M\\u200f/y h:mm a\",\n    \"shortDate\": \"d\\u200f/M\\u200f/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Rial\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ar-om\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ar-ps.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0635\",\n      \"\\u0645\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u064a\\u0644\\u0627\\u062f\\u064a\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645\",\n      \"\\u0645\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u0643\\u0627\\u0646\\u0648\\u0646 \\u0627\\u0644\\u062b\\u0627\\u0646\\u064a\",\n      \"\\u0634\\u0628\\u0627\\u0637\",\n      \"\\u0622\\u0630\\u0627\\u0631\",\n      \"\\u0646\\u064a\\u0633\\u0627\\u0646\",\n      \"\\u0623\\u064a\\u0627\\u0631\",\n      \"\\u062d\\u0632\\u064a\\u0631\\u0627\\u0646\",\n      \"\\u062a\\u0645\\u0648\\u0632\",\n      \"\\u0622\\u0628\",\n      \"\\u0623\\u064a\\u0644\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u064a\\u0646 \\u0627\\u0644\\u0623\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u064a\\u0646 \\u0627\\u0644\\u062b\\u0627\\u0646\\u064a\",\n      \"\\u0643\\u0627\\u0646\\u0648\\u0646 \\u0627\\u0644\\u0623\\u0648\\u0644\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0643\\u0627\\u0646\\u0648\\u0646 \\u0627\\u0644\\u062b\\u0627\\u0646\\u064a\",\n      \"\\u0634\\u0628\\u0627\\u0637\",\n      \"\\u0622\\u0630\\u0627\\u0631\",\n      \"\\u0646\\u064a\\u0633\\u0627\\u0646\",\n      \"\\u0623\\u064a\\u0627\\u0631\",\n      \"\\u062d\\u0632\\u064a\\u0631\\u0627\\u0646\",\n      \"\\u062a\\u0645\\u0648\\u0632\",\n      \"\\u0622\\u0628\",\n      \"\\u0623\\u064a\\u0644\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u064a\\u0646 \\u0627\\u0644\\u0623\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u064a\\u0646 \\u0627\\u0644\\u062b\\u0627\\u0646\\u064a\",\n      \"\\u0643\\u0627\\u0646\\u0648\\u0646 \\u0627\\u0644\\u0623\\u0648\\u0644\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"dd\\u200f/MM\\u200f/y h:mm:ss a\",\n    \"mediumDate\": \"dd\\u200f/MM\\u200f/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d\\u200f/M\\u200f/y h:mm a\",\n    \"shortDate\": \"d\\u200f/M\\u200f/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20aa\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ar-ps\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ar-qa.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0635\",\n      \"\\u0645\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u064a\\u0644\\u0627\\u062f\\u064a\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645\",\n      \"\\u0645\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"dd\\u200f/MM\\u200f/y h:mm:ss a\",\n    \"mediumDate\": \"dd\\u200f/MM\\u200f/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d\\u200f/M\\u200f/y h:mm a\",\n    \"shortDate\": \"d\\u200f/M\\u200f/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Rial\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ar-qa\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ar-sa.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0635\",\n      \"\\u0645\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u064a\\u0644\\u0627\\u062f\\u064a\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645\",\n      \"\\u0645\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"dd\\u200f/MM\\u200f/y h:mm:ss a\",\n    \"mediumDate\": \"dd\\u200f/MM\\u200f/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d\\u200f/M\\u200f/y h:mm a\",\n    \"shortDate\": \"d\\u200f/M\\u200f/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Rial\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ar-sa\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ar-sd.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0635\",\n      \"\\u0645\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u064a\\u0644\\u0627\\u062f\\u064a\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645\",\n      \"\\u0645\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"dd\\u200f/MM\\u200f/y h:mm:ss a\",\n    \"mediumDate\": \"dd\\u200f/MM\\u200f/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d\\u200f/M\\u200f/y h:mm a\",\n    \"shortDate\": \"d\\u200f/M\\u200f/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"SDG\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ar-sd\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ar-so.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0635\",\n      \"\\u0645\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u064a\\u0644\\u0627\\u062f\\u064a\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645\",\n      \"\\u0645\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"dd\\u200f/MM\\u200f/y h:mm:ss a\",\n    \"mediumDate\": \"dd\\u200f/MM\\u200f/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d\\u200f/M\\u200f/y h:mm a\",\n    \"shortDate\": \"d\\u200f/M\\u200f/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"SOS\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ar-so\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ar-ss.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0635\",\n      \"\\u0645\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u064a\\u0644\\u0627\\u062f\\u064a\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645\",\n      \"\\u0645\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"dd\\u200f/MM\\u200f/y h:mm:ss a\",\n    \"mediumDate\": \"dd\\u200f/MM\\u200f/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d\\u200f/M\\u200f/y h:mm a\",\n    \"shortDate\": \"d\\u200f/M\\u200f/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a3\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ar-ss\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ar-sy.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0635\",\n      \"\\u0645\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u064a\\u0644\\u0627\\u062f\\u064a\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645\",\n      \"\\u0645\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u0643\\u0627\\u0646\\u0648\\u0646 \\u0627\\u0644\\u062b\\u0627\\u0646\\u064a\",\n      \"\\u0634\\u0628\\u0627\\u0637\",\n      \"\\u0622\\u0630\\u0627\\u0631\",\n      \"\\u0646\\u064a\\u0633\\u0627\\u0646\",\n      \"\\u0623\\u064a\\u0627\\u0631\",\n      \"\\u062d\\u0632\\u064a\\u0631\\u0627\\u0646\",\n      \"\\u062a\\u0645\\u0648\\u0632\",\n      \"\\u0622\\u0628\",\n      \"\\u0623\\u064a\\u0644\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u064a\\u0646 \\u0627\\u0644\\u0623\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u064a\\u0646 \\u0627\\u0644\\u062b\\u0627\\u0646\\u064a\",\n      \"\\u0643\\u0627\\u0646\\u0648\\u0646 \\u0627\\u0644\\u0623\\u0648\\u0644\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0643\\u0627\\u0646\\u0648\\u0646 \\u0627\\u0644\\u062b\\u0627\\u0646\\u064a\",\n      \"\\u0634\\u0628\\u0627\\u0637\",\n      \"\\u0622\\u0630\\u0627\\u0631\",\n      \"\\u0646\\u064a\\u0633\\u0627\\u0646\",\n      \"\\u0623\\u064a\\u0627\\u0631\",\n      \"\\u062d\\u0632\\u064a\\u0631\\u0627\\u0646\",\n      \"\\u062a\\u0645\\u0648\\u0632\",\n      \"\\u0622\\u0628\",\n      \"\\u0623\\u064a\\u0644\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u064a\\u0646 \\u0627\\u0644\\u0623\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u064a\\u0646 \\u0627\\u0644\\u062b\\u0627\\u0646\\u064a\",\n      \"\\u0643\\u0627\\u0646\\u0648\\u0646 \\u0627\\u0644\\u0623\\u0648\\u0644\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"dd\\u200f/MM\\u200f/y h:mm:ss a\",\n    \"mediumDate\": \"dd\\u200f/MM\\u200f/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d\\u200f/M\\u200f/y h:mm a\",\n    \"shortDate\": \"d\\u200f/M\\u200f/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a3\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ar-sy\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ar-td.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0635\",\n      \"\\u0645\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u064a\\u0644\\u0627\\u062f\\u064a\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645\",\n      \"\\u0645\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"dd\\u200f/MM\\u200f/y h:mm:ss a\",\n    \"mediumDate\": \"dd\\u200f/MM\\u200f/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d\\u200f/M\\u200f/y h:mm a\",\n    \"shortDate\": \"d\\u200f/M\\u200f/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ar-td\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ar-tn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0635\",\n      \"\\u0645\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u064a\\u0644\\u0627\\u062f\\u064a\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645\",\n      \"\\u0645\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u062c\\u0627\\u0646\\u0641\\u064a\",\n      \"\\u0641\\u064a\\u0641\\u0631\\u064a\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0641\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\",\n      \"\\u062c\\u0648\\u0627\\u0646\",\n      \"\\u062c\\u0648\\u064a\\u0644\\u064a\\u0629\",\n      \"\\u0623\\u0648\\u062a\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u062c\\u0627\\u0646\\u0641\\u064a\",\n      \"\\u0641\\u064a\\u0641\\u0631\\u064a\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0641\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\",\n      \"\\u062c\\u0648\\u0627\\u0646\",\n      \"\\u062c\\u0648\\u064a\\u0644\\u064a\\u0629\",\n      \"\\u0623\\u0648\\u062a\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"dd\\u200f/MM\\u200f/y h:mm:ss a\",\n    \"mediumDate\": \"dd\\u200f/MM\\u200f/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d\\u200f/M\\u200f/y h:mm a\",\n    \"shortDate\": \"d\\u200f/M\\u200f/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"din\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ar-tn\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ar-ye.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0635\",\n      \"\\u0645\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u064a\\u0644\\u0627\\u062f\\u064a\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645\",\n      \"\\u0645\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"dd\\u200f/MM\\u200f/y h:mm:ss a\",\n    \"mediumDate\": \"dd\\u200f/MM\\u200f/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d\\u200f/M\\u200f/y h:mm a\",\n    \"shortDate\": \"d\\u200f/M\\u200f/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Rial\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ar-ye\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ar.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0635\",\n      \"\\u0645\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u064a\\u0644\\u0627\\u062f\\u064a\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645\",\n      \"\\u0645\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u0644\\u0623\\u062d\\u062f\",\n      \"\\u0627\\u0644\\u0627\\u062b\\u0646\\u064a\\u0646\",\n      \"\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621\",\n      \"\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633\",\n      \"\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629\",\n      \"\\u0627\\u0644\\u0633\\u0628\\u062a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u064a\\u0646\\u0627\\u064a\\u0631\",\n      \"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0623\\u0628\\u0631\\u064a\\u0644\",\n      \"\\u0645\\u0627\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0646\\u064a\\u0648\",\n      \"\\u064a\\u0648\\u0644\\u064a\\u0648\",\n      \"\\u0623\\u063a\\u0633\\u0637\\u0633\",\n      \"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"dd\\u200f/MM\\u200f/y h:mm:ss a\",\n    \"mediumDate\": \"dd\\u200f/MM\\u200f/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d\\u200f/M\\u200f/y h:mm a\",\n    \"shortDate\": \"d\\u200f/M\\u200f/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a3\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ar\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_as-in.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u09aa\\u09c2\\u09f0\\u09cd\\u09ac\\u09be\\u09b9\\u09cd\\u09a3\",\n      \"\\u0985\\u09aa\\u09f0\\u09be\\u09b9\\u09cd\\u09a3\"\n    ],\n    \"DAY\": [\n      \"\\u09a6\\u09c7\\u0993\\u09ac\\u09be\\u09f0\",\n      \"\\u09b8\\u09cb\\u09ae\\u09ac\\u09be\\u09f0\",\n      \"\\u09ae\\u0999\\u09cd\\u0997\\u09b2\\u09ac\\u09be\\u09f0\",\n      \"\\u09ac\\u09c1\\u09a7\\u09ac\\u09be\\u09f0\",\n      \"\\u09ac\\u09c3\\u09b9\\u09b7\\u09cd\\u09aa\\u09a4\\u09bf\\u09ac\\u09be\\u09f0\",\n      \"\\u09b6\\u09c1\\u0995\\u09cd\\u09f0\\u09ac\\u09be\\u09f0\",\n      \"\\u09b6\\u09a8\\u09bf\\u09ac\\u09be\\u09f0\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u099c\\u09be\\u09a8\\u09c1\\u09f1\\u09be\\u09f0\\u09c0\",\n      \"\\u09ab\\u09c7\\u09ac\\u09cd\\u09f0\\u09c1\\u09f1\\u09be\\u09f0\\u09c0\",\n      \"\\u09ae\\u09be\\u09f0\\u09cd\\u099a\",\n      \"\\u098f\\u09aa\\u09cd\\u09f0\\u09bf\\u09b2\",\n      \"\\u09ae\\u09c7\",\n      \"\\u099c\\u09c1\\u09a8\",\n      \"\\u099c\\u09c1\\u09b2\\u09be\\u0987\",\n      \"\\u0986\\u0997\\u09b7\\u09cd\\u099f\",\n      \"\\u099b\\u09c7\\u09aa\\u09cd\\u09a4\\u09c7\\u09ae\\u09cd\\u09ac\\u09f0\",\n      \"\\u0985\\u0995\\u09cd\\u099f\\u09cb\\u09ac\\u09f0\",\n      \"\\u09a8\\u09f1\\u09c7\\u09ae\\u09cd\\u09ac\\u09f0\",\n      \"\\u09a1\\u09bf\\u099a\\u09c7\\u09ae\\u09cd\\u09ac\\u09f0\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u09f0\\u09ac\\u09bf\",\n      \"\\u09b8\\u09cb\\u09ae\",\n      \"\\u09ae\\u0999\\u09cd\\u0997\\u09b2\",\n      \"\\u09ac\\u09c1\\u09a7\",\n      \"\\u09ac\\u09c3\\u09b9\\u09b7\\u09cd\\u09aa\\u09a4\\u09bf\",\n      \"\\u09b6\\u09c1\\u0995\\u09cd\\u09f0\",\n      \"\\u09b6\\u09a8\\u09bf\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u099c\\u09be\\u09a8\\u09c1\",\n      \"\\u09ab\\u09c7\\u09ac\\u09cd\\u09f0\\u09c1\",\n      \"\\u09ae\\u09be\\u09f0\\u09cd\\u099a\",\n      \"\\u098f\\u09aa\\u09cd\\u09f0\\u09bf\\u09b2\",\n      \"\\u09ae\\u09c7\",\n      \"\\u099c\\u09c1\\u09a8\",\n      \"\\u099c\\u09c1\\u09b2\\u09be\\u0987\",\n      \"\\u0986\\u0997\",\n      \"\\u09b8\\u09c7\\u09aa\\u09cd\\u099f\",\n      \"\\u0985\\u0995\\u09cd\\u099f\\u09cb\",\n      \"\\u09a8\\u09ad\\u09c7\",\n      \"\\u09a1\\u09bf\\u09b8\\u09c7\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM, y\",\n    \"longDate\": \"d MMMM, y\",\n    \"medium\": \"dd-MM-y h.mm.ss a\",\n    \"mediumDate\": \"dd-MM-y\",\n    \"mediumTime\": \"h.mm.ss a\",\n    \"short\": \"d-M-y h.mm. a\",\n    \"shortDate\": \"d-M-y\",\n    \"shortTime\": \"h.mm. a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"as-in\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_as.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u09aa\\u09c2\\u09f0\\u09cd\\u09ac\\u09be\\u09b9\\u09cd\\u09a3\",\n      \"\\u0985\\u09aa\\u09f0\\u09be\\u09b9\\u09cd\\u09a3\"\n    ],\n    \"DAY\": [\n      \"\\u09a6\\u09c7\\u0993\\u09ac\\u09be\\u09f0\",\n      \"\\u09b8\\u09cb\\u09ae\\u09ac\\u09be\\u09f0\",\n      \"\\u09ae\\u0999\\u09cd\\u0997\\u09b2\\u09ac\\u09be\\u09f0\",\n      \"\\u09ac\\u09c1\\u09a7\\u09ac\\u09be\\u09f0\",\n      \"\\u09ac\\u09c3\\u09b9\\u09b7\\u09cd\\u09aa\\u09a4\\u09bf\\u09ac\\u09be\\u09f0\",\n      \"\\u09b6\\u09c1\\u0995\\u09cd\\u09f0\\u09ac\\u09be\\u09f0\",\n      \"\\u09b6\\u09a8\\u09bf\\u09ac\\u09be\\u09f0\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u099c\\u09be\\u09a8\\u09c1\\u09f1\\u09be\\u09f0\\u09c0\",\n      \"\\u09ab\\u09c7\\u09ac\\u09cd\\u09f0\\u09c1\\u09f1\\u09be\\u09f0\\u09c0\",\n      \"\\u09ae\\u09be\\u09f0\\u09cd\\u099a\",\n      \"\\u098f\\u09aa\\u09cd\\u09f0\\u09bf\\u09b2\",\n      \"\\u09ae\\u09c7\",\n      \"\\u099c\\u09c1\\u09a8\",\n      \"\\u099c\\u09c1\\u09b2\\u09be\\u0987\",\n      \"\\u0986\\u0997\\u09b7\\u09cd\\u099f\",\n      \"\\u099b\\u09c7\\u09aa\\u09cd\\u09a4\\u09c7\\u09ae\\u09cd\\u09ac\\u09f0\",\n      \"\\u0985\\u0995\\u09cd\\u099f\\u09cb\\u09ac\\u09f0\",\n      \"\\u09a8\\u09f1\\u09c7\\u09ae\\u09cd\\u09ac\\u09f0\",\n      \"\\u09a1\\u09bf\\u099a\\u09c7\\u09ae\\u09cd\\u09ac\\u09f0\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u09f0\\u09ac\\u09bf\",\n      \"\\u09b8\\u09cb\\u09ae\",\n      \"\\u09ae\\u0999\\u09cd\\u0997\\u09b2\",\n      \"\\u09ac\\u09c1\\u09a7\",\n      \"\\u09ac\\u09c3\\u09b9\\u09b7\\u09cd\\u09aa\\u09a4\\u09bf\",\n      \"\\u09b6\\u09c1\\u0995\\u09cd\\u09f0\",\n      \"\\u09b6\\u09a8\\u09bf\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u099c\\u09be\\u09a8\\u09c1\",\n      \"\\u09ab\\u09c7\\u09ac\\u09cd\\u09f0\\u09c1\",\n      \"\\u09ae\\u09be\\u09f0\\u09cd\\u099a\",\n      \"\\u098f\\u09aa\\u09cd\\u09f0\\u09bf\\u09b2\",\n      \"\\u09ae\\u09c7\",\n      \"\\u099c\\u09c1\\u09a8\",\n      \"\\u099c\\u09c1\\u09b2\\u09be\\u0987\",\n      \"\\u0986\\u0997\",\n      \"\\u09b8\\u09c7\\u09aa\\u09cd\\u099f\",\n      \"\\u0985\\u0995\\u09cd\\u099f\\u09cb\",\n      \"\\u09a8\\u09ad\\u09c7\",\n      \"\\u09a1\\u09bf\\u09b8\\u09c7\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM, y\",\n    \"longDate\": \"d MMMM, y\",\n    \"medium\": \"dd-MM-y h.mm.ss a\",\n    \"mediumDate\": \"dd-MM-y\",\n    \"mediumTime\": \"h.mm.ss a\",\n    \"short\": \"d-M-y h.mm. a\",\n    \"shortDate\": \"d-M-y\",\n    \"shortTime\": \"h.mm. a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"as\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_asa-tz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"icheheavo\",\n      \"ichamthi\"\n    ],\n    \"DAY\": [\n      \"Jumapili\",\n      \"Jumatatu\",\n      \"Jumanne\",\n      \"Jumatano\",\n      \"Alhamisi\",\n      \"Ijumaa\",\n      \"Jumamosi\"\n    ],\n    \"ERANAMES\": [\n      \"Kabla yakwe Yethu\",\n      \"Baada yakwe Yethu\"\n    ],\n    \"ERAS\": [\n      \"KM\",\n      \"BM\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januari\",\n      \"Februari\",\n      \"Machi\",\n      \"Aprili\",\n      \"Mei\",\n      \"Juni\",\n      \"Julai\",\n      \"Agosti\",\n      \"Septemba\",\n      \"Oktoba\",\n      \"Novemba\",\n      \"Desemba\"\n    ],\n    \"SHORTDAY\": [\n      \"Jpi\",\n      \"Jtt\",\n      \"Jnn\",\n      \"Jtn\",\n      \"Alh\",\n      \"Ijm\",\n      \"Jmo\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mac\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Ago\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"TSh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"asa-tz\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_asa.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"icheheavo\",\n      \"ichamthi\"\n    ],\n    \"DAY\": [\n      \"Jumapili\",\n      \"Jumatatu\",\n      \"Jumanne\",\n      \"Jumatano\",\n      \"Alhamisi\",\n      \"Ijumaa\",\n      \"Jumamosi\"\n    ],\n    \"ERANAMES\": [\n      \"Kabla yakwe Yethu\",\n      \"Baada yakwe Yethu\"\n    ],\n    \"ERAS\": [\n      \"KM\",\n      \"BM\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januari\",\n      \"Februari\",\n      \"Machi\",\n      \"Aprili\",\n      \"Mei\",\n      \"Juni\",\n      \"Julai\",\n      \"Agosti\",\n      \"Septemba\",\n      \"Oktoba\",\n      \"Novemba\",\n      \"Desemba\"\n    ],\n    \"SHORTDAY\": [\n      \"Jpi\",\n      \"Jtt\",\n      \"Jnn\",\n      \"Jtn\",\n      \"Alh\",\n      \"Ijm\",\n      \"Jmo\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mac\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Ago\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"TSh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"asa\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ast-es.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"domingu\",\n      \"llunes\",\n      \"martes\",\n      \"mi\\u00e9rcoles\",\n      \"xueves\",\n      \"vienres\",\n      \"s\\u00e1badu\"\n    ],\n    \"ERANAMES\": [\n      \"a.C.\",\n      \"d.C.\"\n    ],\n    \"ERAS\": [\n      \"a.C.\",\n      \"d.C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"de xineru\",\n      \"de febreru\",\n      \"de marzu\",\n      \"d\\u2019abril\",\n      \"de mayu\",\n      \"de xunu\",\n      \"de xunetu\",\n      \"d\\u2019agostu\",\n      \"de setiembre\",\n      \"d\\u2019ochobre\",\n      \"de payares\",\n      \"d\\u2019avientu\"\n    ],\n    \"SHORTDAY\": [\n      \"dom\",\n      \"llu\",\n      \"mar\",\n      \"mie\",\n      \"xue\",\n      \"vie\",\n      \"sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"xin\",\n      \"feb\",\n      \"mar\",\n      \"abr\",\n      \"may\",\n      \"xun\",\n      \"xnt\",\n      \"ago\",\n      \"set\",\n      \"och\",\n      \"pay\",\n      \"avi\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM 'de' y\",\n    \"longDate\": \"d MMMM 'de' y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/yy HH:mm\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ast-es\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ast.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"domingu\",\n      \"llunes\",\n      \"martes\",\n      \"mi\\u00e9rcoles\",\n      \"xueves\",\n      \"vienres\",\n      \"s\\u00e1badu\"\n    ],\n    \"ERANAMES\": [\n      \"a.C.\",\n      \"d.C.\"\n    ],\n    \"ERAS\": [\n      \"a.C.\",\n      \"d.C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"de xineru\",\n      \"de febreru\",\n      \"de marzu\",\n      \"d\\u2019abril\",\n      \"de mayu\",\n      \"de xunu\",\n      \"de xunetu\",\n      \"d\\u2019agostu\",\n      \"de setiembre\",\n      \"d\\u2019ochobre\",\n      \"de payares\",\n      \"d\\u2019avientu\"\n    ],\n    \"SHORTDAY\": [\n      \"dom\",\n      \"llu\",\n      \"mar\",\n      \"mie\",\n      \"xue\",\n      \"vie\",\n      \"sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"xin\",\n      \"feb\",\n      \"mar\",\n      \"abr\",\n      \"may\",\n      \"xun\",\n      \"xnt\",\n      \"ago\",\n      \"set\",\n      \"och\",\n      \"pay\",\n      \"avi\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM 'de' y\",\n    \"longDate\": \"d MMMM 'de' y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/yy HH:mm\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ast\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_az-cyrl-az.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"\\u0431\\u0430\\u0437\\u0430\\u0440\",\n      \"\\u0431\\u0430\\u0437\\u0430\\u0440 \\u0435\\u0440\\u0442\\u04d9\\u0441\\u0438\",\n      \"\\u0447\\u04d9\\u0440\\u0448\\u04d9\\u043d\\u0431\\u04d9 \\u0430\\u0445\\u0448\\u0430\\u043c\\u044b\",\n      \"\\u0447\\u04d9\\u0440\\u0448\\u04d9\\u043d\\u0431\\u04d9\",\n      \"\\u04b9\\u04af\\u043c\\u04d9 \\u0430\\u0445\\u0448\\u0430\\u043c\\u044b\",\n      \"\\u04b9\\u04af\\u043c\\u04d9\",\n      \"\\u0448\\u04d9\\u043d\\u0431\\u04d9\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u0458\\u0430\\u043d\\u0432\\u0430\\u0440\",\n      \"\\u0444\\u0435\\u0432\\u0440\\u0430\\u043b\",\n      \"\\u043c\\u0430\\u0440\\u0442\",\n      \"\\u0430\\u043f\\u0440\\u0435\\u043b\",\n      \"\\u043c\\u0430\\u0439\",\n      \"\\u0438\\u0458\\u0443\\u043d\",\n      \"\\u0438\\u0458\\u0443\\u043b\",\n      \"\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\",\n      \"\\u0441\\u0435\\u043d\\u0442\\u0458\\u0430\\u0431\\u0440\",\n      \"\\u043e\\u043a\\u0442\\u0458\\u0430\\u0431\\u0440\",\n      \"\\u043d\\u043e\\u0458\\u0430\\u0431\\u0440\",\n      \"\\u0434\\u0435\\u043a\\u0430\\u0431\\u0440\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0431\\u0430\\u0437\\u0430\\u0440\",\n      \"\\u0431\\u0430\\u0437\\u0430\\u0440 \\u0435\\u0440\\u0442\\u04d9\\u0441\\u0438\",\n      \"\\u0447\\u04d9\\u0440\\u0448\\u04d9\\u043d\\u0431\\u04d9 \\u0430\\u0445\\u0448\\u0430\\u043c\\u044b\",\n      \"\\u0447\\u04d9\\u0440\\u0448\\u04d9\\u043d\\u0431\\u04d9\",\n      \"\\u04b9\\u04af\\u043c\\u04d9 \\u0430\\u0445\\u0448\\u0430\\u043c\\u044b\",\n      \"\\u04b9\\u04af\\u043c\\u04d9\",\n      \"\\u0448\\u04d9\\u043d\\u0431\\u04d9\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0458\\u0430\\u043d\\u0432\\u0430\\u0440\",\n      \"\\u0444\\u0435\\u0432\\u0440\\u0430\\u043b\",\n      \"\\u043c\\u0430\\u0440\\u0442\",\n      \"\\u0430\\u043f\\u0440\\u0435\\u043b\",\n      \"\\u043c\\u0430\\u0439\",\n      \"\\u0438\\u0458\\u0443\\u043d\",\n      \"\\u0438\\u0458\\u0443\\u043b\",\n      \"\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\",\n      \"\\u0441\\u0435\\u043d\\u0442\\u0458\\u0430\\u0431\\u0440\",\n      \"\\u043e\\u043a\\u0442\\u0458\\u0430\\u0431\\u0440\",\n      \"\\u043d\\u043e\\u0458\\u0430\\u0431\\u0440\",\n      \"\\u0434\\u0435\\u043a\\u0430\\u0431\\u0440\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d, MMMM, y\",\n    \"longDate\": \"d MMMM, y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"man.\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"az-cyrl-az\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_az-cyrl.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"\\u0431\\u0430\\u0437\\u0430\\u0440\",\n      \"\\u0431\\u0430\\u0437\\u0430\\u0440 \\u0435\\u0440\\u0442\\u04d9\\u0441\\u0438\",\n      \"\\u0447\\u04d9\\u0440\\u0448\\u04d9\\u043d\\u0431\\u04d9 \\u0430\\u0445\\u0448\\u0430\\u043c\\u044b\",\n      \"\\u0447\\u04d9\\u0440\\u0448\\u04d9\\u043d\\u0431\\u04d9\",\n      \"\\u04b9\\u04af\\u043c\\u04d9 \\u0430\\u0445\\u0448\\u0430\\u043c\\u044b\",\n      \"\\u04b9\\u04af\\u043c\\u04d9\",\n      \"\\u0448\\u04d9\\u043d\\u0431\\u04d9\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u0458\\u0430\\u043d\\u0432\\u0430\\u0440\",\n      \"\\u0444\\u0435\\u0432\\u0440\\u0430\\u043b\",\n      \"\\u043c\\u0430\\u0440\\u0442\",\n      \"\\u0430\\u043f\\u0440\\u0435\\u043b\",\n      \"\\u043c\\u0430\\u0439\",\n      \"\\u0438\\u0458\\u0443\\u043d\",\n      \"\\u0438\\u0458\\u0443\\u043b\",\n      \"\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\",\n      \"\\u0441\\u0435\\u043d\\u0442\\u0458\\u0430\\u0431\\u0440\",\n      \"\\u043e\\u043a\\u0442\\u0458\\u0430\\u0431\\u0440\",\n      \"\\u043d\\u043e\\u0458\\u0430\\u0431\\u0440\",\n      \"\\u0434\\u0435\\u043a\\u0430\\u0431\\u0440\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0431\\u0430\\u0437\\u0430\\u0440\",\n      \"\\u0431\\u0430\\u0437\\u0430\\u0440 \\u0435\\u0440\\u0442\\u04d9\\u0441\\u0438\",\n      \"\\u0447\\u04d9\\u0440\\u0448\\u04d9\\u043d\\u0431\\u04d9 \\u0430\\u0445\\u0448\\u0430\\u043c\\u044b\",\n      \"\\u0447\\u04d9\\u0440\\u0448\\u04d9\\u043d\\u0431\\u04d9\",\n      \"\\u04b9\\u04af\\u043c\\u04d9 \\u0430\\u0445\\u0448\\u0430\\u043c\\u044b\",\n      \"\\u04b9\\u04af\\u043c\\u04d9\",\n      \"\\u0448\\u04d9\\u043d\\u0431\\u04d9\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0458\\u0430\\u043d\\u0432\\u0430\\u0440\",\n      \"\\u0444\\u0435\\u0432\\u0440\\u0430\\u043b\",\n      \"\\u043c\\u0430\\u0440\\u0442\",\n      \"\\u0430\\u043f\\u0440\\u0435\\u043b\",\n      \"\\u043c\\u0430\\u0439\",\n      \"\\u0438\\u0458\\u0443\\u043d\",\n      \"\\u0438\\u0458\\u0443\\u043b\",\n      \"\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\",\n      \"\\u0441\\u0435\\u043d\\u0442\\u0458\\u0430\\u0431\\u0440\",\n      \"\\u043e\\u043a\\u0442\\u0458\\u0430\\u0431\\u0440\",\n      \"\\u043d\\u043e\\u0458\\u0430\\u0431\\u0440\",\n      \"\\u0434\\u0435\\u043a\\u0430\\u0431\\u0440\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d, MMMM, y\",\n    \"longDate\": \"d MMMM, y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"man.\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"az-cyrl\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_az-latn-az.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"bazar\",\n      \"bazar ert\\u0259si\",\n      \"\\u00e7\\u0259r\\u015f\\u0259nb\\u0259 ax\\u015fam\\u0131\",\n      \"\\u00e7\\u0259r\\u015f\\u0259nb\\u0259\",\n      \"c\\u00fcm\\u0259 ax\\u015fam\\u0131\",\n      \"c\\u00fcm\\u0259\",\n      \"\\u015f\\u0259nb\\u0259\"\n    ],\n    \"ERANAMES\": [\n      \"eram\\u0131zdan \\u0259vv\\u0259l\",\n      \"bizim eram\\u0131z\\u0131n\"\n    ],\n    \"ERAS\": [\n      \"e.\\u0259.\",\n      \"b.e.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"yanvar\",\n      \"fevral\",\n      \"mart\",\n      \"aprel\",\n      \"may\",\n      \"iyun\",\n      \"iyul\",\n      \"avqust\",\n      \"sentyabr\",\n      \"oktyabr\",\n      \"noyabr\",\n      \"dekabr\"\n    ],\n    \"SHORTDAY\": [\n      \"B.\",\n      \"B.E.\",\n      \"\\u00c7.A.\",\n      \"\\u00c7.\",\n      \"C.A.\",\n      \"C.\",\n      \"\\u015e.\"\n    ],\n    \"SHORTMONTH\": [\n      \"yan\",\n      \"fev\",\n      \"mar\",\n      \"apr\",\n      \"may\",\n      \"iyn\",\n      \"iyl\",\n      \"avq\",\n      \"sen\",\n      \"okt\",\n      \"noy\",\n      \"dek\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"d MMMM y, EEEE\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"man.\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"az-latn-az\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_az-latn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"bazar\",\n      \"bazar ert\\u0259si\",\n      \"\\u00e7\\u0259r\\u015f\\u0259nb\\u0259 ax\\u015fam\\u0131\",\n      \"\\u00e7\\u0259r\\u015f\\u0259nb\\u0259\",\n      \"c\\u00fcm\\u0259 ax\\u015fam\\u0131\",\n      \"c\\u00fcm\\u0259\",\n      \"\\u015f\\u0259nb\\u0259\"\n    ],\n    \"ERANAMES\": [\n      \"eram\\u0131zdan \\u0259vv\\u0259l\",\n      \"bizim eram\\u0131z\\u0131n\"\n    ],\n    \"ERAS\": [\n      \"e.\\u0259.\",\n      \"b.e.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"yanvar\",\n      \"fevral\",\n      \"mart\",\n      \"aprel\",\n      \"may\",\n      \"iyun\",\n      \"iyul\",\n      \"avqust\",\n      \"sentyabr\",\n      \"oktyabr\",\n      \"noyabr\",\n      \"dekabr\"\n    ],\n    \"SHORTDAY\": [\n      \"B.\",\n      \"B.E.\",\n      \"\\u00c7.A.\",\n      \"\\u00c7.\",\n      \"C.A.\",\n      \"C.\",\n      \"\\u015e.\"\n    ],\n    \"SHORTMONTH\": [\n      \"yan\",\n      \"fev\",\n      \"mar\",\n      \"apr\",\n      \"may\",\n      \"iyn\",\n      \"iyl\",\n      \"avq\",\n      \"sen\",\n      \"okt\",\n      \"noy\",\n      \"dek\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"d MMMM y, EEEE\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"man.\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"az-latn\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_az.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"bazar\",\n      \"bazar ert\\u0259si\",\n      \"\\u00e7\\u0259r\\u015f\\u0259nb\\u0259 ax\\u015fam\\u0131\",\n      \"\\u00e7\\u0259r\\u015f\\u0259nb\\u0259\",\n      \"c\\u00fcm\\u0259 ax\\u015fam\\u0131\",\n      \"c\\u00fcm\\u0259\",\n      \"\\u015f\\u0259nb\\u0259\"\n    ],\n    \"ERANAMES\": [\n      \"eram\\u0131zdan \\u0259vv\\u0259l\",\n      \"bizim eram\\u0131z\\u0131n\"\n    ],\n    \"ERAS\": [\n      \"e.\\u0259.\",\n      \"b.e.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"yanvar\",\n      \"fevral\",\n      \"mart\",\n      \"aprel\",\n      \"may\",\n      \"iyun\",\n      \"iyul\",\n      \"avqust\",\n      \"sentyabr\",\n      \"oktyabr\",\n      \"noyabr\",\n      \"dekabr\"\n    ],\n    \"SHORTDAY\": [\n      \"B.\",\n      \"B.E.\",\n      \"\\u00c7.A.\",\n      \"\\u00c7.\",\n      \"C.A.\",\n      \"C.\",\n      \"\\u015e.\"\n    ],\n    \"SHORTMONTH\": [\n      \"yan\",\n      \"fev\",\n      \"mar\",\n      \"apr\",\n      \"may\",\n      \"iyn\",\n      \"iyl\",\n      \"avq\",\n      \"sen\",\n      \"okt\",\n      \"noy\",\n      \"dek\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"d MMMM y, EEEE\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"man.\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"az\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_bas-cm.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"I bik\\u025b\\u0302gl\\u00e0\",\n      \"I \\u0253ugaj\\u0254p\"\n    ],\n    \"DAY\": [\n      \"\\u014bgw\\u00e0 n\\u0254\\u0302y\",\n      \"\\u014bgw\\u00e0 nja\\u014bgumba\",\n      \"\\u014bgw\\u00e0 \\u00fbm\",\n      \"\\u014bgw\\u00e0 \\u014bg\\u00ea\",\n      \"\\u014bgw\\u00e0 mb\\u0254k\",\n      \"\\u014bgw\\u00e0 k\\u0254\\u0254\",\n      \"\\u014bgw\\u00e0 j\\u00f4n\"\n    ],\n    \"ERANAMES\": [\n      \"bis\\u016b bi Yes\\u00f9 Kr\\u01d0st\\u00f2\",\n      \"i mb\\u016bs Yes\\u00f9 Kr\\u01d0st\\u00f2\"\n    ],\n    \"ERAS\": [\n      \"b.Y.K\",\n      \"m.Y.K\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"K\\u0254nd\\u0254\\u014b\",\n      \"M\\u00e0c\\u025b\\u0302l\",\n      \"M\\u00e0t\\u00f9mb\",\n      \"M\\u00e0top\",\n      \"M\\u0300puy\\u025b\",\n      \"H\\u00ecl\\u00f2nd\\u025b\\u0300\",\n      \"Nj\\u00e8b\\u00e0\",\n      \"H\\u00ecka\\u014b\",\n      \"D\\u00ecp\\u0254\\u0300s\",\n      \"B\\u00ec\\u00f2\\u00f4m\",\n      \"M\\u00e0y\\u025bs\\u00e8p\",\n      \"L\\u00ecbuy li \\u0144y\\u00e8e\"\n    ],\n    \"SHORTDAY\": [\n      \"n\\u0254y\",\n      \"nja\",\n      \"uum\",\n      \"\\u014bge\",\n      \"mb\\u0254\",\n      \"k\\u0254\\u0254\",\n      \"jon\"\n    ],\n    \"SHORTMONTH\": [\n      \"k\\u0254n\",\n      \"mac\",\n      \"mat\",\n      \"mto\",\n      \"mpu\",\n      \"hil\",\n      \"nje\",\n      \"hik\",\n      \"dip\",\n      \"bio\",\n      \"may\",\n      \"li\\u0253\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"bas-cm\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_bas.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"I bik\\u025b\\u0302gl\\u00e0\",\n      \"I \\u0253ugaj\\u0254p\"\n    ],\n    \"DAY\": [\n      \"\\u014bgw\\u00e0 n\\u0254\\u0302y\",\n      \"\\u014bgw\\u00e0 nja\\u014bgumba\",\n      \"\\u014bgw\\u00e0 \\u00fbm\",\n      \"\\u014bgw\\u00e0 \\u014bg\\u00ea\",\n      \"\\u014bgw\\u00e0 mb\\u0254k\",\n      \"\\u014bgw\\u00e0 k\\u0254\\u0254\",\n      \"\\u014bgw\\u00e0 j\\u00f4n\"\n    ],\n    \"ERANAMES\": [\n      \"bis\\u016b bi Yes\\u00f9 Kr\\u01d0st\\u00f2\",\n      \"i mb\\u016bs Yes\\u00f9 Kr\\u01d0st\\u00f2\"\n    ],\n    \"ERAS\": [\n      \"b.Y.K\",\n      \"m.Y.K\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"K\\u0254nd\\u0254\\u014b\",\n      \"M\\u00e0c\\u025b\\u0302l\",\n      \"M\\u00e0t\\u00f9mb\",\n      \"M\\u00e0top\",\n      \"M\\u0300puy\\u025b\",\n      \"H\\u00ecl\\u00f2nd\\u025b\\u0300\",\n      \"Nj\\u00e8b\\u00e0\",\n      \"H\\u00ecka\\u014b\",\n      \"D\\u00ecp\\u0254\\u0300s\",\n      \"B\\u00ec\\u00f2\\u00f4m\",\n      \"M\\u00e0y\\u025bs\\u00e8p\",\n      \"L\\u00ecbuy li \\u0144y\\u00e8e\"\n    ],\n    \"SHORTDAY\": [\n      \"n\\u0254y\",\n      \"nja\",\n      \"uum\",\n      \"\\u014bge\",\n      \"mb\\u0254\",\n      \"k\\u0254\\u0254\",\n      \"jon\"\n    ],\n    \"SHORTMONTH\": [\n      \"k\\u0254n\",\n      \"mac\",\n      \"mat\",\n      \"mto\",\n      \"mpu\",\n      \"hil\",\n      \"nje\",\n      \"hik\",\n      \"dip\",\n      \"bio\",\n      \"may\",\n      \"li\\u0253\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"bas\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_be-by.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0434\\u0430 \\u043f\\u0430\\u043b\\u0443\\u0434\\u043d\\u044f\",\n      \"\\u043f\\u0430\\u0441\\u043b\\u044f \\u043f\\u0430\\u043b\\u0443\\u0434\\u043d\\u044f\"\n    ],\n    \"DAY\": [\n      \"\\u043d\\u044f\\u0434\\u0437\\u0435\\u043b\\u044f\",\n      \"\\u043f\\u0430\\u043d\\u044f\\u0434\\u0437\\u0435\\u043b\\u0430\\u043a\",\n      \"\\u0430\\u045e\\u0442\\u043e\\u0440\\u0430\\u043a\",\n      \"\\u0441\\u0435\\u0440\\u0430\\u0434\\u0430\",\n      \"\\u0447\\u0430\\u0446\\u0432\\u0435\\u0440\",\n      \"\\u043f\\u044f\\u0442\\u043d\\u0456\\u0446\\u0430\",\n      \"\\u0441\\u0443\\u0431\\u043e\\u0442\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0434\\u0430 \\u043d.\\u044d.\",\n      \"\\u043d.\\u044d.\"\n    ],\n    \"ERAS\": [\n      \"\\u0434\\u0430 \\u043d.\\u044d.\",\n      \"\\u043d.\\u044d.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u0441\\u0442\\u0443\\u0434\\u0437\\u0435\\u043d\\u044f\",\n      \"\\u043b\\u044e\\u0442\\u0430\\u0433\\u0430\",\n      \"\\u0441\\u0430\\u043a\\u0430\\u0432\\u0456\\u043a\\u0430\",\n      \"\\u043a\\u0440\\u0430\\u0441\\u0430\\u0432\\u0456\\u043a\\u0430\",\n      \"\\u043c\\u0430\\u044f\",\n      \"\\u0447\\u044d\\u0440\\u0432\\u0435\\u043d\\u044f\",\n      \"\\u043b\\u0456\\u043f\\u0435\\u043d\\u044f\",\n      \"\\u0436\\u043d\\u0456\\u045e\\u043d\\u044f\",\n      \"\\u0432\\u0435\\u0440\\u0430\\u0441\\u043d\\u044f\",\n      \"\\u043a\\u0430\\u0441\\u0442\\u0440\\u044b\\u0447\\u043d\\u0456\\u043a\\u0430\",\n      \"\\u043b\\u0456\\u0441\\u0442\\u0430\\u043f\\u0430\\u0434\\u0430\",\n      \"\\u0441\\u043d\\u0435\\u0436\\u043d\\u044f\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u043d\\u0434\",\n      \"\\u043f\\u043d\",\n      \"\\u0430\\u045e\",\n      \"\\u0441\\u0440\",\n      \"\\u0447\\u0446\",\n      \"\\u043f\\u0442\",\n      \"\\u0441\\u0431\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0441\\u0442\\u0443\",\n      \"\\u043b\\u044e\\u0442\",\n      \"\\u0441\\u0430\\u043a\",\n      \"\\u043a\\u0440\\u0430\",\n      \"\\u043c\\u0430\\u044f\",\n      \"\\u0447\\u044d\\u0440\",\n      \"\\u043b\\u0456\\u043f\",\n      \"\\u0436\\u043d\\u0456\",\n      \"\\u0432\\u0435\\u0440\",\n      \"\\u043a\\u0430\\u0441\",\n      \"\\u043b\\u0456\\u0441\",\n      \"\\u0441\\u043d\\u0435\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d.M.y HH.mm.ss\",\n    \"mediumDate\": \"d.M.y\",\n    \"mediumTime\": \"HH.mm.ss\",\n    \"short\": \"d.M.yy HH.mm\",\n    \"shortDate\": \"d.M.yy\",\n    \"shortTime\": \"HH.mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"BYR\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"be-by\",\n  \"pluralCat\": function(n, opt_precision) {  if (n % 10 == 1 && n % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  if (n % 10 == 0 || n % 10 >= 5 && n % 10 <= 9 || n % 100 >= 11 && n % 100 <= 14) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_be.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0434\\u0430 \\u043f\\u0430\\u043b\\u0443\\u0434\\u043d\\u044f\",\n      \"\\u043f\\u0430\\u0441\\u043b\\u044f \\u043f\\u0430\\u043b\\u0443\\u0434\\u043d\\u044f\"\n    ],\n    \"DAY\": [\n      \"\\u043d\\u044f\\u0434\\u0437\\u0435\\u043b\\u044f\",\n      \"\\u043f\\u0430\\u043d\\u044f\\u0434\\u0437\\u0435\\u043b\\u0430\\u043a\",\n      \"\\u0430\\u045e\\u0442\\u043e\\u0440\\u0430\\u043a\",\n      \"\\u0441\\u0435\\u0440\\u0430\\u0434\\u0430\",\n      \"\\u0447\\u0430\\u0446\\u0432\\u0435\\u0440\",\n      \"\\u043f\\u044f\\u0442\\u043d\\u0456\\u0446\\u0430\",\n      \"\\u0441\\u0443\\u0431\\u043e\\u0442\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0434\\u0430 \\u043d.\\u044d.\",\n      \"\\u043d.\\u044d.\"\n    ],\n    \"ERAS\": [\n      \"\\u0434\\u0430 \\u043d.\\u044d.\",\n      \"\\u043d.\\u044d.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u0441\\u0442\\u0443\\u0434\\u0437\\u0435\\u043d\\u044f\",\n      \"\\u043b\\u044e\\u0442\\u0430\\u0433\\u0430\",\n      \"\\u0441\\u0430\\u043a\\u0430\\u0432\\u0456\\u043a\\u0430\",\n      \"\\u043a\\u0440\\u0430\\u0441\\u0430\\u0432\\u0456\\u043a\\u0430\",\n      \"\\u043c\\u0430\\u044f\",\n      \"\\u0447\\u044d\\u0440\\u0432\\u0435\\u043d\\u044f\",\n      \"\\u043b\\u0456\\u043f\\u0435\\u043d\\u044f\",\n      \"\\u0436\\u043d\\u0456\\u045e\\u043d\\u044f\",\n      \"\\u0432\\u0435\\u0440\\u0430\\u0441\\u043d\\u044f\",\n      \"\\u043a\\u0430\\u0441\\u0442\\u0440\\u044b\\u0447\\u043d\\u0456\\u043a\\u0430\",\n      \"\\u043b\\u0456\\u0441\\u0442\\u0430\\u043f\\u0430\\u0434\\u0430\",\n      \"\\u0441\\u043d\\u0435\\u0436\\u043d\\u044f\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u043d\\u0434\",\n      \"\\u043f\\u043d\",\n      \"\\u0430\\u045e\",\n      \"\\u0441\\u0440\",\n      \"\\u0447\\u0446\",\n      \"\\u043f\\u0442\",\n      \"\\u0441\\u0431\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0441\\u0442\\u0443\",\n      \"\\u043b\\u044e\\u0442\",\n      \"\\u0441\\u0430\\u043a\",\n      \"\\u043a\\u0440\\u0430\",\n      \"\\u043c\\u0430\\u044f\",\n      \"\\u0447\\u044d\\u0440\",\n      \"\\u043b\\u0456\\u043f\",\n      \"\\u0436\\u043d\\u0456\",\n      \"\\u0432\\u0435\\u0440\",\n      \"\\u043a\\u0430\\u0441\",\n      \"\\u043b\\u0456\\u0441\",\n      \"\\u0441\\u043d\\u0435\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d.M.y HH.mm.ss\",\n    \"mediumDate\": \"d.M.y\",\n    \"mediumTime\": \"HH.mm.ss\",\n    \"short\": \"d.M.yy HH.mm\",\n    \"shortDate\": \"d.M.yy\",\n    \"shortTime\": \"HH.mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"BYR\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"be\",\n  \"pluralCat\": function(n, opt_precision) {  if (n % 10 == 1 && n % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  if (n % 10 == 0 || n % 10 >= 5 && n % 10 <= 9 || n % 100 >= 11 && n % 100 <= 14) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_bem-zm.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"uluchelo\",\n      \"akasuba\"\n    ],\n    \"DAY\": [\n      \"Pa Mulungu\",\n      \"Palichimo\",\n      \"Palichibuli\",\n      \"Palichitatu\",\n      \"Palichine\",\n      \"Palichisano\",\n      \"Pachibelushi\"\n    ],\n    \"ERANAMES\": [\n      \"Before Yesu\",\n      \"After Yesu\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januari\",\n      \"Februari\",\n      \"Machi\",\n      \"Epreo\",\n      \"Mei\",\n      \"Juni\",\n      \"Julai\",\n      \"Ogasti\",\n      \"Septemba\",\n      \"Oktoba\",\n      \"Novemba\",\n      \"Disemba\"\n    ],\n    \"SHORTDAY\": [\n      \"Pa Mulungu\",\n      \"Palichimo\",\n      \"Palichibuli\",\n      \"Palichitatu\",\n      \"Palichine\",\n      \"Palichisano\",\n      \"Pachibelushi\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mac\",\n      \"Epr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Oga\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Dis\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"ZMW\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"bem-zm\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_bem.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"uluchelo\",\n      \"akasuba\"\n    ],\n    \"DAY\": [\n      \"Pa Mulungu\",\n      \"Palichimo\",\n      \"Palichibuli\",\n      \"Palichitatu\",\n      \"Palichine\",\n      \"Palichisano\",\n      \"Pachibelushi\"\n    ],\n    \"ERANAMES\": [\n      \"Before Yesu\",\n      \"After Yesu\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januari\",\n      \"Februari\",\n      \"Machi\",\n      \"Epreo\",\n      \"Mei\",\n      \"Juni\",\n      \"Julai\",\n      \"Ogasti\",\n      \"Septemba\",\n      \"Oktoba\",\n      \"Novemba\",\n      \"Disemba\"\n    ],\n    \"SHORTDAY\": [\n      \"Pa Mulungu\",\n      \"Palichimo\",\n      \"Palichibuli\",\n      \"Palichitatu\",\n      \"Palichine\",\n      \"Palichisano\",\n      \"Pachibelushi\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mac\",\n      \"Epr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Oga\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Dis\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"ZMW\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"bem\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_bez-tz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"pamilau\",\n      \"pamunyi\"\n    ],\n    \"DAY\": [\n      \"pa mulungu\",\n      \"pa shahuviluha\",\n      \"pa hivili\",\n      \"pa hidatu\",\n      \"pa hitayi\",\n      \"pa hihanu\",\n      \"pa shahulembela\"\n    ],\n    \"ERANAMES\": [\n      \"Kabla ya Mtwaa\",\n      \"Baada ya Mtwaa\"\n    ],\n    \"ERAS\": [\n      \"KM\",\n      \"BM\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"pa mwedzi gwa hutala\",\n      \"pa mwedzi gwa wuvili\",\n      \"pa mwedzi gwa wudatu\",\n      \"pa mwedzi gwa wutai\",\n      \"pa mwedzi gwa wuhanu\",\n      \"pa mwedzi gwa sita\",\n      \"pa mwedzi gwa saba\",\n      \"pa mwedzi gwa nane\",\n      \"pa mwedzi gwa tisa\",\n      \"pa mwedzi gwa kumi\",\n      \"pa mwedzi gwa kumi na moja\",\n      \"pa mwedzi gwa kumi na mbili\"\n    ],\n    \"SHORTDAY\": [\n      \"Mul\",\n      \"Vil\",\n      \"Hiv\",\n      \"Hid\",\n      \"Hit\",\n      \"Hih\",\n      \"Lem\"\n    ],\n    \"SHORTMONTH\": [\n      \"Hut\",\n      \"Vil\",\n      \"Dat\",\n      \"Tai\",\n      \"Han\",\n      \"Sit\",\n      \"Sab\",\n      \"Nan\",\n      \"Tis\",\n      \"Kum\",\n      \"Kmj\",\n      \"Kmb\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"TSh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"bez-tz\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_bez.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"pamilau\",\n      \"pamunyi\"\n    ],\n    \"DAY\": [\n      \"pa mulungu\",\n      \"pa shahuviluha\",\n      \"pa hivili\",\n      \"pa hidatu\",\n      \"pa hitayi\",\n      \"pa hihanu\",\n      \"pa shahulembela\"\n    ],\n    \"ERANAMES\": [\n      \"Kabla ya Mtwaa\",\n      \"Baada ya Mtwaa\"\n    ],\n    \"ERAS\": [\n      \"KM\",\n      \"BM\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"pa mwedzi gwa hutala\",\n      \"pa mwedzi gwa wuvili\",\n      \"pa mwedzi gwa wudatu\",\n      \"pa mwedzi gwa wutai\",\n      \"pa mwedzi gwa wuhanu\",\n      \"pa mwedzi gwa sita\",\n      \"pa mwedzi gwa saba\",\n      \"pa mwedzi gwa nane\",\n      \"pa mwedzi gwa tisa\",\n      \"pa mwedzi gwa kumi\",\n      \"pa mwedzi gwa kumi na moja\",\n      \"pa mwedzi gwa kumi na mbili\"\n    ],\n    \"SHORTDAY\": [\n      \"Mul\",\n      \"Vil\",\n      \"Hiv\",\n      \"Hid\",\n      \"Hit\",\n      \"Hih\",\n      \"Lem\"\n    ],\n    \"SHORTMONTH\": [\n      \"Hut\",\n      \"Vil\",\n      \"Dat\",\n      \"Tai\",\n      \"Han\",\n      \"Sit\",\n      \"Sab\",\n      \"Nan\",\n      \"Tis\",\n      \"Kum\",\n      \"Kmj\",\n      \"Kmb\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"TSh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"bez\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_bg-bg.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u043f\\u0440.\\u043e\\u0431.\",\n      \"\\u0441\\u043b.\\u043e\\u0431.\"\n    ],\n    \"DAY\": [\n      \"\\u043d\\u0435\\u0434\\u0435\\u043b\\u044f\",\n      \"\\u043f\\u043e\\u043d\\u0435\\u0434\\u0435\\u043b\\u043d\\u0438\\u043a\",\n      \"\\u0432\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\n      \"\\u0441\\u0440\\u044f\\u0434\\u0430\",\n      \"\\u0447\\u0435\\u0442\\u0432\\u044a\\u0440\\u0442\\u044a\\u043a\",\n      \"\\u043f\\u0435\\u0442\\u044a\\u043a\",\n      \"\\u0441\\u044a\\u0431\\u043e\\u0442\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u043f\\u0440\\u0435\\u0434\\u0438 \\u0425\\u0440\\u0438\\u0441\\u0442\\u0430\",\n      \"\\u0441\\u043b\\u0435\\u0434 \\u0425\\u0440\\u0438\\u0441\\u0442\\u0430\"\n    ],\n    \"ERAS\": [\n      \"\\u043f\\u0440.\\u0425\\u0440.\",\n      \"\\u0441\\u043b.\\u0425\\u0440.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u044f\\u043d\\u0443\\u0430\\u0440\\u0438\",\n      \"\\u0444\\u0435\\u0432\\u0440\\u0443\\u0430\\u0440\\u0438\",\n      \"\\u043c\\u0430\\u0440\\u0442\",\n      \"\\u0430\\u043f\\u0440\\u0438\\u043b\",\n      \"\\u043c\\u0430\\u0439\",\n      \"\\u044e\\u043d\\u0438\",\n      \"\\u044e\\u043b\\u0438\",\n      \"\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\",\n      \"\\u0441\\u0435\\u043f\\u0442\\u0435\\u043c\\u0432\\u0440\\u0438\",\n      \"\\u043e\\u043a\\u0442\\u043e\\u043c\\u0432\\u0440\\u0438\",\n      \"\\u043d\\u043e\\u0435\\u043c\\u0432\\u0440\\u0438\",\n      \"\\u0434\\u0435\\u043a\\u0435\\u043c\\u0432\\u0440\\u0438\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u043d\\u0434\",\n      \"\\u043f\\u043d\",\n      \"\\u0432\\u0442\",\n      \"\\u0441\\u0440\",\n      \"\\u0447\\u0442\",\n      \"\\u043f\\u0442\",\n      \"\\u0441\\u0431\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u044f\\u043d.\",\n      \"\\u0444\\u0435\\u0432\\u0440.\",\n      \"\\u043c\\u0430\\u0440\\u0442\",\n      \"\\u0430\\u043f\\u0440.\",\n      \"\\u043c\\u0430\\u0439\",\n      \"\\u044e\\u043d\\u0438\",\n      \"\\u044e\\u043b\\u0438\",\n      \"\\u0430\\u0432\\u0433.\",\n      \"\\u0441\\u0435\\u043f\\u0442.\",\n      \"\\u043e\\u043a\\u0442.\",\n      \"\\u043d\\u043e\\u0435\\u043c.\",\n      \"\\u0434\\u0435\\u043a.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y '\\u0433'.\",\n    \"longDate\": \"d MMMM y '\\u0433'.\",\n    \"medium\": \"d.MM.y '\\u0433'. H:mm:ss\",\n    \"mediumDate\": \"d.MM.y '\\u0433'.\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"d.MM.yy '\\u0433'. H:mm\",\n    \"shortDate\": \"d.MM.yy '\\u0433'.\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"lev\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"bg-bg\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_bg.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u043f\\u0440.\\u043e\\u0431.\",\n      \"\\u0441\\u043b.\\u043e\\u0431.\"\n    ],\n    \"DAY\": [\n      \"\\u043d\\u0435\\u0434\\u0435\\u043b\\u044f\",\n      \"\\u043f\\u043e\\u043d\\u0435\\u0434\\u0435\\u043b\\u043d\\u0438\\u043a\",\n      \"\\u0432\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\n      \"\\u0441\\u0440\\u044f\\u0434\\u0430\",\n      \"\\u0447\\u0435\\u0442\\u0432\\u044a\\u0440\\u0442\\u044a\\u043a\",\n      \"\\u043f\\u0435\\u0442\\u044a\\u043a\",\n      \"\\u0441\\u044a\\u0431\\u043e\\u0442\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u043f\\u0440\\u0435\\u0434\\u0438 \\u0425\\u0440\\u0438\\u0441\\u0442\\u0430\",\n      \"\\u0441\\u043b\\u0435\\u0434 \\u0425\\u0440\\u0438\\u0441\\u0442\\u0430\"\n    ],\n    \"ERAS\": [\n      \"\\u043f\\u0440.\\u0425\\u0440.\",\n      \"\\u0441\\u043b.\\u0425\\u0440.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u044f\\u043d\\u0443\\u0430\\u0440\\u0438\",\n      \"\\u0444\\u0435\\u0432\\u0440\\u0443\\u0430\\u0440\\u0438\",\n      \"\\u043c\\u0430\\u0440\\u0442\",\n      \"\\u0430\\u043f\\u0440\\u0438\\u043b\",\n      \"\\u043c\\u0430\\u0439\",\n      \"\\u044e\\u043d\\u0438\",\n      \"\\u044e\\u043b\\u0438\",\n      \"\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\",\n      \"\\u0441\\u0435\\u043f\\u0442\\u0435\\u043c\\u0432\\u0440\\u0438\",\n      \"\\u043e\\u043a\\u0442\\u043e\\u043c\\u0432\\u0440\\u0438\",\n      \"\\u043d\\u043e\\u0435\\u043c\\u0432\\u0440\\u0438\",\n      \"\\u0434\\u0435\\u043a\\u0435\\u043c\\u0432\\u0440\\u0438\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u043d\\u0434\",\n      \"\\u043f\\u043d\",\n      \"\\u0432\\u0442\",\n      \"\\u0441\\u0440\",\n      \"\\u0447\\u0442\",\n      \"\\u043f\\u0442\",\n      \"\\u0441\\u0431\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u044f\\u043d.\",\n      \"\\u0444\\u0435\\u0432\\u0440.\",\n      \"\\u043c\\u0430\\u0440\\u0442\",\n      \"\\u0430\\u043f\\u0440.\",\n      \"\\u043c\\u0430\\u0439\",\n      \"\\u044e\\u043d\\u0438\",\n      \"\\u044e\\u043b\\u0438\",\n      \"\\u0430\\u0432\\u0433.\",\n      \"\\u0441\\u0435\\u043f\\u0442.\",\n      \"\\u043e\\u043a\\u0442.\",\n      \"\\u043d\\u043e\\u0435\\u043c.\",\n      \"\\u0434\\u0435\\u043a.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y '\\u0433'.\",\n    \"longDate\": \"d MMMM y '\\u0433'.\",\n    \"medium\": \"d.MM.y '\\u0433'. H:mm:ss\",\n    \"mediumDate\": \"d.MM.y '\\u0433'.\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"d.MM.yy '\\u0433'. H:mm\",\n    \"shortDate\": \"d.MM.yy '\\u0433'.\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"lev\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"bg\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_bm-latn-ml.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"kari\",\n      \"nt\\u025bn\\u025b\",\n      \"tarata\",\n      \"araba\",\n      \"alamisa\",\n      \"juma\",\n      \"sibiri\"\n    ],\n    \"ERANAMES\": [\n      \"jezu krisiti \\u0272\\u025b\",\n      \"jezu krisiti mink\\u025b\"\n    ],\n    \"ERAS\": [\n      \"J.-C. \\u0272\\u025b\",\n      \"ni J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"zanwuye\",\n      \"feburuye\",\n      \"marisi\",\n      \"awirili\",\n      \"m\\u025b\",\n      \"zuw\\u025bn\",\n      \"zuluye\",\n      \"uti\",\n      \"s\\u025btanburu\",\n      \"\\u0254kut\\u0254buru\",\n      \"nowanburu\",\n      \"desanburu\"\n    ],\n    \"SHORTDAY\": [\n      \"kar\",\n      \"nt\\u025b\",\n      \"tar\",\n      \"ara\",\n      \"ala\",\n      \"jum\",\n      \"sib\"\n    ],\n    \"SHORTMONTH\": [\n      \"zan\",\n      \"feb\",\n      \"mar\",\n      \"awi\",\n      \"m\\u025b\",\n      \"zuw\",\n      \"zul\",\n      \"uti\",\n      \"s\\u025bt\",\n      \"\\u0254ku\",\n      \"now\",\n      \"des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CFA\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"bm-latn-ml\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_bm-latn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"kari\",\n      \"nt\\u025bn\\u025b\",\n      \"tarata\",\n      \"araba\",\n      \"alamisa\",\n      \"juma\",\n      \"sibiri\"\n    ],\n    \"ERANAMES\": [\n      \"jezu krisiti \\u0272\\u025b\",\n      \"jezu krisiti mink\\u025b\"\n    ],\n    \"ERAS\": [\n      \"J.-C. \\u0272\\u025b\",\n      \"ni J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"zanwuye\",\n      \"feburuye\",\n      \"marisi\",\n      \"awirili\",\n      \"m\\u025b\",\n      \"zuw\\u025bn\",\n      \"zuluye\",\n      \"uti\",\n      \"s\\u025btanburu\",\n      \"\\u0254kut\\u0254buru\",\n      \"nowanburu\",\n      \"desanburu\"\n    ],\n    \"SHORTDAY\": [\n      \"kar\",\n      \"nt\\u025b\",\n      \"tar\",\n      \"ara\",\n      \"ala\",\n      \"jum\",\n      \"sib\"\n    ],\n    \"SHORTMONTH\": [\n      \"zan\",\n      \"feb\",\n      \"mar\",\n      \"awi\",\n      \"m\\u025b\",\n      \"zuw\",\n      \"zul\",\n      \"uti\",\n      \"s\\u025bt\",\n      \"\\u0254ku\",\n      \"now\",\n      \"des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CFA\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"bm-latn\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_bm-ml.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"kari\",\n      \"nt\\u025bn\\u025b\",\n      \"tarata\",\n      \"araba\",\n      \"alamisa\",\n      \"juma\",\n      \"sibiri\"\n    ],\n    \"MONTH\": [\n      \"zanwuye\",\n      \"feburuye\",\n      \"marisi\",\n      \"awirili\",\n      \"m\\u025b\",\n      \"zuw\\u025bn\",\n      \"zuluye\",\n      \"uti\",\n      \"s\\u025btanburu\",\n      \"\\u0254kut\\u0254buru\",\n      \"nowanburu\",\n      \"desanburu\"\n    ],\n    \"SHORTDAY\": [\n      \"kar\",\n      \"nt\\u025b\",\n      \"tar\",\n      \"ara\",\n      \"ala\",\n      \"jum\",\n      \"sib\"\n    ],\n    \"SHORTMONTH\": [\n      \"zan\",\n      \"feb\",\n      \"mar\",\n      \"awi\",\n      \"m\\u025b\",\n      \"zuw\",\n      \"zul\",\n      \"uti\",\n      \"s\\u025bt\",\n      \"\\u0254ku\",\n      \"now\",\n      \"des\"\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CFA\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"bm-ml\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_bm.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"kari\",\n      \"nt\\u025bn\\u025b\",\n      \"tarata\",\n      \"araba\",\n      \"alamisa\",\n      \"juma\",\n      \"sibiri\"\n    ],\n    \"ERANAMES\": [\n      \"jezu krisiti \\u0272\\u025b\",\n      \"jezu krisiti mink\\u025b\"\n    ],\n    \"ERAS\": [\n      \"J.-C. \\u0272\\u025b\",\n      \"ni J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"zanwuye\",\n      \"feburuye\",\n      \"marisi\",\n      \"awirili\",\n      \"m\\u025b\",\n      \"zuw\\u025bn\",\n      \"zuluye\",\n      \"uti\",\n      \"s\\u025btanburu\",\n      \"\\u0254kut\\u0254buru\",\n      \"nowanburu\",\n      \"desanburu\"\n    ],\n    \"SHORTDAY\": [\n      \"kar\",\n      \"nt\\u025b\",\n      \"tar\",\n      \"ara\",\n      \"ala\",\n      \"jum\",\n      \"sib\"\n    ],\n    \"SHORTMONTH\": [\n      \"zan\",\n      \"feb\",\n      \"mar\",\n      \"awi\",\n      \"m\\u025b\",\n      \"zuw\",\n      \"zul\",\n      \"uti\",\n      \"s\\u025bt\",\n      \"\\u0254ku\",\n      \"now\",\n      \"des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CFA\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"bm\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_bn-bd.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"am\",\n      \"pm\"\n    ],\n    \"DAY\": [\n      \"\\u09b0\\u09ac\\u09bf\\u09ac\\u09be\\u09b0\",\n      \"\\u09b8\\u09cb\\u09ae\\u09ac\\u09be\\u09b0\",\n      \"\\u09ae\\u0999\\u09cd\\u0997\\u09b2\\u09ac\\u09be\\u09b0\",\n      \"\\u09ac\\u09c1\\u09a7\\u09ac\\u09be\\u09b0\",\n      \"\\u09ac\\u09c3\\u09b9\\u09b8\\u09cd\\u09aa\\u09a4\\u09bf\\u09ac\\u09be\\u09b0\",\n      \"\\u09b6\\u09c1\\u0995\\u09cd\\u09b0\\u09ac\\u09be\\u09b0\",\n      \"\\u09b6\\u09a8\\u09bf\\u09ac\\u09be\\u09b0\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0996\\u09cd\\u09b0\\u09bf\\u09b8\\u09cd\\u099f\\u09aa\\u09c2\\u09b0\\u09cd\\u09ac\",\n      \"\\u0996\\u09c3\\u09b7\\u09cd\\u099f\\u09be\\u09ac\\u09cd\\u09a6\"\n    ],\n    \"ERAS\": [\n      \"\\u0996\\u09cd\\u09b0\\u09bf\\u09b8\\u09cd\\u099f\\u09aa\\u09c2\\u09b0\\u09cd\\u09ac\",\n      \"\\u0996\\u09c3\\u09b7\\u09cd\\u099f\\u09be\\u09ac\\u09cd\\u09a6\"\n    ],\n    \"FIRSTDAYOFWEEK\": 4,\n    \"MONTH\": [\n      \"\\u099c\\u09be\\u09a8\\u09c1\\u09af\\u09bc\\u09be\\u09b0\\u09c0\",\n      \"\\u09ab\\u09c7\\u09ac\\u09cd\\u09b0\\u09c1\\u09af\\u09bc\\u09be\\u09b0\\u09c0\",\n      \"\\u09ae\\u09be\\u09b0\\u09cd\\u099a\",\n      \"\\u098f\\u09aa\\u09cd\\u09b0\\u09bf\\u09b2\",\n      \"\\u09ae\\u09c7\",\n      \"\\u099c\\u09c1\\u09a8\",\n      \"\\u099c\\u09c1\\u09b2\\u09be\\u0987\",\n      \"\\u0986\\u0997\\u09b8\\u09cd\\u099f\",\n      \"\\u09b8\\u09c7\\u09aa\\u09cd\\u099f\\u09c7\\u09ae\\u09cd\\u09ac\\u09b0\",\n      \"\\u0985\\u0995\\u09cd\\u099f\\u09cb\\u09ac\\u09b0\",\n      \"\\u09a8\\u09ad\\u09c7\\u09ae\\u09cd\\u09ac\\u09b0\",\n      \"\\u09a1\\u09bf\\u09b8\\u09c7\\u09ae\\u09cd\\u09ac\\u09b0\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u09b0\\u09ac\\u09bf\",\n      \"\\u09b8\\u09cb\\u09ae\",\n      \"\\u09ae\\u0999\\u09cd\\u0997\\u09b2\",\n      \"\\u09ac\\u09c1\\u09a7\",\n      \"\\u09ac\\u09c3\\u09b9\\u09b8\\u09cd\\u09aa\\u09a4\\u09bf\",\n      \"\\u09b6\\u09c1\\u0995\\u09cd\\u09b0\",\n      \"\\u09b6\\u09a8\\u09bf\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u099c\\u09be\\u09a8\\u09c1\\u09af\\u09bc\\u09be\\u09b0\\u09c0\",\n      \"\\u09ab\\u09c7\\u09ac\\u09cd\\u09b0\\u09c1\\u09af\\u09bc\\u09be\\u09b0\\u09c0\",\n      \"\\u09ae\\u09be\\u09b0\\u09cd\\u099a\",\n      \"\\u098f\\u09aa\\u09cd\\u09b0\\u09bf\\u09b2\",\n      \"\\u09ae\\u09c7\",\n      \"\\u099c\\u09c1\\u09a8\",\n      \"\\u099c\\u09c1\\u09b2\\u09be\\u0987\",\n      \"\\u0986\\u0997\\u09b8\\u09cd\\u099f\",\n      \"\\u09b8\\u09c7\\u09aa\\u09cd\\u099f\\u09c7\\u09ae\\u09cd\\u09ac\\u09b0\",\n      \"\\u0985\\u0995\\u09cd\\u099f\\u09cb\\u09ac\\u09b0\",\n      \"\\u09a8\\u09ad\\u09c7\\u09ae\\u09cd\\u09ac\\u09b0\",\n      \"\\u09a1\\u09bf\\u09b8\\u09c7\\u09ae\\u09cd\\u09ac\\u09b0\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM, y\",\n    \"longDate\": \"d MMMM, y\",\n    \"medium\": \"d MMM, y h:mm:ss a\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u09f3\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"bn-bd\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_bn-in.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"am\",\n      \"pm\"\n    ],\n    \"DAY\": [\n      \"\\u09b0\\u09ac\\u09bf\\u09ac\\u09be\\u09b0\",\n      \"\\u09b8\\u09cb\\u09ae\\u09ac\\u09be\\u09b0\",\n      \"\\u09ae\\u0999\\u09cd\\u0997\\u09b2\\u09ac\\u09be\\u09b0\",\n      \"\\u09ac\\u09c1\\u09a7\\u09ac\\u09be\\u09b0\",\n      \"\\u09ac\\u09c3\\u09b9\\u09b8\\u09cd\\u09aa\\u09a4\\u09bf\\u09ac\\u09be\\u09b0\",\n      \"\\u09b6\\u09c1\\u0995\\u09cd\\u09b0\\u09ac\\u09be\\u09b0\",\n      \"\\u09b6\\u09a8\\u09bf\\u09ac\\u09be\\u09b0\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0996\\u09cd\\u09b0\\u09bf\\u09b8\\u09cd\\u099f\\u09aa\\u09c2\\u09b0\\u09cd\\u09ac\",\n      \"\\u0996\\u09c3\\u09b7\\u09cd\\u099f\\u09be\\u09ac\\u09cd\\u09a6\"\n    ],\n    \"ERAS\": [\n      \"\\u0996\\u09cd\\u09b0\\u09bf\\u09b8\\u09cd\\u099f\\u09aa\\u09c2\\u09b0\\u09cd\\u09ac\",\n      \"\\u0996\\u09c3\\u09b7\\u09cd\\u099f\\u09be\\u09ac\\u09cd\\u09a6\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u099c\\u09be\\u09a8\\u09c1\\u09af\\u09bc\\u09be\\u09b0\\u09c0\",\n      \"\\u09ab\\u09c7\\u09ac\\u09cd\\u09b0\\u09c1\\u09af\\u09bc\\u09be\\u09b0\\u09c0\",\n      \"\\u09ae\\u09be\\u09b0\\u09cd\\u099a\",\n      \"\\u098f\\u09aa\\u09cd\\u09b0\\u09bf\\u09b2\",\n      \"\\u09ae\\u09c7\",\n      \"\\u099c\\u09c1\\u09a8\",\n      \"\\u099c\\u09c1\\u09b2\\u09be\\u0987\",\n      \"\\u0986\\u0997\\u09b8\\u09cd\\u099f\",\n      \"\\u09b8\\u09c7\\u09aa\\u09cd\\u099f\\u09c7\\u09ae\\u09cd\\u09ac\\u09b0\",\n      \"\\u0985\\u0995\\u09cd\\u099f\\u09cb\\u09ac\\u09b0\",\n      \"\\u09a8\\u09ad\\u09c7\\u09ae\\u09cd\\u09ac\\u09b0\",\n      \"\\u09a1\\u09bf\\u09b8\\u09c7\\u09ae\\u09cd\\u09ac\\u09b0\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u09b0\\u09ac\\u09bf\",\n      \"\\u09b8\\u09cb\\u09ae\",\n      \"\\u09ae\\u0999\\u09cd\\u0997\\u09b2\",\n      \"\\u09ac\\u09c1\\u09a7\",\n      \"\\u09ac\\u09c3\\u09b9\\u09b8\\u09cd\\u09aa\\u09a4\\u09bf\",\n      \"\\u09b6\\u09c1\\u0995\\u09cd\\u09b0\",\n      \"\\u09b6\\u09a8\\u09bf\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u099c\\u09be\\u09a8\\u09c1\\u09af\\u09bc\\u09be\\u09b0\\u09c0\",\n      \"\\u09ab\\u09c7\\u09ac\\u09cd\\u09b0\\u09c1\\u09af\\u09bc\\u09be\\u09b0\\u09c0\",\n      \"\\u09ae\\u09be\\u09b0\\u09cd\\u099a\",\n      \"\\u098f\\u09aa\\u09cd\\u09b0\\u09bf\\u09b2\",\n      \"\\u09ae\\u09c7\",\n      \"\\u099c\\u09c1\\u09a8\",\n      \"\\u099c\\u09c1\\u09b2\\u09be\\u0987\",\n      \"\\u0986\\u0997\\u09b8\\u09cd\\u099f\",\n      \"\\u09b8\\u09c7\\u09aa\\u09cd\\u099f\\u09c7\\u09ae\\u09cd\\u09ac\\u09b0\",\n      \"\\u0985\\u0995\\u09cd\\u099f\\u09cb\\u09ac\\u09b0\",\n      \"\\u09a8\\u09ad\\u09c7\\u09ae\\u09cd\\u09ac\\u09b0\",\n      \"\\u09a1\\u09bf\\u09b8\\u09c7\\u09ae\\u09cd\\u09ac\\u09b0\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM, y\",\n    \"longDate\": \"d MMMM, y\",\n    \"medium\": \"d MMM, y h:mm:ss a\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"bn-in\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_bn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"am\",\n      \"pm\"\n    ],\n    \"DAY\": [\n      \"\\u09b0\\u09ac\\u09bf\\u09ac\\u09be\\u09b0\",\n      \"\\u09b8\\u09cb\\u09ae\\u09ac\\u09be\\u09b0\",\n      \"\\u09ae\\u0999\\u09cd\\u0997\\u09b2\\u09ac\\u09be\\u09b0\",\n      \"\\u09ac\\u09c1\\u09a7\\u09ac\\u09be\\u09b0\",\n      \"\\u09ac\\u09c3\\u09b9\\u09b8\\u09cd\\u09aa\\u09a4\\u09bf\\u09ac\\u09be\\u09b0\",\n      \"\\u09b6\\u09c1\\u0995\\u09cd\\u09b0\\u09ac\\u09be\\u09b0\",\n      \"\\u09b6\\u09a8\\u09bf\\u09ac\\u09be\\u09b0\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0996\\u09cd\\u09b0\\u09bf\\u09b8\\u09cd\\u099f\\u09aa\\u09c2\\u09b0\\u09cd\\u09ac\",\n      \"\\u0996\\u09c3\\u09b7\\u09cd\\u099f\\u09be\\u09ac\\u09cd\\u09a6\"\n    ],\n    \"ERAS\": [\n      \"\\u0996\\u09cd\\u09b0\\u09bf\\u09b8\\u09cd\\u099f\\u09aa\\u09c2\\u09b0\\u09cd\\u09ac\",\n      \"\\u0996\\u09c3\\u09b7\\u09cd\\u099f\\u09be\\u09ac\\u09cd\\u09a6\"\n    ],\n    \"FIRSTDAYOFWEEK\": 4,\n    \"MONTH\": [\n      \"\\u099c\\u09be\\u09a8\\u09c1\\u09af\\u09bc\\u09be\\u09b0\\u09c0\",\n      \"\\u09ab\\u09c7\\u09ac\\u09cd\\u09b0\\u09c1\\u09af\\u09bc\\u09be\\u09b0\\u09c0\",\n      \"\\u09ae\\u09be\\u09b0\\u09cd\\u099a\",\n      \"\\u098f\\u09aa\\u09cd\\u09b0\\u09bf\\u09b2\",\n      \"\\u09ae\\u09c7\",\n      \"\\u099c\\u09c1\\u09a8\",\n      \"\\u099c\\u09c1\\u09b2\\u09be\\u0987\",\n      \"\\u0986\\u0997\\u09b8\\u09cd\\u099f\",\n      \"\\u09b8\\u09c7\\u09aa\\u09cd\\u099f\\u09c7\\u09ae\\u09cd\\u09ac\\u09b0\",\n      \"\\u0985\\u0995\\u09cd\\u099f\\u09cb\\u09ac\\u09b0\",\n      \"\\u09a8\\u09ad\\u09c7\\u09ae\\u09cd\\u09ac\\u09b0\",\n      \"\\u09a1\\u09bf\\u09b8\\u09c7\\u09ae\\u09cd\\u09ac\\u09b0\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u09b0\\u09ac\\u09bf\",\n      \"\\u09b8\\u09cb\\u09ae\",\n      \"\\u09ae\\u0999\\u09cd\\u0997\\u09b2\",\n      \"\\u09ac\\u09c1\\u09a7\",\n      \"\\u09ac\\u09c3\\u09b9\\u09b8\\u09cd\\u09aa\\u09a4\\u09bf\",\n      \"\\u09b6\\u09c1\\u0995\\u09cd\\u09b0\",\n      \"\\u09b6\\u09a8\\u09bf\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u099c\\u09be\\u09a8\\u09c1\\u09af\\u09bc\\u09be\\u09b0\\u09c0\",\n      \"\\u09ab\\u09c7\\u09ac\\u09cd\\u09b0\\u09c1\\u09af\\u09bc\\u09be\\u09b0\\u09c0\",\n      \"\\u09ae\\u09be\\u09b0\\u09cd\\u099a\",\n      \"\\u098f\\u09aa\\u09cd\\u09b0\\u09bf\\u09b2\",\n      \"\\u09ae\\u09c7\",\n      \"\\u099c\\u09c1\\u09a8\",\n      \"\\u099c\\u09c1\\u09b2\\u09be\\u0987\",\n      \"\\u0986\\u0997\\u09b8\\u09cd\\u099f\",\n      \"\\u09b8\\u09c7\\u09aa\\u09cd\\u099f\\u09c7\\u09ae\\u09cd\\u09ac\\u09b0\",\n      \"\\u0985\\u0995\\u09cd\\u099f\\u09cb\\u09ac\\u09b0\",\n      \"\\u09a8\\u09ad\\u09c7\\u09ae\\u09cd\\u09ac\\u09b0\",\n      \"\\u09a1\\u09bf\\u09b8\\u09c7\\u09ae\\u09cd\\u09ac\\u09b0\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM, y\",\n    \"longDate\": \"d MMMM, y\",\n    \"medium\": \"d MMM, y h:mm:ss a\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u09f3\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"bn\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_bo-cn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0f66\\u0f94\\u0f0b\\u0f51\\u0fb2\\u0f7c\\u0f0b\",\n      \"\\u0f55\\u0fb1\\u0f72\\u0f0b\\u0f51\\u0fb2\\u0f7c\\u0f0b\"\n    ],\n    \"DAY\": [\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f49\\u0f72\\u0f0b\\u0f58\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f58\\u0f72\\u0f42\\u0f0b\\u0f51\\u0f58\\u0f62\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f63\\u0fb7\\u0f42\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f55\\u0f74\\u0f62\\u0f0b\\u0f56\\u0f74\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f54\\u0f0b\\u0f66\\u0f44\\u0f66\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f66\\u0fa4\\u0f7a\\u0f53\\u0f0b\\u0f54\\u0f0b\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0f66\\u0fa4\\u0fb1\\u0f72\\u0f0b\\u0f63\\u0f7c\\u0f0b\\u0f66\\u0f94\\u0f7c\\u0f53\\u0f0d\",\n      \"\\u0f66\\u0fa4\\u0fb1\\u0f72\\u0f0b\\u0f63\\u0f7c\\u0f0d\"\n    ],\n    \"ERAS\": [\n      \"\\u0f66\\u0fa4\\u0fb1\\u0f72\\u0f0b\\u0f63\\u0f7c\\u0f0b\\u0f66\\u0f94\\u0f7c\\u0f53\\u0f0d\",\n      \"\\u0f66\\u0fa4\\u0fb1\\u0f72\\u0f0b\\u0f63\\u0f7c\\u0f0d\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f51\\u0f44\\u0f0b\\u0f54\\u0f7c\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f42\\u0f49\\u0f72\\u0f66\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f66\\u0f74\\u0f58\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f56\\u0f5e\\u0f72\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f63\\u0f94\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f51\\u0fb2\\u0f74\\u0f42\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f56\\u0f51\\u0f74\\u0f53\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f56\\u0f62\\u0f92\\u0fb1\\u0f51\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f51\\u0f42\\u0f74\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f56\\u0f45\\u0f74\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f56\\u0f45\\u0f74\\u0f0b\\u0f42\\u0f45\\u0f72\\u0f42\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f56\\u0f45\\u0f74\\u0f0b\\u0f42\\u0f49\\u0f72\\u0f66\\u0f0b\\u0f54\\u0f0b\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0f49\\u0f72\\u0f0b\\u0f58\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\",\n      \"\\u0f58\\u0f72\\u0f42\\u0f0b\\u0f51\\u0f58\\u0f62\\u0f0b\",\n      \"\\u0f63\\u0fb7\\u0f42\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f55\\u0f74\\u0f62\\u0f0b\\u0f56\\u0f74\\u0f0b\",\n      \"\\u0f54\\u0f0b\\u0f66\\u0f44\\u0f66\\u0f0b\",\n      \"\\u0f66\\u0fa4\\u0f7a\\u0f53\\u0f0b\\u0f54\\u0f0b\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f21\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f22\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f23\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f24\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f25\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f26\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f27\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f28\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f29\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f21\\u0f20\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f21\\u0f21\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f21\\u0f22\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"\\u0f66\\u0fa4\\u0fb1\\u0f72\\u0f0b\\u0f63\\u0f7c\\u0f0by MMMM\\u0f60\\u0f72\\u0f0b\\u0f59\\u0f7a\\u0f66\\u0f0bd\\u0f51\",\n    \"medium\": \"y \\u0f63\\u0f7c\\u0f0b\\u0f60\\u0f72\\u0f0bMMM\\u0f59\\u0f7a\\u0f66\\u0f0bd HH:mm:ss\",\n    \"mediumDate\": \"y \\u0f63\\u0f7c\\u0f0b\\u0f60\\u0f72\\u0f0bMMM\\u0f59\\u0f7a\\u0f66\\u0f0bd\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a5\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"bo-cn\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_bo-in.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0f66\\u0f94\\u0f0b\\u0f51\\u0fb2\\u0f7c\\u0f0b\",\n      \"\\u0f55\\u0fb1\\u0f72\\u0f0b\\u0f51\\u0fb2\\u0f7c\\u0f0b\"\n    ],\n    \"DAY\": [\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f49\\u0f72\\u0f0b\\u0f58\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f58\\u0f72\\u0f42\\u0f0b\\u0f51\\u0f58\\u0f62\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f63\\u0fb7\\u0f42\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f55\\u0f74\\u0f62\\u0f0b\\u0f56\\u0f74\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f54\\u0f0b\\u0f66\\u0f44\\u0f66\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f66\\u0fa4\\u0f7a\\u0f53\\u0f0b\\u0f54\\u0f0b\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0f66\\u0fa4\\u0fb1\\u0f72\\u0f0b\\u0f63\\u0f7c\\u0f0b\\u0f66\\u0f94\\u0f7c\\u0f53\\u0f0d\",\n      \"\\u0f66\\u0fa4\\u0fb1\\u0f72\\u0f0b\\u0f63\\u0f7c\\u0f0d\"\n    ],\n    \"ERAS\": [\n      \"\\u0f66\\u0fa4\\u0fb1\\u0f72\\u0f0b\\u0f63\\u0f7c\\u0f0b\\u0f66\\u0f94\\u0f7c\\u0f53\\u0f0d\",\n      \"\\u0f66\\u0fa4\\u0fb1\\u0f72\\u0f0b\\u0f63\\u0f7c\\u0f0d\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f51\\u0f44\\u0f0b\\u0f54\\u0f7c\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f42\\u0f49\\u0f72\\u0f66\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f66\\u0f74\\u0f58\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f56\\u0f5e\\u0f72\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f63\\u0f94\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f51\\u0fb2\\u0f74\\u0f42\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f56\\u0f51\\u0f74\\u0f53\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f56\\u0f62\\u0f92\\u0fb1\\u0f51\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f51\\u0f42\\u0f74\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f56\\u0f45\\u0f74\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f56\\u0f45\\u0f74\\u0f0b\\u0f42\\u0f45\\u0f72\\u0f42\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f56\\u0f45\\u0f74\\u0f0b\\u0f42\\u0f49\\u0f72\\u0f66\\u0f0b\\u0f54\\u0f0b\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0f49\\u0f72\\u0f0b\\u0f58\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\",\n      \"\\u0f58\\u0f72\\u0f42\\u0f0b\\u0f51\\u0f58\\u0f62\\u0f0b\",\n      \"\\u0f63\\u0fb7\\u0f42\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f55\\u0f74\\u0f62\\u0f0b\\u0f56\\u0f74\\u0f0b\",\n      \"\\u0f54\\u0f0b\\u0f66\\u0f44\\u0f66\\u0f0b\",\n      \"\\u0f66\\u0fa4\\u0f7a\\u0f53\\u0f0b\\u0f54\\u0f0b\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f21\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f22\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f23\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f24\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f25\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f26\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f27\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f28\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f29\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f21\\u0f20\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f21\\u0f21\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f21\\u0f22\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"\\u0f66\\u0fa4\\u0fb1\\u0f72\\u0f0b\\u0f63\\u0f7c\\u0f0by MMMM\\u0f60\\u0f72\\u0f0b\\u0f59\\u0f7a\\u0f66\\u0f0bd\\u0f51\",\n    \"medium\": \"y \\u0f63\\u0f7c\\u0f0b\\u0f60\\u0f72\\u0f0bMMM\\u0f59\\u0f7a\\u0f66\\u0f0bd HH:mm:ss\",\n    \"mediumDate\": \"y \\u0f63\\u0f7c\\u0f0b\\u0f60\\u0f72\\u0f0bMMM\\u0f59\\u0f7a\\u0f66\\u0f0bd\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"bo-in\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_bo.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0f66\\u0f94\\u0f0b\\u0f51\\u0fb2\\u0f7c\\u0f0b\",\n      \"\\u0f55\\u0fb1\\u0f72\\u0f0b\\u0f51\\u0fb2\\u0f7c\\u0f0b\"\n    ],\n    \"DAY\": [\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f49\\u0f72\\u0f0b\\u0f58\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f58\\u0f72\\u0f42\\u0f0b\\u0f51\\u0f58\\u0f62\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f63\\u0fb7\\u0f42\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f55\\u0f74\\u0f62\\u0f0b\\u0f56\\u0f74\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f54\\u0f0b\\u0f66\\u0f44\\u0f66\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f66\\u0fa4\\u0f7a\\u0f53\\u0f0b\\u0f54\\u0f0b\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0f66\\u0fa4\\u0fb1\\u0f72\\u0f0b\\u0f63\\u0f7c\\u0f0b\\u0f66\\u0f94\\u0f7c\\u0f53\\u0f0d\",\n      \"\\u0f66\\u0fa4\\u0fb1\\u0f72\\u0f0b\\u0f63\\u0f7c\\u0f0d\"\n    ],\n    \"ERAS\": [\n      \"\\u0f66\\u0fa4\\u0fb1\\u0f72\\u0f0b\\u0f63\\u0f7c\\u0f0b\\u0f66\\u0f94\\u0f7c\\u0f53\\u0f0d\",\n      \"\\u0f66\\u0fa4\\u0fb1\\u0f72\\u0f0b\\u0f63\\u0f7c\\u0f0d\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f51\\u0f44\\u0f0b\\u0f54\\u0f7c\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f42\\u0f49\\u0f72\\u0f66\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f66\\u0f74\\u0f58\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f56\\u0f5e\\u0f72\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f63\\u0f94\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f51\\u0fb2\\u0f74\\u0f42\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f56\\u0f51\\u0f74\\u0f53\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f56\\u0f62\\u0f92\\u0fb1\\u0f51\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f51\\u0f42\\u0f74\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f56\\u0f45\\u0f74\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f56\\u0f45\\u0f74\\u0f0b\\u0f42\\u0f45\\u0f72\\u0f42\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f56\\u0f45\\u0f74\\u0f0b\\u0f42\\u0f49\\u0f72\\u0f66\\u0f0b\\u0f54\\u0f0b\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0f49\\u0f72\\u0f0b\\u0f58\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\",\n      \"\\u0f58\\u0f72\\u0f42\\u0f0b\\u0f51\\u0f58\\u0f62\\u0f0b\",\n      \"\\u0f63\\u0fb7\\u0f42\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f55\\u0f74\\u0f62\\u0f0b\\u0f56\\u0f74\\u0f0b\",\n      \"\\u0f54\\u0f0b\\u0f66\\u0f44\\u0f66\\u0f0b\",\n      \"\\u0f66\\u0fa4\\u0f7a\\u0f53\\u0f0b\\u0f54\\u0f0b\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f21\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f22\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f23\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f24\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f25\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f26\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f27\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f28\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f29\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f21\\u0f20\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f21\\u0f21\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f21\\u0f22\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"\\u0f66\\u0fa4\\u0fb1\\u0f72\\u0f0b\\u0f63\\u0f7c\\u0f0by MMMM\\u0f60\\u0f72\\u0f0b\\u0f59\\u0f7a\\u0f66\\u0f0bd\\u0f51\",\n    \"medium\": \"y \\u0f63\\u0f7c\\u0f0b\\u0f60\\u0f72\\u0f0bMMM\\u0f59\\u0f7a\\u0f66\\u0f0bd HH:mm:ss\",\n    \"mediumDate\": \"y \\u0f63\\u0f7c\\u0f0b\\u0f60\\u0f72\\u0f0bMMM\\u0f59\\u0f7a\\u0f66\\u0f0bd\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a5\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"bo\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_br-fr.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"A.M.\",\n      \"G.M.\"\n    ],\n    \"DAY\": [\n      \"Sul\",\n      \"Lun\",\n      \"Meurzh\",\n      \"Merc\\u02bcher\",\n      \"Yaou\",\n      \"Gwener\",\n      \"Sadorn\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Genver\",\n      \"C\\u02bchwevrer\",\n      \"Meurzh\",\n      \"Ebrel\",\n      \"Mae\",\n      \"Mezheven\",\n      \"Gouere\",\n      \"Eost\",\n      \"Gwengolo\",\n      \"Here\",\n      \"Du\",\n      \"Kerzu\"\n    ],\n    \"SHORTDAY\": [\n      \"Sul\",\n      \"Lun\",\n      \"Meu.\",\n      \"Mer.\",\n      \"Yaou\",\n      \"Gwe.\",\n      \"Sad.\"\n    ],\n    \"SHORTMONTH\": [\n      \"Gen\",\n      \"C\\u02bchwe\",\n      \"Meur\",\n      \"Ebr\",\n      \"Mae\",\n      \"Mezh\",\n      \"Goue\",\n      \"Eost\",\n      \"Gwen\",\n      \"Here\",\n      \"Du\",\n      \"Ker\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"br-fr\",\n  \"pluralCat\": function(n, opt_precision) {  if (n % 10 == 1 && n % 100 != 11 && n % 100 != 71 && n % 100 != 91) {    return PLURAL_CATEGORY.ONE;  }  if (n % 10 == 2 && n % 100 != 12 && n % 100 != 72 && n % 100 != 92) {    return PLURAL_CATEGORY.TWO;  }  if ((n % 10 >= 3 && n % 10 <= 4 || n % 10 == 9) && (n % 100 < 10 || n % 100 > 19) && (n % 100 < 70 || n % 100 > 79) && (n % 100 < 90 || n % 100 > 99)) {    return PLURAL_CATEGORY.FEW;  }  if (n != 0 && n % 1000000 == 0) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_br.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"A.M.\",\n      \"G.M.\"\n    ],\n    \"DAY\": [\n      \"Sul\",\n      \"Lun\",\n      \"Meurzh\",\n      \"Merc\\u02bcher\",\n      \"Yaou\",\n      \"Gwener\",\n      \"Sadorn\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Genver\",\n      \"C\\u02bchwevrer\",\n      \"Meurzh\",\n      \"Ebrel\",\n      \"Mae\",\n      \"Mezheven\",\n      \"Gouere\",\n      \"Eost\",\n      \"Gwengolo\",\n      \"Here\",\n      \"Du\",\n      \"Kerzu\"\n    ],\n    \"SHORTDAY\": [\n      \"Sul\",\n      \"Lun\",\n      \"Meu.\",\n      \"Mer.\",\n      \"Yaou\",\n      \"Gwe.\",\n      \"Sad.\"\n    ],\n    \"SHORTMONTH\": [\n      \"Gen\",\n      \"C\\u02bchwe\",\n      \"Meur\",\n      \"Ebr\",\n      \"Mae\",\n      \"Mezh\",\n      \"Goue\",\n      \"Eost\",\n      \"Gwen\",\n      \"Here\",\n      \"Du\",\n      \"Ker\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"br\",\n  \"pluralCat\": function(n, opt_precision) {  if (n % 10 == 1 && n % 100 != 11 && n % 100 != 71 && n % 100 != 91) {    return PLURAL_CATEGORY.ONE;  }  if (n % 10 == 2 && n % 100 != 12 && n % 100 != 72 && n % 100 != 92) {    return PLURAL_CATEGORY.TWO;  }  if ((n % 10 >= 3 && n % 10 <= 4 || n % 10 == 9) && (n % 100 < 10 || n % 100 > 19) && (n % 100 < 70 || n % 100 > 79) && (n % 100 < 90 || n % 100 > 99)) {    return PLURAL_CATEGORY.FEW;  }  if (n != 0 && n % 1000000 == 0) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_brx-in.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u092b\\u0941\\u0902\",\n      \"\\u092c\\u0947\\u0932\\u093e\\u0938\\u0947\"\n    ],\n    \"DAY\": [\n      \"\\u0930\\u092c\\u093f\\u092c\\u093e\\u0930\",\n      \"\\u0938\\u092e\\u092c\\u093e\\u0930\",\n      \"\\u092e\\u0902\\u0917\\u0932\\u092c\\u093e\\u0930\",\n      \"\\u092c\\u0941\\u0926\\u092c\\u093e\\u0930\",\n      \"\\u092c\\u093f\\u0938\\u0925\\u093f\\u092c\\u093e\\u0930\",\n      \"\\u0938\\u0941\\u0916\\u0941\\u0930\\u092c\\u093e\\u0930\",\n      \"\\u0938\\u0941\\u0928\\u093f\\u092c\\u093e\\u0930\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0908\\u0938\\u093e.\\u092a\\u0942\\u0930\\u094d\\u0935\",\n      \"\\u0938\\u0928\"\n    ],\n    \"ERAS\": [\n      \"\\u0908\\u0938\\u093e.\\u092a\\u0942\\u0930\\u094d\\u0935\",\n      \"\\u0938\\u0928\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u091c\\u093e\\u0928\\u0941\\u0935\\u093e\\u0930\\u0940\",\n      \"\\u092b\\u0947\\u092c\\u094d\\u0930\\u0941\\u0935\\u093e\\u0930\\u0940\",\n      \"\\u092e\\u093e\\u0930\\u094d\\u0938\",\n      \"\\u090f\\u092b\\u094d\\u0930\\u093f\\u0932\",\n      \"\\u092e\\u0947\",\n      \"\\u091c\\u0941\\u0928\",\n      \"\\u091c\\u0941\\u0932\\u093e\\u0907\",\n      \"\\u0906\\u0917\\u0938\\u094d\\u0925\",\n      \"\\u0938\\u0947\\u092c\\u0925\\u0947\\u091c\\u094d\\u092c\\u093c\\u0930\",\n      \"\\u0905\\u0916\\u0925\\u092c\\u0930\",\n      \"\\u0928\\u092c\\u0947\\u091c\\u094d\\u092c\\u093c\\u0930\",\n      \"\\u0926\\u093f\\u0938\\u0947\\u091c\\u094d\\u092c\\u093c\\u0930\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0930\\u092c\\u093f\",\n      \"\\u0938\\u092e\",\n      \"\\u092e\\u0902\\u0917\\u0932\",\n      \"\\u092c\\u0941\\u0926\",\n      \"\\u092c\\u093f\\u0938\\u0925\\u093f\",\n      \"\\u0938\\u0941\\u0916\\u0941\\u0930\",\n      \"\\u0938\\u0941\\u0928\\u093f\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u091c\\u093e\\u0928\\u0941\\u0935\\u093e\\u0930\\u0940\",\n      \"\\u092b\\u0947\\u092c\\u094d\\u0930\\u0941\\u0935\\u093e\\u0930\\u0940\",\n      \"\\u092e\\u093e\\u0930\\u094d\\u0938\",\n      \"\\u090f\\u092b\\u094d\\u0930\\u093f\\u0932\",\n      \"\\u092e\\u0947\",\n      \"\\u091c\\u0941\\u0928\",\n      \"\\u091c\\u0941\\u0932\\u093e\\u0907\",\n      \"\\u0906\\u0917\\u0938\\u094d\\u0925\",\n      \"\\u0938\\u0947\\u092c\\u0925\\u0947\\u091c\\u094d\\u092c\\u093c\\u0930\",\n      \"\\u0905\\u0916\\u0925\\u092c\\u0930\",\n      \"\\u0928\\u092c\\u0947\\u091c\\u094d\\u092c\\u093c\\u0930\",\n      \"\\u0926\\u093f\\u0938\\u0947\\u091c\\u094d\\u092c\\u093c\\u0930\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"MMMM d, y\",\n    \"medium\": \"MMM d, y h:mm:ss a\",\n    \"mediumDate\": \"MMM d, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"M/d/yy h:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"brx-in\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_brx.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u092b\\u0941\\u0902\",\n      \"\\u092c\\u0947\\u0932\\u093e\\u0938\\u0947\"\n    ],\n    \"DAY\": [\n      \"\\u0930\\u092c\\u093f\\u092c\\u093e\\u0930\",\n      \"\\u0938\\u092e\\u092c\\u093e\\u0930\",\n      \"\\u092e\\u0902\\u0917\\u0932\\u092c\\u093e\\u0930\",\n      \"\\u092c\\u0941\\u0926\\u092c\\u093e\\u0930\",\n      \"\\u092c\\u093f\\u0938\\u0925\\u093f\\u092c\\u093e\\u0930\",\n      \"\\u0938\\u0941\\u0916\\u0941\\u0930\\u092c\\u093e\\u0930\",\n      \"\\u0938\\u0941\\u0928\\u093f\\u092c\\u093e\\u0930\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0908\\u0938\\u093e.\\u092a\\u0942\\u0930\\u094d\\u0935\",\n      \"\\u0938\\u0928\"\n    ],\n    \"ERAS\": [\n      \"\\u0908\\u0938\\u093e.\\u092a\\u0942\\u0930\\u094d\\u0935\",\n      \"\\u0938\\u0928\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u091c\\u093e\\u0928\\u0941\\u0935\\u093e\\u0930\\u0940\",\n      \"\\u092b\\u0947\\u092c\\u094d\\u0930\\u0941\\u0935\\u093e\\u0930\\u0940\",\n      \"\\u092e\\u093e\\u0930\\u094d\\u0938\",\n      \"\\u090f\\u092b\\u094d\\u0930\\u093f\\u0932\",\n      \"\\u092e\\u0947\",\n      \"\\u091c\\u0941\\u0928\",\n      \"\\u091c\\u0941\\u0932\\u093e\\u0907\",\n      \"\\u0906\\u0917\\u0938\\u094d\\u0925\",\n      \"\\u0938\\u0947\\u092c\\u0925\\u0947\\u091c\\u094d\\u092c\\u093c\\u0930\",\n      \"\\u0905\\u0916\\u0925\\u092c\\u0930\",\n      \"\\u0928\\u092c\\u0947\\u091c\\u094d\\u092c\\u093c\\u0930\",\n      \"\\u0926\\u093f\\u0938\\u0947\\u091c\\u094d\\u092c\\u093c\\u0930\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0930\\u092c\\u093f\",\n      \"\\u0938\\u092e\",\n      \"\\u092e\\u0902\\u0917\\u0932\",\n      \"\\u092c\\u0941\\u0926\",\n      \"\\u092c\\u093f\\u0938\\u0925\\u093f\",\n      \"\\u0938\\u0941\\u0916\\u0941\\u0930\",\n      \"\\u0938\\u0941\\u0928\\u093f\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u091c\\u093e\\u0928\\u0941\\u0935\\u093e\\u0930\\u0940\",\n      \"\\u092b\\u0947\\u092c\\u094d\\u0930\\u0941\\u0935\\u093e\\u0930\\u0940\",\n      \"\\u092e\\u093e\\u0930\\u094d\\u0938\",\n      \"\\u090f\\u092b\\u094d\\u0930\\u093f\\u0932\",\n      \"\\u092e\\u0947\",\n      \"\\u091c\\u0941\\u0928\",\n      \"\\u091c\\u0941\\u0932\\u093e\\u0907\",\n      \"\\u0906\\u0917\\u0938\\u094d\\u0925\",\n      \"\\u0938\\u0947\\u092c\\u0925\\u0947\\u091c\\u094d\\u092c\\u093c\\u0930\",\n      \"\\u0905\\u0916\\u0925\\u092c\\u0930\",\n      \"\\u0928\\u092c\\u0947\\u091c\\u094d\\u092c\\u093c\\u0930\",\n      \"\\u0926\\u093f\\u0938\\u0947\\u091c\\u094d\\u092c\\u093c\\u0930\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"MMMM d, y\",\n    \"medium\": \"MMM d, y h:mm:ss a\",\n    \"mediumDate\": \"MMM d, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"M/d/yy h:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"brx\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_bs-cyrl-ba.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u043f\\u0440\\u0435 \\u043f\\u043e\\u0434\\u043d\\u0435\",\n      \"\\u043f\\u043e\\u043f\\u043e\\u0434\\u043d\\u0435\"\n    ],\n    \"DAY\": [\n      \"\\u043d\\u0435\\u0434\\u0435\\u0459\\u0430\",\n      \"\\u043f\\u043e\\u043d\\u0435\\u0434\\u0435\\u0459\\u0430\\u043a\",\n      \"\\u0443\\u0442\\u043e\\u0440\\u0430\\u043a\",\n      \"\\u0441\\u0440\\u0438\\u0458\\u0435\\u0434\\u0430\",\n      \"\\u0447\\u0435\\u0442\\u0432\\u0440\\u0442\\u0430\\u043a\",\n      \"\\u043f\\u0435\\u0442\\u0430\\u043a\",\n      \"\\u0441\\u0443\\u0431\\u043e\\u0442\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u041f\\u0440\\u0435 \\u043d\\u043e\\u0432\\u0435 \\u0435\\u0440\\u0435\",\n      \"\\u041d\\u043e\\u0432\\u0435 \\u0435\\u0440\\u0435\"\n    ],\n    \"ERAS\": [\n      \"\\u043f. \\u043d. \\u0435.\",\n      \"\\u043d. \\u0435.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u0458\\u0430\\u043d\\u0443\\u0430\\u0440\",\n      \"\\u0444\\u0435\\u0431\\u0440\\u0443\\u0430\\u0440\",\n      \"\\u043c\\u0430\\u0440\\u0442\",\n      \"\\u0430\\u043f\\u0440\\u0438\\u043b\",\n      \"\\u043c\\u0430\\u0458\",\n      \"\\u0458\\u0443\\u043d\\u0438\",\n      \"\\u0458\\u0443\\u043b\\u0438\",\n      \"\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\",\n      \"\\u0441\\u0435\\u043f\\u0442\\u0435\\u043c\\u0431\\u0430\\u0440\",\n      \"\\u043e\\u043a\\u0442\\u043e\\u0431\\u0430\\u0440\",\n      \"\\u043d\\u043e\\u0432\\u0435\\u043c\\u0431\\u0430\\u0440\",\n      \"\\u0434\\u0435\\u0446\\u0435\\u043c\\u0431\\u0430\\u0440\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u043d\\u0435\\u0434\",\n      \"\\u043f\\u043e\\u043d\",\n      \"\\u0443\\u0442\\u043e\",\n      \"\\u0441\\u0440\\u0438\",\n      \"\\u0447\\u0435\\u0442\",\n      \"\\u043f\\u0435\\u0442\",\n      \"\\u0441\\u0443\\u0431\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0458\\u0430\\u043d\",\n      \"\\u0444\\u0435\\u0431\",\n      \"\\u043c\\u0430\\u0440\",\n      \"\\u0430\\u043f\\u0440\",\n      \"\\u043c\\u0430\\u0458\",\n      \"\\u0458\\u0443\\u043d\",\n      \"\\u0458\\u0443\\u043b\",\n      \"\\u0430\\u0432\\u0433\",\n      \"\\u0441\\u0435\\u043f\",\n      \"\\u043e\\u043a\\u0442\",\n      \"\\u043d\\u043e\\u0432\",\n      \"\\u0434\\u0435\\u0446\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd. MMMM y.\",\n    \"longDate\": \"dd. MMMM y.\",\n    \"medium\": \"dd.MM.y. HH:mm:ss\",\n    \"mediumDate\": \"dd.MM.y.\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d.M.yy. HH:mm\",\n    \"shortDate\": \"d.M.yy.\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"KM\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"bs-cyrl-ba\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_bs-cyrl.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u043f\\u0440\\u0435 \\u043f\\u043e\\u0434\\u043d\\u0435\",\n      \"\\u043f\\u043e\\u043f\\u043e\\u0434\\u043d\\u0435\"\n    ],\n    \"DAY\": [\n      \"\\u043d\\u0435\\u0434\\u0435\\u0459\\u0430\",\n      \"\\u043f\\u043e\\u043d\\u0435\\u0434\\u0435\\u0459\\u0430\\u043a\",\n      \"\\u0443\\u0442\\u043e\\u0440\\u0430\\u043a\",\n      \"\\u0441\\u0440\\u0438\\u0458\\u0435\\u0434\\u0430\",\n      \"\\u0447\\u0435\\u0442\\u0432\\u0440\\u0442\\u0430\\u043a\",\n      \"\\u043f\\u0435\\u0442\\u0430\\u043a\",\n      \"\\u0441\\u0443\\u0431\\u043e\\u0442\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u041f\\u0440\\u0435 \\u043d\\u043e\\u0432\\u0435 \\u0435\\u0440\\u0435\",\n      \"\\u041d\\u043e\\u0432\\u0435 \\u0435\\u0440\\u0435\"\n    ],\n    \"ERAS\": [\n      \"\\u043f. \\u043d. \\u0435.\",\n      \"\\u043d. \\u0435.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u0458\\u0430\\u043d\\u0443\\u0430\\u0440\",\n      \"\\u0444\\u0435\\u0431\\u0440\\u0443\\u0430\\u0440\",\n      \"\\u043c\\u0430\\u0440\\u0442\",\n      \"\\u0430\\u043f\\u0440\\u0438\\u043b\",\n      \"\\u043c\\u0430\\u0458\",\n      \"\\u0458\\u0443\\u043d\\u0438\",\n      \"\\u0458\\u0443\\u043b\\u0438\",\n      \"\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\",\n      \"\\u0441\\u0435\\u043f\\u0442\\u0435\\u043c\\u0431\\u0430\\u0440\",\n      \"\\u043e\\u043a\\u0442\\u043e\\u0431\\u0430\\u0440\",\n      \"\\u043d\\u043e\\u0432\\u0435\\u043c\\u0431\\u0430\\u0440\",\n      \"\\u0434\\u0435\\u0446\\u0435\\u043c\\u0431\\u0430\\u0440\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u043d\\u0435\\u0434\",\n      \"\\u043f\\u043e\\u043d\",\n      \"\\u0443\\u0442\\u043e\",\n      \"\\u0441\\u0440\\u0438\",\n      \"\\u0447\\u0435\\u0442\",\n      \"\\u043f\\u0435\\u0442\",\n      \"\\u0441\\u0443\\u0431\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0458\\u0430\\u043d\",\n      \"\\u0444\\u0435\\u0431\",\n      \"\\u043c\\u0430\\u0440\",\n      \"\\u0430\\u043f\\u0440\",\n      \"\\u043c\\u0430\\u0458\",\n      \"\\u0458\\u0443\\u043d\",\n      \"\\u0458\\u0443\\u043b\",\n      \"\\u0430\\u0432\\u0433\",\n      \"\\u0441\\u0435\\u043f\",\n      \"\\u043e\\u043a\\u0442\",\n      \"\\u043d\\u043e\\u0432\",\n      \"\\u0434\\u0435\\u0446\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd. MMMM y.\",\n    \"longDate\": \"dd. MMMM y.\",\n    \"medium\": \"dd.MM.y. HH:mm:ss\",\n    \"mediumDate\": \"dd.MM.y.\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d.M.yy. HH:mm\",\n    \"shortDate\": \"d.M.yy.\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"KM\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"bs-cyrl\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_bs-latn-ba.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"prije podne\",\n      \"popodne\"\n    ],\n    \"DAY\": [\n      \"nedjelja\",\n      \"ponedjeljak\",\n      \"utorak\",\n      \"srijeda\",\n      \"\\u010detvrtak\",\n      \"petak\",\n      \"subota\"\n    ],\n    \"ERANAMES\": [\n      \"Prije nove ere\",\n      \"Nove ere\"\n    ],\n    \"ERAS\": [\n      \"p. n. e.\",\n      \"n. e.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januar\",\n      \"februar\",\n      \"mart\",\n      \"april\",\n      \"maj\",\n      \"juni\",\n      \"juli\",\n      \"august\",\n      \"septembar\",\n      \"oktobar\",\n      \"novembar\",\n      \"decembar\"\n    ],\n    \"SHORTDAY\": [\n      \"ned\",\n      \"pon\",\n      \"uto\",\n      \"sri\",\n      \"\\u010det\",\n      \"pet\",\n      \"sub\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"feb\",\n      \"mar\",\n      \"apr\",\n      \"maj\",\n      \"jun\",\n      \"jul\",\n      \"aug\",\n      \"sep\",\n      \"okt\",\n      \"nov\",\n      \"dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd. MMMM y.\",\n    \"longDate\": \"dd. MMMM y.\",\n    \"medium\": \"dd. MMM. y. HH:mm:ss\",\n    \"mediumDate\": \"dd. MMM. y.\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy. HH:mm\",\n    \"shortDate\": \"dd.MM.yy.\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"KM\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"bs-latn-ba\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_bs-latn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"prije podne\",\n      \"popodne\"\n    ],\n    \"DAY\": [\n      \"nedjelja\",\n      \"ponedjeljak\",\n      \"utorak\",\n      \"srijeda\",\n      \"\\u010detvrtak\",\n      \"petak\",\n      \"subota\"\n    ],\n    \"ERANAMES\": [\n      \"Prije nove ere\",\n      \"Nove ere\"\n    ],\n    \"ERAS\": [\n      \"p. n. e.\",\n      \"n. e.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januar\",\n      \"februar\",\n      \"mart\",\n      \"april\",\n      \"maj\",\n      \"juni\",\n      \"juli\",\n      \"august\",\n      \"septembar\",\n      \"oktobar\",\n      \"novembar\",\n      \"decembar\"\n    ],\n    \"SHORTDAY\": [\n      \"ned\",\n      \"pon\",\n      \"uto\",\n      \"sri\",\n      \"\\u010det\",\n      \"pet\",\n      \"sub\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"feb\",\n      \"mar\",\n      \"apr\",\n      \"maj\",\n      \"jun\",\n      \"jul\",\n      \"aug\",\n      \"sep\",\n      \"okt\",\n      \"nov\",\n      \"dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd. MMMM y.\",\n    \"longDate\": \"dd. MMMM y.\",\n    \"medium\": \"dd. MMM. y. HH:mm:ss\",\n    \"mediumDate\": \"dd. MMM. y.\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy. HH:mm\",\n    \"shortDate\": \"dd.MM.yy.\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"KM\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"bs-latn\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_bs.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"prije podne\",\n      \"popodne\"\n    ],\n    \"DAY\": [\n      \"nedjelja\",\n      \"ponedjeljak\",\n      \"utorak\",\n      \"srijeda\",\n      \"\\u010detvrtak\",\n      \"petak\",\n      \"subota\"\n    ],\n    \"ERANAMES\": [\n      \"Prije nove ere\",\n      \"Nove ere\"\n    ],\n    \"ERAS\": [\n      \"p. n. e.\",\n      \"n. e.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januar\",\n      \"februar\",\n      \"mart\",\n      \"april\",\n      \"maj\",\n      \"juni\",\n      \"juli\",\n      \"august\",\n      \"septembar\",\n      \"oktobar\",\n      \"novembar\",\n      \"decembar\"\n    ],\n    \"SHORTDAY\": [\n      \"ned\",\n      \"pon\",\n      \"uto\",\n      \"sri\",\n      \"\\u010det\",\n      \"pet\",\n      \"sub\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"feb\",\n      \"mar\",\n      \"apr\",\n      \"maj\",\n      \"jun\",\n      \"jul\",\n      \"aug\",\n      \"sep\",\n      \"okt\",\n      \"nov\",\n      \"dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd. MMMM y.\",\n    \"longDate\": \"dd. MMMM y.\",\n    \"medium\": \"dd. MMM. y. HH:mm:ss\",\n    \"mediumDate\": \"dd. MMM. y.\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy. HH:mm\",\n    \"shortDate\": \"dd.MM.yy.\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"KM\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"bs\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_byn-er.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u134b\\u12f1\\u1235 \\u1303\\u1265\",\n      \"\\u134b\\u12f1\\u1235 \\u12f0\\u121d\\u1262\"\n    ],\n    \"DAY\": [\n      \"\\u1230\\u1295\\u1260\\u122d \\u1245\\u12f3\\u12c5\",\n      \"\\u1230\\u1291\",\n      \"\\u1230\\u120a\\u131d\",\n      \"\\u1208\\u1313 \\u12c8\\u122a \\u1208\\u1265\\u12cb\",\n      \"\\u12a3\\u121d\\u12f5\",\n      \"\\u12a3\\u122d\\u1265\",\n      \"\\u1230\\u1295\\u1260\\u122d \\u123d\\u1313\\u12c5\"\n    ],\n    \"MONTH\": [\n      \"\\u120d\\u12f0\\u1275\\u122a\",\n      \"\\u12ab\\u1265\\u12bd\\u1265\\u1272\",\n      \"\\u12ad\\u1265\\u120b\",\n      \"\\u134b\\u1305\\u12ba\\u122a\",\n      \"\\u12ad\\u1262\\u1245\\u122a\",\n      \"\\u121d\\u12aa\\u12a4\\u120d \\u1275\\u131f\\u1292\\u122a\",\n      \"\\u12b0\\u122d\\u12a9\",\n      \"\\u121b\\u122d\\u12eb\\u121d \\u1275\\u122a\",\n      \"\\u12eb\\u12b8\\u1292 \\u1218\\u1233\\u1245\\u1208\\u122a\",\n      \"\\u1218\\u1270\\u1209\",\n      \"\\u121d\\u12aa\\u12a4\\u120d \\u1218\\u123d\\u12c8\\u122a\",\n      \"\\u1270\\u1215\\u1233\\u1235\\u122a\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u1230/\\u1245\",\n      \"\\u1230\\u1291\",\n      \"\\u1230\\u120a\\u131d\",\n      \"\\u1208\\u1313\",\n      \"\\u12a3\\u121d\\u12f5\",\n      \"\\u12a3\\u122d\\u1265\",\n      \"\\u1230/\\u123d\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u120d\\u12f0\\u1275\",\n      \"\\u12ab\\u1265\\u12bd\",\n      \"\\u12ad\\u1265\\u120b\",\n      \"\\u134b\\u1305\\u12ba\",\n      \"\\u12ad\\u1262\\u1245\",\n      \"\\u121d/\\u1275\",\n      \"\\u12b0\\u122d\",\n      \"\\u121b\\u122d\\u12eb\",\n      \"\\u12eb\\u12b8\\u1292\",\n      \"\\u1218\\u1270\\u1209\",\n      \"\\u121d/\\u121d\",\n      \"\\u1270\\u1215\\u1233\"\n    ],\n    \"fullDate\": \"EEEE\\u1361 dd MMMM \\u130d\\u122d\\u130b y G\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd-MMM-y h:mm:ss a\",\n    \"mediumDate\": \"dd-MMM-y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Nfk\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"byn-er\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_byn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u134b\\u12f1\\u1235 \\u1303\\u1265\",\n      \"\\u134b\\u12f1\\u1235 \\u12f0\\u121d\\u1262\"\n    ],\n    \"DAY\": [\n      \"\\u1230\\u1295\\u1260\\u122d \\u1245\\u12f3\\u12c5\",\n      \"\\u1230\\u1291\",\n      \"\\u1230\\u120a\\u131d\",\n      \"\\u1208\\u1313 \\u12c8\\u122a \\u1208\\u1265\\u12cb\",\n      \"\\u12a3\\u121d\\u12f5\",\n      \"\\u12a3\\u122d\\u1265\",\n      \"\\u1230\\u1295\\u1260\\u122d \\u123d\\u1313\\u12c5\"\n    ],\n    \"MONTH\": [\n      \"\\u120d\\u12f0\\u1275\\u122a\",\n      \"\\u12ab\\u1265\\u12bd\\u1265\\u1272\",\n      \"\\u12ad\\u1265\\u120b\",\n      \"\\u134b\\u1305\\u12ba\\u122a\",\n      \"\\u12ad\\u1262\\u1245\\u122a\",\n      \"\\u121d\\u12aa\\u12a4\\u120d \\u1275\\u131f\\u1292\\u122a\",\n      \"\\u12b0\\u122d\\u12a9\",\n      \"\\u121b\\u122d\\u12eb\\u121d \\u1275\\u122a\",\n      \"\\u12eb\\u12b8\\u1292 \\u1218\\u1233\\u1245\\u1208\\u122a\",\n      \"\\u1218\\u1270\\u1209\",\n      \"\\u121d\\u12aa\\u12a4\\u120d \\u1218\\u123d\\u12c8\\u122a\",\n      \"\\u1270\\u1215\\u1233\\u1235\\u122a\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u1230/\\u1245\",\n      \"\\u1230\\u1291\",\n      \"\\u1230\\u120a\\u131d\",\n      \"\\u1208\\u1313\",\n      \"\\u12a3\\u121d\\u12f5\",\n      \"\\u12a3\\u122d\\u1265\",\n      \"\\u1230/\\u123d\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u120d\\u12f0\\u1275\",\n      \"\\u12ab\\u1265\\u12bd\",\n      \"\\u12ad\\u1265\\u120b\",\n      \"\\u134b\\u1305\\u12ba\",\n      \"\\u12ad\\u1262\\u1245\",\n      \"\\u121d/\\u1275\",\n      \"\\u12b0\\u122d\",\n      \"\\u121b\\u122d\\u12eb\",\n      \"\\u12eb\\u12b8\\u1292\",\n      \"\\u1218\\u1270\\u1209\",\n      \"\\u121d/\\u121d\",\n      \"\\u1270\\u1215\\u1233\"\n    ],\n    \"fullDate\": \"EEEE\\u1361 dd MMMM \\u130d\\u122d\\u130b y G\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd-MMM-y h:mm:ss a\",\n    \"mediumDate\": \"dd-MMM-y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Nfk\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"byn\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ca-ad.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"diumenge\",\n      \"dilluns\",\n      \"dimarts\",\n      \"dimecres\",\n      \"dijous\",\n      \"divendres\",\n      \"dissabte\"\n    ],\n    \"ERANAMES\": [\n      \"abans de Crist\",\n      \"despr\\u00e9s de Crist\"\n    ],\n    \"ERAS\": [\n      \"aC\",\n      \"dC\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"de gener\",\n      \"de febrer\",\n      \"de mar\\u00e7\",\n      \"d\\u2019abril\",\n      \"de maig\",\n      \"de juny\",\n      \"de juliol\",\n      \"d\\u2019agost\",\n      \"de setembre\",\n      \"d\\u2019octubre\",\n      \"de novembre\",\n      \"de desembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dg.\",\n      \"dl.\",\n      \"dt.\",\n      \"dc.\",\n      \"dj.\",\n      \"dv.\",\n      \"ds.\"\n    ],\n    \"SHORTMONTH\": [\n      \"gen.\",\n      \"febr.\",\n      \"mar\\u00e7\",\n      \"abr.\",\n      \"maig\",\n      \"juny\",\n      \"jul.\",\n      \"ag.\",\n      \"set.\",\n      \"oct.\",\n      \"nov.\",\n      \"des.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM 'de' y\",\n    \"longDate\": \"d MMMM 'de' y\",\n    \"medium\": \"d MMM y H:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"d/M/yy H:mm\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ca-ad\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ca-es-valencia.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"diumenge\",\n      \"dilluns\",\n      \"dimarts\",\n      \"dimecres\",\n      \"dijous\",\n      \"divendres\",\n      \"dissabte\"\n    ],\n    \"ERANAMES\": [\n      \"abans de Crist\",\n      \"despr\\u00e9s de Crist\"\n    ],\n    \"ERAS\": [\n      \"aC\",\n      \"dC\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"de gener\",\n      \"de febrer\",\n      \"de mar\\u00e7\",\n      \"d\\u2019abril\",\n      \"de maig\",\n      \"de juny\",\n      \"de juliol\",\n      \"d\\u2019agost\",\n      \"de setembre\",\n      \"d\\u2019octubre\",\n      \"de novembre\",\n      \"de desembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dg.\",\n      \"dl.\",\n      \"dt.\",\n      \"dc.\",\n      \"dj.\",\n      \"dv.\",\n      \"ds.\"\n    ],\n    \"SHORTMONTH\": [\n      \"gen.\",\n      \"febr.\",\n      \"mar\\u00e7\",\n      \"abr.\",\n      \"maig\",\n      \"juny\",\n      \"jul.\",\n      \"ag.\",\n      \"set.\",\n      \"oct.\",\n      \"nov.\",\n      \"des.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM 'de' y\",\n    \"longDate\": \"d MMMM 'de' y\",\n    \"medium\": \"d MMM y H:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"d/M/yy H:mm\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ca-es-valencia\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ca-es.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"diumenge\",\n      \"dilluns\",\n      \"dimarts\",\n      \"dimecres\",\n      \"dijous\",\n      \"divendres\",\n      \"dissabte\"\n    ],\n    \"ERANAMES\": [\n      \"abans de Crist\",\n      \"despr\\u00e9s de Crist\"\n    ],\n    \"ERAS\": [\n      \"aC\",\n      \"dC\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"de gener\",\n      \"de febrer\",\n      \"de mar\\u00e7\",\n      \"d\\u2019abril\",\n      \"de maig\",\n      \"de juny\",\n      \"de juliol\",\n      \"d\\u2019agost\",\n      \"de setembre\",\n      \"d\\u2019octubre\",\n      \"de novembre\",\n      \"de desembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dg.\",\n      \"dl.\",\n      \"dt.\",\n      \"dc.\",\n      \"dj.\",\n      \"dv.\",\n      \"ds.\"\n    ],\n    \"SHORTMONTH\": [\n      \"gen.\",\n      \"febr.\",\n      \"mar\\u00e7\",\n      \"abr.\",\n      \"maig\",\n      \"juny\",\n      \"jul.\",\n      \"ag.\",\n      \"set.\",\n      \"oct.\",\n      \"nov.\",\n      \"des.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM 'de' y\",\n    \"longDate\": \"d MMMM 'de' y\",\n    \"medium\": \"d MMM y H:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"d/M/yy H:mm\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ca-es\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ca-fr.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"diumenge\",\n      \"dilluns\",\n      \"dimarts\",\n      \"dimecres\",\n      \"dijous\",\n      \"divendres\",\n      \"dissabte\"\n    ],\n    \"ERANAMES\": [\n      \"abans de Crist\",\n      \"despr\\u00e9s de Crist\"\n    ],\n    \"ERAS\": [\n      \"aC\",\n      \"dC\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"de gener\",\n      \"de febrer\",\n      \"de mar\\u00e7\",\n      \"d\\u2019abril\",\n      \"de maig\",\n      \"de juny\",\n      \"de juliol\",\n      \"d\\u2019agost\",\n      \"de setembre\",\n      \"d\\u2019octubre\",\n      \"de novembre\",\n      \"de desembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dg.\",\n      \"dl.\",\n      \"dt.\",\n      \"dc.\",\n      \"dj.\",\n      \"dv.\",\n      \"ds.\"\n    ],\n    \"SHORTMONTH\": [\n      \"gen.\",\n      \"febr.\",\n      \"mar\\u00e7\",\n      \"abr.\",\n      \"maig\",\n      \"juny\",\n      \"jul.\",\n      \"ag.\",\n      \"set.\",\n      \"oct.\",\n      \"nov.\",\n      \"des.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM 'de' y\",\n    \"longDate\": \"d MMMM 'de' y\",\n    \"medium\": \"d MMM y H:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"d/M/yy H:mm\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ca-fr\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ca-it.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"diumenge\",\n      \"dilluns\",\n      \"dimarts\",\n      \"dimecres\",\n      \"dijous\",\n      \"divendres\",\n      \"dissabte\"\n    ],\n    \"ERANAMES\": [\n      \"abans de Crist\",\n      \"despr\\u00e9s de Crist\"\n    ],\n    \"ERAS\": [\n      \"aC\",\n      \"dC\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"de gener\",\n      \"de febrer\",\n      \"de mar\\u00e7\",\n      \"d\\u2019abril\",\n      \"de maig\",\n      \"de juny\",\n      \"de juliol\",\n      \"d\\u2019agost\",\n      \"de setembre\",\n      \"d\\u2019octubre\",\n      \"de novembre\",\n      \"de desembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dg.\",\n      \"dl.\",\n      \"dt.\",\n      \"dc.\",\n      \"dj.\",\n      \"dv.\",\n      \"ds.\"\n    ],\n    \"SHORTMONTH\": [\n      \"gen.\",\n      \"febr.\",\n      \"mar\\u00e7\",\n      \"abr.\",\n      \"maig\",\n      \"juny\",\n      \"jul.\",\n      \"ag.\",\n      \"set.\",\n      \"oct.\",\n      \"nov.\",\n      \"des.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM 'de' y\",\n    \"longDate\": \"d MMMM 'de' y\",\n    \"medium\": \"d MMM y H:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"d/M/yy H:mm\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ca-it\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ca.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"diumenge\",\n      \"dilluns\",\n      \"dimarts\",\n      \"dimecres\",\n      \"dijous\",\n      \"divendres\",\n      \"dissabte\"\n    ],\n    \"ERANAMES\": [\n      \"abans de Crist\",\n      \"despr\\u00e9s de Crist\"\n    ],\n    \"ERAS\": [\n      \"aC\",\n      \"dC\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"de gener\",\n      \"de febrer\",\n      \"de mar\\u00e7\",\n      \"d\\u2019abril\",\n      \"de maig\",\n      \"de juny\",\n      \"de juliol\",\n      \"d\\u2019agost\",\n      \"de setembre\",\n      \"d\\u2019octubre\",\n      \"de novembre\",\n      \"de desembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dg.\",\n      \"dl.\",\n      \"dt.\",\n      \"dc.\",\n      \"dj.\",\n      \"dv.\",\n      \"ds.\"\n    ],\n    \"SHORTMONTH\": [\n      \"gen.\",\n      \"febr.\",\n      \"mar\\u00e7\",\n      \"abr.\",\n      \"maig\",\n      \"juny\",\n      \"jul.\",\n      \"ag.\",\n      \"set.\",\n      \"oct.\",\n      \"nov.\",\n      \"des.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM 'de' y\",\n    \"longDate\": \"d MMMM 'de' y\",\n    \"medium\": \"d MMM y H:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"d/M/yy H:mm\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ca\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_cgg-ug.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sande\",\n      \"Orwokubanza\",\n      \"Orwakabiri\",\n      \"Orwakashatu\",\n      \"Orwakana\",\n      \"Orwakataano\",\n      \"Orwamukaaga\"\n    ],\n    \"ERANAMES\": [\n      \"Kurisito Atakaijire\",\n      \"Kurisito Yaijire\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Okwokubanza\",\n      \"Okwakabiri\",\n      \"Okwakashatu\",\n      \"Okwakana\",\n      \"Okwakataana\",\n      \"Okwamukaaga\",\n      \"Okwamushanju\",\n      \"Okwamunaana\",\n      \"Okwamwenda\",\n      \"Okwaikumi\",\n      \"Okwaikumi na kumwe\",\n      \"Okwaikumi na ibiri\"\n    ],\n    \"SHORTDAY\": [\n      \"SAN\",\n      \"ORK\",\n      \"OKB\",\n      \"OKS\",\n      \"OKN\",\n      \"OKT\",\n      \"OMK\"\n    ],\n    \"SHORTMONTH\": [\n      \"KBZ\",\n      \"KBR\",\n      \"KST\",\n      \"KKN\",\n      \"KTN\",\n      \"KMK\",\n      \"KMS\",\n      \"KMN\",\n      \"KMW\",\n      \"KKM\",\n      \"KNK\",\n      \"KNB\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"UGX\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"cgg-ug\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_cgg.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sande\",\n      \"Orwokubanza\",\n      \"Orwakabiri\",\n      \"Orwakashatu\",\n      \"Orwakana\",\n      \"Orwakataano\",\n      \"Orwamukaaga\"\n    ],\n    \"ERANAMES\": [\n      \"Kurisito Atakaijire\",\n      \"Kurisito Yaijire\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Okwokubanza\",\n      \"Okwakabiri\",\n      \"Okwakashatu\",\n      \"Okwakana\",\n      \"Okwakataana\",\n      \"Okwamukaaga\",\n      \"Okwamushanju\",\n      \"Okwamunaana\",\n      \"Okwamwenda\",\n      \"Okwaikumi\",\n      \"Okwaikumi na kumwe\",\n      \"Okwaikumi na ibiri\"\n    ],\n    \"SHORTDAY\": [\n      \"SAN\",\n      \"ORK\",\n      \"OKB\",\n      \"OKS\",\n      \"OKN\",\n      \"OKT\",\n      \"OMK\"\n    ],\n    \"SHORTMONTH\": [\n      \"KBZ\",\n      \"KBR\",\n      \"KST\",\n      \"KKN\",\n      \"KTN\",\n      \"KMK\",\n      \"KMS\",\n      \"KMN\",\n      \"KMW\",\n      \"KKM\",\n      \"KNK\",\n      \"KNB\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"UGX\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"cgg\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_chr-us.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u13cc\\u13be\\u13b4\",\n      \"\\u13d2\\u13af\\u13f1\\u13a2\\u13d7\\u13e2\"\n    ],\n    \"DAY\": [\n      \"\\u13a4\\u13be\\u13d9\\u13d3\\u13c6\\u13cd\\u13ac\",\n      \"\\u13a4\\u13be\\u13d9\\u13d3\\u13c9\\u13c5\\u13af\",\n      \"\\u13d4\\u13b5\\u13c1\\u13a2\\u13a6\",\n      \"\\u13e6\\u13a2\\u13c1\\u13a2\\u13a6\",\n      \"\\u13c5\\u13a9\\u13c1\\u13a2\\u13a6\",\n      \"\\u13e7\\u13be\\u13a9\\u13b6\\u13cd\\u13d7\",\n      \"\\u13a4\\u13be\\u13d9\\u13d3\\u13c8\\u13d5\\u13be\"\n    ],\n    \"ERANAMES\": [\n      \"\\u13cf \\u13e5\\u13cc \\u13be\\u13d5\\u13b2\\u13cd\\u13ac\\u13be\",\n      \"\\u13a0\\u13a9\\u13c3\\u13ae\\u13b5\\u13d3\\u13cd\\u13d7\\u13f1 \\u13a0\\u13d5\\u13d8\\u13f1\\u13cd\\u13ac \\u13f1\\u13b0\\u13e9 \\u13e7\\u13d3\\u13c2\\u13b8\\u13a2\\u13cd\\u13d7\"\n    ],\n    \"ERAS\": [\n      \"\\u13a4\\u13d3\\u13b7\\u13b8\",\n      \"\\u13a4\\u13b6\\u13d0\\u13c5\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u13a4\\u13c3\\u13b8\\u13d4\\u13c5\",\n      \"\\u13a7\\u13a6\\u13b5\",\n      \"\\u13a0\\u13c5\\u13f1\",\n      \"\\u13a7\\u13ec\\u13c2\",\n      \"\\u13a0\\u13c2\\u13cd\\u13ac\\u13d8\",\n      \"\\u13d5\\u13ad\\u13b7\\u13f1\",\n      \"\\u13ab\\u13f0\\u13c9\\u13c2\",\n      \"\\u13a6\\u13b6\\u13c2\",\n      \"\\u13da\\u13b5\\u13cd\\u13d7\",\n      \"\\u13da\\u13c2\\u13c5\\u13d7\",\n      \"\\u13c5\\u13d3\\u13d5\\u13c6\",\n      \"\\u13a5\\u13cd\\u13a9\\u13f1\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u13c6\\u13cd\\u13ac\",\n      \"\\u13c9\\u13c5\\u13af\",\n      \"\\u13d4\\u13b5\\u13c1\",\n      \"\\u13e6\\u13a2\\u13c1\",\n      \"\\u13c5\\u13a9\\u13c1\",\n      \"\\u13e7\\u13be\\u13a9\",\n      \"\\u13c8\\u13d5\\u13be\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u13a4\\u13c3\",\n      \"\\u13a7\\u13a6\",\n      \"\\u13a0\\u13c5\",\n      \"\\u13a7\\u13ec\",\n      \"\\u13a0\\u13c2\",\n      \"\\u13d5\\u13ad\",\n      \"\\u13ab\\u13f0\",\n      \"\\u13a6\\u13b6\",\n      \"\\u13da\\u13b5\",\n      \"\\u13da\\u13c2\",\n      \"\\u13c5\\u13d3\",\n      \"\\u13a5\\u13cd\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"MMMM d, y\",\n    \"medium\": \"MMM d, y h:mm:ss a\",\n    \"mediumDate\": \"MMM d, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"M/d/yy h:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"chr-us\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_chr.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u13cc\\u13be\\u13b4\",\n      \"\\u13d2\\u13af\\u13f1\\u13a2\\u13d7\\u13e2\"\n    ],\n    \"DAY\": [\n      \"\\u13a4\\u13be\\u13d9\\u13d3\\u13c6\\u13cd\\u13ac\",\n      \"\\u13a4\\u13be\\u13d9\\u13d3\\u13c9\\u13c5\\u13af\",\n      \"\\u13d4\\u13b5\\u13c1\\u13a2\\u13a6\",\n      \"\\u13e6\\u13a2\\u13c1\\u13a2\\u13a6\",\n      \"\\u13c5\\u13a9\\u13c1\\u13a2\\u13a6\",\n      \"\\u13e7\\u13be\\u13a9\\u13b6\\u13cd\\u13d7\",\n      \"\\u13a4\\u13be\\u13d9\\u13d3\\u13c8\\u13d5\\u13be\"\n    ],\n    \"ERANAMES\": [\n      \"\\u13cf \\u13e5\\u13cc \\u13be\\u13d5\\u13b2\\u13cd\\u13ac\\u13be\",\n      \"\\u13a0\\u13a9\\u13c3\\u13ae\\u13b5\\u13d3\\u13cd\\u13d7\\u13f1 \\u13a0\\u13d5\\u13d8\\u13f1\\u13cd\\u13ac \\u13f1\\u13b0\\u13e9 \\u13e7\\u13d3\\u13c2\\u13b8\\u13a2\\u13cd\\u13d7\"\n    ],\n    \"ERAS\": [\n      \"\\u13a4\\u13d3\\u13b7\\u13b8\",\n      \"\\u13a4\\u13b6\\u13d0\\u13c5\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u13a4\\u13c3\\u13b8\\u13d4\\u13c5\",\n      \"\\u13a7\\u13a6\\u13b5\",\n      \"\\u13a0\\u13c5\\u13f1\",\n      \"\\u13a7\\u13ec\\u13c2\",\n      \"\\u13a0\\u13c2\\u13cd\\u13ac\\u13d8\",\n      \"\\u13d5\\u13ad\\u13b7\\u13f1\",\n      \"\\u13ab\\u13f0\\u13c9\\u13c2\",\n      \"\\u13a6\\u13b6\\u13c2\",\n      \"\\u13da\\u13b5\\u13cd\\u13d7\",\n      \"\\u13da\\u13c2\\u13c5\\u13d7\",\n      \"\\u13c5\\u13d3\\u13d5\\u13c6\",\n      \"\\u13a5\\u13cd\\u13a9\\u13f1\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u13c6\\u13cd\\u13ac\",\n      \"\\u13c9\\u13c5\\u13af\",\n      \"\\u13d4\\u13b5\\u13c1\",\n      \"\\u13e6\\u13a2\\u13c1\",\n      \"\\u13c5\\u13a9\\u13c1\",\n      \"\\u13e7\\u13be\\u13a9\",\n      \"\\u13c8\\u13d5\\u13be\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u13a4\\u13c3\",\n      \"\\u13a7\\u13a6\",\n      \"\\u13a0\\u13c5\",\n      \"\\u13a7\\u13ec\",\n      \"\\u13a0\\u13c2\",\n      \"\\u13d5\\u13ad\",\n      \"\\u13ab\\u13f0\",\n      \"\\u13a6\\u13b6\",\n      \"\\u13da\\u13b5\",\n      \"\\u13da\\u13c2\",\n      \"\\u13c5\\u13d3\",\n      \"\\u13a5\\u13cd\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"MMMM d, y\",\n    \"medium\": \"MMM d, y h:mm:ss a\",\n    \"mediumDate\": \"MMM d, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"M/d/yy h:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"chr\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ckb-arab-iq.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0628.\\u0646\",\n      \"\\u062f.\\u0646\"\n    ],\n    \"DAY\": [\n      \"\\u06cc\\u06d5\\u06a9\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u062f\\u0648\\u0648\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0633\\u06ce\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0686\\u0648\\u0627\\u0631\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u067e\\u06ce\\u0646\\u062c\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u06be\\u06d5\\u06cc\\u0646\\u06cc\",\n      \"\\u0634\\u06d5\\u0645\\u0645\\u06d5\"\n    ],\n    \"ERANAMES\": [\n      \"\\u067e\\u06ce\\u0634 \\u0632\\u0627\\u06cc\\u06cc\\u0646\",\n      \"\\u0632\\u0627\\u06cc\\u06cc\\u0646\\u06cc\"\n    ],\n    \"ERAS\": [\n      \"\\u067e\\u06ce\\u0634 \\u0632\\u0627\\u06cc\\u06cc\\u06cc\\u0646\",\n      \"\\u0632\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0648\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u0634\\u0648\\u0628\\u0627\\u062a\",\n      \"\\u0626\\u0627\\u0632\\u0627\\u0631\",\n      \"\\u0646\\u06cc\\u0633\\u0627\\u0646\",\n      \"\\u0626\\u0627\\u06cc\\u0627\\u0631\",\n      \"\\u062d\\u0648\\u0632\\u06d5\\u06cc\\u0631\\u0627\\u0646\",\n      \"\\u062a\\u06d5\\u0645\\u0648\\u0648\\u0632\",\n      \"\\u0626\\u0627\\u0628\",\n      \"\\u0626\\u06d5\\u06cc\\u0644\\u0648\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u06cc\\u06d5\\u06a9\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u062f\\u0648\\u0648\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0633\\u06ce\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0686\\u0648\\u0627\\u0631\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u067e\\u06ce\\u0646\\u062c\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u06be\\u06d5\\u06cc\\u0646\\u06cc\",\n      \"\\u0634\\u06d5\\u0645\\u0645\\u06d5\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0648\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u0634\\u0648\\u0628\\u0627\\u062a\",\n      \"\\u0626\\u0627\\u0632\\u0627\\u0631\",\n      \"\\u0646\\u06cc\\u0633\\u0627\\u0646\",\n      \"\\u0626\\u0627\\u06cc\\u0627\\u0631\",\n      \"\\u062d\\u0648\\u0632\\u06d5\\u06cc\\u0631\\u0627\\u0646\",\n      \"\\u062a\\u06d5\\u0645\\u0648\\u0648\\u0632\",\n      \"\\u0626\\u0627\\u0628\",\n      \"\\u0626\\u06d5\\u06cc\\u0644\\u0648\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"d\\u06cc MMMM\\u06cc y\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"din\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ckb-arab-iq\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ckb-arab-ir.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0628.\\u0646\",\n      \"\\u062f.\\u0646\"\n    ],\n    \"DAY\": [\n      \"\\u06cc\\u06d5\\u06a9\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u062f\\u0648\\u0648\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0633\\u06ce\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0686\\u0648\\u0627\\u0631\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u067e\\u06ce\\u0646\\u062c\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u06be\\u06d5\\u06cc\\u0646\\u06cc\",\n      \"\\u0634\\u06d5\\u0645\\u0645\\u06d5\"\n    ],\n    \"ERANAMES\": [\n      \"\\u067e\\u06ce\\u0634 \\u0632\\u0627\\u06cc\\u06cc\\u0646\",\n      \"\\u0632\\u0627\\u06cc\\u06cc\\u0646\\u06cc\"\n    ],\n    \"ERAS\": [\n      \"\\u067e\\u06ce\\u0634 \\u0632\\u0627\\u06cc\\u06cc\\u06cc\\u0646\",\n      \"\\u0632\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0648\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u0634\\u0648\\u0628\\u0627\\u062a\",\n      \"\\u0626\\u0627\\u0632\\u0627\\u0631\",\n      \"\\u0646\\u06cc\\u0633\\u0627\\u0646\",\n      \"\\u0626\\u0627\\u06cc\\u0627\\u0631\",\n      \"\\u062d\\u0648\\u0632\\u06d5\\u06cc\\u0631\\u0627\\u0646\",\n      \"\\u062a\\u06d5\\u0645\\u0648\\u0648\\u0632\",\n      \"\\u0626\\u0627\\u0628\",\n      \"\\u0626\\u06d5\\u06cc\\u0644\\u0648\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u06cc\\u06d5\\u06a9\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u062f\\u0648\\u0648\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0633\\u06ce\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0686\\u0648\\u0627\\u0631\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u067e\\u06ce\\u0646\\u062c\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u06be\\u06d5\\u06cc\\u0646\\u06cc\",\n      \"\\u0634\\u06d5\\u0645\\u0645\\u06d5\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0648\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u0634\\u0648\\u0628\\u0627\\u062a\",\n      \"\\u0626\\u0627\\u0632\\u0627\\u0631\",\n      \"\\u0646\\u06cc\\u0633\\u0627\\u0646\",\n      \"\\u0626\\u0627\\u06cc\\u0627\\u0631\",\n      \"\\u062d\\u0648\\u0632\\u06d5\\u06cc\\u0631\\u0627\\u0646\",\n      \"\\u062a\\u06d5\\u0645\\u0648\\u0648\\u0632\",\n      \"\\u0626\\u0627\\u0628\",\n      \"\\u0626\\u06d5\\u06cc\\u0644\\u0648\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"d\\u06cc MMMM\\u06cc y\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Rial\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ckb-arab-ir\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ckb-arab.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0628.\\u0646\",\n      \"\\u062f.\\u0646\"\n    ],\n    \"DAY\": [\n      \"\\u06cc\\u06d5\\u06a9\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u062f\\u0648\\u0648\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0633\\u06ce\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0686\\u0648\\u0627\\u0631\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u067e\\u06ce\\u0646\\u062c\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u06be\\u06d5\\u06cc\\u0646\\u06cc\",\n      \"\\u0634\\u06d5\\u0645\\u0645\\u06d5\"\n    ],\n    \"ERANAMES\": [\n      \"\\u067e\\u06ce\\u0634 \\u0632\\u0627\\u06cc\\u06cc\\u0646\",\n      \"\\u0632\\u0627\\u06cc\\u06cc\\u0646\\u06cc\"\n    ],\n    \"ERAS\": [\n      \"\\u067e\\u06ce\\u0634 \\u0632\\u0627\\u06cc\\u06cc\\u06cc\\u0646\",\n      \"\\u0632\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0648\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u0634\\u0648\\u0628\\u0627\\u062a\",\n      \"\\u0626\\u0627\\u0632\\u0627\\u0631\",\n      \"\\u0646\\u06cc\\u0633\\u0627\\u0646\",\n      \"\\u0626\\u0627\\u06cc\\u0627\\u0631\",\n      \"\\u062d\\u0648\\u0632\\u06d5\\u06cc\\u0631\\u0627\\u0646\",\n      \"\\u062a\\u06d5\\u0645\\u0648\\u0648\\u0632\",\n      \"\\u0626\\u0627\\u0628\",\n      \"\\u0626\\u06d5\\u06cc\\u0644\\u0648\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u06cc\\u06d5\\u06a9\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u062f\\u0648\\u0648\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0633\\u06ce\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0686\\u0648\\u0627\\u0631\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u067e\\u06ce\\u0646\\u062c\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u06be\\u06d5\\u06cc\\u0646\\u06cc\",\n      \"\\u0634\\u06d5\\u0645\\u0645\\u06d5\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0648\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u0634\\u0648\\u0628\\u0627\\u062a\",\n      \"\\u0626\\u0627\\u0632\\u0627\\u0631\",\n      \"\\u0646\\u06cc\\u0633\\u0627\\u0646\",\n      \"\\u0626\\u0627\\u06cc\\u0627\\u0631\",\n      \"\\u062d\\u0648\\u0632\\u06d5\\u06cc\\u0631\\u0627\\u0646\",\n      \"\\u062a\\u06d5\\u0645\\u0648\\u0648\\u0632\",\n      \"\\u0626\\u0627\\u0628\",\n      \"\\u0626\\u06d5\\u06cc\\u0644\\u0648\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"d\\u06cc MMMM\\u06cc y\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"din\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ckb-arab\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ckb-iq.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0628.\\u0646\",\n      \"\\u062f.\\u0646\"\n    ],\n    \"DAY\": [\n      \"\\u06cc\\u06d5\\u06a9\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u062f\\u0648\\u0648\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0633\\u06ce\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0686\\u0648\\u0627\\u0631\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u067e\\u06ce\\u0646\\u062c\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u06be\\u06d5\\u06cc\\u0646\\u06cc\",\n      \"\\u0634\\u06d5\\u0645\\u0645\\u06d5\"\n    ],\n    \"ERANAMES\": [\n      \"\\u067e\\u06ce\\u0634 \\u0632\\u0627\\u06cc\\u06cc\\u0646\",\n      \"\\u0632\\u0627\\u06cc\\u06cc\\u0646\\u06cc\"\n    ],\n    \"ERAS\": [\n      \"\\u067e\\u06ce\\u0634 \\u0632\\u0627\\u06cc\\u06cc\\u06cc\\u0646\",\n      \"\\u0632\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0648\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u0634\\u0648\\u0628\\u0627\\u062a\",\n      \"\\u0626\\u0627\\u0632\\u0627\\u0631\",\n      \"\\u0646\\u06cc\\u0633\\u0627\\u0646\",\n      \"\\u0626\\u0627\\u06cc\\u0627\\u0631\",\n      \"\\u062d\\u0648\\u0632\\u06d5\\u06cc\\u0631\\u0627\\u0646\",\n      \"\\u062a\\u06d5\\u0645\\u0648\\u0648\\u0632\",\n      \"\\u0626\\u0627\\u0628\",\n      \"\\u0626\\u06d5\\u06cc\\u0644\\u0648\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u06cc\\u06d5\\u06a9\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u062f\\u0648\\u0648\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0633\\u06ce\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0686\\u0648\\u0627\\u0631\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u067e\\u06ce\\u0646\\u062c\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u06be\\u06d5\\u06cc\\u0646\\u06cc\",\n      \"\\u0634\\u06d5\\u0645\\u0645\\u06d5\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0648\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u0634\\u0648\\u0628\\u0627\\u062a\",\n      \"\\u0626\\u0627\\u0632\\u0627\\u0631\",\n      \"\\u0646\\u06cc\\u0633\\u0627\\u0646\",\n      \"\\u0626\\u0627\\u06cc\\u0627\\u0631\",\n      \"\\u062d\\u0648\\u0632\\u06d5\\u06cc\\u0631\\u0627\\u0646\",\n      \"\\u062a\\u06d5\\u0645\\u0648\\u0648\\u0632\",\n      \"\\u0626\\u0627\\u0628\",\n      \"\\u0626\\u06d5\\u06cc\\u0644\\u0648\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"d\\u06cc MMMM\\u06cc y\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"din\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ckb-iq\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ckb-ir.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0628.\\u0646\",\n      \"\\u062f.\\u0646\"\n    ],\n    \"DAY\": [\n      \"\\u06cc\\u06d5\\u06a9\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u062f\\u0648\\u0648\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0633\\u06ce\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0686\\u0648\\u0627\\u0631\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u067e\\u06ce\\u0646\\u062c\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u06be\\u06d5\\u06cc\\u0646\\u06cc\",\n      \"\\u0634\\u06d5\\u0645\\u0645\\u06d5\"\n    ],\n    \"ERANAMES\": [\n      \"\\u067e\\u06ce\\u0634 \\u0632\\u0627\\u06cc\\u06cc\\u0646\",\n      \"\\u0632\\u0627\\u06cc\\u06cc\\u0646\\u06cc\"\n    ],\n    \"ERAS\": [\n      \"\\u067e\\u06ce\\u0634 \\u0632\\u0627\\u06cc\\u06cc\\u06cc\\u0646\",\n      \"\\u0632\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0648\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u0634\\u0648\\u0628\\u0627\\u062a\",\n      \"\\u0626\\u0627\\u0632\\u0627\\u0631\",\n      \"\\u0646\\u06cc\\u0633\\u0627\\u0646\",\n      \"\\u0626\\u0627\\u06cc\\u0627\\u0631\",\n      \"\\u062d\\u0648\\u0632\\u06d5\\u06cc\\u0631\\u0627\\u0646\",\n      \"\\u062a\\u06d5\\u0645\\u0648\\u0648\\u0632\",\n      \"\\u0626\\u0627\\u0628\",\n      \"\\u0626\\u06d5\\u06cc\\u0644\\u0648\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u06cc\\u06d5\\u06a9\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u062f\\u0648\\u0648\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0633\\u06ce\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0686\\u0648\\u0627\\u0631\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u067e\\u06ce\\u0646\\u062c\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u06be\\u06d5\\u06cc\\u0646\\u06cc\",\n      \"\\u0634\\u06d5\\u0645\\u0645\\u06d5\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0648\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u0634\\u0648\\u0628\\u0627\\u062a\",\n      \"\\u0626\\u0627\\u0632\\u0627\\u0631\",\n      \"\\u0646\\u06cc\\u0633\\u0627\\u0646\",\n      \"\\u0626\\u0627\\u06cc\\u0627\\u0631\",\n      \"\\u062d\\u0648\\u0632\\u06d5\\u06cc\\u0631\\u0627\\u0646\",\n      \"\\u062a\\u06d5\\u0645\\u0648\\u0648\\u0632\",\n      \"\\u0626\\u0627\\u0628\",\n      \"\\u0626\\u06d5\\u06cc\\u0644\\u0648\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"d\\u06cc MMMM\\u06cc y\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Rial\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ckb-ir\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ckb-latn-iq.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0628.\\u0646\",\n      \"\\u062f.\\u0646\"\n    ],\n    \"DAY\": [\n      \"\\u06cc\\u06d5\\u06a9\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u062f\\u0648\\u0648\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0633\\u06ce\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0686\\u0648\\u0627\\u0631\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u067e\\u06ce\\u0646\\u062c\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u06be\\u06d5\\u06cc\\u0646\\u06cc\",\n      \"\\u0634\\u06d5\\u0645\\u0645\\u06d5\"\n    ],\n    \"ERANAMES\": [\n      \"\\u067e\\u06ce\\u0634 \\u0632\\u0627\\u06cc\\u06cc\\u0646\",\n      \"\\u0632\\u0627\\u06cc\\u06cc\\u0646\\u06cc\"\n    ],\n    \"ERAS\": [\n      \"\\u067e\\u06ce\\u0634 \\u0632\\u0627\\u06cc\\u06cc\\u06cc\\u0646\",\n      \"\\u0632\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0648\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u0634\\u0648\\u0628\\u0627\\u062a\",\n      \"\\u0626\\u0627\\u0632\\u0627\\u0631\",\n      \"\\u0646\\u06cc\\u0633\\u0627\\u0646\",\n      \"\\u0626\\u0627\\u06cc\\u0627\\u0631\",\n      \"\\u062d\\u0648\\u0632\\u06d5\\u06cc\\u0631\\u0627\\u0646\",\n      \"\\u062a\\u06d5\\u0645\\u0648\\u0648\\u0632\",\n      \"\\u0626\\u0627\\u0628\",\n      \"\\u0626\\u06d5\\u06cc\\u0644\\u0648\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u06cc\\u06d5\\u06a9\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u062f\\u0648\\u0648\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0633\\u06ce\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0686\\u0648\\u0627\\u0631\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u067e\\u06ce\\u0646\\u062c\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u06be\\u06d5\\u06cc\\u0646\\u06cc\",\n      \"\\u0634\\u06d5\\u0645\\u0645\\u06d5\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0648\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u0634\\u0648\\u0628\\u0627\\u062a\",\n      \"\\u0626\\u0627\\u0632\\u0627\\u0631\",\n      \"\\u0646\\u06cc\\u0633\\u0627\\u0646\",\n      \"\\u0626\\u0627\\u06cc\\u0627\\u0631\",\n      \"\\u062d\\u0648\\u0632\\u06d5\\u06cc\\u0631\\u0627\\u0646\",\n      \"\\u062a\\u06d5\\u0645\\u0648\\u0648\\u0632\",\n      \"\\u0626\\u0627\\u0628\",\n      \"\\u0626\\u06d5\\u06cc\\u0644\\u0648\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"d\\u06cc MMMM\\u06cc y\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"din\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ckb-latn-iq\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ckb-latn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0628.\\u0646\",\n      \"\\u062f.\\u0646\"\n    ],\n    \"DAY\": [\n      \"\\u06cc\\u06d5\\u06a9\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u062f\\u0648\\u0648\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0633\\u06ce\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0686\\u0648\\u0627\\u0631\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u067e\\u06ce\\u0646\\u062c\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u06be\\u06d5\\u06cc\\u0646\\u06cc\",\n      \"\\u0634\\u06d5\\u0645\\u0645\\u06d5\"\n    ],\n    \"ERANAMES\": [\n      \"\\u067e\\u06ce\\u0634 \\u0632\\u0627\\u06cc\\u06cc\\u0646\",\n      \"\\u0632\\u0627\\u06cc\\u06cc\\u0646\\u06cc\"\n    ],\n    \"ERAS\": [\n      \"\\u067e\\u06ce\\u0634 \\u0632\\u0627\\u06cc\\u06cc\\u06cc\\u0646\",\n      \"\\u0632\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0648\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u0634\\u0648\\u0628\\u0627\\u062a\",\n      \"\\u0626\\u0627\\u0632\\u0627\\u0631\",\n      \"\\u0646\\u06cc\\u0633\\u0627\\u0646\",\n      \"\\u0626\\u0627\\u06cc\\u0627\\u0631\",\n      \"\\u062d\\u0648\\u0632\\u06d5\\u06cc\\u0631\\u0627\\u0646\",\n      \"\\u062a\\u06d5\\u0645\\u0648\\u0648\\u0632\",\n      \"\\u0626\\u0627\\u0628\",\n      \"\\u0626\\u06d5\\u06cc\\u0644\\u0648\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u06cc\\u06d5\\u06a9\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u062f\\u0648\\u0648\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0633\\u06ce\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0686\\u0648\\u0627\\u0631\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u067e\\u06ce\\u0646\\u062c\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u06be\\u06d5\\u06cc\\u0646\\u06cc\",\n      \"\\u0634\\u06d5\\u0645\\u0645\\u06d5\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0648\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u0634\\u0648\\u0628\\u0627\\u062a\",\n      \"\\u0626\\u0627\\u0632\\u0627\\u0631\",\n      \"\\u0646\\u06cc\\u0633\\u0627\\u0646\",\n      \"\\u0626\\u0627\\u06cc\\u0627\\u0631\",\n      \"\\u062d\\u0648\\u0632\\u06d5\\u06cc\\u0631\\u0627\\u0646\",\n      \"\\u062a\\u06d5\\u0645\\u0648\\u0648\\u0632\",\n      \"\\u0626\\u0627\\u0628\",\n      \"\\u0626\\u06d5\\u06cc\\u0644\\u0648\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"d\\u06cc MMMM\\u06cc y\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"din\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ckb-latn\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ckb.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0628.\\u0646\",\n      \"\\u062f.\\u0646\"\n    ],\n    \"DAY\": [\n      \"\\u06cc\\u06d5\\u06a9\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u062f\\u0648\\u0648\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0633\\u06ce\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0686\\u0648\\u0627\\u0631\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u067e\\u06ce\\u0646\\u062c\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u06be\\u06d5\\u06cc\\u0646\\u06cc\",\n      \"\\u0634\\u06d5\\u0645\\u0645\\u06d5\"\n    ],\n    \"ERANAMES\": [\n      \"\\u067e\\u06ce\\u0634 \\u0632\\u0627\\u06cc\\u06cc\\u0646\",\n      \"\\u0632\\u0627\\u06cc\\u06cc\\u0646\\u06cc\"\n    ],\n    \"ERAS\": [\n      \"\\u067e\\u06ce\\u0634 \\u0632\\u0627\\u06cc\\u06cc\\u06cc\\u0646\",\n      \"\\u0632\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0648\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u0634\\u0648\\u0628\\u0627\\u062a\",\n      \"\\u0626\\u0627\\u0632\\u0627\\u0631\",\n      \"\\u0646\\u06cc\\u0633\\u0627\\u0646\",\n      \"\\u0626\\u0627\\u06cc\\u0627\\u0631\",\n      \"\\u062d\\u0648\\u0632\\u06d5\\u06cc\\u0631\\u0627\\u0646\",\n      \"\\u062a\\u06d5\\u0645\\u0648\\u0648\\u0632\",\n      \"\\u0626\\u0627\\u0628\",\n      \"\\u0626\\u06d5\\u06cc\\u0644\\u0648\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u06cc\\u06d5\\u06a9\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u062f\\u0648\\u0648\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0633\\u06ce\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u0686\\u0648\\u0627\\u0631\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u067e\\u06ce\\u0646\\u062c\\u0634\\u06d5\\u0645\\u0645\\u06d5\",\n      \"\\u06be\\u06d5\\u06cc\\u0646\\u06cc\",\n      \"\\u0634\\u06d5\\u0645\\u0645\\u06d5\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0648\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u0634\\u0648\\u0628\\u0627\\u062a\",\n      \"\\u0626\\u0627\\u0632\\u0627\\u0631\",\n      \"\\u0646\\u06cc\\u0633\\u0627\\u0646\",\n      \"\\u0626\\u0627\\u06cc\\u0627\\u0631\",\n      \"\\u062d\\u0648\\u0632\\u06d5\\u06cc\\u0631\\u0627\\u0646\",\n      \"\\u062a\\u06d5\\u0645\\u0648\\u0648\\u0632\",\n      \"\\u0626\\u0627\\u0628\",\n      \"\\u0626\\u06d5\\u06cc\\u0644\\u0648\\u0648\\u0644\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\",\n      \"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\n      \"\\u06a9\\u0627\\u0646\\u0648\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"d\\u06cc MMMM\\u06cc y\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"din\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ckb\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_cs-cz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"dopoledne\",\n      \"odpoledne\"\n    ],\n    \"DAY\": [\n      \"ned\\u011ble\",\n      \"pond\\u011bl\\u00ed\",\n      \"\\u00fater\\u00fd\",\n      \"st\\u0159eda\",\n      \"\\u010dtvrtek\",\n      \"p\\u00e1tek\",\n      \"sobota\"\n    ],\n    \"ERANAMES\": [\n      \"p\\u0159. n. l.\",\n      \"n. l.\"\n    ],\n    \"ERAS\": [\n      \"p\\u0159. n. l.\",\n      \"n. l.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"ledna\",\n      \"\\u00fanora\",\n      \"b\\u0159ezna\",\n      \"dubna\",\n      \"kv\\u011btna\",\n      \"\\u010dervna\",\n      \"\\u010dervence\",\n      \"srpna\",\n      \"z\\u00e1\\u0159\\u00ed\",\n      \"\\u0159\\u00edjna\",\n      \"listopadu\",\n      \"prosince\"\n    ],\n    \"SHORTDAY\": [\n      \"ne\",\n      \"po\",\n      \"\\u00fat\",\n      \"st\",\n      \"\\u010dt\",\n      \"p\\u00e1\",\n      \"so\"\n    ],\n    \"SHORTMONTH\": [\n      \"led\",\n      \"\\u00fano\",\n      \"b\\u0159e\",\n      \"dub\",\n      \"kv\\u011b\",\n      \"\\u010dvn\",\n      \"\\u010dvc\",\n      \"srp\",\n      \"z\\u00e1\\u0159\",\n      \"\\u0159\\u00edj\",\n      \"lis\",\n      \"pro\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d. M. y H:mm:ss\",\n    \"mediumDate\": \"d. M. y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"dd.MM.yy H:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"K\\u010d\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"cs-cz\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  if (i >= 2 && i <= 4 && vf.v == 0) {    return PLURAL_CATEGORY.FEW;  }  if (vf.v != 0) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_cs.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"dopoledne\",\n      \"odpoledne\"\n    ],\n    \"DAY\": [\n      \"ned\\u011ble\",\n      \"pond\\u011bl\\u00ed\",\n      \"\\u00fater\\u00fd\",\n      \"st\\u0159eda\",\n      \"\\u010dtvrtek\",\n      \"p\\u00e1tek\",\n      \"sobota\"\n    ],\n    \"ERANAMES\": [\n      \"p\\u0159. n. l.\",\n      \"n. l.\"\n    ],\n    \"ERAS\": [\n      \"p\\u0159. n. l.\",\n      \"n. l.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"ledna\",\n      \"\\u00fanora\",\n      \"b\\u0159ezna\",\n      \"dubna\",\n      \"kv\\u011btna\",\n      \"\\u010dervna\",\n      \"\\u010dervence\",\n      \"srpna\",\n      \"z\\u00e1\\u0159\\u00ed\",\n      \"\\u0159\\u00edjna\",\n      \"listopadu\",\n      \"prosince\"\n    ],\n    \"SHORTDAY\": [\n      \"ne\",\n      \"po\",\n      \"\\u00fat\",\n      \"st\",\n      \"\\u010dt\",\n      \"p\\u00e1\",\n      \"so\"\n    ],\n    \"SHORTMONTH\": [\n      \"led\",\n      \"\\u00fano\",\n      \"b\\u0159e\",\n      \"dub\",\n      \"kv\\u011b\",\n      \"\\u010dvn\",\n      \"\\u010dvc\",\n      \"srp\",\n      \"z\\u00e1\\u0159\",\n      \"\\u0159\\u00edj\",\n      \"lis\",\n      \"pro\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d. M. y H:mm:ss\",\n    \"mediumDate\": \"d. M. y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"dd.MM.yy H:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"K\\u010d\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"cs\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  if (i >= 2 && i <= 4 && vf.v == 0) {    return PLURAL_CATEGORY.FEW;  }  if (vf.v != 0) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_cy-gb.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Dydd Sul\",\n      \"Dydd Llun\",\n      \"Dydd Mawrth\",\n      \"Dydd Mercher\",\n      \"Dydd Iau\",\n      \"Dydd Gwener\",\n      \"Dydd Sadwrn\"\n    ],\n    \"ERANAMES\": [\n      \"Cyn Crist\",\n      \"Oed Crist\"\n    ],\n    \"ERAS\": [\n      \"CC\",\n      \"OC\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Ionawr\",\n      \"Chwefror\",\n      \"Mawrth\",\n      \"Ebrill\",\n      \"Mai\",\n      \"Mehefin\",\n      \"Gorffennaf\",\n      \"Awst\",\n      \"Medi\",\n      \"Hydref\",\n      \"Tachwedd\",\n      \"Rhagfyr\"\n    ],\n    \"SHORTDAY\": [\n      \"Sul\",\n      \"Llun\",\n      \"Maw\",\n      \"Mer\",\n      \"Iau\",\n      \"Gwen\",\n      \"Sad\"\n    ],\n    \"SHORTMONTH\": [\n      \"Ion\",\n      \"Chwef\",\n      \"Mawrth\",\n      \"Ebrill\",\n      \"Mai\",\n      \"Meh\",\n      \"Gorff\",\n      \"Awst\",\n      \"Medi\",\n      \"Hyd\",\n      \"Tach\",\n      \"Rhag\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/yy HH:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a3\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"cy-gb\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n == 3) {    return PLURAL_CATEGORY.FEW;  }  if (n == 6) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_cy.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Dydd Sul\",\n      \"Dydd Llun\",\n      \"Dydd Mawrth\",\n      \"Dydd Mercher\",\n      \"Dydd Iau\",\n      \"Dydd Gwener\",\n      \"Dydd Sadwrn\"\n    ],\n    \"ERANAMES\": [\n      \"Cyn Crist\",\n      \"Oed Crist\"\n    ],\n    \"ERAS\": [\n      \"CC\",\n      \"OC\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Ionawr\",\n      \"Chwefror\",\n      \"Mawrth\",\n      \"Ebrill\",\n      \"Mai\",\n      \"Mehefin\",\n      \"Gorffennaf\",\n      \"Awst\",\n      \"Medi\",\n      \"Hydref\",\n      \"Tachwedd\",\n      \"Rhagfyr\"\n    ],\n    \"SHORTDAY\": [\n      \"Sul\",\n      \"Llun\",\n      \"Maw\",\n      \"Mer\",\n      \"Iau\",\n      \"Gwen\",\n      \"Sad\"\n    ],\n    \"SHORTMONTH\": [\n      \"Ion\",\n      \"Chwef\",\n      \"Mawrth\",\n      \"Ebrill\",\n      \"Mai\",\n      \"Meh\",\n      \"Gorff\",\n      \"Awst\",\n      \"Medi\",\n      \"Hyd\",\n      \"Tach\",\n      \"Rhag\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/yy HH:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a3\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"cy\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 0) {    return PLURAL_CATEGORY.ZERO;  }  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n == 3) {    return PLURAL_CATEGORY.FEW;  }  if (n == 6) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_da-dk.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\nfunction getWT(v, f) {\n  if (f === 0) {\n    return {w: 0, t: 0};\n  }\n\n  while ((f % 10) === 0) {\n    f /= 10;\n    v--;\n  }\n\n  return {w: v, t: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"s\\u00f8ndag\",\n      \"mandag\",\n      \"tirsdag\",\n      \"onsdag\",\n      \"torsdag\",\n      \"fredag\",\n      \"l\\u00f8rdag\"\n    ],\n    \"ERANAMES\": [\n      \"f.Kr.\",\n      \"e.Kr.\"\n    ],\n    \"ERAS\": [\n      \"f.Kr.\",\n      \"e.Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januar\",\n      \"februar\",\n      \"marts\",\n      \"april\",\n      \"maj\",\n      \"juni\",\n      \"juli\",\n      \"august\",\n      \"september\",\n      \"oktober\",\n      \"november\",\n      \"december\"\n    ],\n    \"SHORTDAY\": [\n      \"s\\u00f8n.\",\n      \"man.\",\n      \"tir.\",\n      \"ons.\",\n      \"tor.\",\n      \"fre.\",\n      \"l\\u00f8r.\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"mar.\",\n      \"apr.\",\n      \"maj\",\n      \"jun.\",\n      \"jul.\",\n      \"aug.\",\n      \"sep.\",\n      \"okt.\",\n      \"nov.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE 'den' d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d. MMM y HH.mm.ss\",\n    \"mediumDate\": \"d. MMM y\",\n    \"mediumTime\": \"HH.mm.ss\",\n    \"short\": \"dd/MM/y HH.mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH.mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"kr\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"da-dk\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  var wt = getWT(vf.v, vf.f);  if (n == 1 || wt.t != 0 && (i == 0 || i == 1)) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_da-gl.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\nfunction getWT(v, f) {\n  if (f === 0) {\n    return {w: 0, t: 0};\n  }\n\n  while ((f % 10) === 0) {\n    f /= 10;\n    v--;\n  }\n\n  return {w: v, t: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"s\\u00f8ndag\",\n      \"mandag\",\n      \"tirsdag\",\n      \"onsdag\",\n      \"torsdag\",\n      \"fredag\",\n      \"l\\u00f8rdag\"\n    ],\n    \"ERANAMES\": [\n      \"f.Kr.\",\n      \"e.Kr.\"\n    ],\n    \"ERAS\": [\n      \"f.Kr.\",\n      \"e.Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januar\",\n      \"februar\",\n      \"marts\",\n      \"april\",\n      \"maj\",\n      \"juni\",\n      \"juli\",\n      \"august\",\n      \"september\",\n      \"oktober\",\n      \"november\",\n      \"december\"\n    ],\n    \"SHORTDAY\": [\n      \"s\\u00f8n.\",\n      \"man.\",\n      \"tir.\",\n      \"ons.\",\n      \"tor.\",\n      \"fre.\",\n      \"l\\u00f8r.\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"mar.\",\n      \"apr.\",\n      \"maj\",\n      \"jun.\",\n      \"jul.\",\n      \"aug.\",\n      \"sep.\",\n      \"okt.\",\n      \"nov.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE 'den' d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d. MMM y HH.mm.ss\",\n    \"mediumDate\": \"d. MMM y\",\n    \"mediumTime\": \"HH.mm.ss\",\n    \"short\": \"dd/MM/y HH.mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH.mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"kr\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"da-gl\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  var wt = getWT(vf.v, vf.f);  if (n == 1 || wt.t != 0 && (i == 0 || i == 1)) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_da.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\nfunction getWT(v, f) {\n  if (f === 0) {\n    return {w: 0, t: 0};\n  }\n\n  while ((f % 10) === 0) {\n    f /= 10;\n    v--;\n  }\n\n  return {w: v, t: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"s\\u00f8ndag\",\n      \"mandag\",\n      \"tirsdag\",\n      \"onsdag\",\n      \"torsdag\",\n      \"fredag\",\n      \"l\\u00f8rdag\"\n    ],\n    \"ERANAMES\": [\n      \"f.Kr.\",\n      \"e.Kr.\"\n    ],\n    \"ERAS\": [\n      \"f.Kr.\",\n      \"e.Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januar\",\n      \"februar\",\n      \"marts\",\n      \"april\",\n      \"maj\",\n      \"juni\",\n      \"juli\",\n      \"august\",\n      \"september\",\n      \"oktober\",\n      \"november\",\n      \"december\"\n    ],\n    \"SHORTDAY\": [\n      \"s\\u00f8n.\",\n      \"man.\",\n      \"tir.\",\n      \"ons.\",\n      \"tor.\",\n      \"fre.\",\n      \"l\\u00f8r.\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"mar.\",\n      \"apr.\",\n      \"maj\",\n      \"jun.\",\n      \"jul.\",\n      \"aug.\",\n      \"sep.\",\n      \"okt.\",\n      \"nov.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE 'den' d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d. MMM y HH.mm.ss\",\n    \"mediumDate\": \"d. MMM y\",\n    \"mediumTime\": \"HH.mm.ss\",\n    \"short\": \"dd/MM/y HH.mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH.mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"kr\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"da\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  var wt = getWT(vf.v, vf.f);  if (n == 1 || wt.t != 0 && (i == 0 || i == 1)) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_dav-ke.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Luma lwa K\",\n      \"luma lwa p\"\n    ],\n    \"DAY\": [\n      \"Ituku ja jumwa\",\n      \"Kuramuka jimweri\",\n      \"Kuramuka kawi\",\n      \"Kuramuka kadadu\",\n      \"Kuramuka kana\",\n      \"Kuramuka kasanu\",\n      \"Kifula nguwo\"\n    ],\n    \"ERANAMES\": [\n      \"Kabla ya Kristo\",\n      \"Baada ya Kristo\"\n    ],\n    \"ERAS\": [\n      \"KK\",\n      \"BK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Mori ghwa imbiri\",\n      \"Mori ghwa kawi\",\n      \"Mori ghwa kadadu\",\n      \"Mori ghwa kana\",\n      \"Mori ghwa kasanu\",\n      \"Mori ghwa karandadu\",\n      \"Mori ghwa mfungade\",\n      \"Mori ghwa wunyanya\",\n      \"Mori ghwa ikenda\",\n      \"Mori ghwa ikumi\",\n      \"Mori ghwa ikumi na imweri\",\n      \"Mori ghwa ikumi na iwi\"\n    ],\n    \"SHORTDAY\": [\n      \"Jum\",\n      \"Jim\",\n      \"Kaw\",\n      \"Kad\",\n      \"Kan\",\n      \"Kas\",\n      \"Ngu\"\n    ],\n    \"SHORTMONTH\": [\n      \"Imb\",\n      \"Kaw\",\n      \"Kad\",\n      \"Kan\",\n      \"Kas\",\n      \"Kar\",\n      \"Mfu\",\n      \"Wun\",\n      \"Ike\",\n      \"Iku\",\n      \"Imw\",\n      \"Iwi\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ksh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"dav-ke\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_dav.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Luma lwa K\",\n      \"luma lwa p\"\n    ],\n    \"DAY\": [\n      \"Ituku ja jumwa\",\n      \"Kuramuka jimweri\",\n      \"Kuramuka kawi\",\n      \"Kuramuka kadadu\",\n      \"Kuramuka kana\",\n      \"Kuramuka kasanu\",\n      \"Kifula nguwo\"\n    ],\n    \"ERANAMES\": [\n      \"Kabla ya Kristo\",\n      \"Baada ya Kristo\"\n    ],\n    \"ERAS\": [\n      \"KK\",\n      \"BK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Mori ghwa imbiri\",\n      \"Mori ghwa kawi\",\n      \"Mori ghwa kadadu\",\n      \"Mori ghwa kana\",\n      \"Mori ghwa kasanu\",\n      \"Mori ghwa karandadu\",\n      \"Mori ghwa mfungade\",\n      \"Mori ghwa wunyanya\",\n      \"Mori ghwa ikenda\",\n      \"Mori ghwa ikumi\",\n      \"Mori ghwa ikumi na imweri\",\n      \"Mori ghwa ikumi na iwi\"\n    ],\n    \"SHORTDAY\": [\n      \"Jum\",\n      \"Jim\",\n      \"Kaw\",\n      \"Kad\",\n      \"Kan\",\n      \"Kas\",\n      \"Ngu\"\n    ],\n    \"SHORTMONTH\": [\n      \"Imb\",\n      \"Kaw\",\n      \"Kad\",\n      \"Kan\",\n      \"Kas\",\n      \"Kar\",\n      \"Mfu\",\n      \"Wun\",\n      \"Ike\",\n      \"Iku\",\n      \"Imw\",\n      \"Iwi\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ksh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"dav\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_de-at.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"vorm.\",\n      \"nachm.\"\n    ],\n    \"DAY\": [\n      \"Sonntag\",\n      \"Montag\",\n      \"Dienstag\",\n      \"Mittwoch\",\n      \"Donnerstag\",\n      \"Freitag\",\n      \"Samstag\"\n    ],\n    \"ERANAMES\": [\n      \"v. Chr.\",\n      \"n. Chr.\"\n    ],\n    \"ERAS\": [\n      \"v. Chr.\",\n      \"n. Chr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"J\\u00e4nner\",\n      \"Februar\",\n      \"M\\u00e4rz\",\n      \"April\",\n      \"Mai\",\n      \"Juni\",\n      \"Juli\",\n      \"August\",\n      \"September\",\n      \"Oktober\",\n      \"November\",\n      \"Dezember\"\n    ],\n    \"SHORTDAY\": [\n      \"So.\",\n      \"Mo.\",\n      \"Di.\",\n      \"Mi.\",\n      \"Do.\",\n      \"Fr.\",\n      \"Sa.\"\n    ],\n    \"SHORTMONTH\": [\n      \"J\\u00e4n.\",\n      \"Feb.\",\n      \"M\\u00e4rz\",\n      \"Apr.\",\n      \"Mai\",\n      \"Juni\",\n      \"Juli\",\n      \"Aug.\",\n      \"Sep.\",\n      \"Okt.\",\n      \"Nov.\",\n      \"Dez.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"dd.MM.y HH:mm:ss\",\n    \"mediumDate\": \"dd.MM.y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"de-at\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_de-be.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"vorm.\",\n      \"nachm.\"\n    ],\n    \"DAY\": [\n      \"Sonntag\",\n      \"Montag\",\n      \"Dienstag\",\n      \"Mittwoch\",\n      \"Donnerstag\",\n      \"Freitag\",\n      \"Samstag\"\n    ],\n    \"ERANAMES\": [\n      \"v. Chr.\",\n      \"n. Chr.\"\n    ],\n    \"ERAS\": [\n      \"v. Chr.\",\n      \"n. Chr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januar\",\n      \"Februar\",\n      \"M\\u00e4rz\",\n      \"April\",\n      \"Mai\",\n      \"Juni\",\n      \"Juli\",\n      \"August\",\n      \"September\",\n      \"Oktober\",\n      \"November\",\n      \"Dezember\"\n    ],\n    \"SHORTDAY\": [\n      \"So.\",\n      \"Mo.\",\n      \"Di.\",\n      \"Mi.\",\n      \"Do.\",\n      \"Fr.\",\n      \"Sa.\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan.\",\n      \"Feb.\",\n      \"M\\u00e4rz\",\n      \"Apr.\",\n      \"Mai\",\n      \"Juni\",\n      \"Juli\",\n      \"Aug.\",\n      \"Sep.\",\n      \"Okt.\",\n      \"Nov.\",\n      \"Dez.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"dd.MM.y HH:mm:ss\",\n    \"mediumDate\": \"dd.MM.y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"de-be\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_de-ch.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"vorm.\",\n      \"nachm.\"\n    ],\n    \"DAY\": [\n      \"Sonntag\",\n      \"Montag\",\n      \"Dienstag\",\n      \"Mittwoch\",\n      \"Donnerstag\",\n      \"Freitag\",\n      \"Samstag\"\n    ],\n    \"ERANAMES\": [\n      \"v. Chr.\",\n      \"n. Chr.\"\n    ],\n    \"ERAS\": [\n      \"v. Chr.\",\n      \"n. Chr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januar\",\n      \"Februar\",\n      \"M\\u00e4rz\",\n      \"April\",\n      \"Mai\",\n      \"Juni\",\n      \"Juli\",\n      \"August\",\n      \"September\",\n      \"Oktober\",\n      \"November\",\n      \"Dezember\"\n    ],\n    \"SHORTDAY\": [\n      \"So.\",\n      \"Mo.\",\n      \"Di.\",\n      \"Mi.\",\n      \"Do.\",\n      \"Fr.\",\n      \"Sa.\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan.\",\n      \"Feb.\",\n      \"M\\u00e4rz\",\n      \"Apr.\",\n      \"Mai\",\n      \"Juni\",\n      \"Juli\",\n      \"Aug.\",\n      \"Sep.\",\n      \"Okt.\",\n      \"Nov.\",\n      \"Dez.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"dd.MM.y HH:mm:ss\",\n    \"mediumDate\": \"dd.MM.y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CHF\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \"'\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"de-ch\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_de-de.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"vorm.\",\n      \"nachm.\"\n    ],\n    \"DAY\": [\n      \"Sonntag\",\n      \"Montag\",\n      \"Dienstag\",\n      \"Mittwoch\",\n      \"Donnerstag\",\n      \"Freitag\",\n      \"Samstag\"\n    ],\n    \"ERANAMES\": [\n      \"v. Chr.\",\n      \"n. Chr.\"\n    ],\n    \"ERAS\": [\n      \"v. Chr.\",\n      \"n. Chr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januar\",\n      \"Februar\",\n      \"M\\u00e4rz\",\n      \"April\",\n      \"Mai\",\n      \"Juni\",\n      \"Juli\",\n      \"August\",\n      \"September\",\n      \"Oktober\",\n      \"November\",\n      \"Dezember\"\n    ],\n    \"SHORTDAY\": [\n      \"So.\",\n      \"Mo.\",\n      \"Di.\",\n      \"Mi.\",\n      \"Do.\",\n      \"Fr.\",\n      \"Sa.\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan.\",\n      \"Feb.\",\n      \"M\\u00e4rz\",\n      \"Apr.\",\n      \"Mai\",\n      \"Juni\",\n      \"Juli\",\n      \"Aug.\",\n      \"Sep.\",\n      \"Okt.\",\n      \"Nov.\",\n      \"Dez.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"dd.MM.y HH:mm:ss\",\n    \"mediumDate\": \"dd.MM.y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"de-de\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_de-li.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"vorm.\",\n      \"nachm.\"\n    ],\n    \"DAY\": [\n      \"Sonntag\",\n      \"Montag\",\n      \"Dienstag\",\n      \"Mittwoch\",\n      \"Donnerstag\",\n      \"Freitag\",\n      \"Samstag\"\n    ],\n    \"ERANAMES\": [\n      \"v. Chr.\",\n      \"n. Chr.\"\n    ],\n    \"ERAS\": [\n      \"v. Chr.\",\n      \"n. Chr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januar\",\n      \"Februar\",\n      \"M\\u00e4rz\",\n      \"April\",\n      \"Mai\",\n      \"Juni\",\n      \"Juli\",\n      \"August\",\n      \"September\",\n      \"Oktober\",\n      \"November\",\n      \"Dezember\"\n    ],\n    \"SHORTDAY\": [\n      \"So.\",\n      \"Mo.\",\n      \"Di.\",\n      \"Mi.\",\n      \"Do.\",\n      \"Fr.\",\n      \"Sa.\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan.\",\n      \"Feb.\",\n      \"M\\u00e4rz\",\n      \"Apr.\",\n      \"Mai\",\n      \"Juni\",\n      \"Juli\",\n      \"Aug.\",\n      \"Sep.\",\n      \"Okt.\",\n      \"Nov.\",\n      \"Dez.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"dd.MM.y HH:mm:ss\",\n    \"mediumDate\": \"dd.MM.y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CHF\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \"'\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"de-li\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_de-lu.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"vorm.\",\n      \"nachm.\"\n    ],\n    \"DAY\": [\n      \"Sonntag\",\n      \"Montag\",\n      \"Dienstag\",\n      \"Mittwoch\",\n      \"Donnerstag\",\n      \"Freitag\",\n      \"Samstag\"\n    ],\n    \"ERANAMES\": [\n      \"v. Chr.\",\n      \"n. Chr.\"\n    ],\n    \"ERAS\": [\n      \"v. Chr.\",\n      \"n. Chr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januar\",\n      \"Februar\",\n      \"M\\u00e4rz\",\n      \"April\",\n      \"Mai\",\n      \"Juni\",\n      \"Juli\",\n      \"August\",\n      \"September\",\n      \"Oktober\",\n      \"November\",\n      \"Dezember\"\n    ],\n    \"SHORTDAY\": [\n      \"So.\",\n      \"Mo.\",\n      \"Di.\",\n      \"Mi.\",\n      \"Do.\",\n      \"Fr.\",\n      \"Sa.\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan.\",\n      \"Feb.\",\n      \"M\\u00e4rz\",\n      \"Apr.\",\n      \"Mai\",\n      \"Juni\",\n      \"Juli\",\n      \"Aug.\",\n      \"Sep.\",\n      \"Okt.\",\n      \"Nov.\",\n      \"Dez.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"dd.MM.y HH:mm:ss\",\n    \"mediumDate\": \"dd.MM.y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"de-lu\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_de.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"vorm.\",\n      \"nachm.\"\n    ],\n    \"DAY\": [\n      \"Sonntag\",\n      \"Montag\",\n      \"Dienstag\",\n      \"Mittwoch\",\n      \"Donnerstag\",\n      \"Freitag\",\n      \"Samstag\"\n    ],\n    \"ERANAMES\": [\n      \"v. Chr.\",\n      \"n. Chr.\"\n    ],\n    \"ERAS\": [\n      \"v. Chr.\",\n      \"n. Chr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januar\",\n      \"Februar\",\n      \"M\\u00e4rz\",\n      \"April\",\n      \"Mai\",\n      \"Juni\",\n      \"Juli\",\n      \"August\",\n      \"September\",\n      \"Oktober\",\n      \"November\",\n      \"Dezember\"\n    ],\n    \"SHORTDAY\": [\n      \"So.\",\n      \"Mo.\",\n      \"Di.\",\n      \"Mi.\",\n      \"Do.\",\n      \"Fr.\",\n      \"Sa.\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan.\",\n      \"Feb.\",\n      \"M\\u00e4rz\",\n      \"Apr.\",\n      \"Mai\",\n      \"Juni\",\n      \"Juli\",\n      \"Aug.\",\n      \"Sep.\",\n      \"Okt.\",\n      \"Nov.\",\n      \"Dez.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"dd.MM.y HH:mm:ss\",\n    \"mediumDate\": \"dd.MM.y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"de\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_dje-ne.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Subbaahi\",\n      \"Zaarikay b\"\n    ],\n    \"DAY\": [\n      \"Alhadi\",\n      \"Atinni\",\n      \"Atalaata\",\n      \"Alarba\",\n      \"Alhamisi\",\n      \"Alzuma\",\n      \"Asibti\"\n    ],\n    \"ERANAMES\": [\n      \"Isaa jine\",\n      \"Isaa zamanoo\"\n    ],\n    \"ERAS\": [\n      \"IJ\",\n      \"IZ\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u017danwiye\",\n      \"Feewiriye\",\n      \"Marsi\",\n      \"Awiril\",\n      \"Me\",\n      \"\\u017duwe\\u014b\",\n      \"\\u017duyye\",\n      \"Ut\",\n      \"Sektanbur\",\n      \"Oktoobur\",\n      \"Noowanbur\",\n      \"Deesanbur\"\n    ],\n    \"SHORTDAY\": [\n      \"Alh\",\n      \"Ati\",\n      \"Ata\",\n      \"Ala\",\n      \"Alm\",\n      \"Alz\",\n      \"Asi\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u017dan\",\n      \"Fee\",\n      \"Mar\",\n      \"Awi\",\n      \"Me\",\n      \"\\u017duw\",\n      \"\\u017duy\",\n      \"Ut\",\n      \"Sek\",\n      \"Okt\",\n      \"Noo\",\n      \"Dee\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CFA\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"dje-ne\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_dje.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Subbaahi\",\n      \"Zaarikay b\"\n    ],\n    \"DAY\": [\n      \"Alhadi\",\n      \"Atinni\",\n      \"Atalaata\",\n      \"Alarba\",\n      \"Alhamisi\",\n      \"Alzuma\",\n      \"Asibti\"\n    ],\n    \"ERANAMES\": [\n      \"Isaa jine\",\n      \"Isaa zamanoo\"\n    ],\n    \"ERAS\": [\n      \"IJ\",\n      \"IZ\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u017danwiye\",\n      \"Feewiriye\",\n      \"Marsi\",\n      \"Awiril\",\n      \"Me\",\n      \"\\u017duwe\\u014b\",\n      \"\\u017duyye\",\n      \"Ut\",\n      \"Sektanbur\",\n      \"Oktoobur\",\n      \"Noowanbur\",\n      \"Deesanbur\"\n    ],\n    \"SHORTDAY\": [\n      \"Alh\",\n      \"Ati\",\n      \"Ata\",\n      \"Ala\",\n      \"Alm\",\n      \"Alz\",\n      \"Asi\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u017dan\",\n      \"Fee\",\n      \"Mar\",\n      \"Awi\",\n      \"Me\",\n      \"\\u017duw\",\n      \"\\u017duy\",\n      \"Ut\",\n      \"Sek\",\n      \"Okt\",\n      \"Noo\",\n      \"Dee\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CFA\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"dje\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_dsb-de.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"dopo\\u0142dnja\",\n      \"w\\u00f3tpo\\u0142dnja\"\n    ],\n    \"DAY\": [\n      \"nje\\u017aela\",\n      \"p\\u00f3nje\\u017aele\",\n      \"wa\\u0142tora\",\n      \"srjoda\",\n      \"stw\\u00f3rtk\",\n      \"p\\u011btk\",\n      \"sobota\"\n    ],\n    \"ERANAMES\": [\n      \"p\\u015bed Kristusowym naro\\u017aenim\",\n      \"p\\u00f3 Kristusowem naro\\u017aenju\"\n    ],\n    \"ERAS\": [\n      \"p\\u015b.Chr.n.\",\n      \"p\\u00f3 Chr.n.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januara\",\n      \"februara\",\n      \"m\\u011brca\",\n      \"apryla\",\n      \"maja\",\n      \"junija\",\n      \"julija\",\n      \"awgusta\",\n      \"septembra\",\n      \"oktobra\",\n      \"nowembra\",\n      \"decembra\"\n    ],\n    \"SHORTDAY\": [\n      \"nje\",\n      \"p\\u00f3n\",\n      \"wa\\u0142\",\n      \"srj\",\n      \"stw\",\n      \"p\\u011bt\",\n      \"sob\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"m\\u011br.\",\n      \"apr.\",\n      \"maj.\",\n      \"jun.\",\n      \"jul.\",\n      \"awg.\",\n      \"sep.\",\n      \"okt.\",\n      \"now.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d.M.y H:mm:ss\",\n    \"mediumDate\": \"d.M.y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"d.M.yy H:mm\",\n    \"shortDate\": \"d.M.yy\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"dsb-de\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_dsb.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"dopo\\u0142dnja\",\n      \"w\\u00f3tpo\\u0142dnja\"\n    ],\n    \"DAY\": [\n      \"nje\\u017aela\",\n      \"p\\u00f3nje\\u017aele\",\n      \"wa\\u0142tora\",\n      \"srjoda\",\n      \"stw\\u00f3rtk\",\n      \"p\\u011btk\",\n      \"sobota\"\n    ],\n    \"ERANAMES\": [\n      \"p\\u015bed Kristusowym naro\\u017aenim\",\n      \"p\\u00f3 Kristusowem naro\\u017aenju\"\n    ],\n    \"ERAS\": [\n      \"p\\u015b.Chr.n.\",\n      \"p\\u00f3 Chr.n.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januara\",\n      \"februara\",\n      \"m\\u011brca\",\n      \"apryla\",\n      \"maja\",\n      \"junija\",\n      \"julija\",\n      \"awgusta\",\n      \"septembra\",\n      \"oktobra\",\n      \"nowembra\",\n      \"decembra\"\n    ],\n    \"SHORTDAY\": [\n      \"nje\",\n      \"p\\u00f3n\",\n      \"wa\\u0142\",\n      \"srj\",\n      \"stw\",\n      \"p\\u011bt\",\n      \"sob\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"m\\u011br.\",\n      \"apr.\",\n      \"maj.\",\n      \"jun.\",\n      \"jul.\",\n      \"awg.\",\n      \"sep.\",\n      \"okt.\",\n      \"now.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d.M.y H:mm:ss\",\n    \"mediumDate\": \"d.M.y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"d.M.yy H:mm\",\n    \"shortDate\": \"d.M.yy\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"dsb\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_dua-cm.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"idi\\u0253a\",\n      \"eby\\u00e1mu\"\n    ],\n    \"DAY\": [\n      \"\\u00e9ti\",\n      \"m\\u0254\\u0301s\\u00fa\",\n      \"kwas\\u00fa\",\n      \"muk\\u0254\\u0301s\\u00fa\",\n      \"\\u014bgis\\u00fa\",\n      \"\\u0257\\u00f3n\\u025bs\\u00fa\",\n      \"esa\\u0253as\\u00fa\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0253oso \\u0253w\\u00e1 y\\u00e1\\u0253e l\\u00e1\",\n      \"mb\\u00fasa kw\\u00e9di a Y\\u00e9s\"\n    ],\n    \"ERAS\": [\n      \"\\u0253.Ys\",\n      \"mb.Ys\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"dim\\u0254\\u0301di\",\n      \"\\u014bg\\u0254nd\\u025b\",\n      \"s\\u0254\\u014b\\u025b\",\n      \"di\\u0253\\u00e1\\u0253\\u00e1\",\n      \"emiasele\",\n      \"es\\u0254p\\u025bs\\u0254p\\u025b\",\n      \"madi\\u0253\\u025b\\u0301d\\u00ed\\u0253\\u025b\\u0301\",\n      \"di\\u014bgindi\",\n      \"ny\\u025bt\\u025bki\",\n      \"may\\u00e9s\\u025b\\u0301\",\n      \"tin\\u00edn\\u00ed\",\n      \"el\\u00e1\\u014bg\\u025b\\u0301\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u00e9t\",\n      \"m\\u0254\\u0301s\",\n      \"kwa\",\n      \"muk\",\n      \"\\u014bgi\",\n      \"\\u0257\\u00f3n\",\n      \"esa\"\n    ],\n    \"SHORTMONTH\": [\n      \"di\",\n      \"\\u014bg\\u0254n\",\n      \"s\\u0254\\u014b\",\n      \"di\\u0253\",\n      \"emi\",\n      \"es\\u0254\",\n      \"mad\",\n      \"di\\u014b\",\n      \"ny\\u025bt\",\n      \"may\",\n      \"tin\",\n      \"el\\u00e1\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"dua-cm\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_dua.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"idi\\u0253a\",\n      \"eby\\u00e1mu\"\n    ],\n    \"DAY\": [\n      \"\\u00e9ti\",\n      \"m\\u0254\\u0301s\\u00fa\",\n      \"kwas\\u00fa\",\n      \"muk\\u0254\\u0301s\\u00fa\",\n      \"\\u014bgis\\u00fa\",\n      \"\\u0257\\u00f3n\\u025bs\\u00fa\",\n      \"esa\\u0253as\\u00fa\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0253oso \\u0253w\\u00e1 y\\u00e1\\u0253e l\\u00e1\",\n      \"mb\\u00fasa kw\\u00e9di a Y\\u00e9s\"\n    ],\n    \"ERAS\": [\n      \"\\u0253.Ys\",\n      \"mb.Ys\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"dim\\u0254\\u0301di\",\n      \"\\u014bg\\u0254nd\\u025b\",\n      \"s\\u0254\\u014b\\u025b\",\n      \"di\\u0253\\u00e1\\u0253\\u00e1\",\n      \"emiasele\",\n      \"es\\u0254p\\u025bs\\u0254p\\u025b\",\n      \"madi\\u0253\\u025b\\u0301d\\u00ed\\u0253\\u025b\\u0301\",\n      \"di\\u014bgindi\",\n      \"ny\\u025bt\\u025bki\",\n      \"may\\u00e9s\\u025b\\u0301\",\n      \"tin\\u00edn\\u00ed\",\n      \"el\\u00e1\\u014bg\\u025b\\u0301\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u00e9t\",\n      \"m\\u0254\\u0301s\",\n      \"kwa\",\n      \"muk\",\n      \"\\u014bgi\",\n      \"\\u0257\\u00f3n\",\n      \"esa\"\n    ],\n    \"SHORTMONTH\": [\n      \"di\",\n      \"\\u014bg\\u0254n\",\n      \"s\\u0254\\u014b\",\n      \"di\\u0253\",\n      \"emi\",\n      \"es\\u0254\",\n      \"mad\",\n      \"di\\u014b\",\n      \"ny\\u025bt\",\n      \"may\",\n      \"tin\",\n      \"el\\u00e1\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"dua\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_dyo-sn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Dimas\",\n      \"Tene\\u014b\",\n      \"Talata\",\n      \"Alarbay\",\n      \"Aramisay\",\n      \"Arjuma\",\n      \"Sibiti\"\n    ],\n    \"ERANAMES\": [\n      \"Ari\\u014buu Yeesu\",\n      \"Atoo\\u014be Yeesu\"\n    ],\n    \"ERAS\": [\n      \"ArY\",\n      \"AtY\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Sanvie\",\n      \"F\\u00e9birie\",\n      \"Mars\",\n      \"Aburil\",\n      \"Mee\",\n      \"Sue\\u014b\",\n      \"S\\u00fauyee\",\n      \"Ut\",\n      \"Settembar\",\n      \"Oktobar\",\n      \"Novembar\",\n      \"Disambar\"\n    ],\n    \"SHORTDAY\": [\n      \"Dim\",\n      \"Ten\",\n      \"Tal\",\n      \"Ala\",\n      \"Ara\",\n      \"Arj\",\n      \"Sib\"\n    ],\n    \"SHORTMONTH\": [\n      \"Sa\",\n      \"Fe\",\n      \"Ma\",\n      \"Ab\",\n      \"Me\",\n      \"Su\",\n      \"S\\u00fa\",\n      \"Ut\",\n      \"Se\",\n      \"Ok\",\n      \"No\",\n      \"De\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"dyo-sn\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_dyo.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Dimas\",\n      \"Tene\\u014b\",\n      \"Talata\",\n      \"Alarbay\",\n      \"Aramisay\",\n      \"Arjuma\",\n      \"Sibiti\"\n    ],\n    \"ERANAMES\": [\n      \"Ari\\u014buu Yeesu\",\n      \"Atoo\\u014be Yeesu\"\n    ],\n    \"ERAS\": [\n      \"ArY\",\n      \"AtY\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Sanvie\",\n      \"F\\u00e9birie\",\n      \"Mars\",\n      \"Aburil\",\n      \"Mee\",\n      \"Sue\\u014b\",\n      \"S\\u00fauyee\",\n      \"Ut\",\n      \"Settembar\",\n      \"Oktobar\",\n      \"Novembar\",\n      \"Disambar\"\n    ],\n    \"SHORTDAY\": [\n      \"Dim\",\n      \"Ten\",\n      \"Tal\",\n      \"Ala\",\n      \"Ara\",\n      \"Arj\",\n      \"Sib\"\n    ],\n    \"SHORTMONTH\": [\n      \"Sa\",\n      \"Fe\",\n      \"Ma\",\n      \"Ab\",\n      \"Me\",\n      \"Su\",\n      \"S\\u00fa\",\n      \"Ut\",\n      \"Se\",\n      \"Ok\",\n      \"No\",\n      \"De\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"dyo\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_dz-bt.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0f66\\u0f94\\u0f0b\\u0f46\\u0f0b\",\n      \"\\u0f55\\u0fb1\\u0f72\\u0f0b\\u0f46\\u0f0b\"\n    ],\n    \"DAY\": [\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f58\\u0f72\\u0f42\\u0f0b\\u0f51\\u0f58\\u0f62\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f63\\u0fb7\\u0f42\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f55\\u0f74\\u0f62\\u0f0b\\u0f56\\u0f74\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f54\\u0f0b\\u0f66\\u0f44\\u0f66\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f66\\u0fa4\\u0f7a\\u0f53\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f49\\u0f72\\u0f0b\\u0f58\\u0f0b\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f51\\u0f44\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f42\\u0f49\\u0f72\\u0f66\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f42\\u0f66\\u0f74\\u0f58\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f5e\\u0f72\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f63\\u0f94\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f51\\u0fb2\\u0f74\\u0f42\\u0f0b\\u0f54\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f51\\u0f74\\u0f53\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f62\\u0f92\\u0fb1\\u0f51\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f51\\u0f42\\u0f74\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f45\\u0f74\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f45\\u0f74\\u0f0b\\u0f42\\u0f45\\u0f72\\u0f42\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f45\\u0f74\\u0f0b\\u0f42\\u0f49\\u0f72\\u0f66\\u0f0b\\u0f54\\u0f0b\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0f5f\\u0fb3\\u0f0b\",\n      \"\\u0f58\\u0f72\\u0f62\\u0f0b\",\n      \"\\u0f63\\u0fb7\\u0f42\\u0f0b\",\n      \"\\u0f55\\u0f74\\u0f62\\u0f0b\",\n      \"\\u0f66\\u0f44\\u0f66\\u0f0b\",\n      \"\\u0f66\\u0fa4\\u0f7a\\u0f53\\u0f0b\",\n      \"\\u0f49\\u0f72\\u0f0b\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0f21\",\n      \"\\u0f22\",\n      \"\\u0f23\",\n      \"\\u0f24\",\n      \"\\u0f25\",\n      \"\\u0f26\",\n      \"\\u0f27\",\n      \"\\u0f28\",\n      \"\\u0f29\",\n      \"\\u0f21\\u0f20\",\n      \"\\u0f21\\u0f21\",\n      \"12\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, \\u0f66\\u0fa4\\u0fb1\\u0f72\\u0f0b\\u0f63\\u0f7c\\u0f0by MMMM \\u0f5a\\u0f7a\\u0f66\\u0f0bdd\",\n    \"longDate\": \"\\u0f66\\u0fa4\\u0fb1\\u0f72\\u0f0b\\u0f63\\u0f7c\\u0f0by MMMM \\u0f5a\\u0f7a\\u0f66\\u0f0b dd\",\n    \"medium\": \"\\u0f66\\u0fa4\\u0fb1\\u0f72\\u0f0b\\u0f63\\u0f7c\\u0f0by \\u0f5f\\u0fb3\\u0f0bMMM \\u0f5a\\u0f7a\\u0f66\\u0f0bdd \\u0f46\\u0f74\\u0f0b\\u0f5a\\u0f7c\\u0f51\\u0f0bh:mm:ss a\",\n    \"mediumDate\": \"\\u0f66\\u0fa4\\u0fb1\\u0f72\\u0f0b\\u0f63\\u0f7c\\u0f0by \\u0f5f\\u0fb3\\u0f0bMMM \\u0f5a\\u0f7a\\u0f66\\u0f0bdd\",\n    \"mediumTime\": \"\\u0f46\\u0f74\\u0f0b\\u0f5a\\u0f7c\\u0f51\\u0f0bh:mm:ss a\",\n    \"short\": \"y-MM-dd \\u0f46\\u0f74\\u0f0b\\u0f5a\\u0f7c\\u0f51\\u0f0b h \\u0f66\\u0f90\\u0f62\\u0f0b\\u0f58\\u0f0b mm a\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"\\u0f46\\u0f74\\u0f0b\\u0f5a\\u0f7c\\u0f51\\u0f0b h \\u0f66\\u0f90\\u0f62\\u0f0b\\u0f58\\u0f0b mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Nu.\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"dz-bt\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_dz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0f66\\u0f94\\u0f0b\\u0f46\\u0f0b\",\n      \"\\u0f55\\u0fb1\\u0f72\\u0f0b\\u0f46\\u0f0b\"\n    ],\n    \"DAY\": [\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f58\\u0f72\\u0f42\\u0f0b\\u0f51\\u0f58\\u0f62\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f63\\u0fb7\\u0f42\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f55\\u0f74\\u0f62\\u0f0b\\u0f56\\u0f74\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f54\\u0f0b\\u0f66\\u0f44\\u0f66\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f66\\u0fa4\\u0f7a\\u0f53\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f49\\u0f72\\u0f0b\\u0f58\\u0f0b\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f51\\u0f44\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f42\\u0f49\\u0f72\\u0f66\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f42\\u0f66\\u0f74\\u0f58\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f5e\\u0f72\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f63\\u0f94\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f51\\u0fb2\\u0f74\\u0f42\\u0f0b\\u0f54\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f51\\u0f74\\u0f53\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f62\\u0f92\\u0fb1\\u0f51\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f51\\u0f42\\u0f74\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f45\\u0f74\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f45\\u0f74\\u0f0b\\u0f42\\u0f45\\u0f72\\u0f42\\u0f0b\\u0f54\\u0f0b\",\n      \"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f45\\u0f74\\u0f0b\\u0f42\\u0f49\\u0f72\\u0f66\\u0f0b\\u0f54\\u0f0b\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0f5f\\u0fb3\\u0f0b\",\n      \"\\u0f58\\u0f72\\u0f62\\u0f0b\",\n      \"\\u0f63\\u0fb7\\u0f42\\u0f0b\",\n      \"\\u0f55\\u0f74\\u0f62\\u0f0b\",\n      \"\\u0f66\\u0f44\\u0f66\\u0f0b\",\n      \"\\u0f66\\u0fa4\\u0f7a\\u0f53\\u0f0b\",\n      \"\\u0f49\\u0f72\\u0f0b\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0f21\",\n      \"\\u0f22\",\n      \"\\u0f23\",\n      \"\\u0f24\",\n      \"\\u0f25\",\n      \"\\u0f26\",\n      \"\\u0f27\",\n      \"\\u0f28\",\n      \"\\u0f29\",\n      \"\\u0f21\\u0f20\",\n      \"\\u0f21\\u0f21\",\n      \"12\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, \\u0f66\\u0fa4\\u0fb1\\u0f72\\u0f0b\\u0f63\\u0f7c\\u0f0by MMMM \\u0f5a\\u0f7a\\u0f66\\u0f0bdd\",\n    \"longDate\": \"\\u0f66\\u0fa4\\u0fb1\\u0f72\\u0f0b\\u0f63\\u0f7c\\u0f0by MMMM \\u0f5a\\u0f7a\\u0f66\\u0f0b dd\",\n    \"medium\": \"\\u0f66\\u0fa4\\u0fb1\\u0f72\\u0f0b\\u0f63\\u0f7c\\u0f0by \\u0f5f\\u0fb3\\u0f0bMMM \\u0f5a\\u0f7a\\u0f66\\u0f0bdd \\u0f46\\u0f74\\u0f0b\\u0f5a\\u0f7c\\u0f51\\u0f0bh:mm:ss a\",\n    \"mediumDate\": \"\\u0f66\\u0fa4\\u0fb1\\u0f72\\u0f0b\\u0f63\\u0f7c\\u0f0by \\u0f5f\\u0fb3\\u0f0bMMM \\u0f5a\\u0f7a\\u0f66\\u0f0bdd\",\n    \"mediumTime\": \"\\u0f46\\u0f74\\u0f0b\\u0f5a\\u0f7c\\u0f51\\u0f0bh:mm:ss a\",\n    \"short\": \"y-MM-dd \\u0f46\\u0f74\\u0f0b\\u0f5a\\u0f7c\\u0f51\\u0f0b h \\u0f66\\u0f90\\u0f62\\u0f0b\\u0f58\\u0f0b mm a\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"\\u0f46\\u0f74\\u0f0b\\u0f5a\\u0f7c\\u0f51\\u0f0b h \\u0f66\\u0f90\\u0f62\\u0f0b\\u0f58\\u0f0b mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Nu.\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"dz\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ebu-ke.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"KI\",\n      \"UT\"\n    ],\n    \"DAY\": [\n      \"Kiumia\",\n      \"Njumatatu\",\n      \"Njumaine\",\n      \"Njumatano\",\n      \"Aramithi\",\n      \"Njumaa\",\n      \"NJumamothii\"\n    ],\n    \"ERANAMES\": [\n      \"Mbere ya Kristo\",\n      \"Thutha wa Kristo\"\n    ],\n    \"ERAS\": [\n      \"MK\",\n      \"TK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Mweri wa mbere\",\n      \"Mweri wa ka\\u0129ri\",\n      \"Mweri wa kathat\\u0169\",\n      \"Mweri wa kana\",\n      \"Mweri wa gatano\",\n      \"Mweri wa gatantat\\u0169\",\n      \"Mweri wa m\\u0169gwanja\",\n      \"Mweri wa kanana\",\n      \"Mweri wa kenda\",\n      \"Mweri wa ik\\u0169mi\",\n      \"Mweri wa ik\\u0169mi na \\u0169mwe\",\n      \"Mweri wa ik\\u0169mi na Ka\\u0129r\\u0129\"\n    ],\n    \"SHORTDAY\": [\n      \"Kma\",\n      \"Tat\",\n      \"Ine\",\n      \"Tan\",\n      \"Arm\",\n      \"Maa\",\n      \"NMM\"\n    ],\n    \"SHORTMONTH\": [\n      \"Mbe\",\n      \"Kai\",\n      \"Kat\",\n      \"Kan\",\n      \"Gat\",\n      \"Gan\",\n      \"Mug\",\n      \"Knn\",\n      \"Ken\",\n      \"Iku\",\n      \"Imw\",\n      \"Igi\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ksh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ebu-ke\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ebu.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"KI\",\n      \"UT\"\n    ],\n    \"DAY\": [\n      \"Kiumia\",\n      \"Njumatatu\",\n      \"Njumaine\",\n      \"Njumatano\",\n      \"Aramithi\",\n      \"Njumaa\",\n      \"NJumamothii\"\n    ],\n    \"ERANAMES\": [\n      \"Mbere ya Kristo\",\n      \"Thutha wa Kristo\"\n    ],\n    \"ERAS\": [\n      \"MK\",\n      \"TK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Mweri wa mbere\",\n      \"Mweri wa ka\\u0129ri\",\n      \"Mweri wa kathat\\u0169\",\n      \"Mweri wa kana\",\n      \"Mweri wa gatano\",\n      \"Mweri wa gatantat\\u0169\",\n      \"Mweri wa m\\u0169gwanja\",\n      \"Mweri wa kanana\",\n      \"Mweri wa kenda\",\n      \"Mweri wa ik\\u0169mi\",\n      \"Mweri wa ik\\u0169mi na \\u0169mwe\",\n      \"Mweri wa ik\\u0169mi na Ka\\u0129r\\u0129\"\n    ],\n    \"SHORTDAY\": [\n      \"Kma\",\n      \"Tat\",\n      \"Ine\",\n      \"Tan\",\n      \"Arm\",\n      \"Maa\",\n      \"NMM\"\n    ],\n    \"SHORTMONTH\": [\n      \"Mbe\",\n      \"Kai\",\n      \"Kat\",\n      \"Kan\",\n      \"Gat\",\n      \"Gan\",\n      \"Mug\",\n      \"Knn\",\n      \"Ken\",\n      \"Iku\",\n      \"Imw\",\n      \"Igi\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ksh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ebu\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ee-gh.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u014bdi\",\n      \"\\u0263etr\\u0254\"\n    ],\n    \"DAY\": [\n      \"k\\u0254si\\u0256a\",\n      \"dzo\\u0256a\",\n      \"bla\\u0256a\",\n      \"ku\\u0256a\",\n      \"yawo\\u0256a\",\n      \"fi\\u0256a\",\n      \"memle\\u0256a\"\n    ],\n    \"ERANAMES\": [\n      \"Hafi Yesu Va Do \\u014bg\\u0254\",\n      \"Yesu \\u014a\\u0254li\"\n    ],\n    \"ERAS\": [\n      \"hY\",\n      \"Y\\u014b\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"dzove\",\n      \"dzodze\",\n      \"tedoxe\",\n      \"af\\u0254f\\u0129e\",\n      \"dama\",\n      \"masa\",\n      \"siaml\\u0254m\",\n      \"deasiamime\",\n      \"any\\u0254ny\\u0254\",\n      \"kele\",\n      \"ade\\u025bmekp\\u0254xe\",\n      \"dzome\"\n    ],\n    \"SHORTDAY\": [\n      \"k\\u0254s\",\n      \"dzo\",\n      \"bla\",\n      \"ku\\u0256\",\n      \"yaw\",\n      \"fi\\u0256\",\n      \"mem\"\n    ],\n    \"SHORTMONTH\": [\n      \"dzv\",\n      \"dzd\",\n      \"ted\",\n      \"af\\u0254\",\n      \"dam\",\n      \"mas\",\n      \"sia\",\n      \"dea\",\n      \"any\",\n      \"kel\",\n      \"ade\",\n      \"dzm\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d 'lia' y\",\n    \"longDate\": \"MMMM d 'lia' y\",\n    \"medium\": \"MMM d 'lia', y a 'ga' h:mm:ss\",\n    \"mediumDate\": \"MMM d 'lia', y\",\n    \"mediumTime\": \"a 'ga' h:mm:ss\",\n    \"short\": \"M/d/yy a 'ga' h:mm\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"a 'ga' h:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"GHS\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ee-gh\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ee-tg.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u014bdi\",\n      \"\\u0263etr\\u0254\"\n    ],\n    \"DAY\": [\n      \"k\\u0254si\\u0256a\",\n      \"dzo\\u0256a\",\n      \"bla\\u0256a\",\n      \"ku\\u0256a\",\n      \"yawo\\u0256a\",\n      \"fi\\u0256a\",\n      \"memle\\u0256a\"\n    ],\n    \"ERANAMES\": [\n      \"Hafi Yesu Va Do \\u014bg\\u0254\",\n      \"Yesu \\u014a\\u0254li\"\n    ],\n    \"ERAS\": [\n      \"hY\",\n      \"Y\\u014b\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"dzove\",\n      \"dzodze\",\n      \"tedoxe\",\n      \"af\\u0254f\\u0129e\",\n      \"dama\",\n      \"masa\",\n      \"siaml\\u0254m\",\n      \"deasiamime\",\n      \"any\\u0254ny\\u0254\",\n      \"kele\",\n      \"ade\\u025bmekp\\u0254xe\",\n      \"dzome\"\n    ],\n    \"SHORTDAY\": [\n      \"k\\u0254s\",\n      \"dzo\",\n      \"bla\",\n      \"ku\\u0256\",\n      \"yaw\",\n      \"fi\\u0256\",\n      \"mem\"\n    ],\n    \"SHORTMONTH\": [\n      \"dzv\",\n      \"dzd\",\n      \"ted\",\n      \"af\\u0254\",\n      \"dam\",\n      \"mas\",\n      \"sia\",\n      \"dea\",\n      \"any\",\n      \"kel\",\n      \"ade\",\n      \"dzm\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d 'lia' y\",\n    \"longDate\": \"MMMM d 'lia' y\",\n    \"medium\": \"MMM d 'lia', y a 'ga' h:mm:ss\",\n    \"mediumDate\": \"MMM d 'lia', y\",\n    \"mediumTime\": \"a 'ga' h:mm:ss\",\n    \"short\": \"M/d/yy a 'ga' h:mm\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"a 'ga' h:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CFA\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ee-tg\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ee.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u014bdi\",\n      \"\\u0263etr\\u0254\"\n    ],\n    \"DAY\": [\n      \"k\\u0254si\\u0256a\",\n      \"dzo\\u0256a\",\n      \"bla\\u0256a\",\n      \"ku\\u0256a\",\n      \"yawo\\u0256a\",\n      \"fi\\u0256a\",\n      \"memle\\u0256a\"\n    ],\n    \"ERANAMES\": [\n      \"Hafi Yesu Va Do \\u014bg\\u0254\",\n      \"Yesu \\u014a\\u0254li\"\n    ],\n    \"ERAS\": [\n      \"hY\",\n      \"Y\\u014b\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"dzove\",\n      \"dzodze\",\n      \"tedoxe\",\n      \"af\\u0254f\\u0129e\",\n      \"dama\",\n      \"masa\",\n      \"siaml\\u0254m\",\n      \"deasiamime\",\n      \"any\\u0254ny\\u0254\",\n      \"kele\",\n      \"ade\\u025bmekp\\u0254xe\",\n      \"dzome\"\n    ],\n    \"SHORTDAY\": [\n      \"k\\u0254s\",\n      \"dzo\",\n      \"bla\",\n      \"ku\\u0256\",\n      \"yaw\",\n      \"fi\\u0256\",\n      \"mem\"\n    ],\n    \"SHORTMONTH\": [\n      \"dzv\",\n      \"dzd\",\n      \"ted\",\n      \"af\\u0254\",\n      \"dam\",\n      \"mas\",\n      \"sia\",\n      \"dea\",\n      \"any\",\n      \"kel\",\n      \"ade\",\n      \"dzm\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d 'lia' y\",\n    \"longDate\": \"MMMM d 'lia' y\",\n    \"medium\": \"MMM d 'lia', y a 'ga' h:mm:ss\",\n    \"mediumDate\": \"MMM d 'lia', y\",\n    \"mediumTime\": \"a 'ga' h:mm:ss\",\n    \"short\": \"M/d/yy a 'ga' h:mm\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"a 'ga' h:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"GHS\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ee\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_el-cy.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u03c0.\\u03bc.\",\n      \"\\u03bc.\\u03bc.\"\n    ],\n    \"DAY\": [\n      \"\\u039a\\u03c5\\u03c1\\u03b9\\u03b1\\u03ba\\u03ae\",\n      \"\\u0394\\u03b5\\u03c5\\u03c4\\u03ad\\u03c1\\u03b1\",\n      \"\\u03a4\\u03c1\\u03af\\u03c4\\u03b7\",\n      \"\\u03a4\\u03b5\\u03c4\\u03ac\\u03c1\\u03c4\\u03b7\",\n      \"\\u03a0\\u03ad\\u03bc\\u03c0\\u03c4\\u03b7\",\n      \"\\u03a0\\u03b1\\u03c1\\u03b1\\u03c3\\u03ba\\u03b5\\u03c5\\u03ae\",\n      \"\\u03a3\\u03ac\\u03b2\\u03b2\\u03b1\\u03c4\\u03bf\"\n    ],\n    \"ERANAMES\": [\n      \"\\u03c0\\u03c1\\u03bf \\u03a7\\u03c1\\u03b9\\u03c3\\u03c4\\u03bf\\u03cd\",\n      \"\\u03bc\\u03b5\\u03c4\\u03ac \\u03a7\\u03c1\\u03b9\\u03c3\\u03c4\\u03cc\\u03bd\"\n    ],\n    \"ERAS\": [\n      \"\\u03c0.\\u03a7.\",\n      \"\\u03bc.\\u03a7.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u0399\\u03b1\\u03bd\\u03bf\\u03c5\\u03b1\\u03c1\\u03af\\u03bf\\u03c5\",\n      \"\\u03a6\\u03b5\\u03b2\\u03c1\\u03bf\\u03c5\\u03b1\\u03c1\\u03af\\u03bf\\u03c5\",\n      \"\\u039c\\u03b1\\u03c1\\u03c4\\u03af\\u03bf\\u03c5\",\n      \"\\u0391\\u03c0\\u03c1\\u03b9\\u03bb\\u03af\\u03bf\\u03c5\",\n      \"\\u039c\\u03b1\\u0390\\u03bf\\u03c5\",\n      \"\\u0399\\u03bf\\u03c5\\u03bd\\u03af\\u03bf\\u03c5\",\n      \"\\u0399\\u03bf\\u03c5\\u03bb\\u03af\\u03bf\\u03c5\",\n      \"\\u0391\\u03c5\\u03b3\\u03bf\\u03cd\\u03c3\\u03c4\\u03bf\\u03c5\",\n      \"\\u03a3\\u03b5\\u03c0\\u03c4\\u03b5\\u03bc\\u03b2\\u03c1\\u03af\\u03bf\\u03c5\",\n      \"\\u039f\\u03ba\\u03c4\\u03c9\\u03b2\\u03c1\\u03af\\u03bf\\u03c5\",\n      \"\\u039d\\u03bf\\u03b5\\u03bc\\u03b2\\u03c1\\u03af\\u03bf\\u03c5\",\n      \"\\u0394\\u03b5\\u03ba\\u03b5\\u03bc\\u03b2\\u03c1\\u03af\\u03bf\\u03c5\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u039a\\u03c5\\u03c1\",\n      \"\\u0394\\u03b5\\u03c5\",\n      \"\\u03a4\\u03c1\\u03af\",\n      \"\\u03a4\\u03b5\\u03c4\",\n      \"\\u03a0\\u03ad\\u03bc\",\n      \"\\u03a0\\u03b1\\u03c1\",\n      \"\\u03a3\\u03ac\\u03b2\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0399\\u03b1\\u03bd\",\n      \"\\u03a6\\u03b5\\u03b2\",\n      \"\\u039c\\u03b1\\u03c1\",\n      \"\\u0391\\u03c0\\u03c1\",\n      \"\\u039c\\u03b1\\u0390\",\n      \"\\u0399\\u03bf\\u03c5\\u03bd\",\n      \"\\u0399\\u03bf\\u03c5\\u03bb\",\n      \"\\u0391\\u03c5\\u03b3\",\n      \"\\u03a3\\u03b5\\u03c0\",\n      \"\\u039f\\u03ba\\u03c4\",\n      \"\\u039d\\u03bf\\u03b5\",\n      \"\\u0394\\u03b5\\u03ba\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"el-cy\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_el-gr.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u03c0.\\u03bc.\",\n      \"\\u03bc.\\u03bc.\"\n    ],\n    \"DAY\": [\n      \"\\u039a\\u03c5\\u03c1\\u03b9\\u03b1\\u03ba\\u03ae\",\n      \"\\u0394\\u03b5\\u03c5\\u03c4\\u03ad\\u03c1\\u03b1\",\n      \"\\u03a4\\u03c1\\u03af\\u03c4\\u03b7\",\n      \"\\u03a4\\u03b5\\u03c4\\u03ac\\u03c1\\u03c4\\u03b7\",\n      \"\\u03a0\\u03ad\\u03bc\\u03c0\\u03c4\\u03b7\",\n      \"\\u03a0\\u03b1\\u03c1\\u03b1\\u03c3\\u03ba\\u03b5\\u03c5\\u03ae\",\n      \"\\u03a3\\u03ac\\u03b2\\u03b2\\u03b1\\u03c4\\u03bf\"\n    ],\n    \"ERANAMES\": [\n      \"\\u03c0\\u03c1\\u03bf \\u03a7\\u03c1\\u03b9\\u03c3\\u03c4\\u03bf\\u03cd\",\n      \"\\u03bc\\u03b5\\u03c4\\u03ac \\u03a7\\u03c1\\u03b9\\u03c3\\u03c4\\u03cc\\u03bd\"\n    ],\n    \"ERAS\": [\n      \"\\u03c0.\\u03a7.\",\n      \"\\u03bc.\\u03a7.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u0399\\u03b1\\u03bd\\u03bf\\u03c5\\u03b1\\u03c1\\u03af\\u03bf\\u03c5\",\n      \"\\u03a6\\u03b5\\u03b2\\u03c1\\u03bf\\u03c5\\u03b1\\u03c1\\u03af\\u03bf\\u03c5\",\n      \"\\u039c\\u03b1\\u03c1\\u03c4\\u03af\\u03bf\\u03c5\",\n      \"\\u0391\\u03c0\\u03c1\\u03b9\\u03bb\\u03af\\u03bf\\u03c5\",\n      \"\\u039c\\u03b1\\u0390\\u03bf\\u03c5\",\n      \"\\u0399\\u03bf\\u03c5\\u03bd\\u03af\\u03bf\\u03c5\",\n      \"\\u0399\\u03bf\\u03c5\\u03bb\\u03af\\u03bf\\u03c5\",\n      \"\\u0391\\u03c5\\u03b3\\u03bf\\u03cd\\u03c3\\u03c4\\u03bf\\u03c5\",\n      \"\\u03a3\\u03b5\\u03c0\\u03c4\\u03b5\\u03bc\\u03b2\\u03c1\\u03af\\u03bf\\u03c5\",\n      \"\\u039f\\u03ba\\u03c4\\u03c9\\u03b2\\u03c1\\u03af\\u03bf\\u03c5\",\n      \"\\u039d\\u03bf\\u03b5\\u03bc\\u03b2\\u03c1\\u03af\\u03bf\\u03c5\",\n      \"\\u0394\\u03b5\\u03ba\\u03b5\\u03bc\\u03b2\\u03c1\\u03af\\u03bf\\u03c5\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u039a\\u03c5\\u03c1\",\n      \"\\u0394\\u03b5\\u03c5\",\n      \"\\u03a4\\u03c1\\u03af\",\n      \"\\u03a4\\u03b5\\u03c4\",\n      \"\\u03a0\\u03ad\\u03bc\",\n      \"\\u03a0\\u03b1\\u03c1\",\n      \"\\u03a3\\u03ac\\u03b2\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0399\\u03b1\\u03bd\",\n      \"\\u03a6\\u03b5\\u03b2\",\n      \"\\u039c\\u03b1\\u03c1\",\n      \"\\u0391\\u03c0\\u03c1\",\n      \"\\u039c\\u03b1\\u0390\",\n      \"\\u0399\\u03bf\\u03c5\\u03bd\",\n      \"\\u0399\\u03bf\\u03c5\\u03bb\",\n      \"\\u0391\\u03c5\\u03b3\",\n      \"\\u03a3\\u03b5\\u03c0\",\n      \"\\u039f\\u03ba\\u03c4\",\n      \"\\u039d\\u03bf\\u03b5\",\n      \"\\u0394\\u03b5\\u03ba\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"el-gr\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_el.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u03c0.\\u03bc.\",\n      \"\\u03bc.\\u03bc.\"\n    ],\n    \"DAY\": [\n      \"\\u039a\\u03c5\\u03c1\\u03b9\\u03b1\\u03ba\\u03ae\",\n      \"\\u0394\\u03b5\\u03c5\\u03c4\\u03ad\\u03c1\\u03b1\",\n      \"\\u03a4\\u03c1\\u03af\\u03c4\\u03b7\",\n      \"\\u03a4\\u03b5\\u03c4\\u03ac\\u03c1\\u03c4\\u03b7\",\n      \"\\u03a0\\u03ad\\u03bc\\u03c0\\u03c4\\u03b7\",\n      \"\\u03a0\\u03b1\\u03c1\\u03b1\\u03c3\\u03ba\\u03b5\\u03c5\\u03ae\",\n      \"\\u03a3\\u03ac\\u03b2\\u03b2\\u03b1\\u03c4\\u03bf\"\n    ],\n    \"ERANAMES\": [\n      \"\\u03c0\\u03c1\\u03bf \\u03a7\\u03c1\\u03b9\\u03c3\\u03c4\\u03bf\\u03cd\",\n      \"\\u03bc\\u03b5\\u03c4\\u03ac \\u03a7\\u03c1\\u03b9\\u03c3\\u03c4\\u03cc\\u03bd\"\n    ],\n    \"ERAS\": [\n      \"\\u03c0.\\u03a7.\",\n      \"\\u03bc.\\u03a7.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u0399\\u03b1\\u03bd\\u03bf\\u03c5\\u03b1\\u03c1\\u03af\\u03bf\\u03c5\",\n      \"\\u03a6\\u03b5\\u03b2\\u03c1\\u03bf\\u03c5\\u03b1\\u03c1\\u03af\\u03bf\\u03c5\",\n      \"\\u039c\\u03b1\\u03c1\\u03c4\\u03af\\u03bf\\u03c5\",\n      \"\\u0391\\u03c0\\u03c1\\u03b9\\u03bb\\u03af\\u03bf\\u03c5\",\n      \"\\u039c\\u03b1\\u0390\\u03bf\\u03c5\",\n      \"\\u0399\\u03bf\\u03c5\\u03bd\\u03af\\u03bf\\u03c5\",\n      \"\\u0399\\u03bf\\u03c5\\u03bb\\u03af\\u03bf\\u03c5\",\n      \"\\u0391\\u03c5\\u03b3\\u03bf\\u03cd\\u03c3\\u03c4\\u03bf\\u03c5\",\n      \"\\u03a3\\u03b5\\u03c0\\u03c4\\u03b5\\u03bc\\u03b2\\u03c1\\u03af\\u03bf\\u03c5\",\n      \"\\u039f\\u03ba\\u03c4\\u03c9\\u03b2\\u03c1\\u03af\\u03bf\\u03c5\",\n      \"\\u039d\\u03bf\\u03b5\\u03bc\\u03b2\\u03c1\\u03af\\u03bf\\u03c5\",\n      \"\\u0394\\u03b5\\u03ba\\u03b5\\u03bc\\u03b2\\u03c1\\u03af\\u03bf\\u03c5\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u039a\\u03c5\\u03c1\",\n      \"\\u0394\\u03b5\\u03c5\",\n      \"\\u03a4\\u03c1\\u03af\",\n      \"\\u03a4\\u03b5\\u03c4\",\n      \"\\u03a0\\u03ad\\u03bc\",\n      \"\\u03a0\\u03b1\\u03c1\",\n      \"\\u03a3\\u03ac\\u03b2\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0399\\u03b1\\u03bd\",\n      \"\\u03a6\\u03b5\\u03b2\",\n      \"\\u039c\\u03b1\\u03c1\",\n      \"\\u0391\\u03c0\\u03c1\",\n      \"\\u039c\\u03b1\\u0390\",\n      \"\\u0399\\u03bf\\u03c5\\u03bd\",\n      \"\\u0399\\u03bf\\u03c5\\u03bb\",\n      \"\\u0391\\u03c5\\u03b3\",\n      \"\\u03a3\\u03b5\\u03c0\",\n      \"\\u039f\\u03ba\\u03c4\",\n      \"\\u039d\\u03bf\\u03b5\",\n      \"\\u0394\\u03b5\\u03ba\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"el\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-001.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-001\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-150.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"dd MMM y h:mm:ss a\",\n    \"mediumDate\": \"dd MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"en-150\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-ag.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-ag\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-ai.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-ai\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-as.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"MMMM d, y\",\n    \"medium\": \"MMM d, y h:mm:ss a\",\n    \"mediumDate\": \"MMM d, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"M/d/yy h:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-as\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-au.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/MM/y h:mm a\",\n    \"shortDate\": \"d/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-au\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-bb.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-bb\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-be.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"dd MMM y h:mm:ss a\",\n    \"mediumDate\": \"dd MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"en-be\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-bm.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-bm\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-bs.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-bs\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-bw.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd MMMM y\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd MMM y h:mm:ss a\",\n    \"mediumDate\": \"dd MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"P\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-bw\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-bz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd MMMM y\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd-MMM-y HH:mm:ss\",\n    \"mediumDate\": \"dd-MMM-y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/yy HH:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-bz\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-ca.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"MMMM d, y\",\n    \"medium\": \"MMM d, y h:mm:ss a\",\n    \"mediumDate\": \"MMM d, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"y-MM-dd h:mm a\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-ca\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-cc.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-cc\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-ck.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-ck\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-cm.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-cm\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-cx.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-cx\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-dg.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-dg\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-dm.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-dm\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-er.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Nfk\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-er\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-fj.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-fj\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-fk.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a3\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-fk\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-fm.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-fm\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-gb.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a3\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-gb\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-gd.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-gd\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-gg.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a3\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-gg\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-gh.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"GHS\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-gh\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-gi.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a3\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-gi\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-gm.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"GMD\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-gm\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-gu.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"MMMM d, y\",\n    \"medium\": \"MMM d, y h:mm:ss a\",\n    \"mediumDate\": \"MMM d, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"M/d/yy h:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-gu\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-gy.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-gy\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-hk.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/y h:mm a\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-hk\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-ie.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-ie\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-im.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a3\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-im\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-in.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"dd-MMM-y h:mm:ss a\",\n    \"mediumDate\": \"dd-MMM-y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-in\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-io.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-io\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-iso.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, y MMMM dd\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"yyyy-MM-dd HH:mm\",\n    \"shortDate\": \"yyyy-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-iso\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-je.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a3\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-je\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-jm.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-jm\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-ke.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ksh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-ke\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-ki.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-ki\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-kn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-kn\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-ky.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-ky\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-lc.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-lc\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-lr.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-lr\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-ls.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"R\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-ls\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-mg.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ar\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-mg\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-mh.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"MMMM d, y\",\n    \"medium\": \"MMM d, y h:mm:ss a\",\n    \"mediumDate\": \"MMM d, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"M/d/yy h:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-mh\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-mo.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"MOP\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-mo\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-mp.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"MMMM d, y\",\n    \"medium\": \"MMM d, y h:mm:ss a\",\n    \"mediumDate\": \"MMM d, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"M/d/yy h:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-mp\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-ms.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-ms\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-mt.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd MMM y h:mm:ss a\",\n    \"mediumDate\": \"dd MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-mt\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-mu.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"MURs\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-mu\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-mw.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"MWK\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-mw\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-my.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"RM\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-my\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-na.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-na\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-nf.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-nf\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-ng.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20a6\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-ng\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-nr.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-nr\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-nu.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-nu\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-nz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d/MM/y h:mm:ss a\",\n    \"mediumDate\": \"d/MM/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/MM/yy h:mm a\",\n    \"shortDate\": \"d/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-nz\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-pg.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"PGK\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-pg\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-ph.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b1\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-ph\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-pk.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"dd-MMM-y h:mm:ss a\",\n    \"mediumDate\": \"dd-MMM-y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Rs\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-pk\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-pn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-pn\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-pr.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"MMMM d, y\",\n    \"medium\": \"MMM d, y h:mm:ss a\",\n    \"mediumDate\": \"MMM d, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"M/d/yy h:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-pr\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-pw.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-pw\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-rw.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"RF\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-rw\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-sb.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-sb\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-sc.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"SCR\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-sc\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-sd.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"SDG\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-sd\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-sg.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-sg\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-sh.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a3\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-sh\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-sl.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"SLL\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-sl\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-ss.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a3\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-ss\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-sx.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"NAf.\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-sx\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-sz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"SZL\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-sz\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-tc.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-tc\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-tk.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-tk\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-to.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"T$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-to\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-tt.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-tt\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-tv.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-tv\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-tz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"TSh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-tz\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-ug.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"UGX\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-ug\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-um.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"MMMM d, y\",\n    \"medium\": \"MMM d, y h:mm:ss a\",\n    \"mediumDate\": \"MMM d, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"M/d/yy h:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-um\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-us.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"MMMM d, y\",\n    \"medium\": \"MMM d, y h:mm:ss a\",\n    \"mediumDate\": \"MMM d, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"M/d/yy h:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-us\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-vc.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-vc\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-vg.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-vg\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-vi.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"MMMM d, y\",\n    \"medium\": \"MMM d, y h:mm:ss a\",\n    \"mediumDate\": \"MMM d, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"M/d/yy h:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-vi\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-vu.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"VUV\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-vu\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-ws.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"WST\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-ws\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-za.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd MMMM y\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd MMM y h:mm:ss a\",\n    \"mediumDate\": \"dd MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"y/MM/dd h:mm a\",\n    \"shortDate\": \"y/MM/dd\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"R\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-za\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-zm.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"ZMW\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-zm\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en-zw.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd MMMM y\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd MMM,y h:mm:ss a\",\n    \"mediumDate\": \"dd MMM,y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/y h:mm a\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en-zw\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_en.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunday\",\n      \"Monday\",\n      \"Tuesday\",\n      \"Wednesday\",\n      \"Thursday\",\n      \"Friday\",\n      \"Saturday\"\n    ],\n    \"ERANAMES\": [\n      \"Before Christ\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"January\",\n      \"February\",\n      \"March\",\n      \"April\",\n      \"May\",\n      \"June\",\n      \"July\",\n      \"August\",\n      \"September\",\n      \"October\",\n      \"November\",\n      \"December\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"Mon\",\n      \"Tue\",\n      \"Wed\",\n      \"Thu\",\n      \"Fri\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"MMMM d, y\",\n    \"medium\": \"MMM d, y h:mm:ss a\",\n    \"mediumDate\": \"MMM d, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"M/d/yy h:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"en\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_eo-001.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"atm\",\n      \"ptm\"\n    ],\n    \"DAY\": [\n      \"diman\\u0109o\",\n      \"lundo\",\n      \"mardo\",\n      \"merkredo\",\n      \"\\u0135a\\u016ddo\",\n      \"vendredo\",\n      \"sabato\"\n    ],\n    \"ERANAMES\": [\n      \"aK\",\n      \"pK\"\n    ],\n    \"ERAS\": [\n      \"aK\",\n      \"pK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januaro\",\n      \"februaro\",\n      \"marto\",\n      \"aprilo\",\n      \"majo\",\n      \"junio\",\n      \"julio\",\n      \"a\\u016dgusto\",\n      \"septembro\",\n      \"oktobro\",\n      \"novembro\",\n      \"decembro\"\n    ],\n    \"SHORTDAY\": [\n      \"di\",\n      \"lu\",\n      \"ma\",\n      \"me\",\n      \"\\u0135a\",\n      \"ve\",\n      \"sa\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"feb\",\n      \"mar\",\n      \"apr\",\n      \"maj\",\n      \"jun\",\n      \"jul\",\n      \"a\\u016dg\",\n      \"sep\",\n      \"okt\",\n      \"nov\",\n      \"dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d-'a' 'de' MMMM y\",\n    \"longDate\": \"y-MMMM-dd\",\n    \"medium\": \"y-MMM-dd HH:mm:ss\",\n    \"mediumDate\": \"y-MMM-dd\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"yy-MM-dd HH:mm\",\n    \"shortDate\": \"yy-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"eo-001\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_eo.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"atm\",\n      \"ptm\"\n    ],\n    \"DAY\": [\n      \"diman\\u0109o\",\n      \"lundo\",\n      \"mardo\",\n      \"merkredo\",\n      \"\\u0135a\\u016ddo\",\n      \"vendredo\",\n      \"sabato\"\n    ],\n    \"ERANAMES\": [\n      \"aK\",\n      \"pK\"\n    ],\n    \"ERAS\": [\n      \"aK\",\n      \"pK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januaro\",\n      \"februaro\",\n      \"marto\",\n      \"aprilo\",\n      \"majo\",\n      \"junio\",\n      \"julio\",\n      \"a\\u016dgusto\",\n      \"septembro\",\n      \"oktobro\",\n      \"novembro\",\n      \"decembro\"\n    ],\n    \"SHORTDAY\": [\n      \"di\",\n      \"lu\",\n      \"ma\",\n      \"me\",\n      \"\\u0135a\",\n      \"ve\",\n      \"sa\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"feb\",\n      \"mar\",\n      \"apr\",\n      \"maj\",\n      \"jun\",\n      \"jul\",\n      \"a\\u016dg\",\n      \"sep\",\n      \"okt\",\n      \"nov\",\n      \"dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d-'a' 'de' MMMM y\",\n    \"longDate\": \"y-MMMM-dd\",\n    \"medium\": \"y-MMM-dd HH:mm:ss\",\n    \"mediumDate\": \"y-MMM-dd\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"yy-MM-dd HH:mm\",\n    \"shortDate\": \"yy-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"eo\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_es-419.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"lunes\",\n      \"martes\",\n      \"mi\\u00e9rcoles\",\n      \"jueves\",\n      \"viernes\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"despu\\u00e9s de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a. C.\",\n      \"d. C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"enero\",\n      \"febrero\",\n      \"marzo\",\n      \"abril\",\n      \"mayo\",\n      \"junio\",\n      \"julio\",\n      \"agosto\",\n      \"septiembre\",\n      \"octubre\",\n      \"noviembre\",\n      \"diciembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom.\",\n      \"lun.\",\n      \"mar.\",\n      \"mi\\u00e9.\",\n      \"jue.\",\n      \"vie.\",\n      \"s\\u00e1b.\"\n    ],\n    \"SHORTMONTH\": [\n      \"ene.\",\n      \"feb.\",\n      \"mar.\",\n      \"abr.\",\n      \"may.\",\n      \"jun.\",\n      \"jul.\",\n      \"ago.\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"dic.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"es-419\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_es-ar.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"lunes\",\n      \"martes\",\n      \"mi\\u00e9rcoles\",\n      \"jueves\",\n      \"viernes\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"despu\\u00e9s de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a. C.\",\n      \"d. C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"enero\",\n      \"febrero\",\n      \"marzo\",\n      \"abril\",\n      \"mayo\",\n      \"junio\",\n      \"julio\",\n      \"agosto\",\n      \"septiembre\",\n      \"octubre\",\n      \"noviembre\",\n      \"diciembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom.\",\n      \"lun.\",\n      \"mar.\",\n      \"mi\\u00e9.\",\n      \"jue.\",\n      \"vie.\",\n      \"s\\u00e1b.\"\n    ],\n    \"SHORTMONTH\": [\n      \"ene.\",\n      \"feb.\",\n      \"mar.\",\n      \"abr.\",\n      \"may.\",\n      \"jun.\",\n      \"jul.\",\n      \"ago.\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"dic.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"es-ar\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_es-bo.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"lunes\",\n      \"martes\",\n      \"mi\\u00e9rcoles\",\n      \"jueves\",\n      \"viernes\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"despu\\u00e9s de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a. C.\",\n      \"d. C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"enero\",\n      \"febrero\",\n      \"marzo\",\n      \"abril\",\n      \"mayo\",\n      \"junio\",\n      \"julio\",\n      \"agosto\",\n      \"septiembre\",\n      \"octubre\",\n      \"noviembre\",\n      \"diciembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom.\",\n      \"lun.\",\n      \"mar.\",\n      \"mi\\u00e9.\",\n      \"jue.\",\n      \"vie.\",\n      \"s\\u00e1b.\"\n    ],\n    \"SHORTMONTH\": [\n      \"ene.\",\n      \"feb.\",\n      \"mar.\",\n      \"abr.\",\n      \"may.\",\n      \"jun.\",\n      \"jul.\",\n      \"ago.\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"dic.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Bs\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"es-bo\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_es-cl.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"lunes\",\n      \"martes\",\n      \"mi\\u00e9rcoles\",\n      \"jueves\",\n      \"viernes\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"despu\\u00e9s de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a. C.\",\n      \"d. C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"enero\",\n      \"febrero\",\n      \"marzo\",\n      \"abril\",\n      \"mayo\",\n      \"junio\",\n      \"julio\",\n      \"agosto\",\n      \"septiembre\",\n      \"octubre\",\n      \"noviembre\",\n      \"diciembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom.\",\n      \"lun.\",\n      \"mar.\",\n      \"mi\\u00e9.\",\n      \"jue.\",\n      \"vie.\",\n      \"s\\u00e1b.\"\n    ],\n    \"SHORTMONTH\": [\n      \"ene.\",\n      \"feb.\",\n      \"mar.\",\n      \"abr.\",\n      \"may.\",\n      \"jun.\",\n      \"jul.\",\n      \"ago.\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"dic.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"dd-MM-y h:mm:ss a\",\n    \"mediumDate\": \"dd-MM-y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd-MM-yy h:mm a\",\n    \"shortDate\": \"dd-MM-yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"es-cl\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_es-co.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"lunes\",\n      \"martes\",\n      \"mi\\u00e9rcoles\",\n      \"jueves\",\n      \"viernes\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"despu\\u00e9s de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a. C.\",\n      \"d. C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"enero\",\n      \"febrero\",\n      \"marzo\",\n      \"abril\",\n      \"mayo\",\n      \"junio\",\n      \"julio\",\n      \"agosto\",\n      \"septiembre\",\n      \"octubre\",\n      \"noviembre\",\n      \"diciembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom.\",\n      \"lun.\",\n      \"mar.\",\n      \"mi\\u00e9.\",\n      \"jue.\",\n      \"vie.\",\n      \"s\\u00e1b.\"\n    ],\n    \"SHORTMONTH\": [\n      \"ene.\",\n      \"feb.\",\n      \"mar.\",\n      \"abr.\",\n      \"may.\",\n      \"jun.\",\n      \"jul.\",\n      \"ago.\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"dic.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"d/MM/y h:mm:ss a\",\n    \"mediumDate\": \"d/MM/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/MM/yy h:mm a\",\n    \"shortDate\": \"d/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"es-co\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_es-cr.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"lunes\",\n      \"martes\",\n      \"mi\\u00e9rcoles\",\n      \"jueves\",\n      \"viernes\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"despu\\u00e9s de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a. C.\",\n      \"d. C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"enero\",\n      \"febrero\",\n      \"marzo\",\n      \"abril\",\n      \"mayo\",\n      \"junio\",\n      \"julio\",\n      \"agosto\",\n      \"septiembre\",\n      \"octubre\",\n      \"noviembre\",\n      \"diciembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom.\",\n      \"lun.\",\n      \"mar.\",\n      \"mi\\u00e9.\",\n      \"jue.\",\n      \"vie.\",\n      \"s\\u00e1b.\"\n    ],\n    \"SHORTMONTH\": [\n      \"ene.\",\n      \"feb.\",\n      \"mar.\",\n      \"abr.\",\n      \"may.\",\n      \"jun.\",\n      \"jul.\",\n      \"ago.\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"dic.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20a1\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"es-cr\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_es-cu.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"lunes\",\n      \"martes\",\n      \"mi\\u00e9rcoles\",\n      \"jueves\",\n      \"viernes\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"despu\\u00e9s de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a. C.\",\n      \"d. C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"enero\",\n      \"febrero\",\n      \"marzo\",\n      \"abril\",\n      \"mayo\",\n      \"junio\",\n      \"julio\",\n      \"agosto\",\n      \"septiembre\",\n      \"octubre\",\n      \"noviembre\",\n      \"diciembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom.\",\n      \"lun.\",\n      \"mar.\",\n      \"mi\\u00e9.\",\n      \"jue.\",\n      \"vie.\",\n      \"s\\u00e1b.\"\n    ],\n    \"SHORTMONTH\": [\n      \"ene.\",\n      \"feb.\",\n      \"mar.\",\n      \"abr.\",\n      \"may.\",\n      \"jun.\",\n      \"jul.\",\n      \"ago.\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"dic.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"es-cu\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_es-do.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"lunes\",\n      \"martes\",\n      \"mi\\u00e9rcoles\",\n      \"jueves\",\n      \"viernes\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"despu\\u00e9s de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a. C.\",\n      \"d. C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"enero\",\n      \"febrero\",\n      \"marzo\",\n      \"abril\",\n      \"mayo\",\n      \"junio\",\n      \"julio\",\n      \"agosto\",\n      \"septiembre\",\n      \"octubre\",\n      \"noviembre\",\n      \"diciembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom.\",\n      \"lun.\",\n      \"mar.\",\n      \"mi\\u00e9.\",\n      \"jue.\",\n      \"vie.\",\n      \"s\\u00e1b.\"\n    ],\n    \"SHORTMONTH\": [\n      \"ene.\",\n      \"feb.\",\n      \"mar.\",\n      \"abr.\",\n      \"may.\",\n      \"jun.\",\n      \"jul.\",\n      \"ago.\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"dic.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"es-do\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_es-ea.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"lunes\",\n      \"martes\",\n      \"mi\\u00e9rcoles\",\n      \"jueves\",\n      \"viernes\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"despu\\u00e9s de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a. C.\",\n      \"d. C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"enero\",\n      \"febrero\",\n      \"marzo\",\n      \"abril\",\n      \"mayo\",\n      \"junio\",\n      \"julio\",\n      \"agosto\",\n      \"septiembre\",\n      \"octubre\",\n      \"noviembre\",\n      \"diciembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom.\",\n      \"lun.\",\n      \"mar.\",\n      \"mi\\u00e9.\",\n      \"jue.\",\n      \"vie.\",\n      \"s\\u00e1b.\"\n    ],\n    \"SHORTMONTH\": [\n      \"ene.\",\n      \"feb.\",\n      \"mar.\",\n      \"abr.\",\n      \"may.\",\n      \"jun.\",\n      \"jul.\",\n      \"ago.\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"dic.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"d MMM y H:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"d/M/yy H:mm\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"es-ea\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_es-ec.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"lunes\",\n      \"martes\",\n      \"mi\\u00e9rcoles\",\n      \"jueves\",\n      \"viernes\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"despu\\u00e9s de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a. C.\",\n      \"d. C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"enero\",\n      \"febrero\",\n      \"marzo\",\n      \"abril\",\n      \"mayo\",\n      \"junio\",\n      \"julio\",\n      \"agosto\",\n      \"septiembre\",\n      \"octubre\",\n      \"noviembre\",\n      \"diciembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom.\",\n      \"lun.\",\n      \"mar.\",\n      \"mi\\u00e9.\",\n      \"jue.\",\n      \"vie.\",\n      \"s\\u00e1b.\"\n    ],\n    \"SHORTMONTH\": [\n      \"ene.\",\n      \"feb.\",\n      \"mar.\",\n      \"abr.\",\n      \"may.\",\n      \"jun.\",\n      \"jul.\",\n      \"ago.\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"dic.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"es-ec\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_es-es.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"lunes\",\n      \"martes\",\n      \"mi\\u00e9rcoles\",\n      \"jueves\",\n      \"viernes\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"despu\\u00e9s de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a. C.\",\n      \"d. C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"enero\",\n      \"febrero\",\n      \"marzo\",\n      \"abril\",\n      \"mayo\",\n      \"junio\",\n      \"julio\",\n      \"agosto\",\n      \"septiembre\",\n      \"octubre\",\n      \"noviembre\",\n      \"diciembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom.\",\n      \"lun.\",\n      \"mar.\",\n      \"mi\\u00e9.\",\n      \"jue.\",\n      \"vie.\",\n      \"s\\u00e1b.\"\n    ],\n    \"SHORTMONTH\": [\n      \"ene.\",\n      \"feb.\",\n      \"mar.\",\n      \"abr.\",\n      \"may.\",\n      \"jun.\",\n      \"jul.\",\n      \"ago.\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"dic.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"d MMM y H:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"d/M/yy H:mm\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"es-es\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_es-gq.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"lunes\",\n      \"martes\",\n      \"mi\\u00e9rcoles\",\n      \"jueves\",\n      \"viernes\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"despu\\u00e9s de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a. C.\",\n      \"d. C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"enero\",\n      \"febrero\",\n      \"marzo\",\n      \"abril\",\n      \"mayo\",\n      \"junio\",\n      \"julio\",\n      \"agosto\",\n      \"septiembre\",\n      \"octubre\",\n      \"noviembre\",\n      \"diciembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom.\",\n      \"lun.\",\n      \"mar.\",\n      \"mi\\u00e9.\",\n      \"jue.\",\n      \"vie.\",\n      \"s\\u00e1b.\"\n    ],\n    \"SHORTMONTH\": [\n      \"ene.\",\n      \"feb.\",\n      \"mar.\",\n      \"abr.\",\n      \"may.\",\n      \"jun.\",\n      \"jul.\",\n      \"ago.\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"dic.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"d MMM y H:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"d/M/yy H:mm\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"es-gq\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_es-gt.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"lunes\",\n      \"martes\",\n      \"mi\\u00e9rcoles\",\n      \"jueves\",\n      \"viernes\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"despu\\u00e9s de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a. C.\",\n      \"d. C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"enero\",\n      \"febrero\",\n      \"marzo\",\n      \"abril\",\n      \"mayo\",\n      \"junio\",\n      \"julio\",\n      \"agosto\",\n      \"septiembre\",\n      \"octubre\",\n      \"noviembre\",\n      \"diciembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom.\",\n      \"lun.\",\n      \"mar.\",\n      \"mi\\u00e9.\",\n      \"jue.\",\n      \"vie.\",\n      \"s\\u00e1b.\"\n    ],\n    \"SHORTMONTH\": [\n      \"ene.\",\n      \"feb.\",\n      \"mar.\",\n      \"abr.\",\n      \"may.\",\n      \"jun.\",\n      \"jul.\",\n      \"ago.\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"dic.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"d/MM/y h:mm:ss a\",\n    \"mediumDate\": \"d/MM/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/MM/yy h:mm a\",\n    \"shortDate\": \"d/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Q\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"es-gt\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_es-hn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"lunes\",\n      \"martes\",\n      \"mi\\u00e9rcoles\",\n      \"jueves\",\n      \"viernes\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"despu\\u00e9s de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a. C.\",\n      \"d. C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"enero\",\n      \"febrero\",\n      \"marzo\",\n      \"abril\",\n      \"mayo\",\n      \"junio\",\n      \"julio\",\n      \"agosto\",\n      \"septiembre\",\n      \"octubre\",\n      \"noviembre\",\n      \"diciembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom.\",\n      \"lun.\",\n      \"mar.\",\n      \"mi\\u00e9.\",\n      \"jue.\",\n      \"vie.\",\n      \"s\\u00e1b.\"\n    ],\n    \"SHORTMONTH\": [\n      \"ene.\",\n      \"feb.\",\n      \"mar.\",\n      \"abr.\",\n      \"may.\",\n      \"jun.\",\n      \"jul.\",\n      \"ago.\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"dic.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE dd 'de' MMMM 'de' y\",\n    \"longDate\": \"dd 'de' MMMM 'de' y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"L\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"es-hn\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_es-ic.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"lunes\",\n      \"martes\",\n      \"mi\\u00e9rcoles\",\n      \"jueves\",\n      \"viernes\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"despu\\u00e9s de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a. C.\",\n      \"d. C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"enero\",\n      \"febrero\",\n      \"marzo\",\n      \"abril\",\n      \"mayo\",\n      \"junio\",\n      \"julio\",\n      \"agosto\",\n      \"septiembre\",\n      \"octubre\",\n      \"noviembre\",\n      \"diciembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom.\",\n      \"lun.\",\n      \"mar.\",\n      \"mi\\u00e9.\",\n      \"jue.\",\n      \"vie.\",\n      \"s\\u00e1b.\"\n    ],\n    \"SHORTMONTH\": [\n      \"ene.\",\n      \"feb.\",\n      \"mar.\",\n      \"abr.\",\n      \"may.\",\n      \"jun.\",\n      \"jul.\",\n      \"ago.\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"dic.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"d MMM y H:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"d/M/yy H:mm\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"es-ic\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_es-mx.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"lunes\",\n      \"martes\",\n      \"mi\\u00e9rcoles\",\n      \"jueves\",\n      \"viernes\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"despu\\u00e9s de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a. C.\",\n      \"d. C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"enero\",\n      \"febrero\",\n      \"marzo\",\n      \"abril\",\n      \"mayo\",\n      \"junio\",\n      \"julio\",\n      \"agosto\",\n      \"septiembre\",\n      \"octubre\",\n      \"noviembre\",\n      \"diciembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom.\",\n      \"lun.\",\n      \"mar.\",\n      \"mi\\u00e9.\",\n      \"jue.\",\n      \"vie.\",\n      \"s\\u00e1b.\"\n    ],\n    \"SHORTMONTH\": [\n      \"ene\",\n      \"feb\",\n      \"mar\",\n      \"abr\",\n      \"may\",\n      \"jun\",\n      \"jul\",\n      \"ago\",\n      \"sep\",\n      \"oct\",\n      \"nov\",\n      \"dic\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"dd/MM/y h:mm:ss a\",\n    \"mediumDate\": \"dd/MM/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"es-mx\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_es-ni.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"lunes\",\n      \"martes\",\n      \"mi\\u00e9rcoles\",\n      \"jueves\",\n      \"viernes\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"despu\\u00e9s de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a. C.\",\n      \"d. C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"enero\",\n      \"febrero\",\n      \"marzo\",\n      \"abril\",\n      \"mayo\",\n      \"junio\",\n      \"julio\",\n      \"agosto\",\n      \"septiembre\",\n      \"octubre\",\n      \"noviembre\",\n      \"diciembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom.\",\n      \"lun.\",\n      \"mar.\",\n      \"mi\\u00e9.\",\n      \"jue.\",\n      \"vie.\",\n      \"s\\u00e1b.\"\n    ],\n    \"SHORTMONTH\": [\n      \"ene.\",\n      \"feb.\",\n      \"mar.\",\n      \"abr.\",\n      \"may.\",\n      \"jun.\",\n      \"jul.\",\n      \"ago.\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"dic.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"C$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"es-ni\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_es-pa.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"lunes\",\n      \"martes\",\n      \"mi\\u00e9rcoles\",\n      \"jueves\",\n      \"viernes\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"despu\\u00e9s de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a. C.\",\n      \"d. C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"enero\",\n      \"febrero\",\n      \"marzo\",\n      \"abril\",\n      \"mayo\",\n      \"junio\",\n      \"julio\",\n      \"agosto\",\n      \"septiembre\",\n      \"octubre\",\n      \"noviembre\",\n      \"diciembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom.\",\n      \"lun.\",\n      \"mar.\",\n      \"mi\\u00e9.\",\n      \"jue.\",\n      \"vie.\",\n      \"s\\u00e1b.\"\n    ],\n    \"SHORTMONTH\": [\n      \"ene.\",\n      \"feb.\",\n      \"mar.\",\n      \"abr.\",\n      \"may.\",\n      \"jun.\",\n      \"jul.\",\n      \"ago.\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"dic.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"MM/dd/y h:mm:ss a\",\n    \"mediumDate\": \"MM/dd/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"MM/dd/yy h:mm a\",\n    \"shortDate\": \"MM/dd/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"B/.\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"es-pa\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_es-pe.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"lunes\",\n      \"martes\",\n      \"mi\\u00e9rcoles\",\n      \"jueves\",\n      \"viernes\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"despu\\u00e9s de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a. C.\",\n      \"d. C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"enero\",\n      \"febrero\",\n      \"marzo\",\n      \"abril\",\n      \"mayo\",\n      \"junio\",\n      \"julio\",\n      \"agosto\",\n      \"setiembre\",\n      \"octubre\",\n      \"noviembre\",\n      \"diciembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom.\",\n      \"lun.\",\n      \"mar.\",\n      \"mi\\u00e9.\",\n      \"jue.\",\n      \"vie.\",\n      \"s\\u00e1b.\"\n    ],\n    \"SHORTMONTH\": [\n      \"ene.\",\n      \"feb.\",\n      \"mar.\",\n      \"abr.\",\n      \"may.\",\n      \"jun.\",\n      \"jul.\",\n      \"ago.\",\n      \"set.\",\n      \"oct.\",\n      \"nov.\",\n      \"dic.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/MM/yy h:mm a\",\n    \"shortDate\": \"d/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"S/.\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"es-pe\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_es-ph.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"lunes\",\n      \"martes\",\n      \"mi\\u00e9rcoles\",\n      \"jueves\",\n      \"viernes\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"despu\\u00e9s de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a. C.\",\n      \"d. C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"enero\",\n      \"febrero\",\n      \"marzo\",\n      \"abril\",\n      \"mayo\",\n      \"junio\",\n      \"julio\",\n      \"agosto\",\n      \"septiembre\",\n      \"octubre\",\n      \"noviembre\",\n      \"diciembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom.\",\n      \"lun.\",\n      \"mar.\",\n      \"mi\\u00e9.\",\n      \"jue.\",\n      \"vie.\",\n      \"s\\u00e1b.\"\n    ],\n    \"SHORTMONTH\": [\n      \"ene.\",\n      \"feb.\",\n      \"mar.\",\n      \"abr.\",\n      \"may.\",\n      \"jun.\",\n      \"jul.\",\n      \"ago.\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"dic.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"d MMM y H:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"d/M/yy H:mm\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b1\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"es-ph\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_es-pr.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"lunes\",\n      \"martes\",\n      \"mi\\u00e9rcoles\",\n      \"jueves\",\n      \"viernes\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"despu\\u00e9s de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a. C.\",\n      \"d. C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"enero\",\n      \"febrero\",\n      \"marzo\",\n      \"abril\",\n      \"mayo\",\n      \"junio\",\n      \"julio\",\n      \"agosto\",\n      \"septiembre\",\n      \"octubre\",\n      \"noviembre\",\n      \"diciembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom.\",\n      \"lun.\",\n      \"mar.\",\n      \"mi\\u00e9.\",\n      \"jue.\",\n      \"vie.\",\n      \"s\\u00e1b.\"\n    ],\n    \"SHORTMONTH\": [\n      \"ene.\",\n      \"feb.\",\n      \"mar.\",\n      \"abr.\",\n      \"may.\",\n      \"jun.\",\n      \"jul.\",\n      \"ago.\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"dic.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"MM/dd/y h:mm:ss a\",\n    \"mediumDate\": \"MM/dd/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"MM/dd/yy h:mm a\",\n    \"shortDate\": \"MM/dd/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"es-pr\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_es-py.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"lunes\",\n      \"martes\",\n      \"mi\\u00e9rcoles\",\n      \"jueves\",\n      \"viernes\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"despu\\u00e9s de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a. C.\",\n      \"d. C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"enero\",\n      \"febrero\",\n      \"marzo\",\n      \"abril\",\n      \"mayo\",\n      \"junio\",\n      \"julio\",\n      \"agosto\",\n      \"septiembre\",\n      \"octubre\",\n      \"noviembre\",\n      \"diciembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom.\",\n      \"lun.\",\n      \"mar.\",\n      \"mi\\u00e9.\",\n      \"jue.\",\n      \"vie.\",\n      \"s\\u00e1b.\"\n    ],\n    \"SHORTMONTH\": [\n      \"ene.\",\n      \"feb.\",\n      \"mar.\",\n      \"abr.\",\n      \"may.\",\n      \"jun.\",\n      \"jul.\",\n      \"ago.\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"dic.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Gs\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4\\u00a0-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"es-py\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_es-sv.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"lunes\",\n      \"martes\",\n      \"mi\\u00e9rcoles\",\n      \"jueves\",\n      \"viernes\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"despu\\u00e9s de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a. C.\",\n      \"d. C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"enero\",\n      \"febrero\",\n      \"marzo\",\n      \"abril\",\n      \"mayo\",\n      \"junio\",\n      \"julio\",\n      \"agosto\",\n      \"septiembre\",\n      \"octubre\",\n      \"noviembre\",\n      \"diciembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom.\",\n      \"lun.\",\n      \"mar.\",\n      \"mi\\u00e9.\",\n      \"jue.\",\n      \"vie.\",\n      \"s\\u00e1b.\"\n    ],\n    \"SHORTMONTH\": [\n      \"ene.\",\n      \"feb.\",\n      \"mar.\",\n      \"abr.\",\n      \"may.\",\n      \"jun.\",\n      \"jul.\",\n      \"ago.\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"dic.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"es-sv\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_es-us.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"lunes\",\n      \"martes\",\n      \"mi\\u00e9rcoles\",\n      \"jueves\",\n      \"viernes\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"despu\\u00e9s de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a. C.\",\n      \"d. C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"enero\",\n      \"febrero\",\n      \"marzo\",\n      \"abril\",\n      \"mayo\",\n      \"junio\",\n      \"julio\",\n      \"agosto\",\n      \"septiembre\",\n      \"octubre\",\n      \"noviembre\",\n      \"diciembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom.\",\n      \"lun.\",\n      \"mar.\",\n      \"mi\\u00e9.\",\n      \"jue.\",\n      \"vie.\",\n      \"s\\u00e1b.\"\n    ],\n    \"SHORTMONTH\": [\n      \"ene.\",\n      \"feb.\",\n      \"mar.\",\n      \"abr.\",\n      \"may.\",\n      \"jun.\",\n      \"jul.\",\n      \"ago.\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"dic.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"es-us\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_es-uy.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"lunes\",\n      \"martes\",\n      \"mi\\u00e9rcoles\",\n      \"jueves\",\n      \"viernes\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"despu\\u00e9s de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a. C.\",\n      \"d. C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"enero\",\n      \"febrero\",\n      \"marzo\",\n      \"abril\",\n      \"mayo\",\n      \"junio\",\n      \"julio\",\n      \"agosto\",\n      \"setiembre\",\n      \"octubre\",\n      \"noviembre\",\n      \"diciembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom.\",\n      \"lun.\",\n      \"mar.\",\n      \"mi\\u00e9.\",\n      \"jue.\",\n      \"vie.\",\n      \"s\\u00e1b.\"\n    ],\n    \"SHORTMONTH\": [\n      \"ene.\",\n      \"feb.\",\n      \"mar.\",\n      \"abr.\",\n      \"may.\",\n      \"jun.\",\n      \"jul.\",\n      \"ago.\",\n      \"set.\",\n      \"oct.\",\n      \"nov.\",\n      \"dic.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"es-uy\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_es-ve.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"lunes\",\n      \"martes\",\n      \"mi\\u00e9rcoles\",\n      \"jueves\",\n      \"viernes\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"despu\\u00e9s de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a. C.\",\n      \"d. C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"enero\",\n      \"febrero\",\n      \"marzo\",\n      \"abril\",\n      \"mayo\",\n      \"junio\",\n      \"julio\",\n      \"agosto\",\n      \"septiembre\",\n      \"octubre\",\n      \"noviembre\",\n      \"diciembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom.\",\n      \"lun.\",\n      \"mar.\",\n      \"mi\\u00e9.\",\n      \"jue.\",\n      \"vie.\",\n      \"s\\u00e1b.\"\n    ],\n    \"SHORTMONTH\": [\n      \"ene.\",\n      \"feb.\",\n      \"mar.\",\n      \"abr.\",\n      \"may.\",\n      \"jun.\",\n      \"jul.\",\n      \"ago.\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"dic.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Bs\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"es-ve\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_es.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a. m.\",\n      \"p. m.\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"lunes\",\n      \"martes\",\n      \"mi\\u00e9rcoles\",\n      \"jueves\",\n      \"viernes\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"despu\\u00e9s de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a. C.\",\n      \"d. C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"enero\",\n      \"febrero\",\n      \"marzo\",\n      \"abril\",\n      \"mayo\",\n      \"junio\",\n      \"julio\",\n      \"agosto\",\n      \"septiembre\",\n      \"octubre\",\n      \"noviembre\",\n      \"diciembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom.\",\n      \"lun.\",\n      \"mar.\",\n      \"mi\\u00e9.\",\n      \"jue.\",\n      \"vie.\",\n      \"s\\u00e1b.\"\n    ],\n    \"SHORTMONTH\": [\n      \"ene.\",\n      \"feb.\",\n      \"mar.\",\n      \"abr.\",\n      \"may.\",\n      \"jun.\",\n      \"jul.\",\n      \"ago.\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"dic.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"d MMM y H:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"d/M/yy H:mm\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"es\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_et-ee.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"p\\u00fchap\\u00e4ev\",\n      \"esmasp\\u00e4ev\",\n      \"teisip\\u00e4ev\",\n      \"kolmap\\u00e4ev\",\n      \"neljap\\u00e4ev\",\n      \"reede\",\n      \"laup\\u00e4ev\"\n    ],\n    \"ERANAMES\": [\n      \"enne meie aega\",\n      \"meie aja j\\u00e4rgi\"\n    ],\n    \"ERAS\": [\n      \"e.m.a.\",\n      \"m.a.j.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"jaanuar\",\n      \"veebruar\",\n      \"m\\u00e4rts\",\n      \"aprill\",\n      \"mai\",\n      \"juuni\",\n      \"juuli\",\n      \"august\",\n      \"september\",\n      \"oktoober\",\n      \"november\",\n      \"detsember\"\n    ],\n    \"SHORTDAY\": [\n      \"P\",\n      \"E\",\n      \"T\",\n      \"K\",\n      \"N\",\n      \"R\",\n      \"L\"\n    ],\n    \"SHORTMONTH\": [\n      \"jaan\",\n      \"veebr\",\n      \"m\\u00e4rts\",\n      \"apr\",\n      \"mai\",\n      \"juuni\",\n      \"juuli\",\n      \"aug\",\n      \"sept\",\n      \"okt\",\n      \"nov\",\n      \"dets\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d. MMM y H:mm.ss\",\n    \"mediumDate\": \"d. MMM y\",\n    \"mediumTime\": \"H:mm.ss\",\n    \"short\": \"dd.MM.yy H:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"et-ee\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_et.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"p\\u00fchap\\u00e4ev\",\n      \"esmasp\\u00e4ev\",\n      \"teisip\\u00e4ev\",\n      \"kolmap\\u00e4ev\",\n      \"neljap\\u00e4ev\",\n      \"reede\",\n      \"laup\\u00e4ev\"\n    ],\n    \"ERANAMES\": [\n      \"enne meie aega\",\n      \"meie aja j\\u00e4rgi\"\n    ],\n    \"ERAS\": [\n      \"e.m.a.\",\n      \"m.a.j.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"jaanuar\",\n      \"veebruar\",\n      \"m\\u00e4rts\",\n      \"aprill\",\n      \"mai\",\n      \"juuni\",\n      \"juuli\",\n      \"august\",\n      \"september\",\n      \"oktoober\",\n      \"november\",\n      \"detsember\"\n    ],\n    \"SHORTDAY\": [\n      \"P\",\n      \"E\",\n      \"T\",\n      \"K\",\n      \"N\",\n      \"R\",\n      \"L\"\n    ],\n    \"SHORTMONTH\": [\n      \"jaan\",\n      \"veebr\",\n      \"m\\u00e4rts\",\n      \"apr\",\n      \"mai\",\n      \"juuni\",\n      \"juuli\",\n      \"aug\",\n      \"sept\",\n      \"okt\",\n      \"nov\",\n      \"dets\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d. MMM y H:mm.ss\",\n    \"mediumDate\": \"d. MMM y\",\n    \"mediumTime\": \"H:mm.ss\",\n    \"short\": \"dd.MM.yy H:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"et\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_eu-es.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"igandea\",\n      \"astelehena\",\n      \"asteartea\",\n      \"asteazkena\",\n      \"osteguna\",\n      \"ostirala\",\n      \"larunbata\"\n    ],\n    \"ERANAMES\": [\n      \"K.a.\",\n      \"K.o.\"\n    ],\n    \"ERAS\": [\n      \"K.a.\",\n      \"K.o.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"urtarrilak\",\n      \"otsailak\",\n      \"martxoak\",\n      \"apirilak\",\n      \"maiatzak\",\n      \"ekainak\",\n      \"uztailak\",\n      \"abuztuak\",\n      \"irailak\",\n      \"urriak\",\n      \"azaroak\",\n      \"abenduak\"\n    ],\n    \"SHORTDAY\": [\n      \"ig.\",\n      \"al.\",\n      \"ar.\",\n      \"az.\",\n      \"og.\",\n      \"or.\",\n      \"lr.\"\n    ],\n    \"SHORTMONTH\": [\n      \"urt.\",\n      \"ots.\",\n      \"mar.\",\n      \"api.\",\n      \"mai.\",\n      \"eka.\",\n      \"uzt.\",\n      \"abu.\",\n      \"ira.\",\n      \"urr.\",\n      \"aza.\",\n      \"abe.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y('e')'ko' MMMM d, EEEE\",\n    \"longDate\": \"y('e')'ko' MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y/MM/dd HH:mm\",\n    \"shortDate\": \"y/MM/dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"eu-es\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_eu.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"igandea\",\n      \"astelehena\",\n      \"asteartea\",\n      \"asteazkena\",\n      \"osteguna\",\n      \"ostirala\",\n      \"larunbata\"\n    ],\n    \"ERANAMES\": [\n      \"K.a.\",\n      \"K.o.\"\n    ],\n    \"ERAS\": [\n      \"K.a.\",\n      \"K.o.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"urtarrilak\",\n      \"otsailak\",\n      \"martxoak\",\n      \"apirilak\",\n      \"maiatzak\",\n      \"ekainak\",\n      \"uztailak\",\n      \"abuztuak\",\n      \"irailak\",\n      \"urriak\",\n      \"azaroak\",\n      \"abenduak\"\n    ],\n    \"SHORTDAY\": [\n      \"ig.\",\n      \"al.\",\n      \"ar.\",\n      \"az.\",\n      \"og.\",\n      \"or.\",\n      \"lr.\"\n    ],\n    \"SHORTMONTH\": [\n      \"urt.\",\n      \"ots.\",\n      \"mar.\",\n      \"api.\",\n      \"mai.\",\n      \"eka.\",\n      \"uzt.\",\n      \"abu.\",\n      \"ira.\",\n      \"urr.\",\n      \"aza.\",\n      \"abe.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y('e')'ko' MMMM d, EEEE\",\n    \"longDate\": \"y('e')'ko' MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y/MM/dd HH:mm\",\n    \"shortDate\": \"y/MM/dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"eu\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ewo-cm.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"k\\u00edk\\u00edr\\u00edg\",\n      \"ng\\u0259g\\u00f3g\\u0259le\"\n    ],\n    \"DAY\": [\n      \"s\\u0254\\u0301nd\\u0254\",\n      \"m\\u0254\\u0301ndi\",\n      \"s\\u0254\\u0301nd\\u0254 m\\u0259l\\u00fa m\\u0259\\u0301b\\u025b\\u030c\",\n      \"s\\u0254\\u0301nd\\u0254 m\\u0259l\\u00fa m\\u0259\\u0301l\\u025b\\u0301\",\n      \"s\\u0254\\u0301nd\\u0254 m\\u0259l\\u00fa m\\u0259\\u0301nyi\",\n      \"f\\u00falad\\u00e9\",\n      \"s\\u00e9rad\\u00e9\"\n    ],\n    \"ERANAMES\": [\n      \"os\\u00fas\\u00faa Y\\u00e9sus kiri\",\n      \"\\u00e1mvus Y\\u00e9sus Kir\\u00eds\"\n    ],\n    \"ERAS\": [\n      \"oyk\",\n      \"ayk\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"ng\\u0254n os\\u00fa\",\n      \"ng\\u0254n b\\u025b\\u030c\",\n      \"ng\\u0254n l\\u00e1la\",\n      \"ng\\u0254n nyina\",\n      \"ng\\u0254n t\\u00e1na\",\n      \"ng\\u0254n sam\\u0259na\",\n      \"ng\\u0254n zamgb\\u00e1la\",\n      \"ng\\u0254n mwom\",\n      \"ng\\u0254n ebul\\u00fa\",\n      \"ng\\u0254n aw\\u00f3m\",\n      \"ng\\u0254n aw\\u00f3m ai dzi\\u00e1\",\n      \"ng\\u0254n aw\\u00f3m ai b\\u025b\\u030c\"\n    ],\n    \"SHORTDAY\": [\n      \"s\\u0254\\u0301n\",\n      \"m\\u0254\\u0301n\",\n      \"smb\",\n      \"sml\",\n      \"smn\",\n      \"f\\u00fal\",\n      \"s\\u00e9r\"\n    ],\n    \"SHORTMONTH\": [\n      \"ngo\",\n      \"ngb\",\n      \"ngl\",\n      \"ngn\",\n      \"ngt\",\n      \"ngs\",\n      \"ngz\",\n      \"ngm\",\n      \"nge\",\n      \"nga\",\n      \"ngad\",\n      \"ngab\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ewo-cm\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ewo.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"k\\u00edk\\u00edr\\u00edg\",\n      \"ng\\u0259g\\u00f3g\\u0259le\"\n    ],\n    \"DAY\": [\n      \"s\\u0254\\u0301nd\\u0254\",\n      \"m\\u0254\\u0301ndi\",\n      \"s\\u0254\\u0301nd\\u0254 m\\u0259l\\u00fa m\\u0259\\u0301b\\u025b\\u030c\",\n      \"s\\u0254\\u0301nd\\u0254 m\\u0259l\\u00fa m\\u0259\\u0301l\\u025b\\u0301\",\n      \"s\\u0254\\u0301nd\\u0254 m\\u0259l\\u00fa m\\u0259\\u0301nyi\",\n      \"f\\u00falad\\u00e9\",\n      \"s\\u00e9rad\\u00e9\"\n    ],\n    \"ERANAMES\": [\n      \"os\\u00fas\\u00faa Y\\u00e9sus kiri\",\n      \"\\u00e1mvus Y\\u00e9sus Kir\\u00eds\"\n    ],\n    \"ERAS\": [\n      \"oyk\",\n      \"ayk\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"ng\\u0254n os\\u00fa\",\n      \"ng\\u0254n b\\u025b\\u030c\",\n      \"ng\\u0254n l\\u00e1la\",\n      \"ng\\u0254n nyina\",\n      \"ng\\u0254n t\\u00e1na\",\n      \"ng\\u0254n sam\\u0259na\",\n      \"ng\\u0254n zamgb\\u00e1la\",\n      \"ng\\u0254n mwom\",\n      \"ng\\u0254n ebul\\u00fa\",\n      \"ng\\u0254n aw\\u00f3m\",\n      \"ng\\u0254n aw\\u00f3m ai dzi\\u00e1\",\n      \"ng\\u0254n aw\\u00f3m ai b\\u025b\\u030c\"\n    ],\n    \"SHORTDAY\": [\n      \"s\\u0254\\u0301n\",\n      \"m\\u0254\\u0301n\",\n      \"smb\",\n      \"sml\",\n      \"smn\",\n      \"f\\u00fal\",\n      \"s\\u00e9r\"\n    ],\n    \"SHORTMONTH\": [\n      \"ngo\",\n      \"ngb\",\n      \"ngl\",\n      \"ngn\",\n      \"ngt\",\n      \"ngs\",\n      \"ngz\",\n      \"ngm\",\n      \"nge\",\n      \"nga\",\n      \"ngad\",\n      \"ngab\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ewo\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fa-af.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0642\\u0628\\u0644\\u200c\\u0627\\u0632\\u0638\\u0647\\u0631\",\n      \"\\u0628\\u0639\\u062f\\u0627\\u0632\\u0638\\u0647\\u0631\"\n    ],\n    \"DAY\": [\n      \"\\u06cc\\u06a9\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u062f\\u0648\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u0633\\u0647\\u200c\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u0686\\u0647\\u0627\\u0631\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u067e\\u0646\\u062c\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u062c\\u0645\\u0639\\u0647\",\n      \"\\u0634\\u0646\\u0628\\u0647\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0632 \\u0645\\u06cc\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u06cc\\u0644\\u0627\\u062f\\u06cc\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645.\",\n      \"\\u0645.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u062c\\u0646\\u0648\\u0631\\u06cc\",\n      \"\\u0641\\u0628\\u0631\\u0648\\u0631\\u06cc\",\n      \"\\u0645\\u0627\\u0631\\u0686\",\n      \"\\u0627\\u067e\\u0631\\u06cc\\u0644\",\n      \"\\u0645\\u06cc\",\n      \"\\u062c\\u0648\\u0646\",\n      \"\\u062c\\u0648\\u0644\\u0627\\u06cc\",\n      \"\\u0627\\u06af\\u0633\\u062a\",\n      \"\\u0633\\u067e\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0627\\u06a9\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u06cc\\u06a9\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u062f\\u0648\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u0633\\u0647\\u200c\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u0686\\u0647\\u0627\\u0631\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u067e\\u0646\\u062c\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u062c\\u0645\\u0639\\u0647\",\n      \"\\u0634\\u0646\\u0628\\u0647\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u062c\\u0646\\u0648\",\n      \"\\u0641\\u0648\\u0631\\u06cc\\u0647\\u0654\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0622\\u0648\\u0631\\u06cc\\u0644\",\n      \"\\u0645\\u0640\\u06cc\",\n      \"\\u0698\\u0648\\u0626\\u0646\",\n      \"\\u062c\\u0648\\u0644\",\n      \"\\u0627\\u0648\\u062a\",\n      \"\\u0633\\u067e\\u062a\\u0627\\u0645\\u0628\\u0631\",\n      \"\\u0627\\u06a9\\u062a\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0627\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u0633\\u0645\"\n    ],\n    \"WEEKENDRANGE\": [\n      3,\n      4\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y H:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"y/M/d H:mm\",\n    \"shortDate\": \"y/M/d\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Af.\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u200e\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u200e\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"fa-af\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fa-ir.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0642\\u0628\\u0644\\u200c\\u0627\\u0632\\u0638\\u0647\\u0631\",\n      \"\\u0628\\u0639\\u062f\\u0627\\u0632\\u0638\\u0647\\u0631\"\n    ],\n    \"DAY\": [\n      \"\\u06cc\\u06a9\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u062f\\u0648\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u0633\\u0647\\u200c\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u0686\\u0647\\u0627\\u0631\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u067e\\u0646\\u062c\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u062c\\u0645\\u0639\\u0647\",\n      \"\\u0634\\u0646\\u0628\\u0647\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0632 \\u0645\\u06cc\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u06cc\\u0644\\u0627\\u062f\\u06cc\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645.\",\n      \"\\u0645.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u0698\\u0627\\u0646\\u0648\\u06cc\\u0647\\u0654\",\n      \"\\u0641\\u0648\\u0631\\u06cc\\u0647\\u0654\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0622\\u0648\\u0631\\u06cc\\u0644\",\n      \"\\u0645\\u0647\\u0654\",\n      \"\\u0698\\u0648\\u0626\\u0646\",\n      \"\\u0698\\u0648\\u0626\\u06cc\\u0647\\u0654\",\n      \"\\u0627\\u0648\\u062a\",\n      \"\\u0633\\u067e\\u062a\\u0627\\u0645\\u0628\\u0631\",\n      \"\\u0627\\u06a9\\u062a\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0627\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u0633\\u0627\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u06cc\\u06a9\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u062f\\u0648\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u0633\\u0647\\u200c\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u0686\\u0647\\u0627\\u0631\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u067e\\u0646\\u062c\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u062c\\u0645\\u0639\\u0647\",\n      \"\\u0634\\u0646\\u0628\\u0647\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0698\\u0627\\u0646\\u0648\\u06cc\\u0647\\u0654\",\n      \"\\u0641\\u0648\\u0631\\u06cc\\u0647\\u0654\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0622\\u0648\\u0631\\u06cc\\u0644\",\n      \"\\u0645\\u0647\\u0654\",\n      \"\\u0698\\u0648\\u0626\\u0646\",\n      \"\\u0698\\u0648\\u0626\\u06cc\\u0647\\u0654\",\n      \"\\u0627\\u0648\\u062a\",\n      \"\\u0633\\u067e\\u062a\\u0627\\u0645\\u0628\\u0631\",\n      \"\\u0627\\u06a9\\u062a\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0627\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u0633\\u0627\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      4\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y H:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"y/M/d H:mm\",\n    \"shortDate\": \"y/M/d\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Rial\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u200e\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u200e\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"fa-ir\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fa.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0642\\u0628\\u0644\\u200c\\u0627\\u0632\\u0638\\u0647\\u0631\",\n      \"\\u0628\\u0639\\u062f\\u0627\\u0632\\u0638\\u0647\\u0631\"\n    ],\n    \"DAY\": [\n      \"\\u06cc\\u06a9\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u062f\\u0648\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u0633\\u0647\\u200c\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u0686\\u0647\\u0627\\u0631\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u067e\\u0646\\u062c\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u062c\\u0645\\u0639\\u0647\",\n      \"\\u0634\\u0646\\u0628\\u0647\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0627\\u0632 \\u0645\\u06cc\\u0644\\u0627\\u062f\",\n      \"\\u0645\\u06cc\\u0644\\u0627\\u062f\\u06cc\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645.\",\n      \"\\u0645.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u0698\\u0627\\u0646\\u0648\\u06cc\\u0647\\u0654\",\n      \"\\u0641\\u0648\\u0631\\u06cc\\u0647\\u0654\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0622\\u0648\\u0631\\u06cc\\u0644\",\n      \"\\u0645\\u0647\\u0654\",\n      \"\\u0698\\u0648\\u0626\\u0646\",\n      \"\\u0698\\u0648\\u0626\\u06cc\\u0647\\u0654\",\n      \"\\u0627\\u0648\\u062a\",\n      \"\\u0633\\u067e\\u062a\\u0627\\u0645\\u0628\\u0631\",\n      \"\\u0627\\u06a9\\u062a\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0627\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u0633\\u0627\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u06cc\\u06a9\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u062f\\u0648\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u0633\\u0647\\u200c\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u0686\\u0647\\u0627\\u0631\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u067e\\u0646\\u062c\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u062c\\u0645\\u0639\\u0647\",\n      \"\\u0634\\u0646\\u0628\\u0647\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0698\\u0627\\u0646\\u0648\\u06cc\\u0647\\u0654\",\n      \"\\u0641\\u0648\\u0631\\u06cc\\u0647\\u0654\",\n      \"\\u0645\\u0627\\u0631\\u0633\",\n      \"\\u0622\\u0648\\u0631\\u06cc\\u0644\",\n      \"\\u0645\\u0647\\u0654\",\n      \"\\u0698\\u0648\\u0626\\u0646\",\n      \"\\u0698\\u0648\\u0626\\u06cc\\u0647\\u0654\",\n      \"\\u0627\\u0648\\u062a\",\n      \"\\u0633\\u067e\\u062a\\u0627\\u0645\\u0628\\u0631\",\n      \"\\u0627\\u06a9\\u062a\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0627\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u0633\\u0627\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      4\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y H:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"y/M/d H:mm\",\n    \"shortDate\": \"y/M/d\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Rial\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u200e\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u200e\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"fa\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ff-cm.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"subaka\",\n      \"kikii\\u0257e\"\n    ],\n    \"DAY\": [\n      \"dewo\",\n      \"aa\\u0253nde\",\n      \"mawbaare\",\n      \"njeslaare\",\n      \"naasaande\",\n      \"mawnde\",\n      \"hoore-biir\"\n    ],\n    \"ERANAMES\": [\n      \"Hade Iisa\",\n      \"Caggal Iisa\"\n    ],\n    \"ERAS\": [\n      \"H-I\",\n      \"C-I\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"siilo\",\n      \"colte\",\n      \"mbooy\",\n      \"see\\u0257to\",\n      \"duujal\",\n      \"korse\",\n      \"morso\",\n      \"juko\",\n      \"siilto\",\n      \"yarkomaa\",\n      \"jolal\",\n      \"bowte\"\n    ],\n    \"SHORTDAY\": [\n      \"dew\",\n      \"aa\\u0253\",\n      \"maw\",\n      \"nje\",\n      \"naa\",\n      \"mwd\",\n      \"hbi\"\n    ],\n    \"SHORTMONTH\": [\n      \"sii\",\n      \"col\",\n      \"mbo\",\n      \"see\",\n      \"duu\",\n      \"kor\",\n      \"mor\",\n      \"juk\",\n      \"slt\",\n      \"yar\",\n      \"jol\",\n      \"bow\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ff-cm\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ff-gn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"subaka\",\n      \"kikii\\u0257e\"\n    ],\n    \"DAY\": [\n      \"dewo\",\n      \"aa\\u0253nde\",\n      \"mawbaare\",\n      \"njeslaare\",\n      \"naasaande\",\n      \"mawnde\",\n      \"hoore-biir\"\n    ],\n    \"ERANAMES\": [\n      \"Hade Iisa\",\n      \"Caggal Iisa\"\n    ],\n    \"ERAS\": [\n      \"H-I\",\n      \"C-I\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"siilo\",\n      \"colte\",\n      \"mbooy\",\n      \"see\\u0257to\",\n      \"duujal\",\n      \"korse\",\n      \"morso\",\n      \"juko\",\n      \"siilto\",\n      \"yarkomaa\",\n      \"jolal\",\n      \"bowte\"\n    ],\n    \"SHORTDAY\": [\n      \"dew\",\n      \"aa\\u0253\",\n      \"maw\",\n      \"nje\",\n      \"naa\",\n      \"mwd\",\n      \"hbi\"\n    ],\n    \"SHORTMONTH\": [\n      \"sii\",\n      \"col\",\n      \"mbo\",\n      \"see\",\n      \"duu\",\n      \"kor\",\n      \"mor\",\n      \"juk\",\n      \"slt\",\n      \"yar\",\n      \"jol\",\n      \"bow\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FG\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ff-gn\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ff-mr.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"subaka\",\n      \"kikii\\u0257e\"\n    ],\n    \"DAY\": [\n      \"dewo\",\n      \"aa\\u0253nde\",\n      \"mawbaare\",\n      \"njeslaare\",\n      \"naasaande\",\n      \"mawnde\",\n      \"hoore-biir\"\n    ],\n    \"ERANAMES\": [\n      \"Hade Iisa\",\n      \"Caggal Iisa\"\n    ],\n    \"ERAS\": [\n      \"H-I\",\n      \"C-I\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"siilo\",\n      \"colte\",\n      \"mbooy\",\n      \"see\\u0257to\",\n      \"duujal\",\n      \"korse\",\n      \"morso\",\n      \"juko\",\n      \"siilto\",\n      \"yarkomaa\",\n      \"jolal\",\n      \"bowte\"\n    ],\n    \"SHORTDAY\": [\n      \"dew\",\n      \"aa\\u0253\",\n      \"maw\",\n      \"nje\",\n      \"naa\",\n      \"mwd\",\n      \"hbi\"\n    ],\n    \"SHORTMONTH\": [\n      \"sii\",\n      \"col\",\n      \"mbo\",\n      \"see\",\n      \"duu\",\n      \"kor\",\n      \"mor\",\n      \"juk\",\n      \"slt\",\n      \"yar\",\n      \"jol\",\n      \"bow\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"MRO\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ff-mr\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ff-sn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"subaka\",\n      \"kikii\\u0257e\"\n    ],\n    \"DAY\": [\n      \"dewo\",\n      \"aa\\u0253nde\",\n      \"mawbaare\",\n      \"njeslaare\",\n      \"naasaande\",\n      \"mawnde\",\n      \"hoore-biir\"\n    ],\n    \"ERANAMES\": [\n      \"Hade Iisa\",\n      \"Caggal Iisa\"\n    ],\n    \"ERAS\": [\n      \"H-I\",\n      \"C-I\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"siilo\",\n      \"colte\",\n      \"mbooy\",\n      \"see\\u0257to\",\n      \"duujal\",\n      \"korse\",\n      \"morso\",\n      \"juko\",\n      \"siilto\",\n      \"yarkomaa\",\n      \"jolal\",\n      \"bowte\"\n    ],\n    \"SHORTDAY\": [\n      \"dew\",\n      \"aa\\u0253\",\n      \"maw\",\n      \"nje\",\n      \"naa\",\n      \"mwd\",\n      \"hbi\"\n    ],\n    \"SHORTMONTH\": [\n      \"sii\",\n      \"col\",\n      \"mbo\",\n      \"see\",\n      \"duu\",\n      \"kor\",\n      \"mor\",\n      \"juk\",\n      \"slt\",\n      \"yar\",\n      \"jol\",\n      \"bow\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ff-sn\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ff.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"subaka\",\n      \"kikii\\u0257e\"\n    ],\n    \"DAY\": [\n      \"dewo\",\n      \"aa\\u0253nde\",\n      \"mawbaare\",\n      \"njeslaare\",\n      \"naasaande\",\n      \"mawnde\",\n      \"hoore-biir\"\n    ],\n    \"ERANAMES\": [\n      \"Hade Iisa\",\n      \"Caggal Iisa\"\n    ],\n    \"ERAS\": [\n      \"H-I\",\n      \"C-I\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"siilo\",\n      \"colte\",\n      \"mbooy\",\n      \"see\\u0257to\",\n      \"duujal\",\n      \"korse\",\n      \"morso\",\n      \"juko\",\n      \"siilto\",\n      \"yarkomaa\",\n      \"jolal\",\n      \"bowte\"\n    ],\n    \"SHORTDAY\": [\n      \"dew\",\n      \"aa\\u0253\",\n      \"maw\",\n      \"nje\",\n      \"naa\",\n      \"mwd\",\n      \"hbi\"\n    ],\n    \"SHORTMONTH\": [\n      \"sii\",\n      \"col\",\n      \"mbo\",\n      \"see\",\n      \"duu\",\n      \"kor\",\n      \"mor\",\n      \"juk\",\n      \"slt\",\n      \"yar\",\n      \"jol\",\n      \"bow\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ff\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fi-fi.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"ap.\",\n      \"ip.\"\n    ],\n    \"DAY\": [\n      \"sunnuntaina\",\n      \"maanantaina\",\n      \"tiistaina\",\n      \"keskiviikkona\",\n      \"torstaina\",\n      \"perjantaina\",\n      \"lauantaina\"\n    ],\n    \"ERANAMES\": [\n      \"ennen Kristuksen syntym\\u00e4\\u00e4\",\n      \"j\\u00e4lkeen Kristuksen syntym\\u00e4n\"\n    ],\n    \"ERAS\": [\n      \"eKr.\",\n      \"jKr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"tammikuuta\",\n      \"helmikuuta\",\n      \"maaliskuuta\",\n      \"huhtikuuta\",\n      \"toukokuuta\",\n      \"kes\\u00e4kuuta\",\n      \"hein\\u00e4kuuta\",\n      \"elokuuta\",\n      \"syyskuuta\",\n      \"lokakuuta\",\n      \"marraskuuta\",\n      \"joulukuuta\"\n    ],\n    \"SHORTDAY\": [\n      \"su\",\n      \"ma\",\n      \"ti\",\n      \"ke\",\n      \"to\",\n      \"pe\",\n      \"la\"\n    ],\n    \"SHORTMONTH\": [\n      \"tammikuuta\",\n      \"helmikuuta\",\n      \"maaliskuuta\",\n      \"huhtikuuta\",\n      \"toukokuuta\",\n      \"kes\\u00e4kuuta\",\n      \"hein\\u00e4kuuta\",\n      \"elokuuta\",\n      \"syyskuuta\",\n      \"lokakuuta\",\n      \"marraskuuta\",\n      \"joulukuuta\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"cccc d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d.M.y H.mm.ss\",\n    \"mediumDate\": \"d.M.y\",\n    \"mediumTime\": \"H.mm.ss\",\n    \"short\": \"d.M.y H.mm\",\n    \"shortDate\": \"d.M.y\",\n    \"shortTime\": \"H.mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fi-fi\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fi.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"ap.\",\n      \"ip.\"\n    ],\n    \"DAY\": [\n      \"sunnuntaina\",\n      \"maanantaina\",\n      \"tiistaina\",\n      \"keskiviikkona\",\n      \"torstaina\",\n      \"perjantaina\",\n      \"lauantaina\"\n    ],\n    \"ERANAMES\": [\n      \"ennen Kristuksen syntym\\u00e4\\u00e4\",\n      \"j\\u00e4lkeen Kristuksen syntym\\u00e4n\"\n    ],\n    \"ERAS\": [\n      \"eKr.\",\n      \"jKr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"tammikuuta\",\n      \"helmikuuta\",\n      \"maaliskuuta\",\n      \"huhtikuuta\",\n      \"toukokuuta\",\n      \"kes\\u00e4kuuta\",\n      \"hein\\u00e4kuuta\",\n      \"elokuuta\",\n      \"syyskuuta\",\n      \"lokakuuta\",\n      \"marraskuuta\",\n      \"joulukuuta\"\n    ],\n    \"SHORTDAY\": [\n      \"su\",\n      \"ma\",\n      \"ti\",\n      \"ke\",\n      \"to\",\n      \"pe\",\n      \"la\"\n    ],\n    \"SHORTMONTH\": [\n      \"tammikuuta\",\n      \"helmikuuta\",\n      \"maaliskuuta\",\n      \"huhtikuuta\",\n      \"toukokuuta\",\n      \"kes\\u00e4kuuta\",\n      \"hein\\u00e4kuuta\",\n      \"elokuuta\",\n      \"syyskuuta\",\n      \"lokakuuta\",\n      \"marraskuuta\",\n      \"joulukuuta\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"cccc d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d.M.y H.mm.ss\",\n    \"mediumDate\": \"d.M.y\",\n    \"mediumTime\": \"H.mm.ss\",\n    \"short\": \"d.M.y H.mm\",\n    \"shortDate\": \"d.M.y\",\n    \"shortTime\": \"H.mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fi\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fil-ph.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Linggo\",\n      \"Lunes\",\n      \"Martes\",\n      \"Miyerkules\",\n      \"Huwebes\",\n      \"Biyernes\",\n      \"Sabado\"\n    ],\n    \"ERANAMES\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Enero\",\n      \"Pebrero\",\n      \"Marso\",\n      \"Abril\",\n      \"Mayo\",\n      \"Hunyo\",\n      \"Hulyo\",\n      \"Agosto\",\n      \"Setyembre\",\n      \"Oktubre\",\n      \"Nobyembre\",\n      \"Disyembre\"\n    ],\n    \"SHORTDAY\": [\n      \"Lin\",\n      \"Lun\",\n      \"Mar\",\n      \"Miy\",\n      \"Huw\",\n      \"Biy\",\n      \"Sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Ene\",\n      \"Peb\",\n      \"Mar\",\n      \"Abr\",\n      \"May\",\n      \"Hun\",\n      \"Hul\",\n      \"Ago\",\n      \"Set\",\n      \"Okt\",\n      \"Nob\",\n      \"Dis\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"MMMM d, y\",\n    \"medium\": \"MMM d, y h:mm:ss a\",\n    \"mediumDate\": \"MMM d, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"M/d/yy h:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b1\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"fil-ph\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && (i == 1 || i == 2 || i == 3) || vf.v == 0 && i % 10 != 4 && i % 10 != 6 && i % 10 != 9 || vf.v != 0 && vf.f % 10 != 4 && vf.f % 10 != 6 && vf.f % 10 != 9) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fil.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Linggo\",\n      \"Lunes\",\n      \"Martes\",\n      \"Miyerkules\",\n      \"Huwebes\",\n      \"Biyernes\",\n      \"Sabado\"\n    ],\n    \"ERANAMES\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Enero\",\n      \"Pebrero\",\n      \"Marso\",\n      \"Abril\",\n      \"Mayo\",\n      \"Hunyo\",\n      \"Hulyo\",\n      \"Agosto\",\n      \"Setyembre\",\n      \"Oktubre\",\n      \"Nobyembre\",\n      \"Disyembre\"\n    ],\n    \"SHORTDAY\": [\n      \"Lin\",\n      \"Lun\",\n      \"Mar\",\n      \"Miy\",\n      \"Huw\",\n      \"Biy\",\n      \"Sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Ene\",\n      \"Peb\",\n      \"Mar\",\n      \"Abr\",\n      \"May\",\n      \"Hun\",\n      \"Hul\",\n      \"Ago\",\n      \"Set\",\n      \"Okt\",\n      \"Nob\",\n      \"Dis\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"MMMM d, y\",\n    \"medium\": \"MMM d, y h:mm:ss a\",\n    \"mediumDate\": \"MMM d, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"M/d/yy h:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b1\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"fil\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && (i == 1 || i == 2 || i == 3) || vf.v == 0 && i % 10 != 4 && i % 10 != 6 && i % 10 != 9 || vf.v != 0 && vf.f % 10 != 4 && vf.f % 10 != 6 && vf.f % 10 != 9) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fo-fo.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"um fyrrapartur\",\n      \"um seinnapartur\"\n    ],\n    \"DAY\": [\n      \"sunnudagur\",\n      \"m\\u00e1nadagur\",\n      \"t\\u00fdsdagur\",\n      \"mikudagur\",\n      \"h\\u00f3sdagur\",\n      \"fr\\u00edggjadagur\",\n      \"leygardagur\"\n    ],\n    \"ERANAMES\": [\n      \"fyrir Krist\",\n      \"eftir Krist\"\n    ],\n    \"ERAS\": [\n      \"f.Kr.\",\n      \"e.Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januar\",\n      \"februar\",\n      \"mars\",\n      \"apr\\u00edl\",\n      \"mai\",\n      \"juni\",\n      \"juli\",\n      \"august\",\n      \"september\",\n      \"oktober\",\n      \"november\",\n      \"desember\"\n    ],\n    \"SHORTDAY\": [\n      \"sun\",\n      \"m\\u00e1n\",\n      \"t\\u00fds\",\n      \"mik\",\n      \"h\\u00f3s\",\n      \"fr\\u00ed\",\n      \"ley\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"feb\",\n      \"mar\",\n      \"apr\",\n      \"mai\",\n      \"jun\",\n      \"jul\",\n      \"aug\",\n      \"sep\",\n      \"okt\",\n      \"nov\",\n      \"des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE dd MMMM y\",\n    \"longDate\": \"d. MMM y\",\n    \"medium\": \"dd-MM-y HH:mm:ss\",\n    \"mediumDate\": \"dd-MM-y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd-MM-yy HH:mm\",\n    \"shortDate\": \"dd-MM-yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"kr\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"fo-fo\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fo.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"um fyrrapartur\",\n      \"um seinnapartur\"\n    ],\n    \"DAY\": [\n      \"sunnudagur\",\n      \"m\\u00e1nadagur\",\n      \"t\\u00fdsdagur\",\n      \"mikudagur\",\n      \"h\\u00f3sdagur\",\n      \"fr\\u00edggjadagur\",\n      \"leygardagur\"\n    ],\n    \"ERANAMES\": [\n      \"fyrir Krist\",\n      \"eftir Krist\"\n    ],\n    \"ERAS\": [\n      \"f.Kr.\",\n      \"e.Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januar\",\n      \"februar\",\n      \"mars\",\n      \"apr\\u00edl\",\n      \"mai\",\n      \"juni\",\n      \"juli\",\n      \"august\",\n      \"september\",\n      \"oktober\",\n      \"november\",\n      \"desember\"\n    ],\n    \"SHORTDAY\": [\n      \"sun\",\n      \"m\\u00e1n\",\n      \"t\\u00fds\",\n      \"mik\",\n      \"h\\u00f3s\",\n      \"fr\\u00ed\",\n      \"ley\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"feb\",\n      \"mar\",\n      \"apr\",\n      \"mai\",\n      \"jun\",\n      \"jul\",\n      \"aug\",\n      \"sep\",\n      \"okt\",\n      \"nov\",\n      \"des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE dd MMMM y\",\n    \"longDate\": \"d. MMM y\",\n    \"medium\": \"dd-MM-y HH:mm:ss\",\n    \"mediumDate\": \"dd-MM-y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd-MM-yy HH:mm\",\n    \"shortDate\": \"dd-MM-yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"kr\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"fo\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-be.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/MM/yy HH:mm\",\n    \"shortDate\": \"d/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-be\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-bf.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-bf\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-bi.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FBu\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-bi\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-bj.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-bj\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-bl.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-bl\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-ca.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"yy-MM-dd HH:mm\",\n    \"shortDate\": \"yy-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-ca\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-cd.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FrCD\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-cd\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-cf.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-cf\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-cg.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-cg\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-ch.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CHF\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"fr-ch\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-ci.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-ci\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-cm.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-cm\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-dj.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Fdj\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-dj\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-dz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"din\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-dz\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-fr.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-fr\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-ga.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-ga\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-gf.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-gf\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-gn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FG\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-gn\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-gp.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-gp\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-gq.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-gq\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-ht.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"HTG\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-ht\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-km.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CF\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-km\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-lu.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-lu\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-ma.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"dh\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-ma\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-mc.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-mc\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-mf.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-mf\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-mg.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ar\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-mg\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-ml.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-ml\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-mq.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-mq\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-mr.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"MRO\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-mr\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-mu.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"MURs\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-mu\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-nc.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFP\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-nc\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-ne.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-ne\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-pf.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFP\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-pf\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-pm.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-pm\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-re.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-re\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-rw.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"RF\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-rw\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-sc.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"SCR\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-sc\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-sn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-sn\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-sy.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a3\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-sy\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-td.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-td\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-tg.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-tg\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-tn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"din\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-tn\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-vu.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"VUV\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-vu\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-wf.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFP\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-wf\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr-yt.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr-yt\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fr.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimanche\",\n      \"lundi\",\n      \"mardi\",\n      \"mercredi\",\n      \"jeudi\",\n      \"vendredi\",\n      \"samedi\"\n    ],\n    \"ERANAMES\": [\n      \"avant J\\u00e9sus-Christ\",\n      \"apr\\u00e8s J\\u00e9sus-Christ\"\n    ],\n    \"ERAS\": [\n      \"av. J.-C.\",\n      \"ap. J.-C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janvier\",\n      \"f\\u00e9vrier\",\n      \"mars\",\n      \"avril\",\n      \"mai\",\n      \"juin\",\n      \"juillet\",\n      \"ao\\u00fbt\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"d\\u00e9cembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dim.\",\n      \"lun.\",\n      \"mar.\",\n      \"mer.\",\n      \"jeu.\",\n      \"ven.\",\n      \"sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"f\\u00e9vr.\",\n      \"mars\",\n      \"avr.\",\n      \"mai\",\n      \"juin\",\n      \"juil.\",\n      \"ao\\u00fbt\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"d\\u00e9c.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"fr\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fur-it.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.\",\n      \"p.\"\n    ],\n    \"DAY\": [\n      \"domenie\",\n      \"lunis\",\n      \"martars\",\n      \"miercus\",\n      \"joibe\",\n      \"vinars\",\n      \"sabide\"\n    ],\n    \"ERANAMES\": [\n      \"pdC\",\n      \"ddC\"\n    ],\n    \"ERAS\": [\n      \"pdC\",\n      \"ddC\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Zen\\u00e2r\",\n      \"Fevr\\u00e2r\",\n      \"Mar\\u00e7\",\n      \"Avr\\u00eel\",\n      \"Mai\",\n      \"Jugn\",\n      \"Lui\",\n      \"Avost\",\n      \"Setembar\",\n      \"Otubar\",\n      \"Novembar\",\n      \"Dicembar\"\n    ],\n    \"SHORTDAY\": [\n      \"dom\",\n      \"lun\",\n      \"mar\",\n      \"mie\",\n      \"joi\",\n      \"vin\",\n      \"sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Zen\",\n      \"Fev\",\n      \"Mar\",\n      \"Avr\",\n      \"Mai\",\n      \"Jug\",\n      \"Lui\",\n      \"Avo\",\n      \"Set\",\n      \"Otu\",\n      \"Nov\",\n      \"Dic\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d 'di' MMMM 'dal' y\",\n    \"longDate\": \"d 'di' MMMM 'dal' y\",\n    \"medium\": \"dd/MM/y HH:mm:ss\",\n    \"mediumDate\": \"dd/MM/y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/yy HH:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"fur-it\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fur.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.\",\n      \"p.\"\n    ],\n    \"DAY\": [\n      \"domenie\",\n      \"lunis\",\n      \"martars\",\n      \"miercus\",\n      \"joibe\",\n      \"vinars\",\n      \"sabide\"\n    ],\n    \"ERANAMES\": [\n      \"pdC\",\n      \"ddC\"\n    ],\n    \"ERAS\": [\n      \"pdC\",\n      \"ddC\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Zen\\u00e2r\",\n      \"Fevr\\u00e2r\",\n      \"Mar\\u00e7\",\n      \"Avr\\u00eel\",\n      \"Mai\",\n      \"Jugn\",\n      \"Lui\",\n      \"Avost\",\n      \"Setembar\",\n      \"Otubar\",\n      \"Novembar\",\n      \"Dicembar\"\n    ],\n    \"SHORTDAY\": [\n      \"dom\",\n      \"lun\",\n      \"mar\",\n      \"mie\",\n      \"joi\",\n      \"vin\",\n      \"sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Zen\",\n      \"Fev\",\n      \"Mar\",\n      \"Avr\",\n      \"Mai\",\n      \"Jug\",\n      \"Lui\",\n      \"Avo\",\n      \"Set\",\n      \"Otu\",\n      \"Nov\",\n      \"Dic\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d 'di' MMMM 'dal' y\",\n    \"longDate\": \"d 'di' MMMM 'dal' y\",\n    \"medium\": \"dd/MM/y HH:mm:ss\",\n    \"mediumDate\": \"dd/MM/y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/yy HH:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"fur\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fy-nl.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"snein\",\n      \"moandei\",\n      \"tiisdei\",\n      \"woansdei\",\n      \"tongersdei\",\n      \"freed\",\n      \"sneon\"\n    ],\n    \"ERANAMES\": [\n      \"Foar Kristus\",\n      \"nei Kristus\"\n    ],\n    \"ERAS\": [\n      \"f.Kr.\",\n      \"n.Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"jannewaris\",\n      \"febrewaris\",\n      \"maart\",\n      \"april\",\n      \"maaie\",\n      \"juny\",\n      \"july\",\n      \"augustus\",\n      \"septimber\",\n      \"oktober\",\n      \"novimber\",\n      \"desimber\"\n    ],\n    \"SHORTDAY\": [\n      \"si\",\n      \"mo\",\n      \"ti\",\n      \"wo\",\n      \"to\",\n      \"fr\",\n      \"so\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"mrt.\",\n      \"apr.\",\n      \"mai\",\n      \"jun.\",\n      \"jul.\",\n      \"aug.\",\n      \"sep.\",\n      \"okt.\",\n      \"nov.\",\n      \"des.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd-MM-yy HH:mm\",\n    \"shortDate\": \"dd-MM-yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4\\u00a0\",\n        \"negSuf\": \"-\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"fy-nl\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_fy.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"snein\",\n      \"moandei\",\n      \"tiisdei\",\n      \"woansdei\",\n      \"tongersdei\",\n      \"freed\",\n      \"sneon\"\n    ],\n    \"ERANAMES\": [\n      \"Foar Kristus\",\n      \"nei Kristus\"\n    ],\n    \"ERAS\": [\n      \"f.Kr.\",\n      \"n.Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"jannewaris\",\n      \"febrewaris\",\n      \"maart\",\n      \"april\",\n      \"maaie\",\n      \"juny\",\n      \"july\",\n      \"augustus\",\n      \"septimber\",\n      \"oktober\",\n      \"novimber\",\n      \"desimber\"\n    ],\n    \"SHORTDAY\": [\n      \"si\",\n      \"mo\",\n      \"ti\",\n      \"wo\",\n      \"to\",\n      \"fr\",\n      \"so\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"mrt.\",\n      \"apr.\",\n      \"mai\",\n      \"jun.\",\n      \"jul.\",\n      \"aug.\",\n      \"sep.\",\n      \"okt.\",\n      \"nov.\",\n      \"des.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd-MM-yy HH:mm\",\n    \"shortDate\": \"dd-MM-yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4\\u00a0\",\n        \"negSuf\": \"-\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"fy\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ga-ie.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"D\\u00e9 Domhnaigh\",\n      \"D\\u00e9 Luain\",\n      \"D\\u00e9 M\\u00e1irt\",\n      \"D\\u00e9 C\\u00e9adaoin\",\n      \"D\\u00e9ardaoin\",\n      \"D\\u00e9 hAoine\",\n      \"D\\u00e9 Sathairn\"\n    ],\n    \"ERANAMES\": [\n      \"Roimh Chr\\u00edost\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"RC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Ean\\u00e1ir\",\n      \"Feabhra\",\n      \"M\\u00e1rta\",\n      \"Aibre\\u00e1n\",\n      \"Bealtaine\",\n      \"Meitheamh\",\n      \"I\\u00fail\",\n      \"L\\u00fanasa\",\n      \"Me\\u00e1n F\\u00f3mhair\",\n      \"Deireadh F\\u00f3mhair\",\n      \"Samhain\",\n      \"Nollaig\"\n    ],\n    \"SHORTDAY\": [\n      \"Domh\",\n      \"Luan\",\n      \"M\\u00e1irt\",\n      \"C\\u00e9ad\",\n      \"D\\u00e9ar\",\n      \"Aoine\",\n      \"Sath\"\n    ],\n    \"SHORTMONTH\": [\n      \"Ean\",\n      \"Feabh\",\n      \"M\\u00e1rta\",\n      \"Aib\",\n      \"Beal\",\n      \"Meith\",\n      \"I\\u00fail\",\n      \"L\\u00fan\",\n      \"MF\\u00f3mh\",\n      \"DF\\u00f3mh\",\n      \"Samh\",\n      \"Noll\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ga-ie\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n >= 3 && n <= 6) {    return PLURAL_CATEGORY.FEW;  }  if (n >= 7 && n <= 10) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ga.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"D\\u00e9 Domhnaigh\",\n      \"D\\u00e9 Luain\",\n      \"D\\u00e9 M\\u00e1irt\",\n      \"D\\u00e9 C\\u00e9adaoin\",\n      \"D\\u00e9ardaoin\",\n      \"D\\u00e9 hAoine\",\n      \"D\\u00e9 Sathairn\"\n    ],\n    \"ERANAMES\": [\n      \"Roimh Chr\\u00edost\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"RC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Ean\\u00e1ir\",\n      \"Feabhra\",\n      \"M\\u00e1rta\",\n      \"Aibre\\u00e1n\",\n      \"Bealtaine\",\n      \"Meitheamh\",\n      \"I\\u00fail\",\n      \"L\\u00fanasa\",\n      \"Me\\u00e1n F\\u00f3mhair\",\n      \"Deireadh F\\u00f3mhair\",\n      \"Samhain\",\n      \"Nollaig\"\n    ],\n    \"SHORTDAY\": [\n      \"Domh\",\n      \"Luan\",\n      \"M\\u00e1irt\",\n      \"C\\u00e9ad\",\n      \"D\\u00e9ar\",\n      \"Aoine\",\n      \"Sath\"\n    ],\n    \"SHORTMONTH\": [\n      \"Ean\",\n      \"Feabh\",\n      \"M\\u00e1rta\",\n      \"Aib\",\n      \"Beal\",\n      \"Meith\",\n      \"I\\u00fail\",\n      \"L\\u00fan\",\n      \"MF\\u00f3mh\",\n      \"DF\\u00f3mh\",\n      \"Samh\",\n      \"Noll\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ga\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 2) {    return PLURAL_CATEGORY.TWO;  }  if (n >= 3 && n <= 6) {    return PLURAL_CATEGORY.FEW;  }  if (n >= 7 && n <= 10) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_gd-gb.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"m\",\n      \"f\"\n    ],\n    \"DAY\": [\n      \"DiD\\u00f2mhnaich\",\n      \"DiLuain\",\n      \"DiM\\u00e0irt\",\n      \"DiCiadain\",\n      \"DiarDaoin\",\n      \"DihAoine\",\n      \"DiSathairne\"\n    ],\n    \"ERANAMES\": [\n      \"Ro Chr\\u00ecosta\",\n      \"An d\\u00e8idh Chr\\u00ecosta\"\n    ],\n    \"ERAS\": [\n      \"RC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"dhen Fhaoilleach\",\n      \"dhen Ghearran\",\n      \"dhen Mh\\u00e0rt\",\n      \"dhen Ghiblean\",\n      \"dhen Ch\\u00e8itean\",\n      \"dhen \\u00d2gmhios\",\n      \"dhen Iuchar\",\n      \"dhen L\\u00f9nastal\",\n      \"dhen t-Sultain\",\n      \"dhen D\\u00e0mhair\",\n      \"dhen t-Samhain\",\n      \"dhen D\\u00f9bhlachd\"\n    ],\n    \"SHORTDAY\": [\n      \"DiD\",\n      \"DiL\",\n      \"DiM\",\n      \"DiC\",\n      \"Dia\",\n      \"Dih\",\n      \"DiS\"\n    ],\n    \"SHORTMONTH\": [\n      \"Faoi\",\n      \"Gearr\",\n      \"M\\u00e0rt\",\n      \"Gibl\",\n      \"C\\u00e8it\",\n      \"\\u00d2gmh\",\n      \"Iuch\",\n      \"L\\u00f9na\",\n      \"Sult\",\n      \"D\\u00e0mh\",\n      \"Samh\",\n      \"D\\u00f9bh\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d'mh' MMMM y\",\n    \"longDate\": \"d'mh' MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a3\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"gd-gb\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_gd.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"m\",\n      \"f\"\n    ],\n    \"DAY\": [\n      \"DiD\\u00f2mhnaich\",\n      \"DiLuain\",\n      \"DiM\\u00e0irt\",\n      \"DiCiadain\",\n      \"DiarDaoin\",\n      \"DihAoine\",\n      \"DiSathairne\"\n    ],\n    \"ERANAMES\": [\n      \"Ro Chr\\u00ecosta\",\n      \"An d\\u00e8idh Chr\\u00ecosta\"\n    ],\n    \"ERAS\": [\n      \"RC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"dhen Fhaoilleach\",\n      \"dhen Ghearran\",\n      \"dhen Mh\\u00e0rt\",\n      \"dhen Ghiblean\",\n      \"dhen Ch\\u00e8itean\",\n      \"dhen \\u00d2gmhios\",\n      \"dhen Iuchar\",\n      \"dhen L\\u00f9nastal\",\n      \"dhen t-Sultain\",\n      \"dhen D\\u00e0mhair\",\n      \"dhen t-Samhain\",\n      \"dhen D\\u00f9bhlachd\"\n    ],\n    \"SHORTDAY\": [\n      \"DiD\",\n      \"DiL\",\n      \"DiM\",\n      \"DiC\",\n      \"Dia\",\n      \"Dih\",\n      \"DiS\"\n    ],\n    \"SHORTMONTH\": [\n      \"Faoi\",\n      \"Gearr\",\n      \"M\\u00e0rt\",\n      \"Gibl\",\n      \"C\\u00e8it\",\n      \"\\u00d2gmh\",\n      \"Iuch\",\n      \"L\\u00f9na\",\n      \"Sult\",\n      \"D\\u00e0mh\",\n      \"Samh\",\n      \"D\\u00f9bh\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d'mh' MMMM y\",\n    \"longDate\": \"d'mh' MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a3\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"gd\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_gl-es.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"luns\",\n      \"martes\",\n      \"m\\u00e9rcores\",\n      \"xoves\",\n      \"venres\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"despois de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a.C.\",\n      \"d.C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"xaneiro\",\n      \"febreiro\",\n      \"marzo\",\n      \"abril\",\n      \"maio\",\n      \"xu\\u00f1o\",\n      \"xullo\",\n      \"agosto\",\n      \"setembro\",\n      \"outubro\",\n      \"novembro\",\n      \"decembro\"\n    ],\n    \"SHORTDAY\": [\n      \"dom\",\n      \"lun\",\n      \"mar\",\n      \"m\\u00e9r\",\n      \"xov\",\n      \"ven\",\n      \"s\\u00e1b\"\n    ],\n    \"SHORTMONTH\": [\n      \"xan\",\n      \"feb\",\n      \"mar\",\n      \"abr\",\n      \"mai\",\n      \"xu\\u00f1\",\n      \"xul\",\n      \"ago\",\n      \"set\",\n      \"out\",\n      \"nov\",\n      \"dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE dd MMMM y\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/yy HH:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"gl-es\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_gl.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"luns\",\n      \"martes\",\n      \"m\\u00e9rcores\",\n      \"xoves\",\n      \"venres\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"despois de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a.C.\",\n      \"d.C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"xaneiro\",\n      \"febreiro\",\n      \"marzo\",\n      \"abril\",\n      \"maio\",\n      \"xu\\u00f1o\",\n      \"xullo\",\n      \"agosto\",\n      \"setembro\",\n      \"outubro\",\n      \"novembro\",\n      \"decembro\"\n    ],\n    \"SHORTDAY\": [\n      \"dom\",\n      \"lun\",\n      \"mar\",\n      \"m\\u00e9r\",\n      \"xov\",\n      \"ven\",\n      \"s\\u00e1b\"\n    ],\n    \"SHORTMONTH\": [\n      \"xan\",\n      \"feb\",\n      \"mar\",\n      \"abr\",\n      \"mai\",\n      \"xu\\u00f1\",\n      \"xul\",\n      \"ago\",\n      \"set\",\n      \"out\",\n      \"nov\",\n      \"dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE dd MMMM y\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/yy HH:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"gl\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_gsw-ch.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"vorm.\",\n      \"nam.\"\n    ],\n    \"DAY\": [\n      \"Sunntig\",\n      \"M\\u00e4\\u00e4ntig\",\n      \"Ziischtig\",\n      \"Mittwuch\",\n      \"Dunschtig\",\n      \"Friitig\",\n      \"Samschtig\"\n    ],\n    \"ERANAMES\": [\n      \"v. Chr.\",\n      \"n. Chr.\"\n    ],\n    \"ERAS\": [\n      \"v. Chr.\",\n      \"n. Chr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januar\",\n      \"Februar\",\n      \"M\\u00e4rz\",\n      \"April\",\n      \"Mai\",\n      \"Juni\",\n      \"Juli\",\n      \"Auguscht\",\n      \"Sept\\u00e4mber\",\n      \"Oktoober\",\n      \"Nov\\u00e4mber\",\n      \"Dez\\u00e4mber\"\n    ],\n    \"SHORTDAY\": [\n      \"Su.\",\n      \"M\\u00e4.\",\n      \"Zi.\",\n      \"Mi.\",\n      \"Du.\",\n      \"Fr.\",\n      \"Sa.\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"M\\u00e4r\",\n      \"Apr\",\n      \"Mai\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Dez\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"dd.MM.y HH:mm:ss\",\n    \"mediumDate\": \"dd.MM.y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CHF\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \"\\u2019\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"gsw-ch\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_gsw-fr.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"vorm.\",\n      \"nam.\"\n    ],\n    \"DAY\": [\n      \"Sunntig\",\n      \"M\\u00e4\\u00e4ntig\",\n      \"Ziischtig\",\n      \"Mittwuch\",\n      \"Dunschtig\",\n      \"Friitig\",\n      \"Samschtig\"\n    ],\n    \"ERANAMES\": [\n      \"v. Chr.\",\n      \"n. Chr.\"\n    ],\n    \"ERAS\": [\n      \"v. Chr.\",\n      \"n. Chr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januar\",\n      \"Februar\",\n      \"M\\u00e4rz\",\n      \"April\",\n      \"Mai\",\n      \"Juni\",\n      \"Juli\",\n      \"Auguscht\",\n      \"Sept\\u00e4mber\",\n      \"Oktoober\",\n      \"Nov\\u00e4mber\",\n      \"Dez\\u00e4mber\"\n    ],\n    \"SHORTDAY\": [\n      \"Su.\",\n      \"M\\u00e4.\",\n      \"Zi.\",\n      \"Mi.\",\n      \"Du.\",\n      \"Fr.\",\n      \"Sa.\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"M\\u00e4r\",\n      \"Apr\",\n      \"Mai\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Dez\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"dd.MM.y HH:mm:ss\",\n    \"mediumDate\": \"dd.MM.y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \"\\u2019\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"gsw-fr\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_gsw-li.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"vorm.\",\n      \"nam.\"\n    ],\n    \"DAY\": [\n      \"Sunntig\",\n      \"M\\u00e4\\u00e4ntig\",\n      \"Ziischtig\",\n      \"Mittwuch\",\n      \"Dunschtig\",\n      \"Friitig\",\n      \"Samschtig\"\n    ],\n    \"ERANAMES\": [\n      \"v. Chr.\",\n      \"n. Chr.\"\n    ],\n    \"ERAS\": [\n      \"v. Chr.\",\n      \"n. Chr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januar\",\n      \"Februar\",\n      \"M\\u00e4rz\",\n      \"April\",\n      \"Mai\",\n      \"Juni\",\n      \"Juli\",\n      \"Auguscht\",\n      \"Sept\\u00e4mber\",\n      \"Oktoober\",\n      \"Nov\\u00e4mber\",\n      \"Dez\\u00e4mber\"\n    ],\n    \"SHORTDAY\": [\n      \"Su.\",\n      \"M\\u00e4.\",\n      \"Zi.\",\n      \"Mi.\",\n      \"Du.\",\n      \"Fr.\",\n      \"Sa.\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"M\\u00e4r\",\n      \"Apr\",\n      \"Mai\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Dez\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"dd.MM.y HH:mm:ss\",\n    \"mediumDate\": \"dd.MM.y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CHF\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \"\\u2019\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"gsw-li\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_gsw.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"vorm.\",\n      \"nam.\"\n    ],\n    \"DAY\": [\n      \"Sunntig\",\n      \"M\\u00e4\\u00e4ntig\",\n      \"Ziischtig\",\n      \"Mittwuch\",\n      \"Dunschtig\",\n      \"Friitig\",\n      \"Samschtig\"\n    ],\n    \"ERANAMES\": [\n      \"v. Chr.\",\n      \"n. Chr.\"\n    ],\n    \"ERAS\": [\n      \"v. Chr.\",\n      \"n. Chr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januar\",\n      \"Februar\",\n      \"M\\u00e4rz\",\n      \"April\",\n      \"Mai\",\n      \"Juni\",\n      \"Juli\",\n      \"Auguscht\",\n      \"Sept\\u00e4mber\",\n      \"Oktoober\",\n      \"Nov\\u00e4mber\",\n      \"Dez\\u00e4mber\"\n    ],\n    \"SHORTDAY\": [\n      \"Su.\",\n      \"M\\u00e4.\",\n      \"Zi.\",\n      \"Mi.\",\n      \"Du.\",\n      \"Fr.\",\n      \"Sa.\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"M\\u00e4r\",\n      \"Apr\",\n      \"Mai\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Dez\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"dd.MM.y HH:mm:ss\",\n    \"mediumDate\": \"dd.MM.y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CHF\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \"\\u2019\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"gsw\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_gu-in.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"\\u0ab0\\u0ab5\\u0abf\\u0ab5\\u0abe\\u0ab0\",\n      \"\\u0ab8\\u0acb\\u0aae\\u0ab5\\u0abe\\u0ab0\",\n      \"\\u0aae\\u0a82\\u0a97\\u0ab3\\u0ab5\\u0abe\\u0ab0\",\n      \"\\u0aac\\u0ac1\\u0aa7\\u0ab5\\u0abe\\u0ab0\",\n      \"\\u0a97\\u0ac1\\u0ab0\\u0ac1\\u0ab5\\u0abe\\u0ab0\",\n      \"\\u0ab6\\u0ac1\\u0a95\\u0acd\\u0ab0\\u0ab5\\u0abe\\u0ab0\",\n      \"\\u0ab6\\u0aa8\\u0abf\\u0ab5\\u0abe\\u0ab0\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0a88\\u0ab8\\u0ab5\\u0ac0\\u0ab8\\u0aa8 \\u0aaa\\u0ac2\\u0ab0\\u0acd\\u0ab5\\u0ac7\",\n      \"\\u0a87\\u0ab8\\u0ab5\\u0ac0\\u0ab8\\u0aa8\"\n    ],\n    \"ERAS\": [\n      \"\\u0a88\\u0ab8\\u0ac1\\u0aa8\\u0abe \\u0a9c\\u0aa8\\u0acd\\u0aae \\u0aaa\\u0ab9\\u0ac7\\u0ab2\\u0abe\",\n      \"\\u0a87\\u0ab8\\u0ab5\\u0ac0\\u0ab8\\u0aa8\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u0a9c\\u0abe\\u0aa8\\u0acd\\u0aaf\\u0ac1\\u0a86\\u0ab0\\u0ac0\",\n      \"\\u0aab\\u0ac7\\u0aac\\u0acd\\u0ab0\\u0ac1\\u0a86\\u0ab0\\u0ac0\",\n      \"\\u0aae\\u0abe\\u0ab0\\u0acd\\u0a9a\",\n      \"\\u0a8f\\u0aaa\\u0acd\\u0ab0\\u0abf\\u0ab2\",\n      \"\\u0aae\\u0ac7\",\n      \"\\u0a9c\\u0ac2\\u0aa8\",\n      \"\\u0a9c\\u0ac1\\u0ab2\\u0abe\\u0a88\",\n      \"\\u0a91\\u0a97\\u0ab8\\u0acd\\u0a9f\",\n      \"\\u0ab8\\u0aaa\\u0acd\\u0a9f\\u0ac7\\u0aae\\u0acd\\u0aac\\u0ab0\",\n      \"\\u0a91\\u0a95\\u0acd\\u0a9f\\u0acb\\u0aac\\u0ab0\",\n      \"\\u0aa8\\u0ab5\\u0ac7\\u0aae\\u0acd\\u0aac\\u0ab0\",\n      \"\\u0aa1\\u0abf\\u0ab8\\u0ac7\\u0aae\\u0acd\\u0aac\\u0ab0\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0ab0\\u0ab5\\u0abf\",\n      \"\\u0ab8\\u0acb\\u0aae\",\n      \"\\u0aae\\u0a82\\u0a97\\u0ab3\",\n      \"\\u0aac\\u0ac1\\u0aa7\",\n      \"\\u0a97\\u0ac1\\u0ab0\\u0ac1\",\n      \"\\u0ab6\\u0ac1\\u0a95\\u0acd\\u0ab0\",\n      \"\\u0ab6\\u0aa8\\u0abf\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0a9c\\u0abe\\u0aa8\\u0acd\\u0aaf\\u0ac1\",\n      \"\\u0aab\\u0ac7\\u0aac\\u0acd\\u0ab0\\u0ac1\",\n      \"\\u0aae\\u0abe\\u0ab0\\u0acd\\u0a9a\",\n      \"\\u0a8f\\u0aaa\\u0acd\\u0ab0\\u0abf\\u0ab2\",\n      \"\\u0aae\\u0ac7\",\n      \"\\u0a9c\\u0ac2\\u0aa8\",\n      \"\\u0a9c\\u0ac1\\u0ab2\\u0abe\\u0a88\",\n      \"\\u0a91\\u0a97\",\n      \"\\u0ab8\\u0aaa\\u0acd\\u0a9f\\u0ac7\",\n      \"\\u0a91\\u0a95\\u0acd\\u0a9f\\u0acb\",\n      \"\\u0aa8\\u0ab5\\u0ac7\",\n      \"\\u0aa1\\u0abf\\u0ab8\\u0ac7\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM, y\",\n    \"longDate\": \"d MMMM, y\",\n    \"medium\": \"d MMM, y hh:mm:ss a\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"hh:mm:ss a\",\n    \"short\": \"d/M/yy hh:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"hh:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"gu-in\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_gu.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"\\u0ab0\\u0ab5\\u0abf\\u0ab5\\u0abe\\u0ab0\",\n      \"\\u0ab8\\u0acb\\u0aae\\u0ab5\\u0abe\\u0ab0\",\n      \"\\u0aae\\u0a82\\u0a97\\u0ab3\\u0ab5\\u0abe\\u0ab0\",\n      \"\\u0aac\\u0ac1\\u0aa7\\u0ab5\\u0abe\\u0ab0\",\n      \"\\u0a97\\u0ac1\\u0ab0\\u0ac1\\u0ab5\\u0abe\\u0ab0\",\n      \"\\u0ab6\\u0ac1\\u0a95\\u0acd\\u0ab0\\u0ab5\\u0abe\\u0ab0\",\n      \"\\u0ab6\\u0aa8\\u0abf\\u0ab5\\u0abe\\u0ab0\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0a88\\u0ab8\\u0ab5\\u0ac0\\u0ab8\\u0aa8 \\u0aaa\\u0ac2\\u0ab0\\u0acd\\u0ab5\\u0ac7\",\n      \"\\u0a87\\u0ab8\\u0ab5\\u0ac0\\u0ab8\\u0aa8\"\n    ],\n    \"ERAS\": [\n      \"\\u0a88\\u0ab8\\u0ac1\\u0aa8\\u0abe \\u0a9c\\u0aa8\\u0acd\\u0aae \\u0aaa\\u0ab9\\u0ac7\\u0ab2\\u0abe\",\n      \"\\u0a87\\u0ab8\\u0ab5\\u0ac0\\u0ab8\\u0aa8\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u0a9c\\u0abe\\u0aa8\\u0acd\\u0aaf\\u0ac1\\u0a86\\u0ab0\\u0ac0\",\n      \"\\u0aab\\u0ac7\\u0aac\\u0acd\\u0ab0\\u0ac1\\u0a86\\u0ab0\\u0ac0\",\n      \"\\u0aae\\u0abe\\u0ab0\\u0acd\\u0a9a\",\n      \"\\u0a8f\\u0aaa\\u0acd\\u0ab0\\u0abf\\u0ab2\",\n      \"\\u0aae\\u0ac7\",\n      \"\\u0a9c\\u0ac2\\u0aa8\",\n      \"\\u0a9c\\u0ac1\\u0ab2\\u0abe\\u0a88\",\n      \"\\u0a91\\u0a97\\u0ab8\\u0acd\\u0a9f\",\n      \"\\u0ab8\\u0aaa\\u0acd\\u0a9f\\u0ac7\\u0aae\\u0acd\\u0aac\\u0ab0\",\n      \"\\u0a91\\u0a95\\u0acd\\u0a9f\\u0acb\\u0aac\\u0ab0\",\n      \"\\u0aa8\\u0ab5\\u0ac7\\u0aae\\u0acd\\u0aac\\u0ab0\",\n      \"\\u0aa1\\u0abf\\u0ab8\\u0ac7\\u0aae\\u0acd\\u0aac\\u0ab0\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0ab0\\u0ab5\\u0abf\",\n      \"\\u0ab8\\u0acb\\u0aae\",\n      \"\\u0aae\\u0a82\\u0a97\\u0ab3\",\n      \"\\u0aac\\u0ac1\\u0aa7\",\n      \"\\u0a97\\u0ac1\\u0ab0\\u0ac1\",\n      \"\\u0ab6\\u0ac1\\u0a95\\u0acd\\u0ab0\",\n      \"\\u0ab6\\u0aa8\\u0abf\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0a9c\\u0abe\\u0aa8\\u0acd\\u0aaf\\u0ac1\",\n      \"\\u0aab\\u0ac7\\u0aac\\u0acd\\u0ab0\\u0ac1\",\n      \"\\u0aae\\u0abe\\u0ab0\\u0acd\\u0a9a\",\n      \"\\u0a8f\\u0aaa\\u0acd\\u0ab0\\u0abf\\u0ab2\",\n      \"\\u0aae\\u0ac7\",\n      \"\\u0a9c\\u0ac2\\u0aa8\",\n      \"\\u0a9c\\u0ac1\\u0ab2\\u0abe\\u0a88\",\n      \"\\u0a91\\u0a97\",\n      \"\\u0ab8\\u0aaa\\u0acd\\u0a9f\\u0ac7\",\n      \"\\u0a91\\u0a95\\u0acd\\u0a9f\\u0acb\",\n      \"\\u0aa8\\u0ab5\\u0ac7\",\n      \"\\u0aa1\\u0abf\\u0ab8\\u0ac7\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM, y\",\n    \"longDate\": \"d MMMM, y\",\n    \"medium\": \"d MMM, y hh:mm:ss a\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"hh:mm:ss a\",\n    \"short\": \"d/M/yy hh:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"hh:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"gu\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_guz-ke.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Ma/Mo\",\n      \"Mambia/Mog\"\n    ],\n    \"DAY\": [\n      \"Chumapiri\",\n      \"Chumatato\",\n      \"Chumaine\",\n      \"Chumatano\",\n      \"Aramisi\",\n      \"Ichuma\",\n      \"Esabato\"\n    ],\n    \"ERANAMES\": [\n      \"Yeso ataiborwa\",\n      \"Yeso kaiboirwe\"\n    ],\n    \"ERAS\": [\n      \"YA\",\n      \"YK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Chanuari\",\n      \"Feburari\",\n      \"Machi\",\n      \"Apiriri\",\n      \"Mei\",\n      \"Juni\",\n      \"Chulai\",\n      \"Agosti\",\n      \"Septemba\",\n      \"Okitoba\",\n      \"Nobemba\",\n      \"Disemba\"\n    ],\n    \"SHORTDAY\": [\n      \"Cpr\",\n      \"Ctt\",\n      \"Cmn\",\n      \"Cmt\",\n      \"Ars\",\n      \"Icm\",\n      \"Est\"\n    ],\n    \"SHORTMONTH\": [\n      \"Can\",\n      \"Feb\",\n      \"Mac\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Cul\",\n      \"Agt\",\n      \"Sep\",\n      \"Okt\",\n      \"Nob\",\n      \"Dis\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ksh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"guz-ke\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_guz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Ma/Mo\",\n      \"Mambia/Mog\"\n    ],\n    \"DAY\": [\n      \"Chumapiri\",\n      \"Chumatato\",\n      \"Chumaine\",\n      \"Chumatano\",\n      \"Aramisi\",\n      \"Ichuma\",\n      \"Esabato\"\n    ],\n    \"ERANAMES\": [\n      \"Yeso ataiborwa\",\n      \"Yeso kaiboirwe\"\n    ],\n    \"ERAS\": [\n      \"YA\",\n      \"YK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Chanuari\",\n      \"Feburari\",\n      \"Machi\",\n      \"Apiriri\",\n      \"Mei\",\n      \"Juni\",\n      \"Chulai\",\n      \"Agosti\",\n      \"Septemba\",\n      \"Okitoba\",\n      \"Nobemba\",\n      \"Disemba\"\n    ],\n    \"SHORTDAY\": [\n      \"Cpr\",\n      \"Ctt\",\n      \"Cmn\",\n      \"Cmt\",\n      \"Ars\",\n      \"Icm\",\n      \"Est\"\n    ],\n    \"SHORTMONTH\": [\n      \"Can\",\n      \"Feb\",\n      \"Mac\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Cul\",\n      \"Agt\",\n      \"Sep\",\n      \"Okt\",\n      \"Nob\",\n      \"Dis\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ksh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"guz\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_gv-im.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"Jedoonee\",\n      \"Jelhein\",\n      \"Jemayrt\",\n      \"Jercean\",\n      \"Jerdein\",\n      \"Jeheiney\",\n      \"Jesarn\"\n    ],\n    \"ERANAMES\": [\n      \"RC\",\n      \"AD\"\n    ],\n    \"ERAS\": [\n      \"RC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Jerrey-geuree\",\n      \"Toshiaght-arree\",\n      \"Mayrnt\",\n      \"Averil\",\n      \"Boaldyn\",\n      \"Mean-souree\",\n      \"Jerrey-souree\",\n      \"Luanistyn\",\n      \"Mean-fouyir\",\n      \"Jerrey-fouyir\",\n      \"Mee Houney\",\n      \"Mee ny Nollick\"\n    ],\n    \"SHORTDAY\": [\n      \"Jed\",\n      \"Jel\",\n      \"Jem\",\n      \"Jerc\",\n      \"Jerd\",\n      \"Jeh\",\n      \"Jes\"\n    ],\n    \"SHORTMONTH\": [\n      \"J-guer\",\n      \"T-arree\",\n      \"Mayrnt\",\n      \"Avrril\",\n      \"Boaldyn\",\n      \"M-souree\",\n      \"J-souree\",\n      \"Luanistyn\",\n      \"M-fouyir\",\n      \"J-fouyir\",\n      \"M.Houney\",\n      \"M.Nollick\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE dd MMMM y\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"MMM dd, y HH:mm:ss\",\n    \"mediumDate\": \"MMM dd, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/yy HH:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a3\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"gv-im\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_gv.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"Jedoonee\",\n      \"Jelhein\",\n      \"Jemayrt\",\n      \"Jercean\",\n      \"Jerdein\",\n      \"Jeheiney\",\n      \"Jesarn\"\n    ],\n    \"ERANAMES\": [\n      \"RC\",\n      \"AD\"\n    ],\n    \"ERAS\": [\n      \"RC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Jerrey-geuree\",\n      \"Toshiaght-arree\",\n      \"Mayrnt\",\n      \"Averil\",\n      \"Boaldyn\",\n      \"Mean-souree\",\n      \"Jerrey-souree\",\n      \"Luanistyn\",\n      \"Mean-fouyir\",\n      \"Jerrey-fouyir\",\n      \"Mee Houney\",\n      \"Mee ny Nollick\"\n    ],\n    \"SHORTDAY\": [\n      \"Jed\",\n      \"Jel\",\n      \"Jem\",\n      \"Jerc\",\n      \"Jerd\",\n      \"Jeh\",\n      \"Jes\"\n    ],\n    \"SHORTMONTH\": [\n      \"J-guer\",\n      \"T-arree\",\n      \"Mayrnt\",\n      \"Avrril\",\n      \"Boaldyn\",\n      \"M-souree\",\n      \"J-souree\",\n      \"Luanistyn\",\n      \"M-fouyir\",\n      \"J-fouyir\",\n      \"M.Houney\",\n      \"M.Nollick\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE dd MMMM y\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"MMM dd, y HH:mm:ss\",\n    \"mediumDate\": \"MMM dd, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/yy HH:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a3\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"gv\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ha-latn-gh.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Lahadi\",\n      \"Litinin\",\n      \"Talata\",\n      \"Laraba\",\n      \"Alhamis\",\n      \"Jumma\\u02bca\",\n      \"Asabar\"\n    ],\n    \"ERANAMES\": [\n      \"Kafin haihuwar annab\",\n      \"Bayan haihuwar annab\"\n    ],\n    \"ERAS\": [\n      \"KHAI\",\n      \"BHAI\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Janairu\",\n      \"Faburairu\",\n      \"Maris\",\n      \"Afirilu\",\n      \"Mayu\",\n      \"Yuni\",\n      \"Yuli\",\n      \"Agusta\",\n      \"Satumba\",\n      \"Oktoba\",\n      \"Nuwamba\",\n      \"Disamba\"\n    ],\n    \"SHORTDAY\": [\n      \"Lh\",\n      \"Li\",\n      \"Ta\",\n      \"Lr\",\n      \"Al\",\n      \"Ju\",\n      \"As\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Fab\",\n      \"Mar\",\n      \"Afi\",\n      \"May\",\n      \"Yun\",\n      \"Yul\",\n      \"Agu\",\n      \"Sat\",\n      \"Okt\",\n      \"Nuw\",\n      \"Dis\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM, y\",\n    \"longDate\": \"d MMMM, y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/yy HH:mm\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"GHS\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ha-latn-gh\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ha-latn-ne.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Lahadi\",\n      \"Litinin\",\n      \"Talata\",\n      \"Laraba\",\n      \"Alhamis\",\n      \"Jumma\\u02bca\",\n      \"Asabar\"\n    ],\n    \"ERANAMES\": [\n      \"Kafin haihuwar annab\",\n      \"Bayan haihuwar annab\"\n    ],\n    \"ERAS\": [\n      \"KHAI\",\n      \"BHAI\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Janairu\",\n      \"Faburairu\",\n      \"Maris\",\n      \"Afirilu\",\n      \"Mayu\",\n      \"Yuni\",\n      \"Yuli\",\n      \"Agusta\",\n      \"Satumba\",\n      \"Oktoba\",\n      \"Nuwamba\",\n      \"Disamba\"\n    ],\n    \"SHORTDAY\": [\n      \"Lh\",\n      \"Li\",\n      \"Ta\",\n      \"Lr\",\n      \"Al\",\n      \"Ju\",\n      \"As\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Fab\",\n      \"Mar\",\n      \"Afi\",\n      \"May\",\n      \"Yun\",\n      \"Yul\",\n      \"Agu\",\n      \"Sat\",\n      \"Okt\",\n      \"Nuw\",\n      \"Dis\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM, y\",\n    \"longDate\": \"d MMMM, y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/yy HH:mm\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CFA\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ha-latn-ne\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ha-latn-ng.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Lahadi\",\n      \"Litinin\",\n      \"Talata\",\n      \"Laraba\",\n      \"Alhamis\",\n      \"Jumma\\u02bca\",\n      \"Asabar\"\n    ],\n    \"ERANAMES\": [\n      \"Kafin haihuwar annab\",\n      \"Bayan haihuwar annab\"\n    ],\n    \"ERAS\": [\n      \"KHAI\",\n      \"BHAI\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Janairu\",\n      \"Faburairu\",\n      \"Maris\",\n      \"Afirilu\",\n      \"Mayu\",\n      \"Yuni\",\n      \"Yuli\",\n      \"Agusta\",\n      \"Satumba\",\n      \"Oktoba\",\n      \"Nuwamba\",\n      \"Disamba\"\n    ],\n    \"SHORTDAY\": [\n      \"Lh\",\n      \"Li\",\n      \"Ta\",\n      \"Lr\",\n      \"Al\",\n      \"Ju\",\n      \"As\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Fab\",\n      \"Mar\",\n      \"Afi\",\n      \"May\",\n      \"Yun\",\n      \"Yul\",\n      \"Agu\",\n      \"Sat\",\n      \"Okt\",\n      \"Nuw\",\n      \"Dis\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM, y\",\n    \"longDate\": \"d MMMM, y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/yy HH:mm\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20a6\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ha-latn-ng\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ha-latn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Lahadi\",\n      \"Litinin\",\n      \"Talata\",\n      \"Laraba\",\n      \"Alhamis\",\n      \"Jumma\\u02bca\",\n      \"Asabar\"\n    ],\n    \"ERANAMES\": [\n      \"Kafin haihuwar annab\",\n      \"Bayan haihuwar annab\"\n    ],\n    \"ERAS\": [\n      \"KHAI\",\n      \"BHAI\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Janairu\",\n      \"Faburairu\",\n      \"Maris\",\n      \"Afirilu\",\n      \"Mayu\",\n      \"Yuni\",\n      \"Yuli\",\n      \"Agusta\",\n      \"Satumba\",\n      \"Oktoba\",\n      \"Nuwamba\",\n      \"Disamba\"\n    ],\n    \"SHORTDAY\": [\n      \"Lh\",\n      \"Li\",\n      \"Ta\",\n      \"Lr\",\n      \"Al\",\n      \"Ju\",\n      \"As\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Fab\",\n      \"Mar\",\n      \"Afi\",\n      \"May\",\n      \"Yun\",\n      \"Yul\",\n      \"Agu\",\n      \"Sat\",\n      \"Okt\",\n      \"Nuw\",\n      \"Dis\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM, y\",\n    \"longDate\": \"d MMMM, y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/yy HH:mm\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20a6\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ha-latn\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ha.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Lahadi\",\n      \"Litinin\",\n      \"Talata\",\n      \"Laraba\",\n      \"Alhamis\",\n      \"Jumma\\u02bca\",\n      \"Asabar\"\n    ],\n    \"ERANAMES\": [\n      \"Kafin haihuwar annab\",\n      \"Bayan haihuwar annab\"\n    ],\n    \"ERAS\": [\n      \"KHAI\",\n      \"BHAI\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Janairu\",\n      \"Faburairu\",\n      \"Maris\",\n      \"Afirilu\",\n      \"Mayu\",\n      \"Yuni\",\n      \"Yuli\",\n      \"Agusta\",\n      \"Satumba\",\n      \"Oktoba\",\n      \"Nuwamba\",\n      \"Disamba\"\n    ],\n    \"SHORTDAY\": [\n      \"Lh\",\n      \"Li\",\n      \"Ta\",\n      \"Lr\",\n      \"Al\",\n      \"Ju\",\n      \"As\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Fab\",\n      \"Mar\",\n      \"Afi\",\n      \"May\",\n      \"Yun\",\n      \"Yul\",\n      \"Agu\",\n      \"Sat\",\n      \"Okt\",\n      \"Nuw\",\n      \"Dis\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM, y\",\n    \"longDate\": \"d MMMM, y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/yy HH:mm\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20a6\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ha\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_haw-us.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"L\\u0101pule\",\n      \"Po\\u02bbakahi\",\n      \"Po\\u02bbalua\",\n      \"Po\\u02bbakolu\",\n      \"Po\\u02bbah\\u0101\",\n      \"Po\\u02bbalima\",\n      \"Po\\u02bbaono\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Ianuali\",\n      \"Pepeluali\",\n      \"Malaki\",\n      \"\\u02bbApelila\",\n      \"Mei\",\n      \"Iune\",\n      \"Iulai\",\n      \"\\u02bbAukake\",\n      \"Kepakemapa\",\n      \"\\u02bbOkakopa\",\n      \"Nowemapa\",\n      \"Kekemapa\"\n    ],\n    \"SHORTDAY\": [\n      \"LP\",\n      \"P1\",\n      \"P2\",\n      \"P3\",\n      \"P4\",\n      \"P5\",\n      \"P6\"\n    ],\n    \"SHORTMONTH\": [\n      \"Ian.\",\n      \"Pep.\",\n      \"Mal.\",\n      \"\\u02bbAp.\",\n      \"Mei\",\n      \"Iun.\",\n      \"Iul.\",\n      \"\\u02bbAu.\",\n      \"Kep.\",\n      \"\\u02bbOk.\",\n      \"Now.\",\n      \"Kek.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"haw-us\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_haw.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"L\\u0101pule\",\n      \"Po\\u02bbakahi\",\n      \"Po\\u02bbalua\",\n      \"Po\\u02bbakolu\",\n      \"Po\\u02bbah\\u0101\",\n      \"Po\\u02bbalima\",\n      \"Po\\u02bbaono\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Ianuali\",\n      \"Pepeluali\",\n      \"Malaki\",\n      \"\\u02bbApelila\",\n      \"Mei\",\n      \"Iune\",\n      \"Iulai\",\n      \"\\u02bbAukake\",\n      \"Kepakemapa\",\n      \"\\u02bbOkakopa\",\n      \"Nowemapa\",\n      \"Kekemapa\"\n    ],\n    \"SHORTDAY\": [\n      \"LP\",\n      \"P1\",\n      \"P2\",\n      \"P3\",\n      \"P4\",\n      \"P5\",\n      \"P6\"\n    ],\n    \"SHORTMONTH\": [\n      \"Ian.\",\n      \"Pep.\",\n      \"Mal.\",\n      \"\\u02bbAp.\",\n      \"Mei\",\n      \"Iun.\",\n      \"Iul.\",\n      \"\\u02bbAu.\",\n      \"Kep.\",\n      \"\\u02bbOk.\",\n      \"Now.\",\n      \"Kek.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"haw\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_he-il.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u05dc\\u05e4\\u05e0\\u05d4\\u05f4\\u05e6\",\n      \"\\u05d0\\u05d7\\u05d4\\u05f4\\u05e6\"\n    ],\n    \"DAY\": [\n      \"\\u05d9\\u05d5\\u05dd \\u05e8\\u05d0\\u05e9\\u05d5\\u05df\",\n      \"\\u05d9\\u05d5\\u05dd \\u05e9\\u05e0\\u05d9\",\n      \"\\u05d9\\u05d5\\u05dd \\u05e9\\u05dc\\u05d9\\u05e9\\u05d9\",\n      \"\\u05d9\\u05d5\\u05dd \\u05e8\\u05d1\\u05d9\\u05e2\\u05d9\",\n      \"\\u05d9\\u05d5\\u05dd \\u05d7\\u05de\\u05d9\\u05e9\\u05d9\",\n      \"\\u05d9\\u05d5\\u05dd \\u05e9\\u05d9\\u05e9\\u05d9\",\n      \"\\u05d9\\u05d5\\u05dd \\u05e9\\u05d1\\u05ea\"\n    ],\n    \"ERANAMES\": [\n      \"\\u05dc\\u05e4\\u05e0\\u05d9 \\u05d4\\u05e1\\u05e4\\u05d9\\u05e8\\u05d4\",\n      \"\\u05dc\\u05e1\\u05e4\\u05d9\\u05e8\\u05d4\"\n    ],\n    \"ERAS\": [\n      \"\\u05dc\\u05e4\\u05e0\\u05d4\\u05f4\\u05e1\",\n      \"\\u05dc\\u05e1\\u05e4\\u05d9\\u05e8\\u05d4\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u05d9\\u05e0\\u05d5\\u05d0\\u05e8\",\n      \"\\u05e4\\u05d1\\u05e8\\u05d5\\u05d0\\u05e8\",\n      \"\\u05de\\u05e8\\u05e5\",\n      \"\\u05d0\\u05e4\\u05e8\\u05d9\\u05dc\",\n      \"\\u05de\\u05d0\\u05d9\",\n      \"\\u05d9\\u05d5\\u05e0\\u05d9\",\n      \"\\u05d9\\u05d5\\u05dc\\u05d9\",\n      \"\\u05d0\\u05d5\\u05d2\\u05d5\\u05e1\\u05d8\",\n      \"\\u05e1\\u05e4\\u05d8\\u05de\\u05d1\\u05e8\",\n      \"\\u05d0\\u05d5\\u05e7\\u05d8\\u05d5\\u05d1\\u05e8\",\n      \"\\u05e0\\u05d5\\u05d1\\u05de\\u05d1\\u05e8\",\n      \"\\u05d3\\u05e6\\u05de\\u05d1\\u05e8\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u05d9\\u05d5\\u05dd \\u05d0\\u05f3\",\n      \"\\u05d9\\u05d5\\u05dd \\u05d1\\u05f3\",\n      \"\\u05d9\\u05d5\\u05dd \\u05d2\\u05f3\",\n      \"\\u05d9\\u05d5\\u05dd \\u05d3\\u05f3\",\n      \"\\u05d9\\u05d5\\u05dd \\u05d4\\u05f3\",\n      \"\\u05d9\\u05d5\\u05dd \\u05d5\\u05f3\",\n      \"\\u05e9\\u05d1\\u05ea\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u05d9\\u05e0\\u05d5\\u05f3\",\n      \"\\u05e4\\u05d1\\u05e8\\u05f3\",\n      \"\\u05de\\u05e8\\u05e5\",\n      \"\\u05d0\\u05e4\\u05e8\\u05f3\",\n      \"\\u05de\\u05d0\\u05d9\",\n      \"\\u05d9\\u05d5\\u05e0\\u05d9\",\n      \"\\u05d9\\u05d5\\u05dc\\u05d9\",\n      \"\\u05d0\\u05d5\\u05d2\\u05f3\",\n      \"\\u05e1\\u05e4\\u05d8\\u05f3\",\n      \"\\u05d0\\u05d5\\u05e7\\u05f3\",\n      \"\\u05e0\\u05d5\\u05d1\\u05f3\",\n      \"\\u05d3\\u05e6\\u05de\\u05f3\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE, d \\u05d1MMMM y\",\n    \"longDate\": \"d \\u05d1MMMM y\",\n    \"medium\": \"d \\u05d1MMM y H:mm:ss\",\n    \"mediumDate\": \"d \\u05d1MMM y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"d.M.y H:mm\",\n    \"shortDate\": \"d.M.y\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20aa\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"he-il\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  if (i == 2 && vf.v == 0) {    return PLURAL_CATEGORY.TWO;  }  if (vf.v == 0 && (n < 0 || n > 10) && n % 10 == 0) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_he.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u05dc\\u05e4\\u05e0\\u05d4\\u05f4\\u05e6\",\n      \"\\u05d0\\u05d7\\u05d4\\u05f4\\u05e6\"\n    ],\n    \"DAY\": [\n      \"\\u05d9\\u05d5\\u05dd \\u05e8\\u05d0\\u05e9\\u05d5\\u05df\",\n      \"\\u05d9\\u05d5\\u05dd \\u05e9\\u05e0\\u05d9\",\n      \"\\u05d9\\u05d5\\u05dd \\u05e9\\u05dc\\u05d9\\u05e9\\u05d9\",\n      \"\\u05d9\\u05d5\\u05dd \\u05e8\\u05d1\\u05d9\\u05e2\\u05d9\",\n      \"\\u05d9\\u05d5\\u05dd \\u05d7\\u05de\\u05d9\\u05e9\\u05d9\",\n      \"\\u05d9\\u05d5\\u05dd \\u05e9\\u05d9\\u05e9\\u05d9\",\n      \"\\u05d9\\u05d5\\u05dd \\u05e9\\u05d1\\u05ea\"\n    ],\n    \"ERANAMES\": [\n      \"\\u05dc\\u05e4\\u05e0\\u05d9 \\u05d4\\u05e1\\u05e4\\u05d9\\u05e8\\u05d4\",\n      \"\\u05dc\\u05e1\\u05e4\\u05d9\\u05e8\\u05d4\"\n    ],\n    \"ERAS\": [\n      \"\\u05dc\\u05e4\\u05e0\\u05d4\\u05f4\\u05e1\",\n      \"\\u05dc\\u05e1\\u05e4\\u05d9\\u05e8\\u05d4\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u05d9\\u05e0\\u05d5\\u05d0\\u05e8\",\n      \"\\u05e4\\u05d1\\u05e8\\u05d5\\u05d0\\u05e8\",\n      \"\\u05de\\u05e8\\u05e5\",\n      \"\\u05d0\\u05e4\\u05e8\\u05d9\\u05dc\",\n      \"\\u05de\\u05d0\\u05d9\",\n      \"\\u05d9\\u05d5\\u05e0\\u05d9\",\n      \"\\u05d9\\u05d5\\u05dc\\u05d9\",\n      \"\\u05d0\\u05d5\\u05d2\\u05d5\\u05e1\\u05d8\",\n      \"\\u05e1\\u05e4\\u05d8\\u05de\\u05d1\\u05e8\",\n      \"\\u05d0\\u05d5\\u05e7\\u05d8\\u05d5\\u05d1\\u05e8\",\n      \"\\u05e0\\u05d5\\u05d1\\u05de\\u05d1\\u05e8\",\n      \"\\u05d3\\u05e6\\u05de\\u05d1\\u05e8\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u05d9\\u05d5\\u05dd \\u05d0\\u05f3\",\n      \"\\u05d9\\u05d5\\u05dd \\u05d1\\u05f3\",\n      \"\\u05d9\\u05d5\\u05dd \\u05d2\\u05f3\",\n      \"\\u05d9\\u05d5\\u05dd \\u05d3\\u05f3\",\n      \"\\u05d9\\u05d5\\u05dd \\u05d4\\u05f3\",\n      \"\\u05d9\\u05d5\\u05dd \\u05d5\\u05f3\",\n      \"\\u05e9\\u05d1\\u05ea\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u05d9\\u05e0\\u05d5\\u05f3\",\n      \"\\u05e4\\u05d1\\u05e8\\u05f3\",\n      \"\\u05de\\u05e8\\u05e5\",\n      \"\\u05d0\\u05e4\\u05e8\\u05f3\",\n      \"\\u05de\\u05d0\\u05d9\",\n      \"\\u05d9\\u05d5\\u05e0\\u05d9\",\n      \"\\u05d9\\u05d5\\u05dc\\u05d9\",\n      \"\\u05d0\\u05d5\\u05d2\\u05f3\",\n      \"\\u05e1\\u05e4\\u05d8\\u05f3\",\n      \"\\u05d0\\u05d5\\u05e7\\u05f3\",\n      \"\\u05e0\\u05d5\\u05d1\\u05f3\",\n      \"\\u05d3\\u05e6\\u05de\\u05f3\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE, d \\u05d1MMMM y\",\n    \"longDate\": \"d \\u05d1MMMM y\",\n    \"medium\": \"d \\u05d1MMM y H:mm:ss\",\n    \"mediumDate\": \"d \\u05d1MMM y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"d.M.y H:mm\",\n    \"shortDate\": \"d.M.y\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20aa\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"he\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  if (i == 2 && vf.v == 0) {    return PLURAL_CATEGORY.TWO;  }  if (vf.v == 0 && (n < 0 || n > 10) && n % 10 == 0) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_hi-in.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"am\",\n      \"pm\"\n    ],\n    \"DAY\": [\n      \"\\u0930\\u0935\\u093f\\u0935\\u093e\\u0930\",\n      \"\\u0938\\u094b\\u092e\\u0935\\u093e\\u0930\",\n      \"\\u092e\\u0902\\u0917\\u0932\\u0935\\u093e\\u0930\",\n      \"\\u092c\\u0941\\u0927\\u0935\\u093e\\u0930\",\n      \"\\u0917\\u0941\\u0930\\u0941\\u0935\\u093e\\u0930\",\n      \"\\u0936\\u0941\\u0915\\u094d\\u0930\\u0935\\u093e\\u0930\",\n      \"\\u0936\\u0928\\u093f\\u0935\\u093e\\u0930\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0908\\u0938\\u093e-\\u092a\\u0942\\u0930\\u094d\\u0935\",\n      \"\\u0908\\u0938\\u0935\\u0940 \\u0938\\u0928\"\n    ],\n    \"ERAS\": [\n      \"\\u0908\\u0938\\u093e-\\u092a\\u0942\\u0930\\u094d\\u0935\",\n      \"\\u0908\\u0938\\u094d\\u0935\\u0940\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u091c\\u0928\\u0935\\u0930\\u0940\",\n      \"\\u092b\\u093c\\u0930\\u0935\\u0930\\u0940\",\n      \"\\u092e\\u093e\\u0930\\u094d\\u091a\",\n      \"\\u0905\\u092a\\u094d\\u0930\\u0948\\u0932\",\n      \"\\u092e\\u0908\",\n      \"\\u091c\\u0942\\u0928\",\n      \"\\u091c\\u0941\\u0932\\u093e\\u0908\",\n      \"\\u0905\\u0917\\u0938\\u094d\\u0924\",\n      \"\\u0938\\u093f\\u0924\\u0902\\u092c\\u0930\",\n      \"\\u0905\\u0915\\u094d\\u0924\\u0942\\u092c\\u0930\",\n      \"\\u0928\\u0935\\u0902\\u092c\\u0930\",\n      \"\\u0926\\u093f\\u0938\\u0902\\u092c\\u0930\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0930\\u0935\\u093f\",\n      \"\\u0938\\u094b\\u092e\",\n      \"\\u092e\\u0902\\u0917\\u0932\",\n      \"\\u092c\\u0941\\u0927\",\n      \"\\u0917\\u0941\\u0930\\u0941\",\n      \"\\u0936\\u0941\\u0915\\u094d\\u0930\",\n      \"\\u0936\\u0928\\u093f\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u091c\\u0928\\u0970\",\n      \"\\u092b\\u093c\\u0930\\u0970\",\n      \"\\u092e\\u093e\\u0930\\u094d\\u091a\",\n      \"\\u0905\\u092a\\u094d\\u0930\\u0948\\u0932\",\n      \"\\u092e\\u0908\",\n      \"\\u091c\\u0942\\u0928\",\n      \"\\u091c\\u0941\\u0932\\u0970\",\n      \"\\u0905\\u0917\\u0970\",\n      \"\\u0938\\u093f\\u0924\\u0970\",\n      \"\\u0905\\u0915\\u094d\\u0924\\u0942\\u0970\",\n      \"\\u0928\\u0935\\u0970\",\n      \"\\u0926\\u093f\\u0938\\u0970\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"dd/MM/y h:mm:ss a\",\n    \"mediumDate\": \"dd/MM/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"hi-in\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_hi.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"am\",\n      \"pm\"\n    ],\n    \"DAY\": [\n      \"\\u0930\\u0935\\u093f\\u0935\\u093e\\u0930\",\n      \"\\u0938\\u094b\\u092e\\u0935\\u093e\\u0930\",\n      \"\\u092e\\u0902\\u0917\\u0932\\u0935\\u093e\\u0930\",\n      \"\\u092c\\u0941\\u0927\\u0935\\u093e\\u0930\",\n      \"\\u0917\\u0941\\u0930\\u0941\\u0935\\u093e\\u0930\",\n      \"\\u0936\\u0941\\u0915\\u094d\\u0930\\u0935\\u093e\\u0930\",\n      \"\\u0936\\u0928\\u093f\\u0935\\u093e\\u0930\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0908\\u0938\\u093e-\\u092a\\u0942\\u0930\\u094d\\u0935\",\n      \"\\u0908\\u0938\\u0935\\u0940 \\u0938\\u0928\"\n    ],\n    \"ERAS\": [\n      \"\\u0908\\u0938\\u093e-\\u092a\\u0942\\u0930\\u094d\\u0935\",\n      \"\\u0908\\u0938\\u094d\\u0935\\u0940\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u091c\\u0928\\u0935\\u0930\\u0940\",\n      \"\\u092b\\u093c\\u0930\\u0935\\u0930\\u0940\",\n      \"\\u092e\\u093e\\u0930\\u094d\\u091a\",\n      \"\\u0905\\u092a\\u094d\\u0930\\u0948\\u0932\",\n      \"\\u092e\\u0908\",\n      \"\\u091c\\u0942\\u0928\",\n      \"\\u091c\\u0941\\u0932\\u093e\\u0908\",\n      \"\\u0905\\u0917\\u0938\\u094d\\u0924\",\n      \"\\u0938\\u093f\\u0924\\u0902\\u092c\\u0930\",\n      \"\\u0905\\u0915\\u094d\\u0924\\u0942\\u092c\\u0930\",\n      \"\\u0928\\u0935\\u0902\\u092c\\u0930\",\n      \"\\u0926\\u093f\\u0938\\u0902\\u092c\\u0930\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0930\\u0935\\u093f\",\n      \"\\u0938\\u094b\\u092e\",\n      \"\\u092e\\u0902\\u0917\\u0932\",\n      \"\\u092c\\u0941\\u0927\",\n      \"\\u0917\\u0941\\u0930\\u0941\",\n      \"\\u0936\\u0941\\u0915\\u094d\\u0930\",\n      \"\\u0936\\u0928\\u093f\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u091c\\u0928\\u0970\",\n      \"\\u092b\\u093c\\u0930\\u0970\",\n      \"\\u092e\\u093e\\u0930\\u094d\\u091a\",\n      \"\\u0905\\u092a\\u094d\\u0930\\u0948\\u0932\",\n      \"\\u092e\\u0908\",\n      \"\\u091c\\u0942\\u0928\",\n      \"\\u091c\\u0941\\u0932\\u0970\",\n      \"\\u0905\\u0917\\u0970\",\n      \"\\u0938\\u093f\\u0924\\u0970\",\n      \"\\u0905\\u0915\\u094d\\u0924\\u0942\\u0970\",\n      \"\\u0928\\u0935\\u0970\",\n      \"\\u0926\\u093f\\u0938\\u0970\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"dd/MM/y h:mm:ss a\",\n    \"mediumDate\": \"dd/MM/y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"hi\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_hr-ba.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"nedjelja\",\n      \"ponedjeljak\",\n      \"utorak\",\n      \"srijeda\",\n      \"\\u010detvrtak\",\n      \"petak\",\n      \"subota\"\n    ],\n    \"ERANAMES\": [\n      \"Prije Krista\",\n      \"Poslije Krista\"\n    ],\n    \"ERAS\": [\n      \"pr. Kr.\",\n      \"p. Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"sije\\u010dnja\",\n      \"velja\\u010de\",\n      \"o\\u017eujka\",\n      \"travnja\",\n      \"svibnja\",\n      \"lipnja\",\n      \"srpnja\",\n      \"kolovoza\",\n      \"rujna\",\n      \"listopada\",\n      \"studenoga\",\n      \"prosinca\"\n    ],\n    \"SHORTDAY\": [\n      \"ned\",\n      \"pon\",\n      \"uto\",\n      \"sri\",\n      \"\\u010det\",\n      \"pet\",\n      \"sub\"\n    ],\n    \"SHORTMONTH\": [\n      \"sij\",\n      \"velj\",\n      \"o\\u017eu\",\n      \"tra\",\n      \"svi\",\n      \"lip\",\n      \"srp\",\n      \"kol\",\n      \"ruj\",\n      \"lis\",\n      \"stu\",\n      \"pro\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d. MMMM y.\",\n    \"longDate\": \"d. MMMM y.\",\n    \"medium\": \"d. MMM y. HH:mm:ss\",\n    \"mediumDate\": \"d. MMM y.\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.y. HH:mm\",\n    \"shortDate\": \"dd.MM.y.\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"KM\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"hr-ba\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_hr-hr.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"nedjelja\",\n      \"ponedjeljak\",\n      \"utorak\",\n      \"srijeda\",\n      \"\\u010detvrtak\",\n      \"petak\",\n      \"subota\"\n    ],\n    \"ERANAMES\": [\n      \"Prije Krista\",\n      \"Poslije Krista\"\n    ],\n    \"ERAS\": [\n      \"pr. Kr.\",\n      \"p. Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"sije\\u010dnja\",\n      \"velja\\u010de\",\n      \"o\\u017eujka\",\n      \"travnja\",\n      \"svibnja\",\n      \"lipnja\",\n      \"srpnja\",\n      \"kolovoza\",\n      \"rujna\",\n      \"listopada\",\n      \"studenoga\",\n      \"prosinca\"\n    ],\n    \"SHORTDAY\": [\n      \"ned\",\n      \"pon\",\n      \"uto\",\n      \"sri\",\n      \"\\u010det\",\n      \"pet\",\n      \"sub\"\n    ],\n    \"SHORTMONTH\": [\n      \"sij\",\n      \"velj\",\n      \"o\\u017eu\",\n      \"tra\",\n      \"svi\",\n      \"lip\",\n      \"srp\",\n      \"kol\",\n      \"ruj\",\n      \"lis\",\n      \"stu\",\n      \"pro\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d. MMMM y.\",\n    \"longDate\": \"d. MMMM y.\",\n    \"medium\": \"d. MMM y. HH:mm:ss\",\n    \"mediumDate\": \"d. MMM y.\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.y. HH:mm\",\n    \"shortDate\": \"dd.MM.y.\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"kn\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"hr-hr\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_hr.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"nedjelja\",\n      \"ponedjeljak\",\n      \"utorak\",\n      \"srijeda\",\n      \"\\u010detvrtak\",\n      \"petak\",\n      \"subota\"\n    ],\n    \"ERANAMES\": [\n      \"Prije Krista\",\n      \"Poslije Krista\"\n    ],\n    \"ERAS\": [\n      \"pr. Kr.\",\n      \"p. Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"sije\\u010dnja\",\n      \"velja\\u010de\",\n      \"o\\u017eujka\",\n      \"travnja\",\n      \"svibnja\",\n      \"lipnja\",\n      \"srpnja\",\n      \"kolovoza\",\n      \"rujna\",\n      \"listopada\",\n      \"studenoga\",\n      \"prosinca\"\n    ],\n    \"SHORTDAY\": [\n      \"ned\",\n      \"pon\",\n      \"uto\",\n      \"sri\",\n      \"\\u010det\",\n      \"pet\",\n      \"sub\"\n    ],\n    \"SHORTMONTH\": [\n      \"sij\",\n      \"velj\",\n      \"o\\u017eu\",\n      \"tra\",\n      \"svi\",\n      \"lip\",\n      \"srp\",\n      \"kol\",\n      \"ruj\",\n      \"lis\",\n      \"stu\",\n      \"pro\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d. MMMM y.\",\n    \"longDate\": \"d. MMMM y.\",\n    \"medium\": \"d. MMM y. HH:mm:ss\",\n    \"mediumDate\": \"d. MMM y.\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.y. HH:mm\",\n    \"shortDate\": \"dd.MM.y.\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"kn\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"hr\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_hsb-de.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"dopo\\u0142dnja\",\n      \"popo\\u0142dnju\"\n    ],\n    \"DAY\": [\n      \"njed\\u017aela\",\n      \"p\\u00f3nd\\u017aela\",\n      \"wutora\",\n      \"srjeda\",\n      \"\\u0161tw\\u00f3rtk\",\n      \"pjatk\",\n      \"sobota\"\n    ],\n    \"ERANAMES\": [\n      \"p\\u0159ed Chrystowym narod\\u017aenjom\",\n      \"po Chrystowym narod\\u017aenju\"\n    ],\n    \"ERAS\": [\n      \"p\\u0159.Chr.n.\",\n      \"po Chr.n.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januara\",\n      \"februara\",\n      \"m\\u011brca\",\n      \"apryla\",\n      \"meje\",\n      \"junija\",\n      \"julija\",\n      \"awgusta\",\n      \"septembra\",\n      \"oktobra\",\n      \"nowembra\",\n      \"decembra\"\n    ],\n    \"SHORTDAY\": [\n      \"nje\",\n      \"p\\u00f3n\",\n      \"wut\",\n      \"srj\",\n      \"\\u0161tw\",\n      \"pja\",\n      \"sob\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"m\\u011br.\",\n      \"apr.\",\n      \"mej.\",\n      \"jun.\",\n      \"jul.\",\n      \"awg.\",\n      \"sep.\",\n      \"okt.\",\n      \"now.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d.M.y H:mm:ss\",\n    \"mediumDate\": \"d.M.y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"d.M.yy H:mm 'hod\\u017a'.\",\n    \"shortDate\": \"d.M.yy\",\n    \"shortTime\": \"H:mm 'hod\\u017a'.\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"hsb-de\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_hsb.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"dopo\\u0142dnja\",\n      \"popo\\u0142dnju\"\n    ],\n    \"DAY\": [\n      \"njed\\u017aela\",\n      \"p\\u00f3nd\\u017aela\",\n      \"wutora\",\n      \"srjeda\",\n      \"\\u0161tw\\u00f3rtk\",\n      \"pjatk\",\n      \"sobota\"\n    ],\n    \"ERANAMES\": [\n      \"p\\u0159ed Chrystowym narod\\u017aenjom\",\n      \"po Chrystowym narod\\u017aenju\"\n    ],\n    \"ERAS\": [\n      \"p\\u0159.Chr.n.\",\n      \"po Chr.n.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januara\",\n      \"februara\",\n      \"m\\u011brca\",\n      \"apryla\",\n      \"meje\",\n      \"junija\",\n      \"julija\",\n      \"awgusta\",\n      \"septembra\",\n      \"oktobra\",\n      \"nowembra\",\n      \"decembra\"\n    ],\n    \"SHORTDAY\": [\n      \"nje\",\n      \"p\\u00f3n\",\n      \"wut\",\n      \"srj\",\n      \"\\u0161tw\",\n      \"pja\",\n      \"sob\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"m\\u011br.\",\n      \"apr.\",\n      \"mej.\",\n      \"jun.\",\n      \"jul.\",\n      \"awg.\",\n      \"sep.\",\n      \"okt.\",\n      \"now.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d.M.y H:mm:ss\",\n    \"mediumDate\": \"d.M.y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"d.M.yy H:mm 'hod\\u017a'.\",\n    \"shortDate\": \"d.M.yy\",\n    \"shortTime\": \"H:mm 'hod\\u017a'.\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"hsb\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_hu-hu.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"de.\",\n      \"du.\"\n    ],\n    \"DAY\": [\n      \"vas\\u00e1rnap\",\n      \"h\\u00e9tf\\u0151\",\n      \"kedd\",\n      \"szerda\",\n      \"cs\\u00fct\\u00f6rt\\u00f6k\",\n      \"p\\u00e9ntek\",\n      \"szombat\"\n    ],\n    \"ERANAMES\": [\n      \"id\\u0151sz\\u00e1m\\u00edt\\u00e1sunk el\\u0151tt\",\n      \"id\\u0151sz\\u00e1m\\u00edt\\u00e1sunk szerint\"\n    ],\n    \"ERAS\": [\n      \"i. e.\",\n      \"i. sz.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janu\\u00e1r\",\n      \"febru\\u00e1r\",\n      \"m\\u00e1rcius\",\n      \"\\u00e1prilis\",\n      \"m\\u00e1jus\",\n      \"j\\u00fanius\",\n      \"j\\u00falius\",\n      \"augusztus\",\n      \"szeptember\",\n      \"okt\\u00f3ber\",\n      \"november\",\n      \"december\"\n    ],\n    \"SHORTDAY\": [\n      \"V\",\n      \"H\",\n      \"K\",\n      \"Sze\",\n      \"Cs\",\n      \"P\",\n      \"Szo\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"febr.\",\n      \"m\\u00e1rc.\",\n      \"\\u00e1pr.\",\n      \"m\\u00e1j.\",\n      \"j\\u00fan.\",\n      \"j\\u00fal.\",\n      \"aug.\",\n      \"szept.\",\n      \"okt.\",\n      \"nov.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y. MMMM d., EEEE\",\n    \"longDate\": \"y. MMMM d.\",\n    \"medium\": \"y. MMM d. H:mm:ss\",\n    \"mediumDate\": \"y. MMM d.\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"y. MM. dd. H:mm\",\n    \"shortDate\": \"y. MM. dd.\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ft\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"hu-hu\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_hu.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"de.\",\n      \"du.\"\n    ],\n    \"DAY\": [\n      \"vas\\u00e1rnap\",\n      \"h\\u00e9tf\\u0151\",\n      \"kedd\",\n      \"szerda\",\n      \"cs\\u00fct\\u00f6rt\\u00f6k\",\n      \"p\\u00e9ntek\",\n      \"szombat\"\n    ],\n    \"ERANAMES\": [\n      \"id\\u0151sz\\u00e1m\\u00edt\\u00e1sunk el\\u0151tt\",\n      \"id\\u0151sz\\u00e1m\\u00edt\\u00e1sunk szerint\"\n    ],\n    \"ERAS\": [\n      \"i. e.\",\n      \"i. sz.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janu\\u00e1r\",\n      \"febru\\u00e1r\",\n      \"m\\u00e1rcius\",\n      \"\\u00e1prilis\",\n      \"m\\u00e1jus\",\n      \"j\\u00fanius\",\n      \"j\\u00falius\",\n      \"augusztus\",\n      \"szeptember\",\n      \"okt\\u00f3ber\",\n      \"november\",\n      \"december\"\n    ],\n    \"SHORTDAY\": [\n      \"V\",\n      \"H\",\n      \"K\",\n      \"Sze\",\n      \"Cs\",\n      \"P\",\n      \"Szo\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"febr.\",\n      \"m\\u00e1rc.\",\n      \"\\u00e1pr.\",\n      \"m\\u00e1j.\",\n      \"j\\u00fan.\",\n      \"j\\u00fal.\",\n      \"aug.\",\n      \"szept.\",\n      \"okt.\",\n      \"nov.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y. MMMM d., EEEE\",\n    \"longDate\": \"y. MMMM d.\",\n    \"medium\": \"y. MMM d. H:mm:ss\",\n    \"mediumDate\": \"y. MMM d.\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"y. MM. dd. H:mm\",\n    \"shortDate\": \"y. MM. dd.\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ft\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"hu\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_hy-am.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u056f\\u0565\\u057d\\u0585\\u0580\\u056b\\u0581 \\u0561\\u057c\\u0561\\u057b\",\n      \"\\u056f\\u0565\\u057d\\u0585\\u0580\\u056b\\u0581 \\u0570\\u0565\\u057f\\u0578\"\n    ],\n    \"DAY\": [\n      \"\\u056f\\u056b\\u0580\\u0561\\u056f\\u056b\",\n      \"\\u0565\\u0580\\u056f\\u0578\\u0582\\u0577\\u0561\\u0562\\u0569\\u056b\",\n      \"\\u0565\\u0580\\u0565\\u0584\\u0577\\u0561\\u0562\\u0569\\u056b\",\n      \"\\u0579\\u0578\\u0580\\u0565\\u0584\\u0577\\u0561\\u0562\\u0569\\u056b\",\n      \"\\u0570\\u056b\\u0576\\u0563\\u0577\\u0561\\u0562\\u0569\\u056b\",\n      \"\\u0578\\u0582\\u0580\\u0562\\u0561\\u0569\",\n      \"\\u0577\\u0561\\u0562\\u0561\\u0569\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0574.\\u0569.\\u0561.\",\n      \"\\u0574.\\u0569.\"\n    ],\n    \"ERAS\": [\n      \"\\u0574.\\u0569.\\u0561.\",\n      \"\\u0574.\\u0569.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u0570\\u0578\\u0582\\u0576\\u057e\\u0561\\u0580\\u056b\",\n      \"\\u0583\\u0565\\u057f\\u0580\\u057e\\u0561\\u0580\\u056b\",\n      \"\\u0574\\u0561\\u0580\\u057f\\u056b\",\n      \"\\u0561\\u057a\\u0580\\u056b\\u056c\\u056b\",\n      \"\\u0574\\u0561\\u0575\\u056b\\u057d\\u056b\",\n      \"\\u0570\\u0578\\u0582\\u0576\\u056b\\u057d\\u056b\",\n      \"\\u0570\\u0578\\u0582\\u056c\\u056b\\u057d\\u056b\",\n      \"\\u0585\\u0563\\u0578\\u057d\\u057f\\u0578\\u057d\\u056b\",\n      \"\\u057d\\u0565\\u057a\\u057f\\u0565\\u0574\\u0562\\u0565\\u0580\\u056b\",\n      \"\\u0570\\u0578\\u056f\\u057f\\u0565\\u0574\\u0562\\u0565\\u0580\\u056b\",\n      \"\\u0576\\u0578\\u0575\\u0565\\u0574\\u0562\\u0565\\u0580\\u056b\",\n      \"\\u0564\\u0565\\u056f\\u057f\\u0565\\u0574\\u0562\\u0565\\u0580\\u056b\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u056f\\u056b\\u0580\",\n      \"\\u0565\\u0580\\u056f\",\n      \"\\u0565\\u0580\\u0584\",\n      \"\\u0579\\u0580\\u0584\",\n      \"\\u0570\\u0576\\u0563\",\n      \"\\u0578\\u0582\\u0580\",\n      \"\\u0577\\u0562\\u0569\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0570\\u0576\\u057e\",\n      \"\\u0583\\u057f\\u057e\",\n      \"\\u0574\\u0580\\u057f\",\n      \"\\u0561\\u057a\\u0580\",\n      \"\\u0574\\u0575\\u057d\",\n      \"\\u0570\\u0576\\u057d\",\n      \"\\u0570\\u056c\\u057d\",\n      \"\\u0585\\u0563\\u057d\",\n      \"\\u057d\\u0565\\u057a\",\n      \"\\u0570\\u0578\\u056f\",\n      \"\\u0576\\u0578\\u0575\",\n      \"\\u0564\\u0565\\u056f\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y\\u0569. MMMM d, EEEE\",\n    \"longDate\": \"dd MMMM, y\\u0569.\",\n    \"medium\": \"dd MMM, y\\u0569. H:mm:ss\",\n    \"mediumDate\": \"dd MMM, y\\u0569.\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"dd.MM.yy H:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Dram\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 0,\n        \"lgSize\": 0,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 0,\n        \"lgSize\": 0,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"hy-am\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_hy.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u056f\\u0565\\u057d\\u0585\\u0580\\u056b\\u0581 \\u0561\\u057c\\u0561\\u057b\",\n      \"\\u056f\\u0565\\u057d\\u0585\\u0580\\u056b\\u0581 \\u0570\\u0565\\u057f\\u0578\"\n    ],\n    \"DAY\": [\n      \"\\u056f\\u056b\\u0580\\u0561\\u056f\\u056b\",\n      \"\\u0565\\u0580\\u056f\\u0578\\u0582\\u0577\\u0561\\u0562\\u0569\\u056b\",\n      \"\\u0565\\u0580\\u0565\\u0584\\u0577\\u0561\\u0562\\u0569\\u056b\",\n      \"\\u0579\\u0578\\u0580\\u0565\\u0584\\u0577\\u0561\\u0562\\u0569\\u056b\",\n      \"\\u0570\\u056b\\u0576\\u0563\\u0577\\u0561\\u0562\\u0569\\u056b\",\n      \"\\u0578\\u0582\\u0580\\u0562\\u0561\\u0569\",\n      \"\\u0577\\u0561\\u0562\\u0561\\u0569\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0574.\\u0569.\\u0561.\",\n      \"\\u0574.\\u0569.\"\n    ],\n    \"ERAS\": [\n      \"\\u0574.\\u0569.\\u0561.\",\n      \"\\u0574.\\u0569.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u0570\\u0578\\u0582\\u0576\\u057e\\u0561\\u0580\\u056b\",\n      \"\\u0583\\u0565\\u057f\\u0580\\u057e\\u0561\\u0580\\u056b\",\n      \"\\u0574\\u0561\\u0580\\u057f\\u056b\",\n      \"\\u0561\\u057a\\u0580\\u056b\\u056c\\u056b\",\n      \"\\u0574\\u0561\\u0575\\u056b\\u057d\\u056b\",\n      \"\\u0570\\u0578\\u0582\\u0576\\u056b\\u057d\\u056b\",\n      \"\\u0570\\u0578\\u0582\\u056c\\u056b\\u057d\\u056b\",\n      \"\\u0585\\u0563\\u0578\\u057d\\u057f\\u0578\\u057d\\u056b\",\n      \"\\u057d\\u0565\\u057a\\u057f\\u0565\\u0574\\u0562\\u0565\\u0580\\u056b\",\n      \"\\u0570\\u0578\\u056f\\u057f\\u0565\\u0574\\u0562\\u0565\\u0580\\u056b\",\n      \"\\u0576\\u0578\\u0575\\u0565\\u0574\\u0562\\u0565\\u0580\\u056b\",\n      \"\\u0564\\u0565\\u056f\\u057f\\u0565\\u0574\\u0562\\u0565\\u0580\\u056b\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u056f\\u056b\\u0580\",\n      \"\\u0565\\u0580\\u056f\",\n      \"\\u0565\\u0580\\u0584\",\n      \"\\u0579\\u0580\\u0584\",\n      \"\\u0570\\u0576\\u0563\",\n      \"\\u0578\\u0582\\u0580\",\n      \"\\u0577\\u0562\\u0569\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0570\\u0576\\u057e\",\n      \"\\u0583\\u057f\\u057e\",\n      \"\\u0574\\u0580\\u057f\",\n      \"\\u0561\\u057a\\u0580\",\n      \"\\u0574\\u0575\\u057d\",\n      \"\\u0570\\u0576\\u057d\",\n      \"\\u0570\\u056c\\u057d\",\n      \"\\u0585\\u0563\\u057d\",\n      \"\\u057d\\u0565\\u057a\",\n      \"\\u0570\\u0578\\u056f\",\n      \"\\u0576\\u0578\\u0575\",\n      \"\\u0564\\u0565\\u056f\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y\\u0569. MMMM d, EEEE\",\n    \"longDate\": \"dd MMMM, y\\u0569.\",\n    \"medium\": \"dd MMM, y\\u0569. H:mm:ss\",\n    \"mediumDate\": \"dd MMM, y\\u0569.\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"dd.MM.yy H:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Dram\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 0,\n        \"lgSize\": 0,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 0,\n        \"lgSize\": 0,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"hy\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ia-fr.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"dominica\",\n      \"lunedi\",\n      \"martedi\",\n      \"mercuridi\",\n      \"jovedi\",\n      \"venerdi\",\n      \"sabbato\"\n    ],\n    \"ERANAMES\": [\n      \"ante Christo\",\n      \"post Christo\"\n    ],\n    \"ERAS\": [\n      \"a.Chr.\",\n      \"p.Chr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januario\",\n      \"februario\",\n      \"martio\",\n      \"april\",\n      \"maio\",\n      \"junio\",\n      \"julio\",\n      \"augusto\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"decembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom\",\n      \"lun\",\n      \"mar\",\n      \"mer\",\n      \"jov\",\n      \"ven\",\n      \"sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"feb\",\n      \"mar\",\n      \"apr\",\n      \"mai\",\n      \"jun\",\n      \"jul\",\n      \"aug\",\n      \"sep\",\n      \"oct\",\n      \"nov\",\n      \"dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, y MMMM dd\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"yy/MM/dd HH:mm\",\n    \"shortDate\": \"yy/MM/dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4\\u00a0-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ia-fr\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ia.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"dominica\",\n      \"lunedi\",\n      \"martedi\",\n      \"mercuridi\",\n      \"jovedi\",\n      \"venerdi\",\n      \"sabbato\"\n    ],\n    \"ERANAMES\": [\n      \"ante Christo\",\n      \"post Christo\"\n    ],\n    \"ERAS\": [\n      \"a.Chr.\",\n      \"p.Chr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januario\",\n      \"februario\",\n      \"martio\",\n      \"april\",\n      \"maio\",\n      \"junio\",\n      \"julio\",\n      \"augusto\",\n      \"septembre\",\n      \"octobre\",\n      \"novembre\",\n      \"decembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom\",\n      \"lun\",\n      \"mar\",\n      \"mer\",\n      \"jov\",\n      \"ven\",\n      \"sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"feb\",\n      \"mar\",\n      \"apr\",\n      \"mai\",\n      \"jun\",\n      \"jul\",\n      \"aug\",\n      \"sep\",\n      \"oct\",\n      \"nov\",\n      \"dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, y MMMM dd\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"yy/MM/dd HH:mm\",\n    \"shortDate\": \"yy/MM/dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4\\u00a0-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ia\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_id-id.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Minggu\",\n      \"Senin\",\n      \"Selasa\",\n      \"Rabu\",\n      \"Kamis\",\n      \"Jumat\",\n      \"Sabtu\"\n    ],\n    \"ERANAMES\": [\n      \"Sebelum Masehi\",\n      \"M\"\n    ],\n    \"ERAS\": [\n      \"SM\",\n      \"M\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Januari\",\n      \"Februari\",\n      \"Maret\",\n      \"April\",\n      \"Mei\",\n      \"Juni\",\n      \"Juli\",\n      \"Agustus\",\n      \"September\",\n      \"Oktober\",\n      \"November\",\n      \"Desember\"\n    ],\n    \"SHORTDAY\": [\n      \"Min\",\n      \"Sen\",\n      \"Sel\",\n      \"Rab\",\n      \"Kam\",\n      \"Jum\",\n      \"Sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Agt\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH.mm.ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH.mm.ss\",\n    \"short\": \"dd/MM/yy HH.mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH.mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Rp\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"id-id\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_id.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Minggu\",\n      \"Senin\",\n      \"Selasa\",\n      \"Rabu\",\n      \"Kamis\",\n      \"Jumat\",\n      \"Sabtu\"\n    ],\n    \"ERANAMES\": [\n      \"Sebelum Masehi\",\n      \"M\"\n    ],\n    \"ERAS\": [\n      \"SM\",\n      \"M\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Januari\",\n      \"Februari\",\n      \"Maret\",\n      \"April\",\n      \"Mei\",\n      \"Juni\",\n      \"Juli\",\n      \"Agustus\",\n      \"September\",\n      \"Oktober\",\n      \"November\",\n      \"Desember\"\n    ],\n    \"SHORTDAY\": [\n      \"Min\",\n      \"Sen\",\n      \"Sel\",\n      \"Rab\",\n      \"Kam\",\n      \"Jum\",\n      \"Sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Agt\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH.mm.ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH.mm.ss\",\n    \"short\": \"dd/MM/yy HH.mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH.mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Rp\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"id\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ig-ng.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"A.M.\",\n      \"P.M.\"\n    ],\n    \"DAY\": [\n      \"Mb\\u1ecds\\u1ecb \\u1ee4ka\",\n      \"M\\u1ecdnde\",\n      \"Tiuzdee\",\n      \"Wenezdee\",\n      \"T\\u1ecd\\u1ecdzdee\",\n      \"Fra\\u1ecbdee\",\n      \"Sat\\u1ecddee\"\n    ],\n    \"ERANAMES\": [\n      \"Tupu Kristi\",\n      \"Af\\u1ecd Kristi\"\n    ],\n    \"ERAS\": [\n      \"T.K.\",\n      \"A.K.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Jen\\u1ee5war\\u1ecb\",\n      \"Febr\\u1ee5war\\u1ecb\",\n      \"Maach\\u1ecb\",\n      \"Eprel\",\n      \"Mee\",\n      \"Juun\",\n      \"Jula\\u1ecb\",\n      \"\\u1eccg\\u1ecd\\u1ecdst\",\n      \"Septemba\",\n      \"\\u1eccktoba\",\n      \"Novemba\",\n      \"Disemba\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u1ee4ka\",\n      \"M\\u1ecdn\",\n      \"Tiu\",\n      \"Wen\",\n      \"T\\u1ecd\\u1ecd\",\n      \"Fra\\u1ecb\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jen\",\n      \"Feb\",\n      \"Maa\",\n      \"Epr\",\n      \"Mee\",\n      \"Juu\",\n      \"Jul\",\n      \"\\u1eccg\\u1ecd\",\n      \"Sep\",\n      \"\\u1ecckt\",\n      \"Nov\",\n      \"Dis\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20a6\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ig-ng\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ig.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"A.M.\",\n      \"P.M.\"\n    ],\n    \"DAY\": [\n      \"Mb\\u1ecds\\u1ecb \\u1ee4ka\",\n      \"M\\u1ecdnde\",\n      \"Tiuzdee\",\n      \"Wenezdee\",\n      \"T\\u1ecd\\u1ecdzdee\",\n      \"Fra\\u1ecbdee\",\n      \"Sat\\u1ecddee\"\n    ],\n    \"ERANAMES\": [\n      \"Tupu Kristi\",\n      \"Af\\u1ecd Kristi\"\n    ],\n    \"ERAS\": [\n      \"T.K.\",\n      \"A.K.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Jen\\u1ee5war\\u1ecb\",\n      \"Febr\\u1ee5war\\u1ecb\",\n      \"Maach\\u1ecb\",\n      \"Eprel\",\n      \"Mee\",\n      \"Juun\",\n      \"Jula\\u1ecb\",\n      \"\\u1eccg\\u1ecd\\u1ecdst\",\n      \"Septemba\",\n      \"\\u1eccktoba\",\n      \"Novemba\",\n      \"Disemba\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u1ee4ka\",\n      \"M\\u1ecdn\",\n      \"Tiu\",\n      \"Wen\",\n      \"T\\u1ecd\\u1ecd\",\n      \"Fra\\u1ecb\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jen\",\n      \"Feb\",\n      \"Maa\",\n      \"Epr\",\n      \"Mee\",\n      \"Juu\",\n      \"Jul\",\n      \"\\u1eccg\\u1ecd\",\n      \"Sep\",\n      \"\\u1ecckt\",\n      \"Nov\",\n      \"Dis\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20a6\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ig\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ii-cn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\ua3b8\\ua111\",\n      \"\\ua06f\\ua2d2\"\n    ],\n    \"DAY\": [\n      \"\\ua46d\\ua18f\\ua44d\",\n      \"\\ua18f\\ua282\\ua2cd\",\n      \"\\ua18f\\ua282\\ua44d\",\n      \"\\ua18f\\ua282\\ua315\",\n      \"\\ua18f\\ua282\\ua1d6\",\n      \"\\ua18f\\ua282\\ua26c\",\n      \"\\ua18f\\ua282\\ua0d8\"\n    ],\n    \"ERANAMES\": [\n      \"\\ua0c5\\ua2ca\\ua0bf\",\n      \"\\ua0c5\\ua2ca\\ua282\"\n    ],\n    \"ERAS\": [\n      \"\\ua0c5\\ua2ca\\ua0bf\",\n      \"\\ua0c5\\ua2ca\\ua282\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\ua2cd\\ua1aa\",\n      \"\\ua44d\\ua1aa\",\n      \"\\ua315\\ua1aa\",\n      \"\\ua1d6\\ua1aa\",\n      \"\\ua26c\\ua1aa\",\n      \"\\ua0d8\\ua1aa\",\n      \"\\ua3c3\\ua1aa\",\n      \"\\ua246\\ua1aa\",\n      \"\\ua22c\\ua1aa\",\n      \"\\ua2b0\\ua1aa\",\n      \"\\ua2b0\\ua2aa\\ua1aa\",\n      \"\\ua2b0\\ua44b\\ua1aa\"\n    ],\n    \"SHORTDAY\": [\n      \"\\ua46d\\ua18f\",\n      \"\\ua18f\\ua2cd\",\n      \"\\ua18f\\ua44d\",\n      \"\\ua18f\\ua315\",\n      \"\\ua18f\\ua1d6\",\n      \"\\ua18f\\ua26c\",\n      \"\\ua18f\\ua0d8\"\n    ],\n    \"SHORTMONTH\": [\n      \"1\",\n      \"2\",\n      \"3\",\n      \"4\",\n      \"5\",\n      \"6\",\n      \"7\",\n      \"8\",\n      \"9\",\n      \"10\",\n      \"11\",\n      \"12\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a5\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ii-cn\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ii.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\ua3b8\\ua111\",\n      \"\\ua06f\\ua2d2\"\n    ],\n    \"DAY\": [\n      \"\\ua46d\\ua18f\\ua44d\",\n      \"\\ua18f\\ua282\\ua2cd\",\n      \"\\ua18f\\ua282\\ua44d\",\n      \"\\ua18f\\ua282\\ua315\",\n      \"\\ua18f\\ua282\\ua1d6\",\n      \"\\ua18f\\ua282\\ua26c\",\n      \"\\ua18f\\ua282\\ua0d8\"\n    ],\n    \"ERANAMES\": [\n      \"\\ua0c5\\ua2ca\\ua0bf\",\n      \"\\ua0c5\\ua2ca\\ua282\"\n    ],\n    \"ERAS\": [\n      \"\\ua0c5\\ua2ca\\ua0bf\",\n      \"\\ua0c5\\ua2ca\\ua282\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\ua2cd\\ua1aa\",\n      \"\\ua44d\\ua1aa\",\n      \"\\ua315\\ua1aa\",\n      \"\\ua1d6\\ua1aa\",\n      \"\\ua26c\\ua1aa\",\n      \"\\ua0d8\\ua1aa\",\n      \"\\ua3c3\\ua1aa\",\n      \"\\ua246\\ua1aa\",\n      \"\\ua22c\\ua1aa\",\n      \"\\ua2b0\\ua1aa\",\n      \"\\ua2b0\\ua2aa\\ua1aa\",\n      \"\\ua2b0\\ua44b\\ua1aa\"\n    ],\n    \"SHORTDAY\": [\n      \"\\ua46d\\ua18f\",\n      \"\\ua18f\\ua2cd\",\n      \"\\ua18f\\ua44d\",\n      \"\\ua18f\\ua315\",\n      \"\\ua18f\\ua1d6\",\n      \"\\ua18f\\ua26c\",\n      \"\\ua18f\\ua0d8\"\n    ],\n    \"SHORTMONTH\": [\n      \"1\",\n      \"2\",\n      \"3\",\n      \"4\",\n      \"5\",\n      \"6\",\n      \"7\",\n      \"8\",\n      \"9\",\n      \"10\",\n      \"11\",\n      \"12\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a5\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ii\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_in.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Minggu\",\n      \"Senin\",\n      \"Selasa\",\n      \"Rabu\",\n      \"Kamis\",\n      \"Jumat\",\n      \"Sabtu\"\n    ],\n    \"ERANAMES\": [\n      \"Sebelum Masehi\",\n      \"M\"\n    ],\n    \"ERAS\": [\n      \"SM\",\n      \"M\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Januari\",\n      \"Februari\",\n      \"Maret\",\n      \"April\",\n      \"Mei\",\n      \"Juni\",\n      \"Juli\",\n      \"Agustus\",\n      \"September\",\n      \"Oktober\",\n      \"November\",\n      \"Desember\"\n    ],\n    \"SHORTDAY\": [\n      \"Min\",\n      \"Sen\",\n      \"Sel\",\n      \"Rab\",\n      \"Kam\",\n      \"Jum\",\n      \"Sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Agt\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH.mm.ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH.mm.ss\",\n    \"short\": \"dd/MM/yy HH.mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH.mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Rp\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"in\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_is-is.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\nfunction getWT(v, f) {\n  if (f === 0) {\n    return {w: 0, t: 0};\n  }\n\n  while ((f % 10) === 0) {\n    f /= 10;\n    v--;\n  }\n\n  return {w: v, t: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"f.h.\",\n      \"e.h.\"\n    ],\n    \"DAY\": [\n      \"sunnudagur\",\n      \"m\\u00e1nudagur\",\n      \"\\u00feri\\u00f0judagur\",\n      \"mi\\u00f0vikudagur\",\n      \"fimmtudagur\",\n      \"f\\u00f6studagur\",\n      \"laugardagur\"\n    ],\n    \"ERANAMES\": [\n      \"fyrir Krist\",\n      \"eftir Krist\"\n    ],\n    \"ERAS\": [\n      \"f.Kr.\",\n      \"e.Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"jan\\u00faar\",\n      \"febr\\u00faar\",\n      \"mars\",\n      \"apr\\u00edl\",\n      \"ma\\u00ed\",\n      \"j\\u00fan\\u00ed\",\n      \"j\\u00fal\\u00ed\",\n      \"\\u00e1g\\u00fast\",\n      \"september\",\n      \"okt\\u00f3ber\",\n      \"n\\u00f3vember\",\n      \"desember\"\n    ],\n    \"SHORTDAY\": [\n      \"sun.\",\n      \"m\\u00e1n.\",\n      \"\\u00feri.\",\n      \"mi\\u00f0.\",\n      \"fim.\",\n      \"f\\u00f6s.\",\n      \"lau.\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"mar.\",\n      \"apr.\",\n      \"ma\\u00ed\",\n      \"j\\u00fan.\",\n      \"j\\u00fal.\",\n      \"\\u00e1g\\u00fa.\",\n      \"sep.\",\n      \"okt.\",\n      \"n\\u00f3v.\",\n      \"des.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d. MMM y HH:mm:ss\",\n    \"mediumDate\": \"d. MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d.M.y HH:mm\",\n    \"shortDate\": \"d.M.y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"kr\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"is-is\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  var wt = getWT(vf.v, vf.f);  if (wt.t == 0 && i % 10 == 1 && i % 100 != 11 || wt.t != 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_is.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\nfunction getWT(v, f) {\n  if (f === 0) {\n    return {w: 0, t: 0};\n  }\n\n  while ((f % 10) === 0) {\n    f /= 10;\n    v--;\n  }\n\n  return {w: v, t: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"f.h.\",\n      \"e.h.\"\n    ],\n    \"DAY\": [\n      \"sunnudagur\",\n      \"m\\u00e1nudagur\",\n      \"\\u00feri\\u00f0judagur\",\n      \"mi\\u00f0vikudagur\",\n      \"fimmtudagur\",\n      \"f\\u00f6studagur\",\n      \"laugardagur\"\n    ],\n    \"ERANAMES\": [\n      \"fyrir Krist\",\n      \"eftir Krist\"\n    ],\n    \"ERAS\": [\n      \"f.Kr.\",\n      \"e.Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"jan\\u00faar\",\n      \"febr\\u00faar\",\n      \"mars\",\n      \"apr\\u00edl\",\n      \"ma\\u00ed\",\n      \"j\\u00fan\\u00ed\",\n      \"j\\u00fal\\u00ed\",\n      \"\\u00e1g\\u00fast\",\n      \"september\",\n      \"okt\\u00f3ber\",\n      \"n\\u00f3vember\",\n      \"desember\"\n    ],\n    \"SHORTDAY\": [\n      \"sun.\",\n      \"m\\u00e1n.\",\n      \"\\u00feri.\",\n      \"mi\\u00f0.\",\n      \"fim.\",\n      \"f\\u00f6s.\",\n      \"lau.\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"mar.\",\n      \"apr.\",\n      \"ma\\u00ed\",\n      \"j\\u00fan.\",\n      \"j\\u00fal.\",\n      \"\\u00e1g\\u00fa.\",\n      \"sep.\",\n      \"okt.\",\n      \"n\\u00f3v.\",\n      \"des.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d. MMM y HH:mm:ss\",\n    \"mediumDate\": \"d. MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d.M.y HH:mm\",\n    \"shortDate\": \"d.M.y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"kr\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"is\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  var wt = getWT(vf.v, vf.f);  if (wt.t == 0 && i % 10 == 1 && i % 100 != 11 || wt.t != 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_it-ch.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"domenica\",\n      \"luned\\u00ec\",\n      \"marted\\u00ec\",\n      \"mercoled\\u00ec\",\n      \"gioved\\u00ec\",\n      \"venerd\\u00ec\",\n      \"sabato\"\n    ],\n    \"ERANAMES\": [\n      \"a.C.\",\n      \"d.C.\"\n    ],\n    \"ERAS\": [\n      \"aC\",\n      \"dC\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"gennaio\",\n      \"febbraio\",\n      \"marzo\",\n      \"aprile\",\n      \"maggio\",\n      \"giugno\",\n      \"luglio\",\n      \"agosto\",\n      \"settembre\",\n      \"ottobre\",\n      \"novembre\",\n      \"dicembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom\",\n      \"lun\",\n      \"mar\",\n      \"mer\",\n      \"gio\",\n      \"ven\",\n      \"sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"gen\",\n      \"feb\",\n      \"mar\",\n      \"apr\",\n      \"mag\",\n      \"giu\",\n      \"lug\",\n      \"ago\",\n      \"set\",\n      \"ott\",\n      \"nov\",\n      \"dic\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d-MMM-y HH:mm:ss\",\n    \"mediumDate\": \"d-MMM-y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CHF\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \"'\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"it-ch\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_it-it.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"domenica\",\n      \"luned\\u00ec\",\n      \"marted\\u00ec\",\n      \"mercoled\\u00ec\",\n      \"gioved\\u00ec\",\n      \"venerd\\u00ec\",\n      \"sabato\"\n    ],\n    \"ERANAMES\": [\n      \"a.C.\",\n      \"d.C.\"\n    ],\n    \"ERAS\": [\n      \"aC\",\n      \"dC\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"gennaio\",\n      \"febbraio\",\n      \"marzo\",\n      \"aprile\",\n      \"maggio\",\n      \"giugno\",\n      \"luglio\",\n      \"agosto\",\n      \"settembre\",\n      \"ottobre\",\n      \"novembre\",\n      \"dicembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom\",\n      \"lun\",\n      \"mar\",\n      \"mer\",\n      \"gio\",\n      \"ven\",\n      \"sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"gen\",\n      \"feb\",\n      \"mar\",\n      \"apr\",\n      \"mag\",\n      \"giu\",\n      \"lug\",\n      \"ago\",\n      \"set\",\n      \"ott\",\n      \"nov\",\n      \"dic\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"dd MMM y HH:mm:ss\",\n    \"mediumDate\": \"dd MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/yy HH:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"it-it\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_it-sm.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"domenica\",\n      \"luned\\u00ec\",\n      \"marted\\u00ec\",\n      \"mercoled\\u00ec\",\n      \"gioved\\u00ec\",\n      \"venerd\\u00ec\",\n      \"sabato\"\n    ],\n    \"ERANAMES\": [\n      \"a.C.\",\n      \"d.C.\"\n    ],\n    \"ERAS\": [\n      \"aC\",\n      \"dC\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"gennaio\",\n      \"febbraio\",\n      \"marzo\",\n      \"aprile\",\n      \"maggio\",\n      \"giugno\",\n      \"luglio\",\n      \"agosto\",\n      \"settembre\",\n      \"ottobre\",\n      \"novembre\",\n      \"dicembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom\",\n      \"lun\",\n      \"mar\",\n      \"mer\",\n      \"gio\",\n      \"ven\",\n      \"sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"gen\",\n      \"feb\",\n      \"mar\",\n      \"apr\",\n      \"mag\",\n      \"giu\",\n      \"lug\",\n      \"ago\",\n      \"set\",\n      \"ott\",\n      \"nov\",\n      \"dic\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"dd MMM y HH:mm:ss\",\n    \"mediumDate\": \"dd MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/yy HH:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"it-sm\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_it.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"domenica\",\n      \"luned\\u00ec\",\n      \"marted\\u00ec\",\n      \"mercoled\\u00ec\",\n      \"gioved\\u00ec\",\n      \"venerd\\u00ec\",\n      \"sabato\"\n    ],\n    \"ERANAMES\": [\n      \"a.C.\",\n      \"d.C.\"\n    ],\n    \"ERAS\": [\n      \"aC\",\n      \"dC\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"gennaio\",\n      \"febbraio\",\n      \"marzo\",\n      \"aprile\",\n      \"maggio\",\n      \"giugno\",\n      \"luglio\",\n      \"agosto\",\n      \"settembre\",\n      \"ottobre\",\n      \"novembre\",\n      \"dicembre\"\n    ],\n    \"SHORTDAY\": [\n      \"dom\",\n      \"lun\",\n      \"mar\",\n      \"mer\",\n      \"gio\",\n      \"ven\",\n      \"sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"gen\",\n      \"feb\",\n      \"mar\",\n      \"apr\",\n      \"mag\",\n      \"giu\",\n      \"lug\",\n      \"ago\",\n      \"set\",\n      \"ott\",\n      \"nov\",\n      \"dic\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"dd MMM y HH:mm:ss\",\n    \"mediumDate\": \"dd MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/yy HH:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"it\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_iw.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u05dc\\u05e4\\u05e0\\u05d4\\u05f4\\u05e6\",\n      \"\\u05d0\\u05d7\\u05d4\\u05f4\\u05e6\"\n    ],\n    \"DAY\": [\n      \"\\u05d9\\u05d5\\u05dd \\u05e8\\u05d0\\u05e9\\u05d5\\u05df\",\n      \"\\u05d9\\u05d5\\u05dd \\u05e9\\u05e0\\u05d9\",\n      \"\\u05d9\\u05d5\\u05dd \\u05e9\\u05dc\\u05d9\\u05e9\\u05d9\",\n      \"\\u05d9\\u05d5\\u05dd \\u05e8\\u05d1\\u05d9\\u05e2\\u05d9\",\n      \"\\u05d9\\u05d5\\u05dd \\u05d7\\u05de\\u05d9\\u05e9\\u05d9\",\n      \"\\u05d9\\u05d5\\u05dd \\u05e9\\u05d9\\u05e9\\u05d9\",\n      \"\\u05d9\\u05d5\\u05dd \\u05e9\\u05d1\\u05ea\"\n    ],\n    \"ERANAMES\": [\n      \"\\u05dc\\u05e4\\u05e0\\u05d9 \\u05d4\\u05e1\\u05e4\\u05d9\\u05e8\\u05d4\",\n      \"\\u05dc\\u05e1\\u05e4\\u05d9\\u05e8\\u05d4\"\n    ],\n    \"ERAS\": [\n      \"\\u05dc\\u05e4\\u05e0\\u05d4\\u05f4\\u05e1\",\n      \"\\u05dc\\u05e1\\u05e4\\u05d9\\u05e8\\u05d4\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u05d9\\u05e0\\u05d5\\u05d0\\u05e8\",\n      \"\\u05e4\\u05d1\\u05e8\\u05d5\\u05d0\\u05e8\",\n      \"\\u05de\\u05e8\\u05e5\",\n      \"\\u05d0\\u05e4\\u05e8\\u05d9\\u05dc\",\n      \"\\u05de\\u05d0\\u05d9\",\n      \"\\u05d9\\u05d5\\u05e0\\u05d9\",\n      \"\\u05d9\\u05d5\\u05dc\\u05d9\",\n      \"\\u05d0\\u05d5\\u05d2\\u05d5\\u05e1\\u05d8\",\n      \"\\u05e1\\u05e4\\u05d8\\u05de\\u05d1\\u05e8\",\n      \"\\u05d0\\u05d5\\u05e7\\u05d8\\u05d5\\u05d1\\u05e8\",\n      \"\\u05e0\\u05d5\\u05d1\\u05de\\u05d1\\u05e8\",\n      \"\\u05d3\\u05e6\\u05de\\u05d1\\u05e8\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u05d9\\u05d5\\u05dd \\u05d0\\u05f3\",\n      \"\\u05d9\\u05d5\\u05dd \\u05d1\\u05f3\",\n      \"\\u05d9\\u05d5\\u05dd \\u05d2\\u05f3\",\n      \"\\u05d9\\u05d5\\u05dd \\u05d3\\u05f3\",\n      \"\\u05d9\\u05d5\\u05dd \\u05d4\\u05f3\",\n      \"\\u05d9\\u05d5\\u05dd \\u05d5\\u05f3\",\n      \"\\u05e9\\u05d1\\u05ea\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u05d9\\u05e0\\u05d5\\u05f3\",\n      \"\\u05e4\\u05d1\\u05e8\\u05f3\",\n      \"\\u05de\\u05e8\\u05e5\",\n      \"\\u05d0\\u05e4\\u05e8\\u05f3\",\n      \"\\u05de\\u05d0\\u05d9\",\n      \"\\u05d9\\u05d5\\u05e0\\u05d9\",\n      \"\\u05d9\\u05d5\\u05dc\\u05d9\",\n      \"\\u05d0\\u05d5\\u05d2\\u05f3\",\n      \"\\u05e1\\u05e4\\u05d8\\u05f3\",\n      \"\\u05d0\\u05d5\\u05e7\\u05f3\",\n      \"\\u05e0\\u05d5\\u05d1\\u05f3\",\n      \"\\u05d3\\u05e6\\u05de\\u05f3\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE, d \\u05d1MMMM y\",\n    \"longDate\": \"d \\u05d1MMMM y\",\n    \"medium\": \"d \\u05d1MMM y H:mm:ss\",\n    \"mediumDate\": \"d \\u05d1MMM y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"d.M.y H:mm\",\n    \"shortDate\": \"d.M.y\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20aa\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"iw\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  if (i == 2 && vf.v == 0) {    return PLURAL_CATEGORY.TWO;  }  if (vf.v == 0 && (n < 0 || n > 10) && n % 10 == 0) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ja-jp.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u5348\\u524d\",\n      \"\\u5348\\u5f8c\"\n    ],\n    \"DAY\": [\n      \"\\u65e5\\u66dc\\u65e5\",\n      \"\\u6708\\u66dc\\u65e5\",\n      \"\\u706b\\u66dc\\u65e5\",\n      \"\\u6c34\\u66dc\\u65e5\",\n      \"\\u6728\\u66dc\\u65e5\",\n      \"\\u91d1\\u66dc\\u65e5\",\n      \"\\u571f\\u66dc\\u65e5\"\n    ],\n    \"ERANAMES\": [\n      \"\\u7d00\\u5143\\u524d\",\n      \"\\u897f\\u66a6\"\n    ],\n    \"ERAS\": [\n      \"\\u7d00\\u5143\\u524d\",\n      \"\\u897f\\u66a6\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"1\\u6708\",\n      \"2\\u6708\",\n      \"3\\u6708\",\n      \"4\\u6708\",\n      \"5\\u6708\",\n      \"6\\u6708\",\n      \"7\\u6708\",\n      \"8\\u6708\",\n      \"9\\u6708\",\n      \"10\\u6708\",\n      \"11\\u6708\",\n      \"12\\u6708\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u65e5\",\n      \"\\u6708\",\n      \"\\u706b\",\n      \"\\u6c34\",\n      \"\\u6728\",\n      \"\\u91d1\",\n      \"\\u571f\"\n    ],\n    \"SHORTMONTH\": [\n      \"1\\u6708\",\n      \"2\\u6708\",\n      \"3\\u6708\",\n      \"4\\u6708\",\n      \"5\\u6708\",\n      \"6\\u6708\",\n      \"7\\u6708\",\n      \"8\\u6708\",\n      \"9\\u6708\",\n      \"10\\u6708\",\n      \"11\\u6708\",\n      \"12\\u6708\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y\\u5e74M\\u6708d\\u65e5EEEE\",\n    \"longDate\": \"y\\u5e74M\\u6708d\\u65e5\",\n    \"medium\": \"y/MM/dd H:mm:ss\",\n    \"mediumDate\": \"y/MM/dd\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"y/MM/dd H:mm\",\n    \"shortDate\": \"y/MM/dd\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a5\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ja-jp\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ja.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u5348\\u524d\",\n      \"\\u5348\\u5f8c\"\n    ],\n    \"DAY\": [\n      \"\\u65e5\\u66dc\\u65e5\",\n      \"\\u6708\\u66dc\\u65e5\",\n      \"\\u706b\\u66dc\\u65e5\",\n      \"\\u6c34\\u66dc\\u65e5\",\n      \"\\u6728\\u66dc\\u65e5\",\n      \"\\u91d1\\u66dc\\u65e5\",\n      \"\\u571f\\u66dc\\u65e5\"\n    ],\n    \"ERANAMES\": [\n      \"\\u7d00\\u5143\\u524d\",\n      \"\\u897f\\u66a6\"\n    ],\n    \"ERAS\": [\n      \"\\u7d00\\u5143\\u524d\",\n      \"\\u897f\\u66a6\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"1\\u6708\",\n      \"2\\u6708\",\n      \"3\\u6708\",\n      \"4\\u6708\",\n      \"5\\u6708\",\n      \"6\\u6708\",\n      \"7\\u6708\",\n      \"8\\u6708\",\n      \"9\\u6708\",\n      \"10\\u6708\",\n      \"11\\u6708\",\n      \"12\\u6708\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u65e5\",\n      \"\\u6708\",\n      \"\\u706b\",\n      \"\\u6c34\",\n      \"\\u6728\",\n      \"\\u91d1\",\n      \"\\u571f\"\n    ],\n    \"SHORTMONTH\": [\n      \"1\\u6708\",\n      \"2\\u6708\",\n      \"3\\u6708\",\n      \"4\\u6708\",\n      \"5\\u6708\",\n      \"6\\u6708\",\n      \"7\\u6708\",\n      \"8\\u6708\",\n      \"9\\u6708\",\n      \"10\\u6708\",\n      \"11\\u6708\",\n      \"12\\u6708\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y\\u5e74M\\u6708d\\u65e5EEEE\",\n    \"longDate\": \"y\\u5e74M\\u6708d\\u65e5\",\n    \"medium\": \"y/MM/dd H:mm:ss\",\n    \"mediumDate\": \"y/MM/dd\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"y/MM/dd H:mm\",\n    \"shortDate\": \"y/MM/dd\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a5\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ja\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_jgo-cm.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"mba\\ua78cmba\\ua78c\",\n      \"\\u014bka mb\\u0254\\u0301t nji\"\n    ],\n    \"DAY\": [\n      \"S\\u0254\\u0301ndi\",\n      \"M\\u0254\\u0301ndi\",\n      \"\\u00c1pta M\\u0254\\u0301ndi\",\n      \"W\\u025b\\u0301n\\u025bs\\u025bd\\u025b\",\n      \"T\\u0254\\u0301s\\u025bd\\u025b\",\n      \"F\\u025bl\\u00e2y\\u025bd\\u025b\",\n      \"S\\u00e1sid\\u025b\"\n    ],\n    \"ERANAMES\": [\n      \"ts\\u025btts\\u025bt m\\u025b\\u014bgu\\ua78c mi \\u025b\\u0301 l\\u025b\\u025bn\\u025b K\\u025bl\\u00eds\\u025bt\\u0254 g\\u0254 \\u0144\\u0254\\u0301\",\n      \"ts\\u025btts\\u025bt m\\u025b\\u014bgu\\ua78c mi \\u025b\\u0301 f\\u00fan\\u025b K\\u025bl\\u00eds\\u025bt\\u0254 t\\u0254\\u0301 m\\u0254\\u0301\"\n    ],\n    \"ERAS\": [\n      \"ts\\u025btts\\u025bt m\\u025b\\u014bgu\\ua78c mi \\u025b\\u0301 l\\u025b\\u025bn\\u025b K\\u025bl\\u00eds\\u025bt\\u0254 g\\u0254 \\u0144\\u0254\\u0301\",\n      \"ts\\u025btts\\u025bt m\\u025b\\u014bgu\\ua78c mi \\u025b\\u0301 f\\u00fan\\u025b K\\u025bl\\u00eds\\u025bt\\u0254 t\\u0254\\u0301 m\\u0254\\u0301\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Ndu\\u014bmbi Sa\\u014b\",\n      \"P\\u025bsa\\u014b P\\u025b\\u0301p\\u00e1\",\n      \"P\\u025bsa\\u014b P\\u025b\\u0301t\\u00e1t\",\n      \"P\\u025bsa\\u014b P\\u025b\\u0301n\\u025b\\u0301kwa\",\n      \"P\\u025bsa\\u014b Pataa\",\n      \"P\\u025bsa\\u014b P\\u025b\\u0301n\\u025b\\u0301nt\\u00fak\\u00fa\",\n      \"P\\u025bsa\\u014b Saamb\\u00e1\",\n      \"P\\u025bsa\\u014b P\\u025b\\u0301n\\u025b\\u0301f\\u0254m\",\n      \"P\\u025bsa\\u014b P\\u025b\\u0301n\\u025b\\u0301pf\\u00fa\\ua78b\\u00fa\",\n      \"P\\u025bsa\\u014b N\\u025bg\\u025b\\u0301m\",\n      \"P\\u025bsa\\u014b Nts\\u0254\\u030cpm\\u0254\\u0301\",\n      \"P\\u025bsa\\u014b Nts\\u0254\\u030cpp\\u00e1\"\n    ],\n    \"SHORTDAY\": [\n      \"S\\u0254\\u0301ndi\",\n      \"M\\u0254\\u0301ndi\",\n      \"\\u00c1pta M\\u0254\\u0301ndi\",\n      \"W\\u025b\\u0301n\\u025bs\\u025bd\\u025b\",\n      \"T\\u0254\\u0301s\\u025bd\\u025b\",\n      \"F\\u025bl\\u00e2y\\u025bd\\u025b\",\n      \"S\\u00e1sid\\u025b\"\n    ],\n    \"SHORTMONTH\": [\n      \"Ndu\\u014bmbi Sa\\u014b\",\n      \"P\\u025bsa\\u014b P\\u025b\\u0301p\\u00e1\",\n      \"P\\u025bsa\\u014b P\\u025b\\u0301t\\u00e1t\",\n      \"P\\u025bsa\\u014b P\\u025b\\u0301n\\u025b\\u0301kwa\",\n      \"P\\u025bsa\\u014b Pataa\",\n      \"P\\u025bsa\\u014b P\\u025b\\u0301n\\u025b\\u0301nt\\u00fak\\u00fa\",\n      \"P\\u025bsa\\u014b Saamb\\u00e1\",\n      \"P\\u025bsa\\u014b P\\u025b\\u0301n\\u025b\\u0301f\\u0254m\",\n      \"P\\u025bsa\\u014b P\\u025b\\u0301n\\u025b\\u0301pf\\u00fa\\ua78b\\u00fa\",\n      \"P\\u025bsa\\u014b N\\u025bg\\u025b\\u0301m\",\n      \"P\\u025bsa\\u014b Nts\\u0254\\u030cpm\\u0254\\u0301\",\n      \"P\\u025bsa\\u014b Nts\\u0254\\u030cpp\\u00e1\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, y MMMM dd\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"jgo-cm\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_jgo.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"mba\\ua78cmba\\ua78c\",\n      \"\\u014bka mb\\u0254\\u0301t nji\"\n    ],\n    \"DAY\": [\n      \"S\\u0254\\u0301ndi\",\n      \"M\\u0254\\u0301ndi\",\n      \"\\u00c1pta M\\u0254\\u0301ndi\",\n      \"W\\u025b\\u0301n\\u025bs\\u025bd\\u025b\",\n      \"T\\u0254\\u0301s\\u025bd\\u025b\",\n      \"F\\u025bl\\u00e2y\\u025bd\\u025b\",\n      \"S\\u00e1sid\\u025b\"\n    ],\n    \"ERANAMES\": [\n      \"ts\\u025btts\\u025bt m\\u025b\\u014bgu\\ua78c mi \\u025b\\u0301 l\\u025b\\u025bn\\u025b K\\u025bl\\u00eds\\u025bt\\u0254 g\\u0254 \\u0144\\u0254\\u0301\",\n      \"ts\\u025btts\\u025bt m\\u025b\\u014bgu\\ua78c mi \\u025b\\u0301 f\\u00fan\\u025b K\\u025bl\\u00eds\\u025bt\\u0254 t\\u0254\\u0301 m\\u0254\\u0301\"\n    ],\n    \"ERAS\": [\n      \"ts\\u025btts\\u025bt m\\u025b\\u014bgu\\ua78c mi \\u025b\\u0301 l\\u025b\\u025bn\\u025b K\\u025bl\\u00eds\\u025bt\\u0254 g\\u0254 \\u0144\\u0254\\u0301\",\n      \"ts\\u025btts\\u025bt m\\u025b\\u014bgu\\ua78c mi \\u025b\\u0301 f\\u00fan\\u025b K\\u025bl\\u00eds\\u025bt\\u0254 t\\u0254\\u0301 m\\u0254\\u0301\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Ndu\\u014bmbi Sa\\u014b\",\n      \"P\\u025bsa\\u014b P\\u025b\\u0301p\\u00e1\",\n      \"P\\u025bsa\\u014b P\\u025b\\u0301t\\u00e1t\",\n      \"P\\u025bsa\\u014b P\\u025b\\u0301n\\u025b\\u0301kwa\",\n      \"P\\u025bsa\\u014b Pataa\",\n      \"P\\u025bsa\\u014b P\\u025b\\u0301n\\u025b\\u0301nt\\u00fak\\u00fa\",\n      \"P\\u025bsa\\u014b Saamb\\u00e1\",\n      \"P\\u025bsa\\u014b P\\u025b\\u0301n\\u025b\\u0301f\\u0254m\",\n      \"P\\u025bsa\\u014b P\\u025b\\u0301n\\u025b\\u0301pf\\u00fa\\ua78b\\u00fa\",\n      \"P\\u025bsa\\u014b N\\u025bg\\u025b\\u0301m\",\n      \"P\\u025bsa\\u014b Nts\\u0254\\u030cpm\\u0254\\u0301\",\n      \"P\\u025bsa\\u014b Nts\\u0254\\u030cpp\\u00e1\"\n    ],\n    \"SHORTDAY\": [\n      \"S\\u0254\\u0301ndi\",\n      \"M\\u0254\\u0301ndi\",\n      \"\\u00c1pta M\\u0254\\u0301ndi\",\n      \"W\\u025b\\u0301n\\u025bs\\u025bd\\u025b\",\n      \"T\\u0254\\u0301s\\u025bd\\u025b\",\n      \"F\\u025bl\\u00e2y\\u025bd\\u025b\",\n      \"S\\u00e1sid\\u025b\"\n    ],\n    \"SHORTMONTH\": [\n      \"Ndu\\u014bmbi Sa\\u014b\",\n      \"P\\u025bsa\\u014b P\\u025b\\u0301p\\u00e1\",\n      \"P\\u025bsa\\u014b P\\u025b\\u0301t\\u00e1t\",\n      \"P\\u025bsa\\u014b P\\u025b\\u0301n\\u025b\\u0301kwa\",\n      \"P\\u025bsa\\u014b Pataa\",\n      \"P\\u025bsa\\u014b P\\u025b\\u0301n\\u025b\\u0301nt\\u00fak\\u00fa\",\n      \"P\\u025bsa\\u014b Saamb\\u00e1\",\n      \"P\\u025bsa\\u014b P\\u025b\\u0301n\\u025b\\u0301f\\u0254m\",\n      \"P\\u025bsa\\u014b P\\u025b\\u0301n\\u025b\\u0301pf\\u00fa\\ua78b\\u00fa\",\n      \"P\\u025bsa\\u014b N\\u025bg\\u025b\\u0301m\",\n      \"P\\u025bsa\\u014b Nts\\u0254\\u030cpm\\u0254\\u0301\",\n      \"P\\u025bsa\\u014b Nts\\u0254\\u030cpp\\u00e1\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, y MMMM dd\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"jgo\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_jmc-tz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"utuko\",\n      \"kyiukonyi\"\n    ],\n    \"DAY\": [\n      \"Jumapilyi\",\n      \"Jumatatuu\",\n      \"Jumanne\",\n      \"Jumatanu\",\n      \"Alhamisi\",\n      \"Ijumaa\",\n      \"Jumamosi\"\n    ],\n    \"ERANAMES\": [\n      \"Kabla ya Kristu\",\n      \"Baada ya Kristu\"\n    ],\n    \"ERAS\": [\n      \"KK\",\n      \"BK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januari\",\n      \"Februari\",\n      \"Machi\",\n      \"Aprilyi\",\n      \"Mei\",\n      \"Junyi\",\n      \"Julyai\",\n      \"Agusti\",\n      \"Septemba\",\n      \"Oktoba\",\n      \"Novemba\",\n      \"Desemba\"\n    ],\n    \"SHORTDAY\": [\n      \"Jpi\",\n      \"Jtt\",\n      \"Jnn\",\n      \"Jtn\",\n      \"Alh\",\n      \"Iju\",\n      \"Jmo\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mac\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Ago\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"TSh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"jmc-tz\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_jmc.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"utuko\",\n      \"kyiukonyi\"\n    ],\n    \"DAY\": [\n      \"Jumapilyi\",\n      \"Jumatatuu\",\n      \"Jumanne\",\n      \"Jumatanu\",\n      \"Alhamisi\",\n      \"Ijumaa\",\n      \"Jumamosi\"\n    ],\n    \"ERANAMES\": [\n      \"Kabla ya Kristu\",\n      \"Baada ya Kristu\"\n    ],\n    \"ERAS\": [\n      \"KK\",\n      \"BK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januari\",\n      \"Februari\",\n      \"Machi\",\n      \"Aprilyi\",\n      \"Mei\",\n      \"Junyi\",\n      \"Julyai\",\n      \"Agusti\",\n      \"Septemba\",\n      \"Oktoba\",\n      \"Novemba\",\n      \"Desemba\"\n    ],\n    \"SHORTDAY\": [\n      \"Jpi\",\n      \"Jtt\",\n      \"Jnn\",\n      \"Jtn\",\n      \"Alh\",\n      \"Iju\",\n      \"Jmo\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mac\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Ago\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"TSh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"jmc\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ka-ge.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"\\u10d9\\u10d5\\u10d8\\u10e0\\u10d0\",\n      \"\\u10dd\\u10e0\\u10e8\\u10d0\\u10d1\\u10d0\\u10d7\\u10d8\",\n      \"\\u10e1\\u10d0\\u10db\\u10e8\\u10d0\\u10d1\\u10d0\\u10d7\\u10d8\",\n      \"\\u10dd\\u10d7\\u10ee\\u10e8\\u10d0\\u10d1\\u10d0\\u10d7\\u10d8\",\n      \"\\u10ee\\u10e3\\u10d7\\u10e8\\u10d0\\u10d1\\u10d0\\u10d7\\u10d8\",\n      \"\\u10de\\u10d0\\u10e0\\u10d0\\u10e1\\u10d9\\u10d4\\u10d5\\u10d8\",\n      \"\\u10e8\\u10d0\\u10d1\\u10d0\\u10d7\\u10d8\"\n    ],\n    \"ERANAMES\": [\n      \"\\u10eb\\u10d5\\u10d4\\u10da\\u10d8 \\u10ec\\u10d4\\u10da\\u10d7\\u10d0\\u10e6\\u10e0\\u10d8\\u10ea\\u10ee\\u10d5\\u10d8\\u10d7\",\n      \"\\u10d0\\u10ee\\u10d0\\u10da\\u10d8 \\u10ec\\u10d4\\u10da\\u10d7\\u10d0\\u10e6\\u10e0\\u10d8\\u10ea\\u10ee\\u10d5\\u10d8\\u10d7\"\n    ],\n    \"ERAS\": [\n      \"\\u10eb\\u10d5. \\u10ec.\",\n      \"\\u10d0\\u10ee. \\u10ec.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u10d8\\u10d0\\u10dc\\u10d5\\u10d0\\u10e0\\u10d8\",\n      \"\\u10d7\\u10d4\\u10d1\\u10d4\\u10e0\\u10d5\\u10d0\\u10da\\u10d8\",\n      \"\\u10db\\u10d0\\u10e0\\u10e2\\u10d8\",\n      \"\\u10d0\\u10de\\u10e0\\u10d8\\u10da\\u10d8\",\n      \"\\u10db\\u10d0\\u10d8\\u10e1\\u10d8\",\n      \"\\u10d8\\u10d5\\u10dc\\u10d8\\u10e1\\u10d8\",\n      \"\\u10d8\\u10d5\\u10da\\u10d8\\u10e1\\u10d8\",\n      \"\\u10d0\\u10d2\\u10d5\\u10d8\\u10e1\\u10e2\\u10dd\",\n      \"\\u10e1\\u10d4\\u10e5\\u10e2\\u10d4\\u10db\\u10d1\\u10d4\\u10e0\\u10d8\",\n      \"\\u10dd\\u10e5\\u10e2\\u10dd\\u10db\\u10d1\\u10d4\\u10e0\\u10d8\",\n      \"\\u10dc\\u10dd\\u10d4\\u10db\\u10d1\\u10d4\\u10e0\\u10d8\",\n      \"\\u10d3\\u10d4\\u10d9\\u10d4\\u10db\\u10d1\\u10d4\\u10e0\\u10d8\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u10d9\\u10d5\\u10d8\",\n      \"\\u10dd\\u10e0\\u10e8\",\n      \"\\u10e1\\u10d0\\u10db\",\n      \"\\u10dd\\u10d7\\u10ee\",\n      \"\\u10ee\\u10e3\\u10d7\",\n      \"\\u10de\\u10d0\\u10e0\",\n      \"\\u10e8\\u10d0\\u10d1\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u10d8\\u10d0\\u10dc\",\n      \"\\u10d7\\u10d4\\u10d1\",\n      \"\\u10db\\u10d0\\u10e0\",\n      \"\\u10d0\\u10de\\u10e0\",\n      \"\\u10db\\u10d0\\u10d8\",\n      \"\\u10d8\\u10d5\\u10dc\",\n      \"\\u10d8\\u10d5\\u10da\",\n      \"\\u10d0\\u10d2\\u10d5\",\n      \"\\u10e1\\u10d4\\u10e5\",\n      \"\\u10dd\\u10e5\\u10e2\",\n      \"\\u10dc\\u10dd\\u10d4\",\n      \"\\u10d3\\u10d4\\u10d9\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd MMMM, y\",\n    \"longDate\": \"d MMMM, y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"GEL\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ka-ge\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ka.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"\\u10d9\\u10d5\\u10d8\\u10e0\\u10d0\",\n      \"\\u10dd\\u10e0\\u10e8\\u10d0\\u10d1\\u10d0\\u10d7\\u10d8\",\n      \"\\u10e1\\u10d0\\u10db\\u10e8\\u10d0\\u10d1\\u10d0\\u10d7\\u10d8\",\n      \"\\u10dd\\u10d7\\u10ee\\u10e8\\u10d0\\u10d1\\u10d0\\u10d7\\u10d8\",\n      \"\\u10ee\\u10e3\\u10d7\\u10e8\\u10d0\\u10d1\\u10d0\\u10d7\\u10d8\",\n      \"\\u10de\\u10d0\\u10e0\\u10d0\\u10e1\\u10d9\\u10d4\\u10d5\\u10d8\",\n      \"\\u10e8\\u10d0\\u10d1\\u10d0\\u10d7\\u10d8\"\n    ],\n    \"ERANAMES\": [\n      \"\\u10eb\\u10d5\\u10d4\\u10da\\u10d8 \\u10ec\\u10d4\\u10da\\u10d7\\u10d0\\u10e6\\u10e0\\u10d8\\u10ea\\u10ee\\u10d5\\u10d8\\u10d7\",\n      \"\\u10d0\\u10ee\\u10d0\\u10da\\u10d8 \\u10ec\\u10d4\\u10da\\u10d7\\u10d0\\u10e6\\u10e0\\u10d8\\u10ea\\u10ee\\u10d5\\u10d8\\u10d7\"\n    ],\n    \"ERAS\": [\n      \"\\u10eb\\u10d5. \\u10ec.\",\n      \"\\u10d0\\u10ee. \\u10ec.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u10d8\\u10d0\\u10dc\\u10d5\\u10d0\\u10e0\\u10d8\",\n      \"\\u10d7\\u10d4\\u10d1\\u10d4\\u10e0\\u10d5\\u10d0\\u10da\\u10d8\",\n      \"\\u10db\\u10d0\\u10e0\\u10e2\\u10d8\",\n      \"\\u10d0\\u10de\\u10e0\\u10d8\\u10da\\u10d8\",\n      \"\\u10db\\u10d0\\u10d8\\u10e1\\u10d8\",\n      \"\\u10d8\\u10d5\\u10dc\\u10d8\\u10e1\\u10d8\",\n      \"\\u10d8\\u10d5\\u10da\\u10d8\\u10e1\\u10d8\",\n      \"\\u10d0\\u10d2\\u10d5\\u10d8\\u10e1\\u10e2\\u10dd\",\n      \"\\u10e1\\u10d4\\u10e5\\u10e2\\u10d4\\u10db\\u10d1\\u10d4\\u10e0\\u10d8\",\n      \"\\u10dd\\u10e5\\u10e2\\u10dd\\u10db\\u10d1\\u10d4\\u10e0\\u10d8\",\n      \"\\u10dc\\u10dd\\u10d4\\u10db\\u10d1\\u10d4\\u10e0\\u10d8\",\n      \"\\u10d3\\u10d4\\u10d9\\u10d4\\u10db\\u10d1\\u10d4\\u10e0\\u10d8\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u10d9\\u10d5\\u10d8\",\n      \"\\u10dd\\u10e0\\u10e8\",\n      \"\\u10e1\\u10d0\\u10db\",\n      \"\\u10dd\\u10d7\\u10ee\",\n      \"\\u10ee\\u10e3\\u10d7\",\n      \"\\u10de\\u10d0\\u10e0\",\n      \"\\u10e8\\u10d0\\u10d1\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u10d8\\u10d0\\u10dc\",\n      \"\\u10d7\\u10d4\\u10d1\",\n      \"\\u10db\\u10d0\\u10e0\",\n      \"\\u10d0\\u10de\\u10e0\",\n      \"\\u10db\\u10d0\\u10d8\",\n      \"\\u10d8\\u10d5\\u10dc\",\n      \"\\u10d8\\u10d5\\u10da\",\n      \"\\u10d0\\u10d2\\u10d5\",\n      \"\\u10e1\\u10d4\\u10e5\",\n      \"\\u10dd\\u10e5\\u10e2\",\n      \"\\u10dc\\u10dd\\u10d4\",\n      \"\\u10d3\\u10d4\\u10d9\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd MMMM, y\",\n    \"longDate\": \"d MMMM, y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"GEL\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ka\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_kab-dz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"n tufat\",\n      \"n tmeddit\"\n    ],\n    \"DAY\": [\n      \"Yanass\",\n      \"Sanass\",\n      \"Kra\\u1e0dass\",\n      \"Ku\\u1e93ass\",\n      \"Samass\",\n      \"S\\u1e0disass\",\n      \"Sayass\"\n    ],\n    \"ERANAMES\": [\n      \"send talalit n \\u0190isa\",\n      \"seld talalit n \\u0190isa\"\n    ],\n    \"ERAS\": [\n      \"snd. T.\\u0190\",\n      \"sld. T.\\u0190\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Yennayer\",\n      \"Fu\\u1e5bar\",\n      \"Me\\u0263res\",\n      \"Yebrir\",\n      \"Mayyu\",\n      \"Yunyu\",\n      \"Yulyu\",\n      \"\\u0194uct\",\n      \"Ctembe\\u1e5b\",\n      \"Tube\\u1e5b\",\n      \"Nunembe\\u1e5b\",\n      \"Du\\u01e7embe\\u1e5b\"\n    ],\n    \"SHORTDAY\": [\n      \"Yan\",\n      \"San\",\n      \"Kra\\u1e0d\",\n      \"Ku\\u1e93\",\n      \"Sam\",\n      \"S\\u1e0dis\",\n      \"Say\"\n    ],\n    \"SHORTMONTH\": [\n      \"Yen\",\n      \"Fur\",\n      \"Me\\u0263\",\n      \"Yeb\",\n      \"May\",\n      \"Yun\",\n      \"Yul\",\n      \"\\u0194uc\",\n      \"Cte\",\n      \"Tub\",\n      \"Nun\",\n      \"Du\\u01e7\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"din\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"kab-dz\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_kab.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"n tufat\",\n      \"n tmeddit\"\n    ],\n    \"DAY\": [\n      \"Yanass\",\n      \"Sanass\",\n      \"Kra\\u1e0dass\",\n      \"Ku\\u1e93ass\",\n      \"Samass\",\n      \"S\\u1e0disass\",\n      \"Sayass\"\n    ],\n    \"ERANAMES\": [\n      \"send talalit n \\u0190isa\",\n      \"seld talalit n \\u0190isa\"\n    ],\n    \"ERAS\": [\n      \"snd. T.\\u0190\",\n      \"sld. T.\\u0190\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Yennayer\",\n      \"Fu\\u1e5bar\",\n      \"Me\\u0263res\",\n      \"Yebrir\",\n      \"Mayyu\",\n      \"Yunyu\",\n      \"Yulyu\",\n      \"\\u0194uct\",\n      \"Ctembe\\u1e5b\",\n      \"Tube\\u1e5b\",\n      \"Nunembe\\u1e5b\",\n      \"Du\\u01e7embe\\u1e5b\"\n    ],\n    \"SHORTDAY\": [\n      \"Yan\",\n      \"San\",\n      \"Kra\\u1e0d\",\n      \"Ku\\u1e93\",\n      \"Sam\",\n      \"S\\u1e0dis\",\n      \"Say\"\n    ],\n    \"SHORTMONTH\": [\n      \"Yen\",\n      \"Fur\",\n      \"Me\\u0263\",\n      \"Yeb\",\n      \"May\",\n      \"Yun\",\n      \"Yul\",\n      \"\\u0194uc\",\n      \"Cte\",\n      \"Tub\",\n      \"Nun\",\n      \"Du\\u01e7\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"din\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"kab\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_kam-ke.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0128yakwakya\",\n      \"\\u0128yaw\\u0129oo\"\n    ],\n    \"DAY\": [\n      \"Wa kyumwa\",\n      \"Wa kwamb\\u0129l\\u0129lya\",\n      \"Wa kel\\u0129\",\n      \"Wa katat\\u0169\",\n      \"Wa kana\",\n      \"Wa katano\",\n      \"Wa thanthat\\u0169\"\n    ],\n    \"ERANAMES\": [\n      \"Mbee wa Yes\\u0169\",\n      \"\\u0128tina wa Yes\\u0169\"\n    ],\n    \"ERAS\": [\n      \"MY\",\n      \"IY\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Mwai wa mbee\",\n      \"Mwai wa kel\\u0129\",\n      \"Mwai wa katat\\u0169\",\n      \"Mwai wa kana\",\n      \"Mwai wa katano\",\n      \"Mwai wa thanthat\\u0169\",\n      \"Mwai wa muonza\",\n      \"Mwai wa nyaanya\",\n      \"Mwai wa kenda\",\n      \"Mwai wa \\u0129kumi\",\n      \"Mwai wa \\u0129kumi na \\u0129mwe\",\n      \"Mwai wa \\u0129kumi na il\\u0129\"\n    ],\n    \"SHORTDAY\": [\n      \"Wky\",\n      \"Wkw\",\n      \"Wkl\",\n      \"Wt\\u0169\",\n      \"Wkn\",\n      \"Wtn\",\n      \"Wth\"\n    ],\n    \"SHORTMONTH\": [\n      \"Mbe\",\n      \"Kel\",\n      \"Kt\\u0169\",\n      \"Kan\",\n      \"Ktn\",\n      \"Tha\",\n      \"Moo\",\n      \"Nya\",\n      \"Knd\",\n      \"\\u0128ku\",\n      \"\\u0128km\",\n      \"\\u0128kl\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ksh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"kam-ke\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_kam.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0128yakwakya\",\n      \"\\u0128yaw\\u0129oo\"\n    ],\n    \"DAY\": [\n      \"Wa kyumwa\",\n      \"Wa kwamb\\u0129l\\u0129lya\",\n      \"Wa kel\\u0129\",\n      \"Wa katat\\u0169\",\n      \"Wa kana\",\n      \"Wa katano\",\n      \"Wa thanthat\\u0169\"\n    ],\n    \"ERANAMES\": [\n      \"Mbee wa Yes\\u0169\",\n      \"\\u0128tina wa Yes\\u0169\"\n    ],\n    \"ERAS\": [\n      \"MY\",\n      \"IY\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Mwai wa mbee\",\n      \"Mwai wa kel\\u0129\",\n      \"Mwai wa katat\\u0169\",\n      \"Mwai wa kana\",\n      \"Mwai wa katano\",\n      \"Mwai wa thanthat\\u0169\",\n      \"Mwai wa muonza\",\n      \"Mwai wa nyaanya\",\n      \"Mwai wa kenda\",\n      \"Mwai wa \\u0129kumi\",\n      \"Mwai wa \\u0129kumi na \\u0129mwe\",\n      \"Mwai wa \\u0129kumi na il\\u0129\"\n    ],\n    \"SHORTDAY\": [\n      \"Wky\",\n      \"Wkw\",\n      \"Wkl\",\n      \"Wt\\u0169\",\n      \"Wkn\",\n      \"Wtn\",\n      \"Wth\"\n    ],\n    \"SHORTMONTH\": [\n      \"Mbe\",\n      \"Kel\",\n      \"Kt\\u0169\",\n      \"Kan\",\n      \"Ktn\",\n      \"Tha\",\n      \"Moo\",\n      \"Nya\",\n      \"Knd\",\n      \"\\u0128ku\",\n      \"\\u0128km\",\n      \"\\u0128kl\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ksh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"kam\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_kde-tz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Muhi\",\n      \"Chilo\"\n    ],\n    \"DAY\": [\n      \"Liduva lyapili\",\n      \"Liduva lyatatu\",\n      \"Liduva lyanchechi\",\n      \"Liduva lyannyano\",\n      \"Liduva lyannyano na linji\",\n      \"Liduva lyannyano na mavili\",\n      \"Liduva litandi\"\n    ],\n    \"ERANAMES\": [\n      \"Akanapawa Yesu\",\n      \"Nankuida Yesu\"\n    ],\n    \"ERAS\": [\n      \"AY\",\n      \"NY\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Mwedi Ntandi\",\n      \"Mwedi wa Pili\",\n      \"Mwedi wa Tatu\",\n      \"Mwedi wa Nchechi\",\n      \"Mwedi wa Nnyano\",\n      \"Mwedi wa Nnyano na Umo\",\n      \"Mwedi wa Nnyano na Mivili\",\n      \"Mwedi wa Nnyano na Mitatu\",\n      \"Mwedi wa Nnyano na Nchechi\",\n      \"Mwedi wa Nnyano na Nnyano\",\n      \"Mwedi wa Nnyano na Nnyano na U\",\n      \"Mwedi wa Nnyano na Nnyano na M\"\n    ],\n    \"SHORTDAY\": [\n      \"Ll2\",\n      \"Ll3\",\n      \"Ll4\",\n      \"Ll5\",\n      \"Ll6\",\n      \"Ll7\",\n      \"Ll1\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mac\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Ago\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"TSh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"kde-tz\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_kde.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Muhi\",\n      \"Chilo\"\n    ],\n    \"DAY\": [\n      \"Liduva lyapili\",\n      \"Liduva lyatatu\",\n      \"Liduva lyanchechi\",\n      \"Liduva lyannyano\",\n      \"Liduva lyannyano na linji\",\n      \"Liduva lyannyano na mavili\",\n      \"Liduva litandi\"\n    ],\n    \"ERANAMES\": [\n      \"Akanapawa Yesu\",\n      \"Nankuida Yesu\"\n    ],\n    \"ERAS\": [\n      \"AY\",\n      \"NY\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Mwedi Ntandi\",\n      \"Mwedi wa Pili\",\n      \"Mwedi wa Tatu\",\n      \"Mwedi wa Nchechi\",\n      \"Mwedi wa Nnyano\",\n      \"Mwedi wa Nnyano na Umo\",\n      \"Mwedi wa Nnyano na Mivili\",\n      \"Mwedi wa Nnyano na Mitatu\",\n      \"Mwedi wa Nnyano na Nchechi\",\n      \"Mwedi wa Nnyano na Nnyano\",\n      \"Mwedi wa Nnyano na Nnyano na U\",\n      \"Mwedi wa Nnyano na Nnyano na M\"\n    ],\n    \"SHORTDAY\": [\n      \"Ll2\",\n      \"Ll3\",\n      \"Ll4\",\n      \"Ll5\",\n      \"Ll6\",\n      \"Ll7\",\n      \"Ll1\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mac\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Ago\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"TSh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"kde\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_kea-cv.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"am\",\n      \"pm\"\n    ],\n    \"DAY\": [\n      \"dumingu\",\n      \"sigunda-fera\",\n      \"tersa-fera\",\n      \"kuarta-fera\",\n      \"kinta-fera\",\n      \"sesta-fera\",\n      \"sabadu\"\n    ],\n    \"ERANAMES\": [\n      \"Antis di Kristu\",\n      \"Dispos di Kristu\"\n    ],\n    \"ERAS\": [\n      \"AK\",\n      \"DK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Janeru\",\n      \"Febreru\",\n      \"Marsu\",\n      \"Abril\",\n      \"Maiu\",\n      \"Junhu\",\n      \"Julhu\",\n      \"Agostu\",\n      \"Setenbru\",\n      \"Otubru\",\n      \"Nuvenbru\",\n      \"Dizenbru\"\n    ],\n    \"SHORTDAY\": [\n      \"dum\",\n      \"sig\",\n      \"ter\",\n      \"kua\",\n      \"kin\",\n      \"ses\",\n      \"sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Abr\",\n      \"Mai\",\n      \"Jun\",\n      \"Jul\",\n      \"Ago\",\n      \"Set\",\n      \"Otu\",\n      \"Nuv\",\n      \"Diz\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'di' MMMM 'di' y\",\n    \"longDate\": \"d 'di' MMMM 'di' y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CVE\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"kea-cv\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_kea.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"am\",\n      \"pm\"\n    ],\n    \"DAY\": [\n      \"dumingu\",\n      \"sigunda-fera\",\n      \"tersa-fera\",\n      \"kuarta-fera\",\n      \"kinta-fera\",\n      \"sesta-fera\",\n      \"sabadu\"\n    ],\n    \"ERANAMES\": [\n      \"Antis di Kristu\",\n      \"Dispos di Kristu\"\n    ],\n    \"ERAS\": [\n      \"AK\",\n      \"DK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Janeru\",\n      \"Febreru\",\n      \"Marsu\",\n      \"Abril\",\n      \"Maiu\",\n      \"Junhu\",\n      \"Julhu\",\n      \"Agostu\",\n      \"Setenbru\",\n      \"Otubru\",\n      \"Nuvenbru\",\n      \"Dizenbru\"\n    ],\n    \"SHORTDAY\": [\n      \"dum\",\n      \"sig\",\n      \"ter\",\n      \"kua\",\n      \"kin\",\n      \"ses\",\n      \"sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Abr\",\n      \"Mai\",\n      \"Jun\",\n      \"Jul\",\n      \"Ago\",\n      \"Set\",\n      \"Otu\",\n      \"Nuv\",\n      \"Diz\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'di' MMMM 'di' y\",\n    \"longDate\": \"d 'di' MMMM 'di' y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CVE\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"kea\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_khq-ml.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Adduha\",\n      \"Aluula\"\n    ],\n    \"DAY\": [\n      \"Alhadi\",\n      \"Atini\",\n      \"Atalata\",\n      \"Alarba\",\n      \"Alhamiisa\",\n      \"Aljuma\",\n      \"Assabdu\"\n    ],\n    \"ERANAMES\": [\n      \"Isaa jine\",\n      \"Isaa jamanoo\"\n    ],\n    \"ERAS\": [\n      \"IJ\",\n      \"IZ\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u017danwiye\",\n      \"Feewiriye\",\n      \"Marsi\",\n      \"Awiril\",\n      \"Me\",\n      \"\\u017duwe\\u014b\",\n      \"\\u017duyye\",\n      \"Ut\",\n      \"Sektanbur\",\n      \"Oktoobur\",\n      \"Noowanbur\",\n      \"Deesanbur\"\n    ],\n    \"SHORTDAY\": [\n      \"Alh\",\n      \"Ati\",\n      \"Ata\",\n      \"Ala\",\n      \"Alm\",\n      \"Alj\",\n      \"Ass\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u017dan\",\n      \"Fee\",\n      \"Mar\",\n      \"Awi\",\n      \"Me\",\n      \"\\u017duw\",\n      \"\\u017duy\",\n      \"Ut\",\n      \"Sek\",\n      \"Okt\",\n      \"Noo\",\n      \"Dee\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CFA\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"khq-ml\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_khq.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Adduha\",\n      \"Aluula\"\n    ],\n    \"DAY\": [\n      \"Alhadi\",\n      \"Atini\",\n      \"Atalata\",\n      \"Alarba\",\n      \"Alhamiisa\",\n      \"Aljuma\",\n      \"Assabdu\"\n    ],\n    \"ERANAMES\": [\n      \"Isaa jine\",\n      \"Isaa jamanoo\"\n    ],\n    \"ERAS\": [\n      \"IJ\",\n      \"IZ\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u017danwiye\",\n      \"Feewiriye\",\n      \"Marsi\",\n      \"Awiril\",\n      \"Me\",\n      \"\\u017duwe\\u014b\",\n      \"\\u017duyye\",\n      \"Ut\",\n      \"Sektanbur\",\n      \"Oktoobur\",\n      \"Noowanbur\",\n      \"Deesanbur\"\n    ],\n    \"SHORTDAY\": [\n      \"Alh\",\n      \"Ati\",\n      \"Ata\",\n      \"Ala\",\n      \"Alm\",\n      \"Alj\",\n      \"Ass\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u017dan\",\n      \"Fee\",\n      \"Mar\",\n      \"Awi\",\n      \"Me\",\n      \"\\u017duw\",\n      \"\\u017duy\",\n      \"Ut\",\n      \"Sek\",\n      \"Okt\",\n      \"Noo\",\n      \"Dee\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CFA\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"khq\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ki-ke.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Kiroko\",\n      \"Hwa\\u0129-in\\u0129\"\n    ],\n    \"DAY\": [\n      \"Kiumia\",\n      \"Njumatat\\u0169\",\n      \"Njumaine\",\n      \"Njumatana\",\n      \"Aramithi\",\n      \"Njumaa\",\n      \"Njumamothi\"\n    ],\n    \"ERANAMES\": [\n      \"Mbere ya Kristo\",\n      \"Thutha wa Kristo\"\n    ],\n    \"ERAS\": [\n      \"MK\",\n      \"TK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Njenuar\\u0129\",\n      \"Mwere wa ker\\u0129\",\n      \"Mwere wa gatat\\u0169\",\n      \"Mwere wa kana\",\n      \"Mwere wa gatano\",\n      \"Mwere wa gatandat\\u0169\",\n      \"Mwere wa m\\u0169gwanja\",\n      \"Mwere wa kanana\",\n      \"Mwere wa kenda\",\n      \"Mwere wa ik\\u0169mi\",\n      \"Mwere wa ik\\u0169mi na \\u0169mwe\",\n      \"Ndithemba\"\n    ],\n    \"SHORTDAY\": [\n      \"KMA\",\n      \"NTT\",\n      \"NMN\",\n      \"NMT\",\n      \"ART\",\n      \"NMA\",\n      \"NMM\"\n    ],\n    \"SHORTMONTH\": [\n      \"JEN\",\n      \"WKR\",\n      \"WGT\",\n      \"WKN\",\n      \"WTN\",\n      \"WTD\",\n      \"WMJ\",\n      \"WNN\",\n      \"WKD\",\n      \"WIK\",\n      \"WMW\",\n      \"DIT\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ksh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ki-ke\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ki.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Kiroko\",\n      \"Hwa\\u0129-in\\u0129\"\n    ],\n    \"DAY\": [\n      \"Kiumia\",\n      \"Njumatat\\u0169\",\n      \"Njumaine\",\n      \"Njumatana\",\n      \"Aramithi\",\n      \"Njumaa\",\n      \"Njumamothi\"\n    ],\n    \"ERANAMES\": [\n      \"Mbere ya Kristo\",\n      \"Thutha wa Kristo\"\n    ],\n    \"ERAS\": [\n      \"MK\",\n      \"TK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Njenuar\\u0129\",\n      \"Mwere wa ker\\u0129\",\n      \"Mwere wa gatat\\u0169\",\n      \"Mwere wa kana\",\n      \"Mwere wa gatano\",\n      \"Mwere wa gatandat\\u0169\",\n      \"Mwere wa m\\u0169gwanja\",\n      \"Mwere wa kanana\",\n      \"Mwere wa kenda\",\n      \"Mwere wa ik\\u0169mi\",\n      \"Mwere wa ik\\u0169mi na \\u0169mwe\",\n      \"Ndithemba\"\n    ],\n    \"SHORTDAY\": [\n      \"KMA\",\n      \"NTT\",\n      \"NMN\",\n      \"NMT\",\n      \"ART\",\n      \"NMA\",\n      \"NMM\"\n    ],\n    \"SHORTMONTH\": [\n      \"JEN\",\n      \"WKR\",\n      \"WGT\",\n      \"WKN\",\n      \"WTN\",\n      \"WTD\",\n      \"WMJ\",\n      \"WNN\",\n      \"WKD\",\n      \"WIK\",\n      \"WMW\",\n      \"DIT\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ksh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ki\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_kk-cyrl-kz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0442\\u0430\\u04a3\\u0435\\u0440\\u0442\\u0435\\u04a3\\u0433\\u0456\",\n      \"\\u0442\\u04af\\u0441\\u0442\\u0435\\u043d \\u043a\\u0435\\u0439\\u0456\\u043d\\u0433\\u0456\"\n    ],\n    \"DAY\": [\n      \"\\u0436\\u0435\\u043a\\u0441\\u0435\\u043d\\u0431\\u0456\",\n      \"\\u0434\\u04af\\u0439\\u0441\\u0435\\u043d\\u0431\\u0456\",\n      \"\\u0441\\u0435\\u0439\\u0441\\u0435\\u043d\\u0431\\u0456\",\n      \"\\u0441\\u04d9\\u0440\\u0441\\u0435\\u043d\\u0431\\u0456\",\n      \"\\u0431\\u0435\\u0439\\u0441\\u0435\\u043d\\u0431\\u0456\",\n      \"\\u0436\\u04b1\\u043c\\u0430\",\n      \"\\u0441\\u0435\\u043d\\u0431\\u0456\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0411\\u0456\\u0437\\u0434\\u0456\\u04a3 \\u0437\\u0430\\u043c\\u0430\\u043d\\u044b\\u043c\\u044b\\u0437\\u0493\\u0430 \\u0434\\u0435\\u0439\\u0456\\u043d\",\n      \"\\u0411\\u0456\\u0437\\u0434\\u0456\\u04a3 \\u0437\\u0430\\u043c\\u0430\\u043d\\u044b\\u043c\\u044b\\u0437\"\n    ],\n    \"ERAS\": [\n      \"\\u0431.\\u0437.\\u0434.\",\n      \"\\u0431.\\u0437.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u049b\\u0430\\u04a3\\u0442\\u0430\\u0440\",\n      \"\\u0430\\u049b\\u043f\\u0430\\u043d\",\n      \"\\u043d\\u0430\\u0443\\u0440\\u044b\\u0437\",\n      \"\\u0441\\u04d9\\u0443\\u0456\\u0440\",\n      \"\\u043c\\u0430\\u043c\\u044b\\u0440\",\n      \"\\u043c\\u0430\\u0443\\u0441\\u044b\\u043c\",\n      \"\\u0448\\u0456\\u043b\\u0434\\u0435\",\n      \"\\u0442\\u0430\\u043c\\u044b\\u0437\",\n      \"\\u049b\\u044b\\u0440\\u043a\\u04af\\u0439\\u0435\\u043a\",\n      \"\\u049b\\u0430\\u0437\\u0430\\u043d\",\n      \"\\u049b\\u0430\\u0440\\u0430\\u0448\\u0430\",\n      \"\\u0436\\u0435\\u043b\\u0442\\u043e\\u049b\\u0441\\u0430\\u043d\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0436\\u0435\\u043a\",\n      \"\\u0434\\u04af\\u0439\",\n      \"\\u0441\\u0435\\u0439\",\n      \"\\u0441\\u04d9\\u0440\",\n      \"\\u0431\\u0435\\u0439\",\n      \"\\u0436\\u04b1\\u043c\\u0430\",\n      \"\\u0441\\u0435\\u043d\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u049b\\u0430\\u04a3.\",\n      \"\\u0430\\u049b\\u043f.\",\n      \"\\u043d\\u0430\\u0443.\",\n      \"\\u0441\\u04d9\\u0443.\",\n      \"\\u043c\\u0430\\u043c.\",\n      \"\\u043c\\u0430\\u0443.\",\n      \"\\u0448\\u0456\\u043b.\",\n      \"\\u0442\\u0430\\u043c.\",\n      \"\\u049b\\u044b\\u0440.\",\n      \"\\u049b\\u0430\\u0437.\",\n      \"\\u049b\\u0430\\u0440.\",\n      \"\\u0436\\u0435\\u043b\\u0442.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"y, dd-MMM HH:mm:ss\",\n    \"mediumDate\": \"y, dd-MMM\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/yy HH:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b8\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"kk-cyrl-kz\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_kk-cyrl.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0442\\u0430\\u04a3\\u0435\\u0440\\u0442\\u0435\\u04a3\\u0433\\u0456\",\n      \"\\u0442\\u04af\\u0441\\u0442\\u0435\\u043d \\u043a\\u0435\\u0439\\u0456\\u043d\\u0433\\u0456\"\n    ],\n    \"DAY\": [\n      \"\\u0436\\u0435\\u043a\\u0441\\u0435\\u043d\\u0431\\u0456\",\n      \"\\u0434\\u04af\\u0439\\u0441\\u0435\\u043d\\u0431\\u0456\",\n      \"\\u0441\\u0435\\u0439\\u0441\\u0435\\u043d\\u0431\\u0456\",\n      \"\\u0441\\u04d9\\u0440\\u0441\\u0435\\u043d\\u0431\\u0456\",\n      \"\\u0431\\u0435\\u0439\\u0441\\u0435\\u043d\\u0431\\u0456\",\n      \"\\u0436\\u04b1\\u043c\\u0430\",\n      \"\\u0441\\u0435\\u043d\\u0431\\u0456\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0411\\u0456\\u0437\\u0434\\u0456\\u04a3 \\u0437\\u0430\\u043c\\u0430\\u043d\\u044b\\u043c\\u044b\\u0437\\u0493\\u0430 \\u0434\\u0435\\u0439\\u0456\\u043d\",\n      \"\\u0411\\u0456\\u0437\\u0434\\u0456\\u04a3 \\u0437\\u0430\\u043c\\u0430\\u043d\\u044b\\u043c\\u044b\\u0437\"\n    ],\n    \"ERAS\": [\n      \"\\u0431.\\u0437.\\u0434.\",\n      \"\\u0431.\\u0437.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u049b\\u0430\\u04a3\\u0442\\u0430\\u0440\",\n      \"\\u0430\\u049b\\u043f\\u0430\\u043d\",\n      \"\\u043d\\u0430\\u0443\\u0440\\u044b\\u0437\",\n      \"\\u0441\\u04d9\\u0443\\u0456\\u0440\",\n      \"\\u043c\\u0430\\u043c\\u044b\\u0440\",\n      \"\\u043c\\u0430\\u0443\\u0441\\u044b\\u043c\",\n      \"\\u0448\\u0456\\u043b\\u0434\\u0435\",\n      \"\\u0442\\u0430\\u043c\\u044b\\u0437\",\n      \"\\u049b\\u044b\\u0440\\u043a\\u04af\\u0439\\u0435\\u043a\",\n      \"\\u049b\\u0430\\u0437\\u0430\\u043d\",\n      \"\\u049b\\u0430\\u0440\\u0430\\u0448\\u0430\",\n      \"\\u0436\\u0435\\u043b\\u0442\\u043e\\u049b\\u0441\\u0430\\u043d\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0436\\u0435\\u043a\",\n      \"\\u0434\\u04af\\u0439\",\n      \"\\u0441\\u0435\\u0439\",\n      \"\\u0441\\u04d9\\u0440\",\n      \"\\u0431\\u0435\\u0439\",\n      \"\\u0436\\u04b1\\u043c\\u0430\",\n      \"\\u0441\\u0435\\u043d\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u049b\\u0430\\u04a3.\",\n      \"\\u0430\\u049b\\u043f.\",\n      \"\\u043d\\u0430\\u0443.\",\n      \"\\u0441\\u04d9\\u0443.\",\n      \"\\u043c\\u0430\\u043c.\",\n      \"\\u043c\\u0430\\u0443.\",\n      \"\\u0448\\u0456\\u043b.\",\n      \"\\u0442\\u0430\\u043c.\",\n      \"\\u049b\\u044b\\u0440.\",\n      \"\\u049b\\u0430\\u0437.\",\n      \"\\u049b\\u0430\\u0440.\",\n      \"\\u0436\\u0435\\u043b\\u0442.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"y, dd-MMM HH:mm:ss\",\n    \"mediumDate\": \"y, dd-MMM\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/yy HH:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b8\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"kk-cyrl\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_kk.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0442\\u0430\\u04a3\\u0435\\u0440\\u0442\\u0435\\u04a3\\u0433\\u0456\",\n      \"\\u0442\\u04af\\u0441\\u0442\\u0435\\u043d \\u043a\\u0435\\u0439\\u0456\\u043d\\u0433\\u0456\"\n    ],\n    \"DAY\": [\n      \"\\u0436\\u0435\\u043a\\u0441\\u0435\\u043d\\u0431\\u0456\",\n      \"\\u0434\\u04af\\u0439\\u0441\\u0435\\u043d\\u0431\\u0456\",\n      \"\\u0441\\u0435\\u0439\\u0441\\u0435\\u043d\\u0431\\u0456\",\n      \"\\u0441\\u04d9\\u0440\\u0441\\u0435\\u043d\\u0431\\u0456\",\n      \"\\u0431\\u0435\\u0439\\u0441\\u0435\\u043d\\u0431\\u0456\",\n      \"\\u0436\\u04b1\\u043c\\u0430\",\n      \"\\u0441\\u0435\\u043d\\u0431\\u0456\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0411\\u0456\\u0437\\u0434\\u0456\\u04a3 \\u0437\\u0430\\u043c\\u0430\\u043d\\u044b\\u043c\\u044b\\u0437\\u0493\\u0430 \\u0434\\u0435\\u0439\\u0456\\u043d\",\n      \"\\u0411\\u0456\\u0437\\u0434\\u0456\\u04a3 \\u0437\\u0430\\u043c\\u0430\\u043d\\u044b\\u043c\\u044b\\u0437\"\n    ],\n    \"ERAS\": [\n      \"\\u0431.\\u0437.\\u0434.\",\n      \"\\u0431.\\u0437.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u049b\\u0430\\u04a3\\u0442\\u0430\\u0440\",\n      \"\\u0430\\u049b\\u043f\\u0430\\u043d\",\n      \"\\u043d\\u0430\\u0443\\u0440\\u044b\\u0437\",\n      \"\\u0441\\u04d9\\u0443\\u0456\\u0440\",\n      \"\\u043c\\u0430\\u043c\\u044b\\u0440\",\n      \"\\u043c\\u0430\\u0443\\u0441\\u044b\\u043c\",\n      \"\\u0448\\u0456\\u043b\\u0434\\u0435\",\n      \"\\u0442\\u0430\\u043c\\u044b\\u0437\",\n      \"\\u049b\\u044b\\u0440\\u043a\\u04af\\u0439\\u0435\\u043a\",\n      \"\\u049b\\u0430\\u0437\\u0430\\u043d\",\n      \"\\u049b\\u0430\\u0440\\u0430\\u0448\\u0430\",\n      \"\\u0436\\u0435\\u043b\\u0442\\u043e\\u049b\\u0441\\u0430\\u043d\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0436\\u0435\\u043a\",\n      \"\\u0434\\u04af\\u0439\",\n      \"\\u0441\\u0435\\u0439\",\n      \"\\u0441\\u04d9\\u0440\",\n      \"\\u0431\\u0435\\u0439\",\n      \"\\u0436\\u04b1\\u043c\\u0430\",\n      \"\\u0441\\u0435\\u043d\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u049b\\u0430\\u04a3.\",\n      \"\\u0430\\u049b\\u043f.\",\n      \"\\u043d\\u0430\\u0443.\",\n      \"\\u0441\\u04d9\\u0443.\",\n      \"\\u043c\\u0430\\u043c.\",\n      \"\\u043c\\u0430\\u0443.\",\n      \"\\u0448\\u0456\\u043b.\",\n      \"\\u0442\\u0430\\u043c.\",\n      \"\\u049b\\u044b\\u0440.\",\n      \"\\u049b\\u0430\\u0437.\",\n      \"\\u049b\\u0430\\u0440.\",\n      \"\\u0436\\u0435\\u043b\\u0442.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"y, dd-MMM HH:mm:ss\",\n    \"mediumDate\": \"y, dd-MMM\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/yy HH:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b8\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"kk\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_kkj-cm.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"s\\u0254ndi\",\n      \"lundi\",\n      \"mardi\",\n      \"m\\u025brk\\u025br\\u025bdi\",\n      \"yedi\",\n      \"va\\u014bd\\u025br\\u025bdi\",\n      \"m\\u0254n\\u0254 s\\u0254ndi\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"pamba\",\n      \"wanja\",\n      \"mbiy\\u0254 m\\u025bndo\\u014bg\\u0254\",\n      \"Ny\\u0254l\\u0254mb\\u0254\\u014bg\\u0254\",\n      \"M\\u0254n\\u0254 \\u014bgbanja\",\n      \"Nya\\u014bgw\\u025b \\u014bgbanja\",\n      \"ku\\u014bgw\\u025b\",\n      \"f\\u025b\",\n      \"njapi\",\n      \"nyukul\",\n      \"11\",\n      \"\\u0253ul\\u0253us\\u025b\"\n    ],\n    \"SHORTDAY\": [\n      \"s\\u0254ndi\",\n      \"lundi\",\n      \"mardi\",\n      \"m\\u025brk\\u025br\\u025bdi\",\n      \"yedi\",\n      \"va\\u014bd\\u025br\\u025bdi\",\n      \"m\\u0254n\\u0254 s\\u0254ndi\"\n    ],\n    \"SHORTMONTH\": [\n      \"pamba\",\n      \"wanja\",\n      \"mbiy\\u0254 m\\u025bndo\\u014bg\\u0254\",\n      \"Ny\\u0254l\\u0254mb\\u0254\\u014bg\\u0254\",\n      \"M\\u0254n\\u0254 \\u014bgbanja\",\n      \"Nya\\u014bgw\\u025b \\u014bgbanja\",\n      \"ku\\u014bgw\\u025b\",\n      \"f\\u025b\",\n      \"njapi\",\n      \"nyukul\",\n      \"11\",\n      \"\\u0253ul\\u0253us\\u025b\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE dd MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM y HH:mm\",\n    \"shortDate\": \"dd/MM y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"kkj-cm\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_kkj.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"s\\u0254ndi\",\n      \"lundi\",\n      \"mardi\",\n      \"m\\u025brk\\u025br\\u025bdi\",\n      \"yedi\",\n      \"va\\u014bd\\u025br\\u025bdi\",\n      \"m\\u0254n\\u0254 s\\u0254ndi\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"pamba\",\n      \"wanja\",\n      \"mbiy\\u0254 m\\u025bndo\\u014bg\\u0254\",\n      \"Ny\\u0254l\\u0254mb\\u0254\\u014bg\\u0254\",\n      \"M\\u0254n\\u0254 \\u014bgbanja\",\n      \"Nya\\u014bgw\\u025b \\u014bgbanja\",\n      \"ku\\u014bgw\\u025b\",\n      \"f\\u025b\",\n      \"njapi\",\n      \"nyukul\",\n      \"11\",\n      \"\\u0253ul\\u0253us\\u025b\"\n    ],\n    \"SHORTDAY\": [\n      \"s\\u0254ndi\",\n      \"lundi\",\n      \"mardi\",\n      \"m\\u025brk\\u025br\\u025bdi\",\n      \"yedi\",\n      \"va\\u014bd\\u025br\\u025bdi\",\n      \"m\\u0254n\\u0254 s\\u0254ndi\"\n    ],\n    \"SHORTMONTH\": [\n      \"pamba\",\n      \"wanja\",\n      \"mbiy\\u0254 m\\u025bndo\\u014bg\\u0254\",\n      \"Ny\\u0254l\\u0254mb\\u0254\\u014bg\\u0254\",\n      \"M\\u0254n\\u0254 \\u014bgbanja\",\n      \"Nya\\u014bgw\\u025b \\u014bgbanja\",\n      \"ku\\u014bgw\\u025b\",\n      \"f\\u025b\",\n      \"njapi\",\n      \"nyukul\",\n      \"11\",\n      \"\\u0253ul\\u0253us\\u025b\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE dd MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM y HH:mm\",\n    \"shortDate\": \"dd/MM y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"kkj\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_kl-gl.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"ulloqeqqata-tungaa\",\n      \"ulloqeqqata-kingorna\"\n    ],\n    \"DAY\": [\n      \"sabaat\",\n      \"ataasinngorneq\",\n      \"marlunngorneq\",\n      \"pingasunngorneq\",\n      \"sisamanngorneq\",\n      \"tallimanngorneq\",\n      \"arfininngorneq\"\n    ],\n    \"ERANAMES\": [\n      \"Kristusip inunngornerata siornagut\",\n      \"Kristusip inunngornerata kingornagut\"\n    ],\n    \"ERAS\": [\n      \"Kr.in.si.\",\n      \"Kr.in.king.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januari\",\n      \"februari\",\n      \"martsi\",\n      \"aprili\",\n      \"maji\",\n      \"juni\",\n      \"juli\",\n      \"augustusi\",\n      \"septemberi\",\n      \"oktoberi\",\n      \"novemberi\",\n      \"decemberi\"\n    ],\n    \"SHORTDAY\": [\n      \"sab\",\n      \"ata\",\n      \"mar\",\n      \"pin\",\n      \"sis\",\n      \"tal\",\n      \"arf\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"feb\",\n      \"mar\",\n      \"apr\",\n      \"maj\",\n      \"jun\",\n      \"jul\",\n      \"aug\",\n      \"sep\",\n      \"okt\",\n      \"nov\",\n      \"dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE dd MMMM y\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"MMM dd, y h:mm:ss a\",\n    \"mediumDate\": \"MMM dd, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"y-MM-dd h:mm a\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"kr\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"kl-gl\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_kl.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"ulloqeqqata-tungaa\",\n      \"ulloqeqqata-kingorna\"\n    ],\n    \"DAY\": [\n      \"sabaat\",\n      \"ataasinngorneq\",\n      \"marlunngorneq\",\n      \"pingasunngorneq\",\n      \"sisamanngorneq\",\n      \"tallimanngorneq\",\n      \"arfininngorneq\"\n    ],\n    \"ERANAMES\": [\n      \"Kristusip inunngornerata siornagut\",\n      \"Kristusip inunngornerata kingornagut\"\n    ],\n    \"ERAS\": [\n      \"Kr.in.si.\",\n      \"Kr.in.king.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januari\",\n      \"februari\",\n      \"martsi\",\n      \"aprili\",\n      \"maji\",\n      \"juni\",\n      \"juli\",\n      \"augustusi\",\n      \"septemberi\",\n      \"oktoberi\",\n      \"novemberi\",\n      \"decemberi\"\n    ],\n    \"SHORTDAY\": [\n      \"sab\",\n      \"ata\",\n      \"mar\",\n      \"pin\",\n      \"sis\",\n      \"tal\",\n      \"arf\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"feb\",\n      \"mar\",\n      \"apr\",\n      \"maj\",\n      \"jun\",\n      \"jul\",\n      \"aug\",\n      \"sep\",\n      \"okt\",\n      \"nov\",\n      \"dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE dd MMMM y\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"MMM dd, y h:mm:ss a\",\n    \"mediumDate\": \"MMM dd, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"y-MM-dd h:mm a\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"kr\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"kl\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_kln-ke.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"karoon\",\n      \"kooskoliny\"\n    ],\n    \"DAY\": [\n      \"Kotisap\",\n      \"Kotaai\",\n      \"Koaeng\\u2019\",\n      \"Kosomok\",\n      \"Koang\\u2019wan\",\n      \"Komuut\",\n      \"Kolo\"\n    ],\n    \"ERANAMES\": [\n      \"Amait kesich Jesu\",\n      \"Kokakesich Jesu\"\n    ],\n    \"ERAS\": [\n      \"AM\",\n      \"KO\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Mulgul\",\n      \"Ng\\u2019atyaato\",\n      \"Kiptaamo\",\n      \"Iwootkuut\",\n      \"Mamuut\",\n      \"Paagi\",\n      \"Ng\\u2019eiyeet\",\n      \"Rooptui\",\n      \"Bureet\",\n      \"Epeeso\",\n      \"Kipsuunde ne taai\",\n      \"Kipsuunde nebo aeng\\u2019\"\n    ],\n    \"SHORTDAY\": [\n      \"Kts\",\n      \"Kot\",\n      \"Koo\",\n      \"Kos\",\n      \"Koa\",\n      \"Kom\",\n      \"Kol\"\n    ],\n    \"SHORTMONTH\": [\n      \"Mul\",\n      \"Ngat\",\n      \"Taa\",\n      \"Iwo\",\n      \"Mam\",\n      \"Paa\",\n      \"Nge\",\n      \"Roo\",\n      \"Bur\",\n      \"Epe\",\n      \"Kpt\",\n      \"Kpa\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ksh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"kln-ke\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_kln.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"karoon\",\n      \"kooskoliny\"\n    ],\n    \"DAY\": [\n      \"Kotisap\",\n      \"Kotaai\",\n      \"Koaeng\\u2019\",\n      \"Kosomok\",\n      \"Koang\\u2019wan\",\n      \"Komuut\",\n      \"Kolo\"\n    ],\n    \"ERANAMES\": [\n      \"Amait kesich Jesu\",\n      \"Kokakesich Jesu\"\n    ],\n    \"ERAS\": [\n      \"AM\",\n      \"KO\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Mulgul\",\n      \"Ng\\u2019atyaato\",\n      \"Kiptaamo\",\n      \"Iwootkuut\",\n      \"Mamuut\",\n      \"Paagi\",\n      \"Ng\\u2019eiyeet\",\n      \"Rooptui\",\n      \"Bureet\",\n      \"Epeeso\",\n      \"Kipsuunde ne taai\",\n      \"Kipsuunde nebo aeng\\u2019\"\n    ],\n    \"SHORTDAY\": [\n      \"Kts\",\n      \"Kot\",\n      \"Koo\",\n      \"Kos\",\n      \"Koa\",\n      \"Kom\",\n      \"Kol\"\n    ],\n    \"SHORTMONTH\": [\n      \"Mul\",\n      \"Ngat\",\n      \"Taa\",\n      \"Iwo\",\n      \"Mam\",\n      \"Paa\",\n      \"Nge\",\n      \"Roo\",\n      \"Bur\",\n      \"Epe\",\n      \"Kpt\",\n      \"Kpa\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ksh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"kln\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_km-kh.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u1796\\u17d2\\u179a\\u17b9\\u1780\",\n      \"\\u179b\\u17d2\\u1784\\u17b6\\u1785\"\n    ],\n    \"DAY\": [\n      \"\\u17a2\\u17b6\\u1791\\u17b7\\u178f\\u17d2\\u1799\",\n      \"\\u1785\\u1793\\u17d2\\u1791\",\n      \"\\u17a2\\u1784\\u17d2\\u1782\\u17b6\\u179a\",\n      \"\\u1796\\u17bb\\u1792\",\n      \"\\u1796\\u17d2\\u179a\\u17a0\\u179f\\u17d2\\u1794\\u178f\\u17b7\\u17cd\",\n      \"\\u179f\\u17bb\\u1780\\u17d2\\u179a\",\n      \"\\u179f\\u17c5\\u179a\\u17cd\"\n    ],\n    \"ERANAMES\": [\n      \"\\u1798\\u17bb\\u1793\\u200b\\u1782\\u17d2\\u179a\\u17b7\\u179f\\u17d2\\u178f\\u179f\\u1780\\u179a\\u17b6\\u1787\",\n      \"\\u1782\\u17d2\\u179a\\u17b7\\u179f\\u17d2\\u178f\\u179f\\u1780\\u179a\\u17b6\\u1787\"\n    ],\n    \"ERAS\": [\n      \"\\u1798\\u17bb\\u1793 \\u1782.\\u179f.\",\n      \"\\u1782.\\u179f.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u1798\\u1780\\u179a\\u17b6\",\n      \"\\u1780\\u17bb\\u1798\\u17d2\\u1797\\u17c8\",\n      \"\\u1798\\u17b8\\u1793\\u17b6\",\n      \"\\u1798\\u17c1\\u179f\\u17b6\",\n      \"\\u17a7\\u179f\\u1797\\u17b6\",\n      \"\\u1798\\u17b7\\u1790\\u17bb\\u1793\\u17b6\",\n      \"\\u1780\\u1780\\u17d2\\u1780\\u178a\\u17b6\",\n      \"\\u179f\\u17b8\\u17a0\\u17b6\",\n      \"\\u1780\\u1789\\u17d2\\u1789\\u17b6\",\n      \"\\u178f\\u17bb\\u179b\\u17b6\",\n      \"\\u179c\\u17b7\\u1785\\u17d2\\u1786\\u17b7\\u1780\\u17b6\",\n      \"\\u1792\\u17d2\\u1793\\u17bc\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u17a2\\u17b6\\u1791\\u17b7\\u178f\\u17d2\\u1799\",\n      \"\\u1785\\u1793\\u17d2\\u1791\",\n      \"\\u17a2\\u1784\\u17d2\\u1782\\u17b6\\u179a\",\n      \"\\u1796\\u17bb\\u1792\",\n      \"\\u1796\\u17d2\\u179a\\u17a0\\u179f\\u17d2\\u1794\\u178f\\u17b7\\u17cd\",\n      \"\\u179f\\u17bb\\u1780\\u17d2\\u179a\",\n      \"\\u179f\\u17c5\\u179a\\u17cd\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u1798\\u1780\\u179a\\u17b6\",\n      \"\\u1780\\u17bb\\u1798\\u17d2\\u1797\\u17c8\",\n      \"\\u1798\\u17b8\\u1793\\u17b6\",\n      \"\\u1798\\u17c1\\u179f\\u17b6\",\n      \"\\u17a7\\u179f\\u1797\\u17b6\",\n      \"\\u1798\\u17b7\\u1790\\u17bb\\u1793\\u17b6\",\n      \"\\u1780\\u1780\\u17d2\\u1780\\u178a\\u17b6\",\n      \"\\u179f\\u17b8\\u17a0\\u17b6\",\n      \"\\u1780\\u1789\\u17d2\\u1789\\u17b6\",\n      \"\\u178f\\u17bb\\u179b\\u17b6\",\n      \"\\u179c\\u17b7\\u1785\\u17d2\\u1786\\u17b7\\u1780\\u17b6\",\n      \"\\u1792\\u17d2\\u1793\\u17bc\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Riel\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"km-kh\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_km.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u1796\\u17d2\\u179a\\u17b9\\u1780\",\n      \"\\u179b\\u17d2\\u1784\\u17b6\\u1785\"\n    ],\n    \"DAY\": [\n      \"\\u17a2\\u17b6\\u1791\\u17b7\\u178f\\u17d2\\u1799\",\n      \"\\u1785\\u1793\\u17d2\\u1791\",\n      \"\\u17a2\\u1784\\u17d2\\u1782\\u17b6\\u179a\",\n      \"\\u1796\\u17bb\\u1792\",\n      \"\\u1796\\u17d2\\u179a\\u17a0\\u179f\\u17d2\\u1794\\u178f\\u17b7\\u17cd\",\n      \"\\u179f\\u17bb\\u1780\\u17d2\\u179a\",\n      \"\\u179f\\u17c5\\u179a\\u17cd\"\n    ],\n    \"ERANAMES\": [\n      \"\\u1798\\u17bb\\u1793\\u200b\\u1782\\u17d2\\u179a\\u17b7\\u179f\\u17d2\\u178f\\u179f\\u1780\\u179a\\u17b6\\u1787\",\n      \"\\u1782\\u17d2\\u179a\\u17b7\\u179f\\u17d2\\u178f\\u179f\\u1780\\u179a\\u17b6\\u1787\"\n    ],\n    \"ERAS\": [\n      \"\\u1798\\u17bb\\u1793 \\u1782.\\u179f.\",\n      \"\\u1782.\\u179f.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u1798\\u1780\\u179a\\u17b6\",\n      \"\\u1780\\u17bb\\u1798\\u17d2\\u1797\\u17c8\",\n      \"\\u1798\\u17b8\\u1793\\u17b6\",\n      \"\\u1798\\u17c1\\u179f\\u17b6\",\n      \"\\u17a7\\u179f\\u1797\\u17b6\",\n      \"\\u1798\\u17b7\\u1790\\u17bb\\u1793\\u17b6\",\n      \"\\u1780\\u1780\\u17d2\\u1780\\u178a\\u17b6\",\n      \"\\u179f\\u17b8\\u17a0\\u17b6\",\n      \"\\u1780\\u1789\\u17d2\\u1789\\u17b6\",\n      \"\\u178f\\u17bb\\u179b\\u17b6\",\n      \"\\u179c\\u17b7\\u1785\\u17d2\\u1786\\u17b7\\u1780\\u17b6\",\n      \"\\u1792\\u17d2\\u1793\\u17bc\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u17a2\\u17b6\\u1791\\u17b7\\u178f\\u17d2\\u1799\",\n      \"\\u1785\\u1793\\u17d2\\u1791\",\n      \"\\u17a2\\u1784\\u17d2\\u1782\\u17b6\\u179a\",\n      \"\\u1796\\u17bb\\u1792\",\n      \"\\u1796\\u17d2\\u179a\\u17a0\\u179f\\u17d2\\u1794\\u178f\\u17b7\\u17cd\",\n      \"\\u179f\\u17bb\\u1780\\u17d2\\u179a\",\n      \"\\u179f\\u17c5\\u179a\\u17cd\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u1798\\u1780\\u179a\\u17b6\",\n      \"\\u1780\\u17bb\\u1798\\u17d2\\u1797\\u17c8\",\n      \"\\u1798\\u17b8\\u1793\\u17b6\",\n      \"\\u1798\\u17c1\\u179f\\u17b6\",\n      \"\\u17a7\\u179f\\u1797\\u17b6\",\n      \"\\u1798\\u17b7\\u1790\\u17bb\\u1793\\u17b6\",\n      \"\\u1780\\u1780\\u17d2\\u1780\\u178a\\u17b6\",\n      \"\\u179f\\u17b8\\u17a0\\u17b6\",\n      \"\\u1780\\u1789\\u17d2\\u1789\\u17b6\",\n      \"\\u178f\\u17bb\\u179b\\u17b6\",\n      \"\\u179c\\u17b7\\u1785\\u17d2\\u1786\\u17b7\\u1780\\u17b6\",\n      \"\\u1792\\u17d2\\u1793\\u17bc\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Riel\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"km\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_kn-in.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0caa\\u0cc2\\u0cb0\\u0ccd\\u0cb5\\u0cbe\\u0cb9\\u0ccd\\u0ca8\",\n      \"\\u0c85\\u0caa\\u0cb0\\u0cbe\\u0cb9\\u0ccd\\u0ca8\"\n    ],\n    \"DAY\": [\n      \"\\u0cad\\u0cbe\\u0ca8\\u0cc1\\u0cb5\\u0cbe\\u0cb0\",\n      \"\\u0cb8\\u0ccb\\u0cae\\u0cb5\\u0cbe\\u0cb0\",\n      \"\\u0cae\\u0c82\\u0c97\\u0cb3\\u0cb5\\u0cbe\\u0cb0\",\n      \"\\u0cac\\u0cc1\\u0ca7\\u0cb5\\u0cbe\\u0cb0\",\n      \"\\u0c97\\u0cc1\\u0cb0\\u0cc1\\u0cb5\\u0cbe\\u0cb0\",\n      \"\\u0cb6\\u0cc1\\u0c95\\u0ccd\\u0cb0\\u0cb5\\u0cbe\\u0cb0\",\n      \"\\u0cb6\\u0ca8\\u0cbf\\u0cb5\\u0cbe\\u0cb0\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0c95\\u0ccd\\u0cb0\\u0cbf\\u0cb8\\u0ccd\\u0ca4 \\u0caa\\u0cc2\\u0cb0\\u0ccd\\u0cb5\",\n      \"\\u0c95\\u0ccd\\u0cb0\\u0cbf\\u0cb8\\u0ccd\\u0ca4 \\u0cb6\\u0c95\"\n    ],\n    \"ERAS\": [\n      \"\\u0c95\\u0ccd\\u0cb0\\u0cbf.\\u0caa\\u0cc2\",\n      \"\\u0c95\\u0ccd\\u0cb0\\u0cbf.\\u0cb6\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u0c9c\\u0ca8\\u0cb5\\u0cb0\\u0cbf\",\n      \"\\u0cab\\u0cc6\\u0cac\\u0ccd\\u0cb0\\u0cb5\\u0cb0\\u0cbf\",\n      \"\\u0cae\\u0cbe\\u0cb0\\u0ccd\\u0c9a\\u0ccd\",\n      \"\\u0c8f\\u0caa\\u0ccd\\u0cb0\\u0cbf\\u0cb2\\u0ccd\",\n      \"\\u0cae\\u0cc7\",\n      \"\\u0c9c\\u0cc2\\u0ca8\\u0ccd\",\n      \"\\u0c9c\\u0cc1\\u0cb2\\u0cc8\",\n      \"\\u0c86\\u0c97\\u0cb8\\u0ccd\\u0c9f\\u0ccd\",\n      \"\\u0cb8\\u0cc6\\u0caa\\u0ccd\\u0c9f\\u0cc6\\u0c82\\u0cac\\u0cb0\\u0ccd\",\n      \"\\u0c85\\u0c95\\u0ccd\\u0c9f\\u0ccb\\u0cac\\u0cb0\\u0ccd\",\n      \"\\u0ca8\\u0cb5\\u0cc6\\u0c82\\u0cac\\u0cb0\\u0ccd\",\n      \"\\u0ca1\\u0cbf\\u0cb8\\u0cc6\\u0c82\\u0cac\\u0cb0\\u0ccd\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0cad\\u0cbe\\u0ca8\\u0cc1\",\n      \"\\u0cb8\\u0ccb\\u0cae\",\n      \"\\u0cae\\u0c82\\u0c97\\u0cb3\",\n      \"\\u0cac\\u0cc1\\u0ca7\",\n      \"\\u0c97\\u0cc1\\u0cb0\\u0cc1\",\n      \"\\u0cb6\\u0cc1\\u0c95\\u0ccd\\u0cb0\",\n      \"\\u0cb6\\u0ca8\\u0cbf\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0c9c\\u0ca8\",\n      \"\\u0cab\\u0cc6\\u0cac\\u0ccd\\u0cb0\",\n      \"\\u0cae\\u0cbe\\u0cb0\\u0ccd\\u0c9a\\u0ccd\",\n      \"\\u0c8f\\u0caa\\u0ccd\\u0cb0\\u0cbf\",\n      \"\\u0cae\\u0cc7\",\n      \"\\u0c9c\\u0cc2\\u0ca8\\u0ccd\",\n      \"\\u0c9c\\u0cc1\\u0cb2\\u0cc8\",\n      \"\\u0c86\\u0c97\",\n      \"\\u0cb8\\u0cc6\\u0caa\\u0ccd\\u0c9f\\u0cc6\\u0c82\",\n      \"\\u0c85\\u0c95\\u0ccd\\u0c9f\\u0ccb\",\n      \"\\u0ca8\\u0cb5\\u0cc6\\u0c82\",\n      \"\\u0ca1\\u0cbf\\u0cb8\\u0cc6\\u0c82\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"MMMM d, y\",\n    \"medium\": \"MMM d, y hh:mm:ss a\",\n    \"mediumDate\": \"MMM d, y\",\n    \"mediumTime\": \"hh:mm:ss a\",\n    \"short\": \"M/d/yy hh:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"hh:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"kn-in\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_kn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0caa\\u0cc2\\u0cb0\\u0ccd\\u0cb5\\u0cbe\\u0cb9\\u0ccd\\u0ca8\",\n      \"\\u0c85\\u0caa\\u0cb0\\u0cbe\\u0cb9\\u0ccd\\u0ca8\"\n    ],\n    \"DAY\": [\n      \"\\u0cad\\u0cbe\\u0ca8\\u0cc1\\u0cb5\\u0cbe\\u0cb0\",\n      \"\\u0cb8\\u0ccb\\u0cae\\u0cb5\\u0cbe\\u0cb0\",\n      \"\\u0cae\\u0c82\\u0c97\\u0cb3\\u0cb5\\u0cbe\\u0cb0\",\n      \"\\u0cac\\u0cc1\\u0ca7\\u0cb5\\u0cbe\\u0cb0\",\n      \"\\u0c97\\u0cc1\\u0cb0\\u0cc1\\u0cb5\\u0cbe\\u0cb0\",\n      \"\\u0cb6\\u0cc1\\u0c95\\u0ccd\\u0cb0\\u0cb5\\u0cbe\\u0cb0\",\n      \"\\u0cb6\\u0ca8\\u0cbf\\u0cb5\\u0cbe\\u0cb0\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0c95\\u0ccd\\u0cb0\\u0cbf\\u0cb8\\u0ccd\\u0ca4 \\u0caa\\u0cc2\\u0cb0\\u0ccd\\u0cb5\",\n      \"\\u0c95\\u0ccd\\u0cb0\\u0cbf\\u0cb8\\u0ccd\\u0ca4 \\u0cb6\\u0c95\"\n    ],\n    \"ERAS\": [\n      \"\\u0c95\\u0ccd\\u0cb0\\u0cbf.\\u0caa\\u0cc2\",\n      \"\\u0c95\\u0ccd\\u0cb0\\u0cbf.\\u0cb6\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u0c9c\\u0ca8\\u0cb5\\u0cb0\\u0cbf\",\n      \"\\u0cab\\u0cc6\\u0cac\\u0ccd\\u0cb0\\u0cb5\\u0cb0\\u0cbf\",\n      \"\\u0cae\\u0cbe\\u0cb0\\u0ccd\\u0c9a\\u0ccd\",\n      \"\\u0c8f\\u0caa\\u0ccd\\u0cb0\\u0cbf\\u0cb2\\u0ccd\",\n      \"\\u0cae\\u0cc7\",\n      \"\\u0c9c\\u0cc2\\u0ca8\\u0ccd\",\n      \"\\u0c9c\\u0cc1\\u0cb2\\u0cc8\",\n      \"\\u0c86\\u0c97\\u0cb8\\u0ccd\\u0c9f\\u0ccd\",\n      \"\\u0cb8\\u0cc6\\u0caa\\u0ccd\\u0c9f\\u0cc6\\u0c82\\u0cac\\u0cb0\\u0ccd\",\n      \"\\u0c85\\u0c95\\u0ccd\\u0c9f\\u0ccb\\u0cac\\u0cb0\\u0ccd\",\n      \"\\u0ca8\\u0cb5\\u0cc6\\u0c82\\u0cac\\u0cb0\\u0ccd\",\n      \"\\u0ca1\\u0cbf\\u0cb8\\u0cc6\\u0c82\\u0cac\\u0cb0\\u0ccd\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0cad\\u0cbe\\u0ca8\\u0cc1\",\n      \"\\u0cb8\\u0ccb\\u0cae\",\n      \"\\u0cae\\u0c82\\u0c97\\u0cb3\",\n      \"\\u0cac\\u0cc1\\u0ca7\",\n      \"\\u0c97\\u0cc1\\u0cb0\\u0cc1\",\n      \"\\u0cb6\\u0cc1\\u0c95\\u0ccd\\u0cb0\",\n      \"\\u0cb6\\u0ca8\\u0cbf\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0c9c\\u0ca8\",\n      \"\\u0cab\\u0cc6\\u0cac\\u0ccd\\u0cb0\",\n      \"\\u0cae\\u0cbe\\u0cb0\\u0ccd\\u0c9a\\u0ccd\",\n      \"\\u0c8f\\u0caa\\u0ccd\\u0cb0\\u0cbf\",\n      \"\\u0cae\\u0cc7\",\n      \"\\u0c9c\\u0cc2\\u0ca8\\u0ccd\",\n      \"\\u0c9c\\u0cc1\\u0cb2\\u0cc8\",\n      \"\\u0c86\\u0c97\",\n      \"\\u0cb8\\u0cc6\\u0caa\\u0ccd\\u0c9f\\u0cc6\\u0c82\",\n      \"\\u0c85\\u0c95\\u0ccd\\u0c9f\\u0ccb\",\n      \"\\u0ca8\\u0cb5\\u0cc6\\u0c82\",\n      \"\\u0ca1\\u0cbf\\u0cb8\\u0cc6\\u0c82\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"MMMM d, y\",\n    \"medium\": \"MMM d, y hh:mm:ss a\",\n    \"mediumDate\": \"MMM d, y\",\n    \"mediumTime\": \"hh:mm:ss a\",\n    \"short\": \"M/d/yy hh:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"hh:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"kn\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ko-kp.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\uc624\\uc804\",\n      \"\\uc624\\ud6c4\"\n    ],\n    \"DAY\": [\n      \"\\uc77c\\uc694\\uc77c\",\n      \"\\uc6d4\\uc694\\uc77c\",\n      \"\\ud654\\uc694\\uc77c\",\n      \"\\uc218\\uc694\\uc77c\",\n      \"\\ubaa9\\uc694\\uc77c\",\n      \"\\uae08\\uc694\\uc77c\",\n      \"\\ud1a0\\uc694\\uc77c\"\n    ],\n    \"ERANAMES\": [\n      \"\\uae30\\uc6d0\\uc804\",\n      \"\\uc11c\\uae30\"\n    ],\n    \"ERAS\": [\n      \"\\uae30\\uc6d0\\uc804\",\n      \"\\uc11c\\uae30\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"1\\uc6d4\",\n      \"2\\uc6d4\",\n      \"3\\uc6d4\",\n      \"4\\uc6d4\",\n      \"5\\uc6d4\",\n      \"6\\uc6d4\",\n      \"7\\uc6d4\",\n      \"8\\uc6d4\",\n      \"9\\uc6d4\",\n      \"10\\uc6d4\",\n      \"11\\uc6d4\",\n      \"12\\uc6d4\"\n    ],\n    \"SHORTDAY\": [\n      \"\\uc77c\",\n      \"\\uc6d4\",\n      \"\\ud654\",\n      \"\\uc218\",\n      \"\\ubaa9\",\n      \"\\uae08\",\n      \"\\ud1a0\"\n    ],\n    \"SHORTMONTH\": [\n      \"1\\uc6d4\",\n      \"2\\uc6d4\",\n      \"3\\uc6d4\",\n      \"4\\uc6d4\",\n      \"5\\uc6d4\",\n      \"6\\uc6d4\",\n      \"7\\uc6d4\",\n      \"8\\uc6d4\",\n      \"9\\uc6d4\",\n      \"10\\uc6d4\",\n      \"11\\uc6d4\",\n      \"12\\uc6d4\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y\\ub144 M\\uc6d4 d\\uc77c EEEE\",\n    \"longDate\": \"y\\ub144 M\\uc6d4 d\\uc77c\",\n    \"medium\": \"y. M. d. a h:mm:ss\",\n    \"mediumDate\": \"y. M. d.\",\n    \"mediumTime\": \"a h:mm:ss\",\n    \"short\": \"yy. M. d. a h:mm\",\n    \"shortDate\": \"yy. M. d.\",\n    \"shortTime\": \"a h:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20a9KP\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ko-kp\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ko-kr.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\uc624\\uc804\",\n      \"\\uc624\\ud6c4\"\n    ],\n    \"DAY\": [\n      \"\\uc77c\\uc694\\uc77c\",\n      \"\\uc6d4\\uc694\\uc77c\",\n      \"\\ud654\\uc694\\uc77c\",\n      \"\\uc218\\uc694\\uc77c\",\n      \"\\ubaa9\\uc694\\uc77c\",\n      \"\\uae08\\uc694\\uc77c\",\n      \"\\ud1a0\\uc694\\uc77c\"\n    ],\n    \"ERANAMES\": [\n      \"\\uae30\\uc6d0\\uc804\",\n      \"\\uc11c\\uae30\"\n    ],\n    \"ERAS\": [\n      \"\\uae30\\uc6d0\\uc804\",\n      \"\\uc11c\\uae30\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"1\\uc6d4\",\n      \"2\\uc6d4\",\n      \"3\\uc6d4\",\n      \"4\\uc6d4\",\n      \"5\\uc6d4\",\n      \"6\\uc6d4\",\n      \"7\\uc6d4\",\n      \"8\\uc6d4\",\n      \"9\\uc6d4\",\n      \"10\\uc6d4\",\n      \"11\\uc6d4\",\n      \"12\\uc6d4\"\n    ],\n    \"SHORTDAY\": [\n      \"\\uc77c\",\n      \"\\uc6d4\",\n      \"\\ud654\",\n      \"\\uc218\",\n      \"\\ubaa9\",\n      \"\\uae08\",\n      \"\\ud1a0\"\n    ],\n    \"SHORTMONTH\": [\n      \"1\\uc6d4\",\n      \"2\\uc6d4\",\n      \"3\\uc6d4\",\n      \"4\\uc6d4\",\n      \"5\\uc6d4\",\n      \"6\\uc6d4\",\n      \"7\\uc6d4\",\n      \"8\\uc6d4\",\n      \"9\\uc6d4\",\n      \"10\\uc6d4\",\n      \"11\\uc6d4\",\n      \"12\\uc6d4\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y\\ub144 M\\uc6d4 d\\uc77c EEEE\",\n    \"longDate\": \"y\\ub144 M\\uc6d4 d\\uc77c\",\n    \"medium\": \"y. M. d. a h:mm:ss\",\n    \"mediumDate\": \"y. M. d.\",\n    \"mediumTime\": \"a h:mm:ss\",\n    \"short\": \"yy. M. d. a h:mm\",\n    \"shortDate\": \"yy. M. d.\",\n    \"shortTime\": \"a h:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20a9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ko-kr\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ko.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\uc624\\uc804\",\n      \"\\uc624\\ud6c4\"\n    ],\n    \"DAY\": [\n      \"\\uc77c\\uc694\\uc77c\",\n      \"\\uc6d4\\uc694\\uc77c\",\n      \"\\ud654\\uc694\\uc77c\",\n      \"\\uc218\\uc694\\uc77c\",\n      \"\\ubaa9\\uc694\\uc77c\",\n      \"\\uae08\\uc694\\uc77c\",\n      \"\\ud1a0\\uc694\\uc77c\"\n    ],\n    \"ERANAMES\": [\n      \"\\uae30\\uc6d0\\uc804\",\n      \"\\uc11c\\uae30\"\n    ],\n    \"ERAS\": [\n      \"\\uae30\\uc6d0\\uc804\",\n      \"\\uc11c\\uae30\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"1\\uc6d4\",\n      \"2\\uc6d4\",\n      \"3\\uc6d4\",\n      \"4\\uc6d4\",\n      \"5\\uc6d4\",\n      \"6\\uc6d4\",\n      \"7\\uc6d4\",\n      \"8\\uc6d4\",\n      \"9\\uc6d4\",\n      \"10\\uc6d4\",\n      \"11\\uc6d4\",\n      \"12\\uc6d4\"\n    ],\n    \"SHORTDAY\": [\n      \"\\uc77c\",\n      \"\\uc6d4\",\n      \"\\ud654\",\n      \"\\uc218\",\n      \"\\ubaa9\",\n      \"\\uae08\",\n      \"\\ud1a0\"\n    ],\n    \"SHORTMONTH\": [\n      \"1\\uc6d4\",\n      \"2\\uc6d4\",\n      \"3\\uc6d4\",\n      \"4\\uc6d4\",\n      \"5\\uc6d4\",\n      \"6\\uc6d4\",\n      \"7\\uc6d4\",\n      \"8\\uc6d4\",\n      \"9\\uc6d4\",\n      \"10\\uc6d4\",\n      \"11\\uc6d4\",\n      \"12\\uc6d4\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y\\ub144 M\\uc6d4 d\\uc77c EEEE\",\n    \"longDate\": \"y\\ub144 M\\uc6d4 d\\uc77c\",\n    \"medium\": \"y. M. d. a h:mm:ss\",\n    \"mediumDate\": \"y. M. d.\",\n    \"mediumTime\": \"a h:mm:ss\",\n    \"short\": \"yy. M. d. a h:mm\",\n    \"shortDate\": \"yy. M. d.\",\n    \"shortTime\": \"a h:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20a9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ko\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_kok-in.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u092e.\\u092a\\u0942.\",\n      \"\\u092e.\\u0928\\u0902.\"\n    ],\n    \"DAY\": [\n      \"\\u0906\\u0926\\u093f\\u0924\\u094d\\u092f\\u0935\\u093e\\u0930\",\n      \"\\u0938\\u094b\\u092e\\u0935\\u093e\\u0930\",\n      \"\\u092e\\u0902\\u0917\\u0933\\u093e\\u0930\",\n      \"\\u092c\\u0941\\u0927\\u0935\\u093e\\u0930\",\n      \"\\u0917\\u0941\\u0930\\u0941\\u0935\\u093e\\u0930\",\n      \"\\u0936\\u0941\\u0915\\u094d\\u0930\\u0935\\u093e\\u0930\",\n      \"\\u0936\\u0928\\u093f\\u0935\\u093e\\u0930\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0915\\u094d\\u0930\\u093f\\u0938\\u094d\\u0924\\u092a\\u0942\\u0930\\u094d\\u0935\",\n      \"\\u0915\\u094d\\u0930\\u093f\\u0938\\u094d\\u0924\\u0936\\u0916\\u093e\"\n    ],\n    \"ERAS\": [\n      \"\\u0915\\u094d\\u0930\\u093f\\u0938\\u094d\\u0924\\u092a\\u0942\\u0930\\u094d\\u0935\",\n      \"\\u0915\\u094d\\u0930\\u093f\\u0938\\u094d\\u0924\\u0936\\u0916\\u093e\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u091c\\u093e\\u0928\\u0947\\u0935\\u093e\\u0930\\u0940\",\n      \"\\u092b\\u0947\\u092c\\u094d\\u0930\\u0941\\u0935\\u093e\\u0930\\u0940\",\n      \"\\u092e\\u093e\\u0930\\u094d\\u091a\",\n      \"\\u090f\\u092a\\u094d\\u0930\\u093f\\u0932\",\n      \"\\u092e\\u0947\",\n      \"\\u091c\\u0942\\u0928\",\n      \"\\u091c\\u0941\\u0932\\u0948\",\n      \"\\u0913\\u0917\\u0938\\u094d\\u091f\",\n      \"\\u0938\\u0947\\u092a\\u094d\\u091f\\u0947\\u0902\\u092c\\u0930\",\n      \"\\u0913\\u0915\\u094d\\u091f\\u094b\\u092c\\u0930\",\n      \"\\u0928\\u094b\\u0935\\u094d\\u0939\\u0947\\u0902\\u092c\\u0930\",\n      \"\\u0921\\u093f\\u0938\\u0947\\u0902\\u092c\\u0930\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0930\\u0935\\u093f\",\n      \"\\u0938\\u094b\\u092e\",\n      \"\\u092e\\u0902\\u0917\\u0933\",\n      \"\\u092c\\u0941\\u0927\",\n      \"\\u0917\\u0941\\u0930\\u0941\",\n      \"\\u0936\\u0941\\u0915\\u094d\\u0930\",\n      \"\\u0936\\u0928\\u093f\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u091c\\u093e\\u0928\\u0947\\u0935\\u093e\\u0930\\u0940\",\n      \"\\u092b\\u0947\\u092c\\u094d\\u0930\\u0941\\u0935\\u093e\\u0930\\u0940\",\n      \"\\u092e\\u093e\\u0930\\u094d\\u091a\",\n      \"\\u090f\\u092a\\u094d\\u0930\\u093f\\u0932\",\n      \"\\u092e\\u0947\",\n      \"\\u091c\\u0942\\u0928\",\n      \"\\u091c\\u0941\\u0932\\u0948\",\n      \"\\u0913\\u0917\\u0938\\u094d\\u091f\",\n      \"\\u0938\\u0947\\u092a\\u094d\\u091f\\u0947\\u0902\\u092c\\u0930\",\n      \"\\u0913\\u0915\\u094d\\u091f\\u094b\\u092c\\u0930\",\n      \"\\u0928\\u094b\\u0935\\u094d\\u0939\\u0947\\u0902\\u092c\\u0930\",\n      \"\\u0921\\u093f\\u0938\\u0947\\u0902\\u092c\\u0930\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"dd-MM-y h:mm:ss a\",\n    \"mediumDate\": \"dd-MM-y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d-M-yy h:mm a\",\n    \"shortDate\": \"d-M-yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"kok-in\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_kok.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u092e.\\u092a\\u0942.\",\n      \"\\u092e.\\u0928\\u0902.\"\n    ],\n    \"DAY\": [\n      \"\\u0906\\u0926\\u093f\\u0924\\u094d\\u092f\\u0935\\u093e\\u0930\",\n      \"\\u0938\\u094b\\u092e\\u0935\\u093e\\u0930\",\n      \"\\u092e\\u0902\\u0917\\u0933\\u093e\\u0930\",\n      \"\\u092c\\u0941\\u0927\\u0935\\u093e\\u0930\",\n      \"\\u0917\\u0941\\u0930\\u0941\\u0935\\u093e\\u0930\",\n      \"\\u0936\\u0941\\u0915\\u094d\\u0930\\u0935\\u093e\\u0930\",\n      \"\\u0936\\u0928\\u093f\\u0935\\u093e\\u0930\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0915\\u094d\\u0930\\u093f\\u0938\\u094d\\u0924\\u092a\\u0942\\u0930\\u094d\\u0935\",\n      \"\\u0915\\u094d\\u0930\\u093f\\u0938\\u094d\\u0924\\u0936\\u0916\\u093e\"\n    ],\n    \"ERAS\": [\n      \"\\u0915\\u094d\\u0930\\u093f\\u0938\\u094d\\u0924\\u092a\\u0942\\u0930\\u094d\\u0935\",\n      \"\\u0915\\u094d\\u0930\\u093f\\u0938\\u094d\\u0924\\u0936\\u0916\\u093e\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u091c\\u093e\\u0928\\u0947\\u0935\\u093e\\u0930\\u0940\",\n      \"\\u092b\\u0947\\u092c\\u094d\\u0930\\u0941\\u0935\\u093e\\u0930\\u0940\",\n      \"\\u092e\\u093e\\u0930\\u094d\\u091a\",\n      \"\\u090f\\u092a\\u094d\\u0930\\u093f\\u0932\",\n      \"\\u092e\\u0947\",\n      \"\\u091c\\u0942\\u0928\",\n      \"\\u091c\\u0941\\u0932\\u0948\",\n      \"\\u0913\\u0917\\u0938\\u094d\\u091f\",\n      \"\\u0938\\u0947\\u092a\\u094d\\u091f\\u0947\\u0902\\u092c\\u0930\",\n      \"\\u0913\\u0915\\u094d\\u091f\\u094b\\u092c\\u0930\",\n      \"\\u0928\\u094b\\u0935\\u094d\\u0939\\u0947\\u0902\\u092c\\u0930\",\n      \"\\u0921\\u093f\\u0938\\u0947\\u0902\\u092c\\u0930\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0930\\u0935\\u093f\",\n      \"\\u0938\\u094b\\u092e\",\n      \"\\u092e\\u0902\\u0917\\u0933\",\n      \"\\u092c\\u0941\\u0927\",\n      \"\\u0917\\u0941\\u0930\\u0941\",\n      \"\\u0936\\u0941\\u0915\\u094d\\u0930\",\n      \"\\u0936\\u0928\\u093f\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u091c\\u093e\\u0928\\u0947\\u0935\\u093e\\u0930\\u0940\",\n      \"\\u092b\\u0947\\u092c\\u094d\\u0930\\u0941\\u0935\\u093e\\u0930\\u0940\",\n      \"\\u092e\\u093e\\u0930\\u094d\\u091a\",\n      \"\\u090f\\u092a\\u094d\\u0930\\u093f\\u0932\",\n      \"\\u092e\\u0947\",\n      \"\\u091c\\u0942\\u0928\",\n      \"\\u091c\\u0941\\u0932\\u0948\",\n      \"\\u0913\\u0917\\u0938\\u094d\\u091f\",\n      \"\\u0938\\u0947\\u092a\\u094d\\u091f\\u0947\\u0902\\u092c\\u0930\",\n      \"\\u0913\\u0915\\u094d\\u091f\\u094b\\u092c\\u0930\",\n      \"\\u0928\\u094b\\u0935\\u094d\\u0939\\u0947\\u0902\\u092c\\u0930\",\n      \"\\u0921\\u093f\\u0938\\u0947\\u0902\\u092c\\u0930\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"dd-MM-y h:mm:ss a\",\n    \"mediumDate\": \"dd-MM-y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d-M-yy h:mm a\",\n    \"shortDate\": \"d-M-yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"kok\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ks-arab-in.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u064e\\u062a\\u06be\\u0648\\u0627\\u0631\",\n      \"\\u0698\\u0654\\u0646\\u065b\\u062f\\u0631\\u0655\\u0631\\u0648\\u0627\\u0631\",\n      \"\\u0628\\u0648\\u065a\\u0645\\u0648\\u0627\\u0631\",\n      \"\\u0628\\u0648\\u062f\\u0648\\u0627\\u0631\",\n      \"\\u0628\\u0631\\u065b\\u066e\\u06ea\\u0633\\u0648\\u0627\\u0631\",\n      \"\\u062c\\u064f\\u0645\\u06c1\",\n      \"\\u0628\\u0679\\u0648\\u0627\\u0631\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0655\\u0644 \\u0645\\u0633\\u06cc\\u0656\\u062d\",\n      \"\\u0639\\u06cc\\u0656\\u0633\\u0648\\u06cc \\u0633\\u0646\\u06c1\\u0655\"\n    ],\n    \"ERAS\": [\n      \"\\u0628\\u06cc \\u0633\\u06cc\",\n      \"\\u0627\\u06d2 \\u0688\\u06cc\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u062c\\u0646\\u0624\\u0631\\u06cc\",\n      \"\\u0641\\u0631\\u0624\\u0631\\u06cc\",\n      \"\\u0645\\u0627\\u0631\\u0655\\u0686\",\n      \"\\u0627\\u067e\\u0631\\u06cc\\u0644\",\n      \"\\u0645\\u06cc\\u0654\",\n      \"\\u062c\\u0648\\u0657\\u0646\",\n      \"\\u062c\\u0648\\u0657\\u0644\\u0627\\u06cc\\u06cc\",\n      \"\\u0627\\u06af\\u0633\\u062a\",\n      \"\\u0633\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0627\\u06a9\\u062a\\u0648\\u0657\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0622\\u062a\\u06be\\u0648\\u0627\\u0631\",\n      \"\\u0698\\u0654\\u0646\\u065b\\u062f\\u0655\\u0631\\u0648\\u0627\\u0631\",\n      \"\\u0628\\u0648\\u065a\\u0645\\u0648\\u0627\\u0631\",\n      \"\\u0628\\u0648\\u062f\\u0648\\u0627\\u0631\",\n      \"\\u0628\\u0631\\u065b\\u066e\\u06ea\\u0633\\u0648\\u0627\\u0631\",\n      \"\\u062c\\u064f\\u0645\\u06c1\",\n      \"\\u0628\\u0679\\u0648\\u0627\\u0631\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u062c\\u0646\\u0624\\u0631\\u06cc\",\n      \"\\u0641\\u0631\\u0624\\u0631\\u06cc\",\n      \"\\u0645\\u0627\\u0631\\u0655\\u0686\",\n      \"\\u0627\\u067e\\u0631\\u06cc\\u0644\",\n      \"\\u0645\\u06cc\\u0654\",\n      \"\\u062c\\u0648\\u0657\\u0646\",\n      \"\\u062c\\u0648\\u0657\\u0644\\u0627\\u06cc\\u06cc\",\n      \"\\u0627\\u06af\\u0633\\u062a\",\n      \"\\u0633\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0627\\u06a9\\u062a\\u0648\\u0657\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"MMMM d, y\",\n    \"medium\": \"MMM d, y h:mm:ss a\",\n    \"mediumDate\": \"MMM d, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"M/d/yy h:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ks-arab-in\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ks-arab.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u064e\\u062a\\u06be\\u0648\\u0627\\u0631\",\n      \"\\u0698\\u0654\\u0646\\u065b\\u062f\\u0631\\u0655\\u0631\\u0648\\u0627\\u0631\",\n      \"\\u0628\\u0648\\u065a\\u0645\\u0648\\u0627\\u0631\",\n      \"\\u0628\\u0648\\u062f\\u0648\\u0627\\u0631\",\n      \"\\u0628\\u0631\\u065b\\u066e\\u06ea\\u0633\\u0648\\u0627\\u0631\",\n      \"\\u062c\\u064f\\u0645\\u06c1\",\n      \"\\u0628\\u0679\\u0648\\u0627\\u0631\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0655\\u0644 \\u0645\\u0633\\u06cc\\u0656\\u062d\",\n      \"\\u0639\\u06cc\\u0656\\u0633\\u0648\\u06cc \\u0633\\u0646\\u06c1\\u0655\"\n    ],\n    \"ERAS\": [\n      \"\\u0628\\u06cc \\u0633\\u06cc\",\n      \"\\u0627\\u06d2 \\u0688\\u06cc\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u062c\\u0646\\u0624\\u0631\\u06cc\",\n      \"\\u0641\\u0631\\u0624\\u0631\\u06cc\",\n      \"\\u0645\\u0627\\u0631\\u0655\\u0686\",\n      \"\\u0627\\u067e\\u0631\\u06cc\\u0644\",\n      \"\\u0645\\u06cc\\u0654\",\n      \"\\u062c\\u0648\\u0657\\u0646\",\n      \"\\u062c\\u0648\\u0657\\u0644\\u0627\\u06cc\\u06cc\",\n      \"\\u0627\\u06af\\u0633\\u062a\",\n      \"\\u0633\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0627\\u06a9\\u062a\\u0648\\u0657\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0622\\u062a\\u06be\\u0648\\u0627\\u0631\",\n      \"\\u0698\\u0654\\u0646\\u065b\\u062f\\u0655\\u0631\\u0648\\u0627\\u0631\",\n      \"\\u0628\\u0648\\u065a\\u0645\\u0648\\u0627\\u0631\",\n      \"\\u0628\\u0648\\u062f\\u0648\\u0627\\u0631\",\n      \"\\u0628\\u0631\\u065b\\u066e\\u06ea\\u0633\\u0648\\u0627\\u0631\",\n      \"\\u062c\\u064f\\u0645\\u06c1\",\n      \"\\u0628\\u0679\\u0648\\u0627\\u0631\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u062c\\u0646\\u0624\\u0631\\u06cc\",\n      \"\\u0641\\u0631\\u0624\\u0631\\u06cc\",\n      \"\\u0645\\u0627\\u0631\\u0655\\u0686\",\n      \"\\u0627\\u067e\\u0631\\u06cc\\u0644\",\n      \"\\u0645\\u06cc\\u0654\",\n      \"\\u062c\\u0648\\u0657\\u0646\",\n      \"\\u062c\\u0648\\u0657\\u0644\\u0627\\u06cc\\u06cc\",\n      \"\\u0627\\u06af\\u0633\\u062a\",\n      \"\\u0633\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0627\\u06a9\\u062a\\u0648\\u0657\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"MMMM d, y\",\n    \"medium\": \"MMM d, y h:mm:ss a\",\n    \"mediumDate\": \"MMM d, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"M/d/yy h:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ks-arab\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ks.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u064e\\u062a\\u06be\\u0648\\u0627\\u0631\",\n      \"\\u0698\\u0654\\u0646\\u065b\\u062f\\u0631\\u0655\\u0631\\u0648\\u0627\\u0631\",\n      \"\\u0628\\u0648\\u065a\\u0645\\u0648\\u0627\\u0631\",\n      \"\\u0628\\u0648\\u062f\\u0648\\u0627\\u0631\",\n      \"\\u0628\\u0631\\u065b\\u066e\\u06ea\\u0633\\u0648\\u0627\\u0631\",\n      \"\\u062c\\u064f\\u0645\\u06c1\",\n      \"\\u0628\\u0679\\u0648\\u0627\\u0631\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0655\\u0644 \\u0645\\u0633\\u06cc\\u0656\\u062d\",\n      \"\\u0639\\u06cc\\u0656\\u0633\\u0648\\u06cc \\u0633\\u0646\\u06c1\\u0655\"\n    ],\n    \"ERAS\": [\n      \"\\u0628\\u06cc \\u0633\\u06cc\",\n      \"\\u0627\\u06d2 \\u0688\\u06cc\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u062c\\u0646\\u0624\\u0631\\u06cc\",\n      \"\\u0641\\u0631\\u0624\\u0631\\u06cc\",\n      \"\\u0645\\u0627\\u0631\\u0655\\u0686\",\n      \"\\u0627\\u067e\\u0631\\u06cc\\u0644\",\n      \"\\u0645\\u06cc\\u0654\",\n      \"\\u062c\\u0648\\u0657\\u0646\",\n      \"\\u062c\\u0648\\u0657\\u0644\\u0627\\u06cc\\u06cc\",\n      \"\\u0627\\u06af\\u0633\\u062a\",\n      \"\\u0633\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0627\\u06a9\\u062a\\u0648\\u0657\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0622\\u062a\\u06be\\u0648\\u0627\\u0631\",\n      \"\\u0698\\u0654\\u0646\\u065b\\u062f\\u0655\\u0631\\u0648\\u0627\\u0631\",\n      \"\\u0628\\u0648\\u065a\\u0645\\u0648\\u0627\\u0631\",\n      \"\\u0628\\u0648\\u062f\\u0648\\u0627\\u0631\",\n      \"\\u0628\\u0631\\u065b\\u066e\\u06ea\\u0633\\u0648\\u0627\\u0631\",\n      \"\\u062c\\u064f\\u0645\\u06c1\",\n      \"\\u0628\\u0679\\u0648\\u0627\\u0631\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u062c\\u0646\\u0624\\u0631\\u06cc\",\n      \"\\u0641\\u0631\\u0624\\u0631\\u06cc\",\n      \"\\u0645\\u0627\\u0631\\u0655\\u0686\",\n      \"\\u0627\\u067e\\u0631\\u06cc\\u0644\",\n      \"\\u0645\\u06cc\\u0654\",\n      \"\\u062c\\u0648\\u0657\\u0646\",\n      \"\\u062c\\u0648\\u0657\\u0644\\u0627\\u06cc\\u06cc\",\n      \"\\u0627\\u06af\\u0633\\u062a\",\n      \"\\u0633\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0627\\u06a9\\u062a\\u0648\\u0657\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"MMMM d, y\",\n    \"medium\": \"MMM d, y h:mm:ss a\",\n    \"mediumDate\": \"MMM d, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"M/d/yy h:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ks\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ksb-tz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"makeo\",\n      \"nyiaghuo\"\n    ],\n    \"DAY\": [\n      \"Jumaapii\",\n      \"Jumaatatu\",\n      \"Jumaane\",\n      \"Jumaatano\",\n      \"Alhamisi\",\n      \"Ijumaa\",\n      \"Jumaamosi\"\n    ],\n    \"ERANAMES\": [\n      \"Kabla ya Klisto\",\n      \"Baada ya Klisto\"\n    ],\n    \"ERAS\": [\n      \"KK\",\n      \"BK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januali\",\n      \"Febluali\",\n      \"Machi\",\n      \"Aplili\",\n      \"Mei\",\n      \"Juni\",\n      \"Julai\",\n      \"Agosti\",\n      \"Septemba\",\n      \"Oktoba\",\n      \"Novemba\",\n      \"Desemba\"\n    ],\n    \"SHORTDAY\": [\n      \"Jpi\",\n      \"Jtt\",\n      \"Jmn\",\n      \"Jtn\",\n      \"Alh\",\n      \"Iju\",\n      \"Jmo\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mac\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Ago\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"TSh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ksb-tz\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ksb.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"makeo\",\n      \"nyiaghuo\"\n    ],\n    \"DAY\": [\n      \"Jumaapii\",\n      \"Jumaatatu\",\n      \"Jumaane\",\n      \"Jumaatano\",\n      \"Alhamisi\",\n      \"Ijumaa\",\n      \"Jumaamosi\"\n    ],\n    \"ERANAMES\": [\n      \"Kabla ya Klisto\",\n      \"Baada ya Klisto\"\n    ],\n    \"ERAS\": [\n      \"KK\",\n      \"BK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januali\",\n      \"Febluali\",\n      \"Machi\",\n      \"Aplili\",\n      \"Mei\",\n      \"Juni\",\n      \"Julai\",\n      \"Agosti\",\n      \"Septemba\",\n      \"Oktoba\",\n      \"Novemba\",\n      \"Desemba\"\n    ],\n    \"SHORTDAY\": [\n      \"Jpi\",\n      \"Jtt\",\n      \"Jmn\",\n      \"Jtn\",\n      \"Alh\",\n      \"Iju\",\n      \"Jmo\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mac\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Ago\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"TSh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ksb\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ksf-cm.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"s\\u00e1r\\u00faw\\u00e1\",\n      \"c\\u025b\\u025b\\u0301nko\"\n    ],\n    \"DAY\": [\n      \"s\\u0254\\u0301nd\\u01dd\",\n      \"l\\u01ddnd\\u00ed\",\n      \"maad\\u00ed\",\n      \"m\\u025bkr\\u025bd\\u00ed\",\n      \"j\\u01dd\\u01ddd\\u00ed\",\n      \"j\\u00famb\\u00e1\",\n      \"samd\\u00ed\"\n    ],\n    \"ERANAMES\": [\n      \"di Y\\u025b\\u0301sus ak\\u00e1 y\\u00e1l\\u025b\",\n      \"c\\u00e1m\\u025b\\u025bn k\\u01dd k\\u01ddb\\u0254pka Y\"\n    ],\n    \"ERAS\": [\n      \"d.Y.\",\n      \"k.Y.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u014bw\\u00ed\\u00ed a nt\\u0254\\u0301nt\\u0254\",\n      \"\\u014bw\\u00ed\\u00ed ak\\u01dd b\\u025b\\u0301\\u025b\",\n      \"\\u014bw\\u00ed\\u00ed ak\\u01dd r\\u00e1\\u00e1\",\n      \"\\u014bw\\u00ed\\u00ed ak\\u01dd nin\",\n      \"\\u014bw\\u00ed\\u00ed ak\\u01dd t\\u00e1an\",\n      \"\\u014bw\\u00ed\\u00ed ak\\u01dd t\\u00e1af\\u0254k\",\n      \"\\u014bw\\u00ed\\u00ed ak\\u01dd t\\u00e1ab\\u025b\\u025b\",\n      \"\\u014bw\\u00ed\\u00ed ak\\u01dd t\\u00e1araa\",\n      \"\\u014bw\\u00ed\\u00ed ak\\u01dd t\\u00e1anin\",\n      \"\\u014bw\\u00ed\\u00ed ak\\u01dd nt\\u025bk\",\n      \"\\u014bw\\u00ed\\u00ed ak\\u01dd nt\\u025bk di b\\u0254\\u0301k\",\n      \"\\u014bw\\u00ed\\u00ed ak\\u01dd nt\\u025bk di b\\u025b\\u0301\\u025b\"\n    ],\n    \"SHORTDAY\": [\n      \"s\\u0254\\u0301n\",\n      \"l\\u01ddn\",\n      \"maa\",\n      \"m\\u025bk\",\n      \"j\\u01dd\\u01dd\",\n      \"j\\u00fam\",\n      \"sam\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u014b1\",\n      \"\\u014b2\",\n      \"\\u014b3\",\n      \"\\u014b4\",\n      \"\\u014b5\",\n      \"\\u014b6\",\n      \"\\u014b7\",\n      \"\\u014b8\",\n      \"\\u014b9\",\n      \"\\u014b10\",\n      \"\\u014b11\",\n      \"\\u014b12\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ksf-cm\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ksf.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"s\\u00e1r\\u00faw\\u00e1\",\n      \"c\\u025b\\u025b\\u0301nko\"\n    ],\n    \"DAY\": [\n      \"s\\u0254\\u0301nd\\u01dd\",\n      \"l\\u01ddnd\\u00ed\",\n      \"maad\\u00ed\",\n      \"m\\u025bkr\\u025bd\\u00ed\",\n      \"j\\u01dd\\u01ddd\\u00ed\",\n      \"j\\u00famb\\u00e1\",\n      \"samd\\u00ed\"\n    ],\n    \"ERANAMES\": [\n      \"di Y\\u025b\\u0301sus ak\\u00e1 y\\u00e1l\\u025b\",\n      \"c\\u00e1m\\u025b\\u025bn k\\u01dd k\\u01ddb\\u0254pka Y\"\n    ],\n    \"ERAS\": [\n      \"d.Y.\",\n      \"k.Y.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u014bw\\u00ed\\u00ed a nt\\u0254\\u0301nt\\u0254\",\n      \"\\u014bw\\u00ed\\u00ed ak\\u01dd b\\u025b\\u0301\\u025b\",\n      \"\\u014bw\\u00ed\\u00ed ak\\u01dd r\\u00e1\\u00e1\",\n      \"\\u014bw\\u00ed\\u00ed ak\\u01dd nin\",\n      \"\\u014bw\\u00ed\\u00ed ak\\u01dd t\\u00e1an\",\n      \"\\u014bw\\u00ed\\u00ed ak\\u01dd t\\u00e1af\\u0254k\",\n      \"\\u014bw\\u00ed\\u00ed ak\\u01dd t\\u00e1ab\\u025b\\u025b\",\n      \"\\u014bw\\u00ed\\u00ed ak\\u01dd t\\u00e1araa\",\n      \"\\u014bw\\u00ed\\u00ed ak\\u01dd t\\u00e1anin\",\n      \"\\u014bw\\u00ed\\u00ed ak\\u01dd nt\\u025bk\",\n      \"\\u014bw\\u00ed\\u00ed ak\\u01dd nt\\u025bk di b\\u0254\\u0301k\",\n      \"\\u014bw\\u00ed\\u00ed ak\\u01dd nt\\u025bk di b\\u025b\\u0301\\u025b\"\n    ],\n    \"SHORTDAY\": [\n      \"s\\u0254\\u0301n\",\n      \"l\\u01ddn\",\n      \"maa\",\n      \"m\\u025bk\",\n      \"j\\u01dd\\u01dd\",\n      \"j\\u00fam\",\n      \"sam\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u014b1\",\n      \"\\u014b2\",\n      \"\\u014b3\",\n      \"\\u014b4\",\n      \"\\u014b5\",\n      \"\\u014b6\",\n      \"\\u014b7\",\n      \"\\u014b8\",\n      \"\\u014b9\",\n      \"\\u014b10\",\n      \"\\u014b11\",\n      \"\\u014b12\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ksf\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ksh-de.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Uhr v\\u00f6rmiddaachs\",\n      \"Uhr nommendaachs\"\n    ],\n    \"DAY\": [\n      \"Sunndaach\",\n      \"Moondaach\",\n      \"Dinnsdaach\",\n      \"Metwoch\",\n      \"Dunnersdaach\",\n      \"Friidaach\",\n      \"Samsdaach\"\n    ],\n    \"ERANAMES\": [\n      \"v\\u00fcr Chrestus\",\n      \"noh Chrestus\"\n    ],\n    \"ERAS\": [\n      \"v. Chr.\",\n      \"n. Chr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Jannewa\",\n      \"F\\u00e4browa\",\n      \"M\\u00e4\\u00e4z\",\n      \"Aprell\",\n      \"M\\u00e4i\",\n      \"Juuni\",\n      \"Juuli\",\n      \"Oujo\\u00df\",\n      \"Sept\\u00e4mber\",\n      \"Oktoober\",\n      \"Nov\\u00e4mber\",\n      \"Dez\\u00e4mber\"\n    ],\n    \"SHORTDAY\": [\n      \"Su.\",\n      \"Mo.\",\n      \"Di.\",\n      \"Me.\",\n      \"Du.\",\n      \"Fr.\",\n      \"Sa.\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"F\\u00e4b\",\n      \"M\\u00e4z\",\n      \"Apr\",\n      \"M\\u00e4i\",\n      \"Jun\",\n      \"Jul\",\n      \"Ouj\",\n      \"S\\u00e4p\",\n      \"Okt\",\n      \"Nov\",\n      \"Dez\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, 'd\\u00e4' d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d. MMM. y HH:mm:ss\",\n    \"mediumDate\": \"d. MMM. y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d. M. y HH:mm\",\n    \"shortDate\": \"d. M. y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ksh-de\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ksh.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Uhr v\\u00f6rmiddaachs\",\n      \"Uhr nommendaachs\"\n    ],\n    \"DAY\": [\n      \"Sunndaach\",\n      \"Moondaach\",\n      \"Dinnsdaach\",\n      \"Metwoch\",\n      \"Dunnersdaach\",\n      \"Friidaach\",\n      \"Samsdaach\"\n    ],\n    \"ERANAMES\": [\n      \"v\\u00fcr Chrestus\",\n      \"noh Chrestus\"\n    ],\n    \"ERAS\": [\n      \"v. Chr.\",\n      \"n. Chr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Jannewa\",\n      \"F\\u00e4browa\",\n      \"M\\u00e4\\u00e4z\",\n      \"Aprell\",\n      \"M\\u00e4i\",\n      \"Juuni\",\n      \"Juuli\",\n      \"Oujo\\u00df\",\n      \"Sept\\u00e4mber\",\n      \"Oktoober\",\n      \"Nov\\u00e4mber\",\n      \"Dez\\u00e4mber\"\n    ],\n    \"SHORTDAY\": [\n      \"Su.\",\n      \"Mo.\",\n      \"Di.\",\n      \"Me.\",\n      \"Du.\",\n      \"Fr.\",\n      \"Sa.\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"F\\u00e4b\",\n      \"M\\u00e4z\",\n      \"Apr\",\n      \"M\\u00e4i\",\n      \"Jun\",\n      \"Jul\",\n      \"Ouj\",\n      \"S\\u00e4p\",\n      \"Okt\",\n      \"Nov\",\n      \"Dez\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, 'd\\u00e4' d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d. MMM. y HH:mm:ss\",\n    \"mediumDate\": \"d. MMM. y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d. M. y HH:mm\",\n    \"shortDate\": \"d. M. y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ksh\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_kw-gb.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"dy Sul\",\n      \"dy Lun\",\n      \"dy Meurth\",\n      \"dy Merher\",\n      \"dy Yow\",\n      \"dy Gwener\",\n      \"dy Sadorn\"\n    ],\n    \"ERANAMES\": [\n      \"RC\",\n      \"AD\"\n    ],\n    \"ERAS\": [\n      \"RC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"mis Genver\",\n      \"mis Hwevrer\",\n      \"mis Meurth\",\n      \"mis Ebrel\",\n      \"mis Me\",\n      \"mis Metheven\",\n      \"mis Gortheren\",\n      \"mis Est\",\n      \"mis Gwynngala\",\n      \"mis Hedra\",\n      \"mis Du\",\n      \"mis Kevardhu\"\n    ],\n    \"SHORTDAY\": [\n      \"Sul\",\n      \"Lun\",\n      \"Mth\",\n      \"Mhr\",\n      \"Yow\",\n      \"Gwe\",\n      \"Sad\"\n    ],\n    \"SHORTMONTH\": [\n      \"Gen\",\n      \"Hwe\",\n      \"Meu\",\n      \"Ebr\",\n      \"Me\",\n      \"Met\",\n      \"Gor\",\n      \"Est\",\n      \"Gwn\",\n      \"Hed\",\n      \"Du\",\n      \"Kev\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a3\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"kw-gb\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_kw.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"dy Sul\",\n      \"dy Lun\",\n      \"dy Meurth\",\n      \"dy Merher\",\n      \"dy Yow\",\n      \"dy Gwener\",\n      \"dy Sadorn\"\n    ],\n    \"ERANAMES\": [\n      \"RC\",\n      \"AD\"\n    ],\n    \"ERAS\": [\n      \"RC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"mis Genver\",\n      \"mis Hwevrer\",\n      \"mis Meurth\",\n      \"mis Ebrel\",\n      \"mis Me\",\n      \"mis Metheven\",\n      \"mis Gortheren\",\n      \"mis Est\",\n      \"mis Gwynngala\",\n      \"mis Hedra\",\n      \"mis Du\",\n      \"mis Kevardhu\"\n    ],\n    \"SHORTDAY\": [\n      \"Sul\",\n      \"Lun\",\n      \"Mth\",\n      \"Mhr\",\n      \"Yow\",\n      \"Gwe\",\n      \"Sad\"\n    ],\n    \"SHORTMONTH\": [\n      \"Gen\",\n      \"Hwe\",\n      \"Meu\",\n      \"Ebr\",\n      \"Me\",\n      \"Met\",\n      \"Gor\",\n      \"Est\",\n      \"Gwn\",\n      \"Hed\",\n      \"Du\",\n      \"Kev\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a3\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"kw\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ky-cyrl-kg.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0442\\u0430\\u04a3\\u043a\\u044b\",\n      \"\\u0442\\u04af\\u0448\\u0442\\u04e9\\u043d \\u043a\\u0438\\u0439\\u0438\\u043d\"\n    ],\n    \"DAY\": [\n      \"\\u0436\\u0435\\u043a\\u0448\\u0435\\u043c\\u0431\\u0438\",\n      \"\\u0434\\u04af\\u0439\\u0448\\u04e9\\u043c\\u0431\\u04af\",\n      \"\\u0448\\u0435\\u0439\\u0448\\u0435\\u043c\\u0431\\u0438\",\n      \"\\u0448\\u0430\\u0440\\u0448\\u0435\\u043c\\u0431\\u0438\",\n      \"\\u0431\\u0435\\u0439\\u0448\\u0435\\u043c\\u0431\\u0438\",\n      \"\\u0436\\u0443\\u043c\\u0430\",\n      \"\\u0438\\u0448\\u0435\\u043c\\u0431\\u0438\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0431\\u0438\\u0437\\u0434\\u0438\\u043d \\u0437\\u0430\\u043c\\u0430\\u043d\\u0433\\u0430 \\u0447\\u0435\\u0439\\u0438\\u043d\",\n      \"\\u0431\\u0438\\u0437\\u0434\\u0438\\u043d \\u0437\\u0430\\u043c\\u0430\\u043d\"\n    ],\n    \"ERAS\": [\n      \"\\u0431.\\u0437.\\u0447.\",\n      \"\\u0431.\\u0437.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u044f\\u043d\\u0432\\u0430\\u0440\\u044c\",\n      \"\\u0444\\u0435\\u0432\\u0440\\u0430\\u043b\\u044c\",\n      \"\\u043c\\u0430\\u0440\\u0442\",\n      \"\\u0430\\u043f\\u0440\\u0435\\u043b\\u044c\",\n      \"\\u043c\\u0430\\u0439\",\n      \"\\u0438\\u044e\\u043d\\u044c\",\n      \"\\u0438\\u044e\\u043b\\u044c\",\n      \"\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\",\n      \"\\u0441\\u0435\\u043d\\u0442\\u044f\\u0431\\u0440\\u044c\",\n      \"\\u043e\\u043a\\u0442\\u044f\\u0431\\u0440\\u044c\",\n      \"\\u043d\\u043e\\u044f\\u0431\\u0440\\u044c\",\n      \"\\u0434\\u0435\\u043a\\u0430\\u0431\\u0440\\u044c\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0436\\u0435\\u043a.\",\n      \"\\u0434\\u04af\\u0439.\",\n      \"\\u0448\\u0435\\u0439\\u0448.\",\n      \"\\u0448\\u0430\\u0440\\u0448.\",\n      \"\\u0431\\u0435\\u0439\\u0448.\",\n      \"\\u0436\\u0443\\u043c\\u0430\",\n      \"\\u0438\\u0448\\u043c.\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u044f\\u043d\\u0432.\",\n      \"\\u0444\\u0435\\u0432.\",\n      \"\\u043c\\u0430\\u0440.\",\n      \"\\u0430\\u043f\\u0440.\",\n      \"\\u043c\\u0430\\u0439\",\n      \"\\u0438\\u044e\\u043d.\",\n      \"\\u0438\\u044e\\u043b.\",\n      \"\\u0430\\u0432\\u0433.\",\n      \"\\u0441\\u0435\\u043d.\",\n      \"\\u043e\\u043a\\u0442.\",\n      \"\\u043d\\u043e\\u044f.\",\n      \"\\u0434\\u0435\\u043a.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d-MMMM, y-'\\u0436'.\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"KGS\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ky-cyrl-kg\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ky-cyrl.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0442\\u0430\\u04a3\\u043a\\u044b\",\n      \"\\u0442\\u04af\\u0448\\u0442\\u04e9\\u043d \\u043a\\u0438\\u0439\\u0438\\u043d\"\n    ],\n    \"DAY\": [\n      \"\\u0436\\u0435\\u043a\\u0448\\u0435\\u043c\\u0431\\u0438\",\n      \"\\u0434\\u04af\\u0439\\u0448\\u04e9\\u043c\\u0431\\u04af\",\n      \"\\u0448\\u0435\\u0439\\u0448\\u0435\\u043c\\u0431\\u0438\",\n      \"\\u0448\\u0430\\u0440\\u0448\\u0435\\u043c\\u0431\\u0438\",\n      \"\\u0431\\u0435\\u0439\\u0448\\u0435\\u043c\\u0431\\u0438\",\n      \"\\u0436\\u0443\\u043c\\u0430\",\n      \"\\u0438\\u0448\\u0435\\u043c\\u0431\\u0438\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0431\\u0438\\u0437\\u0434\\u0438\\u043d \\u0437\\u0430\\u043c\\u0430\\u043d\\u0433\\u0430 \\u0447\\u0435\\u0439\\u0438\\u043d\",\n      \"\\u0431\\u0438\\u0437\\u0434\\u0438\\u043d \\u0437\\u0430\\u043c\\u0430\\u043d\"\n    ],\n    \"ERAS\": [\n      \"\\u0431.\\u0437.\\u0447.\",\n      \"\\u0431.\\u0437.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u044f\\u043d\\u0432\\u0430\\u0440\\u044c\",\n      \"\\u0444\\u0435\\u0432\\u0440\\u0430\\u043b\\u044c\",\n      \"\\u043c\\u0430\\u0440\\u0442\",\n      \"\\u0430\\u043f\\u0440\\u0435\\u043b\\u044c\",\n      \"\\u043c\\u0430\\u0439\",\n      \"\\u0438\\u044e\\u043d\\u044c\",\n      \"\\u0438\\u044e\\u043b\\u044c\",\n      \"\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\",\n      \"\\u0441\\u0435\\u043d\\u0442\\u044f\\u0431\\u0440\\u044c\",\n      \"\\u043e\\u043a\\u0442\\u044f\\u0431\\u0440\\u044c\",\n      \"\\u043d\\u043e\\u044f\\u0431\\u0440\\u044c\",\n      \"\\u0434\\u0435\\u043a\\u0430\\u0431\\u0440\\u044c\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0436\\u0435\\u043a.\",\n      \"\\u0434\\u04af\\u0439.\",\n      \"\\u0448\\u0435\\u0439\\u0448.\",\n      \"\\u0448\\u0430\\u0440\\u0448.\",\n      \"\\u0431\\u0435\\u0439\\u0448.\",\n      \"\\u0436\\u0443\\u043c\\u0430\",\n      \"\\u0438\\u0448\\u043c.\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u044f\\u043d\\u0432.\",\n      \"\\u0444\\u0435\\u0432.\",\n      \"\\u043c\\u0430\\u0440.\",\n      \"\\u0430\\u043f\\u0440.\",\n      \"\\u043c\\u0430\\u0439\",\n      \"\\u0438\\u044e\\u043d.\",\n      \"\\u0438\\u044e\\u043b.\",\n      \"\\u0430\\u0432\\u0433.\",\n      \"\\u0441\\u0435\\u043d.\",\n      \"\\u043e\\u043a\\u0442.\",\n      \"\\u043d\\u043e\\u044f.\",\n      \"\\u0434\\u0435\\u043a.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d-MMMM, y-'\\u0436'.\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"KGS\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ky-cyrl\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ky.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0442\\u0430\\u04a3\\u043a\\u044b\",\n      \"\\u0442\\u04af\\u0448\\u0442\\u04e9\\u043d \\u043a\\u0438\\u0439\\u0438\\u043d\"\n    ],\n    \"DAY\": [\n      \"\\u0436\\u0435\\u043a\\u0448\\u0435\\u043c\\u0431\\u0438\",\n      \"\\u0434\\u04af\\u0439\\u0448\\u04e9\\u043c\\u0431\\u04af\",\n      \"\\u0448\\u0435\\u0439\\u0448\\u0435\\u043c\\u0431\\u0438\",\n      \"\\u0448\\u0430\\u0440\\u0448\\u0435\\u043c\\u0431\\u0438\",\n      \"\\u0431\\u0435\\u0439\\u0448\\u0435\\u043c\\u0431\\u0438\",\n      \"\\u0436\\u0443\\u043c\\u0430\",\n      \"\\u0438\\u0448\\u0435\\u043c\\u0431\\u0438\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0431\\u0438\\u0437\\u0434\\u0438\\u043d \\u0437\\u0430\\u043c\\u0430\\u043d\\u0433\\u0430 \\u0447\\u0435\\u0439\\u0438\\u043d\",\n      \"\\u0431\\u0438\\u0437\\u0434\\u0438\\u043d \\u0437\\u0430\\u043c\\u0430\\u043d\"\n    ],\n    \"ERAS\": [\n      \"\\u0431.\\u0437.\\u0447.\",\n      \"\\u0431.\\u0437.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u044f\\u043d\\u0432\\u0430\\u0440\\u044c\",\n      \"\\u0444\\u0435\\u0432\\u0440\\u0430\\u043b\\u044c\",\n      \"\\u043c\\u0430\\u0440\\u0442\",\n      \"\\u0430\\u043f\\u0440\\u0435\\u043b\\u044c\",\n      \"\\u043c\\u0430\\u0439\",\n      \"\\u0438\\u044e\\u043d\\u044c\",\n      \"\\u0438\\u044e\\u043b\\u044c\",\n      \"\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\",\n      \"\\u0441\\u0435\\u043d\\u0442\\u044f\\u0431\\u0440\\u044c\",\n      \"\\u043e\\u043a\\u0442\\u044f\\u0431\\u0440\\u044c\",\n      \"\\u043d\\u043e\\u044f\\u0431\\u0440\\u044c\",\n      \"\\u0434\\u0435\\u043a\\u0430\\u0431\\u0440\\u044c\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0436\\u0435\\u043a.\",\n      \"\\u0434\\u04af\\u0439.\",\n      \"\\u0448\\u0435\\u0439\\u0448.\",\n      \"\\u0448\\u0430\\u0440\\u0448.\",\n      \"\\u0431\\u0435\\u0439\\u0448.\",\n      \"\\u0436\\u0443\\u043c\\u0430\",\n      \"\\u0438\\u0448\\u043c.\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u044f\\u043d\\u0432.\",\n      \"\\u0444\\u0435\\u0432.\",\n      \"\\u043c\\u0430\\u0440.\",\n      \"\\u0430\\u043f\\u0440.\",\n      \"\\u043c\\u0430\\u0439\",\n      \"\\u0438\\u044e\\u043d.\",\n      \"\\u0438\\u044e\\u043b.\",\n      \"\\u0430\\u0432\\u0433.\",\n      \"\\u0441\\u0435\\u043d.\",\n      \"\\u043e\\u043a\\u0442.\",\n      \"\\u043d\\u043e\\u044f.\",\n      \"\\u0434\\u0435\\u043a.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d-MMMM, y-'\\u0436'.\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"KGS\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ky\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_lag-tz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"TOO\",\n      \"MUU\"\n    ],\n    \"DAY\": [\n      \"Jumap\\u00ediri\",\n      \"Jumat\\u00e1tu\",\n      \"Juma\\u00edne\",\n      \"Jumat\\u00e1ano\",\n      \"Alam\\u00edisi\",\n      \"Ijum\\u00e1a\",\n      \"Jumam\\u00f3osi\"\n    ],\n    \"ERANAMES\": [\n      \"K\\u0268r\\u0268sit\\u0289 s\\u0268 anavyaal\",\n      \"K\\u0268r\\u0268sit\\u0289 akavyaalwe\"\n    ],\n    \"ERAS\": [\n      \"KSA\",\n      \"KA\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"K\\u0289f\\u00fangat\\u0268\",\n      \"K\\u0289naan\\u0268\",\n      \"K\\u0289keenda\",\n      \"Kwiikumi\",\n      \"Kwiinyamb\\u00e1la\",\n      \"Kwiidwaata\",\n      \"K\\u0289m\\u0289\\u0289nch\\u0268\",\n      \"K\\u0289v\\u0268\\u0268r\\u0268\",\n      \"K\\u0289saat\\u0289\",\n      \"Kwiinyi\",\n      \"K\\u0289saano\",\n      \"K\\u0289sasat\\u0289\"\n    ],\n    \"SHORTDAY\": [\n      \"P\\u00edili\",\n      \"T\\u00e1atu\",\n      \"\\u00cdne\",\n      \"T\\u00e1ano\",\n      \"Alh\",\n      \"Ijm\",\n      \"M\\u00f3osi\"\n    ],\n    \"SHORTMONTH\": [\n      \"F\\u00fangat\\u0268\",\n      \"Naan\\u0268\",\n      \"Keenda\",\n      \"Ik\\u00fami\",\n      \"Inyambala\",\n      \"Idwaata\",\n      \"M\\u0289\\u0289nch\\u0268\",\n      \"V\\u0268\\u0268r\\u0268\",\n      \"Saat\\u0289\",\n      \"Inyi\",\n      \"Saano\",\n      \"Sasat\\u0289\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"TSh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"lag-tz\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_lag.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"TOO\",\n      \"MUU\"\n    ],\n    \"DAY\": [\n      \"Jumap\\u00ediri\",\n      \"Jumat\\u00e1tu\",\n      \"Juma\\u00edne\",\n      \"Jumat\\u00e1ano\",\n      \"Alam\\u00edisi\",\n      \"Ijum\\u00e1a\",\n      \"Jumam\\u00f3osi\"\n    ],\n    \"ERANAMES\": [\n      \"K\\u0268r\\u0268sit\\u0289 s\\u0268 anavyaal\",\n      \"K\\u0268r\\u0268sit\\u0289 akavyaalwe\"\n    ],\n    \"ERAS\": [\n      \"KSA\",\n      \"KA\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"K\\u0289f\\u00fangat\\u0268\",\n      \"K\\u0289naan\\u0268\",\n      \"K\\u0289keenda\",\n      \"Kwiikumi\",\n      \"Kwiinyamb\\u00e1la\",\n      \"Kwiidwaata\",\n      \"K\\u0289m\\u0289\\u0289nch\\u0268\",\n      \"K\\u0289v\\u0268\\u0268r\\u0268\",\n      \"K\\u0289saat\\u0289\",\n      \"Kwiinyi\",\n      \"K\\u0289saano\",\n      \"K\\u0289sasat\\u0289\"\n    ],\n    \"SHORTDAY\": [\n      \"P\\u00edili\",\n      \"T\\u00e1atu\",\n      \"\\u00cdne\",\n      \"T\\u00e1ano\",\n      \"Alh\",\n      \"Ijm\",\n      \"M\\u00f3osi\"\n    ],\n    \"SHORTMONTH\": [\n      \"F\\u00fangat\\u0268\",\n      \"Naan\\u0268\",\n      \"Keenda\",\n      \"Ik\\u00fami\",\n      \"Inyambala\",\n      \"Idwaata\",\n      \"M\\u0289\\u0289nch\\u0268\",\n      \"V\\u0268\\u0268r\\u0268\",\n      \"Saat\\u0289\",\n      \"Inyi\",\n      \"Saano\",\n      \"Sasat\\u0289\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"TSh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"lag\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_lb-lu.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"moies\",\n      \"nom\\u00ebttes\"\n    ],\n    \"DAY\": [\n      \"Sonndeg\",\n      \"M\\u00e9indeg\",\n      \"D\\u00ebnschdeg\",\n      \"M\\u00ebttwoch\",\n      \"Donneschdeg\",\n      \"Freideg\",\n      \"Samschdeg\"\n    ],\n    \"ERANAMES\": [\n      \"v. Chr.\",\n      \"n. Chr.\"\n    ],\n    \"ERAS\": [\n      \"v. Chr.\",\n      \"n. Chr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januar\",\n      \"Februar\",\n      \"M\\u00e4erz\",\n      \"Abr\\u00ebll\",\n      \"Mee\",\n      \"Juni\",\n      \"Juli\",\n      \"August\",\n      \"September\",\n      \"Oktober\",\n      \"November\",\n      \"Dezember\"\n    ],\n    \"SHORTDAY\": [\n      \"Son.\",\n      \"M\\u00e9i.\",\n      \"D\\u00ebn.\",\n      \"M\\u00ebt.\",\n      \"Don.\",\n      \"Fre.\",\n      \"Sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan.\",\n      \"Feb.\",\n      \"M\\u00e4e.\",\n      \"Abr.\",\n      \"Mee\",\n      \"Juni\",\n      \"Juli\",\n      \"Aug.\",\n      \"Sep.\",\n      \"Okt.\",\n      \"Nov.\",\n      \"Dez.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d. MMM y HH:mm:ss\",\n    \"mediumDate\": \"d. MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"lb-lu\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_lb.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"moies\",\n      \"nom\\u00ebttes\"\n    ],\n    \"DAY\": [\n      \"Sonndeg\",\n      \"M\\u00e9indeg\",\n      \"D\\u00ebnschdeg\",\n      \"M\\u00ebttwoch\",\n      \"Donneschdeg\",\n      \"Freideg\",\n      \"Samschdeg\"\n    ],\n    \"ERANAMES\": [\n      \"v. Chr.\",\n      \"n. Chr.\"\n    ],\n    \"ERAS\": [\n      \"v. Chr.\",\n      \"n. Chr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januar\",\n      \"Februar\",\n      \"M\\u00e4erz\",\n      \"Abr\\u00ebll\",\n      \"Mee\",\n      \"Juni\",\n      \"Juli\",\n      \"August\",\n      \"September\",\n      \"Oktober\",\n      \"November\",\n      \"Dezember\"\n    ],\n    \"SHORTDAY\": [\n      \"Son.\",\n      \"M\\u00e9i.\",\n      \"D\\u00ebn.\",\n      \"M\\u00ebt.\",\n      \"Don.\",\n      \"Fre.\",\n      \"Sam.\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan.\",\n      \"Feb.\",\n      \"M\\u00e4e.\",\n      \"Abr.\",\n      \"Mee\",\n      \"Juni\",\n      \"Juli\",\n      \"Aug.\",\n      \"Sep.\",\n      \"Okt.\",\n      \"Nov.\",\n      \"Dez.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d. MMM y HH:mm:ss\",\n    \"mediumDate\": \"d. MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"lb\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_lg-ug.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sabbiiti\",\n      \"Balaza\",\n      \"Lwakubiri\",\n      \"Lwakusatu\",\n      \"Lwakuna\",\n      \"Lwakutaano\",\n      \"Lwamukaaga\"\n    ],\n    \"ERANAMES\": [\n      \"Kulisito nga tannaza\",\n      \"Bukya Kulisito Azaal\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Janwaliyo\",\n      \"Febwaliyo\",\n      \"Marisi\",\n      \"Apuli\",\n      \"Maayi\",\n      \"Juuni\",\n      \"Julaayi\",\n      \"Agusito\",\n      \"Sebuttemba\",\n      \"Okitobba\",\n      \"Novemba\",\n      \"Desemba\"\n    ],\n    \"SHORTDAY\": [\n      \"Sab\",\n      \"Bal\",\n      \"Lw2\",\n      \"Lw3\",\n      \"Lw4\",\n      \"Lw5\",\n      \"Lw6\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apu\",\n      \"Maa\",\n      \"Juu\",\n      \"Jul\",\n      \"Agu\",\n      \"Seb\",\n      \"Oki\",\n      \"Nov\",\n      \"Des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"UGX\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"lg-ug\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_lg.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sabbiiti\",\n      \"Balaza\",\n      \"Lwakubiri\",\n      \"Lwakusatu\",\n      \"Lwakuna\",\n      \"Lwakutaano\",\n      \"Lwamukaaga\"\n    ],\n    \"ERANAMES\": [\n      \"Kulisito nga tannaza\",\n      \"Bukya Kulisito Azaal\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Janwaliyo\",\n      \"Febwaliyo\",\n      \"Marisi\",\n      \"Apuli\",\n      \"Maayi\",\n      \"Juuni\",\n      \"Julaayi\",\n      \"Agusito\",\n      \"Sebuttemba\",\n      \"Okitobba\",\n      \"Novemba\",\n      \"Desemba\"\n    ],\n    \"SHORTDAY\": [\n      \"Sab\",\n      \"Bal\",\n      \"Lw2\",\n      \"Lw3\",\n      \"Lw4\",\n      \"Lw5\",\n      \"Lw6\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apu\",\n      \"Maa\",\n      \"Juu\",\n      \"Jul\",\n      \"Agu\",\n      \"Seb\",\n      \"Oki\",\n      \"Nov\",\n      \"Des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"UGX\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"lg\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_lkt-us.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"A\\u014bp\\u00e9tuwak\\u021fa\\u014b\",\n      \"A\\u014bp\\u00e9tuwa\\u014b\\u017ei\",\n      \"A\\u014bp\\u00e9tunu\\u014bpa\",\n      \"A\\u014bp\\u00e9tuyamni\",\n      \"A\\u014bp\\u00e9tutopa\",\n      \"A\\u014bp\\u00e9tuzapta\\u014b\",\n      \"Ow\\u00e1\\u014bgyu\\u017ea\\u017eapi\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Wi\\u00f3the\\u021fika W\\u00ed\",\n      \"Thiy\\u00f3\\u021feyu\\u014bka W\\u00ed\",\n      \"I\\u0161t\\u00e1wi\\u010dhayaza\\u014b W\\u00ed\",\n      \"P\\u021fe\\u017e\\u00edt\\u021fo W\\u00ed\",\n      \"\\u010cha\\u014bw\\u00e1pet\\u021fo W\\u00ed\",\n      \"W\\u00edpazuk\\u021fa-wa\\u0161t\\u00e9 W\\u00ed\",\n      \"\\u010cha\\u014bp\\u021f\\u00e1sapa W\\u00ed\",\n      \"Was\\u00fat\\u021fu\\u014b W\\u00ed\",\n      \"\\u010cha\\u014bw\\u00e1pe\\u01e7i W\\u00ed\",\n      \"\\u010cha\\u014bw\\u00e1pe-kasn\\u00e1 W\\u00ed\",\n      \"Wan\\u00edyetu W\\u00ed\",\n      \"T\\u021fah\\u00e9kap\\u0161u\\u014b W\\u00ed\"\n    ],\n    \"SHORTDAY\": [\n      \"A\\u014bp\\u00e9tuwak\\u021fa\\u014b\",\n      \"A\\u014bp\\u00e9tuwa\\u014b\\u017ei\",\n      \"A\\u014bp\\u00e9tunu\\u014bpa\",\n      \"A\\u014bp\\u00e9tuyamni\",\n      \"A\\u014bp\\u00e9tutopa\",\n      \"A\\u014bp\\u00e9tuzapta\\u014b\",\n      \"Ow\\u00e1\\u014bgyu\\u017ea\\u017eapi\"\n    ],\n    \"SHORTMONTH\": [\n      \"Wi\\u00f3the\\u021fika W\\u00ed\",\n      \"Thiy\\u00f3\\u021feyu\\u014bka W\\u00ed\",\n      \"I\\u0161t\\u00e1wi\\u010dhayaza\\u014b W\\u00ed\",\n      \"P\\u021fe\\u017e\\u00edt\\u021fo W\\u00ed\",\n      \"\\u010cha\\u014bw\\u00e1pet\\u021fo W\\u00ed\",\n      \"W\\u00edpazuk\\u021fa-wa\\u0161t\\u00e9 W\\u00ed\",\n      \"\\u010cha\\u014bp\\u021f\\u00e1sapa W\\u00ed\",\n      \"Was\\u00fat\\u021fu\\u014b W\\u00ed\",\n      \"\\u010cha\\u014bw\\u00e1pe\\u01e7i W\\u00ed\",\n      \"\\u010cha\\u014bw\\u00e1pe-kasn\\u00e1 W\\u00ed\",\n      \"Wan\\u00edyetu W\\u00ed\",\n      \"T\\u021fah\\u00e9kap\\u0161u\\u014b W\\u00ed\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"MMMM d, y\",\n    \"medium\": \"MMM d, y h:mm:ss a\",\n    \"mediumDate\": \"MMM d, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"M/d/yy h:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"lkt-us\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_lkt.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"A\\u014bp\\u00e9tuwak\\u021fa\\u014b\",\n      \"A\\u014bp\\u00e9tuwa\\u014b\\u017ei\",\n      \"A\\u014bp\\u00e9tunu\\u014bpa\",\n      \"A\\u014bp\\u00e9tuyamni\",\n      \"A\\u014bp\\u00e9tutopa\",\n      \"A\\u014bp\\u00e9tuzapta\\u014b\",\n      \"Ow\\u00e1\\u014bgyu\\u017ea\\u017eapi\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Wi\\u00f3the\\u021fika W\\u00ed\",\n      \"Thiy\\u00f3\\u021feyu\\u014bka W\\u00ed\",\n      \"I\\u0161t\\u00e1wi\\u010dhayaza\\u014b W\\u00ed\",\n      \"P\\u021fe\\u017e\\u00edt\\u021fo W\\u00ed\",\n      \"\\u010cha\\u014bw\\u00e1pet\\u021fo W\\u00ed\",\n      \"W\\u00edpazuk\\u021fa-wa\\u0161t\\u00e9 W\\u00ed\",\n      \"\\u010cha\\u014bp\\u021f\\u00e1sapa W\\u00ed\",\n      \"Was\\u00fat\\u021fu\\u014b W\\u00ed\",\n      \"\\u010cha\\u014bw\\u00e1pe\\u01e7i W\\u00ed\",\n      \"\\u010cha\\u014bw\\u00e1pe-kasn\\u00e1 W\\u00ed\",\n      \"Wan\\u00edyetu W\\u00ed\",\n      \"T\\u021fah\\u00e9kap\\u0161u\\u014b W\\u00ed\"\n    ],\n    \"SHORTDAY\": [\n      \"A\\u014bp\\u00e9tuwak\\u021fa\\u014b\",\n      \"A\\u014bp\\u00e9tuwa\\u014b\\u017ei\",\n      \"A\\u014bp\\u00e9tunu\\u014bpa\",\n      \"A\\u014bp\\u00e9tuyamni\",\n      \"A\\u014bp\\u00e9tutopa\",\n      \"A\\u014bp\\u00e9tuzapta\\u014b\",\n      \"Ow\\u00e1\\u014bgyu\\u017ea\\u017eapi\"\n    ],\n    \"SHORTMONTH\": [\n      \"Wi\\u00f3the\\u021fika W\\u00ed\",\n      \"Thiy\\u00f3\\u021feyu\\u014bka W\\u00ed\",\n      \"I\\u0161t\\u00e1wi\\u010dhayaza\\u014b W\\u00ed\",\n      \"P\\u021fe\\u017e\\u00edt\\u021fo W\\u00ed\",\n      \"\\u010cha\\u014bw\\u00e1pet\\u021fo W\\u00ed\",\n      \"W\\u00edpazuk\\u021fa-wa\\u0161t\\u00e9 W\\u00ed\",\n      \"\\u010cha\\u014bp\\u021f\\u00e1sapa W\\u00ed\",\n      \"Was\\u00fat\\u021fu\\u014b W\\u00ed\",\n      \"\\u010cha\\u014bw\\u00e1pe\\u01e7i W\\u00ed\",\n      \"\\u010cha\\u014bw\\u00e1pe-kasn\\u00e1 W\\u00ed\",\n      \"Wan\\u00edyetu W\\u00ed\",\n      \"T\\u021fah\\u00e9kap\\u0161u\\u014b W\\u00ed\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"MMMM d, y\",\n    \"medium\": \"MMM d, y h:mm:ss a\",\n    \"mediumDate\": \"MMM d, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"M/d/yy h:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"lkt\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ln-ao.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"nt\\u0254\\u0301ng\\u0254\\u0301\",\n      \"mp\\u00f3kwa\"\n    ],\n    \"DAY\": [\n      \"eyenga\",\n      \"mok\\u0254l\\u0254 mwa yambo\",\n      \"mok\\u0254l\\u0254 mwa m\\u00edbal\\u00e9\",\n      \"mok\\u0254l\\u0254 mwa m\\u00eds\\u00e1to\",\n      \"mok\\u0254l\\u0254 ya m\\u00edn\\u00e9i\",\n      \"mok\\u0254l\\u0254 ya m\\u00edt\\u00e1no\",\n      \"mp\\u0254\\u0301s\\u0254\"\n    ],\n    \"ERANAMES\": [\n      \"Yambo ya Y\\u00e9zu Kr\\u00eds\",\n      \"Nsima ya Y\\u00e9zu Kr\\u00eds\"\n    ],\n    \"ERAS\": [\n      \"lib\\u00f3so ya\",\n      \"nsima ya Y\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"s\\u00e1nz\\u00e1 ya yambo\",\n      \"s\\u00e1nz\\u00e1 ya m\\u00edbal\\u00e9\",\n      \"s\\u00e1nz\\u00e1 ya m\\u00eds\\u00e1to\",\n      \"s\\u00e1nz\\u00e1 ya m\\u00ednei\",\n      \"s\\u00e1nz\\u00e1 ya m\\u00edt\\u00e1no\",\n      \"s\\u00e1nz\\u00e1 ya mot\\u00f3b\\u00e1\",\n      \"s\\u00e1nz\\u00e1 ya nsambo\",\n      \"s\\u00e1nz\\u00e1 ya mwambe\",\n      \"s\\u00e1nz\\u00e1 ya libwa\",\n      \"s\\u00e1nz\\u00e1 ya z\\u00f3mi\",\n      \"s\\u00e1nz\\u00e1 ya z\\u00f3mi na m\\u0254\\u030ck\\u0254\\u0301\",\n      \"s\\u00e1nz\\u00e1 ya z\\u00f3mi na m\\u00edbal\\u00e9\"\n    ],\n    \"SHORTDAY\": [\n      \"eye\",\n      \"ybo\",\n      \"mbl\",\n      \"mst\",\n      \"min\",\n      \"mtn\",\n      \"mps\"\n    ],\n    \"SHORTMONTH\": [\n      \"yan\",\n      \"fbl\",\n      \"msi\",\n      \"apl\",\n      \"mai\",\n      \"yun\",\n      \"yul\",\n      \"agt\",\n      \"stb\",\n      \"\\u0254tb\",\n      \"nvb\",\n      \"dsb\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Kz\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ln-ao\",\n  \"pluralCat\": function(n, opt_precision) {  if (n >= 0 && n <= 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ln-cd.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"nt\\u0254\\u0301ng\\u0254\\u0301\",\n      \"mp\\u00f3kwa\"\n    ],\n    \"DAY\": [\n      \"eyenga\",\n      \"mok\\u0254l\\u0254 mwa yambo\",\n      \"mok\\u0254l\\u0254 mwa m\\u00edbal\\u00e9\",\n      \"mok\\u0254l\\u0254 mwa m\\u00eds\\u00e1to\",\n      \"mok\\u0254l\\u0254 ya m\\u00edn\\u00e9i\",\n      \"mok\\u0254l\\u0254 ya m\\u00edt\\u00e1no\",\n      \"mp\\u0254\\u0301s\\u0254\"\n    ],\n    \"ERANAMES\": [\n      \"Yambo ya Y\\u00e9zu Kr\\u00eds\",\n      \"Nsima ya Y\\u00e9zu Kr\\u00eds\"\n    ],\n    \"ERAS\": [\n      \"lib\\u00f3so ya\",\n      \"nsima ya Y\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"s\\u00e1nz\\u00e1 ya yambo\",\n      \"s\\u00e1nz\\u00e1 ya m\\u00edbal\\u00e9\",\n      \"s\\u00e1nz\\u00e1 ya m\\u00eds\\u00e1to\",\n      \"s\\u00e1nz\\u00e1 ya m\\u00ednei\",\n      \"s\\u00e1nz\\u00e1 ya m\\u00edt\\u00e1no\",\n      \"s\\u00e1nz\\u00e1 ya mot\\u00f3b\\u00e1\",\n      \"s\\u00e1nz\\u00e1 ya nsambo\",\n      \"s\\u00e1nz\\u00e1 ya mwambe\",\n      \"s\\u00e1nz\\u00e1 ya libwa\",\n      \"s\\u00e1nz\\u00e1 ya z\\u00f3mi\",\n      \"s\\u00e1nz\\u00e1 ya z\\u00f3mi na m\\u0254\\u030ck\\u0254\\u0301\",\n      \"s\\u00e1nz\\u00e1 ya z\\u00f3mi na m\\u00edbal\\u00e9\"\n    ],\n    \"SHORTDAY\": [\n      \"eye\",\n      \"ybo\",\n      \"mbl\",\n      \"mst\",\n      \"min\",\n      \"mtn\",\n      \"mps\"\n    ],\n    \"SHORTMONTH\": [\n      \"yan\",\n      \"fbl\",\n      \"msi\",\n      \"apl\",\n      \"mai\",\n      \"yun\",\n      \"yul\",\n      \"agt\",\n      \"stb\",\n      \"\\u0254tb\",\n      \"nvb\",\n      \"dsb\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FrCD\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ln-cd\",\n  \"pluralCat\": function(n, opt_precision) {  if (n >= 0 && n <= 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ln-cf.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"nt\\u0254\\u0301ng\\u0254\\u0301\",\n      \"mp\\u00f3kwa\"\n    ],\n    \"DAY\": [\n      \"eyenga\",\n      \"mok\\u0254l\\u0254 mwa yambo\",\n      \"mok\\u0254l\\u0254 mwa m\\u00edbal\\u00e9\",\n      \"mok\\u0254l\\u0254 mwa m\\u00eds\\u00e1to\",\n      \"mok\\u0254l\\u0254 ya m\\u00edn\\u00e9i\",\n      \"mok\\u0254l\\u0254 ya m\\u00edt\\u00e1no\",\n      \"mp\\u0254\\u0301s\\u0254\"\n    ],\n    \"ERANAMES\": [\n      \"Yambo ya Y\\u00e9zu Kr\\u00eds\",\n      \"Nsima ya Y\\u00e9zu Kr\\u00eds\"\n    ],\n    \"ERAS\": [\n      \"lib\\u00f3so ya\",\n      \"nsima ya Y\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"s\\u00e1nz\\u00e1 ya yambo\",\n      \"s\\u00e1nz\\u00e1 ya m\\u00edbal\\u00e9\",\n      \"s\\u00e1nz\\u00e1 ya m\\u00eds\\u00e1to\",\n      \"s\\u00e1nz\\u00e1 ya m\\u00ednei\",\n      \"s\\u00e1nz\\u00e1 ya m\\u00edt\\u00e1no\",\n      \"s\\u00e1nz\\u00e1 ya mot\\u00f3b\\u00e1\",\n      \"s\\u00e1nz\\u00e1 ya nsambo\",\n      \"s\\u00e1nz\\u00e1 ya mwambe\",\n      \"s\\u00e1nz\\u00e1 ya libwa\",\n      \"s\\u00e1nz\\u00e1 ya z\\u00f3mi\",\n      \"s\\u00e1nz\\u00e1 ya z\\u00f3mi na m\\u0254\\u030ck\\u0254\\u0301\",\n      \"s\\u00e1nz\\u00e1 ya z\\u00f3mi na m\\u00edbal\\u00e9\"\n    ],\n    \"SHORTDAY\": [\n      \"eye\",\n      \"ybo\",\n      \"mbl\",\n      \"mst\",\n      \"min\",\n      \"mtn\",\n      \"mps\"\n    ],\n    \"SHORTMONTH\": [\n      \"yan\",\n      \"fbl\",\n      \"msi\",\n      \"apl\",\n      \"mai\",\n      \"yun\",\n      \"yul\",\n      \"agt\",\n      \"stb\",\n      \"\\u0254tb\",\n      \"nvb\",\n      \"dsb\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ln-cf\",\n  \"pluralCat\": function(n, opt_precision) {  if (n >= 0 && n <= 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ln-cg.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"nt\\u0254\\u0301ng\\u0254\\u0301\",\n      \"mp\\u00f3kwa\"\n    ],\n    \"DAY\": [\n      \"eyenga\",\n      \"mok\\u0254l\\u0254 mwa yambo\",\n      \"mok\\u0254l\\u0254 mwa m\\u00edbal\\u00e9\",\n      \"mok\\u0254l\\u0254 mwa m\\u00eds\\u00e1to\",\n      \"mok\\u0254l\\u0254 ya m\\u00edn\\u00e9i\",\n      \"mok\\u0254l\\u0254 ya m\\u00edt\\u00e1no\",\n      \"mp\\u0254\\u0301s\\u0254\"\n    ],\n    \"ERANAMES\": [\n      \"Yambo ya Y\\u00e9zu Kr\\u00eds\",\n      \"Nsima ya Y\\u00e9zu Kr\\u00eds\"\n    ],\n    \"ERAS\": [\n      \"lib\\u00f3so ya\",\n      \"nsima ya Y\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"s\\u00e1nz\\u00e1 ya yambo\",\n      \"s\\u00e1nz\\u00e1 ya m\\u00edbal\\u00e9\",\n      \"s\\u00e1nz\\u00e1 ya m\\u00eds\\u00e1to\",\n      \"s\\u00e1nz\\u00e1 ya m\\u00ednei\",\n      \"s\\u00e1nz\\u00e1 ya m\\u00edt\\u00e1no\",\n      \"s\\u00e1nz\\u00e1 ya mot\\u00f3b\\u00e1\",\n      \"s\\u00e1nz\\u00e1 ya nsambo\",\n      \"s\\u00e1nz\\u00e1 ya mwambe\",\n      \"s\\u00e1nz\\u00e1 ya libwa\",\n      \"s\\u00e1nz\\u00e1 ya z\\u00f3mi\",\n      \"s\\u00e1nz\\u00e1 ya z\\u00f3mi na m\\u0254\\u030ck\\u0254\\u0301\",\n      \"s\\u00e1nz\\u00e1 ya z\\u00f3mi na m\\u00edbal\\u00e9\"\n    ],\n    \"SHORTDAY\": [\n      \"eye\",\n      \"ybo\",\n      \"mbl\",\n      \"mst\",\n      \"min\",\n      \"mtn\",\n      \"mps\"\n    ],\n    \"SHORTMONTH\": [\n      \"yan\",\n      \"fbl\",\n      \"msi\",\n      \"apl\",\n      \"mai\",\n      \"yun\",\n      \"yul\",\n      \"agt\",\n      \"stb\",\n      \"\\u0254tb\",\n      \"nvb\",\n      \"dsb\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ln-cg\",\n  \"pluralCat\": function(n, opt_precision) {  if (n >= 0 && n <= 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ln.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"nt\\u0254\\u0301ng\\u0254\\u0301\",\n      \"mp\\u00f3kwa\"\n    ],\n    \"DAY\": [\n      \"eyenga\",\n      \"mok\\u0254l\\u0254 mwa yambo\",\n      \"mok\\u0254l\\u0254 mwa m\\u00edbal\\u00e9\",\n      \"mok\\u0254l\\u0254 mwa m\\u00eds\\u00e1to\",\n      \"mok\\u0254l\\u0254 ya m\\u00edn\\u00e9i\",\n      \"mok\\u0254l\\u0254 ya m\\u00edt\\u00e1no\",\n      \"mp\\u0254\\u0301s\\u0254\"\n    ],\n    \"ERANAMES\": [\n      \"Yambo ya Y\\u00e9zu Kr\\u00eds\",\n      \"Nsima ya Y\\u00e9zu Kr\\u00eds\"\n    ],\n    \"ERAS\": [\n      \"lib\\u00f3so ya\",\n      \"nsima ya Y\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"s\\u00e1nz\\u00e1 ya yambo\",\n      \"s\\u00e1nz\\u00e1 ya m\\u00edbal\\u00e9\",\n      \"s\\u00e1nz\\u00e1 ya m\\u00eds\\u00e1to\",\n      \"s\\u00e1nz\\u00e1 ya m\\u00ednei\",\n      \"s\\u00e1nz\\u00e1 ya m\\u00edt\\u00e1no\",\n      \"s\\u00e1nz\\u00e1 ya mot\\u00f3b\\u00e1\",\n      \"s\\u00e1nz\\u00e1 ya nsambo\",\n      \"s\\u00e1nz\\u00e1 ya mwambe\",\n      \"s\\u00e1nz\\u00e1 ya libwa\",\n      \"s\\u00e1nz\\u00e1 ya z\\u00f3mi\",\n      \"s\\u00e1nz\\u00e1 ya z\\u00f3mi na m\\u0254\\u030ck\\u0254\\u0301\",\n      \"s\\u00e1nz\\u00e1 ya z\\u00f3mi na m\\u00edbal\\u00e9\"\n    ],\n    \"SHORTDAY\": [\n      \"eye\",\n      \"ybo\",\n      \"mbl\",\n      \"mst\",\n      \"min\",\n      \"mtn\",\n      \"mps\"\n    ],\n    \"SHORTMONTH\": [\n      \"yan\",\n      \"fbl\",\n      \"msi\",\n      \"apl\",\n      \"mai\",\n      \"yun\",\n      \"yul\",\n      \"agt\",\n      \"stb\",\n      \"\\u0254tb\",\n      \"nvb\",\n      \"dsb\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FrCD\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ln\",\n  \"pluralCat\": function(n, opt_precision) {  if (n >= 0 && n <= 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_lo-la.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0e81\\u0ec8\\u0ead\\u0e99\\u0e97\\u0ec8\\u0ebd\\u0e87\",\n      \"\\u0eab\\u0ebc\\u0eb1\\u0e87\\u0e97\\u0ec8\\u0ebd\\u0e87\"\n    ],\n    \"DAY\": [\n      \"\\u0ea7\\u0eb1\\u0e99\\u0ead\\u0eb2\\u0e97\\u0eb4\\u0e94\",\n      \"\\u0ea7\\u0eb1\\u0e99\\u0e88\\u0eb1\\u0e99\",\n      \"\\u0ea7\\u0eb1\\u0e99\\u0ead\\u0eb1\\u0e87\\u0e84\\u0eb2\\u0e99\",\n      \"\\u0ea7\\u0eb1\\u0e99\\u0e9e\\u0eb8\\u0e94\",\n      \"\\u0ea7\\u0eb1\\u0e99\\u0e9e\\u0eb0\\u0eab\\u0eb1\\u0e94\",\n      \"\\u0ea7\\u0eb1\\u0e99\\u0eaa\\u0eb8\\u0e81\",\n      \"\\u0ea7\\u0eb1\\u0e99\\u0ec0\\u0eaa\\u0ebb\\u0eb2\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0e81\\u0ec8\\u0ead\\u0e99\\u0e84\\u0ea3\\u0eb4\\u0e94\\u0eaa\\u0eb1\\u0e81\\u0e81\\u0eb0\\u0ea5\\u0eb2\\u0e94\",\n      \"\\u0e84\\u0ea3\\u0eb4\\u0e94\\u0eaa\\u0eb1\\u0e81\\u0e81\\u0eb0\\u0ea5\\u0eb2\\u0e94\"\n    ],\n    \"ERAS\": [\n      \"\\u0e81\\u0ec8\\u0ead\\u0e99 \\u0e84.\\u0eaa.\",\n      \"\\u0e84.\\u0eaa.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u0ea1\\u0eb1\\u0e87\\u0e81\\u0ead\\u0e99\",\n      \"\\u0e81\\u0eb8\\u0ea1\\u0e9e\\u0eb2\",\n      \"\\u0ea1\\u0eb5\\u0e99\\u0eb2\",\n      \"\\u0ec0\\u0ea1\\u0eaa\\u0eb2\",\n      \"\\u0e9e\\u0eb6\\u0e94\\u0eaa\\u0eb0\\u0e9e\\u0eb2\",\n      \"\\u0ea1\\u0eb4\\u0e96\\u0eb8\\u0e99\\u0eb2\",\n      \"\\u0e81\\u0ecd\\u0ea5\\u0eb0\\u0e81\\u0ebb\\u0e94\",\n      \"\\u0eaa\\u0eb4\\u0e87\\u0eab\\u0eb2\",\n      \"\\u0e81\\u0eb1\\u0e99\\u0e8d\\u0eb2\",\n      \"\\u0e95\\u0eb8\\u0ea5\\u0eb2\",\n      \"\\u0e9e\\u0eb0\\u0e88\\u0eb4\\u0e81\",\n      \"\\u0e97\\u0eb1\\u0e99\\u0ea7\\u0eb2\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0ea7\\u0eb1\\u0e99\\u0ead\\u0eb2\\u0e97\\u0eb4\\u0e94\",\n      \"\\u0ea7\\u0eb1\\u0e99\\u0e88\\u0eb1\\u0e99\",\n      \"\\u0ea7\\u0eb1\\u0e99\\u0ead\\u0eb1\\u0e87\\u0e84\\u0eb2\\u0e99\",\n      \"\\u0ea7\\u0eb1\\u0e99\\u0e9e\\u0eb8\\u0e94\",\n      \"\\u0ea7\\u0eb1\\u0e99\\u0e9e\\u0eb0\\u0eab\\u0eb1\\u0e94\",\n      \"\\u0ea7\\u0eb1\\u0e99\\u0eaa\\u0eb8\\u0e81\",\n      \"\\u0ea7\\u0eb1\\u0e99\\u0ec0\\u0eaa\\u0ebb\\u0eb2\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0ea1.\\u0e81.\",\n      \"\\u0e81.\\u0e9e.\",\n      \"\\u0ea1.\\u0e99.\",\n      \"\\u0ea1.\\u0eaa.\",\n      \"\\u0e9e.\\u0e9e.\",\n      \"\\u0ea1\\u0eb4.\\u0e96.\",\n      \"\\u0e81.\\u0ea5.\",\n      \"\\u0eaa.\\u0eab.\",\n      \"\\u0e81.\\u0e8d.\",\n      \"\\u0e95.\\u0ea5.\",\n      \"\\u0e9e.\\u0e88.\",\n      \"\\u0e97.\\u0ea7.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE \\u0e97\\u0eb5 d MMMM G y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y H:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"d/M/y H:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ad\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"lo-la\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_lo.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0e81\\u0ec8\\u0ead\\u0e99\\u0e97\\u0ec8\\u0ebd\\u0e87\",\n      \"\\u0eab\\u0ebc\\u0eb1\\u0e87\\u0e97\\u0ec8\\u0ebd\\u0e87\"\n    ],\n    \"DAY\": [\n      \"\\u0ea7\\u0eb1\\u0e99\\u0ead\\u0eb2\\u0e97\\u0eb4\\u0e94\",\n      \"\\u0ea7\\u0eb1\\u0e99\\u0e88\\u0eb1\\u0e99\",\n      \"\\u0ea7\\u0eb1\\u0e99\\u0ead\\u0eb1\\u0e87\\u0e84\\u0eb2\\u0e99\",\n      \"\\u0ea7\\u0eb1\\u0e99\\u0e9e\\u0eb8\\u0e94\",\n      \"\\u0ea7\\u0eb1\\u0e99\\u0e9e\\u0eb0\\u0eab\\u0eb1\\u0e94\",\n      \"\\u0ea7\\u0eb1\\u0e99\\u0eaa\\u0eb8\\u0e81\",\n      \"\\u0ea7\\u0eb1\\u0e99\\u0ec0\\u0eaa\\u0ebb\\u0eb2\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0e81\\u0ec8\\u0ead\\u0e99\\u0e84\\u0ea3\\u0eb4\\u0e94\\u0eaa\\u0eb1\\u0e81\\u0e81\\u0eb0\\u0ea5\\u0eb2\\u0e94\",\n      \"\\u0e84\\u0ea3\\u0eb4\\u0e94\\u0eaa\\u0eb1\\u0e81\\u0e81\\u0eb0\\u0ea5\\u0eb2\\u0e94\"\n    ],\n    \"ERAS\": [\n      \"\\u0e81\\u0ec8\\u0ead\\u0e99 \\u0e84.\\u0eaa.\",\n      \"\\u0e84.\\u0eaa.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u0ea1\\u0eb1\\u0e87\\u0e81\\u0ead\\u0e99\",\n      \"\\u0e81\\u0eb8\\u0ea1\\u0e9e\\u0eb2\",\n      \"\\u0ea1\\u0eb5\\u0e99\\u0eb2\",\n      \"\\u0ec0\\u0ea1\\u0eaa\\u0eb2\",\n      \"\\u0e9e\\u0eb6\\u0e94\\u0eaa\\u0eb0\\u0e9e\\u0eb2\",\n      \"\\u0ea1\\u0eb4\\u0e96\\u0eb8\\u0e99\\u0eb2\",\n      \"\\u0e81\\u0ecd\\u0ea5\\u0eb0\\u0e81\\u0ebb\\u0e94\",\n      \"\\u0eaa\\u0eb4\\u0e87\\u0eab\\u0eb2\",\n      \"\\u0e81\\u0eb1\\u0e99\\u0e8d\\u0eb2\",\n      \"\\u0e95\\u0eb8\\u0ea5\\u0eb2\",\n      \"\\u0e9e\\u0eb0\\u0e88\\u0eb4\\u0e81\",\n      \"\\u0e97\\u0eb1\\u0e99\\u0ea7\\u0eb2\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0ea7\\u0eb1\\u0e99\\u0ead\\u0eb2\\u0e97\\u0eb4\\u0e94\",\n      \"\\u0ea7\\u0eb1\\u0e99\\u0e88\\u0eb1\\u0e99\",\n      \"\\u0ea7\\u0eb1\\u0e99\\u0ead\\u0eb1\\u0e87\\u0e84\\u0eb2\\u0e99\",\n      \"\\u0ea7\\u0eb1\\u0e99\\u0e9e\\u0eb8\\u0e94\",\n      \"\\u0ea7\\u0eb1\\u0e99\\u0e9e\\u0eb0\\u0eab\\u0eb1\\u0e94\",\n      \"\\u0ea7\\u0eb1\\u0e99\\u0eaa\\u0eb8\\u0e81\",\n      \"\\u0ea7\\u0eb1\\u0e99\\u0ec0\\u0eaa\\u0ebb\\u0eb2\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0ea1.\\u0e81.\",\n      \"\\u0e81.\\u0e9e.\",\n      \"\\u0ea1.\\u0e99.\",\n      \"\\u0ea1.\\u0eaa.\",\n      \"\\u0e9e.\\u0e9e.\",\n      \"\\u0ea1\\u0eb4.\\u0e96.\",\n      \"\\u0e81.\\u0ea5.\",\n      \"\\u0eaa.\\u0eab.\",\n      \"\\u0e81.\\u0e8d.\",\n      \"\\u0e95.\\u0ea5.\",\n      \"\\u0e9e.\\u0e88.\",\n      \"\\u0e97.\\u0ea7.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE \\u0e97\\u0eb5 d MMMM G y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y H:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"d/M/y H:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ad\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"lo\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_lt-lt.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"prie\\u0161piet\",\n      \"popiet\"\n    ],\n    \"DAY\": [\n      \"sekmadienis\",\n      \"pirmadienis\",\n      \"antradienis\",\n      \"tre\\u010diadienis\",\n      \"ketvirtadienis\",\n      \"penktadienis\",\n      \"\\u0161e\\u0161tadienis\"\n    ],\n    \"ERANAMES\": [\n      \"prie\\u0161 Krist\\u0173\",\n      \"po Kristaus\"\n    ],\n    \"ERAS\": [\n      \"pr. Kr.\",\n      \"po Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"sausio\",\n      \"vasario\",\n      \"kovo\",\n      \"baland\\u017eio\",\n      \"gegu\\u017e\\u0117s\",\n      \"bir\\u017eelio\",\n      \"liepos\",\n      \"rugpj\\u016b\\u010dio\",\n      \"rugs\\u0117jo\",\n      \"spalio\",\n      \"lapkri\\u010dio\",\n      \"gruod\\u017eio\"\n    ],\n    \"SHORTDAY\": [\n      \"sk\",\n      \"pr\",\n      \"an\",\n      \"tr\",\n      \"kt\",\n      \"pn\",\n      \"\\u0161t\"\n    ],\n    \"SHORTMONTH\": [\n      \"saus.\",\n      \"vas.\",\n      \"kov.\",\n      \"bal.\",\n      \"geg.\",\n      \"bir\\u017e.\",\n      \"liep.\",\n      \"rugp.\",\n      \"rugs.\",\n      \"spal.\",\n      \"lapkr.\",\n      \"gruod.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y 'm'. MMMM d 'd'., EEEE\",\n    \"longDate\": \"y 'm'. MMMM d 'd'.\",\n    \"medium\": \"y-MM-dd HH:mm:ss\",\n    \"mediumDate\": \"y-MM-dd\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"lt-lt\",\n  \"pluralCat\": function(n, opt_precision) {  var vf = getVF(n, opt_precision);  if (n % 10 == 1 && (n % 100 < 11 || n % 100 > 19)) {    return PLURAL_CATEGORY.ONE;  }  if (n % 10 >= 2 && n % 10 <= 9 && (n % 100 < 11 || n % 100 > 19)) {    return PLURAL_CATEGORY.FEW;  }  if (vf.f != 0) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_lt.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"prie\\u0161piet\",\n      \"popiet\"\n    ],\n    \"DAY\": [\n      \"sekmadienis\",\n      \"pirmadienis\",\n      \"antradienis\",\n      \"tre\\u010diadienis\",\n      \"ketvirtadienis\",\n      \"penktadienis\",\n      \"\\u0161e\\u0161tadienis\"\n    ],\n    \"ERANAMES\": [\n      \"prie\\u0161 Krist\\u0173\",\n      \"po Kristaus\"\n    ],\n    \"ERAS\": [\n      \"pr. Kr.\",\n      \"po Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"sausio\",\n      \"vasario\",\n      \"kovo\",\n      \"baland\\u017eio\",\n      \"gegu\\u017e\\u0117s\",\n      \"bir\\u017eelio\",\n      \"liepos\",\n      \"rugpj\\u016b\\u010dio\",\n      \"rugs\\u0117jo\",\n      \"spalio\",\n      \"lapkri\\u010dio\",\n      \"gruod\\u017eio\"\n    ],\n    \"SHORTDAY\": [\n      \"sk\",\n      \"pr\",\n      \"an\",\n      \"tr\",\n      \"kt\",\n      \"pn\",\n      \"\\u0161t\"\n    ],\n    \"SHORTMONTH\": [\n      \"saus.\",\n      \"vas.\",\n      \"kov.\",\n      \"bal.\",\n      \"geg.\",\n      \"bir\\u017e.\",\n      \"liep.\",\n      \"rugp.\",\n      \"rugs.\",\n      \"spal.\",\n      \"lapkr.\",\n      \"gruod.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y 'm'. MMMM d 'd'., EEEE\",\n    \"longDate\": \"y 'm'. MMMM d 'd'.\",\n    \"medium\": \"y-MM-dd HH:mm:ss\",\n    \"mediumDate\": \"y-MM-dd\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"lt\",\n  \"pluralCat\": function(n, opt_precision) {  var vf = getVF(n, opt_precision);  if (n % 10 == 1 && (n % 100 < 11 || n % 100 > 19)) {    return PLURAL_CATEGORY.ONE;  }  if (n % 10 >= 2 && n % 10 <= 9 && (n % 100 < 11 || n % 100 > 19)) {    return PLURAL_CATEGORY.FEW;  }  if (vf.f != 0) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_lu-cd.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Dinda\",\n      \"Dilolo\"\n    ],\n    \"DAY\": [\n      \"Lumingu\",\n      \"Nkodya\",\n      \"Nd\\u00e0ay\\u00e0\",\n      \"Ndang\\u00f9\",\n      \"Nj\\u00f2wa\",\n      \"Ng\\u00f2vya\",\n      \"Lubingu\"\n    ],\n    \"ERANAMES\": [\n      \"Kumpala kwa Yezu Kli\",\n      \"Kunyima kwa Yezu Kli\"\n    ],\n    \"ERAS\": [\n      \"kmp. Y.K.\",\n      \"kny. Y. K.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Ciongo\",\n      \"L\\u00f9ishi\",\n      \"Lus\\u00f2lo\",\n      \"M\\u00f9uy\\u00e0\",\n      \"Lum\\u00f9ng\\u00f9l\\u00f9\",\n      \"Lufuimi\",\n      \"Kab\\u00e0l\\u00e0sh\\u00ecp\\u00f9\",\n      \"L\\u00f9sh\\u00eck\\u00e0\",\n      \"Lutongolo\",\n      \"Lung\\u00f9di\",\n      \"Kasw\\u00e8k\\u00e8s\\u00e8\",\n      \"Cisw\\u00e0\"\n    ],\n    \"SHORTDAY\": [\n      \"Lum\",\n      \"Nko\",\n      \"Ndy\",\n      \"Ndg\",\n      \"Njw\",\n      \"Ngv\",\n      \"Lub\"\n    ],\n    \"SHORTMONTH\": [\n      \"Cio\",\n      \"Lui\",\n      \"Lus\",\n      \"Muu\",\n      \"Lum\",\n      \"Luf\",\n      \"Kab\",\n      \"Lush\",\n      \"Lut\",\n      \"Lun\",\n      \"Kas\",\n      \"Cis\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FrCD\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"lu-cd\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_lu.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Dinda\",\n      \"Dilolo\"\n    ],\n    \"DAY\": [\n      \"Lumingu\",\n      \"Nkodya\",\n      \"Nd\\u00e0ay\\u00e0\",\n      \"Ndang\\u00f9\",\n      \"Nj\\u00f2wa\",\n      \"Ng\\u00f2vya\",\n      \"Lubingu\"\n    ],\n    \"ERANAMES\": [\n      \"Kumpala kwa Yezu Kli\",\n      \"Kunyima kwa Yezu Kli\"\n    ],\n    \"ERAS\": [\n      \"kmp. Y.K.\",\n      \"kny. Y. K.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Ciongo\",\n      \"L\\u00f9ishi\",\n      \"Lus\\u00f2lo\",\n      \"M\\u00f9uy\\u00e0\",\n      \"Lum\\u00f9ng\\u00f9l\\u00f9\",\n      \"Lufuimi\",\n      \"Kab\\u00e0l\\u00e0sh\\u00ecp\\u00f9\",\n      \"L\\u00f9sh\\u00eck\\u00e0\",\n      \"Lutongolo\",\n      \"Lung\\u00f9di\",\n      \"Kasw\\u00e8k\\u00e8s\\u00e8\",\n      \"Cisw\\u00e0\"\n    ],\n    \"SHORTDAY\": [\n      \"Lum\",\n      \"Nko\",\n      \"Ndy\",\n      \"Ndg\",\n      \"Njw\",\n      \"Ngv\",\n      \"Lub\"\n    ],\n    \"SHORTMONTH\": [\n      \"Cio\",\n      \"Lui\",\n      \"Lus\",\n      \"Muu\",\n      \"Lum\",\n      \"Luf\",\n      \"Kab\",\n      \"Lush\",\n      \"Lut\",\n      \"Lun\",\n      \"Kas\",\n      \"Cis\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FrCD\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"lu\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_luo-ke.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"OD\",\n      \"OT\"\n    ],\n    \"DAY\": [\n      \"Jumapil\",\n      \"Wuok Tich\",\n      \"Tich Ariyo\",\n      \"Tich Adek\",\n      \"Tich Ang\\u2019wen\",\n      \"Tich Abich\",\n      \"Ngeso\"\n    ],\n    \"ERANAMES\": [\n      \"Kapok Kristo obiro\",\n      \"Ka Kristo osebiro\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Dwe mar Achiel\",\n      \"Dwe mar Ariyo\",\n      \"Dwe mar Adek\",\n      \"Dwe mar Ang\\u2019wen\",\n      \"Dwe mar Abich\",\n      \"Dwe mar Auchiel\",\n      \"Dwe mar Abiriyo\",\n      \"Dwe mar Aboro\",\n      \"Dwe mar Ochiko\",\n      \"Dwe mar Apar\",\n      \"Dwe mar gi achiel\",\n      \"Dwe mar Apar gi ariyo\"\n    ],\n    \"SHORTDAY\": [\n      \"JMP\",\n      \"WUT\",\n      \"TAR\",\n      \"TAD\",\n      \"TAN\",\n      \"TAB\",\n      \"NGS\"\n    ],\n    \"SHORTMONTH\": [\n      \"DAC\",\n      \"DAR\",\n      \"DAD\",\n      \"DAN\",\n      \"DAH\",\n      \"DAU\",\n      \"DAO\",\n      \"DAB\",\n      \"DOC\",\n      \"DAP\",\n      \"DGI\",\n      \"DAG\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ksh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"luo-ke\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_luo.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"OD\",\n      \"OT\"\n    ],\n    \"DAY\": [\n      \"Jumapil\",\n      \"Wuok Tich\",\n      \"Tich Ariyo\",\n      \"Tich Adek\",\n      \"Tich Ang\\u2019wen\",\n      \"Tich Abich\",\n      \"Ngeso\"\n    ],\n    \"ERANAMES\": [\n      \"Kapok Kristo obiro\",\n      \"Ka Kristo osebiro\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Dwe mar Achiel\",\n      \"Dwe mar Ariyo\",\n      \"Dwe mar Adek\",\n      \"Dwe mar Ang\\u2019wen\",\n      \"Dwe mar Abich\",\n      \"Dwe mar Auchiel\",\n      \"Dwe mar Abiriyo\",\n      \"Dwe mar Aboro\",\n      \"Dwe mar Ochiko\",\n      \"Dwe mar Apar\",\n      \"Dwe mar gi achiel\",\n      \"Dwe mar Apar gi ariyo\"\n    ],\n    \"SHORTDAY\": [\n      \"JMP\",\n      \"WUT\",\n      \"TAR\",\n      \"TAD\",\n      \"TAN\",\n      \"TAB\",\n      \"NGS\"\n    ],\n    \"SHORTMONTH\": [\n      \"DAC\",\n      \"DAR\",\n      \"DAD\",\n      \"DAN\",\n      \"DAH\",\n      \"DAU\",\n      \"DAO\",\n      \"DAB\",\n      \"DOC\",\n      \"DAP\",\n      \"DGI\",\n      \"DAG\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ksh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"luo\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_luy-ke.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"Jumapiri\",\n      \"Jumatatu\",\n      \"Jumanne\",\n      \"Jumatano\",\n      \"Murwa wa Kanne\",\n      \"Murwa wa Katano\",\n      \"Jumamosi\"\n    ],\n    \"ERANAMES\": [\n      \"Imberi ya Kuuza Kwa\",\n      \"Muhiga Kuvita Kuuza\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januari\",\n      \"Februari\",\n      \"Machi\",\n      \"Aprili\",\n      \"Mei\",\n      \"Juni\",\n      \"Julai\",\n      \"Agosti\",\n      \"Septemba\",\n      \"Oktoba\",\n      \"Novemba\",\n      \"Desemba\"\n    ],\n    \"SHORTDAY\": [\n      \"J2\",\n      \"J3\",\n      \"J4\",\n      \"J5\",\n      \"Al\",\n      \"Ij\",\n      \"J1\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Ago\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ksh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"luy-ke\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_luy.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"Jumapiri\",\n      \"Jumatatu\",\n      \"Jumanne\",\n      \"Jumatano\",\n      \"Murwa wa Kanne\",\n      \"Murwa wa Katano\",\n      \"Jumamosi\"\n    ],\n    \"ERANAMES\": [\n      \"Imberi ya Kuuza Kwa\",\n      \"Muhiga Kuvita Kuuza\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januari\",\n      \"Februari\",\n      \"Machi\",\n      \"Aprili\",\n      \"Mei\",\n      \"Juni\",\n      \"Julai\",\n      \"Agosti\",\n      \"Septemba\",\n      \"Oktoba\",\n      \"Novemba\",\n      \"Desemba\"\n    ],\n    \"SHORTDAY\": [\n      \"J2\",\n      \"J3\",\n      \"J4\",\n      \"J5\",\n      \"Al\",\n      \"Ij\",\n      \"J1\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Ago\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ksh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"luy\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_lv-lv.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"priek\\u0161pusdien\\u0101\",\n      \"p\\u0113cpusdien\\u0101\"\n    ],\n    \"DAY\": [\n      \"sv\\u0113tdiena\",\n      \"pirmdiena\",\n      \"otrdiena\",\n      \"tre\\u0161diena\",\n      \"ceturtdiena\",\n      \"piektdiena\",\n      \"sestdiena\"\n    ],\n    \"ERANAMES\": [\n      \"pirms m\\u016bsu \\u0113ras\",\n      \"m\\u016bsu \\u0113r\\u0101\"\n    ],\n    \"ERAS\": [\n      \"p.m.\\u0113.\",\n      \"m.\\u0113.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janv\\u0101ris\",\n      \"febru\\u0101ris\",\n      \"marts\",\n      \"apr\\u012blis\",\n      \"maijs\",\n      \"j\\u016bnijs\",\n      \"j\\u016blijs\",\n      \"augusts\",\n      \"septembris\",\n      \"oktobris\",\n      \"novembris\",\n      \"decembris\"\n    ],\n    \"SHORTDAY\": [\n      \"Sv\",\n      \"Pr\",\n      \"Ot\",\n      \"Tr\",\n      \"Ce\",\n      \"Pk\",\n      \"Se\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"febr.\",\n      \"marts\",\n      \"apr.\",\n      \"maijs\",\n      \"j\\u016bn.\",\n      \"j\\u016bl.\",\n      \"aug.\",\n      \"sept.\",\n      \"okt.\",\n      \"nov.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, y. 'gada' d. MMMM\",\n    \"longDate\": \"y. 'gada' d. MMMM\",\n    \"medium\": \"y. 'gada' d. MMM HH:mm:ss\",\n    \"mediumDate\": \"y. 'gada' d. MMM\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 0,\n        \"lgSize\": 0,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"lv-lv\",\n  \"pluralCat\": function(n, opt_precision) {  var vf = getVF(n, opt_precision);  if (n % 10 == 0 || n % 100 >= 11 && n % 100 <= 19 || vf.v == 2 && vf.f % 100 >= 11 && vf.f % 100 <= 19) {    return PLURAL_CATEGORY.ZERO;  }  if (n % 10 == 1 && n % 100 != 11 || vf.v == 2 && vf.f % 10 == 1 && vf.f % 100 != 11 || vf.v != 2 && vf.f % 10 == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_lv.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"priek\\u0161pusdien\\u0101\",\n      \"p\\u0113cpusdien\\u0101\"\n    ],\n    \"DAY\": [\n      \"sv\\u0113tdiena\",\n      \"pirmdiena\",\n      \"otrdiena\",\n      \"tre\\u0161diena\",\n      \"ceturtdiena\",\n      \"piektdiena\",\n      \"sestdiena\"\n    ],\n    \"ERANAMES\": [\n      \"pirms m\\u016bsu \\u0113ras\",\n      \"m\\u016bsu \\u0113r\\u0101\"\n    ],\n    \"ERAS\": [\n      \"p.m.\\u0113.\",\n      \"m.\\u0113.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janv\\u0101ris\",\n      \"febru\\u0101ris\",\n      \"marts\",\n      \"apr\\u012blis\",\n      \"maijs\",\n      \"j\\u016bnijs\",\n      \"j\\u016blijs\",\n      \"augusts\",\n      \"septembris\",\n      \"oktobris\",\n      \"novembris\",\n      \"decembris\"\n    ],\n    \"SHORTDAY\": [\n      \"Sv\",\n      \"Pr\",\n      \"Ot\",\n      \"Tr\",\n      \"Ce\",\n      \"Pk\",\n      \"Se\"\n    ],\n    \"SHORTMONTH\": [\n      \"janv.\",\n      \"febr.\",\n      \"marts\",\n      \"apr.\",\n      \"maijs\",\n      \"j\\u016bn.\",\n      \"j\\u016bl.\",\n      \"aug.\",\n      \"sept.\",\n      \"okt.\",\n      \"nov.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, y. 'gada' d. MMMM\",\n    \"longDate\": \"y. 'gada' d. MMMM\",\n    \"medium\": \"y. 'gada' d. MMM HH:mm:ss\",\n    \"mediumDate\": \"y. 'gada' d. MMM\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 0,\n        \"lgSize\": 0,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"lv\",\n  \"pluralCat\": function(n, opt_precision) {  var vf = getVF(n, opt_precision);  if (n % 10 == 0 || n % 100 >= 11 && n % 100 <= 19 || vf.v == 2 && vf.f % 100 >= 11 && vf.f % 100 <= 19) {    return PLURAL_CATEGORY.ZERO;  }  if (n % 10 == 1 && n % 100 != 11 || vf.v == 2 && vf.f % 10 == 1 && vf.f % 100 != 11 || vf.v != 2 && vf.f % 10 == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_mas-ke.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0190nkak\\u025bny\\u00e1\",\n      \"\\u0190nd\\u00e1m\\u00e2\"\n    ],\n    \"DAY\": [\n      \"Jumap\\u00edl\\u00ed\",\n      \"Jumat\\u00e1tu\",\n      \"Jumane\",\n      \"Jumat\\u00e1n\\u0254\",\n      \"Ala\\u00e1misi\",\n      \"Jum\\u00e1a\",\n      \"Jumam\\u00f3si\"\n    ],\n    \"ERANAMES\": [\n      \"Me\\u00edn\\u014d Y\\u025b\\u0301s\\u0289\",\n      \"E\\u00edn\\u014d Y\\u025b\\u0301s\\u0289\"\n    ],\n    \"ERAS\": [\n      \"MY\",\n      \"EY\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Oladal\\u0289\\u0301\",\n      \"Ar\\u00e1t\",\n      \"\\u0186\\u025bn\\u0268\\u0301\\u0254\\u0268\\u014b\\u0254k\",\n      \"Olodoy\\u00ed\\u00f3r\\u00ed\\u00ea ink\\u00f3k\\u00fa\\u00e2\",\n      \"Oloil\\u00e9p\\u016bny\\u012b\\u0113 ink\\u00f3k\\u00fa\\u00e2\",\n      \"K\\u00faj\\u00fa\\u0254r\\u0254k\",\n      \"M\\u00f3rus\\u00e1sin\",\n      \"\\u0186l\\u0254\\u0301\\u0268\\u0301b\\u0254\\u0301r\\u00e1r\\u025b\",\n      \"K\\u00fash\\u00een\",\n      \"Olg\\u00edsan\",\n      \"P\\u0289sh\\u0289\\u0301ka\",\n      \"Nt\\u0289\\u0301\\u014b\\u0289\\u0301s\"\n    ],\n    \"SHORTDAY\": [\n      \"Jpi\",\n      \"Jtt\",\n      \"Jnn\",\n      \"Jtn\",\n      \"Alh\",\n      \"Iju\",\n      \"Jmo\"\n    ],\n    \"SHORTMONTH\": [\n      \"Dal\",\n      \"Ar\\u00e1\",\n      \"\\u0186\\u025bn\",\n      \"Doy\",\n      \"L\\u00e9p\",\n      \"Rok\",\n      \"S\\u00e1s\",\n      \"B\\u0254\\u0301r\",\n      \"K\\u00fas\",\n      \"G\\u00eds\",\n      \"Sh\\u0289\\u0301\",\n      \"Nt\\u0289\\u0301\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ksh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"mas-ke\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_mas-tz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0190nkak\\u025bny\\u00e1\",\n      \"\\u0190nd\\u00e1m\\u00e2\"\n    ],\n    \"DAY\": [\n      \"Jumap\\u00edl\\u00ed\",\n      \"Jumat\\u00e1tu\",\n      \"Jumane\",\n      \"Jumat\\u00e1n\\u0254\",\n      \"Ala\\u00e1misi\",\n      \"Jum\\u00e1a\",\n      \"Jumam\\u00f3si\"\n    ],\n    \"ERANAMES\": [\n      \"Me\\u00edn\\u014d Y\\u025b\\u0301s\\u0289\",\n      \"E\\u00edn\\u014d Y\\u025b\\u0301s\\u0289\"\n    ],\n    \"ERAS\": [\n      \"MY\",\n      \"EY\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Oladal\\u0289\\u0301\",\n      \"Ar\\u00e1t\",\n      \"\\u0186\\u025bn\\u0268\\u0301\\u0254\\u0268\\u014b\\u0254k\",\n      \"Olodoy\\u00ed\\u00f3r\\u00ed\\u00ea ink\\u00f3k\\u00fa\\u00e2\",\n      \"Oloil\\u00e9p\\u016bny\\u012b\\u0113 ink\\u00f3k\\u00fa\\u00e2\",\n      \"K\\u00faj\\u00fa\\u0254r\\u0254k\",\n      \"M\\u00f3rus\\u00e1sin\",\n      \"\\u0186l\\u0254\\u0301\\u0268\\u0301b\\u0254\\u0301r\\u00e1r\\u025b\",\n      \"K\\u00fash\\u00een\",\n      \"Olg\\u00edsan\",\n      \"P\\u0289sh\\u0289\\u0301ka\",\n      \"Nt\\u0289\\u0301\\u014b\\u0289\\u0301s\"\n    ],\n    \"SHORTDAY\": [\n      \"Jpi\",\n      \"Jtt\",\n      \"Jnn\",\n      \"Jtn\",\n      \"Alh\",\n      \"Iju\",\n      \"Jmo\"\n    ],\n    \"SHORTMONTH\": [\n      \"Dal\",\n      \"Ar\\u00e1\",\n      \"\\u0186\\u025bn\",\n      \"Doy\",\n      \"L\\u00e9p\",\n      \"Rok\",\n      \"S\\u00e1s\",\n      \"B\\u0254\\u0301r\",\n      \"K\\u00fas\",\n      \"G\\u00eds\",\n      \"Sh\\u0289\\u0301\",\n      \"Nt\\u0289\\u0301\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"TSh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"mas-tz\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_mas.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0190nkak\\u025bny\\u00e1\",\n      \"\\u0190nd\\u00e1m\\u00e2\"\n    ],\n    \"DAY\": [\n      \"Jumap\\u00edl\\u00ed\",\n      \"Jumat\\u00e1tu\",\n      \"Jumane\",\n      \"Jumat\\u00e1n\\u0254\",\n      \"Ala\\u00e1misi\",\n      \"Jum\\u00e1a\",\n      \"Jumam\\u00f3si\"\n    ],\n    \"ERANAMES\": [\n      \"Me\\u00edn\\u014d Y\\u025b\\u0301s\\u0289\",\n      \"E\\u00edn\\u014d Y\\u025b\\u0301s\\u0289\"\n    ],\n    \"ERAS\": [\n      \"MY\",\n      \"EY\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Oladal\\u0289\\u0301\",\n      \"Ar\\u00e1t\",\n      \"\\u0186\\u025bn\\u0268\\u0301\\u0254\\u0268\\u014b\\u0254k\",\n      \"Olodoy\\u00ed\\u00f3r\\u00ed\\u00ea ink\\u00f3k\\u00fa\\u00e2\",\n      \"Oloil\\u00e9p\\u016bny\\u012b\\u0113 ink\\u00f3k\\u00fa\\u00e2\",\n      \"K\\u00faj\\u00fa\\u0254r\\u0254k\",\n      \"M\\u00f3rus\\u00e1sin\",\n      \"\\u0186l\\u0254\\u0301\\u0268\\u0301b\\u0254\\u0301r\\u00e1r\\u025b\",\n      \"K\\u00fash\\u00een\",\n      \"Olg\\u00edsan\",\n      \"P\\u0289sh\\u0289\\u0301ka\",\n      \"Nt\\u0289\\u0301\\u014b\\u0289\\u0301s\"\n    ],\n    \"SHORTDAY\": [\n      \"Jpi\",\n      \"Jtt\",\n      \"Jnn\",\n      \"Jtn\",\n      \"Alh\",\n      \"Iju\",\n      \"Jmo\"\n    ],\n    \"SHORTMONTH\": [\n      \"Dal\",\n      \"Ar\\u00e1\",\n      \"\\u0186\\u025bn\",\n      \"Doy\",\n      \"L\\u00e9p\",\n      \"Rok\",\n      \"S\\u00e1s\",\n      \"B\\u0254\\u0301r\",\n      \"K\\u00fas\",\n      \"G\\u00eds\",\n      \"Sh\\u0289\\u0301\",\n      \"Nt\\u0289\\u0301\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ksh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"mas\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_mer-ke.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"R\\u0168\",\n      \"\\u0168G\"\n    ],\n    \"DAY\": [\n      \"Kiumia\",\n      \"Muramuko\",\n      \"Wairi\",\n      \"Wethatu\",\n      \"Wena\",\n      \"Wetano\",\n      \"Jumamosi\"\n    ],\n    \"ERANAMES\": [\n      \"Mbere ya Krist\\u0169\",\n      \"Nyuma ya Krist\\u0169\"\n    ],\n    \"ERAS\": [\n      \"MK\",\n      \"NK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januar\\u0129\",\n      \"Feburuar\\u0129\",\n      \"Machi\",\n      \"\\u0128pur\\u0169\",\n      \"M\\u0129\\u0129\",\n      \"Njuni\",\n      \"Njura\\u0129\",\n      \"Agasti\",\n      \"Septemba\",\n      \"Okt\\u0169ba\",\n      \"Novemba\",\n      \"Dicemba\"\n    ],\n    \"SHORTDAY\": [\n      \"KIU\",\n      \"MRA\",\n      \"WAI\",\n      \"WET\",\n      \"WEN\",\n      \"WTN\",\n      \"JUM\"\n    ],\n    \"SHORTMONTH\": [\n      \"JAN\",\n      \"FEB\",\n      \"MAC\",\n      \"\\u0128PU\",\n      \"M\\u0128\\u0128\",\n      \"NJU\",\n      \"NJR\",\n      \"AGA\",\n      \"SPT\",\n      \"OKT\",\n      \"NOV\",\n      \"DEC\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ksh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"mer-ke\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_mer.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"R\\u0168\",\n      \"\\u0168G\"\n    ],\n    \"DAY\": [\n      \"Kiumia\",\n      \"Muramuko\",\n      \"Wairi\",\n      \"Wethatu\",\n      \"Wena\",\n      \"Wetano\",\n      \"Jumamosi\"\n    ],\n    \"ERANAMES\": [\n      \"Mbere ya Krist\\u0169\",\n      \"Nyuma ya Krist\\u0169\"\n    ],\n    \"ERAS\": [\n      \"MK\",\n      \"NK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januar\\u0129\",\n      \"Feburuar\\u0129\",\n      \"Machi\",\n      \"\\u0128pur\\u0169\",\n      \"M\\u0129\\u0129\",\n      \"Njuni\",\n      \"Njura\\u0129\",\n      \"Agasti\",\n      \"Septemba\",\n      \"Okt\\u0169ba\",\n      \"Novemba\",\n      \"Dicemba\"\n    ],\n    \"SHORTDAY\": [\n      \"KIU\",\n      \"MRA\",\n      \"WAI\",\n      \"WET\",\n      \"WEN\",\n      \"WTN\",\n      \"JUM\"\n    ],\n    \"SHORTMONTH\": [\n      \"JAN\",\n      \"FEB\",\n      \"MAC\",\n      \"\\u0128PU\",\n      \"M\\u0128\\u0128\",\n      \"NJU\",\n      \"NJR\",\n      \"AGA\",\n      \"SPT\",\n      \"OKT\",\n      \"NOV\",\n      \"DEC\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ksh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"mer\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_mfe-mu.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimans\",\n      \"lindi\",\n      \"mardi\",\n      \"merkredi\",\n      \"zedi\",\n      \"vandredi\",\n      \"samdi\"\n    ],\n    \"ERANAMES\": [\n      \"avan Zezi-Krist\",\n      \"apre Zezi-Krist\"\n    ],\n    \"ERAS\": [\n      \"av. Z-K\",\n      \"ap. Z-K\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"zanvie\",\n      \"fevriye\",\n      \"mars\",\n      \"avril\",\n      \"me\",\n      \"zin\",\n      \"zilye\",\n      \"out\",\n      \"septam\",\n      \"oktob\",\n      \"novam\",\n      \"desam\"\n    ],\n    \"SHORTDAY\": [\n      \"dim\",\n      \"lin\",\n      \"mar\",\n      \"mer\",\n      \"ze\",\n      \"van\",\n      \"sam\"\n    ],\n    \"SHORTMONTH\": [\n      \"zan\",\n      \"fev\",\n      \"mar\",\n      \"avr\",\n      \"me\",\n      \"zin\",\n      \"zil\",\n      \"out\",\n      \"sep\",\n      \"okt\",\n      \"nov\",\n      \"des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"MURs\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"mfe-mu\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_mfe.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"dimans\",\n      \"lindi\",\n      \"mardi\",\n      \"merkredi\",\n      \"zedi\",\n      \"vandredi\",\n      \"samdi\"\n    ],\n    \"ERANAMES\": [\n      \"avan Zezi-Krist\",\n      \"apre Zezi-Krist\"\n    ],\n    \"ERAS\": [\n      \"av. Z-K\",\n      \"ap. Z-K\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"zanvie\",\n      \"fevriye\",\n      \"mars\",\n      \"avril\",\n      \"me\",\n      \"zin\",\n      \"zilye\",\n      \"out\",\n      \"septam\",\n      \"oktob\",\n      \"novam\",\n      \"desam\"\n    ],\n    \"SHORTDAY\": [\n      \"dim\",\n      \"lin\",\n      \"mar\",\n      \"mer\",\n      \"ze\",\n      \"van\",\n      \"sam\"\n    ],\n    \"SHORTMONTH\": [\n      \"zan\",\n      \"fev\",\n      \"mar\",\n      \"avr\",\n      \"me\",\n      \"zin\",\n      \"zil\",\n      \"out\",\n      \"sep\",\n      \"okt\",\n      \"nov\",\n      \"des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"MURs\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"mfe\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_mg-mg.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Alahady\",\n      \"Alatsinainy\",\n      \"Talata\",\n      \"Alarobia\",\n      \"Alakamisy\",\n      \"Zoma\",\n      \"Asabotsy\"\n    ],\n    \"ERANAMES\": [\n      \"Alohan\\u2019i JK\",\n      \"Aorian\\u2019i JK\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Janoary\",\n      \"Febroary\",\n      \"Martsa\",\n      \"Aprily\",\n      \"Mey\",\n      \"Jona\",\n      \"Jolay\",\n      \"Aogositra\",\n      \"Septambra\",\n      \"Oktobra\",\n      \"Novambra\",\n      \"Desambra\"\n    ],\n    \"SHORTDAY\": [\n      \"Alah\",\n      \"Alats\",\n      \"Tal\",\n      \"Alar\",\n      \"Alak\",\n      \"Zom\",\n      \"Asab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"Mey\",\n      \"Jon\",\n      \"Jol\",\n      \"Aog\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ar\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"mg-mg\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_mg.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Alahady\",\n      \"Alatsinainy\",\n      \"Talata\",\n      \"Alarobia\",\n      \"Alakamisy\",\n      \"Zoma\",\n      \"Asabotsy\"\n    ],\n    \"ERANAMES\": [\n      \"Alohan\\u2019i JK\",\n      \"Aorian\\u2019i JK\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Janoary\",\n      \"Febroary\",\n      \"Martsa\",\n      \"Aprily\",\n      \"Mey\",\n      \"Jona\",\n      \"Jolay\",\n      \"Aogositra\",\n      \"Septambra\",\n      \"Oktobra\",\n      \"Novambra\",\n      \"Desambra\"\n    ],\n    \"SHORTDAY\": [\n      \"Alah\",\n      \"Alats\",\n      \"Tal\",\n      \"Alar\",\n      \"Alak\",\n      \"Zom\",\n      \"Asab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"Mey\",\n      \"Jon\",\n      \"Jol\",\n      \"Aog\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ar\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"mg\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_mgh-mz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"wichishu\",\n      \"mchochil\\u2019l\"\n    ],\n    \"DAY\": [\n      \"Sabato\",\n      \"Jumatatu\",\n      \"Jumanne\",\n      \"Jumatano\",\n      \"Arahamisi\",\n      \"Ijumaa\",\n      \"Jumamosi\"\n    ],\n    \"ERANAMES\": [\n      \"Hinapiya yesu\",\n      \"Yopia yesu\"\n    ],\n    \"ERAS\": [\n      \"HY\",\n      \"YY\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Mweri wo kwanza\",\n      \"Mweri wo unayeli\",\n      \"Mweri wo uneraru\",\n      \"Mweri wo unecheshe\",\n      \"Mweri wo unethanu\",\n      \"Mweri wo thanu na mocha\",\n      \"Mweri wo saba\",\n      \"Mweri wo nane\",\n      \"Mweri wo tisa\",\n      \"Mweri wo kumi\",\n      \"Mweri wo kumi na moja\",\n      \"Mweri wo kumi na yel\\u2019li\"\n    ],\n    \"SHORTDAY\": [\n      \"Sab\",\n      \"Jtt\",\n      \"Jnn\",\n      \"Jtn\",\n      \"Ara\",\n      \"Iju\",\n      \"Jmo\"\n    ],\n    \"SHORTMONTH\": [\n      \"Kwa\",\n      \"Una\",\n      \"Rar\",\n      \"Che\",\n      \"Tha\",\n      \"Moc\",\n      \"Sab\",\n      \"Nan\",\n      \"Tis\",\n      \"Kum\",\n      \"Moj\",\n      \"Yel\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"MTn\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"mgh-mz\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_mgh.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"wichishu\",\n      \"mchochil\\u2019l\"\n    ],\n    \"DAY\": [\n      \"Sabato\",\n      \"Jumatatu\",\n      \"Jumanne\",\n      \"Jumatano\",\n      \"Arahamisi\",\n      \"Ijumaa\",\n      \"Jumamosi\"\n    ],\n    \"ERANAMES\": [\n      \"Hinapiya yesu\",\n      \"Yopia yesu\"\n    ],\n    \"ERAS\": [\n      \"HY\",\n      \"YY\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Mweri wo kwanza\",\n      \"Mweri wo unayeli\",\n      \"Mweri wo uneraru\",\n      \"Mweri wo unecheshe\",\n      \"Mweri wo unethanu\",\n      \"Mweri wo thanu na mocha\",\n      \"Mweri wo saba\",\n      \"Mweri wo nane\",\n      \"Mweri wo tisa\",\n      \"Mweri wo kumi\",\n      \"Mweri wo kumi na moja\",\n      \"Mweri wo kumi na yel\\u2019li\"\n    ],\n    \"SHORTDAY\": [\n      \"Sab\",\n      \"Jtt\",\n      \"Jnn\",\n      \"Jtn\",\n      \"Ara\",\n      \"Iju\",\n      \"Jmo\"\n    ],\n    \"SHORTMONTH\": [\n      \"Kwa\",\n      \"Una\",\n      \"Rar\",\n      \"Che\",\n      \"Tha\",\n      \"Moc\",\n      \"Sab\",\n      \"Nan\",\n      \"Tis\",\n      \"Kum\",\n      \"Moj\",\n      \"Yel\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"MTn\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"mgh\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_mgo-cm.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Aneg 1\",\n      \"Aneg 2\",\n      \"Aneg 3\",\n      \"Aneg 4\",\n      \"Aneg 5\",\n      \"Aneg 6\",\n      \"Aneg 7\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"im\\u0259g mbegtug\",\n      \"imeg \\u00e0b\\u00f9b\\u00ec\",\n      \"imeg mb\\u0259\\u014bchubi\",\n      \"im\\u0259g ngw\\u0259\\u0300t\",\n      \"im\\u0259g fog\",\n      \"im\\u0259g ichiib\\u0254d\",\n      \"im\\u0259g \\u00e0d\\u00f9mb\\u0259\\u0300\\u014b\",\n      \"im\\u0259g ichika\",\n      \"im\\u0259g kud\",\n      \"im\\u0259g t\\u00e8si\\u02bce\",\n      \"im\\u0259g z\\u00f2\",\n      \"im\\u0259g krizmed\"\n    ],\n    \"SHORTDAY\": [\n      \"Aneg 1\",\n      \"Aneg 2\",\n      \"Aneg 3\",\n      \"Aneg 4\",\n      \"Aneg 5\",\n      \"Aneg 6\",\n      \"Aneg 7\"\n    ],\n    \"SHORTMONTH\": [\n      \"mbegtug\",\n      \"imeg \\u00e0b\\u00f9b\\u00ec\",\n      \"imeg mb\\u0259\\u014bchubi\",\n      \"im\\u0259g ngw\\u0259\\u0300t\",\n      \"im\\u0259g fog\",\n      \"im\\u0259g ichiib\\u0254d\",\n      \"im\\u0259g \\u00e0d\\u00f9mb\\u0259\\u0300\\u014b\",\n      \"im\\u0259g ichika\",\n      \"im\\u0259g kud\",\n      \"im\\u0259g t\\u00e8si\\u02bce\",\n      \"im\\u0259g z\\u00f2\",\n      \"im\\u0259g krizmed\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, y MMMM dd\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"mgo-cm\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_mgo.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Aneg 1\",\n      \"Aneg 2\",\n      \"Aneg 3\",\n      \"Aneg 4\",\n      \"Aneg 5\",\n      \"Aneg 6\",\n      \"Aneg 7\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"im\\u0259g mbegtug\",\n      \"imeg \\u00e0b\\u00f9b\\u00ec\",\n      \"imeg mb\\u0259\\u014bchubi\",\n      \"im\\u0259g ngw\\u0259\\u0300t\",\n      \"im\\u0259g fog\",\n      \"im\\u0259g ichiib\\u0254d\",\n      \"im\\u0259g \\u00e0d\\u00f9mb\\u0259\\u0300\\u014b\",\n      \"im\\u0259g ichika\",\n      \"im\\u0259g kud\",\n      \"im\\u0259g t\\u00e8si\\u02bce\",\n      \"im\\u0259g z\\u00f2\",\n      \"im\\u0259g krizmed\"\n    ],\n    \"SHORTDAY\": [\n      \"Aneg 1\",\n      \"Aneg 2\",\n      \"Aneg 3\",\n      \"Aneg 4\",\n      \"Aneg 5\",\n      \"Aneg 6\",\n      \"Aneg 7\"\n    ],\n    \"SHORTMONTH\": [\n      \"mbegtug\",\n      \"imeg \\u00e0b\\u00f9b\\u00ec\",\n      \"imeg mb\\u0259\\u014bchubi\",\n      \"im\\u0259g ngw\\u0259\\u0300t\",\n      \"im\\u0259g fog\",\n      \"im\\u0259g ichiib\\u0254d\",\n      \"im\\u0259g \\u00e0d\\u00f9mb\\u0259\\u0300\\u014b\",\n      \"im\\u0259g ichika\",\n      \"im\\u0259g kud\",\n      \"im\\u0259g t\\u00e8si\\u02bce\",\n      \"im\\u0259g z\\u00f2\",\n      \"im\\u0259g krizmed\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, y MMMM dd\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"mgo\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_mk-mk.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u043f\\u0440\\u0435\\u0442\\u043f\\u043b\\u0430\\u0434\\u043d\\u0435\",\n      \"\\u043f\\u043e\\u043f\\u043b\\u0430\\u0434\\u043d\\u0435\"\n    ],\n    \"DAY\": [\n      \"\\u043d\\u0435\\u0434\\u0435\\u043b\\u0430\",\n      \"\\u043f\\u043e\\u043d\\u0435\\u0434\\u0435\\u043b\\u043d\\u0438\\u043a\",\n      \"\\u0432\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\n      \"\\u0441\\u0440\\u0435\\u0434\\u0430\",\n      \"\\u0447\\u0435\\u0442\\u0432\\u0440\\u0442\\u043e\\u043a\",\n      \"\\u043f\\u0435\\u0442\\u043e\\u043a\",\n      \"\\u0441\\u0430\\u0431\\u043e\\u0442\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u043f\\u0440\\u0435\\u0434 \\u043d\\u0430\\u0448\\u0430\\u0442\\u0430 \\u0435\\u0440\\u0430\",\n      \"\\u043e\\u0434 \\u043d\\u0430\\u0448\\u0430\\u0442\\u0430 \\u0435\\u0440\\u0430\"\n    ],\n    \"ERAS\": [\n      \"\\u043f\\u0440.\\u043d.\\u0435.\",\n      \"\\u043d.\\u0435.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u0458\\u0430\\u043d\\u0443\\u0430\\u0440\\u0438\",\n      \"\\u0444\\u0435\\u0432\\u0440\\u0443\\u0430\\u0440\\u0438\",\n      \"\\u043c\\u0430\\u0440\\u0442\",\n      \"\\u0430\\u043f\\u0440\\u0438\\u043b\",\n      \"\\u043c\\u0430\\u0458\",\n      \"\\u0458\\u0443\\u043d\\u0438\",\n      \"\\u0458\\u0443\\u043b\\u0438\",\n      \"\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\",\n      \"\\u0441\\u0435\\u043f\\u0442\\u0435\\u043c\\u0432\\u0440\\u0438\",\n      \"\\u043e\\u043a\\u0442\\u043e\\u043c\\u0432\\u0440\\u0438\",\n      \"\\u043d\\u043e\\u0435\\u043c\\u0432\\u0440\\u0438\",\n      \"\\u0434\\u0435\\u043a\\u0435\\u043c\\u0432\\u0440\\u0438\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u043d\\u0435\\u0434.\",\n      \"\\u043f\\u043e\\u043d.\",\n      \"\\u0432\\u0442.\",\n      \"\\u0441\\u0440\\u0435.\",\n      \"\\u0447\\u0435\\u0442.\",\n      \"\\u043f\\u0435\\u0442.\",\n      \"\\u0441\\u0430\\u0431.\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0458\\u0430\\u043d.\",\n      \"\\u0444\\u0435\\u0432.\",\n      \"\\u043c\\u0430\\u0440.\",\n      \"\\u0430\\u043f\\u0440.\",\n      \"\\u043c\\u0430\\u0458\",\n      \"\\u0458\\u0443\\u043d.\",\n      \"\\u0458\\u0443\\u043b.\",\n      \"\\u0430\\u0432\\u0433.\",\n      \"\\u0441\\u0435\\u043f\\u0442.\",\n      \"\\u043e\\u043a\\u0442.\",\n      \"\\u043d\\u043e\\u0435\\u043c.\",\n      \"\\u0434\\u0435\\u043a.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd MMMM y\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd.M.y HH:mm:ss\",\n    \"mediumDate\": \"dd.M.y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.M.yy HH:mm\",\n    \"shortDate\": \"dd.M.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"din\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"mk-mk\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 || vf.f % 10 == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_mk.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u043f\\u0440\\u0435\\u0442\\u043f\\u043b\\u0430\\u0434\\u043d\\u0435\",\n      \"\\u043f\\u043e\\u043f\\u043b\\u0430\\u0434\\u043d\\u0435\"\n    ],\n    \"DAY\": [\n      \"\\u043d\\u0435\\u0434\\u0435\\u043b\\u0430\",\n      \"\\u043f\\u043e\\u043d\\u0435\\u0434\\u0435\\u043b\\u043d\\u0438\\u043a\",\n      \"\\u0432\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\n      \"\\u0441\\u0440\\u0435\\u0434\\u0430\",\n      \"\\u0447\\u0435\\u0442\\u0432\\u0440\\u0442\\u043e\\u043a\",\n      \"\\u043f\\u0435\\u0442\\u043e\\u043a\",\n      \"\\u0441\\u0430\\u0431\\u043e\\u0442\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u043f\\u0440\\u0435\\u0434 \\u043d\\u0430\\u0448\\u0430\\u0442\\u0430 \\u0435\\u0440\\u0430\",\n      \"\\u043e\\u0434 \\u043d\\u0430\\u0448\\u0430\\u0442\\u0430 \\u0435\\u0440\\u0430\"\n    ],\n    \"ERAS\": [\n      \"\\u043f\\u0440.\\u043d.\\u0435.\",\n      \"\\u043d.\\u0435.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u0458\\u0430\\u043d\\u0443\\u0430\\u0440\\u0438\",\n      \"\\u0444\\u0435\\u0432\\u0440\\u0443\\u0430\\u0440\\u0438\",\n      \"\\u043c\\u0430\\u0440\\u0442\",\n      \"\\u0430\\u043f\\u0440\\u0438\\u043b\",\n      \"\\u043c\\u0430\\u0458\",\n      \"\\u0458\\u0443\\u043d\\u0438\",\n      \"\\u0458\\u0443\\u043b\\u0438\",\n      \"\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\",\n      \"\\u0441\\u0435\\u043f\\u0442\\u0435\\u043c\\u0432\\u0440\\u0438\",\n      \"\\u043e\\u043a\\u0442\\u043e\\u043c\\u0432\\u0440\\u0438\",\n      \"\\u043d\\u043e\\u0435\\u043c\\u0432\\u0440\\u0438\",\n      \"\\u0434\\u0435\\u043a\\u0435\\u043c\\u0432\\u0440\\u0438\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u043d\\u0435\\u0434.\",\n      \"\\u043f\\u043e\\u043d.\",\n      \"\\u0432\\u0442.\",\n      \"\\u0441\\u0440\\u0435.\",\n      \"\\u0447\\u0435\\u0442.\",\n      \"\\u043f\\u0435\\u0442.\",\n      \"\\u0441\\u0430\\u0431.\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0458\\u0430\\u043d.\",\n      \"\\u0444\\u0435\\u0432.\",\n      \"\\u043c\\u0430\\u0440.\",\n      \"\\u0430\\u043f\\u0440.\",\n      \"\\u043c\\u0430\\u0458\",\n      \"\\u0458\\u0443\\u043d.\",\n      \"\\u0458\\u0443\\u043b.\",\n      \"\\u0430\\u0432\\u0433.\",\n      \"\\u0441\\u0435\\u043f\\u0442.\",\n      \"\\u043e\\u043a\\u0442.\",\n      \"\\u043d\\u043e\\u0435\\u043c.\",\n      \"\\u0434\\u0435\\u043a.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd MMMM y\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd.M.y HH:mm:ss\",\n    \"mediumDate\": \"dd.M.y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.M.yy HH:mm\",\n    \"shortDate\": \"dd.M.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"din\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"mk\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 || vf.f % 10 == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ml-in.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"\\u0d1e\\u0d3e\\u0d2f\\u0d31\\u0d3e\\u0d34\\u0d4d\\u200c\\u0d1a\",\n      \"\\u0d24\\u0d3f\\u0d19\\u0d4d\\u0d15\\u0d33\\u0d3e\\u0d34\\u0d4d\\u200c\\u0d1a\",\n      \"\\u0d1a\\u0d4a\\u0d35\\u0d4d\\u0d35\\u0d3e\\u0d34\\u0d4d\\u0d1a\",\n      \"\\u0d2c\\u0d41\\u0d27\\u0d28\\u0d3e\\u0d34\\u0d4d\\u200c\\u0d1a\",\n      \"\\u0d35\\u0d4d\\u0d2f\\u0d3e\\u0d34\\u0d3e\\u0d34\\u0d4d\\u200c\\u0d1a\",\n      \"\\u0d35\\u0d46\\u0d33\\u0d4d\\u0d33\\u0d3f\\u0d2f\\u0d3e\\u0d34\\u0d4d\\u200c\\u0d1a\",\n      \"\\u0d36\\u0d28\\u0d3f\\u0d2f\\u0d3e\\u0d34\\u0d4d\\u200c\\u0d1a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0d15\\u0d4d\\u0d30\\u0d3f\\u0d38\\u0d4d\\u200c\\u0d24\\u0d41\\u0d35\\u0d3f\\u0d28\\u0d4d \\u0d2e\\u0d41\\u0d2e\\u0d4d\\u0d2a\\u0d4d\",\n      \"\\u0d06\\u0d28\\u0d4d\\u0d28\\u0d4b \\u0d21\\u0d4a\\u0d2e\\u0d3f\\u0d28\\u0d3f\"\n    ],\n    \"ERAS\": [\n      \"\\u0d15\\u0d4d\\u0d30\\u0d3f.\\u0d2e\\u0d41.\",\n      \"\\u0d0e\\u0d21\\u0d3f\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u0d1c\\u0d28\\u0d41\\u0d35\\u0d30\\u0d3f\",\n      \"\\u0d2b\\u0d46\\u0d2c\\u0d4d\\u0d30\\u0d41\\u0d35\\u0d30\\u0d3f\",\n      \"\\u0d2e\\u0d3e\\u0d7c\\u0d1a\\u0d4d\\u0d1a\\u0d4d\",\n      \"\\u0d0f\\u0d2a\\u0d4d\\u0d30\\u0d3f\\u0d7d\",\n      \"\\u0d2e\\u0d47\\u0d2f\\u0d4d\",\n      \"\\u0d1c\\u0d42\\u0d7a\",\n      \"\\u0d1c\\u0d42\\u0d32\\u0d48\",\n      \"\\u0d06\\u0d17\\u0d38\\u0d4d\\u0d31\\u0d4d\\u0d31\\u0d4d\",\n      \"\\u0d38\\u0d46\\u0d2a\\u0d4d\\u0d31\\u0d4d\\u0d31\\u0d02\\u0d2c\\u0d7c\",\n      \"\\u0d12\\u0d15\\u0d4d\\u200c\\u0d1f\\u0d4b\\u0d2c\\u0d7c\",\n      \"\\u0d28\\u0d35\\u0d02\\u0d2c\\u0d7c\",\n      \"\\u0d21\\u0d3f\\u0d38\\u0d02\\u0d2c\\u0d7c\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0d1e\\u0d3e\\u0d2f\\u0d7c\",\n      \"\\u0d24\\u0d3f\\u0d19\\u0d4d\\u0d15\\u0d7e\",\n      \"\\u0d1a\\u0d4a\\u0d35\\u0d4d\\u0d35\",\n      \"\\u0d2c\\u0d41\\u0d27\\u0d7b\",\n      \"\\u0d35\\u0d4d\\u0d2f\\u0d3e\\u0d34\\u0d02\",\n      \"\\u0d35\\u0d46\\u0d33\\u0d4d\\u0d33\\u0d3f\",\n      \"\\u0d36\\u0d28\\u0d3f\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0d1c\\u0d28\\u0d41\",\n      \"\\u0d2b\\u0d46\\u0d2c\\u0d4d\\u0d30\\u0d41\",\n      \"\\u0d2e\\u0d3e\\u0d7c\",\n      \"\\u0d0f\\u0d2a\\u0d4d\\u0d30\\u0d3f\",\n      \"\\u0d2e\\u0d47\\u0d2f\\u0d4d\",\n      \"\\u0d1c\\u0d42\\u0d7a\",\n      \"\\u0d1c\\u0d42\\u0d32\\u0d48\",\n      \"\\u0d13\\u0d17\",\n      \"\\u0d38\\u0d46\\u0d2a\\u0d4d\\u0d31\\u0d4d\\u0d31\\u0d02\",\n      \"\\u0d12\\u0d15\\u0d4d\\u0d1f\\u0d4b\",\n      \"\\u0d28\\u0d35\\u0d02\",\n      \"\\u0d21\\u0d3f\\u0d38\\u0d02\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"y, MMMM d, EEEE\",\n    \"longDate\": \"y, MMMM d\",\n    \"medium\": \"y, MMM d h:mm:ss a\",\n    \"mediumDate\": \"y, MMM d\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ml-in\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ml.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"\\u0d1e\\u0d3e\\u0d2f\\u0d31\\u0d3e\\u0d34\\u0d4d\\u200c\\u0d1a\",\n      \"\\u0d24\\u0d3f\\u0d19\\u0d4d\\u0d15\\u0d33\\u0d3e\\u0d34\\u0d4d\\u200c\\u0d1a\",\n      \"\\u0d1a\\u0d4a\\u0d35\\u0d4d\\u0d35\\u0d3e\\u0d34\\u0d4d\\u0d1a\",\n      \"\\u0d2c\\u0d41\\u0d27\\u0d28\\u0d3e\\u0d34\\u0d4d\\u200c\\u0d1a\",\n      \"\\u0d35\\u0d4d\\u0d2f\\u0d3e\\u0d34\\u0d3e\\u0d34\\u0d4d\\u200c\\u0d1a\",\n      \"\\u0d35\\u0d46\\u0d33\\u0d4d\\u0d33\\u0d3f\\u0d2f\\u0d3e\\u0d34\\u0d4d\\u200c\\u0d1a\",\n      \"\\u0d36\\u0d28\\u0d3f\\u0d2f\\u0d3e\\u0d34\\u0d4d\\u200c\\u0d1a\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0d15\\u0d4d\\u0d30\\u0d3f\\u0d38\\u0d4d\\u200c\\u0d24\\u0d41\\u0d35\\u0d3f\\u0d28\\u0d4d \\u0d2e\\u0d41\\u0d2e\\u0d4d\\u0d2a\\u0d4d\",\n      \"\\u0d06\\u0d28\\u0d4d\\u0d28\\u0d4b \\u0d21\\u0d4a\\u0d2e\\u0d3f\\u0d28\\u0d3f\"\n    ],\n    \"ERAS\": [\n      \"\\u0d15\\u0d4d\\u0d30\\u0d3f.\\u0d2e\\u0d41.\",\n      \"\\u0d0e\\u0d21\\u0d3f\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u0d1c\\u0d28\\u0d41\\u0d35\\u0d30\\u0d3f\",\n      \"\\u0d2b\\u0d46\\u0d2c\\u0d4d\\u0d30\\u0d41\\u0d35\\u0d30\\u0d3f\",\n      \"\\u0d2e\\u0d3e\\u0d7c\\u0d1a\\u0d4d\\u0d1a\\u0d4d\",\n      \"\\u0d0f\\u0d2a\\u0d4d\\u0d30\\u0d3f\\u0d7d\",\n      \"\\u0d2e\\u0d47\\u0d2f\\u0d4d\",\n      \"\\u0d1c\\u0d42\\u0d7a\",\n      \"\\u0d1c\\u0d42\\u0d32\\u0d48\",\n      \"\\u0d06\\u0d17\\u0d38\\u0d4d\\u0d31\\u0d4d\\u0d31\\u0d4d\",\n      \"\\u0d38\\u0d46\\u0d2a\\u0d4d\\u0d31\\u0d4d\\u0d31\\u0d02\\u0d2c\\u0d7c\",\n      \"\\u0d12\\u0d15\\u0d4d\\u200c\\u0d1f\\u0d4b\\u0d2c\\u0d7c\",\n      \"\\u0d28\\u0d35\\u0d02\\u0d2c\\u0d7c\",\n      \"\\u0d21\\u0d3f\\u0d38\\u0d02\\u0d2c\\u0d7c\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0d1e\\u0d3e\\u0d2f\\u0d7c\",\n      \"\\u0d24\\u0d3f\\u0d19\\u0d4d\\u0d15\\u0d7e\",\n      \"\\u0d1a\\u0d4a\\u0d35\\u0d4d\\u0d35\",\n      \"\\u0d2c\\u0d41\\u0d27\\u0d7b\",\n      \"\\u0d35\\u0d4d\\u0d2f\\u0d3e\\u0d34\\u0d02\",\n      \"\\u0d35\\u0d46\\u0d33\\u0d4d\\u0d33\\u0d3f\",\n      \"\\u0d36\\u0d28\\u0d3f\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0d1c\\u0d28\\u0d41\",\n      \"\\u0d2b\\u0d46\\u0d2c\\u0d4d\\u0d30\\u0d41\",\n      \"\\u0d2e\\u0d3e\\u0d7c\",\n      \"\\u0d0f\\u0d2a\\u0d4d\\u0d30\\u0d3f\",\n      \"\\u0d2e\\u0d47\\u0d2f\\u0d4d\",\n      \"\\u0d1c\\u0d42\\u0d7a\",\n      \"\\u0d1c\\u0d42\\u0d32\\u0d48\",\n      \"\\u0d13\\u0d17\",\n      \"\\u0d38\\u0d46\\u0d2a\\u0d4d\\u0d31\\u0d4d\\u0d31\\u0d02\",\n      \"\\u0d12\\u0d15\\u0d4d\\u0d1f\\u0d4b\",\n      \"\\u0d28\\u0d35\\u0d02\",\n      \"\\u0d21\\u0d3f\\u0d38\\u0d02\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"y, MMMM d, EEEE\",\n    \"longDate\": \"y, MMMM d\",\n    \"medium\": \"y, MMM d h:mm:ss a\",\n    \"mediumDate\": \"y, MMM d\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ml\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_mn-cyrl-mn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u04ae\\u04e8\",\n      \"\\u04ae\\u0425\"\n    ],\n    \"DAY\": [\n      \"\\u043d\\u044f\\u043c\",\n      \"\\u0434\\u0430\\u0432\\u0430\\u0430\",\n      \"\\u043c\\u044f\\u0433\\u043c\\u0430\\u0440\",\n      \"\\u043b\\u0445\\u0430\\u0433\\u0432\\u0430\",\n      \"\\u043f\\u04af\\u0440\\u044d\\u0432\",\n      \"\\u0431\\u0430\\u0430\\u0441\\u0430\\u043d\",\n      \"\\u0431\\u044f\\u043c\\u0431\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u043c\\u0430\\u043d\\u0430\\u0439 \\u044d\\u0440\\u0438\\u043d\\u0438\\u0439 \\u04e9\\u043c\\u043d\\u04e9\\u0445\",\n      \"\\u043c\\u0430\\u043d\\u0430\\u0439 \\u044d\\u0440\\u0438\\u043d\\u0438\\u0439\"\n    ],\n    \"ERAS\": [\n      \"\\u041c\\u042d\\u04e8\",\n      \"\\u041c\\u042d\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u041d\\u044d\\u0433\\u0434\\u04af\\u0433\\u044d\\u044d\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0425\\u043e\\u0451\\u0440\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0413\\u0443\\u0440\\u0430\\u0432\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0414\\u04e9\\u0440\\u04e9\\u0432\\u0434\\u04af\\u0433\\u044d\\u044d\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0422\\u0430\\u0432\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0417\\u0443\\u0440\\u0433\\u0430\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0414\\u043e\\u043b\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u041d\\u0430\\u0439\\u043c\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0415\\u0441\\u0434\\u04af\\u0433\\u044d\\u044d\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0410\\u0440\\u0430\\u0432\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0410\\u0440\\u0432\\u0430\\u043d \\u043d\\u044d\\u0433\\u0434\\u04af\\u0433\\u044d\\u044d\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0410\\u0440\\u0432\\u0430\\u043d \\u0445\\u043e\\u0451\\u0440\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u041d\\u044f\",\n      \"\\u0414\\u0430\",\n      \"\\u041c\\u044f\",\n      \"\\u041b\\u0445\",\n      \"\\u041f\\u04af\",\n      \"\\u0411\\u0430\",\n      \"\\u0411\\u044f\"\n    ],\n    \"SHORTMONTH\": [\n      \"1-\\u0440 \\u0441\\u0430\\u0440\",\n      \"2-\\u0440 \\u0441\\u0430\\u0440\",\n      \"3-\\u0440 \\u0441\\u0430\\u0440\",\n      \"4-\\u0440 \\u0441\\u0430\\u0440\",\n      \"5-\\u0440 \\u0441\\u0430\\u0440\",\n      \"6-\\u0440 \\u0441\\u0430\\u0440\",\n      \"7-\\u0440 \\u0441\\u0430\\u0440\",\n      \"8-\\u0440 \\u0441\\u0430\\u0440\",\n      \"9-\\u0440 \\u0441\\u0430\\u0440\",\n      \"10-\\u0440 \\u0441\\u0430\\u0440\",\n      \"11-\\u0440 \\u0441\\u0430\\u0440\",\n      \"12-\\u0440 \\u0441\\u0430\\u0440\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, y '\\u043e\\u043d\\u044b' MM '\\u0441\\u0430\\u0440\\u044b\\u043d' d\",\n    \"longDate\": \"y '\\u043e\\u043d\\u044b' MM '\\u0441\\u0430\\u0440\\u044b\\u043d' d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ae\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"mn-cyrl-mn\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_mn-cyrl.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u04ae\\u04e8\",\n      \"\\u04ae\\u0425\"\n    ],\n    \"DAY\": [\n      \"\\u043d\\u044f\\u043c\",\n      \"\\u0434\\u0430\\u0432\\u0430\\u0430\",\n      \"\\u043c\\u044f\\u0433\\u043c\\u0430\\u0440\",\n      \"\\u043b\\u0445\\u0430\\u0433\\u0432\\u0430\",\n      \"\\u043f\\u04af\\u0440\\u044d\\u0432\",\n      \"\\u0431\\u0430\\u0430\\u0441\\u0430\\u043d\",\n      \"\\u0431\\u044f\\u043c\\u0431\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u043c\\u0430\\u043d\\u0430\\u0439 \\u044d\\u0440\\u0438\\u043d\\u0438\\u0439 \\u04e9\\u043c\\u043d\\u04e9\\u0445\",\n      \"\\u043c\\u0430\\u043d\\u0430\\u0439 \\u044d\\u0440\\u0438\\u043d\\u0438\\u0439\"\n    ],\n    \"ERAS\": [\n      \"\\u041c\\u042d\\u04e8\",\n      \"\\u041c\\u042d\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u041d\\u044d\\u0433\\u0434\\u04af\\u0433\\u044d\\u044d\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0425\\u043e\\u0451\\u0440\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0413\\u0443\\u0440\\u0430\\u0432\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0414\\u04e9\\u0440\\u04e9\\u0432\\u0434\\u04af\\u0433\\u044d\\u044d\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0422\\u0430\\u0432\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0417\\u0443\\u0440\\u0433\\u0430\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0414\\u043e\\u043b\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u041d\\u0430\\u0439\\u043c\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0415\\u0441\\u0434\\u04af\\u0433\\u044d\\u044d\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0410\\u0440\\u0430\\u0432\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0410\\u0440\\u0432\\u0430\\u043d \\u043d\\u044d\\u0433\\u0434\\u04af\\u0433\\u044d\\u044d\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0410\\u0440\\u0432\\u0430\\u043d \\u0445\\u043e\\u0451\\u0440\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u041d\\u044f\",\n      \"\\u0414\\u0430\",\n      \"\\u041c\\u044f\",\n      \"\\u041b\\u0445\",\n      \"\\u041f\\u04af\",\n      \"\\u0411\\u0430\",\n      \"\\u0411\\u044f\"\n    ],\n    \"SHORTMONTH\": [\n      \"1-\\u0440 \\u0441\\u0430\\u0440\",\n      \"2-\\u0440 \\u0441\\u0430\\u0440\",\n      \"3-\\u0440 \\u0441\\u0430\\u0440\",\n      \"4-\\u0440 \\u0441\\u0430\\u0440\",\n      \"5-\\u0440 \\u0441\\u0430\\u0440\",\n      \"6-\\u0440 \\u0441\\u0430\\u0440\",\n      \"7-\\u0440 \\u0441\\u0430\\u0440\",\n      \"8-\\u0440 \\u0441\\u0430\\u0440\",\n      \"9-\\u0440 \\u0441\\u0430\\u0440\",\n      \"10-\\u0440 \\u0441\\u0430\\u0440\",\n      \"11-\\u0440 \\u0441\\u0430\\u0440\",\n      \"12-\\u0440 \\u0441\\u0430\\u0440\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, y '\\u043e\\u043d\\u044b' MM '\\u0441\\u0430\\u0440\\u044b\\u043d' d\",\n    \"longDate\": \"y '\\u043e\\u043d\\u044b' MM '\\u0441\\u0430\\u0440\\u044b\\u043d' d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ae\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"mn-cyrl\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_mn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u04ae\\u04e8\",\n      \"\\u04ae\\u0425\"\n    ],\n    \"DAY\": [\n      \"\\u043d\\u044f\\u043c\",\n      \"\\u0434\\u0430\\u0432\\u0430\\u0430\",\n      \"\\u043c\\u044f\\u0433\\u043c\\u0430\\u0440\",\n      \"\\u043b\\u0445\\u0430\\u0433\\u0432\\u0430\",\n      \"\\u043f\\u04af\\u0440\\u044d\\u0432\",\n      \"\\u0431\\u0430\\u0430\\u0441\\u0430\\u043d\",\n      \"\\u0431\\u044f\\u043c\\u0431\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u043c\\u0430\\u043d\\u0430\\u0439 \\u044d\\u0440\\u0438\\u043d\\u0438\\u0439 \\u04e9\\u043c\\u043d\\u04e9\\u0445\",\n      \"\\u043c\\u0430\\u043d\\u0430\\u0439 \\u044d\\u0440\\u0438\\u043d\\u0438\\u0439\"\n    ],\n    \"ERAS\": [\n      \"\\u041c\\u042d\\u04e8\",\n      \"\\u041c\\u042d\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u041d\\u044d\\u0433\\u0434\\u04af\\u0433\\u044d\\u044d\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0425\\u043e\\u0451\\u0440\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0413\\u0443\\u0440\\u0430\\u0432\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0414\\u04e9\\u0440\\u04e9\\u0432\\u0434\\u04af\\u0433\\u044d\\u044d\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0422\\u0430\\u0432\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0417\\u0443\\u0440\\u0433\\u0430\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0414\\u043e\\u043b\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u041d\\u0430\\u0439\\u043c\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0415\\u0441\\u0434\\u04af\\u0433\\u044d\\u044d\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0410\\u0440\\u0430\\u0432\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0410\\u0440\\u0432\\u0430\\u043d \\u043d\\u044d\\u0433\\u0434\\u04af\\u0433\\u044d\\u044d\\u0440 \\u0441\\u0430\\u0440\",\n      \"\\u0410\\u0440\\u0432\\u0430\\u043d \\u0445\\u043e\\u0451\\u0440\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u041d\\u044f\",\n      \"\\u0414\\u0430\",\n      \"\\u041c\\u044f\",\n      \"\\u041b\\u0445\",\n      \"\\u041f\\u04af\",\n      \"\\u0411\\u0430\",\n      \"\\u0411\\u044f\"\n    ],\n    \"SHORTMONTH\": [\n      \"1-\\u0440 \\u0441\\u0430\\u0440\",\n      \"2-\\u0440 \\u0441\\u0430\\u0440\",\n      \"3-\\u0440 \\u0441\\u0430\\u0440\",\n      \"4-\\u0440 \\u0441\\u0430\\u0440\",\n      \"5-\\u0440 \\u0441\\u0430\\u0440\",\n      \"6-\\u0440 \\u0441\\u0430\\u0440\",\n      \"7-\\u0440 \\u0441\\u0430\\u0440\",\n      \"8-\\u0440 \\u0441\\u0430\\u0440\",\n      \"9-\\u0440 \\u0441\\u0430\\u0440\",\n      \"10-\\u0440 \\u0441\\u0430\\u0440\",\n      \"11-\\u0440 \\u0441\\u0430\\u0440\",\n      \"12-\\u0440 \\u0441\\u0430\\u0440\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, y '\\u043e\\u043d\\u044b' MM '\\u0441\\u0430\\u0440\\u044b\\u043d' d\",\n    \"longDate\": \"y '\\u043e\\u043d\\u044b' MM '\\u0441\\u0430\\u0440\\u044b\\u043d' d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ae\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"mn\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_mr-in.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u092e.\\u092a\\u0942.\",\n      \"\\u092e.\\u0909.\"\n    ],\n    \"DAY\": [\n      \"\\u0930\\u0935\\u093f\\u0935\\u093e\\u0930\",\n      \"\\u0938\\u094b\\u092e\\u0935\\u093e\\u0930\",\n      \"\\u092e\\u0902\\u0917\\u0933\\u0935\\u093e\\u0930\",\n      \"\\u092c\\u0941\\u0927\\u0935\\u093e\\u0930\",\n      \"\\u0917\\u0941\\u0930\\u0941\\u0935\\u093e\\u0930\",\n      \"\\u0936\\u0941\\u0915\\u094d\\u0930\\u0935\\u093e\\u0930\",\n      \"\\u0936\\u0928\\u093f\\u0935\\u093e\\u0930\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0908\\u0938\\u0935\\u0940\\u0938\\u0928\\u092a\\u0942\\u0930\\u094d\\u0935\",\n      \"\\u0908\\u0938\\u0935\\u0940\\u0938\\u0928\"\n    ],\n    \"ERAS\": [\n      \"\\u0907. \\u0938. \\u092a\\u0942.\",\n      \"\\u0907. \\u0938.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u091c\\u093e\\u0928\\u0947\\u0935\\u093e\\u0930\\u0940\",\n      \"\\u092b\\u0947\\u092c\\u094d\\u0930\\u0941\\u0935\\u093e\\u0930\\u0940\",\n      \"\\u092e\\u093e\\u0930\\u094d\\u091a\",\n      \"\\u090f\\u092a\\u094d\\u0930\\u093f\\u0932\",\n      \"\\u092e\\u0947\",\n      \"\\u091c\\u0942\\u0928\",\n      \"\\u091c\\u0941\\u0932\\u0948\",\n      \"\\u0911\\u0917\\u0938\\u094d\\u091f\",\n      \"\\u0938\\u092a\\u094d\\u091f\\u0947\\u0902\\u092c\\u0930\",\n      \"\\u0911\\u0915\\u094d\\u091f\\u094b\\u092c\\u0930\",\n      \"\\u0928\\u094b\\u0935\\u094d\\u0939\\u0947\\u0902\\u092c\\u0930\",\n      \"\\u0921\\u093f\\u0938\\u0947\\u0902\\u092c\\u0930\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0930\\u0935\\u093f\",\n      \"\\u0938\\u094b\\u092e\",\n      \"\\u092e\\u0902\\u0917\\u0933\",\n      \"\\u092c\\u0941\\u0927\",\n      \"\\u0917\\u0941\\u0930\\u0941\",\n      \"\\u0936\\u0941\\u0915\\u094d\\u0930\",\n      \"\\u0936\\u0928\\u093f\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u091c\\u093e\\u0928\\u0947\",\n      \"\\u092b\\u0947\\u092c\\u094d\\u0930\\u0941\",\n      \"\\u092e\\u093e\\u0930\\u094d\\u091a\",\n      \"\\u090f\\u092a\\u094d\\u0930\\u093f\",\n      \"\\u092e\\u0947\",\n      \"\\u091c\\u0942\\u0928\",\n      \"\\u091c\\u0941\\u0932\\u0948\",\n      \"\\u0911\\u0917\",\n      \"\\u0938\\u092a\\u094d\\u091f\\u0947\\u0902\",\n      \"\\u0911\\u0915\\u094d\\u091f\\u094b\",\n      \"\\u0928\\u094b\\u0935\\u094d\\u0939\\u0947\\u0902\",\n      \"\\u0921\\u093f\\u0938\\u0947\\u0902\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM, y\",\n    \"longDate\": \"d MMMM, y\",\n    \"medium\": \"d MMM, y h:mm:ss a\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"mr-in\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_mr.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u092e.\\u092a\\u0942.\",\n      \"\\u092e.\\u0909.\"\n    ],\n    \"DAY\": [\n      \"\\u0930\\u0935\\u093f\\u0935\\u093e\\u0930\",\n      \"\\u0938\\u094b\\u092e\\u0935\\u093e\\u0930\",\n      \"\\u092e\\u0902\\u0917\\u0933\\u0935\\u093e\\u0930\",\n      \"\\u092c\\u0941\\u0927\\u0935\\u093e\\u0930\",\n      \"\\u0917\\u0941\\u0930\\u0941\\u0935\\u093e\\u0930\",\n      \"\\u0936\\u0941\\u0915\\u094d\\u0930\\u0935\\u093e\\u0930\",\n      \"\\u0936\\u0928\\u093f\\u0935\\u093e\\u0930\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0908\\u0938\\u0935\\u0940\\u0938\\u0928\\u092a\\u0942\\u0930\\u094d\\u0935\",\n      \"\\u0908\\u0938\\u0935\\u0940\\u0938\\u0928\"\n    ],\n    \"ERAS\": [\n      \"\\u0907. \\u0938. \\u092a\\u0942.\",\n      \"\\u0907. \\u0938.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u091c\\u093e\\u0928\\u0947\\u0935\\u093e\\u0930\\u0940\",\n      \"\\u092b\\u0947\\u092c\\u094d\\u0930\\u0941\\u0935\\u093e\\u0930\\u0940\",\n      \"\\u092e\\u093e\\u0930\\u094d\\u091a\",\n      \"\\u090f\\u092a\\u094d\\u0930\\u093f\\u0932\",\n      \"\\u092e\\u0947\",\n      \"\\u091c\\u0942\\u0928\",\n      \"\\u091c\\u0941\\u0932\\u0948\",\n      \"\\u0911\\u0917\\u0938\\u094d\\u091f\",\n      \"\\u0938\\u092a\\u094d\\u091f\\u0947\\u0902\\u092c\\u0930\",\n      \"\\u0911\\u0915\\u094d\\u091f\\u094b\\u092c\\u0930\",\n      \"\\u0928\\u094b\\u0935\\u094d\\u0939\\u0947\\u0902\\u092c\\u0930\",\n      \"\\u0921\\u093f\\u0938\\u0947\\u0902\\u092c\\u0930\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0930\\u0935\\u093f\",\n      \"\\u0938\\u094b\\u092e\",\n      \"\\u092e\\u0902\\u0917\\u0933\",\n      \"\\u092c\\u0941\\u0927\",\n      \"\\u0917\\u0941\\u0930\\u0941\",\n      \"\\u0936\\u0941\\u0915\\u094d\\u0930\",\n      \"\\u0936\\u0928\\u093f\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u091c\\u093e\\u0928\\u0947\",\n      \"\\u092b\\u0947\\u092c\\u094d\\u0930\\u0941\",\n      \"\\u092e\\u093e\\u0930\\u094d\\u091a\",\n      \"\\u090f\\u092a\\u094d\\u0930\\u093f\",\n      \"\\u092e\\u0947\",\n      \"\\u091c\\u0942\\u0928\",\n      \"\\u091c\\u0941\\u0932\\u0948\",\n      \"\\u0911\\u0917\",\n      \"\\u0938\\u092a\\u094d\\u091f\\u0947\\u0902\",\n      \"\\u0911\\u0915\\u094d\\u091f\\u094b\",\n      \"\\u0928\\u094b\\u0935\\u094d\\u0939\\u0947\\u0902\",\n      \"\\u0921\\u093f\\u0938\\u0947\\u0902\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM, y\",\n    \"longDate\": \"d MMMM, y\",\n    \"medium\": \"d MMM, y h:mm:ss a\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"mr\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ms-latn-bn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"PG\",\n      \"PTG\"\n    ],\n    \"DAY\": [\n      \"Ahad\",\n      \"Isnin\",\n      \"Selasa\",\n      \"Rabu\",\n      \"Khamis\",\n      \"Jumaat\",\n      \"Sabtu\"\n    ],\n    \"ERANAMES\": [\n      \"S.M.\",\n      \"TM\"\n    ],\n    \"ERAS\": [\n      \"S.M.\",\n      \"TM\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januari\",\n      \"Februari\",\n      \"Mac\",\n      \"April\",\n      \"Mei\",\n      \"Jun\",\n      \"Julai\",\n      \"Ogos\",\n      \"September\",\n      \"Oktober\",\n      \"November\",\n      \"Disember\"\n    ],\n    \"SHORTDAY\": [\n      \"Ahd\",\n      \"Isn\",\n      \"Sel\",\n      \"Rab\",\n      \"Kha\",\n      \"Jum\",\n      \"Sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mac\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Ogo\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Dis\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"dd MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/MM/yy h:mm a\",\n    \"shortDate\": \"d/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ms-latn-bn\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ms-latn-my.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"PG\",\n      \"PTG\"\n    ],\n    \"DAY\": [\n      \"Ahad\",\n      \"Isnin\",\n      \"Selasa\",\n      \"Rabu\",\n      \"Khamis\",\n      \"Jumaat\",\n      \"Sabtu\"\n    ],\n    \"ERANAMES\": [\n      \"S.M.\",\n      \"TM\"\n    ],\n    \"ERAS\": [\n      \"S.M.\",\n      \"TM\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januari\",\n      \"Februari\",\n      \"Mac\",\n      \"April\",\n      \"Mei\",\n      \"Jun\",\n      \"Julai\",\n      \"Ogos\",\n      \"September\",\n      \"Oktober\",\n      \"November\",\n      \"Disember\"\n    ],\n    \"SHORTDAY\": [\n      \"Ahd\",\n      \"Isn\",\n      \"Sel\",\n      \"Rab\",\n      \"Kha\",\n      \"Jum\",\n      \"Sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mac\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Ogo\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Dis\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/MM/yy h:mm a\",\n    \"shortDate\": \"d/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"RM\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ms-latn-my\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ms-latn-sg.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"PG\",\n      \"PTG\"\n    ],\n    \"DAY\": [\n      \"Ahad\",\n      \"Isnin\",\n      \"Selasa\",\n      \"Rabu\",\n      \"Khamis\",\n      \"Jumaat\",\n      \"Sabtu\"\n    ],\n    \"ERANAMES\": [\n      \"S.M.\",\n      \"TM\"\n    ],\n    \"ERAS\": [\n      \"S.M.\",\n      \"TM\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januari\",\n      \"Februari\",\n      \"Mac\",\n      \"April\",\n      \"Mei\",\n      \"Jun\",\n      \"Julai\",\n      \"Ogos\",\n      \"September\",\n      \"Oktober\",\n      \"November\",\n      \"Disember\"\n    ],\n    \"SHORTDAY\": [\n      \"Ahd\",\n      \"Isn\",\n      \"Sel\",\n      \"Rab\",\n      \"Kha\",\n      \"Jum\",\n      \"Sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mac\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Ogo\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Dis\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/MM/yy h:mm a\",\n    \"shortDate\": \"d/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ms-latn-sg\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ms-latn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"PG\",\n      \"PTG\"\n    ],\n    \"DAY\": [\n      \"Ahad\",\n      \"Isnin\",\n      \"Selasa\",\n      \"Rabu\",\n      \"Khamis\",\n      \"Jumaat\",\n      \"Sabtu\"\n    ],\n    \"ERANAMES\": [\n      \"S.M.\",\n      \"TM\"\n    ],\n    \"ERAS\": [\n      \"S.M.\",\n      \"TM\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januari\",\n      \"Februari\",\n      \"Mac\",\n      \"April\",\n      \"Mei\",\n      \"Jun\",\n      \"Julai\",\n      \"Ogos\",\n      \"September\",\n      \"Oktober\",\n      \"November\",\n      \"Disember\"\n    ],\n    \"SHORTDAY\": [\n      \"Ahd\",\n      \"Isn\",\n      \"Sel\",\n      \"Rab\",\n      \"Kha\",\n      \"Jum\",\n      \"Sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mac\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Ogo\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Dis\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/MM/yy h:mm a\",\n    \"shortDate\": \"d/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"RM\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ms-latn\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ms.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"PG\",\n      \"PTG\"\n    ],\n    \"DAY\": [\n      \"Ahad\",\n      \"Isnin\",\n      \"Selasa\",\n      \"Rabu\",\n      \"Khamis\",\n      \"Jumaat\",\n      \"Sabtu\"\n    ],\n    \"ERANAMES\": [\n      \"S.M.\",\n      \"TM\"\n    ],\n    \"ERAS\": [\n      \"S.M.\",\n      \"TM\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januari\",\n      \"Februari\",\n      \"Mac\",\n      \"April\",\n      \"Mei\",\n      \"Jun\",\n      \"Julai\",\n      \"Ogos\",\n      \"September\",\n      \"Oktober\",\n      \"November\",\n      \"Disember\"\n    ],\n    \"SHORTDAY\": [\n      \"Ahd\",\n      \"Isn\",\n      \"Sel\",\n      \"Rab\",\n      \"Kha\",\n      \"Jum\",\n      \"Sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mac\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Ogo\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Dis\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/MM/yy h:mm a\",\n    \"shortDate\": \"d/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"RM\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ms\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_mt-mt.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Il-\\u0126add\",\n      \"It-Tnejn\",\n      \"It-Tlieta\",\n      \"L-Erbg\\u0127a\",\n      \"Il-\\u0126amis\",\n      \"Il-\\u0120img\\u0127a\",\n      \"Is-Sibt\"\n    ],\n    \"ERANAMES\": [\n      \"Qabel Kristu\",\n      \"Wara Kristu\"\n    ],\n    \"ERAS\": [\n      \"QK\",\n      \"WK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Jannar\",\n      \"Frar\",\n      \"Marzu\",\n      \"April\",\n      \"Mejju\",\n      \"\\u0120unju\",\n      \"Lulju\",\n      \"Awwissu\",\n      \"Settembru\",\n      \"Ottubru\",\n      \"Novembru\",\n      \"Di\\u010bembru\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0126ad\",\n      \"Tne\",\n      \"Tli\",\n      \"Erb\",\n      \"\\u0126am\",\n      \"\\u0120im\",\n      \"Sib\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Fra\",\n      \"Mar\",\n      \"Apr\",\n      \"Mej\",\n      \"\\u0120un\",\n      \"Lul\",\n      \"Aww\",\n      \"Set\",\n      \"Ott\",\n      \"Nov\",\n      \"Di\\u010b\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'ta'\\u2019 MMMM y\",\n    \"longDate\": \"d 'ta'\\u2019 MMMM y\",\n    \"medium\": \"dd MMM y HH:mm:ss\",\n    \"mediumDate\": \"dd MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"mt-mt\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 0 || n % 100 >= 2 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 19) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_mt.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Il-\\u0126add\",\n      \"It-Tnejn\",\n      \"It-Tlieta\",\n      \"L-Erbg\\u0127a\",\n      \"Il-\\u0126amis\",\n      \"Il-\\u0120img\\u0127a\",\n      \"Is-Sibt\"\n    ],\n    \"ERANAMES\": [\n      \"Qabel Kristu\",\n      \"Wara Kristu\"\n    ],\n    \"ERAS\": [\n      \"QK\",\n      \"WK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Jannar\",\n      \"Frar\",\n      \"Marzu\",\n      \"April\",\n      \"Mejju\",\n      \"\\u0120unju\",\n      \"Lulju\",\n      \"Awwissu\",\n      \"Settembru\",\n      \"Ottubru\",\n      \"Novembru\",\n      \"Di\\u010bembru\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0126ad\",\n      \"Tne\",\n      \"Tli\",\n      \"Erb\",\n      \"\\u0126am\",\n      \"\\u0120im\",\n      \"Sib\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Fra\",\n      \"Mar\",\n      \"Apr\",\n      \"Mej\",\n      \"\\u0120un\",\n      \"Lul\",\n      \"Aww\",\n      \"Set\",\n      \"Ott\",\n      \"Nov\",\n      \"Di\\u010b\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'ta'\\u2019 MMMM y\",\n    \"longDate\": \"d 'ta'\\u2019 MMMM y\",\n    \"medium\": \"dd MMM y HH:mm:ss\",\n    \"mediumDate\": \"dd MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"mt\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  if (n == 0 || n % 100 >= 2 && n % 100 <= 10) {    return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 19) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_mua-cm.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"comme\",\n      \"lilli\"\n    ],\n    \"DAY\": [\n      \"Com\\u2019yakke\",\n      \"Comlaa\\u0257ii\",\n      \"Comzyii\\u0257ii\",\n      \"Comkolle\",\n      \"Comkald\\u01dd\\u0253lii\",\n      \"Comgaisuu\",\n      \"Comzye\\u0253suu\"\n    ],\n    \"ERANAMES\": [\n      \"K\\u01ddPel Kristu\",\n      \"Pel Kristu\"\n    ],\n    \"ERAS\": [\n      \"KK\",\n      \"PK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"F\\u0129i Loo\",\n      \"Cokcwakla\\u014bne\",\n      \"Cokcwaklii\",\n      \"F\\u0129i Marfoo\",\n      \"Mad\\u01dd\\u01dduut\\u01ddbija\\u014b\",\n      \"Mam\\u01dd\\u014bgw\\u00e3afahbii\",\n      \"Mam\\u01dd\\u014bgw\\u00e3alii\",\n      \"Mad\\u01ddmbii\",\n      \"F\\u0129i D\\u01dd\\u0253lii\",\n      \"F\\u0129i Munda\\u014b\",\n      \"F\\u0129i Gwahlle\",\n      \"F\\u0129i Yuru\"\n    ],\n    \"SHORTDAY\": [\n      \"Cya\",\n      \"Cla\",\n      \"Czi\",\n      \"Cko\",\n      \"Cka\",\n      \"Cga\",\n      \"Cze\"\n    ],\n    \"SHORTMONTH\": [\n      \"FLO\",\n      \"CLA\",\n      \"CKI\",\n      \"FMF\",\n      \"MAD\",\n      \"MBI\",\n      \"MLI\",\n      \"MAM\",\n      \"FDE\",\n      \"FMU\",\n      \"FGW\",\n      \"FYU\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"mua-cm\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_mua.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"comme\",\n      \"lilli\"\n    ],\n    \"DAY\": [\n      \"Com\\u2019yakke\",\n      \"Comlaa\\u0257ii\",\n      \"Comzyii\\u0257ii\",\n      \"Comkolle\",\n      \"Comkald\\u01dd\\u0253lii\",\n      \"Comgaisuu\",\n      \"Comzye\\u0253suu\"\n    ],\n    \"ERANAMES\": [\n      \"K\\u01ddPel Kristu\",\n      \"Pel Kristu\"\n    ],\n    \"ERAS\": [\n      \"KK\",\n      \"PK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"F\\u0129i Loo\",\n      \"Cokcwakla\\u014bne\",\n      \"Cokcwaklii\",\n      \"F\\u0129i Marfoo\",\n      \"Mad\\u01dd\\u01dduut\\u01ddbija\\u014b\",\n      \"Mam\\u01dd\\u014bgw\\u00e3afahbii\",\n      \"Mam\\u01dd\\u014bgw\\u00e3alii\",\n      \"Mad\\u01ddmbii\",\n      \"F\\u0129i D\\u01dd\\u0253lii\",\n      \"F\\u0129i Munda\\u014b\",\n      \"F\\u0129i Gwahlle\",\n      \"F\\u0129i Yuru\"\n    ],\n    \"SHORTDAY\": [\n      \"Cya\",\n      \"Cla\",\n      \"Czi\",\n      \"Cko\",\n      \"Cka\",\n      \"Cga\",\n      \"Cze\"\n    ],\n    \"SHORTMONTH\": [\n      \"FLO\",\n      \"CLA\",\n      \"CKI\",\n      \"FMF\",\n      \"MAD\",\n      \"MBI\",\n      \"MLI\",\n      \"MAM\",\n      \"FDE\",\n      \"FMU\",\n      \"FGW\",\n      \"FYU\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"mua\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_my-mm.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u1014\\u1036\\u1014\\u1000\\u103a\",\n      \"\\u100a\\u1014\\u1031\"\n    ],\n    \"DAY\": [\n      \"\\u1010\\u1014\\u1004\\u103a\\u1039\\u1002\\u1014\\u103d\\u1031\",\n      \"\\u1010\\u1014\\u1004\\u103a\\u1039\\u101c\\u102c\",\n      \"\\u1021\\u1004\\u103a\\u1039\\u1002\\u102b\",\n      \"\\u1017\\u102f\\u1012\\u1039\\u1013\\u101f\\u1030\\u1038\",\n      \"\\u1000\\u103c\\u102c\\u101e\\u1015\\u1010\\u1031\\u1038\",\n      \"\\u101e\\u1031\\u102c\\u1000\\u103c\\u102c\",\n      \"\\u1005\\u1014\\u1031\"\n    ],\n    \"ERANAMES\": [\n      \"\\u1001\\u101b\\u1005\\u103a\\u1010\\u1031\\u102c\\u103a \\u1019\\u1015\\u1031\\u102b\\u103a\\u1019\\u102e\\u1000\\u102c\\u101c\",\n      \"\\u1001\\u101b\\u1005\\u103a\\u1010\\u1031\\u102c\\u103a \\u1015\\u1031\\u102b\\u103a\\u1011\\u103d\\u1014\\u103a\\u1038\\u1015\\u103c\\u102e\\u1038\\u1000\\u102c\\u101c\"\n    ],\n    \"ERAS\": [\n      \"\\u1018\\u102e\\u1005\\u102e\",\n      \"\\u1021\\u1031\\u1012\\u102e\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u1007\\u1014\\u103a\\u1014\\u101d\\u102b\\u101b\\u102e\",\n      \"\\u1016\\u1031\\u1016\\u1031\\u102c\\u103a\\u101d\\u102b\\u101b\\u102e\",\n      \"\\u1019\\u1010\\u103a\",\n      \"\\u1027\\u1015\\u103c\\u102e\",\n      \"\\u1019\\u1031\",\n      \"\\u1007\\u103d\\u1014\\u103a\",\n      \"\\u1007\\u1030\\u101c\\u102d\\u102f\\u1004\\u103a\",\n      \"\\u1029\\u1002\\u102f\\u1010\\u103a\",\n      \"\\u1005\\u1000\\u103a\\u1010\\u1004\\u103a\\u1018\\u102c\",\n      \"\\u1021\\u1031\\u102c\\u1000\\u103a\\u1010\\u102d\\u102f\\u1018\\u102c\",\n      \"\\u1014\\u102d\\u102f\\u101d\\u1004\\u103a\\u1018\\u102c\",\n      \"\\u1012\\u102e\\u1007\\u1004\\u103a\\u1018\\u102c\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u1010\\u1014\\u1004\\u103a\\u1039\\u1002\\u1014\\u103d\\u1031\",\n      \"\\u1010\\u1014\\u1004\\u103a\\u1039\\u101c\\u102c\",\n      \"\\u1021\\u1004\\u103a\\u1039\\u1002\\u102b\",\n      \"\\u1017\\u102f\\u1012\\u1039\\u1013\\u101f\\u1030\\u1038\",\n      \"\\u1000\\u103c\\u102c\\u101e\\u1015\\u1010\\u1031\\u1038\",\n      \"\\u101e\\u1031\\u102c\\u1000\\u103c\\u102c\",\n      \"\\u1005\\u1014\\u1031\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u1007\\u1014\\u103a\",\n      \"\\u1016\\u1031\",\n      \"\\u1019\\u1010\\u103a\",\n      \"\\u1027\\u1015\\u103c\\u102e\",\n      \"\\u1019\\u1031\",\n      \"\\u1007\\u103d\\u1014\\u103a\",\n      \"\\u1007\\u1030\",\n      \"\\u1029\",\n      \"\\u1005\\u1000\\u103a\",\n      \"\\u1021\\u1031\\u102c\\u1000\\u103a\",\n      \"\\u1014\\u102d\\u102f\",\n      \"\\u1012\\u102e\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE\\u104a dd MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd-MM-yy HH:mm\",\n    \"shortDate\": \"dd-MM-yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"K\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"my-mm\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_my.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u1014\\u1036\\u1014\\u1000\\u103a\",\n      \"\\u100a\\u1014\\u1031\"\n    ],\n    \"DAY\": [\n      \"\\u1010\\u1014\\u1004\\u103a\\u1039\\u1002\\u1014\\u103d\\u1031\",\n      \"\\u1010\\u1014\\u1004\\u103a\\u1039\\u101c\\u102c\",\n      \"\\u1021\\u1004\\u103a\\u1039\\u1002\\u102b\",\n      \"\\u1017\\u102f\\u1012\\u1039\\u1013\\u101f\\u1030\\u1038\",\n      \"\\u1000\\u103c\\u102c\\u101e\\u1015\\u1010\\u1031\\u1038\",\n      \"\\u101e\\u1031\\u102c\\u1000\\u103c\\u102c\",\n      \"\\u1005\\u1014\\u1031\"\n    ],\n    \"ERANAMES\": [\n      \"\\u1001\\u101b\\u1005\\u103a\\u1010\\u1031\\u102c\\u103a \\u1019\\u1015\\u1031\\u102b\\u103a\\u1019\\u102e\\u1000\\u102c\\u101c\",\n      \"\\u1001\\u101b\\u1005\\u103a\\u1010\\u1031\\u102c\\u103a \\u1015\\u1031\\u102b\\u103a\\u1011\\u103d\\u1014\\u103a\\u1038\\u1015\\u103c\\u102e\\u1038\\u1000\\u102c\\u101c\"\n    ],\n    \"ERAS\": [\n      \"\\u1018\\u102e\\u1005\\u102e\",\n      \"\\u1021\\u1031\\u1012\\u102e\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u1007\\u1014\\u103a\\u1014\\u101d\\u102b\\u101b\\u102e\",\n      \"\\u1016\\u1031\\u1016\\u1031\\u102c\\u103a\\u101d\\u102b\\u101b\\u102e\",\n      \"\\u1019\\u1010\\u103a\",\n      \"\\u1027\\u1015\\u103c\\u102e\",\n      \"\\u1019\\u1031\",\n      \"\\u1007\\u103d\\u1014\\u103a\",\n      \"\\u1007\\u1030\\u101c\\u102d\\u102f\\u1004\\u103a\",\n      \"\\u1029\\u1002\\u102f\\u1010\\u103a\",\n      \"\\u1005\\u1000\\u103a\\u1010\\u1004\\u103a\\u1018\\u102c\",\n      \"\\u1021\\u1031\\u102c\\u1000\\u103a\\u1010\\u102d\\u102f\\u1018\\u102c\",\n      \"\\u1014\\u102d\\u102f\\u101d\\u1004\\u103a\\u1018\\u102c\",\n      \"\\u1012\\u102e\\u1007\\u1004\\u103a\\u1018\\u102c\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u1010\\u1014\\u1004\\u103a\\u1039\\u1002\\u1014\\u103d\\u1031\",\n      \"\\u1010\\u1014\\u1004\\u103a\\u1039\\u101c\\u102c\",\n      \"\\u1021\\u1004\\u103a\\u1039\\u1002\\u102b\",\n      \"\\u1017\\u102f\\u1012\\u1039\\u1013\\u101f\\u1030\\u1038\",\n      \"\\u1000\\u103c\\u102c\\u101e\\u1015\\u1010\\u1031\\u1038\",\n      \"\\u101e\\u1031\\u102c\\u1000\\u103c\\u102c\",\n      \"\\u1005\\u1014\\u1031\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u1007\\u1014\\u103a\",\n      \"\\u1016\\u1031\",\n      \"\\u1019\\u1010\\u103a\",\n      \"\\u1027\\u1015\\u103c\\u102e\",\n      \"\\u1019\\u1031\",\n      \"\\u1007\\u103d\\u1014\\u103a\",\n      \"\\u1007\\u1030\",\n      \"\\u1029\",\n      \"\\u1005\\u1000\\u103a\",\n      \"\\u1021\\u1031\\u102c\\u1000\\u103a\",\n      \"\\u1014\\u102d\\u102f\",\n      \"\\u1012\\u102e\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE\\u104a dd MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd-MM-yy HH:mm\",\n    \"shortDate\": \"dd-MM-yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"K\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"my\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_naq-na.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u01c1goagas\",\n      \"\\u01c3uias\"\n    ],\n    \"DAY\": [\n      \"Sontaxtsees\",\n      \"Mantaxtsees\",\n      \"Denstaxtsees\",\n      \"Wunstaxtsees\",\n      \"Dondertaxtsees\",\n      \"Fraitaxtsees\",\n      \"Satertaxtsees\"\n    ],\n    \"ERANAMES\": [\n      \"Xristub ai\\u01c3\\u00e2\",\n      \"Xristub khao\\u01c3g\\u00e2\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u01c3Khanni\",\n      \"\\u01c3Khan\\u01c0g\\u00f4ab\",\n      \"\\u01c0Khuu\\u01c1kh\\u00e2b\",\n      \"\\u01c3H\\u00f4a\\u01c2khaib\",\n      \"\\u01c3Khaits\\u00e2b\",\n      \"Gama\\u01c0aeb\",\n      \"\\u01c2Khoesaob\",\n      \"Ao\\u01c1khuum\\u00fb\\u01c1kh\\u00e2b\",\n      \"Tara\\u01c0khuum\\u00fb\\u01c1kh\\u00e2b\",\n      \"\\u01c2N\\u00fb\\u01c1n\\u00e2iseb\",\n      \"\\u01c0Hoo\\u01c2gaeb\",\n      \"H\\u00f4asore\\u01c1kh\\u00e2b\"\n    ],\n    \"SHORTDAY\": [\n      \"Son\",\n      \"Ma\",\n      \"De\",\n      \"Wu\",\n      \"Do\",\n      \"Fr\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"naq-na\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_naq.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u01c1goagas\",\n      \"\\u01c3uias\"\n    ],\n    \"DAY\": [\n      \"Sontaxtsees\",\n      \"Mantaxtsees\",\n      \"Denstaxtsees\",\n      \"Wunstaxtsees\",\n      \"Dondertaxtsees\",\n      \"Fraitaxtsees\",\n      \"Satertaxtsees\"\n    ],\n    \"ERANAMES\": [\n      \"Xristub ai\\u01c3\\u00e2\",\n      \"Xristub khao\\u01c3g\\u00e2\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u01c3Khanni\",\n      \"\\u01c3Khan\\u01c0g\\u00f4ab\",\n      \"\\u01c0Khuu\\u01c1kh\\u00e2b\",\n      \"\\u01c3H\\u00f4a\\u01c2khaib\",\n      \"\\u01c3Khaits\\u00e2b\",\n      \"Gama\\u01c0aeb\",\n      \"\\u01c2Khoesaob\",\n      \"Ao\\u01c1khuum\\u00fb\\u01c1kh\\u00e2b\",\n      \"Tara\\u01c0khuum\\u00fb\\u01c1kh\\u00e2b\",\n      \"\\u01c2N\\u00fb\\u01c1n\\u00e2iseb\",\n      \"\\u01c0Hoo\\u01c2gaeb\",\n      \"H\\u00f4asore\\u01c1kh\\u00e2b\"\n    ],\n    \"SHORTDAY\": [\n      \"Son\",\n      \"Ma\",\n      \"De\",\n      \"Wu\",\n      \"Do\",\n      \"Fr\",\n      \"Sat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Sep\",\n      \"Oct\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"naq\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_nb-no.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"s\\u00f8ndag\",\n      \"mandag\",\n      \"tirsdag\",\n      \"onsdag\",\n      \"torsdag\",\n      \"fredag\",\n      \"l\\u00f8rdag\"\n    ],\n    \"ERANAMES\": [\n      \"f.Kr.\",\n      \"e.Kr.\"\n    ],\n    \"ERAS\": [\n      \"f.Kr.\",\n      \"e.Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januar\",\n      \"februar\",\n      \"mars\",\n      \"april\",\n      \"mai\",\n      \"juni\",\n      \"juli\",\n      \"august\",\n      \"september\",\n      \"oktober\",\n      \"november\",\n      \"desember\"\n    ],\n    \"SHORTDAY\": [\n      \"s\\u00f8n.\",\n      \"man.\",\n      \"tir.\",\n      \"ons.\",\n      \"tor.\",\n      \"fre.\",\n      \"l\\u00f8r.\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"mar.\",\n      \"apr.\",\n      \"mai\",\n      \"jun.\",\n      \"jul.\",\n      \"aug.\",\n      \"sep.\",\n      \"okt.\",\n      \"nov.\",\n      \"des.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d. MMM y HH.mm.ss\",\n    \"mediumDate\": \"d. MMM y\",\n    \"mediumTime\": \"HH.mm.ss\",\n    \"short\": \"dd.MM.y HH.mm\",\n    \"shortDate\": \"dd.MM.y\",\n    \"shortTime\": \"HH.mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"kr\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"nb-no\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_nb-sj.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"s\\u00f8ndag\",\n      \"mandag\",\n      \"tirsdag\",\n      \"onsdag\",\n      \"torsdag\",\n      \"fredag\",\n      \"l\\u00f8rdag\"\n    ],\n    \"ERANAMES\": [\n      \"f.Kr.\",\n      \"e.Kr.\"\n    ],\n    \"ERAS\": [\n      \"f.Kr.\",\n      \"e.Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januar\",\n      \"februar\",\n      \"mars\",\n      \"april\",\n      \"mai\",\n      \"juni\",\n      \"juli\",\n      \"august\",\n      \"september\",\n      \"oktober\",\n      \"november\",\n      \"desember\"\n    ],\n    \"SHORTDAY\": [\n      \"s\\u00f8n.\",\n      \"man.\",\n      \"tir.\",\n      \"ons.\",\n      \"tor.\",\n      \"fre.\",\n      \"l\\u00f8r.\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"mar.\",\n      \"apr.\",\n      \"mai\",\n      \"jun.\",\n      \"jul.\",\n      \"aug.\",\n      \"sep.\",\n      \"okt.\",\n      \"nov.\",\n      \"des.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d. MMM y HH.mm.ss\",\n    \"mediumDate\": \"d. MMM y\",\n    \"mediumTime\": \"HH.mm.ss\",\n    \"short\": \"dd.MM.y HH.mm\",\n    \"shortDate\": \"dd.MM.y\",\n    \"shortTime\": \"HH.mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"kr\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"nb-sj\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_nb.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"s\\u00f8ndag\",\n      \"mandag\",\n      \"tirsdag\",\n      \"onsdag\",\n      \"torsdag\",\n      \"fredag\",\n      \"l\\u00f8rdag\"\n    ],\n    \"ERANAMES\": [\n      \"f.Kr.\",\n      \"e.Kr.\"\n    ],\n    \"ERAS\": [\n      \"f.Kr.\",\n      \"e.Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januar\",\n      \"februar\",\n      \"mars\",\n      \"april\",\n      \"mai\",\n      \"juni\",\n      \"juli\",\n      \"august\",\n      \"september\",\n      \"oktober\",\n      \"november\",\n      \"desember\"\n    ],\n    \"SHORTDAY\": [\n      \"s\\u00f8n.\",\n      \"man.\",\n      \"tir.\",\n      \"ons.\",\n      \"tor.\",\n      \"fre.\",\n      \"l\\u00f8r.\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"mar.\",\n      \"apr.\",\n      \"mai\",\n      \"jun.\",\n      \"jul.\",\n      \"aug.\",\n      \"sep.\",\n      \"okt.\",\n      \"nov.\",\n      \"des.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d. MMM y HH.mm.ss\",\n    \"mediumDate\": \"d. MMM y\",\n    \"mediumTime\": \"HH.mm.ss\",\n    \"short\": \"dd.MM.y HH.mm\",\n    \"shortDate\": \"dd.MM.y\",\n    \"shortTime\": \"HH.mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"kr\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"nb\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_nd-zw.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sonto\",\n      \"Mvulo\",\n      \"Sibili\",\n      \"Sithathu\",\n      \"Sine\",\n      \"Sihlanu\",\n      \"Mgqibelo\"\n    ],\n    \"ERANAMES\": [\n      \"UKristo angakabuyi\",\n      \"Ukristo ebuyile\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Zibandlela\",\n      \"Nhlolanja\",\n      \"Mbimbitho\",\n      \"Mabasa\",\n      \"Nkwenkwezi\",\n      \"Nhlangula\",\n      \"Ntulikazi\",\n      \"Ncwabakazi\",\n      \"Mpandula\",\n      \"Mfumfu\",\n      \"Lwezi\",\n      \"Mpalakazi\"\n    ],\n    \"SHORTDAY\": [\n      \"Son\",\n      \"Mvu\",\n      \"Sib\",\n      \"Sit\",\n      \"Sin\",\n      \"Sih\",\n      \"Mgq\"\n    ],\n    \"SHORTMONTH\": [\n      \"Zib\",\n      \"Nhlo\",\n      \"Mbi\",\n      \"Mab\",\n      \"Nkw\",\n      \"Nhla\",\n      \"Ntu\",\n      \"Ncw\",\n      \"Mpan\",\n      \"Mfu\",\n      \"Lwe\",\n      \"Mpal\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"nd-zw\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_nd.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sonto\",\n      \"Mvulo\",\n      \"Sibili\",\n      \"Sithathu\",\n      \"Sine\",\n      \"Sihlanu\",\n      \"Mgqibelo\"\n    ],\n    \"ERANAMES\": [\n      \"UKristo angakabuyi\",\n      \"Ukristo ebuyile\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Zibandlela\",\n      \"Nhlolanja\",\n      \"Mbimbitho\",\n      \"Mabasa\",\n      \"Nkwenkwezi\",\n      \"Nhlangula\",\n      \"Ntulikazi\",\n      \"Ncwabakazi\",\n      \"Mpandula\",\n      \"Mfumfu\",\n      \"Lwezi\",\n      \"Mpalakazi\"\n    ],\n    \"SHORTDAY\": [\n      \"Son\",\n      \"Mvu\",\n      \"Sib\",\n      \"Sit\",\n      \"Sin\",\n      \"Sih\",\n      \"Mgq\"\n    ],\n    \"SHORTMONTH\": [\n      \"Zib\",\n      \"Nhlo\",\n      \"Mbi\",\n      \"Mab\",\n      \"Nkw\",\n      \"Nhla\",\n      \"Ntu\",\n      \"Ncw\",\n      \"Mpan\",\n      \"Mfu\",\n      \"Lwe\",\n      \"Mpal\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"nd\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ne-in.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u092a\\u0942\\u0930\\u094d\\u0935\\u093e\\u0939\\u094d\\u0928\",\n      \"\\u0905\\u092a\\u0930\\u093e\\u0939\\u094d\\u0928\"\n    ],\n    \"DAY\": [\n      \"\\u0906\\u0907\\u0924\\u092c\\u093e\\u0930\",\n      \"\\u0938\\u094b\\u092e\\u092c\\u093e\\u0930\",\n      \"\\u092e\\u0919\\u094d\\u0917\\u0932\\u092c\\u093e\\u0930\",\n      \"\\u092c\\u0941\\u0927\\u092c\\u093e\\u0930\",\n      \"\\u092c\\u093f\\u0939\\u093f\\u092c\\u093e\\u0930\",\n      \"\\u0936\\u0941\\u0915\\u094d\\u0930\\u092c\\u093e\\u0930\",\n      \"\\u0936\\u0928\\u093f\\u092c\\u093e\\u0930\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0908\\u0938\\u093e \\u092a\\u0942\\u0930\\u094d\\u0935\",\n      \"\\u0938\\u0928\\u094d\"\n    ],\n    \"ERAS\": [\n      \"\\u0908\\u0938\\u093e \\u092a\\u0942\\u0930\\u094d\\u0935\",\n      \"\\u0938\\u0928\\u094d\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u091c\\u0928\\u0935\\u0930\\u0940\",\n      \"\\u092b\\u0947\\u092c\\u094d\\u0930\\u0941\\u0905\\u0930\\u0940\",\n      \"\\u092e\\u093e\\u0930\\u094d\\u091a\",\n      \"\\u0905\\u092a\\u094d\\u0930\\u093f\\u0932\",\n      \"\\u092e\\u0908\",\n      \"\\u091c\\u0941\\u0928\",\n      \"\\u091c\\u0941\\u0932\\u093e\\u0908\",\n      \"\\u0905\\u0917\\u0938\\u094d\\u091f\",\n      \"\\u0938\\u0947\\u092a\\u094d\\u091f\\u0947\\u092e\\u094d\\u092c\\u0930\",\n      \"\\u0905\\u0915\\u094d\\u091f\\u094b\\u092c\\u0930\",\n      \"\\u0928\\u094b\\u092d\\u0947\\u092e\\u094d\\u092c\\u0930\",\n      \"\\u0921\\u093f\\u0938\\u0947\\u092e\\u094d\\u092c\\u0930\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0906\\u0907\\u0924\",\n      \"\\u0938\\u094b\\u092e\",\n      \"\\u092e\\u0919\\u094d\\u0917\\u0932\",\n      \"\\u092c\\u0941\\u0927\",\n      \"\\u092c\\u093f\\u0939\\u0940\",\n      \"\\u0936\\u0941\\u0915\\u094d\\u0930\",\n      \"\\u0936\\u0928\\u093f\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u091c\\u0928\\u0935\\u0930\\u0940\",\n      \"\\u092b\\u0947\\u092c\\u094d\\u0930\\u0941\\u0905\\u0930\\u0940\",\n      \"\\u092e\\u093e\\u0930\\u094d\\u091a\",\n      \"\\u0905\\u092a\\u094d\\u0930\\u093f\\u0932\",\n      \"\\u092e\\u0947\",\n      \"\\u091c\\u0941\\u0928\",\n      \"\\u091c\\u0941\\u0932\\u093e\\u0908\",\n      \"\\u0905\\u0917\\u0938\\u094d\\u091f\",\n      \"\\u0938\\u0947\\u092a\\u094d\\u091f\\u0947\\u092e\\u094d\\u092c\\u0930\",\n      \"\\u0905\\u0915\\u094d\\u091f\\u094b\\u092c\\u0930\",\n      \"\\u0928\\u094b\\u092d\\u0947\\u092e\\u094d\\u092c\\u0930\",\n      \"\\u0921\\u093f\\u0938\\u0947\\u092e\\u094d\\u092c\\u0930\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ne-in\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ne-np.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u092a\\u0942\\u0930\\u094d\\u0935\\u093e\\u0939\\u094d\\u0928\",\n      \"\\u0905\\u092a\\u0930\\u093e\\u0939\\u094d\\u0928\"\n    ],\n    \"DAY\": [\n      \"\\u0906\\u0907\\u0924\\u092c\\u093e\\u0930\",\n      \"\\u0938\\u094b\\u092e\\u092c\\u093e\\u0930\",\n      \"\\u092e\\u0919\\u094d\\u0917\\u0932\\u092c\\u093e\\u0930\",\n      \"\\u092c\\u0941\\u0927\\u092c\\u093e\\u0930\",\n      \"\\u092c\\u093f\\u0939\\u093f\\u092c\\u093e\\u0930\",\n      \"\\u0936\\u0941\\u0915\\u094d\\u0930\\u092c\\u093e\\u0930\",\n      \"\\u0936\\u0928\\u093f\\u092c\\u093e\\u0930\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0908\\u0938\\u093e \\u092a\\u0942\\u0930\\u094d\\u0935\",\n      \"\\u0938\\u0928\\u094d\"\n    ],\n    \"ERAS\": [\n      \"\\u0908\\u0938\\u093e \\u092a\\u0942\\u0930\\u094d\\u0935\",\n      \"\\u0938\\u0928\\u094d\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u091c\\u0928\\u0935\\u0930\\u0940\",\n      \"\\u092b\\u0947\\u092c\\u094d\\u0930\\u0941\\u0905\\u0930\\u0940\",\n      \"\\u092e\\u093e\\u0930\\u094d\\u091a\",\n      \"\\u0905\\u092a\\u094d\\u0930\\u093f\\u0932\",\n      \"\\u092e\\u0908\",\n      \"\\u091c\\u0941\\u0928\",\n      \"\\u091c\\u0941\\u0932\\u093e\\u0908\",\n      \"\\u0905\\u0917\\u0938\\u094d\\u091f\",\n      \"\\u0938\\u0947\\u092a\\u094d\\u091f\\u0947\\u092e\\u094d\\u092c\\u0930\",\n      \"\\u0905\\u0915\\u094d\\u091f\\u094b\\u092c\\u0930\",\n      \"\\u0928\\u094b\\u092d\\u0947\\u092e\\u094d\\u092c\\u0930\",\n      \"\\u0921\\u093f\\u0938\\u0947\\u092e\\u094d\\u092c\\u0930\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0906\\u0907\\u0924\",\n      \"\\u0938\\u094b\\u092e\",\n      \"\\u092e\\u0919\\u094d\\u0917\\u0932\",\n      \"\\u092c\\u0941\\u0927\",\n      \"\\u092c\\u093f\\u0939\\u0940\",\n      \"\\u0936\\u0941\\u0915\\u094d\\u0930\",\n      \"\\u0936\\u0928\\u093f\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u091c\\u0928\\u0935\\u0930\\u0940\",\n      \"\\u092b\\u0947\\u092c\\u094d\\u0930\\u0941\\u0905\\u0930\\u0940\",\n      \"\\u092e\\u093e\\u0930\\u094d\\u091a\",\n      \"\\u0905\\u092a\\u094d\\u0930\\u093f\\u0932\",\n      \"\\u092e\\u0947\",\n      \"\\u091c\\u0941\\u0928\",\n      \"\\u091c\\u0941\\u0932\\u093e\\u0908\",\n      \"\\u0905\\u0917\\u0938\\u094d\\u091f\",\n      \"\\u0938\\u0947\\u092a\\u094d\\u091f\\u0947\\u092e\\u094d\\u092c\\u0930\",\n      \"\\u0905\\u0915\\u094d\\u091f\\u094b\\u092c\\u0930\",\n      \"\\u0928\\u094b\\u092d\\u0947\\u092e\\u094d\\u092c\\u0930\",\n      \"\\u0921\\u093f\\u0938\\u0947\\u092e\\u094d\\u092c\\u0930\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Rs\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ne-np\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ne.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u092a\\u0942\\u0930\\u094d\\u0935\\u093e\\u0939\\u094d\\u0928\",\n      \"\\u0905\\u092a\\u0930\\u093e\\u0939\\u094d\\u0928\"\n    ],\n    \"DAY\": [\n      \"\\u0906\\u0907\\u0924\\u092c\\u093e\\u0930\",\n      \"\\u0938\\u094b\\u092e\\u092c\\u093e\\u0930\",\n      \"\\u092e\\u0919\\u094d\\u0917\\u0932\\u092c\\u093e\\u0930\",\n      \"\\u092c\\u0941\\u0927\\u092c\\u093e\\u0930\",\n      \"\\u092c\\u093f\\u0939\\u093f\\u092c\\u093e\\u0930\",\n      \"\\u0936\\u0941\\u0915\\u094d\\u0930\\u092c\\u093e\\u0930\",\n      \"\\u0936\\u0928\\u093f\\u092c\\u093e\\u0930\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0908\\u0938\\u093e \\u092a\\u0942\\u0930\\u094d\\u0935\",\n      \"\\u0938\\u0928\\u094d\"\n    ],\n    \"ERAS\": [\n      \"\\u0908\\u0938\\u093e \\u092a\\u0942\\u0930\\u094d\\u0935\",\n      \"\\u0938\\u0928\\u094d\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u091c\\u0928\\u0935\\u0930\\u0940\",\n      \"\\u092b\\u0947\\u092c\\u094d\\u0930\\u0941\\u0905\\u0930\\u0940\",\n      \"\\u092e\\u093e\\u0930\\u094d\\u091a\",\n      \"\\u0905\\u092a\\u094d\\u0930\\u093f\\u0932\",\n      \"\\u092e\\u0908\",\n      \"\\u091c\\u0941\\u0928\",\n      \"\\u091c\\u0941\\u0932\\u093e\\u0908\",\n      \"\\u0905\\u0917\\u0938\\u094d\\u091f\",\n      \"\\u0938\\u0947\\u092a\\u094d\\u091f\\u0947\\u092e\\u094d\\u092c\\u0930\",\n      \"\\u0905\\u0915\\u094d\\u091f\\u094b\\u092c\\u0930\",\n      \"\\u0928\\u094b\\u092d\\u0947\\u092e\\u094d\\u092c\\u0930\",\n      \"\\u0921\\u093f\\u0938\\u0947\\u092e\\u094d\\u092c\\u0930\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0906\\u0907\\u0924\",\n      \"\\u0938\\u094b\\u092e\",\n      \"\\u092e\\u0919\\u094d\\u0917\\u0932\",\n      \"\\u092c\\u0941\\u0927\",\n      \"\\u092c\\u093f\\u0939\\u0940\",\n      \"\\u0936\\u0941\\u0915\\u094d\\u0930\",\n      \"\\u0936\\u0928\\u093f\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u091c\\u0928\\u0935\\u0930\\u0940\",\n      \"\\u092b\\u0947\\u092c\\u094d\\u0930\\u0941\\u0905\\u0930\\u0940\",\n      \"\\u092e\\u093e\\u0930\\u094d\\u091a\",\n      \"\\u0905\\u092a\\u094d\\u0930\\u093f\\u0932\",\n      \"\\u092e\\u0947\",\n      \"\\u091c\\u0941\\u0928\",\n      \"\\u091c\\u0941\\u0932\\u093e\\u0908\",\n      \"\\u0905\\u0917\\u0938\\u094d\\u091f\",\n      \"\\u0938\\u0947\\u092a\\u094d\\u091f\\u0947\\u092e\\u094d\\u092c\\u0930\",\n      \"\\u0905\\u0915\\u094d\\u091f\\u094b\\u092c\\u0930\",\n      \"\\u0928\\u094b\\u092d\\u0947\\u092e\\u094d\\u092c\\u0930\",\n      \"\\u0921\\u093f\\u0938\\u0947\\u092e\\u094d\\u092c\\u0930\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Rs\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ne\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_nl-aw.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"zondag\",\n      \"maandag\",\n      \"dinsdag\",\n      \"woensdag\",\n      \"donderdag\",\n      \"vrijdag\",\n      \"zaterdag\"\n    ],\n    \"ERANAMES\": [\n      \"voor Christus\",\n      \"na Christus\"\n    ],\n    \"ERAS\": [\n      \"v.Chr.\",\n      \"n.Chr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januari\",\n      \"februari\",\n      \"maart\",\n      \"april\",\n      \"mei\",\n      \"juni\",\n      \"juli\",\n      \"augustus\",\n      \"september\",\n      \"oktober\",\n      \"november\",\n      \"december\"\n    ],\n    \"SHORTDAY\": [\n      \"zo\",\n      \"ma\",\n      \"di\",\n      \"wo\",\n      \"do\",\n      \"vr\",\n      \"za\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"mrt.\",\n      \"apr.\",\n      \"mei\",\n      \"jun.\",\n      \"jul.\",\n      \"aug.\",\n      \"sep.\",\n      \"okt.\",\n      \"nov.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd-MM-yy HH:mm\",\n    \"shortDate\": \"dd-MM-yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Afl.\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4\\u00a0-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"nl-aw\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_nl-be.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"zondag\",\n      \"maandag\",\n      \"dinsdag\",\n      \"woensdag\",\n      \"donderdag\",\n      \"vrijdag\",\n      \"zaterdag\"\n    ],\n    \"ERANAMES\": [\n      \"voor Christus\",\n      \"na Christus\"\n    ],\n    \"ERAS\": [\n      \"v.Chr.\",\n      \"n.Chr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januari\",\n      \"februari\",\n      \"maart\",\n      \"april\",\n      \"mei\",\n      \"juni\",\n      \"juli\",\n      \"augustus\",\n      \"september\",\n      \"oktober\",\n      \"november\",\n      \"december\"\n    ],\n    \"SHORTDAY\": [\n      \"zo\",\n      \"ma\",\n      \"di\",\n      \"wo\",\n      \"do\",\n      \"vr\",\n      \"za\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"mrt.\",\n      \"apr.\",\n      \"mei\",\n      \"jun.\",\n      \"jul.\",\n      \"aug.\",\n      \"sep.\",\n      \"okt.\",\n      \"nov.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/MM/yy HH:mm\",\n    \"shortDate\": \"d/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"nl-be\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_nl-bq.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"zondag\",\n      \"maandag\",\n      \"dinsdag\",\n      \"woensdag\",\n      \"donderdag\",\n      \"vrijdag\",\n      \"zaterdag\"\n    ],\n    \"ERANAMES\": [\n      \"voor Christus\",\n      \"na Christus\"\n    ],\n    \"ERAS\": [\n      \"v.Chr.\",\n      \"n.Chr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januari\",\n      \"februari\",\n      \"maart\",\n      \"april\",\n      \"mei\",\n      \"juni\",\n      \"juli\",\n      \"augustus\",\n      \"september\",\n      \"oktober\",\n      \"november\",\n      \"december\"\n    ],\n    \"SHORTDAY\": [\n      \"zo\",\n      \"ma\",\n      \"di\",\n      \"wo\",\n      \"do\",\n      \"vr\",\n      \"za\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"mrt.\",\n      \"apr.\",\n      \"mei\",\n      \"jun.\",\n      \"jul.\",\n      \"aug.\",\n      \"sep.\",\n      \"okt.\",\n      \"nov.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd-MM-yy HH:mm\",\n    \"shortDate\": \"dd-MM-yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4\\u00a0-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"nl-bq\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_nl-cw.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"zondag\",\n      \"maandag\",\n      \"dinsdag\",\n      \"woensdag\",\n      \"donderdag\",\n      \"vrijdag\",\n      \"zaterdag\"\n    ],\n    \"ERANAMES\": [\n      \"voor Christus\",\n      \"na Christus\"\n    ],\n    \"ERAS\": [\n      \"v.Chr.\",\n      \"n.Chr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januari\",\n      \"februari\",\n      \"maart\",\n      \"april\",\n      \"mei\",\n      \"juni\",\n      \"juli\",\n      \"augustus\",\n      \"september\",\n      \"oktober\",\n      \"november\",\n      \"december\"\n    ],\n    \"SHORTDAY\": [\n      \"zo\",\n      \"ma\",\n      \"di\",\n      \"wo\",\n      \"do\",\n      \"vr\",\n      \"za\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"mrt.\",\n      \"apr.\",\n      \"mei\",\n      \"jun.\",\n      \"jul.\",\n      \"aug.\",\n      \"sep.\",\n      \"okt.\",\n      \"nov.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd-MM-yy HH:mm\",\n    \"shortDate\": \"dd-MM-yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"NAf.\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4\\u00a0-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"nl-cw\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_nl-nl.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"zondag\",\n      \"maandag\",\n      \"dinsdag\",\n      \"woensdag\",\n      \"donderdag\",\n      \"vrijdag\",\n      \"zaterdag\"\n    ],\n    \"ERANAMES\": [\n      \"voor Christus\",\n      \"na Christus\"\n    ],\n    \"ERAS\": [\n      \"v.Chr.\",\n      \"n.Chr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januari\",\n      \"februari\",\n      \"maart\",\n      \"april\",\n      \"mei\",\n      \"juni\",\n      \"juli\",\n      \"augustus\",\n      \"september\",\n      \"oktober\",\n      \"november\",\n      \"december\"\n    ],\n    \"SHORTDAY\": [\n      \"zo\",\n      \"ma\",\n      \"di\",\n      \"wo\",\n      \"do\",\n      \"vr\",\n      \"za\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"mrt.\",\n      \"apr.\",\n      \"mei\",\n      \"jun.\",\n      \"jul.\",\n      \"aug.\",\n      \"sep.\",\n      \"okt.\",\n      \"nov.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd-MM-yy HH:mm\",\n    \"shortDate\": \"dd-MM-yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4\\u00a0-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"nl-nl\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_nl-sr.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"zondag\",\n      \"maandag\",\n      \"dinsdag\",\n      \"woensdag\",\n      \"donderdag\",\n      \"vrijdag\",\n      \"zaterdag\"\n    ],\n    \"ERANAMES\": [\n      \"voor Christus\",\n      \"na Christus\"\n    ],\n    \"ERAS\": [\n      \"v.Chr.\",\n      \"n.Chr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januari\",\n      \"februari\",\n      \"maart\",\n      \"april\",\n      \"mei\",\n      \"juni\",\n      \"juli\",\n      \"augustus\",\n      \"september\",\n      \"oktober\",\n      \"november\",\n      \"december\"\n    ],\n    \"SHORTDAY\": [\n      \"zo\",\n      \"ma\",\n      \"di\",\n      \"wo\",\n      \"do\",\n      \"vr\",\n      \"za\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"mrt.\",\n      \"apr.\",\n      \"mei\",\n      \"jun.\",\n      \"jul.\",\n      \"aug.\",\n      \"sep.\",\n      \"okt.\",\n      \"nov.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd-MM-yy HH:mm\",\n    \"shortDate\": \"dd-MM-yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4\\u00a0-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"nl-sr\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_nl-sx.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"zondag\",\n      \"maandag\",\n      \"dinsdag\",\n      \"woensdag\",\n      \"donderdag\",\n      \"vrijdag\",\n      \"zaterdag\"\n    ],\n    \"ERANAMES\": [\n      \"voor Christus\",\n      \"na Christus\"\n    ],\n    \"ERAS\": [\n      \"v.Chr.\",\n      \"n.Chr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januari\",\n      \"februari\",\n      \"maart\",\n      \"april\",\n      \"mei\",\n      \"juni\",\n      \"juli\",\n      \"augustus\",\n      \"september\",\n      \"oktober\",\n      \"november\",\n      \"december\"\n    ],\n    \"SHORTDAY\": [\n      \"zo\",\n      \"ma\",\n      \"di\",\n      \"wo\",\n      \"do\",\n      \"vr\",\n      \"za\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"mrt.\",\n      \"apr.\",\n      \"mei\",\n      \"jun.\",\n      \"jul.\",\n      \"aug.\",\n      \"sep.\",\n      \"okt.\",\n      \"nov.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd-MM-yy HH:mm\",\n    \"shortDate\": \"dd-MM-yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"NAf.\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4\\u00a0-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"nl-sx\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_nl.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"zondag\",\n      \"maandag\",\n      \"dinsdag\",\n      \"woensdag\",\n      \"donderdag\",\n      \"vrijdag\",\n      \"zaterdag\"\n    ],\n    \"ERANAMES\": [\n      \"voor Christus\",\n      \"na Christus\"\n    ],\n    \"ERAS\": [\n      \"v.Chr.\",\n      \"n.Chr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januari\",\n      \"februari\",\n      \"maart\",\n      \"april\",\n      \"mei\",\n      \"juni\",\n      \"juli\",\n      \"augustus\",\n      \"september\",\n      \"oktober\",\n      \"november\",\n      \"december\"\n    ],\n    \"SHORTDAY\": [\n      \"zo\",\n      \"ma\",\n      \"di\",\n      \"wo\",\n      \"do\",\n      \"vr\",\n      \"za\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"mrt.\",\n      \"apr.\",\n      \"mei\",\n      \"jun.\",\n      \"jul.\",\n      \"aug.\",\n      \"sep.\",\n      \"okt.\",\n      \"nov.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd-MM-yy HH:mm\",\n    \"shortDate\": \"dd-MM-yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4\\u00a0-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"nl\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_nmg-cm.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"man\\u00e1\",\n      \"kug\\u00fa\"\n    ],\n    \"DAY\": [\n      \"s\\u0254\\u0301nd\\u0254\",\n      \"m\\u0254\\u0301nd\\u0254\",\n      \"s\\u0254\\u0301nd\\u0254 maf\\u00fa m\\u00e1ba\",\n      \"s\\u0254\\u0301nd\\u0254 maf\\u00fa m\\u00e1lal\",\n      \"s\\u0254\\u0301nd\\u0254 maf\\u00fa m\\u00e1na\",\n      \"mab\\u00e1g\\u00e1 m\\u00e1 sukul\",\n      \"s\\u00e1sadi\"\n    ],\n    \"ERANAMES\": [\n      \"B\\u00f3 Lahl\\u025b\\u0304\",\n      \"Pfi\\u025b Bur\\u012b\"\n    ],\n    \"ERAS\": [\n      \"BL\",\n      \"PB\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"ngw\\u025bn mat\\u00e1hra\",\n      \"ngw\\u025bn \\u0144mba\",\n      \"ngw\\u025bn \\u0144lal\",\n      \"ngw\\u025bn \\u0144na\",\n      \"ngw\\u025bn \\u0144tan\",\n      \"ngw\\u025bn \\u0144tu\\u00f3\",\n      \"ngw\\u025bn h\\u025bmbu\\u025br\\u00ed\",\n      \"ngw\\u025bn l\\u0254mbi\",\n      \"ngw\\u025bn r\\u025bbvu\\u00e2\",\n      \"ngw\\u025bn wum\",\n      \"ngw\\u025bn wum nav\\u01d4r\",\n      \"kr\\u00edsimin\"\n    ],\n    \"SHORTDAY\": [\n      \"s\\u0254\\u0301n\",\n      \"m\\u0254\\u0301n\",\n      \"smb\",\n      \"sml\",\n      \"smn\",\n      \"mbs\",\n      \"sas\"\n    ],\n    \"SHORTMONTH\": [\n      \"ng1\",\n      \"ng2\",\n      \"ng3\",\n      \"ng4\",\n      \"ng5\",\n      \"ng6\",\n      \"ng7\",\n      \"ng8\",\n      \"ng9\",\n      \"ng10\",\n      \"ng11\",\n      \"kris\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"nmg-cm\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_nmg.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"man\\u00e1\",\n      \"kug\\u00fa\"\n    ],\n    \"DAY\": [\n      \"s\\u0254\\u0301nd\\u0254\",\n      \"m\\u0254\\u0301nd\\u0254\",\n      \"s\\u0254\\u0301nd\\u0254 maf\\u00fa m\\u00e1ba\",\n      \"s\\u0254\\u0301nd\\u0254 maf\\u00fa m\\u00e1lal\",\n      \"s\\u0254\\u0301nd\\u0254 maf\\u00fa m\\u00e1na\",\n      \"mab\\u00e1g\\u00e1 m\\u00e1 sukul\",\n      \"s\\u00e1sadi\"\n    ],\n    \"ERANAMES\": [\n      \"B\\u00f3 Lahl\\u025b\\u0304\",\n      \"Pfi\\u025b Bur\\u012b\"\n    ],\n    \"ERAS\": [\n      \"BL\",\n      \"PB\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"ngw\\u025bn mat\\u00e1hra\",\n      \"ngw\\u025bn \\u0144mba\",\n      \"ngw\\u025bn \\u0144lal\",\n      \"ngw\\u025bn \\u0144na\",\n      \"ngw\\u025bn \\u0144tan\",\n      \"ngw\\u025bn \\u0144tu\\u00f3\",\n      \"ngw\\u025bn h\\u025bmbu\\u025br\\u00ed\",\n      \"ngw\\u025bn l\\u0254mbi\",\n      \"ngw\\u025bn r\\u025bbvu\\u00e2\",\n      \"ngw\\u025bn wum\",\n      \"ngw\\u025bn wum nav\\u01d4r\",\n      \"kr\\u00edsimin\"\n    ],\n    \"SHORTDAY\": [\n      \"s\\u0254\\u0301n\",\n      \"m\\u0254\\u0301n\",\n      \"smb\",\n      \"sml\",\n      \"smn\",\n      \"mbs\",\n      \"sas\"\n    ],\n    \"SHORTMONTH\": [\n      \"ng1\",\n      \"ng2\",\n      \"ng3\",\n      \"ng4\",\n      \"ng5\",\n      \"ng6\",\n      \"ng7\",\n      \"ng8\",\n      \"ng9\",\n      \"ng10\",\n      \"ng11\",\n      \"kris\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"nmg\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_nn-no.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"formiddag\",\n      \"ettermiddag\"\n    ],\n    \"DAY\": [\n      \"s\\u00f8ndag\",\n      \"m\\u00e5ndag\",\n      \"tysdag\",\n      \"onsdag\",\n      \"torsdag\",\n      \"fredag\",\n      \"laurdag\"\n    ],\n    \"ERANAMES\": [\n      \"f.Kr.\",\n      \"e.Kr.\"\n    ],\n    \"ERAS\": [\n      \"f.Kr.\",\n      \"e.Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januar\",\n      \"februar\",\n      \"mars\",\n      \"april\",\n      \"mai\",\n      \"juni\",\n      \"juli\",\n      \"august\",\n      \"september\",\n      \"oktober\",\n      \"november\",\n      \"desember\"\n    ],\n    \"SHORTDAY\": [\n      \"s\\u00f8.\",\n      \"m\\u00e5.\",\n      \"ty.\",\n      \"on.\",\n      \"to.\",\n      \"fr.\",\n      \"la.\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"mars\",\n      \"apr.\",\n      \"mai\",\n      \"juni\",\n      \"juli\",\n      \"aug.\",\n      \"sep.\",\n      \"okt.\",\n      \"nov.\",\n      \"des.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d. MMM y HH:mm:ss\",\n    \"mediumDate\": \"d. MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.y HH:mm\",\n    \"shortDate\": \"dd.MM.y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"kr\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"nn-no\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_nn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"formiddag\",\n      \"ettermiddag\"\n    ],\n    \"DAY\": [\n      \"s\\u00f8ndag\",\n      \"m\\u00e5ndag\",\n      \"tysdag\",\n      \"onsdag\",\n      \"torsdag\",\n      \"fredag\",\n      \"laurdag\"\n    ],\n    \"ERANAMES\": [\n      \"f.Kr.\",\n      \"e.Kr.\"\n    ],\n    \"ERAS\": [\n      \"f.Kr.\",\n      \"e.Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januar\",\n      \"februar\",\n      \"mars\",\n      \"april\",\n      \"mai\",\n      \"juni\",\n      \"juli\",\n      \"august\",\n      \"september\",\n      \"oktober\",\n      \"november\",\n      \"desember\"\n    ],\n    \"SHORTDAY\": [\n      \"s\\u00f8.\",\n      \"m\\u00e5.\",\n      \"ty.\",\n      \"on.\",\n      \"to.\",\n      \"fr.\",\n      \"la.\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"mars\",\n      \"apr.\",\n      \"mai\",\n      \"juni\",\n      \"juli\",\n      \"aug.\",\n      \"sep.\",\n      \"okt.\",\n      \"nov.\",\n      \"des.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d. MMM y HH:mm:ss\",\n    \"mediumDate\": \"d. MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.y HH:mm\",\n    \"shortDate\": \"dd.MM.y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"kr\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"nn\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_nnh-cm.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"mba\\u02bc\\u00e1mba\\u02bc\",\n      \"ncw\\u00f2nz\\u00e9m\"\n    ],\n    \"DAY\": [\n      \"ly\\u025b\\u02bc\\u025b\\u0301 s\\u1e85\\u00ed\\u014bt\\u00e8\",\n      \"mvf\\u00f2 ly\\u025b\\u030c\\u02bc\",\n      \"mb\\u0254\\u0301\\u0254nt\\u00e8 mvf\\u00f2 ly\\u025b\\u030c\\u02bc\",\n      \"ts\\u00e8ts\\u025b\\u0300\\u025b ly\\u025b\\u030c\\u02bc\",\n      \"mb\\u0254\\u0301\\u0254nt\\u00e8 tsets\\u025b\\u0300\\u025b ly\\u025b\\u030c\\u02bc\",\n      \"mvf\\u00f2 m\\u00e0ga ly\\u025b\\u030c\\u02bc\",\n      \"m\\u00e0ga ly\\u025b\\u030c\\u02bc\"\n    ],\n    \"ERANAMES\": [\n      \"m\\u00e9 zy\\u00e9 Y\\u011bs\\u00f4\",\n      \"m\\u00e9 g\\u00ffo \\u0144zy\\u00e9 Y\\u011bs\\u00f4\"\n    ],\n    \"ERAS\": [\n      \"m.z.Y.\",\n      \"m.g.n.Y.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"sa\\u014b tsets\\u025b\\u0300\\u025b l\\u00f9m\",\n      \"sa\\u014b k\\u00e0g ngw\\u00f3\\u014b\",\n      \"sa\\u014b lepy\\u00e8 sh\\u00fam\",\n      \"sa\\u014b c\\u00ff\\u00f3\",\n      \"sa\\u014b ts\\u025b\\u0300\\u025b c\\u00ff\\u00f3\",\n      \"sa\\u014b nj\\u00ffol\\u00e1\\u02bc\",\n      \"sa\\u014b ty\\u025b\\u0300b ty\\u025b\\u0300b mb\\u0289\\u0300\",\n      \"sa\\u014b mb\\u0289\\u0300\\u014b\",\n      \"sa\\u014b ngw\\u0254\\u0300\\u02bc mb\\u00ff\\u025b\",\n      \"sa\\u014b t\\u00e0\\u014ba tsets\\u00e1\\u02bc\",\n      \"sa\\u014b mejwo\\u014b\\u00f3\",\n      \"sa\\u014b l\\u00f9m\"\n    ],\n    \"SHORTDAY\": [\n      \"ly\\u025b\\u02bc\\u025b\\u0301 s\\u1e85\\u00ed\\u014bt\\u00e8\",\n      \"mvf\\u00f2 ly\\u025b\\u030c\\u02bc\",\n      \"mb\\u0254\\u0301\\u0254nt\\u00e8 mvf\\u00f2 ly\\u025b\\u030c\\u02bc\",\n      \"ts\\u00e8ts\\u025b\\u0300\\u025b ly\\u025b\\u030c\\u02bc\",\n      \"mb\\u0254\\u0301\\u0254nt\\u00e8 tsets\\u025b\\u0300\\u025b ly\\u025b\\u030c\\u02bc\",\n      \"mvf\\u00f2 m\\u00e0ga ly\\u025b\\u030c\\u02bc\",\n      \"m\\u00e0ga ly\\u025b\\u030c\\u02bc\"\n    ],\n    \"SHORTMONTH\": [\n      \"sa\\u014b tsets\\u025b\\u0300\\u025b l\\u00f9m\",\n      \"sa\\u014b k\\u00e0g ngw\\u00f3\\u014b\",\n      \"sa\\u014b lepy\\u00e8 sh\\u00fam\",\n      \"sa\\u014b c\\u00ff\\u00f3\",\n      \"sa\\u014b ts\\u025b\\u0300\\u025b c\\u00ff\\u00f3\",\n      \"sa\\u014b nj\\u00ffol\\u00e1\\u02bc\",\n      \"sa\\u014b ty\\u025b\\u0300b ty\\u025b\\u0300b mb\\u0289\\u0300\",\n      \"sa\\u014b mb\\u0289\\u0300\\u014b\",\n      \"sa\\u014b ngw\\u0254\\u0300\\u02bc mb\\u00ff\\u025b\",\n      \"sa\\u014b t\\u00e0\\u014ba tsets\\u00e1\\u02bc\",\n      \"sa\\u014b mejwo\\u014b\\u00f3\",\n      \"sa\\u014b l\\u00f9m\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE , 'ly\\u025b'\\u030c\\u02bc d 'na' MMMM, y\",\n    \"longDate\": \"'ly\\u025b'\\u030c\\u02bc d 'na' MMMM, y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/yy HH:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"nnh-cm\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_nnh.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"mba\\u02bc\\u00e1mba\\u02bc\",\n      \"ncw\\u00f2nz\\u00e9m\"\n    ],\n    \"DAY\": [\n      \"ly\\u025b\\u02bc\\u025b\\u0301 s\\u1e85\\u00ed\\u014bt\\u00e8\",\n      \"mvf\\u00f2 ly\\u025b\\u030c\\u02bc\",\n      \"mb\\u0254\\u0301\\u0254nt\\u00e8 mvf\\u00f2 ly\\u025b\\u030c\\u02bc\",\n      \"ts\\u00e8ts\\u025b\\u0300\\u025b ly\\u025b\\u030c\\u02bc\",\n      \"mb\\u0254\\u0301\\u0254nt\\u00e8 tsets\\u025b\\u0300\\u025b ly\\u025b\\u030c\\u02bc\",\n      \"mvf\\u00f2 m\\u00e0ga ly\\u025b\\u030c\\u02bc\",\n      \"m\\u00e0ga ly\\u025b\\u030c\\u02bc\"\n    ],\n    \"ERANAMES\": [\n      \"m\\u00e9 zy\\u00e9 Y\\u011bs\\u00f4\",\n      \"m\\u00e9 g\\u00ffo \\u0144zy\\u00e9 Y\\u011bs\\u00f4\"\n    ],\n    \"ERAS\": [\n      \"m.z.Y.\",\n      \"m.g.n.Y.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"sa\\u014b tsets\\u025b\\u0300\\u025b l\\u00f9m\",\n      \"sa\\u014b k\\u00e0g ngw\\u00f3\\u014b\",\n      \"sa\\u014b lepy\\u00e8 sh\\u00fam\",\n      \"sa\\u014b c\\u00ff\\u00f3\",\n      \"sa\\u014b ts\\u025b\\u0300\\u025b c\\u00ff\\u00f3\",\n      \"sa\\u014b nj\\u00ffol\\u00e1\\u02bc\",\n      \"sa\\u014b ty\\u025b\\u0300b ty\\u025b\\u0300b mb\\u0289\\u0300\",\n      \"sa\\u014b mb\\u0289\\u0300\\u014b\",\n      \"sa\\u014b ngw\\u0254\\u0300\\u02bc mb\\u00ff\\u025b\",\n      \"sa\\u014b t\\u00e0\\u014ba tsets\\u00e1\\u02bc\",\n      \"sa\\u014b mejwo\\u014b\\u00f3\",\n      \"sa\\u014b l\\u00f9m\"\n    ],\n    \"SHORTDAY\": [\n      \"ly\\u025b\\u02bc\\u025b\\u0301 s\\u1e85\\u00ed\\u014bt\\u00e8\",\n      \"mvf\\u00f2 ly\\u025b\\u030c\\u02bc\",\n      \"mb\\u0254\\u0301\\u0254nt\\u00e8 mvf\\u00f2 ly\\u025b\\u030c\\u02bc\",\n      \"ts\\u00e8ts\\u025b\\u0300\\u025b ly\\u025b\\u030c\\u02bc\",\n      \"mb\\u0254\\u0301\\u0254nt\\u00e8 tsets\\u025b\\u0300\\u025b ly\\u025b\\u030c\\u02bc\",\n      \"mvf\\u00f2 m\\u00e0ga ly\\u025b\\u030c\\u02bc\",\n      \"m\\u00e0ga ly\\u025b\\u030c\\u02bc\"\n    ],\n    \"SHORTMONTH\": [\n      \"sa\\u014b tsets\\u025b\\u0300\\u025b l\\u00f9m\",\n      \"sa\\u014b k\\u00e0g ngw\\u00f3\\u014b\",\n      \"sa\\u014b lepy\\u00e8 sh\\u00fam\",\n      \"sa\\u014b c\\u00ff\\u00f3\",\n      \"sa\\u014b ts\\u025b\\u0300\\u025b c\\u00ff\\u00f3\",\n      \"sa\\u014b nj\\u00ffol\\u00e1\\u02bc\",\n      \"sa\\u014b ty\\u025b\\u0300b ty\\u025b\\u0300b mb\\u0289\\u0300\",\n      \"sa\\u014b mb\\u0289\\u0300\\u014b\",\n      \"sa\\u014b ngw\\u0254\\u0300\\u02bc mb\\u00ff\\u025b\",\n      \"sa\\u014b t\\u00e0\\u014ba tsets\\u00e1\\u02bc\",\n      \"sa\\u014b mejwo\\u014b\\u00f3\",\n      \"sa\\u014b l\\u00f9m\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE , 'ly\\u025b'\\u030c\\u02bc d 'na' MMMM, y\",\n    \"longDate\": \"'ly\\u025b'\\u030c\\u02bc d 'na' MMMM, y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/yy HH:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"nnh\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_no-no.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"s\\u00f8ndag\",\n      \"mandag\",\n      \"tirsdag\",\n      \"onsdag\",\n      \"torsdag\",\n      \"fredag\",\n      \"l\\u00f8rdag\"\n    ],\n    \"ERANAMES\": [\n      \"f.Kr.\",\n      \"e.Kr.\"\n    ],\n    \"ERAS\": [\n      \"f.Kr.\",\n      \"e.Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januar\",\n      \"februar\",\n      \"mars\",\n      \"april\",\n      \"mai\",\n      \"juni\",\n      \"juli\",\n      \"august\",\n      \"september\",\n      \"oktober\",\n      \"november\",\n      \"desember\"\n    ],\n    \"SHORTDAY\": [\n      \"s\\u00f8n.\",\n      \"man.\",\n      \"tir.\",\n      \"ons.\",\n      \"tor.\",\n      \"fre.\",\n      \"l\\u00f8r.\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"mar.\",\n      \"apr.\",\n      \"mai\",\n      \"jun.\",\n      \"jul.\",\n      \"aug.\",\n      \"sep.\",\n      \"okt.\",\n      \"nov.\",\n      \"des.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d. MMM y HH.mm.ss\",\n    \"mediumDate\": \"d. MMM y\",\n    \"mediumTime\": \"HH.mm.ss\",\n    \"short\": \"dd.MM.y HH.mm\",\n    \"shortDate\": \"dd.MM.y\",\n    \"shortTime\": \"HH.mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"kr\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"no-no\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_no.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"s\\u00f8ndag\",\n      \"mandag\",\n      \"tirsdag\",\n      \"onsdag\",\n      \"torsdag\",\n      \"fredag\",\n      \"l\\u00f8rdag\"\n    ],\n    \"ERANAMES\": [\n      \"f.Kr.\",\n      \"e.Kr.\"\n    ],\n    \"ERAS\": [\n      \"f.Kr.\",\n      \"e.Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januar\",\n      \"februar\",\n      \"mars\",\n      \"april\",\n      \"mai\",\n      \"juni\",\n      \"juli\",\n      \"august\",\n      \"september\",\n      \"oktober\",\n      \"november\",\n      \"desember\"\n    ],\n    \"SHORTDAY\": [\n      \"s\\u00f8n.\",\n      \"man.\",\n      \"tir.\",\n      \"ons.\",\n      \"tor.\",\n      \"fre.\",\n      \"l\\u00f8r.\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"mar.\",\n      \"apr.\",\n      \"mai\",\n      \"jun.\",\n      \"jul.\",\n      \"aug.\",\n      \"sep.\",\n      \"okt.\",\n      \"nov.\",\n      \"des.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d. MMM y HH.mm.ss\",\n    \"mediumDate\": \"d. MMM y\",\n    \"mediumTime\": \"HH.mm.ss\",\n    \"short\": \"dd.MM.y HH.mm\",\n    \"shortDate\": \"dd.MM.y\",\n    \"shortTime\": \"HH.mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"kr\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"no\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_nr-za.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"uSonto\",\n      \"uMvulo\",\n      \"uLesibili\",\n      \"Lesithathu\",\n      \"uLesine\",\n      \"ngoLesihlanu\",\n      \"umGqibelo\"\n    ],\n    \"ERANAMES\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Janabari\",\n      \"uFeberbari\",\n      \"uMatjhi\",\n      \"u-Apreli\",\n      \"Meyi\",\n      \"Juni\",\n      \"Julayi\",\n      \"Arhostosi\",\n      \"Septemba\",\n      \"Oktoba\",\n      \"Usinyikhaba\",\n      \"Disemba\"\n    ],\n    \"SHORTDAY\": [\n      \"Son\",\n      \"Mvu\",\n      \"Bil\",\n      \"Tha\",\n      \"Ne\",\n      \"Hla\",\n      \"Gqi\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mat\",\n      \"Apr\",\n      \"Mey\",\n      \"Jun\",\n      \"Jul\",\n      \"Arh\",\n      \"Sep\",\n      \"Okt\",\n      \"Usi\",\n      \"Dis\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"R\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"nr-za\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_nr.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"uSonto\",\n      \"uMvulo\",\n      \"uLesibili\",\n      \"Lesithathu\",\n      \"uLesine\",\n      \"ngoLesihlanu\",\n      \"umGqibelo\"\n    ],\n    \"ERANAMES\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Janabari\",\n      \"uFeberbari\",\n      \"uMatjhi\",\n      \"u-Apreli\",\n      \"Meyi\",\n      \"Juni\",\n      \"Julayi\",\n      \"Arhostosi\",\n      \"Septemba\",\n      \"Oktoba\",\n      \"Usinyikhaba\",\n      \"Disemba\"\n    ],\n    \"SHORTDAY\": [\n      \"Son\",\n      \"Mvu\",\n      \"Bil\",\n      \"Tha\",\n      \"Ne\",\n      \"Hla\",\n      \"Gqi\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mat\",\n      \"Apr\",\n      \"Mey\",\n      \"Jun\",\n      \"Jul\",\n      \"Arh\",\n      \"Sep\",\n      \"Okt\",\n      \"Usi\",\n      \"Dis\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"R\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"nr\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_nso-za.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sontaga\",\n      \"Mosupalogo\",\n      \"Labobedi\",\n      \"Laboraro\",\n      \"Labone\",\n      \"Labohlano\",\n      \"Mokibelo\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Janaware\",\n      \"Feberware\",\n      \"Mat\\u0161he\",\n      \"Aporele\",\n      \"Mei\",\n      \"June\",\n      \"Julae\",\n      \"Agostose\",\n      \"Setemere\",\n      \"Oktobore\",\n      \"Nofemere\",\n      \"Disemere\"\n    ],\n    \"SHORTDAY\": [\n      \"Son\",\n      \"Mos\",\n      \"Bed\",\n      \"Rar\",\n      \"Ne\",\n      \"Hla\",\n      \"Mok\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mat\",\n      \"Apo\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Ago\",\n      \"Set\",\n      \"Okt\",\n      \"Nof\",\n      \"Dis\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"R\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"nso-za\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_nso.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sontaga\",\n      \"Mosupalogo\",\n      \"Labobedi\",\n      \"Laboraro\",\n      \"Labone\",\n      \"Labohlano\",\n      \"Mokibelo\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Janaware\",\n      \"Feberware\",\n      \"Mat\\u0161he\",\n      \"Aporele\",\n      \"Mei\",\n      \"June\",\n      \"Julae\",\n      \"Agostose\",\n      \"Setemere\",\n      \"Oktobore\",\n      \"Nofemere\",\n      \"Disemere\"\n    ],\n    \"SHORTDAY\": [\n      \"Son\",\n      \"Mos\",\n      \"Bed\",\n      \"Rar\",\n      \"Ne\",\n      \"Hla\",\n      \"Mok\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mat\",\n      \"Apo\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Ago\",\n      \"Set\",\n      \"Okt\",\n      \"Nof\",\n      \"Dis\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"R\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"nso\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_nus-sd.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"RW\",\n      \"T\\u014a\"\n    ],\n    \"DAY\": [\n      \"C\\u00e4\\u014b ku\\u0254th\",\n      \"Jiec la\\u0331t\",\n      \"R\\u025bw l\\u00e4tni\",\n      \"Di\\u0254\\u0331k l\\u00e4tni\",\n      \"\\u014auaan l\\u00e4tni\",\n      \"Dhieec l\\u00e4tni\",\n      \"B\\u00e4k\\u025bl l\\u00e4tni\"\n    ],\n    \"ERANAMES\": [\n      \"A ka\\u0331n Yecu ni dap\",\n      \"\\u0190 ca Yecu dap\"\n    ],\n    \"ERAS\": [\n      \"AY\",\n      \"\\u0190Y\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Tiop thar p\\u025bt\",\n      \"P\\u025bt\",\n      \"Du\\u0254\\u0331\\u0254\\u0331\\u014b\",\n      \"Guak\",\n      \"Du\\u00e4t\",\n      \"Kornyoot\",\n      \"Pay yie\\u0331tni\",\n      \"Tho\\u0331o\\u0331r\",\n      \"T\\u025b\\u025br\",\n      \"Laath\",\n      \"Kur\",\n      \"Tio\\u0331p in di\\u0331i\\u0331t\"\n    ],\n    \"SHORTDAY\": [\n      \"C\\u00e4\\u014b\",\n      \"Jiec\",\n      \"R\\u025bw\",\n      \"Di\\u0254\\u0331k\",\n      \"\\u014auaan\",\n      \"Dhieec\",\n      \"B\\u00e4k\\u025bl\"\n    ],\n    \"SHORTMONTH\": [\n      \"Tiop\",\n      \"P\\u025bt\",\n      \"Du\\u0254\\u0331\\u0254\\u0331\",\n      \"Guak\",\n      \"Du\\u00e4\",\n      \"Kor\",\n      \"Pay\",\n      \"Thoo\",\n      \"T\\u025b\\u025b\",\n      \"Laa\",\n      \"Kur\",\n      \"Tid\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/MM/y h:mm a\",\n    \"shortDate\": \"d/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"SDG\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"nus-sd\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_nus.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"RW\",\n      \"T\\u014a\"\n    ],\n    \"DAY\": [\n      \"C\\u00e4\\u014b ku\\u0254th\",\n      \"Jiec la\\u0331t\",\n      \"R\\u025bw l\\u00e4tni\",\n      \"Di\\u0254\\u0331k l\\u00e4tni\",\n      \"\\u014auaan l\\u00e4tni\",\n      \"Dhieec l\\u00e4tni\",\n      \"B\\u00e4k\\u025bl l\\u00e4tni\"\n    ],\n    \"ERANAMES\": [\n      \"A ka\\u0331n Yecu ni dap\",\n      \"\\u0190 ca Yecu dap\"\n    ],\n    \"ERAS\": [\n      \"AY\",\n      \"\\u0190Y\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Tiop thar p\\u025bt\",\n      \"P\\u025bt\",\n      \"Du\\u0254\\u0331\\u0254\\u0331\\u014b\",\n      \"Guak\",\n      \"Du\\u00e4t\",\n      \"Kornyoot\",\n      \"Pay yie\\u0331tni\",\n      \"Tho\\u0331o\\u0331r\",\n      \"T\\u025b\\u025br\",\n      \"Laath\",\n      \"Kur\",\n      \"Tio\\u0331p in di\\u0331i\\u0331t\"\n    ],\n    \"SHORTDAY\": [\n      \"C\\u00e4\\u014b\",\n      \"Jiec\",\n      \"R\\u025bw\",\n      \"Di\\u0254\\u0331k\",\n      \"\\u014auaan\",\n      \"Dhieec\",\n      \"B\\u00e4k\\u025bl\"\n    ],\n    \"SHORTMONTH\": [\n      \"Tiop\",\n      \"P\\u025bt\",\n      \"Du\\u0254\\u0331\\u0254\\u0331\",\n      \"Guak\",\n      \"Du\\u00e4\",\n      \"Kor\",\n      \"Pay\",\n      \"Thoo\",\n      \"T\\u025b\\u025b\",\n      \"Laa\",\n      \"Kur\",\n      \"Tid\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/MM/y h:mm a\",\n    \"shortDate\": \"d/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"SDG\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"nus\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_nyn-ug.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sande\",\n      \"Orwokubanza\",\n      \"Orwakabiri\",\n      \"Orwakashatu\",\n      \"Orwakana\",\n      \"Orwakataano\",\n      \"Orwamukaaga\"\n    ],\n    \"ERANAMES\": [\n      \"Kurisito Atakaijire\",\n      \"Kurisito Yaijire\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Okwokubanza\",\n      \"Okwakabiri\",\n      \"Okwakashatu\",\n      \"Okwakana\",\n      \"Okwakataana\",\n      \"Okwamukaaga\",\n      \"Okwamushanju\",\n      \"Okwamunaana\",\n      \"Okwamwenda\",\n      \"Okwaikumi\",\n      \"Okwaikumi na kumwe\",\n      \"Okwaikumi na ibiri\"\n    ],\n    \"SHORTDAY\": [\n      \"SAN\",\n      \"ORK\",\n      \"OKB\",\n      \"OKS\",\n      \"OKN\",\n      \"OKT\",\n      \"OMK\"\n    ],\n    \"SHORTMONTH\": [\n      \"KBZ\",\n      \"KBR\",\n      \"KST\",\n      \"KKN\",\n      \"KTN\",\n      \"KMK\",\n      \"KMS\",\n      \"KMN\",\n      \"KMW\",\n      \"KKM\",\n      \"KNK\",\n      \"KNB\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"UGX\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"nyn-ug\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_nyn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sande\",\n      \"Orwokubanza\",\n      \"Orwakabiri\",\n      \"Orwakashatu\",\n      \"Orwakana\",\n      \"Orwakataano\",\n      \"Orwamukaaga\"\n    ],\n    \"ERANAMES\": [\n      \"Kurisito Atakaijire\",\n      \"Kurisito Yaijire\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Okwokubanza\",\n      \"Okwakabiri\",\n      \"Okwakashatu\",\n      \"Okwakana\",\n      \"Okwakataana\",\n      \"Okwamukaaga\",\n      \"Okwamushanju\",\n      \"Okwamunaana\",\n      \"Okwamwenda\",\n      \"Okwaikumi\",\n      \"Okwaikumi na kumwe\",\n      \"Okwaikumi na ibiri\"\n    ],\n    \"SHORTDAY\": [\n      \"SAN\",\n      \"ORK\",\n      \"OKB\",\n      \"OKS\",\n      \"OKN\",\n      \"OKT\",\n      \"OMK\"\n    ],\n    \"SHORTMONTH\": [\n      \"KBZ\",\n      \"KBR\",\n      \"KST\",\n      \"KKN\",\n      \"KTN\",\n      \"KMK\",\n      \"KMS\",\n      \"KMN\",\n      \"KMW\",\n      \"KKM\",\n      \"KNK\",\n      \"KNB\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"UGX\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"nyn\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_om-et.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"WD\",\n      \"WB\"\n    ],\n    \"DAY\": [\n      \"Dilbata\",\n      \"Wiixata\",\n      \"Qibxata\",\n      \"Roobii\",\n      \"Kamiisa\",\n      \"Jimaata\",\n      \"Sanbata\"\n    ],\n    \"ERANAMES\": [\n      \"KD\",\n      \"KB\"\n    ],\n    \"ERAS\": [\n      \"KD\",\n      \"KB\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Amajjii\",\n      \"Guraandhala\",\n      \"Bitooteessa\",\n      \"Elba\",\n      \"Caamsa\",\n      \"Waxabajjii\",\n      \"Adooleessa\",\n      \"Hagayya\",\n      \"Fuulbana\",\n      \"Onkololeessa\",\n      \"Sadaasa\",\n      \"Muddee\"\n    ],\n    \"SHORTDAY\": [\n      \"Dil\",\n      \"Wix\",\n      \"Qib\",\n      \"Rob\",\n      \"Kam\",\n      \"Jim\",\n      \"San\"\n    ],\n    \"SHORTMONTH\": [\n      \"Ama\",\n      \"Gur\",\n      \"Bit\",\n      \"Elb\",\n      \"Cam\",\n      \"Wax\",\n      \"Ado\",\n      \"Hag\",\n      \"Ful\",\n      \"Onk\",\n      \"Sad\",\n      \"Mud\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd-MMM-y h:mm:ss a\",\n    \"mediumDate\": \"dd-MMM-y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Birr\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"om-et\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_om-ke.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"WD\",\n      \"WB\"\n    ],\n    \"DAY\": [\n      \"Dilbata\",\n      \"Wiixata\",\n      \"Qibxata\",\n      \"Roobii\",\n      \"Kamiisa\",\n      \"Jimaata\",\n      \"Sanbata\"\n    ],\n    \"ERANAMES\": [\n      \"KD\",\n      \"KB\"\n    ],\n    \"ERAS\": [\n      \"KD\",\n      \"KB\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Amajjii\",\n      \"Guraandhala\",\n      \"Bitooteessa\",\n      \"Elba\",\n      \"Caamsa\",\n      \"Waxabajjii\",\n      \"Adooleessa\",\n      \"Hagayya\",\n      \"Fuulbana\",\n      \"Onkololeessa\",\n      \"Sadaasa\",\n      \"Muddee\"\n    ],\n    \"SHORTDAY\": [\n      \"Dil\",\n      \"Wix\",\n      \"Qib\",\n      \"Rob\",\n      \"Kam\",\n      \"Jim\",\n      \"San\"\n    ],\n    \"SHORTMONTH\": [\n      \"Ama\",\n      \"Gur\",\n      \"Bit\",\n      \"Elb\",\n      \"Cam\",\n      \"Wax\",\n      \"Ado\",\n      \"Hag\",\n      \"Ful\",\n      \"Onk\",\n      \"Sad\",\n      \"Mud\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd-MMM-y h:mm:ss a\",\n    \"mediumDate\": \"dd-MMM-y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ksh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"om-ke\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_om.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"WD\",\n      \"WB\"\n    ],\n    \"DAY\": [\n      \"Dilbata\",\n      \"Wiixata\",\n      \"Qibxata\",\n      \"Roobii\",\n      \"Kamiisa\",\n      \"Jimaata\",\n      \"Sanbata\"\n    ],\n    \"ERANAMES\": [\n      \"KD\",\n      \"KB\"\n    ],\n    \"ERAS\": [\n      \"KD\",\n      \"KB\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Amajjii\",\n      \"Guraandhala\",\n      \"Bitooteessa\",\n      \"Elba\",\n      \"Caamsa\",\n      \"Waxabajjii\",\n      \"Adooleessa\",\n      \"Hagayya\",\n      \"Fuulbana\",\n      \"Onkololeessa\",\n      \"Sadaasa\",\n      \"Muddee\"\n    ],\n    \"SHORTDAY\": [\n      \"Dil\",\n      \"Wix\",\n      \"Qib\",\n      \"Rob\",\n      \"Kam\",\n      \"Jim\",\n      \"San\"\n    ],\n    \"SHORTMONTH\": [\n      \"Ama\",\n      \"Gur\",\n      \"Bit\",\n      \"Elb\",\n      \"Cam\",\n      \"Wax\",\n      \"Ado\",\n      \"Hag\",\n      \"Ful\",\n      \"Onk\",\n      \"Sad\",\n      \"Mud\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd-MMM-y h:mm:ss a\",\n    \"mediumDate\": \"dd-MMM-y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Birr\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"om\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_or-in.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"am\",\n      \"pm\"\n    ],\n    \"DAY\": [\n      \"\\u0b30\\u0b2c\\u0b3f\\u0b2c\\u0b3e\\u0b30\",\n      \"\\u0b38\\u0b4b\\u0b2e\\u0b2c\\u0b3e\\u0b30\",\n      \"\\u0b2e\\u0b19\\u0b4d\\u0b17\\u0b33\\u0b2c\\u0b3e\\u0b30\",\n      \"\\u0b2c\\u0b41\\u0b27\\u0b2c\\u0b3e\\u0b30\",\n      \"\\u0b17\\u0b41\\u0b30\\u0b41\\u0b2c\\u0b3e\\u0b30\",\n      \"\\u0b36\\u0b41\\u0b15\\u0b4d\\u0b30\\u0b2c\\u0b3e\\u0b30\",\n      \"\\u0b36\\u0b28\\u0b3f\\u0b2c\\u0b3e\\u0b30\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u0b1c\\u0b3e\\u0b28\\u0b41\\u0b06\\u0b30\\u0b40\",\n      \"\\u0b2b\\u0b47\\u0b2c\\u0b43\\u0b06\\u0b30\\u0b40\",\n      \"\\u0b2e\\u0b3e\\u0b30\\u0b4d\\u0b1a\\u0b4d\\u0b1a\",\n      \"\\u0b05\\u0b2a\\u0b4d\\u0b30\\u0b47\\u0b32\",\n      \"\\u0b2e\\u0b07\",\n      \"\\u0b1c\\u0b41\\u0b28\",\n      \"\\u0b1c\\u0b41\\u0b32\\u0b3e\\u0b07\",\n      \"\\u0b05\\u0b17\\u0b37\\u0b4d\\u0b1f\",\n      \"\\u0b38\\u0b47\\u0b2a\\u0b4d\\u0b1f\\u0b47\\u0b2e\\u0b4d\\u0b2c\\u0b30\",\n      \"\\u0b05\\u0b15\\u0b4d\\u0b1f\\u0b4b\\u0b2c\\u0b30\",\n      \"\\u0b28\\u0b2d\\u0b47\\u0b2e\\u0b4d\\u0b2c\\u0b30\",\n      \"\\u0b21\\u0b3f\\u0b38\\u0b47\\u0b2e\\u0b4d\\u0b2c\\u0b30\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0b30\\u0b2c\\u0b3f\",\n      \"\\u0b38\\u0b4b\\u0b2e\",\n      \"\\u0b2e\\u0b19\\u0b4d\\u0b17\\u0b33\",\n      \"\\u0b2c\\u0b41\\u0b27\",\n      \"\\u0b17\\u0b41\\u0b30\\u0b41\",\n      \"\\u0b36\\u0b41\\u0b15\\u0b4d\\u0b30\",\n      \"\\u0b36\\u0b28\\u0b3f\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0b1c\\u0b3e\\u0b28\\u0b41\\u0b06\\u0b30\\u0b40\",\n      \"\\u0b2b\\u0b47\\u0b2c\\u0b43\\u0b06\\u0b30\\u0b40\",\n      \"\\u0b2e\\u0b3e\\u0b30\\u0b4d\\u0b1a\\u0b4d\\u0b1a\",\n      \"\\u0b05\\u0b2a\\u0b4d\\u0b30\\u0b47\\u0b32\",\n      \"\\u0b2e\\u0b07\",\n      \"\\u0b1c\\u0b41\\u0b28\",\n      \"\\u0b1c\\u0b41\\u0b32\\u0b3e\\u0b07\",\n      \"\\u0b05\\u0b17\\u0b37\\u0b4d\\u0b1f\",\n      \"\\u0b38\\u0b47\\u0b2a\\u0b4d\\u0b1f\\u0b47\\u0b2e\\u0b4d\\u0b2c\\u0b30\",\n      \"\\u0b05\\u0b15\\u0b4d\\u0b1f\\u0b4b\\u0b2c\\u0b30\",\n      \"\\u0b28\\u0b2d\\u0b47\\u0b2e\\u0b4d\\u0b2c\\u0b30\",\n      \"\\u0b21\\u0b3f\\u0b38\\u0b47\\u0b2e\\u0b4d\\u0b2c\\u0b30\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d-M-yy h:mm a\",\n    \"shortDate\": \"d-M-yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"or-in\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_or.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"am\",\n      \"pm\"\n    ],\n    \"DAY\": [\n      \"\\u0b30\\u0b2c\\u0b3f\\u0b2c\\u0b3e\\u0b30\",\n      \"\\u0b38\\u0b4b\\u0b2e\\u0b2c\\u0b3e\\u0b30\",\n      \"\\u0b2e\\u0b19\\u0b4d\\u0b17\\u0b33\\u0b2c\\u0b3e\\u0b30\",\n      \"\\u0b2c\\u0b41\\u0b27\\u0b2c\\u0b3e\\u0b30\",\n      \"\\u0b17\\u0b41\\u0b30\\u0b41\\u0b2c\\u0b3e\\u0b30\",\n      \"\\u0b36\\u0b41\\u0b15\\u0b4d\\u0b30\\u0b2c\\u0b3e\\u0b30\",\n      \"\\u0b36\\u0b28\\u0b3f\\u0b2c\\u0b3e\\u0b30\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u0b1c\\u0b3e\\u0b28\\u0b41\\u0b06\\u0b30\\u0b40\",\n      \"\\u0b2b\\u0b47\\u0b2c\\u0b43\\u0b06\\u0b30\\u0b40\",\n      \"\\u0b2e\\u0b3e\\u0b30\\u0b4d\\u0b1a\\u0b4d\\u0b1a\",\n      \"\\u0b05\\u0b2a\\u0b4d\\u0b30\\u0b47\\u0b32\",\n      \"\\u0b2e\\u0b07\",\n      \"\\u0b1c\\u0b41\\u0b28\",\n      \"\\u0b1c\\u0b41\\u0b32\\u0b3e\\u0b07\",\n      \"\\u0b05\\u0b17\\u0b37\\u0b4d\\u0b1f\",\n      \"\\u0b38\\u0b47\\u0b2a\\u0b4d\\u0b1f\\u0b47\\u0b2e\\u0b4d\\u0b2c\\u0b30\",\n      \"\\u0b05\\u0b15\\u0b4d\\u0b1f\\u0b4b\\u0b2c\\u0b30\",\n      \"\\u0b28\\u0b2d\\u0b47\\u0b2e\\u0b4d\\u0b2c\\u0b30\",\n      \"\\u0b21\\u0b3f\\u0b38\\u0b47\\u0b2e\\u0b4d\\u0b2c\\u0b30\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0b30\\u0b2c\\u0b3f\",\n      \"\\u0b38\\u0b4b\\u0b2e\",\n      \"\\u0b2e\\u0b19\\u0b4d\\u0b17\\u0b33\",\n      \"\\u0b2c\\u0b41\\u0b27\",\n      \"\\u0b17\\u0b41\\u0b30\\u0b41\",\n      \"\\u0b36\\u0b41\\u0b15\\u0b4d\\u0b30\",\n      \"\\u0b36\\u0b28\\u0b3f\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0b1c\\u0b3e\\u0b28\\u0b41\\u0b06\\u0b30\\u0b40\",\n      \"\\u0b2b\\u0b47\\u0b2c\\u0b43\\u0b06\\u0b30\\u0b40\",\n      \"\\u0b2e\\u0b3e\\u0b30\\u0b4d\\u0b1a\\u0b4d\\u0b1a\",\n      \"\\u0b05\\u0b2a\\u0b4d\\u0b30\\u0b47\\u0b32\",\n      \"\\u0b2e\\u0b07\",\n      \"\\u0b1c\\u0b41\\u0b28\",\n      \"\\u0b1c\\u0b41\\u0b32\\u0b3e\\u0b07\",\n      \"\\u0b05\\u0b17\\u0b37\\u0b4d\\u0b1f\",\n      \"\\u0b38\\u0b47\\u0b2a\\u0b4d\\u0b1f\\u0b47\\u0b2e\\u0b4d\\u0b2c\\u0b30\",\n      \"\\u0b05\\u0b15\\u0b4d\\u0b1f\\u0b4b\\u0b2c\\u0b30\",\n      \"\\u0b28\\u0b2d\\u0b47\\u0b2e\\u0b4d\\u0b2c\\u0b30\",\n      \"\\u0b21\\u0b3f\\u0b38\\u0b47\\u0b2e\\u0b4d\\u0b2c\\u0b30\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d-M-yy h:mm a\",\n    \"shortDate\": \"d-M-yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"or\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_os-ge.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u04d5\\u043c\\u0431\\u0438\\u0441\\u0431\\u043e\\u043d\\u044b \\u0440\\u0430\\u0437\\u043c\\u04d5\",\n      \"\\u04d5\\u043c\\u0431\\u0438\\u0441\\u0431\\u043e\\u043d\\u044b \\u0444\\u04d5\\u0441\\u0442\\u04d5\"\n    ],\n    \"DAY\": [\n      \"\\u0445\\u0443\\u044b\\u0446\\u0430\\u0443\\u0431\\u043e\\u043d\",\n      \"\\u043a\\u044a\\u0443\\u044b\\u0440\\u0438\\u0441\\u04d5\\u0440\",\n      \"\\u0434\\u044b\\u0446\\u0446\\u04d5\\u0433\",\n      \"\\u04d5\\u0440\\u0442\\u044b\\u0446\\u0446\\u04d5\\u0433\",\n      \"\\u0446\\u044b\\u043f\\u043f\\u04d5\\u0440\\u04d5\\u043c\",\n      \"\\u043c\\u0430\\u0439\\u0440\\u04d5\\u043c\\u0431\\u043e\\u043d\",\n      \"\\u0441\\u0430\\u0431\\u0430\\u0442\"\n    ],\n    \"ERANAMES\": [\n      \"\\u043d.\\u0434.\\u0430.\",\n      \"\\u043d.\\u0434.\"\n    ],\n    \"ERAS\": [\n      \"\\u043d.\\u0434.\\u0430.\",\n      \"\\u043d.\\u0434.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u044f\\u043d\\u0432\\u0430\\u0440\\u044b\",\n      \"\\u0444\\u0435\\u0432\\u0440\\u0430\\u043b\\u044b\",\n      \"\\u043c\\u0430\\u0440\\u0442\\u044a\\u0438\\u0439\\u044b\",\n      \"\\u0430\\u043f\\u0440\\u0435\\u043b\\u044b\",\n      \"\\u043c\\u0430\\u0439\\u044b\",\n      \"\\u0438\\u044e\\u043d\\u044b\",\n      \"\\u0438\\u044e\\u043b\\u044b\",\n      \"\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\\u044b\",\n      \"\\u0441\\u0435\\u043d\\u0442\\u044f\\u0431\\u0440\\u044b\",\n      \"\\u043e\\u043a\\u0442\\u044f\\u0431\\u0440\\u044b\",\n      \"\\u043d\\u043e\\u044f\\u0431\\u0440\\u044b\",\n      \"\\u0434\\u0435\\u043a\\u0430\\u0431\\u0440\\u044b\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0445\\u0446\\u0431\",\n      \"\\u043a\\u0440\\u0441\",\n      \"\\u0434\\u0446\\u0433\",\n      \"\\u04d5\\u0440\\u0442\",\n      \"\\u0446\\u043f\\u0440\",\n      \"\\u043c\\u0440\\u0431\",\n      \"\\u0441\\u0431\\u0442\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u044f\\u043d\\u0432.\",\n      \"\\u0444\\u0435\\u0432.\",\n      \"\\u043c\\u0430\\u0440.\",\n      \"\\u0430\\u043f\\u0440.\",\n      \"\\u043c\\u0430\\u044f\",\n      \"\\u0438\\u044e\\u043d\\u044b\",\n      \"\\u0438\\u044e\\u043b\\u044b\",\n      \"\\u0430\\u0432\\u0433.\",\n      \"\\u0441\\u0435\\u043d.\",\n      \"\\u043e\\u043a\\u0442.\",\n      \"\\u043d\\u043e\\u044f.\",\n      \"\\u0434\\u0435\\u043a.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM, y '\\u0430\\u0437'\",\n    \"longDate\": \"d MMMM, y '\\u0430\\u0437'\",\n    \"medium\": \"dd MMM y '\\u0430\\u0437' HH:mm:ss\",\n    \"mediumDate\": \"dd MMM y '\\u0430\\u0437'\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"GEL\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"os-ge\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_os-ru.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u04d5\\u043c\\u0431\\u0438\\u0441\\u0431\\u043e\\u043d\\u044b \\u0440\\u0430\\u0437\\u043c\\u04d5\",\n      \"\\u04d5\\u043c\\u0431\\u0438\\u0441\\u0431\\u043e\\u043d\\u044b \\u0444\\u04d5\\u0441\\u0442\\u04d5\"\n    ],\n    \"DAY\": [\n      \"\\u0445\\u0443\\u044b\\u0446\\u0430\\u0443\\u0431\\u043e\\u043d\",\n      \"\\u043a\\u044a\\u0443\\u044b\\u0440\\u0438\\u0441\\u04d5\\u0440\",\n      \"\\u0434\\u044b\\u0446\\u0446\\u04d5\\u0433\",\n      \"\\u04d5\\u0440\\u0442\\u044b\\u0446\\u0446\\u04d5\\u0433\",\n      \"\\u0446\\u044b\\u043f\\u043f\\u04d5\\u0440\\u04d5\\u043c\",\n      \"\\u043c\\u0430\\u0439\\u0440\\u04d5\\u043c\\u0431\\u043e\\u043d\",\n      \"\\u0441\\u0430\\u0431\\u0430\\u0442\"\n    ],\n    \"ERANAMES\": [\n      \"\\u043d.\\u0434.\\u0430.\",\n      \"\\u043d.\\u0434.\"\n    ],\n    \"ERAS\": [\n      \"\\u043d.\\u0434.\\u0430.\",\n      \"\\u043d.\\u0434.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u044f\\u043d\\u0432\\u0430\\u0440\\u044b\",\n      \"\\u0444\\u0435\\u0432\\u0440\\u0430\\u043b\\u044b\",\n      \"\\u043c\\u0430\\u0440\\u0442\\u044a\\u0438\\u0439\\u044b\",\n      \"\\u0430\\u043f\\u0440\\u0435\\u043b\\u044b\",\n      \"\\u043c\\u0430\\u0439\\u044b\",\n      \"\\u0438\\u044e\\u043d\\u044b\",\n      \"\\u0438\\u044e\\u043b\\u044b\",\n      \"\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\\u044b\",\n      \"\\u0441\\u0435\\u043d\\u0442\\u044f\\u0431\\u0440\\u044b\",\n      \"\\u043e\\u043a\\u0442\\u044f\\u0431\\u0440\\u044b\",\n      \"\\u043d\\u043e\\u044f\\u0431\\u0440\\u044b\",\n      \"\\u0434\\u0435\\u043a\\u0430\\u0431\\u0440\\u044b\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0445\\u0446\\u0431\",\n      \"\\u043a\\u0440\\u0441\",\n      \"\\u0434\\u0446\\u0433\",\n      \"\\u04d5\\u0440\\u0442\",\n      \"\\u0446\\u043f\\u0440\",\n      \"\\u043c\\u0440\\u0431\",\n      \"\\u0441\\u0431\\u0442\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u044f\\u043d\\u0432.\",\n      \"\\u0444\\u0435\\u0432.\",\n      \"\\u043c\\u0430\\u0440.\",\n      \"\\u0430\\u043f\\u0440.\",\n      \"\\u043c\\u0430\\u044f\",\n      \"\\u0438\\u044e\\u043d\\u044b\",\n      \"\\u0438\\u044e\\u043b\\u044b\",\n      \"\\u0430\\u0432\\u0433.\",\n      \"\\u0441\\u0435\\u043d.\",\n      \"\\u043e\\u043a\\u0442.\",\n      \"\\u043d\\u043e\\u044f.\",\n      \"\\u0434\\u0435\\u043a.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM, y '\\u0430\\u0437'\",\n    \"longDate\": \"d MMMM, y '\\u0430\\u0437'\",\n    \"medium\": \"dd MMM y '\\u0430\\u0437' HH:mm:ss\",\n    \"mediumDate\": \"dd MMM y '\\u0430\\u0437'\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u0440\\u0443\\u0431.\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"os-ru\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_os.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u04d5\\u043c\\u0431\\u0438\\u0441\\u0431\\u043e\\u043d\\u044b \\u0440\\u0430\\u0437\\u043c\\u04d5\",\n      \"\\u04d5\\u043c\\u0431\\u0438\\u0441\\u0431\\u043e\\u043d\\u044b \\u0444\\u04d5\\u0441\\u0442\\u04d5\"\n    ],\n    \"DAY\": [\n      \"\\u0445\\u0443\\u044b\\u0446\\u0430\\u0443\\u0431\\u043e\\u043d\",\n      \"\\u043a\\u044a\\u0443\\u044b\\u0440\\u0438\\u0441\\u04d5\\u0440\",\n      \"\\u0434\\u044b\\u0446\\u0446\\u04d5\\u0433\",\n      \"\\u04d5\\u0440\\u0442\\u044b\\u0446\\u0446\\u04d5\\u0433\",\n      \"\\u0446\\u044b\\u043f\\u043f\\u04d5\\u0440\\u04d5\\u043c\",\n      \"\\u043c\\u0430\\u0439\\u0440\\u04d5\\u043c\\u0431\\u043e\\u043d\",\n      \"\\u0441\\u0430\\u0431\\u0430\\u0442\"\n    ],\n    \"ERANAMES\": [\n      \"\\u043d.\\u0434.\\u0430.\",\n      \"\\u043d.\\u0434.\"\n    ],\n    \"ERAS\": [\n      \"\\u043d.\\u0434.\\u0430.\",\n      \"\\u043d.\\u0434.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u044f\\u043d\\u0432\\u0430\\u0440\\u044b\",\n      \"\\u0444\\u0435\\u0432\\u0440\\u0430\\u043b\\u044b\",\n      \"\\u043c\\u0430\\u0440\\u0442\\u044a\\u0438\\u0439\\u044b\",\n      \"\\u0430\\u043f\\u0440\\u0435\\u043b\\u044b\",\n      \"\\u043c\\u0430\\u0439\\u044b\",\n      \"\\u0438\\u044e\\u043d\\u044b\",\n      \"\\u0438\\u044e\\u043b\\u044b\",\n      \"\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\\u044b\",\n      \"\\u0441\\u0435\\u043d\\u0442\\u044f\\u0431\\u0440\\u044b\",\n      \"\\u043e\\u043a\\u0442\\u044f\\u0431\\u0440\\u044b\",\n      \"\\u043d\\u043e\\u044f\\u0431\\u0440\\u044b\",\n      \"\\u0434\\u0435\\u043a\\u0430\\u0431\\u0440\\u044b\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0445\\u0446\\u0431\",\n      \"\\u043a\\u0440\\u0441\",\n      \"\\u0434\\u0446\\u0433\",\n      \"\\u04d5\\u0440\\u0442\",\n      \"\\u0446\\u043f\\u0440\",\n      \"\\u043c\\u0440\\u0431\",\n      \"\\u0441\\u0431\\u0442\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u044f\\u043d\\u0432.\",\n      \"\\u0444\\u0435\\u0432.\",\n      \"\\u043c\\u0430\\u0440.\",\n      \"\\u0430\\u043f\\u0440.\",\n      \"\\u043c\\u0430\\u044f\",\n      \"\\u0438\\u044e\\u043d\\u044b\",\n      \"\\u0438\\u044e\\u043b\\u044b\",\n      \"\\u0430\\u0432\\u0433.\",\n      \"\\u0441\\u0435\\u043d.\",\n      \"\\u043e\\u043a\\u0442.\",\n      \"\\u043d\\u043e\\u044f.\",\n      \"\\u0434\\u0435\\u043a.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM, y '\\u0430\\u0437'\",\n    \"longDate\": \"d MMMM, y '\\u0430\\u0437'\",\n    \"medium\": \"dd MMM y '\\u0430\\u0437' HH:mm:ss\",\n    \"mediumDate\": \"dd MMM y '\\u0430\\u0437'\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"GEL\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"os\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_pa-arab-pk.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u062a\\u0648\\u0627\\u0631\",\n      \"\\u067e\\u06cc\\u0631\",\n      \"\\u0645\\u0646\\u06af\\u0644\",\n      \"\\u0628\\u064f\\u062f\\u06be\",\n      \"\\u062c\\u0645\\u0639\\u0631\\u0627\\u062a\",\n      \"\\u062c\\u0645\\u0639\\u06c1\",\n      \"\\u06c1\\u0641\\u062a\\u06c1\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0627\\u064a\\u0633\\u0627\\u067e\\u0648\\u0631\\u0648\",\n      \"\\u0633\\u06ba\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u062c\\u0646\\u0648\\u0631\\u06cc\",\n      \"\\u0641\\u0631\\u0648\\u0631\\u06cc\",\n      \"\\u0645\\u0627\\u0631\\u0686\",\n      \"\\u0627\\u067e\\u0631\\u06cc\\u0644\",\n      \"\\u0645\\u0626\",\n      \"\\u062c\\u0648\\u0646\",\n      \"\\u062c\\u0648\\u0644\\u0627\\u0626\\u06cc\",\n      \"\\u0627\\u06af\\u0633\\u062a\",\n      \"\\u0633\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0627\\u06a9\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u062a\\u0648\\u0627\\u0631\",\n      \"\\u067e\\u06cc\\u0631\",\n      \"\\u0645\\u0646\\u06af\\u0644\",\n      \"\\u0628\\u064f\\u062f\\u06be\",\n      \"\\u062c\\u0645\\u0639\\u0631\\u0627\\u062a\",\n      \"\\u062c\\u0645\\u0639\\u06c1\",\n      \"\\u06c1\\u0641\\u062a\\u06c1\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u062c\\u0646\\u0648\\u0631\\u06cc\",\n      \"\\u0641\\u0631\\u0648\\u0631\\u06cc\",\n      \"\\u0645\\u0627\\u0631\\u0686\",\n      \"\\u0627\\u067e\\u0631\\u06cc\\u0644\",\n      \"\\u0645\\u0626\",\n      \"\\u062c\\u0648\\u0646\",\n      \"\\u062c\\u0648\\u0644\\u0627\\u0626\\u06cc\",\n      \"\\u0627\\u06af\\u0633\\u062a\",\n      \"\\u0633\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0627\\u06a9\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Rs\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"pa-arab-pk\",\n  \"pluralCat\": function(n, opt_precision) {  if (n >= 0 && n <= 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_pa-arab.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u062a\\u0648\\u0627\\u0631\",\n      \"\\u067e\\u06cc\\u0631\",\n      \"\\u0645\\u0646\\u06af\\u0644\",\n      \"\\u0628\\u064f\\u062f\\u06be\",\n      \"\\u062c\\u0645\\u0639\\u0631\\u0627\\u062a\",\n      \"\\u062c\\u0645\\u0639\\u06c1\",\n      \"\\u06c1\\u0641\\u062a\\u06c1\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0627\\u064a\\u0633\\u0627\\u067e\\u0648\\u0631\\u0648\",\n      \"\\u0633\\u06ba\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u062c\\u0646\\u0648\\u0631\\u06cc\",\n      \"\\u0641\\u0631\\u0648\\u0631\\u06cc\",\n      \"\\u0645\\u0627\\u0631\\u0686\",\n      \"\\u0627\\u067e\\u0631\\u06cc\\u0644\",\n      \"\\u0645\\u0626\",\n      \"\\u062c\\u0648\\u0646\",\n      \"\\u062c\\u0648\\u0644\\u0627\\u0626\\u06cc\",\n      \"\\u0627\\u06af\\u0633\\u062a\",\n      \"\\u0633\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0627\\u06a9\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u062a\\u0648\\u0627\\u0631\",\n      \"\\u067e\\u06cc\\u0631\",\n      \"\\u0645\\u0646\\u06af\\u0644\",\n      \"\\u0628\\u064f\\u062f\\u06be\",\n      \"\\u062c\\u0645\\u0639\\u0631\\u0627\\u062a\",\n      \"\\u062c\\u0645\\u0639\\u06c1\",\n      \"\\u06c1\\u0641\\u062a\\u06c1\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u062c\\u0646\\u0648\\u0631\\u06cc\",\n      \"\\u0641\\u0631\\u0648\\u0631\\u06cc\",\n      \"\\u0645\\u0627\\u0631\\u0686\",\n      \"\\u0627\\u067e\\u0631\\u06cc\\u0644\",\n      \"\\u0645\\u0626\",\n      \"\\u062c\\u0648\\u0646\",\n      \"\\u062c\\u0648\\u0644\\u0627\\u0626\\u06cc\",\n      \"\\u0627\\u06af\\u0633\\u062a\",\n      \"\\u0633\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0627\\u06a9\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Rs\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"pa-arab\",\n  \"pluralCat\": function(n, opt_precision) {  if (n >= 0 && n <= 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_pa-guru-in.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0a2a\\u0a42.\\u0a26\\u0a41.\",\n      \"\\u0a2c\\u0a3e.\\u0a26\\u0a41.\"\n    ],\n    \"DAY\": [\n      \"\\u0a10\\u0a24\\u0a35\\u0a3e\\u0a30\",\n      \"\\u0a38\\u0a4b\\u0a2e\\u0a35\\u0a3e\\u0a30\",\n      \"\\u0a2e\\u0a70\\u0a17\\u0a32\\u0a35\\u0a3e\\u0a30\",\n      \"\\u0a2c\\u0a41\\u0a71\\u0a27\\u0a35\\u0a3e\\u0a30\",\n      \"\\u0a35\\u0a40\\u0a30\\u0a35\\u0a3e\\u0a30\",\n      \"\\u0a38\\u0a3c\\u0a41\\u0a71\\u0a15\\u0a30\\u0a35\\u0a3e\\u0a30\",\n      \"\\u0a38\\u0a3c\\u0a28\\u0a3f\\u0a71\\u0a1a\\u0a30\\u0a35\\u0a3e\\u0a30\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0a08\\u0a38\\u0a35\\u0a40 \\u0a2a\\u0a42\\u0a30\\u0a35\",\n      \"\\u0a08\\u0a38\\u0a35\\u0a40 \\u0a38\\u0a70\\u0a28\"\n    ],\n    \"ERAS\": [\n      \"\\u0a08. \\u0a2a\\u0a42.\",\n      \"\\u0a38\\u0a70\\u0a28\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u0a1c\\u0a28\\u0a35\\u0a30\\u0a40\",\n      \"\\u0a2b\\u0a3c\\u0a30\\u0a35\\u0a30\\u0a40\",\n      \"\\u0a2e\\u0a3e\\u0a30\\u0a1a\",\n      \"\\u0a05\\u0a2a\\u0a4d\\u0a30\\u0a48\\u0a32\",\n      \"\\u0a2e\\u0a08\",\n      \"\\u0a1c\\u0a42\\u0a28\",\n      \"\\u0a1c\\u0a41\\u0a32\\u0a3e\\u0a08\",\n      \"\\u0a05\\u0a17\\u0a38\\u0a24\",\n      \"\\u0a38\\u0a24\\u0a70\\u0a2c\\u0a30\",\n      \"\\u0a05\\u0a15\\u0a24\\u0a42\\u0a2c\\u0a30\",\n      \"\\u0a28\\u0a35\\u0a70\\u0a2c\\u0a30\",\n      \"\\u0a26\\u0a38\\u0a70\\u0a2c\\u0a30\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0a10\\u0a24\",\n      \"\\u0a38\\u0a4b\\u0a2e\",\n      \"\\u0a2e\\u0a70\\u0a17\\u0a32\",\n      \"\\u0a2c\\u0a41\\u0a71\\u0a27\",\n      \"\\u0a35\\u0a40\\u0a30\",\n      \"\\u0a38\\u0a3c\\u0a41\\u0a71\\u0a15\\u0a30\",\n      \"\\u0a38\\u0a3c\\u0a28\\u0a3f\\u0a71\\u0a1a\\u0a30\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0a1c\\u0a28\",\n      \"\\u0a2b\\u0a3c\\u0a30\",\n      \"\\u0a2e\\u0a3e\\u0a30\\u0a1a\",\n      \"\\u0a05\\u0a2a\\u0a4d\\u0a30\\u0a48\",\n      \"\\u0a2e\\u0a08\",\n      \"\\u0a1c\\u0a42\\u0a28\",\n      \"\\u0a1c\\u0a41\\u0a32\\u0a3e\",\n      \"\\u0a05\\u0a17\",\n      \"\\u0a38\\u0a24\\u0a70\",\n      \"\\u0a05\\u0a15\\u0a24\\u0a42\",\n      \"\\u0a28\\u0a35\\u0a70\",\n      \"\\u0a26\\u0a38\\u0a70\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"pa-guru-in\",\n  \"pluralCat\": function(n, opt_precision) {  if (n >= 0 && n <= 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_pa-guru.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0a2a\\u0a42.\\u0a26\\u0a41.\",\n      \"\\u0a2c\\u0a3e.\\u0a26\\u0a41.\"\n    ],\n    \"DAY\": [\n      \"\\u0a10\\u0a24\\u0a35\\u0a3e\\u0a30\",\n      \"\\u0a38\\u0a4b\\u0a2e\\u0a35\\u0a3e\\u0a30\",\n      \"\\u0a2e\\u0a70\\u0a17\\u0a32\\u0a35\\u0a3e\\u0a30\",\n      \"\\u0a2c\\u0a41\\u0a71\\u0a27\\u0a35\\u0a3e\\u0a30\",\n      \"\\u0a35\\u0a40\\u0a30\\u0a35\\u0a3e\\u0a30\",\n      \"\\u0a38\\u0a3c\\u0a41\\u0a71\\u0a15\\u0a30\\u0a35\\u0a3e\\u0a30\",\n      \"\\u0a38\\u0a3c\\u0a28\\u0a3f\\u0a71\\u0a1a\\u0a30\\u0a35\\u0a3e\\u0a30\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0a08\\u0a38\\u0a35\\u0a40 \\u0a2a\\u0a42\\u0a30\\u0a35\",\n      \"\\u0a08\\u0a38\\u0a35\\u0a40 \\u0a38\\u0a70\\u0a28\"\n    ],\n    \"ERAS\": [\n      \"\\u0a08. \\u0a2a\\u0a42.\",\n      \"\\u0a38\\u0a70\\u0a28\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u0a1c\\u0a28\\u0a35\\u0a30\\u0a40\",\n      \"\\u0a2b\\u0a3c\\u0a30\\u0a35\\u0a30\\u0a40\",\n      \"\\u0a2e\\u0a3e\\u0a30\\u0a1a\",\n      \"\\u0a05\\u0a2a\\u0a4d\\u0a30\\u0a48\\u0a32\",\n      \"\\u0a2e\\u0a08\",\n      \"\\u0a1c\\u0a42\\u0a28\",\n      \"\\u0a1c\\u0a41\\u0a32\\u0a3e\\u0a08\",\n      \"\\u0a05\\u0a17\\u0a38\\u0a24\",\n      \"\\u0a38\\u0a24\\u0a70\\u0a2c\\u0a30\",\n      \"\\u0a05\\u0a15\\u0a24\\u0a42\\u0a2c\\u0a30\",\n      \"\\u0a28\\u0a35\\u0a70\\u0a2c\\u0a30\",\n      \"\\u0a26\\u0a38\\u0a70\\u0a2c\\u0a30\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0a10\\u0a24\",\n      \"\\u0a38\\u0a4b\\u0a2e\",\n      \"\\u0a2e\\u0a70\\u0a17\\u0a32\",\n      \"\\u0a2c\\u0a41\\u0a71\\u0a27\",\n      \"\\u0a35\\u0a40\\u0a30\",\n      \"\\u0a38\\u0a3c\\u0a41\\u0a71\\u0a15\\u0a30\",\n      \"\\u0a38\\u0a3c\\u0a28\\u0a3f\\u0a71\\u0a1a\\u0a30\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0a1c\\u0a28\",\n      \"\\u0a2b\\u0a3c\\u0a30\",\n      \"\\u0a2e\\u0a3e\\u0a30\\u0a1a\",\n      \"\\u0a05\\u0a2a\\u0a4d\\u0a30\\u0a48\",\n      \"\\u0a2e\\u0a08\",\n      \"\\u0a1c\\u0a42\\u0a28\",\n      \"\\u0a1c\\u0a41\\u0a32\\u0a3e\",\n      \"\\u0a05\\u0a17\",\n      \"\\u0a38\\u0a24\\u0a70\",\n      \"\\u0a05\\u0a15\\u0a24\\u0a42\",\n      \"\\u0a28\\u0a35\\u0a70\",\n      \"\\u0a26\\u0a38\\u0a70\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"pa-guru\",\n  \"pluralCat\": function(n, opt_precision) {  if (n >= 0 && n <= 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_pa.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0a2a\\u0a42.\\u0a26\\u0a41.\",\n      \"\\u0a2c\\u0a3e.\\u0a26\\u0a41.\"\n    ],\n    \"DAY\": [\n      \"\\u0a10\\u0a24\\u0a35\\u0a3e\\u0a30\",\n      \"\\u0a38\\u0a4b\\u0a2e\\u0a35\\u0a3e\\u0a30\",\n      \"\\u0a2e\\u0a70\\u0a17\\u0a32\\u0a35\\u0a3e\\u0a30\",\n      \"\\u0a2c\\u0a41\\u0a71\\u0a27\\u0a35\\u0a3e\\u0a30\",\n      \"\\u0a35\\u0a40\\u0a30\\u0a35\\u0a3e\\u0a30\",\n      \"\\u0a38\\u0a3c\\u0a41\\u0a71\\u0a15\\u0a30\\u0a35\\u0a3e\\u0a30\",\n      \"\\u0a38\\u0a3c\\u0a28\\u0a3f\\u0a71\\u0a1a\\u0a30\\u0a35\\u0a3e\\u0a30\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0a08\\u0a38\\u0a35\\u0a40 \\u0a2a\\u0a42\\u0a30\\u0a35\",\n      \"\\u0a08\\u0a38\\u0a35\\u0a40 \\u0a38\\u0a70\\u0a28\"\n    ],\n    \"ERAS\": [\n      \"\\u0a08. \\u0a2a\\u0a42.\",\n      \"\\u0a38\\u0a70\\u0a28\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u0a1c\\u0a28\\u0a35\\u0a30\\u0a40\",\n      \"\\u0a2b\\u0a3c\\u0a30\\u0a35\\u0a30\\u0a40\",\n      \"\\u0a2e\\u0a3e\\u0a30\\u0a1a\",\n      \"\\u0a05\\u0a2a\\u0a4d\\u0a30\\u0a48\\u0a32\",\n      \"\\u0a2e\\u0a08\",\n      \"\\u0a1c\\u0a42\\u0a28\",\n      \"\\u0a1c\\u0a41\\u0a32\\u0a3e\\u0a08\",\n      \"\\u0a05\\u0a17\\u0a38\\u0a24\",\n      \"\\u0a38\\u0a24\\u0a70\\u0a2c\\u0a30\",\n      \"\\u0a05\\u0a15\\u0a24\\u0a42\\u0a2c\\u0a30\",\n      \"\\u0a28\\u0a35\\u0a70\\u0a2c\\u0a30\",\n      \"\\u0a26\\u0a38\\u0a70\\u0a2c\\u0a30\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0a10\\u0a24\",\n      \"\\u0a38\\u0a4b\\u0a2e\",\n      \"\\u0a2e\\u0a70\\u0a17\\u0a32\",\n      \"\\u0a2c\\u0a41\\u0a71\\u0a27\",\n      \"\\u0a35\\u0a40\\u0a30\",\n      \"\\u0a38\\u0a3c\\u0a41\\u0a71\\u0a15\\u0a30\",\n      \"\\u0a38\\u0a3c\\u0a28\\u0a3f\\u0a71\\u0a1a\\u0a30\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0a1c\\u0a28\",\n      \"\\u0a2b\\u0a3c\\u0a30\",\n      \"\\u0a2e\\u0a3e\\u0a30\\u0a1a\",\n      \"\\u0a05\\u0a2a\\u0a4d\\u0a30\\u0a48\",\n      \"\\u0a2e\\u0a08\",\n      \"\\u0a1c\\u0a42\\u0a28\",\n      \"\\u0a1c\\u0a41\\u0a32\\u0a3e\",\n      \"\\u0a05\\u0a17\",\n      \"\\u0a38\\u0a24\\u0a70\",\n      \"\\u0a05\\u0a15\\u0a24\\u0a42\",\n      \"\\u0a28\\u0a35\\u0a70\",\n      \"\\u0a26\\u0a38\\u0a70\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"pa\",\n  \"pluralCat\": function(n, opt_precision) {  if (n >= 0 && n <= 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_pl-pl.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"niedziela\",\n      \"poniedzia\\u0142ek\",\n      \"wtorek\",\n      \"\\u015broda\",\n      \"czwartek\",\n      \"pi\\u0105tek\",\n      \"sobota\"\n    ],\n    \"ERANAMES\": [\n      \"p.n.e.\",\n      \"n.e.\"\n    ],\n    \"ERAS\": [\n      \"p.n.e.\",\n      \"n.e.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"stycznia\",\n      \"lutego\",\n      \"marca\",\n      \"kwietnia\",\n      \"maja\",\n      \"czerwca\",\n      \"lipca\",\n      \"sierpnia\",\n      \"wrze\\u015bnia\",\n      \"pa\\u017adziernika\",\n      \"listopada\",\n      \"grudnia\"\n    ],\n    \"SHORTDAY\": [\n      \"niedz.\",\n      \"pon.\",\n      \"wt.\",\n      \"\\u015br.\",\n      \"czw.\",\n      \"pt.\",\n      \"sob.\"\n    ],\n    \"SHORTMONTH\": [\n      \"sty\",\n      \"lut\",\n      \"mar\",\n      \"kwi\",\n      \"maj\",\n      \"cze\",\n      \"lip\",\n      \"sie\",\n      \"wrz\",\n      \"pa\\u017a\",\n      \"lis\",\n      \"gru\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"dd.MM.y HH:mm:ss\",\n    \"mediumDate\": \"dd.MM.y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.y HH:mm\",\n    \"shortDate\": \"dd.MM.y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"z\\u0142\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"pl-pl\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  if (vf.v == 0 && i != 1 && i % 10 >= 0 && i % 10 <= 1 || vf.v == 0 && i % 10 >= 5 && i % 10 <= 9 || vf.v == 0 && i % 100 >= 12 && i % 100 <= 14) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_pl.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"niedziela\",\n      \"poniedzia\\u0142ek\",\n      \"wtorek\",\n      \"\\u015broda\",\n      \"czwartek\",\n      \"pi\\u0105tek\",\n      \"sobota\"\n    ],\n    \"ERANAMES\": [\n      \"p.n.e.\",\n      \"n.e.\"\n    ],\n    \"ERAS\": [\n      \"p.n.e.\",\n      \"n.e.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"stycznia\",\n      \"lutego\",\n      \"marca\",\n      \"kwietnia\",\n      \"maja\",\n      \"czerwca\",\n      \"lipca\",\n      \"sierpnia\",\n      \"wrze\\u015bnia\",\n      \"pa\\u017adziernika\",\n      \"listopada\",\n      \"grudnia\"\n    ],\n    \"SHORTDAY\": [\n      \"niedz.\",\n      \"pon.\",\n      \"wt.\",\n      \"\\u015br.\",\n      \"czw.\",\n      \"pt.\",\n      \"sob.\"\n    ],\n    \"SHORTMONTH\": [\n      \"sty\",\n      \"lut\",\n      \"mar\",\n      \"kwi\",\n      \"maj\",\n      \"cze\",\n      \"lip\",\n      \"sie\",\n      \"wrz\",\n      \"pa\\u017a\",\n      \"lis\",\n      \"gru\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"dd.MM.y HH:mm:ss\",\n    \"mediumDate\": \"dd.MM.y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.y HH:mm\",\n    \"shortDate\": \"dd.MM.y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"z\\u0142\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"pl\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  if (vf.v == 0 && i != 1 && i % 10 >= 0 && i % 10 <= 1 || vf.v == 0 && i % 10 >= 5 && i % 10 <= 9 || vf.v == 0 && i % 100 >= 12 && i % 100 <= 14) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ps-af.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u063a.\\u0645.\",\n      \"\\u063a.\\u0648.\"\n    ],\n    \"DAY\": [\n      \"\\u06cc\\u06a9\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u062f\\u0648\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u0633\\u0647\\u200c\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u0686\\u0647\\u0627\\u0631\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u067e\\u0646\\u062c\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u062c\\u0645\\u0639\\u0647\",\n      \"\\u0634\\u0646\\u0628\\u0647\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642.\\u0645.\",\n      \"\\u0645.\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645.\",\n      \"\\u0645.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u062c\\u0646\\u0648\\u0631\\u064a\",\n      \"\\u0641\\u0628\\u0631\\u0648\\u0631\\u064a\",\n      \"\\u0645\\u0627\\u0631\\u0686\",\n      \"\\u0627\\u067e\\u0631\\u06cc\\u0644\",\n      \"\\u0645\\u06cc\",\n      \"\\u062c\\u0648\\u0646\",\n      \"\\u062c\\u0648\\u0644\\u0627\\u06cc\",\n      \"\\u0627\\u06ab\\u0633\\u062a\",\n      \"\\u0633\\u067e\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0627\\u06a9\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u06cc\\u06a9\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u062f\\u0648\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u0633\\u0647\\u200c\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u0686\\u0647\\u0627\\u0631\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u067e\\u0646\\u062c\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u062c\\u0645\\u0639\\u0647\",\n      \"\\u0634\\u0646\\u0628\\u0647\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u062c\\u0646\\u0648\\u0631\\u064a\",\n      \"\\u0641\\u0628\\u0631\\u0648\\u0631\\u064a\",\n      \"\\u0645\\u0627\\u0631\\u0686\",\n      \"\\u0627\\u067e\\u0631\\u06cc\\u0644\",\n      \"\\u0645\\u06cc\",\n      \"\\u062c\\u0648\\u0646\",\n      \"\\u062c\\u0648\\u0644\\u0627\\u06cc\",\n      \"\\u0627\\u06ab\\u0633\\u062a\",\n      \"\\u0633\\u067e\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0627\\u06a9\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      3,\n      4\n    ],\n    \"fullDate\": \"EEEE \\u062f y \\u062f MMMM d\",\n    \"longDate\": \"\\u062f y \\u062f MMMM d\",\n    \"medium\": \"d MMM y H:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"y/M/d H:mm\",\n    \"shortDate\": \"y/M/d\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Af.\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ps-af\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ps.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u063a.\\u0645.\",\n      \"\\u063a.\\u0648.\"\n    ],\n    \"DAY\": [\n      \"\\u06cc\\u06a9\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u062f\\u0648\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u0633\\u0647\\u200c\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u0686\\u0647\\u0627\\u0631\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u067e\\u0646\\u062c\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u062c\\u0645\\u0639\\u0647\",\n      \"\\u0634\\u0646\\u0628\\u0647\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642.\\u0645.\",\n      \"\\u0645.\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645.\",\n      \"\\u0645.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u062c\\u0646\\u0648\\u0631\\u064a\",\n      \"\\u0641\\u0628\\u0631\\u0648\\u0631\\u064a\",\n      \"\\u0645\\u0627\\u0631\\u0686\",\n      \"\\u0627\\u067e\\u0631\\u06cc\\u0644\",\n      \"\\u0645\\u06cc\",\n      \"\\u062c\\u0648\\u0646\",\n      \"\\u062c\\u0648\\u0644\\u0627\\u06cc\",\n      \"\\u0627\\u06ab\\u0633\\u062a\",\n      \"\\u0633\\u067e\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0627\\u06a9\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u06cc\\u06a9\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u062f\\u0648\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u0633\\u0647\\u200c\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u0686\\u0647\\u0627\\u0631\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u067e\\u0646\\u062c\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u062c\\u0645\\u0639\\u0647\",\n      \"\\u0634\\u0646\\u0628\\u0647\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u062c\\u0646\\u0648\\u0631\\u064a\",\n      \"\\u0641\\u0628\\u0631\\u0648\\u0631\\u064a\",\n      \"\\u0645\\u0627\\u0631\\u0686\",\n      \"\\u0627\\u067e\\u0631\\u06cc\\u0644\",\n      \"\\u0645\\u06cc\",\n      \"\\u062c\\u0648\\u0646\",\n      \"\\u062c\\u0648\\u0644\\u0627\\u06cc\",\n      \"\\u0627\\u06ab\\u0633\\u062a\",\n      \"\\u0633\\u067e\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0627\\u06a9\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      3,\n      4\n    ],\n    \"fullDate\": \"EEEE \\u062f y \\u062f MMMM d\",\n    \"longDate\": \"\\u062f y \\u062f MMMM d\",\n    \"medium\": \"d MMM y H:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"y/M/d H:mm\",\n    \"shortDate\": \"y/M/d\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Af.\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ps\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_pt-ao.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"da manh\\u00e3\",\n      \"da tarde\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"segunda-feira\",\n      \"ter\\u00e7a-feira\",\n      \"quarta-feira\",\n      \"quinta-feira\",\n      \"sexta-feira\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"depois de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a.C.\",\n      \"d.C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janeiro\",\n      \"fevereiro\",\n      \"mar\\u00e7o\",\n      \"abril\",\n      \"maio\",\n      \"junho\",\n      \"julho\",\n      \"agosto\",\n      \"setembro\",\n      \"outubro\",\n      \"novembro\",\n      \"dezembro\"\n    ],\n    \"SHORTDAY\": [\n      \"dom\",\n      \"seg\",\n      \"ter\",\n      \"qua\",\n      \"qui\",\n      \"sex\",\n      \"s\\u00e1b\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"fev\",\n      \"mar\",\n      \"abr\",\n      \"mai\",\n      \"jun\",\n      \"jul\",\n      \"ago\",\n      \"set\",\n      \"out\",\n      \"nov\",\n      \"dez\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"dd/MM/y HH:mm:ss\",\n    \"mediumDate\": \"dd/MM/y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/yy HH:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Kz\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"pt-ao\",\n  \"pluralCat\": function(n, opt_precision) {  if (n >= 0 && n <= 2 && n != 2) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_pt-br.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"segunda-feira\",\n      \"ter\\u00e7a-feira\",\n      \"quarta-feira\",\n      \"quinta-feira\",\n      \"sexta-feira\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"Antes de Cristo\",\n      \"Ano do Senhor\"\n    ],\n    \"ERAS\": [\n      \"a.C.\",\n      \"d.C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"janeiro\",\n      \"fevereiro\",\n      \"mar\\u00e7o\",\n      \"abril\",\n      \"maio\",\n      \"junho\",\n      \"julho\",\n      \"agosto\",\n      \"setembro\",\n      \"outubro\",\n      \"novembro\",\n      \"dezembro\"\n    ],\n    \"SHORTDAY\": [\n      \"dom\",\n      \"seg\",\n      \"ter\",\n      \"qua\",\n      \"qui\",\n      \"sex\",\n      \"s\\u00e1b\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"fev\",\n      \"mar\",\n      \"abr\",\n      \"mai\",\n      \"jun\",\n      \"jul\",\n      \"ago\",\n      \"set\",\n      \"out\",\n      \"nov\",\n      \"dez\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"d 'de' MMM 'de' y HH:mm:ss\",\n    \"mediumDate\": \"d 'de' MMM 'de' y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/yy HH:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"R$\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"pt-br\",\n  \"pluralCat\": function(n, opt_precision) {  if (n >= 0 && n <= 2 && n != 2) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_pt-cv.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"da manh\\u00e3\",\n      \"da tarde\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"segunda-feira\",\n      \"ter\\u00e7a-feira\",\n      \"quarta-feira\",\n      \"quinta-feira\",\n      \"sexta-feira\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"depois de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a.C.\",\n      \"d.C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janeiro\",\n      \"fevereiro\",\n      \"mar\\u00e7o\",\n      \"abril\",\n      \"maio\",\n      \"junho\",\n      \"julho\",\n      \"agosto\",\n      \"setembro\",\n      \"outubro\",\n      \"novembro\",\n      \"dezembro\"\n    ],\n    \"SHORTDAY\": [\n      \"dom\",\n      \"seg\",\n      \"ter\",\n      \"qua\",\n      \"qui\",\n      \"sex\",\n      \"s\\u00e1b\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"fev\",\n      \"mar\",\n      \"abr\",\n      \"mai\",\n      \"jun\",\n      \"jul\",\n      \"ago\",\n      \"set\",\n      \"out\",\n      \"nov\",\n      \"dez\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"dd/MM/y HH:mm:ss\",\n    \"mediumDate\": \"dd/MM/y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/yy HH:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CVE\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"pt-cv\",\n  \"pluralCat\": function(n, opt_precision) {  if (n >= 0 && n <= 2 && n != 2) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_pt-gw.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"da manh\\u00e3\",\n      \"da tarde\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"segunda-feira\",\n      \"ter\\u00e7a-feira\",\n      \"quarta-feira\",\n      \"quinta-feira\",\n      \"sexta-feira\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"depois de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a.C.\",\n      \"d.C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janeiro\",\n      \"fevereiro\",\n      \"mar\\u00e7o\",\n      \"abril\",\n      \"maio\",\n      \"junho\",\n      \"julho\",\n      \"agosto\",\n      \"setembro\",\n      \"outubro\",\n      \"novembro\",\n      \"dezembro\"\n    ],\n    \"SHORTDAY\": [\n      \"dom\",\n      \"seg\",\n      \"ter\",\n      \"qua\",\n      \"qui\",\n      \"sex\",\n      \"s\\u00e1b\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"fev\",\n      \"mar\",\n      \"abr\",\n      \"mai\",\n      \"jun\",\n      \"jul\",\n      \"ago\",\n      \"set\",\n      \"out\",\n      \"nov\",\n      \"dez\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"dd/MM/y HH:mm:ss\",\n    \"mediumDate\": \"dd/MM/y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/yy HH:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"pt-gw\",\n  \"pluralCat\": function(n, opt_precision) {  if (n >= 0 && n <= 2 && n != 2) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_pt-mo.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"da manh\\u00e3\",\n      \"da tarde\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"segunda-feira\",\n      \"ter\\u00e7a-feira\",\n      \"quarta-feira\",\n      \"quinta-feira\",\n      \"sexta-feira\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"depois de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a.C.\",\n      \"d.C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"janeiro\",\n      \"fevereiro\",\n      \"mar\\u00e7o\",\n      \"abril\",\n      \"maio\",\n      \"junho\",\n      \"julho\",\n      \"agosto\",\n      \"setembro\",\n      \"outubro\",\n      \"novembro\",\n      \"dezembro\"\n    ],\n    \"SHORTDAY\": [\n      \"dom\",\n      \"seg\",\n      \"ter\",\n      \"qua\",\n      \"qui\",\n      \"sex\",\n      \"s\\u00e1b\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"fev\",\n      \"mar\",\n      \"abr\",\n      \"mai\",\n      \"jun\",\n      \"jul\",\n      \"ago\",\n      \"set\",\n      \"out\",\n      \"nov\",\n      \"dez\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"dd/MM/y HH:mm:ss\",\n    \"mediumDate\": \"dd/MM/y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/yy HH:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"MOP\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"pt-mo\",\n  \"pluralCat\": function(n, opt_precision) {  if (n >= 0 && n <= 2 && n != 2) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_pt-mz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"da manh\\u00e3\",\n      \"da tarde\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"segunda-feira\",\n      \"ter\\u00e7a-feira\",\n      \"quarta-feira\",\n      \"quinta-feira\",\n      \"sexta-feira\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"depois de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a.C.\",\n      \"d.C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"janeiro\",\n      \"fevereiro\",\n      \"mar\\u00e7o\",\n      \"abril\",\n      \"maio\",\n      \"junho\",\n      \"julho\",\n      \"agosto\",\n      \"setembro\",\n      \"outubro\",\n      \"novembro\",\n      \"dezembro\"\n    ],\n    \"SHORTDAY\": [\n      \"dom\",\n      \"seg\",\n      \"ter\",\n      \"qua\",\n      \"qui\",\n      \"sex\",\n      \"s\\u00e1b\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"fev\",\n      \"mar\",\n      \"abr\",\n      \"mai\",\n      \"jun\",\n      \"jul\",\n      \"ago\",\n      \"set\",\n      \"out\",\n      \"nov\",\n      \"dez\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"dd/MM/y HH:mm:ss\",\n    \"mediumDate\": \"dd/MM/y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/yy HH:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"MTn\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"pt-mz\",\n  \"pluralCat\": function(n, opt_precision) {  if (n >= 0 && n <= 2 && n != 2) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_pt-pt.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"da manh\\u00e3\",\n      \"da tarde\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"segunda-feira\",\n      \"ter\\u00e7a-feira\",\n      \"quarta-feira\",\n      \"quinta-feira\",\n      \"sexta-feira\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"depois de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a.C.\",\n      \"d.C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janeiro\",\n      \"fevereiro\",\n      \"mar\\u00e7o\",\n      \"abril\",\n      \"maio\",\n      \"junho\",\n      \"julho\",\n      \"agosto\",\n      \"setembro\",\n      \"outubro\",\n      \"novembro\",\n      \"dezembro\"\n    ],\n    \"SHORTDAY\": [\n      \"dom\",\n      \"seg\",\n      \"ter\",\n      \"qua\",\n      \"qui\",\n      \"sex\",\n      \"s\\u00e1b\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"fev\",\n      \"mar\",\n      \"abr\",\n      \"mai\",\n      \"jun\",\n      \"jul\",\n      \"ago\",\n      \"set\",\n      \"out\",\n      \"nov\",\n      \"dez\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"dd/MM/y HH:mm:ss\",\n    \"mediumDate\": \"dd/MM/y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/yy HH:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"pt-pt\",\n  \"pluralCat\": function(n, opt_precision) {  if (n >= 0 && n <= 2 && n != 2) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_pt-st.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"da manh\\u00e3\",\n      \"da tarde\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"segunda-feira\",\n      \"ter\\u00e7a-feira\",\n      \"quarta-feira\",\n      \"quinta-feira\",\n      \"sexta-feira\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"depois de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a.C.\",\n      \"d.C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janeiro\",\n      \"fevereiro\",\n      \"mar\\u00e7o\",\n      \"abril\",\n      \"maio\",\n      \"junho\",\n      \"julho\",\n      \"agosto\",\n      \"setembro\",\n      \"outubro\",\n      \"novembro\",\n      \"dezembro\"\n    ],\n    \"SHORTDAY\": [\n      \"dom\",\n      \"seg\",\n      \"ter\",\n      \"qua\",\n      \"qui\",\n      \"sex\",\n      \"s\\u00e1b\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"fev\",\n      \"mar\",\n      \"abr\",\n      \"mai\",\n      \"jun\",\n      \"jul\",\n      \"ago\",\n      \"set\",\n      \"out\",\n      \"nov\",\n      \"dez\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"dd/MM/y HH:mm:ss\",\n    \"mediumDate\": \"dd/MM/y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/yy HH:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Db\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"pt-st\",\n  \"pluralCat\": function(n, opt_precision) {  if (n >= 0 && n <= 2 && n != 2) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_pt-tl.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"da manh\\u00e3\",\n      \"da tarde\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"segunda-feira\",\n      \"ter\\u00e7a-feira\",\n      \"quarta-feira\",\n      \"quinta-feira\",\n      \"sexta-feira\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"antes de Cristo\",\n      \"depois de Cristo\"\n    ],\n    \"ERAS\": [\n      \"a.C.\",\n      \"d.C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janeiro\",\n      \"fevereiro\",\n      \"mar\\u00e7o\",\n      \"abril\",\n      \"maio\",\n      \"junho\",\n      \"julho\",\n      \"agosto\",\n      \"setembro\",\n      \"outubro\",\n      \"novembro\",\n      \"dezembro\"\n    ],\n    \"SHORTDAY\": [\n      \"dom\",\n      \"seg\",\n      \"ter\",\n      \"qua\",\n      \"qui\",\n      \"sex\",\n      \"s\\u00e1b\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"fev\",\n      \"mar\",\n      \"abr\",\n      \"mai\",\n      \"jun\",\n      \"jul\",\n      \"ago\",\n      \"set\",\n      \"out\",\n      \"nov\",\n      \"dez\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"dd/MM/y HH:mm:ss\",\n    \"mediumDate\": \"dd/MM/y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/yy HH:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"pt-tl\",\n  \"pluralCat\": function(n, opt_precision) {  if (n >= 0 && n <= 2 && n != 2) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_pt.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"domingo\",\n      \"segunda-feira\",\n      \"ter\\u00e7a-feira\",\n      \"quarta-feira\",\n      \"quinta-feira\",\n      \"sexta-feira\",\n      \"s\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"Antes de Cristo\",\n      \"Ano do Senhor\"\n    ],\n    \"ERAS\": [\n      \"a.C.\",\n      \"d.C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"janeiro\",\n      \"fevereiro\",\n      \"mar\\u00e7o\",\n      \"abril\",\n      \"maio\",\n      \"junho\",\n      \"julho\",\n      \"agosto\",\n      \"setembro\",\n      \"outubro\",\n      \"novembro\",\n      \"dezembro\"\n    ],\n    \"SHORTDAY\": [\n      \"dom\",\n      \"seg\",\n      \"ter\",\n      \"qua\",\n      \"qui\",\n      \"sex\",\n      \"s\\u00e1b\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"fev\",\n      \"mar\",\n      \"abr\",\n      \"mai\",\n      \"jun\",\n      \"jul\",\n      \"ago\",\n      \"set\",\n      \"out\",\n      \"nov\",\n      \"dez\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"d 'de' MMM 'de' y HH:mm:ss\",\n    \"mediumDate\": \"d 'de' MMM 'de' y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/yy HH:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"R$\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"pt\",\n  \"pluralCat\": function(n, opt_precision) {  if (n >= 0 && n <= 2 && n != 2) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_qu-bo.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"Domingo\",\n      \"Lunes\",\n      \"Martes\",\n      \"Mi\\u00e9rcoles\",\n      \"Jueves\",\n      \"Viernes\",\n      \"S\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"d.C.\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"d.C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Qulla puquy\",\n      \"Hatun puquy\",\n      \"Pauqar waray\",\n      \"Ayriwa\",\n      \"Aymuray\",\n      \"Inti raymi\",\n      \"Anta Sitwa\",\n      \"Qhapaq Sitwa\",\n      \"Uma raymi\",\n      \"Kantaray\",\n      \"Ayamarq\\u02bca\",\n      \"Kapaq Raymi\"\n    ],\n    \"SHORTDAY\": [\n      \"Dom\",\n      \"Lun\",\n      \"Mar\",\n      \"Mi\\u00e9\",\n      \"Jue\",\n      \"Vie\",\n      \"Sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Qul\",\n      \"Hat\",\n      \"Pau\",\n      \"Ayr\",\n      \"Aym\",\n      \"Int\",\n      \"Ant\",\n      \"Qha\",\n      \"Uma\",\n      \"Kan\",\n      \"Aya\",\n      \"Kap\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM, y\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d hh:mm:ss a\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"hh:mm:ss a\",\n    \"short\": \"dd/MM/y hh:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"hh:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Bs\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"qu-bo\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_qu-ec.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"Domingo\",\n      \"Lunes\",\n      \"Martes\",\n      \"Mi\\u00e9rcoles\",\n      \"Jueves\",\n      \"Viernes\",\n      \"S\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"d.C.\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"d.C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Qulla puquy\",\n      \"Hatun puquy\",\n      \"Pauqar waray\",\n      \"Ayriwa\",\n      \"Aymuray\",\n      \"Inti raymi\",\n      \"Anta Sitwa\",\n      \"Qhapaq Sitwa\",\n      \"Uma raymi\",\n      \"Kantaray\",\n      \"Ayamarq\\u02bca\",\n      \"Kapaq Raymi\"\n    ],\n    \"SHORTDAY\": [\n      \"Dom\",\n      \"Lun\",\n      \"Mar\",\n      \"Mi\\u00e9\",\n      \"Jue\",\n      \"Vie\",\n      \"Sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Qul\",\n      \"Hat\",\n      \"Pau\",\n      \"Ayr\",\n      \"Aym\",\n      \"Int\",\n      \"Ant\",\n      \"Qha\",\n      \"Uma\",\n      \"Kan\",\n      \"Aya\",\n      \"Kap\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM, y\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d hh:mm:ss a\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"hh:mm:ss a\",\n    \"short\": \"dd/MM/y hh:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"hh:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"qu-ec\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_qu-pe.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"Domingo\",\n      \"Lunes\",\n      \"Martes\",\n      \"Mi\\u00e9rcoles\",\n      \"Jueves\",\n      \"Viernes\",\n      \"S\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"d.C.\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"d.C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Qulla puquy\",\n      \"Hatun puquy\",\n      \"Pauqar waray\",\n      \"Ayriwa\",\n      \"Aymuray\",\n      \"Inti raymi\",\n      \"Anta Sitwa\",\n      \"Qhapaq Sitwa\",\n      \"Uma raymi\",\n      \"Kantaray\",\n      \"Ayamarq\\u02bca\",\n      \"Kapaq Raymi\"\n    ],\n    \"SHORTDAY\": [\n      \"Dom\",\n      \"Lun\",\n      \"Mar\",\n      \"Mi\\u00e9\",\n      \"Jue\",\n      \"Vie\",\n      \"Sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Qul\",\n      \"Hat\",\n      \"Pau\",\n      \"Ayr\",\n      \"Aym\",\n      \"Int\",\n      \"Ant\",\n      \"Qha\",\n      \"Uma\",\n      \"Kan\",\n      \"Aya\",\n      \"Kap\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM, y\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d hh:mm:ss a\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"hh:mm:ss a\",\n    \"short\": \"dd/MM/y hh:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"hh:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"S/.\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"qu-pe\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_qu.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"Domingo\",\n      \"Lunes\",\n      \"Martes\",\n      \"Mi\\u00e9rcoles\",\n      \"Jueves\",\n      \"Viernes\",\n      \"S\\u00e1bado\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"d.C.\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"d.C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Qulla puquy\",\n      \"Hatun puquy\",\n      \"Pauqar waray\",\n      \"Ayriwa\",\n      \"Aymuray\",\n      \"Inti raymi\",\n      \"Anta Sitwa\",\n      \"Qhapaq Sitwa\",\n      \"Uma raymi\",\n      \"Kantaray\",\n      \"Ayamarq\\u02bca\",\n      \"Kapaq Raymi\"\n    ],\n    \"SHORTDAY\": [\n      \"Dom\",\n      \"Lun\",\n      \"Mar\",\n      \"Mi\\u00e9\",\n      \"Jue\",\n      \"Vie\",\n      \"Sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Qul\",\n      \"Hat\",\n      \"Pau\",\n      \"Ayr\",\n      \"Aym\",\n      \"Int\",\n      \"Ant\",\n      \"Qha\",\n      \"Uma\",\n      \"Kan\",\n      \"Aya\",\n      \"Kap\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM, y\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d hh:mm:ss a\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"hh:mm:ss a\",\n    \"short\": \"dd/MM/y hh:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"hh:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"S/.\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"qu\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_rm-ch.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"am\",\n      \"sm\"\n    ],\n    \"DAY\": [\n      \"dumengia\",\n      \"glindesdi\",\n      \"mardi\",\n      \"mesemna\",\n      \"gievgia\",\n      \"venderdi\",\n      \"sonda\"\n    ],\n    \"ERANAMES\": [\n      \"avant Cristus\",\n      \"suenter Cristus\"\n    ],\n    \"ERAS\": [\n      \"av. Cr.\",\n      \"s. Cr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"schaner\",\n      \"favrer\",\n      \"mars\",\n      \"avrigl\",\n      \"matg\",\n      \"zercladur\",\n      \"fanadur\",\n      \"avust\",\n      \"settember\",\n      \"october\",\n      \"november\",\n      \"december\"\n    ],\n    \"SHORTDAY\": [\n      \"du\",\n      \"gli\",\n      \"ma\",\n      \"me\",\n      \"gie\",\n      \"ve\",\n      \"so\"\n    ],\n    \"SHORTMONTH\": [\n      \"schan.\",\n      \"favr.\",\n      \"mars\",\n      \"avr.\",\n      \"matg\",\n      \"zercl.\",\n      \"fan.\",\n      \"avust\",\n      \"sett.\",\n      \"oct.\",\n      \"nov.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, 'ils' d 'da' MMMM y\",\n    \"longDate\": \"d 'da' MMMM y\",\n    \"medium\": \"dd-MM-y HH:mm:ss\",\n    \"mediumDate\": \"dd-MM-y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd-MM-yy HH:mm\",\n    \"shortDate\": \"dd-MM-yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CHF\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \"\\u2019\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"rm-ch\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_rm.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"am\",\n      \"sm\"\n    ],\n    \"DAY\": [\n      \"dumengia\",\n      \"glindesdi\",\n      \"mardi\",\n      \"mesemna\",\n      \"gievgia\",\n      \"venderdi\",\n      \"sonda\"\n    ],\n    \"ERANAMES\": [\n      \"avant Cristus\",\n      \"suenter Cristus\"\n    ],\n    \"ERAS\": [\n      \"av. Cr.\",\n      \"s. Cr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"schaner\",\n      \"favrer\",\n      \"mars\",\n      \"avrigl\",\n      \"matg\",\n      \"zercladur\",\n      \"fanadur\",\n      \"avust\",\n      \"settember\",\n      \"october\",\n      \"november\",\n      \"december\"\n    ],\n    \"SHORTDAY\": [\n      \"du\",\n      \"gli\",\n      \"ma\",\n      \"me\",\n      \"gie\",\n      \"ve\",\n      \"so\"\n    ],\n    \"SHORTMONTH\": [\n      \"schan.\",\n      \"favr.\",\n      \"mars\",\n      \"avr.\",\n      \"matg\",\n      \"zercl.\",\n      \"fan.\",\n      \"avust\",\n      \"sett.\",\n      \"oct.\",\n      \"nov.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, 'ils' d 'da' MMMM y\",\n    \"longDate\": \"d 'da' MMMM y\",\n    \"medium\": \"dd-MM-y HH:mm:ss\",\n    \"mediumDate\": \"dd-MM-y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd-MM-yy HH:mm\",\n    \"shortDate\": \"dd-MM-yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CHF\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \"\\u2019\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"rm\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_rn-bi.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Z.MU.\",\n      \"Z.MW.\"\n    ],\n    \"DAY\": [\n      \"Ku w\\u2019indwi\",\n      \"Ku wa mbere\",\n      \"Ku wa kabiri\",\n      \"Ku wa gatatu\",\n      \"Ku wa kane\",\n      \"Ku wa gatanu\",\n      \"Ku wa gatandatu\"\n    ],\n    \"ERANAMES\": [\n      \"Mbere ya Yezu\",\n      \"Nyuma ya Yezu\"\n    ],\n    \"ERAS\": [\n      \"Mb.Y.\",\n      \"Ny.Y\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Nzero\",\n      \"Ruhuhuma\",\n      \"Ntwarante\",\n      \"Ndamukiza\",\n      \"Rusama\",\n      \"Ruheshi\",\n      \"Mukakaro\",\n      \"Nyandagaro\",\n      \"Nyakanga\",\n      \"Gitugutu\",\n      \"Munyonyo\",\n      \"Kigarama\"\n    ],\n    \"SHORTDAY\": [\n      \"cu.\",\n      \"mbe.\",\n      \"kab.\",\n      \"gtu.\",\n      \"kan.\",\n      \"gnu.\",\n      \"gnd.\"\n    ],\n    \"SHORTMONTH\": [\n      \"Mut.\",\n      \"Gas.\",\n      \"Wer.\",\n      \"Mat.\",\n      \"Gic.\",\n      \"Kam.\",\n      \"Nya.\",\n      \"Kan.\",\n      \"Nze.\",\n      \"Ukw.\",\n      \"Ugu.\",\n      \"Uku.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FBu\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"rn-bi\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_rn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Z.MU.\",\n      \"Z.MW.\"\n    ],\n    \"DAY\": [\n      \"Ku w\\u2019indwi\",\n      \"Ku wa mbere\",\n      \"Ku wa kabiri\",\n      \"Ku wa gatatu\",\n      \"Ku wa kane\",\n      \"Ku wa gatanu\",\n      \"Ku wa gatandatu\"\n    ],\n    \"ERANAMES\": [\n      \"Mbere ya Yezu\",\n      \"Nyuma ya Yezu\"\n    ],\n    \"ERAS\": [\n      \"Mb.Y.\",\n      \"Ny.Y\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Nzero\",\n      \"Ruhuhuma\",\n      \"Ntwarante\",\n      \"Ndamukiza\",\n      \"Rusama\",\n      \"Ruheshi\",\n      \"Mukakaro\",\n      \"Nyandagaro\",\n      \"Nyakanga\",\n      \"Gitugutu\",\n      \"Munyonyo\",\n      \"Kigarama\"\n    ],\n    \"SHORTDAY\": [\n      \"cu.\",\n      \"mbe.\",\n      \"kab.\",\n      \"gtu.\",\n      \"kan.\",\n      \"gnu.\",\n      \"gnd.\"\n    ],\n    \"SHORTMONTH\": [\n      \"Mut.\",\n      \"Gas.\",\n      \"Wer.\",\n      \"Mat.\",\n      \"Gic.\",\n      \"Kam.\",\n      \"Nya.\",\n      \"Kan.\",\n      \"Nze.\",\n      \"Ukw.\",\n      \"Ugu.\",\n      \"Uku.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FBu\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"rn\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ro-md.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"duminic\\u0103\",\n      \"luni\",\n      \"mar\\u021bi\",\n      \"miercuri\",\n      \"joi\",\n      \"vineri\",\n      \"s\\u00e2mb\\u0103t\\u0103\"\n    ],\n    \"ERANAMES\": [\n      \"\\u00eenainte de Hristos\",\n      \"dup\\u0103 Hristos\"\n    ],\n    \"ERAS\": [\n      \"\\u00ee.Hr.\",\n      \"d.Hr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"ianuarie\",\n      \"februarie\",\n      \"martie\",\n      \"aprilie\",\n      \"mai\",\n      \"iunie\",\n      \"iulie\",\n      \"august\",\n      \"septembrie\",\n      \"octombrie\",\n      \"noiembrie\",\n      \"decembrie\"\n    ],\n    \"SHORTDAY\": [\n      \"Dum\",\n      \"Lun\",\n      \"Mar\",\n      \"Mie\",\n      \"Joi\",\n      \"Vin\",\n      \"S\\u00e2m\"\n    ],\n    \"SHORTMONTH\": [\n      \"ian.\",\n      \"feb.\",\n      \"mar.\",\n      \"apr.\",\n      \"mai\",\n      \"iun.\",\n      \"iul.\",\n      \"aug.\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.y HH:mm\",\n    \"shortDate\": \"dd.MM.y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"MDL\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ro-md\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v != 0 || n == 0 || n != 1 && n % 100 >= 1 && n % 100 <= 19) {    return PLURAL_CATEGORY.FEW;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ro-ro.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"duminic\\u0103\",\n      \"luni\",\n      \"mar\\u021bi\",\n      \"miercuri\",\n      \"joi\",\n      \"vineri\",\n      \"s\\u00e2mb\\u0103t\\u0103\"\n    ],\n    \"ERANAMES\": [\n      \"\\u00eenainte de Hristos\",\n      \"dup\\u0103 Hristos\"\n    ],\n    \"ERAS\": [\n      \"\\u00ee.Hr.\",\n      \"d.Hr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"ianuarie\",\n      \"februarie\",\n      \"martie\",\n      \"aprilie\",\n      \"mai\",\n      \"iunie\",\n      \"iulie\",\n      \"august\",\n      \"septembrie\",\n      \"octombrie\",\n      \"noiembrie\",\n      \"decembrie\"\n    ],\n    \"SHORTDAY\": [\n      \"Dum\",\n      \"Lun\",\n      \"Mar\",\n      \"Mie\",\n      \"Joi\",\n      \"Vin\",\n      \"S\\u00e2m\"\n    ],\n    \"SHORTMONTH\": [\n      \"ian.\",\n      \"feb.\",\n      \"mar.\",\n      \"apr.\",\n      \"mai\",\n      \"iun.\",\n      \"iul.\",\n      \"aug.\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.y HH:mm\",\n    \"shortDate\": \"dd.MM.y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"RON\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ro-ro\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v != 0 || n == 0 || n != 1 && n % 100 >= 1 && n % 100 <= 19) {    return PLURAL_CATEGORY.FEW;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ro.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"a.m.\",\n      \"p.m.\"\n    ],\n    \"DAY\": [\n      \"duminic\\u0103\",\n      \"luni\",\n      \"mar\\u021bi\",\n      \"miercuri\",\n      \"joi\",\n      \"vineri\",\n      \"s\\u00e2mb\\u0103t\\u0103\"\n    ],\n    \"ERANAMES\": [\n      \"\\u00eenainte de Hristos\",\n      \"dup\\u0103 Hristos\"\n    ],\n    \"ERAS\": [\n      \"\\u00ee.Hr.\",\n      \"d.Hr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"ianuarie\",\n      \"februarie\",\n      \"martie\",\n      \"aprilie\",\n      \"mai\",\n      \"iunie\",\n      \"iulie\",\n      \"august\",\n      \"septembrie\",\n      \"octombrie\",\n      \"noiembrie\",\n      \"decembrie\"\n    ],\n    \"SHORTDAY\": [\n      \"Dum\",\n      \"Lun\",\n      \"Mar\",\n      \"Mie\",\n      \"Joi\",\n      \"Vin\",\n      \"S\\u00e2m\"\n    ],\n    \"SHORTMONTH\": [\n      \"ian.\",\n      \"feb.\",\n      \"mar.\",\n      \"apr.\",\n      \"mai\",\n      \"iun.\",\n      \"iul.\",\n      \"aug.\",\n      \"sept.\",\n      \"oct.\",\n      \"nov.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.y HH:mm\",\n    \"shortDate\": \"dd.MM.y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"RON\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ro\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v != 0 || n == 0 || n != 1 && n % 100 >= 1 && n % 100 <= 19) {    return PLURAL_CATEGORY.FEW;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_rof-tz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"kang\\u2019ama\",\n      \"kingoto\"\n    ],\n    \"DAY\": [\n      \"Ijumapili\",\n      \"Ijumatatu\",\n      \"Ijumanne\",\n      \"Ijumatano\",\n      \"Alhamisi\",\n      \"Ijumaa\",\n      \"Ijumamosi\"\n    ],\n    \"ERANAMES\": [\n      \"Kabla ya Mayesu\",\n      \"Baada ya Mayesu\"\n    ],\n    \"ERAS\": [\n      \"KM\",\n      \"BM\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Mweri wa kwanza\",\n      \"Mweri wa kaili\",\n      \"Mweri wa katatu\",\n      \"Mweri wa kaana\",\n      \"Mweri wa tanu\",\n      \"Mweri wa sita\",\n      \"Mweri wa saba\",\n      \"Mweri wa nane\",\n      \"Mweri wa tisa\",\n      \"Mweri wa ikumi\",\n      \"Mweri wa ikumi na moja\",\n      \"Mweri wa ikumi na mbili\"\n    ],\n    \"SHORTDAY\": [\n      \"Ijp\",\n      \"Ijt\",\n      \"Ijn\",\n      \"Ijtn\",\n      \"Alh\",\n      \"Iju\",\n      \"Ijm\"\n    ],\n    \"SHORTMONTH\": [\n      \"M1\",\n      \"M2\",\n      \"M3\",\n      \"M4\",\n      \"M5\",\n      \"M6\",\n      \"M7\",\n      \"M8\",\n      \"M9\",\n      \"M10\",\n      \"M11\",\n      \"M12\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"TSh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"rof-tz\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_rof.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"kang\\u2019ama\",\n      \"kingoto\"\n    ],\n    \"DAY\": [\n      \"Ijumapili\",\n      \"Ijumatatu\",\n      \"Ijumanne\",\n      \"Ijumatano\",\n      \"Alhamisi\",\n      \"Ijumaa\",\n      \"Ijumamosi\"\n    ],\n    \"ERANAMES\": [\n      \"Kabla ya Mayesu\",\n      \"Baada ya Mayesu\"\n    ],\n    \"ERAS\": [\n      \"KM\",\n      \"BM\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Mweri wa kwanza\",\n      \"Mweri wa kaili\",\n      \"Mweri wa katatu\",\n      \"Mweri wa kaana\",\n      \"Mweri wa tanu\",\n      \"Mweri wa sita\",\n      \"Mweri wa saba\",\n      \"Mweri wa nane\",\n      \"Mweri wa tisa\",\n      \"Mweri wa ikumi\",\n      \"Mweri wa ikumi na moja\",\n      \"Mweri wa ikumi na mbili\"\n    ],\n    \"SHORTDAY\": [\n      \"Ijp\",\n      \"Ijt\",\n      \"Ijn\",\n      \"Ijtn\",\n      \"Alh\",\n      \"Iju\",\n      \"Ijm\"\n    ],\n    \"SHORTMONTH\": [\n      \"M1\",\n      \"M2\",\n      \"M3\",\n      \"M4\",\n      \"M5\",\n      \"M6\",\n      \"M7\",\n      \"M8\",\n      \"M9\",\n      \"M10\",\n      \"M11\",\n      \"M12\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"TSh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"rof\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ru-by.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"\\u0432\\u043e\\u0441\\u043a\\u0440\\u0435\\u0441\\u0435\\u043d\\u044c\\u0435\",\n      \"\\u043f\\u043e\\u043d\\u0435\\u0434\\u0435\\u043b\\u044c\\u043d\\u0438\\u043a\",\n      \"\\u0432\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\n      \"\\u0441\\u0440\\u0435\\u0434\\u0430\",\n      \"\\u0447\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\n      \"\\u043f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\n      \"\\u0441\\u0443\\u0431\\u0431\\u043e\\u0442\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0434\\u043e \\u043d. \\u044d.\",\n      \"\\u043d. \\u044d.\"\n    ],\n    \"ERAS\": [\n      \"\\u0434\\u043e \\u043d. \\u044d.\",\n      \"\\u043d. \\u044d.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u044f\\u043d\\u0432\\u0430\\u0440\\u044f\",\n      \"\\u0444\\u0435\\u0432\\u0440\\u0430\\u043b\\u044f\",\n      \"\\u043c\\u0430\\u0440\\u0442\\u0430\",\n      \"\\u0430\\u043f\\u0440\\u0435\\u043b\\u044f\",\n      \"\\u043c\\u0430\\u044f\",\n      \"\\u0438\\u044e\\u043d\\u044f\",\n      \"\\u0438\\u044e\\u043b\\u044f\",\n      \"\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\\u0430\",\n      \"\\u0441\\u0435\\u043d\\u0442\\u044f\\u0431\\u0440\\u044f\",\n      \"\\u043e\\u043a\\u0442\\u044f\\u0431\\u0440\\u044f\",\n      \"\\u043d\\u043e\\u044f\\u0431\\u0440\\u044f\",\n      \"\\u0434\\u0435\\u043a\\u0430\\u0431\\u0440\\u044f\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0432\\u0441\",\n      \"\\u043f\\u043d\",\n      \"\\u0432\\u0442\",\n      \"\\u0441\\u0440\",\n      \"\\u0447\\u0442\",\n      \"\\u043f\\u0442\",\n      \"\\u0441\\u0431\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u044f\\u043d\\u0432.\",\n      \"\\u0444\\u0435\\u0432\\u0440.\",\n      \"\\u043c\\u0430\\u0440\\u0442\\u0430\",\n      \"\\u0430\\u043f\\u0440.\",\n      \"\\u043c\\u0430\\u044f\",\n      \"\\u0438\\u044e\\u043d\\u044f\",\n      \"\\u0438\\u044e\\u043b\\u044f\",\n      \"\\u0430\\u0432\\u0433.\",\n      \"\\u0441\\u0435\\u043d\\u0442.\",\n      \"\\u043e\\u043a\\u0442.\",\n      \"\\u043d\\u043e\\u044f\\u0431.\",\n      \"\\u0434\\u0435\\u043a.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y '\\u0433'.\",\n    \"longDate\": \"d MMMM y '\\u0433'.\",\n    \"medium\": \"d MMM y '\\u0433'. H:mm:ss\",\n    \"mediumDate\": \"d MMM y '\\u0433'.\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"dd.MM.yy H:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"BYR\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ru-by\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  if (vf.v == 0 && i % 10 == 0 || vf.v == 0 && i % 10 >= 5 && i % 10 <= 9 || vf.v == 0 && i % 100 >= 11 && i % 100 <= 14) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ru-kg.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"\\u0432\\u043e\\u0441\\u043a\\u0440\\u0435\\u0441\\u0435\\u043d\\u044c\\u0435\",\n      \"\\u043f\\u043e\\u043d\\u0435\\u0434\\u0435\\u043b\\u044c\\u043d\\u0438\\u043a\",\n      \"\\u0432\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\n      \"\\u0441\\u0440\\u0435\\u0434\\u0430\",\n      \"\\u0447\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\n      \"\\u043f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\n      \"\\u0441\\u0443\\u0431\\u0431\\u043e\\u0442\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0434\\u043e \\u043d. \\u044d.\",\n      \"\\u043d. \\u044d.\"\n    ],\n    \"ERAS\": [\n      \"\\u0434\\u043e \\u043d. \\u044d.\",\n      \"\\u043d. \\u044d.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u044f\\u043d\\u0432\\u0430\\u0440\\u044f\",\n      \"\\u0444\\u0435\\u0432\\u0440\\u0430\\u043b\\u044f\",\n      \"\\u043c\\u0430\\u0440\\u0442\\u0430\",\n      \"\\u0430\\u043f\\u0440\\u0435\\u043b\\u044f\",\n      \"\\u043c\\u0430\\u044f\",\n      \"\\u0438\\u044e\\u043d\\u044f\",\n      \"\\u0438\\u044e\\u043b\\u044f\",\n      \"\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\\u0430\",\n      \"\\u0441\\u0435\\u043d\\u0442\\u044f\\u0431\\u0440\\u044f\",\n      \"\\u043e\\u043a\\u0442\\u044f\\u0431\\u0440\\u044f\",\n      \"\\u043d\\u043e\\u044f\\u0431\\u0440\\u044f\",\n      \"\\u0434\\u0435\\u043a\\u0430\\u0431\\u0440\\u044f\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0432\\u0441\",\n      \"\\u043f\\u043d\",\n      \"\\u0432\\u0442\",\n      \"\\u0441\\u0440\",\n      \"\\u0447\\u0442\",\n      \"\\u043f\\u0442\",\n      \"\\u0441\\u0431\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u044f\\u043d\\u0432.\",\n      \"\\u0444\\u0435\\u0432\\u0440.\",\n      \"\\u043c\\u0430\\u0440\\u0442\\u0430\",\n      \"\\u0430\\u043f\\u0440.\",\n      \"\\u043c\\u0430\\u044f\",\n      \"\\u0438\\u044e\\u043d\\u044f\",\n      \"\\u0438\\u044e\\u043b\\u044f\",\n      \"\\u0430\\u0432\\u0433.\",\n      \"\\u0441\\u0435\\u043d\\u0442.\",\n      \"\\u043e\\u043a\\u0442.\",\n      \"\\u043d\\u043e\\u044f\\u0431.\",\n      \"\\u0434\\u0435\\u043a.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y '\\u0433'.\",\n    \"longDate\": \"d MMMM y '\\u0433'.\",\n    \"medium\": \"d MMM y '\\u0433'. H:mm:ss\",\n    \"mediumDate\": \"d MMM y '\\u0433'.\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"dd.MM.yy H:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"KGS\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ru-kg\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  if (vf.v == 0 && i % 10 == 0 || vf.v == 0 && i % 10 >= 5 && i % 10 <= 9 || vf.v == 0 && i % 100 >= 11 && i % 100 <= 14) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ru-kz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"\\u0432\\u043e\\u0441\\u043a\\u0440\\u0435\\u0441\\u0435\\u043d\\u044c\\u0435\",\n      \"\\u043f\\u043e\\u043d\\u0435\\u0434\\u0435\\u043b\\u044c\\u043d\\u0438\\u043a\",\n      \"\\u0432\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\n      \"\\u0441\\u0440\\u0435\\u0434\\u0430\",\n      \"\\u0447\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\n      \"\\u043f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\n      \"\\u0441\\u0443\\u0431\\u0431\\u043e\\u0442\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0434\\u043e \\u043d. \\u044d.\",\n      \"\\u043d. \\u044d.\"\n    ],\n    \"ERAS\": [\n      \"\\u0434\\u043e \\u043d. \\u044d.\",\n      \"\\u043d. \\u044d.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u044f\\u043d\\u0432\\u0430\\u0440\\u044f\",\n      \"\\u0444\\u0435\\u0432\\u0440\\u0430\\u043b\\u044f\",\n      \"\\u043c\\u0430\\u0440\\u0442\\u0430\",\n      \"\\u0430\\u043f\\u0440\\u0435\\u043b\\u044f\",\n      \"\\u043c\\u0430\\u044f\",\n      \"\\u0438\\u044e\\u043d\\u044f\",\n      \"\\u0438\\u044e\\u043b\\u044f\",\n      \"\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\\u0430\",\n      \"\\u0441\\u0435\\u043d\\u0442\\u044f\\u0431\\u0440\\u044f\",\n      \"\\u043e\\u043a\\u0442\\u044f\\u0431\\u0440\\u044f\",\n      \"\\u043d\\u043e\\u044f\\u0431\\u0440\\u044f\",\n      \"\\u0434\\u0435\\u043a\\u0430\\u0431\\u0440\\u044f\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0432\\u0441\",\n      \"\\u043f\\u043d\",\n      \"\\u0432\\u0442\",\n      \"\\u0441\\u0440\",\n      \"\\u0447\\u0442\",\n      \"\\u043f\\u0442\",\n      \"\\u0441\\u0431\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u044f\\u043d\\u0432.\",\n      \"\\u0444\\u0435\\u0432\\u0440.\",\n      \"\\u043c\\u0430\\u0440\\u0442\\u0430\",\n      \"\\u0430\\u043f\\u0440.\",\n      \"\\u043c\\u0430\\u044f\",\n      \"\\u0438\\u044e\\u043d\\u044f\",\n      \"\\u0438\\u044e\\u043b\\u044f\",\n      \"\\u0430\\u0432\\u0433.\",\n      \"\\u0441\\u0435\\u043d\\u0442.\",\n      \"\\u043e\\u043a\\u0442.\",\n      \"\\u043d\\u043e\\u044f\\u0431.\",\n      \"\\u0434\\u0435\\u043a.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y '\\u0433'.\",\n    \"longDate\": \"d MMMM y '\\u0433'.\",\n    \"medium\": \"d MMM y '\\u0433'. H:mm:ss\",\n    \"mediumDate\": \"d MMM y '\\u0433'.\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"dd.MM.yy H:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b8\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ru-kz\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  if (vf.v == 0 && i % 10 == 0 || vf.v == 0 && i % 10 >= 5 && i % 10 <= 9 || vf.v == 0 && i % 100 >= 11 && i % 100 <= 14) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ru-md.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"\\u0432\\u043e\\u0441\\u043a\\u0440\\u0435\\u0441\\u0435\\u043d\\u044c\\u0435\",\n      \"\\u043f\\u043e\\u043d\\u0435\\u0434\\u0435\\u043b\\u044c\\u043d\\u0438\\u043a\",\n      \"\\u0432\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\n      \"\\u0441\\u0440\\u0435\\u0434\\u0430\",\n      \"\\u0447\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\n      \"\\u043f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\n      \"\\u0441\\u0443\\u0431\\u0431\\u043e\\u0442\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0434\\u043e \\u043d. \\u044d.\",\n      \"\\u043d. \\u044d.\"\n    ],\n    \"ERAS\": [\n      \"\\u0434\\u043e \\u043d. \\u044d.\",\n      \"\\u043d. \\u044d.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u044f\\u043d\\u0432\\u0430\\u0440\\u044f\",\n      \"\\u0444\\u0435\\u0432\\u0440\\u0430\\u043b\\u044f\",\n      \"\\u043c\\u0430\\u0440\\u0442\\u0430\",\n      \"\\u0430\\u043f\\u0440\\u0435\\u043b\\u044f\",\n      \"\\u043c\\u0430\\u044f\",\n      \"\\u0438\\u044e\\u043d\\u044f\",\n      \"\\u0438\\u044e\\u043b\\u044f\",\n      \"\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\\u0430\",\n      \"\\u0441\\u0435\\u043d\\u0442\\u044f\\u0431\\u0440\\u044f\",\n      \"\\u043e\\u043a\\u0442\\u044f\\u0431\\u0440\\u044f\",\n      \"\\u043d\\u043e\\u044f\\u0431\\u0440\\u044f\",\n      \"\\u0434\\u0435\\u043a\\u0430\\u0431\\u0440\\u044f\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0432\\u0441\",\n      \"\\u043f\\u043d\",\n      \"\\u0432\\u0442\",\n      \"\\u0441\\u0440\",\n      \"\\u0447\\u0442\",\n      \"\\u043f\\u0442\",\n      \"\\u0441\\u0431\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u044f\\u043d\\u0432.\",\n      \"\\u0444\\u0435\\u0432\\u0440.\",\n      \"\\u043c\\u0430\\u0440\\u0442\\u0430\",\n      \"\\u0430\\u043f\\u0440.\",\n      \"\\u043c\\u0430\\u044f\",\n      \"\\u0438\\u044e\\u043d\\u044f\",\n      \"\\u0438\\u044e\\u043b\\u044f\",\n      \"\\u0430\\u0432\\u0433.\",\n      \"\\u0441\\u0435\\u043d\\u0442.\",\n      \"\\u043e\\u043a\\u0442.\",\n      \"\\u043d\\u043e\\u044f\\u0431.\",\n      \"\\u0434\\u0435\\u043a.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y '\\u0433'.\",\n    \"longDate\": \"d MMMM y '\\u0433'.\",\n    \"medium\": \"d MMM y '\\u0433'. H:mm:ss\",\n    \"mediumDate\": \"d MMM y '\\u0433'.\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"dd.MM.yy H:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"MDL\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ru-md\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  if (vf.v == 0 && i % 10 == 0 || vf.v == 0 && i % 10 >= 5 && i % 10 <= 9 || vf.v == 0 && i % 100 >= 11 && i % 100 <= 14) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ru-ru.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"\\u0432\\u043e\\u0441\\u043a\\u0440\\u0435\\u0441\\u0435\\u043d\\u044c\\u0435\",\n      \"\\u043f\\u043e\\u043d\\u0435\\u0434\\u0435\\u043b\\u044c\\u043d\\u0438\\u043a\",\n      \"\\u0432\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\n      \"\\u0441\\u0440\\u0435\\u0434\\u0430\",\n      \"\\u0447\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\n      \"\\u043f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\n      \"\\u0441\\u0443\\u0431\\u0431\\u043e\\u0442\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0434\\u043e \\u043d. \\u044d.\",\n      \"\\u043d. \\u044d.\"\n    ],\n    \"ERAS\": [\n      \"\\u0434\\u043e \\u043d. \\u044d.\",\n      \"\\u043d. \\u044d.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u044f\\u043d\\u0432\\u0430\\u0440\\u044f\",\n      \"\\u0444\\u0435\\u0432\\u0440\\u0430\\u043b\\u044f\",\n      \"\\u043c\\u0430\\u0440\\u0442\\u0430\",\n      \"\\u0430\\u043f\\u0440\\u0435\\u043b\\u044f\",\n      \"\\u043c\\u0430\\u044f\",\n      \"\\u0438\\u044e\\u043d\\u044f\",\n      \"\\u0438\\u044e\\u043b\\u044f\",\n      \"\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\\u0430\",\n      \"\\u0441\\u0435\\u043d\\u0442\\u044f\\u0431\\u0440\\u044f\",\n      \"\\u043e\\u043a\\u0442\\u044f\\u0431\\u0440\\u044f\",\n      \"\\u043d\\u043e\\u044f\\u0431\\u0440\\u044f\",\n      \"\\u0434\\u0435\\u043a\\u0430\\u0431\\u0440\\u044f\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0432\\u0441\",\n      \"\\u043f\\u043d\",\n      \"\\u0432\\u0442\",\n      \"\\u0441\\u0440\",\n      \"\\u0447\\u0442\",\n      \"\\u043f\\u0442\",\n      \"\\u0441\\u0431\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u044f\\u043d\\u0432.\",\n      \"\\u0444\\u0435\\u0432\\u0440.\",\n      \"\\u043c\\u0430\\u0440\\u0442\\u0430\",\n      \"\\u0430\\u043f\\u0440.\",\n      \"\\u043c\\u0430\\u044f\",\n      \"\\u0438\\u044e\\u043d\\u044f\",\n      \"\\u0438\\u044e\\u043b\\u044f\",\n      \"\\u0430\\u0432\\u0433.\",\n      \"\\u0441\\u0435\\u043d\\u0442.\",\n      \"\\u043e\\u043a\\u0442.\",\n      \"\\u043d\\u043e\\u044f\\u0431.\",\n      \"\\u0434\\u0435\\u043a.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y '\\u0433'.\",\n    \"longDate\": \"d MMMM y '\\u0433'.\",\n    \"medium\": \"d MMM y '\\u0433'. H:mm:ss\",\n    \"mediumDate\": \"d MMM y '\\u0433'.\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"dd.MM.yy H:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u0440\\u0443\\u0431.\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ru-ru\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  if (vf.v == 0 && i % 10 == 0 || vf.v == 0 && i % 10 >= 5 && i % 10 <= 9 || vf.v == 0 && i % 100 >= 11 && i % 100 <= 14) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ru-ua.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"\\u0432\\u043e\\u0441\\u043a\\u0440\\u0435\\u0441\\u0435\\u043d\\u044c\\u0435\",\n      \"\\u043f\\u043e\\u043d\\u0435\\u0434\\u0435\\u043b\\u044c\\u043d\\u0438\\u043a\",\n      \"\\u0432\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\n      \"\\u0441\\u0440\\u0435\\u0434\\u0430\",\n      \"\\u0447\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\n      \"\\u043f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\n      \"\\u0441\\u0443\\u0431\\u0431\\u043e\\u0442\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0434\\u043e \\u043d. \\u044d.\",\n      \"\\u043d. \\u044d.\"\n    ],\n    \"ERAS\": [\n      \"\\u0434\\u043e \\u043d. \\u044d.\",\n      \"\\u043d. \\u044d.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u044f\\u043d\\u0432\\u0430\\u0440\\u044f\",\n      \"\\u0444\\u0435\\u0432\\u0440\\u0430\\u043b\\u044f\",\n      \"\\u043c\\u0430\\u0440\\u0442\\u0430\",\n      \"\\u0430\\u043f\\u0440\\u0435\\u043b\\u044f\",\n      \"\\u043c\\u0430\\u044f\",\n      \"\\u0438\\u044e\\u043d\\u044f\",\n      \"\\u0438\\u044e\\u043b\\u044f\",\n      \"\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\\u0430\",\n      \"\\u0441\\u0435\\u043d\\u0442\\u044f\\u0431\\u0440\\u044f\",\n      \"\\u043e\\u043a\\u0442\\u044f\\u0431\\u0440\\u044f\",\n      \"\\u043d\\u043e\\u044f\\u0431\\u0440\\u044f\",\n      \"\\u0434\\u0435\\u043a\\u0430\\u0431\\u0440\\u044f\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0432\\u0441\",\n      \"\\u043f\\u043d\",\n      \"\\u0432\\u0442\",\n      \"\\u0441\\u0440\",\n      \"\\u0447\\u0442\",\n      \"\\u043f\\u0442\",\n      \"\\u0441\\u0431\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u044f\\u043d\\u0432.\",\n      \"\\u0444\\u0435\\u0432\\u0440.\",\n      \"\\u043c\\u0430\\u0440\\u0442\\u0430\",\n      \"\\u0430\\u043f\\u0440.\",\n      \"\\u043c\\u0430\\u044f\",\n      \"\\u0438\\u044e\\u043d\\u044f\",\n      \"\\u0438\\u044e\\u043b\\u044f\",\n      \"\\u0430\\u0432\\u0433.\",\n      \"\\u0441\\u0435\\u043d\\u0442.\",\n      \"\\u043e\\u043a\\u0442.\",\n      \"\\u043d\\u043e\\u044f\\u0431.\",\n      \"\\u0434\\u0435\\u043a.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y '\\u0433'.\",\n    \"longDate\": \"d MMMM y '\\u0433'.\",\n    \"medium\": \"d MMM y '\\u0433'. HH:mm:ss\",\n    \"mediumDate\": \"d MMM y '\\u0433'.\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b4\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ru-ua\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  if (vf.v == 0 && i % 10 == 0 || vf.v == 0 && i % 10 >= 5 && i % 10 <= 9 || vf.v == 0 && i % 100 >= 11 && i % 100 <= 14) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ru.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"\\u0432\\u043e\\u0441\\u043a\\u0440\\u0435\\u0441\\u0435\\u043d\\u044c\\u0435\",\n      \"\\u043f\\u043e\\u043d\\u0435\\u0434\\u0435\\u043b\\u044c\\u043d\\u0438\\u043a\",\n      \"\\u0432\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\n      \"\\u0441\\u0440\\u0435\\u0434\\u0430\",\n      \"\\u0447\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\n      \"\\u043f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\n      \"\\u0441\\u0443\\u0431\\u0431\\u043e\\u0442\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0434\\u043e \\u043d. \\u044d.\",\n      \"\\u043d. \\u044d.\"\n    ],\n    \"ERAS\": [\n      \"\\u0434\\u043e \\u043d. \\u044d.\",\n      \"\\u043d. \\u044d.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u044f\\u043d\\u0432\\u0430\\u0440\\u044f\",\n      \"\\u0444\\u0435\\u0432\\u0440\\u0430\\u043b\\u044f\",\n      \"\\u043c\\u0430\\u0440\\u0442\\u0430\",\n      \"\\u0430\\u043f\\u0440\\u0435\\u043b\\u044f\",\n      \"\\u043c\\u0430\\u044f\",\n      \"\\u0438\\u044e\\u043d\\u044f\",\n      \"\\u0438\\u044e\\u043b\\u044f\",\n      \"\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\\u0430\",\n      \"\\u0441\\u0435\\u043d\\u0442\\u044f\\u0431\\u0440\\u044f\",\n      \"\\u043e\\u043a\\u0442\\u044f\\u0431\\u0440\\u044f\",\n      \"\\u043d\\u043e\\u044f\\u0431\\u0440\\u044f\",\n      \"\\u0434\\u0435\\u043a\\u0430\\u0431\\u0440\\u044f\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0432\\u0441\",\n      \"\\u043f\\u043d\",\n      \"\\u0432\\u0442\",\n      \"\\u0441\\u0440\",\n      \"\\u0447\\u0442\",\n      \"\\u043f\\u0442\",\n      \"\\u0441\\u0431\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u044f\\u043d\\u0432.\",\n      \"\\u0444\\u0435\\u0432\\u0440.\",\n      \"\\u043c\\u0430\\u0440\\u0442\\u0430\",\n      \"\\u0430\\u043f\\u0440.\",\n      \"\\u043c\\u0430\\u044f\",\n      \"\\u0438\\u044e\\u043d\\u044f\",\n      \"\\u0438\\u044e\\u043b\\u044f\",\n      \"\\u0430\\u0432\\u0433.\",\n      \"\\u0441\\u0435\\u043d\\u0442.\",\n      \"\\u043e\\u043a\\u0442.\",\n      \"\\u043d\\u043e\\u044f\\u0431.\",\n      \"\\u0434\\u0435\\u043a.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y '\\u0433'.\",\n    \"longDate\": \"d MMMM y '\\u0433'.\",\n    \"medium\": \"d MMM y '\\u0433'. H:mm:ss\",\n    \"mediumDate\": \"d MMM y '\\u0433'.\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"dd.MM.yy H:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u0440\\u0443\\u0431.\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ru\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  if (vf.v == 0 && i % 10 == 0 || vf.v == 0 && i % 10 >= 5 && i % 10 <= 9 || vf.v == 0 && i % 100 >= 11 && i % 100 <= 14) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_rw-rw.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Ku cyumweru\",\n      \"Kuwa mbere\",\n      \"Kuwa kabiri\",\n      \"Kuwa gatatu\",\n      \"Kuwa kane\",\n      \"Kuwa gatanu\",\n      \"Kuwa gatandatu\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Mutarama\",\n      \"Gashyantare\",\n      \"Werurwe\",\n      \"Mata\",\n      \"Gicuransi\",\n      \"Kamena\",\n      \"Nyakanga\",\n      \"Kanama\",\n      \"Nzeli\",\n      \"Ukwakira\",\n      \"Ugushyingo\",\n      \"Ukuboza\"\n    ],\n    \"SHORTDAY\": [\n      \"cyu.\",\n      \"mbe.\",\n      \"kab.\",\n      \"gtu.\",\n      \"kan.\",\n      \"gnu.\",\n      \"gnd.\"\n    ],\n    \"SHORTMONTH\": [\n      \"mut.\",\n      \"gas.\",\n      \"wer.\",\n      \"mat.\",\n      \"gic.\",\n      \"kam.\",\n      \"nya.\",\n      \"kan.\",\n      \"nze.\",\n      \"ukw.\",\n      \"ugu.\",\n      \"uku.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, y MMMM dd\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"yy/MM/dd HH:mm\",\n    \"shortDate\": \"yy/MM/dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"RF\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"rw-rw\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_rw.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Ku cyumweru\",\n      \"Kuwa mbere\",\n      \"Kuwa kabiri\",\n      \"Kuwa gatatu\",\n      \"Kuwa kane\",\n      \"Kuwa gatanu\",\n      \"Kuwa gatandatu\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Mutarama\",\n      \"Gashyantare\",\n      \"Werurwe\",\n      \"Mata\",\n      \"Gicuransi\",\n      \"Kamena\",\n      \"Nyakanga\",\n      \"Kanama\",\n      \"Nzeli\",\n      \"Ukwakira\",\n      \"Ugushyingo\",\n      \"Ukuboza\"\n    ],\n    \"SHORTDAY\": [\n      \"cyu.\",\n      \"mbe.\",\n      \"kab.\",\n      \"gtu.\",\n      \"kan.\",\n      \"gnu.\",\n      \"gnd.\"\n    ],\n    \"SHORTMONTH\": [\n      \"mut.\",\n      \"gas.\",\n      \"wer.\",\n      \"mat.\",\n      \"gic.\",\n      \"kam.\",\n      \"nya.\",\n      \"kan.\",\n      \"nze.\",\n      \"ukw.\",\n      \"ugu.\",\n      \"uku.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, y MMMM dd\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"yy/MM/dd HH:mm\",\n    \"shortDate\": \"yy/MM/dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"RF\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"rw\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_rwk-tz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"utuko\",\n      \"kyiukonyi\"\n    ],\n    \"DAY\": [\n      \"Jumapilyi\",\n      \"Jumatatuu\",\n      \"Jumanne\",\n      \"Jumatanu\",\n      \"Alhamisi\",\n      \"Ijumaa\",\n      \"Jumamosi\"\n    ],\n    \"ERANAMES\": [\n      \"Kabla ya Kristu\",\n      \"Baada ya Kristu\"\n    ],\n    \"ERAS\": [\n      \"KK\",\n      \"BK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januari\",\n      \"Februari\",\n      \"Machi\",\n      \"Aprilyi\",\n      \"Mei\",\n      \"Junyi\",\n      \"Julyai\",\n      \"Agusti\",\n      \"Septemba\",\n      \"Oktoba\",\n      \"Novemba\",\n      \"Desemba\"\n    ],\n    \"SHORTDAY\": [\n      \"Jpi\",\n      \"Jtt\",\n      \"Jnn\",\n      \"Jtn\",\n      \"Alh\",\n      \"Iju\",\n      \"Jmo\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mac\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Ago\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"TSh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"rwk-tz\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_rwk.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"utuko\",\n      \"kyiukonyi\"\n    ],\n    \"DAY\": [\n      \"Jumapilyi\",\n      \"Jumatatuu\",\n      \"Jumanne\",\n      \"Jumatanu\",\n      \"Alhamisi\",\n      \"Ijumaa\",\n      \"Jumamosi\"\n    ],\n    \"ERANAMES\": [\n      \"Kabla ya Kristu\",\n      \"Baada ya Kristu\"\n    ],\n    \"ERAS\": [\n      \"KK\",\n      \"BK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januari\",\n      \"Februari\",\n      \"Machi\",\n      \"Aprilyi\",\n      \"Mei\",\n      \"Junyi\",\n      \"Julyai\",\n      \"Agusti\",\n      \"Septemba\",\n      \"Oktoba\",\n      \"Novemba\",\n      \"Desemba\"\n    ],\n    \"SHORTDAY\": [\n      \"Jpi\",\n      \"Jtt\",\n      \"Jnn\",\n      \"Jtn\",\n      \"Alh\",\n      \"Iju\",\n      \"Jmo\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mac\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Ago\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"TSh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"rwk\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sah-ru.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u042d\\u0418\",\n      \"\\u042d\\u041a\"\n    ],\n    \"DAY\": [\n      \"\\u0411\\u0430\\u0441\\u043a\\u044b\\u04bb\\u044b\\u0430\\u043d\\u043d\\u044c\\u0430\",\n      \"\\u0411\\u044d\\u043d\\u0438\\u0434\\u0438\\u044d\\u043b\\u0438\\u043d\\u043d\\u044c\\u0438\\u043a\",\n      \"\\u041e\\u043f\\u0442\\u0443\\u043e\\u0440\\u0443\\u043d\\u043d\\u044c\\u0443\\u043a\",\n      \"\\u0421\\u044d\\u0440\\u044d\\u0434\\u044d\",\n      \"\\u0427\\u044d\\u043f\\u043f\\u0438\\u044d\\u0440\",\n      \"\\u0411\\u044d\\u044d\\u0442\\u0438\\u04a5\\u0441\\u044d\",\n      \"\\u0421\\u0443\\u0431\\u0443\\u043e\\u0442\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0431. \\u044d. \\u0438.\",\n      \"\\u0431. \\u044d\"\n    ],\n    \"ERAS\": [\n      \"\\u0431. \\u044d. \\u0438.\",\n      \"\\u0431. \\u044d\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u0422\\u043e\\u0445\\u0441\\u0443\\u043d\\u043d\\u044c\\u0443\",\n      \"\\u041e\\u043b\\u0443\\u043d\\u043d\\u044c\\u0443\",\n      \"\\u041a\\u0443\\u043b\\u0443\\u043d \\u0442\\u0443\\u0442\\u0430\\u0440\",\n      \"\\u041c\\u0443\\u0443\\u0441 \\u0443\\u0441\\u0442\\u0430\\u0440\",\n      \"\\u042b\\u0430\\u043c \\u044b\\u0439\\u044b\\u043d\",\n      \"\\u0411\\u044d\\u0441 \\u044b\\u0439\\u044b\\u043d\",\n      \"\\u041e\\u0442 \\u044b\\u0439\\u044b\\u043d\",\n      \"\\u0410\\u0442\\u044b\\u0440\\u0434\\u044c\\u044b\\u0445 \\u044b\\u0439\\u044b\\u043d\",\n      \"\\u0411\\u0430\\u043b\\u0430\\u0495\\u0430\\u043d \\u044b\\u0439\\u044b\\u043d\",\n      \"\\u0410\\u043b\\u0442\\u044b\\u043d\\u043d\\u044c\\u044b\",\n      \"\\u0421\\u044d\\u0442\\u0438\\u043d\\u043d\\u044c\\u0438\",\n      \"\\u0410\\u0445\\u0441\\u044b\\u043d\\u043d\\u044c\\u044b\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0411\\u0441\",\n      \"\\u0411\\u043d\",\n      \"\\u041e\\u043f\",\n      \"\\u0421\\u044d\",\n      \"\\u0427\\u043f\",\n      \"\\u0411\\u044d\",\n      \"\\u0421\\u0431\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0422\\u043e\\u0445\\u0441\",\n      \"\\u041e\\u043b\\u0443\\u043d\",\n      \"\\u041a\\u043b\\u043d_\\u0442\\u0442\\u0440\",\n      \"\\u041c\\u0443\\u0441_\\u0443\\u0441\\u0442\",\n      \"\\u042b\\u0430\\u043c_\\u0439\\u043d\",\n      \"\\u0411\\u044d\\u0441_\\u0439\\u043d\",\n      \"\\u041e\\u0442_\\u0439\\u043d\",\n      \"\\u0410\\u0442\\u0440\\u0434\\u044c_\\u0439\\u043d\",\n      \"\\u0411\\u043b\\u0495\\u043d_\\u0439\\u043d\",\n      \"\\u0410\\u043b\\u0442\",\n      \"\\u0421\\u044d\\u0442\",\n      \"\\u0410\\u0445\\u0441\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y '\\u0441\\u044b\\u043b' MMMM d '\\u043a\\u04af\\u043d\\u044d', EEEE\",\n    \"longDate\": \"y, MMMM d\",\n    \"medium\": \"y, MMM d HH:mm:ss\",\n    \"mediumDate\": \"y, MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"yy/M/d HH:mm\",\n    \"shortDate\": \"yy/M/d\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u0440\\u0443\\u0431.\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"sah-ru\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sah.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u042d\\u0418\",\n      \"\\u042d\\u041a\"\n    ],\n    \"DAY\": [\n      \"\\u0411\\u0430\\u0441\\u043a\\u044b\\u04bb\\u044b\\u0430\\u043d\\u043d\\u044c\\u0430\",\n      \"\\u0411\\u044d\\u043d\\u0438\\u0434\\u0438\\u044d\\u043b\\u0438\\u043d\\u043d\\u044c\\u0438\\u043a\",\n      \"\\u041e\\u043f\\u0442\\u0443\\u043e\\u0440\\u0443\\u043d\\u043d\\u044c\\u0443\\u043a\",\n      \"\\u0421\\u044d\\u0440\\u044d\\u0434\\u044d\",\n      \"\\u0427\\u044d\\u043f\\u043f\\u0438\\u044d\\u0440\",\n      \"\\u0411\\u044d\\u044d\\u0442\\u0438\\u04a5\\u0441\\u044d\",\n      \"\\u0421\\u0443\\u0431\\u0443\\u043e\\u0442\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0431. \\u044d. \\u0438.\",\n      \"\\u0431. \\u044d\"\n    ],\n    \"ERAS\": [\n      \"\\u0431. \\u044d. \\u0438.\",\n      \"\\u0431. \\u044d\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u0422\\u043e\\u0445\\u0441\\u0443\\u043d\\u043d\\u044c\\u0443\",\n      \"\\u041e\\u043b\\u0443\\u043d\\u043d\\u044c\\u0443\",\n      \"\\u041a\\u0443\\u043b\\u0443\\u043d \\u0442\\u0443\\u0442\\u0430\\u0440\",\n      \"\\u041c\\u0443\\u0443\\u0441 \\u0443\\u0441\\u0442\\u0430\\u0440\",\n      \"\\u042b\\u0430\\u043c \\u044b\\u0439\\u044b\\u043d\",\n      \"\\u0411\\u044d\\u0441 \\u044b\\u0439\\u044b\\u043d\",\n      \"\\u041e\\u0442 \\u044b\\u0439\\u044b\\u043d\",\n      \"\\u0410\\u0442\\u044b\\u0440\\u0434\\u044c\\u044b\\u0445 \\u044b\\u0439\\u044b\\u043d\",\n      \"\\u0411\\u0430\\u043b\\u0430\\u0495\\u0430\\u043d \\u044b\\u0439\\u044b\\u043d\",\n      \"\\u0410\\u043b\\u0442\\u044b\\u043d\\u043d\\u044c\\u044b\",\n      \"\\u0421\\u044d\\u0442\\u0438\\u043d\\u043d\\u044c\\u0438\",\n      \"\\u0410\\u0445\\u0441\\u044b\\u043d\\u043d\\u044c\\u044b\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0411\\u0441\",\n      \"\\u0411\\u043d\",\n      \"\\u041e\\u043f\",\n      \"\\u0421\\u044d\",\n      \"\\u0427\\u043f\",\n      \"\\u0411\\u044d\",\n      \"\\u0421\\u0431\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0422\\u043e\\u0445\\u0441\",\n      \"\\u041e\\u043b\\u0443\\u043d\",\n      \"\\u041a\\u043b\\u043d_\\u0442\\u0442\\u0440\",\n      \"\\u041c\\u0443\\u0441_\\u0443\\u0441\\u0442\",\n      \"\\u042b\\u0430\\u043c_\\u0439\\u043d\",\n      \"\\u0411\\u044d\\u0441_\\u0439\\u043d\",\n      \"\\u041e\\u0442_\\u0439\\u043d\",\n      \"\\u0410\\u0442\\u0440\\u0434\\u044c_\\u0439\\u043d\",\n      \"\\u0411\\u043b\\u0495\\u043d_\\u0439\\u043d\",\n      \"\\u0410\\u043b\\u0442\",\n      \"\\u0421\\u044d\\u0442\",\n      \"\\u0410\\u0445\\u0441\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y '\\u0441\\u044b\\u043b' MMMM d '\\u043a\\u04af\\u043d\\u044d', EEEE\",\n    \"longDate\": \"y, MMMM d\",\n    \"medium\": \"y, MMM d HH:mm:ss\",\n    \"mediumDate\": \"y, MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"yy/M/d HH:mm\",\n    \"shortDate\": \"yy/M/d\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u0440\\u0443\\u0431.\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"sah\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_saq-ke.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Tesiran\",\n      \"Teipa\"\n    ],\n    \"DAY\": [\n      \"Mderot ee are\",\n      \"Mderot ee kuni\",\n      \"Mderot ee ong\\u2019wan\",\n      \"Mderot ee inet\",\n      \"Mderot ee ile\",\n      \"Mderot ee sapa\",\n      \"Mderot ee kwe\"\n    ],\n    \"ERANAMES\": [\n      \"Kabla ya Christo\",\n      \"Baada ya Christo\"\n    ],\n    \"ERAS\": [\n      \"KK\",\n      \"BK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Lapa le obo\",\n      \"Lapa le waare\",\n      \"Lapa le okuni\",\n      \"Lapa le ong\\u2019wan\",\n      \"Lapa le imet\",\n      \"Lapa le ile\",\n      \"Lapa le sapa\",\n      \"Lapa le isiet\",\n      \"Lapa le saal\",\n      \"Lapa le tomon\",\n      \"Lapa le tomon obo\",\n      \"Lapa le tomon waare\"\n    ],\n    \"SHORTDAY\": [\n      \"Are\",\n      \"Kun\",\n      \"Ong\",\n      \"Ine\",\n      \"Ile\",\n      \"Sap\",\n      \"Kwe\"\n    ],\n    \"SHORTMONTH\": [\n      \"Obo\",\n      \"Waa\",\n      \"Oku\",\n      \"Ong\",\n      \"Ime\",\n      \"Ile\",\n      \"Sap\",\n      \"Isi\",\n      \"Saa\",\n      \"Tom\",\n      \"Tob\",\n      \"Tow\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ksh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"saq-ke\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_saq.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Tesiran\",\n      \"Teipa\"\n    ],\n    \"DAY\": [\n      \"Mderot ee are\",\n      \"Mderot ee kuni\",\n      \"Mderot ee ong\\u2019wan\",\n      \"Mderot ee inet\",\n      \"Mderot ee ile\",\n      \"Mderot ee sapa\",\n      \"Mderot ee kwe\"\n    ],\n    \"ERANAMES\": [\n      \"Kabla ya Christo\",\n      \"Baada ya Christo\"\n    ],\n    \"ERAS\": [\n      \"KK\",\n      \"BK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Lapa le obo\",\n      \"Lapa le waare\",\n      \"Lapa le okuni\",\n      \"Lapa le ong\\u2019wan\",\n      \"Lapa le imet\",\n      \"Lapa le ile\",\n      \"Lapa le sapa\",\n      \"Lapa le isiet\",\n      \"Lapa le saal\",\n      \"Lapa le tomon\",\n      \"Lapa le tomon obo\",\n      \"Lapa le tomon waare\"\n    ],\n    \"SHORTDAY\": [\n      \"Are\",\n      \"Kun\",\n      \"Ong\",\n      \"Ine\",\n      \"Ile\",\n      \"Sap\",\n      \"Kwe\"\n    ],\n    \"SHORTMONTH\": [\n      \"Obo\",\n      \"Waa\",\n      \"Oku\",\n      \"Ong\",\n      \"Ime\",\n      \"Ile\",\n      \"Sap\",\n      \"Isi\",\n      \"Saa\",\n      \"Tom\",\n      \"Tob\",\n      \"Tow\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ksh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"saq\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sbp-tz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Lwamilawu\",\n      \"Pashamihe\"\n    ],\n    \"DAY\": [\n      \"Mulungu\",\n      \"Jumatatu\",\n      \"Jumanne\",\n      \"Jumatano\",\n      \"Alahamisi\",\n      \"Ijumaa\",\n      \"Jumamosi\"\n    ],\n    \"ERANAMES\": [\n      \"Ashanali uKilisito\",\n      \"Pamwandi ya Kilisto\"\n    ],\n    \"ERAS\": [\n      \"AK\",\n      \"PK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Mupalangulwa\",\n      \"Mwitope\",\n      \"Mushende\",\n      \"Munyi\",\n      \"Mushende Magali\",\n      \"Mujimbi\",\n      \"Mushipepo\",\n      \"Mupuguto\",\n      \"Munyense\",\n      \"Mokhu\",\n      \"Musongandembwe\",\n      \"Muhaano\"\n    ],\n    \"SHORTDAY\": [\n      \"Mul\",\n      \"Jtt\",\n      \"Jnn\",\n      \"Jtn\",\n      \"Alh\",\n      \"Iju\",\n      \"Jmo\"\n    ],\n    \"SHORTMONTH\": [\n      \"Mup\",\n      \"Mwi\",\n      \"Msh\",\n      \"Mun\",\n      \"Mag\",\n      \"Muj\",\n      \"Msp\",\n      \"Mpg\",\n      \"Mye\",\n      \"Mok\",\n      \"Mus\",\n      \"Muh\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"TSh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"sbp-tz\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sbp.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Lwamilawu\",\n      \"Pashamihe\"\n    ],\n    \"DAY\": [\n      \"Mulungu\",\n      \"Jumatatu\",\n      \"Jumanne\",\n      \"Jumatano\",\n      \"Alahamisi\",\n      \"Ijumaa\",\n      \"Jumamosi\"\n    ],\n    \"ERANAMES\": [\n      \"Ashanali uKilisito\",\n      \"Pamwandi ya Kilisto\"\n    ],\n    \"ERAS\": [\n      \"AK\",\n      \"PK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Mupalangulwa\",\n      \"Mwitope\",\n      \"Mushende\",\n      \"Munyi\",\n      \"Mushende Magali\",\n      \"Mujimbi\",\n      \"Mushipepo\",\n      \"Mupuguto\",\n      \"Munyense\",\n      \"Mokhu\",\n      \"Musongandembwe\",\n      \"Muhaano\"\n    ],\n    \"SHORTDAY\": [\n      \"Mul\",\n      \"Jtt\",\n      \"Jnn\",\n      \"Jtn\",\n      \"Alh\",\n      \"Iju\",\n      \"Jmo\"\n    ],\n    \"SHORTMONTH\": [\n      \"Mup\",\n      \"Mwi\",\n      \"Msh\",\n      \"Mun\",\n      \"Mag\",\n      \"Muj\",\n      \"Msp\",\n      \"Mpg\",\n      \"Mye\",\n      \"Mok\",\n      \"Mus\",\n      \"Muh\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"TSh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"sbp\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_se-fi.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"i\\u0111itbeaivet\",\n      \"eahketbeaivet\"\n    ],\n    \"DAY\": [\n      \"aejlege\",\n      \"m\\u00e5anta\",\n      \"d\\u00e4jsta\",\n      \"gaskevahkoe\",\n      \"d\\u00e5arsta\",\n      \"bearjadahke\",\n      \"laavadahke\"\n    ],\n    \"ERANAMES\": [\n      \"ovdal Kristtusa\",\n      \"ma\\u014b\\u014bel Kristtusa\"\n    ],\n    \"ERAS\": [\n      \"o.Kr.\",\n      \"m.Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"o\\u0111\\u0111ajagem\\u00e1nnu\",\n      \"guovvam\\u00e1nnu\",\n      \"njuk\\u010dam\\u00e1nnu\",\n      \"cuo\\u014bom\\u00e1nnu\",\n      \"miessem\\u00e1nnu\",\n      \"geassem\\u00e1nnu\",\n      \"suoidnem\\u00e1nnu\",\n      \"borgem\\u00e1nnu\",\n      \"\\u010dak\\u010dam\\u00e1nnu\",\n      \"golggotm\\u00e1nnu\",\n      \"sk\\u00e1bmam\\u00e1nnu\",\n      \"juovlam\\u00e1nnu\"\n    ],\n    \"SHORTDAY\": [\n      \"sotn\",\n      \"vuos\",\n      \"ma\\u014b\",\n      \"gask\",\n      \"duor\",\n      \"bear\",\n      \"l\\u00e1v\"\n    ],\n    \"SHORTMONTH\": [\n      \"o\\u0111\\u0111ajage\",\n      \"guovva\",\n      \"njuk\\u010da\",\n      \"cuo\\u014bo\",\n      \"miesse\",\n      \"geasse\",\n      \"suoidne\",\n      \"borge\",\n      \"\\u010dak\\u010da\",\n      \"golggot\",\n      \"sk\\u00e1bma\",\n      \"juovla\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"se-fi\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_se-no.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"i\\u0111itbeaivet\",\n      \"eahketbeaivet\"\n    ],\n    \"DAY\": [\n      \"sotnabeaivi\",\n      \"vuoss\\u00e1rga\",\n      \"ma\\u014b\\u014beb\\u00e1rga\",\n      \"gaskavahkku\",\n      \"duorasdat\",\n      \"bearjadat\",\n      \"l\\u00e1vvardat\"\n    ],\n    \"ERANAMES\": [\n      \"ovdal Kristtusa\",\n      \"ma\\u014b\\u014bel Kristtusa\"\n    ],\n    \"ERAS\": [\n      \"o.Kr.\",\n      \"m.Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"o\\u0111\\u0111ajagem\\u00e1nnu\",\n      \"guovvam\\u00e1nnu\",\n      \"njuk\\u010dam\\u00e1nnu\",\n      \"cuo\\u014bom\\u00e1nnu\",\n      \"miessem\\u00e1nnu\",\n      \"geassem\\u00e1nnu\",\n      \"suoidnem\\u00e1nnu\",\n      \"borgem\\u00e1nnu\",\n      \"\\u010dak\\u010dam\\u00e1nnu\",\n      \"golggotm\\u00e1nnu\",\n      \"sk\\u00e1bmam\\u00e1nnu\",\n      \"juovlam\\u00e1nnu\"\n    ],\n    \"SHORTDAY\": [\n      \"sotn\",\n      \"vuos\",\n      \"ma\\u014b\",\n      \"gask\",\n      \"duor\",\n      \"bear\",\n      \"l\\u00e1v\"\n    ],\n    \"SHORTMONTH\": [\n      \"o\\u0111\\u0111j\",\n      \"guov\",\n      \"njuk\",\n      \"cuo\",\n      \"mies\",\n      \"geas\",\n      \"suoi\",\n      \"borg\",\n      \"\\u010dak\\u010d\",\n      \"golg\",\n      \"sk\\u00e1b\",\n      \"juov\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"kr\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"se-no\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_se-se.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"i\\u0111itbeaivet\",\n      \"eahketbeaivet\"\n    ],\n    \"DAY\": [\n      \"sotnabeaivi\",\n      \"vuoss\\u00e1rga\",\n      \"ma\\u014b\\u014beb\\u00e1rga\",\n      \"gaskavahkku\",\n      \"duorasdat\",\n      \"bearjadat\",\n      \"l\\u00e1vvardat\"\n    ],\n    \"ERANAMES\": [\n      \"ovdal Kristtusa\",\n      \"ma\\u014b\\u014bel Kristtusa\"\n    ],\n    \"ERAS\": [\n      \"o.Kr.\",\n      \"m.Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"o\\u0111\\u0111ajagem\\u00e1nnu\",\n      \"guovvam\\u00e1nnu\",\n      \"njuk\\u010dam\\u00e1nnu\",\n      \"cuo\\u014bom\\u00e1nnu\",\n      \"miessem\\u00e1nnu\",\n      \"geassem\\u00e1nnu\",\n      \"suoidnem\\u00e1nnu\",\n      \"borgem\\u00e1nnu\",\n      \"\\u010dak\\u010dam\\u00e1nnu\",\n      \"golggotm\\u00e1nnu\",\n      \"sk\\u00e1bmam\\u00e1nnu\",\n      \"juovlam\\u00e1nnu\"\n    ],\n    \"SHORTDAY\": [\n      \"sotn\",\n      \"vuos\",\n      \"ma\\u014b\",\n      \"gask\",\n      \"duor\",\n      \"bear\",\n      \"l\\u00e1v\"\n    ],\n    \"SHORTMONTH\": [\n      \"o\\u0111\\u0111j\",\n      \"guov\",\n      \"njuk\",\n      \"cuo\",\n      \"mies\",\n      \"geas\",\n      \"suoi\",\n      \"borg\",\n      \"\\u010dak\\u010d\",\n      \"golg\",\n      \"sk\\u00e1b\",\n      \"juov\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"kr\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"se-se\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_se.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"i\\u0111itbeaivet\",\n      \"eahketbeaivet\"\n    ],\n    \"DAY\": [\n      \"sotnabeaivi\",\n      \"vuoss\\u00e1rga\",\n      \"ma\\u014b\\u014beb\\u00e1rga\",\n      \"gaskavahkku\",\n      \"duorasdat\",\n      \"bearjadat\",\n      \"l\\u00e1vvardat\"\n    ],\n    \"ERANAMES\": [\n      \"ovdal Kristtusa\",\n      \"ma\\u014b\\u014bel Kristtusa\"\n    ],\n    \"ERAS\": [\n      \"o.Kr.\",\n      \"m.Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"o\\u0111\\u0111ajagem\\u00e1nnu\",\n      \"guovvam\\u00e1nnu\",\n      \"njuk\\u010dam\\u00e1nnu\",\n      \"cuo\\u014bom\\u00e1nnu\",\n      \"miessem\\u00e1nnu\",\n      \"geassem\\u00e1nnu\",\n      \"suoidnem\\u00e1nnu\",\n      \"borgem\\u00e1nnu\",\n      \"\\u010dak\\u010dam\\u00e1nnu\",\n      \"golggotm\\u00e1nnu\",\n      \"sk\\u00e1bmam\\u00e1nnu\",\n      \"juovlam\\u00e1nnu\"\n    ],\n    \"SHORTDAY\": [\n      \"sotn\",\n      \"vuos\",\n      \"ma\\u014b\",\n      \"gask\",\n      \"duor\",\n      \"bear\",\n      \"l\\u00e1v\"\n    ],\n    \"SHORTMONTH\": [\n      \"o\\u0111\\u0111j\",\n      \"guov\",\n      \"njuk\",\n      \"cuo\",\n      \"mies\",\n      \"geas\",\n      \"suoi\",\n      \"borg\",\n      \"\\u010dak\\u010d\",\n      \"golg\",\n      \"sk\\u00e1b\",\n      \"juov\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"kr\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"se\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_seh-mz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Dimingu\",\n      \"Chiposi\",\n      \"Chipiri\",\n      \"Chitatu\",\n      \"Chinai\",\n      \"Chishanu\",\n      \"Sabudu\"\n    ],\n    \"ERANAMES\": [\n      \"Antes de Cristo\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"AC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Janeiro\",\n      \"Fevreiro\",\n      \"Marco\",\n      \"Abril\",\n      \"Maio\",\n      \"Junho\",\n      \"Julho\",\n      \"Augusto\",\n      \"Setembro\",\n      \"Otubro\",\n      \"Novembro\",\n      \"Decembro\"\n    ],\n    \"SHORTDAY\": [\n      \"Dim\",\n      \"Pos\",\n      \"Pir\",\n      \"Tat\",\n      \"Nai\",\n      \"Sha\",\n      \"Sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Fev\",\n      \"Mar\",\n      \"Abr\",\n      \"Mai\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Set\",\n      \"Otu\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"d 'de' MMM 'de' y HH:mm:ss\",\n    \"mediumDate\": \"d 'de' MMM 'de' y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"MTn\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"seh-mz\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_seh.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Dimingu\",\n      \"Chiposi\",\n      \"Chipiri\",\n      \"Chitatu\",\n      \"Chinai\",\n      \"Chishanu\",\n      \"Sabudu\"\n    ],\n    \"ERANAMES\": [\n      \"Antes de Cristo\",\n      \"Anno Domini\"\n    ],\n    \"ERAS\": [\n      \"AC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Janeiro\",\n      \"Fevreiro\",\n      \"Marco\",\n      \"Abril\",\n      \"Maio\",\n      \"Junho\",\n      \"Julho\",\n      \"Augusto\",\n      \"Setembro\",\n      \"Otubro\",\n      \"Novembro\",\n      \"Decembro\"\n    ],\n    \"SHORTDAY\": [\n      \"Dim\",\n      \"Pos\",\n      \"Pir\",\n      \"Tat\",\n      \"Nai\",\n      \"Sha\",\n      \"Sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Fev\",\n      \"Mar\",\n      \"Abr\",\n      \"Mai\",\n      \"Jun\",\n      \"Jul\",\n      \"Aug\",\n      \"Set\",\n      \"Otu\",\n      \"Nov\",\n      \"Dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d 'de' MMMM 'de' y\",\n    \"longDate\": \"d 'de' MMMM 'de' y\",\n    \"medium\": \"d 'de' MMM 'de' y HH:mm:ss\",\n    \"mediumDate\": \"d 'de' MMM 'de' y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"MTn\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"seh\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ses-ml.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Adduha\",\n      \"Aluula\"\n    ],\n    \"DAY\": [\n      \"Alhadi\",\n      \"Atinni\",\n      \"Atalaata\",\n      \"Alarba\",\n      \"Alhamiisa\",\n      \"Alzuma\",\n      \"Asibti\"\n    ],\n    \"ERANAMES\": [\n      \"Isaa jine\",\n      \"Isaa zamanoo\"\n    ],\n    \"ERAS\": [\n      \"IJ\",\n      \"IZ\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u017danwiye\",\n      \"Feewiriye\",\n      \"Marsi\",\n      \"Awiril\",\n      \"Me\",\n      \"\\u017duwe\\u014b\",\n      \"\\u017duyye\",\n      \"Ut\",\n      \"Sektanbur\",\n      \"Oktoobur\",\n      \"Noowanbur\",\n      \"Deesanbur\"\n    ],\n    \"SHORTDAY\": [\n      \"Alh\",\n      \"Ati\",\n      \"Ata\",\n      \"Ala\",\n      \"Alm\",\n      \"Alz\",\n      \"Asi\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u017dan\",\n      \"Fee\",\n      \"Mar\",\n      \"Awi\",\n      \"Me\",\n      \"\\u017duw\",\n      \"\\u017duy\",\n      \"Ut\",\n      \"Sek\",\n      \"Okt\",\n      \"Noo\",\n      \"Dee\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CFA\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ses-ml\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ses.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Adduha\",\n      \"Aluula\"\n    ],\n    \"DAY\": [\n      \"Alhadi\",\n      \"Atinni\",\n      \"Atalaata\",\n      \"Alarba\",\n      \"Alhamiisa\",\n      \"Alzuma\",\n      \"Asibti\"\n    ],\n    \"ERANAMES\": [\n      \"Isaa jine\",\n      \"Isaa zamanoo\"\n    ],\n    \"ERAS\": [\n      \"IJ\",\n      \"IZ\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u017danwiye\",\n      \"Feewiriye\",\n      \"Marsi\",\n      \"Awiril\",\n      \"Me\",\n      \"\\u017duwe\\u014b\",\n      \"\\u017duyye\",\n      \"Ut\",\n      \"Sektanbur\",\n      \"Oktoobur\",\n      \"Noowanbur\",\n      \"Deesanbur\"\n    ],\n    \"SHORTDAY\": [\n      \"Alh\",\n      \"Ati\",\n      \"Ata\",\n      \"Ala\",\n      \"Alm\",\n      \"Alz\",\n      \"Asi\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u017dan\",\n      \"Fee\",\n      \"Mar\",\n      \"Awi\",\n      \"Me\",\n      \"\\u017duw\",\n      \"\\u017duy\",\n      \"Ut\",\n      \"Sek\",\n      \"Okt\",\n      \"Noo\",\n      \"Dee\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CFA\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"ses\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sg-cf.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"ND\",\n      \"LK\"\n    ],\n    \"DAY\": [\n      \"Bikua-\\u00f4ko\",\n      \"B\\u00efkua-\\u00fbse\",\n      \"B\\u00efkua-pt\\u00e2\",\n      \"B\\u00efkua-us\\u00ef\\u00f6\",\n      \"B\\u00efkua-ok\\u00fc\",\n      \"L\\u00e2p\\u00f4s\\u00f6\",\n      \"L\\u00e2yenga\"\n    ],\n    \"ERANAMES\": [\n      \"K\\u00f4zo na Kr\\u00eestu\",\n      \"Na pek\\u00f4 t\\u00ee Kr\\u00eestu\"\n    ],\n    \"ERAS\": [\n      \"KnK\",\n      \"NpK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Nyenye\",\n      \"Fulund\\u00efgi\",\n      \"Mb\\u00e4ng\\u00fc\",\n      \"Ngub\\u00f9e\",\n      \"B\\u00eal\\u00e4w\\u00fc\",\n      \"F\\u00f6ndo\",\n      \"Lengua\",\n      \"K\\u00fck\\u00fcr\\u00fc\",\n      \"Mvuka\",\n      \"Ngberere\",\n      \"Nab\\u00e4nd\\u00fcru\",\n      \"Kakauka\"\n    ],\n    \"SHORTDAY\": [\n      \"Bk1\",\n      \"Bk2\",\n      \"Bk3\",\n      \"Bk4\",\n      \"Bk5\",\n      \"L\\u00e2p\",\n      \"L\\u00e2y\"\n    ],\n    \"SHORTMONTH\": [\n      \"Nye\",\n      \"Ful\",\n      \"Mb\\u00e4\",\n      \"Ngu\",\n      \"B\\u00eal\",\n      \"F\\u00f6n\",\n      \"Len\",\n      \"K\\u00fck\",\n      \"Mvu\",\n      \"Ngb\",\n      \"Nab\",\n      \"Kak\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"sg-cf\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sg.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"ND\",\n      \"LK\"\n    ],\n    \"DAY\": [\n      \"Bikua-\\u00f4ko\",\n      \"B\\u00efkua-\\u00fbse\",\n      \"B\\u00efkua-pt\\u00e2\",\n      \"B\\u00efkua-us\\u00ef\\u00f6\",\n      \"B\\u00efkua-ok\\u00fc\",\n      \"L\\u00e2p\\u00f4s\\u00f6\",\n      \"L\\u00e2yenga\"\n    ],\n    \"ERANAMES\": [\n      \"K\\u00f4zo na Kr\\u00eestu\",\n      \"Na pek\\u00f4 t\\u00ee Kr\\u00eestu\"\n    ],\n    \"ERAS\": [\n      \"KnK\",\n      \"NpK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Nyenye\",\n      \"Fulund\\u00efgi\",\n      \"Mb\\u00e4ng\\u00fc\",\n      \"Ngub\\u00f9e\",\n      \"B\\u00eal\\u00e4w\\u00fc\",\n      \"F\\u00f6ndo\",\n      \"Lengua\",\n      \"K\\u00fck\\u00fcr\\u00fc\",\n      \"Mvuka\",\n      \"Ngberere\",\n      \"Nab\\u00e4nd\\u00fcru\",\n      \"Kakauka\"\n    ],\n    \"SHORTDAY\": [\n      \"Bk1\",\n      \"Bk2\",\n      \"Bk3\",\n      \"Bk4\",\n      \"Bk5\",\n      \"L\\u00e2p\",\n      \"L\\u00e2y\"\n    ],\n    \"SHORTMONTH\": [\n      \"Nye\",\n      \"Ful\",\n      \"Mb\\u00e4\",\n      \"Ngu\",\n      \"B\\u00eal\",\n      \"F\\u00f6n\",\n      \"Len\",\n      \"K\\u00fck\",\n      \"Mvu\",\n      \"Ngb\",\n      \"Nab\",\n      \"Kak\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"sg\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_shi-latn-ma.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"tifawt\",\n      \"tadgg\\u02b7at\"\n    ],\n    \"DAY\": [\n      \"asamas\",\n      \"aynas\",\n      \"asinas\",\n      \"ak\\u1e5bas\",\n      \"akwas\",\n      \"asimwas\",\n      \"asi\\u1e0dyas\"\n    ],\n    \"ERANAMES\": [\n      \"dat n \\u025bisa\",\n      \"dffir n \\u025bisa\"\n    ],\n    \"ERAS\": [\n      \"da\\u025b\",\n      \"df\\u025b\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"innayr\",\n      \"b\\u1e5bay\\u1e5b\",\n      \"ma\\u1e5b\\u1e63\",\n      \"ibrir\",\n      \"mayyu\",\n      \"yunyu\",\n      \"yulyuz\",\n      \"\\u0263uct\",\n      \"cutanbir\",\n      \"ktubr\",\n      \"nuwanbir\",\n      \"dujanbir\"\n    ],\n    \"SHORTDAY\": [\n      \"asa\",\n      \"ayn\",\n      \"asi\",\n      \"ak\\u1e5b\",\n      \"akw\",\n      \"asim\",\n      \"asi\\u1e0d\"\n    ],\n    \"SHORTMONTH\": [\n      \"inn\",\n      \"b\\u1e5ba\",\n      \"ma\\u1e5b\",\n      \"ibr\",\n      \"may\",\n      \"yun\",\n      \"yul\",\n      \"\\u0263uc\",\n      \"cut\",\n      \"ktu\",\n      \"nuw\",\n      \"duj\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"dh\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"shi-latn-ma\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_shi-latn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"tifawt\",\n      \"tadgg\\u02b7at\"\n    ],\n    \"DAY\": [\n      \"asamas\",\n      \"aynas\",\n      \"asinas\",\n      \"ak\\u1e5bas\",\n      \"akwas\",\n      \"asimwas\",\n      \"asi\\u1e0dyas\"\n    ],\n    \"ERANAMES\": [\n      \"dat n \\u025bisa\",\n      \"dffir n \\u025bisa\"\n    ],\n    \"ERAS\": [\n      \"da\\u025b\",\n      \"df\\u025b\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"innayr\",\n      \"b\\u1e5bay\\u1e5b\",\n      \"ma\\u1e5b\\u1e63\",\n      \"ibrir\",\n      \"mayyu\",\n      \"yunyu\",\n      \"yulyuz\",\n      \"\\u0263uct\",\n      \"cutanbir\",\n      \"ktubr\",\n      \"nuwanbir\",\n      \"dujanbir\"\n    ],\n    \"SHORTDAY\": [\n      \"asa\",\n      \"ayn\",\n      \"asi\",\n      \"ak\\u1e5b\",\n      \"akw\",\n      \"asim\",\n      \"asi\\u1e0d\"\n    ],\n    \"SHORTMONTH\": [\n      \"inn\",\n      \"b\\u1e5ba\",\n      \"ma\\u1e5b\",\n      \"ibr\",\n      \"may\",\n      \"yun\",\n      \"yul\",\n      \"\\u0263uc\",\n      \"cut\",\n      \"ktu\",\n      \"nuw\",\n      \"duj\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"dh\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"shi-latn\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_shi-tfng-ma.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u2d5c\\u2d49\\u2d3c\\u2d30\\u2d61\\u2d5c\",\n      \"\\u2d5c\\u2d30\\u2d37\\u2d33\\u2d33\\u2d6f\\u2d30\\u2d5c\"\n    ],\n    \"DAY\": [\n      \"\\u2d30\\u2d59\\u2d30\\u2d4e\\u2d30\\u2d59\",\n      \"\\u2d30\\u2d62\\u2d4f\\u2d30\\u2d59\",\n      \"\\u2d30\\u2d59\\u2d49\\u2d4f\\u2d30\\u2d59\",\n      \"\\u2d30\\u2d3d\\u2d55\\u2d30\\u2d59\",\n      \"\\u2d30\\u2d3d\\u2d61\\u2d30\\u2d59\",\n      \"\\u2d59\\u2d49\\u2d4e\\u2d61\\u2d30\\u2d59\",\n      \"\\u2d30\\u2d59\\u2d49\\u2d39\\u2d62\\u2d30\\u2d59\"\n    ],\n    \"ERANAMES\": [\n      \"\\u2d37\\u2d30\\u2d5c \\u2d4f \\u2d44\\u2d49\\u2d59\\u2d30\",\n      \"\\u2d37\\u2d3c\\u2d3c\\u2d49\\u2d54 \\u2d4f \\u2d44\\u2d49\\u2d59\\u2d30\"\n    ],\n    \"ERAS\": [\n      \"\\u2d37\\u2d30\\u2d44\",\n      \"\\u2d37\\u2d3c\\u2d44\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u2d49\\u2d4f\\u2d4f\\u2d30\\u2d62\\u2d54\",\n      \"\\u2d31\\u2d55\\u2d30\\u2d62\\u2d55\",\n      \"\\u2d4e\\u2d30\\u2d55\\u2d5a\",\n      \"\\u2d49\\u2d31\\u2d54\\u2d49\\u2d54\",\n      \"\\u2d4e\\u2d30\\u2d62\\u2d62\\u2d53\",\n      \"\\u2d62\\u2d53\\u2d4f\\u2d62\\u2d53\",\n      \"\\u2d62\\u2d53\\u2d4d\\u2d62\\u2d53\\u2d63\",\n      \"\\u2d56\\u2d53\\u2d5b\\u2d5c\",\n      \"\\u2d5b\\u2d53\\u2d5c\\u2d30\\u2d4f\\u2d31\\u2d49\\u2d54\",\n      \"\\u2d3d\\u2d5c\\u2d53\\u2d31\\u2d54\",\n      \"\\u2d4f\\u2d53\\u2d61\\u2d30\\u2d4f\\u2d31\\u2d49\\u2d54\",\n      \"\\u2d37\\u2d53\\u2d4a\\u2d30\\u2d4f\\u2d31\\u2d49\\u2d54\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u2d30\\u2d59\\u2d30\",\n      \"\\u2d30\\u2d62\\u2d4f\",\n      \"\\u2d30\\u2d59\\u2d49\",\n      \"\\u2d30\\u2d3d\\u2d55\",\n      \"\\u2d30\\u2d3d\\u2d61\",\n      \"\\u2d30\\u2d59\\u2d49\\u2d4e\",\n      \"\\u2d30\\u2d59\\u2d49\\u2d39\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u2d49\\u2d4f\\u2d4f\",\n      \"\\u2d31\\u2d55\\u2d30\",\n      \"\\u2d4e\\u2d30\\u2d55\",\n      \"\\u2d49\\u2d31\\u2d54\",\n      \"\\u2d4e\\u2d30\\u2d62\",\n      \"\\u2d62\\u2d53\\u2d4f\",\n      \"\\u2d62\\u2d53\\u2d4d\",\n      \"\\u2d56\\u2d53\\u2d5b\",\n      \"\\u2d5b\\u2d53\\u2d5c\",\n      \"\\u2d3d\\u2d5c\\u2d53\",\n      \"\\u2d4f\\u2d53\\u2d61\",\n      \"\\u2d37\\u2d53\\u2d4a\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"dh\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"shi-tfng-ma\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_shi-tfng.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u2d5c\\u2d49\\u2d3c\\u2d30\\u2d61\\u2d5c\",\n      \"\\u2d5c\\u2d30\\u2d37\\u2d33\\u2d33\\u2d6f\\u2d30\\u2d5c\"\n    ],\n    \"DAY\": [\n      \"\\u2d30\\u2d59\\u2d30\\u2d4e\\u2d30\\u2d59\",\n      \"\\u2d30\\u2d62\\u2d4f\\u2d30\\u2d59\",\n      \"\\u2d30\\u2d59\\u2d49\\u2d4f\\u2d30\\u2d59\",\n      \"\\u2d30\\u2d3d\\u2d55\\u2d30\\u2d59\",\n      \"\\u2d30\\u2d3d\\u2d61\\u2d30\\u2d59\",\n      \"\\u2d59\\u2d49\\u2d4e\\u2d61\\u2d30\\u2d59\",\n      \"\\u2d30\\u2d59\\u2d49\\u2d39\\u2d62\\u2d30\\u2d59\"\n    ],\n    \"ERANAMES\": [\n      \"\\u2d37\\u2d30\\u2d5c \\u2d4f \\u2d44\\u2d49\\u2d59\\u2d30\",\n      \"\\u2d37\\u2d3c\\u2d3c\\u2d49\\u2d54 \\u2d4f \\u2d44\\u2d49\\u2d59\\u2d30\"\n    ],\n    \"ERAS\": [\n      \"\\u2d37\\u2d30\\u2d44\",\n      \"\\u2d37\\u2d3c\\u2d44\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u2d49\\u2d4f\\u2d4f\\u2d30\\u2d62\\u2d54\",\n      \"\\u2d31\\u2d55\\u2d30\\u2d62\\u2d55\",\n      \"\\u2d4e\\u2d30\\u2d55\\u2d5a\",\n      \"\\u2d49\\u2d31\\u2d54\\u2d49\\u2d54\",\n      \"\\u2d4e\\u2d30\\u2d62\\u2d62\\u2d53\",\n      \"\\u2d62\\u2d53\\u2d4f\\u2d62\\u2d53\",\n      \"\\u2d62\\u2d53\\u2d4d\\u2d62\\u2d53\\u2d63\",\n      \"\\u2d56\\u2d53\\u2d5b\\u2d5c\",\n      \"\\u2d5b\\u2d53\\u2d5c\\u2d30\\u2d4f\\u2d31\\u2d49\\u2d54\",\n      \"\\u2d3d\\u2d5c\\u2d53\\u2d31\\u2d54\",\n      \"\\u2d4f\\u2d53\\u2d61\\u2d30\\u2d4f\\u2d31\\u2d49\\u2d54\",\n      \"\\u2d37\\u2d53\\u2d4a\\u2d30\\u2d4f\\u2d31\\u2d49\\u2d54\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u2d30\\u2d59\\u2d30\",\n      \"\\u2d30\\u2d62\\u2d4f\",\n      \"\\u2d30\\u2d59\\u2d49\",\n      \"\\u2d30\\u2d3d\\u2d55\",\n      \"\\u2d30\\u2d3d\\u2d61\",\n      \"\\u2d30\\u2d59\\u2d49\\u2d4e\",\n      \"\\u2d30\\u2d59\\u2d49\\u2d39\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u2d49\\u2d4f\\u2d4f\",\n      \"\\u2d31\\u2d55\\u2d30\",\n      \"\\u2d4e\\u2d30\\u2d55\",\n      \"\\u2d49\\u2d31\\u2d54\",\n      \"\\u2d4e\\u2d30\\u2d62\",\n      \"\\u2d62\\u2d53\\u2d4f\",\n      \"\\u2d62\\u2d53\\u2d4d\",\n      \"\\u2d56\\u2d53\\u2d5b\",\n      \"\\u2d5b\\u2d53\\u2d5c\",\n      \"\\u2d3d\\u2d5c\\u2d53\",\n      \"\\u2d4f\\u2d53\\u2d61\",\n      \"\\u2d37\\u2d53\\u2d4a\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"dh\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"shi-tfng\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_shi.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u2d5c\\u2d49\\u2d3c\\u2d30\\u2d61\\u2d5c\",\n      \"\\u2d5c\\u2d30\\u2d37\\u2d33\\u2d33\\u2d6f\\u2d30\\u2d5c\"\n    ],\n    \"DAY\": [\n      \"\\u2d30\\u2d59\\u2d30\\u2d4e\\u2d30\\u2d59\",\n      \"\\u2d30\\u2d62\\u2d4f\\u2d30\\u2d59\",\n      \"\\u2d30\\u2d59\\u2d49\\u2d4f\\u2d30\\u2d59\",\n      \"\\u2d30\\u2d3d\\u2d55\\u2d30\\u2d59\",\n      \"\\u2d30\\u2d3d\\u2d61\\u2d30\\u2d59\",\n      \"\\u2d59\\u2d49\\u2d4e\\u2d61\\u2d30\\u2d59\",\n      \"\\u2d30\\u2d59\\u2d49\\u2d39\\u2d62\\u2d30\\u2d59\"\n    ],\n    \"ERANAMES\": [\n      \"\\u2d37\\u2d30\\u2d5c \\u2d4f \\u2d44\\u2d49\\u2d59\\u2d30\",\n      \"\\u2d37\\u2d3c\\u2d3c\\u2d49\\u2d54 \\u2d4f \\u2d44\\u2d49\\u2d59\\u2d30\"\n    ],\n    \"ERAS\": [\n      \"\\u2d37\\u2d30\\u2d44\",\n      \"\\u2d37\\u2d3c\\u2d44\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u2d49\\u2d4f\\u2d4f\\u2d30\\u2d62\\u2d54\",\n      \"\\u2d31\\u2d55\\u2d30\\u2d62\\u2d55\",\n      \"\\u2d4e\\u2d30\\u2d55\\u2d5a\",\n      \"\\u2d49\\u2d31\\u2d54\\u2d49\\u2d54\",\n      \"\\u2d4e\\u2d30\\u2d62\\u2d62\\u2d53\",\n      \"\\u2d62\\u2d53\\u2d4f\\u2d62\\u2d53\",\n      \"\\u2d62\\u2d53\\u2d4d\\u2d62\\u2d53\\u2d63\",\n      \"\\u2d56\\u2d53\\u2d5b\\u2d5c\",\n      \"\\u2d5b\\u2d53\\u2d5c\\u2d30\\u2d4f\\u2d31\\u2d49\\u2d54\",\n      \"\\u2d3d\\u2d5c\\u2d53\\u2d31\\u2d54\",\n      \"\\u2d4f\\u2d53\\u2d61\\u2d30\\u2d4f\\u2d31\\u2d49\\u2d54\",\n      \"\\u2d37\\u2d53\\u2d4a\\u2d30\\u2d4f\\u2d31\\u2d49\\u2d54\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u2d30\\u2d59\\u2d30\",\n      \"\\u2d30\\u2d62\\u2d4f\",\n      \"\\u2d30\\u2d59\\u2d49\",\n      \"\\u2d30\\u2d3d\\u2d55\",\n      \"\\u2d30\\u2d3d\\u2d61\",\n      \"\\u2d30\\u2d59\\u2d49\\u2d4e\",\n      \"\\u2d30\\u2d59\\u2d49\\u2d39\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u2d49\\u2d4f\\u2d4f\",\n      \"\\u2d31\\u2d55\\u2d30\",\n      \"\\u2d4e\\u2d30\\u2d55\",\n      \"\\u2d49\\u2d31\\u2d54\",\n      \"\\u2d4e\\u2d30\\u2d62\",\n      \"\\u2d62\\u2d53\\u2d4f\",\n      \"\\u2d62\\u2d53\\u2d4d\",\n      \"\\u2d56\\u2d53\\u2d5b\",\n      \"\\u2d5b\\u2d53\\u2d5c\",\n      \"\\u2d3d\\u2d5c\\u2d53\",\n      \"\\u2d4f\\u2d53\\u2d61\",\n      \"\\u2d37\\u2d53\\u2d4a\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"dh\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"shi\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_si-lk.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0db4\\u0dd9.\\u0dc0.\",\n      \"\\u0db4.\\u0dc0.\"\n    ],\n    \"DAY\": [\n      \"\\u0d89\\u0dbb\\u0dd2\\u0daf\\u0dcf\",\n      \"\\u0dc3\\u0db3\\u0dd4\\u0daf\\u0dcf\",\n      \"\\u0d85\\u0d9f\\u0dc4\\u0dbb\\u0dd4\\u0dc0\\u0dcf\\u0daf\\u0dcf\",\n      \"\\u0db6\\u0daf\\u0dcf\\u0daf\\u0dcf\",\n      \"\\u0db6\\u0dca\\u200d\\u0dbb\\u0dc4\\u0dc3\\u0dca\\u0db4\\u0dad\\u0dd2\\u0db1\\u0dca\\u0daf\\u0dcf\",\n      \"\\u0dc3\\u0dd2\\u0d9a\\u0dd4\\u0dbb\\u0dcf\\u0daf\\u0dcf\",\n      \"\\u0dc3\\u0dd9\\u0db1\\u0dc3\\u0dd4\\u0dbb\\u0dcf\\u0daf\\u0dcf\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0d9a\\u0dca\\u200d\\u0dbb\\u0dd2\\u0dc3\\u0dca\\u0dad\\u0dd4 \\u0db4\\u0dd6\\u0dbb\\u0dca\\u200d\\u0dc0\",\n      \"\\u0d9a\\u0dca\\u200d\\u0dbb\\u0dd2\\u0dc3\\u0dca\\u0dad\\u0dd4 \\u0dc0\\u0dbb\\u0dca\\u200d\\u0dc2\"\n    ],\n    \"ERAS\": [\n      \"\\u0d9a\\u0dca\\u200d\\u0dbb\\u0dd2.\\u0db4\\u0dd6.\",\n      \"\\u0d9a\\u0dca\\u200d\\u0dbb\\u0dd2.\\u0dc0.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u0da2\\u0db1\\u0dc0\\u0dcf\\u0dbb\\u0dd2\",\n      \"\\u0db4\\u0dd9\\u0db6\\u0dbb\\u0dc0\\u0dcf\\u0dbb\\u0dd2\",\n      \"\\u0db8\\u0dcf\\u0dbb\\u0dca\\u0dad\\u0dd4\",\n      \"\\u0d85\\u0db4\\u0dca\\u200d\\u0dbb\\u0dda\\u0dbd\\u0dca\",\n      \"\\u0db8\\u0dd0\\u0dba\\u0dd2\",\n      \"\\u0da2\\u0dd6\\u0db1\\u0dd2\",\n      \"\\u0da2\\u0dd6\\u0dbd\\u0dd2\",\n      \"\\u0d85\\u0d9c\\u0ddd\\u0dc3\\u0dca\\u0dad\\u0dd4\",\n      \"\\u0dc3\\u0dd0\\u0db4\\u0dca\\u0dad\\u0dd0\\u0db8\\u0dca\\u0db6\\u0dbb\\u0dca\",\n      \"\\u0d94\\u0d9a\\u0dca\\u0dad\\u0ddd\\u0db6\\u0dbb\\u0dca\",\n      \"\\u0db1\\u0ddc\\u0dc0\\u0dd0\\u0db8\\u0dca\\u0db6\\u0dbb\\u0dca\",\n      \"\\u0daf\\u0dd9\\u0dc3\\u0dd0\\u0db8\\u0dca\\u0db6\\u0dbb\\u0dca\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0d89\\u0dbb\\u0dd2\\u0daf\\u0dcf\",\n      \"\\u0dc3\\u0db3\\u0dd4\\u0daf\\u0dcf\",\n      \"\\u0d85\\u0d9f\\u0dc4\",\n      \"\\u0db6\\u0daf\\u0dcf\\u0daf\\u0dcf\",\n      \"\\u0db6\\u0dca\\u200d\\u0dbb\\u0dc4\\u0dc3\\u0dca\",\n      \"\\u0dc3\\u0dd2\\u0d9a\\u0dd4\",\n      \"\\u0dc3\\u0dd9\\u0db1\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0da2\\u0db1\",\n      \"\\u0db4\\u0dd9\\u0db6\",\n      \"\\u0db8\\u0dcf\\u0dbb\\u0dca\\u0dad\\u0dd4\",\n      \"\\u0d85\\u0db4\\u0dca\\u200d\\u0dbb\\u0dda\\u0dbd\\u0dca\",\n      \"\\u0db8\\u0dd0\\u0dba\\u0dd2\",\n      \"\\u0da2\\u0dd6\\u0db1\\u0dd2\",\n      \"\\u0da2\\u0dd6\\u0dbd\\u0dd2\",\n      \"\\u0d85\\u0d9c\\u0ddd\",\n      \"\\u0dc3\\u0dd0\\u0db4\\u0dca\",\n      \"\\u0d94\\u0d9a\\u0dca\",\n      \"\\u0db1\\u0ddc\\u0dc0\\u0dd0\",\n      \"\\u0daf\\u0dd9\\u0dc3\\u0dd0\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d a h.mm.ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"a h.mm.ss\",\n    \"short\": \"y-MM-dd a h.mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"a h.mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Rs\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"si-lk\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if ((n == 0 || n == 1) || i == 0 && vf.f == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_si.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0db4\\u0dd9.\\u0dc0.\",\n      \"\\u0db4.\\u0dc0.\"\n    ],\n    \"DAY\": [\n      \"\\u0d89\\u0dbb\\u0dd2\\u0daf\\u0dcf\",\n      \"\\u0dc3\\u0db3\\u0dd4\\u0daf\\u0dcf\",\n      \"\\u0d85\\u0d9f\\u0dc4\\u0dbb\\u0dd4\\u0dc0\\u0dcf\\u0daf\\u0dcf\",\n      \"\\u0db6\\u0daf\\u0dcf\\u0daf\\u0dcf\",\n      \"\\u0db6\\u0dca\\u200d\\u0dbb\\u0dc4\\u0dc3\\u0dca\\u0db4\\u0dad\\u0dd2\\u0db1\\u0dca\\u0daf\\u0dcf\",\n      \"\\u0dc3\\u0dd2\\u0d9a\\u0dd4\\u0dbb\\u0dcf\\u0daf\\u0dcf\",\n      \"\\u0dc3\\u0dd9\\u0db1\\u0dc3\\u0dd4\\u0dbb\\u0dcf\\u0daf\\u0dcf\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0d9a\\u0dca\\u200d\\u0dbb\\u0dd2\\u0dc3\\u0dca\\u0dad\\u0dd4 \\u0db4\\u0dd6\\u0dbb\\u0dca\\u200d\\u0dc0\",\n      \"\\u0d9a\\u0dca\\u200d\\u0dbb\\u0dd2\\u0dc3\\u0dca\\u0dad\\u0dd4 \\u0dc0\\u0dbb\\u0dca\\u200d\\u0dc2\"\n    ],\n    \"ERAS\": [\n      \"\\u0d9a\\u0dca\\u200d\\u0dbb\\u0dd2.\\u0db4\\u0dd6.\",\n      \"\\u0d9a\\u0dca\\u200d\\u0dbb\\u0dd2.\\u0dc0.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u0da2\\u0db1\\u0dc0\\u0dcf\\u0dbb\\u0dd2\",\n      \"\\u0db4\\u0dd9\\u0db6\\u0dbb\\u0dc0\\u0dcf\\u0dbb\\u0dd2\",\n      \"\\u0db8\\u0dcf\\u0dbb\\u0dca\\u0dad\\u0dd4\",\n      \"\\u0d85\\u0db4\\u0dca\\u200d\\u0dbb\\u0dda\\u0dbd\\u0dca\",\n      \"\\u0db8\\u0dd0\\u0dba\\u0dd2\",\n      \"\\u0da2\\u0dd6\\u0db1\\u0dd2\",\n      \"\\u0da2\\u0dd6\\u0dbd\\u0dd2\",\n      \"\\u0d85\\u0d9c\\u0ddd\\u0dc3\\u0dca\\u0dad\\u0dd4\",\n      \"\\u0dc3\\u0dd0\\u0db4\\u0dca\\u0dad\\u0dd0\\u0db8\\u0dca\\u0db6\\u0dbb\\u0dca\",\n      \"\\u0d94\\u0d9a\\u0dca\\u0dad\\u0ddd\\u0db6\\u0dbb\\u0dca\",\n      \"\\u0db1\\u0ddc\\u0dc0\\u0dd0\\u0db8\\u0dca\\u0db6\\u0dbb\\u0dca\",\n      \"\\u0daf\\u0dd9\\u0dc3\\u0dd0\\u0db8\\u0dca\\u0db6\\u0dbb\\u0dca\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0d89\\u0dbb\\u0dd2\\u0daf\\u0dcf\",\n      \"\\u0dc3\\u0db3\\u0dd4\\u0daf\\u0dcf\",\n      \"\\u0d85\\u0d9f\\u0dc4\",\n      \"\\u0db6\\u0daf\\u0dcf\\u0daf\\u0dcf\",\n      \"\\u0db6\\u0dca\\u200d\\u0dbb\\u0dc4\\u0dc3\\u0dca\",\n      \"\\u0dc3\\u0dd2\\u0d9a\\u0dd4\",\n      \"\\u0dc3\\u0dd9\\u0db1\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0da2\\u0db1\",\n      \"\\u0db4\\u0dd9\\u0db6\",\n      \"\\u0db8\\u0dcf\\u0dbb\\u0dca\\u0dad\\u0dd4\",\n      \"\\u0d85\\u0db4\\u0dca\\u200d\\u0dbb\\u0dda\\u0dbd\\u0dca\",\n      \"\\u0db8\\u0dd0\\u0dba\\u0dd2\",\n      \"\\u0da2\\u0dd6\\u0db1\\u0dd2\",\n      \"\\u0da2\\u0dd6\\u0dbd\\u0dd2\",\n      \"\\u0d85\\u0d9c\\u0ddd\",\n      \"\\u0dc3\\u0dd0\\u0db4\\u0dca\",\n      \"\\u0d94\\u0d9a\\u0dca\",\n      \"\\u0db1\\u0ddc\\u0dc0\\u0dd0\",\n      \"\\u0daf\\u0dd9\\u0dc3\\u0dd0\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d a h.mm.ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"a h.mm.ss\",\n    \"short\": \"y-MM-dd a h.mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"a h.mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Rs\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"si\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if ((n == 0 || n == 1) || i == 0 && vf.f == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sk-sk.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"dopoludnia\",\n      \"odpoludnia\"\n    ],\n    \"DAY\": [\n      \"nede\\u013ea\",\n      \"pondelok\",\n      \"utorok\",\n      \"streda\",\n      \"\\u0161tvrtok\",\n      \"piatok\",\n      \"sobota\"\n    ],\n    \"ERANAMES\": [\n      \"pred Kristom\",\n      \"po Kristovi\"\n    ],\n    \"ERAS\": [\n      \"pred Kr.\",\n      \"po Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janu\\u00e1ra\",\n      \"febru\\u00e1ra\",\n      \"marca\",\n      \"apr\\u00edla\",\n      \"m\\u00e1ja\",\n      \"j\\u00fana\",\n      \"j\\u00fala\",\n      \"augusta\",\n      \"septembra\",\n      \"okt\\u00f3bra\",\n      \"novembra\",\n      \"decembra\"\n    ],\n    \"SHORTDAY\": [\n      \"ne\",\n      \"po\",\n      \"ut\",\n      \"st\",\n      \"\\u0161t\",\n      \"pi\",\n      \"so\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"feb\",\n      \"mar\",\n      \"apr\",\n      \"m\\u00e1j\",\n      \"j\\u00fan\",\n      \"j\\u00fal\",\n      \"aug\",\n      \"sep\",\n      \"okt\",\n      \"nov\",\n      \"dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d. M. y H:mm:ss\",\n    \"mediumDate\": \"d. M. y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"dd.MM.yy H:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"sk-sk\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  if (i >= 2 && i <= 4 && vf.v == 0) {    return PLURAL_CATEGORY.FEW;  }  if (vf.v != 0) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sk.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"dopoludnia\",\n      \"odpoludnia\"\n    ],\n    \"DAY\": [\n      \"nede\\u013ea\",\n      \"pondelok\",\n      \"utorok\",\n      \"streda\",\n      \"\\u0161tvrtok\",\n      \"piatok\",\n      \"sobota\"\n    ],\n    \"ERANAMES\": [\n      \"pred Kristom\",\n      \"po Kristovi\"\n    ],\n    \"ERAS\": [\n      \"pred Kr.\",\n      \"po Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janu\\u00e1ra\",\n      \"febru\\u00e1ra\",\n      \"marca\",\n      \"apr\\u00edla\",\n      \"m\\u00e1ja\",\n      \"j\\u00fana\",\n      \"j\\u00fala\",\n      \"augusta\",\n      \"septembra\",\n      \"okt\\u00f3bra\",\n      \"novembra\",\n      \"decembra\"\n    ],\n    \"SHORTDAY\": [\n      \"ne\",\n      \"po\",\n      \"ut\",\n      \"st\",\n      \"\\u0161t\",\n      \"pi\",\n      \"so\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"feb\",\n      \"mar\",\n      \"apr\",\n      \"m\\u00e1j\",\n      \"j\\u00fan\",\n      \"j\\u00fal\",\n      \"aug\",\n      \"sep\",\n      \"okt\",\n      \"nov\",\n      \"dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d. M. y H:mm:ss\",\n    \"mediumDate\": \"d. M. y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"dd.MM.yy H:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"sk\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  if (i >= 2 && i <= 4 && vf.v == 0) {    return PLURAL_CATEGORY.FEW;  }  if (vf.v != 0) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sl-si.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"dop.\",\n      \"pop.\"\n    ],\n    \"DAY\": [\n      \"nedelja\",\n      \"ponedeljek\",\n      \"torek\",\n      \"sreda\",\n      \"\\u010detrtek\",\n      \"petek\",\n      \"sobota\"\n    ],\n    \"ERANAMES\": [\n      \"pred na\\u0161im \\u0161tetjem\",\n      \"na\\u0161e \\u0161tetje\"\n    ],\n    \"ERAS\": [\n      \"pr. n. \\u0161t.\",\n      \"po Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januar\",\n      \"februar\",\n      \"marec\",\n      \"april\",\n      \"maj\",\n      \"junij\",\n      \"julij\",\n      \"avgust\",\n      \"september\",\n      \"oktober\",\n      \"november\",\n      \"december\"\n    ],\n    \"SHORTDAY\": [\n      \"ned.\",\n      \"pon.\",\n      \"tor.\",\n      \"sre.\",\n      \"\\u010det.\",\n      \"pet.\",\n      \"sob.\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"mar.\",\n      \"apr.\",\n      \"maj\",\n      \"jun.\",\n      \"jul.\",\n      \"avg.\",\n      \"sep.\",\n      \"okt.\",\n      \"nov.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd. MMMM y\",\n    \"longDate\": \"dd. MMMM y\",\n    \"medium\": \"d. MMM y HH:mm:ss\",\n    \"mediumDate\": \"d. MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d. MM. yy HH:mm\",\n    \"shortDate\": \"d. MM. yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"sl-si\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 100 == 1) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 100 == 2) {    return PLURAL_CATEGORY.TWO;  }  if (vf.v == 0 && i % 100 >= 3 && i % 100 <= 4 || vf.v != 0) {    return PLURAL_CATEGORY.FEW;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sl.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"dop.\",\n      \"pop.\"\n    ],\n    \"DAY\": [\n      \"nedelja\",\n      \"ponedeljek\",\n      \"torek\",\n      \"sreda\",\n      \"\\u010detrtek\",\n      \"petek\",\n      \"sobota\"\n    ],\n    \"ERANAMES\": [\n      \"pred na\\u0161im \\u0161tetjem\",\n      \"na\\u0161e \\u0161tetje\"\n    ],\n    \"ERAS\": [\n      \"pr. n. \\u0161t.\",\n      \"po Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januar\",\n      \"februar\",\n      \"marec\",\n      \"april\",\n      \"maj\",\n      \"junij\",\n      \"julij\",\n      \"avgust\",\n      \"september\",\n      \"oktober\",\n      \"november\",\n      \"december\"\n    ],\n    \"SHORTDAY\": [\n      \"ned.\",\n      \"pon.\",\n      \"tor.\",\n      \"sre.\",\n      \"\\u010det.\",\n      \"pet.\",\n      \"sob.\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"mar.\",\n      \"apr.\",\n      \"maj\",\n      \"jun.\",\n      \"jul.\",\n      \"avg.\",\n      \"sep.\",\n      \"okt.\",\n      \"nov.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd. MMMM y\",\n    \"longDate\": \"dd. MMMM y\",\n    \"medium\": \"d. MMM y HH:mm:ss\",\n    \"mediumDate\": \"d. MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d. MM. yy HH:mm\",\n    \"shortDate\": \"d. MM. yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"sl\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 100 == 1) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 100 == 2) {    return PLURAL_CATEGORY.TWO;  }  if (vf.v == 0 && i % 100 >= 3 && i % 100 <= 4 || vf.v != 0) {    return PLURAL_CATEGORY.FEW;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_smn-fi.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"pasepeeivi\",\n      \"vuossaarg\\u00e2\",\n      \"majebaarg\\u00e2\",\n      \"koskoho\",\n      \"tuor\\u00e2stuv\",\n      \"v\\u00e1stuppeeivi\",\n      \"l\\u00e1vurduv\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"M01\",\n      \"M02\",\n      \"M03\",\n      \"M04\",\n      \"M05\",\n      \"M06\",\n      \"M07\",\n      \"M08\",\n      \"M09\",\n      \"M10\",\n      \"M11\",\n      \"M12\"\n    ],\n    \"SHORTDAY\": [\n      \"pa\",\n      \"vu\",\n      \"ma\",\n      \"ko\",\n      \"tu\",\n      \"v\\u00e1\",\n      \"l\\u00e1\"\n    ],\n    \"SHORTMONTH\": [\n      \"M01\",\n      \"M02\",\n      \"M03\",\n      \"M04\",\n      \"M05\",\n      \"M06\",\n      \"M07\",\n      \"M08\",\n      \"M09\",\n      \"M10\",\n      \"M11\",\n      \"M12\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"smn-fi\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_smn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"pasepeeivi\",\n      \"vuossaarg\\u00e2\",\n      \"majebaarg\\u00e2\",\n      \"koskoho\",\n      \"tuor\\u00e2stuv\",\n      \"v\\u00e1stuppeeivi\",\n      \"l\\u00e1vurduv\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"M01\",\n      \"M02\",\n      \"M03\",\n      \"M04\",\n      \"M05\",\n      \"M06\",\n      \"M07\",\n      \"M08\",\n      \"M09\",\n      \"M10\",\n      \"M11\",\n      \"M12\"\n    ],\n    \"SHORTDAY\": [\n      \"pa\",\n      \"vu\",\n      \"ma\",\n      \"ko\",\n      \"tu\",\n      \"v\\u00e1\",\n      \"l\\u00e1\"\n    ],\n    \"SHORTMONTH\": [\n      \"M01\",\n      \"M02\",\n      \"M03\",\n      \"M04\",\n      \"M05\",\n      \"M06\",\n      \"M07\",\n      \"M08\",\n      \"M09\",\n      \"M10\",\n      \"M11\",\n      \"M12\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"smn\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sn-zw.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Svondo\",\n      \"Muvhuro\",\n      \"Chipiri\",\n      \"Chitatu\",\n      \"China\",\n      \"Chishanu\",\n      \"Mugovera\"\n    ],\n    \"ERANAMES\": [\n      \"Kristo asati auya\",\n      \"Kristo ashaya\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Ndira\",\n      \"Kukadzi\",\n      \"Kurume\",\n      \"Kubvumbi\",\n      \"Chivabvu\",\n      \"Chikumi\",\n      \"Chikunguru\",\n      \"Nyamavhuvhu\",\n      \"Gunyana\",\n      \"Gumiguru\",\n      \"Mbudzi\",\n      \"Zvita\"\n    ],\n    \"SHORTDAY\": [\n      \"Svo\",\n      \"Muv\",\n      \"Chip\",\n      \"Chit\",\n      \"Chin\",\n      \"Chis\",\n      \"Mug\"\n    ],\n    \"SHORTMONTH\": [\n      \"Ndi\",\n      \"Kuk\",\n      \"Kur\",\n      \"Kub\",\n      \"Chv\",\n      \"Chk\",\n      \"Chg\",\n      \"Nya\",\n      \"Gun\",\n      \"Gum\",\n      \"Mb\",\n      \"Zvi\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"sn-zw\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Svondo\",\n      \"Muvhuro\",\n      \"Chipiri\",\n      \"Chitatu\",\n      \"China\",\n      \"Chishanu\",\n      \"Mugovera\"\n    ],\n    \"ERANAMES\": [\n      \"Kristo asati auya\",\n      \"Kristo ashaya\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Ndira\",\n      \"Kukadzi\",\n      \"Kurume\",\n      \"Kubvumbi\",\n      \"Chivabvu\",\n      \"Chikumi\",\n      \"Chikunguru\",\n      \"Nyamavhuvhu\",\n      \"Gunyana\",\n      \"Gumiguru\",\n      \"Mbudzi\",\n      \"Zvita\"\n    ],\n    \"SHORTDAY\": [\n      \"Svo\",\n      \"Muv\",\n      \"Chip\",\n      \"Chit\",\n      \"Chin\",\n      \"Chis\",\n      \"Mug\"\n    ],\n    \"SHORTMONTH\": [\n      \"Ndi\",\n      \"Kuk\",\n      \"Kur\",\n      \"Kub\",\n      \"Chv\",\n      \"Chk\",\n      \"Chg\",\n      \"Nya\",\n      \"Gun\",\n      \"Gum\",\n      \"Mb\",\n      \"Zvi\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"sn\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_so-dj.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"sn.\",\n      \"gn.\"\n    ],\n    \"DAY\": [\n      \"Axad\",\n      \"Isniin\",\n      \"Talaado\",\n      \"Arbaco\",\n      \"Khamiis\",\n      \"Jimco\",\n      \"Sabti\"\n    ],\n    \"ERANAMES\": [\n      \"Ciise ka hor (CS)\",\n      \"Ciise ka dib (CS)\"\n    ],\n    \"ERAS\": [\n      \"CK\",\n      \"CD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Bisha Koobaad\",\n      \"Bisha Labaad\",\n      \"Bisha Saddexaad\",\n      \"Bisha Afraad\",\n      \"Bisha Shanaad\",\n      \"Bisha Lixaad\",\n      \"Bisha Todobaad\",\n      \"Bisha Sideedaad\",\n      \"Bisha Sagaalaad\",\n      \"Bisha Tobnaad\",\n      \"Bisha Kow iyo Tobnaad\",\n      \"Bisha Laba iyo Tobnaad\"\n    ],\n    \"SHORTDAY\": [\n      \"Axd\",\n      \"Isn\",\n      \"Tal\",\n      \"Arb\",\n      \"Kha\",\n      \"Jim\",\n      \"Sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Kob\",\n      \"Lab\",\n      \"Sad\",\n      \"Afr\",\n      \"Sha\",\n      \"Lix\",\n      \"Tod\",\n      \"Sid\",\n      \"Sag\",\n      \"Tob\",\n      \"KIT\",\n      \"LIT\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM dd, y\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd-MMM-y h:mm:ss a\",\n    \"mediumDate\": \"dd-MMM-y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Fdj\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"so-dj\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_so-et.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"sn.\",\n      \"gn.\"\n    ],\n    \"DAY\": [\n      \"Axad\",\n      \"Isniin\",\n      \"Talaado\",\n      \"Arbaco\",\n      \"Khamiis\",\n      \"Jimco\",\n      \"Sabti\"\n    ],\n    \"ERANAMES\": [\n      \"Ciise ka hor (CS)\",\n      \"Ciise ka dib (CS)\"\n    ],\n    \"ERAS\": [\n      \"CK\",\n      \"CD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Bisha Koobaad\",\n      \"Bisha Labaad\",\n      \"Bisha Saddexaad\",\n      \"Bisha Afraad\",\n      \"Bisha Shanaad\",\n      \"Bisha Lixaad\",\n      \"Bisha Todobaad\",\n      \"Bisha Sideedaad\",\n      \"Bisha Sagaalaad\",\n      \"Bisha Tobnaad\",\n      \"Bisha Kow iyo Tobnaad\",\n      \"Bisha Laba iyo Tobnaad\"\n    ],\n    \"SHORTDAY\": [\n      \"Axd\",\n      \"Isn\",\n      \"Tal\",\n      \"Arb\",\n      \"Kha\",\n      \"Jim\",\n      \"Sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Kob\",\n      \"Lab\",\n      \"Sad\",\n      \"Afr\",\n      \"Sha\",\n      \"Lix\",\n      \"Tod\",\n      \"Sid\",\n      \"Sag\",\n      \"Tob\",\n      \"KIT\",\n      \"LIT\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM dd, y\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd-MMM-y h:mm:ss a\",\n    \"mediumDate\": \"dd-MMM-y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Birr\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"so-et\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_so-ke.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"sn.\",\n      \"gn.\"\n    ],\n    \"DAY\": [\n      \"Axad\",\n      \"Isniin\",\n      \"Talaado\",\n      \"Arbaco\",\n      \"Khamiis\",\n      \"Jimco\",\n      \"Sabti\"\n    ],\n    \"ERANAMES\": [\n      \"Ciise ka hor (CS)\",\n      \"Ciise ka dib (CS)\"\n    ],\n    \"ERAS\": [\n      \"CK\",\n      \"CD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Bisha Koobaad\",\n      \"Bisha Labaad\",\n      \"Bisha Saddexaad\",\n      \"Bisha Afraad\",\n      \"Bisha Shanaad\",\n      \"Bisha Lixaad\",\n      \"Bisha Todobaad\",\n      \"Bisha Sideedaad\",\n      \"Bisha Sagaalaad\",\n      \"Bisha Tobnaad\",\n      \"Bisha Kow iyo Tobnaad\",\n      \"Bisha Laba iyo Tobnaad\"\n    ],\n    \"SHORTDAY\": [\n      \"Axd\",\n      \"Isn\",\n      \"Tal\",\n      \"Arb\",\n      \"Kha\",\n      \"Jim\",\n      \"Sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Kob\",\n      \"Lab\",\n      \"Sad\",\n      \"Afr\",\n      \"Sha\",\n      \"Lix\",\n      \"Tod\",\n      \"Sid\",\n      \"Sag\",\n      \"Tob\",\n      \"KIT\",\n      \"LIT\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM dd, y\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd-MMM-y h:mm:ss a\",\n    \"mediumDate\": \"dd-MMM-y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ksh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"so-ke\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_so-so.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"sn.\",\n      \"gn.\"\n    ],\n    \"DAY\": [\n      \"Axad\",\n      \"Isniin\",\n      \"Talaado\",\n      \"Arbaco\",\n      \"Khamiis\",\n      \"Jimco\",\n      \"Sabti\"\n    ],\n    \"ERANAMES\": [\n      \"Ciise ka hor (CS)\",\n      \"Ciise ka dib (CS)\"\n    ],\n    \"ERAS\": [\n      \"CK\",\n      \"CD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Bisha Koobaad\",\n      \"Bisha Labaad\",\n      \"Bisha Saddexaad\",\n      \"Bisha Afraad\",\n      \"Bisha Shanaad\",\n      \"Bisha Lixaad\",\n      \"Bisha Todobaad\",\n      \"Bisha Sideedaad\",\n      \"Bisha Sagaalaad\",\n      \"Bisha Tobnaad\",\n      \"Bisha Kow iyo Tobnaad\",\n      \"Bisha Laba iyo Tobnaad\"\n    ],\n    \"SHORTDAY\": [\n      \"Axd\",\n      \"Isn\",\n      \"Tal\",\n      \"Arb\",\n      \"Kha\",\n      \"Jim\",\n      \"Sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Kob\",\n      \"Lab\",\n      \"Sad\",\n      \"Afr\",\n      \"Sha\",\n      \"Lix\",\n      \"Tod\",\n      \"Sid\",\n      \"Sag\",\n      \"Tob\",\n      \"KIT\",\n      \"LIT\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM dd, y\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd-MMM-y h:mm:ss a\",\n    \"mediumDate\": \"dd-MMM-y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"SOS\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"so-so\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_so.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"sn.\",\n      \"gn.\"\n    ],\n    \"DAY\": [\n      \"Axad\",\n      \"Isniin\",\n      \"Talaado\",\n      \"Arbaco\",\n      \"Khamiis\",\n      \"Jimco\",\n      \"Sabti\"\n    ],\n    \"ERANAMES\": [\n      \"Ciise ka hor (CS)\",\n      \"Ciise ka dib (CS)\"\n    ],\n    \"ERAS\": [\n      \"CK\",\n      \"CD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Bisha Koobaad\",\n      \"Bisha Labaad\",\n      \"Bisha Saddexaad\",\n      \"Bisha Afraad\",\n      \"Bisha Shanaad\",\n      \"Bisha Lixaad\",\n      \"Bisha Todobaad\",\n      \"Bisha Sideedaad\",\n      \"Bisha Sagaalaad\",\n      \"Bisha Tobnaad\",\n      \"Bisha Kow iyo Tobnaad\",\n      \"Bisha Laba iyo Tobnaad\"\n    ],\n    \"SHORTDAY\": [\n      \"Axd\",\n      \"Isn\",\n      \"Tal\",\n      \"Arb\",\n      \"Kha\",\n      \"Jim\",\n      \"Sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Kob\",\n      \"Lab\",\n      \"Sad\",\n      \"Afr\",\n      \"Sha\",\n      \"Lix\",\n      \"Tod\",\n      \"Sid\",\n      \"Sag\",\n      \"Tob\",\n      \"KIT\",\n      \"LIT\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM dd, y\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd-MMM-y h:mm:ss a\",\n    \"mediumDate\": \"dd-MMM-y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"SOS\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"so\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sq-al.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"paradite\",\n      \"pasdite\"\n    ],\n    \"DAY\": [\n      \"e diel\",\n      \"e h\\u00ebn\\u00eb\",\n      \"e mart\\u00eb\",\n      \"e m\\u00ebrkur\\u00eb\",\n      \"e enjte\",\n      \"e premte\",\n      \"e shtun\\u00eb\"\n    ],\n    \"ERANAMES\": [\n      \"para er\\u00ebs s\\u00eb re\",\n      \"er\\u00ebs s\\u00eb re\"\n    ],\n    \"ERAS\": [\n      \"p.e.r.\",\n      \"e.r.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janar\",\n      \"shkurt\",\n      \"mars\",\n      \"prill\",\n      \"maj\",\n      \"qershor\",\n      \"korrik\",\n      \"gusht\",\n      \"shtator\",\n      \"tetor\",\n      \"n\\u00ebntor\",\n      \"dhjetor\"\n    ],\n    \"SHORTDAY\": [\n      \"Die\",\n      \"H\\u00ebn\",\n      \"Mar\",\n      \"M\\u00ebr\",\n      \"Enj\",\n      \"Pre\",\n      \"Sht\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Shk\",\n      \"Mar\",\n      \"Pri\",\n      \"Maj\",\n      \"Qer\",\n      \"Kor\",\n      \"Gsh\",\n      \"Sht\",\n      \"Tet\",\n      \"N\\u00ebn\",\n      \"Dhj\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d.M.yy HH:mm\",\n    \"shortDate\": \"d.M.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Lek\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"sq-al\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sq-mk.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"paradite\",\n      \"pasdite\"\n    ],\n    \"DAY\": [\n      \"e diel\",\n      \"e h\\u00ebn\\u00eb\",\n      \"e mart\\u00eb\",\n      \"e m\\u00ebrkur\\u00eb\",\n      \"e enjte\",\n      \"e premte\",\n      \"e shtun\\u00eb\"\n    ],\n    \"ERANAMES\": [\n      \"para er\\u00ebs s\\u00eb re\",\n      \"er\\u00ebs s\\u00eb re\"\n    ],\n    \"ERAS\": [\n      \"p.e.r.\",\n      \"e.r.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janar\",\n      \"shkurt\",\n      \"mars\",\n      \"prill\",\n      \"maj\",\n      \"qershor\",\n      \"korrik\",\n      \"gusht\",\n      \"shtator\",\n      \"tetor\",\n      \"n\\u00ebntor\",\n      \"dhjetor\"\n    ],\n    \"SHORTDAY\": [\n      \"Die\",\n      \"H\\u00ebn\",\n      \"Mar\",\n      \"M\\u00ebr\",\n      \"Enj\",\n      \"Pre\",\n      \"Sht\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Shk\",\n      \"Mar\",\n      \"Pri\",\n      \"Maj\",\n      \"Qer\",\n      \"Kor\",\n      \"Gsh\",\n      \"Sht\",\n      \"Tet\",\n      \"N\\u00ebn\",\n      \"Dhj\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d.M.yy HH:mm\",\n    \"shortDate\": \"d.M.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"din\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"sq-mk\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sq-xk.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"paradite\",\n      \"pasdite\"\n    ],\n    \"DAY\": [\n      \"e diel\",\n      \"e h\\u00ebn\\u00eb\",\n      \"e mart\\u00eb\",\n      \"e m\\u00ebrkur\\u00eb\",\n      \"e enjte\",\n      \"e premte\",\n      \"e shtun\\u00eb\"\n    ],\n    \"ERANAMES\": [\n      \"para er\\u00ebs s\\u00eb re\",\n      \"er\\u00ebs s\\u00eb re\"\n    ],\n    \"ERAS\": [\n      \"p.e.r.\",\n      \"e.r.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janar\",\n      \"shkurt\",\n      \"mars\",\n      \"prill\",\n      \"maj\",\n      \"qershor\",\n      \"korrik\",\n      \"gusht\",\n      \"shtator\",\n      \"tetor\",\n      \"n\\u00ebntor\",\n      \"dhjetor\"\n    ],\n    \"SHORTDAY\": [\n      \"Die\",\n      \"H\\u00ebn\",\n      \"Mar\",\n      \"M\\u00ebr\",\n      \"Enj\",\n      \"Pre\",\n      \"Sht\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Shk\",\n      \"Mar\",\n      \"Pri\",\n      \"Maj\",\n      \"Qer\",\n      \"Kor\",\n      \"Gsh\",\n      \"Sht\",\n      \"Tet\",\n      \"N\\u00ebn\",\n      \"Dhj\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d.M.yy HH:mm\",\n    \"shortDate\": \"d.M.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"sq-xk\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sq.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"paradite\",\n      \"pasdite\"\n    ],\n    \"DAY\": [\n      \"e diel\",\n      \"e h\\u00ebn\\u00eb\",\n      \"e mart\\u00eb\",\n      \"e m\\u00ebrkur\\u00eb\",\n      \"e enjte\",\n      \"e premte\",\n      \"e shtun\\u00eb\"\n    ],\n    \"ERANAMES\": [\n      \"para er\\u00ebs s\\u00eb re\",\n      \"er\\u00ebs s\\u00eb re\"\n    ],\n    \"ERAS\": [\n      \"p.e.r.\",\n      \"e.r.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janar\",\n      \"shkurt\",\n      \"mars\",\n      \"prill\",\n      \"maj\",\n      \"qershor\",\n      \"korrik\",\n      \"gusht\",\n      \"shtator\",\n      \"tetor\",\n      \"n\\u00ebntor\",\n      \"dhjetor\"\n    ],\n    \"SHORTDAY\": [\n      \"Die\",\n      \"H\\u00ebn\",\n      \"Mar\",\n      \"M\\u00ebr\",\n      \"Enj\",\n      \"Pre\",\n      \"Sht\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Shk\",\n      \"Mar\",\n      \"Pri\",\n      \"Maj\",\n      \"Qer\",\n      \"Kor\",\n      \"Gsh\",\n      \"Sht\",\n      \"Tet\",\n      \"N\\u00ebn\",\n      \"Dhj\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d.M.yy HH:mm\",\n    \"shortDate\": \"d.M.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Lek\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"sq\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sr-cyrl-ba.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u043f\\u0440\\u0435 \\u043f\\u043e\\u0434\\u043d\\u0435\",\n      \"\\u043f\\u043e \\u043f\\u043e\\u0434\\u043d\\u0435\"\n    ],\n    \"DAY\": [\n      \"\\u043d\\u0435\\u0434\\u0435\\u0459\\u0430\",\n      \"\\u043f\\u043e\\u043d\\u0435\\u0434\\u0435\\u0459\\u0430\\u043a\",\n      \"\\u0443\\u0442\\u043e\\u0440\\u0430\\u043a\",\n      \"\\u0441\\u0440\\u0435\\u0434\\u0430\",\n      \"\\u0447\\u0435\\u0442\\u0432\\u0440\\u0442\\u0430\\u043a\",\n      \"\\u043f\\u0435\\u0442\\u0430\\u043a\",\n      \"\\u0441\\u0443\\u0431\\u043e\\u0442\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u041f\\u0440\\u0435 \\u043d\\u043e\\u0432\\u0435 \\u0435\\u0440\\u0435\",\n      \"\\u041d\\u043e\\u0432\\u0435 \\u0435\\u0440\\u0435\"\n    ],\n    \"ERAS\": [\n      \"\\u043f. \\u043d. \\u0435.\",\n      \"\\u043d. \\u0435.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u0458\\u0430\\u043d\\u0443\\u0430\\u0440\",\n      \"\\u0444\\u0435\\u0431\\u0440\\u0443\\u0430\\u0440\",\n      \"\\u043c\\u0430\\u0440\\u0442\",\n      \"\\u0430\\u043f\\u0440\\u0438\\u043b\",\n      \"\\u043c\\u0430\\u0458\",\n      \"\\u0458\\u0443\\u043d\",\n      \"\\u0458\\u0443\\u043b\",\n      \"\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\",\n      \"\\u0441\\u0435\\u043f\\u0442\\u0435\\u043c\\u0431\\u0430\\u0440\",\n      \"\\u043e\\u043a\\u0442\\u043e\\u0431\\u0430\\u0440\",\n      \"\\u043d\\u043e\\u0432\\u0435\\u043c\\u0431\\u0430\\u0440\",\n      \"\\u0434\\u0435\\u0446\\u0435\\u043c\\u0431\\u0430\\u0440\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u043d\\u0435\\u0434\",\n      \"\\u043f\\u043e\\u043d\",\n      \"\\u0443\\u0442\\u043e\",\n      \"\\u0441\\u0440\\u0435\",\n      \"\\u0447\\u0435\\u0442\",\n      \"\\u043f\\u0435\\u0442\",\n      \"\\u0441\\u0443\\u0431\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0458\\u0430\\u043d\",\n      \"\\u0444\\u0435\\u0431\",\n      \"\\u043c\\u0430\\u0440\",\n      \"\\u0430\\u043f\\u0440\",\n      \"\\u043c\\u0430\\u0458\",\n      \"\\u0458\\u0443\\u043d\",\n      \"\\u0458\\u0443\\u043b\",\n      \"\\u0430\\u0432\\u0433\",\n      \"\\u0441\\u0435\\u043f\",\n      \"\\u043e\\u043a\\u0442\",\n      \"\\u043d\\u043e\\u0432\",\n      \"\\u0434\\u0435\\u0446\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd. MMMM y.\",\n    \"longDate\": \"dd. MMMM y.\",\n    \"medium\": \"dd.MM.y. HH:mm:ss\",\n    \"mediumDate\": \"dd.MM.y.\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d.M.yy. HH:mm\",\n    \"shortDate\": \"d.M.yy.\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"KM\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"sr-cyrl-ba\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sr-cyrl-me.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u043f\\u0440\\u0435 \\u043f\\u043e\\u0434\\u043d\\u0435\",\n      \"\\u043f\\u043e \\u043f\\u043e\\u0434\\u043d\\u0435\"\n    ],\n    \"DAY\": [\n      \"\\u043d\\u0435\\u0434\\u0435\\u0459\\u0430\",\n      \"\\u043f\\u043e\\u043d\\u0435\\u0434\\u0435\\u0459\\u0430\\u043a\",\n      \"\\u0443\\u0442\\u043e\\u0440\\u0430\\u043a\",\n      \"\\u0441\\u0440\\u0435\\u0434\\u0430\",\n      \"\\u0447\\u0435\\u0442\\u0432\\u0440\\u0442\\u0430\\u043a\",\n      \"\\u043f\\u0435\\u0442\\u0430\\u043a\",\n      \"\\u0441\\u0443\\u0431\\u043e\\u0442\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u041f\\u0440\\u0435 \\u043d\\u043e\\u0432\\u0435 \\u0435\\u0440\\u0435\",\n      \"\\u041d\\u043e\\u0432\\u0435 \\u0435\\u0440\\u0435\"\n    ],\n    \"ERAS\": [\n      \"\\u043f. \\u043d. \\u0435.\",\n      \"\\u043d. \\u0435.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u0458\\u0430\\u043d\\u0443\\u0430\\u0440\",\n      \"\\u0444\\u0435\\u0431\\u0440\\u0443\\u0430\\u0440\",\n      \"\\u043c\\u0430\\u0440\\u0442\",\n      \"\\u0430\\u043f\\u0440\\u0438\\u043b\",\n      \"\\u043c\\u0430\\u0458\",\n      \"\\u0458\\u0443\\u043d\",\n      \"\\u0458\\u0443\\u043b\",\n      \"\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\",\n      \"\\u0441\\u0435\\u043f\\u0442\\u0435\\u043c\\u0431\\u0430\\u0440\",\n      \"\\u043e\\u043a\\u0442\\u043e\\u0431\\u0430\\u0440\",\n      \"\\u043d\\u043e\\u0432\\u0435\\u043c\\u0431\\u0430\\u0440\",\n      \"\\u0434\\u0435\\u0446\\u0435\\u043c\\u0431\\u0430\\u0440\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u043d\\u0435\\u0434\",\n      \"\\u043f\\u043e\\u043d\",\n      \"\\u0443\\u0442\\u043e\",\n      \"\\u0441\\u0440\\u0435\",\n      \"\\u0447\\u0435\\u0442\",\n      \"\\u043f\\u0435\\u0442\",\n      \"\\u0441\\u0443\\u0431\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0458\\u0430\\u043d\",\n      \"\\u0444\\u0435\\u0431\",\n      \"\\u043c\\u0430\\u0440\",\n      \"\\u0430\\u043f\\u0440\",\n      \"\\u043c\\u0430\\u0458\",\n      \"\\u0458\\u0443\\u043d\",\n      \"\\u0458\\u0443\\u043b\",\n      \"\\u0430\\u0432\\u0433\",\n      \"\\u0441\\u0435\\u043f\",\n      \"\\u043e\\u043a\\u0442\",\n      \"\\u043d\\u043e\\u0432\",\n      \"\\u0434\\u0435\\u0446\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd. MMMM y.\",\n    \"longDate\": \"dd. MMMM y.\",\n    \"medium\": \"dd.MM.y. HH.mm.ss\",\n    \"mediumDate\": \"dd.MM.y.\",\n    \"mediumTime\": \"HH.mm.ss\",\n    \"short\": \"d.M.yy. HH.mm\",\n    \"shortDate\": \"d.M.yy.\",\n    \"shortTime\": \"HH.mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"sr-cyrl-me\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sr-cyrl-rs.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u043f\\u0440\\u0435 \\u043f\\u043e\\u0434\\u043d\\u0435\",\n      \"\\u043f\\u043e \\u043f\\u043e\\u0434\\u043d\\u0435\"\n    ],\n    \"DAY\": [\n      \"\\u043d\\u0435\\u0434\\u0435\\u0459\\u0430\",\n      \"\\u043f\\u043e\\u043d\\u0435\\u0434\\u0435\\u0459\\u0430\\u043a\",\n      \"\\u0443\\u0442\\u043e\\u0440\\u0430\\u043a\",\n      \"\\u0441\\u0440\\u0435\\u0434\\u0430\",\n      \"\\u0447\\u0435\\u0442\\u0432\\u0440\\u0442\\u0430\\u043a\",\n      \"\\u043f\\u0435\\u0442\\u0430\\u043a\",\n      \"\\u0441\\u0443\\u0431\\u043e\\u0442\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u041f\\u0440\\u0435 \\u043d\\u043e\\u0432\\u0435 \\u0435\\u0440\\u0435\",\n      \"\\u041d\\u043e\\u0432\\u0435 \\u0435\\u0440\\u0435\"\n    ],\n    \"ERAS\": [\n      \"\\u043f. \\u043d. \\u0435.\",\n      \"\\u043d. \\u0435.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u0458\\u0430\\u043d\\u0443\\u0430\\u0440\",\n      \"\\u0444\\u0435\\u0431\\u0440\\u0443\\u0430\\u0440\",\n      \"\\u043c\\u0430\\u0440\\u0442\",\n      \"\\u0430\\u043f\\u0440\\u0438\\u043b\",\n      \"\\u043c\\u0430\\u0458\",\n      \"\\u0458\\u0443\\u043d\",\n      \"\\u0458\\u0443\\u043b\",\n      \"\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\",\n      \"\\u0441\\u0435\\u043f\\u0442\\u0435\\u043c\\u0431\\u0430\\u0440\",\n      \"\\u043e\\u043a\\u0442\\u043e\\u0431\\u0430\\u0440\",\n      \"\\u043d\\u043e\\u0432\\u0435\\u043c\\u0431\\u0430\\u0440\",\n      \"\\u0434\\u0435\\u0446\\u0435\\u043c\\u0431\\u0430\\u0440\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u043d\\u0435\\u0434\",\n      \"\\u043f\\u043e\\u043d\",\n      \"\\u0443\\u0442\\u043e\",\n      \"\\u0441\\u0440\\u0435\",\n      \"\\u0447\\u0435\\u0442\",\n      \"\\u043f\\u0435\\u0442\",\n      \"\\u0441\\u0443\\u0431\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0458\\u0430\\u043d\",\n      \"\\u0444\\u0435\\u0431\",\n      \"\\u043c\\u0430\\u0440\",\n      \"\\u0430\\u043f\\u0440\",\n      \"\\u043c\\u0430\\u0458\",\n      \"\\u0458\\u0443\\u043d\",\n      \"\\u0458\\u0443\\u043b\",\n      \"\\u0430\\u0432\\u0433\",\n      \"\\u0441\\u0435\\u043f\",\n      \"\\u043e\\u043a\\u0442\",\n      \"\\u043d\\u043e\\u0432\",\n      \"\\u0434\\u0435\\u0446\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd. MMMM y.\",\n    \"longDate\": \"dd. MMMM y.\",\n    \"medium\": \"dd.MM.y. HH.mm.ss\",\n    \"mediumDate\": \"dd.MM.y.\",\n    \"mediumTime\": \"HH.mm.ss\",\n    \"short\": \"d.M.yy. HH.mm\",\n    \"shortDate\": \"d.M.yy.\",\n    \"shortTime\": \"HH.mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"din\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"sr-cyrl-rs\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sr-cyrl-xk.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u043f\\u0440\\u0435 \\u043f\\u043e\\u0434\\u043d\\u0435\",\n      \"\\u043f\\u043e \\u043f\\u043e\\u0434\\u043d\\u0435\"\n    ],\n    \"DAY\": [\n      \"\\u043d\\u0435\\u0434\\u0435\\u0459\\u0430\",\n      \"\\u043f\\u043e\\u043d\\u0435\\u0434\\u0435\\u0459\\u0430\\u043a\",\n      \"\\u0443\\u0442\\u043e\\u0440\\u0430\\u043a\",\n      \"\\u0441\\u0440\\u0435\\u0434\\u0430\",\n      \"\\u0447\\u0435\\u0442\\u0432\\u0440\\u0442\\u0430\\u043a\",\n      \"\\u043f\\u0435\\u0442\\u0430\\u043a\",\n      \"\\u0441\\u0443\\u0431\\u043e\\u0442\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u041f\\u0440\\u0435 \\u043d\\u043e\\u0432\\u0435 \\u0435\\u0440\\u0435\",\n      \"\\u041d\\u043e\\u0432\\u0435 \\u0435\\u0440\\u0435\"\n    ],\n    \"ERAS\": [\n      \"\\u043f. \\u043d. \\u0435.\",\n      \"\\u043d. \\u0435.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u0458\\u0430\\u043d\\u0443\\u0430\\u0440\",\n      \"\\u0444\\u0435\\u0431\\u0440\\u0443\\u0430\\u0440\",\n      \"\\u043c\\u0430\\u0440\\u0442\",\n      \"\\u0430\\u043f\\u0440\\u0438\\u043b\",\n      \"\\u043c\\u0430\\u0458\",\n      \"\\u0458\\u0443\\u043d\",\n      \"\\u0458\\u0443\\u043b\",\n      \"\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\",\n      \"\\u0441\\u0435\\u043f\\u0442\\u0435\\u043c\\u0431\\u0430\\u0440\",\n      \"\\u043e\\u043a\\u0442\\u043e\\u0431\\u0430\\u0440\",\n      \"\\u043d\\u043e\\u0432\\u0435\\u043c\\u0431\\u0430\\u0440\",\n      \"\\u0434\\u0435\\u0446\\u0435\\u043c\\u0431\\u0430\\u0440\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u043d\\u0435\\u0434\",\n      \"\\u043f\\u043e\\u043d\",\n      \"\\u0443\\u0442\\u043e\",\n      \"\\u0441\\u0440\\u0435\",\n      \"\\u0447\\u0435\\u0442\",\n      \"\\u043f\\u0435\\u0442\",\n      \"\\u0441\\u0443\\u0431\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0458\\u0430\\u043d\",\n      \"\\u0444\\u0435\\u0431\",\n      \"\\u043c\\u0430\\u0440\",\n      \"\\u0430\\u043f\\u0440\",\n      \"\\u043c\\u0430\\u0458\",\n      \"\\u0458\\u0443\\u043d\",\n      \"\\u0458\\u0443\\u043b\",\n      \"\\u0430\\u0432\\u0433\",\n      \"\\u0441\\u0435\\u043f\",\n      \"\\u043e\\u043a\\u0442\",\n      \"\\u043d\\u043e\\u0432\",\n      \"\\u0434\\u0435\\u0446\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd. MMMM y.\",\n    \"longDate\": \"dd. MMMM y.\",\n    \"medium\": \"dd.MM.y. HH.mm.ss\",\n    \"mediumDate\": \"dd.MM.y.\",\n    \"mediumTime\": \"HH.mm.ss\",\n    \"short\": \"d.M.yy. HH.mm\",\n    \"shortDate\": \"d.M.yy.\",\n    \"shortTime\": \"HH.mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"sr-cyrl-xk\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sr-cyrl.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u043f\\u0440\\u0435 \\u043f\\u043e\\u0434\\u043d\\u0435\",\n      \"\\u043f\\u043e \\u043f\\u043e\\u0434\\u043d\\u0435\"\n    ],\n    \"DAY\": [\n      \"\\u043d\\u0435\\u0434\\u0435\\u0459\\u0430\",\n      \"\\u043f\\u043e\\u043d\\u0435\\u0434\\u0435\\u0459\\u0430\\u043a\",\n      \"\\u0443\\u0442\\u043e\\u0440\\u0430\\u043a\",\n      \"\\u0441\\u0440\\u0435\\u0434\\u0430\",\n      \"\\u0447\\u0435\\u0442\\u0432\\u0440\\u0442\\u0430\\u043a\",\n      \"\\u043f\\u0435\\u0442\\u0430\\u043a\",\n      \"\\u0441\\u0443\\u0431\\u043e\\u0442\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u041f\\u0440\\u0435 \\u043d\\u043e\\u0432\\u0435 \\u0435\\u0440\\u0435\",\n      \"\\u041d\\u043e\\u0432\\u0435 \\u0435\\u0440\\u0435\"\n    ],\n    \"ERAS\": [\n      \"\\u043f. \\u043d. \\u0435.\",\n      \"\\u043d. \\u0435.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u0458\\u0430\\u043d\\u0443\\u0430\\u0440\",\n      \"\\u0444\\u0435\\u0431\\u0440\\u0443\\u0430\\u0440\",\n      \"\\u043c\\u0430\\u0440\\u0442\",\n      \"\\u0430\\u043f\\u0440\\u0438\\u043b\",\n      \"\\u043c\\u0430\\u0458\",\n      \"\\u0458\\u0443\\u043d\",\n      \"\\u0458\\u0443\\u043b\",\n      \"\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\",\n      \"\\u0441\\u0435\\u043f\\u0442\\u0435\\u043c\\u0431\\u0430\\u0440\",\n      \"\\u043e\\u043a\\u0442\\u043e\\u0431\\u0430\\u0440\",\n      \"\\u043d\\u043e\\u0432\\u0435\\u043c\\u0431\\u0430\\u0440\",\n      \"\\u0434\\u0435\\u0446\\u0435\\u043c\\u0431\\u0430\\u0440\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u043d\\u0435\\u0434\",\n      \"\\u043f\\u043e\\u043d\",\n      \"\\u0443\\u0442\\u043e\",\n      \"\\u0441\\u0440\\u0435\",\n      \"\\u0447\\u0435\\u0442\",\n      \"\\u043f\\u0435\\u0442\",\n      \"\\u0441\\u0443\\u0431\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0458\\u0430\\u043d\",\n      \"\\u0444\\u0435\\u0431\",\n      \"\\u043c\\u0430\\u0440\",\n      \"\\u0430\\u043f\\u0440\",\n      \"\\u043c\\u0430\\u0458\",\n      \"\\u0458\\u0443\\u043d\",\n      \"\\u0458\\u0443\\u043b\",\n      \"\\u0430\\u0432\\u0433\",\n      \"\\u0441\\u0435\\u043f\",\n      \"\\u043e\\u043a\\u0442\",\n      \"\\u043d\\u043e\\u0432\",\n      \"\\u0434\\u0435\\u0446\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd. MMMM y.\",\n    \"longDate\": \"dd. MMMM y.\",\n    \"medium\": \"dd.MM.y. HH.mm.ss\",\n    \"mediumDate\": \"dd.MM.y.\",\n    \"mediumTime\": \"HH.mm.ss\",\n    \"short\": \"d.M.yy. HH.mm\",\n    \"shortDate\": \"d.M.yy.\",\n    \"shortTime\": \"HH.mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"din\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"sr-cyrl\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sr-latn-ba.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"pre podne\",\n      \"po podne\"\n    ],\n    \"DAY\": [\n      \"nedelja\",\n      \"ponedeljak\",\n      \"utorak\",\n      \"sreda\",\n      \"\\u010detvrtak\",\n      \"petak\",\n      \"subota\"\n    ],\n    \"ERANAMES\": [\n      \"Pre nove ere\",\n      \"Nove ere\"\n    ],\n    \"ERAS\": [\n      \"p. n. e.\",\n      \"n. e.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januar\",\n      \"februar\",\n      \"mart\",\n      \"april\",\n      \"maj\",\n      \"jun\",\n      \"jul\",\n      \"avgust\",\n      \"septembar\",\n      \"oktobar\",\n      \"novembar\",\n      \"decembar\"\n    ],\n    \"SHORTDAY\": [\n      \"ned\",\n      \"pon\",\n      \"uto\",\n      \"sre\",\n      \"\\u010det\",\n      \"pet\",\n      \"sub\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"feb\",\n      \"mar\",\n      \"apr\",\n      \"maj\",\n      \"jun\",\n      \"jul\",\n      \"avg\",\n      \"sep\",\n      \"okt\",\n      \"nov\",\n      \"dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd. MMMM y.\",\n    \"longDate\": \"dd. MMMM y.\",\n    \"medium\": \"dd.MM.y. HH:mm:ss\",\n    \"mediumDate\": \"dd.MM.y.\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d.M.yy. HH:mm\",\n    \"shortDate\": \"d.M.yy.\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"KM\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"sr-latn-ba\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sr-latn-me.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"pre podne\",\n      \"po podne\"\n    ],\n    \"DAY\": [\n      \"nedelja\",\n      \"ponedeljak\",\n      \"utorak\",\n      \"sreda\",\n      \"\\u010detvrtak\",\n      \"petak\",\n      \"subota\"\n    ],\n    \"ERANAMES\": [\n      \"Pre nove ere\",\n      \"Nove ere\"\n    ],\n    \"ERAS\": [\n      \"p. n. e.\",\n      \"n. e.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januar\",\n      \"februar\",\n      \"mart\",\n      \"april\",\n      \"maj\",\n      \"jun\",\n      \"jul\",\n      \"avgust\",\n      \"septembar\",\n      \"oktobar\",\n      \"novembar\",\n      \"decembar\"\n    ],\n    \"SHORTDAY\": [\n      \"ned\",\n      \"pon\",\n      \"uto\",\n      \"sre\",\n      \"\\u010det\",\n      \"pet\",\n      \"sub\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"feb\",\n      \"mar\",\n      \"apr\",\n      \"maj\",\n      \"jun\",\n      \"jul\",\n      \"avg\",\n      \"sep\",\n      \"okt\",\n      \"nov\",\n      \"dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd. MMMM y.\",\n    \"longDate\": \"dd. MMMM y.\",\n    \"medium\": \"dd.MM.y. HH.mm.ss\",\n    \"mediumDate\": \"dd.MM.y.\",\n    \"mediumTime\": \"HH.mm.ss\",\n    \"short\": \"d.M.yy. HH.mm\",\n    \"shortDate\": \"d.M.yy.\",\n    \"shortTime\": \"HH.mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"sr-latn-me\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sr-latn-rs.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"pre podne\",\n      \"po podne\"\n    ],\n    \"DAY\": [\n      \"nedelja\",\n      \"ponedeljak\",\n      \"utorak\",\n      \"sreda\",\n      \"\\u010detvrtak\",\n      \"petak\",\n      \"subota\"\n    ],\n    \"ERANAMES\": [\n      \"Pre nove ere\",\n      \"Nove ere\"\n    ],\n    \"ERAS\": [\n      \"p. n. e.\",\n      \"n. e.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januar\",\n      \"februar\",\n      \"mart\",\n      \"april\",\n      \"maj\",\n      \"jun\",\n      \"jul\",\n      \"avgust\",\n      \"septembar\",\n      \"oktobar\",\n      \"novembar\",\n      \"decembar\"\n    ],\n    \"SHORTDAY\": [\n      \"ned\",\n      \"pon\",\n      \"uto\",\n      \"sre\",\n      \"\\u010det\",\n      \"pet\",\n      \"sub\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"feb\",\n      \"mar\",\n      \"apr\",\n      \"maj\",\n      \"jun\",\n      \"jul\",\n      \"avg\",\n      \"sep\",\n      \"okt\",\n      \"nov\",\n      \"dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd. MMMM y.\",\n    \"longDate\": \"dd. MMMM y.\",\n    \"medium\": \"dd.MM.y. HH.mm.ss\",\n    \"mediumDate\": \"dd.MM.y.\",\n    \"mediumTime\": \"HH.mm.ss\",\n    \"short\": \"d.M.yy. HH.mm\",\n    \"shortDate\": \"d.M.yy.\",\n    \"shortTime\": \"HH.mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"din\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"sr-latn-rs\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sr-latn-xk.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"pre podne\",\n      \"po podne\"\n    ],\n    \"DAY\": [\n      \"nedelja\",\n      \"ponedeljak\",\n      \"utorak\",\n      \"sreda\",\n      \"\\u010detvrtak\",\n      \"petak\",\n      \"subota\"\n    ],\n    \"ERANAMES\": [\n      \"Pre nove ere\",\n      \"Nove ere\"\n    ],\n    \"ERAS\": [\n      \"p. n. e.\",\n      \"n. e.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januar\",\n      \"februar\",\n      \"mart\",\n      \"april\",\n      \"maj\",\n      \"jun\",\n      \"jul\",\n      \"avgust\",\n      \"septembar\",\n      \"oktobar\",\n      \"novembar\",\n      \"decembar\"\n    ],\n    \"SHORTDAY\": [\n      \"ned\",\n      \"pon\",\n      \"uto\",\n      \"sre\",\n      \"\\u010det\",\n      \"pet\",\n      \"sub\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"feb\",\n      \"mar\",\n      \"apr\",\n      \"maj\",\n      \"jun\",\n      \"jul\",\n      \"avg\",\n      \"sep\",\n      \"okt\",\n      \"nov\",\n      \"dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd. MMMM y.\",\n    \"longDate\": \"dd. MMMM y.\",\n    \"medium\": \"dd.MM.y. HH.mm.ss\",\n    \"mediumDate\": \"dd.MM.y.\",\n    \"mediumTime\": \"HH.mm.ss\",\n    \"short\": \"d.M.yy. HH.mm\",\n    \"shortDate\": \"d.M.yy.\",\n    \"shortTime\": \"HH.mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"sr-latn-xk\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sr-latn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"pre podne\",\n      \"po podne\"\n    ],\n    \"DAY\": [\n      \"nedelja\",\n      \"ponedeljak\",\n      \"utorak\",\n      \"sreda\",\n      \"\\u010detvrtak\",\n      \"petak\",\n      \"subota\"\n    ],\n    \"ERANAMES\": [\n      \"Pre nove ere\",\n      \"Nove ere\"\n    ],\n    \"ERAS\": [\n      \"p. n. e.\",\n      \"n. e.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januar\",\n      \"februar\",\n      \"mart\",\n      \"april\",\n      \"maj\",\n      \"jun\",\n      \"jul\",\n      \"avgust\",\n      \"septembar\",\n      \"oktobar\",\n      \"novembar\",\n      \"decembar\"\n    ],\n    \"SHORTDAY\": [\n      \"ned\",\n      \"pon\",\n      \"uto\",\n      \"sre\",\n      \"\\u010det\",\n      \"pet\",\n      \"sub\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"feb\",\n      \"mar\",\n      \"apr\",\n      \"maj\",\n      \"jun\",\n      \"jul\",\n      \"avg\",\n      \"sep\",\n      \"okt\",\n      \"nov\",\n      \"dec\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd. MMMM y.\",\n    \"longDate\": \"dd. MMMM y.\",\n    \"medium\": \"dd.MM.y. HH.mm.ss\",\n    \"mediumDate\": \"dd.MM.y.\",\n    \"mediumTime\": \"HH.mm.ss\",\n    \"short\": \"d.M.yy. HH.mm\",\n    \"shortDate\": \"d.M.yy.\",\n    \"shortTime\": \"HH.mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"din\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"sr-latn\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sr.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u043f\\u0440\\u0435 \\u043f\\u043e\\u0434\\u043d\\u0435\",\n      \"\\u043f\\u043e \\u043f\\u043e\\u0434\\u043d\\u0435\"\n    ],\n    \"DAY\": [\n      \"\\u043d\\u0435\\u0434\\u0435\\u0459\\u0430\",\n      \"\\u043f\\u043e\\u043d\\u0435\\u0434\\u0435\\u0459\\u0430\\u043a\",\n      \"\\u0443\\u0442\\u043e\\u0440\\u0430\\u043a\",\n      \"\\u0441\\u0440\\u0435\\u0434\\u0430\",\n      \"\\u0447\\u0435\\u0442\\u0432\\u0440\\u0442\\u0430\\u043a\",\n      \"\\u043f\\u0435\\u0442\\u0430\\u043a\",\n      \"\\u0441\\u0443\\u0431\\u043e\\u0442\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u041f\\u0440\\u0435 \\u043d\\u043e\\u0432\\u0435 \\u0435\\u0440\\u0435\",\n      \"\\u041d\\u043e\\u0432\\u0435 \\u0435\\u0440\\u0435\"\n    ],\n    \"ERAS\": [\n      \"\\u043f. \\u043d. \\u0435.\",\n      \"\\u043d. \\u0435.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u0458\\u0430\\u043d\\u0443\\u0430\\u0440\",\n      \"\\u0444\\u0435\\u0431\\u0440\\u0443\\u0430\\u0440\",\n      \"\\u043c\\u0430\\u0440\\u0442\",\n      \"\\u0430\\u043f\\u0440\\u0438\\u043b\",\n      \"\\u043c\\u0430\\u0458\",\n      \"\\u0458\\u0443\\u043d\",\n      \"\\u0458\\u0443\\u043b\",\n      \"\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\",\n      \"\\u0441\\u0435\\u043f\\u0442\\u0435\\u043c\\u0431\\u0430\\u0440\",\n      \"\\u043e\\u043a\\u0442\\u043e\\u0431\\u0430\\u0440\",\n      \"\\u043d\\u043e\\u0432\\u0435\\u043c\\u0431\\u0430\\u0440\",\n      \"\\u0434\\u0435\\u0446\\u0435\\u043c\\u0431\\u0430\\u0440\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u043d\\u0435\\u0434\",\n      \"\\u043f\\u043e\\u043d\",\n      \"\\u0443\\u0442\\u043e\",\n      \"\\u0441\\u0440\\u0435\",\n      \"\\u0447\\u0435\\u0442\",\n      \"\\u043f\\u0435\\u0442\",\n      \"\\u0441\\u0443\\u0431\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0458\\u0430\\u043d\",\n      \"\\u0444\\u0435\\u0431\",\n      \"\\u043c\\u0430\\u0440\",\n      \"\\u0430\\u043f\\u0440\",\n      \"\\u043c\\u0430\\u0458\",\n      \"\\u0458\\u0443\\u043d\",\n      \"\\u0458\\u0443\\u043b\",\n      \"\\u0430\\u0432\\u0433\",\n      \"\\u0441\\u0435\\u043f\",\n      \"\\u043e\\u043a\\u0442\",\n      \"\\u043d\\u043e\\u0432\",\n      \"\\u0434\\u0435\\u0446\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, dd. MMMM y.\",\n    \"longDate\": \"dd. MMMM y.\",\n    \"medium\": \"dd.MM.y. HH.mm.ss\",\n    \"mediumDate\": \"dd.MM.y.\",\n    \"mediumTime\": \"HH.mm.ss\",\n    \"short\": \"d.M.yy. HH.mm\",\n    \"shortDate\": \"d.M.yy.\",\n    \"shortTime\": \"HH.mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"din\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"sr\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ss-sz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Lisontfo\",\n      \"uMsombuluko\",\n      \"Lesibili\",\n      \"Lesitsatfu\",\n      \"Lesine\",\n      \"Lesihlanu\",\n      \"uMgcibelo\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Bhimbidvwane\",\n      \"iNdlovana\",\n      \"iNdlovu-lenkhulu\",\n      \"Mabasa\",\n      \"iNkhwekhweti\",\n      \"iNhlaba\",\n      \"Kholwane\",\n      \"iNgci\",\n      \"iNyoni\",\n      \"iMphala\",\n      \"Lweti\",\n      \"iNgongoni\"\n    ],\n    \"SHORTDAY\": [\n      \"Son\",\n      \"Mso\",\n      \"Bil\",\n      \"Tsa\",\n      \"Ne\",\n      \"Hla\",\n      \"Mgc\"\n    ],\n    \"SHORTMONTH\": [\n      \"Bhi\",\n      \"Van\",\n      \"Vol\",\n      \"Mab\",\n      \"Nkh\",\n      \"Nhl\",\n      \"Kho\",\n      \"Ngc\",\n      \"Nyo\",\n      \"Mph\",\n      \"Lwe\",\n      \"Ngo\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"SZL\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ss-sz\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ss-za.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Lisontfo\",\n      \"uMsombuluko\",\n      \"Lesibili\",\n      \"Lesitsatfu\",\n      \"Lesine\",\n      \"Lesihlanu\",\n      \"uMgcibelo\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Bhimbidvwane\",\n      \"iNdlovana\",\n      \"iNdlovu-lenkhulu\",\n      \"Mabasa\",\n      \"iNkhwekhweti\",\n      \"iNhlaba\",\n      \"Kholwane\",\n      \"iNgci\",\n      \"iNyoni\",\n      \"iMphala\",\n      \"Lweti\",\n      \"iNgongoni\"\n    ],\n    \"SHORTDAY\": [\n      \"Son\",\n      \"Mso\",\n      \"Bil\",\n      \"Tsa\",\n      \"Ne\",\n      \"Hla\",\n      \"Mgc\"\n    ],\n    \"SHORTMONTH\": [\n      \"Bhi\",\n      \"Van\",\n      \"Vol\",\n      \"Mab\",\n      \"Nkh\",\n      \"Nhl\",\n      \"Kho\",\n      \"Ngc\",\n      \"Nyo\",\n      \"Mph\",\n      \"Lwe\",\n      \"Ngo\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"R\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ss-za\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ss.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Lisontfo\",\n      \"uMsombuluko\",\n      \"Lesibili\",\n      \"Lesitsatfu\",\n      \"Lesine\",\n      \"Lesihlanu\",\n      \"uMgcibelo\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Bhimbidvwane\",\n      \"iNdlovana\",\n      \"iNdlovu-lenkhulu\",\n      \"Mabasa\",\n      \"iNkhwekhweti\",\n      \"iNhlaba\",\n      \"Kholwane\",\n      \"iNgci\",\n      \"iNyoni\",\n      \"iMphala\",\n      \"Lweti\",\n      \"iNgongoni\"\n    ],\n    \"SHORTDAY\": [\n      \"Son\",\n      \"Mso\",\n      \"Bil\",\n      \"Tsa\",\n      \"Ne\",\n      \"Hla\",\n      \"Mgc\"\n    ],\n    \"SHORTMONTH\": [\n      \"Bhi\",\n      \"Van\",\n      \"Vol\",\n      \"Mab\",\n      \"Nkh\",\n      \"Nhl\",\n      \"Kho\",\n      \"Ngc\",\n      \"Nyo\",\n      \"Mph\",\n      \"Lwe\",\n      \"Ngo\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"R\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ss\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ssy-er.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"saaku\",\n      \"carra\"\n    ],\n    \"DAY\": [\n      \"Naba Sambat\",\n      \"Sani\",\n      \"Salus\",\n      \"Rabuq\",\n      \"Camus\",\n      \"Jumqata\",\n      \"Qunxa Sambat\"\n    ],\n    \"ERANAMES\": [\n      \"Yaasuusuk Duma\",\n      \"Yaasuusuk Wadir\"\n    ],\n    \"ERAS\": [\n      \"Yaasuusuk Duma\",\n      \"Yaasuusuk Wadir\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Qunxa Garablu\",\n      \"Kudo\",\n      \"Ciggilta Kudo\",\n      \"Agda Baxis\",\n      \"Caxah Alsa\",\n      \"Qasa Dirri\",\n      \"Qado Dirri\",\n      \"Liiqen\",\n      \"Waysu\",\n      \"Diteli\",\n      \"Ximoli\",\n      \"Kaxxa Garablu\"\n    ],\n    \"SHORTDAY\": [\n      \"Nab\",\n      \"San\",\n      \"Sal\",\n      \"Rab\",\n      \"Cam\",\n      \"Jum\",\n      \"Qun\"\n    ],\n    \"SHORTMONTH\": [\n      \"Qun\",\n      \"Nah\",\n      \"Cig\",\n      \"Agd\",\n      \"Cax\",\n      \"Qas\",\n      \"Qad\",\n      \"Leq\",\n      \"Way\",\n      \"Dit\",\n      \"Xim\",\n      \"Kax\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM dd, y\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd-MMM-y h:mm:ss a\",\n    \"mediumDate\": \"dd-MMM-y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Nfk\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ssy-er\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ssy.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"saaku\",\n      \"carra\"\n    ],\n    \"DAY\": [\n      \"Naba Sambat\",\n      \"Sani\",\n      \"Salus\",\n      \"Rabuq\",\n      \"Camus\",\n      \"Jumqata\",\n      \"Qunxa Sambat\"\n    ],\n    \"ERANAMES\": [\n      \"Yaasuusuk Duma\",\n      \"Yaasuusuk Wadir\"\n    ],\n    \"ERAS\": [\n      \"Yaasuusuk Duma\",\n      \"Yaasuusuk Wadir\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Qunxa Garablu\",\n      \"Kudo\",\n      \"Ciggilta Kudo\",\n      \"Agda Baxis\",\n      \"Caxah Alsa\",\n      \"Qasa Dirri\",\n      \"Qado Dirri\",\n      \"Liiqen\",\n      \"Waysu\",\n      \"Diteli\",\n      \"Ximoli\",\n      \"Kaxxa Garablu\"\n    ],\n    \"SHORTDAY\": [\n      \"Nab\",\n      \"San\",\n      \"Sal\",\n      \"Rab\",\n      \"Cam\",\n      \"Jum\",\n      \"Qun\"\n    ],\n    \"SHORTMONTH\": [\n      \"Qun\",\n      \"Nah\",\n      \"Cig\",\n      \"Agd\",\n      \"Cax\",\n      \"Qas\",\n      \"Qad\",\n      \"Leq\",\n      \"Way\",\n      \"Dit\",\n      \"Xim\",\n      \"Kax\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM dd, y\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd-MMM-y h:mm:ss a\",\n    \"mediumDate\": \"dd-MMM-y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Nfk\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ssy\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_st-ls.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sontaha\",\n      \"Mmantaha\",\n      \"Labobedi\",\n      \"Laboraru\",\n      \"Labone\",\n      \"Labohlane\",\n      \"Moqebelo\"\n    ],\n    \"MONTH\": [\n      \"Phesekgong\",\n      \"Hlakola\",\n      \"Hlakubele\",\n      \"Mmese\",\n      \"Motsheanong\",\n      \"Phupjane\",\n      \"Phupu\",\n      \"Phata\",\n      \"Leotshe\",\n      \"Mphalane\",\n      \"Pundungwane\",\n      \"Tshitwe\"\n    ],\n    \"SHORTDAY\": [\n      \"Son\",\n      \"Mma\",\n      \"Bed\",\n      \"Rar\",\n      \"Ne\",\n      \"Hla\",\n      \"Moq\"\n    ],\n    \"SHORTMONTH\": [\n      \"Phe\",\n      \"Kol\",\n      \"Ube\",\n      \"Mme\",\n      \"Mot\",\n      \"Jan\",\n      \"Upu\",\n      \"Pha\",\n      \"Leo\",\n      \"Mph\",\n      \"Pun\",\n      \"Tsh\"\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"R\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"st-ls\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_st-za.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sontaha\",\n      \"Mmantaha\",\n      \"Labobedi\",\n      \"Laboraru\",\n      \"Labone\",\n      \"Labohlane\",\n      \"Moqebelo\"\n    ],\n    \"MONTH\": [\n      \"Phesekgong\",\n      \"Hlakola\",\n      \"Hlakubele\",\n      \"Mmese\",\n      \"Motsheanong\",\n      \"Phupjane\",\n      \"Phupu\",\n      \"Phata\",\n      \"Leotshe\",\n      \"Mphalane\",\n      \"Pundungwane\",\n      \"Tshitwe\"\n    ],\n    \"SHORTDAY\": [\n      \"Son\",\n      \"Mma\",\n      \"Bed\",\n      \"Rar\",\n      \"Ne\",\n      \"Hla\",\n      \"Moq\"\n    ],\n    \"SHORTMONTH\": [\n      \"Phe\",\n      \"Kol\",\n      \"Ube\",\n      \"Mme\",\n      \"Mot\",\n      \"Jan\",\n      \"Upu\",\n      \"Pha\",\n      \"Leo\",\n      \"Mph\",\n      \"Pun\",\n      \"Tsh\"\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"R\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"st-za\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_st.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sontaha\",\n      \"Mmantaha\",\n      \"Labobedi\",\n      \"Laboraru\",\n      \"Labone\",\n      \"Labohlane\",\n      \"Moqebelo\"\n    ],\n    \"MONTH\": [\n      \"Phesekgong\",\n      \"Hlakola\",\n      \"Hlakubele\",\n      \"Mmese\",\n      \"Motsheanong\",\n      \"Phupjane\",\n      \"Phupu\",\n      \"Phata\",\n      \"Leotshe\",\n      \"Mphalane\",\n      \"Pundungwane\",\n      \"Tshitwe\"\n    ],\n    \"SHORTDAY\": [\n      \"Son\",\n      \"Mma\",\n      \"Bed\",\n      \"Rar\",\n      \"Ne\",\n      \"Hla\",\n      \"Moq\"\n    ],\n    \"SHORTMONTH\": [\n      \"Phe\",\n      \"Kol\",\n      \"Ube\",\n      \"Mme\",\n      \"Mot\",\n      \"Jan\",\n      \"Upu\",\n      \"Pha\",\n      \"Leo\",\n      \"Mph\",\n      \"Pun\",\n      \"Tsh\"\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"R\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"st\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sv-ax.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"fm\",\n      \"em\"\n    ],\n    \"DAY\": [\n      \"s\\u00f6ndag\",\n      \"m\\u00e5ndag\",\n      \"tisdag\",\n      \"onsdag\",\n      \"torsdag\",\n      \"fredag\",\n      \"l\\u00f6rdag\"\n    ],\n    \"ERANAMES\": [\n      \"f\\u00f6re Kristus\",\n      \"efter Kristus\"\n    ],\n    \"ERAS\": [\n      \"f.Kr.\",\n      \"e.Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januari\",\n      \"februari\",\n      \"mars\",\n      \"april\",\n      \"maj\",\n      \"juni\",\n      \"juli\",\n      \"augusti\",\n      \"september\",\n      \"oktober\",\n      \"november\",\n      \"december\"\n    ],\n    \"SHORTDAY\": [\n      \"s\\u00f6n\",\n      \"m\\u00e5n\",\n      \"tis\",\n      \"ons\",\n      \"tors\",\n      \"fre\",\n      \"l\\u00f6r\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"mars\",\n      \"apr.\",\n      \"maj\",\n      \"juni\",\n      \"juli\",\n      \"aug.\",\n      \"sep.\",\n      \"okt.\",\n      \"nov.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"sv-ax\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sv-fi.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"fm\",\n      \"em\"\n    ],\n    \"DAY\": [\n      \"s\\u00f6ndag\",\n      \"m\\u00e5ndag\",\n      \"tisdag\",\n      \"onsdag\",\n      \"torsdag\",\n      \"fredag\",\n      \"l\\u00f6rdag\"\n    ],\n    \"ERANAMES\": [\n      \"f\\u00f6re Kristus\",\n      \"efter Kristus\"\n    ],\n    \"ERAS\": [\n      \"f.Kr.\",\n      \"e.Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januari\",\n      \"februari\",\n      \"mars\",\n      \"april\",\n      \"maj\",\n      \"juni\",\n      \"juli\",\n      \"augusti\",\n      \"september\",\n      \"oktober\",\n      \"november\",\n      \"december\"\n    ],\n    \"SHORTDAY\": [\n      \"s\\u00f6n\",\n      \"m\\u00e5n\",\n      \"tis\",\n      \"ons\",\n      \"tors\",\n      \"fre\",\n      \"l\\u00f6r\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"mars\",\n      \"apr.\",\n      \"maj\",\n      \"juni\",\n      \"juli\",\n      \"aug.\",\n      \"sep.\",\n      \"okt.\",\n      \"nov.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd-MM-y HH:mm\",\n    \"shortDate\": \"dd-MM-y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"sv-fi\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sv-se.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"fm\",\n      \"em\"\n    ],\n    \"DAY\": [\n      \"s\\u00f6ndag\",\n      \"m\\u00e5ndag\",\n      \"tisdag\",\n      \"onsdag\",\n      \"torsdag\",\n      \"fredag\",\n      \"l\\u00f6rdag\"\n    ],\n    \"ERANAMES\": [\n      \"f\\u00f6re Kristus\",\n      \"efter Kristus\"\n    ],\n    \"ERAS\": [\n      \"f.Kr.\",\n      \"e.Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januari\",\n      \"februari\",\n      \"mars\",\n      \"april\",\n      \"maj\",\n      \"juni\",\n      \"juli\",\n      \"augusti\",\n      \"september\",\n      \"oktober\",\n      \"november\",\n      \"december\"\n    ],\n    \"SHORTDAY\": [\n      \"s\\u00f6n\",\n      \"m\\u00e5n\",\n      \"tis\",\n      \"ons\",\n      \"tors\",\n      \"fre\",\n      \"l\\u00f6r\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"mars\",\n      \"apr.\",\n      \"maj\",\n      \"juni\",\n      \"juli\",\n      \"aug.\",\n      \"sep.\",\n      \"okt.\",\n      \"nov.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"kr\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"sv-se\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sv.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"fm\",\n      \"em\"\n    ],\n    \"DAY\": [\n      \"s\\u00f6ndag\",\n      \"m\\u00e5ndag\",\n      \"tisdag\",\n      \"onsdag\",\n      \"torsdag\",\n      \"fredag\",\n      \"l\\u00f6rdag\"\n    ],\n    \"ERANAMES\": [\n      \"f\\u00f6re Kristus\",\n      \"efter Kristus\"\n    ],\n    \"ERAS\": [\n      \"f.Kr.\",\n      \"e.Kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"januari\",\n      \"februari\",\n      \"mars\",\n      \"april\",\n      \"maj\",\n      \"juni\",\n      \"juli\",\n      \"augusti\",\n      \"september\",\n      \"oktober\",\n      \"november\",\n      \"december\"\n    ],\n    \"SHORTDAY\": [\n      \"s\\u00f6n\",\n      \"m\\u00e5n\",\n      \"tis\",\n      \"ons\",\n      \"tors\",\n      \"fre\",\n      \"l\\u00f6r\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan.\",\n      \"feb.\",\n      \"mars\",\n      \"apr.\",\n      \"maj\",\n      \"juni\",\n      \"juli\",\n      \"aug.\",\n      \"sep.\",\n      \"okt.\",\n      \"nov.\",\n      \"dec.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"kr\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"sv\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sw-cd.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"ya asubuyi\",\n      \"ya muchana\"\n    ],\n    \"DAY\": [\n      \"siku ya yenga\",\n      \"siku ya kwanza\",\n      \"siku ya pili\",\n      \"siku ya tatu\",\n      \"siku ya ine\",\n      \"siku ya tanu\",\n      \"siku ya sita\"\n    ],\n    \"ERANAMES\": [\n      \"Kabla ya Kristo\",\n      \"Baada ya Kristo\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"mwezi ya kwanja\",\n      \"mwezi ya pili\",\n      \"mwezi ya tatu\",\n      \"mwezi ya ine\",\n      \"mwezi ya tanu\",\n      \"mwezi ya sita\",\n      \"mwezi ya saba\",\n      \"mwezi ya munane\",\n      \"mwezi ya tisa\",\n      \"mwezi ya kumi\",\n      \"mwezi ya kumi na moya\",\n      \"mwezi ya kumi ya mbili\"\n    ],\n    \"SHORTDAY\": [\n      \"yen\",\n      \"kwa\",\n      \"pil\",\n      \"tat\",\n      \"ine\",\n      \"tan\",\n      \"sit\"\n    ],\n    \"SHORTMONTH\": [\n      \"mkw\",\n      \"mpi\",\n      \"mtu\",\n      \"min\",\n      \"mtn\",\n      \"mst\",\n      \"msb\",\n      \"mun\",\n      \"mts\",\n      \"mku\",\n      \"mkm\",\n      \"mkb\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FrCD\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"sw-cd\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sw-ke.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Jumapili\",\n      \"Jumatatu\",\n      \"Jumanne\",\n      \"Jumatano\",\n      \"Alhamisi\",\n      \"Ijumaa\",\n      \"Jumamosi\"\n    ],\n    \"ERANAMES\": [\n      \"Kabla ya Kristo\",\n      \"Baada ya Kristo\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Januari\",\n      \"Februari\",\n      \"Machi\",\n      \"Aprili\",\n      \"Mei\",\n      \"Juni\",\n      \"Julai\",\n      \"Agosti\",\n      \"Septemba\",\n      \"Oktoba\",\n      \"Novemba\",\n      \"Desemba\"\n    ],\n    \"SHORTDAY\": [\n      \"Jumapili\",\n      \"Jumatatu\",\n      \"Jumanne\",\n      \"Jumatano\",\n      \"Alhamisi\",\n      \"Ijumaa\",\n      \"Jumamosi\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mac\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Ago\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ksh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"sw-ke\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sw-tz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Jumapili\",\n      \"Jumatatu\",\n      \"Jumanne\",\n      \"Jumatano\",\n      \"Alhamisi\",\n      \"Ijumaa\",\n      \"Jumamosi\"\n    ],\n    \"ERANAMES\": [\n      \"Kabla ya Kristo\",\n      \"Baada ya Kristo\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januari\",\n      \"Februari\",\n      \"Machi\",\n      \"Aprili\",\n      \"Mei\",\n      \"Juni\",\n      \"Julai\",\n      \"Agosti\",\n      \"Septemba\",\n      \"Oktoba\",\n      \"Novemba\",\n      \"Desemba\"\n    ],\n    \"SHORTDAY\": [\n      \"Jumapili\",\n      \"Jumatatu\",\n      \"Jumanne\",\n      \"Jumatano\",\n      \"Alhamisi\",\n      \"Ijumaa\",\n      \"Jumamosi\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mac\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Ago\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"TSh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"sw-tz\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sw-ug.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Jumapili\",\n      \"Jumatatu\",\n      \"Jumanne\",\n      \"Jumatano\",\n      \"Alhamisi\",\n      \"Ijumaa\",\n      \"Jumamosi\"\n    ],\n    \"ERANAMES\": [\n      \"Kabla ya Kristo\",\n      \"Baada ya Kristo\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januari\",\n      \"Februari\",\n      \"Machi\",\n      \"Aprili\",\n      \"Mei\",\n      \"Juni\",\n      \"Julai\",\n      \"Agosti\",\n      \"Septemba\",\n      \"Oktoba\",\n      \"Novemba\",\n      \"Desemba\"\n    ],\n    \"SHORTDAY\": [\n      \"Jumapili\",\n      \"Jumatatu\",\n      \"Jumanne\",\n      \"Jumatano\",\n      \"Alhamisi\",\n      \"Ijumaa\",\n      \"Jumamosi\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mac\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Ago\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"UGX\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"sw-ug\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_sw.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Jumapili\",\n      \"Jumatatu\",\n      \"Jumanne\",\n      \"Jumatano\",\n      \"Alhamisi\",\n      \"Ijumaa\",\n      \"Jumamosi\"\n    ],\n    \"ERANAMES\": [\n      \"Kabla ya Kristo\",\n      \"Baada ya Kristo\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januari\",\n      \"Februari\",\n      \"Machi\",\n      \"Aprili\",\n      \"Mei\",\n      \"Juni\",\n      \"Julai\",\n      \"Agosti\",\n      \"Septemba\",\n      \"Oktoba\",\n      \"Novemba\",\n      \"Desemba\"\n    ],\n    \"SHORTDAY\": [\n      \"Jumapili\",\n      \"Jumatatu\",\n      \"Jumanne\",\n      \"Jumatano\",\n      \"Alhamisi\",\n      \"Ijumaa\",\n      \"Jumamosi\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mac\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Ago\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"TSh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"sw\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_swc-cd.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"ya asubuyi\",\n      \"ya muchana\"\n    ],\n    \"DAY\": [\n      \"siku ya yenga\",\n      \"siku ya kwanza\",\n      \"siku ya pili\",\n      \"siku ya tatu\",\n      \"siku ya ine\",\n      \"siku ya tanu\",\n      \"siku ya sita\"\n    ],\n    \"ERANAMES\": [\n      \"mbele ya Yezu Kristo\",\n      \"kisha ya Yezu Kristo\"\n    ],\n    \"ERAS\": [\n      \"mbele ya Y\",\n      \"kisha ya Y\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"mwezi ya kwanja\",\n      \"mwezi ya pili\",\n      \"mwezi ya tatu\",\n      \"mwezi ya ine\",\n      \"mwezi ya tanu\",\n      \"mwezi ya sita\",\n      \"mwezi ya saba\",\n      \"mwezi ya munane\",\n      \"mwezi ya tisa\",\n      \"mwezi ya kumi\",\n      \"mwezi ya kumi na moya\",\n      \"mwezi ya kumi ya mbili\"\n    ],\n    \"SHORTDAY\": [\n      \"yen\",\n      \"kwa\",\n      \"pil\",\n      \"tat\",\n      \"ine\",\n      \"tan\",\n      \"sit\"\n    ],\n    \"SHORTMONTH\": [\n      \"mkw\",\n      \"mpi\",\n      \"mtu\",\n      \"min\",\n      \"mtn\",\n      \"mst\",\n      \"msb\",\n      \"mun\",\n      \"mts\",\n      \"mku\",\n      \"mkm\",\n      \"mkb\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FrCD\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"swc-cd\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_swc.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"ya asubuyi\",\n      \"ya muchana\"\n    ],\n    \"DAY\": [\n      \"siku ya yenga\",\n      \"siku ya kwanza\",\n      \"siku ya pili\",\n      \"siku ya tatu\",\n      \"siku ya ine\",\n      \"siku ya tanu\",\n      \"siku ya sita\"\n    ],\n    \"ERANAMES\": [\n      \"mbele ya Yezu Kristo\",\n      \"kisha ya Yezu Kristo\"\n    ],\n    \"ERAS\": [\n      \"mbele ya Y\",\n      \"kisha ya Y\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"mwezi ya kwanja\",\n      \"mwezi ya pili\",\n      \"mwezi ya tatu\",\n      \"mwezi ya ine\",\n      \"mwezi ya tanu\",\n      \"mwezi ya sita\",\n      \"mwezi ya saba\",\n      \"mwezi ya munane\",\n      \"mwezi ya tisa\",\n      \"mwezi ya kumi\",\n      \"mwezi ya kumi na moya\",\n      \"mwezi ya kumi ya mbili\"\n    ],\n    \"SHORTDAY\": [\n      \"yen\",\n      \"kwa\",\n      \"pil\",\n      \"tat\",\n      \"ine\",\n      \"tan\",\n      \"sit\"\n    ],\n    \"SHORTMONTH\": [\n      \"mkw\",\n      \"mpi\",\n      \"mtu\",\n      \"min\",\n      \"mtn\",\n      \"mst\",\n      \"msb\",\n      \"mun\",\n      \"mts\",\n      \"mku\",\n      \"mkm\",\n      \"mkb\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FrCD\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"swc\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ta-in.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0bae\\u0bc1\\u0bb1\\u0bcd\\u0baa\\u0b95\\u0bb2\\u0bcd\",\n      \"\\u0baa\\u0bbf\\u0bb1\\u0bcd\\u0baa\\u0b95\\u0bb2\\u0bcd\"\n    ],\n    \"DAY\": [\n      \"\\u0b9e\\u0bbe\\u0baf\\u0bbf\\u0bb1\\u0bc1\",\n      \"\\u0ba4\\u0bbf\\u0b99\\u0bcd\\u0b95\\u0bb3\\u0bcd\",\n      \"\\u0b9a\\u0bc6\\u0bb5\\u0bcd\\u0bb5\\u0bbe\\u0baf\\u0bcd\",\n      \"\\u0baa\\u0bc1\\u0ba4\\u0ba9\\u0bcd\",\n      \"\\u0bb5\\u0bbf\\u0baf\\u0bbe\\u0bb4\\u0ba9\\u0bcd\",\n      \"\\u0bb5\\u0bc6\\u0bb3\\u0bcd\\u0bb3\\u0bbf\",\n      \"\\u0b9a\\u0ba9\\u0bbf\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0b95\\u0bbf\\u0bb1\\u0bbf\\u0bb8\\u0bcd\\u0ba4\\u0bc1\\u0bb5\\u0bc1\\u0b95\\u0bcd\\u0b95\\u0bc1 \\u0bae\\u0bc1\\u0ba9\\u0bcd\",\n      \"\\u0b85\\u0ba9\\u0bcb \\u0b9f\\u0bcb\\u0bae\\u0bbf\\u0ba9\\u0bbf\"\n    ],\n    \"ERAS\": [\n      \"\\u0b95\\u0bbf.\\u0bae\\u0bc1.\",\n      \"\\u0b95\\u0bbf.\\u0baa\\u0bbf.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u0b9c\\u0ba9\\u0bb5\\u0bb0\\u0bbf\",\n      \"\\u0baa\\u0bbf\\u0baa\\u0bcd\\u0bb0\\u0bb5\\u0bb0\\u0bbf\",\n      \"\\u0bae\\u0bbe\\u0bb0\\u0bcd\\u0b9a\\u0bcd\",\n      \"\\u0b8f\\u0baa\\u0bcd\\u0bb0\\u0bb2\\u0bcd\",\n      \"\\u0bae\\u0bc7\",\n      \"\\u0b9c\\u0bc2\\u0ba9\\u0bcd\",\n      \"\\u0b9c\\u0bc2\\u0bb2\\u0bc8\",\n      \"\\u0b86\\u0b95\\u0bb8\\u0bcd\\u0b9f\\u0bcd\",\n      \"\\u0b9a\\u0bc6\\u0baa\\u0bcd\\u0b9f\\u0bae\\u0bcd\\u0baa\\u0bb0\\u0bcd\",\n      \"\\u0b85\\u0b95\\u0bcd\\u0b9f\\u0bcb\\u0baa\\u0bb0\\u0bcd\",\n      \"\\u0ba8\\u0bb5\\u0bae\\u0bcd\\u0baa\\u0bb0\\u0bcd\",\n      \"\\u0b9f\\u0bbf\\u0b9a\\u0bae\\u0bcd\\u0baa\\u0bb0\\u0bcd\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0b9e\\u0bbe\",\n      \"\\u0ba4\\u0bbf\",\n      \"\\u0b9a\\u0bc6\",\n      \"\\u0baa\\u0bc1\",\n      \"\\u0bb5\\u0bbf\",\n      \"\\u0bb5\\u0bc6\",\n      \"\\u0b9a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0b9c\\u0ba9.\",\n      \"\\u0baa\\u0bbf\\u0baa\\u0bcd.\",\n      \"\\u0bae\\u0bbe\\u0bb0\\u0bcd.\",\n      \"\\u0b8f\\u0baa\\u0bcd.\",\n      \"\\u0bae\\u0bc7\",\n      \"\\u0b9c\\u0bc2\\u0ba9\\u0bcd\",\n      \"\\u0b9c\\u0bc2\\u0bb2\\u0bc8\",\n      \"\\u0b86\\u0b95.\",\n      \"\\u0b9a\\u0bc6\\u0baa\\u0bcd.\",\n      \"\\u0b85\\u0b95\\u0bcd.\",\n      \"\\u0ba8\\u0bb5.\",\n      \"\\u0b9f\\u0bbf\\u0b9a.\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM, y\",\n    \"longDate\": \"d MMMM, y\",\n    \"medium\": \"d MMM, y h:mm:ss a\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d-M-yy h:mm a\",\n    \"shortDate\": \"d-M-yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ta-in\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ta-lk.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0bae\\u0bc1\\u0bb1\\u0bcd\\u0baa\\u0b95\\u0bb2\\u0bcd\",\n      \"\\u0baa\\u0bbf\\u0bb1\\u0bcd\\u0baa\\u0b95\\u0bb2\\u0bcd\"\n    ],\n    \"DAY\": [\n      \"\\u0b9e\\u0bbe\\u0baf\\u0bbf\\u0bb1\\u0bc1\",\n      \"\\u0ba4\\u0bbf\\u0b99\\u0bcd\\u0b95\\u0bb3\\u0bcd\",\n      \"\\u0b9a\\u0bc6\\u0bb5\\u0bcd\\u0bb5\\u0bbe\\u0baf\\u0bcd\",\n      \"\\u0baa\\u0bc1\\u0ba4\\u0ba9\\u0bcd\",\n      \"\\u0bb5\\u0bbf\\u0baf\\u0bbe\\u0bb4\\u0ba9\\u0bcd\",\n      \"\\u0bb5\\u0bc6\\u0bb3\\u0bcd\\u0bb3\\u0bbf\",\n      \"\\u0b9a\\u0ba9\\u0bbf\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0b95\\u0bbf\\u0bb1\\u0bbf\\u0bb8\\u0bcd\\u0ba4\\u0bc1\\u0bb5\\u0bc1\\u0b95\\u0bcd\\u0b95\\u0bc1 \\u0bae\\u0bc1\\u0ba9\\u0bcd\",\n      \"\\u0b85\\u0ba9\\u0bcb \\u0b9f\\u0bcb\\u0bae\\u0bbf\\u0ba9\\u0bbf\"\n    ],\n    \"ERAS\": [\n      \"\\u0b95\\u0bbf.\\u0bae\\u0bc1.\",\n      \"\\u0b95\\u0bbf.\\u0baa\\u0bbf.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u0b9c\\u0ba9\\u0bb5\\u0bb0\\u0bbf\",\n      \"\\u0baa\\u0bbf\\u0baa\\u0bcd\\u0bb0\\u0bb5\\u0bb0\\u0bbf\",\n      \"\\u0bae\\u0bbe\\u0bb0\\u0bcd\\u0b9a\\u0bcd\",\n      \"\\u0b8f\\u0baa\\u0bcd\\u0bb0\\u0bb2\\u0bcd\",\n      \"\\u0bae\\u0bc7\",\n      \"\\u0b9c\\u0bc2\\u0ba9\\u0bcd\",\n      \"\\u0b9c\\u0bc2\\u0bb2\\u0bc8\",\n      \"\\u0b86\\u0b95\\u0bb8\\u0bcd\\u0b9f\\u0bcd\",\n      \"\\u0b9a\\u0bc6\\u0baa\\u0bcd\\u0b9f\\u0bae\\u0bcd\\u0baa\\u0bb0\\u0bcd\",\n      \"\\u0b85\\u0b95\\u0bcd\\u0b9f\\u0bcb\\u0baa\\u0bb0\\u0bcd\",\n      \"\\u0ba8\\u0bb5\\u0bae\\u0bcd\\u0baa\\u0bb0\\u0bcd\",\n      \"\\u0b9f\\u0bbf\\u0b9a\\u0bae\\u0bcd\\u0baa\\u0bb0\\u0bcd\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0b9e\\u0bbe\",\n      \"\\u0ba4\\u0bbf\",\n      \"\\u0b9a\\u0bc6\",\n      \"\\u0baa\\u0bc1\",\n      \"\\u0bb5\\u0bbf\",\n      \"\\u0bb5\\u0bc6\",\n      \"\\u0b9a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0b9c\\u0ba9.\",\n      \"\\u0baa\\u0bbf\\u0baa\\u0bcd.\",\n      \"\\u0bae\\u0bbe\\u0bb0\\u0bcd.\",\n      \"\\u0b8f\\u0baa\\u0bcd.\",\n      \"\\u0bae\\u0bc7\",\n      \"\\u0b9c\\u0bc2\\u0ba9\\u0bcd\",\n      \"\\u0b9c\\u0bc2\\u0bb2\\u0bc8\",\n      \"\\u0b86\\u0b95.\",\n      \"\\u0b9a\\u0bc6\\u0baa\\u0bcd.\",\n      \"\\u0b85\\u0b95\\u0bcd.\",\n      \"\\u0ba8\\u0bb5.\",\n      \"\\u0b9f\\u0bbf\\u0b9a.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM, y\",\n    \"longDate\": \"d MMMM, y\",\n    \"medium\": \"d MMM, y h:mm:ss a\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d-M-yy h:mm a\",\n    \"shortDate\": \"d-M-yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Rs\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ta-lk\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ta-my.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0bae\\u0bc1\\u0bb1\\u0bcd\\u0baa\\u0b95\\u0bb2\\u0bcd\",\n      \"\\u0baa\\u0bbf\\u0bb1\\u0bcd\\u0baa\\u0b95\\u0bb2\\u0bcd\"\n    ],\n    \"DAY\": [\n      \"\\u0b9e\\u0bbe\\u0baf\\u0bbf\\u0bb1\\u0bc1\",\n      \"\\u0ba4\\u0bbf\\u0b99\\u0bcd\\u0b95\\u0bb3\\u0bcd\",\n      \"\\u0b9a\\u0bc6\\u0bb5\\u0bcd\\u0bb5\\u0bbe\\u0baf\\u0bcd\",\n      \"\\u0baa\\u0bc1\\u0ba4\\u0ba9\\u0bcd\",\n      \"\\u0bb5\\u0bbf\\u0baf\\u0bbe\\u0bb4\\u0ba9\\u0bcd\",\n      \"\\u0bb5\\u0bc6\\u0bb3\\u0bcd\\u0bb3\\u0bbf\",\n      \"\\u0b9a\\u0ba9\\u0bbf\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0b95\\u0bbf\\u0bb1\\u0bbf\\u0bb8\\u0bcd\\u0ba4\\u0bc1\\u0bb5\\u0bc1\\u0b95\\u0bcd\\u0b95\\u0bc1 \\u0bae\\u0bc1\\u0ba9\\u0bcd\",\n      \"\\u0b85\\u0ba9\\u0bcb \\u0b9f\\u0bcb\\u0bae\\u0bbf\\u0ba9\\u0bbf\"\n    ],\n    \"ERAS\": [\n      \"\\u0b95\\u0bbf.\\u0bae\\u0bc1.\",\n      \"\\u0b95\\u0bbf.\\u0baa\\u0bbf.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u0b9c\\u0ba9\\u0bb5\\u0bb0\\u0bbf\",\n      \"\\u0baa\\u0bbf\\u0baa\\u0bcd\\u0bb0\\u0bb5\\u0bb0\\u0bbf\",\n      \"\\u0bae\\u0bbe\\u0bb0\\u0bcd\\u0b9a\\u0bcd\",\n      \"\\u0b8f\\u0baa\\u0bcd\\u0bb0\\u0bb2\\u0bcd\",\n      \"\\u0bae\\u0bc7\",\n      \"\\u0b9c\\u0bc2\\u0ba9\\u0bcd\",\n      \"\\u0b9c\\u0bc2\\u0bb2\\u0bc8\",\n      \"\\u0b86\\u0b95\\u0bb8\\u0bcd\\u0b9f\\u0bcd\",\n      \"\\u0b9a\\u0bc6\\u0baa\\u0bcd\\u0b9f\\u0bae\\u0bcd\\u0baa\\u0bb0\\u0bcd\",\n      \"\\u0b85\\u0b95\\u0bcd\\u0b9f\\u0bcb\\u0baa\\u0bb0\\u0bcd\",\n      \"\\u0ba8\\u0bb5\\u0bae\\u0bcd\\u0baa\\u0bb0\\u0bcd\",\n      \"\\u0b9f\\u0bbf\\u0b9a\\u0bae\\u0bcd\\u0baa\\u0bb0\\u0bcd\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0b9e\\u0bbe\",\n      \"\\u0ba4\\u0bbf\",\n      \"\\u0b9a\\u0bc6\",\n      \"\\u0baa\\u0bc1\",\n      \"\\u0bb5\\u0bbf\",\n      \"\\u0bb5\\u0bc6\",\n      \"\\u0b9a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0b9c\\u0ba9.\",\n      \"\\u0baa\\u0bbf\\u0baa\\u0bcd.\",\n      \"\\u0bae\\u0bbe\\u0bb0\\u0bcd.\",\n      \"\\u0b8f\\u0baa\\u0bcd.\",\n      \"\\u0bae\\u0bc7\",\n      \"\\u0b9c\\u0bc2\\u0ba9\\u0bcd\",\n      \"\\u0b9c\\u0bc2\\u0bb2\\u0bc8\",\n      \"\\u0b86\\u0b95.\",\n      \"\\u0b9a\\u0bc6\\u0baa\\u0bcd.\",\n      \"\\u0b85\\u0b95\\u0bcd.\",\n      \"\\u0ba8\\u0bb5.\",\n      \"\\u0b9f\\u0bbf\\u0b9a.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM, y\",\n    \"longDate\": \"d MMMM, y\",\n    \"medium\": \"d MMM, y h:mm:ss a\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d-M-yy h:mm a\",\n    \"shortDate\": \"d-M-yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"RM\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ta-my\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ta-sg.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0bae\\u0bc1\\u0bb1\\u0bcd\\u0baa\\u0b95\\u0bb2\\u0bcd\",\n      \"\\u0baa\\u0bbf\\u0bb1\\u0bcd\\u0baa\\u0b95\\u0bb2\\u0bcd\"\n    ],\n    \"DAY\": [\n      \"\\u0b9e\\u0bbe\\u0baf\\u0bbf\\u0bb1\\u0bc1\",\n      \"\\u0ba4\\u0bbf\\u0b99\\u0bcd\\u0b95\\u0bb3\\u0bcd\",\n      \"\\u0b9a\\u0bc6\\u0bb5\\u0bcd\\u0bb5\\u0bbe\\u0baf\\u0bcd\",\n      \"\\u0baa\\u0bc1\\u0ba4\\u0ba9\\u0bcd\",\n      \"\\u0bb5\\u0bbf\\u0baf\\u0bbe\\u0bb4\\u0ba9\\u0bcd\",\n      \"\\u0bb5\\u0bc6\\u0bb3\\u0bcd\\u0bb3\\u0bbf\",\n      \"\\u0b9a\\u0ba9\\u0bbf\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0b95\\u0bbf\\u0bb1\\u0bbf\\u0bb8\\u0bcd\\u0ba4\\u0bc1\\u0bb5\\u0bc1\\u0b95\\u0bcd\\u0b95\\u0bc1 \\u0bae\\u0bc1\\u0ba9\\u0bcd\",\n      \"\\u0b85\\u0ba9\\u0bcb \\u0b9f\\u0bcb\\u0bae\\u0bbf\\u0ba9\\u0bbf\"\n    ],\n    \"ERAS\": [\n      \"\\u0b95\\u0bbf.\\u0bae\\u0bc1.\",\n      \"\\u0b95\\u0bbf.\\u0baa\\u0bbf.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u0b9c\\u0ba9\\u0bb5\\u0bb0\\u0bbf\",\n      \"\\u0baa\\u0bbf\\u0baa\\u0bcd\\u0bb0\\u0bb5\\u0bb0\\u0bbf\",\n      \"\\u0bae\\u0bbe\\u0bb0\\u0bcd\\u0b9a\\u0bcd\",\n      \"\\u0b8f\\u0baa\\u0bcd\\u0bb0\\u0bb2\\u0bcd\",\n      \"\\u0bae\\u0bc7\",\n      \"\\u0b9c\\u0bc2\\u0ba9\\u0bcd\",\n      \"\\u0b9c\\u0bc2\\u0bb2\\u0bc8\",\n      \"\\u0b86\\u0b95\\u0bb8\\u0bcd\\u0b9f\\u0bcd\",\n      \"\\u0b9a\\u0bc6\\u0baa\\u0bcd\\u0b9f\\u0bae\\u0bcd\\u0baa\\u0bb0\\u0bcd\",\n      \"\\u0b85\\u0b95\\u0bcd\\u0b9f\\u0bcb\\u0baa\\u0bb0\\u0bcd\",\n      \"\\u0ba8\\u0bb5\\u0bae\\u0bcd\\u0baa\\u0bb0\\u0bcd\",\n      \"\\u0b9f\\u0bbf\\u0b9a\\u0bae\\u0bcd\\u0baa\\u0bb0\\u0bcd\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0b9e\\u0bbe\",\n      \"\\u0ba4\\u0bbf\",\n      \"\\u0b9a\\u0bc6\",\n      \"\\u0baa\\u0bc1\",\n      \"\\u0bb5\\u0bbf\",\n      \"\\u0bb5\\u0bc6\",\n      \"\\u0b9a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0b9c\\u0ba9.\",\n      \"\\u0baa\\u0bbf\\u0baa\\u0bcd.\",\n      \"\\u0bae\\u0bbe\\u0bb0\\u0bcd.\",\n      \"\\u0b8f\\u0baa\\u0bcd.\",\n      \"\\u0bae\\u0bc7\",\n      \"\\u0b9c\\u0bc2\\u0ba9\\u0bcd\",\n      \"\\u0b9c\\u0bc2\\u0bb2\\u0bc8\",\n      \"\\u0b86\\u0b95.\",\n      \"\\u0b9a\\u0bc6\\u0baa\\u0bcd.\",\n      \"\\u0b85\\u0b95\\u0bcd.\",\n      \"\\u0ba8\\u0bb5.\",\n      \"\\u0b9f\\u0bbf\\u0b9a.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM, y\",\n    \"longDate\": \"d MMMM, y\",\n    \"medium\": \"d MMM, y h:mm:ss a\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d-M-yy h:mm a\",\n    \"shortDate\": \"d-M-yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ta-sg\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ta.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0bae\\u0bc1\\u0bb1\\u0bcd\\u0baa\\u0b95\\u0bb2\\u0bcd\",\n      \"\\u0baa\\u0bbf\\u0bb1\\u0bcd\\u0baa\\u0b95\\u0bb2\\u0bcd\"\n    ],\n    \"DAY\": [\n      \"\\u0b9e\\u0bbe\\u0baf\\u0bbf\\u0bb1\\u0bc1\",\n      \"\\u0ba4\\u0bbf\\u0b99\\u0bcd\\u0b95\\u0bb3\\u0bcd\",\n      \"\\u0b9a\\u0bc6\\u0bb5\\u0bcd\\u0bb5\\u0bbe\\u0baf\\u0bcd\",\n      \"\\u0baa\\u0bc1\\u0ba4\\u0ba9\\u0bcd\",\n      \"\\u0bb5\\u0bbf\\u0baf\\u0bbe\\u0bb4\\u0ba9\\u0bcd\",\n      \"\\u0bb5\\u0bc6\\u0bb3\\u0bcd\\u0bb3\\u0bbf\",\n      \"\\u0b9a\\u0ba9\\u0bbf\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0b95\\u0bbf\\u0bb1\\u0bbf\\u0bb8\\u0bcd\\u0ba4\\u0bc1\\u0bb5\\u0bc1\\u0b95\\u0bcd\\u0b95\\u0bc1 \\u0bae\\u0bc1\\u0ba9\\u0bcd\",\n      \"\\u0b85\\u0ba9\\u0bcb \\u0b9f\\u0bcb\\u0bae\\u0bbf\\u0ba9\\u0bbf\"\n    ],\n    \"ERAS\": [\n      \"\\u0b95\\u0bbf.\\u0bae\\u0bc1.\",\n      \"\\u0b95\\u0bbf.\\u0baa\\u0bbf.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u0b9c\\u0ba9\\u0bb5\\u0bb0\\u0bbf\",\n      \"\\u0baa\\u0bbf\\u0baa\\u0bcd\\u0bb0\\u0bb5\\u0bb0\\u0bbf\",\n      \"\\u0bae\\u0bbe\\u0bb0\\u0bcd\\u0b9a\\u0bcd\",\n      \"\\u0b8f\\u0baa\\u0bcd\\u0bb0\\u0bb2\\u0bcd\",\n      \"\\u0bae\\u0bc7\",\n      \"\\u0b9c\\u0bc2\\u0ba9\\u0bcd\",\n      \"\\u0b9c\\u0bc2\\u0bb2\\u0bc8\",\n      \"\\u0b86\\u0b95\\u0bb8\\u0bcd\\u0b9f\\u0bcd\",\n      \"\\u0b9a\\u0bc6\\u0baa\\u0bcd\\u0b9f\\u0bae\\u0bcd\\u0baa\\u0bb0\\u0bcd\",\n      \"\\u0b85\\u0b95\\u0bcd\\u0b9f\\u0bcb\\u0baa\\u0bb0\\u0bcd\",\n      \"\\u0ba8\\u0bb5\\u0bae\\u0bcd\\u0baa\\u0bb0\\u0bcd\",\n      \"\\u0b9f\\u0bbf\\u0b9a\\u0bae\\u0bcd\\u0baa\\u0bb0\\u0bcd\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0b9e\\u0bbe\",\n      \"\\u0ba4\\u0bbf\",\n      \"\\u0b9a\\u0bc6\",\n      \"\\u0baa\\u0bc1\",\n      \"\\u0bb5\\u0bbf\",\n      \"\\u0bb5\\u0bc6\",\n      \"\\u0b9a\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0b9c\\u0ba9.\",\n      \"\\u0baa\\u0bbf\\u0baa\\u0bcd.\",\n      \"\\u0bae\\u0bbe\\u0bb0\\u0bcd.\",\n      \"\\u0b8f\\u0baa\\u0bcd.\",\n      \"\\u0bae\\u0bc7\",\n      \"\\u0b9c\\u0bc2\\u0ba9\\u0bcd\",\n      \"\\u0b9c\\u0bc2\\u0bb2\\u0bc8\",\n      \"\\u0b86\\u0b95.\",\n      \"\\u0b9a\\u0bc6\\u0baa\\u0bcd.\",\n      \"\\u0b85\\u0b95\\u0bcd.\",\n      \"\\u0ba8\\u0bb5.\",\n      \"\\u0b9f\\u0bbf\\u0b9a.\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM, y\",\n    \"longDate\": \"d MMMM, y\",\n    \"medium\": \"d MMM, y h:mm:ss a\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d-M-yy h:mm a\",\n    \"shortDate\": \"d-M-yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ta\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_te-in.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"[AM]\",\n      \"[PM]\"\n    ],\n    \"DAY\": [\n      \"\\u0c06\\u0c26\\u0c3f\\u0c35\\u0c3e\\u0c30\\u0c02\",\n      \"\\u0c38\\u0c4b\\u0c2e\\u0c35\\u0c3e\\u0c30\\u0c02\",\n      \"\\u0c2e\\u0c02\\u0c17\\u0c33\\u0c35\\u0c3e\\u0c30\\u0c02\",\n      \"\\u0c2c\\u0c41\\u0c27\\u0c35\\u0c3e\\u0c30\\u0c02\",\n      \"\\u0c17\\u0c41\\u0c30\\u0c41\\u0c35\\u0c3e\\u0c30\\u0c02\",\n      \"\\u0c36\\u0c41\\u0c15\\u0c4d\\u0c30\\u0c35\\u0c3e\\u0c30\\u0c02\",\n      \"\\u0c36\\u0c28\\u0c3f\\u0c35\\u0c3e\\u0c30\\u0c02\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0c15\\u0c4d\\u0c30\\u0c40\\u0c38\\u0c4d\\u0c24\\u0c41 \\u0c2a\\u0c42\\u0c30\\u0c4d\\u0c35\\u0c02\",\n      \"\\u0c15\\u0c4d\\u0c30\\u0c40\\u0c38\\u0c4d\\u0c24\\u0c41 \\u0c36\\u0c15\\u0c02\"\n    ],\n    \"ERAS\": [\n      \"\\u0c15\\u0c4d\\u0c30\\u0c40\\u0c2a\\u0c42\",\n      \"\\u0c15\\u0c4d\\u0c30\\u0c40\\u0c36\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u0c1c\\u0c28\\u0c35\\u0c30\\u0c3f\",\n      \"\\u0c2b\\u0c3f\\u0c2c\\u0c4d\\u0c30\\u0c35\\u0c30\\u0c3f\",\n      \"\\u0c2e\\u0c3e\\u0c30\\u0c4d\\u0c1a\\u0c3f\",\n      \"\\u0c0f\\u0c2a\\u0c4d\\u0c30\\u0c3f\\u0c32\\u0c4d\",\n      \"\\u0c2e\\u0c47\",\n      \"\\u0c1c\\u0c42\\u0c28\\u0c4d\",\n      \"\\u0c1c\\u0c41\\u0c32\\u0c48\",\n      \"\\u0c06\\u0c17\\u0c38\\u0c4d\\u0c1f\\u0c41\",\n      \"\\u0c38\\u0c46\\u0c2a\\u0c4d\\u0c1f\\u0c46\\u0c02\\u0c2c\\u0c30\\u0c4d\",\n      \"\\u0c05\\u0c15\\u0c4d\\u0c1f\\u0c4b\\u0c2c\\u0c30\\u0c4d\",\n      \"\\u0c28\\u0c35\\u0c02\\u0c2c\\u0c30\\u0c4d\",\n      \"\\u0c21\\u0c3f\\u0c38\\u0c46\\u0c02\\u0c2c\\u0c30\\u0c4d\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0c06\\u0c26\\u0c3f\",\n      \"\\u0c38\\u0c4b\\u0c2e\",\n      \"\\u0c2e\\u0c02\\u0c17\\u0c33\",\n      \"\\u0c2c\\u0c41\\u0c27\",\n      \"\\u0c17\\u0c41\\u0c30\\u0c41\",\n      \"\\u0c36\\u0c41\\u0c15\\u0c4d\\u0c30\",\n      \"\\u0c36\\u0c28\\u0c3f\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0c1c\\u0c28\",\n      \"\\u0c2b\\u0c3f\\u0c2c\\u0c4d\\u0c30\",\n      \"\\u0c2e\\u0c3e\\u0c30\\u0c4d\\u0c1a\\u0c3f\",\n      \"\\u0c0f\\u0c2a\\u0c4d\\u0c30\\u0c3f\",\n      \"\\u0c2e\\u0c47\",\n      \"\\u0c1c\\u0c42\\u0c28\\u0c4d\",\n      \"\\u0c1c\\u0c41\\u0c32\\u0c48\",\n      \"\\u0c06\\u0c17\",\n      \"\\u0c38\\u0c46\\u0c2a\\u0c4d\\u0c1f\\u0c46\\u0c02\",\n      \"\\u0c05\\u0c15\\u0c4d\\u0c1f\\u0c4b\",\n      \"\\u0c28\\u0c35\\u0c02\",\n      \"\\u0c21\\u0c3f\\u0c38\\u0c46\\u0c02\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"d, MMMM y, EEEE\",\n    \"longDate\": \"d MMMM, y\",\n    \"medium\": \"d MMM, y h:mm:ss a\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd-MM-yy h:mm a\",\n    \"shortDate\": \"dd-MM-yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"te-in\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_te.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"[AM]\",\n      \"[PM]\"\n    ],\n    \"DAY\": [\n      \"\\u0c06\\u0c26\\u0c3f\\u0c35\\u0c3e\\u0c30\\u0c02\",\n      \"\\u0c38\\u0c4b\\u0c2e\\u0c35\\u0c3e\\u0c30\\u0c02\",\n      \"\\u0c2e\\u0c02\\u0c17\\u0c33\\u0c35\\u0c3e\\u0c30\\u0c02\",\n      \"\\u0c2c\\u0c41\\u0c27\\u0c35\\u0c3e\\u0c30\\u0c02\",\n      \"\\u0c17\\u0c41\\u0c30\\u0c41\\u0c35\\u0c3e\\u0c30\\u0c02\",\n      \"\\u0c36\\u0c41\\u0c15\\u0c4d\\u0c30\\u0c35\\u0c3e\\u0c30\\u0c02\",\n      \"\\u0c36\\u0c28\\u0c3f\\u0c35\\u0c3e\\u0c30\\u0c02\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0c15\\u0c4d\\u0c30\\u0c40\\u0c38\\u0c4d\\u0c24\\u0c41 \\u0c2a\\u0c42\\u0c30\\u0c4d\\u0c35\\u0c02\",\n      \"\\u0c15\\u0c4d\\u0c30\\u0c40\\u0c38\\u0c4d\\u0c24\\u0c41 \\u0c36\\u0c15\\u0c02\"\n    ],\n    \"ERAS\": [\n      \"\\u0c15\\u0c4d\\u0c30\\u0c40\\u0c2a\\u0c42\",\n      \"\\u0c15\\u0c4d\\u0c30\\u0c40\\u0c36\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u0c1c\\u0c28\\u0c35\\u0c30\\u0c3f\",\n      \"\\u0c2b\\u0c3f\\u0c2c\\u0c4d\\u0c30\\u0c35\\u0c30\\u0c3f\",\n      \"\\u0c2e\\u0c3e\\u0c30\\u0c4d\\u0c1a\\u0c3f\",\n      \"\\u0c0f\\u0c2a\\u0c4d\\u0c30\\u0c3f\\u0c32\\u0c4d\",\n      \"\\u0c2e\\u0c47\",\n      \"\\u0c1c\\u0c42\\u0c28\\u0c4d\",\n      \"\\u0c1c\\u0c41\\u0c32\\u0c48\",\n      \"\\u0c06\\u0c17\\u0c38\\u0c4d\\u0c1f\\u0c41\",\n      \"\\u0c38\\u0c46\\u0c2a\\u0c4d\\u0c1f\\u0c46\\u0c02\\u0c2c\\u0c30\\u0c4d\",\n      \"\\u0c05\\u0c15\\u0c4d\\u0c1f\\u0c4b\\u0c2c\\u0c30\\u0c4d\",\n      \"\\u0c28\\u0c35\\u0c02\\u0c2c\\u0c30\\u0c4d\",\n      \"\\u0c21\\u0c3f\\u0c38\\u0c46\\u0c02\\u0c2c\\u0c30\\u0c4d\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0c06\\u0c26\\u0c3f\",\n      \"\\u0c38\\u0c4b\\u0c2e\",\n      \"\\u0c2e\\u0c02\\u0c17\\u0c33\",\n      \"\\u0c2c\\u0c41\\u0c27\",\n      \"\\u0c17\\u0c41\\u0c30\\u0c41\",\n      \"\\u0c36\\u0c41\\u0c15\\u0c4d\\u0c30\",\n      \"\\u0c36\\u0c28\\u0c3f\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0c1c\\u0c28\",\n      \"\\u0c2b\\u0c3f\\u0c2c\\u0c4d\\u0c30\",\n      \"\\u0c2e\\u0c3e\\u0c30\\u0c4d\\u0c1a\\u0c3f\",\n      \"\\u0c0f\\u0c2a\\u0c4d\\u0c30\\u0c3f\",\n      \"\\u0c2e\\u0c47\",\n      \"\\u0c1c\\u0c42\\u0c28\\u0c4d\",\n      \"\\u0c1c\\u0c41\\u0c32\\u0c48\",\n      \"\\u0c06\\u0c17\",\n      \"\\u0c38\\u0c46\\u0c2a\\u0c4d\\u0c1f\\u0c46\\u0c02\",\n      \"\\u0c05\\u0c15\\u0c4d\\u0c1f\\u0c4b\",\n      \"\\u0c28\\u0c35\\u0c02\",\n      \"\\u0c21\\u0c3f\\u0c38\\u0c46\\u0c02\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"d, MMMM y, EEEE\",\n    \"longDate\": \"d MMMM, y\",\n    \"medium\": \"d MMM, y h:mm:ss a\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd-MM-yy h:mm a\",\n    \"shortDate\": \"dd-MM-yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"te\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_teo-ke.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Taparachu\",\n      \"Ebongi\"\n    ],\n    \"DAY\": [\n      \"Nakaejuma\",\n      \"Nakaebarasa\",\n      \"Nakaare\",\n      \"Nakauni\",\n      \"Nakaung\\u2019on\",\n      \"Nakakany\",\n      \"Nakasabiti\"\n    ],\n    \"ERANAMES\": [\n      \"Kabla ya Christo\",\n      \"Baada ya Christo\"\n    ],\n    \"ERAS\": [\n      \"KK\",\n      \"BK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Orara\",\n      \"Omuk\",\n      \"Okwamg\\u2019\",\n      \"Odung\\u2019el\",\n      \"Omaruk\",\n      \"Omodok\\u2019king\\u2019ol\",\n      \"Ojola\",\n      \"Opedel\",\n      \"Osokosokoma\",\n      \"Otibar\",\n      \"Olabor\",\n      \"Opoo\"\n    ],\n    \"SHORTDAY\": [\n      \"Jum\",\n      \"Bar\",\n      \"Aar\",\n      \"Uni\",\n      \"Ung\",\n      \"Kan\",\n      \"Sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Rar\",\n      \"Muk\",\n      \"Kwa\",\n      \"Dun\",\n      \"Mar\",\n      \"Mod\",\n      \"Jol\",\n      \"Ped\",\n      \"Sok\",\n      \"Tib\",\n      \"Lab\",\n      \"Poo\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Ksh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"teo-ke\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_teo-ug.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Taparachu\",\n      \"Ebongi\"\n    ],\n    \"DAY\": [\n      \"Nakaejuma\",\n      \"Nakaebarasa\",\n      \"Nakaare\",\n      \"Nakauni\",\n      \"Nakaung\\u2019on\",\n      \"Nakakany\",\n      \"Nakasabiti\"\n    ],\n    \"ERANAMES\": [\n      \"Kabla ya Christo\",\n      \"Baada ya Christo\"\n    ],\n    \"ERAS\": [\n      \"KK\",\n      \"BK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Orara\",\n      \"Omuk\",\n      \"Okwamg\\u2019\",\n      \"Odung\\u2019el\",\n      \"Omaruk\",\n      \"Omodok\\u2019king\\u2019ol\",\n      \"Ojola\",\n      \"Opedel\",\n      \"Osokosokoma\",\n      \"Otibar\",\n      \"Olabor\",\n      \"Opoo\"\n    ],\n    \"SHORTDAY\": [\n      \"Jum\",\n      \"Bar\",\n      \"Aar\",\n      \"Uni\",\n      \"Ung\",\n      \"Kan\",\n      \"Sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Rar\",\n      \"Muk\",\n      \"Kwa\",\n      \"Dun\",\n      \"Mar\",\n      \"Mod\",\n      \"Jol\",\n      \"Ped\",\n      \"Sok\",\n      \"Tib\",\n      \"Lab\",\n      \"Poo\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"UGX\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"teo-ug\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_teo.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Taparachu\",\n      \"Ebongi\"\n    ],\n    \"DAY\": [\n      \"Nakaejuma\",\n      \"Nakaebarasa\",\n      \"Nakaare\",\n      \"Nakauni\",\n      \"Nakaung\\u2019on\",\n      \"Nakakany\",\n      \"Nakasabiti\"\n    ],\n    \"ERANAMES\": [\n      \"Kabla ya Christo\",\n      \"Baada ya Christo\"\n    ],\n    \"ERAS\": [\n      \"KK\",\n      \"BK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Orara\",\n      \"Omuk\",\n      \"Okwamg\\u2019\",\n      \"Odung\\u2019el\",\n      \"Omaruk\",\n      \"Omodok\\u2019king\\u2019ol\",\n      \"Ojola\",\n      \"Opedel\",\n      \"Osokosokoma\",\n      \"Otibar\",\n      \"Olabor\",\n      \"Opoo\"\n    ],\n    \"SHORTDAY\": [\n      \"Jum\",\n      \"Bar\",\n      \"Aar\",\n      \"Uni\",\n      \"Ung\",\n      \"Kan\",\n      \"Sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Rar\",\n      \"Muk\",\n      \"Kwa\",\n      \"Dun\",\n      \"Mar\",\n      \"Mod\",\n      \"Jol\",\n      \"Ped\",\n      \"Sok\",\n      \"Tib\",\n      \"Lab\",\n      \"Poo\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"UGX\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"teo\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_tg-cyrl-tj.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u043f\\u0435. \\u0447\\u043e.\",\n      \"\\u043f\\u0430. \\u0447\\u043e.\"\n    ],\n    \"DAY\": [\n      \"\\u042f\\u043a\\u0448\\u0430\\u043d\\u0431\\u0435\",\n      \"\\u0414\\u0443\\u0448\\u0430\\u043d\\u0431\\u0435\",\n      \"\\u0421\\u0435\\u0448\\u0430\\u043d\\u0431\\u0435\",\n      \"\\u0427\\u043e\\u0440\\u0448\\u0430\\u043d\\u0431\\u0435\",\n      \"\\u041f\\u0430\\u043d\\u04b7\\u0448\\u0430\\u043d\\u0431\\u0435\",\n      \"\\u04b6\\u0443\\u043c\\u044a\\u0430\",\n      \"\\u0428\\u0430\\u043d\\u0431\\u0435\"\n    ],\n    \"MONTH\": [\n      \"\\u042f\\u043d\\u0432\\u0430\\u0440\",\n      \"\\u0424\\u0435\\u0432\\u0440\\u0430\\u043b\",\n      \"\\u041c\\u0430\\u0440\\u0442\",\n      \"\\u0410\\u043f\\u0440\\u0435\\u043b\",\n      \"\\u041c\\u0430\\u0439\",\n      \"\\u0418\\u044e\\u043d\",\n      \"\\u0418\\u044e\\u043b\",\n      \"\\u0410\\u0432\\u0433\\u0443\\u0441\\u0442\",\n      \"\\u0421\\u0435\\u043d\\u0442\\u044f\\u0431\\u0440\",\n      \"\\u041e\\u043a\\u0442\\u044f\\u0431\\u0440\",\n      \"\\u041d\\u043e\\u044f\\u0431\\u0440\",\n      \"\\u0414\\u0435\\u043a\\u0430\\u0431\\u0440\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u042f\\u0448\\u0431\",\n      \"\\u0414\\u0448\\u0431\",\n      \"\\u0421\\u0448\\u0431\",\n      \"\\u0427\\u0448\\u0431\",\n      \"\\u041f\\u0448\\u0431\",\n      \"\\u04b6\\u043c\\u044a\",\n      \"\\u0428\\u043d\\u0431\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u042f\\u043d\\u0432\",\n      \"\\u0424\\u0435\\u0432\",\n      \"\\u041c\\u0430\\u0440\",\n      \"\\u0410\\u043f\\u0440\",\n      \"\\u041c\\u0430\\u0439\",\n      \"\\u0418\\u044e\\u043d\",\n      \"\\u0418\\u044e\\u043b\",\n      \"\\u0410\\u0432\\u0433\",\n      \"\\u0421\\u0435\\u043d\",\n      \"\\u041e\\u043a\\u0442\",\n      \"\\u041d\\u043e\\u044f\",\n      \"\\u0414\\u0435\\u043a\"\n    ],\n    \"fullDate\": \"EEEE, y MMMM dd\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"yy/MM/dd HH:mm\",\n    \"shortDate\": \"yy/MM/dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Som\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4\\u00a0-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"tg-cyrl-tj\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_tg-cyrl.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u043f\\u0435. \\u0447\\u043e.\",\n      \"\\u043f\\u0430. \\u0447\\u043e.\"\n    ],\n    \"DAY\": [\n      \"\\u042f\\u043a\\u0448\\u0430\\u043d\\u0431\\u0435\",\n      \"\\u0414\\u0443\\u0448\\u0430\\u043d\\u0431\\u0435\",\n      \"\\u0421\\u0435\\u0448\\u0430\\u043d\\u0431\\u0435\",\n      \"\\u0427\\u043e\\u0440\\u0448\\u0430\\u043d\\u0431\\u0435\",\n      \"\\u041f\\u0430\\u043d\\u04b7\\u0448\\u0430\\u043d\\u0431\\u0435\",\n      \"\\u04b6\\u0443\\u043c\\u044a\\u0430\",\n      \"\\u0428\\u0430\\u043d\\u0431\\u0435\"\n    ],\n    \"MONTH\": [\n      \"\\u042f\\u043d\\u0432\\u0430\\u0440\",\n      \"\\u0424\\u0435\\u0432\\u0440\\u0430\\u043b\",\n      \"\\u041c\\u0430\\u0440\\u0442\",\n      \"\\u0410\\u043f\\u0440\\u0435\\u043b\",\n      \"\\u041c\\u0430\\u0439\",\n      \"\\u0418\\u044e\\u043d\",\n      \"\\u0418\\u044e\\u043b\",\n      \"\\u0410\\u0432\\u0433\\u0443\\u0441\\u0442\",\n      \"\\u0421\\u0435\\u043d\\u0442\\u044f\\u0431\\u0440\",\n      \"\\u041e\\u043a\\u0442\\u044f\\u0431\\u0440\",\n      \"\\u041d\\u043e\\u044f\\u0431\\u0440\",\n      \"\\u0414\\u0435\\u043a\\u0430\\u0431\\u0440\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u042f\\u0448\\u0431\",\n      \"\\u0414\\u0448\\u0431\",\n      \"\\u0421\\u0448\\u0431\",\n      \"\\u0427\\u0448\\u0431\",\n      \"\\u041f\\u0448\\u0431\",\n      \"\\u04b6\\u043c\\u044a\",\n      \"\\u0428\\u043d\\u0431\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u042f\\u043d\\u0432\",\n      \"\\u0424\\u0435\\u0432\",\n      \"\\u041c\\u0430\\u0440\",\n      \"\\u0410\\u043f\\u0440\",\n      \"\\u041c\\u0430\\u0439\",\n      \"\\u0418\\u044e\\u043d\",\n      \"\\u0418\\u044e\\u043b\",\n      \"\\u0410\\u0432\\u0433\",\n      \"\\u0421\\u0435\\u043d\",\n      \"\\u041e\\u043a\\u0442\",\n      \"\\u041d\\u043e\\u044f\",\n      \"\\u0414\\u0435\\u043a\"\n    ],\n    \"fullDate\": \"EEEE, y MMMM dd\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"yy/MM/dd HH:mm\",\n    \"shortDate\": \"yy/MM/dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4\\u00a0-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"tg-cyrl\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_tg.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u043f\\u0435. \\u0447\\u043e.\",\n      \"\\u043f\\u0430. \\u0447\\u043e.\"\n    ],\n    \"DAY\": [\n      \"\\u042f\\u043a\\u0448\\u0430\\u043d\\u0431\\u0435\",\n      \"\\u0414\\u0443\\u0448\\u0430\\u043d\\u0431\\u0435\",\n      \"\\u0421\\u0435\\u0448\\u0430\\u043d\\u0431\\u0435\",\n      \"\\u0427\\u043e\\u0440\\u0448\\u0430\\u043d\\u0431\\u0435\",\n      \"\\u041f\\u0430\\u043d\\u04b7\\u0448\\u0430\\u043d\\u0431\\u0435\",\n      \"\\u04b6\\u0443\\u043c\\u044a\\u0430\",\n      \"\\u0428\\u0430\\u043d\\u0431\\u0435\"\n    ],\n    \"MONTH\": [\n      \"\\u042f\\u043d\\u0432\\u0430\\u0440\",\n      \"\\u0424\\u0435\\u0432\\u0440\\u0430\\u043b\",\n      \"\\u041c\\u0430\\u0440\\u0442\",\n      \"\\u0410\\u043f\\u0440\\u0435\\u043b\",\n      \"\\u041c\\u0430\\u0439\",\n      \"\\u0418\\u044e\\u043d\",\n      \"\\u0418\\u044e\\u043b\",\n      \"\\u0410\\u0432\\u0433\\u0443\\u0441\\u0442\",\n      \"\\u0421\\u0435\\u043d\\u0442\\u044f\\u0431\\u0440\",\n      \"\\u041e\\u043a\\u0442\\u044f\\u0431\\u0440\",\n      \"\\u041d\\u043e\\u044f\\u0431\\u0440\",\n      \"\\u0414\\u0435\\u043a\\u0430\\u0431\\u0440\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u042f\\u0448\\u0431\",\n      \"\\u0414\\u0448\\u0431\",\n      \"\\u0421\\u0448\\u0431\",\n      \"\\u0427\\u0448\\u0431\",\n      \"\\u041f\\u0448\\u0431\",\n      \"\\u04b6\\u043c\\u044a\",\n      \"\\u0428\\u043d\\u0431\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u042f\\u043d\\u0432\",\n      \"\\u0424\\u0435\\u0432\",\n      \"\\u041c\\u0430\\u0440\",\n      \"\\u0410\\u043f\\u0440\",\n      \"\\u041c\\u0430\\u0439\",\n      \"\\u0418\\u044e\\u043d\",\n      \"\\u0418\\u044e\\u043b\",\n      \"\\u0410\\u0432\\u0433\",\n      \"\\u0421\\u0435\\u043d\",\n      \"\\u041e\\u043a\\u0442\",\n      \"\\u041d\\u043e\\u044f\",\n      \"\\u0414\\u0435\\u043a\"\n    ],\n    \"fullDate\": \"EEEE, y MMMM dd\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"yy/MM/dd HH:mm\",\n    \"shortDate\": \"yy/MM/dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Som\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4\\u00a0-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"tg\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_th-th.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0e01\\u0e48\\u0e2d\\u0e19\\u0e40\\u0e17\\u0e35\\u0e48\\u0e22\\u0e07\",\n      \"\\u0e2b\\u0e25\\u0e31\\u0e07\\u0e40\\u0e17\\u0e35\\u0e48\\u0e22\\u0e07\"\n    ],\n    \"DAY\": [\n      \"\\u0e27\\u0e31\\u0e19\\u0e2d\\u0e32\\u0e17\\u0e34\\u0e15\\u0e22\\u0e4c\",\n      \"\\u0e27\\u0e31\\u0e19\\u0e08\\u0e31\\u0e19\\u0e17\\u0e23\\u0e4c\",\n      \"\\u0e27\\u0e31\\u0e19\\u0e2d\\u0e31\\u0e07\\u0e04\\u0e32\\u0e23\",\n      \"\\u0e27\\u0e31\\u0e19\\u0e1e\\u0e38\\u0e18\",\n      \"\\u0e27\\u0e31\\u0e19\\u0e1e\\u0e24\\u0e2b\\u0e31\\u0e2a\\u0e1a\\u0e14\\u0e35\",\n      \"\\u0e27\\u0e31\\u0e19\\u0e28\\u0e38\\u0e01\\u0e23\\u0e4c\",\n      \"\\u0e27\\u0e31\\u0e19\\u0e40\\u0e2a\\u0e32\\u0e23\\u0e4c\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0e1b\\u0e35\\u0e01\\u0e48\\u0e2d\\u0e19\\u0e04\\u0e23\\u0e34\\u0e2a\\u0e15\\u0e4c\\u0e28\\u0e31\\u0e01\\u0e23\\u0e32\\u0e0a\",\n      \"\\u0e04\\u0e23\\u0e34\\u0e2a\\u0e15\\u0e4c\\u0e28\\u0e31\\u0e01\\u0e23\\u0e32\\u0e0a\"\n    ],\n    \"ERAS\": [\n      \"\\u0e1b\\u0e35\\u0e01\\u0e48\\u0e2d\\u0e19 \\u0e04.\\u0e28.\",\n      \"\\u0e04.\\u0e28.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u0e21\\u0e01\\u0e23\\u0e32\\u0e04\\u0e21\",\n      \"\\u0e01\\u0e38\\u0e21\\u0e20\\u0e32\\u0e1e\\u0e31\\u0e19\\u0e18\\u0e4c\",\n      \"\\u0e21\\u0e35\\u0e19\\u0e32\\u0e04\\u0e21\",\n      \"\\u0e40\\u0e21\\u0e29\\u0e32\\u0e22\\u0e19\",\n      \"\\u0e1e\\u0e24\\u0e29\\u0e20\\u0e32\\u0e04\\u0e21\",\n      \"\\u0e21\\u0e34\\u0e16\\u0e38\\u0e19\\u0e32\\u0e22\\u0e19\",\n      \"\\u0e01\\u0e23\\u0e01\\u0e0e\\u0e32\\u0e04\\u0e21\",\n      \"\\u0e2a\\u0e34\\u0e07\\u0e2b\\u0e32\\u0e04\\u0e21\",\n      \"\\u0e01\\u0e31\\u0e19\\u0e22\\u0e32\\u0e22\\u0e19\",\n      \"\\u0e15\\u0e38\\u0e25\\u0e32\\u0e04\\u0e21\",\n      \"\\u0e1e\\u0e24\\u0e28\\u0e08\\u0e34\\u0e01\\u0e32\\u0e22\\u0e19\",\n      \"\\u0e18\\u0e31\\u0e19\\u0e27\\u0e32\\u0e04\\u0e21\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0e2d\\u0e32.\",\n      \"\\u0e08.\",\n      \"\\u0e2d.\",\n      \"\\u0e1e.\",\n      \"\\u0e1e\\u0e24.\",\n      \"\\u0e28.\",\n      \"\\u0e2a.\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0e21.\\u0e04.\",\n      \"\\u0e01.\\u0e1e.\",\n      \"\\u0e21\\u0e35.\\u0e04.\",\n      \"\\u0e40\\u0e21.\\u0e22.\",\n      \"\\u0e1e.\\u0e04.\",\n      \"\\u0e21\\u0e34.\\u0e22.\",\n      \"\\u0e01.\\u0e04.\",\n      \"\\u0e2a.\\u0e04.\",\n      \"\\u0e01.\\u0e22.\",\n      \"\\u0e15.\\u0e04.\",\n      \"\\u0e1e.\\u0e22.\",\n      \"\\u0e18.\\u0e04.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE\\u0e17\\u0e35\\u0e48 d MMMM G y\",\n    \"longDate\": \"d MMMM G y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/yy HH:mm\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u0e3f\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"th-th\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_th.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0e01\\u0e48\\u0e2d\\u0e19\\u0e40\\u0e17\\u0e35\\u0e48\\u0e22\\u0e07\",\n      \"\\u0e2b\\u0e25\\u0e31\\u0e07\\u0e40\\u0e17\\u0e35\\u0e48\\u0e22\\u0e07\"\n    ],\n    \"DAY\": [\n      \"\\u0e27\\u0e31\\u0e19\\u0e2d\\u0e32\\u0e17\\u0e34\\u0e15\\u0e22\\u0e4c\",\n      \"\\u0e27\\u0e31\\u0e19\\u0e08\\u0e31\\u0e19\\u0e17\\u0e23\\u0e4c\",\n      \"\\u0e27\\u0e31\\u0e19\\u0e2d\\u0e31\\u0e07\\u0e04\\u0e32\\u0e23\",\n      \"\\u0e27\\u0e31\\u0e19\\u0e1e\\u0e38\\u0e18\",\n      \"\\u0e27\\u0e31\\u0e19\\u0e1e\\u0e24\\u0e2b\\u0e31\\u0e2a\\u0e1a\\u0e14\\u0e35\",\n      \"\\u0e27\\u0e31\\u0e19\\u0e28\\u0e38\\u0e01\\u0e23\\u0e4c\",\n      \"\\u0e27\\u0e31\\u0e19\\u0e40\\u0e2a\\u0e32\\u0e23\\u0e4c\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0e1b\\u0e35\\u0e01\\u0e48\\u0e2d\\u0e19\\u0e04\\u0e23\\u0e34\\u0e2a\\u0e15\\u0e4c\\u0e28\\u0e31\\u0e01\\u0e23\\u0e32\\u0e0a\",\n      \"\\u0e04\\u0e23\\u0e34\\u0e2a\\u0e15\\u0e4c\\u0e28\\u0e31\\u0e01\\u0e23\\u0e32\\u0e0a\"\n    ],\n    \"ERAS\": [\n      \"\\u0e1b\\u0e35\\u0e01\\u0e48\\u0e2d\\u0e19 \\u0e04.\\u0e28.\",\n      \"\\u0e04.\\u0e28.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u0e21\\u0e01\\u0e23\\u0e32\\u0e04\\u0e21\",\n      \"\\u0e01\\u0e38\\u0e21\\u0e20\\u0e32\\u0e1e\\u0e31\\u0e19\\u0e18\\u0e4c\",\n      \"\\u0e21\\u0e35\\u0e19\\u0e32\\u0e04\\u0e21\",\n      \"\\u0e40\\u0e21\\u0e29\\u0e32\\u0e22\\u0e19\",\n      \"\\u0e1e\\u0e24\\u0e29\\u0e20\\u0e32\\u0e04\\u0e21\",\n      \"\\u0e21\\u0e34\\u0e16\\u0e38\\u0e19\\u0e32\\u0e22\\u0e19\",\n      \"\\u0e01\\u0e23\\u0e01\\u0e0e\\u0e32\\u0e04\\u0e21\",\n      \"\\u0e2a\\u0e34\\u0e07\\u0e2b\\u0e32\\u0e04\\u0e21\",\n      \"\\u0e01\\u0e31\\u0e19\\u0e22\\u0e32\\u0e22\\u0e19\",\n      \"\\u0e15\\u0e38\\u0e25\\u0e32\\u0e04\\u0e21\",\n      \"\\u0e1e\\u0e24\\u0e28\\u0e08\\u0e34\\u0e01\\u0e32\\u0e22\\u0e19\",\n      \"\\u0e18\\u0e31\\u0e19\\u0e27\\u0e32\\u0e04\\u0e21\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0e2d\\u0e32.\",\n      \"\\u0e08.\",\n      \"\\u0e2d.\",\n      \"\\u0e1e.\",\n      \"\\u0e1e\\u0e24.\",\n      \"\\u0e28.\",\n      \"\\u0e2a.\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0e21.\\u0e04.\",\n      \"\\u0e01.\\u0e1e.\",\n      \"\\u0e21\\u0e35.\\u0e04.\",\n      \"\\u0e40\\u0e21.\\u0e22.\",\n      \"\\u0e1e.\\u0e04.\",\n      \"\\u0e21\\u0e34.\\u0e22.\",\n      \"\\u0e01.\\u0e04.\",\n      \"\\u0e2a.\\u0e04.\",\n      \"\\u0e01.\\u0e22.\",\n      \"\\u0e15.\\u0e04.\",\n      \"\\u0e1e.\\u0e22.\",\n      \"\\u0e18.\\u0e04.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE\\u0e17\\u0e35\\u0e48 d MMMM G y\",\n    \"longDate\": \"d MMMM G y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/yy HH:mm\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u0e3f\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"th\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ti-er.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u1295\\u1309\\u1206 \\u1230\\u12d3\\u1270\",\n      \"\\u12f5\\u1215\\u122d \\u1230\\u12d3\\u1275\"\n    ],\n    \"DAY\": [\n      \"\\u1230\\u1295\\u1260\\u1275\",\n      \"\\u1230\\u1291\\u12ed\",\n      \"\\u1230\\u1209\\u1235\",\n      \"\\u1228\\u1261\\u12d5\",\n      \"\\u1213\\u1219\\u1235\",\n      \"\\u12d3\\u122d\\u1262\",\n      \"\\u1240\\u12f3\\u121d\"\n    ],\n    \"ERANAMES\": [\n      \"\\u12d3/\\u12d3\",\n      \"\\u12d3/\\u121d\"\n    ],\n    \"ERAS\": [\n      \"\\u12d3/\\u12d3\",\n      \"\\u12d3/\\u121d\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u1325\\u122a\",\n      \"\\u1208\\u12ab\\u1272\\u1275\",\n      \"\\u1218\\u130b\\u1262\\u1275\",\n      \"\\u121a\\u12eb\\u12dd\\u12eb\",\n      \"\\u130d\\u1295\\u1266\\u1275\",\n      \"\\u1230\\u1290\",\n      \"\\u1213\\u121d\\u1208\",\n      \"\\u1290\\u1213\\u1230\",\n      \"\\u1218\\u1235\\u12a8\\u1228\\u121d\",\n      \"\\u1325\\u1245\\u121d\\u1272\",\n      \"\\u1215\\u12f3\\u122d\",\n      \"\\u1273\\u1215\\u1233\\u1235\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u1230\\u1295\\u1260\\u1275\",\n      \"\\u1230\\u1291\\u12ed\",\n      \"\\u1230\\u1209\\u1235\",\n      \"\\u1228\\u1261\\u12d5\",\n      \"\\u1213\\u1219\\u1235\",\n      \"\\u12d3\\u122d\\u1262\",\n      \"\\u1240\\u12f3\\u121d\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u1325\\u122a\",\n      \"\\u1208\\u12ab\\u1272\",\n      \"\\u1218\\u130b\\u1262\",\n      \"\\u121a\\u12eb\\u12dd\",\n      \"\\u130d\\u1295\\u1266\",\n      \"\\u1230\\u1290\",\n      \"\\u1213\\u121d\\u1208\",\n      \"\\u1290\\u1213\\u1230\",\n      \"\\u1218\\u1235\\u12a8\",\n      \"\\u1325\\u1245\\u121d\",\n      \"\\u1215\\u12f3\\u122d\",\n      \"\\u1273\\u1215\\u1233\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE\\u1361 dd MMMM \\u1218\\u12d3\\u120d\\u1272 y G\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd-MMM-y h:mm:ss a\",\n    \"mediumDate\": \"dd-MMM-y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Nfk\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ti-er\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ti-et.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u1295\\u1309\\u1206 \\u1230\\u12d3\\u1270\",\n      \"\\u12f5\\u1215\\u122d \\u1230\\u12d3\\u1275\"\n    ],\n    \"DAY\": [\n      \"\\u1230\\u1295\\u1260\\u1275\",\n      \"\\u1230\\u1291\\u12ed\",\n      \"\\u1220\\u1209\\u1235\",\n      \"\\u1228\\u1261\\u12d5\",\n      \"\\u1283\\u1219\\u1235\",\n      \"\\u12d3\\u122d\\u1262\",\n      \"\\u1240\\u12f3\\u121d\"\n    ],\n    \"ERANAMES\": [\n      \"\\u12d3/\\u12d3\",\n      \"\\u12d3/\\u121d\"\n    ],\n    \"ERAS\": [\n      \"\\u12d3/\\u12d3\",\n      \"\\u12d3/\\u121d\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u1303\\u1295\\u12e9\\u12c8\\u122a\",\n      \"\\u134c\\u1265\\u1229\\u12c8\\u122a\",\n      \"\\u121b\\u122d\\u127d\",\n      \"\\u12a4\\u1355\\u1228\\u120d\",\n      \"\\u121c\\u12ed\",\n      \"\\u1301\\u1295\",\n      \"\\u1301\\u120b\\u12ed\",\n      \"\\u12a6\\u1308\\u1235\\u1275\",\n      \"\\u1234\\u1355\\u1274\\u121d\\u1260\\u122d\",\n      \"\\u12a6\\u12ad\\u1270\\u12cd\\u1260\\u122d\",\n      \"\\u1296\\u126c\\u121d\\u1260\\u122d\",\n      \"\\u12f2\\u1234\\u121d\\u1260\\u122d\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u1230\\u1295\\u1260\\u1275\",\n      \"\\u1230\\u1291\\u12ed\",\n      \"\\u1220\\u1209\\u1235\",\n      \"\\u1228\\u1261\\u12d5\",\n      \"\\u1283\\u1219\\u1235\",\n      \"\\u12d3\\u122d\\u1262\",\n      \"\\u1240\\u12f3\\u121d\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u1303\\u1295\\u12e9\",\n      \"\\u134c\\u1265\\u1229\",\n      \"\\u121b\\u122d\\u127d\",\n      \"\\u12a4\\u1355\\u1228\",\n      \"\\u121c\\u12ed\",\n      \"\\u1301\\u1295\",\n      \"\\u1301\\u120b\\u12ed\",\n      \"\\u12a6\\u1308\\u1235\",\n      \"\\u1234\\u1355\\u1274\",\n      \"\\u12a6\\u12ad\\u1270\",\n      \"\\u1296\\u126c\\u121d\",\n      \"\\u12f2\\u1234\\u121d\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE\\u1363 dd MMMM \\u1218\\u12d3\\u120d\\u1272 y G\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd-MMM-y h:mm:ss a\",\n    \"mediumDate\": \"dd-MMM-y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Birr\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ti-et\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ti.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u1295\\u1309\\u1206 \\u1230\\u12d3\\u1270\",\n      \"\\u12f5\\u1215\\u122d \\u1230\\u12d3\\u1275\"\n    ],\n    \"DAY\": [\n      \"\\u1230\\u1295\\u1260\\u1275\",\n      \"\\u1230\\u1291\\u12ed\",\n      \"\\u1220\\u1209\\u1235\",\n      \"\\u1228\\u1261\\u12d5\",\n      \"\\u1283\\u1219\\u1235\",\n      \"\\u12d3\\u122d\\u1262\",\n      \"\\u1240\\u12f3\\u121d\"\n    ],\n    \"ERANAMES\": [\n      \"\\u12d3/\\u12d3\",\n      \"\\u12d3/\\u121d\"\n    ],\n    \"ERAS\": [\n      \"\\u12d3/\\u12d3\",\n      \"\\u12d3/\\u121d\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u1303\\u1295\\u12e9\\u12c8\\u122a\",\n      \"\\u134c\\u1265\\u1229\\u12c8\\u122a\",\n      \"\\u121b\\u122d\\u127d\",\n      \"\\u12a4\\u1355\\u1228\\u120d\",\n      \"\\u121c\\u12ed\",\n      \"\\u1301\\u1295\",\n      \"\\u1301\\u120b\\u12ed\",\n      \"\\u12a6\\u1308\\u1235\\u1275\",\n      \"\\u1234\\u1355\\u1274\\u121d\\u1260\\u122d\",\n      \"\\u12a6\\u12ad\\u1270\\u12cd\\u1260\\u122d\",\n      \"\\u1296\\u126c\\u121d\\u1260\\u122d\",\n      \"\\u12f2\\u1234\\u121d\\u1260\\u122d\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u1230\\u1295\\u1260\\u1275\",\n      \"\\u1230\\u1291\\u12ed\",\n      \"\\u1220\\u1209\\u1235\",\n      \"\\u1228\\u1261\\u12d5\",\n      \"\\u1283\\u1219\\u1235\",\n      \"\\u12d3\\u122d\\u1262\",\n      \"\\u1240\\u12f3\\u121d\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u1303\\u1295\\u12e9\",\n      \"\\u134c\\u1265\\u1229\",\n      \"\\u121b\\u122d\\u127d\",\n      \"\\u12a4\\u1355\\u1228\",\n      \"\\u121c\\u12ed\",\n      \"\\u1301\\u1295\",\n      \"\\u1301\\u120b\\u12ed\",\n      \"\\u12a6\\u1308\\u1235\",\n      \"\\u1234\\u1355\\u1274\",\n      \"\\u12a6\\u12ad\\u1270\",\n      \"\\u1296\\u126c\\u121d\",\n      \"\\u12f2\\u1234\\u121d\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE\\u1363 dd MMMM \\u1218\\u12d3\\u120d\\u1272 y G\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd-MMM-y h:mm:ss a\",\n    \"mediumDate\": \"dd-MMM-y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Birr\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ti\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_tig-er.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u1240\\u12f0\\u121d \\u1230\\u122d\\u121d\\u12d5\\u120d\",\n      \"\\u1213\\u1246 \\u1235\\u122d\\u121d\\u12d5\\u120d\"\n    ],\n    \"DAY\": [\n      \"\\u1230\\u1295\\u1260\\u1275 \\u12d3\\u1263\\u12ed\",\n      \"\\u1230\\u1296\",\n      \"\\u1273\\u120b\\u1238\\u1296\",\n      \"\\u12a3\\u1228\\u122d\\u1263\\u12d3\",\n      \"\\u12a8\\u121a\\u123d\",\n      \"\\u1305\\u121d\\u12d3\\u1275\",\n      \"\\u1230\\u1295\\u1260\\u1275 \\u1295\\u12a2\\u123d\"\n    ],\n    \"MONTH\": [\n      \"\\u1303\\u1295\\u12e9\\u12c8\\u122a\",\n      \"\\u134c\\u1265\\u1229\\u12c8\\u122a\",\n      \"\\u121b\\u122d\\u127d\",\n      \"\\u12a4\\u1355\\u1228\\u120d\",\n      \"\\u121c\\u12ed\",\n      \"\\u1301\\u1295\",\n      \"\\u1301\\u120b\\u12ed\",\n      \"\\u12a6\\u1308\\u1235\\u1275\",\n      \"\\u1234\\u1355\\u1274\\u121d\\u1260\\u122d\",\n      \"\\u12a6\\u12ad\\u1270\\u12cd\\u1260\\u122d\",\n      \"\\u1296\\u126c\\u121d\\u1260\\u122d\",\n      \"\\u12f2\\u1234\\u121d\\u1260\\u122d\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u1230/\\u12d3\",\n      \"\\u1230\\u1296\",\n      \"\\u1273\\u120b\\u1238\",\n      \"\\u12a3\\u1228\\u122d\",\n      \"\\u12a8\\u121a\\u123d\",\n      \"\\u1305\\u121d\\u12d3\",\n      \"\\u1230/\\u1295\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u1303\\u1295\\u12e9\",\n      \"\\u134c\\u1265\\u1229\",\n      \"\\u121b\\u122d\\u127d\",\n      \"\\u12a4\\u1355\\u1228\",\n      \"\\u121c\\u12ed\",\n      \"\\u1301\\u1295\",\n      \"\\u1301\\u120b\\u12ed\",\n      \"\\u12a6\\u1308\\u1235\",\n      \"\\u1234\\u1355\\u1274\",\n      \"\\u12a6\\u12ad\\u1270\",\n      \"\\u1296\\u126c\\u121d\",\n      \"\\u12f2\\u1234\\u121d\"\n    ],\n    \"fullDate\": \"EEEE\\u1361 dd MMMM \\u12ee\\u121d y G\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd-MMM-y h:mm:ss a\",\n    \"mediumDate\": \"dd-MMM-y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Nfk\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"tig-er\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_tig.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u1240\\u12f0\\u121d \\u1230\\u122d\\u121d\\u12d5\\u120d\",\n      \"\\u1213\\u1246 \\u1235\\u122d\\u121d\\u12d5\\u120d\"\n    ],\n    \"DAY\": [\n      \"\\u1230\\u1295\\u1260\\u1275 \\u12d3\\u1263\\u12ed\",\n      \"\\u1230\\u1296\",\n      \"\\u1273\\u120b\\u1238\\u1296\",\n      \"\\u12a3\\u1228\\u122d\\u1263\\u12d3\",\n      \"\\u12a8\\u121a\\u123d\",\n      \"\\u1305\\u121d\\u12d3\\u1275\",\n      \"\\u1230\\u1295\\u1260\\u1275 \\u1295\\u12a2\\u123d\"\n    ],\n    \"MONTH\": [\n      \"\\u1303\\u1295\\u12e9\\u12c8\\u122a\",\n      \"\\u134c\\u1265\\u1229\\u12c8\\u122a\",\n      \"\\u121b\\u122d\\u127d\",\n      \"\\u12a4\\u1355\\u1228\\u120d\",\n      \"\\u121c\\u12ed\",\n      \"\\u1301\\u1295\",\n      \"\\u1301\\u120b\\u12ed\",\n      \"\\u12a6\\u1308\\u1235\\u1275\",\n      \"\\u1234\\u1355\\u1274\\u121d\\u1260\\u122d\",\n      \"\\u12a6\\u12ad\\u1270\\u12cd\\u1260\\u122d\",\n      \"\\u1296\\u126c\\u121d\\u1260\\u122d\",\n      \"\\u12f2\\u1234\\u121d\\u1260\\u122d\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u1230/\\u12d3\",\n      \"\\u1230\\u1296\",\n      \"\\u1273\\u120b\\u1238\",\n      \"\\u12a3\\u1228\\u122d\",\n      \"\\u12a8\\u121a\\u123d\",\n      \"\\u1305\\u121d\\u12d3\",\n      \"\\u1230/\\u1295\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u1303\\u1295\\u12e9\",\n      \"\\u134c\\u1265\\u1229\",\n      \"\\u121b\\u122d\\u127d\",\n      \"\\u12a4\\u1355\\u1228\",\n      \"\\u121c\\u12ed\",\n      \"\\u1301\\u1295\",\n      \"\\u1301\\u120b\\u12ed\",\n      \"\\u12a6\\u1308\\u1235\",\n      \"\\u1234\\u1355\\u1274\",\n      \"\\u12a6\\u12ad\\u1270\",\n      \"\\u1296\\u126c\\u121d\",\n      \"\\u12f2\\u1234\\u121d\"\n    ],\n    \"fullDate\": \"EEEE\\u1361 dd MMMM \\u12ee\\u121d y G\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd-MMM-y h:mm:ss a\",\n    \"mediumDate\": \"dd-MMM-y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Nfk\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"tig\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_tl.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Linggo\",\n      \"Lunes\",\n      \"Martes\",\n      \"Miyerkules\",\n      \"Huwebes\",\n      \"Biyernes\",\n      \"Sabado\"\n    ],\n    \"ERANAMES\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Enero\",\n      \"Pebrero\",\n      \"Marso\",\n      \"Abril\",\n      \"Mayo\",\n      \"Hunyo\",\n      \"Hulyo\",\n      \"Agosto\",\n      \"Setyembre\",\n      \"Oktubre\",\n      \"Nobyembre\",\n      \"Disyembre\"\n    ],\n    \"SHORTDAY\": [\n      \"Lin\",\n      \"Lun\",\n      \"Mar\",\n      \"Miy\",\n      \"Huw\",\n      \"Biy\",\n      \"Sab\"\n    ],\n    \"SHORTMONTH\": [\n      \"Ene\",\n      \"Peb\",\n      \"Mar\",\n      \"Abr\",\n      \"May\",\n      \"Hun\",\n      \"Hul\",\n      \"Ago\",\n      \"Set\",\n      \"Okt\",\n      \"Nob\",\n      \"Dis\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"MMMM d, y\",\n    \"medium\": \"MMM d, y h:mm:ss a\",\n    \"mediumDate\": \"MMM d, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"M/d/yy h:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b1\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"tl\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && (i == 1 || i == 2 || i == 3) || vf.v == 0 && i % 10 != 4 && i % 10 != 6 && i % 10 != 9 || vf.v != 0 && vf.f % 10 != 4 && vf.f % 10 != 6 && vf.f % 10 != 9) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_tn-bw.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Tshipi\",\n      \"Mosopulogo\",\n      \"Labobedi\",\n      \"Laboraro\",\n      \"Labone\",\n      \"Labotlhano\",\n      \"Matlhatso\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Ferikgong\",\n      \"Tlhakole\",\n      \"Mopitlo\",\n      \"Moranang\",\n      \"Motsheganang\",\n      \"Seetebosigo\",\n      \"Phukwi\",\n      \"Phatwe\",\n      \"Lwetse\",\n      \"Diphalane\",\n      \"Ngwanatsele\",\n      \"Sedimonthole\"\n    ],\n    \"SHORTDAY\": [\n      \"Tsh\",\n      \"Mos\",\n      \"Bed\",\n      \"Rar\",\n      \"Ne\",\n      \"Tla\",\n      \"Mat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Fer\",\n      \"Tlh\",\n      \"Mop\",\n      \"Mor\",\n      \"Mot\",\n      \"See\",\n      \"Phu\",\n      \"Pha\",\n      \"Lwe\",\n      \"Dip\",\n      \"Ngw\",\n      \"Sed\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"P\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"tn-bw\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_tn-za.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Tshipi\",\n      \"Mosopulogo\",\n      \"Labobedi\",\n      \"Laboraro\",\n      \"Labone\",\n      \"Labotlhano\",\n      \"Matlhatso\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Ferikgong\",\n      \"Tlhakole\",\n      \"Mopitlo\",\n      \"Moranang\",\n      \"Motsheganang\",\n      \"Seetebosigo\",\n      \"Phukwi\",\n      \"Phatwe\",\n      \"Lwetse\",\n      \"Diphalane\",\n      \"Ngwanatsele\",\n      \"Sedimonthole\"\n    ],\n    \"SHORTDAY\": [\n      \"Tsh\",\n      \"Mos\",\n      \"Bed\",\n      \"Rar\",\n      \"Ne\",\n      \"Tla\",\n      \"Mat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Fer\",\n      \"Tlh\",\n      \"Mop\",\n      \"Mor\",\n      \"Mot\",\n      \"See\",\n      \"Phu\",\n      \"Pha\",\n      \"Lwe\",\n      \"Dip\",\n      \"Ngw\",\n      \"Sed\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"R\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"tn-za\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_tn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Tshipi\",\n      \"Mosopulogo\",\n      \"Labobedi\",\n      \"Laboraro\",\n      \"Labone\",\n      \"Labotlhano\",\n      \"Matlhatso\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Ferikgong\",\n      \"Tlhakole\",\n      \"Mopitlo\",\n      \"Moranang\",\n      \"Motsheganang\",\n      \"Seetebosigo\",\n      \"Phukwi\",\n      \"Phatwe\",\n      \"Lwetse\",\n      \"Diphalane\",\n      \"Ngwanatsele\",\n      \"Sedimonthole\"\n    ],\n    \"SHORTDAY\": [\n      \"Tsh\",\n      \"Mos\",\n      \"Bed\",\n      \"Rar\",\n      \"Ne\",\n      \"Tla\",\n      \"Mat\"\n    ],\n    \"SHORTMONTH\": [\n      \"Fer\",\n      \"Tlh\",\n      \"Mop\",\n      \"Mor\",\n      \"Mot\",\n      \"See\",\n      \"Phu\",\n      \"Pha\",\n      \"Lwe\",\n      \"Dip\",\n      \"Ngw\",\n      \"Sed\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"R\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"tn\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_to-to.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"S\\u0101pate\",\n      \"M\\u014dnite\",\n      \"T\\u016bsite\",\n      \"Pulelulu\",\n      \"Tu\\u02bbapulelulu\",\n      \"Falaite\",\n      \"Tokonaki\"\n    ],\n    \"ERANAMES\": [\n      \"ki mu\\u02bba\",\n      \"ta\\u02bbu \\u02bbo S\\u012bs\\u016b\"\n    ],\n    \"ERAS\": [\n      \"KM\",\n      \"TS\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"S\\u0101nuali\",\n      \"F\\u0113pueli\",\n      \"Ma\\u02bbasi\",\n      \"\\u02bbEpeleli\",\n      \"M\\u0113\",\n      \"Sune\",\n      \"Siulai\",\n      \"\\u02bbAokosi\",\n      \"Sepitema\",\n      \"\\u02bbOkatopa\",\n      \"N\\u014dvema\",\n      \"T\\u012bsema\"\n    ],\n    \"SHORTDAY\": [\n      \"S\\u0101p\",\n      \"M\\u014dn\",\n      \"T\\u016bs\",\n      \"Pul\",\n      \"Tu\\u02bba\",\n      \"Fal\",\n      \"Tok\"\n    ],\n    \"SHORTMONTH\": [\n      \"S\\u0101n\",\n      \"F\\u0113p\",\n      \"Ma\\u02bba\",\n      \"\\u02bbEpe\",\n      \"M\\u0113\",\n      \"Sun\",\n      \"Siu\",\n      \"\\u02bbAok\",\n      \"Sep\",\n      \"\\u02bbOka\",\n      \"N\\u014dv\",\n      \"T\\u012bs\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"T$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"to-to\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_to.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"S\\u0101pate\",\n      \"M\\u014dnite\",\n      \"T\\u016bsite\",\n      \"Pulelulu\",\n      \"Tu\\u02bbapulelulu\",\n      \"Falaite\",\n      \"Tokonaki\"\n    ],\n    \"ERANAMES\": [\n      \"ki mu\\u02bba\",\n      \"ta\\u02bbu \\u02bbo S\\u012bs\\u016b\"\n    ],\n    \"ERAS\": [\n      \"KM\",\n      \"TS\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"S\\u0101nuali\",\n      \"F\\u0113pueli\",\n      \"Ma\\u02bbasi\",\n      \"\\u02bbEpeleli\",\n      \"M\\u0113\",\n      \"Sune\",\n      \"Siulai\",\n      \"\\u02bbAokosi\",\n      \"Sepitema\",\n      \"\\u02bbOkatopa\",\n      \"N\\u014dvema\",\n      \"T\\u012bsema\"\n    ],\n    \"SHORTDAY\": [\n      \"S\\u0101p\",\n      \"M\\u014dn\",\n      \"T\\u016bs\",\n      \"Pul\",\n      \"Tu\\u02bba\",\n      \"Fal\",\n      \"Tok\"\n    ],\n    \"SHORTMONTH\": [\n      \"S\\u0101n\",\n      \"F\\u0113p\",\n      \"Ma\\u02bba\",\n      \"\\u02bbEpe\",\n      \"M\\u0113\",\n      \"Sun\",\n      \"Siu\",\n      \"\\u02bbAok\",\n      \"Sep\",\n      \"\\u02bbOka\",\n      \"N\\u014dv\",\n      \"T\\u012bs\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"T$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"to\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_tr-cy.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u00d6\\u00d6\",\n      \"\\u00d6S\"\n    ],\n    \"DAY\": [\n      \"Pazar\",\n      \"Pazartesi\",\n      \"Sal\\u0131\",\n      \"\\u00c7ar\\u015famba\",\n      \"Per\\u015fembe\",\n      \"Cuma\",\n      \"Cumartesi\"\n    ],\n    \"ERANAMES\": [\n      \"Milattan \\u00d6nce\",\n      \"Milattan Sonra\"\n    ],\n    \"ERAS\": [\n      \"M\\u00d6\",\n      \"MS\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Ocak\",\n      \"\\u015eubat\",\n      \"Mart\",\n      \"Nisan\",\n      \"May\\u0131s\",\n      \"Haziran\",\n      \"Temmuz\",\n      \"A\\u011fustos\",\n      \"Eyl\\u00fcl\",\n      \"Ekim\",\n      \"Kas\\u0131m\",\n      \"Aral\\u0131k\"\n    ],\n    \"SHORTDAY\": [\n      \"Paz\",\n      \"Pzt\",\n      \"Sal\",\n      \"\\u00c7ar\",\n      \"Per\",\n      \"Cum\",\n      \"Cmt\"\n    ],\n    \"SHORTMONTH\": [\n      \"Oca\",\n      \"\\u015eub\",\n      \"Mar\",\n      \"Nis\",\n      \"May\",\n      \"Haz\",\n      \"Tem\",\n      \"A\\u011fu\",\n      \"Eyl\",\n      \"Eki\",\n      \"Kas\",\n      \"Ara\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"d MMMM y EEEE\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d MM y HH:mm\",\n    \"shortDate\": \"d MM y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ac\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"tr-cy\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_tr-tr.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u00d6\\u00d6\",\n      \"\\u00d6S\"\n    ],\n    \"DAY\": [\n      \"Pazar\",\n      \"Pazartesi\",\n      \"Sal\\u0131\",\n      \"\\u00c7ar\\u015famba\",\n      \"Per\\u015fembe\",\n      \"Cuma\",\n      \"Cumartesi\"\n    ],\n    \"ERANAMES\": [\n      \"Milattan \\u00d6nce\",\n      \"Milattan Sonra\"\n    ],\n    \"ERAS\": [\n      \"M\\u00d6\",\n      \"MS\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Ocak\",\n      \"\\u015eubat\",\n      \"Mart\",\n      \"Nisan\",\n      \"May\\u0131s\",\n      \"Haziran\",\n      \"Temmuz\",\n      \"A\\u011fustos\",\n      \"Eyl\\u00fcl\",\n      \"Ekim\",\n      \"Kas\\u0131m\",\n      \"Aral\\u0131k\"\n    ],\n    \"SHORTDAY\": [\n      \"Paz\",\n      \"Pzt\",\n      \"Sal\",\n      \"\\u00c7ar\",\n      \"Per\",\n      \"Cum\",\n      \"Cmt\"\n    ],\n    \"SHORTMONTH\": [\n      \"Oca\",\n      \"\\u015eub\",\n      \"Mar\",\n      \"Nis\",\n      \"May\",\n      \"Haz\",\n      \"Tem\",\n      \"A\\u011fu\",\n      \"Eyl\",\n      \"Eki\",\n      \"Kas\",\n      \"Ara\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"d MMMM y EEEE\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d MM y HH:mm\",\n    \"shortDate\": \"d MM y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"TL\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"tr-tr\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_tr.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u00d6\\u00d6\",\n      \"\\u00d6S\"\n    ],\n    \"DAY\": [\n      \"Pazar\",\n      \"Pazartesi\",\n      \"Sal\\u0131\",\n      \"\\u00c7ar\\u015famba\",\n      \"Per\\u015fembe\",\n      \"Cuma\",\n      \"Cumartesi\"\n    ],\n    \"ERANAMES\": [\n      \"Milattan \\u00d6nce\",\n      \"Milattan Sonra\"\n    ],\n    \"ERAS\": [\n      \"M\\u00d6\",\n      \"MS\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Ocak\",\n      \"\\u015eubat\",\n      \"Mart\",\n      \"Nisan\",\n      \"May\\u0131s\",\n      \"Haziran\",\n      \"Temmuz\",\n      \"A\\u011fustos\",\n      \"Eyl\\u00fcl\",\n      \"Ekim\",\n      \"Kas\\u0131m\",\n      \"Aral\\u0131k\"\n    ],\n    \"SHORTDAY\": [\n      \"Paz\",\n      \"Pzt\",\n      \"Sal\",\n      \"\\u00c7ar\",\n      \"Per\",\n      \"Cum\",\n      \"Cmt\"\n    ],\n    \"SHORTMONTH\": [\n      \"Oca\",\n      \"\\u015eub\",\n      \"Mar\",\n      \"Nis\",\n      \"May\",\n      \"Haz\",\n      \"Tem\",\n      \"A\\u011fu\",\n      \"Eyl\",\n      \"Eki\",\n      \"Kas\",\n      \"Ara\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"d MMMM y EEEE\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d MM y HH:mm\",\n    \"shortDate\": \"d MM y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"TL\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"tr\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ts-za.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sonto\",\n      \"Musumbhunuku\",\n      \"Ravumbirhi\",\n      \"Ravunharhu\",\n      \"Ravumune\",\n      \"Ravuntlhanu\",\n      \"Mugqivela\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Sunguti\",\n      \"Nyenyenyani\",\n      \"Nyenyankulu\",\n      \"Dzivamisoko\",\n      \"Mudyaxihi\",\n      \"Khotavuxika\",\n      \"Mawuwani\",\n      \"Mhawuri\",\n      \"Ndzhati\",\n      \"Nhlangula\",\n      \"Hukuri\",\n      \"N\\u2019wendzamhala\"\n    ],\n    \"SHORTDAY\": [\n      \"Son\",\n      \"Mus\",\n      \"Bir\",\n      \"Har\",\n      \"Ne\",\n      \"Tlh\",\n      \"Mug\"\n    ],\n    \"SHORTMONTH\": [\n      \"Sun\",\n      \"Yan\",\n      \"Kul\",\n      \"Dzi\",\n      \"Mud\",\n      \"Kho\",\n      \"Maw\",\n      \"Mha\",\n      \"Ndz\",\n      \"Nhl\",\n      \"Huk\",\n      \"N\\u2019w\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"R\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ts-za\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ts.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sonto\",\n      \"Musumbhunuku\",\n      \"Ravumbirhi\",\n      \"Ravunharhu\",\n      \"Ravumune\",\n      \"Ravuntlhanu\",\n      \"Mugqivela\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Sunguti\",\n      \"Nyenyenyani\",\n      \"Nyenyankulu\",\n      \"Dzivamisoko\",\n      \"Mudyaxihi\",\n      \"Khotavuxika\",\n      \"Mawuwani\",\n      \"Mhawuri\",\n      \"Ndzhati\",\n      \"Nhlangula\",\n      \"Hukuri\",\n      \"N\\u2019wendzamhala\"\n    ],\n    \"SHORTDAY\": [\n      \"Son\",\n      \"Mus\",\n      \"Bir\",\n      \"Har\",\n      \"Ne\",\n      \"Tlh\",\n      \"Mug\"\n    ],\n    \"SHORTMONTH\": [\n      \"Sun\",\n      \"Yan\",\n      \"Kul\",\n      \"Dzi\",\n      \"Mud\",\n      \"Kho\",\n      \"Maw\",\n      \"Mha\",\n      \"Ndz\",\n      \"Nhl\",\n      \"Huk\",\n      \"N\\u2019w\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"R\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ts\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_twq-ne.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Subbaahi\",\n      \"Zaarikay b\"\n    ],\n    \"DAY\": [\n      \"Alhadi\",\n      \"Atinni\",\n      \"Atalaata\",\n      \"Alarba\",\n      \"Alhamiisa\",\n      \"Alzuma\",\n      \"Asibti\"\n    ],\n    \"ERANAMES\": [\n      \"Isaa jine\",\n      \"Isaa zamanoo\"\n    ],\n    \"ERAS\": [\n      \"IJ\",\n      \"IZ\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u017danwiye\",\n      \"Feewiriye\",\n      \"Marsi\",\n      \"Awiril\",\n      \"Me\",\n      \"\\u017duwe\\u014b\",\n      \"\\u017duyye\",\n      \"Ut\",\n      \"Sektanbur\",\n      \"Oktoobur\",\n      \"Noowanbur\",\n      \"Deesanbur\"\n    ],\n    \"SHORTDAY\": [\n      \"Alh\",\n      \"Ati\",\n      \"Ata\",\n      \"Ala\",\n      \"Alm\",\n      \"Alz\",\n      \"Asi\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u017dan\",\n      \"Fee\",\n      \"Mar\",\n      \"Awi\",\n      \"Me\",\n      \"\\u017duw\",\n      \"\\u017duy\",\n      \"Ut\",\n      \"Sek\",\n      \"Okt\",\n      \"Noo\",\n      \"Dee\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CFA\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"twq-ne\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_twq.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Subbaahi\",\n      \"Zaarikay b\"\n    ],\n    \"DAY\": [\n      \"Alhadi\",\n      \"Atinni\",\n      \"Atalaata\",\n      \"Alarba\",\n      \"Alhamiisa\",\n      \"Alzuma\",\n      \"Asibti\"\n    ],\n    \"ERANAMES\": [\n      \"Isaa jine\",\n      \"Isaa zamanoo\"\n    ],\n    \"ERAS\": [\n      \"IJ\",\n      \"IZ\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u017danwiye\",\n      \"Feewiriye\",\n      \"Marsi\",\n      \"Awiril\",\n      \"Me\",\n      \"\\u017duwe\\u014b\",\n      \"\\u017duyye\",\n      \"Ut\",\n      \"Sektanbur\",\n      \"Oktoobur\",\n      \"Noowanbur\",\n      \"Deesanbur\"\n    ],\n    \"SHORTDAY\": [\n      \"Alh\",\n      \"Ati\",\n      \"Ata\",\n      \"Ala\",\n      \"Alm\",\n      \"Alz\",\n      \"Asi\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u017dan\",\n      \"Fee\",\n      \"Mar\",\n      \"Awi\",\n      \"Me\",\n      \"\\u017duw\",\n      \"\\u017duy\",\n      \"Ut\",\n      \"Sek\",\n      \"Okt\",\n      \"Noo\",\n      \"Dee\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CFA\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"twq\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_tzm-latn-ma.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Zdat azal\",\n      \"\\u1e0ceffir aza\"\n    ],\n    \"DAY\": [\n      \"Asamas\",\n      \"Aynas\",\n      \"Asinas\",\n      \"Akras\",\n      \"Akwas\",\n      \"Asimwas\",\n      \"Asi\\u1e0dyas\"\n    ],\n    \"ERANAMES\": [\n      \"Zdat \\u0190isa (TA\\u0194)\",\n      \"\\u1e0ceffir \\u0190isa (TA\\u0194)\"\n    ],\n    \"ERAS\": [\n      \"Z\\u0190\",\n      \"\\u1e0c\\u0190\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"Yennayer\",\n      \"Yebrayer\",\n      \"Mars\",\n      \"Ibrir\",\n      \"Mayyu\",\n      \"Yunyu\",\n      \"Yulyuz\",\n      \"\\u0194uct\",\n      \"Cutanbir\",\n      \"K\\u1e6duber\",\n      \"Nwanbir\",\n      \"Dujanbir\"\n    ],\n    \"SHORTDAY\": [\n      \"Asa\",\n      \"Ayn\",\n      \"Asn\",\n      \"Akr\",\n      \"Akw\",\n      \"Asm\",\n      \"As\\u1e0d\"\n    ],\n    \"SHORTMONTH\": [\n      \"Yen\",\n      \"Yeb\",\n      \"Mar\",\n      \"Ibr\",\n      \"May\",\n      \"Yun\",\n      \"Yul\",\n      \"\\u0194uc\",\n      \"Cut\",\n      \"K\\u1e6du\",\n      \"Nwa\",\n      \"Duj\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"dh\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"tzm-latn-ma\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_tzm-latn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Zdat azal\",\n      \"\\u1e0ceffir aza\"\n    ],\n    \"DAY\": [\n      \"Asamas\",\n      \"Aynas\",\n      \"Asinas\",\n      \"Akras\",\n      \"Akwas\",\n      \"Asimwas\",\n      \"Asi\\u1e0dyas\"\n    ],\n    \"ERANAMES\": [\n      \"Zdat \\u0190isa (TA\\u0194)\",\n      \"\\u1e0ceffir \\u0190isa (TA\\u0194)\"\n    ],\n    \"ERAS\": [\n      \"Z\\u0190\",\n      \"\\u1e0c\\u0190\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"Yennayer\",\n      \"Yebrayer\",\n      \"Mars\",\n      \"Ibrir\",\n      \"Mayyu\",\n      \"Yunyu\",\n      \"Yulyuz\",\n      \"\\u0194uct\",\n      \"Cutanbir\",\n      \"K\\u1e6duber\",\n      \"Nwanbir\",\n      \"Dujanbir\"\n    ],\n    \"SHORTDAY\": [\n      \"Asa\",\n      \"Ayn\",\n      \"Asn\",\n      \"Akr\",\n      \"Akw\",\n      \"Asm\",\n      \"As\\u1e0d\"\n    ],\n    \"SHORTMONTH\": [\n      \"Yen\",\n      \"Yeb\",\n      \"Mar\",\n      \"Ibr\",\n      \"May\",\n      \"Yun\",\n      \"Yul\",\n      \"\\u0194uc\",\n      \"Cut\",\n      \"K\\u1e6du\",\n      \"Nwa\",\n      \"Duj\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"dh\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"tzm-latn\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_tzm.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Zdat azal\",\n      \"\\u1e0ceffir aza\"\n    ],\n    \"DAY\": [\n      \"Asamas\",\n      \"Aynas\",\n      \"Asinas\",\n      \"Akras\",\n      \"Akwas\",\n      \"Asimwas\",\n      \"Asi\\u1e0dyas\"\n    ],\n    \"ERANAMES\": [\n      \"Zdat \\u0190isa (TA\\u0194)\",\n      \"\\u1e0ceffir \\u0190isa (TA\\u0194)\"\n    ],\n    \"ERAS\": [\n      \"Z\\u0190\",\n      \"\\u1e0c\\u0190\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"Yennayer\",\n      \"Yebrayer\",\n      \"Mars\",\n      \"Ibrir\",\n      \"Mayyu\",\n      \"Yunyu\",\n      \"Yulyuz\",\n      \"\\u0194uct\",\n      \"Cutanbir\",\n      \"K\\u1e6duber\",\n      \"Nwanbir\",\n      \"Dujanbir\"\n    ],\n    \"SHORTDAY\": [\n      \"Asa\",\n      \"Ayn\",\n      \"Asn\",\n      \"Akr\",\n      \"Akw\",\n      \"Asm\",\n      \"As\\u1e0d\"\n    ],\n    \"SHORTMONTH\": [\n      \"Yen\",\n      \"Yeb\",\n      \"Mar\",\n      \"Ibr\",\n      \"May\",\n      \"Yun\",\n      \"Yul\",\n      \"\\u0194uc\",\n      \"Cut\",\n      \"K\\u1e6du\",\n      \"Nwa\",\n      \"Duj\"\n    ],\n    \"WEEKENDRANGE\": [\n      4,\n      5\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"dh\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"tzm\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ug-arab-cn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0686\\u06c8\\u0634\\u062a\\u0649\\u0646 \\u0628\\u06c7\\u0631\\u06c7\\u0646\",\n      \"\\u0686\\u06c8\\u0634\\u062a\\u0649\\u0646 \\u0643\\u06d0\\u064a\\u0649\\u0646\"\n    ],\n    \"DAY\": [\n      \"\\u064a\\u06d5\\u0643\\u0634\\u06d5\\u0646\\u0628\\u06d5\",\n      \"\\u062f\\u06c8\\u0634\\u06d5\\u0646\\u0628\\u06d5\",\n      \"\\u0633\\u06d5\\u064a\\u0634\\u06d5\\u0646\\u0628\\u06d5\",\n      \"\\u0686\\u0627\\u0631\\u0634\\u06d5\\u0646\\u0628\\u06d5\",\n      \"\\u067e\\u06d5\\u064a\\u0634\\u06d5\\u0646\\u0628\\u06d5\",\n      \"\\u062c\\u06c8\\u0645\\u06d5\",\n      \"\\u0634\\u06d5\\u0646\\u0628\\u06d5\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0645\\u0649\\u0644\\u0627\\u062f\\u0649\\u064a\\u06d5\\u062f\\u0649\\u0646 \\u0628\\u06c7\\u0631\\u06c7\\u0646\",\n      \"\\u0645\\u0649\\u0644\\u0627\\u062f\\u0649\\u064a\\u06d5\"\n    ],\n    \"ERAS\": [\n      \"\\u0645\\u0649\\u0644\\u0627\\u062f\\u0649\\u064a\\u06d5\\u062f\\u0649\\u0646 \\u0628\\u06c7\\u0631\\u06c7\\u0646\",\n      \"\\u0645\\u0649\\u0644\\u0627\\u062f\\u0649\\u064a\\u06d5\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u064a\\u0627\\u0646\\u06cb\\u0627\\u0631\",\n      \"\\u0641\\u06d0\\u06cb\\u0631\\u0627\\u0644\",\n      \"\\u0645\\u0627\\u0631\\u062a\",\n      \"\\u0626\\u0627\\u067e\\u0631\\u06d0\\u0644\",\n      \"\\u0645\\u0627\\u064a\",\n      \"\\u0626\\u0649\\u064a\\u06c7\\u0646\",\n      \"\\u0626\\u0649\\u064a\\u06c7\\u0644\",\n      \"\\u0626\\u0627\\u06cb\\u063a\\u06c7\\u0633\\u062a\",\n      \"\\u0633\\u06d0\\u0646\\u062a\\u06d5\\u0628\\u0649\\u0631\",\n      \"\\u0626\\u06c6\\u0643\\u062a\\u06d5\\u0628\\u0649\\u0631\",\n      \"\\u0628\\u0648\\u064a\\u0627\\u0628\\u0649\\u0631\",\n      \"\\u062f\\u06d0\\u0643\\u0627\\u0628\\u0649\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u064a\\u06d5\",\n      \"\\u062f\\u06c8\",\n      \"\\u0633\\u06d5\",\n      \"\\u0686\\u0627\",\n      \"\\u067e\\u06d5\",\n      \"\\u0686\\u06c8\",\n      \"\\u0634\\u06d5\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u064a\\u0627\\u0646\\u06cb\\u0627\\u0631\",\n      \"\\u0641\\u06d0\\u06cb\\u0631\\u0627\\u0644\",\n      \"\\u0645\\u0627\\u0631\\u062a\",\n      \"\\u0626\\u0627\\u067e\\u0631\\u06d0\\u0644\",\n      \"\\u0645\\u0627\\u064a\",\n      \"\\u0626\\u0649\\u064a\\u06c7\\u0646\",\n      \"\\u0626\\u0649\\u064a\\u06c7\\u0644\",\n      \"\\u0626\\u0627\\u06cb\\u063a\\u06c7\\u0633\\u062a\",\n      \"\\u0633\\u06d0\\u0646\\u062a\\u06d5\\u0628\\u0649\\u0631\",\n      \"\\u0626\\u06c6\\u0643\\u062a\\u06d5\\u0628\\u0649\\u0631\",\n      \"\\u0646\\u0648\\u064a\\u0627\\u0628\\u0649\\u0631\",\n      \"\\u062f\\u06d0\\u0643\\u0627\\u0628\\u0649\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE\\u060c MMMM d\\u060c y\",\n    \"longDate\": \"MMMM d\\u060c y\",\n    \"medium\": \"MMM d\\u060c y h:mm:ss a\",\n    \"mediumDate\": \"MMM d\\u060c y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"M/d/yy h:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a5\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ug-arab-cn\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ug-arab.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0686\\u06c8\\u0634\\u062a\\u0649\\u0646 \\u0628\\u06c7\\u0631\\u06c7\\u0646\",\n      \"\\u0686\\u06c8\\u0634\\u062a\\u0649\\u0646 \\u0643\\u06d0\\u064a\\u0649\\u0646\"\n    ],\n    \"DAY\": [\n      \"\\u064a\\u06d5\\u0643\\u0634\\u06d5\\u0646\\u0628\\u06d5\",\n      \"\\u062f\\u06c8\\u0634\\u06d5\\u0646\\u0628\\u06d5\",\n      \"\\u0633\\u06d5\\u064a\\u0634\\u06d5\\u0646\\u0628\\u06d5\",\n      \"\\u0686\\u0627\\u0631\\u0634\\u06d5\\u0646\\u0628\\u06d5\",\n      \"\\u067e\\u06d5\\u064a\\u0634\\u06d5\\u0646\\u0628\\u06d5\",\n      \"\\u062c\\u06c8\\u0645\\u06d5\",\n      \"\\u0634\\u06d5\\u0646\\u0628\\u06d5\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0645\\u0649\\u0644\\u0627\\u062f\\u0649\\u064a\\u06d5\\u062f\\u0649\\u0646 \\u0628\\u06c7\\u0631\\u06c7\\u0646\",\n      \"\\u0645\\u0649\\u0644\\u0627\\u062f\\u0649\\u064a\\u06d5\"\n    ],\n    \"ERAS\": [\n      \"\\u0645\\u0649\\u0644\\u0627\\u062f\\u0649\\u064a\\u06d5\\u062f\\u0649\\u0646 \\u0628\\u06c7\\u0631\\u06c7\\u0646\",\n      \"\\u0645\\u0649\\u0644\\u0627\\u062f\\u0649\\u064a\\u06d5\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u064a\\u0627\\u0646\\u06cb\\u0627\\u0631\",\n      \"\\u0641\\u06d0\\u06cb\\u0631\\u0627\\u0644\",\n      \"\\u0645\\u0627\\u0631\\u062a\",\n      \"\\u0626\\u0627\\u067e\\u0631\\u06d0\\u0644\",\n      \"\\u0645\\u0627\\u064a\",\n      \"\\u0626\\u0649\\u064a\\u06c7\\u0646\",\n      \"\\u0626\\u0649\\u064a\\u06c7\\u0644\",\n      \"\\u0626\\u0627\\u06cb\\u063a\\u06c7\\u0633\\u062a\",\n      \"\\u0633\\u06d0\\u0646\\u062a\\u06d5\\u0628\\u0649\\u0631\",\n      \"\\u0626\\u06c6\\u0643\\u062a\\u06d5\\u0628\\u0649\\u0631\",\n      \"\\u0628\\u0648\\u064a\\u0627\\u0628\\u0649\\u0631\",\n      \"\\u062f\\u06d0\\u0643\\u0627\\u0628\\u0649\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u064a\\u06d5\",\n      \"\\u062f\\u06c8\",\n      \"\\u0633\\u06d5\",\n      \"\\u0686\\u0627\",\n      \"\\u067e\\u06d5\",\n      \"\\u0686\\u06c8\",\n      \"\\u0634\\u06d5\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u064a\\u0627\\u0646\\u06cb\\u0627\\u0631\",\n      \"\\u0641\\u06d0\\u06cb\\u0631\\u0627\\u0644\",\n      \"\\u0645\\u0627\\u0631\\u062a\",\n      \"\\u0626\\u0627\\u067e\\u0631\\u06d0\\u0644\",\n      \"\\u0645\\u0627\\u064a\",\n      \"\\u0626\\u0649\\u064a\\u06c7\\u0646\",\n      \"\\u0626\\u0649\\u064a\\u06c7\\u0644\",\n      \"\\u0626\\u0627\\u06cb\\u063a\\u06c7\\u0633\\u062a\",\n      \"\\u0633\\u06d0\\u0646\\u062a\\u06d5\\u0628\\u0649\\u0631\",\n      \"\\u0626\\u06c6\\u0643\\u062a\\u06d5\\u0628\\u0649\\u0631\",\n      \"\\u0646\\u0648\\u064a\\u0627\\u0628\\u0649\\u0631\",\n      \"\\u062f\\u06d0\\u0643\\u0627\\u0628\\u0649\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE\\u060c MMMM d\\u060c y\",\n    \"longDate\": \"MMMM d\\u060c y\",\n    \"medium\": \"MMM d\\u060c y h:mm:ss a\",\n    \"mediumDate\": \"MMM d\\u060c y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"M/d/yy h:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a5\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ug-arab\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ug.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0686\\u06c8\\u0634\\u062a\\u0649\\u0646 \\u0628\\u06c7\\u0631\\u06c7\\u0646\",\n      \"\\u0686\\u06c8\\u0634\\u062a\\u0649\\u0646 \\u0643\\u06d0\\u064a\\u0649\\u0646\"\n    ],\n    \"DAY\": [\n      \"\\u064a\\u06d5\\u0643\\u0634\\u06d5\\u0646\\u0628\\u06d5\",\n      \"\\u062f\\u06c8\\u0634\\u06d5\\u0646\\u0628\\u06d5\",\n      \"\\u0633\\u06d5\\u064a\\u0634\\u06d5\\u0646\\u0628\\u06d5\",\n      \"\\u0686\\u0627\\u0631\\u0634\\u06d5\\u0646\\u0628\\u06d5\",\n      \"\\u067e\\u06d5\\u064a\\u0634\\u06d5\\u0646\\u0628\\u06d5\",\n      \"\\u062c\\u06c8\\u0645\\u06d5\",\n      \"\\u0634\\u06d5\\u0646\\u0628\\u06d5\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0645\\u0649\\u0644\\u0627\\u062f\\u0649\\u064a\\u06d5\\u062f\\u0649\\u0646 \\u0628\\u06c7\\u0631\\u06c7\\u0646\",\n      \"\\u0645\\u0649\\u0644\\u0627\\u062f\\u0649\\u064a\\u06d5\"\n    ],\n    \"ERAS\": [\n      \"\\u0645\\u0649\\u0644\\u0627\\u062f\\u0649\\u064a\\u06d5\\u062f\\u0649\\u0646 \\u0628\\u06c7\\u0631\\u06c7\\u0646\",\n      \"\\u0645\\u0649\\u0644\\u0627\\u062f\\u0649\\u064a\\u06d5\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u064a\\u0627\\u0646\\u06cb\\u0627\\u0631\",\n      \"\\u0641\\u06d0\\u06cb\\u0631\\u0627\\u0644\",\n      \"\\u0645\\u0627\\u0631\\u062a\",\n      \"\\u0626\\u0627\\u067e\\u0631\\u06d0\\u0644\",\n      \"\\u0645\\u0627\\u064a\",\n      \"\\u0626\\u0649\\u064a\\u06c7\\u0646\",\n      \"\\u0626\\u0649\\u064a\\u06c7\\u0644\",\n      \"\\u0626\\u0627\\u06cb\\u063a\\u06c7\\u0633\\u062a\",\n      \"\\u0633\\u06d0\\u0646\\u062a\\u06d5\\u0628\\u0649\\u0631\",\n      \"\\u0626\\u06c6\\u0643\\u062a\\u06d5\\u0628\\u0649\\u0631\",\n      \"\\u0628\\u0648\\u064a\\u0627\\u0628\\u0649\\u0631\",\n      \"\\u062f\\u06d0\\u0643\\u0627\\u0628\\u0649\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u064a\\u06d5\",\n      \"\\u062f\\u06c8\",\n      \"\\u0633\\u06d5\",\n      \"\\u0686\\u0627\",\n      \"\\u067e\\u06d5\",\n      \"\\u0686\\u06c8\",\n      \"\\u0634\\u06d5\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u064a\\u0627\\u0646\\u06cb\\u0627\\u0631\",\n      \"\\u0641\\u06d0\\u06cb\\u0631\\u0627\\u0644\",\n      \"\\u0645\\u0627\\u0631\\u062a\",\n      \"\\u0626\\u0627\\u067e\\u0631\\u06d0\\u0644\",\n      \"\\u0645\\u0627\\u064a\",\n      \"\\u0626\\u0649\\u064a\\u06c7\\u0646\",\n      \"\\u0626\\u0649\\u064a\\u06c7\\u0644\",\n      \"\\u0626\\u0627\\u06cb\\u063a\\u06c7\\u0633\\u062a\",\n      \"\\u0633\\u06d0\\u0646\\u062a\\u06d5\\u0628\\u0649\\u0631\",\n      \"\\u0626\\u06c6\\u0643\\u062a\\u06d5\\u0628\\u0649\\u0631\",\n      \"\\u0646\\u0648\\u064a\\u0627\\u0628\\u0649\\u0631\",\n      \"\\u062f\\u06d0\\u0643\\u0627\\u0628\\u0649\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE\\u060c MMMM d\\u060c y\",\n    \"longDate\": \"MMMM d\\u060c y\",\n    \"medium\": \"MMM d\\u060c y h:mm:ss a\",\n    \"mediumDate\": \"MMM d\\u060c y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"M/d/yy h:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a5\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ug\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_uk-ua.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0434\\u043f\",\n      \"\\u043f\\u043f\"\n    ],\n    \"DAY\": [\n      \"\\u043d\\u0435\\u0434\\u0456\\u043b\\u044f\",\n      \"\\u043f\\u043e\\u043d\\u0435\\u0434\\u0456\\u043b\\u043e\\u043a\",\n      \"\\u0432\\u0456\\u0432\\u0442\\u043e\\u0440\\u043e\\u043a\",\n      \"\\u0441\\u0435\\u0440\\u0435\\u0434\\u0430\",\n      \"\\u0447\\u0435\\u0442\\u0432\\u0435\\u0440\",\n      \"\\u043f\\u02bc\\u044f\\u0442\\u043d\\u0438\\u0446\\u044f\",\n      \"\\u0441\\u0443\\u0431\\u043e\\u0442\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0434\\u043e \\u043d\\u0430\\u0448\\u043e\\u0457 \\u0435\\u0440\\u0438\",\n      \"\\u043d\\u0430\\u0448\\u043e\\u0457 \\u0435\\u0440\\u0438\"\n    ],\n    \"ERAS\": [\n      \"\\u0434\\u043e \\u043d.\\u0435.\",\n      \"\\u043d.\\u0435.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u0441\\u0456\\u0447\\u043d\\u044f\",\n      \"\\u043b\\u044e\\u0442\\u043e\\u0433\\u043e\",\n      \"\\u0431\\u0435\\u0440\\u0435\\u0437\\u043d\\u044f\",\n      \"\\u043a\\u0432\\u0456\\u0442\\u043d\\u044f\",\n      \"\\u0442\\u0440\\u0430\\u0432\\u043d\\u044f\",\n      \"\\u0447\\u0435\\u0440\\u0432\\u043d\\u044f\",\n      \"\\u043b\\u0438\\u043f\\u043d\\u044f\",\n      \"\\u0441\\u0435\\u0440\\u043f\\u043d\\u044f\",\n      \"\\u0432\\u0435\\u0440\\u0435\\u0441\\u043d\\u044f\",\n      \"\\u0436\\u043e\\u0432\\u0442\\u043d\\u044f\",\n      \"\\u043b\\u0438\\u0441\\u0442\\u043e\\u043f\\u0430\\u0434\\u0430\",\n      \"\\u0433\\u0440\\u0443\\u0434\\u043d\\u044f\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u041d\\u0434\",\n      \"\\u041f\\u043d\",\n      \"\\u0412\\u0442\",\n      \"\\u0421\\u0440\",\n      \"\\u0427\\u0442\",\n      \"\\u041f\\u0442\",\n      \"\\u0421\\u0431\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0441\\u0456\\u0447.\",\n      \"\\u043b\\u044e\\u0442.\",\n      \"\\u0431\\u0435\\u0440.\",\n      \"\\u043a\\u0432\\u0456\\u0442.\",\n      \"\\u0442\\u0440\\u0430\\u0432.\",\n      \"\\u0447\\u0435\\u0440\\u0432.\",\n      \"\\u043b\\u0438\\u043f.\",\n      \"\\u0441\\u0435\\u0440\\u043f.\",\n      \"\\u0432\\u0435\\u0440.\",\n      \"\\u0436\\u043e\\u0432\\u0442.\",\n      \"\\u043b\\u0438\\u0441\\u0442.\",\n      \"\\u0433\\u0440\\u0443\\u0434.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y '\\u0440'.\",\n    \"longDate\": \"d MMMM y '\\u0440'.\",\n    \"medium\": \"d MMM y '\\u0440'. HH:mm:ss\",\n    \"mediumDate\": \"d MMM y '\\u0440'.\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b4\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"uk-ua\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  if (vf.v == 0 && i % 10 == 0 || vf.v == 0 && i % 10 >= 5 && i % 10 <= 9 || vf.v == 0 && i % 100 >= 11 && i % 100 <= 14) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_uk.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0434\\u043f\",\n      \"\\u043f\\u043f\"\n    ],\n    \"DAY\": [\n      \"\\u043d\\u0435\\u0434\\u0456\\u043b\\u044f\",\n      \"\\u043f\\u043e\\u043d\\u0435\\u0434\\u0456\\u043b\\u043e\\u043a\",\n      \"\\u0432\\u0456\\u0432\\u0442\\u043e\\u0440\\u043e\\u043a\",\n      \"\\u0441\\u0435\\u0440\\u0435\\u0434\\u0430\",\n      \"\\u0447\\u0435\\u0442\\u0432\\u0435\\u0440\",\n      \"\\u043f\\u02bc\\u044f\\u0442\\u043d\\u0438\\u0446\\u044f\",\n      \"\\u0441\\u0443\\u0431\\u043e\\u0442\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0434\\u043e \\u043d\\u0430\\u0448\\u043e\\u0457 \\u0435\\u0440\\u0438\",\n      \"\\u043d\\u0430\\u0448\\u043e\\u0457 \\u0435\\u0440\\u0438\"\n    ],\n    \"ERAS\": [\n      \"\\u0434\\u043e \\u043d.\\u0435.\",\n      \"\\u043d.\\u0435.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u0441\\u0456\\u0447\\u043d\\u044f\",\n      \"\\u043b\\u044e\\u0442\\u043e\\u0433\\u043e\",\n      \"\\u0431\\u0435\\u0440\\u0435\\u0437\\u043d\\u044f\",\n      \"\\u043a\\u0432\\u0456\\u0442\\u043d\\u044f\",\n      \"\\u0442\\u0440\\u0430\\u0432\\u043d\\u044f\",\n      \"\\u0447\\u0435\\u0440\\u0432\\u043d\\u044f\",\n      \"\\u043b\\u0438\\u043f\\u043d\\u044f\",\n      \"\\u0441\\u0435\\u0440\\u043f\\u043d\\u044f\",\n      \"\\u0432\\u0435\\u0440\\u0435\\u0441\\u043d\\u044f\",\n      \"\\u0436\\u043e\\u0432\\u0442\\u043d\\u044f\",\n      \"\\u043b\\u0438\\u0441\\u0442\\u043e\\u043f\\u0430\\u0434\\u0430\",\n      \"\\u0433\\u0440\\u0443\\u0434\\u043d\\u044f\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u041d\\u0434\",\n      \"\\u041f\\u043d\",\n      \"\\u0412\\u0442\",\n      \"\\u0421\\u0440\",\n      \"\\u0427\\u0442\",\n      \"\\u041f\\u0442\",\n      \"\\u0421\\u0431\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u0441\\u0456\\u0447.\",\n      \"\\u043b\\u044e\\u0442.\",\n      \"\\u0431\\u0435\\u0440.\",\n      \"\\u043a\\u0432\\u0456\\u0442.\",\n      \"\\u0442\\u0440\\u0430\\u0432.\",\n      \"\\u0447\\u0435\\u0440\\u0432.\",\n      \"\\u043b\\u0438\\u043f.\",\n      \"\\u0441\\u0435\\u0440\\u043f.\",\n      \"\\u0432\\u0435\\u0440.\",\n      \"\\u0436\\u043e\\u0432\\u0442.\",\n      \"\\u043b\\u0438\\u0441\\u0442.\",\n      \"\\u0433\\u0440\\u0443\\u0434.\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y '\\u0440'.\",\n    \"longDate\": \"d MMMM y '\\u0440'.\",\n    \"medium\": \"d MMM y '\\u0440'. HH:mm:ss\",\n    \"mediumDate\": \"d MMM y '\\u0440'.\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd.MM.yy HH:mm\",\n    \"shortDate\": \"dd.MM.yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b4\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"uk\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11) {    return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14)) {    return PLURAL_CATEGORY.FEW;  }  if (vf.v == 0 && i % 10 == 0 || vf.v == 0 && i % 10 >= 5 && i % 10 <= 9 || vf.v == 0 && i % 100 >= 11 && i % 100 <= 14) {    return PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ur-in.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0642\\u0628\\u0644 \\u062f\\u0648\\u067e\\u06c1\\u0631\",\n      \"\\u0628\\u0639\\u062f \\u062f\\u0648\\u067e\\u06c1\\u0631\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u062a\\u0648\\u0627\\u0631\",\n      \"\\u0633\\u0648\\u0645\\u0648\\u0627\\u0631\",\n      \"\\u0645\\u0646\\u06af\\u0644\",\n      \"\\u0628\\u062f\\u06be\",\n      \"\\u062c\\u0645\\u0639\\u0631\\u0627\\u062a\",\n      \"\\u062c\\u0645\\u0639\\u06c1\",\n      \"\\u06c1\\u0641\\u062a\\u06c1\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0645\\u0633\\u06cc\\u062d\",\n      \"\\u0639\\u06cc\\u0633\\u0648\\u06cc\"\n    ],\n    \"ERAS\": [\n      \"\\u0642\\u0628\\u0644 \\u0645\\u0633\\u06cc\\u062d\",\n      \"\\u0639\\u06cc\\u0633\\u0648\\u06cc\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u062c\\u0646\\u0648\\u0631\\u06cc\",\n      \"\\u0641\\u0631\\u0648\\u0631\\u06cc\",\n      \"\\u0645\\u0627\\u0631\\u0686\",\n      \"\\u0627\\u067e\\u0631\\u06cc\\u0644\",\n      \"\\u0645\\u0626\\u06cc\",\n      \"\\u062c\\u0648\\u0646\",\n      \"\\u062c\\u0648\\u0644\\u0627\\u0626\\u06cc\",\n      \"\\u0627\\u06af\\u0633\\u062a\",\n      \"\\u0633\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0627\\u06a9\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u062a\\u0648\\u0627\\u0631\",\n      \"\\u0633\\u0648\\u0645\\u0648\\u0627\\u0631\",\n      \"\\u0645\\u0646\\u06af\\u0644\",\n      \"\\u0628\\u062f\\u06be\",\n      \"\\u062c\\u0645\\u0639\\u0631\\u0627\\u062a\",\n      \"\\u062c\\u0645\\u0639\\u06c1\",\n      \"\\u06c1\\u0641\\u062a\\u06c1\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u062c\\u0646\\u0648\\u0631\\u06cc\",\n      \"\\u0641\\u0631\\u0648\\u0631\\u06cc\",\n      \"\\u0645\\u0627\\u0631\\u0686\",\n      \"\\u0627\\u067e\\u0631\\u06cc\\u0644\",\n      \"\\u0645\\u0626\\u06cc\",\n      \"\\u062c\\u0648\\u0646\",\n      \"\\u062c\\u0648\\u0644\\u0627\\u0626\\u06cc\",\n      \"\\u0627\\u06af\\u0633\\u062a\",\n      \"\\u0633\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0627\\u06a9\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      6,\n      6\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"d MMM\\u060c y h:mm:ss a\",\n    \"mediumDate\": \"d MMM\\u060c y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20b9\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ur-in\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ur-pk.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0642\\u0628\\u0644 \\u062f\\u0648\\u067e\\u06c1\\u0631\",\n      \"\\u0628\\u0639\\u062f \\u062f\\u0648\\u067e\\u06c1\\u0631\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u062a\\u0648\\u0627\\u0631\",\n      \"\\u0633\\u0648\\u0645\\u0648\\u0627\\u0631\",\n      \"\\u0645\\u0646\\u06af\\u0644\",\n      \"\\u0628\\u062f\\u06be\",\n      \"\\u062c\\u0645\\u0639\\u0631\\u0627\\u062a\",\n      \"\\u062c\\u0645\\u0639\\u06c1\",\n      \"\\u06c1\\u0641\\u062a\\u06c1\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0645\\u0633\\u06cc\\u062d\",\n      \"\\u0639\\u06cc\\u0633\\u0648\\u06cc \\u0633\\u0646\"\n    ],\n    \"ERAS\": [\n      \"\\u0642 \\u0645\",\n      \"\\u0639\\u06cc\\u0633\\u0648\\u06cc \\u0633\\u0646\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u062c\\u0646\\u0648\\u0631\\u06cc\",\n      \"\\u0641\\u0631\\u0648\\u0631\\u06cc\",\n      \"\\u0645\\u0627\\u0631\\u0686\",\n      \"\\u0627\\u067e\\u0631\\u06cc\\u0644\",\n      \"\\u0645\\u0626\\u06cc\",\n      \"\\u062c\\u0648\\u0646\",\n      \"\\u062c\\u0648\\u0644\\u0627\\u0626\\u06cc\",\n      \"\\u0627\\u06af\\u0633\\u062a\",\n      \"\\u0633\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0627\\u06a9\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u062a\\u0648\\u0627\\u0631\",\n      \"\\u0633\\u0648\\u0645\\u0648\\u0627\\u0631\",\n      \"\\u0645\\u0646\\u06af\\u0644\",\n      \"\\u0628\\u062f\\u06be\",\n      \"\\u062c\\u0645\\u0639\\u0631\\u0627\\u062a\",\n      \"\\u062c\\u0645\\u0639\\u06c1\",\n      \"\\u06c1\\u0641\\u062a\\u06c1\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u062c\\u0646\\u0648\\u0631\\u06cc\",\n      \"\\u0641\\u0631\\u0648\\u0631\\u06cc\",\n      \"\\u0645\\u0627\\u0631\\u0686\",\n      \"\\u0627\\u067e\\u0631\\u06cc\\u0644\",\n      \"\\u0645\\u0626\\u06cc\",\n      \"\\u062c\\u0648\\u0646\",\n      \"\\u062c\\u0648\\u0644\\u0627\\u0626\\u06cc\",\n      \"\\u0627\\u06af\\u0633\\u062a\",\n      \"\\u0633\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0627\\u06a9\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"d MMM\\u060c y h:mm:ss a\",\n    \"mediumDate\": \"d MMM\\u060c y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Rs\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ur-pk\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ur.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u0642\\u0628\\u0644 \\u062f\\u0648\\u067e\\u06c1\\u0631\",\n      \"\\u0628\\u0639\\u062f \\u062f\\u0648\\u067e\\u06c1\\u0631\"\n    ],\n    \"DAY\": [\n      \"\\u0627\\u062a\\u0648\\u0627\\u0631\",\n      \"\\u0633\\u0648\\u0645\\u0648\\u0627\\u0631\",\n      \"\\u0645\\u0646\\u06af\\u0644\",\n      \"\\u0628\\u062f\\u06be\",\n      \"\\u062c\\u0645\\u0639\\u0631\\u0627\\u062a\",\n      \"\\u062c\\u0645\\u0639\\u06c1\",\n      \"\\u06c1\\u0641\\u062a\\u06c1\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642\\u0628\\u0644 \\u0645\\u0633\\u06cc\\u062d\",\n      \"\\u0639\\u06cc\\u0633\\u0648\\u06cc \\u0633\\u0646\"\n    ],\n    \"ERAS\": [\n      \"\\u0642 \\u0645\",\n      \"\\u0639\\u06cc\\u0633\\u0648\\u06cc \\u0633\\u0646\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u062c\\u0646\\u0648\\u0631\\u06cc\",\n      \"\\u0641\\u0631\\u0648\\u0631\\u06cc\",\n      \"\\u0645\\u0627\\u0631\\u0686\",\n      \"\\u0627\\u067e\\u0631\\u06cc\\u0644\",\n      \"\\u0645\\u0626\\u06cc\",\n      \"\\u062c\\u0648\\u0646\",\n      \"\\u062c\\u0648\\u0644\\u0627\\u0626\\u06cc\",\n      \"\\u0627\\u06af\\u0633\\u062a\",\n      \"\\u0633\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0627\\u06a9\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u0627\\u062a\\u0648\\u0627\\u0631\",\n      \"\\u0633\\u0648\\u0645\\u0648\\u0627\\u0631\",\n      \"\\u0645\\u0646\\u06af\\u0644\",\n      \"\\u0628\\u062f\\u06be\",\n      \"\\u062c\\u0645\\u0639\\u0631\\u0627\\u062a\",\n      \"\\u062c\\u0645\\u0639\\u06c1\",\n      \"\\u06c1\\u0641\\u062a\\u06c1\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u062c\\u0646\\u0648\\u0631\\u06cc\",\n      \"\\u0641\\u0631\\u0648\\u0631\\u06cc\",\n      \"\\u0645\\u0627\\u0631\\u0686\",\n      \"\\u0627\\u067e\\u0631\\u06cc\\u0644\",\n      \"\\u0645\\u0626\\u06cc\",\n      \"\\u062c\\u0648\\u0646\",\n      \"\\u062c\\u0648\\u0644\\u0627\\u0626\\u06cc\",\n      \"\\u0627\\u06af\\u0633\\u062a\",\n      \"\\u0633\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0627\\u06a9\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE\\u060c d MMMM\\u060c y\",\n    \"longDate\": \"d MMMM\\u060c y\",\n    \"medium\": \"d MMM\\u060c y h:mm:ss a\",\n    \"mediumDate\": \"d MMM\\u060c y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"d/M/yy h:mm a\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Rs\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 2,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ur\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_uz-arab-af.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"\\u06cc\\u06a9\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u062f\\u0648\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u0633\\u0647\\u200c\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u0686\\u0647\\u0627\\u0631\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u067e\\u0646\\u062c\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u062c\\u0645\\u0639\\u0647\",\n      \"\\u0634\\u0646\\u0628\\u0647\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642.\\u0645.\",\n      \"\\u0645.\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645.\",\n      \"\\u0645.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u062c\\u0646\\u0648\\u0631\\u06cc\",\n      \"\\u0641\\u0628\\u0631\\u0648\\u0631\\u06cc\",\n      \"\\u0645\\u0627\\u0631\\u0686\",\n      \"\\u0627\\u067e\\u0631\\u06cc\\u0644\",\n      \"\\u0645\\u06cc\",\n      \"\\u062c\\u0648\\u0646\",\n      \"\\u062c\\u0648\\u0644\\u0627\\u06cc\",\n      \"\\u0627\\u06af\\u0633\\u062a\",\n      \"\\u0633\\u067e\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0627\\u06a9\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u06cc.\",\n      \"\\u062f.\",\n      \"\\u0633.\",\n      \"\\u0686.\",\n      \"\\u067e.\",\n      \"\\u062c.\",\n      \"\\u0634.\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u062c\\u0646\\u0648\",\n      \"\\u0641\\u0628\\u0631\",\n      \"\\u0645\\u0627\\u0631\",\n      \"\\u0627\\u067e\\u0631\",\n      \"\\u0645\\u0640\\u06cc\",\n      \"\\u062c\\u0648\\u0646\",\n      \"\\u062c\\u0648\\u0644\",\n      \"\\u0627\\u06af\\u0633\",\n      \"\\u0633\\u067e\\u062a\",\n      \"\\u0627\\u06a9\\u062a\",\n      \"\\u0646\\u0648\\u0645\",\n      \"\\u062f\\u0633\\u0645\"\n    ],\n    \"WEEKENDRANGE\": [\n      3,\n      4\n    ],\n    \"fullDate\": \"y \\u0646\\u0686\\u06cc \\u06cc\\u06cc\\u0644 d \\u0646\\u0686\\u06cc MMMM EEEE \\u06a9\\u0648\\u0646\\u06cc\",\n    \"longDate\": \"d \\u0646\\u0686\\u06cc MMMM y\",\n    \"medium\": \"d MMM y H:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"y/M/d H:mm\",\n    \"shortDate\": \"y/M/d\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Af.\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"uz-arab-af\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_uz-arab.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"\\u06cc\\u06a9\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u062f\\u0648\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u0633\\u0647\\u200c\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u0686\\u0647\\u0627\\u0631\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u067e\\u0646\\u062c\\u0634\\u0646\\u0628\\u0647\",\n      \"\\u062c\\u0645\\u0639\\u0647\",\n      \"\\u0634\\u0646\\u0628\\u0647\"\n    ],\n    \"ERANAMES\": [\n      \"\\u0642.\\u0645.\",\n      \"\\u0645.\"\n    ],\n    \"ERAS\": [\n      \"\\u0642.\\u0645.\",\n      \"\\u0645.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 5,\n    \"MONTH\": [\n      \"\\u062c\\u0646\\u0648\\u0631\\u06cc\",\n      \"\\u0641\\u0628\\u0631\\u0648\\u0631\\u06cc\",\n      \"\\u0645\\u0627\\u0631\\u0686\",\n      \"\\u0627\\u067e\\u0631\\u06cc\\u0644\",\n      \"\\u0645\\u06cc\",\n      \"\\u062c\\u0648\\u0646\",\n      \"\\u062c\\u0648\\u0644\\u0627\\u06cc\",\n      \"\\u0627\\u06af\\u0633\\u062a\",\n      \"\\u0633\\u067e\\u062a\\u0645\\u0628\\u0631\",\n      \"\\u0627\\u06a9\\u062a\\u0648\\u0628\\u0631\",\n      \"\\u0646\\u0648\\u0645\\u0628\\u0631\",\n      \"\\u062f\\u0633\\u0645\\u0628\\u0631\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u06cc.\",\n      \"\\u062f.\",\n      \"\\u0633.\",\n      \"\\u0686.\",\n      \"\\u067e.\",\n      \"\\u062c.\",\n      \"\\u0634.\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u062c\\u0646\\u0648\",\n      \"\\u0641\\u0628\\u0631\",\n      \"\\u0645\\u0627\\u0631\",\n      \"\\u0627\\u067e\\u0631\",\n      \"\\u0645\\u0640\\u06cc\",\n      \"\\u062c\\u0648\\u0646\",\n      \"\\u062c\\u0648\\u0644\",\n      \"\\u0627\\u06af\\u0633\",\n      \"\\u0633\\u067e\\u062a\",\n      \"\\u0627\\u06a9\\u062a\",\n      \"\\u0646\\u0648\\u0645\",\n      \"\\u062f\\u0633\\u0645\"\n    ],\n    \"WEEKENDRANGE\": [\n      3,\n      4\n    ],\n    \"fullDate\": \"y \\u0646\\u0686\\u06cc \\u06cc\\u06cc\\u0644 d \\u0646\\u0686\\u06cc MMMM EEEE \\u06a9\\u0648\\u0646\\u06cc\",\n    \"longDate\": \"d \\u0646\\u0686\\u06cc MMMM y\",\n    \"medium\": \"d MMM y H:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"H:mm:ss\",\n    \"short\": \"y/M/d H:mm\",\n    \"shortDate\": \"y/M/d\",\n    \"shortTime\": \"H:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Af.\",\n    \"DECIMAL_SEP\": \"\\u066b\",\n    \"GROUP_SEP\": \"\\u066c\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"uz-arab\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_uz-cyrl-uz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"\\u044f\\u043a\\u0448\\u0430\\u043d\\u0431\\u0430\",\n      \"\\u0434\\u0443\\u0448\\u0430\\u043d\\u0431\\u0430\",\n      \"\\u0441\\u0435\\u0448\\u0430\\u043d\\u0431\\u0430\",\n      \"\\u0447\\u043e\\u0440\\u0448\\u0430\\u043d\\u0431\\u0430\",\n      \"\\u043f\\u0430\\u0439\\u0448\\u0430\\u043d\\u0431\\u0430\",\n      \"\\u0436\\u0443\\u043c\\u0430\",\n      \"\\u0448\\u0430\\u043d\\u0431\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u041c.\\u0410.\",\n      \"\\u042d\"\n    ],\n    \"ERAS\": [\n      \"\\u041c.\\u0410.\",\n      \"\\u042d\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u042f\\u043d\\u0432\\u0430\\u0440\",\n      \"\\u0424\\u0435\\u0432\\u0440\\u0430\\u043b\",\n      \"\\u041c\\u0430\\u0440\\u0442\",\n      \"\\u0410\\u043f\\u0440\\u0435\\u043b\",\n      \"\\u041c\\u0430\\u0439\",\n      \"\\u0418\\u044e\\u043d\",\n      \"\\u0418\\u044e\\u043b\",\n      \"\\u0410\\u0432\\u0433\\u0443\\u0441\\u0442\",\n      \"\\u0421\\u0435\\u043d\\u0442\\u044f\\u0431\\u0440\",\n      \"\\u041e\\u043a\\u0442\\u044f\\u0431\\u0440\",\n      \"\\u041d\\u043e\\u044f\\u0431\\u0440\",\n      \"\\u0414\\u0435\\u043a\\u0430\\u0431\\u0440\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u042f\\u043a\\u0448\",\n      \"\\u0414\\u0443\\u0448\",\n      \"\\u0421\\u0435\\u0448\",\n      \"\\u0427\\u043e\\u0440\",\n      \"\\u041f\\u0430\\u0439\",\n      \"\\u0416\\u0443\\u043c\",\n      \"\\u0428\\u0430\\u043d\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u042f\\u043d\\u0432\",\n      \"\\u0424\\u0435\\u0432\",\n      \"\\u041c\\u0430\\u0440\",\n      \"\\u0410\\u043f\\u0440\",\n      \"\\u041c\\u0430\\u0439\",\n      \"\\u0418\\u044e\\u043d\",\n      \"\\u0418\\u044e\\u043b\",\n      \"\\u0410\\u0432\\u0433\",\n      \"\\u0421\\u0435\\u043d\",\n      \"\\u041e\\u043a\\u0442\",\n      \"\\u041d\\u043e\\u044f\",\n      \"\\u0414\\u0435\\u043a\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, y MMMM dd\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"yy/MM/dd HH:mm\",\n    \"shortDate\": \"yy/MM/dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"so\\u02bcm\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"uz-cyrl-uz\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_uz-cyrl.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"\\u044f\\u043a\\u0448\\u0430\\u043d\\u0431\\u0430\",\n      \"\\u0434\\u0443\\u0448\\u0430\\u043d\\u0431\\u0430\",\n      \"\\u0441\\u0435\\u0448\\u0430\\u043d\\u0431\\u0430\",\n      \"\\u0447\\u043e\\u0440\\u0448\\u0430\\u043d\\u0431\\u0430\",\n      \"\\u043f\\u0430\\u0439\\u0448\\u0430\\u043d\\u0431\\u0430\",\n      \"\\u0436\\u0443\\u043c\\u0430\",\n      \"\\u0448\\u0430\\u043d\\u0431\\u0430\"\n    ],\n    \"ERANAMES\": [\n      \"\\u041c.\\u0410.\",\n      \"\\u042d\"\n    ],\n    \"ERAS\": [\n      \"\\u041c.\\u0410.\",\n      \"\\u042d\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u042f\\u043d\\u0432\\u0430\\u0440\",\n      \"\\u0424\\u0435\\u0432\\u0440\\u0430\\u043b\",\n      \"\\u041c\\u0430\\u0440\\u0442\",\n      \"\\u0410\\u043f\\u0440\\u0435\\u043b\",\n      \"\\u041c\\u0430\\u0439\",\n      \"\\u0418\\u044e\\u043d\",\n      \"\\u0418\\u044e\\u043b\",\n      \"\\u0410\\u0432\\u0433\\u0443\\u0441\\u0442\",\n      \"\\u0421\\u0435\\u043d\\u0442\\u044f\\u0431\\u0440\",\n      \"\\u041e\\u043a\\u0442\\u044f\\u0431\\u0440\",\n      \"\\u041d\\u043e\\u044f\\u0431\\u0440\",\n      \"\\u0414\\u0435\\u043a\\u0430\\u0431\\u0440\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u042f\\u043a\\u0448\",\n      \"\\u0414\\u0443\\u0448\",\n      \"\\u0421\\u0435\\u0448\",\n      \"\\u0427\\u043e\\u0440\",\n      \"\\u041f\\u0430\\u0439\",\n      \"\\u0416\\u0443\\u043c\",\n      \"\\u0428\\u0430\\u043d\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u042f\\u043d\\u0432\",\n      \"\\u0424\\u0435\\u0432\",\n      \"\\u041c\\u0430\\u0440\",\n      \"\\u0410\\u043f\\u0440\",\n      \"\\u041c\\u0430\\u0439\",\n      \"\\u0418\\u044e\\u043d\",\n      \"\\u0418\\u044e\\u043b\",\n      \"\\u0410\\u0432\\u0433\",\n      \"\\u0421\\u0435\\u043d\",\n      \"\\u041e\\u043a\\u0442\",\n      \"\\u041d\\u043e\\u044f\",\n      \"\\u0414\\u0435\\u043a\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, y MMMM dd\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"yy/MM/dd HH:mm\",\n    \"shortDate\": \"yy/MM/dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"so\\u02bcm\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"uz-cyrl\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_uz-latn-uz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"TO\",\n      \"TK\"\n    ],\n    \"DAY\": [\n      \"yakshanba\",\n      \"dushanba\",\n      \"seshanba\",\n      \"chorshanba\",\n      \"payshanba\",\n      \"juma\",\n      \"shanba\"\n    ],\n    \"ERANAMES\": [\n      \"M.A.\",\n      \"E\"\n    ],\n    \"ERAS\": [\n      \"M.A.\",\n      \"E\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Yanvar\",\n      \"Fevral\",\n      \"Mart\",\n      \"Aprel\",\n      \"May\",\n      \"Iyun\",\n      \"Iyul\",\n      \"Avgust\",\n      \"Sentabr\",\n      \"Oktabr\",\n      \"Noyabr\",\n      \"Dekabr\"\n    ],\n    \"SHORTDAY\": [\n      \"Yaksh\",\n      \"Dush\",\n      \"Sesh\",\n      \"Chor\",\n      \"Pay\",\n      \"Jum\",\n      \"Shan\"\n    ],\n    \"SHORTMONTH\": [\n      \"Yanv\",\n      \"Fev\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Iyun\",\n      \"Iyul\",\n      \"Avg\",\n      \"Sen\",\n      \"Okt\",\n      \"Noya\",\n      \"Dek\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, y MMMM dd\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"yy/MM/dd HH:mm\",\n    \"shortDate\": \"yy/MM/dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"so\\u02bcm\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"uz-latn-uz\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_uz-latn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"TO\",\n      \"TK\"\n    ],\n    \"DAY\": [\n      \"yakshanba\",\n      \"dushanba\",\n      \"seshanba\",\n      \"chorshanba\",\n      \"payshanba\",\n      \"juma\",\n      \"shanba\"\n    ],\n    \"ERANAMES\": [\n      \"M.A.\",\n      \"E\"\n    ],\n    \"ERAS\": [\n      \"M.A.\",\n      \"E\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Yanvar\",\n      \"Fevral\",\n      \"Mart\",\n      \"Aprel\",\n      \"May\",\n      \"Iyun\",\n      \"Iyul\",\n      \"Avgust\",\n      \"Sentabr\",\n      \"Oktabr\",\n      \"Noyabr\",\n      \"Dekabr\"\n    ],\n    \"SHORTDAY\": [\n      \"Yaksh\",\n      \"Dush\",\n      \"Sesh\",\n      \"Chor\",\n      \"Pay\",\n      \"Jum\",\n      \"Shan\"\n    ],\n    \"SHORTMONTH\": [\n      \"Yanv\",\n      \"Fev\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Iyun\",\n      \"Iyul\",\n      \"Avg\",\n      \"Sen\",\n      \"Okt\",\n      \"Noya\",\n      \"Dek\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, y MMMM dd\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"yy/MM/dd HH:mm\",\n    \"shortDate\": \"yy/MM/dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"so\\u02bcm\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"uz-latn\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_uz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"TO\",\n      \"TK\"\n    ],\n    \"DAY\": [\n      \"yakshanba\",\n      \"dushanba\",\n      \"seshanba\",\n      \"chorshanba\",\n      \"payshanba\",\n      \"juma\",\n      \"shanba\"\n    ],\n    \"ERANAMES\": [\n      \"M.A.\",\n      \"E\"\n    ],\n    \"ERAS\": [\n      \"M.A.\",\n      \"E\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Yanvar\",\n      \"Fevral\",\n      \"Mart\",\n      \"Aprel\",\n      \"May\",\n      \"Iyun\",\n      \"Iyul\",\n      \"Avgust\",\n      \"Sentabr\",\n      \"Oktabr\",\n      \"Noyabr\",\n      \"Dekabr\"\n    ],\n    \"SHORTDAY\": [\n      \"Yaksh\",\n      \"Dush\",\n      \"Sesh\",\n      \"Chor\",\n      \"Pay\",\n      \"Jum\",\n      \"Shan\"\n    ],\n    \"SHORTMONTH\": [\n      \"Yanv\",\n      \"Fev\",\n      \"Mar\",\n      \"Apr\",\n      \"May\",\n      \"Iyun\",\n      \"Iyul\",\n      \"Avg\",\n      \"Sen\",\n      \"Okt\",\n      \"Noya\",\n      \"Dek\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, y MMMM dd\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"yy/MM/dd HH:mm\",\n    \"shortDate\": \"yy/MM/dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"so\\u02bcm\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"uz\",\n  \"pluralCat\": function(n, opt_precision) {  if (n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_vai-latn-lr.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"lahadi\",\n      \"t\\u025b\\u025bn\\u025b\\u025b\",\n      \"talata\",\n      \"alaba\",\n      \"aimisa\",\n      \"aijima\",\n      \"si\\u0253iti\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"luukao kem\\u00e3\",\n      \"\\u0253anda\\u0253u\",\n      \"v\\u0254\\u0254\",\n      \"fulu\",\n      \"goo\",\n      \"6\",\n      \"7\",\n      \"k\\u0254nde\",\n      \"saah\",\n      \"galo\",\n      \"kenpkato \\u0253olol\\u0254\",\n      \"luukao l\\u0254ma\"\n    ],\n    \"SHORTDAY\": [\n      \"lahadi\",\n      \"t\\u025b\\u025bn\\u025b\\u025b\",\n      \"talata\",\n      \"alaba\",\n      \"aimisa\",\n      \"aijima\",\n      \"si\\u0253iti\"\n    ],\n    \"SHORTMONTH\": [\n      \"luukao kem\\u00e3\",\n      \"\\u0253anda\\u0253u\",\n      \"v\\u0254\\u0254\",\n      \"fulu\",\n      \"goo\",\n      \"6\",\n      \"7\",\n      \"k\\u0254nde\",\n      \"saah\",\n      \"galo\",\n      \"kenpkato \\u0253olol\\u0254\",\n      \"luukao l\\u0254ma\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"vai-latn-lr\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_vai-latn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"lahadi\",\n      \"t\\u025b\\u025bn\\u025b\\u025b\",\n      \"talata\",\n      \"alaba\",\n      \"aimisa\",\n      \"aijima\",\n      \"si\\u0253iti\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"luukao kem\\u00e3\",\n      \"\\u0253anda\\u0253u\",\n      \"v\\u0254\\u0254\",\n      \"fulu\",\n      \"goo\",\n      \"6\",\n      \"7\",\n      \"k\\u0254nde\",\n      \"saah\",\n      \"galo\",\n      \"kenpkato \\u0253olol\\u0254\",\n      \"luukao l\\u0254ma\"\n    ],\n    \"SHORTDAY\": [\n      \"lahadi\",\n      \"t\\u025b\\u025bn\\u025b\\u025b\",\n      \"talata\",\n      \"alaba\",\n      \"aimisa\",\n      \"aijima\",\n      \"si\\u0253iti\"\n    ],\n    \"SHORTMONTH\": [\n      \"luukao kem\\u00e3\",\n      \"\\u0253anda\\u0253u\",\n      \"v\\u0254\\u0254\",\n      \"fulu\",\n      \"goo\",\n      \"6\",\n      \"7\",\n      \"k\\u0254nde\",\n      \"saah\",\n      \"galo\",\n      \"kenpkato \\u0253olol\\u0254\",\n      \"luukao l\\u0254ma\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"vai-latn\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_vai-vaii-lr.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"\\ua55e\\ua54c\\ua535\",\n      \"\\ua5f3\\ua5e1\\ua609\",\n      \"\\ua55a\\ua55e\\ua55a\",\n      \"\\ua549\\ua55e\\ua552\",\n      \"\\ua549\\ua524\\ua546\\ua562\",\n      \"\\ua549\\ua524\\ua540\\ua56e\",\n      \"\\ua53b\\ua52c\\ua533\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\ua5a8\\ua56a\\ua583 \\ua51e\\ua56e\",\n      \"\\ua552\\ua561\\ua59d\\ua595\",\n      \"\\ua57e\\ua5ba\",\n      \"\\ua5a2\\ua595\",\n      \"\\ua591\\ua571\",\n      \"6\",\n      \"7\",\n      \"\\ua5db\\ua515\",\n      \"\\ua562\\ua54c\",\n      \"\\ua56d\\ua583\",\n      \"\\ua51e\\ua60b\\ua554\\ua57f \\ua578\\ua583\\ua5cf\",\n      \"\\ua5a8\\ua56a\\ua571 \\ua5cf\\ua56e\"\n    ],\n    \"SHORTDAY\": [\n      \"\\ua55e\\ua54c\\ua535\",\n      \"\\ua5f3\\ua5e1\\ua609\",\n      \"\\ua55a\\ua55e\\ua55a\",\n      \"\\ua549\\ua55e\\ua552\",\n      \"\\ua549\\ua524\\ua546\\ua562\",\n      \"\\ua549\\ua524\\ua540\\ua56e\",\n      \"\\ua53b\\ua52c\\ua533\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\ua5a8\\ua56a\\ua583 \\ua51e\\ua56e\",\n      \"\\ua552\\ua561\\ua59d\\ua595\",\n      \"\\ua57e\\ua5ba\",\n      \"\\ua5a2\\ua595\",\n      \"\\ua591\\ua571\",\n      \"6\",\n      \"7\",\n      \"\\ua5db\\ua515\",\n      \"\\ua562\\ua54c\",\n      \"\\ua56d\\ua583\",\n      \"\\ua51e\\ua60b\\ua554\\ua57f \\ua578\\ua583\\ua5cf\",\n      \"\\ua5a8\\ua56a\\ua571 \\ua5cf\\ua56e\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"vai-vaii-lr\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_vai-vaii.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"\\ua55e\\ua54c\\ua535\",\n      \"\\ua5f3\\ua5e1\\ua609\",\n      \"\\ua55a\\ua55e\\ua55a\",\n      \"\\ua549\\ua55e\\ua552\",\n      \"\\ua549\\ua524\\ua546\\ua562\",\n      \"\\ua549\\ua524\\ua540\\ua56e\",\n      \"\\ua53b\\ua52c\\ua533\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\ua5a8\\ua56a\\ua583 \\ua51e\\ua56e\",\n      \"\\ua552\\ua561\\ua59d\\ua595\",\n      \"\\ua57e\\ua5ba\",\n      \"\\ua5a2\\ua595\",\n      \"\\ua591\\ua571\",\n      \"6\",\n      \"7\",\n      \"\\ua5db\\ua515\",\n      \"\\ua562\\ua54c\",\n      \"\\ua56d\\ua583\",\n      \"\\ua51e\\ua60b\\ua554\\ua57f \\ua578\\ua583\\ua5cf\",\n      \"\\ua5a8\\ua56a\\ua571 \\ua5cf\\ua56e\"\n    ],\n    \"SHORTDAY\": [\n      \"\\ua55e\\ua54c\\ua535\",\n      \"\\ua5f3\\ua5e1\\ua609\",\n      \"\\ua55a\\ua55e\\ua55a\",\n      \"\\ua549\\ua55e\\ua552\",\n      \"\\ua549\\ua524\\ua546\\ua562\",\n      \"\\ua549\\ua524\\ua540\\ua56e\",\n      \"\\ua53b\\ua52c\\ua533\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\ua5a8\\ua56a\\ua583 \\ua51e\\ua56e\",\n      \"\\ua552\\ua561\\ua59d\\ua595\",\n      \"\\ua57e\\ua5ba\",\n      \"\\ua5a2\\ua595\",\n      \"\\ua591\\ua571\",\n      \"6\",\n      \"7\",\n      \"\\ua5db\\ua515\",\n      \"\\ua562\\ua54c\",\n      \"\\ua56d\\ua583\",\n      \"\\ua51e\\ua60b\\ua554\\ua57f \\ua578\\ua583\\ua5cf\",\n      \"\\ua5a8\\ua56a\\ua571 \\ua5cf\\ua56e\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"vai-vaii\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_vai.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"\\ua55e\\ua54c\\ua535\",\n      \"\\ua5f3\\ua5e1\\ua609\",\n      \"\\ua55a\\ua55e\\ua55a\",\n      \"\\ua549\\ua55e\\ua552\",\n      \"\\ua549\\ua524\\ua546\\ua562\",\n      \"\\ua549\\ua524\\ua540\\ua56e\",\n      \"\\ua53b\\ua52c\\ua533\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\ua5a8\\ua56a\\ua583 \\ua51e\\ua56e\",\n      \"\\ua552\\ua561\\ua59d\\ua595\",\n      \"\\ua57e\\ua5ba\",\n      \"\\ua5a2\\ua595\",\n      \"\\ua591\\ua571\",\n      \"6\",\n      \"7\",\n      \"\\ua5db\\ua515\",\n      \"\\ua562\\ua54c\",\n      \"\\ua56d\\ua583\",\n      \"\\ua51e\\ua60b\\ua554\\ua57f \\ua578\\ua583\\ua5cf\",\n      \"\\ua5a8\\ua56a\\ua571 \\ua5cf\\ua56e\"\n    ],\n    \"SHORTDAY\": [\n      \"\\ua55e\\ua54c\\ua535\",\n      \"\\ua5f3\\ua5e1\\ua609\",\n      \"\\ua55a\\ua55e\\ua55a\",\n      \"\\ua549\\ua55e\\ua552\",\n      \"\\ua549\\ua524\\ua546\\ua562\",\n      \"\\ua549\\ua524\\ua540\\ua56e\",\n      \"\\ua53b\\ua52c\\ua533\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\ua5a8\\ua56a\\ua583 \\ua51e\\ua56e\",\n      \"\\ua552\\ua561\\ua59d\\ua595\",\n      \"\\ua57e\\ua5ba\",\n      \"\\ua5a2\\ua595\",\n      \"\\ua591\\ua571\",\n      \"6\",\n      \"7\",\n      \"\\ua5db\\ua515\",\n      \"\\ua562\\ua54c\",\n      \"\\ua56d\\ua583\",\n      \"\\ua51e\\ua60b\\ua554\\ua57f \\ua578\\ua583\\ua5cf\",\n      \"\\ua5a8\\ua56a\\ua571 \\ua5cf\\ua56e\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"vai\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ve-za.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Swondaha\",\n      \"Musumbuluwo\",\n      \"\\u1e3cavhuvhili\",\n      \"\\u1e3cavhuraru\",\n      \"\\u1e3cavhu\\u1e4ba\",\n      \"\\u1e3cavhu\\u1e71anu\",\n      \"Mugivhela\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Phando\",\n      \"Luhuhi\",\n      \"\\u1e70hafamuhwe\",\n      \"Lambamai\",\n      \"Shundunthule\",\n      \"Fulwi\",\n      \"Fulwana\",\n      \"\\u1e70hangule\",\n      \"Khubvumedzi\",\n      \"Tshimedzi\",\n      \"\\u1e3cara\",\n      \"Nyendavhusiku\"\n    ],\n    \"SHORTDAY\": [\n      \"Swo\",\n      \"Mus\",\n      \"Vhi\",\n      \"Rar\",\n      \"\\u1e4aa\",\n      \"\\u1e70an\",\n      \"Mug\"\n    ],\n    \"SHORTMONTH\": [\n      \"Pha\",\n      \"Luh\",\n      \"\\u1e70hf\",\n      \"Lam\",\n      \"Shu\",\n      \"Lwi\",\n      \"Lwa\",\n      \"\\u1e70ha\",\n      \"Khu\",\n      \"Tsh\",\n      \"\\u1e3car\",\n      \"Nye\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"R\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ve-za\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_ve.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Swondaha\",\n      \"Musumbuluwo\",\n      \"\\u1e3cavhuvhili\",\n      \"\\u1e3cavhuraru\",\n      \"\\u1e3cavhu\\u1e4ba\",\n      \"\\u1e3cavhu\\u1e71anu\",\n      \"Mugivhela\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Phando\",\n      \"Luhuhi\",\n      \"\\u1e70hafamuhwe\",\n      \"Lambamai\",\n      \"Shundunthule\",\n      \"Fulwi\",\n      \"Fulwana\",\n      \"\\u1e70hangule\",\n      \"Khubvumedzi\",\n      \"Tshimedzi\",\n      \"\\u1e3cara\",\n      \"Nyendavhusiku\"\n    ],\n    \"SHORTDAY\": [\n      \"Swo\",\n      \"Mus\",\n      \"Vhi\",\n      \"Rar\",\n      \"\\u1e4aa\",\n      \"\\u1e70an\",\n      \"Mug\"\n    ],\n    \"SHORTMONTH\": [\n      \"Pha\",\n      \"Luh\",\n      \"\\u1e70hf\",\n      \"Lam\",\n      \"Shu\",\n      \"Lwi\",\n      \"Lwa\",\n      \"\\u1e70ha\",\n      \"Khu\",\n      \"Tsh\",\n      \"\\u1e3car\",\n      \"Nye\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"R\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"ve\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_vi-vn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"SA\",\n      \"CH\"\n    ],\n    \"DAY\": [\n      \"Ch\\u1ee7 Nh\\u1eadt\",\n      \"Th\\u1ee9 Hai\",\n      \"Th\\u1ee9 Ba\",\n      \"Th\\u1ee9 T\\u01b0\",\n      \"Th\\u1ee9 N\\u0103m\",\n      \"Th\\u1ee9 S\\u00e1u\",\n      \"Th\\u1ee9 B\\u1ea3y\"\n    ],\n    \"ERANAMES\": [\n      \"tr. CN\",\n      \"sau CN\"\n    ],\n    \"ERAS\": [\n      \"tr. CN\",\n      \"sau CN\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"th\\u00e1ng 1\",\n      \"th\\u00e1ng 2\",\n      \"th\\u00e1ng 3\",\n      \"th\\u00e1ng 4\",\n      \"th\\u00e1ng 5\",\n      \"th\\u00e1ng 6\",\n      \"th\\u00e1ng 7\",\n      \"th\\u00e1ng 8\",\n      \"th\\u00e1ng 9\",\n      \"th\\u00e1ng 10\",\n      \"th\\u00e1ng 11\",\n      \"th\\u00e1ng 12\"\n    ],\n    \"SHORTDAY\": [\n      \"CN\",\n      \"Th 2\",\n      \"Th 3\",\n      \"Th 4\",\n      \"Th 5\",\n      \"Th 6\",\n      \"Th 7\"\n    ],\n    \"SHORTMONTH\": [\n      \"thg 1\",\n      \"thg 2\",\n      \"thg 3\",\n      \"thg 4\",\n      \"thg 5\",\n      \"thg 6\",\n      \"thg 7\",\n      \"thg 8\",\n      \"thg 9\",\n      \"thg 10\",\n      \"thg 11\",\n      \"thg 12\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, 'ng\\u00e0y' dd MMMM 'n\\u0103m' y\",\n    \"longDate\": \"'Ng\\u00e0y' dd 'th\\u00e1ng' MM 'n\\u0103m' y\",\n    \"medium\": \"dd-MM-y HH:mm:ss\",\n    \"mediumDate\": \"dd-MM-y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ab\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"vi-vn\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_vi.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"SA\",\n      \"CH\"\n    ],\n    \"DAY\": [\n      \"Ch\\u1ee7 Nh\\u1eadt\",\n      \"Th\\u1ee9 Hai\",\n      \"Th\\u1ee9 Ba\",\n      \"Th\\u1ee9 T\\u01b0\",\n      \"Th\\u1ee9 N\\u0103m\",\n      \"Th\\u1ee9 S\\u00e1u\",\n      \"Th\\u1ee9 B\\u1ea3y\"\n    ],\n    \"ERANAMES\": [\n      \"tr. CN\",\n      \"sau CN\"\n    ],\n    \"ERAS\": [\n      \"tr. CN\",\n      \"sau CN\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"th\\u00e1ng 1\",\n      \"th\\u00e1ng 2\",\n      \"th\\u00e1ng 3\",\n      \"th\\u00e1ng 4\",\n      \"th\\u00e1ng 5\",\n      \"th\\u00e1ng 6\",\n      \"th\\u00e1ng 7\",\n      \"th\\u00e1ng 8\",\n      \"th\\u00e1ng 9\",\n      \"th\\u00e1ng 10\",\n      \"th\\u00e1ng 11\",\n      \"th\\u00e1ng 12\"\n    ],\n    \"SHORTDAY\": [\n      \"CN\",\n      \"Th 2\",\n      \"Th 3\",\n      \"Th 4\",\n      \"Th 5\",\n      \"Th 6\",\n      \"Th 7\"\n    ],\n    \"SHORTMONTH\": [\n      \"thg 1\",\n      \"thg 2\",\n      \"thg 3\",\n      \"thg 4\",\n      \"thg 5\",\n      \"thg 6\",\n      \"thg 7\",\n      \"thg 8\",\n      \"thg 9\",\n      \"thg 10\",\n      \"thg 11\",\n      \"thg 12\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, 'ng\\u00e0y' dd MMMM 'n\\u0103m' y\",\n    \"longDate\": \"'Ng\\u00e0y' dd 'th\\u00e1ng' MM 'n\\u0103m' y\",\n    \"medium\": \"dd-MM-y HH:mm:ss\",\n    \"mediumDate\": \"dd-MM-y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/y HH:mm\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20ab\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \".\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"vi\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_vo-001.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"posz.\",\n      \"b\\u00fcz.\"\n    ],\n    \"DAY\": [\n      \"sudel\",\n      \"mudel\",\n      \"tudel\",\n      \"vedel\",\n      \"d\\u00f6del\",\n      \"fridel\",\n      \"z\\u00e4del\"\n    ],\n    \"ERANAMES\": [\n      \"b. t. kr.\",\n      \"p. t. kr.\"\n    ],\n    \"ERAS\": [\n      \"b. t. kr.\",\n      \"p. t. kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janul\",\n      \"febul\",\n      \"m\\u00e4zil\",\n      \"prilul\",\n      \"mayul\",\n      \"yunul\",\n      \"yulul\",\n      \"gustul\",\n      \"setul\",\n      \"tobul\",\n      \"novul\",\n      \"dekul\"\n    ],\n    \"SHORTDAY\": [\n      \"su.\",\n      \"mu.\",\n      \"tu.\",\n      \"ve.\",\n      \"d\\u00f6.\",\n      \"fr.\",\n      \"z\\u00e4.\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"feb\",\n      \"m\\u00e4z\",\n      \"prl\",\n      \"may\",\n      \"yun\",\n      \"yul\",\n      \"gst\",\n      \"set\",\n      \"ton\",\n      \"nov\",\n      \"dek\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMMa 'd'. d'id'\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM. d HH:mm:ss\",\n    \"mediumDate\": \"y MMM. d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4\\u00a0-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"vo-001\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_vo.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"posz.\",\n      \"b\\u00fcz.\"\n    ],\n    \"DAY\": [\n      \"sudel\",\n      \"mudel\",\n      \"tudel\",\n      \"vedel\",\n      \"d\\u00f6del\",\n      \"fridel\",\n      \"z\\u00e4del\"\n    ],\n    \"ERANAMES\": [\n      \"b. t. kr.\",\n      \"p. t. kr.\"\n    ],\n    \"ERAS\": [\n      \"b. t. kr.\",\n      \"p. t. kr.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"janul\",\n      \"febul\",\n      \"m\\u00e4zil\",\n      \"prilul\",\n      \"mayul\",\n      \"yunul\",\n      \"yulul\",\n      \"gustul\",\n      \"setul\",\n      \"tobul\",\n      \"novul\",\n      \"dekul\"\n    ],\n    \"SHORTDAY\": [\n      \"su.\",\n      \"mu.\",\n      \"tu.\",\n      \"ve.\",\n      \"d\\u00f6.\",\n      \"fr.\",\n      \"z\\u00e4.\"\n    ],\n    \"SHORTMONTH\": [\n      \"jan\",\n      \"feb\",\n      \"m\\u00e4z\",\n      \"prl\",\n      \"may\",\n      \"yun\",\n      \"yul\",\n      \"gst\",\n      \"set\",\n      \"ton\",\n      \"nov\",\n      \"dek\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y MMMMa 'd'. d'id'\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM. d HH:mm:ss\",\n    \"mediumDate\": \"y MMM. d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4\\u00a0-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"vo\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_vun-tz.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"utuko\",\n      \"kyiukonyi\"\n    ],\n    \"DAY\": [\n      \"Jumapilyi\",\n      \"Jumatatuu\",\n      \"Jumanne\",\n      \"Jumatanu\",\n      \"Alhamisi\",\n      \"Ijumaa\",\n      \"Jumamosi\"\n    ],\n    \"ERANAMES\": [\n      \"Kabla ya Kristu\",\n      \"Baada ya Kristu\"\n    ],\n    \"ERAS\": [\n      \"KK\",\n      \"BK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januari\",\n      \"Februari\",\n      \"Machi\",\n      \"Aprilyi\",\n      \"Mei\",\n      \"Junyi\",\n      \"Julyai\",\n      \"Agusti\",\n      \"Septemba\",\n      \"Oktoba\",\n      \"Novemba\",\n      \"Desemba\"\n    ],\n    \"SHORTDAY\": [\n      \"Jpi\",\n      \"Jtt\",\n      \"Jnn\",\n      \"Jtn\",\n      \"Alh\",\n      \"Iju\",\n      \"Jmo\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mac\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Ago\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"TSh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"vun-tz\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_vun.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"utuko\",\n      \"kyiukonyi\"\n    ],\n    \"DAY\": [\n      \"Jumapilyi\",\n      \"Jumatatuu\",\n      \"Jumanne\",\n      \"Jumatanu\",\n      \"Alhamisi\",\n      \"Ijumaa\",\n      \"Jumamosi\"\n    ],\n    \"ERANAMES\": [\n      \"Kabla ya Kristu\",\n      \"Baada ya Kristu\"\n    ],\n    \"ERAS\": [\n      \"KK\",\n      \"BK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Januari\",\n      \"Februari\",\n      \"Machi\",\n      \"Aprilyi\",\n      \"Mei\",\n      \"Junyi\",\n      \"Julyai\",\n      \"Agusti\",\n      \"Septemba\",\n      \"Oktoba\",\n      \"Novemba\",\n      \"Desemba\"\n    ],\n    \"SHORTDAY\": [\n      \"Jpi\",\n      \"Jtt\",\n      \"Jnn\",\n      \"Jtn\",\n      \"Alh\",\n      \"Iju\",\n      \"Jmo\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mac\",\n      \"Apr\",\n      \"Mei\",\n      \"Jun\",\n      \"Jul\",\n      \"Ago\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"TSh\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"vun\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_wae-ch.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunntag\",\n      \"M\\u00e4ntag\",\n      \"Zi\\u0161tag\",\n      \"Mittwu\\u010d\",\n      \"Fr\\u00f3ntag\",\n      \"Fritag\",\n      \"Sam\\u0161tag\"\n    ],\n    \"ERANAMES\": [\n      \"v. Chr.\",\n      \"n. Chr\"\n    ],\n    \"ERAS\": [\n      \"v. Chr.\",\n      \"n. Chr\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Jenner\",\n      \"Hornig\",\n      \"M\\u00e4rze\",\n      \"Abrille\",\n      \"Meije\",\n      \"Br\\u00e1\\u010det\",\n      \"Heiwet\",\n      \"\\u00d6ig\\u0161te\",\n      \"Herb\\u0161tm\\u00e1net\",\n      \"W\\u00edm\\u00e1net\",\n      \"Winterm\\u00e1net\",\n      \"Chri\\u0161tm\\u00e1net\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"M\\u00e4n\",\n      \"Zi\\u0161\",\n      \"Mit\",\n      \"Fr\\u00f3\",\n      \"Fri\",\n      \"Sam\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jen\",\n      \"Hor\",\n      \"M\\u00e4r\",\n      \"Abr\",\n      \"Mei\",\n      \"Br\\u00e1\",\n      \"Hei\",\n      \"\\u00d6ig\",\n      \"Her\",\n      \"W\\u00edm\",\n      \"Win\",\n      \"Chr\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d. MMM y HH:mm:ss\",\n    \"mediumDate\": \"d. MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CHF\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u2019\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"wae-ch\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_wae.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Sunntag\",\n      \"M\\u00e4ntag\",\n      \"Zi\\u0161tag\",\n      \"Mittwu\\u010d\",\n      \"Fr\\u00f3ntag\",\n      \"Fritag\",\n      \"Sam\\u0161tag\"\n    ],\n    \"ERANAMES\": [\n      \"v. Chr.\",\n      \"n. Chr\"\n    ],\n    \"ERAS\": [\n      \"v. Chr.\",\n      \"n. Chr\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Jenner\",\n      \"Hornig\",\n      \"M\\u00e4rze\",\n      \"Abrille\",\n      \"Meije\",\n      \"Br\\u00e1\\u010det\",\n      \"Heiwet\",\n      \"\\u00d6ig\\u0161te\",\n      \"Herb\\u0161tm\\u00e1net\",\n      \"W\\u00edm\\u00e1net\",\n      \"Winterm\\u00e1net\",\n      \"Chri\\u0161tm\\u00e1net\"\n    ],\n    \"SHORTDAY\": [\n      \"Sun\",\n      \"M\\u00e4n\",\n      \"Zi\\u0161\",\n      \"Mit\",\n      \"Fr\\u00f3\",\n      \"Fri\",\n      \"Sam\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jen\",\n      \"Hor\",\n      \"M\\u00e4r\",\n      \"Abr\",\n      \"Mei\",\n      \"Br\\u00e1\",\n      \"Hei\",\n      \"\\u00d6ig\",\n      \"Her\",\n      \"W\\u00edm\",\n      \"Win\",\n      \"Chr\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d. MMMM y\",\n    \"longDate\": \"d. MMMM y\",\n    \"medium\": \"d. MMM y HH:mm:ss\",\n    \"mediumDate\": \"d. MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CHF\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u2019\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"wae\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_wal-et.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u121b\\u1208\\u12f6\",\n      \"\\u1243\\u121b\"\n    ],\n    \"DAY\": [\n      \"\\u12c8\\u130b\",\n      \"\\u1233\\u12ed\\u1296\",\n      \"\\u121b\\u1246\\u1233\\u129b\",\n      \"\\u12a0\\u1229\\u12cb\",\n      \"\\u1203\\u1219\\u1233\",\n      \"\\u12a0\\u122d\\u1263\",\n      \"\\u1244\\u122b\"\n    ],\n    \"MONTH\": [\n      \"\\u1303\\u1295\\u12e9\\u12c8\\u122a\",\n      \"\\u134c\\u1265\\u1229\\u12c8\\u122a\",\n      \"\\u121b\\u122d\\u127d\",\n      \"\\u12a4\\u1355\\u1228\\u120d\",\n      \"\\u121c\\u12ed\",\n      \"\\u1301\\u1295\",\n      \"\\u1301\\u120b\\u12ed\",\n      \"\\u12a6\\u1308\\u1235\\u1275\",\n      \"\\u1234\\u1355\\u1274\\u121d\\u1260\\u122d\",\n      \"\\u12a6\\u12ad\\u1270\\u12cd\\u1260\\u122d\",\n      \"\\u1296\\u126c\\u121d\\u1260\\u122d\",\n      \"\\u12f2\\u1234\\u121d\\u1260\\u122d\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u12c8\\u130b\",\n      \"\\u1233\\u12ed\\u1296\",\n      \"\\u121b\\u1246\\u1233\\u129b\",\n      \"\\u12a0\\u1229\\u12cb\",\n      \"\\u1203\\u1219\\u1233\",\n      \"\\u12a0\\u122d\\u1263\",\n      \"\\u1244\\u122b\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u1303\\u1295\\u12e9\",\n      \"\\u134c\\u1265\\u1229\",\n      \"\\u121b\\u122d\\u127d\",\n      \"\\u12a4\\u1355\\u1228\",\n      \"\\u121c\\u12ed\",\n      \"\\u1301\\u1295\",\n      \"\\u1301\\u120b\\u12ed\",\n      \"\\u12a6\\u1308\\u1235\",\n      \"\\u1234\\u1355\\u1274\",\n      \"\\u12a6\\u12ad\\u1270\",\n      \"\\u1296\\u126c\\u121d\",\n      \"\\u12f2\\u1234\\u121d\"\n    ],\n    \"fullDate\": \"EEEE\\u1365 dd MMMM \\u130b\\u120b\\u1233 y G\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd-MMM-y h:mm:ss a\",\n    \"mediumDate\": \"dd-MMM-y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Birr\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \"\\u2019\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"wal-et\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_wal.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u121b\\u1208\\u12f6\",\n      \"\\u1243\\u121b\"\n    ],\n    \"DAY\": [\n      \"\\u12c8\\u130b\",\n      \"\\u1233\\u12ed\\u1296\",\n      \"\\u121b\\u1246\\u1233\\u129b\",\n      \"\\u12a0\\u1229\\u12cb\",\n      \"\\u1203\\u1219\\u1233\",\n      \"\\u12a0\\u122d\\u1263\",\n      \"\\u1244\\u122b\"\n    ],\n    \"MONTH\": [\n      \"\\u1303\\u1295\\u12e9\\u12c8\\u122a\",\n      \"\\u134c\\u1265\\u1229\\u12c8\\u122a\",\n      \"\\u121b\\u122d\\u127d\",\n      \"\\u12a4\\u1355\\u1228\\u120d\",\n      \"\\u121c\\u12ed\",\n      \"\\u1301\\u1295\",\n      \"\\u1301\\u120b\\u12ed\",\n      \"\\u12a6\\u1308\\u1235\\u1275\",\n      \"\\u1234\\u1355\\u1274\\u121d\\u1260\\u122d\",\n      \"\\u12a6\\u12ad\\u1270\\u12cd\\u1260\\u122d\",\n      \"\\u1296\\u126c\\u121d\\u1260\\u122d\",\n      \"\\u12f2\\u1234\\u121d\\u1260\\u122d\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u12c8\\u130b\",\n      \"\\u1233\\u12ed\\u1296\",\n      \"\\u121b\\u1246\\u1233\\u129b\",\n      \"\\u12a0\\u1229\\u12cb\",\n      \"\\u1203\\u1219\\u1233\",\n      \"\\u12a0\\u122d\\u1263\",\n      \"\\u1244\\u122b\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u1303\\u1295\\u12e9\",\n      \"\\u134c\\u1265\\u1229\",\n      \"\\u121b\\u122d\\u127d\",\n      \"\\u12a4\\u1355\\u1228\",\n      \"\\u121c\\u12ed\",\n      \"\\u1301\\u1295\",\n      \"\\u1301\\u120b\\u12ed\",\n      \"\\u12a6\\u1308\\u1235\",\n      \"\\u1234\\u1355\\u1274\",\n      \"\\u12a6\\u12ad\\u1270\",\n      \"\\u1296\\u126c\\u121d\",\n      \"\\u12f2\\u1234\\u121d\"\n    ],\n    \"fullDate\": \"EEEE\\u1365 dd MMMM \\u130b\\u120b\\u1233 y G\",\n    \"longDate\": \"dd MMMM y\",\n    \"medium\": \"dd-MMM-y h:mm:ss a\",\n    \"mediumDate\": \"dd-MMM-y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/yy h:mm a\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"Birr\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \"\\u2019\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"wal\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_xh-za.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Cawe\",\n      \"Mvulo\",\n      \"Lwesibini\",\n      \"Lwesithathu\",\n      \"Lwesine\",\n      \"Lwesihlanu\",\n      \"Mgqibelo\"\n    ],\n    \"MONTH\": [\n      \"Janyuwari\",\n      \"Februwari\",\n      \"Matshi\",\n      \"Epreli\",\n      \"Meyi\",\n      \"Juni\",\n      \"Julayi\",\n      \"Agasti\",\n      \"Septemba\",\n      \"Okthoba\",\n      \"Novemba\",\n      \"Disemba\"\n    ],\n    \"SHORTDAY\": [\n      \"Caw\",\n      \"Mvu\",\n      \"Bin\",\n      \"Tha\",\n      \"Sin\",\n      \"Hla\",\n      \"Mgq\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mat\",\n      \"Epr\",\n      \"Mey\",\n      \"Jun\",\n      \"Jul\",\n      \"Aga\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Dis\"\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"R\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"xh-za\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_xh.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"AM\",\n      \"PM\"\n    ],\n    \"DAY\": [\n      \"Cawe\",\n      \"Mvulo\",\n      \"Lwesibini\",\n      \"Lwesithathu\",\n      \"Lwesine\",\n      \"Lwesihlanu\",\n      \"Mgqibelo\"\n    ],\n    \"MONTH\": [\n      \"Janyuwari\",\n      \"Februwari\",\n      \"Matshi\",\n      \"Epreli\",\n      \"Meyi\",\n      \"Juni\",\n      \"Julayi\",\n      \"Agasti\",\n      \"Septemba\",\n      \"Okthoba\",\n      \"Novemba\",\n      \"Disemba\"\n    ],\n    \"SHORTDAY\": [\n      \"Caw\",\n      \"Mvu\",\n      \"Bin\",\n      \"Tha\",\n      \"Sin\",\n      \"Hla\",\n      \"Mgq\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mat\",\n      \"Epr\",\n      \"Mey\",\n      \"Jun\",\n      \"Jul\",\n      \"Aga\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Dis\"\n    ],\n    \"fullDate\": \"y MMMM d, EEEE\",\n    \"longDate\": \"y MMMM d\",\n    \"medium\": \"y MMM d HH:mm:ss\",\n    \"mediumDate\": \"y MMM d\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"y-MM-dd HH:mm\",\n    \"shortDate\": \"y-MM-dd\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"R\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"\\u00a4-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"xh\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_xog-ug.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Munkyo\",\n      \"Eigulo\"\n    ],\n    \"DAY\": [\n      \"Sabiiti\",\n      \"Balaza\",\n      \"Owokubili\",\n      \"Owokusatu\",\n      \"Olokuna\",\n      \"Olokutaanu\",\n      \"Olomukaaga\"\n    ],\n    \"ERANAMES\": [\n      \"Kulisto nga azilawo\",\n      \"Kulisto nga affile\"\n    ],\n    \"ERAS\": [\n      \"AZ\",\n      \"AF\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Janwaliyo\",\n      \"Febwaliyo\",\n      \"Marisi\",\n      \"Apuli\",\n      \"Maayi\",\n      \"Juuni\",\n      \"Julaayi\",\n      \"Agusito\",\n      \"Sebuttemba\",\n      \"Okitobba\",\n      \"Novemba\",\n      \"Desemba\"\n    ],\n    \"SHORTDAY\": [\n      \"Sabi\",\n      \"Bala\",\n      \"Kubi\",\n      \"Kusa\",\n      \"Kuna\",\n      \"Kuta\",\n      \"Muka\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apu\",\n      \"Maa\",\n      \"Juu\",\n      \"Jul\",\n      \"Agu\",\n      \"Seb\",\n      \"Oki\",\n      \"Nov\",\n      \"Des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"UGX\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"xog-ug\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_xog.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Munkyo\",\n      \"Eigulo\"\n    ],\n    \"DAY\": [\n      \"Sabiiti\",\n      \"Balaza\",\n      \"Owokubili\",\n      \"Owokusatu\",\n      \"Olokuna\",\n      \"Olokutaanu\",\n      \"Olomukaaga\"\n    ],\n    \"ERANAMES\": [\n      \"Kulisto nga azilawo\",\n      \"Kulisto nga affile\"\n    ],\n    \"ERAS\": [\n      \"AZ\",\n      \"AF\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Janwaliyo\",\n      \"Febwaliyo\",\n      \"Marisi\",\n      \"Apuli\",\n      \"Maayi\",\n      \"Juuni\",\n      \"Julaayi\",\n      \"Agusito\",\n      \"Sebuttemba\",\n      \"Okitobba\",\n      \"Novemba\",\n      \"Desemba\"\n    ],\n    \"SHORTDAY\": [\n      \"Sabi\",\n      \"Bala\",\n      \"Kubi\",\n      \"Kusa\",\n      \"Kuna\",\n      \"Kuta\",\n      \"Muka\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mar\",\n      \"Apu\",\n      \"Maa\",\n      \"Juu\",\n      \"Jul\",\n      \"Agu\",\n      \"Seb\",\n      \"Oki\",\n      \"Nov\",\n      \"Des\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"UGX\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"xog\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_yav-cm.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"ki\\u025bm\\u025b\\u0301\\u025bm\",\n      \"kis\\u025b\\u0301nd\\u025b\"\n    ],\n    \"DAY\": [\n      \"s\\u0254\\u0301ndi\\u025b\",\n      \"m\\u00f3ndie\",\n      \"mu\\u00e1ny\\u00e1\\u014bm\\u00f3ndie\",\n      \"met\\u00fakp\\u00ed\\u00e1p\\u025b\",\n      \"k\\u00fap\\u00e9limet\\u00fakpiap\\u025b\",\n      \"fel\\u00e9te\",\n      \"s\\u00e9sel\\u00e9\"\n    ],\n    \"ERANAMES\": [\n      \"katikup\\u00eden Y\\u00e9suse\",\n      \"\\u00e9k\\u00e9l\\u00e9mk\\u00fanup\\u00ed\\u00e9n n\"\n    ],\n    \"ERAS\": [\n      \"k.Y.\",\n      \"+J.C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"pik\\u00edt\\u00edk\\u00edtie, o\\u00f3l\\u00ed \\u00fa kut\\u00faan\",\n      \"si\\u025by\\u025b\\u0301, o\\u00f3li \\u00fa k\\u00e1nd\\u00ed\\u025b\",\n      \"\\u0254ns\\u00famb\\u0254l, o\\u00f3li \\u00fa k\\u00e1t\\u00e1t\\u00fa\\u025b\",\n      \"mesi\\u014b, o\\u00f3li \\u00fa k\\u00e9nie\",\n      \"ensil, o\\u00f3li \\u00fa k\\u00e1t\\u00e1nu\\u025b\",\n      \"\\u0254s\\u0254n\",\n      \"efute\",\n      \"pisuy\\u00fa\",\n      \"im\\u025b\\u014b i pu\\u0254s\",\n      \"im\\u025b\\u014b i put\\u00fak,o\\u00f3li \\u00fa k\\u00e1t\\u00ed\\u025b\",\n      \"makandik\\u025b\",\n      \"pil\\u0254nd\\u0254\\u0301\"\n    ],\n    \"SHORTDAY\": [\n      \"sd\",\n      \"md\",\n      \"mw\",\n      \"et\",\n      \"kl\",\n      \"fl\",\n      \"ss\"\n    ],\n    \"SHORTMONTH\": [\n      \"o.1\",\n      \"o.2\",\n      \"o.3\",\n      \"o.4\",\n      \"o.5\",\n      \"o.6\",\n      \"o.7\",\n      \"o.8\",\n      \"o.9\",\n      \"o.10\",\n      \"o.11\",\n      \"o.12\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"yav-cm\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_yav.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"ki\\u025bm\\u025b\\u0301\\u025bm\",\n      \"kis\\u025b\\u0301nd\\u025b\"\n    ],\n    \"DAY\": [\n      \"s\\u0254\\u0301ndi\\u025b\",\n      \"m\\u00f3ndie\",\n      \"mu\\u00e1ny\\u00e1\\u014bm\\u00f3ndie\",\n      \"met\\u00fakp\\u00ed\\u00e1p\\u025b\",\n      \"k\\u00fap\\u00e9limet\\u00fakpiap\\u025b\",\n      \"fel\\u00e9te\",\n      \"s\\u00e9sel\\u00e9\"\n    ],\n    \"ERANAMES\": [\n      \"katikup\\u00eden Y\\u00e9suse\",\n      \"\\u00e9k\\u00e9l\\u00e9mk\\u00fanup\\u00ed\\u00e9n n\"\n    ],\n    \"ERAS\": [\n      \"k.Y.\",\n      \"+J.C.\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"pik\\u00edt\\u00edk\\u00edtie, o\\u00f3l\\u00ed \\u00fa kut\\u00faan\",\n      \"si\\u025by\\u025b\\u0301, o\\u00f3li \\u00fa k\\u00e1nd\\u00ed\\u025b\",\n      \"\\u0254ns\\u00famb\\u0254l, o\\u00f3li \\u00fa k\\u00e1t\\u00e1t\\u00fa\\u025b\",\n      \"mesi\\u014b, o\\u00f3li \\u00fa k\\u00e9nie\",\n      \"ensil, o\\u00f3li \\u00fa k\\u00e1t\\u00e1nu\\u025b\",\n      \"\\u0254s\\u0254n\",\n      \"efute\",\n      \"pisuy\\u00fa\",\n      \"im\\u025b\\u014b i pu\\u0254s\",\n      \"im\\u025b\\u014b i put\\u00fak,o\\u00f3li \\u00fa k\\u00e1t\\u00ed\\u025b\",\n      \"makandik\\u025b\",\n      \"pil\\u0254nd\\u0254\\u0301\"\n    ],\n    \"SHORTDAY\": [\n      \"sd\",\n      \"md\",\n      \"mw\",\n      \"et\",\n      \"kl\",\n      \"fl\",\n      \"ss\"\n    ],\n    \"SHORTMONTH\": [\n      \"o.1\",\n      \"o.2\",\n      \"o.3\",\n      \"o.4\",\n      \"o.5\",\n      \"o.6\",\n      \"o.7\",\n      \"o.8\",\n      \"o.9\",\n      \"o.10\",\n      \"o.11\",\n      \"o.12\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y HH:mm:ss\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"FCFA\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a0\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a0\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"yav\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_yi-001.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u05e4\\u05d0\\u05e8\\u05de\\u05d9\\u05d8\\u05d0\\u05d2\",\n      \"\\u05e0\\u05d0\\u05db\\u05de\\u05d9\\u05d8\\u05d0\\u05d2\"\n    ],\n    \"DAY\": [\n      \"\\u05d6\\u05d5\\u05e0\\u05d8\\u05d9\\u05e7\",\n      \"\\u05de\\u05d0\\u05b8\\u05e0\\u05d8\\u05d9\\u05e7\",\n      \"\\u05d3\\u05d9\\u05e0\\u05e1\\u05d8\\u05d9\\u05e7\",\n      \"\\u05de\\u05d9\\u05d8\\u05d5\\u05d5\\u05d0\\u05da\",\n      \"\\u05d3\\u05d0\\u05e0\\u05e2\\u05e8\\u05e9\\u05d8\\u05d9\\u05e7\",\n      \"\\u05e4\\u05bf\\u05e8\\u05f2\\u05b7\\u05d8\\u05d9\\u05e7\",\n      \"\\u05e9\\u05d1\\u05ea\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u05d9\\u05d0\\u05b7\\u05e0\\u05d5\\u05d0\\u05b7\\u05e8\",\n      \"\\u05e4\\u05bf\\u05e2\\u05d1\\u05e8\\u05d5\\u05d0\\u05b7\\u05e8\",\n      \"\\u05de\\u05e2\\u05e8\\u05e5\",\n      \"\\u05d0\\u05b7\\u05e4\\u05bc\\u05e8\\u05d9\\u05dc\",\n      \"\\u05de\\u05d9\\u05d9\",\n      \"\\u05d9\\u05d5\\u05e0\\u05d9\",\n      \"\\u05d9\\u05d5\\u05dc\\u05d9\",\n      \"\\u05d0\\u05d5\\u05d9\\u05d2\\u05d5\\u05e1\\u05d8\",\n      \"\\u05e1\\u05e2\\u05e4\\u05bc\\u05d8\\u05e2\\u05de\\u05d1\\u05e2\\u05e8\",\n      \"\\u05d0\\u05e7\\u05d8\\u05d0\\u05d1\\u05e2\\u05e8\",\n      \"\\u05e0\\u05d0\\u05d5\\u05d5\\u05e2\\u05de\\u05d1\\u05e2\\u05e8\",\n      \"\\u05d3\\u05e2\\u05e6\\u05e2\\u05de\\u05d1\\u05e2\\u05e8\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u05d6\\u05d5\\u05e0\\u05d8\\u05d9\\u05e7\",\n      \"\\u05de\\u05d0\\u05b8\\u05e0\\u05d8\\u05d9\\u05e7\",\n      \"\\u05d3\\u05d9\\u05e0\\u05e1\\u05d8\\u05d9\\u05e7\",\n      \"\\u05de\\u05d9\\u05d8\\u05d5\\u05d5\\u05d0\\u05da\",\n      \"\\u05d3\\u05d0\\u05e0\\u05e2\\u05e8\\u05e9\\u05d8\\u05d9\\u05e7\",\n      \"\\u05e4\\u05bf\\u05e8\\u05f2\\u05b7\\u05d8\\u05d9\\u05e7\",\n      \"\\u05e9\\u05d1\\u05ea\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u05d9\\u05d0\\u05b7\\u05e0\\u05d5\\u05d0\\u05b7\\u05e8\",\n      \"\\u05e4\\u05bf\\u05e2\\u05d1\\u05e8\\u05d5\\u05d0\\u05b7\\u05e8\",\n      \"\\u05de\\u05e2\\u05e8\\u05e5\",\n      \"\\u05d0\\u05b7\\u05e4\\u05bc\\u05e8\\u05d9\\u05dc\",\n      \"\\u05de\\u05d9\\u05d9\",\n      \"\\u05d9\\u05d5\\u05e0\\u05d9\",\n      \"\\u05d9\\u05d5\\u05dc\\u05d9\",\n      \"\\u05d0\\u05d5\\u05d9\\u05d2\\u05d5\\u05e1\\u05d8\",\n      \"\\u05e1\\u05e2\\u05e4\\u05bc\\u05d8\\u05e2\\u05de\\u05d1\\u05e2\\u05e8\",\n      \"\\u05d0\\u05e7\\u05d8\\u05d0\\u05d1\\u05e2\\u05e8\",\n      \"\\u05e0\\u05d0\\u05d5\\u05d5\\u05e2\\u05de\\u05d1\\u05e2\\u05e8\",\n      \"\\u05d3\\u05e2\\u05e6\\u05e2\\u05de\\u05d1\\u05e2\\u05e8\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d\\u05d8\\u05df MMMM y\",\n    \"longDate\": \"d\\u05d8\\u05df MMMM y\",\n    \"medium\": \"d\\u05d8\\u05df MMM y HH:mm:ss\",\n    \"mediumDate\": \"d\\u05d8\\u05df MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/yy HH:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"yi-001\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_yi.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u05e4\\u05d0\\u05e8\\u05de\\u05d9\\u05d8\\u05d0\\u05d2\",\n      \"\\u05e0\\u05d0\\u05db\\u05de\\u05d9\\u05d8\\u05d0\\u05d2\"\n    ],\n    \"DAY\": [\n      \"\\u05d6\\u05d5\\u05e0\\u05d8\\u05d9\\u05e7\",\n      \"\\u05de\\u05d0\\u05b8\\u05e0\\u05d8\\u05d9\\u05e7\",\n      \"\\u05d3\\u05d9\\u05e0\\u05e1\\u05d8\\u05d9\\u05e7\",\n      \"\\u05de\\u05d9\\u05d8\\u05d5\\u05d5\\u05d0\\u05da\",\n      \"\\u05d3\\u05d0\\u05e0\\u05e2\\u05e8\\u05e9\\u05d8\\u05d9\\u05e7\",\n      \"\\u05e4\\u05bf\\u05e8\\u05f2\\u05b7\\u05d8\\u05d9\\u05e7\",\n      \"\\u05e9\\u05d1\\u05ea\"\n    ],\n    \"ERANAMES\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"ERAS\": [\n      \"BCE\",\n      \"CE\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u05d9\\u05d0\\u05b7\\u05e0\\u05d5\\u05d0\\u05b7\\u05e8\",\n      \"\\u05e4\\u05bf\\u05e2\\u05d1\\u05e8\\u05d5\\u05d0\\u05b7\\u05e8\",\n      \"\\u05de\\u05e2\\u05e8\\u05e5\",\n      \"\\u05d0\\u05b7\\u05e4\\u05bc\\u05e8\\u05d9\\u05dc\",\n      \"\\u05de\\u05d9\\u05d9\",\n      \"\\u05d9\\u05d5\\u05e0\\u05d9\",\n      \"\\u05d9\\u05d5\\u05dc\\u05d9\",\n      \"\\u05d0\\u05d5\\u05d9\\u05d2\\u05d5\\u05e1\\u05d8\",\n      \"\\u05e1\\u05e2\\u05e4\\u05bc\\u05d8\\u05e2\\u05de\\u05d1\\u05e2\\u05e8\",\n      \"\\u05d0\\u05e7\\u05d8\\u05d0\\u05d1\\u05e2\\u05e8\",\n      \"\\u05e0\\u05d0\\u05d5\\u05d5\\u05e2\\u05de\\u05d1\\u05e2\\u05e8\",\n      \"\\u05d3\\u05e2\\u05e6\\u05e2\\u05de\\u05d1\\u05e2\\u05e8\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u05d6\\u05d5\\u05e0\\u05d8\\u05d9\\u05e7\",\n      \"\\u05de\\u05d0\\u05b8\\u05e0\\u05d8\\u05d9\\u05e7\",\n      \"\\u05d3\\u05d9\\u05e0\\u05e1\\u05d8\\u05d9\\u05e7\",\n      \"\\u05de\\u05d9\\u05d8\\u05d5\\u05d5\\u05d0\\u05da\",\n      \"\\u05d3\\u05d0\\u05e0\\u05e2\\u05e8\\u05e9\\u05d8\\u05d9\\u05e7\",\n      \"\\u05e4\\u05bf\\u05e8\\u05f2\\u05b7\\u05d8\\u05d9\\u05e7\",\n      \"\\u05e9\\u05d1\\u05ea\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u05d9\\u05d0\\u05b7\\u05e0\\u05d5\\u05d0\\u05b7\\u05e8\",\n      \"\\u05e4\\u05bf\\u05e2\\u05d1\\u05e8\\u05d5\\u05d0\\u05b7\\u05e8\",\n      \"\\u05de\\u05e2\\u05e8\\u05e5\",\n      \"\\u05d0\\u05b7\\u05e4\\u05bc\\u05e8\\u05d9\\u05dc\",\n      \"\\u05de\\u05d9\\u05d9\",\n      \"\\u05d9\\u05d5\\u05e0\\u05d9\",\n      \"\\u05d9\\u05d5\\u05dc\\u05d9\",\n      \"\\u05d0\\u05d5\\u05d9\\u05d2\\u05d5\\u05e1\\u05d8\",\n      \"\\u05e1\\u05e2\\u05e4\\u05bc\\u05d8\\u05e2\\u05de\\u05d1\\u05e2\\u05e8\",\n      \"\\u05d0\\u05e7\\u05d8\\u05d0\\u05d1\\u05e2\\u05e8\",\n      \"\\u05e0\\u05d0\\u05d5\\u05d5\\u05e2\\u05de\\u05d1\\u05e2\\u05e8\",\n      \"\\u05d3\\u05e2\\u05e6\\u05e2\\u05de\\u05d1\\u05e2\\u05e8\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d\\u05d8\\u05df MMMM y\",\n    \"longDate\": \"d\\u05d8\\u05df MMMM y\",\n    \"medium\": \"d\\u05d8\\u05df MMM y HH:mm:ss\",\n    \"mediumDate\": \"d\\u05d8\\u05df MMM y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"dd/MM/yy HH:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"yi\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_yo-bj.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u00c0\\u00e1r\\u0254\\u0300\",\n      \"\\u0186\\u0300s\\u00e1n\"\n    ],\n    \"DAY\": [\n      \"\\u0186j\\u0254\\u0301 \\u00c0\\u00eck\\u00fa\",\n      \"\\u0186j\\u0254\\u0301 Aj\\u00e9\",\n      \"\\u0186j\\u0254\\u0301 \\u00ccs\\u025b\\u0301gun\",\n      \"\\u0186j\\u0254\\u0301r\\u00fa\",\n      \"\\u0186j\\u0254\\u0301b\\u0254\",\n      \"\\u0186j\\u0254\\u0301 \\u0190t\\u00ec\",\n      \"\\u0186j\\u0254\\u0301 \\u00c0b\\u00e1m\\u025b\\u0301ta\"\n    ],\n    \"ERANAMES\": [\n      \"Saju Kristi\",\n      \"Lehin Kristi\"\n    ],\n    \"ERAS\": [\n      \"SK\",\n      \"LK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"Osh\\u00f9 Sh\\u025b\\u0301r\\u025b\\u0301\",\n      \"Osh\\u00f9 \\u00c8r\\u00e8l\\u00e8\",\n      \"Osh\\u00f9 \\u0190r\\u025b\\u0300n\\u00e0\",\n      \"Osh\\u00f9 \\u00ccgb\\u00e9\",\n      \"Osh\\u00f9 \\u0190\\u0300bibi\",\n      \"Osh\\u00f9 \\u00d2k\\u00fadu\",\n      \"Osh\\u00f9 Ag\\u025bm\\u0254\",\n      \"Osh\\u00f9 \\u00d2g\\u00fan\",\n      \"Osh\\u00f9 Owewe\",\n      \"Osh\\u00f9 \\u0186\\u0300w\\u00e0r\\u00e0\",\n      \"Osh\\u00f9 B\\u00e9l\\u00fa\",\n      \"Osh\\u00f9 \\u0186\\u0300p\\u025b\\u0300\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u00c0\\u00eck\\u00fa\",\n      \"Aj\\u00e9\",\n      \"\\u00ccs\\u025b\\u0301gun\",\n      \"\\u0186j\\u0254\\u0301r\\u00fa\",\n      \"\\u0186j\\u0254\\u0301b\\u0254\",\n      \"\\u0190t\\u00ec\",\n      \"\\u00c0b\\u00e1m\\u025b\\u0301ta\"\n    ],\n    \"SHORTMONTH\": [\n      \"Sh\\u025b\\u0301r\\u025b\\u0301\",\n      \"\\u00c8r\\u00e8l\\u00e8\",\n      \"\\u0190r\\u025b\\u0300n\\u00e0\",\n      \"\\u00ccgb\\u00e9\",\n      \"\\u0190\\u0300bibi\",\n      \"\\u00d2k\\u00fadu\",\n      \"Ag\\u025bm\\u0254\",\n      \"\\u00d2g\\u00fan\",\n      \"Owewe\",\n      \"\\u0186\\u0300w\\u00e0r\\u00e0\",\n      \"B\\u00e9l\\u00fa\",\n      \"\\u0186\\u0300p\\u025b\\u0300\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"CFA\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"yo-bj\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_yo-ng.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u00c0\\u00e1r\\u1ecd\\u0300\",\n      \"\\u1ecc\\u0300s\\u00e1n\"\n    ],\n    \"DAY\": [\n      \"\\u1eccj\\u1ecd\\u0301 \\u00c0\\u00eck\\u00fa\",\n      \"\\u1eccj\\u1ecd\\u0301 Aj\\u00e9\",\n      \"\\u1eccj\\u1ecd\\u0301 \\u00ccs\\u1eb9\\u0301gun\",\n      \"\\u1eccj\\u1ecd\\u0301r\\u00fa\",\n      \"\\u1eccj\\u1ecd\\u0301b\\u1ecd\",\n      \"\\u1eccj\\u1ecd\\u0301 \\u1eb8t\\u00ec\",\n      \"\\u1eccj\\u1ecd\\u0301 \\u00c0b\\u00e1m\\u1eb9\\u0301ta\"\n    ],\n    \"ERANAMES\": [\n      \"Saju Kristi\",\n      \"Lehin Kristi\"\n    ],\n    \"ERAS\": [\n      \"SK\",\n      \"LK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"O\\u1e63\\u00f9 \\u1e62\\u1eb9\\u0301r\\u1eb9\\u0301\",\n      \"O\\u1e63\\u00f9 \\u00c8r\\u00e8l\\u00e8\",\n      \"O\\u1e63\\u00f9 \\u1eb8r\\u1eb9\\u0300n\\u00e0\",\n      \"O\\u1e63\\u00f9 \\u00ccgb\\u00e9\",\n      \"O\\u1e63\\u00f9 \\u1eb8\\u0300bibi\",\n      \"O\\u1e63\\u00f9 \\u00d2k\\u00fadu\",\n      \"O\\u1e63\\u00f9 Ag\\u1eb9m\\u1ecd\",\n      \"O\\u1e63\\u00f9 \\u00d2g\\u00fan\",\n      \"O\\u1e63\\u00f9 Owewe\",\n      \"O\\u1e63\\u00f9 \\u1ecc\\u0300w\\u00e0r\\u00e0\",\n      \"O\\u1e63\\u00f9 B\\u00e9l\\u00fa\",\n      \"O\\u1e63\\u00f9 \\u1ecc\\u0300p\\u1eb9\\u0300\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u00c0\\u00eck\\u00fa\",\n      \"Aj\\u00e9\",\n      \"\\u00ccs\\u1eb9\\u0301gun\",\n      \"\\u1eccj\\u1ecd\\u0301r\\u00fa\",\n      \"\\u1eccj\\u1ecd\\u0301b\\u1ecd\",\n      \"\\u1eb8t\\u00ec\",\n      \"\\u00c0b\\u00e1m\\u1eb9\\u0301ta\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u1e62\\u1eb9\\u0301r\\u1eb9\\u0301\",\n      \"\\u00c8r\\u00e8l\\u00e8\",\n      \"\\u1eb8r\\u1eb9\\u0300n\\u00e0\",\n      \"\\u00ccgb\\u00e9\",\n      \"\\u1eb8\\u0300bibi\",\n      \"\\u00d2k\\u00fadu\",\n      \"Ag\\u1eb9m\\u1ecd\",\n      \"\\u00d2g\\u00fan\",\n      \"Owewe\",\n      \"\\u1ecc\\u0300w\\u00e0r\\u00e0\",\n      \"B\\u00e9l\\u00fa\",\n      \"\\u1ecc\\u0300p\\u1eb9\\u0300\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20a6\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"yo-ng\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_yo.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u00c0\\u00e1r\\u1ecd\\u0300\",\n      \"\\u1ecc\\u0300s\\u00e1n\"\n    ],\n    \"DAY\": [\n      \"\\u1eccj\\u1ecd\\u0301 \\u00c0\\u00eck\\u00fa\",\n      \"\\u1eccj\\u1ecd\\u0301 Aj\\u00e9\",\n      \"\\u1eccj\\u1ecd\\u0301 \\u00ccs\\u1eb9\\u0301gun\",\n      \"\\u1eccj\\u1ecd\\u0301r\\u00fa\",\n      \"\\u1eccj\\u1ecd\\u0301b\\u1ecd\",\n      \"\\u1eccj\\u1ecd\\u0301 \\u1eb8t\\u00ec\",\n      \"\\u1eccj\\u1ecd\\u0301 \\u00c0b\\u00e1m\\u1eb9\\u0301ta\"\n    ],\n    \"ERANAMES\": [\n      \"Saju Kristi\",\n      \"Lehin Kristi\"\n    ],\n    \"ERAS\": [\n      \"SK\",\n      \"LK\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"O\\u1e63\\u00f9 \\u1e62\\u1eb9\\u0301r\\u1eb9\\u0301\",\n      \"O\\u1e63\\u00f9 \\u00c8r\\u00e8l\\u00e8\",\n      \"O\\u1e63\\u00f9 \\u1eb8r\\u1eb9\\u0300n\\u00e0\",\n      \"O\\u1e63\\u00f9 \\u00ccgb\\u00e9\",\n      \"O\\u1e63\\u00f9 \\u1eb8\\u0300bibi\",\n      \"O\\u1e63\\u00f9 \\u00d2k\\u00fadu\",\n      \"O\\u1e63\\u00f9 Ag\\u1eb9m\\u1ecd\",\n      \"O\\u1e63\\u00f9 \\u00d2g\\u00fan\",\n      \"O\\u1e63\\u00f9 Owewe\",\n      \"O\\u1e63\\u00f9 \\u1ecc\\u0300w\\u00e0r\\u00e0\",\n      \"O\\u1e63\\u00f9 B\\u00e9l\\u00fa\",\n      \"O\\u1e63\\u00f9 \\u1ecc\\u0300p\\u1eb9\\u0300\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u00c0\\u00eck\\u00fa\",\n      \"Aj\\u00e9\",\n      \"\\u00ccs\\u1eb9\\u0301gun\",\n      \"\\u1eccj\\u1ecd\\u0301r\\u00fa\",\n      \"\\u1eccj\\u1ecd\\u0301b\\u1ecd\",\n      \"\\u1eb8t\\u00ec\",\n      \"\\u00c0b\\u00e1m\\u1eb9\\u0301ta\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u1e62\\u1eb9\\u0301r\\u1eb9\\u0301\",\n      \"\\u00c8r\\u00e8l\\u00e8\",\n      \"\\u1eb8r\\u1eb9\\u0300n\\u00e0\",\n      \"\\u00ccgb\\u00e9\",\n      \"\\u1eb8\\u0300bibi\",\n      \"\\u00d2k\\u00fadu\",\n      \"Ag\\u1eb9m\\u1ecd\",\n      \"\\u00d2g\\u00fan\",\n      \"Owewe\",\n      \"\\u1ecc\\u0300w\\u00e0r\\u00e0\",\n      \"B\\u00e9l\\u00fa\",\n      \"\\u1ecc\\u0300p\\u1eb9\\u0300\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM y h:mm:ss a\",\n    \"mediumDate\": \"d MMM y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"dd/MM/y h:mm a\",\n    \"shortDate\": \"dd/MM/y\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u20a6\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"yo\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_zgh-ma.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u2d5c\\u2d49\\u2d3c\\u2d30\\u2d61\\u2d5c\",\n      \"\\u2d5c\\u2d30\\u2d37\\u2d33\\u2d33\\u2d6f\\u2d30\\u2d5c\"\n    ],\n    \"DAY\": [\n      \"\\u2d30\\u2d59\\u2d30\\u2d4e\\u2d30\\u2d59\",\n      \"\\u2d30\\u2d62\\u2d4f\\u2d30\\u2d59\",\n      \"\\u2d30\\u2d59\\u2d49\\u2d4f\\u2d30\\u2d59\",\n      \"\\u2d30\\u2d3d\\u2d55\\u2d30\\u2d59\",\n      \"\\u2d30\\u2d3d\\u2d61\\u2d30\\u2d59\",\n      \"\\u2d30\\u2d59\\u2d49\\u2d4e\\u2d61\\u2d30\\u2d59\",\n      \"\\u2d30\\u2d59\\u2d49\\u2d39\\u2d62\\u2d30\\u2d59\"\n    ],\n    \"ERANAMES\": [\n      \"\\u2d37\\u2d30\\u2d5c \\u2d4f \\u2d44\\u2d49\\u2d59\\u2d30\",\n      \"\\u2d37\\u2d3c\\u2d3c\\u2d49\\u2d54 \\u2d4f \\u2d44\\u2d49\\u2d59\\u2d30\"\n    ],\n    \"ERAS\": [\n      \"\\u2d37\\u2d30\\u2d44\",\n      \"\\u2d37\\u2d3c\\u2d44\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u2d49\\u2d4f\\u2d4f\\u2d30\\u2d62\\u2d54\",\n      \"\\u2d31\\u2d55\\u2d30\\u2d62\\u2d55\",\n      \"\\u2d4e\\u2d30\\u2d55\\u2d5a\",\n      \"\\u2d49\\u2d31\\u2d54\\u2d49\\u2d54\",\n      \"\\u2d4e\\u2d30\\u2d62\\u2d62\\u2d53\",\n      \"\\u2d62\\u2d53\\u2d4f\\u2d62\\u2d53\",\n      \"\\u2d62\\u2d53\\u2d4d\\u2d62\\u2d53\\u2d63\",\n      \"\\u2d56\\u2d53\\u2d5b\\u2d5c\",\n      \"\\u2d5b\\u2d53\\u2d5c\\u2d30\\u2d4f\\u2d31\\u2d49\\u2d54\",\n      \"\\u2d3d\\u2d5c\\u2d53\\u2d31\\u2d54\",\n      \"\\u2d4f\\u2d53\\u2d61\\u2d30\\u2d4f\\u2d31\\u2d49\\u2d54\",\n      \"\\u2d37\\u2d53\\u2d4a\\u2d30\\u2d4f\\u2d31\\u2d49\\u2d54\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u2d30\\u2d59\\u2d30\",\n      \"\\u2d30\\u2d62\\u2d4f\",\n      \"\\u2d30\\u2d59\\u2d49\",\n      \"\\u2d30\\u2d3d\\u2d55\",\n      \"\\u2d30\\u2d3d\\u2d61\",\n      \"\\u2d30\\u2d59\\u2d49\\u2d4e\",\n      \"\\u2d30\\u2d59\\u2d49\\u2d39\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u2d49\\u2d4f\\u2d4f\",\n      \"\\u2d31\\u2d55\\u2d30\",\n      \"\\u2d4e\\u2d30\\u2d55\",\n      \"\\u2d49\\u2d31\\u2d54\",\n      \"\\u2d4e\\u2d30\\u2d62\",\n      \"\\u2d62\\u2d53\\u2d4f\",\n      \"\\u2d62\\u2d53\\u2d4d\",\n      \"\\u2d56\\u2d53\\u2d5b\",\n      \"\\u2d5b\\u2d53\\u2d5c\",\n      \"\\u2d3d\\u2d5c\\u2d53\",\n      \"\\u2d4f\\u2d53\\u2d61\",\n      \"\\u2d37\\u2d53\\u2d4a\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"dh\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"zgh-ma\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_zgh.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n  n = n + '';\n  var i = n.indexOf('.');\n  return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n  var v = opt_precision;\n\n  if (undefined === v) {\n    v = Math.min(getDecimals(n), 3);\n  }\n\n  var base = Math.pow(10, v);\n  var f = ((n * base) | 0) % base;\n  return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u2d5c\\u2d49\\u2d3c\\u2d30\\u2d61\\u2d5c\",\n      \"\\u2d5c\\u2d30\\u2d37\\u2d33\\u2d33\\u2d6f\\u2d30\\u2d5c\"\n    ],\n    \"DAY\": [\n      \"\\u2d30\\u2d59\\u2d30\\u2d4e\\u2d30\\u2d59\",\n      \"\\u2d30\\u2d62\\u2d4f\\u2d30\\u2d59\",\n      \"\\u2d30\\u2d59\\u2d49\\u2d4f\\u2d30\\u2d59\",\n      \"\\u2d30\\u2d3d\\u2d55\\u2d30\\u2d59\",\n      \"\\u2d30\\u2d3d\\u2d61\\u2d30\\u2d59\",\n      \"\\u2d30\\u2d59\\u2d49\\u2d4e\\u2d61\\u2d30\\u2d59\",\n      \"\\u2d30\\u2d59\\u2d49\\u2d39\\u2d62\\u2d30\\u2d59\"\n    ],\n    \"ERANAMES\": [\n      \"\\u2d37\\u2d30\\u2d5c \\u2d4f \\u2d44\\u2d49\\u2d59\\u2d30\",\n      \"\\u2d37\\u2d3c\\u2d3c\\u2d49\\u2d54 \\u2d4f \\u2d44\\u2d49\\u2d59\\u2d30\"\n    ],\n    \"ERAS\": [\n      \"\\u2d37\\u2d30\\u2d44\",\n      \"\\u2d37\\u2d3c\\u2d44\"\n    ],\n    \"FIRSTDAYOFWEEK\": 0,\n    \"MONTH\": [\n      \"\\u2d49\\u2d4f\\u2d4f\\u2d30\\u2d62\\u2d54\",\n      \"\\u2d31\\u2d55\\u2d30\\u2d62\\u2d55\",\n      \"\\u2d4e\\u2d30\\u2d55\\u2d5a\",\n      \"\\u2d49\\u2d31\\u2d54\\u2d49\\u2d54\",\n      \"\\u2d4e\\u2d30\\u2d62\\u2d62\\u2d53\",\n      \"\\u2d62\\u2d53\\u2d4f\\u2d62\\u2d53\",\n      \"\\u2d62\\u2d53\\u2d4d\\u2d62\\u2d53\\u2d63\",\n      \"\\u2d56\\u2d53\\u2d5b\\u2d5c\",\n      \"\\u2d5b\\u2d53\\u2d5c\\u2d30\\u2d4f\\u2d31\\u2d49\\u2d54\",\n      \"\\u2d3d\\u2d5c\\u2d53\\u2d31\\u2d54\",\n      \"\\u2d4f\\u2d53\\u2d61\\u2d30\\u2d4f\\u2d31\\u2d49\\u2d54\",\n      \"\\u2d37\\u2d53\\u2d4a\\u2d30\\u2d4f\\u2d31\\u2d49\\u2d54\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u2d30\\u2d59\\u2d30\",\n      \"\\u2d30\\u2d62\\u2d4f\",\n      \"\\u2d30\\u2d59\\u2d49\",\n      \"\\u2d30\\u2d3d\\u2d55\",\n      \"\\u2d30\\u2d3d\\u2d61\",\n      \"\\u2d30\\u2d59\\u2d49\\u2d4e\",\n      \"\\u2d30\\u2d59\\u2d49\\u2d39\"\n    ],\n    \"SHORTMONTH\": [\n      \"\\u2d49\\u2d4f\\u2d4f\",\n      \"\\u2d31\\u2d55\\u2d30\",\n      \"\\u2d4e\\u2d30\\u2d55\",\n      \"\\u2d49\\u2d31\\u2d54\",\n      \"\\u2d4e\\u2d30\\u2d62\",\n      \"\\u2d62\\u2d53\\u2d4f\",\n      \"\\u2d62\\u2d53\\u2d4d\",\n      \"\\u2d56\\u2d53\\u2d5b\",\n      \"\\u2d5b\\u2d53\\u2d5c\",\n      \"\\u2d3d\\u2d5c\\u2d53\",\n      \"\\u2d4f\\u2d53\\u2d61\",\n      \"\\u2d37\\u2d53\\u2d4a\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE d MMMM y\",\n    \"longDate\": \"d MMMM y\",\n    \"medium\": \"d MMM, y HH:mm:ss\",\n    \"mediumDate\": \"d MMM, y\",\n    \"mediumTime\": \"HH:mm:ss\",\n    \"short\": \"d/M/y HH:mm\",\n    \"shortDate\": \"d/M/y\",\n    \"shortTime\": \"HH:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"dh\",\n    \"DECIMAL_SEP\": \",\",\n    \"GROUP_SEP\": \"\\u00a0\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\\u00a4\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\\u00a4\"\n      }\n    ]\n  },\n  \"id\": \"zgh\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_zh-cn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u4e0a\\u5348\",\n      \"\\u4e0b\\u5348\"\n    ],\n    \"DAY\": [\n      \"\\u661f\\u671f\\u65e5\",\n      \"\\u661f\\u671f\\u4e00\",\n      \"\\u661f\\u671f\\u4e8c\",\n      \"\\u661f\\u671f\\u4e09\",\n      \"\\u661f\\u671f\\u56db\",\n      \"\\u661f\\u671f\\u4e94\",\n      \"\\u661f\\u671f\\u516d\"\n    ],\n    \"ERANAMES\": [\n      \"\\u516c\\u5143\\u524d\",\n      \"\\u516c\\u5143\"\n    ],\n    \"ERAS\": [\n      \"\\u516c\\u5143\\u524d\",\n      \"\\u516c\\u5143\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u4e00\\u6708\",\n      \"\\u4e8c\\u6708\",\n      \"\\u4e09\\u6708\",\n      \"\\u56db\\u6708\",\n      \"\\u4e94\\u6708\",\n      \"\\u516d\\u6708\",\n      \"\\u4e03\\u6708\",\n      \"\\u516b\\u6708\",\n      \"\\u4e5d\\u6708\",\n      \"\\u5341\\u6708\",\n      \"\\u5341\\u4e00\\u6708\",\n      \"\\u5341\\u4e8c\\u6708\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u5468\\u65e5\",\n      \"\\u5468\\u4e00\",\n      \"\\u5468\\u4e8c\",\n      \"\\u5468\\u4e09\",\n      \"\\u5468\\u56db\",\n      \"\\u5468\\u4e94\",\n      \"\\u5468\\u516d\"\n    ],\n    \"SHORTMONTH\": [\n      \"1\\u6708\",\n      \"2\\u6708\",\n      \"3\\u6708\",\n      \"4\\u6708\",\n      \"5\\u6708\",\n      \"6\\u6708\",\n      \"7\\u6708\",\n      \"8\\u6708\",\n      \"9\\u6708\",\n      \"10\\u6708\",\n      \"11\\u6708\",\n      \"12\\u6708\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y\\u5e74M\\u6708d\\u65e5EEEE\",\n    \"longDate\": \"y\\u5e74M\\u6708d\\u65e5\",\n    \"medium\": \"y\\u5e74M\\u6708d\\u65e5 ah:mm:ss\",\n    \"mediumDate\": \"y\\u5e74M\\u6708d\\u65e5\",\n    \"mediumTime\": \"ah:mm:ss\",\n    \"short\": \"yy/M/d ah:mm\",\n    \"shortDate\": \"yy/M/d\",\n    \"shortTime\": \"ah:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a5\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"zh-cn\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_zh-hans-cn.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u4e0a\\u5348\",\n      \"\\u4e0b\\u5348\"\n    ],\n    \"DAY\": [\n      \"\\u661f\\u671f\\u65e5\",\n      \"\\u661f\\u671f\\u4e00\",\n      \"\\u661f\\u671f\\u4e8c\",\n      \"\\u661f\\u671f\\u4e09\",\n      \"\\u661f\\u671f\\u56db\",\n      \"\\u661f\\u671f\\u4e94\",\n      \"\\u661f\\u671f\\u516d\"\n    ],\n    \"ERANAMES\": [\n      \"\\u516c\\u5143\\u524d\",\n      \"\\u516c\\u5143\"\n    ],\n    \"ERAS\": [\n      \"\\u516c\\u5143\\u524d\",\n      \"\\u516c\\u5143\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u4e00\\u6708\",\n      \"\\u4e8c\\u6708\",\n      \"\\u4e09\\u6708\",\n      \"\\u56db\\u6708\",\n      \"\\u4e94\\u6708\",\n      \"\\u516d\\u6708\",\n      \"\\u4e03\\u6708\",\n      \"\\u516b\\u6708\",\n      \"\\u4e5d\\u6708\",\n      \"\\u5341\\u6708\",\n      \"\\u5341\\u4e00\\u6708\",\n      \"\\u5341\\u4e8c\\u6708\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u5468\\u65e5\",\n      \"\\u5468\\u4e00\",\n      \"\\u5468\\u4e8c\",\n      \"\\u5468\\u4e09\",\n      \"\\u5468\\u56db\",\n      \"\\u5468\\u4e94\",\n      \"\\u5468\\u516d\"\n    ],\n    \"SHORTMONTH\": [\n      \"1\\u6708\",\n      \"2\\u6708\",\n      \"3\\u6708\",\n      \"4\\u6708\",\n      \"5\\u6708\",\n      \"6\\u6708\",\n      \"7\\u6708\",\n      \"8\\u6708\",\n      \"9\\u6708\",\n      \"10\\u6708\",\n      \"11\\u6708\",\n      \"12\\u6708\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y\\u5e74M\\u6708d\\u65e5EEEE\",\n    \"longDate\": \"y\\u5e74M\\u6708d\\u65e5\",\n    \"medium\": \"y\\u5e74M\\u6708d\\u65e5 ah:mm:ss\",\n    \"mediumDate\": \"y\\u5e74M\\u6708d\\u65e5\",\n    \"mediumTime\": \"ah:mm:ss\",\n    \"short\": \"yy/M/d ah:mm\",\n    \"shortDate\": \"yy/M/d\",\n    \"shortTime\": \"ah:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a5\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"zh-hans-cn\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_zh-hans-hk.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u4e0a\\u5348\",\n      \"\\u4e0b\\u5348\"\n    ],\n    \"DAY\": [\n      \"\\u661f\\u671f\\u65e5\",\n      \"\\u661f\\u671f\\u4e00\",\n      \"\\u661f\\u671f\\u4e8c\",\n      \"\\u661f\\u671f\\u4e09\",\n      \"\\u661f\\u671f\\u56db\",\n      \"\\u661f\\u671f\\u4e94\",\n      \"\\u661f\\u671f\\u516d\"\n    ],\n    \"ERANAMES\": [\n      \"\\u516c\\u5143\\u524d\",\n      \"\\u516c\\u5143\"\n    ],\n    \"ERAS\": [\n      \"\\u516c\\u5143\\u524d\",\n      \"\\u516c\\u5143\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u4e00\\u6708\",\n      \"\\u4e8c\\u6708\",\n      \"\\u4e09\\u6708\",\n      \"\\u56db\\u6708\",\n      \"\\u4e94\\u6708\",\n      \"\\u516d\\u6708\",\n      \"\\u4e03\\u6708\",\n      \"\\u516b\\u6708\",\n      \"\\u4e5d\\u6708\",\n      \"\\u5341\\u6708\",\n      \"\\u5341\\u4e00\\u6708\",\n      \"\\u5341\\u4e8c\\u6708\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u5468\\u65e5\",\n      \"\\u5468\\u4e00\",\n      \"\\u5468\\u4e8c\",\n      \"\\u5468\\u4e09\",\n      \"\\u5468\\u56db\",\n      \"\\u5468\\u4e94\",\n      \"\\u5468\\u516d\"\n    ],\n    \"SHORTMONTH\": [\n      \"1\\u6708\",\n      \"2\\u6708\",\n      \"3\\u6708\",\n      \"4\\u6708\",\n      \"5\\u6708\",\n      \"6\\u6708\",\n      \"7\\u6708\",\n      \"8\\u6708\",\n      \"9\\u6708\",\n      \"10\\u6708\",\n      \"11\\u6708\",\n      \"12\\u6708\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y\\u5e74M\\u6708d\\u65e5EEEE\",\n    \"longDate\": \"y\\u5e74M\\u6708d\\u65e5\",\n    \"medium\": \"y\\u5e74M\\u6708d\\u65e5 ah:mm:ss\",\n    \"mediumDate\": \"y\\u5e74M\\u6708d\\u65e5\",\n    \"mediumTime\": \"ah:mm:ss\",\n    \"short\": \"d/M/yy ah:mm\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"ah:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"zh-hans-hk\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_zh-hans-mo.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u4e0a\\u5348\",\n      \"\\u4e0b\\u5348\"\n    ],\n    \"DAY\": [\n      \"\\u661f\\u671f\\u65e5\",\n      \"\\u661f\\u671f\\u4e00\",\n      \"\\u661f\\u671f\\u4e8c\",\n      \"\\u661f\\u671f\\u4e09\",\n      \"\\u661f\\u671f\\u56db\",\n      \"\\u661f\\u671f\\u4e94\",\n      \"\\u661f\\u671f\\u516d\"\n    ],\n    \"ERANAMES\": [\n      \"\\u516c\\u5143\\u524d\",\n      \"\\u516c\\u5143\"\n    ],\n    \"ERAS\": [\n      \"\\u516c\\u5143\\u524d\",\n      \"\\u516c\\u5143\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u4e00\\u6708\",\n      \"\\u4e8c\\u6708\",\n      \"\\u4e09\\u6708\",\n      \"\\u56db\\u6708\",\n      \"\\u4e94\\u6708\",\n      \"\\u516d\\u6708\",\n      \"\\u4e03\\u6708\",\n      \"\\u516b\\u6708\",\n      \"\\u4e5d\\u6708\",\n      \"\\u5341\\u6708\",\n      \"\\u5341\\u4e00\\u6708\",\n      \"\\u5341\\u4e8c\\u6708\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u5468\\u65e5\",\n      \"\\u5468\\u4e00\",\n      \"\\u5468\\u4e8c\",\n      \"\\u5468\\u4e09\",\n      \"\\u5468\\u56db\",\n      \"\\u5468\\u4e94\",\n      \"\\u5468\\u516d\"\n    ],\n    \"SHORTMONTH\": [\n      \"1\\u6708\",\n      \"2\\u6708\",\n      \"3\\u6708\",\n      \"4\\u6708\",\n      \"5\\u6708\",\n      \"6\\u6708\",\n      \"7\\u6708\",\n      \"8\\u6708\",\n      \"9\\u6708\",\n      \"10\\u6708\",\n      \"11\\u6708\",\n      \"12\\u6708\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y\\u5e74M\\u6708d\\u65e5EEEE\",\n    \"longDate\": \"y\\u5e74M\\u6708d\\u65e5\",\n    \"medium\": \"y\\u5e74M\\u6708d\\u65e5 ah:mm:ss\",\n    \"mediumDate\": \"y\\u5e74M\\u6708d\\u65e5\",\n    \"mediumTime\": \"ah:mm:ss\",\n    \"short\": \"d/M/yy ah:mm\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"ah:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"MOP\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"zh-hans-mo\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_zh-hans-sg.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u4e0a\\u5348\",\n      \"\\u4e0b\\u5348\"\n    ],\n    \"DAY\": [\n      \"\\u661f\\u671f\\u65e5\",\n      \"\\u661f\\u671f\\u4e00\",\n      \"\\u661f\\u671f\\u4e8c\",\n      \"\\u661f\\u671f\\u4e09\",\n      \"\\u661f\\u671f\\u56db\",\n      \"\\u661f\\u671f\\u4e94\",\n      \"\\u661f\\u671f\\u516d\"\n    ],\n    \"ERANAMES\": [\n      \"\\u516c\\u5143\\u524d\",\n      \"\\u516c\\u5143\"\n    ],\n    \"ERAS\": [\n      \"\\u516c\\u5143\\u524d\",\n      \"\\u516c\\u5143\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u4e00\\u6708\",\n      \"\\u4e8c\\u6708\",\n      \"\\u4e09\\u6708\",\n      \"\\u56db\\u6708\",\n      \"\\u4e94\\u6708\",\n      \"\\u516d\\u6708\",\n      \"\\u4e03\\u6708\",\n      \"\\u516b\\u6708\",\n      \"\\u4e5d\\u6708\",\n      \"\\u5341\\u6708\",\n      \"\\u5341\\u4e00\\u6708\",\n      \"\\u5341\\u4e8c\\u6708\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u5468\\u65e5\",\n      \"\\u5468\\u4e00\",\n      \"\\u5468\\u4e8c\",\n      \"\\u5468\\u4e09\",\n      \"\\u5468\\u56db\",\n      \"\\u5468\\u4e94\",\n      \"\\u5468\\u516d\"\n    ],\n    \"SHORTMONTH\": [\n      \"1\\u6708\",\n      \"2\\u6708\",\n      \"3\\u6708\",\n      \"4\\u6708\",\n      \"5\\u6708\",\n      \"6\\u6708\",\n      \"7\\u6708\",\n      \"8\\u6708\",\n      \"9\\u6708\",\n      \"10\\u6708\",\n      \"11\\u6708\",\n      \"12\\u6708\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y\\u5e74M\\u6708d\\u65e5EEEE\",\n    \"longDate\": \"y\\u5e74M\\u6708d\\u65e5\",\n    \"medium\": \"y\\u5e74M\\u6708d\\u65e5 ah:mm:ss\",\n    \"mediumDate\": \"y\\u5e74M\\u6708d\\u65e5\",\n    \"mediumTime\": \"ah:mm:ss\",\n    \"short\": \"dd/MM/yy ah:mm\",\n    \"shortDate\": \"dd/MM/yy\",\n    \"shortTime\": \"ah:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"zh-hans-sg\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_zh-hans.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u4e0a\\u5348\",\n      \"\\u4e0b\\u5348\"\n    ],\n    \"DAY\": [\n      \"\\u661f\\u671f\\u65e5\",\n      \"\\u661f\\u671f\\u4e00\",\n      \"\\u661f\\u671f\\u4e8c\",\n      \"\\u661f\\u671f\\u4e09\",\n      \"\\u661f\\u671f\\u56db\",\n      \"\\u661f\\u671f\\u4e94\",\n      \"\\u661f\\u671f\\u516d\"\n    ],\n    \"ERANAMES\": [\n      \"\\u516c\\u5143\\u524d\",\n      \"\\u516c\\u5143\"\n    ],\n    \"ERAS\": [\n      \"\\u516c\\u5143\\u524d\",\n      \"\\u516c\\u5143\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u4e00\\u6708\",\n      \"\\u4e8c\\u6708\",\n      \"\\u4e09\\u6708\",\n      \"\\u56db\\u6708\",\n      \"\\u4e94\\u6708\",\n      \"\\u516d\\u6708\",\n      \"\\u4e03\\u6708\",\n      \"\\u516b\\u6708\",\n      \"\\u4e5d\\u6708\",\n      \"\\u5341\\u6708\",\n      \"\\u5341\\u4e00\\u6708\",\n      \"\\u5341\\u4e8c\\u6708\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u5468\\u65e5\",\n      \"\\u5468\\u4e00\",\n      \"\\u5468\\u4e8c\",\n      \"\\u5468\\u4e09\",\n      \"\\u5468\\u56db\",\n      \"\\u5468\\u4e94\",\n      \"\\u5468\\u516d\"\n    ],\n    \"SHORTMONTH\": [\n      \"1\\u6708\",\n      \"2\\u6708\",\n      \"3\\u6708\",\n      \"4\\u6708\",\n      \"5\\u6708\",\n      \"6\\u6708\",\n      \"7\\u6708\",\n      \"8\\u6708\",\n      \"9\\u6708\",\n      \"10\\u6708\",\n      \"11\\u6708\",\n      \"12\\u6708\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y\\u5e74M\\u6708d\\u65e5EEEE\",\n    \"longDate\": \"y\\u5e74M\\u6708d\\u65e5\",\n    \"medium\": \"y\\u5e74M\\u6708d\\u65e5 ah:mm:ss\",\n    \"mediumDate\": \"y\\u5e74M\\u6708d\\u65e5\",\n    \"mediumTime\": \"ah:mm:ss\",\n    \"short\": \"yy/M/d ah:mm\",\n    \"shortDate\": \"yy/M/d\",\n    \"shortTime\": \"ah:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a5\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"zh-hans\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_zh-hant-hk.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u4e0a\\u5348\",\n      \"\\u4e0b\\u5348\"\n    ],\n    \"DAY\": [\n      \"\\u661f\\u671f\\u65e5\",\n      \"\\u661f\\u671f\\u4e00\",\n      \"\\u661f\\u671f\\u4e8c\",\n      \"\\u661f\\u671f\\u4e09\",\n      \"\\u661f\\u671f\\u56db\",\n      \"\\u661f\\u671f\\u4e94\",\n      \"\\u661f\\u671f\\u516d\"\n    ],\n    \"ERANAMES\": [\n      \"\\u516c\\u5143\\u524d\",\n      \"\\u516c\\u5143\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"1\\u6708\",\n      \"2\\u6708\",\n      \"3\\u6708\",\n      \"4\\u6708\",\n      \"5\\u6708\",\n      \"6\\u6708\",\n      \"7\\u6708\",\n      \"8\\u6708\",\n      \"9\\u6708\",\n      \"10\\u6708\",\n      \"11\\u6708\",\n      \"12\\u6708\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u9031\\u65e5\",\n      \"\\u9031\\u4e00\",\n      \"\\u9031\\u4e8c\",\n      \"\\u9031\\u4e09\",\n      \"\\u9031\\u56db\",\n      \"\\u9031\\u4e94\",\n      \"\\u9031\\u516d\"\n    ],\n    \"SHORTMONTH\": [\n      \"1\\u6708\",\n      \"2\\u6708\",\n      \"3\\u6708\",\n      \"4\\u6708\",\n      \"5\\u6708\",\n      \"6\\u6708\",\n      \"7\\u6708\",\n      \"8\\u6708\",\n      \"9\\u6708\",\n      \"10\\u6708\",\n      \"11\\u6708\",\n      \"12\\u6708\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y\\u5e74M\\u6708d\\u65e5EEEE\",\n    \"longDate\": \"y\\u5e74M\\u6708d\\u65e5\",\n    \"medium\": \"y\\u5e74M\\u6708d\\u65e5 ah:mm:ss\",\n    \"mediumDate\": \"y\\u5e74M\\u6708d\\u65e5\",\n    \"mediumTime\": \"ah:mm:ss\",\n    \"short\": \"d/M/yy ah:mm\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"ah:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"zh-hant-hk\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_zh-hant-mo.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u4e0a\\u5348\",\n      \"\\u4e0b\\u5348\"\n    ],\n    \"DAY\": [\n      \"\\u661f\\u671f\\u65e5\",\n      \"\\u661f\\u671f\\u4e00\",\n      \"\\u661f\\u671f\\u4e8c\",\n      \"\\u661f\\u671f\\u4e09\",\n      \"\\u661f\\u671f\\u56db\",\n      \"\\u661f\\u671f\\u4e94\",\n      \"\\u661f\\u671f\\u516d\"\n    ],\n    \"ERANAMES\": [\n      \"\\u516c\\u5143\\u524d\",\n      \"\\u516c\\u5143\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"1\\u6708\",\n      \"2\\u6708\",\n      \"3\\u6708\",\n      \"4\\u6708\",\n      \"5\\u6708\",\n      \"6\\u6708\",\n      \"7\\u6708\",\n      \"8\\u6708\",\n      \"9\\u6708\",\n      \"10\\u6708\",\n      \"11\\u6708\",\n      \"12\\u6708\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u9031\\u65e5\",\n      \"\\u9031\\u4e00\",\n      \"\\u9031\\u4e8c\",\n      \"\\u9031\\u4e09\",\n      \"\\u9031\\u56db\",\n      \"\\u9031\\u4e94\",\n      \"\\u9031\\u516d\"\n    ],\n    \"SHORTMONTH\": [\n      \"1\\u6708\",\n      \"2\\u6708\",\n      \"3\\u6708\",\n      \"4\\u6708\",\n      \"5\\u6708\",\n      \"6\\u6708\",\n      \"7\\u6708\",\n      \"8\\u6708\",\n      \"9\\u6708\",\n      \"10\\u6708\",\n      \"11\\u6708\",\n      \"12\\u6708\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y\\u5e74M\\u6708d\\u65e5EEEE\",\n    \"longDate\": \"y\\u5e74M\\u6708d\\u65e5\",\n    \"medium\": \"y\\u5e74M\\u6708d\\u65e5 ah:mm:ss\",\n    \"mediumDate\": \"y\\u5e74M\\u6708d\\u65e5\",\n    \"mediumTime\": \"ah:mm:ss\",\n    \"short\": \"d/M/yy ah:mm\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"ah:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"MOP\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"zh-hant-mo\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_zh-hant-tw.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u4e0a\\u5348\",\n      \"\\u4e0b\\u5348\"\n    ],\n    \"DAY\": [\n      \"\\u661f\\u671f\\u65e5\",\n      \"\\u661f\\u671f\\u4e00\",\n      \"\\u661f\\u671f\\u4e8c\",\n      \"\\u661f\\u671f\\u4e09\",\n      \"\\u661f\\u671f\\u56db\",\n      \"\\u661f\\u671f\\u4e94\",\n      \"\\u661f\\u671f\\u516d\"\n    ],\n    \"ERANAMES\": [\n      \"\\u897f\\u5143\\u524d\",\n      \"\\u897f\\u5143\"\n    ],\n    \"ERAS\": [\n      \"\\u897f\\u5143\\u524d\",\n      \"\\u897f\\u5143\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"1\\u6708\",\n      \"2\\u6708\",\n      \"3\\u6708\",\n      \"4\\u6708\",\n      \"5\\u6708\",\n      \"6\\u6708\",\n      \"7\\u6708\",\n      \"8\\u6708\",\n      \"9\\u6708\",\n      \"10\\u6708\",\n      \"11\\u6708\",\n      \"12\\u6708\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u9031\\u65e5\",\n      \"\\u9031\\u4e00\",\n      \"\\u9031\\u4e8c\",\n      \"\\u9031\\u4e09\",\n      \"\\u9031\\u56db\",\n      \"\\u9031\\u4e94\",\n      \"\\u9031\\u516d\"\n    ],\n    \"SHORTMONTH\": [\n      \"1\\u6708\",\n      \"2\\u6708\",\n      \"3\\u6708\",\n      \"4\\u6708\",\n      \"5\\u6708\",\n      \"6\\u6708\",\n      \"7\\u6708\",\n      \"8\\u6708\",\n      \"9\\u6708\",\n      \"10\\u6708\",\n      \"11\\u6708\",\n      \"12\\u6708\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y\\u5e74M\\u6708d\\u65e5 EEEE\",\n    \"longDate\": \"y\\u5e74M\\u6708d\\u65e5\",\n    \"medium\": \"y\\u5e74M\\u6708d\\u65e5 ah:mm:ss\",\n    \"mediumDate\": \"y\\u5e74M\\u6708d\\u65e5\",\n    \"mediumTime\": \"ah:mm:ss\",\n    \"short\": \"y/M/d ah:mm\",\n    \"shortDate\": \"y/M/d\",\n    \"shortTime\": \"ah:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"NT$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"zh-hant-tw\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_zh-hant.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u4e0a\\u5348\",\n      \"\\u4e0b\\u5348\"\n    ],\n    \"DAY\": [\n      \"\\u661f\\u671f\\u65e5\",\n      \"\\u661f\\u671f\\u4e00\",\n      \"\\u661f\\u671f\\u4e8c\",\n      \"\\u661f\\u671f\\u4e09\",\n      \"\\u661f\\u671f\\u56db\",\n      \"\\u661f\\u671f\\u4e94\",\n      \"\\u661f\\u671f\\u516d\"\n    ],\n    \"ERANAMES\": [\n      \"\\u897f\\u5143\\u524d\",\n      \"\\u897f\\u5143\"\n    ],\n    \"ERAS\": [\n      \"\\u897f\\u5143\\u524d\",\n      \"\\u897f\\u5143\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"1\\u6708\",\n      \"2\\u6708\",\n      \"3\\u6708\",\n      \"4\\u6708\",\n      \"5\\u6708\",\n      \"6\\u6708\",\n      \"7\\u6708\",\n      \"8\\u6708\",\n      \"9\\u6708\",\n      \"10\\u6708\",\n      \"11\\u6708\",\n      \"12\\u6708\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u9031\\u65e5\",\n      \"\\u9031\\u4e00\",\n      \"\\u9031\\u4e8c\",\n      \"\\u9031\\u4e09\",\n      \"\\u9031\\u56db\",\n      \"\\u9031\\u4e94\",\n      \"\\u9031\\u516d\"\n    ],\n    \"SHORTMONTH\": [\n      \"1\\u6708\",\n      \"2\\u6708\",\n      \"3\\u6708\",\n      \"4\\u6708\",\n      \"5\\u6708\",\n      \"6\\u6708\",\n      \"7\\u6708\",\n      \"8\\u6708\",\n      \"9\\u6708\",\n      \"10\\u6708\",\n      \"11\\u6708\",\n      \"12\\u6708\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y\\u5e74M\\u6708d\\u65e5 EEEE\",\n    \"longDate\": \"y\\u5e74M\\u6708d\\u65e5\",\n    \"medium\": \"y\\u5e74M\\u6708d\\u65e5 ah:mm:ss\",\n    \"mediumDate\": \"y\\u5e74M\\u6708d\\u65e5\",\n    \"mediumTime\": \"ah:mm:ss\",\n    \"short\": \"y/M/d ah:mm\",\n    \"shortDate\": \"y/M/d\",\n    \"shortTime\": \"ah:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"NT$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"zh-hant\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_zh-hk.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u4e0a\\u5348\",\n      \"\\u4e0b\\u5348\"\n    ],\n    \"DAY\": [\n      \"\\u661f\\u671f\\u65e5\",\n      \"\\u661f\\u671f\\u4e00\",\n      \"\\u661f\\u671f\\u4e8c\",\n      \"\\u661f\\u671f\\u4e09\",\n      \"\\u661f\\u671f\\u56db\",\n      \"\\u661f\\u671f\\u4e94\",\n      \"\\u661f\\u671f\\u516d\"\n    ],\n    \"ERANAMES\": [\n      \"\\u516c\\u5143\\u524d\",\n      \"\\u516c\\u5143\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"1\\u6708\",\n      \"2\\u6708\",\n      \"3\\u6708\",\n      \"4\\u6708\",\n      \"5\\u6708\",\n      \"6\\u6708\",\n      \"7\\u6708\",\n      \"8\\u6708\",\n      \"9\\u6708\",\n      \"10\\u6708\",\n      \"11\\u6708\",\n      \"12\\u6708\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u9031\\u65e5\",\n      \"\\u9031\\u4e00\",\n      \"\\u9031\\u4e8c\",\n      \"\\u9031\\u4e09\",\n      \"\\u9031\\u56db\",\n      \"\\u9031\\u4e94\",\n      \"\\u9031\\u516d\"\n    ],\n    \"SHORTMONTH\": [\n      \"1\\u6708\",\n      \"2\\u6708\",\n      \"3\\u6708\",\n      \"4\\u6708\",\n      \"5\\u6708\",\n      \"6\\u6708\",\n      \"7\\u6708\",\n      \"8\\u6708\",\n      \"9\\u6708\",\n      \"10\\u6708\",\n      \"11\\u6708\",\n      \"12\\u6708\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y\\u5e74M\\u6708d\\u65e5EEEE\",\n    \"longDate\": \"y\\u5e74M\\u6708d\\u65e5\",\n    \"medium\": \"y\\u5e74M\\u6708d\\u65e5 ah:mm:ss\",\n    \"mediumDate\": \"y\\u5e74M\\u6708d\\u65e5\",\n    \"mediumTime\": \"ah:mm:ss\",\n    \"short\": \"d/M/yy ah:mm\",\n    \"shortDate\": \"d/M/yy\",\n    \"shortTime\": \"ah:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"zh-hk\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_zh-tw.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u4e0a\\u5348\",\n      \"\\u4e0b\\u5348\"\n    ],\n    \"DAY\": [\n      \"\\u661f\\u671f\\u65e5\",\n      \"\\u661f\\u671f\\u4e00\",\n      \"\\u661f\\u671f\\u4e8c\",\n      \"\\u661f\\u671f\\u4e09\",\n      \"\\u661f\\u671f\\u56db\",\n      \"\\u661f\\u671f\\u4e94\",\n      \"\\u661f\\u671f\\u516d\"\n    ],\n    \"ERANAMES\": [\n      \"\\u897f\\u5143\\u524d\",\n      \"\\u897f\\u5143\"\n    ],\n    \"ERAS\": [\n      \"\\u897f\\u5143\\u524d\",\n      \"\\u897f\\u5143\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"1\\u6708\",\n      \"2\\u6708\",\n      \"3\\u6708\",\n      \"4\\u6708\",\n      \"5\\u6708\",\n      \"6\\u6708\",\n      \"7\\u6708\",\n      \"8\\u6708\",\n      \"9\\u6708\",\n      \"10\\u6708\",\n      \"11\\u6708\",\n      \"12\\u6708\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u9031\\u65e5\",\n      \"\\u9031\\u4e00\",\n      \"\\u9031\\u4e8c\",\n      \"\\u9031\\u4e09\",\n      \"\\u9031\\u56db\",\n      \"\\u9031\\u4e94\",\n      \"\\u9031\\u516d\"\n    ],\n    \"SHORTMONTH\": [\n      \"1\\u6708\",\n      \"2\\u6708\",\n      \"3\\u6708\",\n      \"4\\u6708\",\n      \"5\\u6708\",\n      \"6\\u6708\",\n      \"7\\u6708\",\n      \"8\\u6708\",\n      \"9\\u6708\",\n      \"10\\u6708\",\n      \"11\\u6708\",\n      \"12\\u6708\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y\\u5e74M\\u6708d\\u65e5 EEEE\",\n    \"longDate\": \"y\\u5e74M\\u6708d\\u65e5\",\n    \"medium\": \"y\\u5e74M\\u6708d\\u65e5 ah:mm:ss\",\n    \"mediumDate\": \"y\\u5e74M\\u6708d\\u65e5\",\n    \"mediumTime\": \"ah:mm:ss\",\n    \"short\": \"y/M/d ah:mm\",\n    \"shortDate\": \"y/M/d\",\n    \"shortTime\": \"ah:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"NT$\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"zh-tw\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_zh.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"\\u4e0a\\u5348\",\n      \"\\u4e0b\\u5348\"\n    ],\n    \"DAY\": [\n      \"\\u661f\\u671f\\u65e5\",\n      \"\\u661f\\u671f\\u4e00\",\n      \"\\u661f\\u671f\\u4e8c\",\n      \"\\u661f\\u671f\\u4e09\",\n      \"\\u661f\\u671f\\u56db\",\n      \"\\u661f\\u671f\\u4e94\",\n      \"\\u661f\\u671f\\u516d\"\n    ],\n    \"ERANAMES\": [\n      \"\\u516c\\u5143\\u524d\",\n      \"\\u516c\\u5143\"\n    ],\n    \"ERAS\": [\n      \"\\u516c\\u5143\\u524d\",\n      \"\\u516c\\u5143\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"\\u4e00\\u6708\",\n      \"\\u4e8c\\u6708\",\n      \"\\u4e09\\u6708\",\n      \"\\u56db\\u6708\",\n      \"\\u4e94\\u6708\",\n      \"\\u516d\\u6708\",\n      \"\\u4e03\\u6708\",\n      \"\\u516b\\u6708\",\n      \"\\u4e5d\\u6708\",\n      \"\\u5341\\u6708\",\n      \"\\u5341\\u4e00\\u6708\",\n      \"\\u5341\\u4e8c\\u6708\"\n    ],\n    \"SHORTDAY\": [\n      \"\\u5468\\u65e5\",\n      \"\\u5468\\u4e00\",\n      \"\\u5468\\u4e8c\",\n      \"\\u5468\\u4e09\",\n      \"\\u5468\\u56db\",\n      \"\\u5468\\u4e94\",\n      \"\\u5468\\u516d\"\n    ],\n    \"SHORTMONTH\": [\n      \"1\\u6708\",\n      \"2\\u6708\",\n      \"3\\u6708\",\n      \"4\\u6708\",\n      \"5\\u6708\",\n      \"6\\u6708\",\n      \"7\\u6708\",\n      \"8\\u6708\",\n      \"9\\u6708\",\n      \"10\\u6708\",\n      \"11\\u6708\",\n      \"12\\u6708\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"y\\u5e74M\\u6708d\\u65e5EEEE\",\n    \"longDate\": \"y\\u5e74M\\u6708d\\u65e5\",\n    \"medium\": \"y\\u5e74M\\u6708d\\u65e5 ah:mm:ss\",\n    \"mediumDate\": \"y\\u5e74M\\u6708d\\u65e5\",\n    \"mediumTime\": \"ah:mm:ss\",\n    \"short\": \"yy/M/d ah:mm\",\n    \"shortDate\": \"yy/M/d\",\n    \"shortTime\": \"ah:mm\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"\\u00a5\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\\u00a0\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\\u00a0\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"zh\",\n  \"pluralCat\": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_zu-za.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Ekuseni\",\n      \"Ntambama\"\n    ],\n    \"DAY\": [\n      \"Sonto\",\n      \"Msombuluko\",\n      \"Lwesibili\",\n      \"Lwesithathu\",\n      \"Lwesine\",\n      \"Lwesihlanu\",\n      \"Mgqibelo\"\n    ],\n    \"ERANAMES\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Januwari\",\n      \"Februwari\",\n      \"Mashi\",\n      \"Apreli\",\n      \"Meyi\",\n      \"Juni\",\n      \"Julayi\",\n      \"Agasti\",\n      \"Septhemba\",\n      \"Okthoba\",\n      \"Novemba\",\n      \"Disemba\"\n    ],\n    \"SHORTDAY\": [\n      \"Son\",\n      \"Mso\",\n      \"Bil\",\n      \"Tha\",\n      \"Sin\",\n      \"Hla\",\n      \"Mgq\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mas\",\n      \"Apr\",\n      \"Mey\",\n      \"Jun\",\n      \"Jul\",\n      \"Aga\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Dis\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"MMMM d, y\",\n    \"medium\": \"MMM d, y h:mm:ss a\",\n    \"mediumDate\": \"MMM d, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"M/d/yy h:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"R\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"zu-za\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/i18n/angular-locale_zu.js",
    "content": "'use strict';\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\n$provide.value(\"$locale\", {\n  \"DATETIME_FORMATS\": {\n    \"AMPMS\": [\n      \"Ekuseni\",\n      \"Ntambama\"\n    ],\n    \"DAY\": [\n      \"Sonto\",\n      \"Msombuluko\",\n      \"Lwesibili\",\n      \"Lwesithathu\",\n      \"Lwesine\",\n      \"Lwesihlanu\",\n      \"Mgqibelo\"\n    ],\n    \"ERANAMES\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"ERAS\": [\n      \"BC\",\n      \"AD\"\n    ],\n    \"FIRSTDAYOFWEEK\": 6,\n    \"MONTH\": [\n      \"Januwari\",\n      \"Februwari\",\n      \"Mashi\",\n      \"Apreli\",\n      \"Meyi\",\n      \"Juni\",\n      \"Julayi\",\n      \"Agasti\",\n      \"Septhemba\",\n      \"Okthoba\",\n      \"Novemba\",\n      \"Disemba\"\n    ],\n    \"SHORTDAY\": [\n      \"Son\",\n      \"Mso\",\n      \"Bil\",\n      \"Tha\",\n      \"Sin\",\n      \"Hla\",\n      \"Mgq\"\n    ],\n    \"SHORTMONTH\": [\n      \"Jan\",\n      \"Feb\",\n      \"Mas\",\n      \"Apr\",\n      \"Mey\",\n      \"Jun\",\n      \"Jul\",\n      \"Aga\",\n      \"Sep\",\n      \"Okt\",\n      \"Nov\",\n      \"Dis\"\n    ],\n    \"WEEKENDRANGE\": [\n      5,\n      6\n    ],\n    \"fullDate\": \"EEEE, MMMM d, y\",\n    \"longDate\": \"MMMM d, y\",\n    \"medium\": \"MMM d, y h:mm:ss a\",\n    \"mediumDate\": \"MMM d, y\",\n    \"mediumTime\": \"h:mm:ss a\",\n    \"short\": \"M/d/yy h:mm a\",\n    \"shortDate\": \"M/d/yy\",\n    \"shortTime\": \"h:mm a\"\n  },\n  \"NUMBER_FORMATS\": {\n    \"CURRENCY_SYM\": \"R\",\n    \"DECIMAL_SEP\": \".\",\n    \"GROUP_SEP\": \",\",\n    \"PATTERNS\": [\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 3,\n        \"minFrac\": 0,\n        \"minInt\": 1,\n        \"negPre\": \"-\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\",\n        \"posSuf\": \"\"\n      },\n      {\n        \"gSize\": 3,\n        \"lgSize\": 3,\n        \"maxFrac\": 2,\n        \"minFrac\": 2,\n        \"minInt\": 1,\n        \"negPre\": \"-\\u00a4\",\n        \"negSuf\": \"\",\n        \"posPre\": \"\\u00a4\",\n        \"posSuf\": \"\"\n      }\n    ]\n  },\n  \"id\": \"zu\",\n  \"pluralCat\": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || n == 1) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/jquery-1.10.2.intellisense.js",
    "content": "﻿/* NUGET: BEGIN LICENSE TEXT\n *\n * Microsoft grants you the right to use these script files for the sole\n * purpose of either: (i) interacting through your browser with the Microsoft\n * website or online service, subject to the applicable licensing or use\n * terms; or (ii) using the files as included with a Microsoft product subject\n * to that product's license terms. Microsoft reserves all other rights to the\n * files not expressly granted by Microsoft, whether by implication, estoppel\n * or otherwise. Insofar as a script file is dual licensed under GPL,\n * Microsoft neither took the code under GPL nor distributes it thereunder but\n * under the terms set out in this paragraph. All notices and licenses\n * below are for informational purposes only.\n *\n * NUGET: END LICENSE TEXT */\nintellisense.annotate(jQuery, {\n  'ajax': function() {\n    /// <signature>\n    ///   <summary>Perform an asynchronous HTTP (Ajax) request.</summary>\n    ///   <param name=\"url\" type=\"String\">A string containing the URL to which the request is sent.</param>\n    ///   <param name=\"settings\" type=\"PlainObject\">A set of key/value pairs that configure the Ajax request. All settings are optional. A default can be set for any option with $.ajaxSetup(). See jQuery.ajax( settings ) below for a complete list of all settings.</param>\n    ///   <returns type=\"jqXHR\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Perform an asynchronous HTTP (Ajax) request.</summary>\n    ///   <param name=\"settings\" type=\"PlainObject\">A set of key/value pairs that configure the Ajax request. All settings are optional. A default can be set for any option with $.ajaxSetup().</param>\n    ///   <returns type=\"jqXHR\" />\n    /// </signature>\n  },\n  'ajaxPrefilter': function() {\n    /// <signature>\n    ///   <summary>Handle custom Ajax options or modify existing options before each request is sent and before they are processed by $.ajax().</summary>\n    ///   <param name=\"dataTypes\" type=\"String\">An optional string containing one or more space-separated dataTypes</param>\n    ///   <param name=\"handler(options, originalOptions, jqXHR)\" type=\"Function\">A handler to set default values for future Ajax requests.</param>\n    /// </signature>\n  },\n  'ajaxSetup': function() {\n    /// <signature>\n    ///   <summary>Set default values for future Ajax requests.</summary>\n    ///   <param name=\"options\" type=\"PlainObject\">A set of key/value pairs that configure the default Ajax request. All options are optional.</param>\n    /// </signature>\n  },\n  'ajaxTransport': function() {\n    /// <signature>\n    ///   <summary>Creates an object that handles the actual transmission of Ajax data.</summary>\n    ///   <param name=\"dataType\" type=\"String\">A string identifying the data type to use</param>\n    ///   <param name=\"handler(options, originalOptions, jqXHR)\" type=\"Function\">A handler to return the new transport object to use with the data type provided in the first argument.</param>\n    /// </signature>\n  },\n  'boxModel': function() {\n    /// <summary>Deprecated in jQuery 1.3 (see jQuery.support). States if the current page, in the user's browser, is being rendered using the W3C CSS Box Model.</summary>\n    /// <returns type=\"Boolean\" />\n  },\n  'browser': function() {\n    /// <summary>Contains flags for the useragent, read from navigator.userAgent. We recommend against using this property; please try to use feature detection instead (see jQuery.support). jQuery.browser may be moved to a plugin in a future release of jQuery.</summary>\n    /// <returns type=\"PlainObject\" />\n  },\n  'browser.version': function() {\n    /// <summary>The version number of the rendering engine for the user's browser.</summary>\n    /// <returns type=\"String\" />\n  },\n  'Callbacks': function() {\n    /// <signature>\n    ///   <summary>A multi-purpose callbacks list object that provides a powerful way to manage callback lists.</summary>\n    ///   <param name=\"flags\" type=\"String\">An optional list of space-separated flags that change how the callback list behaves.</param>\n    ///   <returns type=\"Callbacks\" />\n    /// </signature>\n  },\n  'contains': function() {\n    /// <signature>\n    ///   <summary>Check to see if a DOM element is a descendant of another DOM element.</summary>\n    ///   <param name=\"container\" type=\"Element\">The DOM element that may contain the other element.</param>\n    ///   <param name=\"contained\" type=\"Element\">The DOM element that may be contained by (a descendant of) the other element.</param>\n    ///   <returns type=\"Boolean\" />\n    /// </signature>\n  },\n  'cssHooks': function() {\n    /// <summary>Hook directly into jQuery to override how particular CSS properties are retrieved or set, normalize CSS property naming, or create custom properties.</summary>\n    /// <returns type=\"Object\" />\n  },\n  'data': function() {\n    /// <signature>\n    ///   <summary>Returns value at named data store for the element, as set by jQuery.data(element, name, value), or the full data store for the element.</summary>\n    ///   <param name=\"element\" type=\"Element\">The DOM element to query for the data.</param>\n    ///   <param name=\"key\" type=\"String\">Name of the data stored.</param>\n    ///   <returns type=\"Object\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Returns value at named data store for the element, as set by jQuery.data(element, name, value), or the full data store for the element.</summary>\n    ///   <param name=\"element\" type=\"Element\">The DOM element to query for the data.</param>\n    ///   <returns type=\"Object\" />\n    /// </signature>\n  },\n  'Deferred': function() {\n    /// <signature>\n    ///   <summary>A constructor function that returns a chainable utility object with methods to register multiple callbacks into callback queues, invoke callback queues, and relay the success or failure state of any synchronous or asynchronous function.</summary>\n    ///   <param name=\"beforeStart\" type=\"Function\">A function that is called just before the constructor returns.</param>\n    ///   <returns type=\"Deferred\" />\n    /// </signature>\n  },\n  'dequeue': function() {\n    /// <signature>\n    ///   <summary>Execute the next function on the queue for the matched element.</summary>\n    ///   <param name=\"element\" type=\"Element\">A DOM element from which to remove and execute a queued function.</param>\n    ///   <param name=\"queueName\" type=\"String\">A string containing the name of the queue. Defaults to fx, the standard effects queue.</param>\n    /// </signature>\n  },\n  'each': function() {\n    /// <signature>\n    ///   <summary>A generic iterator function, which can be used to seamlessly iterate over both objects and arrays. Arrays and array-like objects with a length property (such as a function's arguments object) are iterated by numeric index, from 0 to length-1. Other objects are iterated via their named properties.</summary>\n    ///   <param name=\"collection\" type=\"Object\">The object or array to iterate over.</param>\n    ///   <param name=\"callback(indexInArray, valueOfElement)\" type=\"Function\">The function that will be executed on every object.</param>\n    ///   <returns type=\"Object\" />\n    /// </signature>\n  },\n  'error': function() {\n    /// <signature>\n    ///   <summary>Takes a string and throws an exception containing it.</summary>\n    ///   <param name=\"message\" type=\"String\">The message to send out.</param>\n    /// </signature>\n  },\n  'extend': function() {\n    /// <signature>\n    ///   <summary>Merge the contents of two or more objects together into the first object.</summary>\n    ///   <param name=\"target\" type=\"Object\">An object that will receive the new properties if additional objects are passed in or that will extend the jQuery namespace if it is the sole argument.</param>\n    ///   <param name=\"object1\" type=\"Object\">An object containing additional properties to merge in.</param>\n    ///   <param name=\"objectN\" type=\"Object\">Additional objects containing properties to merge in.</param>\n    ///   <returns type=\"Object\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Merge the contents of two or more objects together into the first object.</summary>\n    ///   <param name=\"deep\" type=\"Boolean\">If true, the merge becomes recursive (aka. deep copy).</param>\n    ///   <param name=\"target\" type=\"Object\">The object to extend. It will receive the new properties.</param>\n    ///   <param name=\"object1\" type=\"Object\">An object containing additional properties to merge in.</param>\n    ///   <param name=\"objectN\" type=\"Object\">Additional objects containing properties to merge in.</param>\n    ///   <returns type=\"Object\" />\n    /// </signature>\n  },\n  'get': function() {\n    /// <signature>\n    ///   <summary>Load data from the server using a HTTP GET request.</summary>\n    ///   <param name=\"url\" type=\"String\">A string containing the URL to which the request is sent.</param>\n    ///   <param name=\"data\" type=\"String\">A plain object or string that is sent to the server with the request.</param>\n    ///   <param name=\"success(data, textStatus, jqXHR)\" type=\"Function\">A callback function that is executed if the request succeeds.</param>\n    ///   <param name=\"dataType\" type=\"String\">The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html).</param>\n    ///   <returns type=\"jqXHR\" />\n    /// </signature>\n  },\n  'getJSON': function() {\n    /// <signature>\n    ///   <summary>Load JSON-encoded data from the server using a GET HTTP request.</summary>\n    ///   <param name=\"url\" type=\"String\">A string containing the URL to which the request is sent.</param>\n    ///   <param name=\"data\" type=\"PlainObject\">A plain object or string that is sent to the server with the request.</param>\n    ///   <param name=\"success(data, textStatus, jqXHR)\" type=\"Function\">A callback function that is executed if the request succeeds.</param>\n    ///   <returns type=\"jqXHR\" />\n    /// </signature>\n  },\n  'getScript': function() {\n    /// <signature>\n    ///   <summary>Load a JavaScript file from the server using a GET HTTP request, then execute it.</summary>\n    ///   <param name=\"url\" type=\"String\">A string containing the URL to which the request is sent.</param>\n    ///   <param name=\"success(script, textStatus, jqXHR)\" type=\"Function\">A callback function that is executed if the request succeeds.</param>\n    ///   <returns type=\"jqXHR\" />\n    /// </signature>\n  },\n  'globalEval': function() {\n    /// <signature>\n    ///   <summary>Execute some JavaScript code globally.</summary>\n    ///   <param name=\"code\" type=\"String\">The JavaScript code to execute.</param>\n    /// </signature>\n  },\n  'grep': function() {\n    /// <signature>\n    ///   <summary>Finds the elements of an array which satisfy a filter function. The original array is not affected.</summary>\n    ///   <param name=\"array\" type=\"Array\">The array to search through.</param>\n    ///   <param name=\"function(elementOfArray, indexInArray)\" type=\"Function\">The function to process each item against.  The first argument to the function is the item, and the second argument is the index.  The function should return a Boolean value.  this will be the global window object.</param>\n    ///   <param name=\"invert\" type=\"Boolean\">If \"invert\" is false, or not provided, then the function returns an array consisting of all elements for which \"callback\" returns true.  If \"invert\" is true, then the function returns an array consisting of all elements for which \"callback\" returns false.</param>\n    ///   <returns type=\"Array\" />\n    /// </signature>\n  },\n  'hasData': function() {\n    /// <signature>\n    ///   <summary>Determine whether an element has any jQuery data associated with it.</summary>\n    ///   <param name=\"element\" type=\"Element\">A DOM element to be checked for data.</param>\n    ///   <returns type=\"Boolean\" />\n    /// </signature>\n  },\n  'holdReady': function() {\n    /// <signature>\n    ///   <summary>Holds or releases the execution of jQuery's ready event.</summary>\n    ///   <param name=\"hold\" type=\"Boolean\">Indicates whether the ready hold is being requested or released</param>\n    /// </signature>\n  },\n  'inArray': function() {\n    /// <signature>\n    ///   <summary>Search for a specified value within an array and return its index (or -1 if not found).</summary>\n    ///   <param name=\"value\" type=\"Anything\">The value to search for.</param>\n    ///   <param name=\"array\" type=\"Array\">An array through which to search.</param>\n    ///   <param name=\"fromIndex\" type=\"Number\">The index of the array at which to begin the search. The default is 0, which will search the whole array.</param>\n    ///   <returns type=\"Number\" />\n    /// </signature>\n  },\n  'isArray': function() {\n    /// <signature>\n    ///   <summary>Determine whether the argument is an array.</summary>\n    ///   <param name=\"obj\" type=\"Object\">Object to test whether or not it is an array.</param>\n    ///   <returns type=\"boolean\" />\n    /// </signature>\n  },\n  'isEmptyObject': function() {\n    /// <signature>\n    ///   <summary>Check to see if an object is empty (contains no enumerable properties).</summary>\n    ///   <param name=\"object\" type=\"Object\">The object that will be checked to see if it's empty.</param>\n    ///   <returns type=\"Boolean\" />\n    /// </signature>\n  },\n  'isFunction': function() {\n    /// <signature>\n    ///   <summary>Determine if the argument passed is a Javascript function object.</summary>\n    ///   <param name=\"obj\" type=\"PlainObject\">Object to test whether or not it is a function.</param>\n    ///   <returns type=\"boolean\" />\n    /// </signature>\n  },\n  'isNumeric': function() {\n    /// <signature>\n    ///   <summary>Determines whether its argument is a number.</summary>\n    ///   <param name=\"value\" type=\"PlainObject\">The value to be tested.</param>\n    ///   <returns type=\"Boolean\" />\n    /// </signature>\n  },\n  'isPlainObject': function() {\n    /// <signature>\n    ///   <summary>Check to see if an object is a plain object (created using \"{}\" or \"new Object\").</summary>\n    ///   <param name=\"object\" type=\"PlainObject\">The object that will be checked to see if it's a plain object.</param>\n    ///   <returns type=\"Boolean\" />\n    /// </signature>\n  },\n  'isWindow': function() {\n    /// <signature>\n    ///   <summary>Determine whether the argument is a window.</summary>\n    ///   <param name=\"obj\" type=\"PlainObject\">Object to test whether or not it is a window.</param>\n    ///   <returns type=\"boolean\" />\n    /// </signature>\n  },\n  'isXMLDoc': function() {\n    /// <signature>\n    ///   <summary>Check to see if a DOM node is within an XML document (or is an XML document).</summary>\n    ///   <param name=\"node\" type=\"Element\">The DOM node that will be checked to see if it's in an XML document.</param>\n    ///   <returns type=\"Boolean\" />\n    /// </signature>\n  },\n  'makeArray': function() {\n    /// <signature>\n    ///   <summary>Convert an array-like object into a true JavaScript array.</summary>\n    ///   <param name=\"obj\" type=\"PlainObject\">Any object to turn into a native Array.</param>\n    ///   <returns type=\"Array\" />\n    /// </signature>\n  },\n  'map': function() {\n    /// <signature>\n    ///   <summary>Translate all items in an array or object to new array of items.</summary>\n    ///   <param name=\"array\" type=\"Array\">The Array to translate.</param>\n    ///   <param name=\"callback(elementOfArray, indexInArray)\" type=\"Function\">The function to process each item against.  The first argument to the function is the array item, the second argument is the index in array The function can return any value. Within the function, this refers to the global (window) object.</param>\n    ///   <returns type=\"Array\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Translate all items in an array or object to new array of items.</summary>\n    ///   <param name=\"arrayOrObject\" type=\"Object\">The Array or Object to translate.</param>\n    ///   <param name=\"callback( value, indexOrKey )\" type=\"Function\">The function to process each item against.  The first argument to the function is the value; the second argument is the index or key of the array or object property. The function can return any value to add to the array. A returned array will be flattened into the resulting array. Within the function, this refers to the global (window) object.</param>\n    ///   <returns type=\"Array\" />\n    /// </signature>\n  },\n  'merge': function() {\n    /// <signature>\n    ///   <summary>Merge the contents of two arrays together into the first array.</summary>\n    ///   <param name=\"first\" type=\"Array\">The first array to merge, the elements of second added.</param>\n    ///   <param name=\"second\" type=\"Array\">The second array to merge into the first, unaltered.</param>\n    ///   <returns type=\"Array\" />\n    /// </signature>\n  },\n  'noConflict': function() {\n    /// <signature>\n    ///   <summary>Relinquish jQuery's control of the $ variable.</summary>\n    ///   <param name=\"removeAll\" type=\"Boolean\">A Boolean indicating whether to remove all jQuery variables from the global scope (including jQuery itself).</param>\n    ///   <returns type=\"Object\" />\n    /// </signature>\n  },\n  'noop': function() {\n    /// <summary>An empty function.</summary>\n  },\n  'now': function() {\n    /// <summary>Return a number representing the current time.</summary>\n    /// <returns type=\"Number\" />\n  },\n  'param': function() {\n    /// <signature>\n    ///   <summary>Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request.</summary>\n    ///   <param name=\"obj\" type=\"Object\">An array or object to serialize.</param>\n    ///   <returns type=\"String\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request.</summary>\n    ///   <param name=\"obj\" type=\"Object\">An array or object to serialize.</param>\n    ///   <param name=\"traditional\" type=\"Boolean\">A Boolean indicating whether to perform a traditional \"shallow\" serialization.</param>\n    ///   <returns type=\"String\" />\n    /// </signature>\n  },\n  'parseHTML': function() {\n    /// <signature>\n    ///   <summary>Parses a string into an array of DOM nodes.</summary>\n    ///   <param name=\"data\" type=\"String\">HTML string to be parsed</param>\n    ///   <param name=\"context\" type=\"Element\">DOM element to serve as the context in which the HTML fragment will be created</param>\n    ///   <param name=\"keepScripts\" type=\"Boolean\">A Boolean indicating whether to include scripts passed in the HTML string</param>\n    ///   <returns type=\"Array\" />\n    /// </signature>\n  },\n  'parseJSON': function() {\n    /// <signature>\n    ///   <summary>Takes a well-formed JSON string and returns the resulting JavaScript object.</summary>\n    ///   <param name=\"json\" type=\"String\">The JSON string to parse.</param>\n    ///   <returns type=\"Object\" />\n    /// </signature>\n  },\n  'parseXML': function() {\n    /// <signature>\n    ///   <summary>Parses a string into an XML document.</summary>\n    ///   <param name=\"data\" type=\"String\">a well-formed XML string to be parsed</param>\n    ///   <returns type=\"XMLDocument\" />\n    /// </signature>\n  },\n  'post': function() {\n    /// <signature>\n    ///   <summary>Load data from the server using a HTTP POST request.</summary>\n    ///   <param name=\"url\" type=\"String\">A string containing the URL to which the request is sent.</param>\n    ///   <param name=\"data\" type=\"String\">A plain object or string that is sent to the server with the request.</param>\n    ///   <param name=\"success(data, textStatus, jqXHR)\" type=\"Function\">A callback function that is executed if the request succeeds.</param>\n    ///   <param name=\"dataType\" type=\"String\">The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html).</param>\n    ///   <returns type=\"jqXHR\" />\n    /// </signature>\n  },\n  'proxy': function() {\n    /// <signature>\n    ///   <summary>Takes a function and returns a new one that will always have a particular context.</summary>\n    ///   <param name=\"function\" type=\"Function\">The function whose context will be changed.</param>\n    ///   <param name=\"context\" type=\"PlainObject\">The object to which the context (this) of the function should be set.</param>\n    ///   <returns type=\"Function\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Takes a function and returns a new one that will always have a particular context.</summary>\n    ///   <param name=\"context\" type=\"PlainObject\">The object to which the context of the function should be set.</param>\n    ///   <param name=\"name\" type=\"String\">The name of the function whose context will be changed (should be a property of the context object).</param>\n    ///   <returns type=\"Function\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Takes a function and returns a new one that will always have a particular context.</summary>\n    ///   <param name=\"function\" type=\"Function\">The function whose context will be changed.</param>\n    ///   <param name=\"context\" type=\"PlainObject\">The object to which the context (this) of the function should be set.</param>\n    ///   <param name=\"additionalArguments\" type=\"Anything\">Any number of arguments to be passed to the function referenced in the function argument.</param>\n    ///   <returns type=\"Function\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Takes a function and returns a new one that will always have a particular context.</summary>\n    ///   <param name=\"context\" type=\"PlainObject\">The object to which the context of the function should be set.</param>\n    ///   <param name=\"name\" type=\"String\">The name of the function whose context will be changed (should be a property of the context object).</param>\n    ///   <param name=\"additionalArguments\" type=\"Anything\">Any number of arguments to be passed to the function named in the name argument.</param>\n    ///   <returns type=\"Function\" />\n    /// </signature>\n  },\n  'queue': function() {\n    /// <signature>\n    ///   <summary>Manipulate the queue of functions to be executed on the matched element.</summary>\n    ///   <param name=\"element\" type=\"Element\">A DOM element where the array of queued functions is attached.</param>\n    ///   <param name=\"queueName\" type=\"String\">A string containing the name of the queue. Defaults to fx, the standard effects queue.</param>\n    ///   <param name=\"newQueue\" type=\"Array\">An array of functions to replace the current queue contents.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Manipulate the queue of functions to be executed on the matched element.</summary>\n    ///   <param name=\"element\" type=\"Element\">A DOM element on which to add a queued function.</param>\n    ///   <param name=\"queueName\" type=\"String\">A string containing the name of the queue. Defaults to fx, the standard effects queue.</param>\n    ///   <param name=\"callback()\" type=\"Function\">The new function to add to the queue.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'removeData': function() {\n    /// <signature>\n    ///   <summary>Remove a previously-stored piece of data.</summary>\n    ///   <param name=\"element\" type=\"Element\">A DOM element from which to remove data.</param>\n    ///   <param name=\"name\" type=\"String\">A string naming the piece of data to remove.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'sub': function() {\n    /// <summary>Creates a new copy of jQuery whose properties and methods can be modified without affecting the original jQuery object.</summary>\n    /// <returns type=\"jQuery\" />\n  },\n  'support': function() {\n    /// <summary>A collection of properties that represent the presence of different browser features or bugs. Primarily intended for jQuery's internal use; specific properties may be removed when they are no longer needed internally to improve page startup performance.</summary>\n    /// <returns type=\"Object\" />\n  },\n  'trim': function() {\n    /// <signature>\n    ///   <summary>Remove the whitespace from the beginning and end of a string.</summary>\n    ///   <param name=\"str\" type=\"String\">The string to trim.</param>\n    ///   <returns type=\"String\" />\n    /// </signature>\n  },\n  'type': function() {\n    /// <signature>\n    ///   <summary>Determine the internal JavaScript [[Class]] of an object.</summary>\n    ///   <param name=\"obj\" type=\"PlainObject\">Object to get the internal JavaScript [[Class]] of.</param>\n    ///   <returns type=\"String\" />\n    /// </signature>\n  },\n  'unique': function() {\n    /// <signature>\n    ///   <summary>Sorts an array of DOM elements, in place, with the duplicates removed. Note that this only works on arrays of DOM elements, not strings or numbers.</summary>\n    ///   <param name=\"array\" type=\"Array\">The Array of DOM elements.</param>\n    ///   <returns type=\"Array\" />\n    /// </signature>\n  },\n  'when': function() {\n    /// <signature>\n    ///   <summary>Provides a way to execute callback functions based on one or more objects, usually Deferred objects that represent asynchronous events.</summary>\n    ///   <param name=\"deferreds\" type=\"Deferred\">One or more Deferred objects, or plain JavaScript objects.</param>\n    ///   <returns type=\"Promise\" />\n    /// </signature>\n  },\n});\n\nvar _1228819969 = jQuery.Callbacks;\njQuery.Callbacks = function(flags) {\nvar _object = _1228819969(flags);\nintellisense.annotate(_object, {\n  'add': function() {\n    /// <signature>\n    ///   <summary>Add a callback or a collection of callbacks to a callback list.</summary>\n    ///   <param name=\"callbacks\" type=\"Array\">A function, or array of functions, that are to be added to the callback list.</param>\n    ///   <returns type=\"Callbacks\" />\n    /// </signature>\n  },\n  'disable': function() {\n    /// <summary>Disable a callback list from doing anything more.</summary>\n    /// <returns type=\"Callbacks\" />\n  },\n  'disabled': function() {\n    /// <summary>Determine if the callbacks list has been disabled.</summary>\n    /// <returns type=\"Boolean\" />\n  },\n  'empty': function() {\n    /// <summary>Remove all of the callbacks from a list.</summary>\n    /// <returns type=\"Callbacks\" />\n  },\n  'fire': function() {\n    /// <signature>\n    ///   <summary>Call all of the callbacks with the given arguments</summary>\n    ///   <param name=\"arguments\" type=\"Anything\">The argument or list of arguments to pass back to the callback list.</param>\n    ///   <returns type=\"Callbacks\" />\n    /// </signature>\n  },\n  'fired': function() {\n    /// <summary>Determine if the callbacks have already been called at least once.</summary>\n    /// <returns type=\"Boolean\" />\n  },\n  'fireWith': function() {\n    /// <signature>\n    ///   <summary>Call all callbacks in a list with the given context and arguments.</summary>\n    ///   <param name=\"context\" type=\"\">A reference to the context in which the callbacks in the list should be fired.</param>\n    ///   <param name=\"args\" type=\"\">An argument, or array of arguments, to pass to the callbacks in the list.</param>\n    ///   <returns type=\"Callbacks\" />\n    /// </signature>\n  },\n  'has': function() {\n    /// <signature>\n    ///   <summary>Determine whether a supplied callback is in a list</summary>\n    ///   <param name=\"callback\" type=\"Function\">The callback to search for.</param>\n    ///   <returns type=\"Boolean\" />\n    /// </signature>\n  },\n  'lock': function() {\n    /// <summary>Lock a callback list in its current state.</summary>\n    /// <returns type=\"Callbacks\" />\n  },\n  'locked': function() {\n    /// <summary>Determine if the callbacks list has been locked.</summary>\n    /// <returns type=\"Boolean\" />\n  },\n  'remove': function() {\n    /// <signature>\n    ///   <summary>Remove a callback or a collection of callbacks from a callback list.</summary>\n    ///   <param name=\"callbacks\" type=\"Array\">A function, or array of functions, that are to be removed from the callback list.</param>\n    ///   <returns type=\"Callbacks\" />\n    /// </signature>\n  },\n});\n\nreturn _object;\n};\nintellisense.redirectDefinition(jQuery.Callbacks, _1228819969);\n\nvar _731531622 = jQuery.Deferred;\njQuery.Deferred = function(func) {\nvar _object = _731531622(func);\nintellisense.annotate(_object, {\n  'always': function() {\n    /// <signature>\n    ///   <summary>Add handlers to be called when the Deferred object is either resolved or rejected.</summary>\n    ///   <param name=\"alwaysCallbacks\" type=\"Function\">A function, or array of functions, that is called when the Deferred is resolved or rejected.</param>\n    ///   <param name=\"alwaysCallbacks\" type=\"Function\">Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected.</param>\n    ///   <returns type=\"Deferred\" />\n    /// </signature>\n  },\n  'done': function() {\n    /// <signature>\n    ///   <summary>Add handlers to be called when the Deferred object is resolved.</summary>\n    ///   <param name=\"doneCallbacks\" type=\"Function\">A function, or array of functions, that are called when the Deferred is resolved.</param>\n    ///   <param name=\"doneCallbacks\" type=\"Function\">Optional additional functions, or arrays of functions, that are called when the Deferred is resolved.</param>\n    ///   <returns type=\"Deferred\" />\n    /// </signature>\n  },\n  'fail': function() {\n    /// <signature>\n    ///   <summary>Add handlers to be called when the Deferred object is rejected.</summary>\n    ///   <param name=\"failCallbacks\" type=\"Function\">A function, or array of functions, that are called when the Deferred is rejected.</param>\n    ///   <param name=\"failCallbacks\" type=\"Function\">Optional additional functions, or arrays of functions, that are called when the Deferred is rejected.</param>\n    ///   <returns type=\"Deferred\" />\n    /// </signature>\n  },\n  'isRejected': function() {\n    /// <summary>Determine whether a Deferred object has been rejected.</summary>\n    /// <returns type=\"Boolean\" />\n  },\n  'isResolved': function() {\n    /// <summary>Determine whether a Deferred object has been resolved.</summary>\n    /// <returns type=\"Boolean\" />\n  },\n  'notify': function() {\n    /// <signature>\n    ///   <summary>Call the progressCallbacks on a Deferred object with the given args.</summary>\n    ///   <param name=\"args\" type=\"Object\">Optional arguments that are passed to the progressCallbacks.</param>\n    ///   <returns type=\"Deferred\" />\n    /// </signature>\n  },\n  'notifyWith': function() {\n    /// <signature>\n    ///   <summary>Call the progressCallbacks on a Deferred object with the given context and args.</summary>\n    ///   <param name=\"context\" type=\"Object\">Context passed to the progressCallbacks as the this object.</param>\n    ///   <param name=\"args\" type=\"Object\">Optional arguments that are passed to the progressCallbacks.</param>\n    ///   <returns type=\"Deferred\" />\n    /// </signature>\n  },\n  'pipe': function() {\n    /// <signature>\n    ///   <summary>Utility method to filter and/or chain Deferreds.</summary>\n    ///   <param name=\"doneFilter\" type=\"Function\">An optional function that is called when the Deferred is resolved.</param>\n    ///   <param name=\"failFilter\" type=\"Function\">An optional function that is called when the Deferred is rejected.</param>\n    ///   <returns type=\"Promise\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Utility method to filter and/or chain Deferreds.</summary>\n    ///   <param name=\"doneFilter\" type=\"Function\">An optional function that is called when the Deferred is resolved.</param>\n    ///   <param name=\"failFilter\" type=\"Function\">An optional function that is called when the Deferred is rejected.</param>\n    ///   <param name=\"progressFilter\" type=\"Function\">An optional function that is called when progress notifications are sent to the Deferred.</param>\n    ///   <returns type=\"Promise\" />\n    /// </signature>\n  },\n  'progress': function() {\n    /// <signature>\n    ///   <summary>Add handlers to be called when the Deferred object generates progress notifications.</summary>\n    ///   <param name=\"progressCallbacks\" type=\"Function\">A function, or array of functions, that is called when the Deferred generates progress notifications.</param>\n    ///   <returns type=\"Deferred\" />\n    /// </signature>\n  },\n  'promise': function() {\n    /// <signature>\n    ///   <summary>Return a Deferred's Promise object.</summary>\n    ///   <param name=\"target\" type=\"Object\">Object onto which the promise methods have to be attached</param>\n    ///   <returns type=\"Promise\" />\n    /// </signature>\n  },\n  'reject': function() {\n    /// <signature>\n    ///   <summary>Reject a Deferred object and call any failCallbacks with the given args.</summary>\n    ///   <param name=\"args\" type=\"Object\">Optional arguments that are passed to the failCallbacks.</param>\n    ///   <returns type=\"Deferred\" />\n    /// </signature>\n  },\n  'rejectWith': function() {\n    /// <signature>\n    ///   <summary>Reject a Deferred object and call any failCallbacks with the given context and args.</summary>\n    ///   <param name=\"context\" type=\"Object\">Context passed to the failCallbacks as the this object.</param>\n    ///   <param name=\"args\" type=\"Array\">An optional array of arguments that are passed to the failCallbacks.</param>\n    ///   <returns type=\"Deferred\" />\n    /// </signature>\n  },\n  'resolve': function() {\n    /// <signature>\n    ///   <summary>Resolve a Deferred object and call any doneCallbacks with the given args.</summary>\n    ///   <param name=\"args\" type=\"Object\">Optional arguments that are passed to the doneCallbacks.</param>\n    ///   <returns type=\"Deferred\" />\n    /// </signature>\n  },\n  'resolveWith': function() {\n    /// <signature>\n    ///   <summary>Resolve a Deferred object and call any doneCallbacks with the given context and args.</summary>\n    ///   <param name=\"context\" type=\"Object\">Context passed to the doneCallbacks as the this object.</param>\n    ///   <param name=\"args\" type=\"Array\">An optional array of arguments that are passed to the doneCallbacks.</param>\n    ///   <returns type=\"Deferred\" />\n    /// </signature>\n  },\n  'state': function() {\n    /// <summary>Determine the current state of a Deferred object.</summary>\n    /// <returns type=\"String\" />\n  },\n  'then': function() {\n    /// <signature>\n    ///   <summary>Add handlers to be called when the Deferred object is resolved, rejected, or still in progress.</summary>\n    ///   <param name=\"doneFilter\" type=\"Function\">A function that is called when the Deferred is resolved.</param>\n    ///   <param name=\"failFilter\" type=\"Function\">An optional function that is called when the Deferred is rejected.</param>\n    ///   <param name=\"progressFilter\" type=\"Function\">An optional function that is called when progress notifications are sent to the Deferred.</param>\n    ///   <returns type=\"Promise\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Add handlers to be called when the Deferred object is resolved, rejected, or still in progress.</summary>\n    ///   <param name=\"doneCallbacks\" type=\"Function\">A function, or array of functions, called when the Deferred is resolved.</param>\n    ///   <param name=\"failCallbacks\" type=\"Function\">A function, or array of functions, called when the Deferred is rejected.</param>\n    ///   <returns type=\"Promise\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Add handlers to be called when the Deferred object is resolved, rejected, or still in progress.</summary>\n    ///   <param name=\"doneCallbacks\" type=\"Function\">A function, or array of functions, called when the Deferred is resolved.</param>\n    ///   <param name=\"failCallbacks\" type=\"Function\">A function, or array of functions, called when the Deferred is rejected.</param>\n    ///   <param name=\"progressCallbacks\" type=\"Function\">A function, or array of functions, called when the Deferred notifies progress.</param>\n    ///   <returns type=\"Promise\" />\n    /// </signature>\n  },\n});\n\nreturn _object;\n};\nintellisense.redirectDefinition(jQuery.Callbacks, _731531622);\n\nintellisense.annotate(jQuery.Event.prototype, {\n  'currentTarget': function() {\n    /// <summary>The current DOM element within the event bubbling phase.</summary>\n    /// <returns type=\"Element\" />\n  },\n  'data': function() {\n    /// <summary>An optional object of data passed to an event method when the current executing handler is bound.</summary>\n    /// <returns type=\"Object\" />\n  },\n  'delegateTarget': function() {\n    /// <summary>The element where the currently-called jQuery event handler was attached.</summary>\n    /// <returns type=\"Element\" />\n  },\n  'isDefaultPrevented': function() {\n    /// <summary>Returns whether event.preventDefault() was ever called on this event object.</summary>\n    /// <returns type=\"Boolean\" />\n  },\n  'isImmediatePropagationStopped': function() {\n    /// <summary>Returns whether event.stopImmediatePropagation() was ever called on this event object.</summary>\n    /// <returns type=\"Boolean\" />\n  },\n  'isPropagationStopped': function() {\n    /// <summary>Returns whether event.stopPropagation() was ever called on this event object.</summary>\n    /// <returns type=\"Boolean\" />\n  },\n  'metaKey': function() {\n    /// <summary>Indicates whether the META key was pressed when the event fired.</summary>\n    /// <returns type=\"Boolean\" />\n  },\n  'namespace': function() {\n    /// <summary>The namespace specified when the event was triggered.</summary>\n    /// <returns type=\"String\" />\n  },\n  'pageX': function() {\n    /// <summary>The mouse position relative to the left edge of the document.</summary>\n    /// <returns type=\"Number\" />\n  },\n  'pageY': function() {\n    /// <summary>The mouse position relative to the top edge of the document.</summary>\n    /// <returns type=\"Number\" />\n  },\n  'preventDefault': function() {\n    /// <summary>If this method is called, the default action of the event will not be triggered.</summary>\n  },\n  'relatedTarget': function() {\n    /// <summary>The other DOM element involved in the event, if any.</summary>\n    /// <returns type=\"Element\" />\n  },\n  'result': function() {\n    /// <summary>The last value returned by an event handler that was triggered by this event, unless the value was undefined.</summary>\n    /// <returns type=\"Object\" />\n  },\n  'stopImmediatePropagation': function() {\n    /// <summary>Keeps the rest of the handlers from being executed and prevents the event from bubbling up the DOM tree.</summary>\n  },\n  'stopPropagation': function() {\n    /// <summary>Prevents the event from bubbling up the DOM tree, preventing any parent handlers from being notified of the event.</summary>\n  },\n  'target': function() {\n    /// <summary>The DOM element that initiated the event.</summary>\n    /// <returns type=\"Element\" />\n  },\n  'timeStamp': function() {\n    /// <summary>The difference in milliseconds between the time the browser created the event and January 1, 1970.</summary>\n    /// <returns type=\"Number\" />\n  },\n  'type': function() {\n    /// <summary>Describes the nature of the event.</summary>\n    /// <returns type=\"String\" />\n  },\n  'which': function() {\n    /// <summary>For key or mouse events, this property indicates the specific key or button that was pressed.</summary>\n    /// <returns type=\"Number\" />\n  },\n});\n\nintellisense.annotate(jQuery.fn, {\n  'add': function() {\n    /// <signature>\n    ///   <summary>Add elements to the set of matched elements.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string representing a selector expression to find additional elements to add to the set of matched elements.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Add elements to the set of matched elements.</summary>\n    ///   <param name=\"elements\" type=\"Array\">One or more elements to add to the set of matched elements.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Add elements to the set of matched elements.</summary>\n    ///   <param name=\"html\" type=\"String\">An HTML fragment to add to the set of matched elements.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Add elements to the set of matched elements.</summary>\n    ///   <param name=\"jQuery object\" type=\"jQuery object \">An existing jQuery object to add to the set of matched elements.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Add elements to the set of matched elements.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string representing a selector expression to find additional elements to add to the set of matched elements.</param>\n    ///   <param name=\"context\" type=\"Element\">The point in the document at which the selector should begin matching; similar to the context argument of the $(selector, context) method.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'addBack': function() {\n    /// <signature>\n    ///   <summary>Add the previous set of elements on the stack to the current set, optionally filtered by a selector.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match the current set of elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'addClass': function() {\n    /// <signature>\n    ///   <summary>Adds the specified class(es) to each of the set of matched elements.</summary>\n    ///   <param name=\"className\" type=\"String\">One or more space-separated classes to be added to the class attribute of each matched element.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Adds the specified class(es) to each of the set of matched elements.</summary>\n    ///   <param name=\"function(index, currentClass)\" type=\"Function\">A function returning one or more space-separated class names to be added to the existing class name(s). Receives the index position of the element in the set and the existing class name(s) as arguments. Within the function, this refers to the current element in the set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'after': function() {\n    /// <signature>\n    ///   <summary>Insert content, specified by the parameter, after each element in the set of matched elements.</summary>\n    ///   <param name=\"content\" type=\"jQuery\">HTML string, DOM element, or jQuery object to insert after each element in the set of matched elements.</param>\n    ///   <param name=\"content\" type=\"jQuery\">One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert after each element in the set of matched elements.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Insert content, specified by the parameter, after each element in the set of matched elements.</summary>\n    ///   <param name=\"function(index)\" type=\"Function\">A function that returns an HTML string, DOM element(s), or jQuery object to insert after each element in the set of matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'ajaxComplete': function() {\n    /// <signature>\n    ///   <summary>Register a handler to be called when Ajax requests complete. This is an AjaxEvent.</summary>\n    ///   <param name=\"handler(event, XMLHttpRequest, ajaxOptions)\" type=\"Function\">The function to be invoked.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'ajaxError': function() {\n    /// <signature>\n    ///   <summary>Register a handler to be called when Ajax requests complete with an error. This is an Ajax Event.</summary>\n    ///   <param name=\"handler(event, jqXHR, ajaxSettings, thrownError)\" type=\"Function\">The function to be invoked.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'ajaxSend': function() {\n    /// <signature>\n    ///   <summary>Attach a function to be executed before an Ajax request is sent. This is an Ajax Event.</summary>\n    ///   <param name=\"handler(event, jqXHR, ajaxOptions)\" type=\"Function\">The function to be invoked.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'ajaxStart': function() {\n    /// <signature>\n    ///   <summary>Register a handler to be called when the first Ajax request begins. This is an Ajax Event.</summary>\n    ///   <param name=\"handler()\" type=\"Function\">The function to be invoked.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'ajaxStop': function() {\n    /// <signature>\n    ///   <summary>Register a handler to be called when all Ajax requests have completed. This is an Ajax Event.</summary>\n    ///   <param name=\"handler()\" type=\"Function\">The function to be invoked.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'ajaxSuccess': function() {\n    /// <signature>\n    ///   <summary>Attach a function to be executed whenever an Ajax request completes successfully. This is an Ajax Event.</summary>\n    ///   <param name=\"handler(event, XMLHttpRequest, ajaxOptions)\" type=\"Function\">The function to be invoked.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'all': function() {\n    /// <summary>Selects all elements.</summary>\n  },\n  'andSelf': function() {\n    /// <summary>Add the previous set of elements on the stack to the current set.</summary>\n    /// <returns type=\"jQuery\" />\n  },\n  'animate': function() {\n    /// <signature>\n    ///   <summary>Perform a custom animation of a set of CSS properties.</summary>\n    ///   <param name=\"properties\" type=\"PlainObject\">An object of CSS properties and values that the animation will move toward.</param>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"easing\" type=\"String\">A string indicating which easing function to use for the transition.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Perform a custom animation of a set of CSS properties.</summary>\n    ///   <param name=\"properties\" type=\"PlainObject\">An object of CSS properties and values that the animation will move toward.</param>\n    ///   <param name=\"options\" type=\"PlainObject\">A map of additional options to pass to the method.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'animated': function() {\n    /// <summary>Select all elements that are in the progress of an animation at the time the selector is run.</summary>\n  },\n  'append': function() {\n    /// <signature>\n    ///   <summary>Insert content, specified by the parameter, to the end of each element in the set of matched elements.</summary>\n    ///   <param name=\"content\" type=\"jQuery\">DOM element, HTML string, or jQuery object to insert at the end of each element in the set of matched elements.</param>\n    ///   <param name=\"content\" type=\"jQuery\">One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the end of each element in the set of matched elements.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Insert content, specified by the parameter, to the end of each element in the set of matched elements.</summary>\n    ///   <param name=\"function(index, html)\" type=\"Function\">A function that returns an HTML string, DOM element(s), or jQuery object to insert at the end of each element in the set of matched elements. Receives the index position of the element in the set and the old HTML value of the element as arguments. Within the function, this refers to the current element in the set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'appendTo': function() {\n    /// <signature>\n    ///   <summary>Insert every element in the set of matched elements to the end of the target.</summary>\n    ///   <param name=\"target\" type=\"jQuery\">A selector, element, HTML string, or jQuery object; the matched set of elements will be inserted at the end of the element(s) specified by this parameter.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'attr': function() {\n    /// <signature>\n    ///   <summary>Set one or more attributes for the set of matched elements.</summary>\n    ///   <param name=\"attributeName\" type=\"String\">The name of the attribute to set.</param>\n    ///   <param name=\"value\" type=\"Number\">A value to set for the attribute.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Set one or more attributes for the set of matched elements.</summary>\n    ///   <param name=\"attributes\" type=\"PlainObject\">An object of attribute-value pairs to set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Set one or more attributes for the set of matched elements.</summary>\n    ///   <param name=\"attributeName\" type=\"String\">The name of the attribute to set.</param>\n    ///   <param name=\"function(index, attr)\" type=\"Function\">A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old attribute value as arguments.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'attributeContains': function() {\n    /// <signature>\n    ///   <summary>Selects elements that have the specified attribute with a value containing the a given substring.</summary>\n    ///   <param name=\"attribute\" type=\"String\">An attribute name.</param>\n    ///   <param name=\"value\" type=\"String\">An attribute value. Can be either an unquoted single word or a quoted string.</param>\n    /// </signature>\n  },\n  'attributeContainsPrefix': function() {\n    /// <signature>\n    ///   <summary>Selects elements that have the specified attribute with a value either equal to a given string or starting with that string followed by a hyphen (-).</summary>\n    ///   <param name=\"attribute\" type=\"String\">An attribute name.</param>\n    ///   <param name=\"value\" type=\"String\">An attribute value. Can be either an unquoted single word or a quoted string.</param>\n    /// </signature>\n  },\n  'attributeContainsWord': function() {\n    /// <signature>\n    ///   <summary>Selects elements that have the specified attribute with a value containing a given word, delimited by spaces.</summary>\n    ///   <param name=\"attribute\" type=\"String\">An attribute name.</param>\n    ///   <param name=\"value\" type=\"String\">An attribute value. Can be either an unquoted single word or a quoted string.</param>\n    /// </signature>\n  },\n  'attributeEndsWith': function() {\n    /// <signature>\n    ///   <summary>Selects elements that have the specified attribute with a value ending exactly with a given string. The comparison is case sensitive.</summary>\n    ///   <param name=\"attribute\" type=\"String\">An attribute name.</param>\n    ///   <param name=\"value\" type=\"String\">An attribute value. Can be either an unquoted single word or a quoted string.</param>\n    /// </signature>\n  },\n  'attributeEquals': function() {\n    /// <signature>\n    ///   <summary>Selects elements that have the specified attribute with a value exactly equal to a certain value.</summary>\n    ///   <param name=\"attribute\" type=\"String\">An attribute name.</param>\n    ///   <param name=\"value\" type=\"String\">An attribute value. Can be either an unquoted single word or a quoted string.</param>\n    /// </signature>\n  },\n  'attributeHas': function() {\n    /// <signature>\n    ///   <summary>Selects elements that have the specified attribute, with any value.</summary>\n    ///   <param name=\"attribute\" type=\"String\">An attribute name.</param>\n    /// </signature>\n  },\n  'attributeMultiple': function() {\n    /// <signature>\n    ///   <summary>Matches elements that match all of the specified attribute filters.</summary>\n    ///   <param name=\"attributeFilter1\" type=\"String\">An attribute filter.</param>\n    ///   <param name=\"attributeFilter2\" type=\"String\">Another attribute filter, reducing the selection even more</param>\n    ///   <param name=\"attributeFilterN\" type=\"String\">As many more attribute filters as necessary</param>\n    /// </signature>\n  },\n  'attributeNotEqual': function() {\n    /// <signature>\n    ///   <summary>Select elements that either don't have the specified attribute, or do have the specified attribute but not with a certain value.</summary>\n    ///   <param name=\"attribute\" type=\"String\">An attribute name.</param>\n    ///   <param name=\"value\" type=\"String\">An attribute value. Can be either an unquoted single word or a quoted string.</param>\n    /// </signature>\n  },\n  'attributeStartsWith': function() {\n    /// <signature>\n    ///   <summary>Selects elements that have the specified attribute with a value beginning exactly with a given string.</summary>\n    ///   <param name=\"attribute\" type=\"String\">An attribute name.</param>\n    ///   <param name=\"value\" type=\"String\">An attribute value. Can be either an unquoted single word or a quoted string.</param>\n    /// </signature>\n  },\n  'before': function() {\n    /// <signature>\n    ///   <summary>Insert content, specified by the parameter, before each element in the set of matched elements.</summary>\n    ///   <param name=\"content\" type=\"jQuery\">HTML string, DOM element, or jQuery object to insert before each element in the set of matched elements.</param>\n    ///   <param name=\"content\" type=\"jQuery\">One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert before each element in the set of matched elements.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Insert content, specified by the parameter, before each element in the set of matched elements.</summary>\n    ///   <param name=\"function\" type=\"Function\">A function that returns an HTML string, DOM element(s), or jQuery object to insert before each element in the set of matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'bind': function() {\n    /// <signature>\n    ///   <summary>Attach a handler to an event for the elements.</summary>\n    ///   <param name=\"eventType\" type=\"String\">A string containing one or more DOM event types, such as \"click\" or \"submit,\" or custom event names.</param>\n    ///   <param name=\"eventData\" type=\"Object\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Attach a handler to an event for the elements.</summary>\n    ///   <param name=\"eventType\" type=\"String\">A string containing one or more DOM event types, such as \"click\" or \"submit,\" or custom event names.</param>\n    ///   <param name=\"eventData\" type=\"Object\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"preventBubble\" type=\"Boolean\">Setting the third argument to false will attach a function that prevents the default action from occurring and stops the event from bubbling. The default is true.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Attach a handler to an event for the elements.</summary>\n    ///   <param name=\"events\" type=\"Object\">An object containing one or more DOM event types and functions to execute for them.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'blur': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"blur\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"blur\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"Object\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'button': function() {\n    /// <summary>Selects all button elements and elements of type button.</summary>\n  },\n  'change': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"change\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"change\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"Object\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'checkbox': function() {\n    /// <summary>Selects all elements of type checkbox.</summary>\n  },\n  'checked': function() {\n    /// <summary>Matches all elements that are checked.</summary>\n  },\n  'child': function() {\n    /// <signature>\n    ///   <summary>Selects all direct child elements specified by \"child\" of elements specified by \"parent\".</summary>\n    ///   <param name=\"parent\" type=\"String\">Any valid selector.</param>\n    ///   <param name=\"child\" type=\"String\">A selector to filter the child elements.</param>\n    /// </signature>\n  },\n  'children': function() {\n    /// <signature>\n    ///   <summary>Get the children of each element in the set of matched elements, optionally filtered by a selector.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'class': function() {\n    /// <signature>\n    ///   <summary>Selects all elements with the given class.</summary>\n    ///   <param name=\"class\" type=\"String\">A class to search for. An element can have multiple classes; only one of them must match.</param>\n    /// </signature>\n  },\n  'clearQueue': function() {\n    /// <signature>\n    ///   <summary>Remove from the queue all items that have not yet been run.</summary>\n    ///   <param name=\"queueName\" type=\"String\">A string containing the name of the queue. Defaults to fx, the standard effects queue.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'click': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"click\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"click\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"Object\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'clone': function() {\n    /// <signature>\n    ///   <summary>Create a deep copy of the set of matched elements.</summary>\n    ///   <param name=\"withDataAndEvents\" type=\"Boolean\">A Boolean indicating whether event handlers should be copied along with the elements. As of jQuery 1.4, element data will be copied as well.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Create a deep copy of the set of matched elements.</summary>\n    ///   <param name=\"withDataAndEvents\" type=\"Boolean\">A Boolean indicating whether event handlers and data should be copied along with the elements. The default value is false. *In jQuery 1.5.0 the default value was incorrectly true; it was changed back to false in 1.5.1 and up.</param>\n    ///   <param name=\"deepWithDataAndEvents\" type=\"Boolean\">A Boolean indicating whether event handlers and data for all children of the cloned element should be copied. By default its value matches the first argument's value (which defaults to false).</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'closest': function() {\n    /// <signature>\n    ///   <summary>For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <param name=\"context\" type=\"Element\">A DOM element within which a matching element may be found. If no context is passed in then the context of the jQuery set will be used instead.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.</summary>\n    ///   <param name=\"jQuery object\" type=\"jQuery\">A jQuery object to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.</summary>\n    ///   <param name=\"element\" type=\"Element\">An element to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'contains': function() {\n    /// <signature>\n    ///   <summary>Select all elements that contain the specified text.</summary>\n    ///   <param name=\"text\" type=\"String\">A string of text to look for. It's case sensitive.</param>\n    /// </signature>\n  },\n  'contents': function() {\n    /// <summary>Get the children of each element in the set of matched elements, including text and comment nodes.</summary>\n    /// <returns type=\"jQuery\" />\n  },\n  'context': function() {\n    /// <summary>The DOM node context originally passed to jQuery(); if none was passed then context will likely be the document.</summary>\n    /// <returns type=\"Element\" />\n  },\n  'css': function() {\n    /// <signature>\n    ///   <summary>Set one or more CSS properties for the set of matched elements.</summary>\n    ///   <param name=\"propertyName\" type=\"String\">A CSS property name.</param>\n    ///   <param name=\"value\" type=\"Number\">A value to set for the property.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Set one or more CSS properties for the set of matched elements.</summary>\n    ///   <param name=\"propertyName\" type=\"String\">A CSS property name.</param>\n    ///   <param name=\"function(index, value)\" type=\"Function\">A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as arguments.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Set one or more CSS properties for the set of matched elements.</summary>\n    ///   <param name=\"properties\" type=\"PlainObject\">An object of property-value pairs to set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'data': function() {\n    /// <signature>\n    ///   <summary>Store arbitrary data associated with the matched elements.</summary>\n    ///   <param name=\"key\" type=\"String\">A string naming the piece of data to set.</param>\n    ///   <param name=\"value\" type=\"Object\">The new data value; it can be any Javascript type including Array or Object.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Store arbitrary data associated with the matched elements.</summary>\n    ///   <param name=\"obj\" type=\"Object\">An object of key-value pairs of data to update.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'dblclick': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"dblclick\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"dblclick\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"Object\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'delay': function() {\n    /// <signature>\n    ///   <summary>Set a timer to delay execution of subsequent items in the queue.</summary>\n    ///   <param name=\"duration\" type=\"Number\">An integer indicating the number of milliseconds to delay execution of the next item in the queue.</param>\n    ///   <param name=\"queueName\" type=\"String\">A string containing the name of the queue. Defaults to fx, the standard effects queue.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'delegate': function() {\n    /// <signature>\n    ///   <summary>Attach a handler to one or more events for all elements that match the selector, now or in the future, based on a specific set of root elements.</summary>\n    ///   <param name=\"selector\" type=\"String\">A selector to filter the elements that trigger the event.</param>\n    ///   <param name=\"eventType\" type=\"String\">A string containing one or more space-separated JavaScript event types, such as \"click\" or \"keydown,\" or custom event names.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute at the time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Attach a handler to one or more events for all elements that match the selector, now or in the future, based on a specific set of root elements.</summary>\n    ///   <param name=\"selector\" type=\"String\">A selector to filter the elements that trigger the event.</param>\n    ///   <param name=\"eventType\" type=\"String\">A string containing one or more space-separated JavaScript event types, such as \"click\" or \"keydown,\" or custom event names.</param>\n    ///   <param name=\"eventData\" type=\"Object\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute at the time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Attach a handler to one or more events for all elements that match the selector, now or in the future, based on a specific set of root elements.</summary>\n    ///   <param name=\"selector\" type=\"String\">A selector to filter the elements that trigger the event.</param>\n    ///   <param name=\"events\" type=\"PlainObject\">A plain object of one or more event types and functions to execute for them.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'dequeue': function() {\n    /// <signature>\n    ///   <summary>Execute the next function on the queue for the matched elements.</summary>\n    ///   <param name=\"queueName\" type=\"String\">A string containing the name of the queue. Defaults to fx, the standard effects queue.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'descendant': function() {\n    /// <signature>\n    ///   <summary>Selects all elements that are descendants of a given ancestor.</summary>\n    ///   <param name=\"ancestor\" type=\"String\">Any valid selector.</param>\n    ///   <param name=\"descendant\" type=\"String\">A selector to filter the descendant elements.</param>\n    /// </signature>\n  },\n  'detach': function() {\n    /// <signature>\n    ///   <summary>Remove the set of matched elements from the DOM.</summary>\n    ///   <param name=\"selector\" type=\"String\">A selector expression that filters the set of matched elements to be removed.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'die': function() {\n    /// <signature>\n    ///   <summary>Remove event handlers previously attached using .live() from the elements.</summary>\n    ///   <param name=\"eventType\" type=\"String\">A string containing a JavaScript event type, such as click or keydown.</param>\n    ///   <param name=\"handler\" type=\"String\">The function that is no longer to be executed.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Remove event handlers previously attached using .live() from the elements.</summary>\n    ///   <param name=\"events\" type=\"PlainObject\">A plain object of one or more event types, such as click or keydown and their corresponding functions that are no longer to be executed.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'disabled': function() {\n    /// <summary>Selects all elements that are disabled.</summary>\n  },\n  'each': function() {\n    /// <signature>\n    ///   <summary>Iterate over a jQuery object, executing a function for each matched element.</summary>\n    ///   <param name=\"function(index, Element)\" type=\"Function\">A function to execute for each matched element.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'element': function() {\n    /// <signature>\n    ///   <summary>Selects all elements with the given tag name.</summary>\n    ///   <param name=\"element\" type=\"String\">An element to search for. Refers to the tagName of DOM nodes.</param>\n    /// </signature>\n  },\n  'empty': function() {\n    /// <summary>Select all elements that have no children (including text nodes).</summary>\n  },\n  'enabled': function() {\n    /// <summary>Selects all elements that are enabled.</summary>\n  },\n  'end': function() {\n    /// <summary>End the most recent filtering operation in the current chain and return the set of matched elements to its previous state.</summary>\n    /// <returns type=\"jQuery\" />\n  },\n  'eq': function() {\n    /// <signature>\n    ///   <summary>Select the element at index n within the matched set.</summary>\n    ///   <param name=\"index\" type=\"Number\">Zero-based index of the element to match.</param>\n    /// </signature>\n    /// <signature>\n    ///   <summary>Select the element at index n within the matched set.</summary>\n    ///   <param name=\"-index\" type=\"Number\">Zero-based index of the element to match, counting backwards from the last element.</param>\n    /// </signature>\n  },\n  'error': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"error\" JavaScript event.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute when the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"error\" JavaScript event.</summary>\n    ///   <param name=\"eventData\" type=\"Object\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'even': function() {\n    /// <summary>Selects even elements, zero-indexed.  See also odd.</summary>\n  },\n  'fadeIn': function() {\n    /// <signature>\n    ///   <summary>Display the matched elements by fading them to opaque.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Display the matched elements by fading them to opaque.</summary>\n    ///   <param name=\"options\" type=\"PlainObject\">A map of additional options to pass to the method.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Display the matched elements by fading them to opaque.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"easing\" type=\"String\">A string indicating which easing function to use for the transition.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'fadeOut': function() {\n    /// <signature>\n    ///   <summary>Hide the matched elements by fading them to transparent.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Hide the matched elements by fading them to transparent.</summary>\n    ///   <param name=\"options\" type=\"PlainObject\">A map of additional options to pass to the method.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Hide the matched elements by fading them to transparent.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"easing\" type=\"String\">A string indicating which easing function to use for the transition.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'fadeTo': function() {\n    /// <signature>\n    ///   <summary>Adjust the opacity of the matched elements.</summary>\n    ///   <param name=\"duration\" type=\"Number\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"opacity\" type=\"Number\">A number between 0 and 1 denoting the target opacity.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Adjust the opacity of the matched elements.</summary>\n    ///   <param name=\"duration\" type=\"Number\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"opacity\" type=\"Number\">A number between 0 and 1 denoting the target opacity.</param>\n    ///   <param name=\"easing\" type=\"String\">A string indicating which easing function to use for the transition.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'fadeToggle': function() {\n    /// <signature>\n    ///   <summary>Display or hide the matched elements by animating their opacity.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"easing\" type=\"String\">A string indicating which easing function to use for the transition.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Display or hide the matched elements by animating their opacity.</summary>\n    ///   <param name=\"options\" type=\"PlainObject\">A map of additional options to pass to the method.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'file': function() {\n    /// <summary>Selects all elements of type file.</summary>\n  },\n  'filter': function() {\n    /// <signature>\n    ///   <summary>Reduce the set of matched elements to those that match the selector or pass the function's test.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match the current set of elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Reduce the set of matched elements to those that match the selector or pass the function's test.</summary>\n    ///   <param name=\"function(index)\" type=\"Function\">A function used as a test for each element in the set. this is the current DOM element.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Reduce the set of matched elements to those that match the selector or pass the function's test.</summary>\n    ///   <param name=\"element\" type=\"Element\">An element to match the current set of elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Reduce the set of matched elements to those that match the selector or pass the function's test.</summary>\n    ///   <param name=\"jQuery object\" type=\"Object\">An existing jQuery object to match the current set of elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'find': function() {\n    /// <signature>\n    ///   <summary>Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.</summary>\n    ///   <param name=\"jQuery object\" type=\"Object\">A jQuery object to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.</summary>\n    ///   <param name=\"element\" type=\"Element\">An element to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'finish': function() {\n    /// <signature>\n    ///   <summary>Stop the currently-running animation, remove all queued animations, and complete all animations for the matched elements.</summary>\n    ///   <param name=\"queue\" type=\"String\">The name of the queue in which to stop animations.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'first': function() {\n    /// <summary>Selects the first matched element.</summary>\n  },\n  'first-child': function() {\n    /// <summary>Selects all elements that are the first child of their parent.</summary>\n  },\n  'first-of-type': function() {\n    /// <summary>Selects all elements that are the first among siblings of the same element name.</summary>\n  },\n  'focus': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"focus\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"focus\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"Object\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'focusin': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"focusin\" event.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"focusin\" event.</summary>\n    ///   <param name=\"eventData\" type=\"Object\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'focusout': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"focusout\" JavaScript event.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"focusout\" JavaScript event.</summary>\n    ///   <param name=\"eventData\" type=\"Object\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'get': function() {\n    /// <signature>\n    ///   <summary>Retrieve the DOM elements matched by the jQuery object.</summary>\n    ///   <param name=\"index\" type=\"Number\">A zero-based integer indicating which element to retrieve.</param>\n    ///   <returns type=\"Element, Array\" />\n    /// </signature>\n  },\n  'gt': function() {\n    /// <signature>\n    ///   <summary>Select all elements at an index greater than index within the matched set.</summary>\n    ///   <param name=\"index\" type=\"Number\">Zero-based index.</param>\n    /// </signature>\n  },\n  'has': function() {\n    /// <signature>\n    ///   <summary>Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element.</summary>\n    ///   <param name=\"contained\" type=\"Element\">A DOM element to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'hasClass': function() {\n    /// <signature>\n    ///   <summary>Determine whether any of the matched elements are assigned the given class.</summary>\n    ///   <param name=\"className\" type=\"String\">The class name to search for.</param>\n    ///   <returns type=\"Boolean\" />\n    /// </signature>\n  },\n  'header': function() {\n    /// <summary>Selects all elements that are headers, like h1, h2, h3 and so on.</summary>\n  },\n  'height': function() {\n    /// <signature>\n    ///   <summary>Set the CSS height of every matched element.</summary>\n    ///   <param name=\"value\" type=\"Number\">An integer representing the number of pixels, or an integer with an optional unit of measure appended (as a string).</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Set the CSS height of every matched element.</summary>\n    ///   <param name=\"function(index, height)\" type=\"Function\">A function returning the height to set. Receives the index position of the element in the set and the old height as arguments. Within the function, this refers to the current element in the set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'hidden': function() {\n    /// <summary>Selects all elements that are hidden.</summary>\n  },\n  'hide': function() {\n    /// <signature>\n    ///   <summary>Hide the matched elements.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Hide the matched elements.</summary>\n    ///   <param name=\"options\" type=\"PlainObject\">A map of additional options to pass to the method.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Hide the matched elements.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"easing\" type=\"String\">A string indicating which easing function to use for the transition.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'hover': function() {\n    /// <signature>\n    ///   <summary>Bind two handlers to the matched elements, to be executed when the mouse pointer enters and leaves the elements.</summary>\n    ///   <param name=\"handlerIn(eventObject)\" type=\"Function\">A function to execute when the mouse pointer enters the element.</param>\n    ///   <param name=\"handlerOut(eventObject)\" type=\"Function\">A function to execute when the mouse pointer leaves the element.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'html': function() {\n    /// <signature>\n    ///   <summary>Set the HTML contents of each element in the set of matched elements.</summary>\n    ///   <param name=\"htmlString\" type=\"String\">A string of HTML to set as the content of each matched element.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Set the HTML contents of each element in the set of matched elements.</summary>\n    ///   <param name=\"function(index, oldhtml)\" type=\"Function\">A function returning the HTML content to set. Receives the           index position of the element in the set and the old HTML value as arguments.           jQuery empties the element before calling the function;           use the oldhtml argument to reference the previous content.           Within the function, this refers to the current element in the set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'id': function() {\n    /// <signature>\n    ///   <summary>Selects a single element with the given id attribute.</summary>\n    ///   <param name=\"id\" type=\"String\">An ID to search for, specified via the id attribute of an element.</param>\n    /// </signature>\n  },\n  'image': function() {\n    /// <summary>Selects all elements of type image.</summary>\n  },\n  'index': function() {\n    /// <signature>\n    ///   <summary>Search for a given element from among the matched elements.</summary>\n    ///   <param name=\"selector\" type=\"String\">A selector representing a jQuery collection in which to look for an element.</param>\n    ///   <returns type=\"Number\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Search for a given element from among the matched elements.</summary>\n    ///   <param name=\"element\" type=\"jQuery\">The DOM element or first element within the jQuery object to look for.</param>\n    ///   <returns type=\"Number\" />\n    /// </signature>\n  },\n  'init': function() {\n    /// <signature>\n    ///   <summary>Accepts a string containing a CSS selector which is then used to match a set of elements.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression</param>\n    ///   <param name=\"context\" type=\"jQuery\">A DOM Element, Document, or jQuery to use as context</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Accepts a string containing a CSS selector which is then used to match a set of elements.</summary>\n    ///   <param name=\"element\" type=\"Element\">A DOM element to wrap in a jQuery object.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Accepts a string containing a CSS selector which is then used to match a set of elements.</summary>\n    ///   <param name=\"elementArray\" type=\"Array\">An array containing a set of DOM elements to wrap in a jQuery object.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Accepts a string containing a CSS selector which is then used to match a set of elements.</summary>\n    ///   <param name=\"object\" type=\"PlainObject\">A plain object to wrap in a jQuery object.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Accepts a string containing a CSS selector which is then used to match a set of elements.</summary>\n    ///   <param name=\"jQuery object\" type=\"PlainObject\">An existing jQuery object to clone.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'innerHeight': function() {\n    /// <summary>Get the current computed height for the first element in the set of matched elements, including padding but not border.</summary>\n    /// <returns type=\"Integer\" />\n  },\n  'innerWidth': function() {\n    /// <summary>Get the current computed width for the first element in the set of matched elements, including padding but not border.</summary>\n    /// <returns type=\"Integer\" />\n  },\n  'input': function() {\n    /// <summary>Selects all input, textarea, select and button elements.</summary>\n  },\n  'insertAfter': function() {\n    /// <signature>\n    ///   <summary>Insert every element in the set of matched elements after the target.</summary>\n    ///   <param name=\"target\" type=\"jQuery\">A selector, element, HTML string, or jQuery object; the matched set of elements will be inserted after the element(s) specified by this parameter.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'insertBefore': function() {\n    /// <signature>\n    ///   <summary>Insert every element in the set of matched elements before the target.</summary>\n    ///   <param name=\"target\" type=\"jQuery\">A selector, element, HTML string, or jQuery object; the matched set of elements will be inserted before the element(s) specified by this parameter.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'is': function() {\n    /// <signature>\n    ///   <summary>Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"Boolean\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.</summary>\n    ///   <param name=\"function(index)\" type=\"Function\">A function used as a test for the set of elements. It accepts one argument, index, which is the element's index in the jQuery collection.Within the function, this refers to the current DOM element.</param>\n    ///   <returns type=\"Boolean\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.</summary>\n    ///   <param name=\"jQuery object\" type=\"Object\">An existing jQuery object to match the current set of elements against.</param>\n    ///   <returns type=\"Boolean\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.</summary>\n    ///   <param name=\"element\" type=\"Element\">An element to match the current set of elements against.</param>\n    ///   <returns type=\"Boolean\" />\n    /// </signature>\n  },\n  'jquery': function() {\n    /// <summary>A string containing the jQuery version number.</summary>\n    /// <returns type=\"String\" />\n  },\n  'keydown': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"keydown\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"keydown\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'keypress': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"keypress\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"keypress\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'keyup': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"keyup\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"keyup\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'lang': function() {\n    /// <signature>\n    ///   <summary>Selects all elements of the specified language.</summary>\n    ///   <param name=\"language\" type=\"String\">A language code.</param>\n    /// </signature>\n  },\n  'last': function() {\n    /// <summary>Selects the last matched element.</summary>\n  },\n  'last-child': function() {\n    /// <summary>Selects all elements that are the last child of their parent.</summary>\n  },\n  'last-of-type': function() {\n    /// <summary>Selects all elements that are the last among siblings of the same element name.</summary>\n  },\n  'length': function() {\n    /// <summary>The number of elements in the jQuery object.</summary>\n    /// <returns type=\"Number\" />\n  },\n  'live': function() {\n    /// <signature>\n    ///   <summary>Attach an event handler for all elements which match the current selector, now and in the future.</summary>\n    ///   <param name=\"events\" type=\"String\">A string containing a JavaScript event type, such as \"click\" or \"keydown.\" As of jQuery 1.4 the string can contain multiple, space-separated event types or custom event names.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute at the time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Attach an event handler for all elements which match the current selector, now and in the future.</summary>\n    ///   <param name=\"events\" type=\"String\">A string containing a JavaScript event type, such as \"click\" or \"keydown.\" As of jQuery 1.4 the string can contain multiple, space-separated event types or custom event names.</param>\n    ///   <param name=\"data\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute at the time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Attach an event handler for all elements which match the current selector, now and in the future.</summary>\n    ///   <param name=\"events\" type=\"PlainObject\">A plain object of one or more JavaScript event types and functions to execute for them.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'load': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"load\" JavaScript event.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute when the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"load\" JavaScript event.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'lt': function() {\n    /// <signature>\n    ///   <summary>Select all elements at an index less than index within the matched set.</summary>\n    ///   <param name=\"index\" type=\"Number\">Zero-based index.</param>\n    /// </signature>\n  },\n  'map': function() {\n    /// <signature>\n    ///   <summary>Pass each element in the current matched set through a function, producing a new jQuery object containing the return values.</summary>\n    ///   <param name=\"callback(index, domElement)\" type=\"Function\">A function object that will be invoked for each element in the current set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'mousedown': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"mousedown\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"mousedown\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'mouseenter': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to be fired when the mouse enters an element, or trigger that handler on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to be fired when the mouse enters an element, or trigger that handler on an element.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'mouseleave': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to be fired when the mouse leaves an element, or trigger that handler on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to be fired when the mouse leaves an element, or trigger that handler on an element.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'mousemove': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"mousemove\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"mousemove\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'mouseout': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"mouseout\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"mouseout\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'mouseover': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"mouseover\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"mouseover\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'mouseup': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"mouseup\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"mouseup\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'multiple': function() {\n    /// <signature>\n    ///   <summary>Selects the combined results of all the specified selectors.</summary>\n    ///   <param name=\"selector1\" type=\"String\">Any valid selector.</param>\n    ///   <param name=\"selector2\" type=\"String\">Another valid selector.</param>\n    ///   <param name=\"selectorN\" type=\"String\">As many more valid selectors as you like.</param>\n    /// </signature>\n  },\n  'next': function() {\n    /// <signature>\n    ///   <summary>Get the immediately following sibling of each element in the set of matched elements. If a selector is provided, it retrieves the next sibling only if it matches that selector.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'next adjacent': function() {\n    /// <signature>\n    ///   <summary>Selects all next elements matching \"next\" that are immediately preceded by a sibling \"prev\".</summary>\n    ///   <param name=\"prev\" type=\"String\">Any valid selector.</param>\n    ///   <param name=\"next\" type=\"String\">A selector to match the element that is next to the first selector.</param>\n    /// </signature>\n  },\n  'next siblings': function() {\n    /// <signature>\n    ///   <summary>Selects all sibling elements that follow after the \"prev\" element, have the same parent, and match the filtering \"siblings\" selector.</summary>\n    ///   <param name=\"prev\" type=\"String\">Any valid selector.</param>\n    ///   <param name=\"siblings\" type=\"String\">A selector to filter elements that are the following siblings of the first selector.</param>\n    /// </signature>\n  },\n  'nextAll': function() {\n    /// <signature>\n    ///   <summary>Get all following siblings of each element in the set of matched elements, optionally filtered by a selector.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'nextUntil': function() {\n    /// <signature>\n    ///   <summary>Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to indicate where to stop matching following sibling elements.</param>\n    ///   <param name=\"filter\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.</summary>\n    ///   <param name=\"element\" type=\"Element\">A DOM node or jQuery object indicating where to stop matching following sibling elements.</param>\n    ///   <param name=\"filter\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'not': function() {\n    /// <signature>\n    ///   <summary>Remove elements from the set of matched elements.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Remove elements from the set of matched elements.</summary>\n    ///   <param name=\"elements\" type=\"Array\">One or more DOM elements to remove from the matched set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Remove elements from the set of matched elements.</summary>\n    ///   <param name=\"function(index)\" type=\"Function\">A function used as a test for each element in the set. this is the current DOM element.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Remove elements from the set of matched elements.</summary>\n    ///   <param name=\"jQuery object\" type=\"PlainObject\">An existing jQuery object to match the current set of elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'nth-child': function() {\n    /// <signature>\n    ///   <summary>Selects all elements that are the nth-child of their parent.</summary>\n    ///   <param name=\"index\" type=\"String\">The index of each child to match, starting with 1, the string even or odd, or an equation ( eg. :nth-child(even), :nth-child(4n) )</param>\n    /// </signature>\n  },\n  'nth-last-child': function() {\n    /// <signature>\n    ///   <summary>Selects all elements that are the nth-child of their parent, counting from the last element to the first.</summary>\n    ///   <param name=\"index\" type=\"String\">The index of each child to match, starting with the last one (1), the string even or odd, or an equation ( eg. :nth-last-child(even), :nth-last-child(4n) )</param>\n    /// </signature>\n  },\n  'nth-last-of-type': function() {\n    /// <signature>\n    ///   <summary>Selects all elements that are the nth-child of their parent, counting from the last element to the first.</summary>\n    ///   <param name=\"index\" type=\"String\">The index of each child to match, starting with the last one (1), the string even or odd, or an equation ( eg. :nth-last-of-type(even), :nth-last-of-type(4n) )</param>\n    /// </signature>\n  },\n  'nth-of-type': function() {\n    /// <signature>\n    ///   <summary>Selects all elements that are the nth child of their parent in relation to siblings with the same element name.</summary>\n    ///   <param name=\"index\" type=\"String\">The index of each child to match, starting with 1, the string even or odd, or an equation ( eg. :nth-of-type(even), :nth-of-type(4n) )</param>\n    /// </signature>\n  },\n  'odd': function() {\n    /// <summary>Selects odd elements, zero-indexed.  See also even.</summary>\n  },\n  'off': function() {\n    /// <signature>\n    ///   <summary>Remove an event handler.</summary>\n    ///   <param name=\"events\" type=\"String\">One or more space-separated event types and optional namespaces, or just namespaces, such as \"click\", \"keydown.myPlugin\", or \".myPlugin\".</param>\n    ///   <param name=\"selector\" type=\"String\">A selector which should match the one originally passed to .on() when attaching event handlers.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A handler function previously attached for the event(s), or the special value false.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Remove an event handler.</summary>\n    ///   <param name=\"events\" type=\"PlainObject\">An object where the string keys represent one or more space-separated event types and optional namespaces, and the values represent handler functions previously attached for the event(s).</param>\n    ///   <param name=\"selector\" type=\"String\">A selector which should match the one originally passed to .on() when attaching event handlers.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'offset': function() {\n    /// <signature>\n    ///   <summary>Set the current coordinates of every element in the set of matched elements, relative to the document.</summary>\n    ///   <param name=\"coordinates\" type=\"PlainObject\">An object containing the properties top and left, which are integers indicating the new top and left coordinates for the elements.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Set the current coordinates of every element in the set of matched elements, relative to the document.</summary>\n    ///   <param name=\"function(index, coords)\" type=\"Function\">A function to return the coordinates to set. Receives the index of the element in the collection as the first argument and the current coordinates as the second argument. The function should return an object with the new top and left properties.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'offsetParent': function() {\n    /// <summary>Get the closest ancestor element that is positioned.</summary>\n    /// <returns type=\"jQuery\" />\n  },\n  'on': function() {\n    /// <signature>\n    ///   <summary>Attach an event handler function for one or more events to the selected elements.</summary>\n    ///   <param name=\"events\" type=\"String\">One or more space-separated event types and optional namespaces, such as \"click\" or \"keydown.myPlugin\".</param>\n    ///   <param name=\"selector\" type=\"String\">A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.</param>\n    ///   <param name=\"data\" type=\"Anything\">Data to be passed to the handler in event.data when an event is triggered.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Attach an event handler function for one or more events to the selected elements.</summary>\n    ///   <param name=\"events\" type=\"PlainObject\">An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).</param>\n    ///   <param name=\"selector\" type=\"String\">A selector string to filter the descendants of the selected elements that will call the handler. If the selector is null or omitted, the handler is always called when it reaches the selected element.</param>\n    ///   <param name=\"data\" type=\"Anything\">Data to be passed to the handler in event.data when an event occurs.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'one': function() {\n    /// <signature>\n    ///   <summary>Attach a handler to an event for the elements. The handler is executed at most once per element.</summary>\n    ///   <param name=\"events\" type=\"String\">A string containing one or more JavaScript event types, such as \"click\" or \"submit,\" or custom event names.</param>\n    ///   <param name=\"data\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute at the time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Attach a handler to an event for the elements. The handler is executed at most once per element.</summary>\n    ///   <param name=\"events\" type=\"String\">One or more space-separated event types and optional namespaces, such as \"click\" or \"keydown.myPlugin\".</param>\n    ///   <param name=\"selector\" type=\"String\">A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.</param>\n    ///   <param name=\"data\" type=\"Anything\">Data to be passed to the handler in event.data when an event is triggered.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Attach a handler to an event for the elements. The handler is executed at most once per element.</summary>\n    ///   <param name=\"events\" type=\"PlainObject\">An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).</param>\n    ///   <param name=\"selector\" type=\"String\">A selector string to filter the descendants of the selected elements that will call the handler. If the selector is null or omitted, the handler is always called when it reaches the selected element.</param>\n    ///   <param name=\"data\" type=\"Anything\">Data to be passed to the handler in event.data when an event occurs.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'only-child': function() {\n    /// <summary>Selects all elements that are the only child of their parent.</summary>\n  },\n  'only-of-type': function() {\n    /// <summary>Selects all elements that have no siblings with the same element name.</summary>\n  },\n  'outerHeight': function() {\n    /// <signature>\n    ///   <summary>Get the current computed height for the first element in the set of matched elements, including padding, border, and optionally margin. Returns an integer (without \"px\") representation of the value or null if called on an empty set of elements.</summary>\n    ///   <param name=\"includeMargin\" type=\"Boolean\">A Boolean indicating whether to include the element's margin in the calculation.</param>\n    ///   <returns type=\"Integer\" />\n    /// </signature>\n  },\n  'outerWidth': function() {\n    /// <signature>\n    ///   <summary>Get the current computed width for the first element in the set of matched elements, including padding and border.</summary>\n    ///   <param name=\"includeMargin\" type=\"Boolean\">A Boolean indicating whether to include the element's margin in the calculation.</param>\n    ///   <returns type=\"Integer\" />\n    /// </signature>\n  },\n  'parent': function() {\n    /// <signature>\n    ///   <summary>Get the parent of each element in the current set of matched elements, optionally filtered by a selector.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'parents': function() {\n    /// <signature>\n    ///   <summary>Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'parentsUntil': function() {\n    /// <signature>\n    ///   <summary>Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to indicate where to stop matching ancestor elements.</param>\n    ///   <param name=\"filter\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.</summary>\n    ///   <param name=\"element\" type=\"Element\">A DOM node or jQuery object indicating where to stop matching ancestor elements.</param>\n    ///   <param name=\"filter\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'password': function() {\n    /// <summary>Selects all elements of type password.</summary>\n  },\n  'position': function() {\n    /// <summary>Get the current coordinates of the first element in the set of matched elements, relative to the offset parent.</summary>\n    /// <returns type=\"Object\" />\n  },\n  'prepend': function() {\n    /// <signature>\n    ///   <summary>Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.</summary>\n    ///   <param name=\"content\" type=\"jQuery\">DOM element, array of elements, HTML string, or jQuery object to insert at the beginning of each element in the set of matched elements.</param>\n    ///   <param name=\"content\" type=\"jQuery\">One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the beginning of each element in the set of matched elements.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.</summary>\n    ///   <param name=\"function(index, html)\" type=\"Function\">A function that returns an HTML string, DOM element(s), or jQuery object to insert at the beginning of each element in the set of matched elements. Receives the index position of the element in the set and the old HTML value of the element as arguments. Within the function, this refers to the current element in the set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'prependTo': function() {\n    /// <signature>\n    ///   <summary>Insert every element in the set of matched elements to the beginning of the target.</summary>\n    ///   <param name=\"target\" type=\"jQuery\">A selector, element, HTML string, or jQuery object; the matched set of elements will be inserted at the beginning of the element(s) specified by this parameter.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'prev': function() {\n    /// <signature>\n    ///   <summary>Get the immediately preceding sibling of each element in the set of matched elements, optionally filtered by a selector.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'prevAll': function() {\n    /// <signature>\n    ///   <summary>Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'prevUntil': function() {\n    /// <signature>\n    ///   <summary>Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to indicate where to stop matching preceding sibling elements.</param>\n    ///   <param name=\"filter\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.</summary>\n    ///   <param name=\"element\" type=\"Element\">A DOM node or jQuery object indicating where to stop matching preceding sibling elements.</param>\n    ///   <param name=\"filter\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'promise': function() {\n    /// <signature>\n    ///   <summary>Return a Promise object to observe when all actions of a certain type bound to the collection, queued or not, have finished.</summary>\n    ///   <param name=\"type\" type=\"String\">The type of queue that needs to be observed.</param>\n    ///   <param name=\"target\" type=\"PlainObject\">Object onto which the promise methods have to be attached</param>\n    ///   <returns type=\"Promise\" />\n    /// </signature>\n  },\n  'prop': function() {\n    /// <signature>\n    ///   <summary>Set one or more properties for the set of matched elements.</summary>\n    ///   <param name=\"propertyName\" type=\"String\">The name of the property to set.</param>\n    ///   <param name=\"value\" type=\"Boolean\">A value to set for the property.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Set one or more properties for the set of matched elements.</summary>\n    ///   <param name=\"properties\" type=\"PlainObject\">An object of property-value pairs to set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Set one or more properties for the set of matched elements.</summary>\n    ///   <param name=\"propertyName\" type=\"String\">The name of the property to set.</param>\n    ///   <param name=\"function(index, oldPropertyValue)\" type=\"Function\">A function returning the value to set. Receives the index position of the element in the set and the old property value as arguments. Within the function, the keyword this refers to the current element.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'pushStack': function() {\n    /// <signature>\n    ///   <summary>Add a collection of DOM elements onto the jQuery stack.</summary>\n    ///   <param name=\"elements\" type=\"Array\">An array of elements to push onto the stack and make into a new jQuery object.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Add a collection of DOM elements onto the jQuery stack.</summary>\n    ///   <param name=\"elements\" type=\"Array\">An array of elements to push onto the stack and make into a new jQuery object.</param>\n    ///   <param name=\"name\" type=\"String\">The name of a jQuery method that generated the array of elements.</param>\n    ///   <param name=\"arguments\" type=\"Array\">The arguments that were passed in to the jQuery method (for serialization).</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'queue': function() {\n    /// <signature>\n    ///   <summary>Manipulate the queue of functions to be executed, once for each matched element.</summary>\n    ///   <param name=\"queueName\" type=\"String\">A string containing the name of the queue. Defaults to fx, the standard effects queue.</param>\n    ///   <param name=\"newQueue\" type=\"Array\">An array of functions to replace the current queue contents.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Manipulate the queue of functions to be executed, once for each matched element.</summary>\n    ///   <param name=\"queueName\" type=\"String\">A string containing the name of the queue. Defaults to fx, the standard effects queue.</param>\n    ///   <param name=\"callback( next )\" type=\"Function\">The new function to add to the queue, with a function to call that will dequeue the next item.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'radio': function() {\n    /// <summary>Selects all  elements of type radio.</summary>\n  },\n  'ready': function() {\n    /// <signature>\n    ///   <summary>Specify a function to execute when the DOM is fully loaded.</summary>\n    ///   <param name=\"handler\" type=\"Function\">A function to execute after the DOM is ready.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'remove': function() {\n    /// <signature>\n    ///   <summary>Remove the set of matched elements from the DOM.</summary>\n    ///   <param name=\"selector\" type=\"String\">A selector expression that filters the set of matched elements to be removed.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'removeAttr': function() {\n    /// <signature>\n    ///   <summary>Remove an attribute from each element in the set of matched elements.</summary>\n    ///   <param name=\"attributeName\" type=\"String\">An attribute to remove; as of version 1.7, it can be a space-separated list of attributes.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'removeClass': function() {\n    /// <signature>\n    ///   <summary>Remove a single class, multiple classes, or all classes from each element in the set of matched elements.</summary>\n    ///   <param name=\"className\" type=\"String\">One or more space-separated classes to be removed from the class attribute of each matched element.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Remove a single class, multiple classes, or all classes from each element in the set of matched elements.</summary>\n    ///   <param name=\"function(index, class)\" type=\"Function\">A function returning one or more space-separated class names to be removed. Receives the index position of the element in the set and the old class value as arguments.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'removeData': function() {\n    /// <signature>\n    ///   <summary>Remove a previously-stored piece of data.</summary>\n    ///   <param name=\"name\" type=\"String\">A string naming the piece of data to delete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Remove a previously-stored piece of data.</summary>\n    ///   <param name=\"list\" type=\"String\">An array or space-separated string naming the pieces of data to delete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'removeProp': function() {\n    /// <signature>\n    ///   <summary>Remove a property for the set of matched elements.</summary>\n    ///   <param name=\"propertyName\" type=\"String\">The name of the property to remove.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'replaceAll': function() {\n    /// <signature>\n    ///   <summary>Replace each target element with the set of matched elements.</summary>\n    ///   <param name=\"target\" type=\"String\">A selector expression indicating which element(s) to replace.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'replaceWith': function() {\n    /// <signature>\n    ///   <summary>Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.</summary>\n    ///   <param name=\"newContent\" type=\"jQuery\">The content to insert. May be an HTML string, DOM element, or jQuery object.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.</summary>\n    ///   <param name=\"function\" type=\"Function\">A function that returns content with which to replace the set of matched elements.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'reset': function() {\n    /// <summary>Selects all elements of type reset.</summary>\n  },\n  'resize': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"resize\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"resize\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'root': function() {\n    /// <signature>\n    ///   <summary>Selects the element that is the root of the document.</summary>\n    ///   <param name=\"index\" type=\"String\">The index of each child to match, starting with 1, the string even or odd, or an equation ( eg. :nth-last-child(even), :nth-last-child(4n) )</param>\n    /// </signature>\n  },\n  'scroll': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"scroll\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"scroll\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'scrollLeft': function() {\n    /// <signature>\n    ///   <summary>Set the current horizontal position of the scroll bar for each of the set of matched elements.</summary>\n    ///   <param name=\"value\" type=\"Number\">An integer indicating the new position to set the scroll bar to.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'scrollTop': function() {\n    /// <signature>\n    ///   <summary>Set the current vertical position of the scroll bar for each of the set of matched elements.</summary>\n    ///   <param name=\"value\" type=\"Number\">An integer indicating the new position to set the scroll bar to.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'select': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"select\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"select\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'selected': function() {\n    /// <summary>Selects all elements that are selected.</summary>\n  },\n  'selector': function() {\n    /// <summary>A selector representing selector originally passed to jQuery().</summary>\n    /// <returns type=\"String\" />\n  },\n  'serialize': function() {\n    /// <summary>Encode a set of form elements as a string for submission.</summary>\n    /// <returns type=\"String\" />\n  },\n  'serializeArray': function() {\n    /// <summary>Encode a set of form elements as an array of names and values.</summary>\n    /// <returns type=\"Array\" />\n  },\n  'show': function() {\n    /// <signature>\n    ///   <summary>Display the matched elements.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Display the matched elements.</summary>\n    ///   <param name=\"options\" type=\"PlainObject\">A map of additional options to pass to the method.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Display the matched elements.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"easing\" type=\"String\">A string indicating which easing function to use for the transition.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'siblings': function() {\n    /// <signature>\n    ///   <summary>Get the siblings of each element in the set of matched elements, optionally filtered by a selector.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'size': function() {\n    /// <summary>Return the number of elements in the jQuery object.</summary>\n    /// <returns type=\"Number\" />\n  },\n  'slice': function() {\n    /// <signature>\n    ///   <summary>Reduce the set of matched elements to a subset specified by a range of indices.</summary>\n    ///   <param name=\"start\" type=\"Number\">An integer indicating the 0-based position at which the elements begin to be selected. If negative, it indicates an offset from the end of the set.</param>\n    ///   <param name=\"end\" type=\"Number\">An integer indicating the 0-based position at which the elements stop being selected. If negative, it indicates an offset from the end of the set. If omitted, the range continues until the end of the set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'slideDown': function() {\n    /// <signature>\n    ///   <summary>Display the matched elements with a sliding motion.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Display the matched elements with a sliding motion.</summary>\n    ///   <param name=\"options\" type=\"PlainObject\">A map of additional options to pass to the method.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Display the matched elements with a sliding motion.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"easing\" type=\"String\">A string indicating which easing function to use for the transition.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'slideToggle': function() {\n    /// <signature>\n    ///   <summary>Display or hide the matched elements with a sliding motion.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Display or hide the matched elements with a sliding motion.</summary>\n    ///   <param name=\"options\" type=\"PlainObject\">A map of additional options to pass to the method.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Display or hide the matched elements with a sliding motion.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"easing\" type=\"String\">A string indicating which easing function to use for the transition.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'slideUp': function() {\n    /// <signature>\n    ///   <summary>Hide the matched elements with a sliding motion.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Hide the matched elements with a sliding motion.</summary>\n    ///   <param name=\"options\" type=\"PlainObject\">A map of additional options to pass to the method.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Hide the matched elements with a sliding motion.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"easing\" type=\"String\">A string indicating which easing function to use for the transition.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'stop': function() {\n    /// <signature>\n    ///   <summary>Stop the currently-running animation on the matched elements.</summary>\n    ///   <param name=\"clearQueue\" type=\"Boolean\">A Boolean indicating whether to remove queued animation as well. Defaults to false.</param>\n    ///   <param name=\"jumpToEnd\" type=\"Boolean\">A Boolean indicating whether to complete the current animation immediately. Defaults to false.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Stop the currently-running animation on the matched elements.</summary>\n    ///   <param name=\"queue\" type=\"String\">The name of the queue in which to stop animations.</param>\n    ///   <param name=\"clearQueue\" type=\"Boolean\">A Boolean indicating whether to remove queued animation as well. Defaults to false.</param>\n    ///   <param name=\"jumpToEnd\" type=\"Boolean\">A Boolean indicating whether to complete the current animation immediately. Defaults to false.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'submit': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"submit\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"submit\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'target': function() {\n    /// <summary>Selects the target element indicated by the fragment identifier of the document's URI.</summary>\n  },\n  'text': function() {\n    /// <signature>\n    ///   <summary>Set the content of each element in the set of matched elements to the specified text.</summary>\n    ///   <param name=\"textString\" type=\"String\">A string of text to set as the content of each matched element.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Set the content of each element in the set of matched elements to the specified text.</summary>\n    ///   <param name=\"function(index, text)\" type=\"Function\">A function returning the text content to set. Receives the index position of the element in the set and the old text value as arguments.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'toArray': function() {\n    /// <summary>Retrieve all the DOM elements contained in the jQuery set, as an array.</summary>\n    /// <returns type=\"Array\" />\n  },\n  'toggle': function() {\n    /// <signature>\n    ///   <summary>Display or hide the matched elements.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Display or hide the matched elements.</summary>\n    ///   <param name=\"options\" type=\"PlainObject\">A map of additional options to pass to the method.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Display or hide the matched elements.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"easing\" type=\"String\">A string indicating which easing function to use for the transition.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Display or hide the matched elements.</summary>\n    ///   <param name=\"showOrHide\" type=\"Boolean\">A Boolean indicating whether to show or hide the elements.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'toggleClass': function() {\n    /// <signature>\n    ///   <summary>Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.</summary>\n    ///   <param name=\"className\" type=\"String\">One or more class names (separated by spaces) to be toggled for each element in the matched set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.</summary>\n    ///   <param name=\"className\" type=\"String\">One or more class names (separated by spaces) to be toggled for each element in the matched set.</param>\n    ///   <param name=\"switch\" type=\"Boolean\">A Boolean (not just truthy/falsy) value to determine whether the class should be added or removed.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.</summary>\n    ///   <param name=\"switch\" type=\"Boolean\">A boolean value to determine whether the class should be added or removed.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.</summary>\n    ///   <param name=\"function(index, class, switch)\" type=\"Function\">A function that returns class names to be toggled in the class attribute of each element in the matched set. Receives the index position of the element in the set, the old class value, and the switch as arguments.</param>\n    ///   <param name=\"switch\" type=\"Boolean\">A boolean value to determine whether the class should be added or removed.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'trigger': function() {\n    /// <signature>\n    ///   <summary>Execute all handlers and behaviors attached to the matched elements for the given event type.</summary>\n    ///   <param name=\"eventType\" type=\"String\">A string containing a JavaScript event type, such as click or submit.</param>\n    ///   <param name=\"extraParameters\" type=\"PlainObject\">Additional parameters to pass along to the event handler.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Execute all handlers and behaviors attached to the matched elements for the given event type.</summary>\n    ///   <param name=\"event\" type=\"Event\">A jQuery.Event object.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'triggerHandler': function() {\n    /// <signature>\n    ///   <summary>Execute all handlers attached to an element for an event.</summary>\n    ///   <param name=\"eventType\" type=\"String\">A string containing a JavaScript event type, such as click or submit.</param>\n    ///   <param name=\"extraParameters\" type=\"Array\">An array of additional parameters to pass along to the event handler.</param>\n    ///   <returns type=\"Object\" />\n    /// </signature>\n  },\n  'unbind': function() {\n    /// <signature>\n    ///   <summary>Remove a previously-attached event handler from the elements.</summary>\n    ///   <param name=\"eventType\" type=\"String\">A string containing a JavaScript event type, such as click or submit.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">The function that is to be no longer executed.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Remove a previously-attached event handler from the elements.</summary>\n    ///   <param name=\"eventType\" type=\"String\">A string containing a JavaScript event type, such as click or submit.</param>\n    ///   <param name=\"false\" type=\"Boolean\">Unbinds the corresponding 'return false' function that was bound using .bind( eventType, false ).</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Remove a previously-attached event handler from the elements.</summary>\n    ///   <param name=\"event\" type=\"Object\">A JavaScript event object as passed to an event handler.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'undelegate': function() {\n    /// <signature>\n    ///   <summary>Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.</summary>\n    ///   <param name=\"selector\" type=\"String\">A selector which will be used to filter the event results.</param>\n    ///   <param name=\"eventType\" type=\"String\">A string containing a JavaScript event type, such as \"click\" or \"keydown\"</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.</summary>\n    ///   <param name=\"selector\" type=\"String\">A selector which will be used to filter the event results.</param>\n    ///   <param name=\"eventType\" type=\"String\">A string containing a JavaScript event type, such as \"click\" or \"keydown\"</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute at the time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.</summary>\n    ///   <param name=\"selector\" type=\"String\">A selector which will be used to filter the event results.</param>\n    ///   <param name=\"events\" type=\"PlainObject\">An object of one or more event types and previously bound functions to unbind from them.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.</summary>\n    ///   <param name=\"namespace\" type=\"String\">A string containing a namespace to unbind all events from.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'unload': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"unload\" JavaScript event.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute when the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"unload\" JavaScript event.</summary>\n    ///   <param name=\"eventData\" type=\"Object\">A plain object of data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'unwrap': function() {\n    /// <summary>Remove the parents of the set of matched elements from the DOM, leaving the matched elements in their place.</summary>\n    /// <returns type=\"jQuery\" />\n  },\n  'val': function() {\n    /// <signature>\n    ///   <summary>Set the value of each element in the set of matched elements.</summary>\n    ///   <param name=\"value\" type=\"Array\">A string of text or an array of strings corresponding to the value of each matched element to set as selected/checked.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Set the value of each element in the set of matched elements.</summary>\n    ///   <param name=\"function(index, value)\" type=\"Function\">A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as arguments.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'visible': function() {\n    /// <summary>Selects all elements that are visible.</summary>\n  },\n  'width': function() {\n    /// <signature>\n    ///   <summary>Set the CSS width of each element in the set of matched elements.</summary>\n    ///   <param name=\"value\" type=\"Number\">An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Set the CSS width of each element in the set of matched elements.</summary>\n    ///   <param name=\"function(index, width)\" type=\"Function\">A function returning the width to set. Receives the index position of the element in the set and the old width as arguments. Within the function, this refers to the current element in the set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'wrap': function() {\n    /// <signature>\n    ///   <summary>Wrap an HTML structure around each element in the set of matched elements.</summary>\n    ///   <param name=\"wrappingElement\" type=\"jQuery\">An HTML snippet, selector expression, jQuery object, or DOM element specifying the structure to wrap around the matched elements.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Wrap an HTML structure around each element in the set of matched elements.</summary>\n    ///   <param name=\"function(index)\" type=\"Function\">A callback function returning the HTML content or jQuery object to wrap around the matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'wrapAll': function() {\n    /// <signature>\n    ///   <summary>Wrap an HTML structure around all elements in the set of matched elements.</summary>\n    ///   <param name=\"wrappingElement\" type=\"jQuery\">An HTML snippet, selector expression, jQuery object, or DOM element specifying the structure to wrap around the matched elements.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'wrapInner': function() {\n    /// <signature>\n    ///   <summary>Wrap an HTML structure around the content of each element in the set of matched elements.</summary>\n    ///   <param name=\"wrappingElement\" type=\"String\">An HTML snippet, selector expression, jQuery object, or DOM element specifying the structure to wrap around the content of the matched elements.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Wrap an HTML structure around the content of each element in the set of matched elements.</summary>\n    ///   <param name=\"function(index)\" type=\"Function\">A callback function which generates a structure to wrap around the content of the matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n});\n\nintellisense.annotate(window, {\n  '$': function() {\n    /// <signature>\n    ///   <summary>Accepts a string containing a CSS selector which is then used to match a set of elements.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression</param>\n    ///   <param name=\"context\" type=\"jQuery\">A DOM Element, Document, or jQuery to use as context</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Accepts a string containing a CSS selector which is then used to match a set of elements.</summary>\n    ///   <param name=\"element\" type=\"Element\">A DOM element to wrap in a jQuery object.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Accepts a string containing a CSS selector which is then used to match a set of elements.</summary>\n    ///   <param name=\"elementArray\" type=\"Array\">An array containing a set of DOM elements to wrap in a jQuery object.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Accepts a string containing a CSS selector which is then used to match a set of elements.</summary>\n    ///   <param name=\"object\" type=\"PlainObject\">A plain object to wrap in a jQuery object.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Accepts a string containing a CSS selector which is then used to match a set of elements.</summary>\n    ///   <param name=\"jQuery object\" type=\"PlainObject\">An existing jQuery object to clone.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n});\n\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/jquery-1.10.2.js",
    "content": "/* NUGET: BEGIN LICENSE TEXT\n *\n * Microsoft grants you the right to use these script files for the sole\n * purpose of either: (i) interacting through your browser with the Microsoft\n * website or online service, subject to the applicable licensing or use\n * terms; or (ii) using the files as included with a Microsoft product subject\n * to that product's license terms. Microsoft reserves all other rights to the\n * files not expressly granted by Microsoft, whether by implication, estoppel\n * or otherwise. Insofar as a script file is dual licensed under GPL,\n * Microsoft neither took the code under GPL nor distributes it thereunder but\n * under the terms set out in this paragraph. All notices and licenses\n * below are for informational purposes only.\n *\n * NUGET: END LICENSE TEXT */\n/*!\n * jQuery JavaScript Library v1.10.2\n * http://jquery.com/\n *\n * Includes Sizzle.js\n * http://sizzlejs.com/\n *\n * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors\n * Released under the MIT license\n * http://jquery.org/license\n *\n * Date: 2013-07-03T13:48Z\n */\n(function( window, undefined ) {\n\n// Can't do this because several apps including ASP.NET trace\n// the stack via arguments.caller.callee and Firefox dies if\n// you try to trace through \"use strict\" call chains. (#13335)\n// Support: Firefox 18+\n//\"use strict\";\nvar\n\t// The deferred used on DOM ready\n\treadyList,\n\n\t// A central reference to the root jQuery(document)\n\trootjQuery,\n\n\t// Support: IE<10\n\t// For `typeof xmlNode.method` instead of `xmlNode.method !== undefined`\n\tcore_strundefined = typeof undefined,\n\n\t// Use the correct document accordingly with window argument (sandbox)\n\tlocation = window.location,\n\tdocument = window.document,\n\tdocElem = document.documentElement,\n\n\t// Map over jQuery in case of overwrite\n\t_jQuery = window.jQuery,\n\n\t// Map over the $ in case of overwrite\n\t_$ = window.$,\n\n\t// [[Class]] -> type pairs\n\tclass2type = {},\n\n\t// List of deleted data cache ids, so we can reuse them\n\tcore_deletedIds = [],\n\n\tcore_version = \"1.10.2\",\n\n\t// Save a reference to some core methods\n\tcore_concat = core_deletedIds.concat,\n\tcore_push = core_deletedIds.push,\n\tcore_slice = core_deletedIds.slice,\n\tcore_indexOf = core_deletedIds.indexOf,\n\tcore_toString = class2type.toString,\n\tcore_hasOwn = class2type.hasOwnProperty,\n\tcore_trim = core_version.trim,\n\n\t// Define a local copy of jQuery\n\tjQuery = function( selector, context ) {\n\t\t// The jQuery object is actually just the init constructor 'enhanced'\n\t\treturn new jQuery.fn.init( selector, context, rootjQuery );\n\t},\n\n\t// Used for matching numbers\n\tcore_pnum = /[+-]?(?:\\d*\\.|)\\d+(?:[eE][+-]?\\d+|)/.source,\n\n\t// Used for splitting on whitespace\n\tcore_rnotwhite = /\\S+/g,\n\n\t// Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE)\n\trtrim = /^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g,\n\n\t// A simple way to check for HTML strings\n\t// Prioritize #id over <tag> to avoid XSS via location.hash (#9521)\n\t// Strict HTML recognition (#11290: must start with <)\n\trquickExpr = /^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]*))$/,\n\n\t// Match a standalone tag\n\trsingleTag = /^<(\\w+)\\s*\\/?>(?:<\\/\\1>|)$/,\n\n\t// JSON RegExp\n\trvalidchars = /^[\\],:{}\\s]*$/,\n\trvalidbraces = /(?:^|:|,)(?:\\s*\\[)+/g,\n\trvalidescape = /\\\\(?:[\"\\\\\\/bfnrt]|u[\\da-fA-F]{4})/g,\n\trvalidtokens = /\"[^\"\\\\\\r\\n]*\"|true|false|null|-?(?:\\d+\\.|)\\d+(?:[eE][+-]?\\d+|)/g,\n\n\t// Matches dashed string for camelizing\n\trmsPrefix = /^-ms-/,\n\trdashAlpha = /-([\\da-z])/gi,\n\n\t// Used by jQuery.camelCase as callback to replace()\n\tfcamelCase = function( all, letter ) {\n\t\treturn letter.toUpperCase();\n\t},\n\n\t// The ready event handler\n\tcompleted = function( event ) {\n\n\t\t// readyState === \"complete\" is good enough for us to call the dom ready in oldIE\n\t\tif ( document.addEventListener || event.type === \"load\" || document.readyState === \"complete\" ) {\n\t\t\tdetach();\n\t\t\tjQuery.ready();\n\t\t}\n\t},\n\t// Clean-up method for dom ready events\n\tdetach = function() {\n\t\tif ( document.addEventListener ) {\n\t\t\tdocument.removeEventListener( \"DOMContentLoaded\", completed, false );\n\t\t\twindow.removeEventListener( \"load\", completed, false );\n\n\t\t} else {\n\t\t\tdocument.detachEvent( \"onreadystatechange\", completed );\n\t\t\twindow.detachEvent( \"onload\", completed );\n\t\t}\n\t};\n\njQuery.fn = jQuery.prototype = {\n\t// The current version of jQuery being used\n\tjquery: core_version,\n\n\tconstructor: jQuery,\n\tinit: function( selector, context, rootjQuery ) {\n\t\tvar match, elem;\n\n\t\t// HANDLE: $(\"\"), $(null), $(undefined), $(false)\n\t\tif ( !selector ) {\n\t\t\treturn this;\n\t\t}\n\n\t\t// Handle HTML strings\n\t\tif ( typeof selector === \"string\" ) {\n\t\t\tif ( selector.charAt(0) === \"<\" && selector.charAt( selector.length - 1 ) === \">\" && selector.length >= 3 ) {\n\t\t\t\t// Assume that strings that start and end with <> are HTML and skip the regex check\n\t\t\t\tmatch = [ null, selector, null ];\n\n\t\t\t} else {\n\t\t\t\tmatch = rquickExpr.exec( selector );\n\t\t\t}\n\n\t\t\t// Match html or make sure no context is specified for #id\n\t\t\tif ( match && (match[1] || !context) ) {\n\n\t\t\t\t// HANDLE: $(html) -> $(array)\n\t\t\t\tif ( match[1] ) {\n\t\t\t\t\tcontext = context instanceof jQuery ? context[0] : context;\n\n\t\t\t\t\t// scripts is true for back-compat\n\t\t\t\t\tjQuery.merge( this, jQuery.parseHTML(\n\t\t\t\t\t\tmatch[1],\n\t\t\t\t\t\tcontext && context.nodeType ? context.ownerDocument || context : document,\n\t\t\t\t\t\ttrue\n\t\t\t\t\t) );\n\n\t\t\t\t\t// HANDLE: $(html, props)\n\t\t\t\t\tif ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) {\n\t\t\t\t\t\tfor ( match in context ) {\n\t\t\t\t\t\t\t// Properties of context are called as methods if possible\n\t\t\t\t\t\t\tif ( jQuery.isFunction( this[ match ] ) ) {\n\t\t\t\t\t\t\t\tthis[ match ]( context[ match ] );\n\n\t\t\t\t\t\t\t// ...and otherwise set as attributes\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tthis.attr( match, context[ match ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn this;\n\n\t\t\t\t// HANDLE: $(#id)\n\t\t\t\t} else {\n\t\t\t\t\telem = document.getElementById( match[2] );\n\n\t\t\t\t\t// Check parentNode to catch when Blackberry 4.6 returns\n\t\t\t\t\t// nodes that are no longer in the document #6963\n\t\t\t\t\tif ( elem && elem.parentNode ) {\n\t\t\t\t\t\t// Handle the case where IE and Opera return items\n\t\t\t\t\t\t// by name instead of ID\n\t\t\t\t\t\tif ( elem.id !== match[2] ) {\n\t\t\t\t\t\t\treturn rootjQuery.find( selector );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Otherwise, we inject the element directly into the jQuery object\n\t\t\t\t\t\tthis.length = 1;\n\t\t\t\t\t\tthis[0] = elem;\n\t\t\t\t\t}\n\n\t\t\t\t\tthis.context = document;\n\t\t\t\t\tthis.selector = selector;\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\n\t\t\t// HANDLE: $(expr, $(...))\n\t\t\t} else if ( !context || context.jquery ) {\n\t\t\t\treturn ( context || rootjQuery ).find( selector );\n\n\t\t\t// HANDLE: $(expr, context)\n\t\t\t// (which is just equivalent to: $(context).find(expr)\n\t\t\t} else {\n\t\t\t\treturn this.constructor( context ).find( selector );\n\t\t\t}\n\n\t\t// HANDLE: $(DOMElement)\n\t\t} else if ( selector.nodeType ) {\n\t\t\tthis.context = this[0] = selector;\n\t\t\tthis.length = 1;\n\t\t\treturn this;\n\n\t\t// HANDLE: $(function)\n\t\t// Shortcut for document ready\n\t\t} else if ( jQuery.isFunction( selector ) ) {\n\t\t\treturn rootjQuery.ready( selector );\n\t\t}\n\n\t\tif ( selector.selector !== undefined ) {\n\t\t\tthis.selector = selector.selector;\n\t\t\tthis.context = selector.context;\n\t\t}\n\n\t\treturn jQuery.makeArray( selector, this );\n\t},\n\n\t// Start with an empty selector\n\tselector: \"\",\n\n\t// The default length of a jQuery object is 0\n\tlength: 0,\n\n\ttoArray: function() {\n\t\treturn core_slice.call( this );\n\t},\n\n\t// Get the Nth element in the matched element set OR\n\t// Get the whole matched element set as a clean array\n\tget: function( num ) {\n\t\treturn num == null ?\n\n\t\t\t// Return a 'clean' array\n\t\t\tthis.toArray() :\n\n\t\t\t// Return just the object\n\t\t\t( num < 0 ? this[ this.length + num ] : this[ num ] );\n\t},\n\n\t// Take an array of elements and push it onto the stack\n\t// (returning the new matched element set)\n\tpushStack: function( elems ) {\n\n\t\t// Build a new jQuery matched element set\n\t\tvar ret = jQuery.merge( this.constructor(), elems );\n\n\t\t// Add the old object onto the stack (as a reference)\n\t\tret.prevObject = this;\n\t\tret.context = this.context;\n\n\t\t// Return the newly-formed element set\n\t\treturn ret;\n\t},\n\n\t// Execute a callback for every element in the matched set.\n\t// (You can seed the arguments with an array of args, but this is\n\t// only used internally.)\n\teach: function( callback, args ) {\n\t\treturn jQuery.each( this, callback, args );\n\t},\n\n\tready: function( fn ) {\n\t\t// Add the callback\n\t\tjQuery.ready.promise().done( fn );\n\n\t\treturn this;\n\t},\n\n\tslice: function() {\n\t\treturn this.pushStack( core_slice.apply( this, arguments ) );\n\t},\n\n\tfirst: function() {\n\t\treturn this.eq( 0 );\n\t},\n\n\tlast: function() {\n\t\treturn this.eq( -1 );\n\t},\n\n\teq: function( i ) {\n\t\tvar len = this.length,\n\t\t\tj = +i + ( i < 0 ? len : 0 );\n\t\treturn this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] );\n\t},\n\n\tmap: function( callback ) {\n\t\treturn this.pushStack( jQuery.map(this, function( elem, i ) {\n\t\t\treturn callback.call( elem, i, elem );\n\t\t}));\n\t},\n\n\tend: function() {\n\t\treturn this.prevObject || this.constructor(null);\n\t},\n\n\t// For internal use only.\n\t// Behaves like an Array's method, not like a jQuery method.\n\tpush: core_push,\n\tsort: [].sort,\n\tsplice: [].splice\n};\n\n// Give the init function the jQuery prototype for later instantiation\njQuery.fn.init.prototype = jQuery.fn;\n\njQuery.extend = jQuery.fn.extend = function() {\n\tvar src, copyIsArray, copy, name, options, clone,\n\t\ttarget = arguments[0] || {},\n\t\ti = 1,\n\t\tlength = arguments.length,\n\t\tdeep = false;\n\n\t// Handle a deep copy situation\n\tif ( typeof target === \"boolean\" ) {\n\t\tdeep = target;\n\t\ttarget = arguments[1] || {};\n\t\t// skip the boolean and the target\n\t\ti = 2;\n\t}\n\n\t// Handle case when target is a string or something (possible in deep copy)\n\tif ( typeof target !== \"object\" && !jQuery.isFunction(target) ) {\n\t\ttarget = {};\n\t}\n\n\t// extend jQuery itself if only one argument is passed\n\tif ( length === i ) {\n\t\ttarget = this;\n\t\t--i;\n\t}\n\n\tfor ( ; i < length; i++ ) {\n\t\t// Only deal with non-null/undefined values\n\t\tif ( (options = arguments[ i ]) != null ) {\n\t\t\t// Extend the base object\n\t\t\tfor ( name in options ) {\n\t\t\t\tsrc = target[ name ];\n\t\t\t\tcopy = options[ name ];\n\n\t\t\t\t// Prevent never-ending loop\n\t\t\t\tif ( target === copy ) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// Recurse if we're merging plain objects or arrays\n\t\t\t\tif ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) {\n\t\t\t\t\tif ( copyIsArray ) {\n\t\t\t\t\t\tcopyIsArray = false;\n\t\t\t\t\t\tclone = src && jQuery.isArray(src) ? src : [];\n\n\t\t\t\t\t} else {\n\t\t\t\t\t\tclone = src && jQuery.isPlainObject(src) ? src : {};\n\t\t\t\t\t}\n\n\t\t\t\t\t// Never move original objects, clone them\n\t\t\t\t\ttarget[ name ] = jQuery.extend( deep, clone, copy );\n\n\t\t\t\t// Don't bring in undefined values\n\t\t\t\t} else if ( copy !== undefined ) {\n\t\t\t\t\ttarget[ name ] = copy;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Return the modified object\n\treturn target;\n};\n\njQuery.extend({\n\t// Unique for each copy of jQuery on the page\n\t// Non-digits removed to match rinlinejQuery\n\texpando: \"jQuery\" + ( core_version + Math.random() ).replace( /\\D/g, \"\" ),\n\n\tnoConflict: function( deep ) {\n\t\tif ( window.$ === jQuery ) {\n\t\t\twindow.$ = _$;\n\t\t}\n\n\t\tif ( deep && window.jQuery === jQuery ) {\n\t\t\twindow.jQuery = _jQuery;\n\t\t}\n\n\t\treturn jQuery;\n\t},\n\n\t// Is the DOM ready to be used? Set to true once it occurs.\n\tisReady: false,\n\n\t// A counter to track how many items to wait for before\n\t// the ready event fires. See #6781\n\treadyWait: 1,\n\n\t// Hold (or release) the ready event\n\tholdReady: function( hold ) {\n\t\tif ( hold ) {\n\t\t\tjQuery.readyWait++;\n\t\t} else {\n\t\t\tjQuery.ready( true );\n\t\t}\n\t},\n\n\t// Handle when the DOM is ready\n\tready: function( wait ) {\n\n\t\t// Abort if there are pending holds or we're already ready\n\t\tif ( wait === true ? --jQuery.readyWait : jQuery.isReady ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443).\n\t\tif ( !document.body ) {\n\t\t\treturn setTimeout( jQuery.ready );\n\t\t}\n\n\t\t// Remember that the DOM is ready\n\t\tjQuery.isReady = true;\n\n\t\t// If a normal DOM Ready event fired, decrement, and wait if need be\n\t\tif ( wait !== true && --jQuery.readyWait > 0 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// If there are functions bound, to execute\n\t\treadyList.resolveWith( document, [ jQuery ] );\n\n\t\t// Trigger any bound ready events\n\t\tif ( jQuery.fn.trigger ) {\n\t\t\tjQuery( document ).trigger(\"ready\").off(\"ready\");\n\t\t}\n\t},\n\n\t// See test/unit/core.js for details concerning isFunction.\n\t// Since version 1.3, DOM methods and functions like alert\n\t// aren't supported. They return false on IE (#2968).\n\tisFunction: function( obj ) {\n\t\treturn jQuery.type(obj) === \"function\";\n\t},\n\n\tisArray: Array.isArray || function( obj ) {\n\t\treturn jQuery.type(obj) === \"array\";\n\t},\n\n\tisWindow: function( obj ) {\n\t\t/* jshint eqeqeq: false */\n\t\treturn obj != null && obj == obj.window;\n\t},\n\n\tisNumeric: function( obj ) {\n\t\treturn !isNaN( parseFloat(obj) ) && isFinite( obj );\n\t},\n\n\ttype: function( obj ) {\n\t\tif ( obj == null ) {\n\t\t\treturn String( obj );\n\t\t}\n\t\treturn typeof obj === \"object\" || typeof obj === \"function\" ?\n\t\t\tclass2type[ core_toString.call(obj) ] || \"object\" :\n\t\t\ttypeof obj;\n\t},\n\n\tisPlainObject: function( obj ) {\n\t\tvar key;\n\n\t\t// Must be an Object.\n\t\t// Because of IE, we also have to check the presence of the constructor property.\n\t\t// Make sure that DOM nodes and window objects don't pass through, as well\n\t\tif ( !obj || jQuery.type(obj) !== \"object\" || obj.nodeType || jQuery.isWindow( obj ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\ttry {\n\t\t\t// Not own constructor property must be Object\n\t\t\tif ( obj.constructor &&\n\t\t\t\t!core_hasOwn.call(obj, \"constructor\") &&\n\t\t\t\t!core_hasOwn.call(obj.constructor.prototype, \"isPrototypeOf\") ) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t} catch ( e ) {\n\t\t\t// IE8,9 Will throw exceptions on certain host objects #9897\n\t\t\treturn false;\n\t\t}\n\n\t\t// Support: IE<9\n\t\t// Handle iteration over inherited properties before own properties.\n\t\tif ( jQuery.support.ownLast ) {\n\t\t\tfor ( key in obj ) {\n\t\t\t\treturn core_hasOwn.call( obj, key );\n\t\t\t}\n\t\t}\n\n\t\t// Own properties are enumerated firstly, so to speed up,\n\t\t// if last one is own, then all properties are own.\n\t\tfor ( key in obj ) {}\n\n\t\treturn key === undefined || core_hasOwn.call( obj, key );\n\t},\n\n\tisEmptyObject: function( obj ) {\n\t\tvar name;\n\t\tfor ( name in obj ) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t},\n\n\terror: function( msg ) {\n\t\tthrow new Error( msg );\n\t},\n\n\t// data: string of html\n\t// context (optional): If specified, the fragment will be created in this context, defaults to document\n\t// keepScripts (optional): If true, will include scripts passed in the html string\n\tparseHTML: function( data, context, keepScripts ) {\n\t\tif ( !data || typeof data !== \"string\" ) {\n\t\t\treturn null;\n\t\t}\n\t\tif ( typeof context === \"boolean\" ) {\n\t\t\tkeepScripts = context;\n\t\t\tcontext = false;\n\t\t}\n\t\tcontext = context || document;\n\n\t\tvar parsed = rsingleTag.exec( data ),\n\t\t\tscripts = !keepScripts && [];\n\n\t\t// Single tag\n\t\tif ( parsed ) {\n\t\t\treturn [ context.createElement( parsed[1] ) ];\n\t\t}\n\n\t\tparsed = jQuery.buildFragment( [ data ], context, scripts );\n\t\tif ( scripts ) {\n\t\t\tjQuery( scripts ).remove();\n\t\t}\n\t\treturn jQuery.merge( [], parsed.childNodes );\n\t},\n\n\tparseJSON: function( data ) {\n\t\t// Attempt to parse using the native JSON parser first\n\t\tif ( window.JSON && window.JSON.parse ) {\n\t\t\treturn window.JSON.parse( data );\n\t\t}\n\n\t\tif ( data === null ) {\n\t\t\treturn data;\n\t\t}\n\n\t\tif ( typeof data === \"string\" ) {\n\n\t\t\t// Make sure leading/trailing whitespace is removed (IE can't handle it)\n\t\t\tdata = jQuery.trim( data );\n\n\t\t\tif ( data ) {\n\t\t\t\t// Make sure the incoming data is actual JSON\n\t\t\t\t// Logic borrowed from http://json.org/json2.js\n\t\t\t\tif ( rvalidchars.test( data.replace( rvalidescape, \"@\" )\n\t\t\t\t\t.replace( rvalidtokens, \"]\" )\n\t\t\t\t\t.replace( rvalidbraces, \"\")) ) {\n\n\t\t\t\t\treturn ( new Function( \"return \" + data ) )();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tjQuery.error( \"Invalid JSON: \" + data );\n\t},\n\n\t// Cross-browser xml parsing\n\tparseXML: function( data ) {\n\t\tvar xml, tmp;\n\t\tif ( !data || typeof data !== \"string\" ) {\n\t\t\treturn null;\n\t\t}\n\t\ttry {\n\t\t\tif ( window.DOMParser ) { // Standard\n\t\t\t\ttmp = new DOMParser();\n\t\t\t\txml = tmp.parseFromString( data , \"text/xml\" );\n\t\t\t} else { // IE\n\t\t\t\txml = new ActiveXObject( \"Microsoft.XMLDOM\" );\n\t\t\t\txml.async = \"false\";\n\t\t\t\txml.loadXML( data );\n\t\t\t}\n\t\t} catch( e ) {\n\t\t\txml = undefined;\n\t\t}\n\t\tif ( !xml || !xml.documentElement || xml.getElementsByTagName( \"parsererror\" ).length ) {\n\t\t\tjQuery.error( \"Invalid XML: \" + data );\n\t\t}\n\t\treturn xml;\n\t},\n\n\tnoop: function() {},\n\n\t// Evaluates a script in a global context\n\t// Workarounds based on findings by Jim Driscoll\n\t// http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context\n\tglobalEval: function( data ) {\n\t\tif ( data && jQuery.trim( data ) ) {\n\t\t\t// We use execScript on Internet Explorer\n\t\t\t// We use an anonymous function so that context is window\n\t\t\t// rather than jQuery in Firefox\n\t\t\t( window.execScript || function( data ) {\n\t\t\t\twindow[ \"eval\" ].call( window, data );\n\t\t\t} )( data );\n\t\t}\n\t},\n\n\t// Convert dashed to camelCase; used by the css and data modules\n\t// Microsoft forgot to hump their vendor prefix (#9572)\n\tcamelCase: function( string ) {\n\t\treturn string.replace( rmsPrefix, \"ms-\" ).replace( rdashAlpha, fcamelCase );\n\t},\n\n\tnodeName: function( elem, name ) {\n\t\treturn elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();\n\t},\n\n\t// args is for internal usage only\n\teach: function( obj, callback, args ) {\n\t\tvar value,\n\t\t\ti = 0,\n\t\t\tlength = obj.length,\n\t\t\tisArray = isArraylike( obj );\n\n\t\tif ( args ) {\n\t\t\tif ( isArray ) {\n\t\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\t\tvalue = callback.apply( obj[ i ], args );\n\n\t\t\t\t\tif ( value === false ) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor ( i in obj ) {\n\t\t\t\t\tvalue = callback.apply( obj[ i ], args );\n\n\t\t\t\t\tif ( value === false ) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t// A special, fast, case for the most common use of each\n\t\t} else {\n\t\t\tif ( isArray ) {\n\t\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\t\tvalue = callback.call( obj[ i ], i, obj[ i ] );\n\n\t\t\t\t\tif ( value === false ) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor ( i in obj ) {\n\t\t\t\t\tvalue = callback.call( obj[ i ], i, obj[ i ] );\n\n\t\t\t\t\tif ( value === false ) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn obj;\n\t},\n\n\t// Use native String.trim function wherever possible\n\ttrim: core_trim && !core_trim.call(\"\\uFEFF\\xA0\") ?\n\t\tfunction( text ) {\n\t\t\treturn text == null ?\n\t\t\t\t\"\" :\n\t\t\t\tcore_trim.call( text );\n\t\t} :\n\n\t\t// Otherwise use our own trimming functionality\n\t\tfunction( text ) {\n\t\t\treturn text == null ?\n\t\t\t\t\"\" :\n\t\t\t\t( text + \"\" ).replace( rtrim, \"\" );\n\t\t},\n\n\t// results is for internal usage only\n\tmakeArray: function( arr, results ) {\n\t\tvar ret = results || [];\n\n\t\tif ( arr != null ) {\n\t\t\tif ( isArraylike( Object(arr) ) ) {\n\t\t\t\tjQuery.merge( ret,\n\t\t\t\t\ttypeof arr === \"string\" ?\n\t\t\t\t\t[ arr ] : arr\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tcore_push.call( ret, arr );\n\t\t\t}\n\t\t}\n\n\t\treturn ret;\n\t},\n\n\tinArray: function( elem, arr, i ) {\n\t\tvar len;\n\n\t\tif ( arr ) {\n\t\t\tif ( core_indexOf ) {\n\t\t\t\treturn core_indexOf.call( arr, elem, i );\n\t\t\t}\n\n\t\t\tlen = arr.length;\n\t\t\ti = i ? i < 0 ? Math.max( 0, len + i ) : i : 0;\n\n\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\t// Skip accessing in sparse arrays\n\t\t\t\tif ( i in arr && arr[ i ] === elem ) {\n\t\t\t\t\treturn i;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn -1;\n\t},\n\n\tmerge: function( first, second ) {\n\t\tvar l = second.length,\n\t\t\ti = first.length,\n\t\t\tj = 0;\n\n\t\tif ( typeof l === \"number\" ) {\n\t\t\tfor ( ; j < l; j++ ) {\n\t\t\t\tfirst[ i++ ] = second[ j ];\n\t\t\t}\n\t\t} else {\n\t\t\twhile ( second[j] !== undefined ) {\n\t\t\t\tfirst[ i++ ] = second[ j++ ];\n\t\t\t}\n\t\t}\n\n\t\tfirst.length = i;\n\n\t\treturn first;\n\t},\n\n\tgrep: function( elems, callback, inv ) {\n\t\tvar retVal,\n\t\t\tret = [],\n\t\t\ti = 0,\n\t\t\tlength = elems.length;\n\t\tinv = !!inv;\n\n\t\t// Go through the array, only saving the items\n\t\t// that pass the validator function\n\t\tfor ( ; i < length; i++ ) {\n\t\t\tretVal = !!callback( elems[ i ], i );\n\t\t\tif ( inv !== retVal ) {\n\t\t\t\tret.push( elems[ i ] );\n\t\t\t}\n\t\t}\n\n\t\treturn ret;\n\t},\n\n\t// arg is for internal usage only\n\tmap: function( elems, callback, arg ) {\n\t\tvar value,\n\t\t\ti = 0,\n\t\t\tlength = elems.length,\n\t\t\tisArray = isArraylike( elems ),\n\t\t\tret = [];\n\n\t\t// Go through the array, translating each of the items to their\n\t\tif ( isArray ) {\n\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\tvalue = callback( elems[ i ], i, arg );\n\n\t\t\t\tif ( value != null ) {\n\t\t\t\t\tret[ ret.length ] = value;\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Go through every key on the object,\n\t\t} else {\n\t\t\tfor ( i in elems ) {\n\t\t\t\tvalue = callback( elems[ i ], i, arg );\n\n\t\t\t\tif ( value != null ) {\n\t\t\t\t\tret[ ret.length ] = value;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Flatten any nested arrays\n\t\treturn core_concat.apply( [], ret );\n\t},\n\n\t// A global GUID counter for objects\n\tguid: 1,\n\n\t// Bind a function to a context, optionally partially applying any\n\t// arguments.\n\tproxy: function( fn, context ) {\n\t\tvar args, proxy, tmp;\n\n\t\tif ( typeof context === \"string\" ) {\n\t\t\ttmp = fn[ context ];\n\t\t\tcontext = fn;\n\t\t\tfn = tmp;\n\t\t}\n\n\t\t// Quick check to determine if target is callable, in the spec\n\t\t// this throws a TypeError, but we will just return undefined.\n\t\tif ( !jQuery.isFunction( fn ) ) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\t// Simulated bind\n\t\targs = core_slice.call( arguments, 2 );\n\t\tproxy = function() {\n\t\t\treturn fn.apply( context || this, args.concat( core_slice.call( arguments ) ) );\n\t\t};\n\n\t\t// Set the guid of unique handler to the same of original handler, so it can be removed\n\t\tproxy.guid = fn.guid = fn.guid || jQuery.guid++;\n\n\t\treturn proxy;\n\t},\n\n\t// Multifunctional method to get and set values of a collection\n\t// The value/s can optionally be executed if it's a function\n\taccess: function( elems, fn, key, value, chainable, emptyGet, raw ) {\n\t\tvar i = 0,\n\t\t\tlength = elems.length,\n\t\t\tbulk = key == null;\n\n\t\t// Sets many values\n\t\tif ( jQuery.type( key ) === \"object\" ) {\n\t\t\tchainable = true;\n\t\t\tfor ( i in key ) {\n\t\t\t\tjQuery.access( elems, fn, i, key[i], true, emptyGet, raw );\n\t\t\t}\n\n\t\t// Sets one value\n\t\t} else if ( value !== undefined ) {\n\t\t\tchainable = true;\n\n\t\t\tif ( !jQuery.isFunction( value ) ) {\n\t\t\t\traw = true;\n\t\t\t}\n\n\t\t\tif ( bulk ) {\n\t\t\t\t// Bulk operations run against the entire set\n\t\t\t\tif ( raw ) {\n\t\t\t\t\tfn.call( elems, value );\n\t\t\t\t\tfn = null;\n\n\t\t\t\t// ...except when executing function values\n\t\t\t\t} else {\n\t\t\t\t\tbulk = fn;\n\t\t\t\t\tfn = function( elem, key, value ) {\n\t\t\t\t\t\treturn bulk.call( jQuery( elem ), value );\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( fn ) {\n\t\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\t\tfn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn chainable ?\n\t\t\telems :\n\n\t\t\t// Gets\n\t\t\tbulk ?\n\t\t\t\tfn.call( elems ) :\n\t\t\t\tlength ? fn( elems[0], key ) : emptyGet;\n\t},\n\n\tnow: function() {\n\t\treturn ( new Date() ).getTime();\n\t},\n\n\t// A method for quickly swapping in/out CSS properties to get correct calculations.\n\t// Note: this method belongs to the css module but it's needed here for the support module.\n\t// If support gets modularized, this method should be moved back to the css module.\n\tswap: function( elem, options, callback, args ) {\n\t\tvar ret, name,\n\t\t\told = {};\n\n\t\t// Remember the old values, and insert the new ones\n\t\tfor ( name in options ) {\n\t\t\told[ name ] = elem.style[ name ];\n\t\t\telem.style[ name ] = options[ name ];\n\t\t}\n\n\t\tret = callback.apply( elem, args || [] );\n\n\t\t// Revert the old values\n\t\tfor ( name in options ) {\n\t\t\telem.style[ name ] = old[ name ];\n\t\t}\n\n\t\treturn ret;\n\t}\n});\n\njQuery.ready.promise = function( obj ) {\n\tif ( !readyList ) {\n\n\t\treadyList = jQuery.Deferred();\n\n\t\t// Catch cases where $(document).ready() is called after the browser event has already occurred.\n\t\t// we once tried to use readyState \"interactive\" here, but it caused issues like the one\n\t\t// discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15\n\t\tif ( document.readyState === \"complete\" ) {\n\t\t\t// Handle it asynchronously to allow scripts the opportunity to delay ready\n\t\t\tsetTimeout( jQuery.ready );\n\n\t\t// Standards-based browsers support DOMContentLoaded\n\t\t} else if ( document.addEventListener ) {\n\t\t\t// Use the handy event callback\n\t\t\tdocument.addEventListener( \"DOMContentLoaded\", completed, false );\n\n\t\t\t// A fallback to window.onload, that will always work\n\t\t\twindow.addEventListener( \"load\", completed, false );\n\n\t\t// If IE event model is used\n\t\t} else {\n\t\t\t// Ensure firing before onload, maybe late but safe also for iframes\n\t\t\tdocument.attachEvent( \"onreadystatechange\", completed );\n\n\t\t\t// A fallback to window.onload, that will always work\n\t\t\twindow.attachEvent( \"onload\", completed );\n\n\t\t\t// If IE and not a frame\n\t\t\t// continually check to see if the document is ready\n\t\t\tvar top = false;\n\n\t\t\ttry {\n\t\t\t\ttop = window.frameElement == null && document.documentElement;\n\t\t\t} catch(e) {}\n\n\t\t\tif ( top && top.doScroll ) {\n\t\t\t\t(function doScrollCheck() {\n\t\t\t\t\tif ( !jQuery.isReady ) {\n\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t// Use the trick by Diego Perini\n\t\t\t\t\t\t\t// http://javascript.nwbox.com/IEContentLoaded/\n\t\t\t\t\t\t\ttop.doScroll(\"left\");\n\t\t\t\t\t\t} catch(e) {\n\t\t\t\t\t\t\treturn setTimeout( doScrollCheck, 50 );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// detach all dom ready events\n\t\t\t\t\t\tdetach();\n\n\t\t\t\t\t\t// and execute any waiting functions\n\t\t\t\t\t\tjQuery.ready();\n\t\t\t\t\t}\n\t\t\t\t})();\n\t\t\t}\n\t\t}\n\t}\n\treturn readyList.promise( obj );\n};\n\n// Populate the class2type map\njQuery.each(\"Boolean Number String Function Array Date RegExp Object Error\".split(\" \"), function(i, name) {\n\tclass2type[ \"[object \" + name + \"]\" ] = name.toLowerCase();\n});\n\nfunction isArraylike( obj ) {\n\tvar length = obj.length,\n\t\ttype = jQuery.type( obj );\n\n\tif ( jQuery.isWindow( obj ) ) {\n\t\treturn false;\n\t}\n\n\tif ( obj.nodeType === 1 && length ) {\n\t\treturn true;\n\t}\n\n\treturn type === \"array\" || type !== \"function\" &&\n\t\t( length === 0 ||\n\t\ttypeof length === \"number\" && length > 0 && ( length - 1 ) in obj );\n}\n\n// All jQuery objects should point back to these\nrootjQuery = jQuery(document);\n/*!\n * Sizzle CSS Selector Engine v1.10.2\n * http://sizzlejs.com/\n *\n * Copyright 2013 jQuery Foundation, Inc. and other contributors\n * Released under the MIT license\n * http://jquery.org/license\n *\n * Date: 2013-07-03\n */\n(function( window, undefined ) {\n\nvar i,\n\tsupport,\n\tcachedruns,\n\tExpr,\n\tgetText,\n\tisXML,\n\tcompile,\n\toutermostContext,\n\tsortInput,\n\n\t// Local document vars\n\tsetDocument,\n\tdocument,\n\tdocElem,\n\tdocumentIsHTML,\n\trbuggyQSA,\n\trbuggyMatches,\n\tmatches,\n\tcontains,\n\n\t// Instance-specific data\n\texpando = \"sizzle\" + -(new Date()),\n\tpreferredDoc = window.document,\n\tdirruns = 0,\n\tdone = 0,\n\tclassCache = createCache(),\n\ttokenCache = createCache(),\n\tcompilerCache = createCache(),\n\thasDuplicate = false,\n\tsortOrder = function( a, b ) {\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t\treturn 0;\n\t\t}\n\t\treturn 0;\n\t},\n\n\t// General-purpose constants\n\tstrundefined = typeof undefined,\n\tMAX_NEGATIVE = 1 << 31,\n\n\t// Instance methods\n\thasOwn = ({}).hasOwnProperty,\n\tarr = [],\n\tpop = arr.pop,\n\tpush_native = arr.push,\n\tpush = arr.push,\n\tslice = arr.slice,\n\t// Use a stripped-down indexOf if we can't use a native one\n\tindexOf = arr.indexOf || function( elem ) {\n\t\tvar i = 0,\n\t\t\tlen = this.length;\n\t\tfor ( ; i < len; i++ ) {\n\t\t\tif ( this[i] === elem ) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t},\n\n\tbooleans = \"checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped\",\n\n\t// Regular expressions\n\n\t// Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace\n\twhitespace = \"[\\\\x20\\\\t\\\\r\\\\n\\\\f]\",\n\t// http://www.w3.org/TR/css3-syntax/#characters\n\tcharacterEncoding = \"(?:\\\\\\\\.|[\\\\w-]|[^\\\\x00-\\\\xa0])+\",\n\n\t// Loosely modeled on CSS identifier characters\n\t// An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors\n\t// Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier\n\tidentifier = characterEncoding.replace( \"w\", \"w#\" ),\n\n\t// Acceptable operators http://www.w3.org/TR/selectors/#attribute-selectors\n\tattributes = \"\\\\[\" + whitespace + \"*(\" + characterEncoding + \")\" + whitespace +\n\t\t\"*(?:([*^$|!~]?=)\" + whitespace + \"*(?:(['\\\"])((?:\\\\\\\\.|[^\\\\\\\\])*?)\\\\3|(\" + identifier + \")|)|)\" + whitespace + \"*\\\\]\",\n\n\t// Prefer arguments quoted,\n\t//   then not containing pseudos/brackets,\n\t//   then attribute selectors/non-parenthetical expressions,\n\t//   then anything else\n\t// These preferences are here to reduce the number of selectors\n\t//   needing tokenize in the PSEUDO preFilter\n\tpseudos = \":(\" + characterEncoding + \")(?:\\\\(((['\\\"])((?:\\\\\\\\.|[^\\\\\\\\])*?)\\\\3|((?:\\\\\\\\.|[^\\\\\\\\()[\\\\]]|\" + attributes.replace( 3, 8 ) + \")*)|.*)\\\\)|)\",\n\n\t// Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter\n\trtrim = new RegExp( \"^\" + whitespace + \"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)\" + whitespace + \"+$\", \"g\" ),\n\n\trcomma = new RegExp( \"^\" + whitespace + \"*,\" + whitespace + \"*\" ),\n\trcombinators = new RegExp( \"^\" + whitespace + \"*([>+~]|\" + whitespace + \")\" + whitespace + \"*\" ),\n\n\trsibling = new RegExp( whitespace + \"*[+~]\" ),\n\trattributeQuotes = new RegExp( \"=\" + whitespace + \"*([^\\\\]'\\\"]*)\" + whitespace + \"*\\\\]\", \"g\" ),\n\n\trpseudo = new RegExp( pseudos ),\n\tridentifier = new RegExp( \"^\" + identifier + \"$\" ),\n\n\tmatchExpr = {\n\t\t\"ID\": new RegExp( \"^#(\" + characterEncoding + \")\" ),\n\t\t\"CLASS\": new RegExp( \"^\\\\.(\" + characterEncoding + \")\" ),\n\t\t\"TAG\": new RegExp( \"^(\" + characterEncoding.replace( \"w\", \"w*\" ) + \")\" ),\n\t\t\"ATTR\": new RegExp( \"^\" + attributes ),\n\t\t\"PSEUDO\": new RegExp( \"^\" + pseudos ),\n\t\t\"CHILD\": new RegExp( \"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\" + whitespace +\n\t\t\t\"*(even|odd|(([+-]|)(\\\\d*)n|)\" + whitespace + \"*(?:([+-]|)\" + whitespace +\n\t\t\t\"*(\\\\d+)|))\" + whitespace + \"*\\\\)|)\", \"i\" ),\n\t\t\"bool\": new RegExp( \"^(?:\" + booleans + \")$\", \"i\" ),\n\t\t// For use in libraries implementing .is()\n\t\t// We use this for POS matching in `select`\n\t\t\"needsContext\": new RegExp( \"^\" + whitespace + \"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\" +\n\t\t\twhitespace + \"*((?:-\\\\d)?\\\\d*)\" + whitespace + \"*\\\\)|)(?=[^-]|$)\", \"i\" )\n\t},\n\n\trnative = /^[^{]+\\{\\s*\\[native \\w/,\n\n\t// Easily-parseable/retrievable ID or TAG or CLASS selectors\n\trquickExpr = /^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,\n\n\trinputs = /^(?:input|select|textarea|button)$/i,\n\trheader = /^h\\d$/i,\n\n\trescape = /'|\\\\/g,\n\n\t// CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters\n\trunescape = new RegExp( \"\\\\\\\\([\\\\da-f]{1,6}\" + whitespace + \"?|(\" + whitespace + \")|.)\", \"ig\" ),\n\tfunescape = function( _, escaped, escapedWhitespace ) {\n\t\tvar high = \"0x\" + escaped - 0x10000;\n\t\t// NaN means non-codepoint\n\t\t// Support: Firefox\n\t\t// Workaround erroneous numeric interpretation of +\"0x\"\n\t\treturn high !== high || escapedWhitespace ?\n\t\t\tescaped :\n\t\t\t// BMP codepoint\n\t\t\thigh < 0 ?\n\t\t\t\tString.fromCharCode( high + 0x10000 ) :\n\t\t\t\t// Supplemental Plane codepoint (surrogate pair)\n\t\t\t\tString.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 );\n\t};\n\n// Optimize for push.apply( _, NodeList )\ntry {\n\tpush.apply(\n\t\t(arr = slice.call( preferredDoc.childNodes )),\n\t\tpreferredDoc.childNodes\n\t);\n\t// Support: Android<4.0\n\t// Detect silently failing push.apply\n\tarr[ preferredDoc.childNodes.length ].nodeType;\n} catch ( e ) {\n\tpush = { apply: arr.length ?\n\n\t\t// Leverage slice if possible\n\t\tfunction( target, els ) {\n\t\t\tpush_native.apply( target, slice.call(els) );\n\t\t} :\n\n\t\t// Support: IE<9\n\t\t// Otherwise append directly\n\t\tfunction( target, els ) {\n\t\t\tvar j = target.length,\n\t\t\t\ti = 0;\n\t\t\t// Can't trust NodeList.length\n\t\t\twhile ( (target[j++] = els[i++]) ) {}\n\t\t\ttarget.length = j - 1;\n\t\t}\n\t};\n}\n\nfunction Sizzle( selector, context, results, seed ) {\n\tvar match, elem, m, nodeType,\n\t\t// QSA vars\n\t\ti, groups, old, nid, newContext, newSelector;\n\n\tif ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) {\n\t\tsetDocument( context );\n\t}\n\n\tcontext = context || document;\n\tresults = results || [];\n\n\tif ( !selector || typeof selector !== \"string\" ) {\n\t\treturn results;\n\t}\n\n\tif ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) {\n\t\treturn [];\n\t}\n\n\tif ( documentIsHTML && !seed ) {\n\n\t\t// Shortcuts\n\t\tif ( (match = rquickExpr.exec( selector )) ) {\n\t\t\t// Speed-up: Sizzle(\"#ID\")\n\t\t\tif ( (m = match[1]) ) {\n\t\t\t\tif ( nodeType === 9 ) {\n\t\t\t\t\telem = context.getElementById( m );\n\t\t\t\t\t// Check parentNode to catch when Blackberry 4.6 returns\n\t\t\t\t\t// nodes that are no longer in the document #6963\n\t\t\t\t\tif ( elem && elem.parentNode ) {\n\t\t\t\t\t\t// Handle the case where IE, Opera, and Webkit return items\n\t\t\t\t\t\t// by name instead of ID\n\t\t\t\t\t\tif ( elem.id === m ) {\n\t\t\t\t\t\t\tresults.push( elem );\n\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn results;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t// Context is not a document\n\t\t\t\t\tif ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) &&\n\t\t\t\t\t\tcontains( context, elem ) && elem.id === m ) {\n\t\t\t\t\t\tresults.push( elem );\n\t\t\t\t\t\treturn results;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t// Speed-up: Sizzle(\"TAG\")\n\t\t\t} else if ( match[2] ) {\n\t\t\t\tpush.apply( results, context.getElementsByTagName( selector ) );\n\t\t\t\treturn results;\n\n\t\t\t// Speed-up: Sizzle(\".CLASS\")\n\t\t\t} else if ( (m = match[3]) && support.getElementsByClassName && context.getElementsByClassName ) {\n\t\t\t\tpush.apply( results, context.getElementsByClassName( m ) );\n\t\t\t\treturn results;\n\t\t\t}\n\t\t}\n\n\t\t// QSA path\n\t\tif ( support.qsa && (!rbuggyQSA || !rbuggyQSA.test( selector )) ) {\n\t\t\tnid = old = expando;\n\t\t\tnewContext = context;\n\t\t\tnewSelector = nodeType === 9 && selector;\n\n\t\t\t// qSA works strangely on Element-rooted queries\n\t\t\t// We can work around this by specifying an extra ID on the root\n\t\t\t// and working up from there (Thanks to Andrew Dupont for the technique)\n\t\t\t// IE 8 doesn't work on object elements\n\t\t\tif ( nodeType === 1 && context.nodeName.toLowerCase() !== \"object\" ) {\n\t\t\t\tgroups = tokenize( selector );\n\n\t\t\t\tif ( (old = context.getAttribute(\"id\")) ) {\n\t\t\t\t\tnid = old.replace( rescape, \"\\\\$&\" );\n\t\t\t\t} else {\n\t\t\t\t\tcontext.setAttribute( \"id\", nid );\n\t\t\t\t}\n\t\t\t\tnid = \"[id='\" + nid + \"'] \";\n\n\t\t\t\ti = groups.length;\n\t\t\t\twhile ( i-- ) {\n\t\t\t\t\tgroups[i] = nid + toSelector( groups[i] );\n\t\t\t\t}\n\t\t\t\tnewContext = rsibling.test( selector ) && context.parentNode || context;\n\t\t\t\tnewSelector = groups.join(\",\");\n\t\t\t}\n\n\t\t\tif ( newSelector ) {\n\t\t\t\ttry {\n\t\t\t\t\tpush.apply( results,\n\t\t\t\t\t\tnewContext.querySelectorAll( newSelector )\n\t\t\t\t\t);\n\t\t\t\t\treturn results;\n\t\t\t\t} catch(qsaError) {\n\t\t\t\t} finally {\n\t\t\t\t\tif ( !old ) {\n\t\t\t\t\t\tcontext.removeAttribute(\"id\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// All others\n\treturn select( selector.replace( rtrim, \"$1\" ), context, results, seed );\n}\n\n/**\n * Create key-value caches of limited size\n * @returns {Function(string, Object)} Returns the Object data after storing it on itself with\n *\tproperty name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)\n *\tdeleting the oldest entry\n */\nfunction createCache() {\n\tvar keys = [];\n\n\tfunction cache( key, value ) {\n\t\t// Use (key + \" \") to avoid collision with native prototype properties (see Issue #157)\n\t\tif ( keys.push( key += \" \" ) > Expr.cacheLength ) {\n\t\t\t// Only keep the most recent entries\n\t\t\tdelete cache[ keys.shift() ];\n\t\t}\n\t\treturn (cache[ key ] = value);\n\t}\n\treturn cache;\n}\n\n/**\n * Mark a function for special use by Sizzle\n * @param {Function} fn The function to mark\n */\nfunction markFunction( fn ) {\n\tfn[ expando ] = true;\n\treturn fn;\n}\n\n/**\n * Support testing using an element\n * @param {Function} fn Passed the created div and expects a boolean result\n */\nfunction assert( fn ) {\n\tvar div = document.createElement(\"div\");\n\n\ttry {\n\t\treturn !!fn( div );\n\t} catch (e) {\n\t\treturn false;\n\t} finally {\n\t\t// Remove from its parent by default\n\t\tif ( div.parentNode ) {\n\t\t\tdiv.parentNode.removeChild( div );\n\t\t}\n\t\t// release memory in IE\n\t\tdiv = null;\n\t}\n}\n\n/**\n * Adds the same handler for all of the specified attrs\n * @param {String} attrs Pipe-separated list of attributes\n * @param {Function} handler The method that will be applied\n */\nfunction addHandle( attrs, handler ) {\n\tvar arr = attrs.split(\"|\"),\n\t\ti = attrs.length;\n\n\twhile ( i-- ) {\n\t\tExpr.attrHandle[ arr[i] ] = handler;\n\t}\n}\n\n/**\n * Checks document order of two siblings\n * @param {Element} a\n * @param {Element} b\n * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b\n */\nfunction siblingCheck( a, b ) {\n\tvar cur = b && a,\n\t\tdiff = cur && a.nodeType === 1 && b.nodeType === 1 &&\n\t\t\t( ~b.sourceIndex || MAX_NEGATIVE ) -\n\t\t\t( ~a.sourceIndex || MAX_NEGATIVE );\n\n\t// Use IE sourceIndex if available on both nodes\n\tif ( diff ) {\n\t\treturn diff;\n\t}\n\n\t// Check if b follows a\n\tif ( cur ) {\n\t\twhile ( (cur = cur.nextSibling) ) {\n\t\t\tif ( cur === b ) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t}\n\t}\n\n\treturn a ? 1 : -1;\n}\n\n/**\n * Returns a function to use in pseudos for input types\n * @param {String} type\n */\nfunction createInputPseudo( type ) {\n\treturn function( elem ) {\n\t\tvar name = elem.nodeName.toLowerCase();\n\t\treturn name === \"input\" && elem.type === type;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for buttons\n * @param {String} type\n */\nfunction createButtonPseudo( type ) {\n\treturn function( elem ) {\n\t\tvar name = elem.nodeName.toLowerCase();\n\t\treturn (name === \"input\" || name === \"button\") && elem.type === type;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for positionals\n * @param {Function} fn\n */\nfunction createPositionalPseudo( fn ) {\n\treturn markFunction(function( argument ) {\n\t\targument = +argument;\n\t\treturn markFunction(function( seed, matches ) {\n\t\t\tvar j,\n\t\t\t\tmatchIndexes = fn( [], seed.length, argument ),\n\t\t\t\ti = matchIndexes.length;\n\n\t\t\t// Match elements found at the specified indexes\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( seed[ (j = matchIndexes[i]) ] ) {\n\t\t\t\t\tseed[j] = !(matches[j] = seed[j]);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t});\n}\n\n/**\n * Detect xml\n * @param {Element|Object} elem An element or a document\n */\nisXML = Sizzle.isXML = function( elem ) {\n\t// documentElement is verified for cases where it doesn't yet exist\n\t// (such as loading iframes in IE - #4833)\n\tvar documentElement = elem && (elem.ownerDocument || elem).documentElement;\n\treturn documentElement ? documentElement.nodeName !== \"HTML\" : false;\n};\n\n// Expose support vars for convenience\nsupport = Sizzle.support = {};\n\n/**\n * Sets document-related variables once based on the current document\n * @param {Element|Object} [doc] An element or document object to use to set the document\n * @returns {Object} Returns the current document\n */\nsetDocument = Sizzle.setDocument = function( node ) {\n\tvar doc = node ? node.ownerDocument || node : preferredDoc,\n\t\tparent = doc.defaultView;\n\n\t// If no document and documentElement is available, return\n\tif ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) {\n\t\treturn document;\n\t}\n\n\t// Set our document\n\tdocument = doc;\n\tdocElem = doc.documentElement;\n\n\t// Support tests\n\tdocumentIsHTML = !isXML( doc );\n\n\t// Support: IE>8\n\t// If iframe document is assigned to \"document\" variable and if iframe has been reloaded,\n\t// IE will throw \"permission denied\" error when accessing \"document\" variable, see jQuery #13936\n\t// IE6-8 do not support the defaultView property so parent will be undefined\n\tif ( parent && parent.attachEvent && parent !== parent.top ) {\n\t\tparent.attachEvent( \"onbeforeunload\", function() {\n\t\t\tsetDocument();\n\t\t});\n\t}\n\n\t/* Attributes\n\t---------------------------------------------------------------------- */\n\n\t// Support: IE<8\n\t// Verify that getAttribute really returns attributes and not properties (excepting IE8 booleans)\n\tsupport.attributes = assert(function( div ) {\n\t\tdiv.className = \"i\";\n\t\treturn !div.getAttribute(\"className\");\n\t});\n\n\t/* getElement(s)By*\n\t---------------------------------------------------------------------- */\n\n\t// Check if getElementsByTagName(\"*\") returns only elements\n\tsupport.getElementsByTagName = assert(function( div ) {\n\t\tdiv.appendChild( doc.createComment(\"\") );\n\t\treturn !div.getElementsByTagName(\"*\").length;\n\t});\n\n\t// Check if getElementsByClassName can be trusted\n\tsupport.getElementsByClassName = assert(function( div ) {\n\t\tdiv.innerHTML = \"<div class='a'></div><div class='a i'></div>\";\n\n\t\t// Support: Safari<4\n\t\t// Catch class over-caching\n\t\tdiv.firstChild.className = \"i\";\n\t\t// Support: Opera<10\n\t\t// Catch gEBCN failure to find non-leading classes\n\t\treturn div.getElementsByClassName(\"i\").length === 2;\n\t});\n\n\t// Support: IE<10\n\t// Check if getElementById returns elements by name\n\t// The broken getElementById methods don't pick up programatically-set names,\n\t// so use a roundabout getElementsByName test\n\tsupport.getById = assert(function( div ) {\n\t\tdocElem.appendChild( div ).id = expando;\n\t\treturn !doc.getElementsByName || !doc.getElementsByName( expando ).length;\n\t});\n\n\t// ID find and filter\n\tif ( support.getById ) {\n\t\tExpr.find[\"ID\"] = function( id, context ) {\n\t\t\tif ( typeof context.getElementById !== strundefined && documentIsHTML ) {\n\t\t\t\tvar m = context.getElementById( id );\n\t\t\t\t// Check parentNode to catch when Blackberry 4.6 returns\n\t\t\t\t// nodes that are no longer in the document #6963\n\t\t\t\treturn m && m.parentNode ? [m] : [];\n\t\t\t}\n\t\t};\n\t\tExpr.filter[\"ID\"] = function( id ) {\n\t\t\tvar attrId = id.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\treturn elem.getAttribute(\"id\") === attrId;\n\t\t\t};\n\t\t};\n\t} else {\n\t\t// Support: IE6/7\n\t\t// getElementById is not reliable as a find shortcut\n\t\tdelete Expr.find[\"ID\"];\n\n\t\tExpr.filter[\"ID\"] =  function( id ) {\n\t\t\tvar attrId = id.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\tvar node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode(\"id\");\n\t\t\t\treturn node && node.value === attrId;\n\t\t\t};\n\t\t};\n\t}\n\n\t// Tag\n\tExpr.find[\"TAG\"] = support.getElementsByTagName ?\n\t\tfunction( tag, context ) {\n\t\t\tif ( typeof context.getElementsByTagName !== strundefined ) {\n\t\t\t\treturn context.getElementsByTagName( tag );\n\t\t\t}\n\t\t} :\n\t\tfunction( tag, context ) {\n\t\t\tvar elem,\n\t\t\t\ttmp = [],\n\t\t\t\ti = 0,\n\t\t\t\tresults = context.getElementsByTagName( tag );\n\n\t\t\t// Filter out possible comments\n\t\t\tif ( tag === \"*\" ) {\n\t\t\t\twhile ( (elem = results[i++]) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 ) {\n\t\t\t\t\t\ttmp.push( elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn tmp;\n\t\t\t}\n\t\t\treturn results;\n\t\t};\n\n\t// Class\n\tExpr.find[\"CLASS\"] = support.getElementsByClassName && function( className, context ) {\n\t\tif ( typeof context.getElementsByClassName !== strundefined && documentIsHTML ) {\n\t\t\treturn context.getElementsByClassName( className );\n\t\t}\n\t};\n\n\t/* QSA/matchesSelector\n\t---------------------------------------------------------------------- */\n\n\t// QSA and matchesSelector support\n\n\t// matchesSelector(:active) reports false when true (IE9/Opera 11.5)\n\trbuggyMatches = [];\n\n\t// qSa(:focus) reports false when true (Chrome 21)\n\t// We allow this because of a bug in IE8/9 that throws an error\n\t// whenever `document.activeElement` is accessed on an iframe\n\t// So, we allow :focus to pass through QSA all the time to avoid the IE error\n\t// See http://bugs.jquery.com/ticket/13378\n\trbuggyQSA = [];\n\n\tif ( (support.qsa = rnative.test( doc.querySelectorAll )) ) {\n\t\t// Build QSA regex\n\t\t// Regex strategy adopted from Diego Perini\n\t\tassert(function( div ) {\n\t\t\t// Select is set to empty string on purpose\n\t\t\t// This is to test IE's treatment of not explicitly\n\t\t\t// setting a boolean content attribute,\n\t\t\t// since its presence should be enough\n\t\t\t// http://bugs.jquery.com/ticket/12359\n\t\t\tdiv.innerHTML = \"<select><option selected=''></option></select>\";\n\n\t\t\t// Support: IE8\n\t\t\t// Boolean attributes and \"value\" are not treated correctly\n\t\t\tif ( !div.querySelectorAll(\"[selected]\").length ) {\n\t\t\t\trbuggyQSA.push( \"\\\\[\" + whitespace + \"*(?:value|\" + booleans + \")\" );\n\t\t\t}\n\n\t\t\t// Webkit/Opera - :checked should return selected option elements\n\t\t\t// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked\n\t\t\t// IE8 throws error here and will not see later tests\n\t\t\tif ( !div.querySelectorAll(\":checked\").length ) {\n\t\t\t\trbuggyQSA.push(\":checked\");\n\t\t\t}\n\t\t});\n\n\t\tassert(function( div ) {\n\n\t\t\t// Support: Opera 10-12/IE8\n\t\t\t// ^= $= *= and empty values\n\t\t\t// Should not select anything\n\t\t\t// Support: Windows 8 Native Apps\n\t\t\t// The type attribute is restricted during .innerHTML assignment\n\t\t\tvar input = doc.createElement(\"input\");\n\t\t\tinput.setAttribute( \"type\", \"hidden\" );\n\t\t\tdiv.appendChild( input ).setAttribute( \"t\", \"\" );\n\n\t\t\tif ( div.querySelectorAll(\"[t^='']\").length ) {\n\t\t\t\trbuggyQSA.push( \"[*^$]=\" + whitespace + \"*(?:''|\\\"\\\")\" );\n\t\t\t}\n\n\t\t\t// FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled)\n\t\t\t// IE8 throws error here and will not see later tests\n\t\t\tif ( !div.querySelectorAll(\":enabled\").length ) {\n\t\t\t\trbuggyQSA.push( \":enabled\", \":disabled\" );\n\t\t\t}\n\n\t\t\t// Opera 10-11 does not throw on post-comma invalid pseudos\n\t\t\tdiv.querySelectorAll(\"*,:x\");\n\t\t\trbuggyQSA.push(\",.*:\");\n\t\t});\n\t}\n\n\tif ( (support.matchesSelector = rnative.test( (matches = docElem.webkitMatchesSelector ||\n\t\tdocElem.mozMatchesSelector ||\n\t\tdocElem.oMatchesSelector ||\n\t\tdocElem.msMatchesSelector) )) ) {\n\n\t\tassert(function( div ) {\n\t\t\t// Check to see if it's possible to do matchesSelector\n\t\t\t// on a disconnected node (IE 9)\n\t\t\tsupport.disconnectedMatch = matches.call( div, \"div\" );\n\n\t\t\t// This should fail with an exception\n\t\t\t// Gecko does not error, returns false instead\n\t\t\tmatches.call( div, \"[s!='']:x\" );\n\t\t\trbuggyMatches.push( \"!=\", pseudos );\n\t\t});\n\t}\n\n\trbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join(\"|\") );\n\trbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join(\"|\") );\n\n\t/* Contains\n\t---------------------------------------------------------------------- */\n\n\t// Element contains another\n\t// Purposefully does not implement inclusive descendent\n\t// As in, an element does not contain itself\n\tcontains = rnative.test( docElem.contains ) || docElem.compareDocumentPosition ?\n\t\tfunction( a, b ) {\n\t\t\tvar adown = a.nodeType === 9 ? a.documentElement : a,\n\t\t\t\tbup = b && b.parentNode;\n\t\t\treturn a === bup || !!( bup && bup.nodeType === 1 && (\n\t\t\t\tadown.contains ?\n\t\t\t\t\tadown.contains( bup ) :\n\t\t\t\t\ta.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16\n\t\t\t));\n\t\t} :\n\t\tfunction( a, b ) {\n\t\t\tif ( b ) {\n\t\t\t\twhile ( (b = b.parentNode) ) {\n\t\t\t\t\tif ( b === a ) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n\n\t/* Sorting\n\t---------------------------------------------------------------------- */\n\n\t// Document order sorting\n\tsortOrder = docElem.compareDocumentPosition ?\n\tfunction( a, b ) {\n\n\t\t// Flag for duplicate removal\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t\treturn 0;\n\t\t}\n\n\t\tvar compare = b.compareDocumentPosition && a.compareDocumentPosition && a.compareDocumentPosition( b );\n\n\t\tif ( compare ) {\n\t\t\t// Disconnected nodes\n\t\t\tif ( compare & 1 ||\n\t\t\t\t(!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) {\n\n\t\t\t\t// Choose the first element that is related to our preferred document\n\t\t\t\tif ( a === doc || contains(preferredDoc, a) ) {\n\t\t\t\t\treturn -1;\n\t\t\t\t}\n\t\t\t\tif ( b === doc || contains(preferredDoc, b) ) {\n\t\t\t\t\treturn 1;\n\t\t\t\t}\n\n\t\t\t\t// Maintain original order\n\t\t\t\treturn sortInput ?\n\t\t\t\t\t( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) :\n\t\t\t\t\t0;\n\t\t\t}\n\n\t\t\treturn compare & 4 ? -1 : 1;\n\t\t}\n\n\t\t// Not directly comparable, sort on existence of method\n\t\treturn a.compareDocumentPosition ? -1 : 1;\n\t} :\n\tfunction( a, b ) {\n\t\tvar cur,\n\t\t\ti = 0,\n\t\t\taup = a.parentNode,\n\t\t\tbup = b.parentNode,\n\t\t\tap = [ a ],\n\t\t\tbp = [ b ];\n\n\t\t// Exit early if the nodes are identical\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t\treturn 0;\n\n\t\t// Parentless nodes are either documents or disconnected\n\t\t} else if ( !aup || !bup ) {\n\t\t\treturn a === doc ? -1 :\n\t\t\t\tb === doc ? 1 :\n\t\t\t\taup ? -1 :\n\t\t\t\tbup ? 1 :\n\t\t\t\tsortInput ?\n\t\t\t\t( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) :\n\t\t\t\t0;\n\n\t\t// If the nodes are siblings, we can do a quick check\n\t\t} else if ( aup === bup ) {\n\t\t\treturn siblingCheck( a, b );\n\t\t}\n\n\t\t// Otherwise we need full lists of their ancestors for comparison\n\t\tcur = a;\n\t\twhile ( (cur = cur.parentNode) ) {\n\t\t\tap.unshift( cur );\n\t\t}\n\t\tcur = b;\n\t\twhile ( (cur = cur.parentNode) ) {\n\t\t\tbp.unshift( cur );\n\t\t}\n\n\t\t// Walk down the tree looking for a discrepancy\n\t\twhile ( ap[i] === bp[i] ) {\n\t\t\ti++;\n\t\t}\n\n\t\treturn i ?\n\t\t\t// Do a sibling check if the nodes have a common ancestor\n\t\t\tsiblingCheck( ap[i], bp[i] ) :\n\n\t\t\t// Otherwise nodes in our document sort first\n\t\t\tap[i] === preferredDoc ? -1 :\n\t\t\tbp[i] === preferredDoc ? 1 :\n\t\t\t0;\n\t};\n\n\treturn doc;\n};\n\nSizzle.matches = function( expr, elements ) {\n\treturn Sizzle( expr, null, null, elements );\n};\n\nSizzle.matchesSelector = function( elem, expr ) {\n\t// Set document vars if needed\n\tif ( ( elem.ownerDocument || elem ) !== document ) {\n\t\tsetDocument( elem );\n\t}\n\n\t// Make sure that attribute selectors are quoted\n\texpr = expr.replace( rattributeQuotes, \"='$1']\" );\n\n\tif ( support.matchesSelector && documentIsHTML &&\n\t\t( !rbuggyMatches || !rbuggyMatches.test( expr ) ) &&\n\t\t( !rbuggyQSA     || !rbuggyQSA.test( expr ) ) ) {\n\n\t\ttry {\n\t\t\tvar ret = matches.call( elem, expr );\n\n\t\t\t// IE 9's matchesSelector returns false on disconnected nodes\n\t\t\tif ( ret || support.disconnectedMatch ||\n\t\t\t\t\t// As well, disconnected nodes are said to be in a document\n\t\t\t\t\t// fragment in IE 9\n\t\t\t\t\telem.document && elem.document.nodeType !== 11 ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\t\t} catch(e) {}\n\t}\n\n\treturn Sizzle( expr, document, null, [elem] ).length > 0;\n};\n\nSizzle.contains = function( context, elem ) {\n\t// Set document vars if needed\n\tif ( ( context.ownerDocument || context ) !== document ) {\n\t\tsetDocument( context );\n\t}\n\treturn contains( context, elem );\n};\n\nSizzle.attr = function( elem, name ) {\n\t// Set document vars if needed\n\tif ( ( elem.ownerDocument || elem ) !== document ) {\n\t\tsetDocument( elem );\n\t}\n\n\tvar fn = Expr.attrHandle[ name.toLowerCase() ],\n\t\t// Don't get fooled by Object.prototype properties (jQuery #13807)\n\t\tval = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ?\n\t\t\tfn( elem, name, !documentIsHTML ) :\n\t\t\tundefined;\n\n\treturn val === undefined ?\n\t\tsupport.attributes || !documentIsHTML ?\n\t\t\telem.getAttribute( name ) :\n\t\t\t(val = elem.getAttributeNode(name)) && val.specified ?\n\t\t\t\tval.value :\n\t\t\t\tnull :\n\t\tval;\n};\n\nSizzle.error = function( msg ) {\n\tthrow new Error( \"Syntax error, unrecognized expression: \" + msg );\n};\n\n/**\n * Document sorting and removing duplicates\n * @param {ArrayLike} results\n */\nSizzle.uniqueSort = function( results ) {\n\tvar elem,\n\t\tduplicates = [],\n\t\tj = 0,\n\t\ti = 0;\n\n\t// Unless we *know* we can detect duplicates, assume their presence\n\thasDuplicate = !support.detectDuplicates;\n\tsortInput = !support.sortStable && results.slice( 0 );\n\tresults.sort( sortOrder );\n\n\tif ( hasDuplicate ) {\n\t\twhile ( (elem = results[i++]) ) {\n\t\t\tif ( elem === results[ i ] ) {\n\t\t\t\tj = duplicates.push( i );\n\t\t\t}\n\t\t}\n\t\twhile ( j-- ) {\n\t\t\tresults.splice( duplicates[ j ], 1 );\n\t\t}\n\t}\n\n\treturn results;\n};\n\n/**\n * Utility function for retrieving the text value of an array of DOM nodes\n * @param {Array|Element} elem\n */\ngetText = Sizzle.getText = function( elem ) {\n\tvar node,\n\t\tret = \"\",\n\t\ti = 0,\n\t\tnodeType = elem.nodeType;\n\n\tif ( !nodeType ) {\n\t\t// If no nodeType, this is expected to be an array\n\t\tfor ( ; (node = elem[i]); i++ ) {\n\t\t\t// Do not traverse comment nodes\n\t\t\tret += getText( node );\n\t\t}\n\t} else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) {\n\t\t// Use textContent for elements\n\t\t// innerText usage removed for consistency of new lines (see #11153)\n\t\tif ( typeof elem.textContent === \"string\" ) {\n\t\t\treturn elem.textContent;\n\t\t} else {\n\t\t\t// Traverse its children\n\t\t\tfor ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {\n\t\t\t\tret += getText( elem );\n\t\t\t}\n\t\t}\n\t} else if ( nodeType === 3 || nodeType === 4 ) {\n\t\treturn elem.nodeValue;\n\t}\n\t// Do not include comment or processing instruction nodes\n\n\treturn ret;\n};\n\nExpr = Sizzle.selectors = {\n\n\t// Can be adjusted by the user\n\tcacheLength: 50,\n\n\tcreatePseudo: markFunction,\n\n\tmatch: matchExpr,\n\n\tattrHandle: {},\n\n\tfind: {},\n\n\trelative: {\n\t\t\">\": { dir: \"parentNode\", first: true },\n\t\t\" \": { dir: \"parentNode\" },\n\t\t\"+\": { dir: \"previousSibling\", first: true },\n\t\t\"~\": { dir: \"previousSibling\" }\n\t},\n\n\tpreFilter: {\n\t\t\"ATTR\": function( match ) {\n\t\t\tmatch[1] = match[1].replace( runescape, funescape );\n\n\t\t\t// Move the given value to match[3] whether quoted or unquoted\n\t\t\tmatch[3] = ( match[4] || match[5] || \"\" ).replace( runescape, funescape );\n\n\t\t\tif ( match[2] === \"~=\" ) {\n\t\t\t\tmatch[3] = \" \" + match[3] + \" \";\n\t\t\t}\n\n\t\t\treturn match.slice( 0, 4 );\n\t\t},\n\n\t\t\"CHILD\": function( match ) {\n\t\t\t/* matches from matchExpr[\"CHILD\"]\n\t\t\t\t1 type (only|nth|...)\n\t\t\t\t2 what (child|of-type)\n\t\t\t\t3 argument (even|odd|\\d*|\\d*n([+-]\\d+)?|...)\n\t\t\t\t4 xn-component of xn+y argument ([+-]?\\d*n|)\n\t\t\t\t5 sign of xn-component\n\t\t\t\t6 x of xn-component\n\t\t\t\t7 sign of y-component\n\t\t\t\t8 y of y-component\n\t\t\t*/\n\t\t\tmatch[1] = match[1].toLowerCase();\n\n\t\t\tif ( match[1].slice( 0, 3 ) === \"nth\" ) {\n\t\t\t\t// nth-* requires argument\n\t\t\t\tif ( !match[3] ) {\n\t\t\t\t\tSizzle.error( match[0] );\n\t\t\t\t}\n\n\t\t\t\t// numeric x and y parameters for Expr.filter.CHILD\n\t\t\t\t// remember that false/true cast respectively to 0/1\n\t\t\t\tmatch[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === \"even\" || match[3] === \"odd\" ) );\n\t\t\t\tmatch[5] = +( ( match[7] + match[8] ) || match[3] === \"odd\" );\n\n\t\t\t// other types prohibit arguments\n\t\t\t} else if ( match[3] ) {\n\t\t\t\tSizzle.error( match[0] );\n\t\t\t}\n\n\t\t\treturn match;\n\t\t},\n\n\t\t\"PSEUDO\": function( match ) {\n\t\t\tvar excess,\n\t\t\t\tunquoted = !match[5] && match[2];\n\n\t\t\tif ( matchExpr[\"CHILD\"].test( match[0] ) ) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\t// Accept quoted arguments as-is\n\t\t\tif ( match[3] && match[4] !== undefined ) {\n\t\t\t\tmatch[2] = match[4];\n\n\t\t\t// Strip excess characters from unquoted arguments\n\t\t\t} else if ( unquoted && rpseudo.test( unquoted ) &&\n\t\t\t\t// Get excess from tokenize (recursively)\n\t\t\t\t(excess = tokenize( unquoted, true )) &&\n\t\t\t\t// advance to the next closing parenthesis\n\t\t\t\t(excess = unquoted.indexOf( \")\", unquoted.length - excess ) - unquoted.length) ) {\n\n\t\t\t\t// excess is a negative index\n\t\t\t\tmatch[0] = match[0].slice( 0, excess );\n\t\t\t\tmatch[2] = unquoted.slice( 0, excess );\n\t\t\t}\n\n\t\t\t// Return only captures needed by the pseudo filter method (type and argument)\n\t\t\treturn match.slice( 0, 3 );\n\t\t}\n\t},\n\n\tfilter: {\n\n\t\t\"TAG\": function( nodeNameSelector ) {\n\t\t\tvar nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase();\n\t\t\treturn nodeNameSelector === \"*\" ?\n\t\t\t\tfunction() { return true; } :\n\t\t\t\tfunction( elem ) {\n\t\t\t\t\treturn elem.nodeName && elem.nodeName.toLowerCase() === nodeName;\n\t\t\t\t};\n\t\t},\n\n\t\t\"CLASS\": function( className ) {\n\t\t\tvar pattern = classCache[ className + \" \" ];\n\n\t\t\treturn pattern ||\n\t\t\t\t(pattern = new RegExp( \"(^|\" + whitespace + \")\" + className + \"(\" + whitespace + \"|$)\" )) &&\n\t\t\t\tclassCache( className, function( elem ) {\n\t\t\t\t\treturn pattern.test( typeof elem.className === \"string\" && elem.className || typeof elem.getAttribute !== strundefined && elem.getAttribute(\"class\") || \"\" );\n\t\t\t\t});\n\t\t},\n\n\t\t\"ATTR\": function( name, operator, check ) {\n\t\t\treturn function( elem ) {\n\t\t\t\tvar result = Sizzle.attr( elem, name );\n\n\t\t\t\tif ( result == null ) {\n\t\t\t\t\treturn operator === \"!=\";\n\t\t\t\t}\n\t\t\t\tif ( !operator ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\tresult += \"\";\n\n\t\t\t\treturn operator === \"=\" ? result === check :\n\t\t\t\t\toperator === \"!=\" ? result !== check :\n\t\t\t\t\toperator === \"^=\" ? check && result.indexOf( check ) === 0 :\n\t\t\t\t\toperator === \"*=\" ? check && result.indexOf( check ) > -1 :\n\t\t\t\t\toperator === \"$=\" ? check && result.slice( -check.length ) === check :\n\t\t\t\t\toperator === \"~=\" ? ( \" \" + result + \" \" ).indexOf( check ) > -1 :\n\t\t\t\t\toperator === \"|=\" ? result === check || result.slice( 0, check.length + 1 ) === check + \"-\" :\n\t\t\t\t\tfalse;\n\t\t\t};\n\t\t},\n\n\t\t\"CHILD\": function( type, what, argument, first, last ) {\n\t\t\tvar simple = type.slice( 0, 3 ) !== \"nth\",\n\t\t\t\tforward = type.slice( -4 ) !== \"last\",\n\t\t\t\tofType = what === \"of-type\";\n\n\t\t\treturn first === 1 && last === 0 ?\n\n\t\t\t\t// Shortcut for :nth-*(n)\n\t\t\t\tfunction( elem ) {\n\t\t\t\t\treturn !!elem.parentNode;\n\t\t\t\t} :\n\n\t\t\t\tfunction( elem, context, xml ) {\n\t\t\t\t\tvar cache, outerCache, node, diff, nodeIndex, start,\n\t\t\t\t\t\tdir = simple !== forward ? \"nextSibling\" : \"previousSibling\",\n\t\t\t\t\t\tparent = elem.parentNode,\n\t\t\t\t\t\tname = ofType && elem.nodeName.toLowerCase(),\n\t\t\t\t\t\tuseCache = !xml && !ofType;\n\n\t\t\t\t\tif ( parent ) {\n\n\t\t\t\t\t\t// :(first|last|only)-(child|of-type)\n\t\t\t\t\t\tif ( simple ) {\n\t\t\t\t\t\t\twhile ( dir ) {\n\t\t\t\t\t\t\t\tnode = elem;\n\t\t\t\t\t\t\t\twhile ( (node = node[ dir ]) ) {\n\t\t\t\t\t\t\t\t\tif ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) {\n\t\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t// Reverse direction for :only-* (if we haven't yet done so)\n\t\t\t\t\t\t\t\tstart = dir = type === \"only\" && !start && \"nextSibling\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tstart = [ forward ? parent.firstChild : parent.lastChild ];\n\n\t\t\t\t\t\t// non-xml :nth-child(...) stores cache data on `parent`\n\t\t\t\t\t\tif ( forward && useCache ) {\n\t\t\t\t\t\t\t// Seek `elem` from a previously-cached index\n\t\t\t\t\t\t\touterCache = parent[ expando ] || (parent[ expando ] = {});\n\t\t\t\t\t\t\tcache = outerCache[ type ] || [];\n\t\t\t\t\t\t\tnodeIndex = cache[0] === dirruns && cache[1];\n\t\t\t\t\t\t\tdiff = cache[0] === dirruns && cache[2];\n\t\t\t\t\t\t\tnode = nodeIndex && parent.childNodes[ nodeIndex ];\n\n\t\t\t\t\t\t\twhile ( (node = ++nodeIndex && node && node[ dir ] ||\n\n\t\t\t\t\t\t\t\t// Fallback to seeking `elem` from the start\n\t\t\t\t\t\t\t\t(diff = nodeIndex = 0) || start.pop()) ) {\n\n\t\t\t\t\t\t\t\t// When found, cache indexes on `parent` and break\n\t\t\t\t\t\t\t\tif ( node.nodeType === 1 && ++diff && node === elem ) {\n\t\t\t\t\t\t\t\t\touterCache[ type ] = [ dirruns, nodeIndex, diff ];\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Use previously-cached element index if available\n\t\t\t\t\t\t} else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) {\n\t\t\t\t\t\t\tdiff = cache[1];\n\n\t\t\t\t\t\t// xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...)\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// Use the same loop as above to seek `elem` from the start\n\t\t\t\t\t\t\twhile ( (node = ++nodeIndex && node && node[ dir ] ||\n\t\t\t\t\t\t\t\t(diff = nodeIndex = 0) || start.pop()) ) {\n\n\t\t\t\t\t\t\t\tif ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) {\n\t\t\t\t\t\t\t\t\t// Cache the index of each encountered element\n\t\t\t\t\t\t\t\t\tif ( useCache ) {\n\t\t\t\t\t\t\t\t\t\t(node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ];\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\tif ( node === elem ) {\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Incorporate the offset, then check against cycle size\n\t\t\t\t\t\tdiff -= last;\n\t\t\t\t\t\treturn diff === first || ( diff % first === 0 && diff / first >= 0 );\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t},\n\n\t\t\"PSEUDO\": function( pseudo, argument ) {\n\t\t\t// pseudo-class names are case-insensitive\n\t\t\t// http://www.w3.org/TR/selectors/#pseudo-classes\n\t\t\t// Prioritize by case sensitivity in case custom pseudos are added with uppercase letters\n\t\t\t// Remember that setFilters inherits from pseudos\n\t\t\tvar args,\n\t\t\t\tfn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] ||\n\t\t\t\t\tSizzle.error( \"unsupported pseudo: \" + pseudo );\n\n\t\t\t// The user may use createPseudo to indicate that\n\t\t\t// arguments are needed to create the filter function\n\t\t\t// just as Sizzle does\n\t\t\tif ( fn[ expando ] ) {\n\t\t\t\treturn fn( argument );\n\t\t\t}\n\n\t\t\t// But maintain support for old signatures\n\t\t\tif ( fn.length > 1 ) {\n\t\t\t\targs = [ pseudo, pseudo, \"\", argument ];\n\t\t\t\treturn Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ?\n\t\t\t\t\tmarkFunction(function( seed, matches ) {\n\t\t\t\t\t\tvar idx,\n\t\t\t\t\t\t\tmatched = fn( seed, argument ),\n\t\t\t\t\t\t\ti = matched.length;\n\t\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\t\tidx = indexOf.call( seed, matched[i] );\n\t\t\t\t\t\t\tseed[ idx ] = !( matches[ idx ] = matched[i] );\n\t\t\t\t\t\t}\n\t\t\t\t\t}) :\n\t\t\t\t\tfunction( elem ) {\n\t\t\t\t\t\treturn fn( elem, 0, args );\n\t\t\t\t\t};\n\t\t\t}\n\n\t\t\treturn fn;\n\t\t}\n\t},\n\n\tpseudos: {\n\t\t// Potentially complex pseudos\n\t\t\"not\": markFunction(function( selector ) {\n\t\t\t// Trim the selector passed to compile\n\t\t\t// to avoid treating leading and trailing\n\t\t\t// spaces as combinators\n\t\t\tvar input = [],\n\t\t\t\tresults = [],\n\t\t\t\tmatcher = compile( selector.replace( rtrim, \"$1\" ) );\n\n\t\t\treturn matcher[ expando ] ?\n\t\t\t\tmarkFunction(function( seed, matches, context, xml ) {\n\t\t\t\t\tvar elem,\n\t\t\t\t\t\tunmatched = matcher( seed, null, xml, [] ),\n\t\t\t\t\t\ti = seed.length;\n\n\t\t\t\t\t// Match elements unmatched by `matcher`\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tif ( (elem = unmatched[i]) ) {\n\t\t\t\t\t\t\tseed[i] = !(matches[i] = elem);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}) :\n\t\t\t\tfunction( elem, context, xml ) {\n\t\t\t\t\tinput[0] = elem;\n\t\t\t\t\tmatcher( input, null, xml, results );\n\t\t\t\t\treturn !results.pop();\n\t\t\t\t};\n\t\t}),\n\n\t\t\"has\": markFunction(function( selector ) {\n\t\t\treturn function( elem ) {\n\t\t\t\treturn Sizzle( selector, elem ).length > 0;\n\t\t\t};\n\t\t}),\n\n\t\t\"contains\": markFunction(function( text ) {\n\t\t\treturn function( elem ) {\n\t\t\t\treturn ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1;\n\t\t\t};\n\t\t}),\n\n\t\t// \"Whether an element is represented by a :lang() selector\n\t\t// is based solely on the element's language value\n\t\t// being equal to the identifier C,\n\t\t// or beginning with the identifier C immediately followed by \"-\".\n\t\t// The matching of C against the element's language value is performed case-insensitively.\n\t\t// The identifier C does not have to be a valid language name.\"\n\t\t// http://www.w3.org/TR/selectors/#lang-pseudo\n\t\t\"lang\": markFunction( function( lang ) {\n\t\t\t// lang value must be a valid identifier\n\t\t\tif ( !ridentifier.test(lang || \"\") ) {\n\t\t\t\tSizzle.error( \"unsupported lang: \" + lang );\n\t\t\t}\n\t\t\tlang = lang.replace( runescape, funescape ).toLowerCase();\n\t\t\treturn function( elem ) {\n\t\t\t\tvar elemLang;\n\t\t\t\tdo {\n\t\t\t\t\tif ( (elemLang = documentIsHTML ?\n\t\t\t\t\t\telem.lang :\n\t\t\t\t\t\telem.getAttribute(\"xml:lang\") || elem.getAttribute(\"lang\")) ) {\n\n\t\t\t\t\t\telemLang = elemLang.toLowerCase();\n\t\t\t\t\t\treturn elemLang === lang || elemLang.indexOf( lang + \"-\" ) === 0;\n\t\t\t\t\t}\n\t\t\t\t} while ( (elem = elem.parentNode) && elem.nodeType === 1 );\n\t\t\t\treturn false;\n\t\t\t};\n\t\t}),\n\n\t\t// Miscellaneous\n\t\t\"target\": function( elem ) {\n\t\t\tvar hash = window.location && window.location.hash;\n\t\t\treturn hash && hash.slice( 1 ) === elem.id;\n\t\t},\n\n\t\t\"root\": function( elem ) {\n\t\t\treturn elem === docElem;\n\t\t},\n\n\t\t\"focus\": function( elem ) {\n\t\t\treturn elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex);\n\t\t},\n\n\t\t// Boolean properties\n\t\t\"enabled\": function( elem ) {\n\t\t\treturn elem.disabled === false;\n\t\t},\n\n\t\t\"disabled\": function( elem ) {\n\t\t\treturn elem.disabled === true;\n\t\t},\n\n\t\t\"checked\": function( elem ) {\n\t\t\t// In CSS3, :checked should return both checked and selected elements\n\t\t\t// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked\n\t\t\tvar nodeName = elem.nodeName.toLowerCase();\n\t\t\treturn (nodeName === \"input\" && !!elem.checked) || (nodeName === \"option\" && !!elem.selected);\n\t\t},\n\n\t\t\"selected\": function( elem ) {\n\t\t\t// Accessing this property makes selected-by-default\n\t\t\t// options in Safari work properly\n\t\t\tif ( elem.parentNode ) {\n\t\t\t\telem.parentNode.selectedIndex;\n\t\t\t}\n\n\t\t\treturn elem.selected === true;\n\t\t},\n\n\t\t// Contents\n\t\t\"empty\": function( elem ) {\n\t\t\t// http://www.w3.org/TR/selectors/#empty-pseudo\n\t\t\t// :empty is only affected by element nodes and content nodes(including text(3), cdata(4)),\n\t\t\t//   not comment, processing instructions, or others\n\t\t\t// Thanks to Diego Perini for the nodeName shortcut\n\t\t\t//   Greater than \"@\" means alpha characters (specifically not starting with \"#\" or \"?\")\n\t\t\tfor ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {\n\t\t\t\tif ( elem.nodeName > \"@\" || elem.nodeType === 3 || elem.nodeType === 4 ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t},\n\n\t\t\"parent\": function( elem ) {\n\t\t\treturn !Expr.pseudos[\"empty\"]( elem );\n\t\t},\n\n\t\t// Element/input types\n\t\t\"header\": function( elem ) {\n\t\t\treturn rheader.test( elem.nodeName );\n\t\t},\n\n\t\t\"input\": function( elem ) {\n\t\t\treturn rinputs.test( elem.nodeName );\n\t\t},\n\n\t\t\"button\": function( elem ) {\n\t\t\tvar name = elem.nodeName.toLowerCase();\n\t\t\treturn name === \"input\" && elem.type === \"button\" || name === \"button\";\n\t\t},\n\n\t\t\"text\": function( elem ) {\n\t\t\tvar attr;\n\t\t\t// IE6 and 7 will map elem.type to 'text' for new HTML5 types (search, etc)\n\t\t\t// use getAttribute instead to test this case\n\t\t\treturn elem.nodeName.toLowerCase() === \"input\" &&\n\t\t\t\telem.type === \"text\" &&\n\t\t\t\t( (attr = elem.getAttribute(\"type\")) == null || attr.toLowerCase() === elem.type );\n\t\t},\n\n\t\t// Position-in-collection\n\t\t\"first\": createPositionalPseudo(function() {\n\t\t\treturn [ 0 ];\n\t\t}),\n\n\t\t\"last\": createPositionalPseudo(function( matchIndexes, length ) {\n\t\t\treturn [ length - 1 ];\n\t\t}),\n\n\t\t\"eq\": createPositionalPseudo(function( matchIndexes, length, argument ) {\n\t\t\treturn [ argument < 0 ? argument + length : argument ];\n\t\t}),\n\n\t\t\"even\": createPositionalPseudo(function( matchIndexes, length ) {\n\t\t\tvar i = 0;\n\t\t\tfor ( ; i < length; i += 2 ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t}),\n\n\t\t\"odd\": createPositionalPseudo(function( matchIndexes, length ) {\n\t\t\tvar i = 1;\n\t\t\tfor ( ; i < length; i += 2 ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t}),\n\n\t\t\"lt\": createPositionalPseudo(function( matchIndexes, length, argument ) {\n\t\t\tvar i = argument < 0 ? argument + length : argument;\n\t\t\tfor ( ; --i >= 0; ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t}),\n\n\t\t\"gt\": createPositionalPseudo(function( matchIndexes, length, argument ) {\n\t\t\tvar i = argument < 0 ? argument + length : argument;\n\t\t\tfor ( ; ++i < length; ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t})\n\t}\n};\n\nExpr.pseudos[\"nth\"] = Expr.pseudos[\"eq\"];\n\n// Add button/input type pseudos\nfor ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) {\n\tExpr.pseudos[ i ] = createInputPseudo( i );\n}\nfor ( i in { submit: true, reset: true } ) {\n\tExpr.pseudos[ i ] = createButtonPseudo( i );\n}\n\n// Easy API for creating new setFilters\nfunction setFilters() {}\nsetFilters.prototype = Expr.filters = Expr.pseudos;\nExpr.setFilters = new setFilters();\n\nfunction tokenize( selector, parseOnly ) {\n\tvar matched, match, tokens, type,\n\t\tsoFar, groups, preFilters,\n\t\tcached = tokenCache[ selector + \" \" ];\n\n\tif ( cached ) {\n\t\treturn parseOnly ? 0 : cached.slice( 0 );\n\t}\n\n\tsoFar = selector;\n\tgroups = [];\n\tpreFilters = Expr.preFilter;\n\n\twhile ( soFar ) {\n\n\t\t// Comma and first run\n\t\tif ( !matched || (match = rcomma.exec( soFar )) ) {\n\t\t\tif ( match ) {\n\t\t\t\t// Don't consume trailing commas as valid\n\t\t\t\tsoFar = soFar.slice( match[0].length ) || soFar;\n\t\t\t}\n\t\t\tgroups.push( tokens = [] );\n\t\t}\n\n\t\tmatched = false;\n\n\t\t// Combinators\n\t\tif ( (match = rcombinators.exec( soFar )) ) {\n\t\t\tmatched = match.shift();\n\t\t\ttokens.push({\n\t\t\t\tvalue: matched,\n\t\t\t\t// Cast descendant combinators to space\n\t\t\t\ttype: match[0].replace( rtrim, \" \" )\n\t\t\t});\n\t\t\tsoFar = soFar.slice( matched.length );\n\t\t}\n\n\t\t// Filters\n\t\tfor ( type in Expr.filter ) {\n\t\t\tif ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] ||\n\t\t\t\t(match = preFilters[ type ]( match ))) ) {\n\t\t\t\tmatched = match.shift();\n\t\t\t\ttokens.push({\n\t\t\t\t\tvalue: matched,\n\t\t\t\t\ttype: type,\n\t\t\t\t\tmatches: match\n\t\t\t\t});\n\t\t\t\tsoFar = soFar.slice( matched.length );\n\t\t\t}\n\t\t}\n\n\t\tif ( !matched ) {\n\t\t\tbreak;\n\t\t}\n\t}\n\n\t// Return the length of the invalid excess\n\t// if we're just parsing\n\t// Otherwise, throw an error or return tokens\n\treturn parseOnly ?\n\t\tsoFar.length :\n\t\tsoFar ?\n\t\t\tSizzle.error( selector ) :\n\t\t\t// Cache the tokens\n\t\t\ttokenCache( selector, groups ).slice( 0 );\n}\n\nfunction toSelector( tokens ) {\n\tvar i = 0,\n\t\tlen = tokens.length,\n\t\tselector = \"\";\n\tfor ( ; i < len; i++ ) {\n\t\tselector += tokens[i].value;\n\t}\n\treturn selector;\n}\n\nfunction addCombinator( matcher, combinator, base ) {\n\tvar dir = combinator.dir,\n\t\tcheckNonElements = base && dir === \"parentNode\",\n\t\tdoneName = done++;\n\n\treturn combinator.first ?\n\t\t// Check against closest ancestor/preceding element\n\t\tfunction( elem, context, xml ) {\n\t\t\twhile ( (elem = elem[ dir ]) ) {\n\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\treturn matcher( elem, context, xml );\n\t\t\t\t}\n\t\t\t}\n\t\t} :\n\n\t\t// Check against all ancestor/preceding elements\n\t\tfunction( elem, context, xml ) {\n\t\t\tvar data, cache, outerCache,\n\t\t\t\tdirkey = dirruns + \" \" + doneName;\n\n\t\t\t// We can't set arbitrary data on XML nodes, so they don't benefit from dir caching\n\t\t\tif ( xml ) {\n\t\t\t\twhile ( (elem = elem[ dir ]) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\t\tif ( matcher( elem, context, xml ) ) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\twhile ( (elem = elem[ dir ]) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\t\touterCache = elem[ expando ] || (elem[ expando ] = {});\n\t\t\t\t\t\tif ( (cache = outerCache[ dir ]) && cache[0] === dirkey ) {\n\t\t\t\t\t\t\tif ( (data = cache[1]) === true || data === cachedruns ) {\n\t\t\t\t\t\t\t\treturn data === true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tcache = outerCache[ dir ] = [ dirkey ];\n\t\t\t\t\t\t\tcache[1] = matcher( elem, context, xml ) || cachedruns;\n\t\t\t\t\t\t\tif ( cache[1] === true ) {\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t};\n}\n\nfunction elementMatcher( matchers ) {\n\treturn matchers.length > 1 ?\n\t\tfunction( elem, context, xml ) {\n\t\t\tvar i = matchers.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( !matchers[i]( elem, context, xml ) ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t} :\n\t\tmatchers[0];\n}\n\nfunction condense( unmatched, map, filter, context, xml ) {\n\tvar elem,\n\t\tnewUnmatched = [],\n\t\ti = 0,\n\t\tlen = unmatched.length,\n\t\tmapped = map != null;\n\n\tfor ( ; i < len; i++ ) {\n\t\tif ( (elem = unmatched[i]) ) {\n\t\t\tif ( !filter || filter( elem, context, xml ) ) {\n\t\t\t\tnewUnmatched.push( elem );\n\t\t\t\tif ( mapped ) {\n\t\t\t\t\tmap.push( i );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn newUnmatched;\n}\n\nfunction setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {\n\tif ( postFilter && !postFilter[ expando ] ) {\n\t\tpostFilter = setMatcher( postFilter );\n\t}\n\tif ( postFinder && !postFinder[ expando ] ) {\n\t\tpostFinder = setMatcher( postFinder, postSelector );\n\t}\n\treturn markFunction(function( seed, results, context, xml ) {\n\t\tvar temp, i, elem,\n\t\t\tpreMap = [],\n\t\t\tpostMap = [],\n\t\t\tpreexisting = results.length,\n\n\t\t\t// Get initial elements from seed or context\n\t\t\telems = seed || multipleContexts( selector || \"*\", context.nodeType ? [ context ] : context, [] ),\n\n\t\t\t// Prefilter to get matcher input, preserving a map for seed-results synchronization\n\t\t\tmatcherIn = preFilter && ( seed || !selector ) ?\n\t\t\t\tcondense( elems, preMap, preFilter, context, xml ) :\n\t\t\t\telems,\n\n\t\t\tmatcherOut = matcher ?\n\t\t\t\t// If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results,\n\t\t\t\tpostFinder || ( seed ? preFilter : preexisting || postFilter ) ?\n\n\t\t\t\t\t// ...intermediate processing is necessary\n\t\t\t\t\t[] :\n\n\t\t\t\t\t// ...otherwise use results directly\n\t\t\t\t\tresults :\n\t\t\t\tmatcherIn;\n\n\t\t// Find primary matches\n\t\tif ( matcher ) {\n\t\t\tmatcher( matcherIn, matcherOut, context, xml );\n\t\t}\n\n\t\t// Apply postFilter\n\t\tif ( postFilter ) {\n\t\t\ttemp = condense( matcherOut, postMap );\n\t\t\tpostFilter( temp, [], context, xml );\n\n\t\t\t// Un-match failing elements by moving them back to matcherIn\n\t\t\ti = temp.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( (elem = temp[i]) ) {\n\t\t\t\t\tmatcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ( seed ) {\n\t\t\tif ( postFinder || preFilter ) {\n\t\t\t\tif ( postFinder ) {\n\t\t\t\t\t// Get the final matcherOut by condensing this intermediate into postFinder contexts\n\t\t\t\t\ttemp = [];\n\t\t\t\t\ti = matcherOut.length;\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tif ( (elem = matcherOut[i]) ) {\n\t\t\t\t\t\t\t// Restore matcherIn since elem is not yet a final match\n\t\t\t\t\t\t\ttemp.push( (matcherIn[i] = elem) );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tpostFinder( null, (matcherOut = []), temp, xml );\n\t\t\t\t}\n\n\t\t\t\t// Move matched elements from seed to results to keep them synchronized\n\t\t\t\ti = matcherOut.length;\n\t\t\t\twhile ( i-- ) {\n\t\t\t\t\tif ( (elem = matcherOut[i]) &&\n\t\t\t\t\t\t(temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) {\n\n\t\t\t\t\t\tseed[temp] = !(results[temp] = elem);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Add elements to results, through postFinder if defined\n\t\t} else {\n\t\t\tmatcherOut = condense(\n\t\t\t\tmatcherOut === results ?\n\t\t\t\t\tmatcherOut.splice( preexisting, matcherOut.length ) :\n\t\t\t\t\tmatcherOut\n\t\t\t);\n\t\t\tif ( postFinder ) {\n\t\t\t\tpostFinder( null, results, matcherOut, xml );\n\t\t\t} else {\n\t\t\t\tpush.apply( results, matcherOut );\n\t\t\t}\n\t\t}\n\t});\n}\n\nfunction matcherFromTokens( tokens ) {\n\tvar checkContext, matcher, j,\n\t\tlen = tokens.length,\n\t\tleadingRelative = Expr.relative[ tokens[0].type ],\n\t\timplicitRelative = leadingRelative || Expr.relative[\" \"],\n\t\ti = leadingRelative ? 1 : 0,\n\n\t\t// The foundational matcher ensures that elements are reachable from top-level context(s)\n\t\tmatchContext = addCombinator( function( elem ) {\n\t\t\treturn elem === checkContext;\n\t\t}, implicitRelative, true ),\n\t\tmatchAnyContext = addCombinator( function( elem ) {\n\t\t\treturn indexOf.call( checkContext, elem ) > -1;\n\t\t}, implicitRelative, true ),\n\t\tmatchers = [ function( elem, context, xml ) {\n\t\t\treturn ( !leadingRelative && ( xml || context !== outermostContext ) ) || (\n\t\t\t\t(checkContext = context).nodeType ?\n\t\t\t\t\tmatchContext( elem, context, xml ) :\n\t\t\t\t\tmatchAnyContext( elem, context, xml ) );\n\t\t} ];\n\n\tfor ( ; i < len; i++ ) {\n\t\tif ( (matcher = Expr.relative[ tokens[i].type ]) ) {\n\t\t\tmatchers = [ addCombinator(elementMatcher( matchers ), matcher) ];\n\t\t} else {\n\t\t\tmatcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches );\n\n\t\t\t// Return special upon seeing a positional matcher\n\t\t\tif ( matcher[ expando ] ) {\n\t\t\t\t// Find the next relative operator (if any) for proper handling\n\t\t\t\tj = ++i;\n\t\t\t\tfor ( ; j < len; j++ ) {\n\t\t\t\t\tif ( Expr.relative[ tokens[j].type ] ) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn setMatcher(\n\t\t\t\t\ti > 1 && elementMatcher( matchers ),\n\t\t\t\t\ti > 1 && toSelector(\n\t\t\t\t\t\t// If the preceding token was a descendant combinator, insert an implicit any-element `*`\n\t\t\t\t\t\ttokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === \" \" ? \"*\" : \"\" })\n\t\t\t\t\t).replace( rtrim, \"$1\" ),\n\t\t\t\t\tmatcher,\n\t\t\t\t\ti < j && matcherFromTokens( tokens.slice( i, j ) ),\n\t\t\t\t\tj < len && matcherFromTokens( (tokens = tokens.slice( j )) ),\n\t\t\t\t\tj < len && toSelector( tokens )\n\t\t\t\t);\n\t\t\t}\n\t\t\tmatchers.push( matcher );\n\t\t}\n\t}\n\n\treturn elementMatcher( matchers );\n}\n\nfunction matcherFromGroupMatchers( elementMatchers, setMatchers ) {\n\t// A counter to specify which element is currently being matched\n\tvar matcherCachedRuns = 0,\n\t\tbySet = setMatchers.length > 0,\n\t\tbyElement = elementMatchers.length > 0,\n\t\tsuperMatcher = function( seed, context, xml, results, expandContext ) {\n\t\t\tvar elem, j, matcher,\n\t\t\t\tsetMatched = [],\n\t\t\t\tmatchedCount = 0,\n\t\t\t\ti = \"0\",\n\t\t\t\tunmatched = seed && [],\n\t\t\t\toutermost = expandContext != null,\n\t\t\t\tcontextBackup = outermostContext,\n\t\t\t\t// We must always have either seed elements or context\n\t\t\t\telems = seed || byElement && Expr.find[\"TAG\"]( \"*\", expandContext && context.parentNode || context ),\n\t\t\t\t// Use integer dirruns iff this is the outermost matcher\n\t\t\t\tdirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1);\n\n\t\t\tif ( outermost ) {\n\t\t\t\toutermostContext = context !== document && context;\n\t\t\t\tcachedruns = matcherCachedRuns;\n\t\t\t}\n\n\t\t\t// Add elements passing elementMatchers directly to results\n\t\t\t// Keep `i` a string if there are no elements so `matchedCount` will be \"00\" below\n\t\t\tfor ( ; (elem = elems[i]) != null; i++ ) {\n\t\t\t\tif ( byElement && elem ) {\n\t\t\t\t\tj = 0;\n\t\t\t\t\twhile ( (matcher = elementMatchers[j++]) ) {\n\t\t\t\t\t\tif ( matcher( elem, context, xml ) ) {\n\t\t\t\t\t\t\tresults.push( elem );\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ( outermost ) {\n\t\t\t\t\t\tdirruns = dirrunsUnique;\n\t\t\t\t\t\tcachedruns = ++matcherCachedRuns;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Track unmatched elements for set filters\n\t\t\t\tif ( bySet ) {\n\t\t\t\t\t// They will have gone through all possible matchers\n\t\t\t\t\tif ( (elem = !matcher && elem) ) {\n\t\t\t\t\t\tmatchedCount--;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Lengthen the array for every element, matched or not\n\t\t\t\t\tif ( seed ) {\n\t\t\t\t\t\tunmatched.push( elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Apply set filters to unmatched elements\n\t\t\tmatchedCount += i;\n\t\t\tif ( bySet && i !== matchedCount ) {\n\t\t\t\tj = 0;\n\t\t\t\twhile ( (matcher = setMatchers[j++]) ) {\n\t\t\t\t\tmatcher( unmatched, setMatched, context, xml );\n\t\t\t\t}\n\n\t\t\t\tif ( seed ) {\n\t\t\t\t\t// Reintegrate element matches to eliminate the need for sorting\n\t\t\t\t\tif ( matchedCount > 0 ) {\n\t\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\t\tif ( !(unmatched[i] || setMatched[i]) ) {\n\t\t\t\t\t\t\t\tsetMatched[i] = pop.call( results );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Discard index placeholder values to get only actual matches\n\t\t\t\t\tsetMatched = condense( setMatched );\n\t\t\t\t}\n\n\t\t\t\t// Add matches to results\n\t\t\t\tpush.apply( results, setMatched );\n\n\t\t\t\t// Seedless set matches succeeding multiple successful matchers stipulate sorting\n\t\t\t\tif ( outermost && !seed && setMatched.length > 0 &&\n\t\t\t\t\t( matchedCount + setMatchers.length ) > 1 ) {\n\n\t\t\t\t\tSizzle.uniqueSort( results );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Override manipulation of globals by nested matchers\n\t\t\tif ( outermost ) {\n\t\t\t\tdirruns = dirrunsUnique;\n\t\t\t\toutermostContext = contextBackup;\n\t\t\t}\n\n\t\t\treturn unmatched;\n\t\t};\n\n\treturn bySet ?\n\t\tmarkFunction( superMatcher ) :\n\t\tsuperMatcher;\n}\n\ncompile = Sizzle.compile = function( selector, group /* Internal Use Only */ ) {\n\tvar i,\n\t\tsetMatchers = [],\n\t\telementMatchers = [],\n\t\tcached = compilerCache[ selector + \" \" ];\n\n\tif ( !cached ) {\n\t\t// Generate a function of recursive functions that can be used to check each element\n\t\tif ( !group ) {\n\t\t\tgroup = tokenize( selector );\n\t\t}\n\t\ti = group.length;\n\t\twhile ( i-- ) {\n\t\t\tcached = matcherFromTokens( group[i] );\n\t\t\tif ( cached[ expando ] ) {\n\t\t\t\tsetMatchers.push( cached );\n\t\t\t} else {\n\t\t\t\telementMatchers.push( cached );\n\t\t\t}\n\t\t}\n\n\t\t// Cache the compiled function\n\t\tcached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) );\n\t}\n\treturn cached;\n};\n\nfunction multipleContexts( selector, contexts, results ) {\n\tvar i = 0,\n\t\tlen = contexts.length;\n\tfor ( ; i < len; i++ ) {\n\t\tSizzle( selector, contexts[i], results );\n\t}\n\treturn results;\n}\n\nfunction select( selector, context, results, seed ) {\n\tvar i, tokens, token, type, find,\n\t\tmatch = tokenize( selector );\n\n\tif ( !seed ) {\n\t\t// Try to minimize operations if there is only one group\n\t\tif ( match.length === 1 ) {\n\n\t\t\t// Take a shortcut and set the context if the root selector is an ID\n\t\t\ttokens = match[0] = match[0].slice( 0 );\n\t\t\tif ( tokens.length > 2 && (token = tokens[0]).type === \"ID\" &&\n\t\t\t\t\tsupport.getById && context.nodeType === 9 && documentIsHTML &&\n\t\t\t\t\tExpr.relative[ tokens[1].type ] ) {\n\n\t\t\t\tcontext = ( Expr.find[\"ID\"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0];\n\t\t\t\tif ( !context ) {\n\t\t\t\t\treturn results;\n\t\t\t\t}\n\t\t\t\tselector = selector.slice( tokens.shift().value.length );\n\t\t\t}\n\n\t\t\t// Fetch a seed set for right-to-left matching\n\t\t\ti = matchExpr[\"needsContext\"].test( selector ) ? 0 : tokens.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\ttoken = tokens[i];\n\n\t\t\t\t// Abort if we hit a combinator\n\t\t\t\tif ( Expr.relative[ (type = token.type) ] ) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif ( (find = Expr.find[ type ]) ) {\n\t\t\t\t\t// Search, expanding context for leading sibling combinators\n\t\t\t\t\tif ( (seed = find(\n\t\t\t\t\t\ttoken.matches[0].replace( runescape, funescape ),\n\t\t\t\t\t\trsibling.test( tokens[0].type ) && context.parentNode || context\n\t\t\t\t\t)) ) {\n\n\t\t\t\t\t\t// If seed is empty or no tokens remain, we can return early\n\t\t\t\t\t\ttokens.splice( i, 1 );\n\t\t\t\t\t\tselector = seed.length && toSelector( tokens );\n\t\t\t\t\t\tif ( !selector ) {\n\t\t\t\t\t\t\tpush.apply( results, seed );\n\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Compile and execute a filtering function\n\t// Provide `match` to avoid retokenization if we modified the selector above\n\tcompile( selector, match )(\n\t\tseed,\n\t\tcontext,\n\t\t!documentIsHTML,\n\t\tresults,\n\t\trsibling.test( selector )\n\t);\n\treturn results;\n}\n\n// One-time assignments\n\n// Sort stability\nsupport.sortStable = expando.split(\"\").sort( sortOrder ).join(\"\") === expando;\n\n// Support: Chrome<14\n// Always assume duplicates if they aren't passed to the comparison function\nsupport.detectDuplicates = hasDuplicate;\n\n// Initialize against the default document\nsetDocument();\n\n// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27)\n// Detached nodes confoundingly follow *each other*\nsupport.sortDetached = assert(function( div1 ) {\n\t// Should return 1, but returns 4 (following)\n\treturn div1.compareDocumentPosition( document.createElement(\"div\") ) & 1;\n});\n\n// Support: IE<8\n// Prevent attribute/property \"interpolation\"\n// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx\nif ( !assert(function( div ) {\n\tdiv.innerHTML = \"<a href='#'></a>\";\n\treturn div.firstChild.getAttribute(\"href\") === \"#\" ;\n}) ) {\n\taddHandle( \"type|href|height|width\", function( elem, name, isXML ) {\n\t\tif ( !isXML ) {\n\t\t\treturn elem.getAttribute( name, name.toLowerCase() === \"type\" ? 1 : 2 );\n\t\t}\n\t});\n}\n\n// Support: IE<9\n// Use defaultValue in place of getAttribute(\"value\")\nif ( !support.attributes || !assert(function( div ) {\n\tdiv.innerHTML = \"<input/>\";\n\tdiv.firstChild.setAttribute( \"value\", \"\" );\n\treturn div.firstChild.getAttribute( \"value\" ) === \"\";\n}) ) {\n\taddHandle( \"value\", function( elem, name, isXML ) {\n\t\tif ( !isXML && elem.nodeName.toLowerCase() === \"input\" ) {\n\t\t\treturn elem.defaultValue;\n\t\t}\n\t});\n}\n\n// Support: IE<9\n// Use getAttributeNode to fetch booleans when getAttribute lies\nif ( !assert(function( div ) {\n\treturn div.getAttribute(\"disabled\") == null;\n}) ) {\n\taddHandle( booleans, function( elem, name, isXML ) {\n\t\tvar val;\n\t\tif ( !isXML ) {\n\t\t\treturn (val = elem.getAttributeNode( name )) && val.specified ?\n\t\t\t\tval.value :\n\t\t\t\telem[ name ] === true ? name.toLowerCase() : null;\n\t\t}\n\t});\n}\n\njQuery.find = Sizzle;\njQuery.expr = Sizzle.selectors;\njQuery.expr[\":\"] = jQuery.expr.pseudos;\njQuery.unique = Sizzle.uniqueSort;\njQuery.text = Sizzle.getText;\njQuery.isXMLDoc = Sizzle.isXML;\njQuery.contains = Sizzle.contains;\n\n\n})( window );\n// String to Object options format cache\nvar optionsCache = {};\n\n// Convert String-formatted options into Object-formatted ones and store in cache\nfunction createOptions( options ) {\n\tvar object = optionsCache[ options ] = {};\n\tjQuery.each( options.match( core_rnotwhite ) || [], function( _, flag ) {\n\t\tobject[ flag ] = true;\n\t});\n\treturn object;\n}\n\n/*\n * Create a callback list using the following parameters:\n *\n *\toptions: an optional list of space-separated options that will change how\n *\t\t\tthe callback list behaves or a more traditional option object\n *\n * By default a callback list will act like an event callback list and can be\n * \"fired\" multiple times.\n *\n * Possible options:\n *\n *\tonce:\t\t\twill ensure the callback list can only be fired once (like a Deferred)\n *\n *\tmemory:\t\t\twill keep track of previous values and will call any callback added\n *\t\t\t\t\tafter the list has been fired right away with the latest \"memorized\"\n *\t\t\t\t\tvalues (like a Deferred)\n *\n *\tunique:\t\t\twill ensure a callback can only be added once (no duplicate in the list)\n *\n *\tstopOnFalse:\tinterrupt callings when a callback returns false\n *\n */\njQuery.Callbacks = function( options ) {\n\n\t// Convert options from String-formatted to Object-formatted if needed\n\t// (we check in cache first)\n\toptions = typeof options === \"string\" ?\n\t\t( optionsCache[ options ] || createOptions( options ) ) :\n\t\tjQuery.extend( {}, options );\n\n\tvar // Flag to know if list is currently firing\n\t\tfiring,\n\t\t// Last fire value (for non-forgettable lists)\n\t\tmemory,\n\t\t// Flag to know if list was already fired\n\t\tfired,\n\t\t// End of the loop when firing\n\t\tfiringLength,\n\t\t// Index of currently firing callback (modified by remove if needed)\n\t\tfiringIndex,\n\t\t// First callback to fire (used internally by add and fireWith)\n\t\tfiringStart,\n\t\t// Actual callback list\n\t\tlist = [],\n\t\t// Stack of fire calls for repeatable lists\n\t\tstack = !options.once && [],\n\t\t// Fire callbacks\n\t\tfire = function( data ) {\n\t\t\tmemory = options.memory && data;\n\t\t\tfired = true;\n\t\t\tfiringIndex = firingStart || 0;\n\t\t\tfiringStart = 0;\n\t\t\tfiringLength = list.length;\n\t\t\tfiring = true;\n\t\t\tfor ( ; list && firingIndex < firingLength; firingIndex++ ) {\n\t\t\t\tif ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) {\n\t\t\t\t\tmemory = false; // To prevent further calls using add\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tfiring = false;\n\t\t\tif ( list ) {\n\t\t\t\tif ( stack ) {\n\t\t\t\t\tif ( stack.length ) {\n\t\t\t\t\t\tfire( stack.shift() );\n\t\t\t\t\t}\n\t\t\t\t} else if ( memory ) {\n\t\t\t\t\tlist = [];\n\t\t\t\t} else {\n\t\t\t\t\tself.disable();\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t// Actual Callbacks object\n\t\tself = {\n\t\t\t// Add a callback or a collection of callbacks to the list\n\t\t\tadd: function() {\n\t\t\t\tif ( list ) {\n\t\t\t\t\t// First, we save the current length\n\t\t\t\t\tvar start = list.length;\n\t\t\t\t\t(function add( args ) {\n\t\t\t\t\t\tjQuery.each( args, function( _, arg ) {\n\t\t\t\t\t\t\tvar type = jQuery.type( arg );\n\t\t\t\t\t\t\tif ( type === \"function\" ) {\n\t\t\t\t\t\t\t\tif ( !options.unique || !self.has( arg ) ) {\n\t\t\t\t\t\t\t\t\tlist.push( arg );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if ( arg && arg.length && type !== \"string\" ) {\n\t\t\t\t\t\t\t\t// Inspect recursively\n\t\t\t\t\t\t\t\tadd( arg );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t})( arguments );\n\t\t\t\t\t// Do we need to add the callbacks to the\n\t\t\t\t\t// current firing batch?\n\t\t\t\t\tif ( firing ) {\n\t\t\t\t\t\tfiringLength = list.length;\n\t\t\t\t\t// With memory, if we're not firing then\n\t\t\t\t\t// we should call right away\n\t\t\t\t\t} else if ( memory ) {\n\t\t\t\t\t\tfiringStart = start;\n\t\t\t\t\t\tfire( memory );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\t// Remove a callback from the list\n\t\t\tremove: function() {\n\t\t\t\tif ( list ) {\n\t\t\t\t\tjQuery.each( arguments, function( _, arg ) {\n\t\t\t\t\t\tvar index;\n\t\t\t\t\t\twhile( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) {\n\t\t\t\t\t\t\tlist.splice( index, 1 );\n\t\t\t\t\t\t\t// Handle firing indexes\n\t\t\t\t\t\t\tif ( firing ) {\n\t\t\t\t\t\t\t\tif ( index <= firingLength ) {\n\t\t\t\t\t\t\t\t\tfiringLength--;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif ( index <= firingIndex ) {\n\t\t\t\t\t\t\t\t\tfiringIndex--;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\t// Check if a given callback is in the list.\n\t\t\t// If no argument is given, return whether or not list has callbacks attached.\n\t\t\thas: function( fn ) {\n\t\t\t\treturn fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length );\n\t\t\t},\n\t\t\t// Remove all callbacks from the list\n\t\t\tempty: function() {\n\t\t\t\tlist = [];\n\t\t\t\tfiringLength = 0;\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\t// Have the list do nothing anymore\n\t\t\tdisable: function() {\n\t\t\t\tlist = stack = memory = undefined;\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\t// Is it disabled?\n\t\t\tdisabled: function() {\n\t\t\t\treturn !list;\n\t\t\t},\n\t\t\t// Lock the list in its current state\n\t\t\tlock: function() {\n\t\t\t\tstack = undefined;\n\t\t\t\tif ( !memory ) {\n\t\t\t\t\tself.disable();\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\t// Is it locked?\n\t\t\tlocked: function() {\n\t\t\t\treturn !stack;\n\t\t\t},\n\t\t\t// Call all callbacks with the given context and arguments\n\t\t\tfireWith: function( context, args ) {\n\t\t\t\tif ( list && ( !fired || stack ) ) {\n\t\t\t\t\targs = args || [];\n\t\t\t\t\targs = [ context, args.slice ? args.slice() : args ];\n\t\t\t\t\tif ( firing ) {\n\t\t\t\t\t\tstack.push( args );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tfire( args );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\t// Call all the callbacks with the given arguments\n\t\t\tfire: function() {\n\t\t\t\tself.fireWith( this, arguments );\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\t// To know if the callbacks have already been called at least once\n\t\t\tfired: function() {\n\t\t\t\treturn !!fired;\n\t\t\t}\n\t\t};\n\n\treturn self;\n};\njQuery.extend({\n\n\tDeferred: function( func ) {\n\t\tvar tuples = [\n\t\t\t\t// action, add listener, listener list, final state\n\t\t\t\t[ \"resolve\", \"done\", jQuery.Callbacks(\"once memory\"), \"resolved\" ],\n\t\t\t\t[ \"reject\", \"fail\", jQuery.Callbacks(\"once memory\"), \"rejected\" ],\n\t\t\t\t[ \"notify\", \"progress\", jQuery.Callbacks(\"memory\") ]\n\t\t\t],\n\t\t\tstate = \"pending\",\n\t\t\tpromise = {\n\t\t\t\tstate: function() {\n\t\t\t\t\treturn state;\n\t\t\t\t},\n\t\t\t\talways: function() {\n\t\t\t\t\tdeferred.done( arguments ).fail( arguments );\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\t\t\t\tthen: function( /* fnDone, fnFail, fnProgress */ ) {\n\t\t\t\t\tvar fns = arguments;\n\t\t\t\t\treturn jQuery.Deferred(function( newDefer ) {\n\t\t\t\t\t\tjQuery.each( tuples, function( i, tuple ) {\n\t\t\t\t\t\t\tvar action = tuple[ 0 ],\n\t\t\t\t\t\t\t\tfn = jQuery.isFunction( fns[ i ] ) && fns[ i ];\n\t\t\t\t\t\t\t// deferred[ done | fail | progress ] for forwarding actions to newDefer\n\t\t\t\t\t\t\tdeferred[ tuple[1] ](function() {\n\t\t\t\t\t\t\t\tvar returned = fn && fn.apply( this, arguments );\n\t\t\t\t\t\t\t\tif ( returned && jQuery.isFunction( returned.promise ) ) {\n\t\t\t\t\t\t\t\t\treturned.promise()\n\t\t\t\t\t\t\t\t\t\t.done( newDefer.resolve )\n\t\t\t\t\t\t\t\t\t\t.fail( newDefer.reject )\n\t\t\t\t\t\t\t\t\t\t.progress( newDefer.notify );\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tnewDefer[ action + \"With\" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t});\n\t\t\t\t\t\tfns = null;\n\t\t\t\t\t}).promise();\n\t\t\t\t},\n\t\t\t\t// Get a promise for this deferred\n\t\t\t\t// If obj is provided, the promise aspect is added to the object\n\t\t\t\tpromise: function( obj ) {\n\t\t\t\t\treturn obj != null ? jQuery.extend( obj, promise ) : promise;\n\t\t\t\t}\n\t\t\t},\n\t\t\tdeferred = {};\n\n\t\t// Keep pipe for back-compat\n\t\tpromise.pipe = promise.then;\n\n\t\t// Add list-specific methods\n\t\tjQuery.each( tuples, function( i, tuple ) {\n\t\t\tvar list = tuple[ 2 ],\n\t\t\t\tstateString = tuple[ 3 ];\n\n\t\t\t// promise[ done | fail | progress ] = list.add\n\t\t\tpromise[ tuple[1] ] = list.add;\n\n\t\t\t// Handle state\n\t\t\tif ( stateString ) {\n\t\t\t\tlist.add(function() {\n\t\t\t\t\t// state = [ resolved | rejected ]\n\t\t\t\t\tstate = stateString;\n\n\t\t\t\t// [ reject_list | resolve_list ].disable; progress_list.lock\n\t\t\t\t}, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock );\n\t\t\t}\n\n\t\t\t// deferred[ resolve | reject | notify ]\n\t\t\tdeferred[ tuple[0] ] = function() {\n\t\t\t\tdeferred[ tuple[0] + \"With\" ]( this === deferred ? promise : this, arguments );\n\t\t\t\treturn this;\n\t\t\t};\n\t\t\tdeferred[ tuple[0] + \"With\" ] = list.fireWith;\n\t\t});\n\n\t\t// Make the deferred a promise\n\t\tpromise.promise( deferred );\n\n\t\t// Call given func if any\n\t\tif ( func ) {\n\t\t\tfunc.call( deferred, deferred );\n\t\t}\n\n\t\t// All done!\n\t\treturn deferred;\n\t},\n\n\t// Deferred helper\n\twhen: function( subordinate /* , ..., subordinateN */ ) {\n\t\tvar i = 0,\n\t\t\tresolveValues = core_slice.call( arguments ),\n\t\t\tlength = resolveValues.length,\n\n\t\t\t// the count of uncompleted subordinates\n\t\t\tremaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0,\n\n\t\t\t// the master Deferred. If resolveValues consist of only a single Deferred, just use that.\n\t\t\tdeferred = remaining === 1 ? subordinate : jQuery.Deferred(),\n\n\t\t\t// Update function for both resolve and progress values\n\t\t\tupdateFunc = function( i, contexts, values ) {\n\t\t\t\treturn function( value ) {\n\t\t\t\t\tcontexts[ i ] = this;\n\t\t\t\t\tvalues[ i ] = arguments.length > 1 ? core_slice.call( arguments ) : value;\n\t\t\t\t\tif( values === progressValues ) {\n\t\t\t\t\t\tdeferred.notifyWith( contexts, values );\n\t\t\t\t\t} else if ( !( --remaining ) ) {\n\t\t\t\t\t\tdeferred.resolveWith( contexts, values );\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t},\n\n\t\t\tprogressValues, progressContexts, resolveContexts;\n\n\t\t// add listeners to Deferred subordinates; treat others as resolved\n\t\tif ( length > 1 ) {\n\t\t\tprogressValues = new Array( length );\n\t\t\tprogressContexts = new Array( length );\n\t\t\tresolveContexts = new Array( length );\n\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\tif ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) {\n\t\t\t\t\tresolveValues[ i ].promise()\n\t\t\t\t\t\t.done( updateFunc( i, resolveContexts, resolveValues ) )\n\t\t\t\t\t\t.fail( deferred.reject )\n\t\t\t\t\t\t.progress( updateFunc( i, progressContexts, progressValues ) );\n\t\t\t\t} else {\n\t\t\t\t\t--remaining;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// if we're not waiting on anything, resolve the master\n\t\tif ( !remaining ) {\n\t\t\tdeferred.resolveWith( resolveContexts, resolveValues );\n\t\t}\n\n\t\treturn deferred.promise();\n\t}\n});\njQuery.support = (function( support ) {\n\n\tvar all, a, input, select, fragment, opt, eventName, isSupported, i,\n\t\tdiv = document.createElement(\"div\");\n\n\t// Setup\n\tdiv.setAttribute( \"className\", \"t\" );\n\tdiv.innerHTML = \"  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>\";\n\n\t// Finish early in limited (non-browser) environments\n\tall = div.getElementsByTagName(\"*\") || [];\n\ta = div.getElementsByTagName(\"a\")[ 0 ];\n\tif ( !a || !a.style || !all.length ) {\n\t\treturn support;\n\t}\n\n\t// First batch of tests\n\tselect = document.createElement(\"select\");\n\topt = select.appendChild( document.createElement(\"option\") );\n\tinput = div.getElementsByTagName(\"input\")[ 0 ];\n\n\ta.style.cssText = \"top:1px;float:left;opacity:.5\";\n\n\t// Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7)\n\tsupport.getSetAttribute = div.className !== \"t\";\n\n\t// IE strips leading whitespace when .innerHTML is used\n\tsupport.leadingWhitespace = div.firstChild.nodeType === 3;\n\n\t// Make sure that tbody elements aren't automatically inserted\n\t// IE will insert them into empty tables\n\tsupport.tbody = !div.getElementsByTagName(\"tbody\").length;\n\n\t// Make sure that link elements get serialized correctly by innerHTML\n\t// This requires a wrapper element in IE\n\tsupport.htmlSerialize = !!div.getElementsByTagName(\"link\").length;\n\n\t// Get the style information from getAttribute\n\t// (IE uses .cssText instead)\n\tsupport.style = /top/.test( a.getAttribute(\"style\") );\n\n\t// Make sure that URLs aren't manipulated\n\t// (IE normalizes it by default)\n\tsupport.hrefNormalized = a.getAttribute(\"href\") === \"/a\";\n\n\t// Make sure that element opacity exists\n\t// (IE uses filter instead)\n\t// Use a regex to work around a WebKit issue. See #5145\n\tsupport.opacity = /^0.5/.test( a.style.opacity );\n\n\t// Verify style float existence\n\t// (IE uses styleFloat instead of cssFloat)\n\tsupport.cssFloat = !!a.style.cssFloat;\n\n\t// Check the default checkbox/radio value (\"\" on WebKit; \"on\" elsewhere)\n\tsupport.checkOn = !!input.value;\n\n\t// Make sure that a selected-by-default option has a working selected property.\n\t// (WebKit defaults to false instead of true, IE too, if it's in an optgroup)\n\tsupport.optSelected = opt.selected;\n\n\t// Tests for enctype support on a form (#6743)\n\tsupport.enctype = !!document.createElement(\"form\").enctype;\n\n\t// Makes sure cloning an html5 element does not cause problems\n\t// Where outerHTML is undefined, this still works\n\tsupport.html5Clone = document.createElement(\"nav\").cloneNode( true ).outerHTML !== \"<:nav></:nav>\";\n\n\t// Will be defined later\n\tsupport.inlineBlockNeedsLayout = false;\n\tsupport.shrinkWrapBlocks = false;\n\tsupport.pixelPosition = false;\n\tsupport.deleteExpando = true;\n\tsupport.noCloneEvent = true;\n\tsupport.reliableMarginRight = true;\n\tsupport.boxSizingReliable = true;\n\n\t// Make sure checked status is properly cloned\n\tinput.checked = true;\n\tsupport.noCloneChecked = input.cloneNode( true ).checked;\n\n\t// Make sure that the options inside disabled selects aren't marked as disabled\n\t// (WebKit marks them as disabled)\n\tselect.disabled = true;\n\tsupport.optDisabled = !opt.disabled;\n\n\t// Support: IE<9\n\ttry {\n\t\tdelete div.test;\n\t} catch( e ) {\n\t\tsupport.deleteExpando = false;\n\t}\n\n\t// Check if we can trust getAttribute(\"value\")\n\tinput = document.createElement(\"input\");\n\tinput.setAttribute( \"value\", \"\" );\n\tsupport.input = input.getAttribute( \"value\" ) === \"\";\n\n\t// Check if an input maintains its value after becoming a radio\n\tinput.value = \"t\";\n\tinput.setAttribute( \"type\", \"radio\" );\n\tsupport.radioValue = input.value === \"t\";\n\n\t// #11217 - WebKit loses check when the name is after the checked attribute\n\tinput.setAttribute( \"checked\", \"t\" );\n\tinput.setAttribute( \"name\", \"t\" );\n\n\tfragment = document.createDocumentFragment();\n\tfragment.appendChild( input );\n\n\t// Check if a disconnected checkbox will retain its checked\n\t// value of true after appended to the DOM (IE6/7)\n\tsupport.appendChecked = input.checked;\n\n\t// WebKit doesn't clone checked state correctly in fragments\n\tsupport.checkClone = fragment.cloneNode( true ).cloneNode( true ).lastChild.checked;\n\n\t// Support: IE<9\n\t// Opera does not clone events (and typeof div.attachEvent === undefined).\n\t// IE9-10 clones events bound via attachEvent, but they don't trigger with .click()\n\tif ( div.attachEvent ) {\n\t\tdiv.attachEvent( \"onclick\", function() {\n\t\t\tsupport.noCloneEvent = false;\n\t\t});\n\n\t\tdiv.cloneNode( true ).click();\n\t}\n\n\t// Support: IE<9 (lack submit/change bubble), Firefox 17+ (lack focusin event)\n\t// Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP)\n\tfor ( i in { submit: true, change: true, focusin: true }) {\n\t\tdiv.setAttribute( eventName = \"on\" + i, \"t\" );\n\n\t\tsupport[ i + \"Bubbles\" ] = eventName in window || div.attributes[ eventName ].expando === false;\n\t}\n\n\tdiv.style.backgroundClip = \"content-box\";\n\tdiv.cloneNode( true ).style.backgroundClip = \"\";\n\tsupport.clearCloneStyle = div.style.backgroundClip === \"content-box\";\n\n\t// Support: IE<9\n\t// Iteration over object's inherited properties before its own.\n\tfor ( i in jQuery( support ) ) {\n\t\tbreak;\n\t}\n\tsupport.ownLast = i !== \"0\";\n\n\t// Run tests that need a body at doc ready\n\tjQuery(function() {\n\t\tvar container, marginDiv, tds,\n\t\t\tdivReset = \"padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;\",\n\t\t\tbody = document.getElementsByTagName(\"body\")[0];\n\n\t\tif ( !body ) {\n\t\t\t// Return for frameset docs that don't have a body\n\t\t\treturn;\n\t\t}\n\n\t\tcontainer = document.createElement(\"div\");\n\t\tcontainer.style.cssText = \"border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px\";\n\n\t\tbody.appendChild( container ).appendChild( div );\n\n\t\t// Support: IE8\n\t\t// Check if table cells still have offsetWidth/Height when they are set\n\t\t// to display:none and there are still other visible table cells in a\n\t\t// table row; if so, offsetWidth/Height are not reliable for use when\n\t\t// determining if an element has been hidden directly using\n\t\t// display:none (it is still safe to use offsets if a parent element is\n\t\t// hidden; don safety goggles and see bug #4512 for more information).\n\t\tdiv.innerHTML = \"<table><tr><td></td><td>t</td></tr></table>\";\n\t\ttds = div.getElementsByTagName(\"td\");\n\t\ttds[ 0 ].style.cssText = \"padding:0;margin:0;border:0;display:none\";\n\t\tisSupported = ( tds[ 0 ].offsetHeight === 0 );\n\n\t\ttds[ 0 ].style.display = \"\";\n\t\ttds[ 1 ].style.display = \"none\";\n\n\t\t// Support: IE8\n\t\t// Check if empty table cells still have offsetWidth/Height\n\t\tsupport.reliableHiddenOffsets = isSupported && ( tds[ 0 ].offsetHeight === 0 );\n\n\t\t// Check box-sizing and margin behavior.\n\t\tdiv.innerHTML = \"\";\n\t\tdiv.style.cssText = \"box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;\";\n\n\t\t// Workaround failing boxSizing test due to offsetWidth returning wrong value\n\t\t// with some non-1 values of body zoom, ticket #13543\n\t\tjQuery.swap( body, body.style.zoom != null ? { zoom: 1 } : {}, function() {\n\t\t\tsupport.boxSizing = div.offsetWidth === 4;\n\t\t});\n\n\t\t// Use window.getComputedStyle because jsdom on node.js will break without it.\n\t\tif ( window.getComputedStyle ) {\n\t\t\tsupport.pixelPosition = ( window.getComputedStyle( div, null ) || {} ).top !== \"1%\";\n\t\t\tsupport.boxSizingReliable = ( window.getComputedStyle( div, null ) || { width: \"4px\" } ).width === \"4px\";\n\n\t\t\t// Check if div with explicit width and no margin-right incorrectly\n\t\t\t// gets computed margin-right based on width of container. (#3333)\n\t\t\t// Fails in WebKit before Feb 2011 nightlies\n\t\t\t// WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right\n\t\t\tmarginDiv = div.appendChild( document.createElement(\"div\") );\n\t\t\tmarginDiv.style.cssText = div.style.cssText = divReset;\n\t\t\tmarginDiv.style.marginRight = marginDiv.style.width = \"0\";\n\t\t\tdiv.style.width = \"1px\";\n\n\t\t\tsupport.reliableMarginRight =\n\t\t\t\t!parseFloat( ( window.getComputedStyle( marginDiv, null ) || {} ).marginRight );\n\t\t}\n\n\t\tif ( typeof div.style.zoom !== core_strundefined ) {\n\t\t\t// Support: IE<8\n\t\t\t// Check if natively block-level elements act like inline-block\n\t\t\t// elements when setting their display to 'inline' and giving\n\t\t\t// them layout\n\t\t\tdiv.innerHTML = \"\";\n\t\t\tdiv.style.cssText = divReset + \"width:1px;padding:1px;display:inline;zoom:1\";\n\t\t\tsupport.inlineBlockNeedsLayout = ( div.offsetWidth === 3 );\n\n\t\t\t// Support: IE6\n\t\t\t// Check if elements with layout shrink-wrap their children\n\t\t\tdiv.style.display = \"block\";\n\t\t\tdiv.innerHTML = \"<div></div>\";\n\t\t\tdiv.firstChild.style.width = \"5px\";\n\t\t\tsupport.shrinkWrapBlocks = ( div.offsetWidth !== 3 );\n\n\t\t\tif ( support.inlineBlockNeedsLayout ) {\n\t\t\t\t// Prevent IE 6 from affecting layout for positioned elements #11048\n\t\t\t\t// Prevent IE from shrinking the body in IE 7 mode #12869\n\t\t\t\t// Support: IE<8\n\t\t\t\tbody.style.zoom = 1;\n\t\t\t}\n\t\t}\n\n\t\tbody.removeChild( container );\n\n\t\t// Null elements to avoid leaks in IE\n\t\tcontainer = div = tds = marginDiv = null;\n\t});\n\n\t// Null elements to avoid leaks in IE\n\tall = select = fragment = opt = a = input = null;\n\n\treturn support;\n})({});\n\nvar rbrace = /(?:\\{[\\s\\S]*\\}|\\[[\\s\\S]*\\])$/,\n\trmultiDash = /([A-Z])/g;\n\nfunction internalData( elem, name, data, pvt /* Internal Use Only */ ){\n\tif ( !jQuery.acceptData( elem ) ) {\n\t\treturn;\n\t}\n\n\tvar ret, thisCache,\n\t\tinternalKey = jQuery.expando,\n\n\t\t// We have to handle DOM nodes and JS objects differently because IE6-7\n\t\t// can't GC object references properly across the DOM-JS boundary\n\t\tisNode = elem.nodeType,\n\n\t\t// Only DOM nodes need the global jQuery cache; JS object data is\n\t\t// attached directly to the object so GC can occur automatically\n\t\tcache = isNode ? jQuery.cache : elem,\n\n\t\t// Only defining an ID for JS objects if its cache already exists allows\n\t\t// the code to shortcut on the same path as a DOM node with no cache\n\t\tid = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey;\n\n\t// Avoid doing any more work than we need to when trying to get data on an\n\t// object that has no data at all\n\tif ( (!id || !cache[id] || (!pvt && !cache[id].data)) && data === undefined && typeof name === \"string\" ) {\n\t\treturn;\n\t}\n\n\tif ( !id ) {\n\t\t// Only DOM nodes need a new unique ID for each element since their data\n\t\t// ends up in the global cache\n\t\tif ( isNode ) {\n\t\t\tid = elem[ internalKey ] = core_deletedIds.pop() || jQuery.guid++;\n\t\t} else {\n\t\t\tid = internalKey;\n\t\t}\n\t}\n\n\tif ( !cache[ id ] ) {\n\t\t// Avoid exposing jQuery metadata on plain JS objects when the object\n\t\t// is serialized using JSON.stringify\n\t\tcache[ id ] = isNode ? {} : { toJSON: jQuery.noop };\n\t}\n\n\t// An object can be passed to jQuery.data instead of a key/value pair; this gets\n\t// shallow copied over onto the existing cache\n\tif ( typeof name === \"object\" || typeof name === \"function\" ) {\n\t\tif ( pvt ) {\n\t\t\tcache[ id ] = jQuery.extend( cache[ id ], name );\n\t\t} else {\n\t\t\tcache[ id ].data = jQuery.extend( cache[ id ].data, name );\n\t\t}\n\t}\n\n\tthisCache = cache[ id ];\n\n\t// jQuery data() is stored in a separate object inside the object's internal data\n\t// cache in order to avoid key collisions between internal data and user-defined\n\t// data.\n\tif ( !pvt ) {\n\t\tif ( !thisCache.data ) {\n\t\t\tthisCache.data = {};\n\t\t}\n\n\t\tthisCache = thisCache.data;\n\t}\n\n\tif ( data !== undefined ) {\n\t\tthisCache[ jQuery.camelCase( name ) ] = data;\n\t}\n\n\t// Check for both converted-to-camel and non-converted data property names\n\t// If a data property was specified\n\tif ( typeof name === \"string\" ) {\n\n\t\t// First Try to find as-is property data\n\t\tret = thisCache[ name ];\n\n\t\t// Test for null|undefined property data\n\t\tif ( ret == null ) {\n\n\t\t\t// Try to find the camelCased property\n\t\t\tret = thisCache[ jQuery.camelCase( name ) ];\n\t\t}\n\t} else {\n\t\tret = thisCache;\n\t}\n\n\treturn ret;\n}\n\nfunction internalRemoveData( elem, name, pvt ) {\n\tif ( !jQuery.acceptData( elem ) ) {\n\t\treturn;\n\t}\n\n\tvar thisCache, i,\n\t\tisNode = elem.nodeType,\n\n\t\t// See jQuery.data for more information\n\t\tcache = isNode ? jQuery.cache : elem,\n\t\tid = isNode ? elem[ jQuery.expando ] : jQuery.expando;\n\n\t// If there is already no cache entry for this object, there is no\n\t// purpose in continuing\n\tif ( !cache[ id ] ) {\n\t\treturn;\n\t}\n\n\tif ( name ) {\n\n\t\tthisCache = pvt ? cache[ id ] : cache[ id ].data;\n\n\t\tif ( thisCache ) {\n\n\t\t\t// Support array or space separated string names for data keys\n\t\t\tif ( !jQuery.isArray( name ) ) {\n\n\t\t\t\t// try the string as a key before any manipulation\n\t\t\t\tif ( name in thisCache ) {\n\t\t\t\t\tname = [ name ];\n\t\t\t\t} else {\n\n\t\t\t\t\t// split the camel cased version by spaces unless a key with the spaces exists\n\t\t\t\t\tname = jQuery.camelCase( name );\n\t\t\t\t\tif ( name in thisCache ) {\n\t\t\t\t\t\tname = [ name ];\n\t\t\t\t\t} else {\n\t\t\t\t\t\tname = name.split(\" \");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// If \"name\" is an array of keys...\n\t\t\t\t// When data is initially created, via (\"key\", \"val\") signature,\n\t\t\t\t// keys will be converted to camelCase.\n\t\t\t\t// Since there is no way to tell _how_ a key was added, remove\n\t\t\t\t// both plain key and camelCase key. #12786\n\t\t\t\t// This will only penalize the array argument path.\n\t\t\t\tname = name.concat( jQuery.map( name, jQuery.camelCase ) );\n\t\t\t}\n\n\t\t\ti = name.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\tdelete thisCache[ name[i] ];\n\t\t\t}\n\n\t\t\t// If there is no data left in the cache, we want to continue\n\t\t\t// and let the cache object itself get destroyed\n\t\t\tif ( pvt ? !isEmptyDataObject(thisCache) : !jQuery.isEmptyObject(thisCache) ) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\n\t// See jQuery.data for more information\n\tif ( !pvt ) {\n\t\tdelete cache[ id ].data;\n\n\t\t// Don't destroy the parent cache unless the internal data object\n\t\t// had been the only thing left in it\n\t\tif ( !isEmptyDataObject( cache[ id ] ) ) {\n\t\t\treturn;\n\t\t}\n\t}\n\n\t// Destroy the cache\n\tif ( isNode ) {\n\t\tjQuery.cleanData( [ elem ], true );\n\n\t// Use delete when supported for expandos or `cache` is not a window per isWindow (#10080)\n\t/* jshint eqeqeq: false */\n\t} else if ( jQuery.support.deleteExpando || cache != cache.window ) {\n\t\t/* jshint eqeqeq: true */\n\t\tdelete cache[ id ];\n\n\t// When all else fails, null\n\t} else {\n\t\tcache[ id ] = null;\n\t}\n}\n\njQuery.extend({\n\tcache: {},\n\n\t// The following elements throw uncatchable exceptions if you\n\t// attempt to add expando properties to them.\n\tnoData: {\n\t\t\"applet\": true,\n\t\t\"embed\": true,\n\t\t// Ban all objects except for Flash (which handle expandos)\n\t\t\"object\": \"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"\n\t},\n\n\thasData: function( elem ) {\n\t\telem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ];\n\t\treturn !!elem && !isEmptyDataObject( elem );\n\t},\n\n\tdata: function( elem, name, data ) {\n\t\treturn internalData( elem, name, data );\n\t},\n\n\tremoveData: function( elem, name ) {\n\t\treturn internalRemoveData( elem, name );\n\t},\n\n\t// For internal use only.\n\t_data: function( elem, name, data ) {\n\t\treturn internalData( elem, name, data, true );\n\t},\n\n\t_removeData: function( elem, name ) {\n\t\treturn internalRemoveData( elem, name, true );\n\t},\n\n\t// A method for determining if a DOM node can handle the data expando\n\tacceptData: function( elem ) {\n\t\t// Do not set data on non-element because it will not be cleared (#8335).\n\t\tif ( elem.nodeType && elem.nodeType !== 1 && elem.nodeType !== 9 ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tvar noData = elem.nodeName && jQuery.noData[ elem.nodeName.toLowerCase() ];\n\n\t\t// nodes accept data unless otherwise specified; rejection can be conditional\n\t\treturn !noData || noData !== true && elem.getAttribute(\"classid\") === noData;\n\t}\n});\n\njQuery.fn.extend({\n\tdata: function( key, value ) {\n\t\tvar attrs, name,\n\t\t\tdata = null,\n\t\t\ti = 0,\n\t\t\telem = this[0];\n\n\t\t// Special expections of .data basically thwart jQuery.access,\n\t\t// so implement the relevant behavior ourselves\n\n\t\t// Gets all values\n\t\tif ( key === undefined ) {\n\t\t\tif ( this.length ) {\n\t\t\t\tdata = jQuery.data( elem );\n\n\t\t\t\tif ( elem.nodeType === 1 && !jQuery._data( elem, \"parsedAttrs\" ) ) {\n\t\t\t\t\tattrs = elem.attributes;\n\t\t\t\t\tfor ( ; i < attrs.length; i++ ) {\n\t\t\t\t\t\tname = attrs[i].name;\n\n\t\t\t\t\t\tif ( name.indexOf(\"data-\") === 0 ) {\n\t\t\t\t\t\t\tname = jQuery.camelCase( name.slice(5) );\n\n\t\t\t\t\t\t\tdataAttr( elem, name, data[ name ] );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tjQuery._data( elem, \"parsedAttrs\", true );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn data;\n\t\t}\n\n\t\t// Sets multiple values\n\t\tif ( typeof key === \"object\" ) {\n\t\t\treturn this.each(function() {\n\t\t\t\tjQuery.data( this, key );\n\t\t\t});\n\t\t}\n\n\t\treturn arguments.length > 1 ?\n\n\t\t\t// Sets one value\n\t\t\tthis.each(function() {\n\t\t\t\tjQuery.data( this, key, value );\n\t\t\t}) :\n\n\t\t\t// Gets one value\n\t\t\t// Try to fetch any internally stored data first\n\t\t\telem ? dataAttr( elem, key, jQuery.data( elem, key ) ) : null;\n\t},\n\n\tremoveData: function( key ) {\n\t\treturn this.each(function() {\n\t\t\tjQuery.removeData( this, key );\n\t\t});\n\t}\n});\n\nfunction dataAttr( elem, key, data ) {\n\t// If nothing was found internally, try to fetch any\n\t// data from the HTML5 data-* attribute\n\tif ( data === undefined && elem.nodeType === 1 ) {\n\n\t\tvar name = \"data-\" + key.replace( rmultiDash, \"-$1\" ).toLowerCase();\n\n\t\tdata = elem.getAttribute( name );\n\n\t\tif ( typeof data === \"string\" ) {\n\t\t\ttry {\n\t\t\t\tdata = data === \"true\" ? true :\n\t\t\t\t\tdata === \"false\" ? false :\n\t\t\t\t\tdata === \"null\" ? null :\n\t\t\t\t\t// Only convert to a number if it doesn't change the string\n\t\t\t\t\t+data + \"\" === data ? +data :\n\t\t\t\t\trbrace.test( data ) ? jQuery.parseJSON( data ) :\n\t\t\t\t\t\tdata;\n\t\t\t} catch( e ) {}\n\n\t\t\t// Make sure we set the data so it isn't changed later\n\t\t\tjQuery.data( elem, key, data );\n\n\t\t} else {\n\t\t\tdata = undefined;\n\t\t}\n\t}\n\n\treturn data;\n}\n\n// checks a cache object for emptiness\nfunction isEmptyDataObject( obj ) {\n\tvar name;\n\tfor ( name in obj ) {\n\n\t\t// if the public data object is empty, the private is still empty\n\t\tif ( name === \"data\" && jQuery.isEmptyObject( obj[name] ) ) {\n\t\t\tcontinue;\n\t\t}\n\t\tif ( name !== \"toJSON\" ) {\n\t\t\treturn false;\n\t\t}\n\t}\n\n\treturn true;\n}\njQuery.extend({\n\tqueue: function( elem, type, data ) {\n\t\tvar queue;\n\n\t\tif ( elem ) {\n\t\t\ttype = ( type || \"fx\" ) + \"queue\";\n\t\t\tqueue = jQuery._data( elem, type );\n\n\t\t\t// Speed up dequeue by getting out quickly if this is just a lookup\n\t\t\tif ( data ) {\n\t\t\t\tif ( !queue || jQuery.isArray(data) ) {\n\t\t\t\t\tqueue = jQuery._data( elem, type, jQuery.makeArray(data) );\n\t\t\t\t} else {\n\t\t\t\t\tqueue.push( data );\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn queue || [];\n\t\t}\n\t},\n\n\tdequeue: function( elem, type ) {\n\t\ttype = type || \"fx\";\n\n\t\tvar queue = jQuery.queue( elem, type ),\n\t\t\tstartLength = queue.length,\n\t\t\tfn = queue.shift(),\n\t\t\thooks = jQuery._queueHooks( elem, type ),\n\t\t\tnext = function() {\n\t\t\t\tjQuery.dequeue( elem, type );\n\t\t\t};\n\n\t\t// If the fx queue is dequeued, always remove the progress sentinel\n\t\tif ( fn === \"inprogress\" ) {\n\t\t\tfn = queue.shift();\n\t\t\tstartLength--;\n\t\t}\n\n\t\tif ( fn ) {\n\n\t\t\t// Add a progress sentinel to prevent the fx queue from being\n\t\t\t// automatically dequeued\n\t\t\tif ( type === \"fx\" ) {\n\t\t\t\tqueue.unshift( \"inprogress\" );\n\t\t\t}\n\n\t\t\t// clear up the last queue stop function\n\t\t\tdelete hooks.stop;\n\t\t\tfn.call( elem, next, hooks );\n\t\t}\n\n\t\tif ( !startLength && hooks ) {\n\t\t\thooks.empty.fire();\n\t\t}\n\t},\n\n\t// not intended for public consumption - generates a queueHooks object, or returns the current one\n\t_queueHooks: function( elem, type ) {\n\t\tvar key = type + \"queueHooks\";\n\t\treturn jQuery._data( elem, key ) || jQuery._data( elem, key, {\n\t\t\tempty: jQuery.Callbacks(\"once memory\").add(function() {\n\t\t\t\tjQuery._removeData( elem, type + \"queue\" );\n\t\t\t\tjQuery._removeData( elem, key );\n\t\t\t})\n\t\t});\n\t}\n});\n\njQuery.fn.extend({\n\tqueue: function( type, data ) {\n\t\tvar setter = 2;\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tdata = type;\n\t\t\ttype = \"fx\";\n\t\t\tsetter--;\n\t\t}\n\n\t\tif ( arguments.length < setter ) {\n\t\t\treturn jQuery.queue( this[0], type );\n\t\t}\n\n\t\treturn data === undefined ?\n\t\t\tthis :\n\t\t\tthis.each(function() {\n\t\t\t\tvar queue = jQuery.queue( this, type, data );\n\n\t\t\t\t// ensure a hooks for this queue\n\t\t\t\tjQuery._queueHooks( this, type );\n\n\t\t\t\tif ( type === \"fx\" && queue[0] !== \"inprogress\" ) {\n\t\t\t\t\tjQuery.dequeue( this, type );\n\t\t\t\t}\n\t\t\t});\n\t},\n\tdequeue: function( type ) {\n\t\treturn this.each(function() {\n\t\t\tjQuery.dequeue( this, type );\n\t\t});\n\t},\n\t// Based off of the plugin by Clint Helfers, with permission.\n\t// http://blindsignals.com/index.php/2009/07/jquery-delay/\n\tdelay: function( time, type ) {\n\t\ttime = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;\n\t\ttype = type || \"fx\";\n\n\t\treturn this.queue( type, function( next, hooks ) {\n\t\t\tvar timeout = setTimeout( next, time );\n\t\t\thooks.stop = function() {\n\t\t\t\tclearTimeout( timeout );\n\t\t\t};\n\t\t});\n\t},\n\tclearQueue: function( type ) {\n\t\treturn this.queue( type || \"fx\", [] );\n\t},\n\t// Get a promise resolved when queues of a certain type\n\t// are emptied (fx is the type by default)\n\tpromise: function( type, obj ) {\n\t\tvar tmp,\n\t\t\tcount = 1,\n\t\t\tdefer = jQuery.Deferred(),\n\t\t\telements = this,\n\t\t\ti = this.length,\n\t\t\tresolve = function() {\n\t\t\t\tif ( !( --count ) ) {\n\t\t\t\t\tdefer.resolveWith( elements, [ elements ] );\n\t\t\t\t}\n\t\t\t};\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tobj = type;\n\t\t\ttype = undefined;\n\t\t}\n\t\ttype = type || \"fx\";\n\n\t\twhile( i-- ) {\n\t\t\ttmp = jQuery._data( elements[ i ], type + \"queueHooks\" );\n\t\t\tif ( tmp && tmp.empty ) {\n\t\t\t\tcount++;\n\t\t\t\ttmp.empty.add( resolve );\n\t\t\t}\n\t\t}\n\t\tresolve();\n\t\treturn defer.promise( obj );\n\t}\n});\nvar nodeHook, boolHook,\n\trclass = /[\\t\\r\\n\\f]/g,\n\trreturn = /\\r/g,\n\trfocusable = /^(?:input|select|textarea|button|object)$/i,\n\trclickable = /^(?:a|area)$/i,\n\truseDefault = /^(?:checked|selected)$/i,\n\tgetSetAttribute = jQuery.support.getSetAttribute,\n\tgetSetInput = jQuery.support.input;\n\njQuery.fn.extend({\n\tattr: function( name, value ) {\n\t\treturn jQuery.access( this, jQuery.attr, name, value, arguments.length > 1 );\n\t},\n\n\tremoveAttr: function( name ) {\n\t\treturn this.each(function() {\n\t\t\tjQuery.removeAttr( this, name );\n\t\t});\n\t},\n\n\tprop: function( name, value ) {\n\t\treturn jQuery.access( this, jQuery.prop, name, value, arguments.length > 1 );\n\t},\n\n\tremoveProp: function( name ) {\n\t\tname = jQuery.propFix[ name ] || name;\n\t\treturn this.each(function() {\n\t\t\t// try/catch handles cases where IE balks (such as removing a property on window)\n\t\t\ttry {\n\t\t\t\tthis[ name ] = undefined;\n\t\t\t\tdelete this[ name ];\n\t\t\t} catch( e ) {}\n\t\t});\n\t},\n\n\taddClass: function( value ) {\n\t\tvar classes, elem, cur, clazz, j,\n\t\t\ti = 0,\n\t\t\tlen = this.length,\n\t\t\tproceed = typeof value === \"string\" && value;\n\n\t\tif ( jQuery.isFunction( value ) ) {\n\t\t\treturn this.each(function( j ) {\n\t\t\t\tjQuery( this ).addClass( value.call( this, j, this.className ) );\n\t\t\t});\n\t\t}\n\n\t\tif ( proceed ) {\n\t\t\t// The disjunction here is for better compressibility (see removeClass)\n\t\t\tclasses = ( value || \"\" ).match( core_rnotwhite ) || [];\n\n\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\telem = this[ i ];\n\t\t\t\tcur = elem.nodeType === 1 && ( elem.className ?\n\t\t\t\t\t( \" \" + elem.className + \" \" ).replace( rclass, \" \" ) :\n\t\t\t\t\t\" \"\n\t\t\t\t);\n\n\t\t\t\tif ( cur ) {\n\t\t\t\t\tj = 0;\n\t\t\t\t\twhile ( (clazz = classes[j++]) ) {\n\t\t\t\t\t\tif ( cur.indexOf( \" \" + clazz + \" \" ) < 0 ) {\n\t\t\t\t\t\t\tcur += clazz + \" \";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telem.className = jQuery.trim( cur );\n\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\tremoveClass: function( value ) {\n\t\tvar classes, elem, cur, clazz, j,\n\t\t\ti = 0,\n\t\t\tlen = this.length,\n\t\t\tproceed = arguments.length === 0 || typeof value === \"string\" && value;\n\n\t\tif ( jQuery.isFunction( value ) ) {\n\t\t\treturn this.each(function( j ) {\n\t\t\t\tjQuery( this ).removeClass( value.call( this, j, this.className ) );\n\t\t\t});\n\t\t}\n\t\tif ( proceed ) {\n\t\t\tclasses = ( value || \"\" ).match( core_rnotwhite ) || [];\n\n\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\telem = this[ i ];\n\t\t\t\t// This expression is here for better compressibility (see addClass)\n\t\t\t\tcur = elem.nodeType === 1 && ( elem.className ?\n\t\t\t\t\t( \" \" + elem.className + \" \" ).replace( rclass, \" \" ) :\n\t\t\t\t\t\"\"\n\t\t\t\t);\n\n\t\t\t\tif ( cur ) {\n\t\t\t\t\tj = 0;\n\t\t\t\t\twhile ( (clazz = classes[j++]) ) {\n\t\t\t\t\t\t// Remove *all* instances\n\t\t\t\t\t\twhile ( cur.indexOf( \" \" + clazz + \" \" ) >= 0 ) {\n\t\t\t\t\t\t\tcur = cur.replace( \" \" + clazz + \" \", \" \" );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telem.className = value ? jQuery.trim( cur ) : \"\";\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\ttoggleClass: function( value, stateVal ) {\n\t\tvar type = typeof value;\n\n\t\tif ( typeof stateVal === \"boolean\" && type === \"string\" ) {\n\t\t\treturn stateVal ? this.addClass( value ) : this.removeClass( value );\n\t\t}\n\n\t\tif ( jQuery.isFunction( value ) ) {\n\t\t\treturn this.each(function( i ) {\n\t\t\t\tjQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal );\n\t\t\t});\n\t\t}\n\n\t\treturn this.each(function() {\n\t\t\tif ( type === \"string\" ) {\n\t\t\t\t// toggle individual class names\n\t\t\t\tvar className,\n\t\t\t\t\ti = 0,\n\t\t\t\t\tself = jQuery( this ),\n\t\t\t\t\tclassNames = value.match( core_rnotwhite ) || [];\n\n\t\t\t\twhile ( (className = classNames[ i++ ]) ) {\n\t\t\t\t\t// check each className given, space separated list\n\t\t\t\t\tif ( self.hasClass( className ) ) {\n\t\t\t\t\t\tself.removeClass( className );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tself.addClass( className );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t// Toggle whole class name\n\t\t\t} else if ( type === core_strundefined || type === \"boolean\" ) {\n\t\t\t\tif ( this.className ) {\n\t\t\t\t\t// store className if set\n\t\t\t\t\tjQuery._data( this, \"__className__\", this.className );\n\t\t\t\t}\n\n\t\t\t\t// If the element has a class name or if we're passed \"false\",\n\t\t\t\t// then remove the whole classname (if there was one, the above saved it).\n\t\t\t\t// Otherwise bring back whatever was previously saved (if anything),\n\t\t\t\t// falling back to the empty string if nothing was stored.\n\t\t\t\tthis.className = this.className || value === false ? \"\" : jQuery._data( this, \"__className__\" ) || \"\";\n\t\t\t}\n\t\t});\n\t},\n\n\thasClass: function( selector ) {\n\t\tvar className = \" \" + selector + \" \",\n\t\t\ti = 0,\n\t\t\tl = this.length;\n\t\tfor ( ; i < l; i++ ) {\n\t\t\tif ( this[i].nodeType === 1 && (\" \" + this[i].className + \" \").replace(rclass, \" \").indexOf( className ) >= 0 ) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t},\n\n\tval: function( value ) {\n\t\tvar ret, hooks, isFunction,\n\t\t\telem = this[0];\n\n\t\tif ( !arguments.length ) {\n\t\t\tif ( elem ) {\n\t\t\t\thooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ];\n\n\t\t\t\tif ( hooks && \"get\" in hooks && (ret = hooks.get( elem, \"value\" )) !== undefined ) {\n\t\t\t\t\treturn ret;\n\t\t\t\t}\n\n\t\t\t\tret = elem.value;\n\n\t\t\t\treturn typeof ret === \"string\" ?\n\t\t\t\t\t// handle most common string cases\n\t\t\t\t\tret.replace(rreturn, \"\") :\n\t\t\t\t\t// handle cases where value is null/undef or number\n\t\t\t\t\tret == null ? \"\" : ret;\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tisFunction = jQuery.isFunction( value );\n\n\t\treturn this.each(function( i ) {\n\t\t\tvar val;\n\n\t\t\tif ( this.nodeType !== 1 ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( isFunction ) {\n\t\t\t\tval = value.call( this, i, jQuery( this ).val() );\n\t\t\t} else {\n\t\t\t\tval = value;\n\t\t\t}\n\n\t\t\t// Treat null/undefined as \"\"; convert numbers to string\n\t\t\tif ( val == null ) {\n\t\t\t\tval = \"\";\n\t\t\t} else if ( typeof val === \"number\" ) {\n\t\t\t\tval += \"\";\n\t\t\t} else if ( jQuery.isArray( val ) ) {\n\t\t\t\tval = jQuery.map(val, function ( value ) {\n\t\t\t\t\treturn value == null ? \"\" : value + \"\";\n\t\t\t\t});\n\t\t\t}\n\n\t\t\thooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ];\n\n\t\t\t// If set returns undefined, fall back to normal setting\n\t\t\tif ( !hooks || !(\"set\" in hooks) || hooks.set( this, val, \"value\" ) === undefined ) {\n\t\t\t\tthis.value = val;\n\t\t\t}\n\t\t});\n\t}\n});\n\njQuery.extend({\n\tvalHooks: {\n\t\toption: {\n\t\t\tget: function( elem ) {\n\t\t\t\t// Use proper attribute retrieval(#6932, #12072)\n\t\t\t\tvar val = jQuery.find.attr( elem, \"value\" );\n\t\t\t\treturn val != null ?\n\t\t\t\t\tval :\n\t\t\t\t\telem.text;\n\t\t\t}\n\t\t},\n\t\tselect: {\n\t\t\tget: function( elem ) {\n\t\t\t\tvar value, option,\n\t\t\t\t\toptions = elem.options,\n\t\t\t\t\tindex = elem.selectedIndex,\n\t\t\t\t\tone = elem.type === \"select-one\" || index < 0,\n\t\t\t\t\tvalues = one ? null : [],\n\t\t\t\t\tmax = one ? index + 1 : options.length,\n\t\t\t\t\ti = index < 0 ?\n\t\t\t\t\t\tmax :\n\t\t\t\t\t\tone ? index : 0;\n\n\t\t\t\t// Loop through all the selected options\n\t\t\t\tfor ( ; i < max; i++ ) {\n\t\t\t\t\toption = options[ i ];\n\n\t\t\t\t\t// oldIE doesn't update selected after form reset (#2551)\n\t\t\t\t\tif ( ( option.selected || i === index ) &&\n\t\t\t\t\t\t\t// Don't return options that are disabled or in a disabled optgroup\n\t\t\t\t\t\t\t( jQuery.support.optDisabled ? !option.disabled : option.getAttribute(\"disabled\") === null ) &&\n\t\t\t\t\t\t\t( !option.parentNode.disabled || !jQuery.nodeName( option.parentNode, \"optgroup\" ) ) ) {\n\n\t\t\t\t\t\t// Get the specific value for the option\n\t\t\t\t\t\tvalue = jQuery( option ).val();\n\n\t\t\t\t\t\t// We don't need an array for one selects\n\t\t\t\t\t\tif ( one ) {\n\t\t\t\t\t\t\treturn value;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Multi-Selects return an array\n\t\t\t\t\t\tvalues.push( value );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn values;\n\t\t\t},\n\n\t\t\tset: function( elem, value ) {\n\t\t\t\tvar optionSet, option,\n\t\t\t\t\toptions = elem.options,\n\t\t\t\t\tvalues = jQuery.makeArray( value ),\n\t\t\t\t\ti = options.length;\n\n\t\t\t\twhile ( i-- ) {\n\t\t\t\t\toption = options[ i ];\n\t\t\t\t\tif ( (option.selected = jQuery.inArray( jQuery(option).val(), values ) >= 0) ) {\n\t\t\t\t\t\toptionSet = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// force browsers to behave consistently when non-matching value is set\n\t\t\t\tif ( !optionSet ) {\n\t\t\t\t\telem.selectedIndex = -1;\n\t\t\t\t}\n\t\t\t\treturn values;\n\t\t\t}\n\t\t}\n\t},\n\n\tattr: function( elem, name, value ) {\n\t\tvar hooks, ret,\n\t\t\tnType = elem.nodeType;\n\n\t\t// don't get/set attributes on text, comment and attribute nodes\n\t\tif ( !elem || nType === 3 || nType === 8 || nType === 2 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Fallback to prop when attributes are not supported\n\t\tif ( typeof elem.getAttribute === core_strundefined ) {\n\t\t\treturn jQuery.prop( elem, name, value );\n\t\t}\n\n\t\t// All attributes are lowercase\n\t\t// Grab necessary hook if one is defined\n\t\tif ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {\n\t\t\tname = name.toLowerCase();\n\t\t\thooks = jQuery.attrHooks[ name ] ||\n\t\t\t\t( jQuery.expr.match.bool.test( name ) ? boolHook : nodeHook );\n\t\t}\n\n\t\tif ( value !== undefined ) {\n\n\t\t\tif ( value === null ) {\n\t\t\t\tjQuery.removeAttr( elem, name );\n\n\t\t\t} else if ( hooks && \"set\" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) {\n\t\t\t\treturn ret;\n\n\t\t\t} else {\n\t\t\t\telem.setAttribute( name, value + \"\" );\n\t\t\t\treturn value;\n\t\t\t}\n\n\t\t} else if ( hooks && \"get\" in hooks && (ret = hooks.get( elem, name )) !== null ) {\n\t\t\treturn ret;\n\n\t\t} else {\n\t\t\tret = jQuery.find.attr( elem, name );\n\n\t\t\t// Non-existent attributes return null, we normalize to undefined\n\t\t\treturn ret == null ?\n\t\t\t\tundefined :\n\t\t\t\tret;\n\t\t}\n\t},\n\n\tremoveAttr: function( elem, value ) {\n\t\tvar name, propName,\n\t\t\ti = 0,\n\t\t\tattrNames = value && value.match( core_rnotwhite );\n\n\t\tif ( attrNames && elem.nodeType === 1 ) {\n\t\t\twhile ( (name = attrNames[i++]) ) {\n\t\t\t\tpropName = jQuery.propFix[ name ] || name;\n\n\t\t\t\t// Boolean attributes get special treatment (#10870)\n\t\t\t\tif ( jQuery.expr.match.bool.test( name ) ) {\n\t\t\t\t\t// Set corresponding property to false\n\t\t\t\t\tif ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) {\n\t\t\t\t\t\telem[ propName ] = false;\n\t\t\t\t\t// Support: IE<9\n\t\t\t\t\t// Also clear defaultChecked/defaultSelected (if appropriate)\n\t\t\t\t\t} else {\n\t\t\t\t\t\telem[ jQuery.camelCase( \"default-\" + name ) ] =\n\t\t\t\t\t\t\telem[ propName ] = false;\n\t\t\t\t\t}\n\n\t\t\t\t// See #9699 for explanation of this approach (setting first, then removal)\n\t\t\t\t} else {\n\t\t\t\t\tjQuery.attr( elem, name, \"\" );\n\t\t\t\t}\n\n\t\t\t\telem.removeAttribute( getSetAttribute ? name : propName );\n\t\t\t}\n\t\t}\n\t},\n\n\tattrHooks: {\n\t\ttype: {\n\t\t\tset: function( elem, value ) {\n\t\t\t\tif ( !jQuery.support.radioValue && value === \"radio\" && jQuery.nodeName(elem, \"input\") ) {\n\t\t\t\t\t// Setting the type on a radio button after the value resets the value in IE6-9\n\t\t\t\t\t// Reset value to default in case type is set after value during creation\n\t\t\t\t\tvar val = elem.value;\n\t\t\t\t\telem.setAttribute( \"type\", value );\n\t\t\t\t\tif ( val ) {\n\t\t\t\t\t\telem.value = val;\n\t\t\t\t\t}\n\t\t\t\t\treturn value;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\tpropFix: {\n\t\t\"for\": \"htmlFor\",\n\t\t\"class\": \"className\"\n\t},\n\n\tprop: function( elem, name, value ) {\n\t\tvar ret, hooks, notxml,\n\t\t\tnType = elem.nodeType;\n\n\t\t// don't get/set properties on text, comment and attribute nodes\n\t\tif ( !elem || nType === 3 || nType === 8 || nType === 2 ) {\n\t\t\treturn;\n\t\t}\n\n\t\tnotxml = nType !== 1 || !jQuery.isXMLDoc( elem );\n\n\t\tif ( notxml ) {\n\t\t\t// Fix name and attach hooks\n\t\t\tname = jQuery.propFix[ name ] || name;\n\t\t\thooks = jQuery.propHooks[ name ];\n\t\t}\n\n\t\tif ( value !== undefined ) {\n\t\t\treturn hooks && \"set\" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ?\n\t\t\t\tret :\n\t\t\t\t( elem[ name ] = value );\n\n\t\t} else {\n\t\t\treturn hooks && \"get\" in hooks && (ret = hooks.get( elem, name )) !== null ?\n\t\t\t\tret :\n\t\t\t\telem[ name ];\n\t\t}\n\t},\n\n\tpropHooks: {\n\t\ttabIndex: {\n\t\t\tget: function( elem ) {\n\t\t\t\t// elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set\n\t\t\t\t// http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/\n\t\t\t\t// Use proper attribute retrieval(#12072)\n\t\t\t\tvar tabindex = jQuery.find.attr( elem, \"tabindex\" );\n\n\t\t\t\treturn tabindex ?\n\t\t\t\t\tparseInt( tabindex, 10 ) :\n\t\t\t\t\trfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ?\n\t\t\t\t\t\t0 :\n\t\t\t\t\t\t-1;\n\t\t\t}\n\t\t}\n\t}\n});\n\n// Hooks for boolean attributes\nboolHook = {\n\tset: function( elem, value, name ) {\n\t\tif ( value === false ) {\n\t\t\t// Remove boolean attributes when set to false\n\t\t\tjQuery.removeAttr( elem, name );\n\t\t} else if ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) {\n\t\t\t// IE<8 needs the *property* name\n\t\t\telem.setAttribute( !getSetAttribute && jQuery.propFix[ name ] || name, name );\n\n\t\t// Use defaultChecked and defaultSelected for oldIE\n\t\t} else {\n\t\t\telem[ jQuery.camelCase( \"default-\" + name ) ] = elem[ name ] = true;\n\t\t}\n\n\t\treturn name;\n\t}\n};\njQuery.each( jQuery.expr.match.bool.source.match( /\\w+/g ), function( i, name ) {\n\tvar getter = jQuery.expr.attrHandle[ name ] || jQuery.find.attr;\n\n\tjQuery.expr.attrHandle[ name ] = getSetInput && getSetAttribute || !ruseDefault.test( name ) ?\n\t\tfunction( elem, name, isXML ) {\n\t\t\tvar fn = jQuery.expr.attrHandle[ name ],\n\t\t\t\tret = isXML ?\n\t\t\t\t\tundefined :\n\t\t\t\t\t/* jshint eqeqeq: false */\n\t\t\t\t\t(jQuery.expr.attrHandle[ name ] = undefined) !=\n\t\t\t\t\t\tgetter( elem, name, isXML ) ?\n\n\t\t\t\t\t\tname.toLowerCase() :\n\t\t\t\t\t\tnull;\n\t\t\tjQuery.expr.attrHandle[ name ] = fn;\n\t\t\treturn ret;\n\t\t} :\n\t\tfunction( elem, name, isXML ) {\n\t\t\treturn isXML ?\n\t\t\t\tundefined :\n\t\t\t\telem[ jQuery.camelCase( \"default-\" + name ) ] ?\n\t\t\t\t\tname.toLowerCase() :\n\t\t\t\t\tnull;\n\t\t};\n});\n\n// fix oldIE attroperties\nif ( !getSetInput || !getSetAttribute ) {\n\tjQuery.attrHooks.value = {\n\t\tset: function( elem, value, name ) {\n\t\t\tif ( jQuery.nodeName( elem, \"input\" ) ) {\n\t\t\t\t// Does not return so that setAttribute is also used\n\t\t\t\telem.defaultValue = value;\n\t\t\t} else {\n\t\t\t\t// Use nodeHook if defined (#1954); otherwise setAttribute is fine\n\t\t\t\treturn nodeHook && nodeHook.set( elem, value, name );\n\t\t\t}\n\t\t}\n\t};\n}\n\n// IE6/7 do not support getting/setting some attributes with get/setAttribute\nif ( !getSetAttribute ) {\n\n\t// Use this for any attribute in IE6/7\n\t// This fixes almost every IE6/7 issue\n\tnodeHook = {\n\t\tset: function( elem, value, name ) {\n\t\t\t// Set the existing or create a new attribute node\n\t\t\tvar ret = elem.getAttributeNode( name );\n\t\t\tif ( !ret ) {\n\t\t\t\telem.setAttributeNode(\n\t\t\t\t\t(ret = elem.ownerDocument.createAttribute( name ))\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tret.value = value += \"\";\n\n\t\t\t// Break association with cloned elements by also using setAttribute (#9646)\n\t\t\treturn name === \"value\" || value === elem.getAttribute( name ) ?\n\t\t\t\tvalue :\n\t\t\t\tundefined;\n\t\t}\n\t};\n\tjQuery.expr.attrHandle.id = jQuery.expr.attrHandle.name = jQuery.expr.attrHandle.coords =\n\t\t// Some attributes are constructed with empty-string values when not defined\n\t\tfunction( elem, name, isXML ) {\n\t\t\tvar ret;\n\t\t\treturn isXML ?\n\t\t\t\tundefined :\n\t\t\t\t(ret = elem.getAttributeNode( name )) && ret.value !== \"\" ?\n\t\t\t\t\tret.value :\n\t\t\t\t\tnull;\n\t\t};\n\tjQuery.valHooks.button = {\n\t\tget: function( elem, name ) {\n\t\t\tvar ret = elem.getAttributeNode( name );\n\t\t\treturn ret && ret.specified ?\n\t\t\t\tret.value :\n\t\t\t\tundefined;\n\t\t},\n\t\tset: nodeHook.set\n\t};\n\n\t// Set contenteditable to false on removals(#10429)\n\t// Setting to empty string throws an error as an invalid value\n\tjQuery.attrHooks.contenteditable = {\n\t\tset: function( elem, value, name ) {\n\t\t\tnodeHook.set( elem, value === \"\" ? false : value, name );\n\t\t}\n\t};\n\n\t// Set width and height to auto instead of 0 on empty string( Bug #8150 )\n\t// This is for removals\n\tjQuery.each([ \"width\", \"height\" ], function( i, name ) {\n\t\tjQuery.attrHooks[ name ] = {\n\t\t\tset: function( elem, value ) {\n\t\t\t\tif ( value === \"\" ) {\n\t\t\t\t\telem.setAttribute( name, \"auto\" );\n\t\t\t\t\treturn value;\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t});\n}\n\n\n// Some attributes require a special call on IE\n// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx\nif ( !jQuery.support.hrefNormalized ) {\n\t// href/src property should get the full normalized URL (#10299/#12915)\n\tjQuery.each([ \"href\", \"src\" ], function( i, name ) {\n\t\tjQuery.propHooks[ name ] = {\n\t\t\tget: function( elem ) {\n\t\t\t\treturn elem.getAttribute( name, 4 );\n\t\t\t}\n\t\t};\n\t});\n}\n\nif ( !jQuery.support.style ) {\n\tjQuery.attrHooks.style = {\n\t\tget: function( elem ) {\n\t\t\t// Return undefined in the case of empty string\n\t\t\t// Note: IE uppercases css property names, but if we were to .toLowerCase()\n\t\t\t// .cssText, that would destroy case senstitivity in URL's, like in \"background\"\n\t\t\treturn elem.style.cssText || undefined;\n\t\t},\n\t\tset: function( elem, value ) {\n\t\t\treturn ( elem.style.cssText = value + \"\" );\n\t\t}\n\t};\n}\n\n// Safari mis-reports the default selected property of an option\n// Accessing the parent's selectedIndex property fixes it\nif ( !jQuery.support.optSelected ) {\n\tjQuery.propHooks.selected = {\n\t\tget: function( elem ) {\n\t\t\tvar parent = elem.parentNode;\n\n\t\t\tif ( parent ) {\n\t\t\t\tparent.selectedIndex;\n\n\t\t\t\t// Make sure that it also works with optgroups, see #5701\n\t\t\t\tif ( parent.parentNode ) {\n\t\t\t\t\tparent.parentNode.selectedIndex;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn null;\n\t\t}\n\t};\n}\n\njQuery.each([\n\t\"tabIndex\",\n\t\"readOnly\",\n\t\"maxLength\",\n\t\"cellSpacing\",\n\t\"cellPadding\",\n\t\"rowSpan\",\n\t\"colSpan\",\n\t\"useMap\",\n\t\"frameBorder\",\n\t\"contentEditable\"\n], function() {\n\tjQuery.propFix[ this.toLowerCase() ] = this;\n});\n\n// IE6/7 call enctype encoding\nif ( !jQuery.support.enctype ) {\n\tjQuery.propFix.enctype = \"encoding\";\n}\n\n// Radios and checkboxes getter/setter\njQuery.each([ \"radio\", \"checkbox\" ], function() {\n\tjQuery.valHooks[ this ] = {\n\t\tset: function( elem, value ) {\n\t\t\tif ( jQuery.isArray( value ) ) {\n\t\t\t\treturn ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 );\n\t\t\t}\n\t\t}\n\t};\n\tif ( !jQuery.support.checkOn ) {\n\t\tjQuery.valHooks[ this ].get = function( elem ) {\n\t\t\t// Support: Webkit\n\t\t\t// \"\" is returned instead of \"on\" if a value isn't specified\n\t\t\treturn elem.getAttribute(\"value\") === null ? \"on\" : elem.value;\n\t\t};\n\t}\n});\nvar rformElems = /^(?:input|select|textarea)$/i,\n\trkeyEvent = /^key/,\n\trmouseEvent = /^(?:mouse|contextmenu)|click/,\n\trfocusMorph = /^(?:focusinfocus|focusoutblur)$/,\n\trtypenamespace = /^([^.]*)(?:\\.(.+)|)$/;\n\nfunction returnTrue() {\n\treturn true;\n}\n\nfunction returnFalse() {\n\treturn false;\n}\n\nfunction safeActiveElement() {\n\ttry {\n\t\treturn document.activeElement;\n\t} catch ( err ) { }\n}\n\n/*\n * Helper functions for managing events -- not part of the public interface.\n * Props to Dean Edwards' addEvent library for many of the ideas.\n */\njQuery.event = {\n\n\tglobal: {},\n\n\tadd: function( elem, types, handler, data, selector ) {\n\t\tvar tmp, events, t, handleObjIn,\n\t\t\tspecial, eventHandle, handleObj,\n\t\t\thandlers, type, namespaces, origType,\n\t\t\telemData = jQuery._data( elem );\n\n\t\t// Don't attach events to noData or text/comment nodes (but allow plain objects)\n\t\tif ( !elemData ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Caller can pass in an object of custom data in lieu of the handler\n\t\tif ( handler.handler ) {\n\t\t\thandleObjIn = handler;\n\t\t\thandler = handleObjIn.handler;\n\t\t\tselector = handleObjIn.selector;\n\t\t}\n\n\t\t// Make sure that the handler has a unique ID, used to find/remove it later\n\t\tif ( !handler.guid ) {\n\t\t\thandler.guid = jQuery.guid++;\n\t\t}\n\n\t\t// Init the element's event structure and main handler, if this is the first\n\t\tif ( !(events = elemData.events) ) {\n\t\t\tevents = elemData.events = {};\n\t\t}\n\t\tif ( !(eventHandle = elemData.handle) ) {\n\t\t\teventHandle = elemData.handle = function( e ) {\n\t\t\t\t// Discard the second event of a jQuery.event.trigger() and\n\t\t\t\t// when an event is called after a page has unloaded\n\t\t\t\treturn typeof jQuery !== core_strundefined && (!e || jQuery.event.triggered !== e.type) ?\n\t\t\t\t\tjQuery.event.dispatch.apply( eventHandle.elem, arguments ) :\n\t\t\t\t\tundefined;\n\t\t\t};\n\t\t\t// Add elem as a property of the handle fn to prevent a memory leak with IE non-native events\n\t\t\teventHandle.elem = elem;\n\t\t}\n\n\t\t// Handle multiple events separated by a space\n\t\ttypes = ( types || \"\" ).match( core_rnotwhite ) || [\"\"];\n\t\tt = types.length;\n\t\twhile ( t-- ) {\n\t\t\ttmp = rtypenamespace.exec( types[t] ) || [];\n\t\t\ttype = origType = tmp[1];\n\t\t\tnamespaces = ( tmp[2] || \"\" ).split( \".\" ).sort();\n\n\t\t\t// There *must* be a type, no attaching namespace-only handlers\n\t\t\tif ( !type ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// If event changes its type, use the special event handlers for the changed type\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\n\t\t\t// If selector defined, determine special event api type, otherwise given type\n\t\t\ttype = ( selector ? special.delegateType : special.bindType ) || type;\n\n\t\t\t// Update special based on newly reset type\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\n\t\t\t// handleObj is passed to all event handlers\n\t\t\thandleObj = jQuery.extend({\n\t\t\t\ttype: type,\n\t\t\t\torigType: origType,\n\t\t\t\tdata: data,\n\t\t\t\thandler: handler,\n\t\t\t\tguid: handler.guid,\n\t\t\t\tselector: selector,\n\t\t\t\tneedsContext: selector && jQuery.expr.match.needsContext.test( selector ),\n\t\t\t\tnamespace: namespaces.join(\".\")\n\t\t\t}, handleObjIn );\n\n\t\t\t// Init the event handler queue if we're the first\n\t\t\tif ( !(handlers = events[ type ]) ) {\n\t\t\t\thandlers = events[ type ] = [];\n\t\t\t\thandlers.delegateCount = 0;\n\n\t\t\t\t// Only use addEventListener/attachEvent if the special events handler returns false\n\t\t\t\tif ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) {\n\t\t\t\t\t// Bind the global event handler to the element\n\t\t\t\t\tif ( elem.addEventListener ) {\n\t\t\t\t\t\telem.addEventListener( type, eventHandle, false );\n\n\t\t\t\t\t} else if ( elem.attachEvent ) {\n\t\t\t\t\t\telem.attachEvent( \"on\" + type, eventHandle );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( special.add ) {\n\t\t\t\tspecial.add.call( elem, handleObj );\n\n\t\t\t\tif ( !handleObj.handler.guid ) {\n\t\t\t\t\thandleObj.handler.guid = handler.guid;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Add to the element's handler list, delegates in front\n\t\t\tif ( selector ) {\n\t\t\t\thandlers.splice( handlers.delegateCount++, 0, handleObj );\n\t\t\t} else {\n\t\t\t\thandlers.push( handleObj );\n\t\t\t}\n\n\t\t\t// Keep track of which events have ever been used, for event optimization\n\t\t\tjQuery.event.global[ type ] = true;\n\t\t}\n\n\t\t// Nullify elem to prevent memory leaks in IE\n\t\telem = null;\n\t},\n\n\t// Detach an event or set of events from an element\n\tremove: function( elem, types, handler, selector, mappedTypes ) {\n\t\tvar j, handleObj, tmp,\n\t\t\torigCount, t, events,\n\t\t\tspecial, handlers, type,\n\t\t\tnamespaces, origType,\n\t\t\telemData = jQuery.hasData( elem ) && jQuery._data( elem );\n\n\t\tif ( !elemData || !(events = elemData.events) ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Once for each type.namespace in types; type may be omitted\n\t\ttypes = ( types || \"\" ).match( core_rnotwhite ) || [\"\"];\n\t\tt = types.length;\n\t\twhile ( t-- ) {\n\t\t\ttmp = rtypenamespace.exec( types[t] ) || [];\n\t\t\ttype = origType = tmp[1];\n\t\t\tnamespaces = ( tmp[2] || \"\" ).split( \".\" ).sort();\n\n\t\t\t// Unbind all events (on this namespace, if provided) for the element\n\t\t\tif ( !type ) {\n\t\t\t\tfor ( type in events ) {\n\t\t\t\t\tjQuery.event.remove( elem, type + types[ t ], handler, selector, true );\n\t\t\t\t}\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\t\t\ttype = ( selector ? special.delegateType : special.bindType ) || type;\n\t\t\thandlers = events[ type ] || [];\n\t\t\ttmp = tmp[2] && new RegExp( \"(^|\\\\.)\" + namespaces.join(\"\\\\.(?:.*\\\\.|)\") + \"(\\\\.|$)\" );\n\n\t\t\t// Remove matching events\n\t\t\torigCount = j = handlers.length;\n\t\t\twhile ( j-- ) {\n\t\t\t\thandleObj = handlers[ j ];\n\n\t\t\t\tif ( ( mappedTypes || origType === handleObj.origType ) &&\n\t\t\t\t\t( !handler || handler.guid === handleObj.guid ) &&\n\t\t\t\t\t( !tmp || tmp.test( handleObj.namespace ) ) &&\n\t\t\t\t\t( !selector || selector === handleObj.selector || selector === \"**\" && handleObj.selector ) ) {\n\t\t\t\t\thandlers.splice( j, 1 );\n\n\t\t\t\t\tif ( handleObj.selector ) {\n\t\t\t\t\t\thandlers.delegateCount--;\n\t\t\t\t\t}\n\t\t\t\t\tif ( special.remove ) {\n\t\t\t\t\t\tspecial.remove.call( elem, handleObj );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Remove generic event handler if we removed something and no more handlers exist\n\t\t\t// (avoids potential for endless recursion during removal of special event handlers)\n\t\t\tif ( origCount && !handlers.length ) {\n\t\t\t\tif ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) {\n\t\t\t\t\tjQuery.removeEvent( elem, type, elemData.handle );\n\t\t\t\t}\n\n\t\t\t\tdelete events[ type ];\n\t\t\t}\n\t\t}\n\n\t\t// Remove the expando if it's no longer used\n\t\tif ( jQuery.isEmptyObject( events ) ) {\n\t\t\tdelete elemData.handle;\n\n\t\t\t// removeData also checks for emptiness and clears the expando if empty\n\t\t\t// so use it instead of delete\n\t\t\tjQuery._removeData( elem, \"events\" );\n\t\t}\n\t},\n\n\ttrigger: function( event, data, elem, onlyHandlers ) {\n\t\tvar handle, ontype, cur,\n\t\t\tbubbleType, special, tmp, i,\n\t\t\teventPath = [ elem || document ],\n\t\t\ttype = core_hasOwn.call( event, \"type\" ) ? event.type : event,\n\t\t\tnamespaces = core_hasOwn.call( event, \"namespace\" ) ? event.namespace.split(\".\") : [];\n\n\t\tcur = tmp = elem = elem || document;\n\n\t\t// Don't do events on text and comment nodes\n\t\tif ( elem.nodeType === 3 || elem.nodeType === 8 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// focus/blur morphs to focusin/out; ensure we're not firing them right now\n\t\tif ( rfocusMorph.test( type + jQuery.event.triggered ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( type.indexOf(\".\") >= 0 ) {\n\t\t\t// Namespaced trigger; create a regexp to match event type in handle()\n\t\t\tnamespaces = type.split(\".\");\n\t\t\ttype = namespaces.shift();\n\t\t\tnamespaces.sort();\n\t\t}\n\t\tontype = type.indexOf(\":\") < 0 && \"on\" + type;\n\n\t\t// Caller can pass in a jQuery.Event object, Object, or just an event type string\n\t\tevent = event[ jQuery.expando ] ?\n\t\t\tevent :\n\t\t\tnew jQuery.Event( type, typeof event === \"object\" && event );\n\n\t\t// Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true)\n\t\tevent.isTrigger = onlyHandlers ? 2 : 3;\n\t\tevent.namespace = namespaces.join(\".\");\n\t\tevent.namespace_re = event.namespace ?\n\t\t\tnew RegExp( \"(^|\\\\.)\" + namespaces.join(\"\\\\.(?:.*\\\\.|)\") + \"(\\\\.|$)\" ) :\n\t\t\tnull;\n\n\t\t// Clean up the event in case it is being reused\n\t\tevent.result = undefined;\n\t\tif ( !event.target ) {\n\t\t\tevent.target = elem;\n\t\t}\n\n\t\t// Clone any incoming data and prepend the event, creating the handler arg list\n\t\tdata = data == null ?\n\t\t\t[ event ] :\n\t\t\tjQuery.makeArray( data, [ event ] );\n\n\t\t// Allow special events to draw outside the lines\n\t\tspecial = jQuery.event.special[ type ] || {};\n\t\tif ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Determine event propagation path in advance, per W3C events spec (#9951)\n\t\t// Bubble up to document, then to window; watch for a global ownerDocument var (#9724)\n\t\tif ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) {\n\n\t\t\tbubbleType = special.delegateType || type;\n\t\t\tif ( !rfocusMorph.test( bubbleType + type ) ) {\n\t\t\t\tcur = cur.parentNode;\n\t\t\t}\n\t\t\tfor ( ; cur; cur = cur.parentNode ) {\n\t\t\t\teventPath.push( cur );\n\t\t\t\ttmp = cur;\n\t\t\t}\n\n\t\t\t// Only add window if we got to document (e.g., not plain obj or detached DOM)\n\t\t\tif ( tmp === (elem.ownerDocument || document) ) {\n\t\t\t\teventPath.push( tmp.defaultView || tmp.parentWindow || window );\n\t\t\t}\n\t\t}\n\n\t\t// Fire handlers on the event path\n\t\ti = 0;\n\t\twhile ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) {\n\n\t\t\tevent.type = i > 1 ?\n\t\t\t\tbubbleType :\n\t\t\t\tspecial.bindType || type;\n\n\t\t\t// jQuery handler\n\t\t\thandle = ( jQuery._data( cur, \"events\" ) || {} )[ event.type ] && jQuery._data( cur, \"handle\" );\n\t\t\tif ( handle ) {\n\t\t\t\thandle.apply( cur, data );\n\t\t\t}\n\n\t\t\t// Native handler\n\t\t\thandle = ontype && cur[ ontype ];\n\t\t\tif ( handle && jQuery.acceptData( cur ) && handle.apply && handle.apply( cur, data ) === false ) {\n\t\t\t\tevent.preventDefault();\n\t\t\t}\n\t\t}\n\t\tevent.type = type;\n\n\t\t// If nobody prevented the default action, do it now\n\t\tif ( !onlyHandlers && !event.isDefaultPrevented() ) {\n\n\t\t\tif ( (!special._default || special._default.apply( eventPath.pop(), data ) === false) &&\n\t\t\t\tjQuery.acceptData( elem ) ) {\n\n\t\t\t\t// Call a native DOM method on the target with the same name name as the event.\n\t\t\t\t// Can't use an .isFunction() check here because IE6/7 fails that test.\n\t\t\t\t// Don't do default actions on window, that's where global variables be (#6170)\n\t\t\t\tif ( ontype && elem[ type ] && !jQuery.isWindow( elem ) ) {\n\n\t\t\t\t\t// Don't re-trigger an onFOO event when we call its FOO() method\n\t\t\t\t\ttmp = elem[ ontype ];\n\n\t\t\t\t\tif ( tmp ) {\n\t\t\t\t\t\telem[ ontype ] = null;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Prevent re-triggering of the same event, since we already bubbled it above\n\t\t\t\t\tjQuery.event.triggered = type;\n\t\t\t\t\ttry {\n\t\t\t\t\t\telem[ type ]();\n\t\t\t\t\t} catch ( e ) {\n\t\t\t\t\t\t// IE<9 dies on focus/blur to hidden element (#1486,#12518)\n\t\t\t\t\t\t// only reproducible on winXP IE8 native, not IE9 in IE8 mode\n\t\t\t\t\t}\n\t\t\t\t\tjQuery.event.triggered = undefined;\n\n\t\t\t\t\tif ( tmp ) {\n\t\t\t\t\t\telem[ ontype ] = tmp;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn event.result;\n\t},\n\n\tdispatch: function( event ) {\n\n\t\t// Make a writable jQuery.Event from the native event object\n\t\tevent = jQuery.event.fix( event );\n\n\t\tvar i, ret, handleObj, matched, j,\n\t\t\thandlerQueue = [],\n\t\t\targs = core_slice.call( arguments ),\n\t\t\thandlers = ( jQuery._data( this, \"events\" ) || {} )[ event.type ] || [],\n\t\t\tspecial = jQuery.event.special[ event.type ] || {};\n\n\t\t// Use the fix-ed jQuery.Event rather than the (read-only) native event\n\t\targs[0] = event;\n\t\tevent.delegateTarget = this;\n\n\t\t// Call the preDispatch hook for the mapped type, and let it bail if desired\n\t\tif ( special.preDispatch && special.preDispatch.call( this, event ) === false ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Determine handlers\n\t\thandlerQueue = jQuery.event.handlers.call( this, event, handlers );\n\n\t\t// Run delegates first; they may want to stop propagation beneath us\n\t\ti = 0;\n\t\twhile ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) {\n\t\t\tevent.currentTarget = matched.elem;\n\n\t\t\tj = 0;\n\t\t\twhile ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) {\n\n\t\t\t\t// Triggered event must either 1) have no namespace, or\n\t\t\t\t// 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace).\n\t\t\t\tif ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) {\n\n\t\t\t\t\tevent.handleObj = handleObj;\n\t\t\t\t\tevent.data = handleObj.data;\n\n\t\t\t\t\tret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler )\n\t\t\t\t\t\t\t.apply( matched.elem, args );\n\n\t\t\t\t\tif ( ret !== undefined ) {\n\t\t\t\t\t\tif ( (event.result = ret) === false ) {\n\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Call the postDispatch hook for the mapped type\n\t\tif ( special.postDispatch ) {\n\t\t\tspecial.postDispatch.call( this, event );\n\t\t}\n\n\t\treturn event.result;\n\t},\n\n\thandlers: function( event, handlers ) {\n\t\tvar sel, handleObj, matches, i,\n\t\t\thandlerQueue = [],\n\t\t\tdelegateCount = handlers.delegateCount,\n\t\t\tcur = event.target;\n\n\t\t// Find delegate handlers\n\t\t// Black-hole SVG <use> instance trees (#13180)\n\t\t// Avoid non-left-click bubbling in Firefox (#3861)\n\t\tif ( delegateCount && cur.nodeType && (!event.button || event.type !== \"click\") ) {\n\n\t\t\t/* jshint eqeqeq: false */\n\t\t\tfor ( ; cur != this; cur = cur.parentNode || this ) {\n\t\t\t\t/* jshint eqeqeq: true */\n\n\t\t\t\t// Don't check non-elements (#13208)\n\t\t\t\t// Don't process clicks on disabled elements (#6911, #8165, #11382, #11764)\n\t\t\t\tif ( cur.nodeType === 1 && (cur.disabled !== true || event.type !== \"click\") ) {\n\t\t\t\t\tmatches = [];\n\t\t\t\t\tfor ( i = 0; i < delegateCount; i++ ) {\n\t\t\t\t\t\thandleObj = handlers[ i ];\n\n\t\t\t\t\t\t// Don't conflict with Object.prototype properties (#13203)\n\t\t\t\t\t\tsel = handleObj.selector + \" \";\n\n\t\t\t\t\t\tif ( matches[ sel ] === undefined ) {\n\t\t\t\t\t\t\tmatches[ sel ] = handleObj.needsContext ?\n\t\t\t\t\t\t\t\tjQuery( sel, this ).index( cur ) >= 0 :\n\t\t\t\t\t\t\t\tjQuery.find( sel, this, null, [ cur ] ).length;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif ( matches[ sel ] ) {\n\t\t\t\t\t\t\tmatches.push( handleObj );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ( matches.length ) {\n\t\t\t\t\t\thandlerQueue.push({ elem: cur, handlers: matches });\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Add the remaining (directly-bound) handlers\n\t\tif ( delegateCount < handlers.length ) {\n\t\t\thandlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) });\n\t\t}\n\n\t\treturn handlerQueue;\n\t},\n\n\tfix: function( event ) {\n\t\tif ( event[ jQuery.expando ] ) {\n\t\t\treturn event;\n\t\t}\n\n\t\t// Create a writable copy of the event object and normalize some properties\n\t\tvar i, prop, copy,\n\t\t\ttype = event.type,\n\t\t\toriginalEvent = event,\n\t\t\tfixHook = this.fixHooks[ type ];\n\n\t\tif ( !fixHook ) {\n\t\t\tthis.fixHooks[ type ] = fixHook =\n\t\t\t\trmouseEvent.test( type ) ? this.mouseHooks :\n\t\t\t\trkeyEvent.test( type ) ? this.keyHooks :\n\t\t\t\t{};\n\t\t}\n\t\tcopy = fixHook.props ? this.props.concat( fixHook.props ) : this.props;\n\n\t\tevent = new jQuery.Event( originalEvent );\n\n\t\ti = copy.length;\n\t\twhile ( i-- ) {\n\t\t\tprop = copy[ i ];\n\t\t\tevent[ prop ] = originalEvent[ prop ];\n\t\t}\n\n\t\t// Support: IE<9\n\t\t// Fix target property (#1925)\n\t\tif ( !event.target ) {\n\t\t\tevent.target = originalEvent.srcElement || document;\n\t\t}\n\n\t\t// Support: Chrome 23+, Safari?\n\t\t// Target should not be a text node (#504, #13143)\n\t\tif ( event.target.nodeType === 3 ) {\n\t\t\tevent.target = event.target.parentNode;\n\t\t}\n\n\t\t// Support: IE<9\n\t\t// For mouse/key events, metaKey==false if it's undefined (#3368, #11328)\n\t\tevent.metaKey = !!event.metaKey;\n\n\t\treturn fixHook.filter ? fixHook.filter( event, originalEvent ) : event;\n\t},\n\n\t// Includes some event props shared by KeyEvent and MouseEvent\n\tprops: \"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which\".split(\" \"),\n\n\tfixHooks: {},\n\n\tkeyHooks: {\n\t\tprops: \"char charCode key keyCode\".split(\" \"),\n\t\tfilter: function( event, original ) {\n\n\t\t\t// Add which for key events\n\t\t\tif ( event.which == null ) {\n\t\t\t\tevent.which = original.charCode != null ? original.charCode : original.keyCode;\n\t\t\t}\n\n\t\t\treturn event;\n\t\t}\n\t},\n\n\tmouseHooks: {\n\t\tprops: \"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement\".split(\" \"),\n\t\tfilter: function( event, original ) {\n\t\t\tvar body, eventDoc, doc,\n\t\t\t\tbutton = original.button,\n\t\t\t\tfromElement = original.fromElement;\n\n\t\t\t// Calculate pageX/Y if missing and clientX/Y available\n\t\t\tif ( event.pageX == null && original.clientX != null ) {\n\t\t\t\teventDoc = event.target.ownerDocument || document;\n\t\t\t\tdoc = eventDoc.documentElement;\n\t\t\t\tbody = eventDoc.body;\n\n\t\t\t\tevent.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 );\n\t\t\t\tevent.pageY = original.clientY + ( doc && doc.scrollTop  || body && body.scrollTop  || 0 ) - ( doc && doc.clientTop  || body && body.clientTop  || 0 );\n\t\t\t}\n\n\t\t\t// Add relatedTarget, if necessary\n\t\t\tif ( !event.relatedTarget && fromElement ) {\n\t\t\t\tevent.relatedTarget = fromElement === event.target ? original.toElement : fromElement;\n\t\t\t}\n\n\t\t\t// Add which for click: 1 === left; 2 === middle; 3 === right\n\t\t\t// Note: button is not normalized, so don't use it\n\t\t\tif ( !event.which && button !== undefined ) {\n\t\t\t\tevent.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) );\n\t\t\t}\n\n\t\t\treturn event;\n\t\t}\n\t},\n\n\tspecial: {\n\t\tload: {\n\t\t\t// Prevent triggered image.load events from bubbling to window.load\n\t\t\tnoBubble: true\n\t\t},\n\t\tfocus: {\n\t\t\t// Fire native event if possible so blur/focus sequence is correct\n\t\t\ttrigger: function() {\n\t\t\t\tif ( this !== safeActiveElement() && this.focus ) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tthis.focus();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t} catch ( e ) {\n\t\t\t\t\t\t// Support: IE<9\n\t\t\t\t\t\t// If we error on focus to hidden element (#1486, #12518),\n\t\t\t\t\t\t// let .trigger() run the handlers\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\tdelegateType: \"focusin\"\n\t\t},\n\t\tblur: {\n\t\t\ttrigger: function() {\n\t\t\t\tif ( this === safeActiveElement() && this.blur ) {\n\t\t\t\t\tthis.blur();\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t},\n\t\t\tdelegateType: \"focusout\"\n\t\t},\n\t\tclick: {\n\t\t\t// For checkbox, fire native event so checked state will be right\n\t\t\ttrigger: function() {\n\t\t\t\tif ( jQuery.nodeName( this, \"input\" ) && this.type === \"checkbox\" && this.click ) {\n\t\t\t\t\tthis.click();\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t},\n\n\t\t\t// For cross-browser consistency, don't fire native .click() on links\n\t\t\t_default: function( event ) {\n\t\t\t\treturn jQuery.nodeName( event.target, \"a\" );\n\t\t\t}\n\t\t},\n\n\t\tbeforeunload: {\n\t\t\tpostDispatch: function( event ) {\n\n\t\t\t\t// Even when returnValue equals to undefined Firefox will still show alert\n\t\t\t\tif ( event.result !== undefined ) {\n\t\t\t\t\tevent.originalEvent.returnValue = event.result;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\tsimulate: function( type, elem, event, bubble ) {\n\t\t// Piggyback on a donor event to simulate a different one.\n\t\t// Fake originalEvent to avoid donor's stopPropagation, but if the\n\t\t// simulated event prevents default then we do the same on the donor.\n\t\tvar e = jQuery.extend(\n\t\t\tnew jQuery.Event(),\n\t\t\tevent,\n\t\t\t{\n\t\t\t\ttype: type,\n\t\t\t\tisSimulated: true,\n\t\t\t\toriginalEvent: {}\n\t\t\t}\n\t\t);\n\t\tif ( bubble ) {\n\t\t\tjQuery.event.trigger( e, null, elem );\n\t\t} else {\n\t\t\tjQuery.event.dispatch.call( elem, e );\n\t\t}\n\t\tif ( e.isDefaultPrevented() ) {\n\t\t\tevent.preventDefault();\n\t\t}\n\t}\n};\n\njQuery.removeEvent = document.removeEventListener ?\n\tfunction( elem, type, handle ) {\n\t\tif ( elem.removeEventListener ) {\n\t\t\telem.removeEventListener( type, handle, false );\n\t\t}\n\t} :\n\tfunction( elem, type, handle ) {\n\t\tvar name = \"on\" + type;\n\n\t\tif ( elem.detachEvent ) {\n\n\t\t\t// #8545, #7054, preventing memory leaks for custom events in IE6-8\n\t\t\t// detachEvent needed property on element, by name of that event, to properly expose it to GC\n\t\t\tif ( typeof elem[ name ] === core_strundefined ) {\n\t\t\t\telem[ name ] = null;\n\t\t\t}\n\n\t\t\telem.detachEvent( name, handle );\n\t\t}\n\t};\n\njQuery.Event = function( src, props ) {\n\t// Allow instantiation without the 'new' keyword\n\tif ( !(this instanceof jQuery.Event) ) {\n\t\treturn new jQuery.Event( src, props );\n\t}\n\n\t// Event object\n\tif ( src && src.type ) {\n\t\tthis.originalEvent = src;\n\t\tthis.type = src.type;\n\n\t\t// Events bubbling up the document may have been marked as prevented\n\t\t// by a handler lower down the tree; reflect the correct value.\n\t\tthis.isDefaultPrevented = ( src.defaultPrevented || src.returnValue === false ||\n\t\t\tsrc.getPreventDefault && src.getPreventDefault() ) ? returnTrue : returnFalse;\n\n\t// Event type\n\t} else {\n\t\tthis.type = src;\n\t}\n\n\t// Put explicitly provided properties onto the event object\n\tif ( props ) {\n\t\tjQuery.extend( this, props );\n\t}\n\n\t// Create a timestamp if incoming event doesn't have one\n\tthis.timeStamp = src && src.timeStamp || jQuery.now();\n\n\t// Mark it as fixed\n\tthis[ jQuery.expando ] = true;\n};\n\n// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding\n// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html\njQuery.Event.prototype = {\n\tisDefaultPrevented: returnFalse,\n\tisPropagationStopped: returnFalse,\n\tisImmediatePropagationStopped: returnFalse,\n\n\tpreventDefault: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isDefaultPrevented = returnTrue;\n\t\tif ( !e ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// If preventDefault exists, run it on the original event\n\t\tif ( e.preventDefault ) {\n\t\t\te.preventDefault();\n\n\t\t// Support: IE\n\t\t// Otherwise set the returnValue property of the original event to false\n\t\t} else {\n\t\t\te.returnValue = false;\n\t\t}\n\t},\n\tstopPropagation: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isPropagationStopped = returnTrue;\n\t\tif ( !e ) {\n\t\t\treturn;\n\t\t}\n\t\t// If stopPropagation exists, run it on the original event\n\t\tif ( e.stopPropagation ) {\n\t\t\te.stopPropagation();\n\t\t}\n\n\t\t// Support: IE\n\t\t// Set the cancelBubble property of the original event to true\n\t\te.cancelBubble = true;\n\t},\n\tstopImmediatePropagation: function() {\n\t\tthis.isImmediatePropagationStopped = returnTrue;\n\t\tthis.stopPropagation();\n\t}\n};\n\n// Create mouseenter/leave events using mouseover/out and event-time checks\njQuery.each({\n\tmouseenter: \"mouseover\",\n\tmouseleave: \"mouseout\"\n}, function( orig, fix ) {\n\tjQuery.event.special[ orig ] = {\n\t\tdelegateType: fix,\n\t\tbindType: fix,\n\n\t\thandle: function( event ) {\n\t\t\tvar ret,\n\t\t\t\ttarget = this,\n\t\t\t\trelated = event.relatedTarget,\n\t\t\t\thandleObj = event.handleObj;\n\n\t\t\t// For mousenter/leave call the handler if related is outside the target.\n\t\t\t// NB: No relatedTarget if the mouse left/entered the browser window\n\t\t\tif ( !related || (related !== target && !jQuery.contains( target, related )) ) {\n\t\t\t\tevent.type = handleObj.origType;\n\t\t\t\tret = handleObj.handler.apply( this, arguments );\n\t\t\t\tevent.type = fix;\n\t\t\t}\n\t\t\treturn ret;\n\t\t}\n\t};\n});\n\n// IE submit delegation\nif ( !jQuery.support.submitBubbles ) {\n\n\tjQuery.event.special.submit = {\n\t\tsetup: function() {\n\t\t\t// Only need this for delegated form submit events\n\t\t\tif ( jQuery.nodeName( this, \"form\" ) ) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\t// Lazy-add a submit handler when a descendant form may potentially be submitted\n\t\t\tjQuery.event.add( this, \"click._submit keypress._submit\", function( e ) {\n\t\t\t\t// Node name check avoids a VML-related crash in IE (#9807)\n\t\t\t\tvar elem = e.target,\n\t\t\t\t\tform = jQuery.nodeName( elem, \"input\" ) || jQuery.nodeName( elem, \"button\" ) ? elem.form : undefined;\n\t\t\t\tif ( form && !jQuery._data( form, \"submitBubbles\" ) ) {\n\t\t\t\t\tjQuery.event.add( form, \"submit._submit\", function( event ) {\n\t\t\t\t\t\tevent._submit_bubble = true;\n\t\t\t\t\t});\n\t\t\t\t\tjQuery._data( form, \"submitBubbles\", true );\n\t\t\t\t}\n\t\t\t});\n\t\t\t// return undefined since we don't need an event listener\n\t\t},\n\n\t\tpostDispatch: function( event ) {\n\t\t\t// If form was submitted by the user, bubble the event up the tree\n\t\t\tif ( event._submit_bubble ) {\n\t\t\t\tdelete event._submit_bubble;\n\t\t\t\tif ( this.parentNode && !event.isTrigger ) {\n\t\t\t\t\tjQuery.event.simulate( \"submit\", this.parentNode, event, true );\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\tteardown: function() {\n\t\t\t// Only need this for delegated form submit events\n\t\t\tif ( jQuery.nodeName( this, \"form\" ) ) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\t// Remove delegated handlers; cleanData eventually reaps submit handlers attached above\n\t\t\tjQuery.event.remove( this, \"._submit\" );\n\t\t}\n\t};\n}\n\n// IE change delegation and checkbox/radio fix\nif ( !jQuery.support.changeBubbles ) {\n\n\tjQuery.event.special.change = {\n\n\t\tsetup: function() {\n\n\t\t\tif ( rformElems.test( this.nodeName ) ) {\n\t\t\t\t// IE doesn't fire change on a check/radio until blur; trigger it on click\n\t\t\t\t// after a propertychange. Eat the blur-change in special.change.handle.\n\t\t\t\t// This still fires onchange a second time for check/radio after blur.\n\t\t\t\tif ( this.type === \"checkbox\" || this.type === \"radio\" ) {\n\t\t\t\t\tjQuery.event.add( this, \"propertychange._change\", function( event ) {\n\t\t\t\t\t\tif ( event.originalEvent.propertyName === \"checked\" ) {\n\t\t\t\t\t\t\tthis._just_changed = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\tjQuery.event.add( this, \"click._change\", function( event ) {\n\t\t\t\t\t\tif ( this._just_changed && !event.isTrigger ) {\n\t\t\t\t\t\t\tthis._just_changed = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// Allow triggered, simulated change events (#11500)\n\t\t\t\t\t\tjQuery.event.simulate( \"change\", this, event, true );\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\t// Delegated event; lazy-add a change handler on descendant inputs\n\t\t\tjQuery.event.add( this, \"beforeactivate._change\", function( e ) {\n\t\t\t\tvar elem = e.target;\n\n\t\t\t\tif ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, \"changeBubbles\" ) ) {\n\t\t\t\t\tjQuery.event.add( elem, \"change._change\", function( event ) {\n\t\t\t\t\t\tif ( this.parentNode && !event.isSimulated && !event.isTrigger ) {\n\t\t\t\t\t\t\tjQuery.event.simulate( \"change\", this.parentNode, event, true );\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\tjQuery._data( elem, \"changeBubbles\", true );\n\t\t\t\t}\n\t\t\t});\n\t\t},\n\n\t\thandle: function( event ) {\n\t\t\tvar elem = event.target;\n\n\t\t\t// Swallow native change events from checkbox/radio, we already triggered them above\n\t\t\tif ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== \"radio\" && elem.type !== \"checkbox\") ) {\n\t\t\t\treturn event.handleObj.handler.apply( this, arguments );\n\t\t\t}\n\t\t},\n\n\t\tteardown: function() {\n\t\t\tjQuery.event.remove( this, \"._change\" );\n\n\t\t\treturn !rformElems.test( this.nodeName );\n\t\t}\n\t};\n}\n\n// Create \"bubbling\" focus and blur events\nif ( !jQuery.support.focusinBubbles ) {\n\tjQuery.each({ focus: \"focusin\", blur: \"focusout\" }, function( orig, fix ) {\n\n\t\t// Attach a single capturing handler while someone wants focusin/focusout\n\t\tvar attaches = 0,\n\t\t\thandler = function( event ) {\n\t\t\t\tjQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true );\n\t\t\t};\n\n\t\tjQuery.event.special[ fix ] = {\n\t\t\tsetup: function() {\n\t\t\t\tif ( attaches++ === 0 ) {\n\t\t\t\t\tdocument.addEventListener( orig, handler, true );\n\t\t\t\t}\n\t\t\t},\n\t\t\tteardown: function() {\n\t\t\t\tif ( --attaches === 0 ) {\n\t\t\t\t\tdocument.removeEventListener( orig, handler, true );\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t});\n}\n\njQuery.fn.extend({\n\n\ton: function( types, selector, data, fn, /*INTERNAL*/ one ) {\n\t\tvar type, origFn;\n\n\t\t// Types can be a map of types/handlers\n\t\tif ( typeof types === \"object\" ) {\n\t\t\t// ( types-Object, selector, data )\n\t\t\tif ( typeof selector !== \"string\" ) {\n\t\t\t\t// ( types-Object, data )\n\t\t\t\tdata = data || selector;\n\t\t\t\tselector = undefined;\n\t\t\t}\n\t\t\tfor ( type in types ) {\n\t\t\t\tthis.on( type, selector, data, types[ type ], one );\n\t\t\t}\n\t\t\treturn this;\n\t\t}\n\n\t\tif ( data == null && fn == null ) {\n\t\t\t// ( types, fn )\n\t\t\tfn = selector;\n\t\t\tdata = selector = undefined;\n\t\t} else if ( fn == null ) {\n\t\t\tif ( typeof selector === \"string\" ) {\n\t\t\t\t// ( types, selector, fn )\n\t\t\t\tfn = data;\n\t\t\t\tdata = undefined;\n\t\t\t} else {\n\t\t\t\t// ( types, data, fn )\n\t\t\t\tfn = data;\n\t\t\t\tdata = selector;\n\t\t\t\tselector = undefined;\n\t\t\t}\n\t\t}\n\t\tif ( fn === false ) {\n\t\t\tfn = returnFalse;\n\t\t} else if ( !fn ) {\n\t\t\treturn this;\n\t\t}\n\n\t\tif ( one === 1 ) {\n\t\t\torigFn = fn;\n\t\t\tfn = function( event ) {\n\t\t\t\t// Can use an empty set, since event contains the info\n\t\t\t\tjQuery().off( event );\n\t\t\t\treturn origFn.apply( this, arguments );\n\t\t\t};\n\t\t\t// Use same guid so caller can remove using origFn\n\t\t\tfn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ );\n\t\t}\n\t\treturn this.each( function() {\n\t\t\tjQuery.event.add( this, types, fn, data, selector );\n\t\t});\n\t},\n\tone: function( types, selector, data, fn ) {\n\t\treturn this.on( types, selector, data, fn, 1 );\n\t},\n\toff: function( types, selector, fn ) {\n\t\tvar handleObj, type;\n\t\tif ( types && types.preventDefault && types.handleObj ) {\n\t\t\t// ( event )  dispatched jQuery.Event\n\t\t\thandleObj = types.handleObj;\n\t\t\tjQuery( types.delegateTarget ).off(\n\t\t\t\thandleObj.namespace ? handleObj.origType + \".\" + handleObj.namespace : handleObj.origType,\n\t\t\t\thandleObj.selector,\n\t\t\t\thandleObj.handler\n\t\t\t);\n\t\t\treturn this;\n\t\t}\n\t\tif ( typeof types === \"object\" ) {\n\t\t\t// ( types-object [, selector] )\n\t\t\tfor ( type in types ) {\n\t\t\t\tthis.off( type, selector, types[ type ] );\n\t\t\t}\n\t\t\treturn this;\n\t\t}\n\t\tif ( selector === false || typeof selector === \"function\" ) {\n\t\t\t// ( types [, fn] )\n\t\t\tfn = selector;\n\t\t\tselector = undefined;\n\t\t}\n\t\tif ( fn === false ) {\n\t\t\tfn = returnFalse;\n\t\t}\n\t\treturn this.each(function() {\n\t\t\tjQuery.event.remove( this, types, fn, selector );\n\t\t});\n\t},\n\n\ttrigger: function( type, data ) {\n\t\treturn this.each(function() {\n\t\t\tjQuery.event.trigger( type, data, this );\n\t\t});\n\t},\n\ttriggerHandler: function( type, data ) {\n\t\tvar elem = this[0];\n\t\tif ( elem ) {\n\t\t\treturn jQuery.event.trigger( type, data, elem, true );\n\t\t}\n\t}\n});\nvar isSimple = /^.[^:#\\[\\.,]*$/,\n\trparentsprev = /^(?:parents|prev(?:Until|All))/,\n\trneedsContext = jQuery.expr.match.needsContext,\n\t// methods guaranteed to produce a unique set when starting from a unique set\n\tguaranteedUnique = {\n\t\tchildren: true,\n\t\tcontents: true,\n\t\tnext: true,\n\t\tprev: true\n\t};\n\njQuery.fn.extend({\n\tfind: function( selector ) {\n\t\tvar i,\n\t\t\tret = [],\n\t\t\tself = this,\n\t\t\tlen = self.length;\n\n\t\tif ( typeof selector !== \"string\" ) {\n\t\t\treturn this.pushStack( jQuery( selector ).filter(function() {\n\t\t\t\tfor ( i = 0; i < len; i++ ) {\n\t\t\t\t\tif ( jQuery.contains( self[ i ], this ) ) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}) );\n\t\t}\n\n\t\tfor ( i = 0; i < len; i++ ) {\n\t\t\tjQuery.find( selector, self[ i ], ret );\n\t\t}\n\n\t\t// Needed because $( selector, context ) becomes $( context ).find( selector )\n\t\tret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret );\n\t\tret.selector = this.selector ? this.selector + \" \" + selector : selector;\n\t\treturn ret;\n\t},\n\n\thas: function( target ) {\n\t\tvar i,\n\t\t\ttargets = jQuery( target, this ),\n\t\t\tlen = targets.length;\n\n\t\treturn this.filter(function() {\n\t\t\tfor ( i = 0; i < len; i++ ) {\n\t\t\t\tif ( jQuery.contains( this, targets[i] ) ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t},\n\n\tnot: function( selector ) {\n\t\treturn this.pushStack( winnow(this, selector || [], true) );\n\t},\n\n\tfilter: function( selector ) {\n\t\treturn this.pushStack( winnow(this, selector || [], false) );\n\t},\n\n\tis: function( selector ) {\n\t\treturn !!winnow(\n\t\t\tthis,\n\n\t\t\t// If this is a positional/relative selector, check membership in the returned set\n\t\t\t// so $(\"p:first\").is(\"p:last\") won't return true for a doc with two \"p\".\n\t\t\ttypeof selector === \"string\" && rneedsContext.test( selector ) ?\n\t\t\t\tjQuery( selector ) :\n\t\t\t\tselector || [],\n\t\t\tfalse\n\t\t).length;\n\t},\n\n\tclosest: function( selectors, context ) {\n\t\tvar cur,\n\t\t\ti = 0,\n\t\t\tl = this.length,\n\t\t\tret = [],\n\t\t\tpos = rneedsContext.test( selectors ) || typeof selectors !== \"string\" ?\n\t\t\t\tjQuery( selectors, context || this.context ) :\n\t\t\t\t0;\n\n\t\tfor ( ; i < l; i++ ) {\n\t\t\tfor ( cur = this[i]; cur && cur !== context; cur = cur.parentNode ) {\n\t\t\t\t// Always skip document fragments\n\t\t\t\tif ( cur.nodeType < 11 && (pos ?\n\t\t\t\t\tpos.index(cur) > -1 :\n\n\t\t\t\t\t// Don't pass non-elements to Sizzle\n\t\t\t\t\tcur.nodeType === 1 &&\n\t\t\t\t\t\tjQuery.find.matchesSelector(cur, selectors)) ) {\n\n\t\t\t\t\tcur = ret.push( cur );\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this.pushStack( ret.length > 1 ? jQuery.unique( ret ) : ret );\n\t},\n\n\t// Determine the position of an element within\n\t// the matched set of elements\n\tindex: function( elem ) {\n\n\t\t// No argument, return index in parent\n\t\tif ( !elem ) {\n\t\t\treturn ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1;\n\t\t}\n\n\t\t// index in selector\n\t\tif ( typeof elem === \"string\" ) {\n\t\t\treturn jQuery.inArray( this[0], jQuery( elem ) );\n\t\t}\n\n\t\t// Locate the position of the desired element\n\t\treturn jQuery.inArray(\n\t\t\t// If it receives a jQuery object, the first element is used\n\t\t\telem.jquery ? elem[0] : elem, this );\n\t},\n\n\tadd: function( selector, context ) {\n\t\tvar set = typeof selector === \"string\" ?\n\t\t\t\tjQuery( selector, context ) :\n\t\t\t\tjQuery.makeArray( selector && selector.nodeType ? [ selector ] : selector ),\n\t\t\tall = jQuery.merge( this.get(), set );\n\n\t\treturn this.pushStack( jQuery.unique(all) );\n\t},\n\n\taddBack: function( selector ) {\n\t\treturn this.add( selector == null ?\n\t\t\tthis.prevObject : this.prevObject.filter(selector)\n\t\t);\n\t}\n});\n\nfunction sibling( cur, dir ) {\n\tdo {\n\t\tcur = cur[ dir ];\n\t} while ( cur && cur.nodeType !== 1 );\n\n\treturn cur;\n}\n\njQuery.each({\n\tparent: function( elem ) {\n\t\tvar parent = elem.parentNode;\n\t\treturn parent && parent.nodeType !== 11 ? parent : null;\n\t},\n\tparents: function( elem ) {\n\t\treturn jQuery.dir( elem, \"parentNode\" );\n\t},\n\tparentsUntil: function( elem, i, until ) {\n\t\treturn jQuery.dir( elem, \"parentNode\", until );\n\t},\n\tnext: function( elem ) {\n\t\treturn sibling( elem, \"nextSibling\" );\n\t},\n\tprev: function( elem ) {\n\t\treturn sibling( elem, \"previousSibling\" );\n\t},\n\tnextAll: function( elem ) {\n\t\treturn jQuery.dir( elem, \"nextSibling\" );\n\t},\n\tprevAll: function( elem ) {\n\t\treturn jQuery.dir( elem, \"previousSibling\" );\n\t},\n\tnextUntil: function( elem, i, until ) {\n\t\treturn jQuery.dir( elem, \"nextSibling\", until );\n\t},\n\tprevUntil: function( elem, i, until ) {\n\t\treturn jQuery.dir( elem, \"previousSibling\", until );\n\t},\n\tsiblings: function( elem ) {\n\t\treturn jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem );\n\t},\n\tchildren: function( elem ) {\n\t\treturn jQuery.sibling( elem.firstChild );\n\t},\n\tcontents: function( elem ) {\n\t\treturn jQuery.nodeName( elem, \"iframe\" ) ?\n\t\t\telem.contentDocument || elem.contentWindow.document :\n\t\t\tjQuery.merge( [], elem.childNodes );\n\t}\n}, function( name, fn ) {\n\tjQuery.fn[ name ] = function( until, selector ) {\n\t\tvar ret = jQuery.map( this, fn, until );\n\n\t\tif ( name.slice( -5 ) !== \"Until\" ) {\n\t\t\tselector = until;\n\t\t}\n\n\t\tif ( selector && typeof selector === \"string\" ) {\n\t\t\tret = jQuery.filter( selector, ret );\n\t\t}\n\n\t\tif ( this.length > 1 ) {\n\t\t\t// Remove duplicates\n\t\t\tif ( !guaranteedUnique[ name ] ) {\n\t\t\t\tret = jQuery.unique( ret );\n\t\t\t}\n\n\t\t\t// Reverse order for parents* and prev-derivatives\n\t\t\tif ( rparentsprev.test( name ) ) {\n\t\t\t\tret = ret.reverse();\n\t\t\t}\n\t\t}\n\n\t\treturn this.pushStack( ret );\n\t};\n});\n\njQuery.extend({\n\tfilter: function( expr, elems, not ) {\n\t\tvar elem = elems[ 0 ];\n\n\t\tif ( not ) {\n\t\t\texpr = \":not(\" + expr + \")\";\n\t\t}\n\n\t\treturn elems.length === 1 && elem.nodeType === 1 ?\n\t\t\tjQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] :\n\t\t\tjQuery.find.matches( expr, jQuery.grep( elems, function( elem ) {\n\t\t\t\treturn elem.nodeType === 1;\n\t\t\t}));\n\t},\n\n\tdir: function( elem, dir, until ) {\n\t\tvar matched = [],\n\t\t\tcur = elem[ dir ];\n\n\t\twhile ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) {\n\t\t\tif ( cur.nodeType === 1 ) {\n\t\t\t\tmatched.push( cur );\n\t\t\t}\n\t\t\tcur = cur[dir];\n\t\t}\n\t\treturn matched;\n\t},\n\n\tsibling: function( n, elem ) {\n\t\tvar r = [];\n\n\t\tfor ( ; n; n = n.nextSibling ) {\n\t\t\tif ( n.nodeType === 1 && n !== elem ) {\n\t\t\t\tr.push( n );\n\t\t\t}\n\t\t}\n\n\t\treturn r;\n\t}\n});\n\n// Implement the identical functionality for filter and not\nfunction winnow( elements, qualifier, not ) {\n\tif ( jQuery.isFunction( qualifier ) ) {\n\t\treturn jQuery.grep( elements, function( elem, i ) {\n\t\t\t/* jshint -W018 */\n\t\t\treturn !!qualifier.call( elem, i, elem ) !== not;\n\t\t});\n\n\t}\n\n\tif ( qualifier.nodeType ) {\n\t\treturn jQuery.grep( elements, function( elem ) {\n\t\t\treturn ( elem === qualifier ) !== not;\n\t\t});\n\n\t}\n\n\tif ( typeof qualifier === \"string\" ) {\n\t\tif ( isSimple.test( qualifier ) ) {\n\t\t\treturn jQuery.filter( qualifier, elements, not );\n\t\t}\n\n\t\tqualifier = jQuery.filter( qualifier, elements );\n\t}\n\n\treturn jQuery.grep( elements, function( elem ) {\n\t\treturn ( jQuery.inArray( elem, qualifier ) >= 0 ) !== not;\n\t});\n}\nfunction createSafeFragment( document ) {\n\tvar list = nodeNames.split( \"|\" ),\n\t\tsafeFrag = document.createDocumentFragment();\n\n\tif ( safeFrag.createElement ) {\n\t\twhile ( list.length ) {\n\t\t\tsafeFrag.createElement(\n\t\t\t\tlist.pop()\n\t\t\t);\n\t\t}\n\t}\n\treturn safeFrag;\n}\n\nvar nodeNames = \"abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|\" +\n\t\t\"header|hgroup|mark|meter|nav|output|progress|section|summary|time|video\",\n\trinlinejQuery = / jQuery\\d+=\"(?:null|\\d+)\"/g,\n\trnoshimcache = new RegExp(\"<(?:\" + nodeNames + \")[\\\\s/>]\", \"i\"),\n\trleadingWhitespace = /^\\s+/,\n\trxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\\w:]+)[^>]*)\\/>/gi,\n\trtagName = /<([\\w:]+)/,\n\trtbody = /<tbody/i,\n\trhtml = /<|&#?\\w+;/,\n\trnoInnerhtml = /<(?:script|style|link)/i,\n\tmanipulation_rcheckableType = /^(?:checkbox|radio)$/i,\n\t// checked=\"checked\" or checked\n\trchecked = /checked\\s*(?:[^=]|=\\s*.checked.)/i,\n\trscriptType = /^$|\\/(?:java|ecma)script/i,\n\trscriptTypeMasked = /^true\\/(.*)/,\n\trcleanScript = /^\\s*<!(?:\\[CDATA\\[|--)|(?:\\]\\]|--)>\\s*$/g,\n\n\t// We have to close these tags to support XHTML (#13200)\n\twrapMap = {\n\t\toption: [ 1, \"<select multiple='multiple'>\", \"</select>\" ],\n\t\tlegend: [ 1, \"<fieldset>\", \"</fieldset>\" ],\n\t\tarea: [ 1, \"<map>\", \"</map>\" ],\n\t\tparam: [ 1, \"<object>\", \"</object>\" ],\n\t\tthead: [ 1, \"<table>\", \"</table>\" ],\n\t\ttr: [ 2, \"<table><tbody>\", \"</tbody></table>\" ],\n\t\tcol: [ 2, \"<table><tbody></tbody><colgroup>\", \"</colgroup></table>\" ],\n\t\ttd: [ 3, \"<table><tbody><tr>\", \"</tr></tbody></table>\" ],\n\n\t\t// IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags,\n\t\t// unless wrapped in a div with non-breaking characters in front of it.\n\t\t_default: jQuery.support.htmlSerialize ? [ 0, \"\", \"\" ] : [ 1, \"X<div>\", \"</div>\"  ]\n\t},\n\tsafeFragment = createSafeFragment( document ),\n\tfragmentDiv = safeFragment.appendChild( document.createElement(\"div\") );\n\nwrapMap.optgroup = wrapMap.option;\nwrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;\nwrapMap.th = wrapMap.td;\n\njQuery.fn.extend({\n\ttext: function( value ) {\n\t\treturn jQuery.access( this, function( value ) {\n\t\t\treturn value === undefined ?\n\t\t\t\tjQuery.text( this ) :\n\t\t\t\tthis.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) );\n\t\t}, null, value, arguments.length );\n\t},\n\n\tappend: function() {\n\t\treturn this.domManip( arguments, function( elem ) {\n\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\tvar target = manipulationTarget( this, elem );\n\t\t\t\ttarget.appendChild( elem );\n\t\t\t}\n\t\t});\n\t},\n\n\tprepend: function() {\n\t\treturn this.domManip( arguments, function( elem ) {\n\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\tvar target = manipulationTarget( this, elem );\n\t\t\t\ttarget.insertBefore( elem, target.firstChild );\n\t\t\t}\n\t\t});\n\t},\n\n\tbefore: function() {\n\t\treturn this.domManip( arguments, function( elem ) {\n\t\t\tif ( this.parentNode ) {\n\t\t\t\tthis.parentNode.insertBefore( elem, this );\n\t\t\t}\n\t\t});\n\t},\n\n\tafter: function() {\n\t\treturn this.domManip( arguments, function( elem ) {\n\t\t\tif ( this.parentNode ) {\n\t\t\t\tthis.parentNode.insertBefore( elem, this.nextSibling );\n\t\t\t}\n\t\t});\n\t},\n\n\t// keepData is for internal use only--do not document\n\tremove: function( selector, keepData ) {\n\t\tvar elem,\n\t\t\telems = selector ? jQuery.filter( selector, this ) : this,\n\t\t\ti = 0;\n\n\t\tfor ( ; (elem = elems[i]) != null; i++ ) {\n\n\t\t\tif ( !keepData && elem.nodeType === 1 ) {\n\t\t\t\tjQuery.cleanData( getAll( elem ) );\n\t\t\t}\n\n\t\t\tif ( elem.parentNode ) {\n\t\t\t\tif ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) {\n\t\t\t\t\tsetGlobalEval( getAll( elem, \"script\" ) );\n\t\t\t\t}\n\t\t\t\telem.parentNode.removeChild( elem );\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\tempty: function() {\n\t\tvar elem,\n\t\t\ti = 0;\n\n\t\tfor ( ; (elem = this[i]) != null; i++ ) {\n\t\t\t// Remove element nodes and prevent memory leaks\n\t\t\tif ( elem.nodeType === 1 ) {\n\t\t\t\tjQuery.cleanData( getAll( elem, false ) );\n\t\t\t}\n\n\t\t\t// Remove any remaining nodes\n\t\t\twhile ( elem.firstChild ) {\n\t\t\t\telem.removeChild( elem.firstChild );\n\t\t\t}\n\n\t\t\t// If this is a select, ensure that it displays empty (#12336)\n\t\t\t// Support: IE<9\n\t\t\tif ( elem.options && jQuery.nodeName( elem, \"select\" ) ) {\n\t\t\t\telem.options.length = 0;\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\tclone: function( dataAndEvents, deepDataAndEvents ) {\n\t\tdataAndEvents = dataAndEvents == null ? false : dataAndEvents;\n\t\tdeepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;\n\n\t\treturn this.map( function () {\n\t\t\treturn jQuery.clone( this, dataAndEvents, deepDataAndEvents );\n\t\t});\n\t},\n\n\thtml: function( value ) {\n\t\treturn jQuery.access( this, function( value ) {\n\t\t\tvar elem = this[0] || {},\n\t\t\t\ti = 0,\n\t\t\t\tl = this.length;\n\n\t\t\tif ( value === undefined ) {\n\t\t\t\treturn elem.nodeType === 1 ?\n\t\t\t\t\telem.innerHTML.replace( rinlinejQuery, \"\" ) :\n\t\t\t\t\tundefined;\n\t\t\t}\n\n\t\t\t// See if we can take a shortcut and just use innerHTML\n\t\t\tif ( typeof value === \"string\" && !rnoInnerhtml.test( value ) &&\n\t\t\t\t( jQuery.support.htmlSerialize || !rnoshimcache.test( value )  ) &&\n\t\t\t\t( jQuery.support.leadingWhitespace || !rleadingWhitespace.test( value ) ) &&\n\t\t\t\t!wrapMap[ ( rtagName.exec( value ) || [\"\", \"\"] )[1].toLowerCase() ] ) {\n\n\t\t\t\tvalue = value.replace( rxhtmlTag, \"<$1></$2>\" );\n\n\t\t\t\ttry {\n\t\t\t\t\tfor (; i < l; i++ ) {\n\t\t\t\t\t\t// Remove element nodes and prevent memory leaks\n\t\t\t\t\t\telem = this[i] || {};\n\t\t\t\t\t\tif ( elem.nodeType === 1 ) {\n\t\t\t\t\t\t\tjQuery.cleanData( getAll( elem, false ) );\n\t\t\t\t\t\t\telem.innerHTML = value;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\telem = 0;\n\n\t\t\t\t// If using innerHTML throws an exception, use the fallback method\n\t\t\t\t} catch(e) {}\n\t\t\t}\n\n\t\t\tif ( elem ) {\n\t\t\t\tthis.empty().append( value );\n\t\t\t}\n\t\t}, null, value, arguments.length );\n\t},\n\n\treplaceWith: function() {\n\t\tvar\n\t\t\t// Snapshot the DOM in case .domManip sweeps something relevant into its fragment\n\t\t\targs = jQuery.map( this, function( elem ) {\n\t\t\t\treturn [ elem.nextSibling, elem.parentNode ];\n\t\t\t}),\n\t\t\ti = 0;\n\n\t\t// Make the changes, replacing each context element with the new content\n\t\tthis.domManip( arguments, function( elem ) {\n\t\t\tvar next = args[ i++ ],\n\t\t\t\tparent = args[ i++ ];\n\n\t\t\tif ( parent ) {\n\t\t\t\t// Don't use the snapshot next if it has moved (#13810)\n\t\t\t\tif ( next && next.parentNode !== parent ) {\n\t\t\t\t\tnext = this.nextSibling;\n\t\t\t\t}\n\t\t\t\tjQuery( this ).remove();\n\t\t\t\tparent.insertBefore( elem, next );\n\t\t\t}\n\t\t// Allow new content to include elements from the context set\n\t\t}, true );\n\n\t\t// Force removal if there was no new content (e.g., from empty arguments)\n\t\treturn i ? this : this.remove();\n\t},\n\n\tdetach: function( selector ) {\n\t\treturn this.remove( selector, true );\n\t},\n\n\tdomManip: function( args, callback, allowIntersection ) {\n\n\t\t// Flatten any nested arrays\n\t\targs = core_concat.apply( [], args );\n\n\t\tvar first, node, hasScripts,\n\t\t\tscripts, doc, fragment,\n\t\t\ti = 0,\n\t\t\tl = this.length,\n\t\t\tset = this,\n\t\t\tiNoClone = l - 1,\n\t\t\tvalue = args[0],\n\t\t\tisFunction = jQuery.isFunction( value );\n\n\t\t// We can't cloneNode fragments that contain checked, in WebKit\n\t\tif ( isFunction || !( l <= 1 || typeof value !== \"string\" || jQuery.support.checkClone || !rchecked.test( value ) ) ) {\n\t\t\treturn this.each(function( index ) {\n\t\t\t\tvar self = set.eq( index );\n\t\t\t\tif ( isFunction ) {\n\t\t\t\t\targs[0] = value.call( this, index, self.html() );\n\t\t\t\t}\n\t\t\t\tself.domManip( args, callback, allowIntersection );\n\t\t\t});\n\t\t}\n\n\t\tif ( l ) {\n\t\t\tfragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, !allowIntersection && this );\n\t\t\tfirst = fragment.firstChild;\n\n\t\t\tif ( fragment.childNodes.length === 1 ) {\n\t\t\t\tfragment = first;\n\t\t\t}\n\n\t\t\tif ( first ) {\n\t\t\t\tscripts = jQuery.map( getAll( fragment, \"script\" ), disableScript );\n\t\t\t\thasScripts = scripts.length;\n\n\t\t\t\t// Use the original fragment for the last item instead of the first because it can end up\n\t\t\t\t// being emptied incorrectly in certain situations (#8070).\n\t\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\t\tnode = fragment;\n\n\t\t\t\t\tif ( i !== iNoClone ) {\n\t\t\t\t\t\tnode = jQuery.clone( node, true, true );\n\n\t\t\t\t\t\t// Keep references to cloned scripts for later restoration\n\t\t\t\t\t\tif ( hasScripts ) {\n\t\t\t\t\t\t\tjQuery.merge( scripts, getAll( node, \"script\" ) );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tcallback.call( this[i], node, i );\n\t\t\t\t}\n\n\t\t\t\tif ( hasScripts ) {\n\t\t\t\t\tdoc = scripts[ scripts.length - 1 ].ownerDocument;\n\n\t\t\t\t\t// Reenable scripts\n\t\t\t\t\tjQuery.map( scripts, restoreScript );\n\n\t\t\t\t\t// Evaluate executable scripts on first document insertion\n\t\t\t\t\tfor ( i = 0; i < hasScripts; i++ ) {\n\t\t\t\t\t\tnode = scripts[ i ];\n\t\t\t\t\t\tif ( rscriptType.test( node.type || \"\" ) &&\n\t\t\t\t\t\t\t!jQuery._data( node, \"globalEval\" ) && jQuery.contains( doc, node ) ) {\n\n\t\t\t\t\t\t\tif ( node.src ) {\n\t\t\t\t\t\t\t\t// Hope ajax is available...\n\t\t\t\t\t\t\t\tjQuery._evalUrl( node.src );\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tjQuery.globalEval( ( node.text || node.textContent || node.innerHTML || \"\" ).replace( rcleanScript, \"\" ) );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Fix #11809: Avoid leaking memory\n\t\t\t\tfragment = first = null;\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t}\n});\n\n// Support: IE<8\n// Manipulating tables requires a tbody\nfunction manipulationTarget( elem, content ) {\n\treturn jQuery.nodeName( elem, \"table\" ) &&\n\t\tjQuery.nodeName( content.nodeType === 1 ? content : content.firstChild, \"tr\" ) ?\n\n\t\telem.getElementsByTagName(\"tbody\")[0] ||\n\t\t\telem.appendChild( elem.ownerDocument.createElement(\"tbody\") ) :\n\t\telem;\n}\n\n// Replace/restore the type attribute of script elements for safe DOM manipulation\nfunction disableScript( elem ) {\n\telem.type = (jQuery.find.attr( elem, \"type\" ) !== null) + \"/\" + elem.type;\n\treturn elem;\n}\nfunction restoreScript( elem ) {\n\tvar match = rscriptTypeMasked.exec( elem.type );\n\tif ( match ) {\n\t\telem.type = match[1];\n\t} else {\n\t\telem.removeAttribute(\"type\");\n\t}\n\treturn elem;\n}\n\n// Mark scripts as having already been evaluated\nfunction setGlobalEval( elems, refElements ) {\n\tvar elem,\n\t\ti = 0;\n\tfor ( ; (elem = elems[i]) != null; i++ ) {\n\t\tjQuery._data( elem, \"globalEval\", !refElements || jQuery._data( refElements[i], \"globalEval\" ) );\n\t}\n}\n\nfunction cloneCopyEvent( src, dest ) {\n\n\tif ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) {\n\t\treturn;\n\t}\n\n\tvar type, i, l,\n\t\toldData = jQuery._data( src ),\n\t\tcurData = jQuery._data( dest, oldData ),\n\t\tevents = oldData.events;\n\n\tif ( events ) {\n\t\tdelete curData.handle;\n\t\tcurData.events = {};\n\n\t\tfor ( type in events ) {\n\t\t\tfor ( i = 0, l = events[ type ].length; i < l; i++ ) {\n\t\t\t\tjQuery.event.add( dest, type, events[ type ][ i ] );\n\t\t\t}\n\t\t}\n\t}\n\n\t// make the cloned public data object a copy from the original\n\tif ( curData.data ) {\n\t\tcurData.data = jQuery.extend( {}, curData.data );\n\t}\n}\n\nfunction fixCloneNodeIssues( src, dest ) {\n\tvar nodeName, e, data;\n\n\t// We do not need to do anything for non-Elements\n\tif ( dest.nodeType !== 1 ) {\n\t\treturn;\n\t}\n\n\tnodeName = dest.nodeName.toLowerCase();\n\n\t// IE6-8 copies events bound via attachEvent when using cloneNode.\n\tif ( !jQuery.support.noCloneEvent && dest[ jQuery.expando ] ) {\n\t\tdata = jQuery._data( dest );\n\n\t\tfor ( e in data.events ) {\n\t\t\tjQuery.removeEvent( dest, e, data.handle );\n\t\t}\n\n\t\t// Event data gets referenced instead of copied if the expando gets copied too\n\t\tdest.removeAttribute( jQuery.expando );\n\t}\n\n\t// IE blanks contents when cloning scripts, and tries to evaluate newly-set text\n\tif ( nodeName === \"script\" && dest.text !== src.text ) {\n\t\tdisableScript( dest ).text = src.text;\n\t\trestoreScript( dest );\n\n\t// IE6-10 improperly clones children of object elements using classid.\n\t// IE10 throws NoModificationAllowedError if parent is null, #12132.\n\t} else if ( nodeName === \"object\" ) {\n\t\tif ( dest.parentNode ) {\n\t\t\tdest.outerHTML = src.outerHTML;\n\t\t}\n\n\t\t// This path appears unavoidable for IE9. When cloning an object\n\t\t// element in IE9, the outerHTML strategy above is not sufficient.\n\t\t// If the src has innerHTML and the destination does not,\n\t\t// copy the src.innerHTML into the dest.innerHTML. #10324\n\t\tif ( jQuery.support.html5Clone && ( src.innerHTML && !jQuery.trim(dest.innerHTML) ) ) {\n\t\t\tdest.innerHTML = src.innerHTML;\n\t\t}\n\n\t} else if ( nodeName === \"input\" && manipulation_rcheckableType.test( src.type ) ) {\n\t\t// IE6-8 fails to persist the checked state of a cloned checkbox\n\t\t// or radio button. Worse, IE6-7 fail to give the cloned element\n\t\t// a checked appearance if the defaultChecked value isn't also set\n\n\t\tdest.defaultChecked = dest.checked = src.checked;\n\n\t\t// IE6-7 get confused and end up setting the value of a cloned\n\t\t// checkbox/radio button to an empty string instead of \"on\"\n\t\tif ( dest.value !== src.value ) {\n\t\t\tdest.value = src.value;\n\t\t}\n\n\t// IE6-8 fails to return the selected option to the default selected\n\t// state when cloning options\n\t} else if ( nodeName === \"option\" ) {\n\t\tdest.defaultSelected = dest.selected = src.defaultSelected;\n\n\t// IE6-8 fails to set the defaultValue to the correct value when\n\t// cloning other types of input fields\n\t} else if ( nodeName === \"input\" || nodeName === \"textarea\" ) {\n\t\tdest.defaultValue = src.defaultValue;\n\t}\n}\n\njQuery.each({\n\tappendTo: \"append\",\n\tprependTo: \"prepend\",\n\tinsertBefore: \"before\",\n\tinsertAfter: \"after\",\n\treplaceAll: \"replaceWith\"\n}, function( name, original ) {\n\tjQuery.fn[ name ] = function( selector ) {\n\t\tvar elems,\n\t\t\ti = 0,\n\t\t\tret = [],\n\t\t\tinsert = jQuery( selector ),\n\t\t\tlast = insert.length - 1;\n\n\t\tfor ( ; i <= last; i++ ) {\n\t\t\telems = i === last ? this : this.clone(true);\n\t\t\tjQuery( insert[i] )[ original ]( elems );\n\n\t\t\t// Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get()\n\t\t\tcore_push.apply( ret, elems.get() );\n\t\t}\n\n\t\treturn this.pushStack( ret );\n\t};\n});\n\nfunction getAll( context, tag ) {\n\tvar elems, elem,\n\t\ti = 0,\n\t\tfound = typeof context.getElementsByTagName !== core_strundefined ? context.getElementsByTagName( tag || \"*\" ) :\n\t\t\ttypeof context.querySelectorAll !== core_strundefined ? context.querySelectorAll( tag || \"*\" ) :\n\t\t\tundefined;\n\n\tif ( !found ) {\n\t\tfor ( found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++ ) {\n\t\t\tif ( !tag || jQuery.nodeName( elem, tag ) ) {\n\t\t\t\tfound.push( elem );\n\t\t\t} else {\n\t\t\t\tjQuery.merge( found, getAll( elem, tag ) );\n\t\t\t}\n\t\t}\n\t}\n\n\treturn tag === undefined || tag && jQuery.nodeName( context, tag ) ?\n\t\tjQuery.merge( [ context ], found ) :\n\t\tfound;\n}\n\n// Used in buildFragment, fixes the defaultChecked property\nfunction fixDefaultChecked( elem ) {\n\tif ( manipulation_rcheckableType.test( elem.type ) ) {\n\t\telem.defaultChecked = elem.checked;\n\t}\n}\n\njQuery.extend({\n\tclone: function( elem, dataAndEvents, deepDataAndEvents ) {\n\t\tvar destElements, node, clone, i, srcElements,\n\t\t\tinPage = jQuery.contains( elem.ownerDocument, elem );\n\n\t\tif ( jQuery.support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( \"<\" + elem.nodeName + \">\" ) ) {\n\t\t\tclone = elem.cloneNode( true );\n\n\t\t// IE<=8 does not properly clone detached, unknown element nodes\n\t\t} else {\n\t\t\tfragmentDiv.innerHTML = elem.outerHTML;\n\t\t\tfragmentDiv.removeChild( clone = fragmentDiv.firstChild );\n\t\t}\n\n\t\tif ( (!jQuery.support.noCloneEvent || !jQuery.support.noCloneChecked) &&\n\t\t\t\t(elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) {\n\n\t\t\t// We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2\n\t\t\tdestElements = getAll( clone );\n\t\t\tsrcElements = getAll( elem );\n\n\t\t\t// Fix all IE cloning issues\n\t\t\tfor ( i = 0; (node = srcElements[i]) != null; ++i ) {\n\t\t\t\t// Ensure that the destination node is not null; Fixes #9587\n\t\t\t\tif ( destElements[i] ) {\n\t\t\t\t\tfixCloneNodeIssues( node, destElements[i] );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Copy the events from the original to the clone\n\t\tif ( dataAndEvents ) {\n\t\t\tif ( deepDataAndEvents ) {\n\t\t\t\tsrcElements = srcElements || getAll( elem );\n\t\t\t\tdestElements = destElements || getAll( clone );\n\n\t\t\t\tfor ( i = 0; (node = srcElements[i]) != null; i++ ) {\n\t\t\t\t\tcloneCopyEvent( node, destElements[i] );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tcloneCopyEvent( elem, clone );\n\t\t\t}\n\t\t}\n\n\t\t// Preserve script evaluation history\n\t\tdestElements = getAll( clone, \"script\" );\n\t\tif ( destElements.length > 0 ) {\n\t\t\tsetGlobalEval( destElements, !inPage && getAll( elem, \"script\" ) );\n\t\t}\n\n\t\tdestElements = srcElements = node = null;\n\n\t\t// Return the cloned set\n\t\treturn clone;\n\t},\n\n\tbuildFragment: function( elems, context, scripts, selection ) {\n\t\tvar j, elem, contains,\n\t\t\ttmp, tag, tbody, wrap,\n\t\t\tl = elems.length,\n\n\t\t\t// Ensure a safe fragment\n\t\t\tsafe = createSafeFragment( context ),\n\n\t\t\tnodes = [],\n\t\t\ti = 0;\n\n\t\tfor ( ; i < l; i++ ) {\n\t\t\telem = elems[ i ];\n\n\t\t\tif ( elem || elem === 0 ) {\n\n\t\t\t\t// Add nodes directly\n\t\t\t\tif ( jQuery.type( elem ) === \"object\" ) {\n\t\t\t\t\tjQuery.merge( nodes, elem.nodeType ? [ elem ] : elem );\n\n\t\t\t\t// Convert non-html into a text node\n\t\t\t\t} else if ( !rhtml.test( elem ) ) {\n\t\t\t\t\tnodes.push( context.createTextNode( elem ) );\n\n\t\t\t\t// Convert html into DOM nodes\n\t\t\t\t} else {\n\t\t\t\t\ttmp = tmp || safe.appendChild( context.createElement(\"div\") );\n\n\t\t\t\t\t// Deserialize a standard representation\n\t\t\t\t\ttag = ( rtagName.exec( elem ) || [\"\", \"\"] )[1].toLowerCase();\n\t\t\t\t\twrap = wrapMap[ tag ] || wrapMap._default;\n\n\t\t\t\t\ttmp.innerHTML = wrap[1] + elem.replace( rxhtmlTag, \"<$1></$2>\" ) + wrap[2];\n\n\t\t\t\t\t// Descend through wrappers to the right content\n\t\t\t\t\tj = wrap[0];\n\t\t\t\t\twhile ( j-- ) {\n\t\t\t\t\t\ttmp = tmp.lastChild;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Manually add leading whitespace removed by IE\n\t\t\t\t\tif ( !jQuery.support.leadingWhitespace && rleadingWhitespace.test( elem ) ) {\n\t\t\t\t\t\tnodes.push( context.createTextNode( rleadingWhitespace.exec( elem )[0] ) );\n\t\t\t\t\t}\n\n\t\t\t\t\t// Remove IE's autoinserted <tbody> from table fragments\n\t\t\t\t\tif ( !jQuery.support.tbody ) {\n\n\t\t\t\t\t\t// String was a <table>, *may* have spurious <tbody>\n\t\t\t\t\t\telem = tag === \"table\" && !rtbody.test( elem ) ?\n\t\t\t\t\t\t\ttmp.firstChild :\n\n\t\t\t\t\t\t\t// String was a bare <thead> or <tfoot>\n\t\t\t\t\t\t\twrap[1] === \"<table>\" && !rtbody.test( elem ) ?\n\t\t\t\t\t\t\t\ttmp :\n\t\t\t\t\t\t\t\t0;\n\n\t\t\t\t\t\tj = elem && elem.childNodes.length;\n\t\t\t\t\t\twhile ( j-- ) {\n\t\t\t\t\t\t\tif ( jQuery.nodeName( (tbody = elem.childNodes[j]), \"tbody\" ) && !tbody.childNodes.length ) {\n\t\t\t\t\t\t\t\telem.removeChild( tbody );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tjQuery.merge( nodes, tmp.childNodes );\n\n\t\t\t\t\t// Fix #12392 for WebKit and IE > 9\n\t\t\t\t\ttmp.textContent = \"\";\n\n\t\t\t\t\t// Fix #12392 for oldIE\n\t\t\t\t\twhile ( tmp.firstChild ) {\n\t\t\t\t\t\ttmp.removeChild( tmp.firstChild );\n\t\t\t\t\t}\n\n\t\t\t\t\t// Remember the top-level container for proper cleanup\n\t\t\t\t\ttmp = safe.lastChild;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Fix #11356: Clear elements from fragment\n\t\tif ( tmp ) {\n\t\t\tsafe.removeChild( tmp );\n\t\t}\n\n\t\t// Reset defaultChecked for any radios and checkboxes\n\t\t// about to be appended to the DOM in IE 6/7 (#8060)\n\t\tif ( !jQuery.support.appendChecked ) {\n\t\t\tjQuery.grep( getAll( nodes, \"input\" ), fixDefaultChecked );\n\t\t}\n\n\t\ti = 0;\n\t\twhile ( (elem = nodes[ i++ ]) ) {\n\n\t\t\t// #4087 - If origin and destination elements are the same, and this is\n\t\t\t// that element, do not do anything\n\t\t\tif ( selection && jQuery.inArray( elem, selection ) !== -1 ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tcontains = jQuery.contains( elem.ownerDocument, elem );\n\n\t\t\t// Append to fragment\n\t\t\ttmp = getAll( safe.appendChild( elem ), \"script\" );\n\n\t\t\t// Preserve script evaluation history\n\t\t\tif ( contains ) {\n\t\t\t\tsetGlobalEval( tmp );\n\t\t\t}\n\n\t\t\t// Capture executables\n\t\t\tif ( scripts ) {\n\t\t\t\tj = 0;\n\t\t\t\twhile ( (elem = tmp[ j++ ]) ) {\n\t\t\t\t\tif ( rscriptType.test( elem.type || \"\" ) ) {\n\t\t\t\t\t\tscripts.push( elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\ttmp = null;\n\n\t\treturn safe;\n\t},\n\n\tcleanData: function( elems, /* internal */ acceptData ) {\n\t\tvar elem, type, id, data,\n\t\t\ti = 0,\n\t\t\tinternalKey = jQuery.expando,\n\t\t\tcache = jQuery.cache,\n\t\t\tdeleteExpando = jQuery.support.deleteExpando,\n\t\t\tspecial = jQuery.event.special;\n\n\t\tfor ( ; (elem = elems[i]) != null; i++ ) {\n\n\t\t\tif ( acceptData || jQuery.acceptData( elem ) ) {\n\n\t\t\t\tid = elem[ internalKey ];\n\t\t\t\tdata = id && cache[ id ];\n\n\t\t\t\tif ( data ) {\n\t\t\t\t\tif ( data.events ) {\n\t\t\t\t\t\tfor ( type in data.events ) {\n\t\t\t\t\t\t\tif ( special[ type ] ) {\n\t\t\t\t\t\t\t\tjQuery.event.remove( elem, type );\n\n\t\t\t\t\t\t\t// This is a shortcut to avoid jQuery.event.remove's overhead\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tjQuery.removeEvent( elem, type, data.handle );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Remove cache only if it was not already removed by jQuery.event.remove\n\t\t\t\t\tif ( cache[ id ] ) {\n\n\t\t\t\t\t\tdelete cache[ id ];\n\n\t\t\t\t\t\t// IE does not allow us to delete expando properties from nodes,\n\t\t\t\t\t\t// nor does it have a removeAttribute function on Document nodes;\n\t\t\t\t\t\t// we must handle all of these cases\n\t\t\t\t\t\tif ( deleteExpando ) {\n\t\t\t\t\t\t\tdelete elem[ internalKey ];\n\n\t\t\t\t\t\t} else if ( typeof elem.removeAttribute !== core_strundefined ) {\n\t\t\t\t\t\t\telem.removeAttribute( internalKey );\n\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telem[ internalKey ] = null;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tcore_deletedIds.push( id );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\t_evalUrl: function( url ) {\n\t\treturn jQuery.ajax({\n\t\t\turl: url,\n\t\t\ttype: \"GET\",\n\t\t\tdataType: \"script\",\n\t\t\tasync: false,\n\t\t\tglobal: false,\n\t\t\t\"throws\": true\n\t\t});\n\t}\n});\njQuery.fn.extend({\n\twrapAll: function( html ) {\n\t\tif ( jQuery.isFunction( html ) ) {\n\t\t\treturn this.each(function(i) {\n\t\t\t\tjQuery(this).wrapAll( html.call(this, i) );\n\t\t\t});\n\t\t}\n\n\t\tif ( this[0] ) {\n\t\t\t// The elements to wrap the target around\n\t\t\tvar wrap = jQuery( html, this[0].ownerDocument ).eq(0).clone(true);\n\n\t\t\tif ( this[0].parentNode ) {\n\t\t\t\twrap.insertBefore( this[0] );\n\t\t\t}\n\n\t\t\twrap.map(function() {\n\t\t\t\tvar elem = this;\n\n\t\t\t\twhile ( elem.firstChild && elem.firstChild.nodeType === 1 ) {\n\t\t\t\t\telem = elem.firstChild;\n\t\t\t\t}\n\n\t\t\t\treturn elem;\n\t\t\t}).append( this );\n\t\t}\n\n\t\treturn this;\n\t},\n\n\twrapInner: function( html ) {\n\t\tif ( jQuery.isFunction( html ) ) {\n\t\t\treturn this.each(function(i) {\n\t\t\t\tjQuery(this).wrapInner( html.call(this, i) );\n\t\t\t});\n\t\t}\n\n\t\treturn this.each(function() {\n\t\t\tvar self = jQuery( this ),\n\t\t\t\tcontents = self.contents();\n\n\t\t\tif ( contents.length ) {\n\t\t\t\tcontents.wrapAll( html );\n\n\t\t\t} else {\n\t\t\t\tself.append( html );\n\t\t\t}\n\t\t});\n\t},\n\n\twrap: function( html ) {\n\t\tvar isFunction = jQuery.isFunction( html );\n\n\t\treturn this.each(function(i) {\n\t\t\tjQuery( this ).wrapAll( isFunction ? html.call(this, i) : html );\n\t\t});\n\t},\n\n\tunwrap: function() {\n\t\treturn this.parent().each(function() {\n\t\t\tif ( !jQuery.nodeName( this, \"body\" ) ) {\n\t\t\t\tjQuery( this ).replaceWith( this.childNodes );\n\t\t\t}\n\t\t}).end();\n\t}\n});\nvar iframe, getStyles, curCSS,\n\tralpha = /alpha\\([^)]*\\)/i,\n\tropacity = /opacity\\s*=\\s*([^)]*)/,\n\trposition = /^(top|right|bottom|left)$/,\n\t// swappable if display is none or starts with table except \"table\", \"table-cell\", or \"table-caption\"\n\t// see here for display values: https://developer.mozilla.org/en-US/docs/CSS/display\n\trdisplayswap = /^(none|table(?!-c[ea]).+)/,\n\trmargin = /^margin/,\n\trnumsplit = new RegExp( \"^(\" + core_pnum + \")(.*)$\", \"i\" ),\n\trnumnonpx = new RegExp( \"^(\" + core_pnum + \")(?!px)[a-z%]+$\", \"i\" ),\n\trrelNum = new RegExp( \"^([+-])=(\" + core_pnum + \")\", \"i\" ),\n\telemdisplay = { BODY: \"block\" },\n\n\tcssShow = { position: \"absolute\", visibility: \"hidden\", display: \"block\" },\n\tcssNormalTransform = {\n\t\tletterSpacing: 0,\n\t\tfontWeight: 400\n\t},\n\n\tcssExpand = [ \"Top\", \"Right\", \"Bottom\", \"Left\" ],\n\tcssPrefixes = [ \"Webkit\", \"O\", \"Moz\", \"ms\" ];\n\n// return a css property mapped to a potentially vendor prefixed property\nfunction vendorPropName( style, name ) {\n\n\t// shortcut for names that are not vendor prefixed\n\tif ( name in style ) {\n\t\treturn name;\n\t}\n\n\t// check for vendor prefixed names\n\tvar capName = name.charAt(0).toUpperCase() + name.slice(1),\n\t\torigName = name,\n\t\ti = cssPrefixes.length;\n\n\twhile ( i-- ) {\n\t\tname = cssPrefixes[ i ] + capName;\n\t\tif ( name in style ) {\n\t\t\treturn name;\n\t\t}\n\t}\n\n\treturn origName;\n}\n\nfunction isHidden( elem, el ) {\n\t// isHidden might be called from jQuery#filter function;\n\t// in that case, element will be second argument\n\telem = el || elem;\n\treturn jQuery.css( elem, \"display\" ) === \"none\" || !jQuery.contains( elem.ownerDocument, elem );\n}\n\nfunction showHide( elements, show ) {\n\tvar display, elem, hidden,\n\t\tvalues = [],\n\t\tindex = 0,\n\t\tlength = elements.length;\n\n\tfor ( ; index < length; index++ ) {\n\t\telem = elements[ index ];\n\t\tif ( !elem.style ) {\n\t\t\tcontinue;\n\t\t}\n\n\t\tvalues[ index ] = jQuery._data( elem, \"olddisplay\" );\n\t\tdisplay = elem.style.display;\n\t\tif ( show ) {\n\t\t\t// Reset the inline display of this element to learn if it is\n\t\t\t// being hidden by cascaded rules or not\n\t\t\tif ( !values[ index ] && display === \"none\" ) {\n\t\t\t\telem.style.display = \"\";\n\t\t\t}\n\n\t\t\t// Set elements which have been overridden with display: none\n\t\t\t// in a stylesheet to whatever the default browser style is\n\t\t\t// for such an element\n\t\t\tif ( elem.style.display === \"\" && isHidden( elem ) ) {\n\t\t\t\tvalues[ index ] = jQuery._data( elem, \"olddisplay\", css_defaultDisplay(elem.nodeName) );\n\t\t\t}\n\t\t} else {\n\n\t\t\tif ( !values[ index ] ) {\n\t\t\t\thidden = isHidden( elem );\n\n\t\t\t\tif ( display && display !== \"none\" || !hidden ) {\n\t\t\t\t\tjQuery._data( elem, \"olddisplay\", hidden ? display : jQuery.css( elem, \"display\" ) );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Set the display of most of the elements in a second loop\n\t// to avoid the constant reflow\n\tfor ( index = 0; index < length; index++ ) {\n\t\telem = elements[ index ];\n\t\tif ( !elem.style ) {\n\t\t\tcontinue;\n\t\t}\n\t\tif ( !show || elem.style.display === \"none\" || elem.style.display === \"\" ) {\n\t\t\telem.style.display = show ? values[ index ] || \"\" : \"none\";\n\t\t}\n\t}\n\n\treturn elements;\n}\n\njQuery.fn.extend({\n\tcss: function( name, value ) {\n\t\treturn jQuery.access( this, function( elem, name, value ) {\n\t\t\tvar len, styles,\n\t\t\t\tmap = {},\n\t\t\t\ti = 0;\n\n\t\t\tif ( jQuery.isArray( name ) ) {\n\t\t\t\tstyles = getStyles( elem );\n\t\t\t\tlen = name.length;\n\n\t\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\t\tmap[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles );\n\t\t\t\t}\n\n\t\t\t\treturn map;\n\t\t\t}\n\n\t\t\treturn value !== undefined ?\n\t\t\t\tjQuery.style( elem, name, value ) :\n\t\t\t\tjQuery.css( elem, name );\n\t\t}, name, value, arguments.length > 1 );\n\t},\n\tshow: function() {\n\t\treturn showHide( this, true );\n\t},\n\thide: function() {\n\t\treturn showHide( this );\n\t},\n\ttoggle: function( state ) {\n\t\tif ( typeof state === \"boolean\" ) {\n\t\t\treturn state ? this.show() : this.hide();\n\t\t}\n\n\t\treturn this.each(function() {\n\t\t\tif ( isHidden( this ) ) {\n\t\t\t\tjQuery( this ).show();\n\t\t\t} else {\n\t\t\t\tjQuery( this ).hide();\n\t\t\t}\n\t\t});\n\t}\n});\n\njQuery.extend({\n\t// Add in style property hooks for overriding the default\n\t// behavior of getting and setting a style property\n\tcssHooks: {\n\t\topacity: {\n\t\t\tget: function( elem, computed ) {\n\t\t\t\tif ( computed ) {\n\t\t\t\t\t// We should always get a number back from opacity\n\t\t\t\t\tvar ret = curCSS( elem, \"opacity\" );\n\t\t\t\t\treturn ret === \"\" ? \"1\" : ret;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\t// Don't automatically add \"px\" to these possibly-unitless properties\n\tcssNumber: {\n\t\t\"columnCount\": true,\n\t\t\"fillOpacity\": true,\n\t\t\"fontWeight\": true,\n\t\t\"lineHeight\": true,\n\t\t\"opacity\": true,\n\t\t\"order\": true,\n\t\t\"orphans\": true,\n\t\t\"widows\": true,\n\t\t\"zIndex\": true,\n\t\t\"zoom\": true\n\t},\n\n\t// Add in properties whose names you wish to fix before\n\t// setting or getting the value\n\tcssProps: {\n\t\t// normalize float css property\n\t\t\"float\": jQuery.support.cssFloat ? \"cssFloat\" : \"styleFloat\"\n\t},\n\n\t// Get and set the style property on a DOM Node\n\tstyle: function( elem, name, value, extra ) {\n\t\t// Don't set styles on text and comment nodes\n\t\tif ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Make sure that we're working with the right name\n\t\tvar ret, type, hooks,\n\t\t\torigName = jQuery.camelCase( name ),\n\t\t\tstyle = elem.style;\n\n\t\tname = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( style, origName ) );\n\n\t\t// gets hook for the prefixed version\n\t\t// followed by the unprefixed version\n\t\thooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];\n\n\t\t// Check if we're setting a value\n\t\tif ( value !== undefined ) {\n\t\t\ttype = typeof value;\n\n\t\t\t// convert relative number strings (+= or -=) to relative numbers. #7345\n\t\t\tif ( type === \"string\" && (ret = rrelNum.exec( value )) ) {\n\t\t\t\tvalue = ( ret[1] + 1 ) * ret[2] + parseFloat( jQuery.css( elem, name ) );\n\t\t\t\t// Fixes bug #9237\n\t\t\t\ttype = \"number\";\n\t\t\t}\n\n\t\t\t// Make sure that NaN and null values aren't set. See: #7116\n\t\t\tif ( value == null || type === \"number\" && isNaN( value ) ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// If a number was passed in, add 'px' to the (except for certain CSS properties)\n\t\t\tif ( type === \"number\" && !jQuery.cssNumber[ origName ] ) {\n\t\t\t\tvalue += \"px\";\n\t\t\t}\n\n\t\t\t// Fixes #8908, it can be done more correctly by specifing setters in cssHooks,\n\t\t\t// but it would mean to define eight (for every problematic property) identical functions\n\t\t\tif ( !jQuery.support.clearCloneStyle && value === \"\" && name.indexOf(\"background\") === 0 ) {\n\t\t\t\tstyle[ name ] = \"inherit\";\n\t\t\t}\n\n\t\t\t// If a hook was provided, use that value, otherwise just set the specified value\n\t\t\tif ( !hooks || !(\"set\" in hooks) || (value = hooks.set( elem, value, extra )) !== undefined ) {\n\n\t\t\t\t// Wrapped to prevent IE from throwing errors when 'invalid' values are provided\n\t\t\t\t// Fixes bug #5509\n\t\t\t\ttry {\n\t\t\t\t\tstyle[ name ] = value;\n\t\t\t\t} catch(e) {}\n\t\t\t}\n\n\t\t} else {\n\t\t\t// If a hook was provided get the non-computed value from there\n\t\t\tif ( hooks && \"get\" in hooks && (ret = hooks.get( elem, false, extra )) !== undefined ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\t// Otherwise just get the value from the style object\n\t\t\treturn style[ name ];\n\t\t}\n\t},\n\n\tcss: function( elem, name, extra, styles ) {\n\t\tvar num, val, hooks,\n\t\t\torigName = jQuery.camelCase( name );\n\n\t\t// Make sure that we're working with the right name\n\t\tname = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( elem.style, origName ) );\n\n\t\t// gets hook for the prefixed version\n\t\t// followed by the unprefixed version\n\t\thooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];\n\n\t\t// If a hook was provided get the computed value from there\n\t\tif ( hooks && \"get\" in hooks ) {\n\t\t\tval = hooks.get( elem, true, extra );\n\t\t}\n\n\t\t// Otherwise, if a way to get the computed value exists, use that\n\t\tif ( val === undefined ) {\n\t\t\tval = curCSS( elem, name, styles );\n\t\t}\n\n\t\t//convert \"normal\" to computed value\n\t\tif ( val === \"normal\" && name in cssNormalTransform ) {\n\t\t\tval = cssNormalTransform[ name ];\n\t\t}\n\n\t\t// Return, converting to number if forced or a qualifier was provided and val looks numeric\n\t\tif ( extra === \"\" || extra ) {\n\t\t\tnum = parseFloat( val );\n\t\t\treturn extra === true || jQuery.isNumeric( num ) ? num || 0 : val;\n\t\t}\n\t\treturn val;\n\t}\n});\n\n// NOTE: we've included the \"window\" in window.getComputedStyle\n// because jsdom on node.js will break without it.\nif ( window.getComputedStyle ) {\n\tgetStyles = function( elem ) {\n\t\treturn window.getComputedStyle( elem, null );\n\t};\n\n\tcurCSS = function( elem, name, _computed ) {\n\t\tvar width, minWidth, maxWidth,\n\t\t\tcomputed = _computed || getStyles( elem ),\n\n\t\t\t// getPropertyValue is only needed for .css('filter') in IE9, see #12537\n\t\t\tret = computed ? computed.getPropertyValue( name ) || computed[ name ] : undefined,\n\t\t\tstyle = elem.style;\n\n\t\tif ( computed ) {\n\n\t\t\tif ( ret === \"\" && !jQuery.contains( elem.ownerDocument, elem ) ) {\n\t\t\t\tret = jQuery.style( elem, name );\n\t\t\t}\n\n\t\t\t// A tribute to the \"awesome hack by Dean Edwards\"\n\t\t\t// Chrome < 17 and Safari 5.0 uses \"computed value\" instead of \"used value\" for margin-right\n\t\t\t// Safari 5.1.7 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels\n\t\t\t// this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values\n\t\t\tif ( rnumnonpx.test( ret ) && rmargin.test( name ) ) {\n\n\t\t\t\t// Remember the original values\n\t\t\t\twidth = style.width;\n\t\t\t\tminWidth = style.minWidth;\n\t\t\t\tmaxWidth = style.maxWidth;\n\n\t\t\t\t// Put in the new values to get a computed value out\n\t\t\t\tstyle.minWidth = style.maxWidth = style.width = ret;\n\t\t\t\tret = computed.width;\n\n\t\t\t\t// Revert the changed values\n\t\t\t\tstyle.width = width;\n\t\t\t\tstyle.minWidth = minWidth;\n\t\t\t\tstyle.maxWidth = maxWidth;\n\t\t\t}\n\t\t}\n\n\t\treturn ret;\n\t};\n} else if ( document.documentElement.currentStyle ) {\n\tgetStyles = function( elem ) {\n\t\treturn elem.currentStyle;\n\t};\n\n\tcurCSS = function( elem, name, _computed ) {\n\t\tvar left, rs, rsLeft,\n\t\t\tcomputed = _computed || getStyles( elem ),\n\t\t\tret = computed ? computed[ name ] : undefined,\n\t\t\tstyle = elem.style;\n\n\t\t// Avoid setting ret to empty string here\n\t\t// so we don't default to auto\n\t\tif ( ret == null && style && style[ name ] ) {\n\t\t\tret = style[ name ];\n\t\t}\n\n\t\t// From the awesome hack by Dean Edwards\n\t\t// http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291\n\n\t\t// If we're not dealing with a regular pixel number\n\t\t// but a number that has a weird ending, we need to convert it to pixels\n\t\t// but not position css attributes, as those are proportional to the parent element instead\n\t\t// and we can't measure the parent instead because it might trigger a \"stacking dolls\" problem\n\t\tif ( rnumnonpx.test( ret ) && !rposition.test( name ) ) {\n\n\t\t\t// Remember the original values\n\t\t\tleft = style.left;\n\t\t\trs = elem.runtimeStyle;\n\t\t\trsLeft = rs && rs.left;\n\n\t\t\t// Put in the new values to get a computed value out\n\t\t\tif ( rsLeft ) {\n\t\t\t\trs.left = elem.currentStyle.left;\n\t\t\t}\n\t\t\tstyle.left = name === \"fontSize\" ? \"1em\" : ret;\n\t\t\tret = style.pixelLeft + \"px\";\n\n\t\t\t// Revert the changed values\n\t\t\tstyle.left = left;\n\t\t\tif ( rsLeft ) {\n\t\t\t\trs.left = rsLeft;\n\t\t\t}\n\t\t}\n\n\t\treturn ret === \"\" ? \"auto\" : ret;\n\t};\n}\n\nfunction setPositiveNumber( elem, value, subtract ) {\n\tvar matches = rnumsplit.exec( value );\n\treturn matches ?\n\t\t// Guard against undefined \"subtract\", e.g., when used as in cssHooks\n\t\tMath.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || \"px\" ) :\n\t\tvalue;\n}\n\nfunction augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {\n\tvar i = extra === ( isBorderBox ? \"border\" : \"content\" ) ?\n\t\t// If we already have the right measurement, avoid augmentation\n\t\t4 :\n\t\t// Otherwise initialize for horizontal or vertical properties\n\t\tname === \"width\" ? 1 : 0,\n\n\t\tval = 0;\n\n\tfor ( ; i < 4; i += 2 ) {\n\t\t// both box models exclude margin, so add it if we want it\n\t\tif ( extra === \"margin\" ) {\n\t\t\tval += jQuery.css( elem, extra + cssExpand[ i ], true, styles );\n\t\t}\n\n\t\tif ( isBorderBox ) {\n\t\t\t// border-box includes padding, so remove it if we want content\n\t\t\tif ( extra === \"content\" ) {\n\t\t\t\tval -= jQuery.css( elem, \"padding\" + cssExpand[ i ], true, styles );\n\t\t\t}\n\n\t\t\t// at this point, extra isn't border nor margin, so remove border\n\t\t\tif ( extra !== \"margin\" ) {\n\t\t\t\tval -= jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\t\t\t}\n\t\t} else {\n\t\t\t// at this point, extra isn't content, so add padding\n\t\t\tval += jQuery.css( elem, \"padding\" + cssExpand[ i ], true, styles );\n\n\t\t\t// at this point, extra isn't content nor padding, so add border\n\t\t\tif ( extra !== \"padding\" ) {\n\t\t\t\tval += jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\t\t\t}\n\t\t}\n\t}\n\n\treturn val;\n}\n\nfunction getWidthOrHeight( elem, name, extra ) {\n\n\t// Start with offset property, which is equivalent to the border-box value\n\tvar valueIsBorderBox = true,\n\t\tval = name === \"width\" ? elem.offsetWidth : elem.offsetHeight,\n\t\tstyles = getStyles( elem ),\n\t\tisBorderBox = jQuery.support.boxSizing && jQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\";\n\n\t// some non-html elements return undefined for offsetWidth, so check for null/undefined\n\t// svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285\n\t// MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668\n\tif ( val <= 0 || val == null ) {\n\t\t// Fall back to computed then uncomputed css if necessary\n\t\tval = curCSS( elem, name, styles );\n\t\tif ( val < 0 || val == null ) {\n\t\t\tval = elem.style[ name ];\n\t\t}\n\n\t\t// Computed unit is not pixels. Stop here and return.\n\t\tif ( rnumnonpx.test(val) ) {\n\t\t\treturn val;\n\t\t}\n\n\t\t// we need the check for style in case a browser which returns unreliable values\n\t\t// for getComputedStyle silently falls back to the reliable elem.style\n\t\tvalueIsBorderBox = isBorderBox && ( jQuery.support.boxSizingReliable || val === elem.style[ name ] );\n\n\t\t// Normalize \"\", auto, and prepare for extra\n\t\tval = parseFloat( val ) || 0;\n\t}\n\n\t// use the active box-sizing model to add/subtract irrelevant styles\n\treturn ( val +\n\t\taugmentWidthOrHeight(\n\t\t\telem,\n\t\t\tname,\n\t\t\textra || ( isBorderBox ? \"border\" : \"content\" ),\n\t\t\tvalueIsBorderBox,\n\t\t\tstyles\n\t\t)\n\t) + \"px\";\n}\n\n// Try to determine the default display value of an element\nfunction css_defaultDisplay( nodeName ) {\n\tvar doc = document,\n\t\tdisplay = elemdisplay[ nodeName ];\n\n\tif ( !display ) {\n\t\tdisplay = actualDisplay( nodeName, doc );\n\n\t\t// If the simple way fails, read from inside an iframe\n\t\tif ( display === \"none\" || !display ) {\n\t\t\t// Use the already-created iframe if possible\n\t\t\tiframe = ( iframe ||\n\t\t\t\tjQuery(\"<iframe frameborder='0' width='0' height='0'/>\")\n\t\t\t\t.css( \"cssText\", \"display:block !important\" )\n\t\t\t).appendTo( doc.documentElement );\n\n\t\t\t// Always write a new HTML skeleton so Webkit and Firefox don't choke on reuse\n\t\t\tdoc = ( iframe[0].contentWindow || iframe[0].contentDocument ).document;\n\t\t\tdoc.write(\"<!doctype html><html><body>\");\n\t\t\tdoc.close();\n\n\t\t\tdisplay = actualDisplay( nodeName, doc );\n\t\t\tiframe.detach();\n\t\t}\n\n\t\t// Store the correct default display\n\t\telemdisplay[ nodeName ] = display;\n\t}\n\n\treturn display;\n}\n\n// Called ONLY from within css_defaultDisplay\nfunction actualDisplay( name, doc ) {\n\tvar elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ),\n\t\tdisplay = jQuery.css( elem[0], \"display\" );\n\telem.remove();\n\treturn display;\n}\n\njQuery.each([ \"height\", \"width\" ], function( i, name ) {\n\tjQuery.cssHooks[ name ] = {\n\t\tget: function( elem, computed, extra ) {\n\t\t\tif ( computed ) {\n\t\t\t\t// certain elements can have dimension info if we invisibly show them\n\t\t\t\t// however, it must have a current display style that would benefit from this\n\t\t\t\treturn elem.offsetWidth === 0 && rdisplayswap.test( jQuery.css( elem, \"display\" ) ) ?\n\t\t\t\t\tjQuery.swap( elem, cssShow, function() {\n\t\t\t\t\t\treturn getWidthOrHeight( elem, name, extra );\n\t\t\t\t\t}) :\n\t\t\t\t\tgetWidthOrHeight( elem, name, extra );\n\t\t\t}\n\t\t},\n\n\t\tset: function( elem, value, extra ) {\n\t\t\tvar styles = extra && getStyles( elem );\n\t\t\treturn setPositiveNumber( elem, value, extra ?\n\t\t\t\taugmentWidthOrHeight(\n\t\t\t\t\telem,\n\t\t\t\t\tname,\n\t\t\t\t\textra,\n\t\t\t\t\tjQuery.support.boxSizing && jQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\",\n\t\t\t\t\tstyles\n\t\t\t\t) : 0\n\t\t\t);\n\t\t}\n\t};\n});\n\nif ( !jQuery.support.opacity ) {\n\tjQuery.cssHooks.opacity = {\n\t\tget: function( elem, computed ) {\n\t\t\t// IE uses filters for opacity\n\t\t\treturn ropacity.test( (computed && elem.currentStyle ? elem.currentStyle.filter : elem.style.filter) || \"\" ) ?\n\t\t\t\t( 0.01 * parseFloat( RegExp.$1 ) ) + \"\" :\n\t\t\t\tcomputed ? \"1\" : \"\";\n\t\t},\n\n\t\tset: function( elem, value ) {\n\t\t\tvar style = elem.style,\n\t\t\t\tcurrentStyle = elem.currentStyle,\n\t\t\t\topacity = jQuery.isNumeric( value ) ? \"alpha(opacity=\" + value * 100 + \")\" : \"\",\n\t\t\t\tfilter = currentStyle && currentStyle.filter || style.filter || \"\";\n\n\t\t\t// IE has trouble with opacity if it does not have layout\n\t\t\t// Force it by setting the zoom level\n\t\t\tstyle.zoom = 1;\n\n\t\t\t// if setting opacity to 1, and no other filters exist - attempt to remove filter attribute #6652\n\t\t\t// if value === \"\", then remove inline opacity #12685\n\t\t\tif ( ( value >= 1 || value === \"\" ) &&\n\t\t\t\t\tjQuery.trim( filter.replace( ralpha, \"\" ) ) === \"\" &&\n\t\t\t\t\tstyle.removeAttribute ) {\n\n\t\t\t\t// Setting style.filter to null, \"\" & \" \" still leave \"filter:\" in the cssText\n\t\t\t\t// if \"filter:\" is present at all, clearType is disabled, we want to avoid this\n\t\t\t\t// style.removeAttribute is IE Only, but so apparently is this code path...\n\t\t\t\tstyle.removeAttribute( \"filter\" );\n\n\t\t\t\t// if there is no filter style applied in a css rule or unset inline opacity, we are done\n\t\t\t\tif ( value === \"\" || currentStyle && !currentStyle.filter ) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// otherwise, set new filter values\n\t\t\tstyle.filter = ralpha.test( filter ) ?\n\t\t\t\tfilter.replace( ralpha, opacity ) :\n\t\t\t\tfilter + \" \" + opacity;\n\t\t}\n\t};\n}\n\n// These hooks cannot be added until DOM ready because the support test\n// for it is not run until after DOM ready\njQuery(function() {\n\tif ( !jQuery.support.reliableMarginRight ) {\n\t\tjQuery.cssHooks.marginRight = {\n\t\t\tget: function( elem, computed ) {\n\t\t\t\tif ( computed ) {\n\t\t\t\t\t// WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right\n\t\t\t\t\t// Work around by temporarily setting element display to inline-block\n\t\t\t\t\treturn jQuery.swap( elem, { \"display\": \"inline-block\" },\n\t\t\t\t\t\tcurCSS, [ elem, \"marginRight\" ] );\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}\n\n\t// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084\n\t// getComputedStyle returns percent when specified for top/left/bottom/right\n\t// rather than make the css module depend on the offset module, we just check for it here\n\tif ( !jQuery.support.pixelPosition && jQuery.fn.position ) {\n\t\tjQuery.each( [ \"top\", \"left\" ], function( i, prop ) {\n\t\t\tjQuery.cssHooks[ prop ] = {\n\t\t\t\tget: function( elem, computed ) {\n\t\t\t\t\tif ( computed ) {\n\t\t\t\t\t\tcomputed = curCSS( elem, prop );\n\t\t\t\t\t\t// if curCSS returns percentage, fallback to offset\n\t\t\t\t\t\treturn rnumnonpx.test( computed ) ?\n\t\t\t\t\t\t\tjQuery( elem ).position()[ prop ] + \"px\" :\n\t\t\t\t\t\t\tcomputed;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t});\n\t}\n\n});\n\nif ( jQuery.expr && jQuery.expr.filters ) {\n\tjQuery.expr.filters.hidden = function( elem ) {\n\t\t// Support: Opera <= 12.12\n\t\t// Opera reports offsetWidths and offsetHeights less than zero on some elements\n\t\treturn elem.offsetWidth <= 0 && elem.offsetHeight <= 0 ||\n\t\t\t(!jQuery.support.reliableHiddenOffsets && ((elem.style && elem.style.display) || jQuery.css( elem, \"display\" )) === \"none\");\n\t};\n\n\tjQuery.expr.filters.visible = function( elem ) {\n\t\treturn !jQuery.expr.filters.hidden( elem );\n\t};\n}\n\n// These hooks are used by animate to expand properties\njQuery.each({\n\tmargin: \"\",\n\tpadding: \"\",\n\tborder: \"Width\"\n}, function( prefix, suffix ) {\n\tjQuery.cssHooks[ prefix + suffix ] = {\n\t\texpand: function( value ) {\n\t\t\tvar i = 0,\n\t\t\t\texpanded = {},\n\n\t\t\t\t// assumes a single number if not a string\n\t\t\t\tparts = typeof value === \"string\" ? value.split(\" \") : [ value ];\n\n\t\t\tfor ( ; i < 4; i++ ) {\n\t\t\t\texpanded[ prefix + cssExpand[ i ] + suffix ] =\n\t\t\t\t\tparts[ i ] || parts[ i - 2 ] || parts[ 0 ];\n\t\t\t}\n\n\t\t\treturn expanded;\n\t\t}\n\t};\n\n\tif ( !rmargin.test( prefix ) ) {\n\t\tjQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber;\n\t}\n});\nvar r20 = /%20/g,\n\trbracket = /\\[\\]$/,\n\trCRLF = /\\r?\\n/g,\n\trsubmitterTypes = /^(?:submit|button|image|reset|file)$/i,\n\trsubmittable = /^(?:input|select|textarea|keygen)/i;\n\njQuery.fn.extend({\n\tserialize: function() {\n\t\treturn jQuery.param( this.serializeArray() );\n\t},\n\tserializeArray: function() {\n\t\treturn this.map(function(){\n\t\t\t// Can add propHook for \"elements\" to filter or add form elements\n\t\t\tvar elements = jQuery.prop( this, \"elements\" );\n\t\t\treturn elements ? jQuery.makeArray( elements ) : this;\n\t\t})\n\t\t.filter(function(){\n\t\t\tvar type = this.type;\n\t\t\t// Use .is(\":disabled\") so that fieldset[disabled] works\n\t\t\treturn this.name && !jQuery( this ).is( \":disabled\" ) &&\n\t\t\t\trsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) &&\n\t\t\t\t( this.checked || !manipulation_rcheckableType.test( type ) );\n\t\t})\n\t\t.map(function( i, elem ){\n\t\t\tvar val = jQuery( this ).val();\n\n\t\t\treturn val == null ?\n\t\t\t\tnull :\n\t\t\t\tjQuery.isArray( val ) ?\n\t\t\t\t\tjQuery.map( val, function( val ){\n\t\t\t\t\t\treturn { name: elem.name, value: val.replace( rCRLF, \"\\r\\n\" ) };\n\t\t\t\t\t}) :\n\t\t\t\t\t{ name: elem.name, value: val.replace( rCRLF, \"\\r\\n\" ) };\n\t\t}).get();\n\t}\n});\n\n//Serialize an array of form elements or a set of\n//key/values into a query string\njQuery.param = function( a, traditional ) {\n\tvar prefix,\n\t\ts = [],\n\t\tadd = function( key, value ) {\n\t\t\t// If value is a function, invoke it and return its value\n\t\t\tvalue = jQuery.isFunction( value ) ? value() : ( value == null ? \"\" : value );\n\t\t\ts[ s.length ] = encodeURIComponent( key ) + \"=\" + encodeURIComponent( value );\n\t\t};\n\n\t// Set traditional to true for jQuery <= 1.3.2 behavior.\n\tif ( traditional === undefined ) {\n\t\ttraditional = jQuery.ajaxSettings && jQuery.ajaxSettings.traditional;\n\t}\n\n\t// If an array was passed in, assume that it is an array of form elements.\n\tif ( jQuery.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) {\n\t\t// Serialize the form elements\n\t\tjQuery.each( a, function() {\n\t\t\tadd( this.name, this.value );\n\t\t});\n\n\t} else {\n\t\t// If traditional, encode the \"old\" way (the way 1.3.2 or older\n\t\t// did it), otherwise encode params recursively.\n\t\tfor ( prefix in a ) {\n\t\t\tbuildParams( prefix, a[ prefix ], traditional, add );\n\t\t}\n\t}\n\n\t// Return the resulting serialization\n\treturn s.join( \"&\" ).replace( r20, \"+\" );\n};\n\nfunction buildParams( prefix, obj, traditional, add ) {\n\tvar name;\n\n\tif ( jQuery.isArray( obj ) ) {\n\t\t// Serialize array item.\n\t\tjQuery.each( obj, function( i, v ) {\n\t\t\tif ( traditional || rbracket.test( prefix ) ) {\n\t\t\t\t// Treat each array item as a scalar.\n\t\t\t\tadd( prefix, v );\n\n\t\t\t} else {\n\t\t\t\t// Item is non-scalar (array or object), encode its numeric index.\n\t\t\t\tbuildParams( prefix + \"[\" + ( typeof v === \"object\" ? i : \"\" ) + \"]\", v, traditional, add );\n\t\t\t}\n\t\t});\n\n\t} else if ( !traditional && jQuery.type( obj ) === \"object\" ) {\n\t\t// Serialize object item.\n\t\tfor ( name in obj ) {\n\t\t\tbuildParams( prefix + \"[\" + name + \"]\", obj[ name ], traditional, add );\n\t\t}\n\n\t} else {\n\t\t// Serialize scalar item.\n\t\tadd( prefix, obj );\n\t}\n}\njQuery.each( (\"blur focus focusin focusout load resize scroll unload click dblclick \" +\n\t\"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave \" +\n\t\"change select submit keydown keypress keyup error contextmenu\").split(\" \"), function( i, name ) {\n\n\t// Handle event binding\n\tjQuery.fn[ name ] = function( data, fn ) {\n\t\treturn arguments.length > 0 ?\n\t\t\tthis.on( name, null, data, fn ) :\n\t\t\tthis.trigger( name );\n\t};\n});\n\njQuery.fn.extend({\n\thover: function( fnOver, fnOut ) {\n\t\treturn this.mouseenter( fnOver ).mouseleave( fnOut || fnOver );\n\t},\n\n\tbind: function( types, data, fn ) {\n\t\treturn this.on( types, null, data, fn );\n\t},\n\tunbind: function( types, fn ) {\n\t\treturn this.off( types, null, fn );\n\t},\n\n\tdelegate: function( selector, types, data, fn ) {\n\t\treturn this.on( types, selector, data, fn );\n\t},\n\tundelegate: function( selector, types, fn ) {\n\t\t// ( namespace ) or ( selector, types [, fn] )\n\t\treturn arguments.length === 1 ? this.off( selector, \"**\" ) : this.off( types, selector || \"**\", fn );\n\t}\n});\nvar\n\t// Document location\n\tajaxLocParts,\n\tajaxLocation,\n\tajax_nonce = jQuery.now(),\n\n\tajax_rquery = /\\?/,\n\trhash = /#.*$/,\n\trts = /([?&])_=[^&]*/,\n\trheaders = /^(.*?):[ \\t]*([^\\r\\n]*)\\r?$/mg, // IE leaves an \\r character at EOL\n\t// #7653, #8125, #8152: local protocol detection\n\trlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,\n\trnoContent = /^(?:GET|HEAD)$/,\n\trprotocol = /^\\/\\//,\n\trurl = /^([\\w.+-]+:)(?:\\/\\/([^\\/?#:]*)(?::(\\d+)|)|)/,\n\n\t// Keep a copy of the old load method\n\t_load = jQuery.fn.load,\n\n\t/* Prefilters\n\t * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)\n\t * 2) These are called:\n\t *    - BEFORE asking for a transport\n\t *    - AFTER param serialization (s.data is a string if s.processData is true)\n\t * 3) key is the dataType\n\t * 4) the catchall symbol \"*\" can be used\n\t * 5) execution will start with transport dataType and THEN continue down to \"*\" if needed\n\t */\n\tprefilters = {},\n\n\t/* Transports bindings\n\t * 1) key is the dataType\n\t * 2) the catchall symbol \"*\" can be used\n\t * 3) selection will start with transport dataType and THEN go to \"*\" if needed\n\t */\n\ttransports = {},\n\n\t// Avoid comment-prolog char sequence (#10098); must appease lint and evade compression\n\tallTypes = \"*/\".concat(\"*\");\n\n// #8138, IE may throw an exception when accessing\n// a field from window.location if document.domain has been set\ntry {\n\tajaxLocation = location.href;\n} catch( e ) {\n\t// Use the href attribute of an A element\n\t// since IE will modify it given document.location\n\tajaxLocation = document.createElement( \"a\" );\n\tajaxLocation.href = \"\";\n\tajaxLocation = ajaxLocation.href;\n}\n\n// Segment location into parts\najaxLocParts = rurl.exec( ajaxLocation.toLowerCase() ) || [];\n\n// Base \"constructor\" for jQuery.ajaxPrefilter and jQuery.ajaxTransport\nfunction addToPrefiltersOrTransports( structure ) {\n\n\t// dataTypeExpression is optional and defaults to \"*\"\n\treturn function( dataTypeExpression, func ) {\n\n\t\tif ( typeof dataTypeExpression !== \"string\" ) {\n\t\t\tfunc = dataTypeExpression;\n\t\t\tdataTypeExpression = \"*\";\n\t\t}\n\n\t\tvar dataType,\n\t\t\ti = 0,\n\t\t\tdataTypes = dataTypeExpression.toLowerCase().match( core_rnotwhite ) || [];\n\n\t\tif ( jQuery.isFunction( func ) ) {\n\t\t\t// For each dataType in the dataTypeExpression\n\t\t\twhile ( (dataType = dataTypes[i++]) ) {\n\t\t\t\t// Prepend if requested\n\t\t\t\tif ( dataType[0] === \"+\" ) {\n\t\t\t\t\tdataType = dataType.slice( 1 ) || \"*\";\n\t\t\t\t\t(structure[ dataType ] = structure[ dataType ] || []).unshift( func );\n\n\t\t\t\t// Otherwise append\n\t\t\t\t} else {\n\t\t\t\t\t(structure[ dataType ] = structure[ dataType ] || []).push( func );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n}\n\n// Base inspection function for prefilters and transports\nfunction inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) {\n\n\tvar inspected = {},\n\t\tseekingTransport = ( structure === transports );\n\n\tfunction inspect( dataType ) {\n\t\tvar selected;\n\t\tinspected[ dataType ] = true;\n\t\tjQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) {\n\t\t\tvar dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR );\n\t\t\tif( typeof dataTypeOrTransport === \"string\" && !seekingTransport && !inspected[ dataTypeOrTransport ] ) {\n\t\t\t\toptions.dataTypes.unshift( dataTypeOrTransport );\n\t\t\t\tinspect( dataTypeOrTransport );\n\t\t\t\treturn false;\n\t\t\t} else if ( seekingTransport ) {\n\t\t\t\treturn !( selected = dataTypeOrTransport );\n\t\t\t}\n\t\t});\n\t\treturn selected;\n\t}\n\n\treturn inspect( options.dataTypes[ 0 ] ) || !inspected[ \"*\" ] && inspect( \"*\" );\n}\n\n// A special extend for ajax options\n// that takes \"flat\" options (not to be deep extended)\n// Fixes #9887\nfunction ajaxExtend( target, src ) {\n\tvar deep, key,\n\t\tflatOptions = jQuery.ajaxSettings.flatOptions || {};\n\n\tfor ( key in src ) {\n\t\tif ( src[ key ] !== undefined ) {\n\t\t\t( flatOptions[ key ] ? target : ( deep || (deep = {}) ) )[ key ] = src[ key ];\n\t\t}\n\t}\n\tif ( deep ) {\n\t\tjQuery.extend( true, target, deep );\n\t}\n\n\treturn target;\n}\n\njQuery.fn.load = function( url, params, callback ) {\n\tif ( typeof url !== \"string\" && _load ) {\n\t\treturn _load.apply( this, arguments );\n\t}\n\n\tvar selector, response, type,\n\t\tself = this,\n\t\toff = url.indexOf(\" \");\n\n\tif ( off >= 0 ) {\n\t\tselector = url.slice( off, url.length );\n\t\turl = url.slice( 0, off );\n\t}\n\n\t// If it's a function\n\tif ( jQuery.isFunction( params ) ) {\n\n\t\t// We assume that it's the callback\n\t\tcallback = params;\n\t\tparams = undefined;\n\n\t// Otherwise, build a param string\n\t} else if ( params && typeof params === \"object\" ) {\n\t\ttype = \"POST\";\n\t}\n\n\t// If we have elements to modify, make the request\n\tif ( self.length > 0 ) {\n\t\tjQuery.ajax({\n\t\t\turl: url,\n\n\t\t\t// if \"type\" variable is undefined, then \"GET\" method will be used\n\t\t\ttype: type,\n\t\t\tdataType: \"html\",\n\t\t\tdata: params\n\t\t}).done(function( responseText ) {\n\n\t\t\t// Save response for use in complete callback\n\t\t\tresponse = arguments;\n\n\t\t\tself.html( selector ?\n\n\t\t\t\t// If a selector was specified, locate the right elements in a dummy div\n\t\t\t\t// Exclude scripts to avoid IE 'Permission Denied' errors\n\t\t\t\tjQuery(\"<div>\").append( jQuery.parseHTML( responseText ) ).find( selector ) :\n\n\t\t\t\t// Otherwise use the full result\n\t\t\t\tresponseText );\n\n\t\t}).complete( callback && function( jqXHR, status ) {\n\t\t\tself.each( callback, response || [ jqXHR.responseText, status, jqXHR ] );\n\t\t});\n\t}\n\n\treturn this;\n};\n\n// Attach a bunch of functions for handling common AJAX events\njQuery.each( [ \"ajaxStart\", \"ajaxStop\", \"ajaxComplete\", \"ajaxError\", \"ajaxSuccess\", \"ajaxSend\" ], function( i, type ){\n\tjQuery.fn[ type ] = function( fn ){\n\t\treturn this.on( type, fn );\n\t};\n});\n\njQuery.extend({\n\n\t// Counter for holding the number of active queries\n\tactive: 0,\n\n\t// Last-Modified header cache for next request\n\tlastModified: {},\n\tetag: {},\n\n\tajaxSettings: {\n\t\turl: ajaxLocation,\n\t\ttype: \"GET\",\n\t\tisLocal: rlocalProtocol.test( ajaxLocParts[ 1 ] ),\n\t\tglobal: true,\n\t\tprocessData: true,\n\t\tasync: true,\n\t\tcontentType: \"application/x-www-form-urlencoded; charset=UTF-8\",\n\t\t/*\n\t\ttimeout: 0,\n\t\tdata: null,\n\t\tdataType: null,\n\t\tusername: null,\n\t\tpassword: null,\n\t\tcache: null,\n\t\tthrows: false,\n\t\ttraditional: false,\n\t\theaders: {},\n\t\t*/\n\n\t\taccepts: {\n\t\t\t\"*\": allTypes,\n\t\t\ttext: \"text/plain\",\n\t\t\thtml: \"text/html\",\n\t\t\txml: \"application/xml, text/xml\",\n\t\t\tjson: \"application/json, text/javascript\"\n\t\t},\n\n\t\tcontents: {\n\t\t\txml: /xml/,\n\t\t\thtml: /html/,\n\t\t\tjson: /json/\n\t\t},\n\n\t\tresponseFields: {\n\t\t\txml: \"responseXML\",\n\t\t\ttext: \"responseText\",\n\t\t\tjson: \"responseJSON\"\n\t\t},\n\n\t\t// Data converters\n\t\t// Keys separate source (or catchall \"*\") and destination types with a single space\n\t\tconverters: {\n\n\t\t\t// Convert anything to text\n\t\t\t\"* text\": String,\n\n\t\t\t// Text to html (true = no transformation)\n\t\t\t\"text html\": true,\n\n\t\t\t// Evaluate text as a json expression\n\t\t\t\"text json\": jQuery.parseJSON,\n\n\t\t\t// Parse text as xml\n\t\t\t\"text xml\": jQuery.parseXML\n\t\t},\n\n\t\t// For options that shouldn't be deep extended:\n\t\t// you can add your own custom options here if\n\t\t// and when you create one that shouldn't be\n\t\t// deep extended (see ajaxExtend)\n\t\tflatOptions: {\n\t\t\turl: true,\n\t\t\tcontext: true\n\t\t}\n\t},\n\n\t// Creates a full fledged settings object into target\n\t// with both ajaxSettings and settings fields.\n\t// If target is omitted, writes into ajaxSettings.\n\tajaxSetup: function( target, settings ) {\n\t\treturn settings ?\n\n\t\t\t// Building a settings object\n\t\t\tajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) :\n\n\t\t\t// Extending ajaxSettings\n\t\t\tajaxExtend( jQuery.ajaxSettings, target );\n\t},\n\n\tajaxPrefilter: addToPrefiltersOrTransports( prefilters ),\n\tajaxTransport: addToPrefiltersOrTransports( transports ),\n\n\t// Main method\n\tajax: function( url, options ) {\n\n\t\t// If url is an object, simulate pre-1.5 signature\n\t\tif ( typeof url === \"object\" ) {\n\t\t\toptions = url;\n\t\t\turl = undefined;\n\t\t}\n\n\t\t// Force options to be an object\n\t\toptions = options || {};\n\n\t\tvar // Cross-domain detection vars\n\t\t\tparts,\n\t\t\t// Loop variable\n\t\t\ti,\n\t\t\t// URL without anti-cache param\n\t\t\tcacheURL,\n\t\t\t// Response headers as string\n\t\t\tresponseHeadersString,\n\t\t\t// timeout handle\n\t\t\ttimeoutTimer,\n\n\t\t\t// To know if global events are to be dispatched\n\t\t\tfireGlobals,\n\n\t\t\ttransport,\n\t\t\t// Response headers\n\t\t\tresponseHeaders,\n\t\t\t// Create the final options object\n\t\t\ts = jQuery.ajaxSetup( {}, options ),\n\t\t\t// Callbacks context\n\t\t\tcallbackContext = s.context || s,\n\t\t\t// Context for global events is callbackContext if it is a DOM node or jQuery collection\n\t\t\tglobalEventContext = s.context && ( callbackContext.nodeType || callbackContext.jquery ) ?\n\t\t\t\tjQuery( callbackContext ) :\n\t\t\t\tjQuery.event,\n\t\t\t// Deferreds\n\t\t\tdeferred = jQuery.Deferred(),\n\t\t\tcompleteDeferred = jQuery.Callbacks(\"once memory\"),\n\t\t\t// Status-dependent callbacks\n\t\t\tstatusCode = s.statusCode || {},\n\t\t\t// Headers (they are sent all at once)\n\t\t\trequestHeaders = {},\n\t\t\trequestHeadersNames = {},\n\t\t\t// The jqXHR state\n\t\t\tstate = 0,\n\t\t\t// Default abort message\n\t\t\tstrAbort = \"canceled\",\n\t\t\t// Fake xhr\n\t\t\tjqXHR = {\n\t\t\t\treadyState: 0,\n\n\t\t\t\t// Builds headers hashtable if needed\n\t\t\t\tgetResponseHeader: function( key ) {\n\t\t\t\t\tvar match;\n\t\t\t\t\tif ( state === 2 ) {\n\t\t\t\t\t\tif ( !responseHeaders ) {\n\t\t\t\t\t\t\tresponseHeaders = {};\n\t\t\t\t\t\t\twhile ( (match = rheaders.exec( responseHeadersString )) ) {\n\t\t\t\t\t\t\t\tresponseHeaders[ match[1].toLowerCase() ] = match[ 2 ];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tmatch = responseHeaders[ key.toLowerCase() ];\n\t\t\t\t\t}\n\t\t\t\t\treturn match == null ? null : match;\n\t\t\t\t},\n\n\t\t\t\t// Raw string\n\t\t\t\tgetAllResponseHeaders: function() {\n\t\t\t\t\treturn state === 2 ? responseHeadersString : null;\n\t\t\t\t},\n\n\t\t\t\t// Caches the header\n\t\t\t\tsetRequestHeader: function( name, value ) {\n\t\t\t\t\tvar lname = name.toLowerCase();\n\t\t\t\t\tif ( !state ) {\n\t\t\t\t\t\tname = requestHeadersNames[ lname ] = requestHeadersNames[ lname ] || name;\n\t\t\t\t\t\trequestHeaders[ name ] = value;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Overrides response content-type header\n\t\t\t\toverrideMimeType: function( type ) {\n\t\t\t\t\tif ( !state ) {\n\t\t\t\t\t\ts.mimeType = type;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Status-dependent callbacks\n\t\t\t\tstatusCode: function( map ) {\n\t\t\t\t\tvar code;\n\t\t\t\t\tif ( map ) {\n\t\t\t\t\t\tif ( state < 2 ) {\n\t\t\t\t\t\t\tfor ( code in map ) {\n\t\t\t\t\t\t\t\t// Lazy-add the new callback in a way that preserves old ones\n\t\t\t\t\t\t\t\tstatusCode[ code ] = [ statusCode[ code ], map[ code ] ];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// Execute the appropriate callbacks\n\t\t\t\t\t\t\tjqXHR.always( map[ jqXHR.status ] );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Cancel the request\n\t\t\t\tabort: function( statusText ) {\n\t\t\t\t\tvar finalText = statusText || strAbort;\n\t\t\t\t\tif ( transport ) {\n\t\t\t\t\t\ttransport.abort( finalText );\n\t\t\t\t\t}\n\t\t\t\t\tdone( 0, finalText );\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t};\n\n\t\t// Attach deferreds\n\t\tdeferred.promise( jqXHR ).complete = completeDeferred.add;\n\t\tjqXHR.success = jqXHR.done;\n\t\tjqXHR.error = jqXHR.fail;\n\n\t\t// Remove hash character (#7531: and string promotion)\n\t\t// Add protocol if not provided (#5866: IE7 issue with protocol-less urls)\n\t\t// Handle falsy url in the settings object (#10093: consistency with old signature)\n\t\t// We also use the url parameter if available\n\t\ts.url = ( ( url || s.url || ajaxLocation ) + \"\" ).replace( rhash, \"\" ).replace( rprotocol, ajaxLocParts[ 1 ] + \"//\" );\n\n\t\t// Alias method option to type as per ticket #12004\n\t\ts.type = options.method || options.type || s.method || s.type;\n\n\t\t// Extract dataTypes list\n\t\ts.dataTypes = jQuery.trim( s.dataType || \"*\" ).toLowerCase().match( core_rnotwhite ) || [\"\"];\n\n\t\t// A cross-domain request is in order when we have a protocol:host:port mismatch\n\t\tif ( s.crossDomain == null ) {\n\t\t\tparts = rurl.exec( s.url.toLowerCase() );\n\t\t\ts.crossDomain = !!( parts &&\n\t\t\t\t( parts[ 1 ] !== ajaxLocParts[ 1 ] || parts[ 2 ] !== ajaxLocParts[ 2 ] ||\n\t\t\t\t\t( parts[ 3 ] || ( parts[ 1 ] === \"http:\" ? \"80\" : \"443\" ) ) !==\n\t\t\t\t\t\t( ajaxLocParts[ 3 ] || ( ajaxLocParts[ 1 ] === \"http:\" ? \"80\" : \"443\" ) ) )\n\t\t\t);\n\t\t}\n\n\t\t// Convert data if not already a string\n\t\tif ( s.data && s.processData && typeof s.data !== \"string\" ) {\n\t\t\ts.data = jQuery.param( s.data, s.traditional );\n\t\t}\n\n\t\t// Apply prefilters\n\t\tinspectPrefiltersOrTransports( prefilters, s, options, jqXHR );\n\n\t\t// If request was aborted inside a prefilter, stop there\n\t\tif ( state === 2 ) {\n\t\t\treturn jqXHR;\n\t\t}\n\n\t\t// We can fire global events as of now if asked to\n\t\tfireGlobals = s.global;\n\n\t\t// Watch for a new set of requests\n\t\tif ( fireGlobals && jQuery.active++ === 0 ) {\n\t\t\tjQuery.event.trigger(\"ajaxStart\");\n\t\t}\n\n\t\t// Uppercase the type\n\t\ts.type = s.type.toUpperCase();\n\n\t\t// Determine if request has content\n\t\ts.hasContent = !rnoContent.test( s.type );\n\n\t\t// Save the URL in case we're toying with the If-Modified-Since\n\t\t// and/or If-None-Match header later on\n\t\tcacheURL = s.url;\n\n\t\t// More options handling for requests with no content\n\t\tif ( !s.hasContent ) {\n\n\t\t\t// If data is available, append data to url\n\t\t\tif ( s.data ) {\n\t\t\t\tcacheURL = ( s.url += ( ajax_rquery.test( cacheURL ) ? \"&\" : \"?\" ) + s.data );\n\t\t\t\t// #9682: remove data so that it's not used in an eventual retry\n\t\t\t\tdelete s.data;\n\t\t\t}\n\n\t\t\t// Add anti-cache in url if needed\n\t\t\tif ( s.cache === false ) {\n\t\t\t\ts.url = rts.test( cacheURL ) ?\n\n\t\t\t\t\t// If there is already a '_' parameter, set its value\n\t\t\t\t\tcacheURL.replace( rts, \"$1_=\" + ajax_nonce++ ) :\n\n\t\t\t\t\t// Otherwise add one to the end\n\t\t\t\t\tcacheURL + ( ajax_rquery.test( cacheURL ) ? \"&\" : \"?\" ) + \"_=\" + ajax_nonce++;\n\t\t\t}\n\t\t}\n\n\t\t// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n\t\tif ( s.ifModified ) {\n\t\t\tif ( jQuery.lastModified[ cacheURL ] ) {\n\t\t\t\tjqXHR.setRequestHeader( \"If-Modified-Since\", jQuery.lastModified[ cacheURL ] );\n\t\t\t}\n\t\t\tif ( jQuery.etag[ cacheURL ] ) {\n\t\t\t\tjqXHR.setRequestHeader( \"If-None-Match\", jQuery.etag[ cacheURL ] );\n\t\t\t}\n\t\t}\n\n\t\t// Set the correct header, if data is being sent\n\t\tif ( s.data && s.hasContent && s.contentType !== false || options.contentType ) {\n\t\t\tjqXHR.setRequestHeader( \"Content-Type\", s.contentType );\n\t\t}\n\n\t\t// Set the Accepts header for the server, depending on the dataType\n\t\tjqXHR.setRequestHeader(\n\t\t\t\"Accept\",\n\t\t\ts.dataTypes[ 0 ] && s.accepts[ s.dataTypes[0] ] ?\n\t\t\t\ts.accepts[ s.dataTypes[0] ] + ( s.dataTypes[ 0 ] !== \"*\" ? \", \" + allTypes + \"; q=0.01\" : \"\" ) :\n\t\t\t\ts.accepts[ \"*\" ]\n\t\t);\n\n\t\t// Check for headers option\n\t\tfor ( i in s.headers ) {\n\t\t\tjqXHR.setRequestHeader( i, s.headers[ i ] );\n\t\t}\n\n\t\t// Allow custom headers/mimetypes and early abort\n\t\tif ( s.beforeSend && ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || state === 2 ) ) {\n\t\t\t// Abort if not done already and return\n\t\t\treturn jqXHR.abort();\n\t\t}\n\n\t\t// aborting is no longer a cancellation\n\t\tstrAbort = \"abort\";\n\n\t\t// Install callbacks on deferreds\n\t\tfor ( i in { success: 1, error: 1, complete: 1 } ) {\n\t\t\tjqXHR[ i ]( s[ i ] );\n\t\t}\n\n\t\t// Get transport\n\t\ttransport = inspectPrefiltersOrTransports( transports, s, options, jqXHR );\n\n\t\t// If no transport, we auto-abort\n\t\tif ( !transport ) {\n\t\t\tdone( -1, \"No Transport\" );\n\t\t} else {\n\t\t\tjqXHR.readyState = 1;\n\n\t\t\t// Send global event\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( \"ajaxSend\", [ jqXHR, s ] );\n\t\t\t}\n\t\t\t// Timeout\n\t\t\tif ( s.async && s.timeout > 0 ) {\n\t\t\t\ttimeoutTimer = setTimeout(function() {\n\t\t\t\t\tjqXHR.abort(\"timeout\");\n\t\t\t\t}, s.timeout );\n\t\t\t}\n\n\t\t\ttry {\n\t\t\t\tstate = 1;\n\t\t\t\ttransport.send( requestHeaders, done );\n\t\t\t} catch ( e ) {\n\t\t\t\t// Propagate exception as error if not done\n\t\t\t\tif ( state < 2 ) {\n\t\t\t\t\tdone( -1, e );\n\t\t\t\t// Simply rethrow otherwise\n\t\t\t\t} else {\n\t\t\t\t\tthrow e;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Callback for when everything is done\n\t\tfunction done( status, nativeStatusText, responses, headers ) {\n\t\t\tvar isSuccess, success, error, response, modified,\n\t\t\t\tstatusText = nativeStatusText;\n\n\t\t\t// Called once\n\t\t\tif ( state === 2 ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// State is \"done\" now\n\t\t\tstate = 2;\n\n\t\t\t// Clear timeout if it exists\n\t\t\tif ( timeoutTimer ) {\n\t\t\t\tclearTimeout( timeoutTimer );\n\t\t\t}\n\n\t\t\t// Dereference transport for early garbage collection\n\t\t\t// (no matter how long the jqXHR object will be used)\n\t\t\ttransport = undefined;\n\n\t\t\t// Cache response headers\n\t\t\tresponseHeadersString = headers || \"\";\n\n\t\t\t// Set readyState\n\t\t\tjqXHR.readyState = status > 0 ? 4 : 0;\n\n\t\t\t// Determine if successful\n\t\t\tisSuccess = status >= 200 && status < 300 || status === 304;\n\n\t\t\t// Get response data\n\t\t\tif ( responses ) {\n\t\t\t\tresponse = ajaxHandleResponses( s, jqXHR, responses );\n\t\t\t}\n\n\t\t\t// Convert no matter what (that way responseXXX fields are always set)\n\t\t\tresponse = ajaxConvert( s, response, jqXHR, isSuccess );\n\n\t\t\t// If successful, handle type chaining\n\t\t\tif ( isSuccess ) {\n\n\t\t\t\t// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n\t\t\t\tif ( s.ifModified ) {\n\t\t\t\t\tmodified = jqXHR.getResponseHeader(\"Last-Modified\");\n\t\t\t\t\tif ( modified ) {\n\t\t\t\t\t\tjQuery.lastModified[ cacheURL ] = modified;\n\t\t\t\t\t}\n\t\t\t\t\tmodified = jqXHR.getResponseHeader(\"etag\");\n\t\t\t\t\tif ( modified ) {\n\t\t\t\t\t\tjQuery.etag[ cacheURL ] = modified;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// if no content\n\t\t\t\tif ( status === 204 || s.type === \"HEAD\" ) {\n\t\t\t\t\tstatusText = \"nocontent\";\n\n\t\t\t\t// if not modified\n\t\t\t\t} else if ( status === 304 ) {\n\t\t\t\t\tstatusText = \"notmodified\";\n\n\t\t\t\t// If we have data, let's convert it\n\t\t\t\t} else {\n\t\t\t\t\tstatusText = response.state;\n\t\t\t\t\tsuccess = response.data;\n\t\t\t\t\terror = response.error;\n\t\t\t\t\tisSuccess = !error;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// We extract error from statusText\n\t\t\t\t// then normalize statusText and status for non-aborts\n\t\t\t\terror = statusText;\n\t\t\t\tif ( status || !statusText ) {\n\t\t\t\t\tstatusText = \"error\";\n\t\t\t\t\tif ( status < 0 ) {\n\t\t\t\t\t\tstatus = 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Set data for the fake xhr object\n\t\t\tjqXHR.status = status;\n\t\t\tjqXHR.statusText = ( nativeStatusText || statusText ) + \"\";\n\n\t\t\t// Success/Error\n\t\t\tif ( isSuccess ) {\n\t\t\t\tdeferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );\n\t\t\t} else {\n\t\t\t\tdeferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] );\n\t\t\t}\n\n\t\t\t// Status-dependent callbacks\n\t\t\tjqXHR.statusCode( statusCode );\n\t\t\tstatusCode = undefined;\n\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( isSuccess ? \"ajaxSuccess\" : \"ajaxError\",\n\t\t\t\t\t[ jqXHR, s, isSuccess ? success : error ] );\n\t\t\t}\n\n\t\t\t// Complete\n\t\t\tcompleteDeferred.fireWith( callbackContext, [ jqXHR, statusText ] );\n\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( \"ajaxComplete\", [ jqXHR, s ] );\n\t\t\t\t// Handle the global AJAX counter\n\t\t\t\tif ( !( --jQuery.active ) ) {\n\t\t\t\t\tjQuery.event.trigger(\"ajaxStop\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn jqXHR;\n\t},\n\n\tgetJSON: function( url, data, callback ) {\n\t\treturn jQuery.get( url, data, callback, \"json\" );\n\t},\n\n\tgetScript: function( url, callback ) {\n\t\treturn jQuery.get( url, undefined, callback, \"script\" );\n\t}\n});\n\njQuery.each( [ \"get\", \"post\" ], function( i, method ) {\n\tjQuery[ method ] = function( url, data, callback, type ) {\n\t\t// shift arguments if data argument was omitted\n\t\tif ( jQuery.isFunction( data ) ) {\n\t\t\ttype = type || callback;\n\t\t\tcallback = data;\n\t\t\tdata = undefined;\n\t\t}\n\n\t\treturn jQuery.ajax({\n\t\t\turl: url,\n\t\t\ttype: method,\n\t\t\tdataType: type,\n\t\t\tdata: data,\n\t\t\tsuccess: callback\n\t\t});\n\t};\n});\n\n/* Handles responses to an ajax request:\n * - finds the right dataType (mediates between content-type and expected dataType)\n * - returns the corresponding response\n */\nfunction ajaxHandleResponses( s, jqXHR, responses ) {\n\tvar firstDataType, ct, finalDataType, type,\n\t\tcontents = s.contents,\n\t\tdataTypes = s.dataTypes;\n\n\t// Remove auto dataType and get content-type in the process\n\twhile( dataTypes[ 0 ] === \"*\" ) {\n\t\tdataTypes.shift();\n\t\tif ( ct === undefined ) {\n\t\t\tct = s.mimeType || jqXHR.getResponseHeader(\"Content-Type\");\n\t\t}\n\t}\n\n\t// Check if we're dealing with a known content-type\n\tif ( ct ) {\n\t\tfor ( type in contents ) {\n\t\t\tif ( contents[ type ] && contents[ type ].test( ct ) ) {\n\t\t\t\tdataTypes.unshift( type );\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Check to see if we have a response for the expected dataType\n\tif ( dataTypes[ 0 ] in responses ) {\n\t\tfinalDataType = dataTypes[ 0 ];\n\t} else {\n\t\t// Try convertible dataTypes\n\t\tfor ( type in responses ) {\n\t\t\tif ( !dataTypes[ 0 ] || s.converters[ type + \" \" + dataTypes[0] ] ) {\n\t\t\t\tfinalDataType = type;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif ( !firstDataType ) {\n\t\t\t\tfirstDataType = type;\n\t\t\t}\n\t\t}\n\t\t// Or just use first one\n\t\tfinalDataType = finalDataType || firstDataType;\n\t}\n\n\t// If we found a dataType\n\t// We add the dataType to the list if needed\n\t// and return the corresponding response\n\tif ( finalDataType ) {\n\t\tif ( finalDataType !== dataTypes[ 0 ] ) {\n\t\t\tdataTypes.unshift( finalDataType );\n\t\t}\n\t\treturn responses[ finalDataType ];\n\t}\n}\n\n/* Chain conversions given the request and the original response\n * Also sets the responseXXX fields on the jqXHR instance\n */\nfunction ajaxConvert( s, response, jqXHR, isSuccess ) {\n\tvar conv2, current, conv, tmp, prev,\n\t\tconverters = {},\n\t\t// Work with a copy of dataTypes in case we need to modify it for conversion\n\t\tdataTypes = s.dataTypes.slice();\n\n\t// Create converters map with lowercased keys\n\tif ( dataTypes[ 1 ] ) {\n\t\tfor ( conv in s.converters ) {\n\t\t\tconverters[ conv.toLowerCase() ] = s.converters[ conv ];\n\t\t}\n\t}\n\n\tcurrent = dataTypes.shift();\n\n\t// Convert to each sequential dataType\n\twhile ( current ) {\n\n\t\tif ( s.responseFields[ current ] ) {\n\t\t\tjqXHR[ s.responseFields[ current ] ] = response;\n\t\t}\n\n\t\t// Apply the dataFilter if provided\n\t\tif ( !prev && isSuccess && s.dataFilter ) {\n\t\t\tresponse = s.dataFilter( response, s.dataType );\n\t\t}\n\n\t\tprev = current;\n\t\tcurrent = dataTypes.shift();\n\n\t\tif ( current ) {\n\n\t\t\t// There's only work to do if current dataType is non-auto\n\t\t\tif ( current === \"*\" ) {\n\n\t\t\t\tcurrent = prev;\n\n\t\t\t// Convert response if prev dataType is non-auto and differs from current\n\t\t\t} else if ( prev !== \"*\" && prev !== current ) {\n\n\t\t\t\t// Seek a direct converter\n\t\t\t\tconv = converters[ prev + \" \" + current ] || converters[ \"* \" + current ];\n\n\t\t\t\t// If none found, seek a pair\n\t\t\t\tif ( !conv ) {\n\t\t\t\t\tfor ( conv2 in converters ) {\n\n\t\t\t\t\t\t// If conv2 outputs current\n\t\t\t\t\t\ttmp = conv2.split( \" \" );\n\t\t\t\t\t\tif ( tmp[ 1 ] === current ) {\n\n\t\t\t\t\t\t\t// If prev can be converted to accepted input\n\t\t\t\t\t\t\tconv = converters[ prev + \" \" + tmp[ 0 ] ] ||\n\t\t\t\t\t\t\t\tconverters[ \"* \" + tmp[ 0 ] ];\n\t\t\t\t\t\t\tif ( conv ) {\n\t\t\t\t\t\t\t\t// Condense equivalence converters\n\t\t\t\t\t\t\t\tif ( conv === true ) {\n\t\t\t\t\t\t\t\t\tconv = converters[ conv2 ];\n\n\t\t\t\t\t\t\t\t// Otherwise, insert the intermediate dataType\n\t\t\t\t\t\t\t\t} else if ( converters[ conv2 ] !== true ) {\n\t\t\t\t\t\t\t\t\tcurrent = tmp[ 0 ];\n\t\t\t\t\t\t\t\t\tdataTypes.unshift( tmp[ 1 ] );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Apply converter (if not an equivalence)\n\t\t\t\tif ( conv !== true ) {\n\n\t\t\t\t\t// Unless errors are allowed to bubble, catch and return them\n\t\t\t\t\tif ( conv && s[ \"throws\" ] ) {\n\t\t\t\t\t\tresponse = conv( response );\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tresponse = conv( response );\n\t\t\t\t\t\t} catch ( e ) {\n\t\t\t\t\t\t\treturn { state: \"parsererror\", error: conv ? e : \"No conversion from \" + prev + \" to \" + current };\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn { state: \"success\", data: response };\n}\n// Install script dataType\njQuery.ajaxSetup({\n\taccepts: {\n\t\tscript: \"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript\"\n\t},\n\tcontents: {\n\t\tscript: /(?:java|ecma)script/\n\t},\n\tconverters: {\n\t\t\"text script\": function( text ) {\n\t\t\tjQuery.globalEval( text );\n\t\t\treturn text;\n\t\t}\n\t}\n});\n\n// Handle cache's special case and global\njQuery.ajaxPrefilter( \"script\", function( s ) {\n\tif ( s.cache === undefined ) {\n\t\ts.cache = false;\n\t}\n\tif ( s.crossDomain ) {\n\t\ts.type = \"GET\";\n\t\ts.global = false;\n\t}\n});\n\n// Bind script tag hack transport\njQuery.ajaxTransport( \"script\", function(s) {\n\n\t// This transport only deals with cross domain requests\n\tif ( s.crossDomain ) {\n\n\t\tvar script,\n\t\t\thead = document.head || jQuery(\"head\")[0] || document.documentElement;\n\n\t\treturn {\n\n\t\t\tsend: function( _, callback ) {\n\n\t\t\t\tscript = document.createElement(\"script\");\n\n\t\t\t\tscript.async = true;\n\n\t\t\t\tif ( s.scriptCharset ) {\n\t\t\t\t\tscript.charset = s.scriptCharset;\n\t\t\t\t}\n\n\t\t\t\tscript.src = s.url;\n\n\t\t\t\t// Attach handlers for all browsers\n\t\t\t\tscript.onload = script.onreadystatechange = function( _, isAbort ) {\n\n\t\t\t\t\tif ( isAbort || !script.readyState || /loaded|complete/.test( script.readyState ) ) {\n\n\t\t\t\t\t\t// Handle memory leak in IE\n\t\t\t\t\t\tscript.onload = script.onreadystatechange = null;\n\n\t\t\t\t\t\t// Remove the script\n\t\t\t\t\t\tif ( script.parentNode ) {\n\t\t\t\t\t\t\tscript.parentNode.removeChild( script );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Dereference the script\n\t\t\t\t\t\tscript = null;\n\n\t\t\t\t\t\t// Callback if not abort\n\t\t\t\t\t\tif ( !isAbort ) {\n\t\t\t\t\t\t\tcallback( 200, \"success\" );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t};\n\n\t\t\t\t// Circumvent IE6 bugs with base elements (#2709 and #4378) by prepending\n\t\t\t\t// Use native DOM manipulation to avoid our domManip AJAX trickery\n\t\t\t\thead.insertBefore( script, head.firstChild );\n\t\t\t},\n\n\t\t\tabort: function() {\n\t\t\t\tif ( script ) {\n\t\t\t\t\tscript.onload( undefined, true );\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}\n});\nvar oldCallbacks = [],\n\trjsonp = /(=)\\?(?=&|$)|\\?\\?/;\n\n// Default jsonp settings\njQuery.ajaxSetup({\n\tjsonp: \"callback\",\n\tjsonpCallback: function() {\n\t\tvar callback = oldCallbacks.pop() || ( jQuery.expando + \"_\" + ( ajax_nonce++ ) );\n\t\tthis[ callback ] = true;\n\t\treturn callback;\n\t}\n});\n\n// Detect, normalize options and install callbacks for jsonp requests\njQuery.ajaxPrefilter( \"json jsonp\", function( s, originalSettings, jqXHR ) {\n\n\tvar callbackName, overwritten, responseContainer,\n\t\tjsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ?\n\t\t\t\"url\" :\n\t\t\ttypeof s.data === \"string\" && !( s.contentType || \"\" ).indexOf(\"application/x-www-form-urlencoded\") && rjsonp.test( s.data ) && \"data\"\n\t\t);\n\n\t// Handle iff the expected data type is \"jsonp\" or we have a parameter to set\n\tif ( jsonProp || s.dataTypes[ 0 ] === \"jsonp\" ) {\n\n\t\t// Get callback name, remembering preexisting value associated with it\n\t\tcallbackName = s.jsonpCallback = jQuery.isFunction( s.jsonpCallback ) ?\n\t\t\ts.jsonpCallback() :\n\t\t\ts.jsonpCallback;\n\n\t\t// Insert callback into url or form data\n\t\tif ( jsonProp ) {\n\t\t\ts[ jsonProp ] = s[ jsonProp ].replace( rjsonp, \"$1\" + callbackName );\n\t\t} else if ( s.jsonp !== false ) {\n\t\t\ts.url += ( ajax_rquery.test( s.url ) ? \"&\" : \"?\" ) + s.jsonp + \"=\" + callbackName;\n\t\t}\n\n\t\t// Use data converter to retrieve json after script execution\n\t\ts.converters[\"script json\"] = function() {\n\t\t\tif ( !responseContainer ) {\n\t\t\t\tjQuery.error( callbackName + \" was not called\" );\n\t\t\t}\n\t\t\treturn responseContainer[ 0 ];\n\t\t};\n\n\t\t// force json dataType\n\t\ts.dataTypes[ 0 ] = \"json\";\n\n\t\t// Install callback\n\t\toverwritten = window[ callbackName ];\n\t\twindow[ callbackName ] = function() {\n\t\t\tresponseContainer = arguments;\n\t\t};\n\n\t\t// Clean-up function (fires after converters)\n\t\tjqXHR.always(function() {\n\t\t\t// Restore preexisting value\n\t\t\twindow[ callbackName ] = overwritten;\n\n\t\t\t// Save back as free\n\t\t\tif ( s[ callbackName ] ) {\n\t\t\t\t// make sure that re-using the options doesn't screw things around\n\t\t\t\ts.jsonpCallback = originalSettings.jsonpCallback;\n\n\t\t\t\t// save the callback name for future use\n\t\t\t\toldCallbacks.push( callbackName );\n\t\t\t}\n\n\t\t\t// Call if it was a function and we have a response\n\t\t\tif ( responseContainer && jQuery.isFunction( overwritten ) ) {\n\t\t\t\toverwritten( responseContainer[ 0 ] );\n\t\t\t}\n\n\t\t\tresponseContainer = overwritten = undefined;\n\t\t});\n\n\t\t// Delegate to script\n\t\treturn \"script\";\n\t}\n});\nvar xhrCallbacks, xhrSupported,\n\txhrId = 0,\n\t// #5280: Internet Explorer will keep connections alive if we don't abort on unload\n\txhrOnUnloadAbort = window.ActiveXObject && function() {\n\t\t// Abort all pending requests\n\t\tvar key;\n\t\tfor ( key in xhrCallbacks ) {\n\t\t\txhrCallbacks[ key ]( undefined, true );\n\t\t}\n\t};\n\n// Functions to create xhrs\nfunction createStandardXHR() {\n\ttry {\n\t\treturn new window.XMLHttpRequest();\n\t} catch( e ) {}\n}\n\nfunction createActiveXHR() {\n\ttry {\n\t\treturn new window.ActiveXObject(\"Microsoft.XMLHTTP\");\n\t} catch( e ) {}\n}\n\n// Create the request object\n// (This is still attached to ajaxSettings for backward compatibility)\njQuery.ajaxSettings.xhr = window.ActiveXObject ?\n\t/* Microsoft failed to properly\n\t * implement the XMLHttpRequest in IE7 (can't request local files),\n\t * so we use the ActiveXObject when it is available\n\t * Additionally XMLHttpRequest can be disabled in IE7/IE8 so\n\t * we need a fallback.\n\t */\n\tfunction() {\n\t\treturn !this.isLocal && createStandardXHR() || createActiveXHR();\n\t} :\n\t// For all other browsers, use the standard XMLHttpRequest object\n\tcreateStandardXHR;\n\n// Determine support properties\nxhrSupported = jQuery.ajaxSettings.xhr();\njQuery.support.cors = !!xhrSupported && ( \"withCredentials\" in xhrSupported );\nxhrSupported = jQuery.support.ajax = !!xhrSupported;\n\n// Create transport if the browser can provide an xhr\nif ( xhrSupported ) {\n\n\tjQuery.ajaxTransport(function( s ) {\n\t\t// Cross domain only allowed if supported through XMLHttpRequest\n\t\tif ( !s.crossDomain || jQuery.support.cors ) {\n\n\t\t\tvar callback;\n\n\t\t\treturn {\n\t\t\t\tsend: function( headers, complete ) {\n\n\t\t\t\t\t// Get a new xhr\n\t\t\t\t\tvar handle, i,\n\t\t\t\t\t\txhr = s.xhr();\n\n\t\t\t\t\t// Open the socket\n\t\t\t\t\t// Passing null username, generates a login popup on Opera (#2865)\n\t\t\t\t\tif ( s.username ) {\n\t\t\t\t\t\txhr.open( s.type, s.url, s.async, s.username, s.password );\n\t\t\t\t\t} else {\n\t\t\t\t\t\txhr.open( s.type, s.url, s.async );\n\t\t\t\t\t}\n\n\t\t\t\t\t// Apply custom fields if provided\n\t\t\t\t\tif ( s.xhrFields ) {\n\t\t\t\t\t\tfor ( i in s.xhrFields ) {\n\t\t\t\t\t\t\txhr[ i ] = s.xhrFields[ i ];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Override mime type if needed\n\t\t\t\t\tif ( s.mimeType && xhr.overrideMimeType ) {\n\t\t\t\t\t\txhr.overrideMimeType( s.mimeType );\n\t\t\t\t\t}\n\n\t\t\t\t\t// X-Requested-With header\n\t\t\t\t\t// For cross-domain requests, seeing as conditions for a preflight are\n\t\t\t\t\t// akin to a jigsaw puzzle, we simply never set it to be sure.\n\t\t\t\t\t// (it can always be set on a per-request basis or even using ajaxSetup)\n\t\t\t\t\t// For same-domain requests, won't change header if already provided.\n\t\t\t\t\tif ( !s.crossDomain && !headers[\"X-Requested-With\"] ) {\n\t\t\t\t\t\theaders[\"X-Requested-With\"] = \"XMLHttpRequest\";\n\t\t\t\t\t}\n\n\t\t\t\t\t// Need an extra try/catch for cross domain requests in Firefox 3\n\t\t\t\t\ttry {\n\t\t\t\t\t\tfor ( i in headers ) {\n\t\t\t\t\t\t\txhr.setRequestHeader( i, headers[ i ] );\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch( err ) {}\n\n\t\t\t\t\t// Do send the request\n\t\t\t\t\t// This may raise an exception which is actually\n\t\t\t\t\t// handled in jQuery.ajax (so no try/catch here)\n\t\t\t\t\txhr.send( ( s.hasContent && s.data ) || null );\n\n\t\t\t\t\t// Listener\n\t\t\t\t\tcallback = function( _, isAbort ) {\n\t\t\t\t\t\tvar status, responseHeaders, statusText, responses;\n\n\t\t\t\t\t\t// Firefox throws exceptions when accessing properties\n\t\t\t\t\t\t// of an xhr when a network error occurred\n\t\t\t\t\t\t// http://helpful.knobs-dials.com/index.php/Component_returned_failure_code:_0x80040111_(NS_ERROR_NOT_AVAILABLE)\n\t\t\t\t\t\ttry {\n\n\t\t\t\t\t\t\t// Was never called and is aborted or complete\n\t\t\t\t\t\t\tif ( callback && ( isAbort || xhr.readyState === 4 ) ) {\n\n\t\t\t\t\t\t\t\t// Only called once\n\t\t\t\t\t\t\t\tcallback = undefined;\n\n\t\t\t\t\t\t\t\t// Do not keep as active anymore\n\t\t\t\t\t\t\t\tif ( handle ) {\n\t\t\t\t\t\t\t\t\txhr.onreadystatechange = jQuery.noop;\n\t\t\t\t\t\t\t\t\tif ( xhrOnUnloadAbort ) {\n\t\t\t\t\t\t\t\t\t\tdelete xhrCallbacks[ handle ];\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// If it's an abort\n\t\t\t\t\t\t\t\tif ( isAbort ) {\n\t\t\t\t\t\t\t\t\t// Abort it manually if needed\n\t\t\t\t\t\t\t\t\tif ( xhr.readyState !== 4 ) {\n\t\t\t\t\t\t\t\t\t\txhr.abort();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tresponses = {};\n\t\t\t\t\t\t\t\t\tstatus = xhr.status;\n\t\t\t\t\t\t\t\t\tresponseHeaders = xhr.getAllResponseHeaders();\n\n\t\t\t\t\t\t\t\t\t// When requesting binary data, IE6-9 will throw an exception\n\t\t\t\t\t\t\t\t\t// on any attempt to access responseText (#11426)\n\t\t\t\t\t\t\t\t\tif ( typeof xhr.responseText === \"string\" ) {\n\t\t\t\t\t\t\t\t\t\tresponses.text = xhr.responseText;\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t// Firefox throws an exception when accessing\n\t\t\t\t\t\t\t\t\t// statusText for faulty cross-domain requests\n\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\tstatusText = xhr.statusText;\n\t\t\t\t\t\t\t\t\t} catch( e ) {\n\t\t\t\t\t\t\t\t\t\t// We normalize with Webkit giving an empty statusText\n\t\t\t\t\t\t\t\t\t\tstatusText = \"\";\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t// Filter status for non standard behaviors\n\n\t\t\t\t\t\t\t\t\t// If the request is local and we have data: assume a success\n\t\t\t\t\t\t\t\t\t// (success with no data won't get notified, that's the best we\n\t\t\t\t\t\t\t\t\t// can do given current implementations)\n\t\t\t\t\t\t\t\t\tif ( !status && s.isLocal && !s.crossDomain ) {\n\t\t\t\t\t\t\t\t\t\tstatus = responses.text ? 200 : 404;\n\t\t\t\t\t\t\t\t\t// IE - #1450: sometimes returns 1223 when it should be 204\n\t\t\t\t\t\t\t\t\t} else if ( status === 1223 ) {\n\t\t\t\t\t\t\t\t\t\tstatus = 204;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} catch( firefoxAccessException ) {\n\t\t\t\t\t\t\tif ( !isAbort ) {\n\t\t\t\t\t\t\t\tcomplete( -1, firefoxAccessException );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Call complete if needed\n\t\t\t\t\t\tif ( responses ) {\n\t\t\t\t\t\t\tcomplete( status, statusText, responses, responseHeaders );\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\n\t\t\t\t\tif ( !s.async ) {\n\t\t\t\t\t\t// if we're in sync mode we fire the callback\n\t\t\t\t\t\tcallback();\n\t\t\t\t\t} else if ( xhr.readyState === 4 ) {\n\t\t\t\t\t\t// (IE6 & IE7) if it's in cache and has been\n\t\t\t\t\t\t// retrieved directly we need to fire the callback\n\t\t\t\t\t\tsetTimeout( callback );\n\t\t\t\t\t} else {\n\t\t\t\t\t\thandle = ++xhrId;\n\t\t\t\t\t\tif ( xhrOnUnloadAbort ) {\n\t\t\t\t\t\t\t// Create the active xhrs callbacks list if needed\n\t\t\t\t\t\t\t// and attach the unload handler\n\t\t\t\t\t\t\tif ( !xhrCallbacks ) {\n\t\t\t\t\t\t\t\txhrCallbacks = {};\n\t\t\t\t\t\t\t\tjQuery( window ).unload( xhrOnUnloadAbort );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// Add to list of active xhrs callbacks\n\t\t\t\t\t\t\txhrCallbacks[ handle ] = callback;\n\t\t\t\t\t\t}\n\t\t\t\t\t\txhr.onreadystatechange = callback;\n\t\t\t\t\t}\n\t\t\t\t},\n\n\t\t\t\tabort: function() {\n\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\tcallback( undefined, true );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t});\n}\nvar fxNow, timerId,\n\trfxtypes = /^(?:toggle|show|hide)$/,\n\trfxnum = new RegExp( \"^(?:([+-])=|)(\" + core_pnum + \")([a-z%]*)$\", \"i\" ),\n\trrun = /queueHooks$/,\n\tanimationPrefilters = [ defaultPrefilter ],\n\ttweeners = {\n\t\t\"*\": [function( prop, value ) {\n\t\t\tvar tween = this.createTween( prop, value ),\n\t\t\t\ttarget = tween.cur(),\n\t\t\t\tparts = rfxnum.exec( value ),\n\t\t\t\tunit = parts && parts[ 3 ] || ( jQuery.cssNumber[ prop ] ? \"\" : \"px\" ),\n\n\t\t\t\t// Starting value computation is required for potential unit mismatches\n\t\t\t\tstart = ( jQuery.cssNumber[ prop ] || unit !== \"px\" && +target ) &&\n\t\t\t\t\trfxnum.exec( jQuery.css( tween.elem, prop ) ),\n\t\t\t\tscale = 1,\n\t\t\t\tmaxIterations = 20;\n\n\t\t\tif ( start && start[ 3 ] !== unit ) {\n\t\t\t\t// Trust units reported by jQuery.css\n\t\t\t\tunit = unit || start[ 3 ];\n\n\t\t\t\t// Make sure we update the tween properties later on\n\t\t\t\tparts = parts || [];\n\n\t\t\t\t// Iteratively approximate from a nonzero starting point\n\t\t\t\tstart = +target || 1;\n\n\t\t\t\tdo {\n\t\t\t\t\t// If previous iteration zeroed out, double until we get *something*\n\t\t\t\t\t// Use a string for doubling factor so we don't accidentally see scale as unchanged below\n\t\t\t\t\tscale = scale || \".5\";\n\n\t\t\t\t\t// Adjust and apply\n\t\t\t\t\tstart = start / scale;\n\t\t\t\t\tjQuery.style( tween.elem, prop, start + unit );\n\n\t\t\t\t// Update scale, tolerating zero or NaN from tween.cur()\n\t\t\t\t// And breaking the loop if scale is unchanged or perfect, or if we've just had enough\n\t\t\t\t} while ( scale !== (scale = tween.cur() / target) && scale !== 1 && --maxIterations );\n\t\t\t}\n\n\t\t\t// Update tween properties\n\t\t\tif ( parts ) {\n\t\t\t\tstart = tween.start = +start || +target || 0;\n\t\t\t\ttween.unit = unit;\n\t\t\t\t// If a +=/-= token was provided, we're doing a relative animation\n\t\t\t\ttween.end = parts[ 1 ] ?\n\t\t\t\t\tstart + ( parts[ 1 ] + 1 ) * parts[ 2 ] :\n\t\t\t\t\t+parts[ 2 ];\n\t\t\t}\n\n\t\t\treturn tween;\n\t\t}]\n\t};\n\n// Animations created synchronously will run synchronously\nfunction createFxNow() {\n\tsetTimeout(function() {\n\t\tfxNow = undefined;\n\t});\n\treturn ( fxNow = jQuery.now() );\n}\n\nfunction createTween( value, prop, animation ) {\n\tvar tween,\n\t\tcollection = ( tweeners[ prop ] || [] ).concat( tweeners[ \"*\" ] ),\n\t\tindex = 0,\n\t\tlength = collection.length;\n\tfor ( ; index < length; index++ ) {\n\t\tif ( (tween = collection[ index ].call( animation, prop, value )) ) {\n\n\t\t\t// we're done with this property\n\t\t\treturn tween;\n\t\t}\n\t}\n}\n\nfunction Animation( elem, properties, options ) {\n\tvar result,\n\t\tstopped,\n\t\tindex = 0,\n\t\tlength = animationPrefilters.length,\n\t\tdeferred = jQuery.Deferred().always( function() {\n\t\t\t// don't match elem in the :animated selector\n\t\t\tdelete tick.elem;\n\t\t}),\n\t\ttick = function() {\n\t\t\tif ( stopped ) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tvar currentTime = fxNow || createFxNow(),\n\t\t\t\tremaining = Math.max( 0, animation.startTime + animation.duration - currentTime ),\n\t\t\t\t// archaic crash bug won't allow us to use 1 - ( 0.5 || 0 ) (#12497)\n\t\t\t\ttemp = remaining / animation.duration || 0,\n\t\t\t\tpercent = 1 - temp,\n\t\t\t\tindex = 0,\n\t\t\t\tlength = animation.tweens.length;\n\n\t\t\tfor ( ; index < length ; index++ ) {\n\t\t\t\tanimation.tweens[ index ].run( percent );\n\t\t\t}\n\n\t\t\tdeferred.notifyWith( elem, [ animation, percent, remaining ]);\n\n\t\t\tif ( percent < 1 && length ) {\n\t\t\t\treturn remaining;\n\t\t\t} else {\n\t\t\t\tdeferred.resolveWith( elem, [ animation ] );\n\t\t\t\treturn false;\n\t\t\t}\n\t\t},\n\t\tanimation = deferred.promise({\n\t\t\telem: elem,\n\t\t\tprops: jQuery.extend( {}, properties ),\n\t\t\topts: jQuery.extend( true, { specialEasing: {} }, options ),\n\t\t\toriginalProperties: properties,\n\t\t\toriginalOptions: options,\n\t\t\tstartTime: fxNow || createFxNow(),\n\t\t\tduration: options.duration,\n\t\t\ttweens: [],\n\t\t\tcreateTween: function( prop, end ) {\n\t\t\t\tvar tween = jQuery.Tween( elem, animation.opts, prop, end,\n\t\t\t\t\t\tanimation.opts.specialEasing[ prop ] || animation.opts.easing );\n\t\t\t\tanimation.tweens.push( tween );\n\t\t\t\treturn tween;\n\t\t\t},\n\t\t\tstop: function( gotoEnd ) {\n\t\t\t\tvar index = 0,\n\t\t\t\t\t// if we are going to the end, we want to run all the tweens\n\t\t\t\t\t// otherwise we skip this part\n\t\t\t\t\tlength = gotoEnd ? animation.tweens.length : 0;\n\t\t\t\tif ( stopped ) {\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t\tstopped = true;\n\t\t\t\tfor ( ; index < length ; index++ ) {\n\t\t\t\t\tanimation.tweens[ index ].run( 1 );\n\t\t\t\t}\n\n\t\t\t\t// resolve when we played the last frame\n\t\t\t\t// otherwise, reject\n\t\t\t\tif ( gotoEnd ) {\n\t\t\t\t\tdeferred.resolveWith( elem, [ animation, gotoEnd ] );\n\t\t\t\t} else {\n\t\t\t\t\tdeferred.rejectWith( elem, [ animation, gotoEnd ] );\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t}\n\t\t}),\n\t\tprops = animation.props;\n\n\tpropFilter( props, animation.opts.specialEasing );\n\n\tfor ( ; index < length ; index++ ) {\n\t\tresult = animationPrefilters[ index ].call( animation, elem, props, animation.opts );\n\t\tif ( result ) {\n\t\t\treturn result;\n\t\t}\n\t}\n\n\tjQuery.map( props, createTween, animation );\n\n\tif ( jQuery.isFunction( animation.opts.start ) ) {\n\t\tanimation.opts.start.call( elem, animation );\n\t}\n\n\tjQuery.fx.timer(\n\t\tjQuery.extend( tick, {\n\t\t\telem: elem,\n\t\t\tanim: animation,\n\t\t\tqueue: animation.opts.queue\n\t\t})\n\t);\n\n\t// attach callbacks from options\n\treturn animation.progress( animation.opts.progress )\n\t\t.done( animation.opts.done, animation.opts.complete )\n\t\t.fail( animation.opts.fail )\n\t\t.always( animation.opts.always );\n}\n\nfunction propFilter( props, specialEasing ) {\n\tvar index, name, easing, value, hooks;\n\n\t// camelCase, specialEasing and expand cssHook pass\n\tfor ( index in props ) {\n\t\tname = jQuery.camelCase( index );\n\t\teasing = specialEasing[ name ];\n\t\tvalue = props[ index ];\n\t\tif ( jQuery.isArray( value ) ) {\n\t\t\teasing = value[ 1 ];\n\t\t\tvalue = props[ index ] = value[ 0 ];\n\t\t}\n\n\t\tif ( index !== name ) {\n\t\t\tprops[ name ] = value;\n\t\t\tdelete props[ index ];\n\t\t}\n\n\t\thooks = jQuery.cssHooks[ name ];\n\t\tif ( hooks && \"expand\" in hooks ) {\n\t\t\tvalue = hooks.expand( value );\n\t\t\tdelete props[ name ];\n\n\t\t\t// not quite $.extend, this wont overwrite keys already present.\n\t\t\t// also - reusing 'index' from above because we have the correct \"name\"\n\t\t\tfor ( index in value ) {\n\t\t\t\tif ( !( index in props ) ) {\n\t\t\t\t\tprops[ index ] = value[ index ];\n\t\t\t\t\tspecialEasing[ index ] = easing;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tspecialEasing[ name ] = easing;\n\t\t}\n\t}\n}\n\njQuery.Animation = jQuery.extend( Animation, {\n\n\ttweener: function( props, callback ) {\n\t\tif ( jQuery.isFunction( props ) ) {\n\t\t\tcallback = props;\n\t\t\tprops = [ \"*\" ];\n\t\t} else {\n\t\t\tprops = props.split(\" \");\n\t\t}\n\n\t\tvar prop,\n\t\t\tindex = 0,\n\t\t\tlength = props.length;\n\n\t\tfor ( ; index < length ; index++ ) {\n\t\t\tprop = props[ index ];\n\t\t\ttweeners[ prop ] = tweeners[ prop ] || [];\n\t\t\ttweeners[ prop ].unshift( callback );\n\t\t}\n\t},\n\n\tprefilter: function( callback, prepend ) {\n\t\tif ( prepend ) {\n\t\t\tanimationPrefilters.unshift( callback );\n\t\t} else {\n\t\t\tanimationPrefilters.push( callback );\n\t\t}\n\t}\n});\n\nfunction defaultPrefilter( elem, props, opts ) {\n\t/* jshint validthis: true */\n\tvar prop, value, toggle, tween, hooks, oldfire,\n\t\tanim = this,\n\t\torig = {},\n\t\tstyle = elem.style,\n\t\thidden = elem.nodeType && isHidden( elem ),\n\t\tdataShow = jQuery._data( elem, \"fxshow\" );\n\n\t// handle queue: false promises\n\tif ( !opts.queue ) {\n\t\thooks = jQuery._queueHooks( elem, \"fx\" );\n\t\tif ( hooks.unqueued == null ) {\n\t\t\thooks.unqueued = 0;\n\t\t\toldfire = hooks.empty.fire;\n\t\t\thooks.empty.fire = function() {\n\t\t\t\tif ( !hooks.unqueued ) {\n\t\t\t\t\toldfire();\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t\thooks.unqueued++;\n\n\t\tanim.always(function() {\n\t\t\t// doing this makes sure that the complete handler will be called\n\t\t\t// before this completes\n\t\t\tanim.always(function() {\n\t\t\t\thooks.unqueued--;\n\t\t\t\tif ( !jQuery.queue( elem, \"fx\" ).length ) {\n\t\t\t\t\thooks.empty.fire();\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n\n\t// height/width overflow pass\n\tif ( elem.nodeType === 1 && ( \"height\" in props || \"width\" in props ) ) {\n\t\t// Make sure that nothing sneaks out\n\t\t// Record all 3 overflow attributes because IE does not\n\t\t// change the overflow attribute when overflowX and\n\t\t// overflowY are set to the same value\n\t\topts.overflow = [ style.overflow, style.overflowX, style.overflowY ];\n\n\t\t// Set display property to inline-block for height/width\n\t\t// animations on inline elements that are having width/height animated\n\t\tif ( jQuery.css( elem, \"display\" ) === \"inline\" &&\n\t\t\t\tjQuery.css( elem, \"float\" ) === \"none\" ) {\n\n\t\t\t// inline-level elements accept inline-block;\n\t\t\t// block-level elements need to be inline with layout\n\t\t\tif ( !jQuery.support.inlineBlockNeedsLayout || css_defaultDisplay( elem.nodeName ) === \"inline\" ) {\n\t\t\t\tstyle.display = \"inline-block\";\n\n\t\t\t} else {\n\t\t\t\tstyle.zoom = 1;\n\t\t\t}\n\t\t}\n\t}\n\n\tif ( opts.overflow ) {\n\t\tstyle.overflow = \"hidden\";\n\t\tif ( !jQuery.support.shrinkWrapBlocks ) {\n\t\t\tanim.always(function() {\n\t\t\t\tstyle.overflow = opts.overflow[ 0 ];\n\t\t\t\tstyle.overflowX = opts.overflow[ 1 ];\n\t\t\t\tstyle.overflowY = opts.overflow[ 2 ];\n\t\t\t});\n\t\t}\n\t}\n\n\n\t// show/hide pass\n\tfor ( prop in props ) {\n\t\tvalue = props[ prop ];\n\t\tif ( rfxtypes.exec( value ) ) {\n\t\t\tdelete props[ prop ];\n\t\t\ttoggle = toggle || value === \"toggle\";\n\t\t\tif ( value === ( hidden ? \"hide\" : \"show\" ) ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\torig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop );\n\t\t}\n\t}\n\n\tif ( !jQuery.isEmptyObject( orig ) ) {\n\t\tif ( dataShow ) {\n\t\t\tif ( \"hidden\" in dataShow ) {\n\t\t\t\thidden = dataShow.hidden;\n\t\t\t}\n\t\t} else {\n\t\t\tdataShow = jQuery._data( elem, \"fxshow\", {} );\n\t\t}\n\n\t\t// store state if its toggle - enables .stop().toggle() to \"reverse\"\n\t\tif ( toggle ) {\n\t\t\tdataShow.hidden = !hidden;\n\t\t}\n\t\tif ( hidden ) {\n\t\t\tjQuery( elem ).show();\n\t\t} else {\n\t\t\tanim.done(function() {\n\t\t\t\tjQuery( elem ).hide();\n\t\t\t});\n\t\t}\n\t\tanim.done(function() {\n\t\t\tvar prop;\n\t\t\tjQuery._removeData( elem, \"fxshow\" );\n\t\t\tfor ( prop in orig ) {\n\t\t\t\tjQuery.style( elem, prop, orig[ prop ] );\n\t\t\t}\n\t\t});\n\t\tfor ( prop in orig ) {\n\t\t\ttween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim );\n\n\t\t\tif ( !( prop in dataShow ) ) {\n\t\t\t\tdataShow[ prop ] = tween.start;\n\t\t\t\tif ( hidden ) {\n\t\t\t\t\ttween.end = tween.start;\n\t\t\t\t\ttween.start = prop === \"width\" || prop === \"height\" ? 1 : 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\nfunction Tween( elem, options, prop, end, easing ) {\n\treturn new Tween.prototype.init( elem, options, prop, end, easing );\n}\njQuery.Tween = Tween;\n\nTween.prototype = {\n\tconstructor: Tween,\n\tinit: function( elem, options, prop, end, easing, unit ) {\n\t\tthis.elem = elem;\n\t\tthis.prop = prop;\n\t\tthis.easing = easing || \"swing\";\n\t\tthis.options = options;\n\t\tthis.start = this.now = this.cur();\n\t\tthis.end = end;\n\t\tthis.unit = unit || ( jQuery.cssNumber[ prop ] ? \"\" : \"px\" );\n\t},\n\tcur: function() {\n\t\tvar hooks = Tween.propHooks[ this.prop ];\n\n\t\treturn hooks && hooks.get ?\n\t\t\thooks.get( this ) :\n\t\t\tTween.propHooks._default.get( this );\n\t},\n\trun: function( percent ) {\n\t\tvar eased,\n\t\t\thooks = Tween.propHooks[ this.prop ];\n\n\t\tif ( this.options.duration ) {\n\t\t\tthis.pos = eased = jQuery.easing[ this.easing ](\n\t\t\t\tpercent, this.options.duration * percent, 0, 1, this.options.duration\n\t\t\t);\n\t\t} else {\n\t\t\tthis.pos = eased = percent;\n\t\t}\n\t\tthis.now = ( this.end - this.start ) * eased + this.start;\n\n\t\tif ( this.options.step ) {\n\t\t\tthis.options.step.call( this.elem, this.now, this );\n\t\t}\n\n\t\tif ( hooks && hooks.set ) {\n\t\t\thooks.set( this );\n\t\t} else {\n\t\t\tTween.propHooks._default.set( this );\n\t\t}\n\t\treturn this;\n\t}\n};\n\nTween.prototype.init.prototype = Tween.prototype;\n\nTween.propHooks = {\n\t_default: {\n\t\tget: function( tween ) {\n\t\t\tvar result;\n\n\t\t\tif ( tween.elem[ tween.prop ] != null &&\n\t\t\t\t(!tween.elem.style || tween.elem.style[ tween.prop ] == null) ) {\n\t\t\t\treturn tween.elem[ tween.prop ];\n\t\t\t}\n\n\t\t\t// passing an empty string as a 3rd parameter to .css will automatically\n\t\t\t// attempt a parseFloat and fallback to a string if the parse fails\n\t\t\t// so, simple values such as \"10px\" are parsed to Float.\n\t\t\t// complex values such as \"rotate(1rad)\" are returned as is.\n\t\t\tresult = jQuery.css( tween.elem, tween.prop, \"\" );\n\t\t\t// Empty strings, null, undefined and \"auto\" are converted to 0.\n\t\t\treturn !result || result === \"auto\" ? 0 : result;\n\t\t},\n\t\tset: function( tween ) {\n\t\t\t// use step hook for back compat - use cssHook if its there - use .style if its\n\t\t\t// available and use plain properties where available\n\t\t\tif ( jQuery.fx.step[ tween.prop ] ) {\n\t\t\t\tjQuery.fx.step[ tween.prop ]( tween );\n\t\t\t} else if ( tween.elem.style && ( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null || jQuery.cssHooks[ tween.prop ] ) ) {\n\t\t\t\tjQuery.style( tween.elem, tween.prop, tween.now + tween.unit );\n\t\t\t} else {\n\t\t\t\ttween.elem[ tween.prop ] = tween.now;\n\t\t\t}\n\t\t}\n\t}\n};\n\n// Support: IE <=9\n// Panic based approach to setting things on disconnected nodes\n\nTween.propHooks.scrollTop = Tween.propHooks.scrollLeft = {\n\tset: function( tween ) {\n\t\tif ( tween.elem.nodeType && tween.elem.parentNode ) {\n\t\t\ttween.elem[ tween.prop ] = tween.now;\n\t\t}\n\t}\n};\n\njQuery.each([ \"toggle\", \"show\", \"hide\" ], function( i, name ) {\n\tvar cssFn = jQuery.fn[ name ];\n\tjQuery.fn[ name ] = function( speed, easing, callback ) {\n\t\treturn speed == null || typeof speed === \"boolean\" ?\n\t\t\tcssFn.apply( this, arguments ) :\n\t\t\tthis.animate( genFx( name, true ), speed, easing, callback );\n\t};\n});\n\njQuery.fn.extend({\n\tfadeTo: function( speed, to, easing, callback ) {\n\n\t\t// show any hidden elements after setting opacity to 0\n\t\treturn this.filter( isHidden ).css( \"opacity\", 0 ).show()\n\n\t\t\t// animate to the value specified\n\t\t\t.end().animate({ opacity: to }, speed, easing, callback );\n\t},\n\tanimate: function( prop, speed, easing, callback ) {\n\t\tvar empty = jQuery.isEmptyObject( prop ),\n\t\t\toptall = jQuery.speed( speed, easing, callback ),\n\t\t\tdoAnimation = function() {\n\t\t\t\t// Operate on a copy of prop so per-property easing won't be lost\n\t\t\t\tvar anim = Animation( this, jQuery.extend( {}, prop ), optall );\n\n\t\t\t\t// Empty animations, or finishing resolves immediately\n\t\t\t\tif ( empty || jQuery._data( this, \"finish\" ) ) {\n\t\t\t\t\tanim.stop( true );\n\t\t\t\t}\n\t\t\t};\n\t\t\tdoAnimation.finish = doAnimation;\n\n\t\treturn empty || optall.queue === false ?\n\t\t\tthis.each( doAnimation ) :\n\t\t\tthis.queue( optall.queue, doAnimation );\n\t},\n\tstop: function( type, clearQueue, gotoEnd ) {\n\t\tvar stopQueue = function( hooks ) {\n\t\t\tvar stop = hooks.stop;\n\t\t\tdelete hooks.stop;\n\t\t\tstop( gotoEnd );\n\t\t};\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tgotoEnd = clearQueue;\n\t\t\tclearQueue = type;\n\t\t\ttype = undefined;\n\t\t}\n\t\tif ( clearQueue && type !== false ) {\n\t\t\tthis.queue( type || \"fx\", [] );\n\t\t}\n\n\t\treturn this.each(function() {\n\t\t\tvar dequeue = true,\n\t\t\t\tindex = type != null && type + \"queueHooks\",\n\t\t\t\ttimers = jQuery.timers,\n\t\t\t\tdata = jQuery._data( this );\n\n\t\t\tif ( index ) {\n\t\t\t\tif ( data[ index ] && data[ index ].stop ) {\n\t\t\t\t\tstopQueue( data[ index ] );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor ( index in data ) {\n\t\t\t\t\tif ( data[ index ] && data[ index ].stop && rrun.test( index ) ) {\n\t\t\t\t\t\tstopQueue( data[ index ] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor ( index = timers.length; index--; ) {\n\t\t\t\tif ( timers[ index ].elem === this && (type == null || timers[ index ].queue === type) ) {\n\t\t\t\t\ttimers[ index ].anim.stop( gotoEnd );\n\t\t\t\t\tdequeue = false;\n\t\t\t\t\ttimers.splice( index, 1 );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// start the next in the queue if the last step wasn't forced\n\t\t\t// timers currently will call their complete callbacks, which will dequeue\n\t\t\t// but only if they were gotoEnd\n\t\t\tif ( dequeue || !gotoEnd ) {\n\t\t\t\tjQuery.dequeue( this, type );\n\t\t\t}\n\t\t});\n\t},\n\tfinish: function( type ) {\n\t\tif ( type !== false ) {\n\t\t\ttype = type || \"fx\";\n\t\t}\n\t\treturn this.each(function() {\n\t\t\tvar index,\n\t\t\t\tdata = jQuery._data( this ),\n\t\t\t\tqueue = data[ type + \"queue\" ],\n\t\t\t\thooks = data[ type + \"queueHooks\" ],\n\t\t\t\ttimers = jQuery.timers,\n\t\t\t\tlength = queue ? queue.length : 0;\n\n\t\t\t// enable finishing flag on private data\n\t\t\tdata.finish = true;\n\n\t\t\t// empty the queue first\n\t\t\tjQuery.queue( this, type, [] );\n\n\t\t\tif ( hooks && hooks.stop ) {\n\t\t\t\thooks.stop.call( this, true );\n\t\t\t}\n\n\t\t\t// look for any active animations, and finish them\n\t\t\tfor ( index = timers.length; index--; ) {\n\t\t\t\tif ( timers[ index ].elem === this && timers[ index ].queue === type ) {\n\t\t\t\t\ttimers[ index ].anim.stop( true );\n\t\t\t\t\ttimers.splice( index, 1 );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// look for any animations in the old queue and finish them\n\t\t\tfor ( index = 0; index < length; index++ ) {\n\t\t\t\tif ( queue[ index ] && queue[ index ].finish ) {\n\t\t\t\t\tqueue[ index ].finish.call( this );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// turn off finishing flag\n\t\t\tdelete data.finish;\n\t\t});\n\t}\n});\n\n// Generate parameters to create a standard animation\nfunction genFx( type, includeWidth ) {\n\tvar which,\n\t\tattrs = { height: type },\n\t\ti = 0;\n\n\t// if we include width, step value is 1 to do all cssExpand values,\n\t// if we don't include width, step value is 2 to skip over Left and Right\n\tincludeWidth = includeWidth? 1 : 0;\n\tfor( ; i < 4 ; i += 2 - includeWidth ) {\n\t\twhich = cssExpand[ i ];\n\t\tattrs[ \"margin\" + which ] = attrs[ \"padding\" + which ] = type;\n\t}\n\n\tif ( includeWidth ) {\n\t\tattrs.opacity = attrs.width = type;\n\t}\n\n\treturn attrs;\n}\n\n// Generate shortcuts for custom animations\njQuery.each({\n\tslideDown: genFx(\"show\"),\n\tslideUp: genFx(\"hide\"),\n\tslideToggle: genFx(\"toggle\"),\n\tfadeIn: { opacity: \"show\" },\n\tfadeOut: { opacity: \"hide\" },\n\tfadeToggle: { opacity: \"toggle\" }\n}, function( name, props ) {\n\tjQuery.fn[ name ] = function( speed, easing, callback ) {\n\t\treturn this.animate( props, speed, easing, callback );\n\t};\n});\n\njQuery.speed = function( speed, easing, fn ) {\n\tvar opt = speed && typeof speed === \"object\" ? jQuery.extend( {}, speed ) : {\n\t\tcomplete: fn || !fn && easing ||\n\t\t\tjQuery.isFunction( speed ) && speed,\n\t\tduration: speed,\n\t\teasing: fn && easing || easing && !jQuery.isFunction( easing ) && easing\n\t};\n\n\topt.duration = jQuery.fx.off ? 0 : typeof opt.duration === \"number\" ? opt.duration :\n\t\topt.duration in jQuery.fx.speeds ? jQuery.fx.speeds[ opt.duration ] : jQuery.fx.speeds._default;\n\n\t// normalize opt.queue - true/undefined/null -> \"fx\"\n\tif ( opt.queue == null || opt.queue === true ) {\n\t\topt.queue = \"fx\";\n\t}\n\n\t// Queueing\n\topt.old = opt.complete;\n\n\topt.complete = function() {\n\t\tif ( jQuery.isFunction( opt.old ) ) {\n\t\t\topt.old.call( this );\n\t\t}\n\n\t\tif ( opt.queue ) {\n\t\t\tjQuery.dequeue( this, opt.queue );\n\t\t}\n\t};\n\n\treturn opt;\n};\n\njQuery.easing = {\n\tlinear: function( p ) {\n\t\treturn p;\n\t},\n\tswing: function( p ) {\n\t\treturn 0.5 - Math.cos( p*Math.PI ) / 2;\n\t}\n};\n\njQuery.timers = [];\njQuery.fx = Tween.prototype.init;\njQuery.fx.tick = function() {\n\tvar timer,\n\t\ttimers = jQuery.timers,\n\t\ti = 0;\n\n\tfxNow = jQuery.now();\n\n\tfor ( ; i < timers.length; i++ ) {\n\t\ttimer = timers[ i ];\n\t\t// Checks the timer has not already been removed\n\t\tif ( !timer() && timers[ i ] === timer ) {\n\t\t\ttimers.splice( i--, 1 );\n\t\t}\n\t}\n\n\tif ( !timers.length ) {\n\t\tjQuery.fx.stop();\n\t}\n\tfxNow = undefined;\n};\n\njQuery.fx.timer = function( timer ) {\n\tif ( timer() && jQuery.timers.push( timer ) ) {\n\t\tjQuery.fx.start();\n\t}\n};\n\njQuery.fx.interval = 13;\n\njQuery.fx.start = function() {\n\tif ( !timerId ) {\n\t\ttimerId = setInterval( jQuery.fx.tick, jQuery.fx.interval );\n\t}\n};\n\njQuery.fx.stop = function() {\n\tclearInterval( timerId );\n\ttimerId = null;\n};\n\njQuery.fx.speeds = {\n\tslow: 600,\n\tfast: 200,\n\t// Default speed\n\t_default: 400\n};\n\n// Back Compat <1.8 extension point\njQuery.fx.step = {};\n\nif ( jQuery.expr && jQuery.expr.filters ) {\n\tjQuery.expr.filters.animated = function( elem ) {\n\t\treturn jQuery.grep(jQuery.timers, function( fn ) {\n\t\t\treturn elem === fn.elem;\n\t\t}).length;\n\t};\n}\njQuery.fn.offset = function( options ) {\n\tif ( arguments.length ) {\n\t\treturn options === undefined ?\n\t\t\tthis :\n\t\t\tthis.each(function( i ) {\n\t\t\t\tjQuery.offset.setOffset( this, options, i );\n\t\t\t});\n\t}\n\n\tvar docElem, win,\n\t\tbox = { top: 0, left: 0 },\n\t\telem = this[ 0 ],\n\t\tdoc = elem && elem.ownerDocument;\n\n\tif ( !doc ) {\n\t\treturn;\n\t}\n\n\tdocElem = doc.documentElement;\n\n\t// Make sure it's not a disconnected DOM node\n\tif ( !jQuery.contains( docElem, elem ) ) {\n\t\treturn box;\n\t}\n\n\t// If we don't have gBCR, just use 0,0 rather than error\n\t// BlackBerry 5, iOS 3 (original iPhone)\n\tif ( typeof elem.getBoundingClientRect !== core_strundefined ) {\n\t\tbox = elem.getBoundingClientRect();\n\t}\n\twin = getWindow( doc );\n\treturn {\n\t\ttop: box.top  + ( win.pageYOffset || docElem.scrollTop )  - ( docElem.clientTop  || 0 ),\n\t\tleft: box.left + ( win.pageXOffset || docElem.scrollLeft ) - ( docElem.clientLeft || 0 )\n\t};\n};\n\njQuery.offset = {\n\n\tsetOffset: function( elem, options, i ) {\n\t\tvar position = jQuery.css( elem, \"position\" );\n\n\t\t// set position first, in-case top/left are set even on static elem\n\t\tif ( position === \"static\" ) {\n\t\t\telem.style.position = \"relative\";\n\t\t}\n\n\t\tvar curElem = jQuery( elem ),\n\t\t\tcurOffset = curElem.offset(),\n\t\t\tcurCSSTop = jQuery.css( elem, \"top\" ),\n\t\t\tcurCSSLeft = jQuery.css( elem, \"left\" ),\n\t\t\tcalculatePosition = ( position === \"absolute\" || position === \"fixed\" ) && jQuery.inArray(\"auto\", [curCSSTop, curCSSLeft]) > -1,\n\t\t\tprops = {}, curPosition = {}, curTop, curLeft;\n\n\t\t// need to be able to calculate position if either top or left is auto and position is either absolute or fixed\n\t\tif ( calculatePosition ) {\n\t\t\tcurPosition = curElem.position();\n\t\t\tcurTop = curPosition.top;\n\t\t\tcurLeft = curPosition.left;\n\t\t} else {\n\t\t\tcurTop = parseFloat( curCSSTop ) || 0;\n\t\t\tcurLeft = parseFloat( curCSSLeft ) || 0;\n\t\t}\n\n\t\tif ( jQuery.isFunction( options ) ) {\n\t\t\toptions = options.call( elem, i, curOffset );\n\t\t}\n\n\t\tif ( options.top != null ) {\n\t\t\tprops.top = ( options.top - curOffset.top ) + curTop;\n\t\t}\n\t\tif ( options.left != null ) {\n\t\t\tprops.left = ( options.left - curOffset.left ) + curLeft;\n\t\t}\n\n\t\tif ( \"using\" in options ) {\n\t\t\toptions.using.call( elem, props );\n\t\t} else {\n\t\t\tcurElem.css( props );\n\t\t}\n\t}\n};\n\n\njQuery.fn.extend({\n\n\tposition: function() {\n\t\tif ( !this[ 0 ] ) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar offsetParent, offset,\n\t\t\tparentOffset = { top: 0, left: 0 },\n\t\t\telem = this[ 0 ];\n\n\t\t// fixed elements are offset from window (parentOffset = {top:0, left: 0}, because it is it's only offset parent\n\t\tif ( jQuery.css( elem, \"position\" ) === \"fixed\" ) {\n\t\t\t// we assume that getBoundingClientRect is available when computed position is fixed\n\t\t\toffset = elem.getBoundingClientRect();\n\t\t} else {\n\t\t\t// Get *real* offsetParent\n\t\t\toffsetParent = this.offsetParent();\n\n\t\t\t// Get correct offsets\n\t\t\toffset = this.offset();\n\t\t\tif ( !jQuery.nodeName( offsetParent[ 0 ], \"html\" ) ) {\n\t\t\t\tparentOffset = offsetParent.offset();\n\t\t\t}\n\n\t\t\t// Add offsetParent borders\n\t\t\tparentOffset.top  += jQuery.css( offsetParent[ 0 ], \"borderTopWidth\", true );\n\t\t\tparentOffset.left += jQuery.css( offsetParent[ 0 ], \"borderLeftWidth\", true );\n\t\t}\n\n\t\t// Subtract parent offsets and element margins\n\t\t// note: when an element has margin: auto the offsetLeft and marginLeft\n\t\t// are the same in Safari causing offset.left to incorrectly be 0\n\t\treturn {\n\t\t\ttop:  offset.top  - parentOffset.top - jQuery.css( elem, \"marginTop\", true ),\n\t\t\tleft: offset.left - parentOffset.left - jQuery.css( elem, \"marginLeft\", true)\n\t\t};\n\t},\n\n\toffsetParent: function() {\n\t\treturn this.map(function() {\n\t\t\tvar offsetParent = this.offsetParent || docElem;\n\t\t\twhile ( offsetParent && ( !jQuery.nodeName( offsetParent, \"html\" ) && jQuery.css( offsetParent, \"position\") === \"static\" ) ) {\n\t\t\t\toffsetParent = offsetParent.offsetParent;\n\t\t\t}\n\t\t\treturn offsetParent || docElem;\n\t\t});\n\t}\n});\n\n\n// Create scrollLeft and scrollTop methods\njQuery.each( {scrollLeft: \"pageXOffset\", scrollTop: \"pageYOffset\"}, function( method, prop ) {\n\tvar top = /Y/.test( prop );\n\n\tjQuery.fn[ method ] = function( val ) {\n\t\treturn jQuery.access( this, function( elem, method, val ) {\n\t\t\tvar win = getWindow( elem );\n\n\t\t\tif ( val === undefined ) {\n\t\t\t\treturn win ? (prop in win) ? win[ prop ] :\n\t\t\t\t\twin.document.documentElement[ method ] :\n\t\t\t\t\telem[ method ];\n\t\t\t}\n\n\t\t\tif ( win ) {\n\t\t\t\twin.scrollTo(\n\t\t\t\t\t!top ? val : jQuery( win ).scrollLeft(),\n\t\t\t\t\ttop ? val : jQuery( win ).scrollTop()\n\t\t\t\t);\n\n\t\t\t} else {\n\t\t\t\telem[ method ] = val;\n\t\t\t}\n\t\t}, method, val, arguments.length, null );\n\t};\n});\n\nfunction getWindow( elem ) {\n\treturn jQuery.isWindow( elem ) ?\n\t\telem :\n\t\telem.nodeType === 9 ?\n\t\t\telem.defaultView || elem.parentWindow :\n\t\t\tfalse;\n}\n// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods\njQuery.each( { Height: \"height\", Width: \"width\" }, function( name, type ) {\n\tjQuery.each( { padding: \"inner\" + name, content: type, \"\": \"outer\" + name }, function( defaultExtra, funcName ) {\n\t\t// margin is only for outerHeight, outerWidth\n\t\tjQuery.fn[ funcName ] = function( margin, value ) {\n\t\t\tvar chainable = arguments.length && ( defaultExtra || typeof margin !== \"boolean\" ),\n\t\t\t\textra = defaultExtra || ( margin === true || value === true ? \"margin\" : \"border\" );\n\n\t\t\treturn jQuery.access( this, function( elem, type, value ) {\n\t\t\t\tvar doc;\n\n\t\t\t\tif ( jQuery.isWindow( elem ) ) {\n\t\t\t\t\t// As of 5/8/2012 this will yield incorrect results for Mobile Safari, but there\n\t\t\t\t\t// isn't a whole lot we can do. See pull request at this URL for discussion:\n\t\t\t\t\t// https://github.com/jquery/jquery/pull/764\n\t\t\t\t\treturn elem.document.documentElement[ \"client\" + name ];\n\t\t\t\t}\n\n\t\t\t\t// Get document width or height\n\t\t\t\tif ( elem.nodeType === 9 ) {\n\t\t\t\t\tdoc = elem.documentElement;\n\n\t\t\t\t\t// Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height], whichever is greatest\n\t\t\t\t\t// unfortunately, this causes bug #3838 in IE6/8 only, but there is currently no good, small way to fix it.\n\t\t\t\t\treturn Math.max(\n\t\t\t\t\t\telem.body[ \"scroll\" + name ], doc[ \"scroll\" + name ],\n\t\t\t\t\t\telem.body[ \"offset\" + name ], doc[ \"offset\" + name ],\n\t\t\t\t\t\tdoc[ \"client\" + name ]\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\treturn value === undefined ?\n\t\t\t\t\t// Get width or height on the element, requesting but not forcing parseFloat\n\t\t\t\t\tjQuery.css( elem, type, extra ) :\n\n\t\t\t\t\t// Set width or height on the element\n\t\t\t\t\tjQuery.style( elem, type, value, extra );\n\t\t\t}, type, chainable ? margin : undefined, chainable, null );\n\t\t};\n\t});\n});\n// Limit scope pollution from any deprecated API\n// (function() {\n\n// The number of elements contained in the matched element set\njQuery.fn.size = function() {\n\treturn this.length;\n};\n\njQuery.fn.andSelf = jQuery.fn.addBack;\n\n// })();\nif ( typeof module === \"object\" && module && typeof module.exports === \"object\" ) {\n\t// Expose jQuery as module.exports in loaders that implement the Node\n\t// module pattern (including browserify). Do not create the global, since\n\t// the user will be storing it themselves locally, and globals are frowned\n\t// upon in the Node module world.\n\tmodule.exports = jQuery;\n} else {\n\t// Otherwise expose jQuery to the global object as usual\n\twindow.jQuery = window.$ = jQuery;\n\n\t// Register as a named AMD module, since jQuery can be concatenated with other\n\t// files that may use define, but not via a proper concatenation script that\n\t// understands anonymous AMD modules. A named AMD is safest and most robust\n\t// way to register. Lowercase jquery is used because AMD module names are\n\t// derived from file names, and jQuery is normally delivered in a lowercase\n\t// file name. Do this after creating the global so that if an AMD module wants\n\t// to call noConflict to hide this version of jQuery, it will work.\n\tif ( typeof define === \"function\" && define.amd ) {\n\t\tdefine( \"jquery\", [], function () { return jQuery; } );\n\t}\n}\n\n})( window );\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/jquery.validate-vsdoc.js",
    "content": "﻿/* NUGET: BEGIN LICENSE TEXT\n *\n * Microsoft grants you the right to use these script files for the sole\n * purpose of either: (i) interacting through your browser with the Microsoft\n * website or online service, subject to the applicable licensing or use\n * terms; or (ii) using the files as included with a Microsoft product subject\n * to that product's license terms. Microsoft reserves all other rights to the\n * files not expressly granted by Microsoft, whether by implication, estoppel\n * or otherwise. Insofar as a script file is dual licensed under GPL,\n * Microsoft neither took the code under GPL nor distributes it thereunder but\n * under the terms set out in this paragraph. All notices and licenses\n * below are for informational purposes only.\n *\n * NUGET: END LICENSE TEXT */\n/*\n* This file has been commented to support Visual Studio Intellisense.\n* You should not use this file at runtime inside the browser--it is only\n* intended to be used only for design-time IntelliSense.  Please use the\n* standard jQuery library for all production use.\n*\n* Comment version: 1.11.1\n*/\n\n/*\n* Note: While Microsoft is not the author of this file, Microsoft is\n* offering you a license subject to the terms of the Microsoft Software\n* License Terms for Microsoft ASP.NET Model View Controller 3.\n* Microsoft reserves all other rights. The notices below are provided\n* for informational purposes only and are not the license terms under\n* which Microsoft distributed this file.\n*\n* jQuery Validation Plugin - v1.11.1 - 2/4/2013\n* https://github.com/jzaefferer/jquery-validation\n* Copyright (c) 2013 Jörn Zaefferer; Licensed MIT\n*\n*/\n\n(function($) {\n\n$.extend($.fn, {\n\t// http://docs.jquery.com/Plugins/Validation/validate\n\tvalidate: function( options ) {\n\t\t/// <summary>\n\t\t/// Validates the selected form. This method sets up event handlers for submit, focus,\n\t\t/// keyup, blur and click to trigger validation of the entire form or individual\n\t\t/// elements. Each one can be disabled, see the onxxx options (onsubmit, onfocusout,\n\t\t/// onkeyup, onclick). focusInvalid focuses elements when submitting a invalid form.\n\t\t/// </summary>\n\t\t/// <param name=\"options\" type=\"Object\">\n\t\t/// A set of key/value pairs that configure the validate. All options are optional.\n\t\t/// </param>\n\n\t\t// if nothing is selected, return nothing; can't chain anyway\n\t\tif (!this.length) {\n\t\t\toptions && options.debug && window.console && console.warn( \"nothing selected, can't validate, returning nothing\" );\n\t\t\treturn;\n\t\t}\n\n\t\t// check if a validator for this form was already created\n\t\tvar validator = $.data(this[0], 'validator');\n\t\tif ( validator ) {\n\t\t\treturn validator;\n\t\t}\n\t\t\n\t\tvalidator = new $.validator( options, this[0] );\n\t\t$.data(this[0], 'validator', validator); \n\t\t\n\t\tif ( validator.settings.onsubmit ) {\n\t\t\n\t\t\t// allow suppresing validation by adding a cancel class to the submit button\n\t\t\tthis.find(\"input, button\").filter(\".cancel\").click(function() {\n\t\t\t\tvalidator.cancelSubmit = true;\n\t\t\t});\n\t\t\t\n\t\t\t// when a submitHandler is used, capture the submitting button\n\t\t\tif (validator.settings.submitHandler) {\n\t\t\t\tthis.find(\"input, button\").filter(\":submit\").click(function() {\n\t\t\t\t\tvalidator.submitButton = this;\n\t\t\t\t});\n\t\t\t}\n\t\t\n\t\t\t// validate the form on submit\n\t\t\tthis.submit( function( event ) {\n\t\t\t\tif ( validator.settings.debug )\n\t\t\t\t\t// prevent form submit to be able to see console output\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\n\t\t\t\tfunction handle() {\n\t\t\t\t\tif ( validator.settings.submitHandler ) {\n\t\t\t\t\t\tif (validator.submitButton) {\n\t\t\t\t\t\t\t// insert a hidden input as a replacement for the missing submit button\n\t\t\t\t\t\t\tvar hidden = $(\"<input type='hidden'/>\").attr(\"name\", validator.submitButton.name).val(validator.submitButton.value).appendTo(validator.currentForm);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvalidator.settings.submitHandler.call( validator, validator.currentForm );\n\t\t\t\t\t\tif (validator.submitButton) {\n\t\t\t\t\t\t\t// and clean up afterwards; thanks to no-block-scope, hidden can be referenced\n\t\t\t\t\t\t\thidden.remove();\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t// prevent submit for invalid forms or custom submit handlers\n\t\t\t\tif ( validator.cancelSubmit ) {\n\t\t\t\t\tvalidator.cancelSubmit = false;\n\t\t\t\t\treturn handle();\n\t\t\t\t}\n\t\t\t\tif ( validator.form() ) {\n\t\t\t\t\tif ( validator.pendingRequest ) {\n\t\t\t\t\t\tvalidator.formSubmitted = true;\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\treturn handle();\n\t\t\t\t} else {\n\t\t\t\t\tvalidator.focusInvalid();\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\t\n\t\treturn validator;\n\t},\n\t// http://docs.jquery.com/Plugins/Validation/valid\n\tvalid: function() {\n\t\t/// <summary>\n\t\t/// Checks if the selected form is valid or if all selected elements are valid.\n\t\t/// validate() needs to be called on the form before checking it using this method.\n\t\t/// </summary>\n\t\t/// <returns type=\"Boolean\" />\n\n        if ( $(this[0]).is('form')) {\n            return this.validate().form();\n        } else {\n            var valid = true;\n            var validator = $(this[0].form).validate();\n            this.each(function() {\n\t\t\t\tvalid &= validator.element(this);\n            });\n            return valid;\n        }\n    },\n\t// attributes: space seperated list of attributes to retrieve and remove\n\tremoveAttrs: function(attributes) {\n\t\t/// <summary>\n\t\t/// Remove the specified attributes from the first matched element and return them.\n\t\t/// </summary>\n\t\t/// <param name=\"attributes\" type=\"String\">\n\t\t/// A space-seperated list of attribute names to remove.\n\t\t/// </param>\n\n\t\tvar result = {},\n\t\t\t$element = this;\n\t\t$.each(attributes.split(/\\s/), function(index, value) {\n\t\t\tresult[value] = $element.attr(value);\n\t\t\t$element.removeAttr(value);\n\t\t});\n\t\treturn result;\n\t},\n\t// http://docs.jquery.com/Plugins/Validation/rules\n\trules: function(command, argument) {\n\t\t/// <summary>\n\t\t/// Return the validations rules for the first selected element.\n\t\t/// </summary>\n\t\t/// <param name=\"command\" type=\"String\">\n\t\t/// Can be either \"add\" or \"remove\".\n\t\t/// </param>\n\t\t/// <param name=\"argument\" type=\"\">\n\t\t/// A list of rules to add or remove.\n\t\t/// </param>\n\n\t\tvar element = this[0];\n\t\t\n\t\tif (command) {\n\t\t\tvar settings = $.data(element.form, 'validator').settings;\n\t\t\tvar staticRules = settings.rules;\n\t\t\tvar existingRules = $.validator.staticRules(element);\n\t\t\tswitch(command) {\n\t\t\tcase \"add\":\n\t\t\t\t$.extend(existingRules, $.validator.normalizeRule(argument));\n\t\t\t\tstaticRules[element.name] = existingRules;\n\t\t\t\tif (argument.messages)\n\t\t\t\t\tsettings.messages[element.name] = $.extend( settings.messages[element.name], argument.messages );\n\t\t\t\tbreak;\n\t\t\tcase \"remove\":\n\t\t\t\tif (!argument) {\n\t\t\t\t\tdelete staticRules[element.name];\n\t\t\t\t\treturn existingRules;\n\t\t\t\t}\n\t\t\t\tvar filtered = {};\n\t\t\t\t$.each(argument.split(/\\s/), function(index, method) {\n\t\t\t\t\tfiltered[method] = existingRules[method];\n\t\t\t\t\tdelete existingRules[method];\n\t\t\t\t});\n\t\t\t\treturn filtered;\n\t\t\t}\n\t\t}\n\t\t\n\t\tvar data = $.validator.normalizeRules(\n\t\t$.extend(\n\t\t\t{},\n\t\t\t$.validator.metadataRules(element),\n\t\t\t$.validator.classRules(element),\n\t\t\t$.validator.attributeRules(element),\n\t\t\t$.validator.staticRules(element)\n\t\t), element);\n\t\t\n\t\t// make sure required is at front\n\t\tif (data.required) {\n\t\t\tvar param = data.required;\n\t\t\tdelete data.required;\n\t\t\tdata = $.extend({required: param}, data);\n\t\t}\n\t\t\n\t\treturn data;\n\t}\n});\n\n// Custom selectors\n$.extend($.expr[\":\"], {\n\t// http://docs.jquery.com/Plugins/Validation/blank\n\tblank: function(a) {return !$.trim(\"\" + a.value);},\n\t// http://docs.jquery.com/Plugins/Validation/filled\n\tfilled: function(a) {return !!$.trim(\"\" + a.value);},\n\t// http://docs.jquery.com/Plugins/Validation/unchecked\n\tunchecked: function(a) {return !a.checked;}\n});\n\n// constructor for validator\n$.validator = function( options, form ) {\n\tthis.settings = $.extend( true, {}, $.validator.defaults, options );\n\tthis.currentForm = form;\n\tthis.init();\n};\n\n$.validator.format = function(source, params) {\n\t/// <summary>\n\t/// Replaces {n} placeholders with arguments.\n\t/// One or more arguments can be passed, in addition to the string template itself, to insert\n\t/// into the string.\n\t/// </summary>\n\t/// <param name=\"source\" type=\"String\">\n\t/// The string to format.\n\t/// </param>\n\t/// <param name=\"params\" type=\"String\">\n\t/// The first argument to insert, or an array of Strings to insert\n\t/// </param>\n\t/// <returns type=\"String\" />\n\n\tif ( arguments.length == 1 ) \n\t\treturn function() {\n\t\t\tvar args = $.makeArray(arguments);\n\t\t\targs.unshift(source);\n\t\t\treturn $.validator.format.apply( this, args );\n\t\t};\n\tif ( arguments.length > 2 && params.constructor != Array  ) {\n\t\tparams = $.makeArray(arguments).slice(1);\n\t}\n\tif ( params.constructor != Array ) {\n\t\tparams = [ params ];\n\t}\n\t$.each(params, function(i, n) {\n\t\tsource = source.replace(new RegExp(\"\\\\{\" + i + \"\\\\}\", \"g\"), n);\n\t});\n\treturn source;\n};\n\n$.extend($.validator, {\n\t\n\tdefaults: {\n\t\tmessages: {},\n\t\tgroups: {},\n\t\trules: {},\n\t\terrorClass: \"error\",\n\t\tvalidClass: \"valid\",\n\t\terrorElement: \"label\",\n\t\tfocusInvalid: true,\n\t\terrorContainer: $( [] ),\n\t\terrorLabelContainer: $( [] ),\n\t\tonsubmit: true,\n\t\tignore: [],\n\t\tignoreTitle: false,\n\t\tonfocusin: function(element) {\n\t\t\tthis.lastActive = element;\n\t\t\t\t\n\t\t\t// hide error label and remove error class on focus if enabled\n\t\t\tif ( this.settings.focusCleanup && !this.blockFocusCleanup ) {\n\t\t\t\tthis.settings.unhighlight && this.settings.unhighlight.call( this, element, this.settings.errorClass, this.settings.validClass );\n\t\t\t\tthis.addWrapper(this.errorsFor(element)).hide();\n\t\t\t}\n\t\t},\n\t\tonfocusout: function(element) {\n\t\t\tif ( !this.checkable(element) && (element.name in this.submitted || !this.optional(element)) ) {\n\t\t\t\tthis.element(element);\n\t\t\t}\n\t\t},\n\t\tonkeyup: function(element) {\n\t\t\tif ( element.name in this.submitted || element == this.lastElement ) {\n\t\t\t\tthis.element(element);\n\t\t\t}\n\t\t},\n\t\tonclick: function(element) {\n\t\t\t// click on selects, radiobuttons and checkboxes\n\t\t\tif ( element.name in this.submitted )\n\t\t\t\tthis.element(element);\n\t\t\t// or option elements, check parent select in that case\n\t\t\telse if (element.parentNode.name in this.submitted)\n\t\t\t\tthis.element(element.parentNode);\n\t\t},\n\t\thighlight: function( element, errorClass, validClass ) {\n\t\t\t$(element).addClass(errorClass).removeClass(validClass);\n\t\t},\n\t\tunhighlight: function( element, errorClass, validClass ) {\n\t\t\t$(element).removeClass(errorClass).addClass(validClass);\n\t\t}\n\t},\n\n\t// http://docs.jquery.com/Plugins/Validation/Validator/setDefaults\n\tsetDefaults: function(settings) {\n\t\t/// <summary>\n\t\t/// Modify default settings for validation.\n\t\t/// Accepts everything that Plugins/Validation/validate accepts.\n\t\t/// </summary>\n\t\t/// <param name=\"settings\" type=\"Options\">\n\t\t/// Options to set as default.\n\t\t/// </param>\n\n\t\t$.extend( $.validator.defaults, settings );\n\t},\n\n\tmessages: {\n\t\trequired: \"This field is required.\",\n\t\tremote: \"Please fix this field.\",\n\t\temail: \"Please enter a valid email address.\",\n\t\turl: \"Please enter a valid URL.\",\n\t\tdate: \"Please enter a valid date.\",\n\t\tdateISO: \"Please enter a valid date (ISO).\",\n\t\tnumber: \"Please enter a valid number.\",\n\t\tdigits: \"Please enter only digits.\",\n\t\tcreditcard: \"Please enter a valid credit card number.\",\n\t\tequalTo: \"Please enter the same value again.\",\n\t\taccept: \"Please enter a value with a valid extension.\",\n\t\tmaxlength: $.validator.format(\"Please enter no more than {0} characters.\"),\n\t\tminlength: $.validator.format(\"Please enter at least {0} characters.\"),\n\t\trangelength: $.validator.format(\"Please enter a value between {0} and {1} characters long.\"),\n\t\trange: $.validator.format(\"Please enter a value between {0} and {1}.\"),\n\t\tmax: $.validator.format(\"Please enter a value less than or equal to {0}.\"),\n\t\tmin: $.validator.format(\"Please enter a value greater than or equal to {0}.\")\n\t},\n\t\n\tautoCreateRanges: false,\n\t\n\tprototype: {\n\t\t\n\t\tinit: function() {\n\t\t\tthis.labelContainer = $(this.settings.errorLabelContainer);\n\t\t\tthis.errorContext = this.labelContainer.length && this.labelContainer || $(this.currentForm);\n\t\t\tthis.containers = $(this.settings.errorContainer).add( this.settings.errorLabelContainer );\n\t\t\tthis.submitted = {};\n\t\t\tthis.valueCache = {};\n\t\t\tthis.pendingRequest = 0;\n\t\t\tthis.pending = {};\n\t\t\tthis.invalid = {};\n\t\t\tthis.reset();\n\t\t\t\n\t\t\tvar groups = (this.groups = {});\n\t\t\t$.each(this.settings.groups, function(key, value) {\n\t\t\t\t$.each(value.split(/\\s/), function(index, name) {\n\t\t\t\t\tgroups[name] = key;\n\t\t\t\t});\n\t\t\t});\n\t\t\tvar rules = this.settings.rules;\n\t\t\t$.each(rules, function(key, value) {\n\t\t\t\trules[key] = $.validator.normalizeRule(value);\n\t\t\t});\n\t\t\t\n\t\t\tfunction delegate(event) {\n\t\t\t\tvar validator = $.data(this[0].form, \"validator\"),\n\t\t\t\t\teventType = \"on\" + event.type.replace(/^validate/, \"\");\n\t\t\t\tvalidator.settings[eventType] && validator.settings[eventType].call(validator, this[0] );\n\t\t\t}\n\t\t\t$(this.currentForm)\n\t\t\t\t.validateDelegate(\":text, :password, :file, select, textarea\", \"focusin focusout keyup\", delegate)\n\t\t\t\t.validateDelegate(\":radio, :checkbox, select, option\", \"click\", delegate);\n\n\t\t\tif (this.settings.invalidHandler)\n\t\t\t\t$(this.currentForm).bind(\"invalid-form.validate\", this.settings.invalidHandler);\n\t\t},\n\n\t\t// http://docs.jquery.com/Plugins/Validation/Validator/form\n\t\tform: function() {\n\t\t\t/// <summary>\n\t\t\t/// Validates the form, returns true if it is valid, false otherwise.\n\t\t\t/// This behaves as a normal submit event, but returns the result.\n\t\t\t/// </summary>\n\t\t\t/// <returns type=\"Boolean\" />\n\n\t\t\tthis.checkForm();\n\t\t\t$.extend(this.submitted, this.errorMap);\n\t\t\tthis.invalid = $.extend({}, this.errorMap);\n\t\t\tif (!this.valid())\n\t\t\t\t$(this.currentForm).triggerHandler(\"invalid-form\", [this]);\n\t\t\tthis.showErrors();\n\t\t\treturn this.valid();\n\t\t},\n\t\t\n\t\tcheckForm: function() {\n\t\t\tthis.prepareForm();\n\t\t\tfor ( var i = 0, elements = (this.currentElements = this.elements()); elements[i]; i++ ) {\n\t\t\t\tthis.check( elements[i] );\n\t\t\t}\n\t\t\treturn this.valid(); \n\t\t},\n\t\t\n\t\t// http://docs.jquery.com/Plugins/Validation/Validator/element\n\t\telement: function( element ) {\n\t\t\t/// <summary>\n\t\t\t/// Validates a single element, returns true if it is valid, false otherwise.\n\t\t\t/// This behaves as validation on blur or keyup, but returns the result.\n\t\t\t/// </summary>\n\t\t\t/// <param name=\"element\" type=\"Selector\">\n\t\t\t/// An element to validate, must be inside the validated form.\n\t\t\t/// </param>\n\t\t\t/// <returns type=\"Boolean\" />\n\n\t\t\telement = this.clean( element );\n\t\t\tthis.lastElement = element;\n\t\t\tthis.prepareElement( element );\n\t\t\tthis.currentElements = $(element);\n\t\t\tvar result = this.check( element );\n\t\t\tif ( result ) {\n\t\t\t\tdelete this.invalid[element.name];\n\t\t\t} else {\n\t\t\t\tthis.invalid[element.name] = true;\n\t\t\t}\n\t\t\tif ( !this.numberOfInvalids() ) {\n\t\t\t\t// Hide error containers on last error\n\t\t\t\tthis.toHide = this.toHide.add( this.containers );\n\t\t\t}\n\t\t\tthis.showErrors();\n\t\t\treturn result;\n\t\t},\n\n\t\t// http://docs.jquery.com/Plugins/Validation/Validator/showErrors\n\t\tshowErrors: function(errors) {\n\t\t\t/// <summary>\n\t\t\t/// Show the specified messages.\n\t\t\t/// Keys have to refer to the names of elements, values are displayed for those elements, using the configured error placement.\n\t\t\t/// </summary>\n\t\t\t/// <param name=\"errors\" type=\"Object\">\n\t\t\t/// One or more key/value pairs of input names and messages.\n\t\t\t/// </param>\n\n\t\t\tif(errors) {\n\t\t\t\t// add items to error list and map\n\t\t\t\t$.extend( this.errorMap, errors );\n\t\t\t\tthis.errorList = [];\n\t\t\t\tfor ( var name in errors ) {\n\t\t\t\t\tthis.errorList.push({\n\t\t\t\t\t\tmessage: errors[name],\n\t\t\t\t\t\telement: this.findByName(name)[0]\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\t// remove items from success list\n\t\t\t\tthis.successList = $.grep( this.successList, function(element) {\n\t\t\t\t\treturn !(element.name in errors);\n\t\t\t\t});\n\t\t\t}\n\t\t\tthis.settings.showErrors\n\t\t\t\t? this.settings.showErrors.call( this, this.errorMap, this.errorList )\n\t\t\t\t: this.defaultShowErrors();\n\t\t},\n\t\t\n\t\t// http://docs.jquery.com/Plugins/Validation/Validator/resetForm\n\t\tresetForm: function() {\n\t\t\t/// <summary>\n\t\t\t/// Resets the controlled form.\n\t\t\t/// Resets input fields to their original value (requires form plugin), removes classes\n\t\t\t/// indicating invalid elements and hides error messages.\n\t\t\t/// </summary>\n\n\t\t\tif ( $.fn.resetForm )\n\t\t\t\t$( this.currentForm ).resetForm();\n\t\t\tthis.submitted = {};\n\t\t\tthis.prepareForm();\n\t\t\tthis.hideErrors();\n\t\t\tthis.elements().removeClass( this.settings.errorClass );\n\t\t},\n\t\t\n\t\tnumberOfInvalids: function() {\n\t\t\t/// <summary>\n\t\t\t/// Returns the number of invalid fields.\n\t\t\t/// This depends on the internal validator state. It covers all fields only after\n\t\t\t/// validating the complete form (on submit or via $(\"form\").valid()). After validating\n\t\t\t/// a single element, only that element is counted. Most useful in combination with the\n\t\t\t/// invalidHandler-option.\n\t\t\t/// </summary>\n\t\t\t/// <returns type=\"Number\" />\n\n\t\t\treturn this.objectLength(this.invalid);\n\t\t},\n\t\t\n\t\tobjectLength: function( obj ) {\n\t\t\tvar count = 0;\n\t\t\tfor ( var i in obj )\n\t\t\t\tcount++;\n\t\t\treturn count;\n\t\t},\n\t\t\n\t\thideErrors: function() {\n\t\t\tthis.addWrapper( this.toHide ).hide();\n\t\t},\n\t\t\n\t\tvalid: function() {\n\t\t\treturn this.size() == 0;\n\t\t},\n\t\t\n\t\tsize: function() {\n\t\t\treturn this.errorList.length;\n\t\t},\n\t\t\n\t\tfocusInvalid: function() {\n\t\t\tif( this.settings.focusInvalid ) {\n\t\t\t\ttry {\n\t\t\t\t\t$(this.findLastActive() || this.errorList.length && this.errorList[0].element || [])\n\t\t\t\t\t.filter(\":visible\")\n\t\t\t\t\t.focus()\n\t\t\t\t\t// manually trigger focusin event; without it, focusin handler isn't called, findLastActive won't have anything to find\n\t\t\t\t\t.trigger(\"focusin\");\n\t\t\t\t} catch(e) {\n\t\t\t\t\t// ignore IE throwing errors when focusing hidden elements\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t\n\t\tfindLastActive: function() {\n\t\t\tvar lastActive = this.lastActive;\n\t\t\treturn lastActive && $.grep(this.errorList, function(n) {\n\t\t\t\treturn n.element.name == lastActive.name;\n\t\t\t}).length == 1 && lastActive;\n\t\t},\n\t\t\n\t\telements: function() {\n\t\t\tvar validator = this,\n\t\t\t\trulesCache = {};\n\t\t\t\n\t\t\t// select all valid inputs inside the form (no submit or reset buttons)\n\t\t\t// workaround $Query([]).add until http://dev.jquery.com/ticket/2114 is solved\n\t\t\treturn $([]).add(this.currentForm.elements)\n\t\t\t.filter(\":input\")\n\t\t\t.not(\":submit, :reset, :image, [disabled]\")\n\t\t\t.not( this.settings.ignore )\n\t\t\t.filter(function() {\n\t\t\t\t!this.name && validator.settings.debug && window.console && console.error( \"%o has no name assigned\", this);\n\t\t\t\n\t\t\t\t// select only the first element for each name, and only those with rules specified\n\t\t\t\tif ( this.name in rulesCache || !validator.objectLength($(this).rules()) )\n\t\t\t\t\treturn false;\n\t\t\t\t\n\t\t\t\trulesCache[this.name] = true;\n\t\t\t\treturn true;\n\t\t\t});\n\t\t},\n\t\t\n\t\tclean: function( selector ) {\n\t\t\treturn $( selector )[0];\n\t\t},\n\t\t\n\t\terrors: function() {\n\t\t\treturn $( this.settings.errorElement + \".\" + this.settings.errorClass, this.errorContext );\n\t\t},\n\t\t\n\t\treset: function() {\n\t\t\tthis.successList = [];\n\t\t\tthis.errorList = [];\n\t\t\tthis.errorMap = {};\n\t\t\tthis.toShow = $([]);\n\t\t\tthis.toHide = $([]);\n\t\t\tthis.currentElements = $([]);\n\t\t},\n\t\t\n\t\tprepareForm: function() {\n\t\t\tthis.reset();\n\t\t\tthis.toHide = this.errors().add( this.containers );\n\t\t},\n\t\t\n\t\tprepareElement: function( element ) {\n\t\t\tthis.reset();\n\t\t\tthis.toHide = this.errorsFor(element);\n\t\t},\n\t\n\t\tcheck: function( element ) {\n\t\t\telement = this.clean( element );\n\t\t\t\n\t\t\t// if radio/checkbox, validate first element in group instead\n\t\t\tif (this.checkable(element)) {\n\t\t\t    element = this.findByName(element.name).not(this.settings.ignore)[0];\n\t\t\t}\n\t\t\t\n\t\t\tvar rules = $(element).rules();\n\t\t\tvar dependencyMismatch = false;\n\t\t\tfor (var method in rules) {\n\t\t\t\tvar rule = { method: method, parameters: rules[method] };\n\t\t\t\ttry {\n\t\t\t\t\tvar result = $.validator.methods[method].call( this, element.value.replace(/\\r/g, \"\"), element, rule.parameters );\n\t\t\t\t\t\n\t\t\t\t\t// if a method indicates that the field is optional and therefore valid,\n\t\t\t\t\t// don't mark it as valid when there are no other rules\n\t\t\t\t\tif ( result == \"dependency-mismatch\" ) {\n\t\t\t\t\t\tdependencyMismatch = true;\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tdependencyMismatch = false;\n\t\t\t\t\t\n\t\t\t\t\tif ( result == \"pending\" ) {\n\t\t\t\t\t\tthis.toHide = this.toHide.not( this.errorsFor(element) );\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif( !result ) {\n\t\t\t\t\t\tthis.formatAndAdd( element, rule );\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t} catch(e) {\n\t\t\t\t\tthis.settings.debug && window.console && console.log(\"exception occured when checking element \" + element.id\n\t\t\t\t\t\t + \", check the '\" + rule.method + \"' method\", e);\n\t\t\t\t\tthrow e;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (dependencyMismatch)\n\t\t\t\treturn;\n\t\t\tif ( this.objectLength(rules) )\n\t\t\t\tthis.successList.push(element);\n\t\t\treturn true;\n\t\t},\n\t\t\n\t\t// return the custom message for the given element and validation method\n\t\t// specified in the element's \"messages\" metadata\n\t\tcustomMetaMessage: function(element, method) {\n\t\t\tif (!$.metadata)\n\t\t\t\treturn;\n\t\t\t\n\t\t\tvar meta = this.settings.meta\n\t\t\t\t? $(element).metadata()[this.settings.meta]\n\t\t\t\t: $(element).metadata();\n\t\t\t\n\t\t\treturn meta && meta.messages && meta.messages[method];\n\t\t},\n\t\t\n\t\t// return the custom message for the given element name and validation method\n\t\tcustomMessage: function( name, method ) {\n\t\t\tvar m = this.settings.messages[name];\n\t\t\treturn m && (m.constructor == String\n\t\t\t\t? m\n\t\t\t\t: m[method]);\n\t\t},\n\t\t\n\t\t// return the first defined argument, allowing empty strings\n\t\tfindDefined: function() {\n\t\t\tfor(var i = 0; i < arguments.length; i++) {\n\t\t\t\tif (arguments[i] !== undefined)\n\t\t\t\t\treturn arguments[i];\n\t\t\t}\n\t\t\treturn undefined;\n\t\t},\n\t\t\n\t\tdefaultMessage: function( element, method) {\n\t\t\treturn this.findDefined(\n\t\t\t\tthis.customMessage( element.name, method ),\n\t\t\t\tthis.customMetaMessage( element, method ),\n\t\t\t\t// title is never undefined, so handle empty string as undefined\n\t\t\t\t!this.settings.ignoreTitle && element.title || undefined,\n\t\t\t\t$.validator.messages[method],\n\t\t\t\t\"<strong>Warning: No message defined for \" + element.name + \"</strong>\"\n\t\t\t);\n\t\t},\n\t\t\n\t\tformatAndAdd: function( element, rule ) {\n\t\t\tvar message = this.defaultMessage( element, rule.method ),\n\t\t\t\ttheregex = /\\$?\\{(\\d+)\\}/g;\n\t\t\tif ( typeof message == \"function\" ) {\n\t\t\t\tmessage = message.call(this, rule.parameters, element);\n\t\t\t} else if (theregex.test(message)) {\n\t\t\t\tmessage = jQuery.format(message.replace(theregex, '{$1}'), rule.parameters);\n\t\t\t}\t\t\t\n\t\t\tthis.errorList.push({\n\t\t\t\tmessage: message,\n\t\t\t\telement: element\n\t\t\t});\n\t\t\t\n\t\t\tthis.errorMap[element.name] = message;\n\t\t\tthis.submitted[element.name] = message;\n\t\t},\n\t\t\n\t\taddWrapper: function(toToggle) {\n\t\t\tif ( this.settings.wrapper )\n\t\t\t\ttoToggle = toToggle.add( toToggle.parent( this.settings.wrapper ) );\n\t\t\treturn toToggle;\n\t\t},\n\t\t\n\t\tdefaultShowErrors: function() {\n\t\t\tfor ( var i = 0; this.errorList[i]; i++ ) {\n\t\t\t\tvar error = this.errorList[i];\n\t\t\t\tthis.settings.highlight && this.settings.highlight.call( this, error.element, this.settings.errorClass, this.settings.validClass );\n\t\t\t\tthis.showLabel( error.element, error.message );\n\t\t\t}\n\t\t\tif( this.errorList.length ) {\n\t\t\t\tthis.toShow = this.toShow.add( this.containers );\n\t\t\t}\n\t\t\tif (this.settings.success) {\n\t\t\t\tfor ( var i = 0; this.successList[i]; i++ ) {\n\t\t\t\t\tthis.showLabel( this.successList[i] );\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (this.settings.unhighlight) {\n\t\t\t\tfor ( var i = 0, elements = this.validElements(); elements[i]; i++ ) {\n\t\t\t\t\tthis.settings.unhighlight.call( this, elements[i], this.settings.errorClass, this.settings.validClass );\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.toHide = this.toHide.not( this.toShow );\n\t\t\tthis.hideErrors();\n\t\t\tthis.addWrapper( this.toShow ).show();\n\t\t},\n\t\t\n\t\tvalidElements: function() {\n\t\t\treturn this.currentElements.not(this.invalidElements());\n\t\t},\n\t\t\n\t\tinvalidElements: function() {\n\t\t\treturn $(this.errorList).map(function() {\n\t\t\t\treturn this.element;\n\t\t\t});\n\t\t},\n\t\t\n\t\tshowLabel: function(element, message) {\n\t\t\tvar label = this.errorsFor( element );\n\t\t\tif ( label.length ) {\n\t\t\t\t// refresh error/success class\n\t\t\t\tlabel.removeClass().addClass( this.settings.errorClass );\n\t\t\t\n\t\t\t\t// check if we have a generated label, replace the message then\n\t\t\t\tlabel.attr(\"generated\") && label.html(message);\n\t\t\t} else {\n\t\t\t\t// create label\n\t\t\t\tlabel = $(\"<\" + this.settings.errorElement + \"/>\")\n\t\t\t\t\t.attr({\"for\":  this.idOrName(element), generated: true})\n\t\t\t\t\t.addClass(this.settings.errorClass)\n\t\t\t\t\t.html(message || \"\");\n\t\t\t\tif ( this.settings.wrapper ) {\n\t\t\t\t\t// make sure the element is visible, even in IE\n\t\t\t\t\t// actually showing the wrapped element is handled elsewhere\n\t\t\t\t\tlabel = label.hide().show().wrap(\"<\" + this.settings.wrapper + \"/>\").parent();\n\t\t\t\t}\n\t\t\t\tif ( !this.labelContainer.append(label).length )\n\t\t\t\t\tthis.settings.errorPlacement\n\t\t\t\t\t\t? this.settings.errorPlacement(label, $(element) )\n\t\t\t\t\t\t: label.insertAfter(element);\n\t\t\t}\n\t\t\tif ( !message && this.settings.success ) {\n\t\t\t\tlabel.text(\"\");\n\t\t\t\ttypeof this.settings.success == \"string\"\n\t\t\t\t\t? label.addClass( this.settings.success )\n\t\t\t\t\t: this.settings.success( label );\n\t\t\t}\n\t\t\tthis.toShow = this.toShow.add(label);\n\t\t},\n\t\t\n\t\terrorsFor: function(element) {\n\t\t\tvar name = this.idOrName(element);\n    \t\treturn this.errors().filter(function() {\n\t\t\t\treturn $(this).attr('for') == name;\n\t\t\t});\n\t\t},\n\t\t\n\t\tidOrName: function(element) {\n\t\t\treturn this.groups[element.name] || (this.checkable(element) ? element.name : element.id || element.name);\n\t\t},\n\n\t\tcheckable: function( element ) {\n\t\t\treturn /radio|checkbox/i.test(element.type);\n\t\t},\n\t\t\n\t\tfindByName: function( name ) {\n\t\t\t// select by name and filter by form for performance over form.find(\"[name=...]\")\n\t\t\tvar form = this.currentForm;\n\t\t\treturn $(document.getElementsByName(name)).map(function(index, element) {\n\t\t\t\treturn element.form == form && element.name == name && element  || null;\n\t\t\t});\n\t\t},\n\t\t\n\t\tgetLength: function(value, element) {\n\t\t\tswitch( element.nodeName.toLowerCase() ) {\n\t\t\tcase 'select':\n\t\t\t\treturn $(\"option:selected\", element).length;\n\t\t\tcase 'input':\n\t\t\t\tif( this.checkable( element) )\n\t\t\t\t\treturn this.findByName(element.name).filter(':checked').length;\n\t\t\t}\n\t\t\treturn value.length;\n\t\t},\n\t\n\t\tdepend: function(param, element) {\n\t\t\treturn this.dependTypes[typeof param]\n\t\t\t\t? this.dependTypes[typeof param](param, element)\n\t\t\t\t: true;\n\t\t},\n\t\n\t\tdependTypes: {\n\t\t\t\"boolean\": function(param, element) {\n\t\t\t\treturn param;\n\t\t\t},\n\t\t\t\"string\": function(param, element) {\n\t\t\t\treturn !!$(param, element.form).length;\n\t\t\t},\n\t\t\t\"function\": function(param, element) {\n\t\t\t\treturn param(element);\n\t\t\t}\n\t\t},\n\t\t\n\t\toptional: function(element) {\n\t\t\treturn !$.validator.methods.required.call(this, $.trim(element.value), element) && \"dependency-mismatch\";\n\t\t},\n\t\t\n\t\tstartRequest: function(element) {\n\t\t\tif (!this.pending[element.name]) {\n\t\t\t\tthis.pendingRequest++;\n\t\t\t\tthis.pending[element.name] = true;\n\t\t\t}\n\t\t},\n\t\t\n\t\tstopRequest: function(element, valid) {\n\t\t\tthis.pendingRequest--;\n\t\t\t// sometimes synchronization fails, make sure pendingRequest is never < 0\n\t\t\tif (this.pendingRequest < 0)\n\t\t\t\tthis.pendingRequest = 0;\n\t\t\tdelete this.pending[element.name];\n\t\t\tif ( valid && this.pendingRequest == 0 && this.formSubmitted && this.form() ) {\n\t\t\t\t$(this.currentForm).submit();\n\t\t\t\tthis.formSubmitted = false;\n\t\t\t} else if (!valid && this.pendingRequest == 0 && this.formSubmitted) {\n\t\t\t\t$(this.currentForm).triggerHandler(\"invalid-form\", [this]);\n\t\t\t\tthis.formSubmitted = false;\n\t\t\t}\n\t\t},\n\t\t\n\t\tpreviousValue: function(element) {\n\t\t\treturn $.data(element, \"previousValue\") || $.data(element, \"previousValue\", {\n\t\t\t\told: null,\n\t\t\t\tvalid: true,\n\t\t\t\tmessage: this.defaultMessage( element, \"remote\" )\n\t\t\t});\n\t\t}\n\t\t\n\t},\n\t\n\tclassRuleSettings: {\n\t\trequired: {required: true},\n\t\temail: {email: true},\n\t\turl: {url: true},\n\t\tdate: {date: true},\n\t\tdateISO: {dateISO: true},\n\t\tdateDE: {dateDE: true},\n\t\tnumber: {number: true},\n\t\tnumberDE: {numberDE: true},\n\t\tdigits: {digits: true},\n\t\tcreditcard: {creditcard: true}\n\t},\n\t\n\taddClassRules: function(className, rules) {\n\t\t/// <summary>\n\t\t/// Add a compound class method - useful to refactor common combinations of rules into a single\n\t\t/// class.\n\t\t/// </summary>\n\t\t/// <param name=\"name\" type=\"String\">\n\t\t/// The name of the class rule to add\n\t\t/// </param>\n\t\t/// <param name=\"rules\" type=\"Options\">\n\t\t/// The compound rules\n\t\t/// </param>\n\n\t\tclassName.constructor == String ?\n\t\t\tthis.classRuleSettings[className] = rules :\n\t\t\t$.extend(this.classRuleSettings, className);\n\t},\n\t\n\tclassRules: function(element) {\n\t\tvar rules = {};\n\t\tvar classes = $(element).attr('class');\n\t\tclasses && $.each(classes.split(' '), function() {\n\t\t\tif (this in $.validator.classRuleSettings) {\n\t\t\t\t$.extend(rules, $.validator.classRuleSettings[this]);\n\t\t\t}\n\t\t});\n\t\treturn rules;\n\t},\n\t\n\tattributeRules: function(element) {\n\t\tvar rules = {};\n\t\tvar $element = $(element);\n\n\t\tfor (var method in $.validator.methods) {\n\t\t\tvar value = $element.attr(method);\n\t\t\tif (value) {\n\t\t\t\trules[method] = value;\n\t\t\t}\n\t\t}\n\t\t\n\t\t// maxlength may be returned as -1, 2147483647 (IE) and 524288 (safari) for text inputs\n\t\tif (rules.maxlength && /-1|2147483647|524288/.test(rules.maxlength)) {\n\t\t\tdelete rules.maxlength;\n\t\t}\n\t\t\n\t\treturn rules;\n\t},\n\t\n\tmetadataRules: function(element) {\n\t\tif (!$.metadata) return {};\n\t\t\n\t\tvar meta = $.data(element.form, 'validator').settings.meta;\n\t\treturn meta ?\n\t\t\t$(element).metadata()[meta] :\n\t\t\t$(element).metadata();\n\t},\n\t\n\tstaticRules: function(element) {\n\t\tvar rules = {};\n\t\tvar validator = $.data(element.form, 'validator');\n\t\tif (validator.settings.rules) {\n\t\t\trules = $.validator.normalizeRule(validator.settings.rules[element.name]) || {};\n\t\t}\n\t\treturn rules;\n\t},\n\t\n\tnormalizeRules: function(rules, element) {\n\t\t// handle dependency check\n\t\t$.each(rules, function(prop, val) {\n\t\t\t// ignore rule when param is explicitly false, eg. required:false\n\t\t\tif (val === false) {\n\t\t\t\tdelete rules[prop];\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (val.param || val.depends) {\n\t\t\t\tvar keepRule = true;\n\t\t\t\tswitch (typeof val.depends) {\n\t\t\t\t\tcase \"string\":\n\t\t\t\t\t\tkeepRule = !!$(val.depends, element.form).length;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"function\":\n\t\t\t\t\t\tkeepRule = val.depends.call(element, element);\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (keepRule) {\n\t\t\t\t\trules[prop] = val.param !== undefined ? val.param : true;\n\t\t\t\t} else {\n\t\t\t\t\tdelete rules[prop];\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t\n\t\t// evaluate parameters\n\t\t$.each(rules, function(rule, parameter) {\n\t\t\trules[rule] = $.isFunction(parameter) ? parameter(element) : parameter;\n\t\t});\n\t\t\n\t\t// clean number parameters\n\t\t$.each(['minlength', 'maxlength', 'min', 'max'], function() {\n\t\t\tif (rules[this]) {\n\t\t\t\trules[this] = Number(rules[this]);\n\t\t\t}\n\t\t});\n\t\t$.each(['rangelength', 'range'], function() {\n\t\t\tif (rules[this]) {\n\t\t\t\trules[this] = [Number(rules[this][0]), Number(rules[this][1])];\n\t\t\t}\n\t\t});\n\t\t\n\t\tif ($.validator.autoCreateRanges) {\n\t\t\t// auto-create ranges\n\t\t\tif (rules.min && rules.max) {\n\t\t\t\trules.range = [rules.min, rules.max];\n\t\t\t\tdelete rules.min;\n\t\t\t\tdelete rules.max;\n\t\t\t}\n\t\t\tif (rules.minlength && rules.maxlength) {\n\t\t\t\trules.rangelength = [rules.minlength, rules.maxlength];\n\t\t\t\tdelete rules.minlength;\n\t\t\t\tdelete rules.maxlength;\n\t\t\t}\n\t\t}\n\t\t\n\t\t// To support custom messages in metadata ignore rule methods titled \"messages\"\n\t\tif (rules.messages) {\n\t\t\tdelete rules.messages;\n\t\t}\n\t\t\n\t\treturn rules;\n\t},\n\t\n\t// Converts a simple string to a {string: true} rule, e.g., \"required\" to {required:true}\n\tnormalizeRule: function(data) {\n\t\tif( typeof data == \"string\" ) {\n\t\t\tvar transformed = {};\n\t\t\t$.each(data.split(/\\s/), function() {\n\t\t\t\ttransformed[this] = true;\n\t\t\t});\n\t\t\tdata = transformed;\n\t\t}\n\t\treturn data;\n\t},\n\t\n\t// http://docs.jquery.com/Plugins/Validation/Validator/addMethod\n\taddMethod: function(name, method, message) {\n\t\t/// <summary>\n\t\t/// Add a custom validation method. It must consist of a name (must be a legal javascript \n\t\t/// identifier), a javascript based function and a default string message.\n\t\t/// </summary>\n\t\t/// <param name=\"name\" type=\"String\">\n\t\t/// The name of the method, used to identify and referencing it, must be a valid javascript\n\t\t/// identifier\n\t\t/// </param>\n\t\t/// <param name=\"method\" type=\"Function\">\n\t\t/// The actual method implementation, returning true if an element is valid\n\t\t/// </param>\n\t\t/// <param name=\"message\" type=\"String\" optional=\"true\">\n\t\t/// (Optional) The default message to display for this method. Can be a function created by \n\t\t/// jQuery.validator.format(value). When undefined, an already existing message is used \n\t\t/// (handy for localization), otherwise the field-specific messages have to be defined.\n\t\t/// </param>\n\n\t\t$.validator.methods[name] = method;\n\t\t$.validator.messages[name] = message != undefined ? message : $.validator.messages[name];\n\t\tif (method.length < 3) {\n\t\t\t$.validator.addClassRules(name, $.validator.normalizeRule(name));\n\t\t}\n\t},\n\n\tmethods: {\n\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/required\n\t\trequired: function(value, element, param) {\n\t\t\t// check if dependency is met\n\t\t\tif ( !this.depend(param, element) )\n\t\t\t\treturn \"dependency-mismatch\";\n\t\t\tswitch( element.nodeName.toLowerCase() ) {\n\t\t\tcase 'select':\n\t\t\t\t// could be an array for select-multiple or a string, both are fine this way\n\t\t\t\tvar val = $(element).val();\n\t\t\t\treturn val && val.length > 0;\n\t\t\tcase 'input':\n\t\t\t\tif ( this.checkable(element) )\n\t\t\t\t\treturn this.getLength(value, element) > 0;\n\t\t\tdefault:\n\t\t\t\treturn $.trim(value).length > 0;\n\t\t\t}\n\t\t},\n\t\t\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/remote\n\t\tremote: function(value, element, param) {\n\t\t\tif ( this.optional(element) )\n\t\t\t\treturn \"dependency-mismatch\";\n\t\t\t\n\t\t\tvar previous = this.previousValue(element);\n\t\t\tif (!this.settings.messages[element.name] )\n\t\t\t\tthis.settings.messages[element.name] = {};\n\t\t\tprevious.originalMessage = this.settings.messages[element.name].remote;\n\t\t\tthis.settings.messages[element.name].remote = previous.message;\n\t\t\t\n\t\t\tparam = typeof param == \"string\" && {url:param} || param; \n\t\t\t\n\t\t\tif ( this.pending[element.name] ) {\n\t\t\t\treturn \"pending\";\n\t\t\t}\n\t\t\tif ( previous.old === value ) {\n\t\t\t\treturn previous.valid;\n\t\t\t}\n\n\t\t\tprevious.old = value;\n\t\t\tvar validator = this;\n\t\t\tthis.startRequest(element);\n\t\t\tvar data = {};\n\t\t\tdata[element.name] = value;\n\t\t\t$.ajax($.extend(true, {\n\t\t\t\turl: param,\n\t\t\t\tmode: \"abort\",\n\t\t\t\tport: \"validate\" + element.name,\n\t\t\t\tdataType: \"json\",\n\t\t\t\tdata: data,\n\t\t\t\tsuccess: function(response) {\n\t\t\t\t\tvalidator.settings.messages[element.name].remote = previous.originalMessage;\n\t\t\t\t\tvar valid = response === true;\n\t\t\t\t\tif ( valid ) {\n\t\t\t\t\t\tvar submitted = validator.formSubmitted;\n\t\t\t\t\t\tvalidator.prepareElement(element);\n\t\t\t\t\t\tvalidator.formSubmitted = submitted;\n\t\t\t\t\t\tvalidator.successList.push(element);\n\t\t\t\t\t\tvalidator.showErrors();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tvar errors = {};\n\t\t\t\t\t\tvar message = response || validator.defaultMessage(element, \"remote\");\n\t\t\t\t\t\terrors[element.name] = previous.message = $.isFunction(message) ? message(value) : message;\n\t\t\t\t\t\tvalidator.showErrors(errors);\n\t\t\t\t\t}\n\t\t\t\t\tprevious.valid = valid;\n\t\t\t\t\tvalidator.stopRequest(element, valid);\n\t\t\t\t}\n\t\t\t}, param));\n\t\t\treturn \"pending\";\n\t\t},\n\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/minlength\n\t\tminlength: function(value, element, param) {\n\t\t\treturn this.optional(element) || this.getLength($.trim(value), element) >= param;\n\t\t},\n\t\t\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/maxlength\n\t\tmaxlength: function(value, element, param) {\n\t\t\treturn this.optional(element) || this.getLength($.trim(value), element) <= param;\n\t\t},\n\t\t\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/rangelength\n\t\trangelength: function(value, element, param) {\n\t\t\tvar length = this.getLength($.trim(value), element);\n\t\t\treturn this.optional(element) || ( length >= param[0] && length <= param[1] );\n\t\t},\n\t\t\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/min\n\t\tmin: function( value, element, param ) {\n\t\t\treturn this.optional(element) || value >= param;\n\t\t},\n\t\t\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/max\n\t\tmax: function( value, element, param ) {\n\t\t\treturn this.optional(element) || value <= param;\n\t\t},\n\t\t\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/range\n\t\trange: function( value, element, param ) {\n\t\t\treturn this.optional(element) || ( value >= param[0] && value <= param[1] );\n\t\t},\n\t\t\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/email\n\t\temail: function(value, element) {\n\t\t\t// contributed by Scott Gonzalez: http://projects.scottsplayground.com/email_address_validation/\n\t\t\treturn this.optional(element) || /^((([a-z]|\\d|[!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])+(\\.([a-z]|\\d|[!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])+)*)|((\\x22)((((\\x20|\\x09)*(\\x0d\\x0a))?(\\x20|\\x09)+)?(([\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x7f]|\\x21|[\\x23-\\x5b]|[\\x5d-\\x7e]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(\\\\([\\x01-\\x09\\x0b\\x0c\\x0d-\\x7f]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]))))*(((\\x20|\\x09)*(\\x0d\\x0a))?(\\x20|\\x09)+)?(\\x22)))@((([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])*([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])))\\.)+(([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])*([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])))\\.?$/i.test(value);\n\t\t},\n\t\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/url\n\t\turl: function(value, element) {\n\t\t\t// contributed by Scott Gonzalez: http://projects.scottsplayground.com/iri/\n\t\t\treturn this.optional(element) || /^(https?|ftp):\\/\\/(((([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(%[\\da-f]{2})|[!\\$&'\\(\\)\\*\\+,;=]|:)*@)?(((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5]))|((([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])*([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])))\\.)+(([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])*([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])))\\.?)(:\\d*)?)(\\/((([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(%[\\da-f]{2})|[!\\$&'\\(\\)\\*\\+,;=]|:|@)+(\\/(([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(%[\\da-f]{2})|[!\\$&'\\(\\)\\*\\+,;=]|:|@)*)*)?)?(\\?((([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(%[\\da-f]{2})|[!\\$&'\\(\\)\\*\\+,;=]|:|@)|[\\uE000-\\uF8FF]|\\/|\\?)*)?(\\#((([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(%[\\da-f]{2})|[!\\$&'\\(\\)\\*\\+,;=]|:|@)|\\/|\\?)*)?$/i.test(value);\n\t\t},\n        \n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/date\n\t\tdate: function(value, element) {\n\t\t\treturn this.optional(element) || !/Invalid|NaN/.test(new Date(value));\n\t\t},\n\t\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/dateISO\n\t\tdateISO: function(value, element) {\n\t\t\treturn this.optional(element) || /^\\d{4}[\\/-]\\d{1,2}[\\/-]\\d{1,2}$/.test(value);\n\t\t},\n\t\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/number\n\t\tnumber: function(value, element) {\n\t\t\treturn this.optional(element) || /^-?(?:\\d+|\\d{1,3}(?:,\\d{3})+)(?:\\.\\d+)?$/.test(value);\n\t\t},\n\t\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/digits\n\t\tdigits: function(value, element) {\n\t\t\treturn this.optional(element) || /^\\d+$/.test(value);\n\t\t},\n\t\t\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/creditcard\n\t\t// based on http://en.wikipedia.org/wiki/Luhn\n\t\tcreditcard: function(value, element) {\n\t\t\tif ( this.optional(element) )\n\t\t\t\treturn \"dependency-mismatch\";\n\t\t\t// accept only digits and dashes\n\t\t\tif (/[^0-9-]+/.test(value))\n\t\t\t\treturn false;\n\t\t\tvar nCheck = 0,\n\t\t\t\tnDigit = 0,\n\t\t\t\tbEven = false;\n\n\t\t\tvalue = value.replace(/\\D/g, \"\");\n\n\t\t\tfor (var n = value.length - 1; n >= 0; n--) {\n\t\t\t\tvar cDigit = value.charAt(n);\n\t\t\t\tvar nDigit = parseInt(cDigit, 10);\n\t\t\t\tif (bEven) {\n\t\t\t\t\tif ((nDigit *= 2) > 9)\n\t\t\t\t\t\tnDigit -= 9;\n\t\t\t\t}\n\t\t\t\tnCheck += nDigit;\n\t\t\t\tbEven = !bEven;\n\t\t\t}\n\n\t\t\treturn (nCheck % 10) == 0;\n\t\t},\n\t\t\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/accept\n\t\taccept: function(value, element, param) {\n\t\t\tparam = typeof param == \"string\" ? param.replace(/,/g, '|') : \"png|jpe?g|gif\";\n\t\t\treturn this.optional(element) || value.match(new RegExp(\".(\" + param + \")$\", \"i\")); \n\t\t},\n\t\t\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/equalTo\n\t\tequalTo: function(value, element, param) {\n\t\t\t// bind to the blur event of the target in order to revalidate whenever the target field is updated\n\t\t\t// TODO find a way to bind the event just once, avoiding the unbind-rebind overhead\n\t\t\tvar target = $(param).unbind(\".validate-equalTo\").bind(\"blur.validate-equalTo\", function() {\n\t\t\t\t$(element).valid();\n\t\t\t});\n\t\t\treturn value == target.val();\n\t\t}\n\t\t\n\t}\n\t\n});\n\n// deprecated, use $.validator.format instead\n$.format = $.validator.format;\n\n})(jQuery);\n\n// ajax mode: abort\n// usage: $.ajax({ mode: \"abort\"[, port: \"uniqueport\"]});\n// if mode:\"abort\" is used, the previous request on that port (port can be undefined) is aborted via XMLHttpRequest.abort() \n;(function($) {\n\tvar pendingRequests = {};\n\t\t// Use a prefilter if available (1.5+)\n\tif ( $.ajaxPrefilter ) {\n\t\t$.ajaxPrefilter(function(settings, _, xhr) {\n\t\t    var port = settings.port;\n\t\t    if (settings.mode == \"abort\") {\n\t\t\t    if ( pendingRequests[port] ) {\n\t\t\t\t    pendingRequests[port].abort();\n\t\t\t    }\t\t\t\tpendingRequests[port] = xhr;\n\t\t    }\n\t    });\n\t} else {\n\t\t// Proxy ajax\n\t\tvar ajax = $.ajax;\n\t\t$.ajax = function(settings) {\n\t\t\tvar mode = ( \"mode\" in settings ? settings : $.ajaxSettings ).mode,\n\t\t\t\tport = ( \"port\" in settings ? settings : $.ajaxSettings ).port;\n\t\t\tif (mode == \"abort\") {\n\t\t\t\tif ( pendingRequests[port] ) {\n\t\t\t\t\tpendingRequests[port].abort();\n\t\t\t\t}\n\n\t\t\t    return (pendingRequests[port] = ajax.apply(this, arguments));\n\t\t    }\n\t\t    return ajax.apply(this, arguments);\n\t    };\n    }\n})(jQuery);\n\n// provides cross-browser focusin and focusout events\n// IE has native support, in other browsers, use event caputuring (neither bubbles)\n\n// provides delegate(type: String, delegate: Selector, handler: Callback) plugin for easier event delegation\n// handler is only called when $(event.target).is(delegate), in the scope of the jquery-object for event.target \n;(function($) {\n\t// only implement if not provided by jQuery core (since 1.4)\n\t// TODO verify if jQuery 1.4's implementation is compatible with older jQuery special-event APIs\n\tif (!jQuery.event.special.focusin && !jQuery.event.special.focusout && document.addEventListener) {\n\t\t$.each({\n\t\t\tfocus: 'focusin',\n\t\t\tblur: 'focusout'\t\n\t\t}, function( original, fix ){\n\t\t\t$.event.special[fix] = {\n\t\t\t\tsetup:function() {\n\t\t\t\t\tthis.addEventListener( original, handler, true );\n\t\t\t\t},\n\t\t\t\tteardown:function() {\n\t\t\t\t\tthis.removeEventListener( original, handler, true );\n\t\t\t\t},\n\t\t\t\thandler: function(e) {\n\t\t\t\t\targuments[0] = $.event.fix(e);\n\t\t\t\t\targuments[0].type = fix;\n\t\t\t\t\treturn $.event.handle.apply(this, arguments);\n\t\t\t\t}\n\t\t\t};\n\t\t\tfunction handler(e) {\n\t\t\t\te = $.event.fix(e);\n\t\t\t\te.type = fix;\n\t\t\t\treturn $.event.handle.call(this, e);\n\t\t\t}\n\t\t});\n\t};\n\t$.extend($.fn, {\n\t\tvalidateDelegate: function(delegate, type, handler) {\n\t\t\treturn this.bind(type, function(event) {\n\t\t\t\tvar target = $(event.target);\n\t\t\t\tif (target.is(delegate)) {\n\t\t\t\t\treturn handler.apply(target, arguments);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t});\n})(jQuery);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/jquery.validate.js",
    "content": "﻿/* NUGET: BEGIN LICENSE TEXT\n *\n * Microsoft grants you the right to use these script files for the sole\n * purpose of either: (i) interacting through your browser with the Microsoft\n * website or online service, subject to the applicable licensing or use\n * terms; or (ii) using the files as included with a Microsoft product subject\n * to that product's license terms. Microsoft reserves all other rights to the\n * files not expressly granted by Microsoft, whether by implication, estoppel\n * or otherwise. Insofar as a script file is dual licensed under GPL,\n * Microsoft neither took the code under GPL nor distributes it thereunder but\n * under the terms set out in this paragraph. All notices and licenses\n * below are for informational purposes only.\n *\n * NUGET: END LICENSE TEXT */\n/*!\n * jQuery Validation Plugin 1.11.1\n *\n * http://bassistance.de/jquery-plugins/jquery-plugin-validation/\n * http://docs.jquery.com/Plugins/Validation\n *\n * Copyright 2013 Jörn Zaefferer\n * Released under the MIT license:\n *   http://www.opensource.org/licenses/mit-license.php\n */\n\n(function($) {\n\n$.extend($.fn, {\n\t// http://docs.jquery.com/Plugins/Validation/validate\n\tvalidate: function( options ) {\n\n\t\t// if nothing is selected, return nothing; can't chain anyway\n\t\tif ( !this.length ) {\n\t\t\tif ( options && options.debug && window.console ) {\n\t\t\t\tconsole.warn( \"Nothing selected, can't validate, returning nothing.\" );\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\n\t\t// check if a validator for this form was already created\n\t\tvar validator = $.data( this[0], \"validator\" );\n\t\tif ( validator ) {\n\t\t\treturn validator;\n\t\t}\n\n\t\t// Add novalidate tag if HTML5.\n\t\tthis.attr( \"novalidate\", \"novalidate\" );\n\n\t\tvalidator = new $.validator( options, this[0] );\n\t\t$.data( this[0], \"validator\", validator );\n\n\t\tif ( validator.settings.onsubmit ) {\n\n\t\t\tthis.validateDelegate( \":submit\", \"click\", function( event ) {\n\t\t\t\tif ( validator.settings.submitHandler ) {\n\t\t\t\t\tvalidator.submitButton = event.target;\n\t\t\t\t}\n\t\t\t\t// allow suppressing validation by adding a cancel class to the submit button\n\t\t\t\tif ( $(event.target).hasClass(\"cancel\") ) {\n\t\t\t\t\tvalidator.cancelSubmit = true;\n\t\t\t\t}\n\n\t\t\t\t// allow suppressing validation by adding the html5 formnovalidate attribute to the submit button\n\t\t\t\tif ( $(event.target).attr(\"formnovalidate\") !== undefined ) {\n\t\t\t\t\tvalidator.cancelSubmit = true;\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t// validate the form on submit\n\t\t\tthis.submit( function( event ) {\n\t\t\t\tif ( validator.settings.debug ) {\n\t\t\t\t\t// prevent form submit to be able to see console output\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t}\n\t\t\t\tfunction handle() {\n\t\t\t\t\tvar hidden;\n\t\t\t\t\tif ( validator.settings.submitHandler ) {\n\t\t\t\t\t\tif ( validator.submitButton ) {\n\t\t\t\t\t\t\t// insert a hidden input as a replacement for the missing submit button\n\t\t\t\t\t\t\thidden = $(\"<input type='hidden'/>\").attr(\"name\", validator.submitButton.name).val( $(validator.submitButton).val() ).appendTo(validator.currentForm);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvalidator.settings.submitHandler.call( validator, validator.currentForm, event );\n\t\t\t\t\t\tif ( validator.submitButton ) {\n\t\t\t\t\t\t\t// and clean up afterwards; thanks to no-block-scope, hidden can be referenced\n\t\t\t\t\t\t\thidden.remove();\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\t// prevent submit for invalid forms or custom submit handlers\n\t\t\t\tif ( validator.cancelSubmit ) {\n\t\t\t\t\tvalidator.cancelSubmit = false;\n\t\t\t\t\treturn handle();\n\t\t\t\t}\n\t\t\t\tif ( validator.form() ) {\n\t\t\t\t\tif ( validator.pendingRequest ) {\n\t\t\t\t\t\tvalidator.formSubmitted = true;\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\treturn handle();\n\t\t\t\t} else {\n\t\t\t\t\tvalidator.focusInvalid();\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\treturn validator;\n\t},\n\t// http://docs.jquery.com/Plugins/Validation/valid\n\tvalid: function() {\n\t\tif ( $(this[0]).is(\"form\")) {\n\t\t\treturn this.validate().form();\n\t\t} else {\n\t\t\tvar valid = true;\n\t\t\tvar validator = $(this[0].form).validate();\n\t\t\tthis.each(function() {\n\t\t\t\tvalid = valid && validator.element(this);\n\t\t\t});\n\t\t\treturn valid;\n\t\t}\n\t},\n\t// attributes: space seperated list of attributes to retrieve and remove\n\tremoveAttrs: function( attributes ) {\n\t\tvar result = {},\n\t\t\t$element = this;\n\t\t$.each(attributes.split(/\\s/), function( index, value ) {\n\t\t\tresult[value] = $element.attr(value);\n\t\t\t$element.removeAttr(value);\n\t\t});\n\t\treturn result;\n\t},\n\t// http://docs.jquery.com/Plugins/Validation/rules\n\trules: function( command, argument ) {\n\t\tvar element = this[0];\n\n\t\tif ( command ) {\n\t\t\tvar settings = $.data(element.form, \"validator\").settings;\n\t\t\tvar staticRules = settings.rules;\n\t\t\tvar existingRules = $.validator.staticRules(element);\n\t\t\tswitch(command) {\n\t\t\tcase \"add\":\n\t\t\t\t$.extend(existingRules, $.validator.normalizeRule(argument));\n\t\t\t\t// remove messages from rules, but allow them to be set separetely\n\t\t\t\tdelete existingRules.messages;\n\t\t\t\tstaticRules[element.name] = existingRules;\n\t\t\t\tif ( argument.messages ) {\n\t\t\t\t\tsettings.messages[element.name] = $.extend( settings.messages[element.name], argument.messages );\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase \"remove\":\n\t\t\t\tif ( !argument ) {\n\t\t\t\t\tdelete staticRules[element.name];\n\t\t\t\t\treturn existingRules;\n\t\t\t\t}\n\t\t\t\tvar filtered = {};\n\t\t\t\t$.each(argument.split(/\\s/), function( index, method ) {\n\t\t\t\t\tfiltered[method] = existingRules[method];\n\t\t\t\t\tdelete existingRules[method];\n\t\t\t\t});\n\t\t\t\treturn filtered;\n\t\t\t}\n\t\t}\n\n\t\tvar data = $.validator.normalizeRules(\n\t\t$.extend(\n\t\t\t{},\n\t\t\t$.validator.classRules(element),\n\t\t\t$.validator.attributeRules(element),\n\t\t\t$.validator.dataRules(element),\n\t\t\t$.validator.staticRules(element)\n\t\t), element);\n\n\t\t// make sure required is at front\n\t\tif ( data.required ) {\n\t\t\tvar param = data.required;\n\t\t\tdelete data.required;\n\t\t\tdata = $.extend({required: param}, data);\n\t\t}\n\n\t\treturn data;\n\t}\n});\n\n// Custom selectors\n$.extend($.expr[\":\"], {\n\t// http://docs.jquery.com/Plugins/Validation/blank\n\tblank: function( a ) { return !$.trim(\"\" + $(a).val()); },\n\t// http://docs.jquery.com/Plugins/Validation/filled\n\tfilled: function( a ) { return !!$.trim(\"\" + $(a).val()); },\n\t// http://docs.jquery.com/Plugins/Validation/unchecked\n\tunchecked: function( a ) { return !$(a).prop(\"checked\"); }\n});\n\n// constructor for validator\n$.validator = function( options, form ) {\n\tthis.settings = $.extend( true, {}, $.validator.defaults, options );\n\tthis.currentForm = form;\n\tthis.init();\n};\n\n$.validator.format = function( source, params ) {\n\tif ( arguments.length === 1 ) {\n\t\treturn function() {\n\t\t\tvar args = $.makeArray(arguments);\n\t\t\targs.unshift(source);\n\t\t\treturn $.validator.format.apply( this, args );\n\t\t};\n\t}\n\tif ( arguments.length > 2 && params.constructor !== Array  ) {\n\t\tparams = $.makeArray(arguments).slice(1);\n\t}\n\tif ( params.constructor !== Array ) {\n\t\tparams = [ params ];\n\t}\n\t$.each(params, function( i, n ) {\n\t\tsource = source.replace( new RegExp(\"\\\\{\" + i + \"\\\\}\", \"g\"), function() {\n\t\t\treturn n;\n\t\t});\n\t});\n\treturn source;\n};\n\n$.extend($.validator, {\n\n\tdefaults: {\n\t\tmessages: {},\n\t\tgroups: {},\n\t\trules: {},\n\t\terrorClass: \"error\",\n\t\tvalidClass: \"valid\",\n\t\terrorElement: \"label\",\n\t\tfocusInvalid: true,\n\t\terrorContainer: $([]),\n\t\terrorLabelContainer: $([]),\n\t\tonsubmit: true,\n\t\tignore: \":hidden\",\n\t\tignoreTitle: false,\n\t\tonfocusin: function( element, event ) {\n\t\t\tthis.lastActive = element;\n\n\t\t\t// hide error label and remove error class on focus if enabled\n\t\t\tif ( this.settings.focusCleanup && !this.blockFocusCleanup ) {\n\t\t\t\tif ( this.settings.unhighlight ) {\n\t\t\t\t\tthis.settings.unhighlight.call( this, element, this.settings.errorClass, this.settings.validClass );\n\t\t\t\t}\n\t\t\t\tthis.addWrapper(this.errorsFor(element)).hide();\n\t\t\t}\n\t\t},\n\t\tonfocusout: function( element, event ) {\n\t\t\tif ( !this.checkable(element) && (element.name in this.submitted || !this.optional(element)) ) {\n\t\t\t\tthis.element(element);\n\t\t\t}\n\t\t},\n\t\tonkeyup: function( element, event ) {\n\t\t\tif ( event.which === 9 && this.elementValue(element) === \"\" ) {\n\t\t\t\treturn;\n\t\t\t} else if ( element.name in this.submitted || element === this.lastElement ) {\n\t\t\t\tthis.element(element);\n\t\t\t}\n\t\t},\n\t\tonclick: function( element, event ) {\n\t\t\t// click on selects, radiobuttons and checkboxes\n\t\t\tif ( element.name in this.submitted ) {\n\t\t\t\tthis.element(element);\n\t\t\t}\n\t\t\t// or option elements, check parent select in that case\n\t\t\telse if ( element.parentNode.name in this.submitted ) {\n\t\t\t\tthis.element(element.parentNode);\n\t\t\t}\n\t\t},\n\t\thighlight: function( element, errorClass, validClass ) {\n\t\t\tif ( element.type === \"radio\" ) {\n\t\t\t\tthis.findByName(element.name).addClass(errorClass).removeClass(validClass);\n\t\t\t} else {\n\t\t\t\t$(element).addClass(errorClass).removeClass(validClass);\n\t\t\t}\n\t\t},\n\t\tunhighlight: function( element, errorClass, validClass ) {\n\t\t\tif ( element.type === \"radio\" ) {\n\t\t\t\tthis.findByName(element.name).removeClass(errorClass).addClass(validClass);\n\t\t\t} else {\n\t\t\t\t$(element).removeClass(errorClass).addClass(validClass);\n\t\t\t}\n\t\t}\n\t},\n\n\t// http://docs.jquery.com/Plugins/Validation/Validator/setDefaults\n\tsetDefaults: function( settings ) {\n\t\t$.extend( $.validator.defaults, settings );\n\t},\n\n\tmessages: {\n\t\trequired: \"This field is required.\",\n\t\tremote: \"Please fix this field.\",\n\t\temail: \"Please enter a valid email address.\",\n\t\turl: \"Please enter a valid URL.\",\n\t\tdate: \"Please enter a valid date.\",\n\t\tdateISO: \"Please enter a valid date (ISO).\",\n\t\tnumber: \"Please enter a valid number.\",\n\t\tdigits: \"Please enter only digits.\",\n\t\tcreditcard: \"Please enter a valid credit card number.\",\n\t\tequalTo: \"Please enter the same value again.\",\n\t\tmaxlength: $.validator.format(\"Please enter no more than {0} characters.\"),\n\t\tminlength: $.validator.format(\"Please enter at least {0} characters.\"),\n\t\trangelength: $.validator.format(\"Please enter a value between {0} and {1} characters long.\"),\n\t\trange: $.validator.format(\"Please enter a value between {0} and {1}.\"),\n\t\tmax: $.validator.format(\"Please enter a value less than or equal to {0}.\"),\n\t\tmin: $.validator.format(\"Please enter a value greater than or equal to {0}.\")\n\t},\n\n\tautoCreateRanges: false,\n\n\tprototype: {\n\n\t\tinit: function() {\n\t\t\tthis.labelContainer = $(this.settings.errorLabelContainer);\n\t\t\tthis.errorContext = this.labelContainer.length && this.labelContainer || $(this.currentForm);\n\t\t\tthis.containers = $(this.settings.errorContainer).add( this.settings.errorLabelContainer );\n\t\t\tthis.submitted = {};\n\t\t\tthis.valueCache = {};\n\t\t\tthis.pendingRequest = 0;\n\t\t\tthis.pending = {};\n\t\t\tthis.invalid = {};\n\t\t\tthis.reset();\n\n\t\t\tvar groups = (this.groups = {});\n\t\t\t$.each(this.settings.groups, function( key, value ) {\n\t\t\t\tif ( typeof value === \"string\" ) {\n\t\t\t\t\tvalue = value.split(/\\s/);\n\t\t\t\t}\n\t\t\t\t$.each(value, function( index, name ) {\n\t\t\t\t\tgroups[name] = key;\n\t\t\t\t});\n\t\t\t});\n\t\t\tvar rules = this.settings.rules;\n\t\t\t$.each(rules, function( key, value ) {\n\t\t\t\trules[key] = $.validator.normalizeRule(value);\n\t\t\t});\n\n\t\t\tfunction delegate(event) {\n\t\t\t\tvar validator = $.data(this[0].form, \"validator\"),\n\t\t\t\t\teventType = \"on\" + event.type.replace(/^validate/, \"\");\n\t\t\t\tif ( validator.settings[eventType] ) {\n\t\t\t\t\tvalidator.settings[eventType].call(validator, this[0], event);\n\t\t\t\t}\n\t\t\t}\n\t\t\t$(this.currentForm)\n\t\t\t\t.validateDelegate(\":text, [type='password'], [type='file'], select, textarea, \" +\n\t\t\t\t\t\"[type='number'], [type='search'] ,[type='tel'], [type='url'], \" +\n\t\t\t\t\t\"[type='email'], [type='datetime'], [type='date'], [type='month'], \" +\n\t\t\t\t\t\"[type='week'], [type='time'], [type='datetime-local'], \" +\n\t\t\t\t\t\"[type='range'], [type='color'] \",\n\t\t\t\t\t\"focusin focusout keyup\", delegate)\n\t\t\t\t.validateDelegate(\"[type='radio'], [type='checkbox'], select, option\", \"click\", delegate);\n\n\t\t\tif ( this.settings.invalidHandler ) {\n\t\t\t\t$(this.currentForm).bind(\"invalid-form.validate\", this.settings.invalidHandler);\n\t\t\t}\n\t\t},\n\n\t\t// http://docs.jquery.com/Plugins/Validation/Validator/form\n\t\tform: function() {\n\t\t\tthis.checkForm();\n\t\t\t$.extend(this.submitted, this.errorMap);\n\t\t\tthis.invalid = $.extend({}, this.errorMap);\n\t\t\tif ( !this.valid() ) {\n\t\t\t\t$(this.currentForm).triggerHandler(\"invalid-form\", [this]);\n\t\t\t}\n\t\t\tthis.showErrors();\n\t\t\treturn this.valid();\n\t\t},\n\n\t\tcheckForm: function() {\n\t\t\tthis.prepareForm();\n\t\t\tfor ( var i = 0, elements = (this.currentElements = this.elements()); elements[i]; i++ ) {\n\t\t\t\tthis.check( elements[i] );\n\t\t\t}\n\t\t\treturn this.valid();\n\t\t},\n\n\t\t// http://docs.jquery.com/Plugins/Validation/Validator/element\n\t\telement: function( element ) {\n\t\t\telement = this.validationTargetFor( this.clean( element ) );\n\t\t\tthis.lastElement = element;\n\t\t\tthis.prepareElement( element );\n\t\t\tthis.currentElements = $(element);\n\t\t\tvar result = this.check( element ) !== false;\n\t\t\tif ( result ) {\n\t\t\t\tdelete this.invalid[element.name];\n\t\t\t} else {\n\t\t\t\tthis.invalid[element.name] = true;\n\t\t\t}\n\t\t\tif ( !this.numberOfInvalids() ) {\n\t\t\t\t// Hide error containers on last error\n\t\t\t\tthis.toHide = this.toHide.add( this.containers );\n\t\t\t}\n\t\t\tthis.showErrors();\n\t\t\treturn result;\n\t\t},\n\n\t\t// http://docs.jquery.com/Plugins/Validation/Validator/showErrors\n\t\tshowErrors: function( errors ) {\n\t\t\tif ( errors ) {\n\t\t\t\t// add items to error list and map\n\t\t\t\t$.extend( this.errorMap, errors );\n\t\t\t\tthis.errorList = [];\n\t\t\t\tfor ( var name in errors ) {\n\t\t\t\t\tthis.errorList.push({\n\t\t\t\t\t\tmessage: errors[name],\n\t\t\t\t\t\telement: this.findByName(name)[0]\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\t// remove items from success list\n\t\t\t\tthis.successList = $.grep( this.successList, function( element ) {\n\t\t\t\t\treturn !(element.name in errors);\n\t\t\t\t});\n\t\t\t}\n\t\t\tif ( this.settings.showErrors ) {\n\t\t\t\tthis.settings.showErrors.call( this, this.errorMap, this.errorList );\n\t\t\t} else {\n\t\t\t\tthis.defaultShowErrors();\n\t\t\t}\n\t\t},\n\n\t\t// http://docs.jquery.com/Plugins/Validation/Validator/resetForm\n\t\tresetForm: function() {\n\t\t\tif ( $.fn.resetForm ) {\n\t\t\t\t$(this.currentForm).resetForm();\n\t\t\t}\n\t\t\tthis.submitted = {};\n\t\t\tthis.lastElement = null;\n\t\t\tthis.prepareForm();\n\t\t\tthis.hideErrors();\n\t\t\tthis.elements().removeClass( this.settings.errorClass ).removeData( \"previousValue\" );\n\t\t},\n\n\t\tnumberOfInvalids: function() {\n\t\t\treturn this.objectLength(this.invalid);\n\t\t},\n\n\t\tobjectLength: function( obj ) {\n\t\t\tvar count = 0;\n\t\t\tfor ( var i in obj ) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\treturn count;\n\t\t},\n\n\t\thideErrors: function() {\n\t\t\tthis.addWrapper( this.toHide ).hide();\n\t\t},\n\n\t\tvalid: function() {\n\t\t\treturn this.size() === 0;\n\t\t},\n\n\t\tsize: function() {\n\t\t\treturn this.errorList.length;\n\t\t},\n\n\t\tfocusInvalid: function() {\n\t\t\tif ( this.settings.focusInvalid ) {\n\t\t\t\ttry {\n\t\t\t\t\t$(this.findLastActive() || this.errorList.length && this.errorList[0].element || [])\n\t\t\t\t\t.filter(\":visible\")\n\t\t\t\t\t.focus()\n\t\t\t\t\t// manually trigger focusin event; without it, focusin handler isn't called, findLastActive won't have anything to find\n\t\t\t\t\t.trigger(\"focusin\");\n\t\t\t\t} catch(e) {\n\t\t\t\t\t// ignore IE throwing errors when focusing hidden elements\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\tfindLastActive: function() {\n\t\t\tvar lastActive = this.lastActive;\n\t\t\treturn lastActive && $.grep(this.errorList, function( n ) {\n\t\t\t\treturn n.element.name === lastActive.name;\n\t\t\t}).length === 1 && lastActive;\n\t\t},\n\n\t\telements: function() {\n\t\t\tvar validator = this,\n\t\t\t\trulesCache = {};\n\n\t\t\t// select all valid inputs inside the form (no submit or reset buttons)\n\t\t\treturn $(this.currentForm)\n\t\t\t.find(\"input, select, textarea\")\n\t\t\t.not(\":submit, :reset, :image, [disabled]\")\n\t\t\t.not( this.settings.ignore )\n\t\t\t.filter(function() {\n\t\t\t\tif ( !this.name && validator.settings.debug && window.console ) {\n\t\t\t\t\tconsole.error( \"%o has no name assigned\", this);\n\t\t\t\t}\n\n\t\t\t\t// select only the first element for each name, and only those with rules specified\n\t\t\t\tif ( this.name in rulesCache || !validator.objectLength($(this).rules()) ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\trulesCache[this.name] = true;\n\t\t\t\treturn true;\n\t\t\t});\n\t\t},\n\n\t\tclean: function( selector ) {\n\t\t\treturn $(selector)[0];\n\t\t},\n\n\t\terrors: function() {\n\t\t\tvar errorClass = this.settings.errorClass.replace(\" \", \".\");\n\t\t\treturn $(this.settings.errorElement + \".\" + errorClass, this.errorContext);\n\t\t},\n\n\t\treset: function() {\n\t\t\tthis.successList = [];\n\t\t\tthis.errorList = [];\n\t\t\tthis.errorMap = {};\n\t\t\tthis.toShow = $([]);\n\t\t\tthis.toHide = $([]);\n\t\t\tthis.currentElements = $([]);\n\t\t},\n\n\t\tprepareForm: function() {\n\t\t\tthis.reset();\n\t\t\tthis.toHide = this.errors().add( this.containers );\n\t\t},\n\n\t\tprepareElement: function( element ) {\n\t\t\tthis.reset();\n\t\t\tthis.toHide = this.errorsFor(element);\n\t\t},\n\n\t\telementValue: function( element ) {\n\t\t\tvar type = $(element).attr(\"type\"),\n\t\t\t\tval = $(element).val();\n\n\t\t\tif ( type === \"radio\" || type === \"checkbox\" ) {\n\t\t\t\treturn $(\"input[name='\" + $(element).attr(\"name\") + \"']:checked\").val();\n\t\t\t}\n\n\t\t\tif ( typeof val === \"string\" ) {\n\t\t\t\treturn val.replace(/\\r/g, \"\");\n\t\t\t}\n\t\t\treturn val;\n\t\t},\n\n\t\tcheck: function( element ) {\n\t\t\telement = this.validationTargetFor( this.clean( element ) );\n\n\t\t\tvar rules = $(element).rules();\n\t\t\tvar dependencyMismatch = false;\n\t\t\tvar val = this.elementValue(element);\n\t\t\tvar result;\n\n\t\t\tfor (var method in rules ) {\n\t\t\t\tvar rule = { method: method, parameters: rules[method] };\n\t\t\t\ttry {\n\n\t\t\t\t\tresult = $.validator.methods[method].call( this, val, element, rule.parameters );\n\n\t\t\t\t\t// if a method indicates that the field is optional and therefore valid,\n\t\t\t\t\t// don't mark it as valid when there are no other rules\n\t\t\t\t\tif ( result === \"dependency-mismatch\" ) {\n\t\t\t\t\t\tdependencyMismatch = true;\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tdependencyMismatch = false;\n\n\t\t\t\t\tif ( result === \"pending\" ) {\n\t\t\t\t\t\tthis.toHide = this.toHide.not( this.errorsFor(element) );\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tif ( !result ) {\n\t\t\t\t\t\tthis.formatAndAdd( element, rule );\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t} catch(e) {\n\t\t\t\t\tif ( this.settings.debug && window.console ) {\n\t\t\t\t\t\tconsole.log( \"Exception occurred when checking element \" + element.id + \", check the '\" + rule.method + \"' method.\", e );\n\t\t\t\t\t}\n\t\t\t\t\tthrow e;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ( dependencyMismatch ) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif ( this.objectLength(rules) ) {\n\t\t\t\tthis.successList.push(element);\n\t\t\t}\n\t\t\treturn true;\n\t\t},\n\n\t\t// return the custom message for the given element and validation method\n\t\t// specified in the element's HTML5 data attribute\n\t\tcustomDataMessage: function( element, method ) {\n\t\t\treturn $(element).data(\"msg-\" + method.toLowerCase()) || (element.attributes && $(element).attr(\"data-msg-\" + method.toLowerCase()));\n\t\t},\n\n\t\t// return the custom message for the given element name and validation method\n\t\tcustomMessage: function( name, method ) {\n\t\t\tvar m = this.settings.messages[name];\n\t\t\treturn m && (m.constructor === String ? m : m[method]);\n\t\t},\n\n\t\t// return the first defined argument, allowing empty strings\n\t\tfindDefined: function() {\n\t\t\tfor(var i = 0; i < arguments.length; i++) {\n\t\t\t\tif ( arguments[i] !== undefined ) {\n\t\t\t\t\treturn arguments[i];\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn undefined;\n\t\t},\n\n\t\tdefaultMessage: function( element, method ) {\n\t\t\treturn this.findDefined(\n\t\t\t\tthis.customMessage( element.name, method ),\n\t\t\t\tthis.customDataMessage( element, method ),\n\t\t\t\t// title is never undefined, so handle empty string as undefined\n\t\t\t\t!this.settings.ignoreTitle && element.title || undefined,\n\t\t\t\t$.validator.messages[method],\n\t\t\t\t\"<strong>Warning: No message defined for \" + element.name + \"</strong>\"\n\t\t\t);\n\t\t},\n\n\t\tformatAndAdd: function( element, rule ) {\n\t\t\tvar message = this.defaultMessage( element, rule.method ),\n\t\t\t\ttheregex = /\\$?\\{(\\d+)\\}/g;\n\t\t\tif ( typeof message === \"function\" ) {\n\t\t\t\tmessage = message.call(this, rule.parameters, element);\n\t\t\t} else if (theregex.test(message)) {\n\t\t\t\tmessage = $.validator.format(message.replace(theregex, \"{$1}\"), rule.parameters);\n\t\t\t}\n\t\t\tthis.errorList.push({\n\t\t\t\tmessage: message,\n\t\t\t\telement: element\n\t\t\t});\n\n\t\t\tthis.errorMap[element.name] = message;\n\t\t\tthis.submitted[element.name] = message;\n\t\t},\n\n\t\taddWrapper: function( toToggle ) {\n\t\t\tif ( this.settings.wrapper ) {\n\t\t\t\ttoToggle = toToggle.add( toToggle.parent( this.settings.wrapper ) );\n\t\t\t}\n\t\t\treturn toToggle;\n\t\t},\n\n\t\tdefaultShowErrors: function() {\n\t\t\tvar i, elements;\n\t\t\tfor ( i = 0; this.errorList[i]; i++ ) {\n\t\t\t\tvar error = this.errorList[i];\n\t\t\t\tif ( this.settings.highlight ) {\n\t\t\t\t\tthis.settings.highlight.call( this, error.element, this.settings.errorClass, this.settings.validClass );\n\t\t\t\t}\n\t\t\t\tthis.showLabel( error.element, error.message );\n\t\t\t}\n\t\t\tif ( this.errorList.length ) {\n\t\t\t\tthis.toShow = this.toShow.add( this.containers );\n\t\t\t}\n\t\t\tif ( this.settings.success ) {\n\t\t\t\tfor ( i = 0; this.successList[i]; i++ ) {\n\t\t\t\t\tthis.showLabel( this.successList[i] );\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ( this.settings.unhighlight ) {\n\t\t\t\tfor ( i = 0, elements = this.validElements(); elements[i]; i++ ) {\n\t\t\t\t\tthis.settings.unhighlight.call( this, elements[i], this.settings.errorClass, this.settings.validClass );\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.toHide = this.toHide.not( this.toShow );\n\t\t\tthis.hideErrors();\n\t\t\tthis.addWrapper( this.toShow ).show();\n\t\t},\n\n\t\tvalidElements: function() {\n\t\t\treturn this.currentElements.not(this.invalidElements());\n\t\t},\n\n\t\tinvalidElements: function() {\n\t\t\treturn $(this.errorList).map(function() {\n\t\t\t\treturn this.element;\n\t\t\t});\n\t\t},\n\n\t\tshowLabel: function( element, message ) {\n\t\t\tvar label = this.errorsFor( element );\n\t\t\tif ( label.length ) {\n\t\t\t\t// refresh error/success class\n\t\t\t\tlabel.removeClass( this.settings.validClass ).addClass( this.settings.errorClass );\n\t\t\t\t// replace message on existing label\n\t\t\t\tlabel.html(message);\n\t\t\t} else {\n\t\t\t\t// create label\n\t\t\t\tlabel = $(\"<\" + this.settings.errorElement + \">\")\n\t\t\t\t\t.attr(\"for\", this.idOrName(element))\n\t\t\t\t\t.addClass(this.settings.errorClass)\n\t\t\t\t\t.html(message || \"\");\n\t\t\t\tif ( this.settings.wrapper ) {\n\t\t\t\t\t// make sure the element is visible, even in IE\n\t\t\t\t\t// actually showing the wrapped element is handled elsewhere\n\t\t\t\t\tlabel = label.hide().show().wrap(\"<\" + this.settings.wrapper + \"/>\").parent();\n\t\t\t\t}\n\t\t\t\tif ( !this.labelContainer.append(label).length ) {\n\t\t\t\t\tif ( this.settings.errorPlacement ) {\n\t\t\t\t\t\tthis.settings.errorPlacement(label, $(element) );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tlabel.insertAfter(element);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ( !message && this.settings.success ) {\n\t\t\t\tlabel.text(\"\");\n\t\t\t\tif ( typeof this.settings.success === \"string\" ) {\n\t\t\t\t\tlabel.addClass( this.settings.success );\n\t\t\t\t} else {\n\t\t\t\t\tthis.settings.success( label, element );\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.toShow = this.toShow.add(label);\n\t\t},\n\n\t\terrorsFor: function( element ) {\n\t\t\tvar name = this.idOrName(element);\n\t\t\treturn this.errors().filter(function() {\n\t\t\t\treturn $(this).attr(\"for\") === name;\n\t\t\t});\n\t\t},\n\n\t\tidOrName: function( element ) {\n\t\t\treturn this.groups[element.name] || (this.checkable(element) ? element.name : element.id || element.name);\n\t\t},\n\n\t\tvalidationTargetFor: function( element ) {\n\t\t\t// if radio/checkbox, validate first element in group instead\n\t\t\tif ( this.checkable(element) ) {\n\t\t\t\telement = this.findByName( element.name ).not(this.settings.ignore)[0];\n\t\t\t}\n\t\t\treturn element;\n\t\t},\n\n\t\tcheckable: function( element ) {\n\t\t\treturn (/radio|checkbox/i).test(element.type);\n\t\t},\n\n\t\tfindByName: function( name ) {\n\t\t\treturn $(this.currentForm).find(\"[name='\" + name + \"']\");\n\t\t},\n\n\t\tgetLength: function( value, element ) {\n\t\t\tswitch( element.nodeName.toLowerCase() ) {\n\t\t\tcase \"select\":\n\t\t\t\treturn $(\"option:selected\", element).length;\n\t\t\tcase \"input\":\n\t\t\t\tif ( this.checkable( element) ) {\n\t\t\t\t\treturn this.findByName(element.name).filter(\":checked\").length;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn value.length;\n\t\t},\n\n\t\tdepend: function( param, element ) {\n\t\t\treturn this.dependTypes[typeof param] ? this.dependTypes[typeof param](param, element) : true;\n\t\t},\n\n\t\tdependTypes: {\n\t\t\t\"boolean\": function( param, element ) {\n\t\t\t\treturn param;\n\t\t\t},\n\t\t\t\"string\": function( param, element ) {\n\t\t\t\treturn !!$(param, element.form).length;\n\t\t\t},\n\t\t\t\"function\": function( param, element ) {\n\t\t\t\treturn param(element);\n\t\t\t}\n\t\t},\n\n\t\toptional: function( element ) {\n\t\t\tvar val = this.elementValue(element);\n\t\t\treturn !$.validator.methods.required.call(this, val, element) && \"dependency-mismatch\";\n\t\t},\n\n\t\tstartRequest: function( element ) {\n\t\t\tif ( !this.pending[element.name] ) {\n\t\t\t\tthis.pendingRequest++;\n\t\t\t\tthis.pending[element.name] = true;\n\t\t\t}\n\t\t},\n\n\t\tstopRequest: function( element, valid ) {\n\t\t\tthis.pendingRequest--;\n\t\t\t// sometimes synchronization fails, make sure pendingRequest is never < 0\n\t\t\tif ( this.pendingRequest < 0 ) {\n\t\t\t\tthis.pendingRequest = 0;\n\t\t\t}\n\t\t\tdelete this.pending[element.name];\n\t\t\tif ( valid && this.pendingRequest === 0 && this.formSubmitted && this.form() ) {\n\t\t\t\t$(this.currentForm).submit();\n\t\t\t\tthis.formSubmitted = false;\n\t\t\t} else if (!valid && this.pendingRequest === 0 && this.formSubmitted) {\n\t\t\t\t$(this.currentForm).triggerHandler(\"invalid-form\", [this]);\n\t\t\t\tthis.formSubmitted = false;\n\t\t\t}\n\t\t},\n\n\t\tpreviousValue: function( element ) {\n\t\t\treturn $.data(element, \"previousValue\") || $.data(element, \"previousValue\", {\n\t\t\t\told: null,\n\t\t\t\tvalid: true,\n\t\t\t\tmessage: this.defaultMessage( element, \"remote\" )\n\t\t\t});\n\t\t}\n\n\t},\n\n\tclassRuleSettings: {\n\t\trequired: {required: true},\n\t\temail: {email: true},\n\t\turl: {url: true},\n\t\tdate: {date: true},\n\t\tdateISO: {dateISO: true},\n\t\tnumber: {number: true},\n\t\tdigits: {digits: true},\n\t\tcreditcard: {creditcard: true}\n\t},\n\n\taddClassRules: function( className, rules ) {\n\t\tif ( className.constructor === String ) {\n\t\t\tthis.classRuleSettings[className] = rules;\n\t\t} else {\n\t\t\t$.extend(this.classRuleSettings, className);\n\t\t}\n\t},\n\n\tclassRules: function( element ) {\n\t\tvar rules = {};\n\t\tvar classes = $(element).attr(\"class\");\n\t\tif ( classes ) {\n\t\t\t$.each(classes.split(\" \"), function() {\n\t\t\t\tif ( this in $.validator.classRuleSettings ) {\n\t\t\t\t\t$.extend(rules, $.validator.classRuleSettings[this]);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\treturn rules;\n\t},\n\n\tattributeRules: function( element ) {\n\t\tvar rules = {};\n\t\tvar $element = $(element);\n\t\tvar type = $element[0].getAttribute(\"type\");\n\n\t\tfor (var method in $.validator.methods) {\n\t\t\tvar value;\n\n\t\t\t// support for <input required> in both html5 and older browsers\n\t\t\tif ( method === \"required\" ) {\n\t\t\t\tvalue = $element.get(0).getAttribute(method);\n\t\t\t\t// Some browsers return an empty string for the required attribute\n\t\t\t\t// and non-HTML5 browsers might have required=\"\" markup\n\t\t\t\tif ( value === \"\" ) {\n\t\t\t\t\tvalue = true;\n\t\t\t\t}\n\t\t\t\t// force non-HTML5 browsers to return bool\n\t\t\t\tvalue = !!value;\n\t\t\t} else {\n\t\t\t\tvalue = $element.attr(method);\n\t\t\t}\n\n\t\t\t// convert the value to a number for number inputs, and for text for backwards compability\n\t\t\t// allows type=\"date\" and others to be compared as strings\n\t\t\tif ( /min|max/.test( method ) && ( type === null || /number|range|text/.test( type ) ) ) {\n\t\t\t\tvalue = Number(value);\n\t\t\t}\n\n\t\t\tif ( value ) {\n\t\t\t\trules[method] = value;\n\t\t\t} else if ( type === method && type !== 'range' ) {\n\t\t\t\t// exception: the jquery validate 'range' method\n\t\t\t\t// does not test for the html5 'range' type\n\t\t\t\trules[method] = true;\n\t\t\t}\n\t\t}\n\n\t\t// maxlength may be returned as -1, 2147483647 (IE) and 524288 (safari) for text inputs\n\t\tif ( rules.maxlength && /-1|2147483647|524288/.test(rules.maxlength) ) {\n\t\t\tdelete rules.maxlength;\n\t\t}\n\n\t\treturn rules;\n\t},\n\n\tdataRules: function( element ) {\n\t\tvar method, value,\n\t\t\trules = {}, $element = $(element);\n\t\tfor (method in $.validator.methods) {\n\t\t\tvalue = $element.data(\"rule-\" + method.toLowerCase());\n\t\t\tif ( value !== undefined ) {\n\t\t\t\trules[method] = value;\n\t\t\t}\n\t\t}\n\t\treturn rules;\n\t},\n\n\tstaticRules: function( element ) {\n\t\tvar rules = {};\n\t\tvar validator = $.data(element.form, \"validator\");\n\t\tif ( validator.settings.rules ) {\n\t\t\trules = $.validator.normalizeRule(validator.settings.rules[element.name]) || {};\n\t\t}\n\t\treturn rules;\n\t},\n\n\tnormalizeRules: function( rules, element ) {\n\t\t// handle dependency check\n\t\t$.each(rules, function( prop, val ) {\n\t\t\t// ignore rule when param is explicitly false, eg. required:false\n\t\t\tif ( val === false ) {\n\t\t\t\tdelete rules[prop];\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif ( val.param || val.depends ) {\n\t\t\t\tvar keepRule = true;\n\t\t\t\tswitch (typeof val.depends) {\n\t\t\t\tcase \"string\":\n\t\t\t\t\tkeepRule = !!$(val.depends, element.form).length;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"function\":\n\t\t\t\t\tkeepRule = val.depends.call(element, element);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif ( keepRule ) {\n\t\t\t\t\trules[prop] = val.param !== undefined ? val.param : true;\n\t\t\t\t} else {\n\t\t\t\t\tdelete rules[prop];\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\t// evaluate parameters\n\t\t$.each(rules, function( rule, parameter ) {\n\t\t\trules[rule] = $.isFunction(parameter) ? parameter(element) : parameter;\n\t\t});\n\n\t\t// clean number parameters\n\t\t$.each(['minlength', 'maxlength'], function() {\n\t\t\tif ( rules[this] ) {\n\t\t\t\trules[this] = Number(rules[this]);\n\t\t\t}\n\t\t});\n\t\t$.each(['rangelength', 'range'], function() {\n\t\t\tvar parts;\n\t\t\tif ( rules[this] ) {\n\t\t\t\tif ( $.isArray(rules[this]) ) {\n\t\t\t\t\trules[this] = [Number(rules[this][0]), Number(rules[this][1])];\n\t\t\t\t} else if ( typeof rules[this] === \"string\" ) {\n\t\t\t\t\tparts = rules[this].split(/[\\s,]+/);\n\t\t\t\t\trules[this] = [Number(parts[0]), Number(parts[1])];\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\tif ( $.validator.autoCreateRanges ) {\n\t\t\t// auto-create ranges\n\t\t\tif ( rules.min && rules.max ) {\n\t\t\t\trules.range = [rules.min, rules.max];\n\t\t\t\tdelete rules.min;\n\t\t\t\tdelete rules.max;\n\t\t\t}\n\t\t\tif ( rules.minlength && rules.maxlength ) {\n\t\t\t\trules.rangelength = [rules.minlength, rules.maxlength];\n\t\t\t\tdelete rules.minlength;\n\t\t\t\tdelete rules.maxlength;\n\t\t\t}\n\t\t}\n\n\t\treturn rules;\n\t},\n\n\t// Converts a simple string to a {string: true} rule, e.g., \"required\" to {required:true}\n\tnormalizeRule: function( data ) {\n\t\tif ( typeof data === \"string\" ) {\n\t\t\tvar transformed = {};\n\t\t\t$.each(data.split(/\\s/), function() {\n\t\t\t\ttransformed[this] = true;\n\t\t\t});\n\t\t\tdata = transformed;\n\t\t}\n\t\treturn data;\n\t},\n\n\t// http://docs.jquery.com/Plugins/Validation/Validator/addMethod\n\taddMethod: function( name, method, message ) {\n\t\t$.validator.methods[name] = method;\n\t\t$.validator.messages[name] = message !== undefined ? message : $.validator.messages[name];\n\t\tif ( method.length < 3 ) {\n\t\t\t$.validator.addClassRules(name, $.validator.normalizeRule(name));\n\t\t}\n\t},\n\n\tmethods: {\n\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/required\n\t\trequired: function( value, element, param ) {\n\t\t\t// check if dependency is met\n\t\t\tif ( !this.depend(param, element) ) {\n\t\t\t\treturn \"dependency-mismatch\";\n\t\t\t}\n\t\t\tif ( element.nodeName.toLowerCase() === \"select\" ) {\n\t\t\t\t// could be an array for select-multiple or a string, both are fine this way\n\t\t\t\tvar val = $(element).val();\n\t\t\t\treturn val && val.length > 0;\n\t\t\t}\n\t\t\tif ( this.checkable(element) ) {\n\t\t\t\treturn this.getLength(value, element) > 0;\n\t\t\t}\n\t\t\treturn $.trim(value).length > 0;\n\t\t},\n\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/email\n\t\temail: function( value, element ) {\n\t\t\t// contributed by Scott Gonzalez: http://projects.scottsplayground.com/email_address_validation/\n\t\t\treturn this.optional(element) || /^((([a-z]|\\d|[!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])+(\\.([a-z]|\\d|[!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])+)*)|((\\x22)((((\\x20|\\x09)*(\\x0d\\x0a))?(\\x20|\\x09)+)?(([\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x7f]|\\x21|[\\x23-\\x5b]|[\\x5d-\\x7e]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(\\\\([\\x01-\\x09\\x0b\\x0c\\x0d-\\x7f]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]))))*(((\\x20|\\x09)*(\\x0d\\x0a))?(\\x20|\\x09)+)?(\\x22)))@((([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])*([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])))\\.)+(([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])*([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])))$/i.test(value);\n\t\t},\n\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/url\n\t\turl: function( value, element ) {\n\t\t\t// contributed by Scott Gonzalez: http://projects.scottsplayground.com/iri/\n\t\t\treturn this.optional(element) || /^(https?|s?ftp):\\/\\/(((([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(%[\\da-f]{2})|[!\\$&'\\(\\)\\*\\+,;=]|:)*@)?(((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5]))|((([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])*([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])))\\.)+(([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])*([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])))\\.?)(:\\d*)?)(\\/((([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(%[\\da-f]{2})|[!\\$&'\\(\\)\\*\\+,;=]|:|@)+(\\/(([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(%[\\da-f]{2})|[!\\$&'\\(\\)\\*\\+,;=]|:|@)*)*)?)?(\\?((([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(%[\\da-f]{2})|[!\\$&'\\(\\)\\*\\+,;=]|:|@)|[\\uE000-\\uF8FF]|\\/|\\?)*)?(#((([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(%[\\da-f]{2})|[!\\$&'\\(\\)\\*\\+,;=]|:|@)|\\/|\\?)*)?$/i.test(value);\n\t\t},\n\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/date\n\t\tdate: function( value, element ) {\n\t\t\treturn this.optional(element) || !/Invalid|NaN/.test(new Date(value).toString());\n\t\t},\n\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/dateISO\n\t\tdateISO: function( value, element ) {\n\t\t\treturn this.optional(element) || /^\\d{4}[\\/\\-]\\d{1,2}[\\/\\-]\\d{1,2}$/.test(value);\n\t\t},\n\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/number\n\t\tnumber: function( value, element ) {\n\t\t\treturn this.optional(element) || /^-?(?:\\d+|\\d{1,3}(?:,\\d{3})+)?(?:\\.\\d+)?$/.test(value);\n\t\t},\n\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/digits\n\t\tdigits: function( value, element ) {\n\t\t\treturn this.optional(element) || /^\\d+$/.test(value);\n\t\t},\n\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/creditcard\n\t\t// based on http://en.wikipedia.org/wiki/Luhn\n\t\tcreditcard: function( value, element ) {\n\t\t\tif ( this.optional(element) ) {\n\t\t\t\treturn \"dependency-mismatch\";\n\t\t\t}\n\t\t\t// accept only spaces, digits and dashes\n\t\t\tif ( /[^0-9 \\-]+/.test(value) ) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tvar nCheck = 0,\n\t\t\t\tnDigit = 0,\n\t\t\t\tbEven = false;\n\n\t\t\tvalue = value.replace(/\\D/g, \"\");\n\n\t\t\tfor (var n = value.length - 1; n >= 0; n--) {\n\t\t\t\tvar cDigit = value.charAt(n);\n\t\t\t\tnDigit = parseInt(cDigit, 10);\n\t\t\t\tif ( bEven ) {\n\t\t\t\t\tif ( (nDigit *= 2) > 9 ) {\n\t\t\t\t\t\tnDigit -= 9;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tnCheck += nDigit;\n\t\t\t\tbEven = !bEven;\n\t\t\t}\n\n\t\t\treturn (nCheck % 10) === 0;\n\t\t},\n\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/minlength\n\t\tminlength: function( value, element, param ) {\n\t\t\tvar length = $.isArray( value ) ? value.length : this.getLength($.trim(value), element);\n\t\t\treturn this.optional(element) || length >= param;\n\t\t},\n\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/maxlength\n\t\tmaxlength: function( value, element, param ) {\n\t\t\tvar length = $.isArray( value ) ? value.length : this.getLength($.trim(value), element);\n\t\t\treturn this.optional(element) || length <= param;\n\t\t},\n\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/rangelength\n\t\trangelength: function( value, element, param ) {\n\t\t\tvar length = $.isArray( value ) ? value.length : this.getLength($.trim(value), element);\n\t\t\treturn this.optional(element) || ( length >= param[0] && length <= param[1] );\n\t\t},\n\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/min\n\t\tmin: function( value, element, param ) {\n\t\t\treturn this.optional(element) || value >= param;\n\t\t},\n\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/max\n\t\tmax: function( value, element, param ) {\n\t\t\treturn this.optional(element) || value <= param;\n\t\t},\n\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/range\n\t\trange: function( value, element, param ) {\n\t\t\treturn this.optional(element) || ( value >= param[0] && value <= param[1] );\n\t\t},\n\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/equalTo\n\t\tequalTo: function( value, element, param ) {\n\t\t\t// bind to the blur event of the target in order to revalidate whenever the target field is updated\n\t\t\t// TODO find a way to bind the event just once, avoiding the unbind-rebind overhead\n\t\t\tvar target = $(param);\n\t\t\tif ( this.settings.onfocusout ) {\n\t\t\t\ttarget.unbind(\".validate-equalTo\").bind(\"blur.validate-equalTo\", function() {\n\t\t\t\t\t$(element).valid();\n\t\t\t\t});\n\t\t\t}\n\t\t\treturn value === target.val();\n\t\t},\n\n\t\t// http://docs.jquery.com/Plugins/Validation/Methods/remote\n\t\tremote: function( value, element, param ) {\n\t\t\tif ( this.optional(element) ) {\n\t\t\t\treturn \"dependency-mismatch\";\n\t\t\t}\n\n\t\t\tvar previous = this.previousValue(element);\n\t\t\tif (!this.settings.messages[element.name] ) {\n\t\t\t\tthis.settings.messages[element.name] = {};\n\t\t\t}\n\t\t\tprevious.originalMessage = this.settings.messages[element.name].remote;\n\t\t\tthis.settings.messages[element.name].remote = previous.message;\n\n\t\t\tparam = typeof param === \"string\" && {url:param} || param;\n\n\t\t\tif ( previous.old === value ) {\n\t\t\t\treturn previous.valid;\n\t\t\t}\n\n\t\t\tprevious.old = value;\n\t\t\tvar validator = this;\n\t\t\tthis.startRequest(element);\n\t\t\tvar data = {};\n\t\t\tdata[element.name] = value;\n\t\t\t$.ajax($.extend(true, {\n\t\t\t\turl: param,\n\t\t\t\tmode: \"abort\",\n\t\t\t\tport: \"validate\" + element.name,\n\t\t\t\tdataType: \"json\",\n\t\t\t\tdata: data,\n\t\t\t\tsuccess: function( response ) {\n\t\t\t\t\tvalidator.settings.messages[element.name].remote = previous.originalMessage;\n\t\t\t\t\tvar valid = response === true || response === \"true\";\n\t\t\t\t\tif ( valid ) {\n\t\t\t\t\t\tvar submitted = validator.formSubmitted;\n\t\t\t\t\t\tvalidator.prepareElement(element);\n\t\t\t\t\t\tvalidator.formSubmitted = submitted;\n\t\t\t\t\t\tvalidator.successList.push(element);\n\t\t\t\t\t\tdelete validator.invalid[element.name];\n\t\t\t\t\t\tvalidator.showErrors();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tvar errors = {};\n\t\t\t\t\t\tvar message = response || validator.defaultMessage( element, \"remote\" );\n\t\t\t\t\t\terrors[element.name] = previous.message = $.isFunction(message) ? message(value) : message;\n\t\t\t\t\t\tvalidator.invalid[element.name] = true;\n\t\t\t\t\t\tvalidator.showErrors(errors);\n\t\t\t\t\t}\n\t\t\t\t\tprevious.valid = valid;\n\t\t\t\t\tvalidator.stopRequest(element, valid);\n\t\t\t\t}\n\t\t\t}, param));\n\t\t\treturn \"pending\";\n\t\t}\n\n\t}\n\n});\n\n// deprecated, use $.validator.format instead\n$.format = $.validator.format;\n\n}(jQuery));\n\n// ajax mode: abort\n// usage: $.ajax({ mode: \"abort\"[, port: \"uniqueport\"]});\n// if mode:\"abort\" is used, the previous request on that port (port can be undefined) is aborted via XMLHttpRequest.abort()\n(function($) {\n\tvar pendingRequests = {};\n\t// Use a prefilter if available (1.5+)\n\tif ( $.ajaxPrefilter ) {\n\t\t$.ajaxPrefilter(function( settings, _, xhr ) {\n\t\t\tvar port = settings.port;\n\t\t\tif ( settings.mode === \"abort\" ) {\n\t\t\t\tif ( pendingRequests[port] ) {\n\t\t\t\t\tpendingRequests[port].abort();\n\t\t\t\t}\n\t\t\t\tpendingRequests[port] = xhr;\n\t\t\t}\n\t\t});\n\t} else {\n\t\t// Proxy ajax\n\t\tvar ajax = $.ajax;\n\t\t$.ajax = function( settings ) {\n\t\t\tvar mode = ( \"mode\" in settings ? settings : $.ajaxSettings ).mode,\n\t\t\t\tport = ( \"port\" in settings ? settings : $.ajaxSettings ).port;\n\t\t\tif ( mode === \"abort\" ) {\n\t\t\t\tif ( pendingRequests[port] ) {\n\t\t\t\t\tpendingRequests[port].abort();\n\t\t\t\t}\n\t\t\t\tpendingRequests[port] = ajax.apply(this, arguments);\n\t\t\t\treturn pendingRequests[port];\n\t\t\t}\n\t\t\treturn ajax.apply(this, arguments);\n\t\t};\n\t}\n}(jQuery));\n\n// provides delegate(type: String, delegate: Selector, handler: Callback) plugin for easier event delegation\n// handler is only called when $(event.target).is(delegate), in the scope of the jquery-object for event.target\n(function($) {\n\t$.extend($.fn, {\n\t\tvalidateDelegate: function( delegate, type, handler ) {\n\t\t\treturn this.bind(type, function( event ) {\n\t\t\t\tvar target = $(event.target);\n\t\t\t\tif ( target.is(delegate) ) {\n\t\t\t\t\treturn handler.apply(target, arguments);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t});\n}(jQuery));\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/jquery.validate.unobtrusive.js",
    "content": "/* NUGET: BEGIN LICENSE TEXT\n *\n * Microsoft grants you the right to use these script files for the sole\n * purpose of either: (i) interacting through your browser with the Microsoft\n * website or online service, subject to the applicable licensing or use\n * terms; or (ii) using the files as included with a Microsoft product subject\n * to that product's license terms. Microsoft reserves all other rights to the\n * files not expressly granted by Microsoft, whether by implication, estoppel\n * or otherwise. Insofar as a script file is dual licensed under GPL,\n * Microsoft neither took the code under GPL nor distributes it thereunder but\n * under the terms set out in this paragraph. All notices and licenses\n * below are for informational purposes only.\n *\n * NUGET: END LICENSE TEXT */\n/*!\n** Unobtrusive validation support library for jQuery and jQuery Validate\n** Copyright (C) Microsoft Corporation. All rights reserved.\n*/\n\n/*jslint white: true, browser: true, onevar: true, undef: true, nomen: true, eqeqeq: true, plusplus: true, bitwise: true, regexp: true, newcap: true, immed: true, strict: false */\n/*global document: false, jQuery: false */\n\n(function ($) {\n    var $jQval = $.validator,\n        adapters,\n        data_validation = \"unobtrusiveValidation\";\n\n    function setValidationValues(options, ruleName, value) {\n        options.rules[ruleName] = value;\n        if (options.message) {\n            options.messages[ruleName] = options.message;\n        }\n    }\n\n    function splitAndTrim(value) {\n        return value.replace(/^\\s+|\\s+$/g, \"\").split(/\\s*,\\s*/g);\n    }\n\n    function escapeAttributeValue(value) {\n        // As mentioned on http://api.jquery.com/category/selectors/\n        return value.replace(/([!\"#$%&'()*+,./:;<=>?@\\[\\\\\\]^`{|}~])/g, \"\\\\$1\");\n    }\n\n    function getModelPrefix(fieldName) {\n        return fieldName.substr(0, fieldName.lastIndexOf(\".\") + 1);\n    }\n\n    function appendModelPrefix(value, prefix) {\n        if (value.indexOf(\"*.\") === 0) {\n            value = value.replace(\"*.\", prefix);\n        }\n        return value;\n    }\n\n    function onError(error, inputElement) {  // 'this' is the form element\n        var container = $(this).find(\"[data-valmsg-for='\" + escapeAttributeValue(inputElement[0].name) + \"']\"),\n            replaceAttrValue = container.attr(\"data-valmsg-replace\"),\n            replace = replaceAttrValue ? $.parseJSON(replaceAttrValue) !== false : null;\n\n        container.removeClass(\"field-validation-valid\").addClass(\"field-validation-error\");\n        error.data(\"unobtrusiveContainer\", container);\n\n        if (replace) {\n            container.empty();\n            error.removeClass(\"input-validation-error\").appendTo(container);\n        }\n        else {\n            error.hide();\n        }\n    }\n\n    function onErrors(event, validator) {  // 'this' is the form element\n        var container = $(this).find(\"[data-valmsg-summary=true]\"),\n            list = container.find(\"ul\");\n\n        if (list && list.length && validator.errorList.length) {\n            list.empty();\n            container.addClass(\"validation-summary-errors\").removeClass(\"validation-summary-valid\");\n\n            $.each(validator.errorList, function () {\n                $(\"<li />\").html(this.message).appendTo(list);\n            });\n        }\n    }\n\n    function onSuccess(error) {  // 'this' is the form element\n        var container = error.data(\"unobtrusiveContainer\"),\n            replaceAttrValue = container.attr(\"data-valmsg-replace\"),\n            replace = replaceAttrValue ? $.parseJSON(replaceAttrValue) : null;\n\n        if (container) {\n            container.addClass(\"field-validation-valid\").removeClass(\"field-validation-error\");\n            error.removeData(\"unobtrusiveContainer\");\n\n            if (replace) {\n                container.empty();\n            }\n        }\n    }\n\n    function onReset(event) {  // 'this' is the form element\n        var $form = $(this);\n        $form.data(\"validator\").resetForm();\n        $form.find(\".validation-summary-errors\")\n            .addClass(\"validation-summary-valid\")\n            .removeClass(\"validation-summary-errors\");\n        $form.find(\".field-validation-error\")\n            .addClass(\"field-validation-valid\")\n            .removeClass(\"field-validation-error\")\n            .removeData(\"unobtrusiveContainer\")\n            .find(\">*\")  // If we were using valmsg-replace, get the underlying error\n                .removeData(\"unobtrusiveContainer\");\n    }\n\n    function validationInfo(form) {\n        var $form = $(form),\n            result = $form.data(data_validation),\n            onResetProxy = $.proxy(onReset, form),\n            defaultOptions = $jQval.unobtrusive.options || {},\n            execInContext = function (name, args) {\n                var func = defaultOptions[name];\n                func && $.isFunction(func) && func.apply(form, args);\n            }\n\n        if (!result) {\n            result = {\n                options: {  // options structure passed to jQuery Validate's validate() method\n                    errorClass: defaultOptions.errorClass || \"input-validation-error\",\n                    errorElement: defaultOptions.errorElement || \"span\",\n                    errorPlacement: function () {\n                        onError.apply(form, arguments);\n                        execInContext(\"errorPlacement\", arguments);\n                    },\n                    invalidHandler: function () {\n                        onErrors.apply(form, arguments);\n                        execInContext(\"invalidHandler\", arguments);\n                    },\n                    messages: {},\n                    rules: {},\n                    success: function () {\n                        onSuccess.apply(form, arguments);\n                        execInContext(\"success\", arguments);\n                    }\n                },\n                attachValidation: function () {\n                    $form\n                        .off(\"reset.\" + data_validation, onResetProxy)\n                        .on(\"reset.\" + data_validation, onResetProxy)\n                        .validate(this.options);\n                },\n                validate: function () {  // a validation function that is called by unobtrusive Ajax\n                    $form.validate();\n                    return $form.valid();\n                }\n            };\n            $form.data(data_validation, result);\n        }\n\n        return result;\n    }\n\n    $jQval.unobtrusive = {\n        adapters: [],\n\n        parseElement: function (element, skipAttach) {\n            /// <summary>\n            /// Parses a single HTML element for unobtrusive validation attributes.\n            /// </summary>\n            /// <param name=\"element\" domElement=\"true\">The HTML element to be parsed.</param>\n            /// <param name=\"skipAttach\" type=\"Boolean\">[Optional] true to skip attaching the\n            /// validation to the form. If parsing just this single element, you should specify true.\n            /// If parsing several elements, you should specify false, and manually attach the validation\n            /// to the form when you are finished. The default is false.</param>\n            var $element = $(element),\n                form = $element.parents(\"form\")[0],\n                valInfo, rules, messages;\n\n            if (!form) {  // Cannot do client-side validation without a form\n                return;\n            }\n\n            valInfo = validationInfo(form);\n            valInfo.options.rules[element.name] = rules = {};\n            valInfo.options.messages[element.name] = messages = {};\n\n            $.each(this.adapters, function () {\n                var prefix = \"data-val-\" + this.name,\n                    message = $element.attr(prefix),\n                    paramValues = {};\n\n                if (message !== undefined) {  // Compare against undefined, because an empty message is legal (and falsy)\n                    prefix += \"-\";\n\n                    $.each(this.params, function () {\n                        paramValues[this] = $element.attr(prefix + this);\n                    });\n\n                    this.adapt({\n                        element: element,\n                        form: form,\n                        message: message,\n                        params: paramValues,\n                        rules: rules,\n                        messages: messages\n                    });\n                }\n            });\n\n            $.extend(rules, { \"__dummy__\": true });\n\n            if (!skipAttach) {\n                valInfo.attachValidation();\n            }\n        },\n\n        parse: function (selector) {\n            /// <summary>\n            /// Parses all the HTML elements in the specified selector. It looks for input elements decorated\n            /// with the [data-val=true] attribute value and enables validation according to the data-val-*\n            /// attribute values.\n            /// </summary>\n            /// <param name=\"selector\" type=\"String\">Any valid jQuery selector.</param>\n\n            // $forms includes all forms in selector's DOM hierarchy (parent, children and self) that have at least one\n            // element with data-val=true\n            var $selector = $(selector),\n                $forms = $selector.parents()\n                                  .addBack()\n                                  .filter(\"form\")\n                                  .add($selector.find(\"form\"))\n                                  .has(\"[data-val=true]\");\n\n            $selector.find(\"[data-val=true]\").each(function () {\n                $jQval.unobtrusive.parseElement(this, true);\n            });\n\n            $forms.each(function () {\n                var info = validationInfo(this);\n                if (info) {\n                    info.attachValidation();\n                }\n            });\n        }\n    };\n\n    adapters = $jQval.unobtrusive.adapters;\n\n    adapters.add = function (adapterName, params, fn) {\n        /// <summary>Adds a new adapter to convert unobtrusive HTML into a jQuery Validate validation.</summary>\n        /// <param name=\"adapterName\" type=\"String\">The name of the adapter to be added. This matches the name used\n        /// in the data-val-nnnn HTML attribute (where nnnn is the adapter name).</param>\n        /// <param name=\"params\" type=\"Array\" optional=\"true\">[Optional] An array of parameter names (strings) that will\n        /// be extracted from the data-val-nnnn-mmmm HTML attributes (where nnnn is the adapter name, and\n        /// mmmm is the parameter name).</param>\n        /// <param name=\"fn\" type=\"Function\">The function to call, which adapts the values from the HTML\n        /// attributes into jQuery Validate rules and/or messages.</param>\n        /// <returns type=\"jQuery.validator.unobtrusive.adapters\" />\n        if (!fn) {  // Called with no params, just a function\n            fn = params;\n            params = [];\n        }\n        this.push({ name: adapterName, params: params, adapt: fn });\n        return this;\n    };\n\n    adapters.addBool = function (adapterName, ruleName) {\n        /// <summary>Adds a new adapter to convert unobtrusive HTML into a jQuery Validate validation, where\n        /// the jQuery Validate validation rule has no parameter values.</summary>\n        /// <param name=\"adapterName\" type=\"String\">The name of the adapter to be added. This matches the name used\n        /// in the data-val-nnnn HTML attribute (where nnnn is the adapter name).</param>\n        /// <param name=\"ruleName\" type=\"String\" optional=\"true\">[Optional] The name of the jQuery Validate rule. If not provided, the value\n        /// of adapterName will be used instead.</param>\n        /// <returns type=\"jQuery.validator.unobtrusive.adapters\" />\n        return this.add(adapterName, function (options) {\n            setValidationValues(options, ruleName || adapterName, true);\n        });\n    };\n\n    adapters.addMinMax = function (adapterName, minRuleName, maxRuleName, minMaxRuleName, minAttribute, maxAttribute) {\n        /// <summary>Adds a new adapter to convert unobtrusive HTML into a jQuery Validate validation, where\n        /// the jQuery Validate validation has three potential rules (one for min-only, one for max-only, and\n        /// one for min-and-max). The HTML parameters are expected to be named -min and -max.</summary>\n        /// <param name=\"adapterName\" type=\"String\">The name of the adapter to be added. This matches the name used\n        /// in the data-val-nnnn HTML attribute (where nnnn is the adapter name).</param>\n        /// <param name=\"minRuleName\" type=\"String\">The name of the jQuery Validate rule to be used when you only\n        /// have a minimum value.</param>\n        /// <param name=\"maxRuleName\" type=\"String\">The name of the jQuery Validate rule to be used when you only\n        /// have a maximum value.</param>\n        /// <param name=\"minMaxRuleName\" type=\"String\">The name of the jQuery Validate rule to be used when you\n        /// have both a minimum and maximum value.</param>\n        /// <param name=\"minAttribute\" type=\"String\" optional=\"true\">[Optional] The name of the HTML attribute that\n        /// contains the minimum value. The default is \"min\".</param>\n        /// <param name=\"maxAttribute\" type=\"String\" optional=\"true\">[Optional] The name of the HTML attribute that\n        /// contains the maximum value. The default is \"max\".</param>\n        /// <returns type=\"jQuery.validator.unobtrusive.adapters\" />\n        return this.add(adapterName, [minAttribute || \"min\", maxAttribute || \"max\"], function (options) {\n            var min = options.params.min,\n                max = options.params.max;\n\n            if (min && max) {\n                setValidationValues(options, minMaxRuleName, [min, max]);\n            }\n            else if (min) {\n                setValidationValues(options, minRuleName, min);\n            }\n            else if (max) {\n                setValidationValues(options, maxRuleName, max);\n            }\n        });\n    };\n\n    adapters.addSingleVal = function (adapterName, attribute, ruleName) {\n        /// <summary>Adds a new adapter to convert unobtrusive HTML into a jQuery Validate validation, where\n        /// the jQuery Validate validation rule has a single value.</summary>\n        /// <param name=\"adapterName\" type=\"String\">The name of the adapter to be added. This matches the name used\n        /// in the data-val-nnnn HTML attribute(where nnnn is the adapter name).</param>\n        /// <param name=\"attribute\" type=\"String\">[Optional] The name of the HTML attribute that contains the value.\n        /// The default is \"val\".</param>\n        /// <param name=\"ruleName\" type=\"String\" optional=\"true\">[Optional] The name of the jQuery Validate rule. If not provided, the value\n        /// of adapterName will be used instead.</param>\n        /// <returns type=\"jQuery.validator.unobtrusive.adapters\" />\n        return this.add(adapterName, [attribute || \"val\"], function (options) {\n            setValidationValues(options, ruleName || adapterName, options.params[attribute]);\n        });\n    };\n\n    $jQval.addMethod(\"__dummy__\", function (value, element, params) {\n        return true;\n    });\n\n    $jQval.addMethod(\"regex\", function (value, element, params) {\n        var match;\n        if (this.optional(element)) {\n            return true;\n        }\n\n        match = new RegExp(params).exec(value);\n        return (match && (match.index === 0) && (match[0].length === value.length));\n    });\n\n    $jQval.addMethod(\"nonalphamin\", function (value, element, nonalphamin) {\n        var match;\n        if (nonalphamin) {\n            match = value.match(/\\W/g);\n            match = match && match.length >= nonalphamin;\n        }\n        return match;\n    });\n\n    if ($jQval.methods.extension) {\n        adapters.addSingleVal(\"accept\", \"mimtype\");\n        adapters.addSingleVal(\"extension\", \"extension\");\n    } else {\n        // for backward compatibility, when the 'extension' validation method does not exist, such as with versions\n        // of JQuery Validation plugin prior to 1.10, we should use the 'accept' method for\n        // validating the extension, and ignore mime-type validations as they are not supported.\n        adapters.addSingleVal(\"extension\", \"extension\", \"accept\");\n    }\n\n    adapters.addSingleVal(\"regex\", \"pattern\");\n    adapters.addBool(\"creditcard\").addBool(\"date\").addBool(\"digits\").addBool(\"email\").addBool(\"number\").addBool(\"url\");\n    adapters.addMinMax(\"length\", \"minlength\", \"maxlength\", \"rangelength\").addMinMax(\"range\", \"min\", \"max\", \"range\");\n    adapters.addMinMax(\"minlength\", \"minlength\").addMinMax(\"maxlength\", \"minlength\", \"maxlength\");\n    adapters.add(\"equalto\", [\"other\"], function (options) {\n        var prefix = getModelPrefix(options.element.name),\n            other = options.params.other,\n            fullOtherName = appendModelPrefix(other, prefix),\n            element = $(options.form).find(\":input\").filter(\"[name='\" + escapeAttributeValue(fullOtherName) + \"']\")[0];\n\n        setValidationValues(options, \"equalTo\", element);\n    });\n    adapters.add(\"required\", function (options) {\n        // jQuery Validate equates \"required\" with \"mandatory\" for checkbox elements\n        if (options.element.tagName.toUpperCase() !== \"INPUT\" || options.element.type.toUpperCase() !== \"CHECKBOX\") {\n            setValidationValues(options, \"required\", true);\n        }\n    });\n    adapters.add(\"remote\", [\"url\", \"type\", \"additionalfields\"], function (options) {\n        var value = {\n            url: options.params.url,\n            type: options.params.type || \"GET\",\n            data: {}\n        },\n            prefix = getModelPrefix(options.element.name);\n\n        $.each(splitAndTrim(options.params.additionalfields || options.element.name), function (i, fieldName) {\n            var paramName = appendModelPrefix(fieldName, prefix);\n            value.data[paramName] = function () {\n                return $(options.form).find(\":input\").filter(\"[name='\" + escapeAttributeValue(paramName) + \"']\").val();\n            };\n        });\n\n        setValidationValues(options, \"remote\", value);\n    });\n    adapters.add(\"password\", [\"min\", \"nonalphamin\", \"regex\"], function (options) {\n        if (options.params.min) {\n            setValidationValues(options, \"minlength\", options.params.min);\n        }\n        if (options.params.nonalphamin) {\n            setValidationValues(options, \"nonalphamin\", options.params.nonalphamin);\n        }\n        if (options.params.regex) {\n            setValidationValues(options, \"regex\", options.params.regex);\n        }\n    });\n\n    $(function () {\n        $jQval.unobtrusive.parse(document);\n    });\n}(jQuery));"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/modernizr-2.6.2.js",
    "content": "/* NUGET: BEGIN LICENSE TEXT\n *\n * Microsoft grants you the right to use these script files for the sole\n * purpose of either: (i) interacting through your browser with the Microsoft\n * website or online service, subject to the applicable licensing or use\n * terms; or (ii) using the files as included with a Microsoft product subject\n * to that product's license terms. Microsoft reserves all other rights to the\n * files not expressly granted by Microsoft, whether by implication, estoppel\n * or otherwise. Insofar as a script file is dual licensed under GPL,\n * Microsoft neither took the code under GPL nor distributes it thereunder but\n * under the terms set out in this paragraph. All notices and licenses\n * below are for informational purposes only.\n *\n * Copyright (c) Faruk Ates, Paul Irish, Alex Sexton; http://www.modernizr.com/license/\n *\n * Includes matchMedia polyfill; Copyright (c) 2010 Filament Group, Inc; http://opensource.org/licenses/MIT\n *\n * Includes material adapted from ES5-shim https://github.com/kriskowal/es5-shim/blob/master/es5-shim.js; Copyright 2009-2012 by contributors; http://opensource.org/licenses/MIT\n *\n * Includes material from css-support; Copyright (c) 2005-2012 Diego Perini; https://github.com/dperini/css-support/blob/master/LICENSE\n *\n * NUGET: END LICENSE TEXT */\n\n/*!\n * Modernizr v2.6.2\n * www.modernizr.com\n *\n * Copyright (c) Faruk Ates, Paul Irish, Alex Sexton\n * Available under the BSD and MIT licenses: www.modernizr.com/license/\n */\n\n/*\n * Modernizr tests which native CSS3 and HTML5 features are available in\n * the current UA and makes the results available to you in two ways:\n * as properties on a global Modernizr object, and as classes on the\n * <html> element. This information allows you to progressively enhance\n * your pages with a granular level of control over the experience.\n *\n * Modernizr has an optional (not included) conditional resource loader\n * called Modernizr.load(), based on Yepnope.js (yepnopejs.com).\n * To get a build that includes Modernizr.load(), as well as choosing\n * which tests to include, go to www.modernizr.com/download/\n *\n * Authors        Faruk Ates, Paul Irish, Alex Sexton\n * Contributors   Ryan Seddon, Ben Alman\n */\n\nwindow.Modernizr = (function( window, document, undefined ) {\n\n    var version = '2.6.2',\n\n    Modernizr = {},\n\n    /*>>cssclasses*/\n    // option for enabling the HTML classes to be added\n    enableClasses = true,\n    /*>>cssclasses*/\n\n    docElement = document.documentElement,\n\n    /**\n     * Create our \"modernizr\" element that we do most feature tests on.\n     */\n    mod = 'modernizr',\n    modElem = document.createElement(mod),\n    mStyle = modElem.style,\n\n    /**\n     * Create the input element for various Web Forms feature tests.\n     */\n    inputElem /*>>inputelem*/ = document.createElement('input') /*>>inputelem*/ ,\n\n    /*>>smile*/\n    smile = ':)',\n    /*>>smile*/\n\n    toString = {}.toString,\n\n    // TODO :: make the prefixes more granular\n    /*>>prefixes*/\n    // List of property values to set for css tests. See ticket #21\n    prefixes = ' -webkit- -moz- -o- -ms- '.split(' '),\n    /*>>prefixes*/\n\n    /*>>domprefixes*/\n    // Following spec is to expose vendor-specific style properties as:\n    //   elem.style.WebkitBorderRadius\n    // and the following would be incorrect:\n    //   elem.style.webkitBorderRadius\n\n    // Webkit ghosts their properties in lowercase but Opera & Moz do not.\n    // Microsoft uses a lowercase `ms` instead of the correct `Ms` in IE8+\n    //   erik.eae.net/archives/2008/03/10/21.48.10/\n\n    // More here: github.com/Modernizr/Modernizr/issues/issue/21\n    omPrefixes = 'Webkit Moz O ms',\n\n    cssomPrefixes = omPrefixes.split(' '),\n\n    domPrefixes = omPrefixes.toLowerCase().split(' '),\n    /*>>domprefixes*/\n\n    /*>>ns*/\n    ns = {'svg': 'http://www.w3.org/2000/svg'},\n    /*>>ns*/\n\n    tests = {},\n    inputs = {},\n    attrs = {},\n\n    classes = [],\n\n    slice = classes.slice,\n\n    featureName, // used in testing loop\n\n\n    /*>>teststyles*/\n    // Inject element with style element and some CSS rules\n    injectElementWithStyles = function( rule, callback, nodes, testnames ) {\n\n      var style, ret, node, docOverflow,\n          div = document.createElement('div'),\n          // After page load injecting a fake body doesn't work so check if body exists\n          body = document.body,\n          // IE6 and 7 won't return offsetWidth or offsetHeight unless it's in the body element, so we fake it.\n          fakeBody = body || document.createElement('body');\n\n      if ( parseInt(nodes, 10) ) {\n          // In order not to give false positives we create a node for each test\n          // This also allows the method to scale for unspecified uses\n          while ( nodes-- ) {\n              node = document.createElement('div');\n              node.id = testnames ? testnames[nodes] : mod + (nodes + 1);\n              div.appendChild(node);\n          }\n      }\n\n      // <style> elements in IE6-9 are considered 'NoScope' elements and therefore will be removed\n      // when injected with innerHTML. To get around this you need to prepend the 'NoScope' element\n      // with a 'scoped' element, in our case the soft-hyphen entity as it won't mess with our measurements.\n      // msdn.microsoft.com/en-us/library/ms533897%28VS.85%29.aspx\n      // Documents served as xml will throw if using &shy; so use xml friendly encoded version. See issue #277\n      style = ['&#173;','<style id=\"s', mod, '\">', rule, '</style>'].join('');\n      div.id = mod;\n      // IE6 will false positive on some tests due to the style element inside the test div somehow interfering offsetHeight, so insert it into body or fakebody.\n      // Opera will act all quirky when injecting elements in documentElement when page is served as xml, needs fakebody too. #270\n      (body ? div : fakeBody).innerHTML += style;\n      fakeBody.appendChild(div);\n      if ( !body ) {\n          //avoid crashing IE8, if background image is used\n          fakeBody.style.background = '';\n          //Safari 5.13/5.1.4 OSX stops loading if ::-webkit-scrollbar is used and scrollbars are visible\n          fakeBody.style.overflow = 'hidden';\n          docOverflow = docElement.style.overflow;\n          docElement.style.overflow = 'hidden';\n          docElement.appendChild(fakeBody);\n      }\n\n      ret = callback(div, rule);\n      // If this is done after page load we don't want to remove the body so check if body exists\n      if ( !body ) {\n          fakeBody.parentNode.removeChild(fakeBody);\n          docElement.style.overflow = docOverflow;\n      } else {\n          div.parentNode.removeChild(div);\n      }\n\n      return !!ret;\n\n    },\n    /*>>teststyles*/\n\n    /*>>mq*/\n    // adapted from matchMedia polyfill\n    // by Scott Jehl and Paul Irish\n    // gist.github.com/786768\n    testMediaQuery = function( mq ) {\n\n      var matchMedia = window.matchMedia || window.msMatchMedia;\n      if ( matchMedia ) {\n        return matchMedia(mq).matches;\n      }\n\n      var bool;\n\n      injectElementWithStyles('@media ' + mq + ' { #' + mod + ' { position: absolute; } }', function( node ) {\n        bool = (window.getComputedStyle ?\n                  getComputedStyle(node, null) :\n                  node.currentStyle)['position'] == 'absolute';\n      });\n\n      return bool;\n\n     },\n     /*>>mq*/\n\n\n    /*>>hasevent*/\n    //\n    // isEventSupported determines if a given element supports the given event\n    // kangax.github.com/iseventsupported/\n    //\n    // The following results are known incorrects:\n    //   Modernizr.hasEvent(\"webkitTransitionEnd\", elem) // false negative\n    //   Modernizr.hasEvent(\"textInput\") // in Webkit. github.com/Modernizr/Modernizr/issues/333\n    //   ...\n    isEventSupported = (function() {\n\n      var TAGNAMES = {\n        'select': 'input', 'change': 'input',\n        'submit': 'form', 'reset': 'form',\n        'error': 'img', 'load': 'img', 'abort': 'img'\n      };\n\n      function isEventSupported( eventName, element ) {\n\n        element = element || document.createElement(TAGNAMES[eventName] || 'div');\n        eventName = 'on' + eventName;\n\n        // When using `setAttribute`, IE skips \"unload\", WebKit skips \"unload\" and \"resize\", whereas `in` \"catches\" those\n        var isSupported = eventName in element;\n\n        if ( !isSupported ) {\n          // If it has no `setAttribute` (i.e. doesn't implement Node interface), try generic element\n          if ( !element.setAttribute ) {\n            element = document.createElement('div');\n          }\n          if ( element.setAttribute && element.removeAttribute ) {\n            element.setAttribute(eventName, '');\n            isSupported = is(element[eventName], 'function');\n\n            // If property was created, \"remove it\" (by setting value to `undefined`)\n            if ( !is(element[eventName], 'undefined') ) {\n              element[eventName] = undefined;\n            }\n            element.removeAttribute(eventName);\n          }\n        }\n\n        element = null;\n        return isSupported;\n      }\n      return isEventSupported;\n    })(),\n    /*>>hasevent*/\n\n    // TODO :: Add flag for hasownprop ? didn't last time\n\n    // hasOwnProperty shim by kangax needed for Safari 2.0 support\n    _hasOwnProperty = ({}).hasOwnProperty, hasOwnProp;\n\n    if ( !is(_hasOwnProperty, 'undefined') && !is(_hasOwnProperty.call, 'undefined') ) {\n      hasOwnProp = function (object, property) {\n        return _hasOwnProperty.call(object, property);\n      };\n    }\n    else {\n      hasOwnProp = function (object, property) { /* yes, this can give false positives/negatives, but most of the time we don't care about those */\n        return ((property in object) && is(object.constructor.prototype[property], 'undefined'));\n      };\n    }\n\n    // Adapted from ES5-shim https://github.com/kriskowal/es5-shim/blob/master/es5-shim.js\n    // es5.github.com/#x15.3.4.5\n\n    if (!Function.prototype.bind) {\n      Function.prototype.bind = function bind(that) {\n\n        var target = this;\n\n        if (typeof target != \"function\") {\n            throw new TypeError();\n        }\n\n        var args = slice.call(arguments, 1),\n            bound = function () {\n\n            if (this instanceof bound) {\n\n              var F = function(){};\n              F.prototype = target.prototype;\n              var self = new F();\n\n              var result = target.apply(\n                  self,\n                  args.concat(slice.call(arguments))\n              );\n              if (Object(result) === result) {\n                  return result;\n              }\n              return self;\n\n            } else {\n\n              return target.apply(\n                  that,\n                  args.concat(slice.call(arguments))\n              );\n\n            }\n\n        };\n\n        return bound;\n      };\n    }\n\n    /**\n     * setCss applies given styles to the Modernizr DOM node.\n     */\n    function setCss( str ) {\n        mStyle.cssText = str;\n    }\n\n    /**\n     * setCssAll extrapolates all vendor-specific css strings.\n     */\n    function setCssAll( str1, str2 ) {\n        return setCss(prefixes.join(str1 + ';') + ( str2 || '' ));\n    }\n\n    /**\n     * is returns a boolean for if typeof obj is exactly type.\n     */\n    function is( obj, type ) {\n        return typeof obj === type;\n    }\n\n    /**\n     * contains returns a boolean for if substr is found within str.\n     */\n    function contains( str, substr ) {\n        return !!~('' + str).indexOf(substr);\n    }\n\n    /*>>testprop*/\n\n    // testProps is a generic CSS / DOM property test.\n\n    // In testing support for a given CSS property, it's legit to test:\n    //    `elem.style[styleName] !== undefined`\n    // If the property is supported it will return an empty string,\n    // if unsupported it will return undefined.\n\n    // We'll take advantage of this quick test and skip setting a style\n    // on our modernizr element, but instead just testing undefined vs\n    // empty string.\n\n    // Because the testing of the CSS property names (with \"-\", as\n    // opposed to the camelCase DOM properties) is non-portable and\n    // non-standard but works in WebKit and IE (but not Gecko or Opera),\n    // we explicitly reject properties with dashes so that authors\n    // developing in WebKit or IE first don't end up with\n    // browser-specific content by accident.\n\n    function testProps( props, prefixed ) {\n        for ( var i in props ) {\n            var prop = props[i];\n            if ( !contains(prop, \"-\") && mStyle[prop] !== undefined ) {\n                return prefixed == 'pfx' ? prop : true;\n            }\n        }\n        return false;\n    }\n    /*>>testprop*/\n\n    // TODO :: add testDOMProps\n    /**\n     * testDOMProps is a generic DOM property test; if a browser supports\n     *   a certain property, it won't return undefined for it.\n     */\n    function testDOMProps( props, obj, elem ) {\n        for ( var i in props ) {\n            var item = obj[props[i]];\n            if ( item !== undefined) {\n\n                // return the property name as a string\n                if (elem === false) return props[i];\n\n                // let's bind a function\n                if (is(item, 'function')){\n                  // default to autobind unless override\n                  return item.bind(elem || obj);\n                }\n\n                // return the unbound function or obj or value\n                return item;\n            }\n        }\n        return false;\n    }\n\n    /*>>testallprops*/\n    /**\n     * testPropsAll tests a list of DOM properties we want to check against.\n     *   We specify literally ALL possible (known and/or likely) properties on\n     *   the element including the non-vendor prefixed one, for forward-\n     *   compatibility.\n     */\n    function testPropsAll( prop, prefixed, elem ) {\n\n        var ucProp  = prop.charAt(0).toUpperCase() + prop.slice(1),\n            props   = (prop + ' ' + cssomPrefixes.join(ucProp + ' ') + ucProp).split(' ');\n\n        // did they call .prefixed('boxSizing') or are we just testing a prop?\n        if(is(prefixed, \"string\") || is(prefixed, \"undefined\")) {\n          return testProps(props, prefixed);\n\n        // otherwise, they called .prefixed('requestAnimationFrame', window[, elem])\n        } else {\n          props = (prop + ' ' + (domPrefixes).join(ucProp + ' ') + ucProp).split(' ');\n          return testDOMProps(props, prefixed, elem);\n        }\n    }\n    /*>>testallprops*/\n\n\n    /**\n     * Tests\n     * -----\n     */\n\n    // The *new* flexbox\n    // dev.w3.org/csswg/css3-flexbox\n\n    tests['flexbox'] = function() {\n      return testPropsAll('flexWrap');\n    };\n\n    // The *old* flexbox\n    // www.w3.org/TR/2009/WD-css3-flexbox-20090723/\n\n    tests['flexboxlegacy'] = function() {\n        return testPropsAll('boxDirection');\n    };\n\n    // On the S60 and BB Storm, getContext exists, but always returns undefined\n    // so we actually have to call getContext() to verify\n    // github.com/Modernizr/Modernizr/issues/issue/97/\n\n    tests['canvas'] = function() {\n        var elem = document.createElement('canvas');\n        return !!(elem.getContext && elem.getContext('2d'));\n    };\n\n    tests['canvastext'] = function() {\n        return !!(Modernizr['canvas'] && is(document.createElement('canvas').getContext('2d').fillText, 'function'));\n    };\n\n    // webk.it/70117 is tracking a legit WebGL feature detect proposal\n\n    // We do a soft detect which may false positive in order to avoid\n    // an expensive context creation: bugzil.la/732441\n\n    tests['webgl'] = function() {\n        return !!window.WebGLRenderingContext;\n    };\n\n    /*\n     * The Modernizr.touch test only indicates if the browser supports\n     *    touch events, which does not necessarily reflect a touchscreen\n     *    device, as evidenced by tablets running Windows 7 or, alas,\n     *    the Palm Pre / WebOS (touch) phones.\n     *\n     * Additionally, Chrome (desktop) used to lie about its support on this,\n     *    but that has since been rectified: crbug.com/36415\n     *\n     * We also test for Firefox 4 Multitouch Support.\n     *\n     * For more info, see: modernizr.github.com/Modernizr/touch.html\n     */\n\n    tests['touch'] = function() {\n        var bool;\n\n        if(('ontouchstart' in window) || window.DocumentTouch && document instanceof DocumentTouch) {\n          bool = true;\n        } else {\n          injectElementWithStyles(['@media (',prefixes.join('touch-enabled),('),mod,')','{#modernizr{top:9px;position:absolute}}'].join(''), function( node ) {\n            bool = node.offsetTop === 9;\n          });\n        }\n\n        return bool;\n    };\n\n\n    // geolocation is often considered a trivial feature detect...\n    // Turns out, it's quite tricky to get right:\n    //\n    // Using !!navigator.geolocation does two things we don't want. It:\n    //   1. Leaks memory in IE9: github.com/Modernizr/Modernizr/issues/513\n    //   2. Disables page caching in WebKit: webk.it/43956\n    //\n    // Meanwhile, in Firefox < 8, an about:config setting could expose\n    // a false positive that would throw an exception: bugzil.la/688158\n\n    tests['geolocation'] = function() {\n        return 'geolocation' in navigator;\n    };\n\n\n    tests['postmessage'] = function() {\n      return !!window.postMessage;\n    };\n\n\n    // Chrome incognito mode used to throw an exception when using openDatabase\n    // It doesn't anymore.\n    tests['websqldatabase'] = function() {\n      return !!window.openDatabase;\n    };\n\n    // Vendors had inconsistent prefixing with the experimental Indexed DB:\n    // - Webkit's implementation is accessible through webkitIndexedDB\n    // - Firefox shipped moz_indexedDB before FF4b9, but since then has been mozIndexedDB\n    // For speed, we don't test the legacy (and beta-only) indexedDB\n    tests['indexedDB'] = function() {\n      return !!testPropsAll(\"indexedDB\", window);\n    };\n\n    // documentMode logic from YUI to filter out IE8 Compat Mode\n    //   which false positives.\n    tests['hashchange'] = function() {\n      return isEventSupported('hashchange', window) && (document.documentMode === undefined || document.documentMode > 7);\n    };\n\n    // Per 1.6:\n    // This used to be Modernizr.historymanagement but the longer\n    // name has been deprecated in favor of a shorter and property-matching one.\n    // The old API is still available in 1.6, but as of 2.0 will throw a warning,\n    // and in the first release thereafter disappear entirely.\n    tests['history'] = function() {\n      return !!(window.history && history.pushState);\n    };\n\n    tests['draganddrop'] = function() {\n        var div = document.createElement('div');\n        return ('draggable' in div) || ('ondragstart' in div && 'ondrop' in div);\n    };\n\n    // FF3.6 was EOL'ed on 4/24/12, but the ESR version of FF10\n    // will be supported until FF19 (2/12/13), at which time, ESR becomes FF17.\n    // FF10 still uses prefixes, so check for it until then.\n    // for more ESR info, see: mozilla.org/en-US/firefox/organizations/faq/\n    tests['websockets'] = function() {\n        return 'WebSocket' in window || 'MozWebSocket' in window;\n    };\n\n\n    // css-tricks.com/rgba-browser-support/\n    tests['rgba'] = function() {\n        // Set an rgba() color and check the returned value\n\n        setCss('background-color:rgba(150,255,150,.5)');\n\n        return contains(mStyle.backgroundColor, 'rgba');\n    };\n\n    tests['hsla'] = function() {\n        // Same as rgba(), in fact, browsers re-map hsla() to rgba() internally,\n        //   except IE9 who retains it as hsla\n\n        setCss('background-color:hsla(120,40%,100%,.5)');\n\n        return contains(mStyle.backgroundColor, 'rgba') || contains(mStyle.backgroundColor, 'hsla');\n    };\n\n    tests['multiplebgs'] = function() {\n        // Setting multiple images AND a color on the background shorthand property\n        //  and then querying the style.background property value for the number of\n        //  occurrences of \"url(\" is a reliable method for detecting ACTUAL support for this!\n\n        setCss('background:url(https://),url(https://),red url(https://)');\n\n        // If the UA supports multiple backgrounds, there should be three occurrences\n        //   of the string \"url(\" in the return value for elemStyle.background\n\n        return (/(url\\s*\\(.*?){3}/).test(mStyle.background);\n    };\n\n\n\n    // this will false positive in Opera Mini\n    //   github.com/Modernizr/Modernizr/issues/396\n\n    tests['backgroundsize'] = function() {\n        return testPropsAll('backgroundSize');\n    };\n\n    tests['borderimage'] = function() {\n        return testPropsAll('borderImage');\n    };\n\n\n    // Super comprehensive table about all the unique implementations of\n    // border-radius: muddledramblings.com/table-of-css3-border-radius-compliance\n\n    tests['borderradius'] = function() {\n        return testPropsAll('borderRadius');\n    };\n\n    // WebOS unfortunately false positives on this test.\n    tests['boxshadow'] = function() {\n        return testPropsAll('boxShadow');\n    };\n\n    // FF3.0 will false positive on this test\n    tests['textshadow'] = function() {\n        return document.createElement('div').style.textShadow === '';\n    };\n\n\n    tests['opacity'] = function() {\n        // Browsers that actually have CSS Opacity implemented have done so\n        //  according to spec, which means their return values are within the\n        //  range of [0.0,1.0] - including the leading zero.\n\n        setCssAll('opacity:.55');\n\n        // The non-literal . in this regex is intentional:\n        //   German Chrome returns this value as 0,55\n        // github.com/Modernizr/Modernizr/issues/#issue/59/comment/516632\n        return (/^0.55$/).test(mStyle.opacity);\n    };\n\n\n    // Note, Android < 4 will pass this test, but can only animate\n    //   a single property at a time\n    //   daneden.me/2011/12/putting-up-with-androids-bullshit/\n    tests['cssanimations'] = function() {\n        return testPropsAll('animationName');\n    };\n\n\n    tests['csscolumns'] = function() {\n        return testPropsAll('columnCount');\n    };\n\n\n    tests['cssgradients'] = function() {\n        /**\n         * For CSS Gradients syntax, please see:\n         * webkit.org/blog/175/introducing-css-gradients/\n         * developer.mozilla.org/en/CSS/-moz-linear-gradient\n         * developer.mozilla.org/en/CSS/-moz-radial-gradient\n         * dev.w3.org/csswg/css3-images/#gradients-\n         */\n\n        var str1 = 'background-image:',\n            str2 = 'gradient(linear,left top,right bottom,from(#9f9),to(white));',\n            str3 = 'linear-gradient(left top,#9f9, white);';\n\n        setCss(\n             // legacy webkit syntax (FIXME: remove when syntax not in use anymore)\n              (str1 + '-webkit- '.split(' ').join(str2 + str1) +\n             // standard syntax             // trailing 'background-image:'\n              prefixes.join(str3 + str1)).slice(0, -str1.length)\n        );\n\n        return contains(mStyle.backgroundImage, 'gradient');\n    };\n\n\n    tests['cssreflections'] = function() {\n        return testPropsAll('boxReflect');\n    };\n\n\n    tests['csstransforms'] = function() {\n        return !!testPropsAll('transform');\n    };\n\n\n    tests['csstransforms3d'] = function() {\n\n        var ret = !!testPropsAll('perspective');\n\n        // Webkit's 3D transforms are passed off to the browser's own graphics renderer.\n        //   It works fine in Safari on Leopard and Snow Leopard, but not in Chrome in\n        //   some conditions. As a result, Webkit typically recognizes the syntax but\n        //   will sometimes throw a false positive, thus we must do a more thorough check:\n        if ( ret && 'webkitPerspective' in docElement.style ) {\n\n          // Webkit allows this media query to succeed only if the feature is enabled.\n          // `@media (transform-3d),(-webkit-transform-3d){ ... }`\n          injectElementWithStyles('@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}', function( node, rule ) {\n            ret = node.offsetLeft === 9 && node.offsetHeight === 3;\n          });\n        }\n        return ret;\n    };\n\n\n    tests['csstransitions'] = function() {\n        return testPropsAll('transition');\n    };\n\n\n    /*>>fontface*/\n    // @font-face detection routine by Diego Perini\n    // javascript.nwbox.com/CSSSupport/\n\n    // false positives:\n    //   WebOS github.com/Modernizr/Modernizr/issues/342\n    //   WP7   github.com/Modernizr/Modernizr/issues/538\n    tests['fontface'] = function() {\n        var bool;\n\n        injectElementWithStyles('@font-face {font-family:\"font\";src:url(\"https://\")}', function( node, rule ) {\n          var style = document.getElementById('smodernizr'),\n              sheet = style.sheet || style.styleSheet,\n              cssText = sheet ? (sheet.cssRules && sheet.cssRules[0] ? sheet.cssRules[0].cssText : sheet.cssText || '') : '';\n\n          bool = /src/i.test(cssText) && cssText.indexOf(rule.split(' ')[0]) === 0;\n        });\n\n        return bool;\n    };\n    /*>>fontface*/\n\n    // CSS generated content detection\n    tests['generatedcontent'] = function() {\n        var bool;\n\n        injectElementWithStyles(['#',mod,'{font:0/0 a}#',mod,':after{content:\"',smile,'\";visibility:hidden;font:3px/1 a}'].join(''), function( node ) {\n          bool = node.offsetHeight >= 3;\n        });\n\n        return bool;\n    };\n\n\n\n    // These tests evaluate support of the video/audio elements, as well as\n    // testing what types of content they support.\n    //\n    // We're using the Boolean constructor here, so that we can extend the value\n    // e.g.  Modernizr.video     // true\n    //       Modernizr.video.ogg // 'probably'\n    //\n    // Codec values from : github.com/NielsLeenheer/html5test/blob/9106a8/index.html#L845\n    //                     thx to NielsLeenheer and zcorpan\n\n    // Note: in some older browsers, \"no\" was a return value instead of empty string.\n    //   It was live in FF3.5.0 and 3.5.1, but fixed in 3.5.2\n    //   It was also live in Safari 4.0.0 - 4.0.4, but fixed in 4.0.5\n\n    tests['video'] = function() {\n        var elem = document.createElement('video'),\n            bool = false;\n\n        // IE9 Running on Windows Server SKU can cause an exception to be thrown, bug #224\n        try {\n            if ( bool = !!elem.canPlayType ) {\n                bool      = new Boolean(bool);\n                bool.ogg  = elem.canPlayType('video/ogg; codecs=\"theora\"')      .replace(/^no$/,'');\n\n                // Without QuickTime, this value will be `undefined`. github.com/Modernizr/Modernizr/issues/546\n                bool.h264 = elem.canPlayType('video/mp4; codecs=\"avc1.42E01E\"') .replace(/^no$/,'');\n\n                bool.webm = elem.canPlayType('video/webm; codecs=\"vp8, vorbis\"').replace(/^no$/,'');\n            }\n\n        } catch(e) { }\n\n        return bool;\n    };\n\n    tests['audio'] = function() {\n        var elem = document.createElement('audio'),\n            bool = false;\n\n        try {\n            if ( bool = !!elem.canPlayType ) {\n                bool      = new Boolean(bool);\n                bool.ogg  = elem.canPlayType('audio/ogg; codecs=\"vorbis\"').replace(/^no$/,'');\n                bool.mp3  = elem.canPlayType('audio/mpeg;')               .replace(/^no$/,'');\n\n                // Mimetypes accepted:\n                //   developer.mozilla.org/En/Media_formats_supported_by_the_audio_and_video_elements\n                //   bit.ly/iphoneoscodecs\n                bool.wav  = elem.canPlayType('audio/wav; codecs=\"1\"')     .replace(/^no$/,'');\n                bool.m4a  = ( elem.canPlayType('audio/x-m4a;')            ||\n                              elem.canPlayType('audio/aac;'))             .replace(/^no$/,'');\n            }\n        } catch(e) { }\n\n        return bool;\n    };\n\n\n    // In FF4, if disabled, window.localStorage should === null.\n\n    // Normally, we could not test that directly and need to do a\n    //   `('localStorage' in window) && ` test first because otherwise Firefox will\n    //   throw bugzil.la/365772 if cookies are disabled\n\n    // Also in iOS5 Private Browsing mode, attempting to use localStorage.setItem\n    // will throw the exception:\n    //   QUOTA_EXCEEDED_ERRROR DOM Exception 22.\n    // Peculiarly, getItem and removeItem calls do not throw.\n\n    // Because we are forced to try/catch this, we'll go aggressive.\n\n    // Just FWIW: IE8 Compat mode supports these features completely:\n    //   www.quirksmode.org/dom/html5.html\n    // But IE8 doesn't support either with local files\n\n    tests['localstorage'] = function() {\n        try {\n            localStorage.setItem(mod, mod);\n            localStorage.removeItem(mod);\n            return true;\n        } catch(e) {\n            return false;\n        }\n    };\n\n    tests['sessionstorage'] = function() {\n        try {\n            sessionStorage.setItem(mod, mod);\n            sessionStorage.removeItem(mod);\n            return true;\n        } catch(e) {\n            return false;\n        }\n    };\n\n\n    tests['webworkers'] = function() {\n        return !!window.Worker;\n    };\n\n\n    tests['applicationcache'] = function() {\n        return !!window.applicationCache;\n    };\n\n\n    // Thanks to Erik Dahlstrom\n    tests['svg'] = function() {\n        return !!document.createElementNS && !!document.createElementNS(ns.svg, 'svg').createSVGRect;\n    };\n\n    // specifically for SVG inline in HTML, not within XHTML\n    // test page: paulirish.com/demo/inline-svg\n    tests['inlinesvg'] = function() {\n      var div = document.createElement('div');\n      div.innerHTML = '<svg/>';\n      return (div.firstChild && div.firstChild.namespaceURI) == ns.svg;\n    };\n\n    // SVG SMIL animation\n    tests['smil'] = function() {\n        return !!document.createElementNS && /SVGAnimate/.test(toString.call(document.createElementNS(ns.svg, 'animate')));\n    };\n\n    // This test is only for clip paths in SVG proper, not clip paths on HTML content\n    // demo: srufaculty.sru.edu/david.dailey/svg/newstuff/clipPath4.svg\n\n    // However read the comments to dig into applying SVG clippaths to HTML content here:\n    //   github.com/Modernizr/Modernizr/issues/213#issuecomment-1149491\n    tests['svgclippaths'] = function() {\n        return !!document.createElementNS && /SVGClipPath/.test(toString.call(document.createElementNS(ns.svg, 'clipPath')));\n    };\n\n    /*>>webforms*/\n    // input features and input types go directly onto the ret object, bypassing the tests loop.\n    // Hold this guy to execute in a moment.\n    function webforms() {\n        /*>>input*/\n        // Run through HTML5's new input attributes to see if the UA understands any.\n        // We're using f which is the <input> element created early on\n        // Mike Taylr has created a comprehensive resource for testing these attributes\n        //   when applied to all input types:\n        //   miketaylr.com/code/input-type-attr.html\n        // spec: www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#input-type-attr-summary\n\n        // Only input placeholder is tested while textarea's placeholder is not.\n        // Currently Safari 4 and Opera 11 have support only for the input placeholder\n        // Both tests are available in feature-detects/forms-placeholder.js\n        Modernizr['input'] = (function( props ) {\n            for ( var i = 0, len = props.length; i < len; i++ ) {\n                attrs[ props[i] ] = !!(props[i] in inputElem);\n            }\n            if (attrs.list){\n              // safari false positive's on datalist: webk.it/74252\n              // see also github.com/Modernizr/Modernizr/issues/146\n              attrs.list = !!(document.createElement('datalist') && window.HTMLDataListElement);\n            }\n            return attrs;\n        })('autocomplete autofocus list placeholder max min multiple pattern required step'.split(' '));\n        /*>>input*/\n\n        /*>>inputtypes*/\n        // Run through HTML5's new input types to see if the UA understands any.\n        //   This is put behind the tests runloop because it doesn't return a\n        //   true/false like all the other tests; instead, it returns an object\n        //   containing each input type with its corresponding true/false value\n\n        // Big thanks to @miketaylr for the html5 forms expertise. miketaylr.com/\n        Modernizr['inputtypes'] = (function(props) {\n\n            for ( var i = 0, bool, inputElemType, defaultView, len = props.length; i < len; i++ ) {\n\n                inputElem.setAttribute('type', inputElemType = props[i]);\n                bool = inputElem.type !== 'text';\n\n                // We first check to see if the type we give it sticks..\n                // If the type does, we feed it a textual value, which shouldn't be valid.\n                // If the value doesn't stick, we know there's input sanitization which infers a custom UI\n                if ( bool ) {\n\n                    inputElem.value         = smile;\n                    inputElem.style.cssText = 'position:absolute;visibility:hidden;';\n\n                    if ( /^range$/.test(inputElemType) && inputElem.style.WebkitAppearance !== undefined ) {\n\n                      docElement.appendChild(inputElem);\n                      defaultView = document.defaultView;\n\n                      // Safari 2-4 allows the smiley as a value, despite making a slider\n                      bool =  defaultView.getComputedStyle &&\n                              defaultView.getComputedStyle(inputElem, null).WebkitAppearance !== 'textfield' &&\n                              // Mobile android web browser has false positive, so must\n                              // check the height to see if the widget is actually there.\n                              (inputElem.offsetHeight !== 0);\n\n                      docElement.removeChild(inputElem);\n\n                    } else if ( /^(search|tel)$/.test(inputElemType) ){\n                      // Spec doesn't define any special parsing or detectable UI\n                      //   behaviors so we pass these through as true\n\n                      // Interestingly, opera fails the earlier test, so it doesn't\n                      //  even make it here.\n\n                    } else if ( /^(url|email)$/.test(inputElemType) ) {\n                      // Real url and email support comes with prebaked validation.\n                      bool = inputElem.checkValidity && inputElem.checkValidity() === false;\n\n                    } else {\n                      // If the upgraded input compontent rejects the :) text, we got a winner\n                      bool = inputElem.value != smile;\n                    }\n                }\n\n                inputs[ props[i] ] = !!bool;\n            }\n            return inputs;\n        })('search tel url email datetime date month week time datetime-local number range color'.split(' '));\n        /*>>inputtypes*/\n    }\n    /*>>webforms*/\n\n\n    // End of test definitions\n    // -----------------------\n\n\n\n    // Run through all tests and detect their support in the current UA.\n    // todo: hypothetically we could be doing an array of tests and use a basic loop here.\n    for ( var feature in tests ) {\n        if ( hasOwnProp(tests, feature) ) {\n            // run the test, throw the return value into the Modernizr,\n            //   then based on that boolean, define an appropriate className\n            //   and push it into an array of classes we'll join later.\n            featureName  = feature.toLowerCase();\n            Modernizr[featureName] = tests[feature]();\n\n            classes.push((Modernizr[featureName] ? '' : 'no-') + featureName);\n        }\n    }\n\n    /*>>webforms*/\n    // input tests need to run.\n    Modernizr.input || webforms();\n    /*>>webforms*/\n\n\n    /**\n     * addTest allows the user to define their own feature tests\n     * the result will be added onto the Modernizr object,\n     * as well as an appropriate className set on the html element\n     *\n     * @param feature - String naming the feature\n     * @param test - Function returning true if feature is supported, false if not\n     */\n     Modernizr.addTest = function ( feature, test ) {\n       if ( typeof feature == 'object' ) {\n         for ( var key in feature ) {\n           if ( hasOwnProp( feature, key ) ) {\n             Modernizr.addTest( key, feature[ key ] );\n           }\n         }\n       } else {\n\n         feature = feature.toLowerCase();\n\n         if ( Modernizr[feature] !== undefined ) {\n           // we're going to quit if you're trying to overwrite an existing test\n           // if we were to allow it, we'd do this:\n           //   var re = new RegExp(\"\\\\b(no-)?\" + feature + \"\\\\b\");\n           //   docElement.className = docElement.className.replace( re, '' );\n           // but, no rly, stuff 'em.\n           return Modernizr;\n         }\n\n         test = typeof test == 'function' ? test() : test;\n\n         if (typeof enableClasses !== \"undefined\" && enableClasses) {\n           docElement.className += ' ' + (test ? '' : 'no-') + feature;\n         }\n         Modernizr[feature] = test;\n\n       }\n\n       return Modernizr; // allow chaining.\n     };\n\n\n    // Reset modElem.cssText to nothing to reduce memory footprint.\n    setCss('');\n    modElem = inputElem = null;\n\n    /*>>shiv*/\n    /*! HTML5 Shiv v3.6.1 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed */\n    ;(function(window, document) {\n    /*jshint evil:true */\n      /** Preset options */\n      var options = window.html5 || {};\n\n      /** Used to skip problem elements */\n      var reSkip = /^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i;\n\n      /** Not all elements can be cloned in IE **/\n      var saveClones = /^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i;\n\n      /** Detect whether the browser supports default html5 styles */\n      var supportsHtml5Styles;\n\n      /** Name of the expando, to work with multiple documents or to re-shiv one document */\n      var expando = '_html5shiv';\n\n      /** The id for the the documents expando */\n      var expanID = 0;\n\n      /** Cached data for each document */\n      var expandoData = {};\n\n      /** Detect whether the browser supports unknown elements */\n      var supportsUnknownElements;\n\n      (function() {\n        try {\n            var a = document.createElement('a');\n            a.innerHTML = '<xyz></xyz>';\n            //if the hidden property is implemented we can assume, that the browser supports basic HTML5 Styles\n            supportsHtml5Styles = ('hidden' in a);\n\n            supportsUnknownElements = a.childNodes.length == 1 || (function() {\n              // assign a false positive if unable to shiv\n              (document.createElement)('a');\n              var frag = document.createDocumentFragment();\n              return (\n                typeof frag.cloneNode == 'undefined' ||\n                typeof frag.createDocumentFragment == 'undefined' ||\n                typeof frag.createElement == 'undefined'\n              );\n            }());\n        } catch(e) {\n          supportsHtml5Styles = true;\n          supportsUnknownElements = true;\n        }\n\n      }());\n\n      /*--------------------------------------------------------------------------*/\n\n      /**\n       * Creates a style sheet with the given CSS text and adds it to the document.\n       * @private\n       * @param {Document} ownerDocument The document.\n       * @param {String} cssText The CSS text.\n       * @returns {StyleSheet} The style element.\n       */\n      function addStyleSheet(ownerDocument, cssText) {\n        var p = ownerDocument.createElement('p'),\n            parent = ownerDocument.getElementsByTagName('head')[0] || ownerDocument.documentElement;\n\n        p.innerHTML = 'x<style>' + cssText + '</style>';\n        return parent.insertBefore(p.lastChild, parent.firstChild);\n      }\n\n      /**\n       * Returns the value of `html5.elements` as an array.\n       * @private\n       * @returns {Array} An array of shived element node names.\n       */\n      function getElements() {\n        var elements = html5.elements;\n        return typeof elements == 'string' ? elements.split(' ') : elements;\n      }\n\n        /**\n       * Returns the data associated to the given document\n       * @private\n       * @param {Document} ownerDocument The document.\n       * @returns {Object} An object of data.\n       */\n      function getExpandoData(ownerDocument) {\n        var data = expandoData[ownerDocument[expando]];\n        if (!data) {\n            data = {};\n            expanID++;\n            ownerDocument[expando] = expanID;\n            expandoData[expanID] = data;\n        }\n        return data;\n      }\n\n      /**\n       * returns a shived element for the given nodeName and document\n       * @memberOf html5\n       * @param {String} nodeName name of the element\n       * @param {Document} ownerDocument The context document.\n       * @returns {Object} The shived element.\n       */\n      function createElement(nodeName, ownerDocument, data){\n        if (!ownerDocument) {\n            ownerDocument = document;\n        }\n        if(supportsUnknownElements){\n            return ownerDocument.createElement(nodeName);\n        }\n        if (!data) {\n            data = getExpandoData(ownerDocument);\n        }\n        var node;\n\n        if (data.cache[nodeName]) {\n            node = data.cache[nodeName].cloneNode();\n        } else if (saveClones.test(nodeName)) {\n            node = (data.cache[nodeName] = data.createElem(nodeName)).cloneNode();\n        } else {\n            node = data.createElem(nodeName);\n        }\n\n        // Avoid adding some elements to fragments in IE < 9 because\n        // * Attributes like `name` or `type` cannot be set/changed once an element\n        //   is inserted into a document/fragment\n        // * Link elements with `src` attributes that are inaccessible, as with\n        //   a 403 response, will cause the tab/window to crash\n        // * Script elements appended to fragments will execute when their `src`\n        //   or `text` property is set\n        return node.canHaveChildren && !reSkip.test(nodeName) ? data.frag.appendChild(node) : node;\n      }\n\n      /**\n       * returns a shived DocumentFragment for the given document\n       * @memberOf html5\n       * @param {Document} ownerDocument The context document.\n       * @returns {Object} The shived DocumentFragment.\n       */\n      function createDocumentFragment(ownerDocument, data){\n        if (!ownerDocument) {\n            ownerDocument = document;\n        }\n        if(supportsUnknownElements){\n            return ownerDocument.createDocumentFragment();\n        }\n        data = data || getExpandoData(ownerDocument);\n        var clone = data.frag.cloneNode(),\n            i = 0,\n            elems = getElements(),\n            l = elems.length;\n        for(;i<l;i++){\n            clone.createElement(elems[i]);\n        }\n        return clone;\n      }\n\n      /**\n       * Shivs the `createElement` and `createDocumentFragment` methods of the document.\n       * @private\n       * @param {Document|DocumentFragment} ownerDocument The document.\n       * @param {Object} data of the document.\n       */\n      function shivMethods(ownerDocument, data) {\n        if (!data.cache) {\n            data.cache = {};\n            data.createElem = ownerDocument.createElement;\n            data.createFrag = ownerDocument.createDocumentFragment;\n            data.frag = data.createFrag();\n        }\n\n\n        ownerDocument.createElement = function(nodeName) {\n          //abort shiv\n          if (!html5.shivMethods) {\n              return data.createElem(nodeName);\n          }\n          return createElement(nodeName, ownerDocument, data);\n        };\n\n        ownerDocument.createDocumentFragment = Function('h,f', 'return function(){' +\n          'var n=f.cloneNode(),c=n.createElement;' +\n          'h.shivMethods&&(' +\n            // unroll the `createElement` calls\n            getElements().join().replace(/\\w+/g, function(nodeName) {\n              data.createElem(nodeName);\n              data.frag.createElement(nodeName);\n              return 'c(\"' + nodeName + '\")';\n            }) +\n          ');return n}'\n        )(html5, data.frag);\n      }\n\n      /*--------------------------------------------------------------------------*/\n\n      /**\n       * Shivs the given document.\n       * @memberOf html5\n       * @param {Document} ownerDocument The document to shiv.\n       * @returns {Document} The shived document.\n       */\n      function shivDocument(ownerDocument) {\n        if (!ownerDocument) {\n            ownerDocument = document;\n        }\n        var data = getExpandoData(ownerDocument);\n\n        if (html5.shivCSS && !supportsHtml5Styles && !data.hasCSS) {\n          data.hasCSS = !!addStyleSheet(ownerDocument,\n            // corrects block display not defined in IE6/7/8/9\n            'article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}' +\n            // adds styling not present in IE6/7/8/9\n            'mark{background:#FF0;color:#000}'\n          );\n        }\n        if (!supportsUnknownElements) {\n          shivMethods(ownerDocument, data);\n        }\n        return ownerDocument;\n      }\n\n      /*--------------------------------------------------------------------------*/\n\n      /**\n       * The `html5` object is exposed so that more elements can be shived and\n       * existing shiving can be detected on iframes.\n       * @type Object\n       * @example\n       *\n       * // options can be changed before the script is included\n       * html5 = { 'elements': 'mark section', 'shivCSS': false, 'shivMethods': false };\n       */\n      var html5 = {\n\n        /**\n         * An array or space separated string of node names of the elements to shiv.\n         * @memberOf html5\n         * @type Array|String\n         */\n        'elements': options.elements || 'abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video',\n\n        /**\n         * A flag to indicate that the HTML5 style sheet should be inserted.\n         * @memberOf html5\n         * @type Boolean\n         */\n        'shivCSS': (options.shivCSS !== false),\n\n        /**\n         * Is equal to true if a browser supports creating unknown/HTML5 elements\n         * @memberOf html5\n         * @type boolean\n         */\n        'supportsUnknownElements': supportsUnknownElements,\n\n        /**\n         * A flag to indicate that the document's `createElement` and `createDocumentFragment`\n         * methods should be overwritten.\n         * @memberOf html5\n         * @type Boolean\n         */\n        'shivMethods': (options.shivMethods !== false),\n\n        /**\n         * A string to describe the type of `html5` object (\"default\" or \"default print\").\n         * @memberOf html5\n         * @type String\n         */\n        'type': 'default',\n\n        // shivs the document according to the specified `html5` object options\n        'shivDocument': shivDocument,\n\n        //creates a shived element\n        createElement: createElement,\n\n        //creates a shived documentFragment\n        createDocumentFragment: createDocumentFragment\n      };\n\n      /*--------------------------------------------------------------------------*/\n\n      // expose html5\n      window.html5 = html5;\n\n      // shiv the document\n      shivDocument(document);\n\n    }(this, document));\n    /*>>shiv*/\n\n    // Assign private properties to the return object with prefix\n    Modernizr._version      = version;\n\n    // expose these for the plugin API. Look in the source for how to join() them against your input\n    /*>>prefixes*/\n    Modernizr._prefixes     = prefixes;\n    /*>>prefixes*/\n    /*>>domprefixes*/\n    Modernizr._domPrefixes  = domPrefixes;\n    Modernizr._cssomPrefixes  = cssomPrefixes;\n    /*>>domprefixes*/\n\n    /*>>mq*/\n    // Modernizr.mq tests a given media query, live against the current state of the window\n    // A few important notes:\n    //   * If a browser does not support media queries at all (eg. oldIE) the mq() will always return false\n    //   * A max-width or orientation query will be evaluated against the current state, which may change later.\n    //   * You must specify values. Eg. If you are testing support for the min-width media query use:\n    //       Modernizr.mq('(min-width:0)')\n    // usage:\n    // Modernizr.mq('only screen and (max-width:768)')\n    Modernizr.mq            = testMediaQuery;\n    /*>>mq*/\n\n    /*>>hasevent*/\n    // Modernizr.hasEvent() detects support for a given event, with an optional element to test on\n    // Modernizr.hasEvent('gesturestart', elem)\n    Modernizr.hasEvent      = isEventSupported;\n    /*>>hasevent*/\n\n    /*>>testprop*/\n    // Modernizr.testProp() investigates whether a given style property is recognized\n    // Note that the property names must be provided in the camelCase variant.\n    // Modernizr.testProp('pointerEvents')\n    Modernizr.testProp      = function(prop){\n        return testProps([prop]);\n    };\n    /*>>testprop*/\n\n    /*>>testallprops*/\n    // Modernizr.testAllProps() investigates whether a given style property,\n    //   or any of its vendor-prefixed variants, is recognized\n    // Note that the property names must be provided in the camelCase variant.\n    // Modernizr.testAllProps('boxSizing')\n    Modernizr.testAllProps  = testPropsAll;\n    /*>>testallprops*/\n\n\n    /*>>teststyles*/\n    // Modernizr.testStyles() allows you to add custom styles to the document and test an element afterwards\n    // Modernizr.testStyles('#modernizr { position:absolute }', function(elem, rule){ ... })\n    Modernizr.testStyles    = injectElementWithStyles;\n    /*>>teststyles*/\n\n\n    /*>>prefixed*/\n    // Modernizr.prefixed() returns the prefixed or nonprefixed property name variant of your input\n    // Modernizr.prefixed('boxSizing') // 'MozBoxSizing'\n\n    // Properties must be passed as dom-style camelcase, rather than `box-sizing` hypentated style.\n    // Return values will also be the camelCase variant, if you need to translate that to hypenated style use:\n    //\n    //     str.replace(/([A-Z])/g, function(str,m1){ return '-' + m1.toLowerCase(); }).replace(/^ms-/,'-ms-');\n\n    // If you're trying to ascertain which transition end event to bind to, you might do something like...\n    //\n    //     var transEndEventNames = {\n    //       'WebkitTransition' : 'webkitTransitionEnd',\n    //       'MozTransition'    : 'transitionend',\n    //       'OTransition'      : 'oTransitionEnd',\n    //       'msTransition'     : 'MSTransitionEnd',\n    //       'transition'       : 'transitionend'\n    //     },\n    //     transEndEventName = transEndEventNames[ Modernizr.prefixed('transition') ];\n\n    Modernizr.prefixed      = function(prop, obj, elem){\n      if(!obj) {\n        return testPropsAll(prop, 'pfx');\n      } else {\n        // Testing DOM property e.g. Modernizr.prefixed('requestAnimationFrame', window) // 'mozRequestAnimationFrame'\n        return testPropsAll(prop, obj, elem);\n      }\n    };\n    /*>>prefixed*/\n\n\n    /*>>cssclasses*/\n    // Remove \"no-js\" class from <html> element, if it exists:\n    docElement.className = docElement.className.replace(/(^|\\s)no-js(\\s|$)/, '$1$2') +\n\n                            // Add the new classes to the <html> element.\n                            (enableClasses ? ' js ' + classes.join(' ') : '');\n    /*>>cssclasses*/\n\n    return Modernizr;\n\n})(this, this.document);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/respond.js",
    "content": "/* NUGET: BEGIN LICENSE TEXT\n *\n * Microsoft grants you the right to use these script files for the sole\n * purpose of either: (i) interacting through your browser with the Microsoft\n * website or online service, subject to the applicable licensing or use\n * terms; or (ii) using the files as included with a Microsoft product subject\n * to that product's license terms. Microsoft reserves all other rights to the\n * files not expressly granted by Microsoft, whether by implication, estoppel\n * or otherwise. Insofar as a script file is dual licensed under GPL,\n * Microsoft neither took the code under GPL nor distributes it thereunder but\n * under the terms set out in this paragraph. All notices and licenses\n * below are for informational purposes only.\n *\n * NUGET: END LICENSE TEXT */\n/*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas. Dual MIT/BSD license */\n/*! NOTE: If you're already including a window.matchMedia polyfill via Modernizr or otherwise, you don't need this part */\nwindow.matchMedia = window.matchMedia || (function(doc, undefined){\n  \n  var bool,\n      docElem  = doc.documentElement,\n      refNode  = docElem.firstElementChild || docElem.firstChild,\n      // fakeBody required for <FF4 when executed in <head>\n      fakeBody = doc.createElement('body'),\n      div      = doc.createElement('div');\n  \n  div.id = 'mq-test-1';\n  div.style.cssText = \"position:absolute;top:-100em\";\n  fakeBody.style.background = \"none\";\n  fakeBody.appendChild(div);\n  \n  return function(q){\n    \n    div.innerHTML = '&shy;<style media=\"'+q+'\"> #mq-test-1 { width: 42px; }</style>';\n    \n    docElem.insertBefore(fakeBody, refNode);\n    bool = div.offsetWidth == 42;  \n    docElem.removeChild(fakeBody);\n    \n    return { matches: bool, media: q };\n  };\n  \n})(document);\n\n\n\n\n/*! Respond.js v1.2.0: min/max-width media query polyfill. (c) Scott Jehl. MIT/GPLv2 Lic. j.mp/respondjs  */\n(function( win ){\n\t//exposed namespace\n\twin.respond\t\t= {};\n\t\n\t//define update even in native-mq-supporting browsers, to avoid errors\n\trespond.update\t= function(){};\n\t\n\t//expose media query support flag for external use\n\trespond.mediaQueriesSupported\t= win.matchMedia && win.matchMedia( \"only all\" ).matches;\n\t\n\t//if media queries are supported, exit here\n\tif( respond.mediaQueriesSupported ){ return; }\n\t\n\t//define vars\n\tvar doc \t\t\t= win.document,\n\t\tdocElem \t\t= doc.documentElement,\n\t\tmediastyles\t\t= [],\n\t\trules\t\t\t= [],\n\t\tappendedEls \t= [],\n\t\tparsedSheets \t= {},\n\t\tresizeThrottle\t= 30,\n\t\thead \t\t\t= doc.getElementsByTagName( \"head\" )[0] || docElem,\n\t\tbase\t\t\t= doc.getElementsByTagName( \"base\" )[0],\n\t\tlinks\t\t\t= head.getElementsByTagName( \"link\" ),\n\t\trequestQueue\t= [],\n\t\t\n\t\t//loop stylesheets, send text content to translate\n\t\tripCSS\t\t\t= function(){\n\t\t\tvar sheets \t= links,\n\t\t\t\tsl \t\t= sheets.length,\n\t\t\t\ti\t\t= 0,\n\t\t\t\t//vars for loop:\n\t\t\t\tsheet, href, media, isCSS;\n\n\t\t\tfor( ; i < sl; i++ ){\n\t\t\t\tsheet\t= sheets[ i ],\n\t\t\t\thref\t= sheet.href,\n\t\t\t\tmedia\t= sheet.media,\n\t\t\t\tisCSS\t= sheet.rel && sheet.rel.toLowerCase() === \"stylesheet\";\n\n\t\t\t\t//only links plz and prevent re-parsing\n\t\t\t\tif( !!href && isCSS && !parsedSheets[ href ] ){\n\t\t\t\t\t// selectivizr exposes css through the rawCssText expando\n\t\t\t\t\tif (sheet.styleSheet && sheet.styleSheet.rawCssText) {\n\t\t\t\t\t\ttranslate( sheet.styleSheet.rawCssText, href, media );\n\t\t\t\t\t\tparsedSheets[ href ] = true;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif( (!/^([a-zA-Z:]*\\/\\/)/.test( href ) && !base)\n\t\t\t\t\t\t\t|| href.replace( RegExp.$1, \"\" ).split( \"/\" )[0] === win.location.host ){\n\t\t\t\t\t\t\trequestQueue.push( {\n\t\t\t\t\t\t\t\thref: href,\n\t\t\t\t\t\t\t\tmedia: media\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tmakeRequests();\n\t\t},\n\t\t\n\t\t//recurse through request queue, get css text\n\t\tmakeRequests\t= function(){\n\t\t\tif( requestQueue.length ){\n\t\t\t\tvar thisRequest = requestQueue.shift();\n\t\t\t\t\n\t\t\t\tajax( thisRequest.href, function( styles ){\n\t\t\t\t\ttranslate( styles, thisRequest.href, thisRequest.media );\n\t\t\t\t\tparsedSheets[ thisRequest.href ] = true;\n\t\t\t\t\tmakeRequests();\n\t\t\t\t} );\n\t\t\t}\n\t\t},\n\t\t\n\t\t//find media blocks in css text, convert to style blocks\n\t\ttranslate\t\t\t= function( styles, href, media ){\n\t\t\tvar qs\t\t\t= styles.match(  /@media[^\\{]+\\{([^\\{\\}]*\\{[^\\}\\{]*\\})+/gi ),\n\t\t\t\tql\t\t\t= qs && qs.length || 0,\n\t\t\t\t//try to get CSS path\n\t\t\t\thref\t\t= href.substring( 0, href.lastIndexOf( \"/\" )),\n\t\t\t\trepUrls\t\t= function( css ){\n\t\t\t\t\treturn css.replace( /(url\\()['\"]?([^\\/\\)'\"][^:\\)'\"]+)['\"]?(\\))/g, \"$1\" + href + \"$2$3\" );\n\t\t\t\t},\n\t\t\t\tuseMedia\t= !ql && media,\n\t\t\t\t//vars used in loop\n\t\t\t\ti\t\t\t= 0,\n\t\t\t\tj, fullq, thisq, eachq, eql;\n\n\t\t\t//if path exists, tack on trailing slash\n\t\t\tif( href.length ){ href += \"/\"; }\t\n\t\t\t\t\n\t\t\t//if no internal queries exist, but media attr does, use that\t\n\t\t\t//note: this currently lacks support for situations where a media attr is specified on a link AND\n\t\t\t\t//its associated stylesheet has internal CSS media queries.\n\t\t\t\t//In those cases, the media attribute will currently be ignored.\n\t\t\tif( useMedia ){\n\t\t\t\tql = 1;\n\t\t\t}\n\t\t\t\n\n\t\t\tfor( ; i < ql; i++ ){\n\t\t\t\tj\t= 0;\n\t\t\t\t\n\t\t\t\t//media attr\n\t\t\t\tif( useMedia ){\n\t\t\t\t\tfullq = media;\n\t\t\t\t\trules.push( repUrls( styles ) );\n\t\t\t\t}\n\t\t\t\t//parse for styles\n\t\t\t\telse{\n\t\t\t\t\tfullq\t= qs[ i ].match( /@media *([^\\{]+)\\{([\\S\\s]+?)$/ ) && RegExp.$1;\n\t\t\t\t\trules.push( RegExp.$2 && repUrls( RegExp.$2 ) );\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\teachq\t= fullq.split( \",\" );\n\t\t\t\teql\t\t= eachq.length;\n\t\t\t\t\t\n\t\t\t\tfor( ; j < eql; j++ ){\n\t\t\t\t\tthisq\t= eachq[ j ];\n\t\t\t\t\tmediastyles.push( { \n\t\t\t\t\t\tmedia\t: thisq.split( \"(\" )[ 0 ].match( /(only\\s+)?([a-zA-Z]+)\\s?/ ) && RegExp.$2 || \"all\",\n\t\t\t\t\t\trules\t: rules.length - 1,\n\t\t\t\t\t\thasquery: thisq.indexOf(\"(\") > -1,\n\t\t\t\t\t\tminw\t: thisq.match( /\\(min\\-width:[\\s]*([\\s]*[0-9\\.]+)(px|em)[\\s]*\\)/ ) && parseFloat( RegExp.$1 ) + ( RegExp.$2 || \"\" ), \n\t\t\t\t\t\tmaxw\t: thisq.match( /\\(max\\-width:[\\s]*([\\s]*[0-9\\.]+)(px|em)[\\s]*\\)/ ) && parseFloat( RegExp.$1 ) + ( RegExp.$2 || \"\" )\n\t\t\t\t\t} );\n\t\t\t\t}\t\n\t\t\t}\n\n\t\t\tapplyMedia();\n\t\t},\n        \t\n\t\tlastCall,\n\t\t\n\t\tresizeDefer,\n\t\t\n\t\t// returns the value of 1em in pixels\n\t\tgetEmValue\t\t= function() {\n\t\t\tvar ret,\n\t\t\t\tdiv = doc.createElement('div'),\n\t\t\t\tbody = doc.body,\n\t\t\t\tfakeUsed = false;\n\t\t\t\t\t\t\t\t\t\n\t\t\tdiv.style.cssText = \"position:absolute;font-size:1em;width:1em\";\n\t\t\t\t\t\n\t\t\tif( !body ){\n\t\t\t\tbody = fakeUsed = doc.createElement( \"body\" );\n\t\t\t\tbody.style.background = \"none\";\n\t\t\t}\n\t\t\t\t\t\n\t\t\tbody.appendChild( div );\n\t\t\t\t\t\t\t\t\n\t\t\tdocElem.insertBefore( body, docElem.firstChild );\n\t\t\t\t\t\t\t\t\n\t\t\tret = div.offsetWidth;\n\t\t\t\t\t\t\t\t\n\t\t\tif( fakeUsed ){\n\t\t\t\tdocElem.removeChild( body );\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbody.removeChild( div );\n\t\t\t}\n\t\t\t\n\t\t\t//also update eminpx before returning\n\t\t\tret = eminpx = parseFloat(ret);\n\t\t\t\t\t\t\t\t\n\t\t\treturn ret;\n\t\t},\n\t\t\n\t\t//cached container for 1em value, populated the first time it's needed \n\t\teminpx,\n\t\t\n\t\t//enable/disable styles\n\t\tapplyMedia\t\t\t= function( fromResize ){\n\t\t\tvar name\t\t= \"clientWidth\",\n\t\t\t\tdocElemProp\t= docElem[ name ],\n\t\t\t\tcurrWidth \t= doc.compatMode === \"CSS1Compat\" && docElemProp || doc.body[ name ] || docElemProp,\n\t\t\t\tstyleBlocks\t= {},\n\t\t\t\tlastLink\t= links[ links.length-1 ],\n\t\t\t\tnow \t\t= (new Date()).getTime();\n\n\t\t\t//throttle resize calls\t\n\t\t\tif( fromResize && lastCall && now - lastCall < resizeThrottle ){\n\t\t\t\tclearTimeout( resizeDefer );\n\t\t\t\tresizeDefer = setTimeout( applyMedia, resizeThrottle );\n\t\t\t\treturn;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tlastCall\t= now;\n\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\tfor( var i in mediastyles ){\n\t\t\t\tvar thisstyle = mediastyles[ i ],\n\t\t\t\t\tmin = thisstyle.minw,\n\t\t\t\t\tmax = thisstyle.maxw,\n\t\t\t\t\tminnull = min === null,\n\t\t\t\t\tmaxnull = max === null,\n\t\t\t\t\tem = \"em\";\n\t\t\t\t\n\t\t\t\tif( !!min ){\n\t\t\t\t\tmin = parseFloat( min ) * ( min.indexOf( em ) > -1 ? ( eminpx || getEmValue() ) : 1 );\n\t\t\t\t}\n\t\t\t\tif( !!max ){\n\t\t\t\t\tmax = parseFloat( max ) * ( max.indexOf( em ) > -1 ? ( eminpx || getEmValue() ) : 1 );\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// if there's no media query at all (the () part), or min or max is not null, and if either is present, they're true\n\t\t\t\tif( !thisstyle.hasquery || ( !minnull || !maxnull ) && ( minnull || currWidth >= min ) && ( maxnull || currWidth <= max ) ){\n\t\t\t\t\t\tif( !styleBlocks[ thisstyle.media ] ){\n\t\t\t\t\t\t\tstyleBlocks[ thisstyle.media ] = [];\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleBlocks[ thisstyle.media ].push( rules[ thisstyle.rules ] );\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t//remove any existing respond style element(s)\n\t\t\tfor( var i in appendedEls ){\n\t\t\t\tif( appendedEls[ i ] && appendedEls[ i ].parentNode === head ){\n\t\t\t\t\thead.removeChild( appendedEls[ i ] );\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t//inject active styles, grouped by media type\n\t\t\tfor( var i in styleBlocks ){\n\t\t\t\tvar ss\t\t= doc.createElement( \"style\" ),\n\t\t\t\t\tcss\t\t= styleBlocks[ i ].join( \"\\n\" );\n\t\t\t\t\n\t\t\t\tss.type = \"text/css\";\t\n\t\t\t\tss.media\t= i;\n\t\t\t\t\n\t\t\t\t//originally, ss was appended to a documentFragment and sheets were appended in bulk.\n\t\t\t\t//this caused crashes in IE in a number of circumstances, such as when the HTML element had a bg image set, so appending beforehand seems best. Thanks to @dvelyk for the initial research on this one!\n\t\t\t\thead.insertBefore( ss, lastLink.nextSibling );\n\t\t\t\t\n\t\t\t\tif ( ss.styleSheet ){ \n\t\t        \tss.styleSheet.cssText = css;\n\t\t        } \n\t\t        else {\n\t\t\t\t\tss.appendChild( doc.createTextNode( css ) );\n\t\t        }\n\t\t        \n\t\t\t\t//push to appendedEls to track for later removal\n\t\t\t\tappendedEls.push( ss );\n\t\t\t}\n\t\t},\n\t\t//tweaked Ajax functions from Quirksmode\n\t\tajax = function( url, callback ) {\n\t\t\tvar req = xmlHttp();\n\t\t\tif (!req){\n\t\t\t\treturn;\n\t\t\t}\t\n\t\t\treq.open( \"GET\", url, true );\n\t\t\treq.onreadystatechange = function () {\n\t\t\t\tif ( req.readyState != 4 || req.status != 200 && req.status != 304 ){\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tcallback( req.responseText );\n\t\t\t}\n\t\t\tif ( req.readyState == 4 ){\n\t\t\t\treturn;\n\t\t\t}\n\t\t\treq.send( null );\n\t\t},\n\t\t//define ajax obj \n\t\txmlHttp = (function() {\n\t\t\tvar xmlhttpmethod = false;\t\n\t\t\ttry {\n\t\t\t\txmlhttpmethod = new XMLHttpRequest();\n\t\t\t}\n\t\t\tcatch( e ){\n\t\t\t\txmlhttpmethod = new ActiveXObject( \"Microsoft.XMLHTTP\" );\n\t\t\t}\n\t\t\treturn function(){\n\t\t\t\treturn xmlhttpmethod;\n\t\t\t};\n\t\t})();\n\t\n\t//translate CSS\n\tripCSS();\n\t\n\t//expose update for re-running respond later on\n\trespond.update = ripCSS;\n\t\n\t//adjust on resize\n\tfunction callMedia(){\n\t\tapplyMedia( true );\n\t}\n\tif( win.addEventListener ){\n\t\twin.addEventListener( \"resize\", callMedia, false );\n\t}\n\telse if( win.attachEvent ){\n\t\twin.attachEvent( \"onresize\", callMedia );\n\t}\n})(this);\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/typings/angularjs/angular-animate.d.ts",
    "content": "// Type definitions for Angular JS 1.3 (ngAnimate module)\n// Project: http://angularjs.org\n// Definitions by: Michel Salib <https://github.com/michelsalib>, Adi Dahiya <https://github.com/adidahiya>, Raphael Schweizer <https://github.com/rasch>, Cody Schaaf <https://github.com/codyschaaf>\n// Definitions: https://github.com/borisyankov/DefinitelyTyped\n\n/// <reference path=\"angular.d.ts\" />\n\ndeclare module \"angular-animate\" {\n    var _: string;\n    export = _;\n}\n\n/**\n * ngAnimate module (angular-animate.js)\n */\ndeclare module angular.animate {\n    interface IAnimateFactory extends Function {\n        enter?: (element: ng.IAugmentedJQuery, doneFn: Function) => IAnimateCssRunner|void;\n        leave?: (element: ng.IAugmentedJQuery, doneFn: Function) => IAnimateCssRunner|void;\n        addClass?: (element: ng.IAugmentedJQuery, className: string, doneFn: Function) => IAnimateCssRunner|void;\n        removeClass?: (element: ng.IAugmentedJQuery, className: string, doneFn: Function) => IAnimateCssRunner|void;\n        setClass?: (element: ng.IAugmentedJQuery, className: string, doneFn: Function) => IAnimateCssRunner|void;\n    }\n\n    /**\n     * AnimateService\n     * see http://docs.angularjs.org/api/ngAnimate/service/$animate\n     */\n    interface IAnimateService {\n        /**\n        * Globally enables / disables animations.\n        *\n        * @param element If provided then the element will be used to represent the enable/disable operation.\n        * @param value If provided then set the animation on or off.\n        * @returns current animation state\n        */\n        enabled(element?: JQuery, value?: boolean): boolean;\n\n        /**\n         * Performs an inline animation on the element.\n         *\n         * @param element the element that will be the focus of the animation\n         * @param from a collection of CSS styles that will be applied to the element at the start of the animation\n         * @param to a collection of CSS styles that the element will animate towards\n         * @param className an optional CSS class that will be added to the element for the duration of the animation (the default class is 'ng-inline-animate')\n         * @param options an optional collection of styles that will be picked up by the CSS transition/animation\n         * @returns the animation callback promise\n         */\n        animate(element: JQuery, from: any, to: any, className?: string, options?: IAnimationOptions): IPromise<void>;\n\n        /**\n         * Appends the element to the parentElement element that resides in the document and then runs the enter animation.\n         *\n         * @param element the element that will be the focus of the enter animation\n         * @param parentElement the parent element of the element that will be the focus of the enter animation\n         * @param afterElement the sibling element (which is the previous element) of the element that will be the focus of the enter animation\n         * @param options an optional collection of styles that will be picked up by the CSS transition/animation\n         * @returns the animation callback promise\n         */\n        enter(element: JQuery, parentElement: JQuery, afterElement?: JQuery, options?: IAnimationOptions): IPromise<void>;\n\n        /**\n         * Runs the leave animation operation and, upon completion, removes the element from the DOM.\n         *\n         * @param element the element that will be the focus of the leave animation\n         * @param options an optional collection of styles that will be picked up by the CSS transition/animation\n         * @returns the animation callback promise\n         */\n        leave(element: JQuery, options?: IAnimationOptions): IPromise<void>;\n\n        /**\n         * Fires the move DOM operation. Just before the animation starts, the animate service will either append\n         * it into the parentElement container or add the element directly after the afterElement element if present.\n         * Then the move animation will be run.\n         *\n         * @param element the element that will be the focus of the move animation\n         * @param parentElement the parent element of the element that will be the focus of the move animation\n         * @param afterElement the sibling element (which is the previous element) of the element that will be the focus of the move animation\n         * @returns the animation callback promise\n         */\n        move(element: JQuery, parentElement: JQuery, afterElement?: JQuery): IPromise<void>;\n\n        /**\n         * Triggers a custom animation event based off the className variable and then attaches the className\n         * value to the element as a CSS class.\n         *\n         * @param element the element that will be animated\n         * @param className the CSS class that will be added to the element and then animated\n         * @param options an optional collection of styles that will be picked up by the CSS transition/animation\n         * @returns the animation callback promise\n         */\n        addClass(element: JQuery, className: string, options?: IAnimationOptions): IPromise<void>;\n\n        /**\n         * Triggers a custom animation event based off the className variable and then removes the CSS class\n         * provided by the className value from the element.\n         *\n         * @param element the element that will be animated\n         * @param className the CSS class that will be animated and then removed from the element\n         * @param options an optional collection of styles that will be picked up by the CSS transition/animation\n         * @returns the animation callback promise\n         */\n        removeClass(element: JQuery, className: string, options?: IAnimationOptions): IPromise<void>;\n\n        /**\n         * Adds and/or removes the given CSS classes to and from the element. Once complete, the done() callback\n         * will be fired (if provided).\n         *\n         * @param element the element which will have its CSS classes changed removed from it\n         * @param add the CSS classes which will be added to the element\n         * @param remove the CSS class which will be removed from the element CSS classes have been set on the element\n         * @param options an optional collection of styles that will be picked up by the CSS transition/animation\n         * @returns the animation callback promise\n         */\n        setClass(element: JQuery, add: string, remove: string, options?: IAnimationOptions): IPromise<void>;\n\n        /**\n         * Cancels the provided animation.\n         */\n        cancel(animationPromise: IPromise<void>): void;\n    }\n\n    /**\n     * AnimateProvider\n     * see http://docs.angularjs.org/api/ngAnimate/provider/$animateProvider\n     */\n    interface IAnimateProvider {\n        /**\n         * Registers a new injectable animation factory function.\n         *\n         * @param name The name of the animation.\n         * @param factory The factory function that will be executed to return the animation object.\n         */\n        register(name: string, factory: () => IAnimateCallbackObject): void;\n\n        /**\n         * Gets and/or sets the CSS class expression that is checked when performing an animation.\n         *\n         * @param expression The className expression which will be checked against all animations.\n         * @returns The current CSS className expression value. If null then there is no expression value.\n         */\n        classNameFilter(expression?: RegExp): RegExp;\n    }\n\n    /**\n     * Angular Animation Options\n     * see https://docs.angularjs.org/api/ngAnimate/#applying-directive-specific-styles-to-an-animation\n     */\n    interface IAnimationOptions {\n        /**\n         * The ending CSS styles (a key/value object) that will be applied across the animation via a CSS transition.\n         */\n        to?: Object;\n\n        /**\n         * The starting CSS styles (a key/value object) that will be applied at the start of the animation.\n         */\n        from?: Object;\n\n        /**\n         * The DOM event (e.g. enter, leave, move). When used, a generated CSS class of ng-EVENT and\n         * ng-EVENT-active will be applied to the element during the animation. Multiple events can be provided when\n         * spaces are used as a separator. (Note that this will not perform any DOM operation.)\n         */\n        event?: string;\n\n        /**\n         * The CSS easing value that will be applied to the transition or keyframe animation (or both).\n         */\n        easing?: string;\n\n        /**\n         * The raw CSS transition style that will be used (e.g. 1s linear all).\n         */\n        transition?: string;\n\n        /**\n         * The raw CSS keyframe animation style that will be used (e.g. 1s my_animation linear).\n         */\n        keyframe?: string;\n\n        /**\n         * A space separated list of CSS classes that will be added to the element and spread across the animation.\n         */\n        addClass?: string;\n\n        /**\n         * A space separated list of CSS classes that will be removed from the element and spread across\n         * the animation.\n         */\n        removeClass?: string;\n\n        /**\n         * A number value representing the total duration of the transition and/or keyframe (note that a value\n         * of 1 is 1000ms). If a value of 0 is provided then the animation will be skipped entirely.\n         */\n        duration?: number;\n\n        /**\n         * A number value representing the total delay of the transition and/or keyframe (note that a value of\n         * 1 is 1000ms). If a value of true is used then whatever delay value is detected from the CSS classes will be\n         * mirrored on the elements styles (e.g. by setting delay true then the style value of the element will be\n         * transition-delay: DETECTED_VALUE). Using true is useful when you want the CSS classes and inline styles to\n         * all share the same CSS delay value.\n         */\n        delay?: number;\n\n        /**\n         * A numeric time value representing the delay between successively animated elements (Click here to\n         * learn how CSS-based staggering works in ngAnimate.)\n         */\n        stagger?: number;\n\n        /**\n         * The numeric index representing the stagger item (e.g. a value of 5 is equal to the sixth item\n         * in the stagger; therefore when a stagger option value of 0.1 is used then there will be a stagger delay of 600ms)\n         * applyClassesEarly - Whether or not the classes being added or removed will be used when detecting the animation.\n         * This is set by $animate when enter/leave/move animations are fired to ensure that the CSS classes are resolved in time.\n         * (Note that this will prevent any transitions from occuring on the classes being added and removed.)\n         */\n        staggerIndex?: number;\n    }\n\n    interface IAnimateCssRunner {\n        /**\n         * Starts the animation\n         *\n         * @returns The animation runner with a done function for supplying a callback.\n         */\n        start(): IAnimateCssRunnerStart;\n\n        /**\n         * Ends (aborts) the animation\n         */\n        end(): void;\n    }\n\n    interface IAnimateCssRunnerStart extends IPromise<void> {\n        /**\n         * Allows you to add done callbacks to the running animation\n         *\n         * @param callbackFn: the callback function to be run\n         */\n        done(callbackFn: (animationFinished: boolean) => void): void;\n    }\n\n    /**\n     * AnimateCssService\n     * see http://docs.angularjs.org/api/ngAnimate/service/$animateCss\n     */\n    interface IAnimateCssService {\n        (element: JQuery, animateCssOptions: IAnimationOptions): IAnimateCssRunner;\n    }\n\n}\n\ndeclare module angular {\n    interface IModule {\n        animate(cssSelector: string, animateFactory: angular.animate.IAnimateFactory): IModule;\n    }\n}\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/typings/angularjs/angular-component-router.d.ts",
    "content": "// Type definitions for Angular JS 1.5 component router\n// Project: http://angularjs.org\n// Definitions by: David Reher <http://github.com/davidreher>\n// Definitions: https://github.com/borisyankov/DefinitelyTyped\n\n/// <reference path=\"./angular.d.ts\" />\n/// <reference path=\"../es6-promise/es6-promise.d.ts\" />\n\ndeclare module angular {\n    /**\n     * `Instruction` is a tree of {@link ComponentInstruction}s with all the information needed\n     * to transition each component in the app to a given route, including all auxiliary routes.\n     *\n     * `Instruction`s can be created using {@link Router#generate}, and can be used to\n     * perform route changes with {@link Router#navigateByInstruction}.\n     *\n     * ### Example\n     *\n     * ```\n     * import {Component} from 'angular2/core';\n     * import {bootstrap} from 'angular2/platform/browser';\n     * import {Router, ROUTER_DIRECTIVES, ROUTER_PROVIDERS, RouteConfig} from 'angular2/router';\n     *\n     * @Component({directives: [ROUTER_DIRECTIVES]})\n     * @RouteConfig([\n     *  {...},\n     * ])\n     * class AppCmp {\n     *   constructor(router: Router) {\n     *     var instruction = router.generate(['/MyRoute']);\n     *     router.navigateByInstruction(instruction);\n     *   }\n     * }\n     *\n     * bootstrap(AppCmp, ROUTER_PROVIDERS);\n     * ```\n     */\n    interface Instruction {\n        component: ComponentInstruction;\n        child: Instruction;\n        auxInstruction: {[key: string]: Instruction};\n\n        urlPath(): string;\n\n        urlParams(): string[];\n\n        specificity(): number;\n\n        resolveComponent(): Promise<ComponentInstruction>;\n\n        /**\n         * converts the instruction into a URL string\n         */\n        toRootUrl(): string;\n\n        toUrlQuery(): string;\n\n        /**\n         * Returns a new instruction that shares the state of the existing instruction, but with\n         * the given child {@link Instruction} replacing the existing child.\n         */\n        replaceChild(child: Instruction): Instruction;\n\n        /**\n         * If the final URL for the instruction is ``\n         */\n        toUrlPath(): string;\n\n        /**\n         * default instructions override these\n         */\n        toLinkUrl(): string;\n    }\n\n    /**\n     * A router outlet is a placeholder that Angular dynamically fills based on the application's route.\n     *\n     * ## Use\n     *\n     * ```\n     * <router-outlet></router-outlet>\n     * ```\n     */\n    interface RouterOutlet {\n        name: string;\n\n        /**\n         * Called by the Router to instantiate a new component during the commit phase of a navigation.\n         * This method in turn is responsible for calling the `routerOnActivate` hook of its child.\n         */\n        activate(nextInstruction: ComponentInstruction): Promise<any>;\n\n        /**\n         * Called by the {@link Router} during the commit phase of a navigation when an outlet\n         * reuses a component between different routes.\n         * This method in turn is responsible for calling the `routerOnReuse` hook of its child.\n         */\n        reuse(nextInstruction: ComponentInstruction): Promise<any>;\n\n        /**\n         * Called by the {@link Router} when an outlet disposes of a component's contents.\n         * This method in turn is responsible for calling the `routerOnDeactivate` hook of its child.\n         */\n        deactivate(nextInstruction: ComponentInstruction): Promise<any>;\n\n        /**\n         * Called by the {@link Router} during recognition phase of a navigation.\n         *\n         * If this resolves to `false`, the given navigation is cancelled.\n         *\n         * This method delegates to the child component's `routerCanDeactivate` hook if it exists,\n         * and otherwise resolves to true.\n         */\n        routerCanDeactivate(nextInstruction: ComponentInstruction): Promise<boolean>;\n\n        /**\n         * Called by the {@link Router} during recognition phase of a navigation.\n         *\n         * If the new child component has a different Type than the existing child component,\n         * this will resolve to `false`. You can't reuse an old component when the new component\n         * is of a different Type.\n         *\n         * Otherwise, this method delegates to the child component's `routerCanReuse` hook if it exists,\n         * or resolves to true if the hook is not present.\n         */\n        routerCanReuse(nextInstruction: ComponentInstruction): Promise<boolean>;\n    }\n\n    interface RouteRegistry {\n        /**\n         * Given a component and a configuration object, add the route to this registry\n         */\n        config(parentComponent: any, config: RouteDefinition): void;\n\n        /**\n         * Reads the annotations of a component and configures the registry based on them\n         */\n        configFromComponent(component: any): void;\n\n        /**\n         * Given a URL and a parent component, return the most specific instruction for navigating\n         * the application into the state specified by the url\n         */\n        recognize(url: string, ancestorInstructions: Instruction[]): Promise<Instruction>;\n\n        /**\n         * Given a normalized list with component names and params like: `['user', {id: 3 }]`\n         * generates a url with a leading slash relative to the provided `parentComponent`.\n         *\n         * If the optional param `_aux` is `true`, then we generate starting at an auxiliary\n         * route boundary.\n         */\n        generate(linkParams: any[], ancestorInstructions: Instruction[], _aux?: boolean): Instruction;\n\n        hasRoute(name: string, parentComponent: any): boolean;\n\n        generateDefault(componentCursor: any): Instruction;\n    }\n\n    /**\n     * The `Router` is responsible for mapping URLs to components.\n     *\n     * You can see the state of the router by inspecting the read-only field `router.navigating`.\n     * This may be useful for showing a spinner, for instance.\n     *\n     * ## Concepts\n     *\n     * Routers and component instances have a 1:1 correspondence.\n     *\n     * The router holds reference to a number of {@link RouterOutlet}.\n     * An outlet is a placeholder that the router dynamically fills in depending on the current URL.\n     *\n     * When the router navigates from a URL, it must first recognize it and serialize it into an\n     * `Instruction`.\n     * The router uses the `RouteRegistry` to get an `Instruction`.\n     */\n    interface Router {\n        navigating: boolean;\n        lastNavigationAttempt: string;\n        registry: RouteRegistry;\n        parent: Router;\n        hostComponent: any;\n\n        /**\n         * Constructs a child router. You probably don't need to use this unless you're writing a reusable\n         * component.\n         */\n        childRouter(hostComponent: any): Router;\n\n        /**\n         * Constructs a child router. You probably don't need to use this unless you're writing a reusable\n         * component.\n         */\n        auxRouter(hostComponent: any): Router;\n\n        /**\n         * Register an outlet to be notified of primary route changes.\n         *\n         * You probably don't need to use this unless you're writing a reusable component.\n         */\n        registerPrimaryOutlet(outlet: RouterOutlet): Promise<boolean>;\n\n        /**\n         * Register an outlet to notified of auxiliary route changes.\n         *\n         * You probably don't need to use this unless you're writing a reusable component.\n         */\n        registerAuxOutlet(outlet: RouterOutlet): Promise<boolean>;\n\n        /**\n         * Given an instruction, returns `true` if the instruction is currently active,\n         * otherwise `false`.\n         */\n        isRouteActive(instruction: Instruction): boolean;\n\n        /**\n         * Dynamically update the routing configuration and trigger a navigation.\n         *\n         * ### Usage\n         *\n         * ```\n         * router.config([\n         *   { 'path': '/', 'component': IndexComp },\n         *   { 'path': '/user/:id', 'component': UserComp },\n         * ]);\n         * ```\n         */\n        config(definitions: RouteDefinition[]): Promise<any>;\n\n        /**\n         * Navigate based on the provided Route Link DSL. It's preferred to navigate with this method\n         * over `navigateByUrl`.\n         *\n         * ### Usage\n         *\n         * This method takes an array representing the Route Link DSL:\n         * ```\n         * ['./MyCmp', {param: 3}]\n         * ```\n         * See the {@link RouterLink} directive for more.\n         */\n        navigate(linkParams: any[]): Promise<any>;\n\n        /**\n         * Navigate to a URL. Returns a promise that resolves when navigation is complete.\n         * It's preferred to navigate with `navigate` instead of this method, since URLs are more brittle.\n         *\n         * If the given URL begins with a `/`, router will navigate absolutely.\n         * If the given URL does not begin with `/`, the router will navigate relative to this component.\n         */\n        navigateByUrl(url: string, _skipLocationChange?: boolean): Promise<any>;\n\n        /**\n         * Navigate via the provided instruction. Returns a promise that resolves when navigation is\n         * complete.\n         */\n        navigateByInstruction(instruction: Instruction,\n                              _skipLocationChange?: boolean): Promise<any>;\n\n        /**\n         * Updates this router and all descendant routers according to the given instruction\n         */\n        commit(instruction: Instruction, _skipLocationChange?: boolean): Promise<any>;\n\n        /**\n         * Subscribe to URL updates from the router\n         */\n        subscribe(onNext: (value: any) => void): Object;\n\n        /**\n         * Removes the contents of this router's outlet and all descendant outlets\n         */\n        deactivate(instruction: Instruction): Promise<any>;\n\n        /**\n         * Given a URL, returns an instruction representing the component graph\n         */\n        recognize(url: string): Promise<Instruction>;\n\n        /**\n         * Navigates to either the last URL successfully navigated to, or the last URL requested if the\n         * router has yet to successfully navigate.\n         */\n        renavigate(): Promise<any>;\n\n        /**\n         * Generate an `Instruction` based on the provided Route Link DSL.\n         */\n        generate(linkParams: any[]): Instruction;\n    }\n\n    /**\n     * RouteData is an immutable map of additional data you can configure in your Route.\n     * You can inject RouteData into the constructor of a component to use it.\n     */\n    interface RouteData {\n        data: {[key: string]: any};\n        get(key: string): any;\n    }\n\n    /**\n     * A `ComponentInstruction` represents the route state for a single component. An `Instruction` is\n     * composed of a tree of these `ComponentInstruction`s.\n     *\n     * `ComponentInstructions` is a public API. Instances of `ComponentInstruction` are passed\n     * to route lifecycle hooks, like {@link CanActivate}.\n     *\n     * `ComponentInstruction`s are [https://en.wikipedia.org/wiki/Hash_consing](hash consed). You should\n     * never construct one yourself with \"new.\" Instead, rely on {@link Router/RouteRecognizer} to\n     * construct `ComponentInstruction`s.\n     *\n     * You should not modify this object. It should be treated as immutable.\n     */\n    interface ComponentInstruction {\n        reuse: boolean;\n        routeData: RouteData;\n        urlPath: string;\n        urlParams: string[];\n        data: RouteData;\n        componentType: any;\n        terminal: boolean;\n        specificity: number;\n        params: {[key: string]: any};\n    }\n\n    /**\n     * Defines route lifecycle method `routerOnActivate`, which is called by the router at the end of a\n     * successful route navigation.\n     *\n     * For a single component's navigation, only one of either {@link OnActivate} or {@link OnReuse}\n     * will be called depending on the result of {@link CanReuse}.\n     *\n     * The `routerOnActivate` hook is called with two {@link ComponentInstruction}s as parameters, the\n     * first\n     * representing the current route being navigated to, and the second parameter representing the\n     * previous route or `null`.\n     *\n     * If `routerOnActivate` returns a promise, the route change will wait until the promise settles to\n     * instantiate and activate child components.\n     *\n     * ### Example\n     * {@example router/ts/on_activate/on_activate_example.ts region='routerOnActivate'}\n     */\n    interface OnActivate {\n        $routerOnActivate(next?: angular.ComponentInstruction, prev?: angular.ComponentInstruction): any;\n    }\n\n    /**\n     * Defines route lifecycle method `routerCanDeactivate`, which is called by the router to determine\n     * if a component can be removed as part of a navigation.\n     *\n     * The `routerCanDeactivate` hook is called with two {@link ComponentInstruction}s as parameters,\n     * the\n     * first representing the current route being navigated to, and the second parameter\n     * representing the previous route.\n     *\n     * If `routerCanDeactivate` returns or resolves to `false`, the navigation is cancelled. If it\n     * returns or\n     * resolves to `true`, then the navigation continues, and the component will be deactivated\n     * (the {@link OnDeactivate} hook will be run) and removed.\n     *\n     * If `routerCanDeactivate` throws or rejects, the navigation is also cancelled.\n     *\n     * ### Example\n     * {@example router/ts/can_deactivate/can_deactivate_example.ts region='routerCanDeactivate'}\n     */\n    interface CanDeactivate {\n        $routerCanDeactivate(next?: ComponentInstruction, prev?: ComponentInstruction): boolean | Promise<boolean>;\n    }\n\n    /**\n     * Defines route lifecycle method `routerOnDeactivate`, which is called by the router before\n     * destroying\n     * a component as part of a route change.\n     *\n     * The `routerOnDeactivate` hook is called with two {@link ComponentInstruction}s as parameters, the\n     * first\n     * representing the current route being navigated to, and the second parameter representing the\n     * previous route.\n     *\n     * If `routerOnDeactivate` returns a promise, the route change will wait until the promise settles.\n     *\n     * ### Example\n     * {@example router/ts/on_deactivate/on_deactivate_example.ts region='routerOnDeactivate'}\n     */\n    interface OnDeactivate {\n        $routerOnDeactivate(next?: angular.ComponentInstruction, prev?: angular.ComponentInstruction): any;\n    }\n\n    /**\n     * Defines route lifecycle method `routerCanReuse`, which is called by the router to determine\n     * whether a\n     * component should be reused across routes, or whether to destroy and instantiate a new component.\n     *\n     * The `routerCanReuse` hook is called with two {@link ComponentInstruction}s as parameters, the\n     * first\n     * representing the current route being navigated to, and the second parameter representing the\n     * previous route.\n     *\n     * If `routerCanReuse` returns or resolves to `true`, the component instance will be reused and the\n     * {@link OnDeactivate} hook will be run. If `routerCanReuse` returns or resolves to `false`, a new\n     * component will be instantiated, and the existing component will be deactivated and removed as\n     * part of the navigation.\n     *\n     * If `routerCanReuse` throws or rejects, the navigation will be cancelled.\n     *\n     * ### Example\n     * {@example router/ts/reuse/reuse_example.ts region='reuseCmp'}\n     */\n    interface CanReuse {\n        $routerCanReuse(next?: angular.ComponentInstruction, prev?: angular.ComponentInstruction): boolean | Promise<boolean>;\n    }\n\n    /**\n     * Defines route lifecycle method `routerOnReuse`, which is called by the router at the end of a\n     * successful route navigation when {@link CanReuse} is implemented and returns or resolves to true.\n     *\n     * For a single component's navigation, only one of either {@link OnActivate} or {@link OnReuse}\n     * will be called, depending on the result of {@link CanReuse}.\n     *\n     * The `routerOnReuse` hook is called with two {@link ComponentInstruction}s as parameters, the\n     * first\n     * representing the current route being navigated to, and the second parameter representing the\n     * previous route or `null`.\n     *\n     * ### Example\n     * {@example router/ts/reuse/reuse_example.ts region='reuseCmp'}\n     */\n    interface OnReuse {\n        $routerOnReuse(next?: angular.ComponentInstruction, prev?: angular.ComponentInstruction): any;\n    }\n}\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/typings/angularjs/angular-cookies.d.ts",
    "content": "// Type definitions for Angular JS 1.4 (ngCookies module)\n// Project: http://angularjs.org\n// Definitions by: Diego Vilar <http://github.com/diegovilar>, Anthony Ciccarello <http://github.com/aciccarello>\n// Definitions: https://github.com/borisyankov/DefinitelyTyped\n\n\n/// <reference path=\"angular.d.ts\" />\n\ndeclare module \"angular-cookies\" {\n    var _: string;\n    export = _;\n}\n\n/**\n * ngCookies module (angular-cookies.js)\n */\ndeclare module angular.cookies {\n\n    /**\n    * Cookies options\n    * see https://docs.angularjs.org/api/ngCookies/provider/$cookiesProvider#defaults\n    */\n    interface ICookiesOptions {\n        /**\n        * The cookie will be available only for this path and its sub-paths. \n        * By default, this would be the URL that appears in your base tag.\n        */\n        path?: string;\n        /**\n        * The cookie will be available only for this domain and its sub-domains.\n        * For obvious security reasons the user agent will not accept the cookie if the \n        * current domain is not a sub domain or equals to the requested domain.\n        */\n        domain?: string;\n        /**\n        * String of the form \"Wdy, DD Mon YYYY HH:MM:SS GMT\" or a Date object\n        * indicating the exact date/time this cookie will expire.\n        */\n        expires?: string|Date;\n        /**\n        * The cookie will be available only in secured connection.\n        */\n        secure?: boolean;\n    }\n\n    /**\n     * CookieService\n     * see http://docs.angularjs.org/api/ngCookies.$cookies\n     */\n    interface ICookiesService {\n        [index: string]: any;\n    }\n\n    /**\n     * CookieStoreService\n     * see http://docs.angularjs.org/api/ngCookies.$cookieStore\n     */\n    interface ICookiesService {\n        get(key: string): string;\n        getObject(key: string): any;\n        getObject<T>(key: string): T;\n        getAll(): any;\n        put(key: string, value: string, options?: ICookiesOptions): void;\n        putObject(key: string, value: any, options?: ICookiesOptions): void;\n        remove(key: string, options?: ICookiesOptions): void;\n    }\n\n    /**\n     * CookieStoreService DEPRECATED\n     * see https://code.angularjs.org/1.2.26/docs/api/ngCookies/service/$cookieStore\n     */\n    interface ICookieStoreService {\n        /**\n         * Returns the value of given cookie key\n         * @param key Id to use for lookup\n         */\n        get(key: string): any;\n        /**\n         * Sets a value for given cookie key\n         * @param key Id for the value\n         * @param value Value to be stored\n         */\n        put(key: string, value: any): void;\n        /**\n         * Remove given cookie\n         * @param key Id of the key-value pair to delete\n         */\n        remove(key: string): void;\n    }\n\n}\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/typings/angularjs/angular-mocks.d.ts",
    "content": "// Type definitions for Angular JS 1.3 (ngMock, ngMockE2E module)\n// Project: http://angularjs.org\n// Definitions by: Diego Vilar <http://github.com/diegovilar>, Tony Curtis <http://github.com/daltin>\n// Definitions: https://github.com/borisyankov/DefinitelyTyped\n\n/// <reference path=\"angular.d.ts\" />\n\ndeclare module \"angular-mocks/ngMock\" {\n    var _: string;\n    export = _;\n}\n\ndeclare module \"angular-mocks/ngMockE2E\" {\n    var _: string;\n    export = _;\n}\n\ndeclare module \"angular-mocks/ngAnimateMock\" {\n    var _: string;\n    export = _;\n}\n\n///////////////////////////////////////////////////////////////////////////////\n// ngMock module (angular-mocks.js)\n///////////////////////////////////////////////////////////////////////////////\ndeclare module angular {\n\n    ///////////////////////////////////////////////////////////////////////////\n    // AngularStatic\n    // We reopen it to add the MockStatic definition\n    ///////////////////////////////////////////////////////////////////////////\n    interface IAngularStatic {\n        mock: IMockStatic;\n    }\n    \n    // see https://docs.angularjs.org/api/ngMock/function/angular.mock.inject\n    interface IInjectStatic {\n        (...fns: Function[]): any;\n        (...inlineAnnotatedConstructor: any[]): any; // this overload is undocumented, but works\n        strictDi(val?: boolean): void;\n    }\n\n    interface IMockStatic {\n        // see https://docs.angularjs.org/api/ngMock/function/angular.mock.dump\n        dump(obj: any): string;\n\n        inject: IInjectStatic\n\n        // see https://docs.angularjs.org/api/ngMock/function/angular.mock.module\n        module(...modules: any[]): any;\n\n        // see https://docs.angularjs.org/api/ngMock/type/angular.mock.TzDate\n        TzDate(offset: number, timestamp: number): Date;\n        TzDate(offset: number, timestamp: string): Date;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // ExceptionHandlerService\n    // see https://docs.angularjs.org/api/ngMock/service/$exceptionHandler\n    // see https://docs.angularjs.org/api/ngMock/provider/$exceptionHandlerProvider\n    ///////////////////////////////////////////////////////////////////////////\n    interface IExceptionHandlerProvider extends IServiceProvider {\n        mode(mode: string): void;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // TimeoutService\n    // see https://docs.angularjs.org/api/ngMock/service/$timeout\n    // Augments the original service\n    ///////////////////////////////////////////////////////////////////////////\n    interface ITimeoutService {\n        flush(delay?: number): void;\n        flushNext(expectedDelay?: number): void;\n        verifyNoPendingTasks(): void;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // IntervalService\n    // see https://docs.angularjs.org/api/ngMock/service/$interval\n    // Augments the original service\n    ///////////////////////////////////////////////////////////////////////////\n    interface IIntervalService {\n        flush(millis?: number): number;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // LogService\n    // see https://docs.angularjs.org/api/ngMock/service/$log\n    // Augments the original service\n    ///////////////////////////////////////////////////////////////////////////\n    interface ILogService {\n        assertEmpty(): void;\n        reset(): void;\n    }\n\n    interface ILogCall {\n        logs: string[];\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // HttpBackendService\n    // see https://docs.angularjs.org/api/ngMock/service/$httpBackend\n    ///////////////////////////////////////////////////////////////////////////\n    interface IHttpBackendService {\n        /**\n          * Flushes all pending requests using the trained responses.\n          * @param count Number of responses to flush (in the order they arrived). If undefined, all pending requests will be flushed. \n          */\n        flush(count?: number): void;\n        \n        /**\n          * Resets all request expectations, but preserves all backend definitions.\n          */\n        resetExpectations(): void;\n        \n        /**\n          * Verifies that all of the requests defined via the expect api were made. If any of the requests were not made, verifyNoOutstandingExpectation throws an exception.\n          */\n        verifyNoOutstandingExpectation(): void;\n        \n        /**\n          * Verifies that there are no outstanding requests that need to be flushed.\n          */\n        verifyNoOutstandingRequest(): void;\n\n        /**\n          * Creates a new request expectation. \n          * Throws a preformatted error if expectation(s) don't match supplied string, regular expression, object, or if function returns false.\n          * Returns an object with respond method that controls how a matched request is handled.\n          * @param method HTTP method.\n          * @param url HTTP url string, regular expression or function that receives a url and returns true if the url matches the current expctation.\n          * @param data HTTP request body string, json object, regular expression or function that receives the data and returns true if the data matches the current expectation.\n          * @param headers HTTP headers object or function that receives the headers and returns true if the headers match the current expectation.\n          */\n        expect(method: string, url: string | RegExp | ((url: string) => boolean), data?: string | RegExp | Object | ((data: string) => boolean), headers?: Object | ((object: Object) => boolean)) :mock.IRequestHandler;\n\n        /**\n          * Creates a new request expectation for DELETE requests.\n          * Throws a preformatted error if expectation(s) don't match supplied string, regular expression, object, or if function returns false.\n          * Returns an object with respond method that controls how a matched request is handled.\n          * @param url HTTP url string, regular expression or function that receives a url and returns true if the url is as expected.\n          * @param headers HTTP headers object to be compared with the HTTP headers in the request.\n        */\n        expectDELETE(url: string | RegExp | ((url: string) => boolean), headers?: Object): mock.IRequestHandler;\n\n        /**\n          * Creates a new request expectation for GET requests.\n          * Throws a preformatted error if expectation(s) don't match supplied string, regular expression, object, or if function returns false.\n          * Returns an object with respond method that controls how a matched request is handled.\n          * @param url HTTP url string, regular expression or function that receives a url and returns true if the url matches the current expctation.\n          * @param headers HTTP headers object to be compared with the HTTP headers in the request.\n          */\n        expectGET(url: string | RegExp | ((url: string) => boolean), headers?: Object): mock.IRequestHandler;\n\n        /**\n          * Creates a new request expectation for HEAD requests.\n          * Throws a preformatted error if expectation(s) don't match supplied string, regular expression, object, or if function returns false.\n          * Returns an object with respond method that controls how a matched request is handled.\n          * @param url HTTP url string, regular expression or function that receives a url and returns true if the url matches the current expctation.\n          * @param headers HTTP headers object to be compared with the HTTP headers in the request.\n          */\n        expectHEAD(url: string | RegExp | ((url: string) => boolean), headers?: Object): mock.IRequestHandler;\n        \n        /**\n          * Creates a new request expectation for JSONP requests.\n          * Throws a preformatted error if expectation(s) don't match supplied string, regular expression, or if function returns false.\n          * Returns an object with respond method that controls how a matched request is handled.\n          * @param url HTTP url string, regular expression or function that receives a url and returns true if the url matches the current expctation.\n          */        \n        expectJSONP(url: string | RegExp | ((url: string) => boolean)): mock.IRequestHandler;\n\n        /**\n          * Creates a new request expectation for PATCH requests. \n          * Throws a preformatted error if expectation(s) don't match supplied string, regular expression, object, or if function returns false.\n          * Returns an object with respond method that controls how a matched request is handled.\n          * @param url HTTP url string, regular expression or function that receives a url and returns true if the url matches the current expctation.\n          * @param data HTTP request body string, json object, regular expression or function that receives the data and returns true if the data matches the current expectation.\n          * @param headers HTTP headers object or function that receives the headers and returns true if the headers match the current expectation.\n          */\n        expectPATCH(url: string | RegExp | ((url: string) => boolean), data?: string | RegExp | Object | ((data: string) => boolean), headers?: Object): mock.IRequestHandler;\n\n        /**\n          * Creates a new request expectation for POST requests. \n          * Throws a preformatted error if expectation(s) don't match supplied string, regular expression, object, or if function returns false.\n          * Returns an object with respond method that controls how a matched request is handled.\n          * @param url HTTP url string, regular expression or function that receives a url and returns true if the url matches the current expctation.\n          * @param data HTTP request body string, json object, regular expression or function that receives the data and returns true if the data matches the current expectation.\n          * @param headers HTTP headers object or function that receives the headers and returns true if the headers match the current expectation.\n          */\n        expectPOST(url: string | RegExp | ((url: string) => boolean), data?: string | RegExp | Object | ((data: string) => boolean), headers?: Object): mock.IRequestHandler;\n\n        /**\n          * Creates a new request expectation for PUT requests. \n          * Throws a preformatted error if expectation(s) don't match supplied string, regular expression, object, or if function returns false.\n          * Returns an object with respond method that controls how a matched request is handled.\n          * @param url HTTP url string, regular expression or function that receives a url and returns true if the url matches the current expctation.\n          * @param data HTTP request body string, json object, regular expression or function that receives the data and returns true if the data matches the current expectation.\n          * @param headers HTTP headers object or function that receives the headers and returns true if the headers match the current expectation.\n          */\n        expectPUT(url: string | RegExp | ((url: string) => boolean), data?: string | RegExp | Object | ((data: string) => boolean), headers?: Object): mock.IRequestHandler;\n\n        /**\n          * Creates a new backend definition. \n          * Returns an object with respond method that controls how a matched request is handled.\n          * @param method HTTP method.\n          * @param url HTTP url string, regular expression or function that receives a url and returns true if the url matches the current expctation.\n          * @param data HTTP request body string, json object, regular expression or function that receives the data and returns true if the data matches the current expectation.\n          * @param headers HTTP headers object or function that receives the headers and returns true if the headers match the current expectation.\n          */\n        when(method: string, url: string | RegExp | ((url: string) => boolean), data?: string | RegExp | Object | ((data: string) => boolean), headers?: Object | ((object: Object) => boolean)): mock.IRequestHandler;\n\n        /**\n          * Creates a new backend definition for DELETE requests. \n          * Returns an object with respond method that controls how a matched request is handled.\n          * @param url HTTP url string, regular expression or function that receives a url and returns true if the url matches the current expctation.\n          * @param headers HTTP headers object or function that receives the headers and returns true if the headers match the current expectation.\n          */\n        whenDELETE(url: string | RegExp | ((url: string) => boolean), headers?: Object | ((object: Object) => boolean)): mock.IRequestHandler;\n\n        /**\n          * Creates a new backend definition for GET requests. \n          * Returns an object with respond method that controls how a matched request is handled.\n          * @param url HTTP url string, regular expression or function that receives a url and returns true if the url matches the current expctation.\n          * @param headers HTTP headers object or function that receives the headers and returns true if the headers match the current expectation.\n          */\n        whenGET(url: string | RegExp | ((url: string) => boolean), headers?: Object | ((object: Object) => boolean)): mock.IRequestHandler;\n\n        /**\n          * Creates a new backend definition for HEAD requests. \n          * Returns an object with respond method that controls how a matched request is handled.\n          * @param url HTTP url string, regular expression or function that receives a url and returns true if the url matches the current expctation.\n          * @param headers HTTP headers object or function that receives the headers and returns true if the headers match the current expectation.\n          */\n        whenHEAD(url: string | RegExp | ((url: string) => boolean), headers?: Object | ((object: Object) => boolean)): mock.IRequestHandler;\n\n        /**\n          * Creates a new backend definition for JSONP requests. \n          * Returns an object with respond method that controls how a matched request is handled.\n          * @param url HTTP url string, regular expression or function that receives a url and returns true if the url matches the current expctation.\n          * @param headers HTTP headers object or function that receives the headers and returns true if the headers match the current expectation.\n          */\n        whenJSONP(url: string | RegExp | ((url: string) => boolean)): mock.IRequestHandler;\n\n        /**\n          * Creates a new backend definition for PATCH requests. \n          * Returns an object with respond method that controls how a matched request is handled.\n          * @param url HTTP url string, regular expression or function that receives a url and returns true if the url matches the current expctation.\n          * @param data HTTP request body string, json object, regular expression or function that receives the data and returns true if the data matches the current expectation.\n          * @param headers HTTP headers object or function that receives the headers and returns true if the headers match the current expectation.\n          */\n        whenPATCH(url: string | RegExp | ((url: string) => boolean), data?: string | RegExp | Object | ((data: string) => boolean), headers?: Object | ((object: Object) => boolean)): mock.IRequestHandler;\n\n        /**\n          * Creates a new backend definition for POST requests. \n          * Returns an object with respond method that controls how a matched request is handled.\n          * @param url HTTP url string, regular expression or function that receives a url and returns true if the url matches the current expctation.\n          * @param data HTTP request body string, json object, regular expression or function that receives the data and returns true if the data matches the current expectation.\n          * @param headers HTTP headers object or function that receives the headers and returns true if the headers match the current expectation.\n          */\n        whenPOST(url: string | RegExp | ((url: string) => boolean), data?: string | RegExp | Object | ((data: string) => boolean), headers?: Object | ((object: Object) => boolean)): mock.IRequestHandler;\n\n        /**\n          * Creates a new backend definition for PUT requests. \n          * Returns an object with respond method that controls how a matched request is handled.\n          * @param url HTTP url string, regular expression or function that receives a url and returns true if the url matches the current expctation.\n          * @param data HTTP request body string, json object, regular expression or function that receives the data and returns true if the data matches the current expectation.\n          * @param headers HTTP headers object or function that receives the headers and returns true if the headers match the current expectation.\n          */\n        whenPUT(url: string | RegExp | ((url: string) => boolean), data?: string | RegExp | Object | ((data: string) => boolean), headers?: Object | ((object: Object) => boolean)): mock.IRequestHandler;\n    }\n\n    export module mock {\n        // returned interface by the the mocked HttpBackendService expect/when methods\n        interface IRequestHandler {\n          \n            /**\n              * Controls the response for a matched request using a function to construct the response. \n              * Returns the RequestHandler object for possible overrides.\n              * @param func Function that receives the request HTTP method, url, data, and headers and returns an array containing response status (number), data, headers, and status text.\n              */\n            respond(func: ((method: string, url: string, data: string | Object, headers: Object) => [number, string | Object, Object, string])): IRequestHandler;\n\n            /**\n              * Controls the response for a matched request using supplied static data to construct the response. \n              * Returns the RequestHandler object for possible overrides.\n              * @param status HTTP status code to add to the response.\n              * @param data Data to add to the response.\n              * @param headers Headers object to add to the response.\n              * @param responseText Response text to add to the response.\n              */\n            respond(status: number, data: string | Object, headers?: Object, responseText?: string): IRequestHandler;\n\n            /**\n              * Controls the response for a matched request using the HTTP status code 200 and supplied static data to construct the response. \n              * Returns the RequestHandler object for possible overrides.\n              * @param data Data to add to the response.\n              * @param headers Headers object to add to the response.\n              * @param responseText Response text to add to the response.\n              */\n            respond(data: string | Object, headers?: Object, responseText?: string): IRequestHandler;\n\n            // Available when ngMockE2E is loaded\n            /**\n              * Any request matching a backend definition or expectation with passThrough handler will be passed through to the real backend (an XHR request will be made to the server.)\n              */\n            passThrough(): IRequestHandler;\n        }\n\n    }\n\n}\n\n///////////////////////////////////////////////////////////////////////////////\n// functions attached to global object (window)\n///////////////////////////////////////////////////////////////////////////////\n//Use `angular.mock.module` instead of `module`, as `module` conflicts with commonjs.\n//declare var module: (...modules: any[]) => any;\ndeclare var inject: angular.IInjectStatic;\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/typings/angularjs/angular-resource.d.ts",
    "content": "// Type definitions for Angular JS 1.3 (ngResource module)\n// Project: http://angularjs.org\n// Definitions by: Diego Vilar <http://github.com/diegovilar>, Michael Jess <http://github.com/miffels>\n// Definitions: https://github.com/daptiv/DefinitelyTyped\n\n/// <reference path=\"angular.d.ts\" />\n\ndeclare module 'angular-resource' {\n    var _: string;\n    export = _;\n}\n\n///////////////////////////////////////////////////////////////////////////////\n// ngResource module (angular-resource.js)\n///////////////////////////////////////////////////////////////////////////////\ndeclare module angular.resource {\n\n    /**\n     * Currently supported options for the $resource factory options argument.\n     */\n    interface IResourceOptions {\n        /**\n         * If true then the trailing slashes from any calculated URL will be stripped (defaults to true)\n         */\n        stripTrailingSlashes?: boolean;\n    }\n\n\n    ///////////////////////////////////////////////////////////////////////////\n    // ResourceService\n    // see http://docs.angularjs.org/api/ngResource.$resource\n    // Most part of the following definitions were achieved by analyzing the\n    // actual implementation, since the documentation doesn't seem to cover\n    // that deeply.\n    ///////////////////////////////////////////////////////////////////////////\n    interface IResourceService {\n        (url: string, paramDefaults?: any,\n            /** example:  {update: { method: 'PUT' }, delete: deleteDescriptor }\n             where deleteDescriptor : IActionDescriptor */\n            actions?: any, options?: IResourceOptions): IResourceClass<IResource<any>>;\n        <T, U>(url: string, paramDefaults?: any,\n            /** example:  {update: { method: 'PUT' }, delete: deleteDescriptor }\n             where deleteDescriptor : IActionDescriptor */\n            actions?: any, options?: IResourceOptions): U;\n        <T>(url: string, paramDefaults?: any,\n            /** example:  {update: { method: 'PUT' }, delete: deleteDescriptor }\n             where deleteDescriptor : IActionDescriptor */\n            actions?: any, options?: IResourceOptions): IResourceClass<T>;\n    }\n\n    // Just a reference to facilitate describing new actions\n    interface IActionDescriptor {\n        method: string;\n        params?: any;\n        url?: string;\n        isArray?: boolean;\n        transformRequest?: angular.IHttpRequestTransformer | angular.IHttpRequestTransformer[];\n        transformResponse?: angular.IHttpResponseTransformer | angular.IHttpResponseTransformer[];\n        headers?: any;\n        cache?: boolean | angular.ICacheObject;\n        timeout?: number | angular.IPromise<any>;\n        withCredentials?: boolean;\n        responseType?: string;\n        interceptor?: any;\n    }\n\n    // Baseclass for everyresource with default actions.\n    // If you define your new actions for the resource, you will need\n    // to extend this interface and typecast the ResourceClass to it.\n    //\n    // In case of passing the first argument as anything but a function,\n    // it's gonna be considered data if the action method is POST, PUT or\n    // PATCH (in other words, methods with body). Otherwise, it's going\n    // to be considered as parameters to the request.\n    // https://github.com/angular/angular.js/blob/v1.2.0/src/ngResource/resource.js#L461-L465\n    //\n    // Only those methods with an HTTP body do have 'data' as first parameter:\n    // https://github.com/angular/angular.js/blob/v1.2.0/src/ngResource/resource.js#L463\n    // More specifically, those methods are POST, PUT and PATCH:\n    // https://github.com/angular/angular.js/blob/v1.2.0/src/ngResource/resource.js#L432\n    //\n    // Also, static calls always return the IResource (or IResourceArray) retrieved\n    // https://github.com/angular/angular.js/blob/v1.2.0/src/ngResource/resource.js#L538-L549\n    interface IResourceClass<T> {\n        new(dataOrParams? : any) : T;\n        get(): T;\n        get(params: Object): T;\n        get(success: Function, error?: Function): T;\n        get(params: Object, success: Function, error?: Function): T;\n        get(params: Object, data: Object, success?: Function, error?: Function): T;\n\n        query(): IResourceArray<T>;\n        query(params: Object): IResourceArray<T>;\n        query(success: Function, error?: Function): IResourceArray<T>;\n        query(params: Object, success: Function, error?: Function): IResourceArray<T>;\n        query(params: Object, data: Object, success?: Function, error?: Function): IResourceArray<T>;\n\n        save(): T;\n        save(data: Object): T;\n        save(success: Function, error?: Function): T;\n        save(data: Object, success: Function, error?: Function): T;\n        save(params: Object, data: Object, success?: Function, error?: Function): T;\n\n        remove(): T;\n        remove(params: Object): T;\n        remove(success: Function, error?: Function): T;\n        remove(params: Object, success: Function, error?: Function): T;\n        remove(params: Object, data: Object, success?: Function, error?: Function): T;\n\n        delete(): T;\n        delete(params: Object): T;\n        delete(success: Function, error?: Function): T;\n        delete(params: Object, success: Function, error?: Function): T;\n        delete(params: Object, data: Object, success?: Function, error?: Function): T;\n    }\n\n    // Instance calls always return the the promise of the request which retrieved the object\n    // https://github.com/angular/angular.js/blob/v1.2.0/src/ngResource/resource.js#L538-L546\n    interface IResource<T> {\n        $get(): angular.IPromise<T>;\n        $get(params?: Object, success?: Function, error?: Function): angular.IPromise<T>;\n        $get(success: Function, error?: Function): angular.IPromise<T>;\n\n        $query(): angular.IPromise<IResourceArray<T>>;\n        $query(params?: Object, success?: Function, error?: Function): angular.IPromise<IResourceArray<T>>;\n        $query(success: Function, error?: Function): angular.IPromise<IResourceArray<T>>;\n\n        $save(): angular.IPromise<T>;\n        $save(params?: Object, success?: Function, error?: Function): angular.IPromise<T>;\n        $save(success: Function, error?: Function): angular.IPromise<T>;\n\n        $remove(): angular.IPromise<T>;\n        $remove(params?: Object, success?: Function, error?: Function): angular.IPromise<T>;\n        $remove(success: Function, error?: Function): angular.IPromise<T>;\n\n        $delete(): angular.IPromise<T>;\n        $delete(params?: Object, success?: Function, error?: Function): angular.IPromise<T>;\n        $delete(success: Function, error?: Function): angular.IPromise<T>;\n\n        /** the promise of the original server interaction that created this instance. **/\n        $promise : angular.IPromise<T>;\n        $resolved : boolean;\n        toJSON: () => {\n          [index: string]: any;\n        }\n    }\n\n    /**\n     * Really just a regular Array object with $promise and $resolve attached to it\n     */\n    interface IResourceArray<T> extends Array<T> {\n        /** the promise of the original server interaction that created this collection. **/\n        $promise : angular.IPromise<IResourceArray<T>>;\n        $resolved : boolean;\n    }\n\n    /** when creating a resource factory via IModule.factory */\n    interface IResourceServiceFactoryFunction<T> {\n        ($resource: angular.resource.IResourceService): IResourceClass<T>;\n        <U extends IResourceClass<T>>($resource: angular.resource.IResourceService): U;\n    }\n\n    // IResourceServiceProvider used to configure global settings\n    interface IResourceServiceProvider extends angular.IServiceProvider {\n\n        defaults: IResourceOptions;\n    }\n\n}\n\n/** extensions to base ng based on using angular-resource */\ndeclare module angular {\n\n    interface IModule {\n        /** creating a resource service factory */\n        factory(name: string, resourceServiceFactoryFunction: angular.resource.IResourceServiceFactoryFunction<any>): IModule;\n    }\n}\n\ninterface Array<T>\n{\n    /** the promise of the original server interaction that created this collection. **/\n    $promise : angular.IPromise<Array<T>>;\n    $resolved : boolean;\n}\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/typings/angularjs/angular-route.d.ts",
    "content": "// Type definitions for Angular JS 1.3 (ngRoute module)\n// Project: http://angularjs.org\n// Definitions by: Jonathan Park <https://github.com/park9140>\n// Definitions: https://github.com/borisyankov/DefinitelyTyped\n\n/// <reference path=\"angular.d.ts\" />\n\ndeclare module \"angular-route\" {\n    var _: string;\n    export = _;\n}\n\n///////////////////////////////////////////////////////////////////////////////\n// ngRoute module (angular-route.js)\n///////////////////////////////////////////////////////////////////////////////\ndeclare module angular.route {\n\n    ///////////////////////////////////////////////////////////////////////////\n    // RouteParamsService\n    // see http://docs.angularjs.org/api/ngRoute.$routeParams\n    ///////////////////////////////////////////////////////////////////////////\n    interface IRouteParamsService {\n        [key: string]: any;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // RouteService\n    // see http://docs.angularjs.org/api/ngRoute.$route\n    // see http://docs.angularjs.org/api/ngRoute.$routeProvider\n    ///////////////////////////////////////////////////////////////////////////\n    interface IRouteService {\n        reload(): void;\n        routes: any;\n\n        // May not always be available. For instance, current will not be available\n        // to a controller that was not initialized as a result of a route maching.\n        current?: ICurrentRoute;\n        \n        /**\n         * Causes $route service to update the current URL, replacing current route parameters with those specified in newParams.\n         * Provided property names that match the route's path segment definitions will be interpolated into the\n         * location's path, while remaining properties will be treated as query params.\n         *\n         * @param newParams Object.<string, string> mapping of URL parameter names to values\n         */\n        updateParams(newParams:{[key:string]:string}): void;\n\n    }\n\n\n    /**\n     * see http://docs.angularjs.org/api/ngRoute/provider/$routeProvider#when for API documentation\n     */\n    interface IRoute {\n        /**\n         * {(string|function()=}\n         * Controller fn that should be associated with newly created scope or the name of a registered controller if passed as a string.\n         */\n        controller?: string|Function;\n        /**\n         * A controller alias name. If present the controller will be published to scope under the controllerAs name.\n         */\n        controllerAs?: string;\n        /**\n         * Undocumented?\n         */\n        name?: string;\n        /**\n         * {string=|function()=}\n         * Html template as a string or a function that returns an html template as a string which should be used by ngView or ngInclude directives. This property takes precedence over templateUrl.\n         *\n         * If template is a function, it will be called with the following parameters:\n         *\n         * {Array.<Object>} - route parameters extracted from the current $location.path() by applying the current route\n         */\n        template?: string|{($routeParams?: angular.route.IRouteParamsService) : string;}\n        /**\n         * {string=|function()=}\n         * Path or function that returns a path to an html template that should be used by ngView.\n         *\n         * If templateUrl is a function, it will be called with the following parameters:\n         *\n         * {Array.<Object>} - route parameters extracted from the current $location.path() by applying the current route\n         */\n        templateUrl?: string|{ ($routeParams?: angular.route.IRouteParamsService): string; }\n        /**\n         * {Object.<string, function>=} - An optional map of dependencies which should be injected into the controller. If any of these dependencies are promises, the router will wait for them all to be resolved or one to be rejected before the controller is instantiated. If all the promises are resolved successfully, the values of the resolved promises are injected and $routeChangeSuccess event is fired. If any of the promises are rejected the $routeChangeError event is fired. The map object is:\n         *\n         * - key - {string}: a name of a dependency to be injected into the controller.\n         * - factory - {string|function}: If string then it is an alias for a service. Otherwise if function, then it is injected and the return value is treated as the dependency. If the result is a promise, it is resolved before its value is injected into the controller. Be aware that ngRoute.$routeParams will still refer to the previous route within these resolve functions. Use $route.current.params to access the new route parameters, instead.\n         */\n        resolve?: {[key: string]: any};\n        /**\n         * {(string|function())=}\n         * Value to update $location path with and trigger route redirection.\n         *\n         * If redirectTo is a function, it will be called with the following parameters:\n         *\n         * - {Object.<string>} - route parameters extracted from the current $location.path() by applying the current route templateUrl.\n         * - {string} - current $location.path()\n         * - {Object} - current $location.search()\n         * - The custom redirectTo function is expected to return a string which will be used to update $location.path() and $location.search().\n         */\n        redirectTo?: string|{($routeParams?: angular.route.IRouteParamsService, $locationPath?: string, $locationSearch?: any) : string};\n        /**\n         * Reload route when only $location.search() or $location.hash() changes.\n         *\n         * This option defaults to true. If the option is set to false and url in the browser changes, then $routeUpdate event is broadcasted on the root scope.\n         */\n        reloadOnSearch?: boolean;\n        /**\n         * Match routes without being case sensitive\n         *\n         * This option defaults to false. If the option is set to true, then the particular route can be matched without being case sensitive\n         */\n        caseInsensitiveMatch?: boolean;\n    }\n\n    // see http://docs.angularjs.org/api/ng.$route#current\n    interface ICurrentRoute extends IRoute {\n        locals: {\n            [index: string]: any;\n            $scope: IScope;\n            $template: string;\n        };\n\n        params: any;\n    }\n\n    interface IRouteProvider extends IServiceProvider {\n\t\t/**\n         * Match routes without being case sensitive\n         *\n         * This option defaults to false. If the option is set to true, then the particular route can be matched without being case sensitive\n         */\n        caseInsensitiveMatch?: boolean;\n        /**\n         * Sets route definition that will be used on route change when no other route definition is matched.\n         *\n         * @params Mapping information to be assigned to $route.current.\n         */\n        otherwise(params: IRoute): IRouteProvider;\n        /**\n         * Adds a new route definition to the $route service.\n         *\n         * @param path Route path (matched against $location.path). If $location.path contains redundant trailing slash or is missing one, the route will still match and the $location.path will be updated to add or drop the trailing slash to exactly match the route definition.\n         *\n         * - path can contain named groups starting with a colon: e.g. :name. All characters up to the next slash are matched and stored in $routeParams under the given name when the route matches.\n         * - path can contain named groups starting with a colon and ending with a star: e.g.:name*. All characters are eagerly stored in $routeParams under the given name when the route matches.\n         * - path can contain optional named groups with a question mark: e.g.:name?.\n         *\n         * For example, routes like /color/:color/largecode/:largecode*\\/edit will match /color/brown/largecode/code/with/slashes/edit and extract: color: brown and largecode: code/with/slashes.\n         *\n         * @param route Mapping information to be assigned to $route.current on route match.\n         */\n        when(path: string, route: IRoute): IRouteProvider;\n    }\n}\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/typings/angularjs/angular-sanitize.d.ts",
    "content": "// Type definitions for Angular JS 1.3 (ngSanitize module)\n// Project: http://angularjs.org\n// Definitions by: Diego Vilar <http://github.com/diegovilar>\n// Definitions: https://github.com/borisyankov/DefinitelyTyped\n\n\n/// <reference path=\"angular.d.ts\" />\n\ndeclare module \"angular-sanitize\" {\n    var _: string;\n    export = _;\n}\n\n///////////////////////////////////////////////////////////////////////////////\n// ngSanitize module (angular-sanitize.js)\n///////////////////////////////////////////////////////////////////////////////\ndeclare module angular.sanitize {\n\n    ///////////////////////////////////////////////////////////////////////////\n    // SanitizeService\n    // see http://docs.angularjs.org/api/ngSanitize.$sanitize\n    ///////////////////////////////////////////////////////////////////////////\n    interface ISanitizeService {\n        (html: string): string;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // Filters included with the ngSanitize\n    // see https://github.com/angular/angular.js/tree/v1.2.0/src/ngSanitize/filter\n    ///////////////////////////////////////////////////////////////////////////\n    export module filter {\n\n        // Finds links in text input and turns them into html links.\n        // Supports http/https/ftp/mailto and plain email address links.\n        // see http://code.angularjs.org/1.2.0/docs/api/ngSanitize.filter:linky\n        interface ILinky {\n            (text: string, target?: string): string;\n        }\n    }\n}\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/typings/angularjs/angular.d.ts",
    "content": "// Type definitions for Angular JS 1.4+\n// Project: http://angularjs.org\n// Definitions by: Diego Vilar <http://github.com/diegovilar>\n// Definitions: https://github.com/borisyankov/DefinitelyTyped\n\n\n/// <reference path=\"../jquery/jquery.d.ts\" />\n\ndeclare var angular: angular.IAngularStatic;\n\n// Support for painless dependency injection\ninterface Function {\n    $inject?: string[];\n}\n\n// Collapse angular into ng\nimport ng = angular;\n// Support AMD require\ndeclare module 'angular' {\n    export = angular;\n}\n\n///////////////////////////////////////////////////////////////////////////////\n// ng module (angular.js)\n///////////////////////////////////////////////////////////////////////////////\ndeclare module angular {\n\n    // not directly implemented, but ensures that constructed class implements $get\n    interface IServiceProviderClass {\n        new (...args: any[]): IServiceProvider;\n    }\n\n    interface IServiceProviderFactory {\n        (...args: any[]): IServiceProvider;\n    }\n\n    // All service providers extend this interface\n    interface IServiceProvider {\n        $get: any;\n    }\n\n    interface IAngularBootstrapConfig {\n        strictDi?: boolean;\n        debugInfoEnabled?: boolean;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // AngularStatic\n    // see http://docs.angularjs.org/api\n    ///////////////////////////////////////////////////////////////////////////\n    interface IAngularStatic {\n        bind(context: any, fn: Function, ...args: any[]): Function;\n\n        /**\n         * Use this function to manually start up angular application.\n         *\n         * @param element DOM element which is the root of angular application.\n         * @param modules An array of modules to load into the application.\n         *     Each item in the array should be the name of a predefined module or a (DI annotated)\n         *     function that will be invoked by the injector as a config block.\n         * @param config an object for defining configuration options for the application. The following keys are supported:\n         *     - `strictDi`: disable automatic function annotation for the application. This is meant to assist in finding bugs which break minified code.\n         */\n        bootstrap(element: string|Element|JQuery|Document, modules?: (string|Function|any[])[], config?: IAngularBootstrapConfig): auto.IInjectorService;\n\n        /**\n         * Creates a deep copy of source, which should be an object or an array.\n         *\n         * - If no destination is supplied, a copy of the object or array is created.\n         * - If a destination is provided, all of its elements (for array) or properties (for objects) are deleted and then all elements/properties from the source are copied to it.\n         * - If source is not an object or array (inc. null and undefined), source is returned.\n         * - If source is identical to 'destination' an exception will be thrown.\n         *\n         * @param source The source that will be used to make a copy. Can be any type, including primitives, null, and undefined.\n         * @param destination Destination into which the source is copied. If provided, must be of the same type as source.\n         */\n        copy<T>(source: T, destination?: T): T;\n\n        /**\n         * Wraps a raw DOM element or HTML string as a jQuery element.\n         *\n         * If jQuery is available, angular.element is an alias for the jQuery function. If jQuery is not available, angular.element delegates to Angular's built-in subset of jQuery, called \"jQuery lite\" or \"jqLite.\"\n         */\n        element: IAugmentedJQueryStatic;\n        equals(value1: any, value2: any): boolean;\n        extend(destination: any, ...sources: any[]): any;\n\n        /**\n         * Invokes the iterator function once for each item in obj collection, which can be either an object or an array. The iterator function is invoked with iterator(value, key), where value is the value of an object property or an array element and key is the object property key or array element index. Specifying a context for the function is optional.\n         *\n         * It is worth noting that .forEach does not iterate over inherited properties because it filters using the hasOwnProperty method.\n         *\n         * @param obj Object to iterate over.\n         * @param iterator Iterator function.\n         * @param context Object to become context (this) for the iterator function.\n         */\n        forEach<T>(obj: T[], iterator: (value: T, key: number) => any, context?: any): any;\n        /**\n         * Invokes the iterator function once for each item in obj collection, which can be either an object or an array. The iterator function is invoked with iterator(value, key), where value is the value of an object property or an array element and key is the object property key or array element index. Specifying a context for the function is optional.\n         *\n         * It is worth noting that .forEach does not iterate over inherited properties because it filters using the hasOwnProperty method.\n         *\n         * @param obj Object to iterate over.\n         * @param iterator Iterator function.\n         * @param context Object to become context (this) for the iterator function.\n         */\n        forEach<T>(obj: { [index: string]: T; }, iterator: (value: T, key: string) => any, context?: any): any;\n        /**\n         * Invokes the iterator function once for each item in obj collection, which can be either an object or an array. The iterator function is invoked with iterator(value, key), where value is the value of an object property or an array element and key is the object property key or array element index. Specifying a context for the function is optional.\n         *\n         * It is worth noting that .forEach does not iterate over inherited properties because it filters using the hasOwnProperty method.\n         *\n         * @param obj Object to iterate over.\n         * @param iterator Iterator function.\n         * @param context Object to become context (this) for the iterator function.\n         */\n        forEach(obj: any, iterator: (value: any, key: any) => any, context?: any): any;\n\n        fromJson(json: string): any;\n        identity<T>(arg?: T): T;\n        injector(modules?: any[], strictDi?: boolean): auto.IInjectorService;\n        isArray(value: any): boolean;\n        isDate(value: any): boolean;\n        isDefined(value: any): boolean;\n        isElement(value: any): boolean;\n        isFunction(value: any): boolean;\n        isNumber(value: any): boolean;\n        isObject(value: any): boolean;\n        isString(value: any): boolean;\n        isUndefined(value: any): boolean;\n        lowercase(str: string): string;\n\n        /**\n         * Deeply extends the destination object dst by copying own enumerable properties from the src object(s) to dst. You can specify multiple src objects. If you want to preserve original objects, you can do so by passing an empty object as the target: var object = angular.merge({}, object1, object2).\n         *\n         * Unlike extend(), merge() recursively descends into object properties of source objects, performing a deep copy.\n         *\n         * @param dst Destination object.\n         * @param src Source object(s).\n         */\n        merge(dst: any, ...src: any[]): any;\n\n        /**\n         * The angular.module is a global place for creating, registering and retrieving Angular modules. All modules (angular core or 3rd party) that should be available to an application must be registered using this mechanism.\n         *\n         * When passed two or more arguments, a new module is created. If passed only one argument, an existing module (the name passed as the first argument to module) is retrieved.\n         *\n         * @param name The name of the module to create or retrieve.\n         * @param requires The names of modules this module depends on. If specified then new module is being created. If unspecified then the module is being retrieved for further configuration.\n         * @param configFn Optional configuration function for the module.\n         */\n        module(\n            name: string,\n            requires?: string[],\n            configFn?: Function): IModule;\n\n        noop(...args: any[]): void;\n        reloadWithDebugInfo(): void;\n        toJson(obj: any, pretty?: boolean): string;\n        uppercase(str: string): string;\n        version: {\n            full: string;\n            major: number;\n            minor: number;\n            dot: number;\n            codeName: string;\n        };\n\n        /**\n         * If window.name contains prefix NG_DEFER_BOOTSTRAP! when angular.bootstrap is called, the bootstrap process will be paused until angular.resumeBootstrap() is called.\n         * @param extraModules An optional array of modules that should be added to the original list of modules that the app was about to be bootstrapped with.\n         */\n        resumeBootstrap?(extraModules?: string[]): ng.auto.IInjectorService;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // Module\n    // see http://docs.angularjs.org/api/angular.Module\n    ///////////////////////////////////////////////////////////////////////////\n    interface IModule {\n        animation(name: string, animationFactory: Function): IModule;\n        animation(name: string, inlineAnnotatedFunction: any[]): IModule;\n        animation(object: Object): IModule;\n        /**\n         * Use this method to register a component.\n         *\n         * @param name The name of the component.\n         * @param options A definition object passed into the component.\n         */\n        component(name: string, options: IComponentOptions): IModule;\n        /**\n         * Use this method to register work which needs to be performed on module loading.\n         *\n         * @param configFn Execute this function on module load. Useful for service configuration.\n         */\n        config(configFn: Function): IModule;\n        /**\n         * Use this method to register work which needs to be performed on module loading.\n         *\n         * @param inlineAnnotatedFunction Execute this function on module load. Useful for service configuration.\n         */\n        config(inlineAnnotatedFunction: any[]): IModule;\n        /**\n         * Register a constant service, such as a string, a number, an array, an object or a function, with the $injector. Unlike value it can be injected into a module configuration function (see config) and it cannot be overridden by an Angular decorator.\n         *\n         * @param name The name of the constant.\n         * @param value The constant value.\n         */\n        constant(name: string, value: any): IModule;\n        constant(object: Object): IModule;\n        /**\n         * The $controller service is used by Angular to create new controllers.\n         *\n         * This provider allows controller registration via the register method.\n         *\n         * @param name Controller name, or an object map of controllers where the keys are the names and the values are the constructors.\n         * @param controllerConstructor Controller constructor fn (optionally decorated with DI annotations in the array notation).\n         */\n        controller(name: string, controllerConstructor: Function): IModule;\n        /**\n         * The $controller service is used by Angular to create new controllers.\n         *\n         * This provider allows controller registration via the register method.\n         *\n         * @param name Controller name, or an object map of controllers where the keys are the names and the values are the constructors.\n         * @param controllerConstructor Controller constructor fn (optionally decorated with DI annotations in the array notation).\n         */\n        controller(name: string, inlineAnnotatedConstructor: any[]): IModule;\n        controller(object: Object): IModule;\n        /**\n         * Register a new directive with the compiler.\n         *\n         * @param name Name of the directive in camel-case (i.e. ngBind which will match as ng-bind)\n         * @param directiveFactory An injectable directive factory function.\n         */\n        directive(name: string, directiveFactory: IDirectiveFactory): IModule;\n        /**\n         * Register a new directive with the compiler.\n         *\n         * @param name Name of the directive in camel-case (i.e. ngBind which will match as ng-bind)\n         * @param directiveFactory An injectable directive factory function.\n         */\n        directive(name: string, inlineAnnotatedFunction: any[]): IModule;\n        directive(object: Object): IModule;\n        /**\n         * Register a service factory, which will be called to return the service instance. This is short for registering a service where its provider consists of only a $get property, which is the given service factory function. You should use $provide.factory(getFn) if you do not need to configure your service in a provider.\n         *\n         * @param name The name of the instance.\n         * @param $getFn The $getFn for the instance creation. Internally this is a short hand for $provide.provider(name, {$get: $getFn}).\n         */\n        factory(name: string, $getFn: Function): IModule;\n        /**\n         * Register a service factory, which will be called to return the service instance. This is short for registering a service where its provider consists of only a $get property, which is the given service factory function. You should use $provide.factory(getFn) if you do not need to configure your service in a provider.\n         *\n         * @param name The name of the instance.\n         * @param inlineAnnotatedFunction The $getFn for the instance creation. Internally this is a short hand for $provide.provider(name, {$get: $getFn}).\n         */\n        factory(name: string, inlineAnnotatedFunction: any[]): IModule;\n        factory(object: Object): IModule;\n        filter(name: string, filterFactoryFunction: Function): IModule;\n        filter(name: string, inlineAnnotatedFunction: any[]): IModule;\n        filter(object: Object): IModule;\n        provider(name: string, serviceProviderFactory: IServiceProviderFactory): IModule;\n        provider(name: string, serviceProviderConstructor: IServiceProviderClass): IModule;\n        provider(name: string, inlineAnnotatedConstructor: any[]): IModule;\n        provider(name: string, providerObject: IServiceProvider): IModule;\n        provider(object: Object): IModule;\n        /**\n         * Run blocks are the closest thing in Angular to the main method. A run block is the code which needs to run to kickstart the application. It is executed after all of the service have been configured and the injector has been created. Run blocks typically contain code which is hard to unit-test, and for this reason should be declared in isolated modules, so that they can be ignored in the unit-tests.\n         */\n        run(initializationFunction: Function): IModule;\n        /**\n         * Run blocks are the closest thing in Angular to the main method. A run block is the code which needs to run to kickstart the application. It is executed after all of the service have been configured and the injector has been created. Run blocks typically contain code which is hard to unit-test, and for this reason should be declared in isolated modules, so that they can be ignored in the unit-tests.\n         */\n        run(inlineAnnotatedFunction: any[]): IModule;\n        service(name: string, serviceConstructor: Function): IModule;\n        service(name: string, inlineAnnotatedConstructor: any[]): IModule;\n        service(object: Object): IModule;\n        /**\n         * Register a value service with the $injector, such as a string, a number, an array, an object or a function. This is short for registering a service where its provider's $get property is a factory function that takes no arguments and returns the value service.\n\n           Value services are similar to constant services, except that they cannot be injected into a module configuration function (see config) but they can be overridden by an Angular decorator.\n         *\n         * @param name The name of the instance.\n         * @param value The value.\n         */\n        value(name: string, value: any): IModule;\n        value(object: Object): IModule;\n\n        /**\n         * Register a service decorator with the $injector. A service decorator intercepts the creation of a service, allowing it to override or modify the behaviour of the service. The object returned by the decorator may be the original service, or a new service object which replaces or wraps and delegates to the original service.\n         * @param name The name of the service to decorate\n         * @param decorator This function will be invoked when the service needs to be instantiated and should return the decorated service instance. The function is called using the injector.invoke method and is therefore fully injectable. Local injection arguments: $delegate - The original service instance, which can be monkey patched, configured, decorated or delegated to.\n         */\n        decorator(name:string, decoratorConstructor: Function): IModule;\n        decorator(name:string, inlineAnnotatedConstructor: any[]): IModule;\n\n        // Properties\n        name: string;\n        requires: string[];\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // Attributes\n    // see http://docs.angularjs.org/api/ng.$compile.directive.Attributes\n    ///////////////////////////////////////////////////////////////////////////\n    interface IAttributes {\n        /**\n         * this is necessary to be able to access the scoped attributes. it's not very elegant\n         * because you have to use attrs['foo'] instead of attrs.foo but I don't know of a better way\n         * this should really be limited to return string but it creates this problem: http://stackoverflow.com/q/17201854/165656\n         */\n        [name: string]: any;\n\n        /**\n         * Converts an attribute name (e.g. dash/colon/underscore-delimited string, optionally prefixed with x- or data-) to its normalized, camelCase form.\n         *\n         * Also there is special case for Moz prefix starting with upper case letter.\n         *\n         * For further information check out the guide on @see https://docs.angularjs.org/guide/directive#matching-directives\n         */\n        $normalize(name: string): string;\n\n        /**\n         * Adds the CSS class value specified by the classVal parameter to the\n         * element. If animations are enabled then an animation will be triggered\n         * for the class addition.\n         */\n        $addClass(classVal: string): void;\n\n        /**\n         * Removes the CSS class value specified by the classVal parameter from the\n         * element. If animations are enabled then an animation will be triggered for\n         * the class removal.\n         */\n        $removeClass(classVal: string): void;\n\n        /**\n         * Set DOM element attribute value.\n         */\n        $set(key: string, value: any): void;\n\n        /**\n         * Observes an interpolated attribute.\n         * The observer function will be invoked once during the next $digest\n         * following compilation. The observer is then invoked whenever the\n         * interpolated value changes.\n         */\n        $observe<T>(name: string, fn: (value?: T) => any): Function;\n\n        /**\n         * A map of DOM element attribute names to the normalized name. This is needed\n         * to do reverse lookup from normalized name back to actual name.\n         */\n        $attr: Object;\n    }\n\n    /**\n     * form.FormController - type in module ng\n     * see https://docs.angularjs.org/api/ng/type/form.FormController\n     */\n    interface IFormController {\n\n        /**\n         * Indexer which should return ng.INgModelController for most properties but cannot because of \"All named properties must be assignable to string indexer type\" constraint - see https://github.com/Microsoft/TypeScript/issues/272\n         */\n        [name: string]: any;\n\n        $pristine: boolean;\n        $dirty: boolean;\n        $valid: boolean;\n        $invalid: boolean;\n        $submitted: boolean;\n        $error: any;\n        $addControl(control: INgModelController): void;\n        $removeControl(control: INgModelController): void;\n        $setValidity(validationErrorKey: string, isValid: boolean, control: INgModelController): void;\n        $setDirty(): void;\n        $setPristine(): void;\n        $commitViewValue(): void;\n        $rollbackViewValue(): void;\n        $setSubmitted(): void;\n        $setUntouched(): void;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // NgModelController\n    // see http://docs.angularjs.org/api/ng.directive:ngModel.NgModelController\n    ///////////////////////////////////////////////////////////////////////////\n    interface INgModelController {\n        $render(): void;\n        $setValidity(validationErrorKey: string, isValid: boolean): void;\n        // Documentation states viewValue and modelValue to be a string but other\n        // types do work and it's common to use them.\n        $setViewValue(value: any, trigger?: string): void;\n        $setPristine(): void;\n        $setDirty(): void;\n        $validate(): void;\n        $setTouched(): void;\n        $setUntouched(): void;\n        $rollbackViewValue(): void;\n        $commitViewValue(): void;\n        $isEmpty(value: any): boolean;\n\n        $viewValue: any;\n\n        $modelValue: any;\n\n        $parsers: IModelParser[];\n        $formatters: IModelFormatter[];\n        $viewChangeListeners: IModelViewChangeListener[];\n        $error: any;\n        $name: string;\n\n        $touched: boolean;\n        $untouched: boolean;\n\n        $validators: IModelValidators;\n        $asyncValidators: IAsyncModelValidators;\n\n        $pending: any;\n        $pristine: boolean;\n        $dirty: boolean;\n        $valid: boolean;\n        $invalid: boolean;\n    }\n\n    interface IModelValidators {\n        /**\n         * viewValue is any because it can be an object that is called in the view like $viewValue.name:$viewValue.subName\n         */\n        [index: string]: (modelValue: any, viewValue: any) => boolean;\n    }\n\n    interface IAsyncModelValidators {\n        [index: string]: (modelValue: any, viewValue: any) => IPromise<any>;\n    }\n\n    interface IModelParser {\n        (value: any): any;\n    }\n\n    interface IModelFormatter {\n        (value: any): any;\n    }\n\n    interface IModelViewChangeListener {\n        (): void;\n    }\n\n    /**\n     * $rootScope - $rootScopeProvider - service in module ng\n     * see https://docs.angularjs.org/api/ng/type/$rootScope.Scope and https://docs.angularjs.org/api/ng/service/$rootScope\n     */\n    interface IRootScopeService {\n        [index: string]: any;\n\n        $apply(): any;\n        $apply(exp: string): any;\n        $apply(exp: (scope: IScope) => any): any;\n\n        $applyAsync(): any;\n        $applyAsync(exp: string): any;\n        $applyAsync(exp: (scope: IScope) => any): any;\n\n        /**\n         * Dispatches an event name downwards to all child scopes (and their children) notifying the registered $rootScope.Scope listeners.\n         *\n         * The event life cycle starts at the scope on which $broadcast was called. All listeners listening for name event on this scope get notified. Afterwards, the event propagates to all direct and indirect scopes of the current scope and calls all registered listeners along the way. The event cannot be canceled.\n         *\n         * Any exception emitted from the listeners will be passed onto the $exceptionHandler service.\n         *\n         * @param name Event name to broadcast.\n         * @param args Optional one or more arguments which will be passed onto the event listeners.\n         */\n        $broadcast(name: string, ...args: any[]): IAngularEvent;\n        $destroy(): void;\n        $digest(): void;\n        /**\n         * Dispatches an event name upwards through the scope hierarchy notifying the registered $rootScope.Scope listeners.\n         *\n         * The event life cycle starts at the scope on which $emit was called. All listeners listening for name event on this scope get notified. Afterwards, the event traverses upwards toward the root scope and calls all registered listeners along the way. The event will stop propagating if one of the listeners cancels it.\n         *\n         * Any exception emitted from the listeners will be passed onto the $exceptionHandler service.\n         *\n         * @param name Event name to emit.\n         * @param args Optional one or more arguments which will be passed onto the event listeners.\n         */\n        $emit(name: string, ...args: any[]): IAngularEvent;\n\n        $eval(): any;\n        $eval(expression: string, locals?: Object): any;\n        $eval(expression: (scope: IScope) => any, locals?: Object): any;\n\n        $evalAsync(): void;\n        $evalAsync(expression: string): void;\n        $evalAsync(expression: (scope: IScope) => any): void;\n\n        // Defaults to false by the implementation checking strategy\n        $new(isolate?: boolean, parent?: IScope): IScope;\n\n        /**\n         * Listens on events of a given type. See $emit for discussion of event life cycle.\n         *\n         * The event listener function format is: function(event, args...).\n         *\n         * @param name Event name to listen on.\n         * @param listener Function to call when the event is emitted.\n         */\n        $on(name: string, listener: (event: IAngularEvent, ...args: any[]) => any): Function;\n\n        $watch(watchExpression: string, listener?: string, objectEquality?: boolean): Function;\n        $watch<T>(watchExpression: string, listener?: (newValue: T, oldValue: T, scope: IScope) => any, objectEquality?: boolean): Function;\n        $watch(watchExpression: (scope: IScope) => any, listener?: string, objectEquality?: boolean): Function;\n        $watch<T>(watchExpression: (scope: IScope) => T, listener?: (newValue: T, oldValue: T, scope: IScope) => any, objectEquality?: boolean): Function;\n\n        $watchCollection<T>(watchExpression: string, listener: (newValue: T, oldValue: T, scope: IScope) => any): Function;\n        $watchCollection<T>(watchExpression: (scope: IScope) => T, listener: (newValue: T, oldValue: T, scope: IScope) => any): Function;\n\n        $watchGroup(watchExpressions: any[], listener: (newValue: any, oldValue: any, scope: IScope) => any): Function;\n        $watchGroup(watchExpressions: { (scope: IScope): any }[], listener: (newValue: any, oldValue: any, scope: IScope) => any): Function;\n\n        $parent: IScope;\n        $root: IRootScopeService;\n        $id: number;\n\n        // Hidden members\n        $$isolateBindings: any;\n        $$phase: any;\n    }\n\n    interface IScope extends IRootScopeService { }\n\n    /**\n     * $scope for ngRepeat directive.\n     * see https://docs.angularjs.org/api/ng/directive/ngRepeat\n     */\n    interface IRepeatScope extends IScope {\n\n        /**\n         * iterator offset of the repeated element (0..length-1).\n         */\n        $index: number;\n\n        /**\n         * true if the repeated element is first in the iterator.\n         */\n        $first: boolean;\n\n        /**\n         * true if the repeated element is between the first and last in the iterator.\n         */\n        $middle: boolean;\n\n        /**\n         * true if the repeated element is last in the iterator.\n         */\n        $last: boolean;\n\n        /**\n         * true if the iterator position $index is even (otherwise false).\n         */\n        $even: boolean;\n\n        /**\n         * true if the iterator position $index is odd (otherwise false).\n         */\n        $odd: boolean;\n\n    }\n\n    interface IAngularEvent {\n        /**\n         * the scope on which the event was $emit-ed or $broadcast-ed.\n         */\n        targetScope: IScope;\n        /**\n         * the scope that is currently handling the event. Once the event propagates through the scope hierarchy, this property is set to null.\n         */\n        currentScope: IScope;\n        /**\n         * name of the event.\n         */\n        name: string;\n        /**\n         * calling stopPropagation function will cancel further event propagation (available only for events that were $emit-ed).\n         */\n        stopPropagation?: Function;\n        /**\n         * calling preventDefault sets defaultPrevented flag to true.\n         */\n        preventDefault: Function;\n        /**\n         * true if preventDefault was called.\n         */\n        defaultPrevented: boolean;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // WindowService\n    // see http://docs.angularjs.org/api/ng.$window\n    ///////////////////////////////////////////////////////////////////////////\n    interface IWindowService extends Window {\n        [key: string]: any;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // BrowserService\n    // TODO undocumented, so we need to get it from the source code\n    ///////////////////////////////////////////////////////////////////////////\n    interface IBrowserService {\n        defer: angular.ITimeoutService;\n        [key: string]: any;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // TimeoutService\n    // see http://docs.angularjs.org/api/ng.$timeout\n    ///////////////////////////////////////////////////////////////////////////\n    interface ITimeoutService {\n        (delay?: number, invokeApply?: boolean): IPromise<void>;\n        <T>(fn: (...args: any[]) => T, delay?: number, invokeApply?: boolean, ...args: any[]): IPromise<T>;\n        cancel(promise?: IPromise<any>): boolean;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // IntervalService\n    // see http://docs.angularjs.org/api/ng.$interval\n    ///////////////////////////////////////////////////////////////////////////\n    interface IIntervalService {\n        (func: Function, delay: number, count?: number, invokeApply?: boolean, ...args: any[]): IPromise<any>;\n        cancel(promise: IPromise<any>): boolean;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // AnimateProvider\n    // see http://docs.angularjs.org/api/ng/provider/$animateProvider\n    ///////////////////////////////////////////////////////////////////////////\n    interface IAnimateProvider {\n        /**\n         * Registers a new injectable animation factory function.\n         *\n         * @param name The name of the animation.\n         * @param factory The factory function that will be executed to return the animation object.\n         */\n        register(name: string, factory: () => IAnimateCallbackObject): void;\n\n        /**\n         * Gets and/or sets the CSS class expression that is checked when performing an animation.\n         *\n         * @param expression The className expression which will be checked against all animations.\n         * @returns The current CSS className expression value. If null then there is no expression value.\n         */\n        classNameFilter(expression?: RegExp): RegExp;\n    }\n\n    /**\n     * The animation object which contains callback functions for each event that is expected to be animated.\n     */\n    interface IAnimateCallbackObject {\n        eventFn(element: Node, doneFn: () => void): Function;\n    }\n\n    /**\n     * $filter - $filterProvider - service in module ng\n     *\n     * Filters are used for formatting data displayed to the user.\n     *\n     * see https://docs.angularjs.org/api/ng/service/$filter\n     */\n    interface IFilterService {\n        (name: 'filter'): IFilterFilter;\n        (name: 'currency'): IFilterCurrency;\n        (name: 'number'): IFilterNumber;\n        (name: 'date'): IFilterDate;\n        (name: 'json'): IFilterJson;\n        (name: 'lowercase'): IFilterLowercase;\n        (name: 'uppercase'): IFilterUppercase;\n        (name: 'limitTo'): IFilterLimitTo;\n        (name: 'orderBy'): IFilterOrderBy;\n        /**\n         * Usage:\n         * $filter(name);\n         *\n         * @param name Name of the filter function to retrieve\n         */\n        <T>(name: string): T;\n    }\n\n    interface IFilterFilter {\n        <T>(array: T[], expression: string | IFilterFilterPatternObject | IFilterFilterPredicateFunc<T>, comparator?: IFilterFilterComparatorFunc<T>|boolean): T[];\n    }\n\n    interface IFilterFilterPatternObject {\n        [name: string]: any;\n    }\n\n    interface IFilterFilterPredicateFunc<T> {\n        (value: T, index: number, array: T[]): boolean;\n    }\n\n    interface IFilterFilterComparatorFunc<T> {\n        (actual: T, expected: T): boolean;\n    }\n\n    interface IFilterCurrency {\n        /**\n         * Formats a number as a currency (ie $1,234.56). When no currency symbol is provided, default symbol for current locale is used.\n         * @param amount Input to filter.\n         * @param symbol Currency symbol or identifier to be displayed.\n         * @param fractionSize Number of decimal places to round the amount to, defaults to default max fraction size for current locale\n         * @return Formatted number\n         */\n        (amount: number, symbol?: string, fractionSize?: number): string;\n    }\n\n    interface IFilterNumber {\n        /**\n         * Formats a number as text.\n         * @param number Number to format.\n         * @param fractionSize Number of decimal places to round the number to. If this is not provided then the fraction size is computed from the current locale's number formatting pattern. In the case of the default locale, it will be 3.\n         * @return Number rounded to decimalPlaces and places a “,” after each third digit.\n         */\n        (value: number|string, fractionSize?: number|string): string;\n    }\n\n    interface IFilterDate {\n        /**\n         * Formats date to a string based on the requested format.\n         *\n         * @param date Date to format either as Date object, milliseconds (string or number) or various ISO 8601 datetime string formats (e.g. yyyy-MM-ddTHH:mm:ss.sssZ and its shorter versions like yyyy-MM-ddTHH:mmZ, yyyy-MM-dd or yyyyMMddTHHmmssZ). If no timezone is specified in the string input, the time is considered to be in the local timezone.\n         * @param format Formatting rules (see Description). If not specified, mediumDate is used.\n         * @param timezone Timezone to be used for formatting. It understands UTC/GMT and the continental US time zone abbreviations, but for general use, use a time zone offset, for example, '+0430' (4 hours, 30 minutes east of the Greenwich meridian) If not specified, the timezone of the browser will be used.\n         * @return Formatted string or the input if input is not recognized as date/millis.\n         */\n        (date: Date | number | string, format?: string, timezone?: string): string;\n    }\n\n    interface IFilterJson {\n        /**\n         * Allows you to convert a JavaScript object into JSON string.\n         * @param object Any JavaScript object (including arrays and primitive types) to filter.\n         * @param spacing The number of spaces to use per indentation, defaults to 2.\n         * @return JSON string.\n         */\n        (object: any, spacing?: number): string;\n    }\n\n    interface IFilterLowercase {\n        /**\n         * Converts string to lowercase.\n         */\n        (value: string): string;\n    }\n\n    interface IFilterUppercase {\n        /**\n         * Converts string to uppercase.\n         */\n        (value: string): string;\n    }\n\n    interface IFilterLimitTo {\n        /**\n         * Creates a new array containing only a specified number of elements. The elements are taken from either the beginning or the end of the source array, string or number, as specified by the value and sign (positive or negative) of limit.\n         * @param input Source array to be limited.\n         * @param limit The length of the returned array. If the limit number is positive, limit number of items from the beginning of the source array/string are copied. If the number is negative, limit number of items from the end of the source array are copied. The limit will be trimmed if it exceeds array.length. If limit is undefined, the input will be returned unchanged.\n         * @param begin Index at which to begin limitation. As a negative index, begin indicates an offset from the end of input. Defaults to 0.\n         * @return A new sub-array of length limit or less if input array had less than limit elements.\n         */\n        <T>(input: T[], limit: string|number, begin?: string|number): T[];\n        /**\n         * Creates a new string containing only a specified number of elements. The elements are taken from either the beginning or the end of the source string or number, as specified by the value and sign (positive or negative) of limit. If a number is used as input, it is converted to a string.\n         * @param input Source string or number to be limited.\n         * @param limit The length of the returned string. If the limit number is positive, limit number of items from the beginning of the source string are copied. If the number is negative, limit number of items from the end of the source string are copied. The limit will be trimmed if it exceeds input.length. If limit is undefined, the input will be returned unchanged.\n         * @param begin Index at which to begin limitation. As a negative index, begin indicates an offset from the end of input. Defaults to 0.\n         * @return A new substring of length limit or less if input had less than limit elements.\n         */\n        (input: string|number, limit: string|number, begin?: string|number): string;\n    }\n\n    interface IFilterOrderBy {\n        /**\n         * Orders a specified array by the expression predicate. It is ordered alphabetically for strings and numerically for numbers. Note: if you notice numbers are not being sorted as expected, make sure they are actually being saved as numbers and not strings.\n         * @param array The array to sort.\n         * @param expression A predicate to be used by the comparator to determine the order of elements.\n         * @param reverse Reverse the order of the array.\n         * @return Reverse the order of the array.\n         */\n        <T>(array: T[], expression: string|((value: T) => any)|(((value: T) => any)|string)[], reverse?: boolean): T[];\n    }\n\n    /**\n     * $filterProvider - $filter - provider in module ng\n     *\n     * Filters are just functions which transform input to an output. However filters need to be Dependency Injected. To achieve this a filter definition consists of a factory function which is annotated with dependencies and is responsible for creating a filter function.\n     *\n     * see https://docs.angularjs.org/api/ng/provider/$filterProvider\n     */\n    interface IFilterProvider extends IServiceProvider {\n        /**\n         * register(name);\n         *\n         * @param name Name of the filter function, or an object map of filters where the keys are the filter names and the values are the filter factories. Note: Filter names must be valid angular Expressions identifiers, such as uppercase or orderBy. Names with special characters, such as hyphens and dots, are not allowed. If you wish to namespace your filters, then you can use capitalization (myappSubsectionFilterx) or underscores (myapp_subsection_filterx).\n         */\n        register(name: string | {}): IServiceProvider;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // LocaleService\n    // see http://docs.angularjs.org/api/ng.$locale\n    ///////////////////////////////////////////////////////////////////////////\n    interface ILocaleService {\n        id: string;\n\n        // These are not documented\n        // Check angular's i18n files for exemples\n        NUMBER_FORMATS: ILocaleNumberFormatDescriptor;\n        DATETIME_FORMATS: ILocaleDateTimeFormatDescriptor;\n        pluralCat: (num: any) => string;\n    }\n\n    interface ILocaleNumberFormatDescriptor {\n        DECIMAL_SEP: string;\n        GROUP_SEP: string;\n        PATTERNS: ILocaleNumberPatternDescriptor[];\n        CURRENCY_SYM: string;\n    }\n\n    interface ILocaleNumberPatternDescriptor {\n        minInt: number;\n        minFrac: number;\n        maxFrac: number;\n        posPre: string;\n        posSuf: string;\n        negPre: string;\n        negSuf: string;\n        gSize: number;\n        lgSize: number;\n    }\n\n    interface ILocaleDateTimeFormatDescriptor {\n        MONTH: string[];\n        SHORTMONTH: string[];\n        DAY: string[];\n        SHORTDAY: string[];\n        AMPMS: string[];\n        medium: string;\n        short: string;\n        fullDate: string;\n        longDate: string;\n        mediumDate: string;\n        shortDate: string;\n        mediumTime: string;\n        shortTime: string;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // LogService\n    // see http://docs.angularjs.org/api/ng.$log\n    // see http://docs.angularjs.org/api/ng.$logProvider\n    ///////////////////////////////////////////////////////////////////////////\n    interface ILogService {\n        debug: ILogCall;\n        error: ILogCall;\n        info: ILogCall;\n        log: ILogCall;\n        warn: ILogCall;\n    }\n\n    interface ILogProvider extends IServiceProvider {\n        debugEnabled(): boolean;\n        debugEnabled(enabled: boolean): ILogProvider;\n    }\n\n    // We define this as separate interface so we can reopen it later for\n    // the ngMock module.\n    interface ILogCall {\n        (...args: any[]): void;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // ParseService\n    // see http://docs.angularjs.org/api/ng.$parse\n    // see http://docs.angularjs.org/api/ng.$parseProvider\n    ///////////////////////////////////////////////////////////////////////////\n    interface IParseService {\n        (expression: string): ICompiledExpression;\n    }\n\n    interface IParseProvider {\n        logPromiseWarnings(): boolean;\n        logPromiseWarnings(value: boolean): IParseProvider;\n\n        unwrapPromises(): boolean;\n        unwrapPromises(value: boolean): IParseProvider;\n    }\n\n    interface ICompiledExpression {\n        (context: any, locals?: any): any;\n\n        literal: boolean;\n        constant: boolean;\n\n        // If value is not provided, undefined is gonna be used since the implementation\n        // does not check the parameter. Let's force a value for consistency. If consumer\n        // whants to undefine it, pass the undefined value explicitly.\n        assign(context: any, value: any): any;\n    }\n\n    /**\n     * $location - $locationProvider - service in module ng\n     * see https://docs.angularjs.org/api/ng/service/$location\n     */\n    interface ILocationService {\n        absUrl(): string;\n        hash(): string;\n        hash(newHash: string): ILocationService;\n        host(): string;\n\n        /**\n         * Return path of current url\n         */\n        path(): string;\n\n        /**\n         * Change path when called with parameter and return $location.\n         * Note: Path should always begin with forward slash (/), this method will add the forward slash if it is missing.\n         *\n         * @param path New path\n         */\n        path(path: string): ILocationService;\n\n        port(): number;\n        protocol(): string;\n        replace(): ILocationService;\n\n        /**\n         * Return search part (as object) of current url\n         */\n        search(): any;\n\n        /**\n         * Change search part when called with parameter and return $location.\n         *\n         * @param search When called with a single argument the method acts as a setter, setting the search component of $location to the specified value.\n         *\n         * If the argument is a hash object containing an array of values, these values will be encoded as duplicate search parameters in the url.\n         */\n        search(search: any): ILocationService;\n\n        /**\n         * Change search part when called with parameter and return $location.\n         *\n         * @param search New search params\n         * @param paramValue If search is a string or a Number, then paramValue will override only a single search property. If paramValue is null, the property specified via the first argument will be deleted. If paramValue is an array, it will override the property of the search component of $location specified via the first argument. If paramValue is true, the property specified via the first argument will be added with no value nor trailing equal sign.\n         */\n        search(search: string, paramValue: string|number|string[]|boolean): ILocationService;\n\n        state(): any;\n        state(state: any): ILocationService;\n        url(): string;\n        url(url: string): ILocationService;\n    }\n\n    interface ILocationProvider extends IServiceProvider {\n        hashPrefix(): string;\n        hashPrefix(prefix: string): ILocationProvider;\n        html5Mode(): boolean;\n\n        // Documentation states that parameter is string, but\n        // implementation tests it as boolean, which makes more sense\n        // since this is a toggler\n        html5Mode(active: boolean): ILocationProvider;\n        html5Mode(mode: { enabled?: boolean; requireBase?: boolean; rewriteLinks?: boolean; }): ILocationProvider;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // DocumentService\n    // see http://docs.angularjs.org/api/ng.$document\n    ///////////////////////////////////////////////////////////////////////////\n    interface IDocumentService extends IAugmentedJQuery {}\n\n    ///////////////////////////////////////////////////////////////////////////\n    // ExceptionHandlerService\n    // see http://docs.angularjs.org/api/ng.$exceptionHandler\n    ///////////////////////////////////////////////////////////////////////////\n    interface IExceptionHandlerService {\n        (exception: Error, cause?: string): void;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // RootElementService\n    // see http://docs.angularjs.org/api/ng.$rootElement\n    ///////////////////////////////////////////////////////////////////////////\n    interface IRootElementService extends JQuery {}\n\n    interface IQResolveReject<T> {\n        (): void;\n        (value: T): void;\n    }\n    /**\n     * $q - service in module ng\n     * A promise/deferred implementation inspired by Kris Kowal's Q.\n     * See http://docs.angularjs.org/api/ng/service/$q\n     */\n    interface IQService {\n        new <T>(resolver: (resolve: IQResolveReject<T>) => any): IPromise<T>;\n        new <T>(resolver: (resolve: IQResolveReject<T>, reject: IQResolveReject<any>) => any): IPromise<T>;\n        <T>(resolver: (resolve: IQResolveReject<T>) => any): IPromise<T>;\n        <T>(resolver: (resolve: IQResolveReject<T>, reject: IQResolveReject<any>) => any): IPromise<T>;\n\n        /**\n         * Combines multiple promises into a single promise that is resolved when all of the input promises are resolved.\n         *\n         * Returns a single promise that will be resolved with an array of values, each value corresponding to the promise at the same index in the promises array. If any of the promises is resolved with a rejection, this resulting promise will be rejected with the same rejection value.\n         *\n         * @param promises An array of promises.\n         */\n        all<T>(promises: IPromise<any>[]): IPromise<T[]>;\n        /**\n         * Combines multiple promises into a single promise that is resolved when all of the input promises are resolved.\n         *\n         * Returns a single promise that will be resolved with a hash of values, each value corresponding to the promise at the same key in the promises hash. If any of the promises is resolved with a rejection, this resulting promise will be rejected with the same rejection value.\n         *\n         * @param promises A hash of promises.\n         */\n        all(promises: { [id: string]: IPromise<any>; }): IPromise<{ [id: string]: any; }>;\n        all<T extends {}>(promises: { [id: string]: IPromise<any>; }): IPromise<T>;\n        /**\n         * Creates a Deferred object which represents a task which will finish in the future.\n         */\n        defer<T>(): IDeferred<T>;\n        /**\n         * Creates a promise that is resolved as rejected with the specified reason. This api should be used to forward rejection in a chain of promises. If you are dealing with the last promise in a promise chain, you don't need to worry about it.\n         *\n         * When comparing deferreds/promises to the familiar behavior of try/catch/throw, think of reject as the throw keyword in JavaScript. This also means that if you \"catch\" an error via a promise error callback and you want to forward the error to the promise derived from the current promise, you have to \"rethrow\" the error by returning a rejection constructed via reject.\n         *\n         * @param reason Constant, message, exception or an object representing the rejection reason.\n         */\n        reject(reason?: any): IPromise<any>;\n        /**\n         * Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise. This is useful when you are dealing with an object that might or might not be a promise, or if the promise comes from a source that can't be trusted.\n         *\n         * @param value Value or a promise\n         */\n        resolve<T>(value: IPromise<T>|T): IPromise<T>;\n        /**\n         * Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise. This is useful when you are dealing with an object that might or might not be a promise, or if the promise comes from a source that can't be trusted.\n         */\n        resolve(): IPromise<void>;\n        /**\n         * Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise. This is useful when you are dealing with an object that might or might not be a promise, or if the promise comes from a source that can't be trusted.\n         *\n         * @param value Value or a promise\n         */\n        when<T>(value: IPromise<T>|T): IPromise<T>;\n        /**\n         * Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise. This is useful when you are dealing with an object that might or might not be a promise, or if the promise comes from a source that can't be trusted.\n         */\n        when(): IPromise<void>;\n    }\n\n    interface IPromise<T> {\n        /**\n         * Regardless of when the promise was or will be resolved or rejected, then calls one of the success or error callbacks asynchronously as soon as the result is available. The callbacks are called with a single argument: the result or rejection reason. Additionally, the notify callback may be called zero or more times to provide a progress indication, before the promise is resolved or rejected.\n         * The successCallBack may return IPromise<void> for when a $q.reject() needs to be returned\n         * This method returns a new promise which is resolved or rejected via the return value of the successCallback, errorCallback. It also notifies via the return value of the notifyCallback method. The promise can not be resolved or rejected from the notifyCallback method.\n         */\n        then<TResult>(successCallback: (promiseValue: T) => IPromise<TResult>|TResult, errorCallback?: (reason: any) => any, notifyCallback?: (state: any) => any): IPromise<TResult>;\n\n        /**\n         * Shorthand for promise.then(null, errorCallback)\n         */\n        catch<TResult>(onRejected: (reason: any) => IPromise<TResult>|TResult): IPromise<TResult>;\n\n        /**\n         * Allows you to observe either the fulfillment or rejection of a promise, but to do so without modifying the final value. This is useful to release resources or do some clean-up that needs to be done whether the promise was rejected or resolved. See the full specification for more information.\n         *\n         * Because finally is a reserved word in JavaScript and reserved keywords are not supported as property names by ES3, you'll need to invoke the method like promise['finally'](callback) to make your code IE8 and Android 2.x compatible.\n         */\n        finally(finallyCallback: () => any): IPromise<T>;\n    }\n\n    interface IDeferred<T> {\n        resolve(value?: T): void;\n        reject(reason?: any): void;\n        notify(state?: any): void;\n        promise: IPromise<T>;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // AnchorScrollService\n    // see http://docs.angularjs.org/api/ng.$anchorScroll\n    ///////////////////////////////////////////////////////////////////////////\n    interface IAnchorScrollService {\n        (): void;\n        (hash: string): void;\n        yOffset: any;\n    }\n\n    interface IAnchorScrollProvider extends IServiceProvider {\n        disableAutoScrolling(): void;\n    }\n\n    /**\n     * $cacheFactory - service in module ng\n     *\n     * Factory that constructs Cache objects and gives access to them.\n     *\n     * see https://docs.angularjs.org/api/ng/service/$cacheFactory\n     */\n    interface ICacheFactoryService {\n        /**\n         * Factory that constructs Cache objects and gives access to them.\n         *\n         * @param cacheId Name or id of the newly created cache.\n         * @param optionsMap Options object that specifies the cache behavior. Properties:\n         *\n         * capacity — turns the cache into LRU cache.\n         */\n        (cacheId: string, optionsMap?: { capacity?: number; }): ICacheObject;\n\n        /**\n         * Get information about all the caches that have been created.\n         * @returns key-value map of cacheId to the result of calling cache#info\n         */\n        info(): any;\n\n        /**\n         * Get access to a cache object by the cacheId used when it was created.\n         *\n         * @param cacheId Name or id of a cache to access.\n         */\n        get(cacheId: string): ICacheObject;\n    }\n\n    /**\n     * $cacheFactory.Cache - type in module ng\n     *\n     * A cache object used to store and retrieve data, primarily used by $http and the script directive to cache templates and other data.\n     *\n     * see https://docs.angularjs.org/api/ng/type/$cacheFactory.Cache\n     */\n    interface ICacheObject {\n        /**\n         * Retrieve information regarding a particular Cache.\n         */\n        info(): {\n            /**\n             * the id of the cache instance\n             */\n            id: string;\n\n            /**\n             * the number of entries kept in the cache instance\n             */\n            size: number;\n\n            //...: any additional properties from the options object when creating the cache.\n        };\n\n        /**\n         * Inserts a named entry into the Cache object to be retrieved later, and incrementing the size of the cache if the key was not already present in the cache. If behaving like an LRU cache, it will also remove stale entries from the set.\n         *\n         * It will not insert undefined values into the cache.\n         *\n         * @param key the key under which the cached data is stored.\n         * @param value the value to store alongside the key. If it is undefined, the key will not be stored.\n         */\n        put<T>(key: string, value?: T): T;\n\n        /**\n         * Retrieves named data stored in the Cache object.\n         *\n         * @param key the key of the data to be retrieved\n         */\n        get<T>(key: string): T;\n\n        /**\n         * Removes an entry from the Cache object.\n         *\n         * @param key the key of the entry to be removed\n         */\n        remove(key: string): void;\n\n        /**\n         * Clears the cache object of any entries.\n         */\n        removeAll(): void;\n\n        /**\n         * Destroys the Cache object entirely, removing it from the $cacheFactory set.\n         */\n        destroy(): void;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // CompileService\n    // see http://docs.angularjs.org/api/ng.$compile\n    // see http://docs.angularjs.org/api/ng.$compileProvider\n    ///////////////////////////////////////////////////////////////////////////\n    interface ICompileService {\n        (element: string, transclude?: ITranscludeFunction, maxPriority?: number): ITemplateLinkingFunction;\n        (element: Element, transclude?: ITranscludeFunction, maxPriority?: number): ITemplateLinkingFunction;\n        (element: JQuery, transclude?: ITranscludeFunction, maxPriority?: number): ITemplateLinkingFunction;\n    }\n\n    interface ICompileProvider extends IServiceProvider {\n        directive(name: string, directiveFactory: Function): ICompileProvider;\n\n        // Undocumented, but it is there...\n        directive(directivesMap: any): ICompileProvider;\n\n        aHrefSanitizationWhitelist(): RegExp;\n        aHrefSanitizationWhitelist(regexp: RegExp): ICompileProvider;\n\n        imgSrcSanitizationWhitelist(): RegExp;\n        imgSrcSanitizationWhitelist(regexp: RegExp): ICompileProvider;\n\n        debugInfoEnabled(enabled?: boolean): any;\n    }\n\n    interface ICloneAttachFunction {\n        // Let's hint but not force cloneAttachFn's signature\n        (clonedElement?: JQuery, scope?: IScope): any;\n    }\n\n    // This corresponds to the \"publicLinkFn\" returned by $compile.\n    interface ITemplateLinkingFunction {\n        (scope: IScope, cloneAttachFn?: ICloneAttachFunction): IAugmentedJQuery;\n    }\n\n    // This corresponds to $transclude (and also the transclude function passed to link).\n    interface ITranscludeFunction {\n        // If the scope is provided, then the cloneAttachFn must be as well.\n        (scope: IScope, cloneAttachFn: ICloneAttachFunction): IAugmentedJQuery;\n        // If one argument is provided, then it's assumed to be the cloneAttachFn.\n        (cloneAttachFn?: ICloneAttachFunction): IAugmentedJQuery;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // ControllerService\n    // see http://docs.angularjs.org/api/ng.$controller\n    // see http://docs.angularjs.org/api/ng.$controllerProvider\n    ///////////////////////////////////////////////////////////////////////////\n    interface IControllerService {\n        // Although the documentation doesn't state this, locals are optional\n        <T>(controllerConstructor: new (...args: any[]) => T, locals?: any, bindToController?: any): T;\n        <T>(controllerConstructor: Function, locals?: any, bindToController?: any): T;\n        <T>(controllerName: string, locals?: any, bindToController?: any): T;\n    }\n\n    interface IControllerProvider extends IServiceProvider {\n        register(name: string, controllerConstructor: Function): void;\n        register(name: string, dependencyAnnotatedConstructor: any[]): void;\n        allowGlobals(): void;\n    }\n\n    /**\n     * HttpService\n     * see http://docs.angularjs.org/api/ng/service/$http\n     */\n    interface IHttpService {\n        /**\n         * Object describing the request to be made and how it should be processed.\n         */\n        <T>(config: IRequestConfig): IHttpPromise<T>;\n\n        /**\n         * Shortcut method to perform GET request.\n         *\n         * @param url Relative or absolute URL specifying the destination of the request\n         * @param config Optional configuration object\n         */\n        get<T>(url: string, config?: IRequestShortcutConfig): IHttpPromise<T>;\n\n        /**\n         * Shortcut method to perform DELETE request.\n         *\n         * @param url Relative or absolute URL specifying the destination of the request\n         * @param config Optional configuration object\n         */\n        delete<T>(url: string, config?: IRequestShortcutConfig): IHttpPromise<T>;\n\n        /**\n         * Shortcut method to perform HEAD request.\n         *\n         * @param url Relative or absolute URL specifying the destination of the request\n         * @param config Optional configuration object\n         */\n        head<T>(url: string, config?: IRequestShortcutConfig): IHttpPromise<T>;\n\n        /**\n         * Shortcut method to perform JSONP request.\n         *\n         * @param url Relative or absolute URL specifying the destination of the request\n         * @param config Optional configuration object\n         */\n        jsonp<T>(url: string, config?: IRequestShortcutConfig): IHttpPromise<T>;\n\n        /**\n         * Shortcut method to perform POST request.\n         *\n         * @param url Relative or absolute URL specifying the destination of the request\n         * @param data Request content\n         * @param config Optional configuration object\n         */\n        post<T>(url: string, data: any, config?: IRequestShortcutConfig): IHttpPromise<T>;\n\n        /**\n         * Shortcut method to perform PUT request.\n         *\n         * @param url Relative or absolute URL specifying the destination of the request\n         * @param data Request content\n         * @param config Optional configuration object\n         */\n        put<T>(url: string, data: any, config?: IRequestShortcutConfig): IHttpPromise<T>;\n\n        /**\n         * Shortcut method to perform PATCH request.\n         *\n         * @param url Relative or absolute URL specifying the destination of the request\n         * @param data Request content\n         * @param config Optional configuration object\n         */\n        patch<T>(url: string, data: any, config?: IRequestShortcutConfig): IHttpPromise<T>;\n\n        /**\n         * Runtime equivalent of the $httpProvider.defaults property. Allows configuration of default headers, withCredentials as well as request and response transformations.\n         */\n        defaults: IHttpProviderDefaults;\n\n        /**\n         * Array of config objects for currently pending requests. This is primarily meant to be used for debugging purposes.\n         */\n        pendingRequests: IRequestConfig[];\n    }\n\n    /**\n     * Object describing the request to be made and how it should be processed.\n     * see http://docs.angularjs.org/api/ng/service/$http#usage\n     */\n    interface IRequestShortcutConfig extends IHttpProviderDefaults {\n        /**\n         * {Object.<string|Object>}\n         * Map of strings or objects which will be turned to ?key1=value1&key2=value2 after the url. If the value is not a string, it will be JSONified.\n         */\n        params?: any;\n\n        /**\n         * {string|Object}\n         * Data to be sent as the request message data.\n         */\n        data?: any;\n\n        /**\n         * Timeout in milliseconds, or promise that should abort the request when resolved.\n         */\n        timeout?: number|IPromise<any>;\n\n        /**\n         * See [XMLHttpRequest.responseType]https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest#xmlhttprequest-responsetype\n         */\n        responseType?: string;\n    }\n\n    /**\n     * Object describing the request to be made and how it should be processed.\n     * see http://docs.angularjs.org/api/ng/service/$http#usage\n     */\n    interface IRequestConfig extends IRequestShortcutConfig {\n        /**\n         * HTTP method (e.g. 'GET', 'POST', etc)\n         */\n        method: string;\n        /**\n         * Absolute or relative URL of the resource that is being requested.\n         */\n        url: string;\n    }\n\n    interface IHttpHeadersGetter {\n        (): { [name: string]: string; };\n        (headerName: string): string;\n    }\n\n    interface IHttpPromiseCallback<T> {\n        (data: T, status: number, headers: IHttpHeadersGetter, config: IRequestConfig): void;\n    }\n\n    interface IHttpPromiseCallbackArg<T> {\n        data?: T;\n        status?: number;\n        headers?: IHttpHeadersGetter;\n        config?: IRequestConfig;\n        statusText?: string;\n    }\n\n    interface IHttpPromise<T> extends IPromise<IHttpPromiseCallbackArg<T>> {\n        success(callback: IHttpPromiseCallback<T>): IHttpPromise<T>;\n        error(callback: IHttpPromiseCallback<any>): IHttpPromise<T>;\n    }\n\n    // See the jsdoc for transformData() at https://github.com/angular/angular.js/blob/master/src/ng/http.js#L228\n    interface IHttpRequestTransformer {\n        (data: any, headersGetter: IHttpHeadersGetter): any;\n    }\n\n    // The definition of fields are the same as IHttpPromiseCallbackArg\n    interface IHttpResponseTransformer {\n        (data: any, headersGetter: IHttpHeadersGetter, status: number): any;\n    }\n\n    interface IHttpRequestConfigHeaders {\n        [requestType: string]: string|(() => string);\n        common?: string|(() => string);\n        get?: string|(() => string);\n        post?: string|(() => string);\n        put?: string|(() => string);\n        patch?: string|(() => string);\n    }\n\n    /**\n    * Object that controls the defaults for $http provider. Not all fields of IRequestShortcutConfig can be configured\n    * via defaults and the docs do not say which. The following is based on the inspection of the source code.\n    * https://docs.angularjs.org/api/ng/service/$http#defaults\n    * https://docs.angularjs.org/api/ng/service/$http#usage\n    * https://docs.angularjs.org/api/ng/provider/$httpProvider The properties section\n    */\n    interface IHttpProviderDefaults {\n        /**\n         * {boolean|Cache}\n         * If true, a default $http cache will be used to cache the GET request, otherwise if a cache instance built with $cacheFactory, this cache will be used for caching.\n         */\n        cache?: any;\n\n        /**\n         * Transform function or an array of such functions. The transform function takes the http request body and\n         * headers and returns its transformed (typically serialized) version.\n         * @see {@link https://docs.angularjs.org/api/ng/service/$http#transforming-requests-and-responses}\n         */\n        transformRequest?: IHttpRequestTransformer |IHttpRequestTransformer[];\n\n        /**\n         * Transform function or an array of such functions. The transform function takes the http response body and\n         * headers and returns its transformed (typically deserialized) version.\n         */\n        transformResponse?: IHttpResponseTransformer | IHttpResponseTransformer[];\n\n        /**\n         * Map of strings or functions which return strings representing HTTP headers to send to the server. If the\n         * return value of a function is null, the header will not be sent.\n         * The key of the map is the request verb in lower case. The \"common\" key applies to all requests.\n         * @see {@link https://docs.angularjs.org/api/ng/service/$http#setting-http-headers}\n         */\n        headers?: IHttpRequestConfigHeaders;\n\n        /** Name of HTTP header to populate with the XSRF token. */\n        xsrfHeaderName?: string;\n\n        /** Name of cookie containing the XSRF token. */\n        xsrfCookieName?: string;\n\n        /**\n         * whether to to set the withCredentials flag on the XHR object. See [requests with credentials]https://developer.mozilla.org/en/http_access_control#section_5 for more information.\n         */\n        withCredentials?: boolean;\n\n        /**\n        * A function used to the prepare string representation of request parameters (specified as an object). If\n        * specified as string, it is interpreted as a function registered with the $injector. Defaults to\n        * $httpParamSerializer.\n        */\n        paramSerializer?: string | ((obj: any) => string);\n    }\n\n    interface IHttpInterceptor {\n        request?: (config: IRequestConfig) => IRequestConfig|IPromise<IRequestConfig>;\n        requestError?: (rejection: any) => any;\n        response?: <T>(response: IHttpPromiseCallbackArg<T>) => IPromise<T>|T;\n        responseError?: (rejection: any) => any;\n    }\n\n    interface IHttpInterceptorFactory {\n        (...args: any[]): IHttpInterceptor;\n    }\n\n    interface IHttpProvider extends IServiceProvider {\n        defaults: IHttpProviderDefaults;\n\n        /**\n         * Register service factories (names or implementations) for interceptors which are called before and after\n         * each request.\n         */\n        interceptors: (string|IHttpInterceptorFactory|(string|IHttpInterceptorFactory)[])[];\n        useApplyAsync(): boolean;\n        useApplyAsync(value: boolean): IHttpProvider;\n\n        /**\n         *\n         * @param {boolean=} value If true, `$http` will return a normal promise without the `success` and `error` methods.\n         * @returns {boolean|Object} If a value is specified, returns the $httpProvider for chaining.\n         *    otherwise, returns the current configured value.\n         */\n        useLegacyPromiseExtensions(value:boolean) : boolean | IHttpProvider;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // HttpBackendService\n    // see http://docs.angularjs.org/api/ng.$httpBackend\n    // You should never need to use this service directly.\n    ///////////////////////////////////////////////////////////////////////////\n    interface IHttpBackendService {\n        // XXX Perhaps define callback signature in the future\n        (method: string, url: string, post?: any, callback?: Function, headers?: any, timeout?: number, withCredentials?: boolean): void;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // InterpolateService\n    // see http://docs.angularjs.org/api/ng.$interpolate\n    // see http://docs.angularjs.org/api/ng.$interpolateProvider\n    ///////////////////////////////////////////////////////////////////////////\n    interface IInterpolateService {\n        (text: string, mustHaveExpression?: boolean, trustedContext?: string, allOrNothing?: boolean): IInterpolationFunction;\n        endSymbol(): string;\n        startSymbol(): string;\n    }\n\n    interface IInterpolationFunction {\n        (context: any): string;\n    }\n\n    interface IInterpolateProvider extends IServiceProvider {\n        startSymbol(): string;\n        startSymbol(value: string): IInterpolateProvider;\n        endSymbol(): string;\n        endSymbol(value: string): IInterpolateProvider;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // TemplateCacheService\n    // see http://docs.angularjs.org/api/ng.$templateCache\n    ///////////////////////////////////////////////////////////////////////////\n    interface ITemplateCacheService extends ICacheObject {}\n\n    ///////////////////////////////////////////////////////////////////////////\n    // SCEService\n    // see http://docs.angularjs.org/api/ng.$sce\n    ///////////////////////////////////////////////////////////////////////////\n    interface ISCEService {\n        getTrusted(type: string, mayBeTrusted: any): any;\n        getTrustedCss(value: any): any;\n        getTrustedHtml(value: any): any;\n        getTrustedJs(value: any): any;\n        getTrustedResourceUrl(value: any): any;\n        getTrustedUrl(value: any): any;\n        parse(type: string, expression: string): (context: any, locals: any) => any;\n        parseAsCss(expression: string): (context: any, locals: any) => any;\n        parseAsHtml(expression: string): (context: any, locals: any) => any;\n        parseAsJs(expression: string): (context: any, locals: any) => any;\n        parseAsResourceUrl(expression: string): (context: any, locals: any) => any;\n        parseAsUrl(expression: string): (context: any, locals: any) => any;\n        trustAs(type: string, value: any): any;\n        trustAsHtml(value: any): any;\n        trustAsJs(value: any): any;\n        trustAsResourceUrl(value: any): any;\n        trustAsUrl(value: any): any;\n        isEnabled(): boolean;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // SCEProvider\n    // see http://docs.angularjs.org/api/ng.$sceProvider\n    ///////////////////////////////////////////////////////////////////////////\n    interface ISCEProvider extends IServiceProvider {\n        enabled(value: boolean): void;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // SCEDelegateService\n    // see http://docs.angularjs.org/api/ng.$sceDelegate\n    ///////////////////////////////////////////////////////////////////////////\n    interface ISCEDelegateService {\n        getTrusted(type: string, mayBeTrusted: any): any;\n        trustAs(type: string, value: any): any;\n        valueOf(value: any): any;\n    }\n\n\n    ///////////////////////////////////////////////////////////////////////////\n    // SCEDelegateProvider\n    // see http://docs.angularjs.org/api/ng.$sceDelegateProvider\n    ///////////////////////////////////////////////////////////////////////////\n    interface ISCEDelegateProvider extends IServiceProvider {\n        resourceUrlBlacklist(blacklist: any[]): void;\n        resourceUrlWhitelist(whitelist: any[]): void;\n        resourceUrlBlacklist(): any[];\n        resourceUrlWhitelist(): any[];\n    }\n\n    /**\n     * $templateRequest service\n     * see http://docs.angularjs.org/api/ng/service/$templateRequest\n     */\n    interface ITemplateRequestService {\n        /**\n         * Downloads a template using $http and, upon success, stores the\n         * contents inside of $templateCache.\n         *\n         * If the HTTP request fails or the response data of the HTTP request is\n         * empty then a $compile error will be thrown (unless\n         * {ignoreRequestError} is set to true).\n         *\n         * @param tpl                  The template URL.\n         * @param ignoreRequestError   Whether or not to ignore the exception\n         *                             when the request fails or the template is\n         *                             empty.\n         *\n         * @return   A promise whose value is the template content.\n         */\n        (tpl: string, ignoreRequestError?: boolean): IPromise<string>;\n        /**\n         * total amount of pending template requests being downloaded.\n         * @type {number}\n         */\n        totalPendingRequests: number;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // Component\n    // see http://angularjs.blogspot.com.br/2015/11/angularjs-15-beta2-and-14-releases.html\n    // and http://toddmotto.com/exploring-the-angular-1-5-component-method/\n    ///////////////////////////////////////////////////////////////////////////\n    /**\n     * Runtime representation a type that a Component or other object is instances of.\n     *\n     * An example of a `Type` is `MyCustomComponent` class, which in JavaScript is be represented by\n     * the `MyCustomComponent` constructor function.\n     */\n    interface Type extends Function {\n    }\n\n    /**\n     * `RouteDefinition` defines a route within a {@link RouteConfig} decorator.\n     *\n     * Supported keys:\n     * - `path` or `aux` (requires exactly one of these)\n     * - `component`, `loader`,  `redirectTo` (requires exactly one of these)\n     * - `name` or `as` (optional) (requires exactly one of these)\n     * - `data` (optional)\n     *\n     * See also {@link Route}, {@link AsyncRoute}, {@link AuxRoute}, and {@link Redirect}.\n     */\n    interface RouteDefinition {\n        path?: string;\n        aux?: string;\n        component?: Type | ComponentDefinition | string;\n        loader?: Function;\n        redirectTo?: any[];\n        as?: string;\n        name?: string;\n        data?: any;\n        useAsDefault?: boolean;\n    }\n\n    /**\n     * Represents either a component type (`type` is `component`) or a loader function\n     * (`type` is `loader`).\n     *\n     * See also {@link RouteDefinition}.\n     */\n    interface ComponentDefinition {\n        type: string;\n        loader?: Function;\n        component?: Type;\n    }\n\n    /**\n     * Component definition object (a simplified directive definition object)\n     */\n    interface IComponentOptions {\n        /**\n         * Controller constructor function that should be associated with newly created scope or the name of a registered\n         * controller if passed as a string. Empty function by default.\n         */\n        controller?: string | Function;\n        /**\n         * An identifier name for a reference to the controller. If present, the controller will be published to scope under\n         * the controllerAs name. If not present, this will default to be the same as the component name.\n         */\n        controllerAs?: string;\n        /**\n         * html template as a string or a function that returns an html template as a string which should be used as the\n         * contents of this component. Empty string by default.\n         * If template is a function, then it is injected with the following locals:\n         * $element - Current element\n         * $attrs - Current attributes object for the element\n         */\n        template?: string | Function;\n        /**\n         * path or function that returns a path to an html template that should be used as the contents of this component.\n         * If templateUrl is a function, then it is injected with the following locals:\n         * $element - Current element\n         * $attrs - Current attributes object for the element\n         */\n        templateUrl?: string | Function;\n        /**\n         * Define DOM attribute binding to component properties. Component properties are always bound to the component\n         * controller and not to the scope.\n         */\n        bindings?: any;\n        /**\n         * Whether transclusion is enabled. Enabled by default.\n         */\n        transclude?: boolean;\n        /**\n         * Whether the new scope is isolated. Isolated by default.\n         */\n        isolate?: boolean;\n        /**\n         * String of subset of EACM which restricts the component to specific directive declaration style. If omitted,\n         * this defaults to 'E'.\n         */\n        restrict?: string;\n        $canActivate?: () => boolean;\n        $routeConfig?: RouteDefinition[];\n    }\n\n    interface IComponentTemplateFn {\n        ( $element?: IAugmentedJQuery, $attrs?: IAttributes ): string;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // Directive\n    // see http://docs.angularjs.org/api/ng.$compileProvider#directive\n    // and http://docs.angularjs.org/guide/directive\n    ///////////////////////////////////////////////////////////////////////////\n\n    interface IDirectiveFactory {\n        (...args: any[]): IDirective;\n    }\n\n    interface IDirectiveLinkFn {\n        (\n            scope: IScope,\n            instanceElement: IAugmentedJQuery,\n            instanceAttributes: IAttributes,\n            controller: {},\n            transclude: ITranscludeFunction\n        ): void;\n    }\n\n    interface IDirectivePrePost {\n        pre?: IDirectiveLinkFn;\n        post?: IDirectiveLinkFn;\n    }\n\n    interface IDirectiveCompileFn {\n        (\n            templateElement: IAugmentedJQuery,\n            templateAttributes: IAttributes,\n            transclude: ITranscludeFunction\n        ): IDirectivePrePost;\n    }\n\n    interface IDirective {\n        compile?: IDirectiveCompileFn;\n        controller?: any;\n        controllerAs?: string;\n        bindToController?: boolean|Object;\n        link?: IDirectiveLinkFn | IDirectivePrePost;\n        name?: string;\n        priority?: number;\n        replace?: boolean;\n        require?: any;\n        restrict?: string;\n        scope?: any;\n        template?: any;\n        templateNamespace?: string;\n        templateUrl?: any;\n        terminal?: boolean;\n        transclude?: any;\n    }\n\n    /**\n     * angular.element\n     * when calling angular.element, angular returns a jQuery object,\n     * augmented with additional methods like e.g. scope.\n     * see: http://docs.angularjs.org/api/angular.element\n     */\n    interface IAugmentedJQueryStatic extends JQueryStatic {\n        (selector: string, context?: any): IAugmentedJQuery;\n        (element: Element): IAugmentedJQuery;\n        (object: {}): IAugmentedJQuery;\n        (elementArray: Element[]): IAugmentedJQuery;\n        (object: JQuery): IAugmentedJQuery;\n        (func: Function): IAugmentedJQuery;\n        (array: any[]): IAugmentedJQuery;\n        (): IAugmentedJQuery;\n    }\n\n    interface IAugmentedJQuery extends JQuery {\n        // TODO: events, how to define?\n        //$destroy\n\n        find(selector: string): IAugmentedJQuery;\n        find(element: any): IAugmentedJQuery;\n        find(obj: JQuery): IAugmentedJQuery;\n        controller(): any;\n        controller(name: string): any;\n        injector(): any;\n        scope(): IScope;\n        isolateScope(): IScope;\n\n        inheritedData(key: string, value: any): JQuery;\n        inheritedData(obj: { [key: string]: any; }): JQuery;\n        inheritedData(key?: string): any;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    // AUTO module (angular.js)\n    ///////////////////////////////////////////////////////////////////////////\n    export module auto {\n\n        ///////////////////////////////////////////////////////////////////////\n        // InjectorService\n        // see http://docs.angularjs.org/api/AUTO.$injector\n        ///////////////////////////////////////////////////////////////////////\n        interface IInjectorService {\n            annotate(fn: Function): string[];\n            annotate(inlineAnnotatedFunction: any[]): string[];\n            get<T>(name: string, caller?: string): T;\n            has(name: string): boolean;\n            instantiate<T>(typeConstructor: Function, locals?: any): T;\n            invoke(inlineAnnotatedFunction: any[]): any;\n            invoke(func: Function, context?: any, locals?: any): any;\n        }\n\n        ///////////////////////////////////////////////////////////////////////\n        // ProvideService\n        // see http://docs.angularjs.org/api/AUTO.$provide\n        ///////////////////////////////////////////////////////////////////////\n        interface IProvideService {\n            // Documentation says it returns the registered instance, but actual\n            // implementation does not return anything.\n            // constant(name: string, value: any): any;\n            /**\n             * Register a constant service, such as a string, a number, an array, an object or a function, with the $injector. Unlike value it can be injected into a module configuration function (see config) and it cannot be overridden by an Angular decorator.\n             *\n             * @param name The name of the constant.\n             * @param value The constant value.\n             */\n            constant(name: string, value: any): void;\n\n            /**\n             * Register a service decorator with the $injector. A service decorator intercepts the creation of a service, allowing it to override or modify the behaviour of the service. The object returned by the decorator may be the original service, or a new service object which replaces or wraps and delegates to the original service.\n             *\n             * @param name The name of the service to decorate.\n             * @param decorator This function will be invoked when the service needs to be instantiated and should return the decorated service instance. The function is called using the injector.invoke method and is therefore fully injectable. Local injection arguments:\n             *\n             * $delegate - The original service instance, which can be monkey patched, configured, decorated or delegated to.\n             */\n            decorator(name: string, decorator: Function): void;\n            /**\n             * Register a service decorator with the $injector. A service decorator intercepts the creation of a service, allowing it to override or modify the behaviour of the service. The object returned by the decorator may be the original service, or a new service object which replaces or wraps and delegates to the original service.\n             *\n             * @param name The name of the service to decorate.\n             * @param inlineAnnotatedFunction This function will be invoked when the service needs to be instantiated and should return the decorated service instance. The function is called using the injector.invoke method and is therefore fully injectable. Local injection arguments:\n             *\n             * $delegate - The original service instance, which can be monkey patched, configured, decorated or delegated to.\n             */\n            decorator(name: string, inlineAnnotatedFunction: any[]): void;\n            factory(name: string, serviceFactoryFunction: Function): IServiceProvider;\n            factory(name: string, inlineAnnotatedFunction: any[]): IServiceProvider;\n            provider(name: string, provider: IServiceProvider): IServiceProvider;\n            provider(name: string, serviceProviderConstructor: Function): IServiceProvider;\n            service(name: string, constructor: Function): IServiceProvider;\n            service(name: string, inlineAnnotatedFunction: any[]): IServiceProvider;\n            value(name: string, value: any): IServiceProvider;\n        }\n\n    }\n}\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/typings/es6-promise/es6-promise.d.ts",
    "content": "// Type definitions for es6-promise\n// Project: https://github.com/jakearchibald/ES6-Promise\n// Definitions by: François de Campredon <https://github.com/fdecampredon/>, vvakame <https://github.com/vvakame>\n// Definitions: https://github.com/borisyankov/DefinitelyTyped\n\ninterface Thenable<R> {\n    then<U>(onFulfilled?: (value: R) => U | Thenable<U>, onRejected?: (error: any) => U | Thenable<U>): Thenable<U>;\n    then<U>(onFulfilled?: (value: R) => U | Thenable<U>, onRejected?: (error: any) => void): Thenable<U>;\n    catch<U>(onRejected?: (error: any) => U | Thenable<U>): Thenable<U>;\n}\n\ndeclare class Promise<R> implements Thenable<R> {\n\t/**\n\t * If you call resolve in the body of the callback passed to the constructor,\n\t * your promise is fulfilled with result object passed to resolve.\n\t * If you call reject your promise is rejected with the object passed to reject.\n\t * For consistency and debugging (eg stack traces), obj should be an instanceof Error.\n\t * Any errors thrown in the constructor callback will be implicitly passed to reject().\n\t */\n\tconstructor(callback: (resolve : (value?: R | Thenable<R>) => void, reject: (error?: any) => void) => void);\n\n\t/**\n\t * onFulfilled is called when/if \"promise\" resolves. onRejected is called when/if \"promise\" rejects.\n\t * Both are optional, if either/both are omitted the next onFulfilled/onRejected in the chain is called.\n\t * Both callbacks have a single parameter , the fulfillment value or rejection reason.\n\t * \"then\" returns a new promise equivalent to the value you return from onFulfilled/onRejected after being passed through Promise.resolve.\n\t * If an error is thrown in the callback, the returned promise rejects with that error.\n\t *\n\t * @param onFulfilled called when/if \"promise\" resolves\n\t * @param onRejected called when/if \"promise\" rejects\n\t */\n    then<U>(onFulfilled?: (value: R) => U | Thenable<U>, onRejected?: (error: any) => U | Thenable<U>): Promise<U>;\n    then<U>(onFulfilled?: (value: R) => U | Thenable<U>, onRejected?: (error: any) => void): Promise<U>;\n\n\t/**\n\t * Sugar for promise.then(undefined, onRejected)\n\t *\n\t * @param onRejected called when/if \"promise\" rejects\n\t */\n\tcatch<U>(onRejected?: (error: any) => U | Thenable<U>): Promise<U>;\n}\n\ndeclare module Promise {\n\t/**\n\t * Make a new promise from the thenable.\n\t * A thenable is promise-like in as far as it has a \"then\" method.\n\t */\n\tfunction resolve<R>(value?: R | Thenable<R>): Promise<R>;\n\n\t/**\n\t * Make a promise that rejects to obj. For consistency and debugging (eg stack traces), obj should be an instanceof Error\n\t */\n\tfunction reject(error: any): Promise<any>;\n\n\t/**\n\t * Make a promise that fulfills when every item in the array fulfills, and rejects if (and when) any item rejects.\n\t * the array passed to all can be a mixture of promise-like objects and other objects.\n\t * The fulfillment value is an array (in order) of fulfillment values. The rejection value is the first rejection value.\n\t */\n\tfunction all<R>(promises: (R | Thenable<R>)[]): Promise<R[]>;\n\n\t/**\n\t * Make a Promise that fulfills when any item fulfills, and rejects if any item rejects.\n\t */\n\tfunction race<R>(promises: (R | Thenable<R>)[]): Promise<R>;\n}\n\ndeclare module 'es6-promise' {\n\tvar foo: typeof Promise; // Temp variable to reference Promise in local context\n\tmodule rsvp {\n\t\texport var Promise: typeof foo;\n\t}\n\texport = rsvp;\n}\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/typings/jquery/jquery.d.ts",
    "content": "// Type definitions for jQuery 1.10.x / 2.0.x\n// Project: http://jquery.com/\n// Definitions by: Boris Yankov <https://github.com/borisyankov/>, Christian Hoffmeister <https://github.com/choffmeister>, Steve Fenton <https://github.com/Steve-Fenton>, Diullei Gomes <https://github.com/Diullei>, Tass Iliopoulos <https://github.com/tasoili>, Jason Swearingen <https://github.com/jasons-novaleaf>, Sean Hill <https://github.com/seanski>, Guus Goossens <https://github.com/Guuz>, Kelly Summerlin <https://github.com/ksummerlin>, Basarat Ali Syed <https://github.com/basarat>, Nicholas Wolverson <https://github.com/nwolverson>, Derek Cicerone <https://github.com/derekcicerone>, Andrew Gaspar <https://github.com/AndrewGaspar>, James Harrison Fisher <https://github.com/jameshfisher>, Seikichi Kondo <https://github.com/seikichi>, Benjamin Jackman <https://github.com/benjaminjackman>, Poul Sorensen <https://github.com/s093294>, Josh Strobl <https://github.com/JoshStrobl>, John Reilly <https://github.com/johnnyreilly/>, Dick van den Brink <https://github.com/DickvdBrink>\n// Definitions: https://github.com/borisyankov/DefinitelyTyped\n\n/* *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n/**\n * Interface for the AJAX setting that will configure the AJAX request\n */\ninterface JQueryAjaxSettings {\n    /**\n     * The content type sent in the request header that tells the server what kind of response it will accept in return. If the accepts setting needs modification, it is recommended to do so once in the $.ajaxSetup() method.\n     */\n    accepts?: any;\n    /**\n     * By default, all requests are sent asynchronously (i.e. this is set to true by default). If you need synchronous requests, set this option to false. Cross-domain requests and dataType: \"jsonp\" requests do not support synchronous operation. Note that synchronous requests may temporarily lock the browser, disabling any actions while the request is active. As of jQuery 1.8, the use of async: false with jqXHR ($.Deferred) is deprecated; you must use the success/error/complete callback options instead of the corresponding methods of the jqXHR object such as jqXHR.done() or the deprecated jqXHR.success().\n     */\n    async?: boolean;\n    /**\n     * A pre-request callback function that can be used to modify the jqXHR (in jQuery 1.4.x, XMLHTTPRequest) object before it is sent. Use this to set custom headers, etc. The jqXHR and settings objects are passed as arguments. This is an Ajax Event. Returning false in the beforeSend function will cancel the request. As of jQuery 1.5, the beforeSend option will be called regardless of the type of request.\n     */\n    beforeSend? (jqXHR: JQueryXHR, settings: JQueryAjaxSettings): any;\n    /**\n     * If set to false, it will force requested pages not to be cached by the browser. Note: Setting cache to false will only work correctly with HEAD and GET requests. It works by appending \"_={timestamp}\" to the GET parameters. The parameter is not needed for other types of requests, except in IE8 when a POST is made to a URL that has already been requested by a GET.\n     */\n    cache?: boolean;\n    /**\n     * A function to be called when the request finishes (after success and error callbacks are executed). The function gets passed two arguments: The jqXHR (in jQuery 1.4.x, XMLHTTPRequest) object and a string categorizing the status of the request (\"success\", \"notmodified\", \"error\", \"timeout\", \"abort\", or \"parsererror\"). As of jQuery 1.5, the complete setting can accept an array of functions. Each function will be called in turn. This is an Ajax Event.\n     */\n    complete? (jqXHR: JQueryXHR, textStatus: string): any;\n    /**\n     * An object of string/regular-expression pairs that determine how jQuery will parse the response, given its content type. (version added: 1.5)\n     */\n    contents?: { [key: string]: any; };\n    //According to jQuery.ajax source code, ajax's option actually allows contentType to set to \"false\"\n    // https://github.com/borisyankov/DefinitelyTyped/issues/742\n    /**\n     * When sending data to the server, use this content type. Default is \"application/x-www-form-urlencoded; charset=UTF-8\", which is fine for most cases. If you explicitly pass in a content-type to $.ajax(), then it is always sent to the server (even if no data is sent). The W3C XMLHttpRequest specification dictates that the charset is always UTF-8; specifying another charset will not force the browser to change the encoding.\n     */\n    contentType?: any;\n    /**\n     * This object will be made the context of all Ajax-related callbacks. By default, the context is an object that represents the ajax settings used in the call ($.ajaxSettings merged with the settings passed to $.ajax).\n     */\n    context?: any;\n    /**\n     * An object containing dataType-to-dataType converters. Each converter's value is a function that returns the transformed value of the response. (version added: 1.5)\n     */\n    converters?: { [key: string]: any; };\n    /**\n     * If you wish to force a crossDomain request (such as JSONP) on the same domain, set the value of crossDomain to true. This allows, for example, server-side redirection to another domain. (version added: 1.5)\n     */\n    crossDomain?: boolean;\n    /**\n     * Data to be sent to the server. It is converted to a query string, if not already a string. It's appended to the url for GET-requests. See processData option to prevent this automatic processing. Object must be Key/Value pairs. If value is an Array, jQuery serializes multiple values with same key based on the value of the traditional setting (described below).\n     */\n    data?: any;\n    /**\n     * A function to be used to handle the raw response data of XMLHttpRequest.This is a pre-filtering function to sanitize the response. You should return the sanitized data. The function accepts two arguments: The raw data returned from the server and the 'dataType' parameter.\n     */\n    dataFilter? (data: any, ty: any): any;\n    /**\n     * The type of data that you're expecting back from the server. If none is specified, jQuery will try to infer it based on the MIME type of the response (an XML MIME type will yield XML, in 1.4 JSON will yield a JavaScript object, in 1.4 script will execute the script, and anything else will be returned as a string). \n     */\n    dataType?: string;\n    /**\n     * A function to be called if the request fails. The function receives three arguments: The jqXHR (in jQuery 1.4.x, XMLHttpRequest) object, a string describing the type of error that occurred and an optional exception object, if one occurred. Possible values for the second argument (besides null) are \"timeout\", \"error\", \"abort\", and \"parsererror\". When an HTTP error occurs, errorThrown receives the textual portion of the HTTP status, such as \"Not Found\" or \"Internal Server Error.\" As of jQuery 1.5, the error setting can accept an array of functions. Each function will be called in turn. Note: This handler is not called for cross-domain script and cross-domain JSONP requests. This is an Ajax Event.\n     */\n    error? (jqXHR: JQueryXHR, textStatus: string, errorThrown: string): any;\n    /**\n     * Whether to trigger global Ajax event handlers for this request. The default is true. Set to false to prevent the global handlers like ajaxStart or ajaxStop from being triggered. This can be used to control various Ajax Events.\n     */\n    global?: boolean;\n    /**\n     * An object of additional header key/value pairs to send along with requests using the XMLHttpRequest transport. The header X-Requested-With: XMLHttpRequest is always added, but its default XMLHttpRequest value can be changed here. Values in the headers setting can also be overwritten from within the beforeSend function. (version added: 1.5)\n     */\n    headers?: { [key: string]: any; };\n    /**\n     * Allow the request to be successful only if the response has changed since the last request. This is done by checking the Last-Modified header. Default value is false, ignoring the header. In jQuery 1.4 this technique also checks the 'etag' specified by the server to catch unmodified data.\n     */\n    ifModified?: boolean;\n    /**\n     * Allow the current environment to be recognized as \"local,\" (e.g. the filesystem), even if jQuery does not recognize it as such by default. The following protocols are currently recognized as local: file, *-extension, and widget. If the isLocal setting needs modification, it is recommended to do so once in the $.ajaxSetup() method. (version added: 1.5.1)\n     */\n    isLocal?: boolean;\n    /**\n     * Override the callback function name in a jsonp request. This value will be used instead of 'callback' in the 'callback=?' part of the query string in the url. So {jsonp:'onJSONPLoad'} would result in 'onJSONPLoad=?' passed to the server. As of jQuery 1.5, setting the jsonp option to false prevents jQuery from adding the \"?callback\" string to the URL or attempting to use \"=?\" for transformation. In this case, you should also explicitly set the jsonpCallback setting. For example, { jsonp: false, jsonpCallback: \"callbackName\" }\n     */\n    jsonp?: any;\n    /**\n     * Specify the callback function name for a JSONP request. This value will be used instead of the random name automatically generated by jQuery. It is preferable to let jQuery generate a unique name as it'll make it easier to manage the requests and provide callbacks and error handling. You may want to specify the callback when you want to enable better browser caching of GET requests. As of jQuery 1.5, you can also use a function for this setting, in which case the value of jsonpCallback is set to the return value of that function.\n     */\n    jsonpCallback?: any;\n    /**\n     * The HTTP method to use for the request (e.g. \"POST\", \"GET\", \"PUT\"). (version added: 1.9.0)\n     */\n    method?: string;\n    /**\n     * A mime type to override the XHR mime type. (version added: 1.5.1)\n     */\n    mimeType?: string;\n    /**\n     * A password to be used with XMLHttpRequest in response to an HTTP access authentication request.\n     */\n    password?: string;\n    /**\n     * By default, data passed in to the data option as an object (technically, anything other than a string) will be processed and transformed into a query string, fitting to the default content-type \"application/x-www-form-urlencoded\". If you want to send a DOMDocument, or other non-processed data, set this option to false.\n     */\n    processData?: boolean;\n    /**\n     * Only applies when the \"script\" transport is used (e.g., cross-domain requests with \"jsonp\" or \"script\" dataType and \"GET\" type). Sets the charset attribute on the script tag used in the request. Used when the character set on the local page is not the same as the one on the remote script.\n     */\n    scriptCharset?: string;\n    /**\n     * An object of numeric HTTP codes and functions to be called when the response has the corresponding code. f the request is successful, the status code functions take the same parameters as the success callback; if it results in an error (including 3xx redirect), they take the same parameters as the error callback. (version added: 1.5)\n     */\n    statusCode?: { [key: string]: any; };\n    /**\n     * A function to be called if the request succeeds. The function gets passed three arguments: The data returned from the server, formatted according to the dataType parameter; a string describing the status; and the jqXHR (in jQuery 1.4.x, XMLHttpRequest) object. As of jQuery 1.5, the success setting can accept an array of functions. Each function will be called in turn. This is an Ajax Event.\n     */\n    success? (data: any, textStatus: string, jqXHR: JQueryXHR): any;\n    /**\n     * Set a timeout (in milliseconds) for the request. This will override any global timeout set with $.ajaxSetup(). The timeout period starts at the point the $.ajax call is made; if several other requests are in progress and the browser has no connections available, it is possible for a request to time out before it can be sent. In jQuery 1.4.x and below, the XMLHttpRequest object will be in an invalid state if the request times out; accessing any object members may throw an exception. In Firefox 3.0+ only, script and JSONP requests cannot be cancelled by a timeout; the script will run even if it arrives after the timeout period.\n     */\n    timeout?: number;\n    /**\n     * Set this to true if you wish to use the traditional style of param serialization.\n     */\n    traditional?: boolean;\n    /**\n     * The type of request to make (\"POST\" or \"GET\"), default is \"GET\". Note: Other HTTP request methods, such as PUT and DELETE, can also be used here, but they are not supported by all browsers.\n     */\n    type?: string;\n    /**\n     * A string containing the URL to which the request is sent.\n     */\n    url?: string;\n    /**\n     * A username to be used with XMLHttpRequest in response to an HTTP access authentication request.\n     */\n    username?: string;\n    /**\n     * Callback for creating the XMLHttpRequest object. Defaults to the ActiveXObject when available (IE), the XMLHttpRequest otherwise. Override to provide your own implementation for XMLHttpRequest or enhancements to the factory.\n     */\n    xhr?: any;\n    /**\n     * An object of fieldName-fieldValue pairs to set on the native XHR object. For example, you can use it to set withCredentials to true for cross-domain requests if needed. In jQuery 1.5, the withCredentials property was not propagated to the native XHR and thus CORS requests requiring it would ignore this flag. For this reason, we recommend using jQuery 1.5.1+ should you require the use of it. (version added: 1.5.1)\n     */\n    xhrFields?: { [key: string]: any; };\n}\n\n/**\n * Interface for the jqXHR object\n */\ninterface JQueryXHR extends XMLHttpRequest, JQueryPromise<any> {\n    /**\n     * The .overrideMimeType() method may be used in the beforeSend() callback function, for example, to modify the response content-type header. As of jQuery 1.5.1, the jqXHR object also contains the overrideMimeType() method (it was available in jQuery 1.4.x, as well, but was temporarily removed in jQuery 1.5). \n     */\n    overrideMimeType(mimeType: string): any;\n    /**\n     * Cancel the request. \n     *\n     * @param statusText A string passed as the textStatus parameter for the done callback. Default value: \"canceled\"\n     */\n    abort(statusText?: string): void;\n    /**\n     * Incorporates the functionality of the .done() and .fail() methods, allowing (as of jQuery 1.8) the underlying Promise to be manipulated. Refer to deferred.then() for implementation details.\n     */\n    then(doneCallback: (data: any, textStatus: string, jqXHR: JQueryXHR) => void, failCallback?: (jqXHR: JQueryXHR, textStatus: string, errorThrown: any) => void): JQueryPromise<any>;\n    /**\n     * Property containing the parsed response if the response Content-Type is json\n     */\n    responseJSON?: any;\n    /**\n     * A function to be called if the request fails.\n     */\n    error(xhr: JQueryXHR, textStatus: string, errorThrown: string): void;\n}\n\n/**\n * Interface for the JQuery callback\n */\ninterface JQueryCallback {\n    /**\n     * Add a callback or a collection of callbacks to a callback list.\n     * \n     * @param callbacks A function, or array of functions, that are to be added to the callback list.\n     */\n    add(callbacks: Function): JQueryCallback;\n    /**\n     * Add a callback or a collection of callbacks to a callback list.\n     * \n     * @param callbacks A function, or array of functions, that are to be added to the callback list.\n     */\n    add(callbacks: Function[]): JQueryCallback;\n\n    /**\n     * Disable a callback list from doing anything more.\n     */\n    disable(): JQueryCallback;\n\n    /**\n     * Determine if the callbacks list has been disabled.\n     */\n    disabled(): boolean;\n\n    /**\n     * Remove all of the callbacks from a list.\n     */\n    empty(): JQueryCallback;\n\n    /**\n     * Call all of the callbacks with the given arguments\n     * \n     * @param arguments The argument or list of arguments to pass back to the callback list.\n     */\n    fire(...arguments: any[]): JQueryCallback;\n\n    /**\n     * Determine if the callbacks have already been called at least once.\n     */\n    fired(): boolean;\n\n    /**\n     * Call all callbacks in a list with the given context and arguments.\n     * \n     * @param context A reference to the context in which the callbacks in the list should be fired.\n     * @param arguments An argument, or array of arguments, to pass to the callbacks in the list.\n     */\n    fireWith(context?: any, args?: any[]): JQueryCallback;\n\n    /**\n     * Determine whether a supplied callback is in a list\n     * \n     * @param callback The callback to search for.\n     */\n    has(callback: Function): boolean;\n\n    /**\n     * Lock a callback list in its current state.\n     */\n    lock(): JQueryCallback;\n\n    /**\n     * Determine if the callbacks list has been locked.\n     */\n    locked(): boolean;\n\n    /**\n     * Remove a callback or a collection of callbacks from a callback list.\n     * \n     * @param callbacks A function, or array of functions, that are to be removed from the callback list.\n     */\n    remove(callbacks: Function): JQueryCallback;\n    /**\n     * Remove a callback or a collection of callbacks from a callback list.\n     * \n     * @param callbacks A function, or array of functions, that are to be removed from the callback list.\n     */\n    remove(callbacks: Function[]): JQueryCallback;\n}\n\n/**\n * Allows jQuery Promises to interop with non-jQuery promises\n */\ninterface JQueryGenericPromise<T> {\n    /**\n     * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress.\n     * \n     * @param doneFilter A function that is called when the Deferred is resolved.\n     * @param failFilter An optional function that is called when the Deferred is rejected.\n     */\n    then<U>(doneFilter: (value?: T, ...values: any[]) => U|JQueryPromise<U>, failFilter?: (...reasons: any[]) => any, progressFilter?: (...progression: any[]) => any): JQueryPromise<U>;\n\n    /**\n     * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress.\n     * \n     * @param doneFilter A function that is called when the Deferred is resolved.\n     * @param failFilter An optional function that is called when the Deferred is rejected.\n     */\n    then(doneFilter: (value?: T, ...values: any[]) => void, failFilter?: (...reasons: any[]) => any, progressFilter?: (...progression: any[]) => any): JQueryPromise<void>;\n}\n\n/**\n * Interface for the JQuery promise/deferred callbacks\n */\ninterface JQueryPromiseCallback<T> {\n    (value?: T, ...args: any[]): void;\n}\n\ninterface JQueryPromiseOperator<T, U> {\n    (callback1: JQueryPromiseCallback<T>|JQueryPromiseCallback<T>[], ...callbacksN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryPromise<U>;\n}\n\n/**\n * Interface for the JQuery promise, part of callbacks\n */\ninterface JQueryPromise<T> extends JQueryGenericPromise<T> {\n    /**\n     * Determine the current state of a Deferred object.\n     */\n    state(): string;\n    /**\n     * Add handlers to be called when the Deferred object is either resolved or rejected.\n     * \n     * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected.\n     * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected.\n     */\n    always(alwaysCallback1?: JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[], ...alwaysCallbacksN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryPromise<T>;\n    /**\n     * Add handlers to be called when the Deferred object is resolved.\n     * \n     * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved.\n     * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved.\n     */\n    done(doneCallback1?: JQueryPromiseCallback<T>|JQueryPromiseCallback<T>[], ...doneCallbackN: Array<JQueryPromiseCallback<T>|JQueryPromiseCallback<T>[]>): JQueryPromise<T>;\n    /**\n     * Add handlers to be called when the Deferred object is rejected.\n     * \n     * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected.\n     * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected.\n     */\n    fail(failCallback1?: JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[], ...failCallbacksN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryPromise<T>;\n    /**\n     * Add handlers to be called when the Deferred object generates progress notifications.\n     * \n     * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications.\n     */\n    progress(progressCallback1?: JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[], ...progressCallbackN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryPromise<T>;\n\n    // Deprecated - given no typings\n    pipe(doneFilter?: (x: any) => any, failFilter?: (x: any) => any, progressFilter?: (x: any) => any): JQueryPromise<any>;\n}\n\n/**\n * Interface for the JQuery deferred, part of callbacks\n */\ninterface JQueryDeferred<T> extends JQueryGenericPromise<T> {\n    /**\n     * Determine the current state of a Deferred object.\n     */\n    state(): string;\n    /**\n     * Add handlers to be called when the Deferred object is either resolved or rejected.\n     * \n     * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected.\n     * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected.\n     */\n    always(alwaysCallback1?: JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[], ...alwaysCallbacksN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryDeferred<T>;\n    /**\n     * Add handlers to be called when the Deferred object is resolved.\n     * \n     * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved.\n     * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved.\n     */\n    done(doneCallback1?: JQueryPromiseCallback<T>|JQueryPromiseCallback<T>[], ...doneCallbackN: Array<JQueryPromiseCallback<T>|JQueryPromiseCallback<T>[]>): JQueryDeferred<T>;\n    /**\n     * Add handlers to be called when the Deferred object is rejected.\n     * \n     * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected.\n     * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected.\n     */\n    fail(failCallback1?: JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[], ...failCallbacksN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryDeferred<T>;\n    /**\n     * Add handlers to be called when the Deferred object generates progress notifications.\n     * \n     * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications.\n     */\n    progress(progressCallback1?: JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[], ...progressCallbackN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryDeferred<T>;\n\n    /**\n     * Call the progressCallbacks on a Deferred object with the given args.\n     * \n     * @param args Optional arguments that are passed to the progressCallbacks.\n     */\n    notify(value?: any, ...args: any[]): JQueryDeferred<T>;\n\n    /**\n     * Call the progressCallbacks on a Deferred object with the given context and args.\n     * \n     * @param context Context passed to the progressCallbacks as the this object.\n     * @param args Optional arguments that are passed to the progressCallbacks.\n     */\n    notifyWith(context: any, value?: any[]): JQueryDeferred<T>;\n\n    /**\n     * Reject a Deferred object and call any failCallbacks with the given args.\n     * \n     * @param args Optional arguments that are passed to the failCallbacks.\n     */\n    reject(value?: any, ...args: any[]): JQueryDeferred<T>;\n    /**\n     * Reject a Deferred object and call any failCallbacks with the given context and args.\n     * \n     * @param context Context passed to the failCallbacks as the this object.\n     * @param args An optional array of arguments that are passed to the failCallbacks.\n     */\n    rejectWith(context: any, value?: any[]): JQueryDeferred<T>;\n\n    /**\n     * Resolve a Deferred object and call any doneCallbacks with the given args.\n     * \n     * @param value First argument passed to doneCallbacks.\n     * @param args Optional subsequent arguments that are passed to the doneCallbacks.\n     */\n    resolve(value?: T, ...args: any[]): JQueryDeferred<T>;\n\n    /**\n     * Resolve a Deferred object and call any doneCallbacks with the given context and args.\n     * \n     * @param context Context passed to the doneCallbacks as the this object.\n     * @param args An optional array of arguments that are passed to the doneCallbacks.\n     */\n    resolveWith(context: any, value?: T[]): JQueryDeferred<T>;\n\n    /**\n     * Return a Deferred's Promise object.\n     * \n     * @param target Object onto which the promise methods have to be attached\n     */\n    promise(target?: any): JQueryPromise<T>;\n\n    // Deprecated - given no typings\n    pipe(doneFilter?: (x: any) => any, failFilter?: (x: any) => any, progressFilter?: (x: any) => any): JQueryPromise<any>;\n}\n\n/**\n * Interface of the JQuery extension of the W3C event object\n */\ninterface BaseJQueryEventObject extends Event {\n    data: any;\n    delegateTarget: Element;\n    isDefaultPrevented(): boolean;\n    isImmediatePropagationStopped(): boolean;\n    isPropagationStopped(): boolean;\n    namespace: string;\n    originalEvent: Event;\n    preventDefault(): any;\n    relatedTarget: Element;\n    result: any;\n    stopImmediatePropagation(): void;\n    stopPropagation(): void;\n    target: Element;\n    pageX: number;\n    pageY: number;\n    which: number;\n    metaKey: boolean;\n}\n\ninterface JQueryInputEventObject extends BaseJQueryEventObject {\n    altKey: boolean;\n    ctrlKey: boolean;\n    metaKey: boolean;\n    shiftKey: boolean;\n}\n\ninterface JQueryMouseEventObject extends JQueryInputEventObject {\n    button: number;\n    clientX: number;\n    clientY: number;\n    offsetX: number;\n    offsetY: number;\n    pageX: number;\n    pageY: number;\n    screenX: number;\n    screenY: number;\n}\n\ninterface JQueryKeyEventObject extends JQueryInputEventObject {\n    char: any;\n    charCode: number;\n    key: any;\n    keyCode: number;\n}\n\ninterface JQueryEventObject extends BaseJQueryEventObject, JQueryInputEventObject, JQueryMouseEventObject, JQueryKeyEventObject{\n}\n\n/*\n    Collection of properties of the current browser\n*/\n\ninterface JQuerySupport {\n    ajax?: boolean;\n    boxModel?: boolean;\n    changeBubbles?: boolean;\n    checkClone?: boolean;\n    checkOn?: boolean;\n    cors?: boolean;\n    cssFloat?: boolean;\n    hrefNormalized?: boolean;\n    htmlSerialize?: boolean;\n    leadingWhitespace?: boolean;\n    noCloneChecked?: boolean;\n    noCloneEvent?: boolean;\n    opacity?: boolean;\n    optDisabled?: boolean;\n    optSelected?: boolean;\n    scriptEval? (): boolean;\n    style?: boolean;\n    submitBubbles?: boolean;\n    tbody?: boolean;\n}\n\ninterface JQueryParam {\n    /**\n     * Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request.\n     * \n     * @param obj An array or object to serialize.\n     */\n    (obj: any): string;\n\n    /**\n     * Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request.\n     * \n     * @param obj An array or object to serialize.\n     * @param traditional A Boolean indicating whether to perform a traditional \"shallow\" serialization.\n     */\n    (obj: any, traditional: boolean): string;\n}\n\n/**\n * The interface used to construct jQuery events (with $.Event). It is\n * defined separately instead of inline in JQueryStatic to allow\n * overriding the construction function with specific strings\n * returning specific event objects.\n */\ninterface JQueryEventConstructor {\n    (name: string, eventProperties?: any): JQueryEventObject;\n    new (name: string, eventProperties?: any): JQueryEventObject;\n}\n\n/**\n * The interface used to specify coordinates.\n */\ninterface JQueryCoordinates {\n    left: number;\n    top: number;\n}\n\n/**\n * Elements in the array returned by serializeArray()\n */\ninterface JQuerySerializeArrayElement {\n    name: string;\n    value: string;\n}\n\ninterface JQueryAnimationOptions { \n    /**\n     * A string or number determining how long the animation will run.\n     */\n    duration?: any; \n    /**\n     * A string indicating which easing function to use for the transition.\n     */\n    easing?: string; \n    /**\n     * A function to call once the animation is complete.\n     */\n    complete?: Function; \n    /**\n     * A function to be called for each animated property of each animated element. This function provides an opportunity to modify the Tween object to change the value of the property before it is set.\n     */\n    step?: (now: number, tween: any) => any; \n    /**\n     * A function to be called after each step of the animation, only once per animated element regardless of the number of animated properties. (version added: 1.8)\n     */\n    progress?: (animation: JQueryPromise<any>, progress: number, remainingMs: number) => any; \n    /**\n     * A function to call when the animation begins. (version added: 1.8)\n     */\n    start?: (animation: JQueryPromise<any>) => any; \n    /**\n     * A function to be called when the animation completes (its Promise object is resolved). (version added: 1.8)\n     */\n    done?: (animation: JQueryPromise<any>, jumpedToEnd: boolean) => any; \n    /**\n     * A function to be called when the animation fails to complete (its Promise object is rejected). (version added: 1.8)\n     */\n    fail?: (animation: JQueryPromise<any>, jumpedToEnd: boolean) => any; \n    /**\n     * A function to be called when the animation completes or stops without completing (its Promise object is either resolved or rejected). (version added: 1.8)\n     */\n    always?: (animation: JQueryPromise<any>, jumpedToEnd: boolean) => any; \n    /**\n     * A Boolean indicating whether to place the animation in the effects queue. If false, the animation will begin immediately. As of jQuery 1.7, the queue option can also accept a string, in which case the animation is added to the queue represented by that string. When a custom queue name is used the animation does not automatically start; you must call .dequeue(\"queuename\") to start it.\n     */\n    queue?: any; \n    /**\n     * A map of one or more of the CSS properties defined by the properties argument and their corresponding easing functions. (version added: 1.4)\n     */\n    specialEasing?: Object;\n}\n\ninterface JQueryEasingFunction {\n    ( percent: number ): number;\n}\n\ninterface JQueryEasingFunctions {\n    [ name: string ]: JQueryEasingFunction;\n    linear: JQueryEasingFunction;\n    swing: JQueryEasingFunction;\n}\n\n/**\n * Static members of jQuery (those on $ and jQuery themselves)\n */\ninterface JQueryStatic {\n\n    /**\n     * Perform an asynchronous HTTP (Ajax) request.\n     *\n     * @param settings A set of key/value pairs that configure the Ajax request. All settings are optional. A default can be set for any option with $.ajaxSetup().\n     */\n    ajax(settings: JQueryAjaxSettings): JQueryXHR;\n    /**\n     * Perform an asynchronous HTTP (Ajax) request.\n     *\n     * @param url A string containing the URL to which the request is sent.\n     * @param settings A set of key/value pairs that configure the Ajax request. All settings are optional. A default can be set for any option with $.ajaxSetup().\n     */\n    ajax(url: string, settings?: JQueryAjaxSettings): JQueryXHR;\n\n    /**\n     * Handle custom Ajax options or modify existing options before each request is sent and before they are processed by $.ajax().\n     *\n     * @param dataTypes An optional string containing one or more space-separated dataTypes\n     * @param handler A handler to set default values for future Ajax requests.\n     */\n    ajaxPrefilter(dataTypes: string, handler: (opts: any, originalOpts: JQueryAjaxSettings, jqXHR: JQueryXHR) => any): void;\n    /**\n     * Handle custom Ajax options or modify existing options before each request is sent and before they are processed by $.ajax().\n     *\n     * @param handler A handler to set default values for future Ajax requests.\n     */\n    ajaxPrefilter(handler: (opts: any, originalOpts: JQueryAjaxSettings, jqXHR: JQueryXHR) => any): void;\n\n    ajaxSettings: JQueryAjaxSettings;\n\n     /**\n      * Set default values for future Ajax requests. Its use is not recommended.\n      *\n      * @param options A set of key/value pairs that configure the default Ajax request. All options are optional.\n      */\n    ajaxSetup(options: JQueryAjaxSettings): void;\n\n    /**\n     * Load data from the server using a HTTP GET request.\n     *\n     * @param url A string containing the URL to which the request is sent.\n     * @param success A callback function that is executed if the request succeeds.\n     * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html).\n     */\n    get(url: string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR;\n    /**\n     * Load data from the server using a HTTP GET request.\n     *\n     * @param url A string containing the URL to which the request is sent.\n     * @param data A plain object or string that is sent to the server with the request.\n     * @param success A callback function that is executed if the request succeeds.\n     * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html).\n     */\n    get(url: string, data?: Object|string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR;\n    /**\n     * Load JSON-encoded data from the server using a GET HTTP request.\n     *\n     * @param url A string containing the URL to which the request is sent.\n     * @param success A callback function that is executed if the request succeeds.\n     */\n    getJSON(url: string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any): JQueryXHR;\n    /**\n     * Load JSON-encoded data from the server using a GET HTTP request.\n     *\n     * @param url A string containing the URL to which the request is sent.\n     * @param data A plain object or string that is sent to the server with the request.\n     * @param success A callback function that is executed if the request succeeds.\n     */\n    getJSON(url: string, data?: Object|string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any): JQueryXHR;\n    /**\n     * Load a JavaScript file from the server using a GET HTTP request, then execute it.\n     *\n     * @param url A string containing the URL to which the request is sent.\n     * @param success A callback function that is executed if the request succeeds.\n     */\n    getScript(url: string, success?: (script: string, textStatus: string, jqXHR: JQueryXHR) => any): JQueryXHR;\n\n    /**\n     * Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request.\n     */\n    param: JQueryParam;\n\n    /**\n     * Load data from the server using a HTTP POST request.\n     *\n     * @param url A string containing the URL to which the request is sent.\n     * @param success A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case.\n     * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html).\n     */\n    post(url: string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR;\n    /**\n     * Load data from the server using a HTTP POST request.\n     *\n     * @param url A string containing the URL to which the request is sent.\n     * @param data A plain object or string that is sent to the server with the request.\n     * @param success A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case.\n     * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html).\n     */\n    post(url: string, data?: Object|string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR;\n\n    /**\n     * A multi-purpose callbacks list object that provides a powerful way to manage callback lists.\n     *\n     * @param flags An optional list of space-separated flags that change how the callback list behaves.\n     */\n    Callbacks(flags?: string): JQueryCallback;\n\n    /**\n     * Holds or releases the execution of jQuery's ready event.\n     *\n     * @param hold Indicates whether the ready hold is being requested or released\n     */\n    holdReady(hold: boolean): void;\n\n    /**\n     * Accepts a string containing a CSS selector which is then used to match a set of elements.\n     *\n     * @param selector A string containing a selector expression\n     * @param context A DOM Element, Document, or jQuery to use as context\n     */\n    (selector: string, context?: Element|JQuery): JQuery;\n\n    /**\n     * Accepts a string containing a CSS selector which is then used to match a set of elements.\n     *\n     * @param element A DOM element to wrap in a jQuery object.\n     */\n    (element: Element): JQuery;\n\n    /**\n     * Accepts a string containing a CSS selector which is then used to match a set of elements.\n     *\n     * @param elementArray An array containing a set of DOM elements to wrap in a jQuery object.\n     */\n    (elementArray: Element[]): JQuery;\n\n    /**\n     * Binds a function to be executed when the DOM has finished loading.\n     *\n     * @param callback A function to execute after the DOM is ready.\n     */\n    (callback: (jQueryAlias?: JQueryStatic) => any): JQuery;\n\n    /**\n     * Accepts a string containing a CSS selector which is then used to match a set of elements.\n     *\n     * @param object A plain object to wrap in a jQuery object.\n     */\n    (object: {}): JQuery;\n\n    /**\n     * Accepts a string containing a CSS selector which is then used to match a set of elements.\n     *\n     * @param object An existing jQuery object to clone.\n     */\n    (object: JQuery): JQuery;\n\n    /**\n     * Specify a function to execute when the DOM is fully loaded.\n     */\n    (): JQuery;\n\n    /**\n     * Creates DOM elements on the fly from the provided string of raw HTML.\n     *\n     * @param html A string of HTML to create on the fly. Note that this parses HTML, not XML.\n     * @param ownerDocument A document in which the new elements will be created.\n     */\n    (html: string, ownerDocument?: Document): JQuery;\n\n    /**\n     * Creates DOM elements on the fly from the provided string of raw HTML.\n     *\n     * @param html A string defining a single, standalone, HTML element (e.g. <div/> or <div></div>).\n     * @param attributes An object of attributes, events, and methods to call on the newly-created element.\n     */\n    (html: string, attributes: Object): JQuery;\n\n    /**\n     * Relinquish jQuery's control of the $ variable.\n     *\n     * @param removeAll A Boolean indicating whether to remove all jQuery variables from the global scope (including jQuery itself).\n     */\n    noConflict(removeAll?: boolean): Object;\n\n    /**\n     * Provides a way to execute callback functions based on one or more objects, usually Deferred objects that represent asynchronous events.\n     *\n     * @param deferreds One or more Deferred objects, or plain JavaScript objects.\n     */\n    when<T>(...deferreds: Array<T|JQueryPromise<T>/* as JQueryDeferred<T> */>): JQueryPromise<T>;\n\n    /**\n     * Hook directly into jQuery to override how particular CSS properties are retrieved or set, normalize CSS property naming, or create custom properties.\n     */\n    cssHooks: { [key: string]: any; };\n    cssNumber: any;\n\n    /**\n     * Store arbitrary data associated with the specified element. Returns the value that was set.\n     *\n     * @param element The DOM element to associate with the data.\n     * @param key A string naming the piece of data to set.\n     * @param value The new data value.\n     */\n    data<T>(element: Element, key: string, value: T): T;\n    /**\n     * Returns value at named data store for the element, as set by jQuery.data(element, name, value), or the full data store for the element.\n     *\n     * @param element The DOM element to associate with the data.\n     * @param key A string naming the piece of data to set.\n     */\n    data(element: Element, key: string): any;\n    /**\n     * Returns value at named data store for the element, as set by jQuery.data(element, name, value), or the full data store for the element.\n     *\n     * @param element The DOM element to associate with the data.\n     */\n    data(element: Element): any;\n\n    /**\n     * Execute the next function on the queue for the matched element.\n     *\n     * @param element A DOM element from which to remove and execute a queued function.\n     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.\n     */\n    dequeue(element: Element, queueName?: string): void;\n\n    /**\n     * Determine whether an element has any jQuery data associated with it.\n     *\n     * @param element A DOM element to be checked for data.\n     */\n    hasData(element: Element): boolean;\n\n    /**\n     * Show the queue of functions to be executed on the matched element.\n     *\n     * @param element A DOM element to inspect for an attached queue.\n     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.\n     */\n    queue(element: Element, queueName?: string): any[];\n    /**\n     * Manipulate the queue of functions to be executed on the matched element.\n     *\n     * @param element A DOM element where the array of queued functions is attached.\n     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.\n     * @param newQueue An array of functions to replace the current queue contents.\n     */\n    queue(element: Element, queueName: string, newQueue: Function[]): JQuery;\n    /**\n     * Manipulate the queue of functions to be executed on the matched element.\n     *\n     * @param element A DOM element on which to add a queued function.\n     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.\n     * @param callback The new function to add to the queue.\n     */\n    queue(element: Element, queueName: string, callback: Function): JQuery;\n\n    /**\n     * Remove a previously-stored piece of data.\n     *\n     * @param element A DOM element from which to remove data.\n     * @param name A string naming the piece of data to remove.\n     */\n    removeData(element: Element, name?: string): JQuery;\n\n    /**\n     * A constructor function that returns a chainable utility object with methods to register multiple callbacks into callback queues, invoke callback queues, and relay the success or failure state of any synchronous or asynchronous function.\n     *\n     * @param beforeStart A function that is called just before the constructor returns.\n     */\n    Deferred<T>(beforeStart?: (deferred: JQueryDeferred<T>) => any): JQueryDeferred<T>;\n\n    /**\n     * Effects\n     */\n\n    easing: JQueryEasingFunctions;\n\n    fx: {\n        tick: () => void;\n        /**\n         * The rate (in milliseconds) at which animations fire.\n         */\n        interval: number;\n        stop: () => void;\n        speeds: { slow: number; fast: number; };\n        /**\n         * Globally disable all animations.\n         */\n        off: boolean;\n        step: any;\n    };\n\n    /**\n     * Takes a function and returns a new one that will always have a particular context.\n     *\n     * @param fnction The function whose context will be changed.\n     * @param context The object to which the context (this) of the function should be set.\n     * @param additionalArguments Any number of arguments to be passed to the function referenced in the function argument.\n     */\n    proxy(fnction: (...args: any[]) => any, context: Object, ...additionalArguments: any[]): any;\n    /**\n     * Takes a function and returns a new one that will always have a particular context.\n     *\n     * @param context The object to which the context (this) of the function should be set.\n     * @param name The name of the function whose context will be changed (should be a property of the context object).\n     * @param additionalArguments Any number of arguments to be passed to the function named in the name argument.\n     */\n    proxy(context: Object, name: string, ...additionalArguments: any[]): any;\n\n    Event: JQueryEventConstructor;\n\n    /**\n     * Takes a string and throws an exception containing it.\n     *\n     * @param message The message to send out.\n     */\n    error(message: any): JQuery;\n\n    expr: any;\n    fn: any;  //TODO: Decide how we want to type this\n\n    isReady: boolean;\n\n    // Properties\n    support: JQuerySupport;\n\n    /**\n     * Check to see if a DOM element is a descendant of another DOM element.\n     * \n     * @param container The DOM element that may contain the other element.\n     * @param contained The DOM element that may be contained by (a descendant of) the other element.\n     */\n    contains(container: Element, contained: Element): boolean;\n\n    /**\n     * A generic iterator function, which can be used to seamlessly iterate over both objects and arrays. Arrays and array-like objects with a length property (such as a function's arguments object) are iterated by numeric index, from 0 to length-1. Other objects are iterated via their named properties.\n     * \n     * @param collection The object or array to iterate over.\n     * @param callback The function that will be executed on every object.\n     */\n    each<T>(\n        collection: T[],\n        callback: (indexInArray: number, valueOfElement: T) => any\n        ): any;\n\n    /**\n     * A generic iterator function, which can be used to seamlessly iterate over both objects and arrays. Arrays and array-like objects with a length property (such as a function's arguments object) are iterated by numeric index, from 0 to length-1. Other objects are iterated via their named properties.\n     * \n     * @param collection The object or array to iterate over.\n     * @param callback The function that will be executed on every object.\n     */\n    each(\n        collection: any,\n        callback: (indexInArray: any, valueOfElement: any) => any\n        ): any;\n\n    /**\n     * Merge the contents of two or more objects together into the first object.\n     *\n     * @param target An object that will receive the new properties if additional objects are passed in or that will extend the jQuery namespace if it is the sole argument.\n     * @param object1 An object containing additional properties to merge in.\n     * @param objectN Additional objects containing properties to merge in.\n     */\n    extend(target: any, object1?: any, ...objectN: any[]): any;\n    /**\n     * Merge the contents of two or more objects together into the first object.\n     *\n     * @param deep If true, the merge becomes recursive (aka. deep copy).\n     * @param target The object to extend. It will receive the new properties.\n     * @param object1 An object containing additional properties to merge in.\n     * @param objectN Additional objects containing properties to merge in.\n     */\n    extend(deep: boolean, target: any, object1?: any, ...objectN: any[]): any;\n\n    /**\n     * Execute some JavaScript code globally.\n     *\n     * @param code The JavaScript code to execute.\n     */\n    globalEval(code: string): any;\n\n    /**\n     * Finds the elements of an array which satisfy a filter function. The original array is not affected.\n     *\n     * @param array The array to search through.\n     * @param func The function to process each item against. The first argument to the function is the item, and the second argument is the index. The function should return a Boolean value.  this will be the global window object.\n     * @param invert If \"invert\" is false, or not provided, then the function returns an array consisting of all elements for which \"callback\" returns true. If \"invert\" is true, then the function returns an array consisting of all elements for which \"callback\" returns false.\n     */\n    grep<T>(array: T[], func: (elementOfArray: T, indexInArray: number) => boolean, invert?: boolean): T[];\n\n    /**\n     * Search for a specified value within an array and return its index (or -1 if not found).\n     *\n     * @param value The value to search for.\n     * @param array An array through which to search.\n     * @param fromIndex he index of the array at which to begin the search. The default is 0, which will search the whole array.\n     */\n    inArray<T>(value: T, array: T[], fromIndex?: number): number;\n\n    /**\n     * Determine whether the argument is an array.\n     *\n     * @param obj Object to test whether or not it is an array.\n     */\n    isArray(obj: any): boolean;\n    /**\n     * Check to see if an object is empty (contains no enumerable properties).\n     *\n     * @param obj The object that will be checked to see if it's empty.\n     */\n    isEmptyObject(obj: any): boolean;\n    /**\n     * Determine if the argument passed is a Javascript function object.\n     *\n     * @param obj Object to test whether or not it is a function.\n     */\n    isFunction(obj: any): boolean;\n    /**\n     * Determines whether its argument is a number.\n     *\n     * @param obj The value to be tested.\n     */\n    isNumeric(value: any): boolean;\n    /**\n     * Check to see if an object is a plain object (created using \"{}\" or \"new Object\").\n     *\n     * @param obj The object that will be checked to see if it's a plain object.\n     */\n    isPlainObject(obj: any): boolean;\n    /**\n     * Determine whether the argument is a window.\n     *\n     * @param obj Object to test whether or not it is a window.\n     */\n    isWindow(obj: any): boolean;\n    /**\n     * Check to see if a DOM node is within an XML document (or is an XML document).\n     *\n     * @param node he DOM node that will be checked to see if it's in an XML document.\n     */\n    isXMLDoc(node: Node): boolean;\n\n    /**\n     * Convert an array-like object into a true JavaScript array.\n     * \n     * @param obj Any object to turn into a native Array.\n     */\n    makeArray(obj: any): any[];\n\n    /**\n     * Translate all items in an array or object to new array of items.\n     * \n     * @param array The Array to translate.\n     * @param callback The function to process each item against. The first argument to the function is the array item, the second argument is the index in array The function can return any value. Within the function, this refers to the global (window) object.\n     */\n    map<T, U>(array: T[], callback: (elementOfArray: T, indexInArray: number) => U): U[];\n    /**\n     * Translate all items in an array or object to new array of items.\n     * \n     * @param arrayOrObject The Array or Object to translate.\n     * @param callback The function to process each item against. The first argument to the function is the value; the second argument is the index or key of the array or object property. The function can return any value to add to the array. A returned array will be flattened into the resulting array. Within the function, this refers to the global (window) object.\n     */\n    map(arrayOrObject: any, callback: (value: any, indexOrKey: any) => any): any;\n\n    /**\n     * Merge the contents of two arrays together into the first array.\n     * \n     * @param first The first array to merge, the elements of second added.\n     * @param second The second array to merge into the first, unaltered.\n     */\n    merge<T>(first: T[], second: T[]): T[];\n\n    /**\n     * An empty function.\n     */\n    noop(): any;\n\n    /**\n     * Return a number representing the current time.\n     */\n    now(): number;\n\n    /**\n     * Takes a well-formed JSON string and returns the resulting JavaScript object.\n     * \n     * @param json The JSON string to parse.\n     */\n    parseJSON(json: string): any;\n\n    /**\n     * Parses a string into an XML document.\n     *\n     * @param data a well-formed XML string to be parsed\n     */\n    parseXML(data: string): XMLDocument;\n\n    /**\n     * Remove the whitespace from the beginning and end of a string.\n     * \n     * @param str Remove the whitespace from the beginning and end of a string.\n     */\n    trim(str: string): string;\n\n    /**\n     * Determine the internal JavaScript [[Class]] of an object.\n     * \n     * @param obj Object to get the internal JavaScript [[Class]] of.\n     */\n    type(obj: any): string;\n\n    /**\n     * Sorts an array of DOM elements, in place, with the duplicates removed. Note that this only works on arrays of DOM elements, not strings or numbers.\n     * \n     * @param array The Array of DOM elements.\n     */\n    unique(array: Element[]): Element[];\n\n    /**\n     * Parses a string into an array of DOM nodes.\n     *\n     * @param data HTML string to be parsed\n     * @param context DOM element to serve as the context in which the HTML fragment will be created\n     * @param keepScripts A Boolean indicating whether to include scripts passed in the HTML string\n     */\n    parseHTML(data: string, context?: HTMLElement, keepScripts?: boolean): any[];\n\n    /**\n     * Parses a string into an array of DOM nodes.\n     *\n     * @param data HTML string to be parsed\n     * @param context DOM element to serve as the context in which the HTML fragment will be created\n     * @param keepScripts A Boolean indicating whether to include scripts passed in the HTML string\n     */\n    parseHTML(data: string, context?: Document, keepScripts?: boolean): any[];\n}\n\n/**\n * The jQuery instance members\n */\ninterface JQuery {\n    /**\n     * Register a handler to be called when Ajax requests complete. This is an AjaxEvent.\n     *\n     * @param handler The function to be invoked.\n     */\n    ajaxComplete(handler: (event: JQueryEventObject, XMLHttpRequest: XMLHttpRequest, ajaxOptions: any) => any): JQuery;\n    /**\n     * Register a handler to be called when Ajax requests complete with an error. This is an Ajax Event.\n     *\n     * @param handler The function to be invoked.\n     */\n    ajaxError(handler: (event: JQueryEventObject, jqXHR: JQueryXHR, ajaxSettings: JQueryAjaxSettings, thrownError: any) => any): JQuery;\n    /**\n     * Attach a function to be executed before an Ajax request is sent. This is an Ajax Event.\n     *\n     * @param handler The function to be invoked.\n     */\n    ajaxSend(handler: (event: JQueryEventObject, jqXHR: JQueryXHR, ajaxOptions: JQueryAjaxSettings) => any): JQuery;\n    /**\n     * Register a handler to be called when the first Ajax request begins. This is an Ajax Event.\n     *\n     * @param handler The function to be invoked.\n     */\n    ajaxStart(handler: () => any): JQuery;\n    /**\n     * Register a handler to be called when all Ajax requests have completed. This is an Ajax Event.\n     *\n     * @param handler The function to be invoked.\n     */\n    ajaxStop(handler: () => any): JQuery;\n    /**\n     * Attach a function to be executed whenever an Ajax request completes successfully. This is an Ajax Event.\n     *\n     * @param handler The function to be invoked.\n     */\n    ajaxSuccess(handler: (event: JQueryEventObject, XMLHttpRequest: XMLHttpRequest, ajaxOptions: JQueryAjaxSettings) => any): JQuery;\n\n    /**\n     * Load data from the server and place the returned HTML into the matched element.\n     *\n     * @param url A string containing the URL to which the request is sent.\n     * @param data A plain object or string that is sent to the server with the request.\n     * @param complete A callback function that is executed when the request completes.\n     */\n    load(url: string, data?: string|Object, complete?: (responseText: string, textStatus: string, XMLHttpRequest: XMLHttpRequest) => any): JQuery;\n\n    /**\n     * Encode a set of form elements as a string for submission.\n     */\n    serialize(): string;\n    /**\n     * Encode a set of form elements as an array of names and values.\n     */\n    serializeArray(): JQuerySerializeArrayElement[];\n\n    /**\n     * Adds the specified class(es) to each of the set of matched elements.\n     *\n     * @param className One or more space-separated classes to be added to the class attribute of each matched element.\n     */\n    addClass(className: string): JQuery;\n    /**\n     * Adds the specified class(es) to each of the set of matched elements.\n     *\n     * @param function A function returning one or more space-separated class names to be added to the existing class name(s). Receives the index position of the element in the set and the existing class name(s) as arguments. Within the function, this refers to the current element in the set.\n     */\n    addClass(func: (index: number, className: string) => string): JQuery;\n\n    /**\n     * Add the previous set of elements on the stack to the current set, optionally filtered by a selector.\n     */\n    addBack(selector?: string): JQuery;\n\n    /**\n     * Get the value of an attribute for the first element in the set of matched elements.\n     *\n     * @param attributeName The name of the attribute to get.\n     */\n    attr(attributeName: string): string;\n    /**\n     * Set one or more attributes for the set of matched elements.\n     *\n     * @param attributeName The name of the attribute to set.\n     * @param value A value to set for the attribute.\n     */\n    attr(attributeName: string, value: string|number): JQuery;\n    /**\n     * Set one or more attributes for the set of matched elements.\n     *\n     * @param attributeName The name of the attribute to set.\n     * @param func A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old attribute value as arguments.\n     */\n    attr(attributeName: string, func: (index: number, attr: string) => string|number): JQuery;\n    /**\n     * Set one or more attributes for the set of matched elements.\n     *\n     * @param attributes An object of attribute-value pairs to set.\n     */\n    attr(attributes: Object): JQuery;\n    \n    /**\n     * Determine whether any of the matched elements are assigned the given class.\n     *\n     * @param className The class name to search for.\n     */\n    hasClass(className: string): boolean;\n\n    /**\n     * Get the HTML contents of the first element in the set of matched elements.\n     */\n    html(): string;\n    /**\n     * Set the HTML contents of each element in the set of matched elements.\n     *\n     * @param htmlString A string of HTML to set as the content of each matched element.\n     */\n    html(htmlString: string): JQuery;\n    /**\n     * Set the HTML contents of each element in the set of matched elements.\n     *\n     * @param func A function returning the HTML content to set. Receives the index position of the element in the set and the old HTML value as arguments. jQuery empties the element before calling the function; use the oldhtml argument to reference the previous content. Within the function, this refers to the current element in the set.\n     */\n    html(func: (index: number, oldhtml: string) => string): JQuery;\n    /**\n     * Set the HTML contents of each element in the set of matched elements.\n     *\n     * @param func A function returning the HTML content to set. Receives the index position of the element in the set and the old HTML value as arguments. jQuery empties the element before calling the function; use the oldhtml argument to reference the previous content. Within the function, this refers to the current element in the set.\n     */\n\n    /**\n     * Get the value of a property for the first element in the set of matched elements.\n     *\n     * @param propertyName The name of the property to get.\n     */\n    prop(propertyName: string): any;\n    /**\n     * Set one or more properties for the set of matched elements.\n     *\n     * @param propertyName The name of the property to set.\n     * @param value A value to set for the property.\n     */\n    prop(propertyName: string, value: string|number|boolean): JQuery;\n    /**\n     * Set one or more properties for the set of matched elements.\n     *\n     * @param properties An object of property-value pairs to set.\n     */\n    prop(properties: Object): JQuery;\n    /**\n     * Set one or more properties for the set of matched elements.\n     *\n     * @param propertyName The name of the property to set.\n     * @param func A function returning the value to set. Receives the index position of the element in the set and the old property value as arguments. Within the function, the keyword this refers to the current element.\n     */\n    prop(propertyName: string, func: (index: number, oldPropertyValue: any) => any): JQuery;\n\n    /**\n     * Remove an attribute from each element in the set of matched elements.\n     *\n     * @param attributeName An attribute to remove; as of version 1.7, it can be a space-separated list of attributes.\n     */\n    removeAttr(attributeName: string): JQuery;\n\n    /**\n     * Remove a single class, multiple classes, or all classes from each element in the set of matched elements.\n     *\n     * @param className One or more space-separated classes to be removed from the class attribute of each matched element.\n     */\n    removeClass(className?: string): JQuery;\n    /**\n     * Remove a single class, multiple classes, or all classes from each element in the set of matched elements.\n     *\n     * @param function A function returning one or more space-separated class names to be removed. Receives the index position of the element in the set and the old class value as arguments.\n     */\n    removeClass(func: (index: number, className: string) => string): JQuery;\n\n    /**\n     * Remove a property for the set of matched elements.\n     *\n     * @param propertyName The name of the property to remove.\n     */\n    removeProp(propertyName: string): JQuery;\n\n    /**\n     * Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.\n     *\n     * @param className One or more class names (separated by spaces) to be toggled for each element in the matched set.\n     * @param swtch A Boolean (not just truthy/falsy) value to determine whether the class should be added or removed.\n     */\n    toggleClass(className: string, swtch?: boolean): JQuery;\n    /**\n     * Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.\n     *\n     * @param swtch A boolean value to determine whether the class should be added or removed.\n     */\n    toggleClass(swtch?: boolean): JQuery;\n    /**\n     * Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.\n     *\n     * @param func A function that returns class names to be toggled in the class attribute of each element in the matched set. Receives the index position of the element in the set, the old class value, and the switch as arguments.\n     * @param swtch A boolean value to determine whether the class should be added or removed.\n     */\n    toggleClass(func: (index: number, className: string, swtch: boolean) => string, swtch?: boolean): JQuery;\n\n    /**\n     * Get the current value of the first element in the set of matched elements.\n     */\n    val(): any;\n    /**\n     * Set the value of each element in the set of matched elements.\n     *\n     * @param value A string of text, an array of strings or number corresponding to the value of each matched element to set as selected/checked.\n     */\n    val(value: string|string[]|number): JQuery;\n    /**\n     * Set the value of each element in the set of matched elements.\n     *\n     * @param func A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as arguments.\n     */\n    val(func: (index: number, value: string) => string): JQuery;\n\n\n    /**\n     * Get the value of style properties for the first element in the set of matched elements.\n     *\n     * @param propertyName A CSS property.\n     */\n    css(propertyName: string): string;\n    /**\n     * Set one or more CSS properties for the set of matched elements.\n     *\n     * @param propertyName A CSS property name.\n     * @param value A value to set for the property.\n     */\n    css(propertyName: string, value: string|number): JQuery;\n    /**\n     * Set one or more CSS properties for the set of matched elements.\n     *\n     * @param propertyName A CSS property name.\n     * @param value A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as arguments.\n     */\n    css(propertyName: string, value: (index: number, value: string) => string|number): JQuery;\n    /**\n     * Set one or more CSS properties for the set of matched elements.\n     *\n     * @param properties An object of property-value pairs to set.\n     */\n    css(properties: Object): JQuery;\n\n    /**\n     * Get the current computed height for the first element in the set of matched elements.\n     */\n    height(): number;\n    /**\n     * Set the CSS height of every matched element.\n     *\n     * @param value An integer representing the number of pixels, or an integer with an optional unit of measure appended (as a string).\n     */\n    height(value: number|string): JQuery;\n    /**\n     * Set the CSS height of every matched element.\n     *\n     * @param func A function returning the height to set. Receives the index position of the element in the set and the old height as arguments. Within the function, this refers to the current element in the set.\n     */\n    height(func: (index: number, height: number) => number|string): JQuery;\n\n    /**\n     * Get the current computed height for the first element in the set of matched elements, including padding but not border.\n     */\n    innerHeight(): number;\n\n    /**\n     * Sets the inner height on elements in the set of matched elements, including padding but not border.\n     *\n     * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).\n     */\n    innerHeight(height: number|string): JQuery;\n    \n    /**\n     * Get the current computed width for the first element in the set of matched elements, including padding but not border.\n     */\n    innerWidth(): number;\n\n    /**\n     * Sets the inner width on elements in the set of matched elements, including padding but not border.\n     *\n     * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).\n     */\n    innerWidth(width: number|string): JQuery;\n    \n    /**\n     * Get the current coordinates of the first element in the set of matched elements, relative to the document.\n     */\n    offset(): JQueryCoordinates;\n    /**\n     * An object containing the properties top and left, which are integers indicating the new top and left coordinates for the elements.\n     *\n     * @param coordinates An object containing the properties top and left, which are integers indicating the new top and left coordinates for the elements.\n     */\n    offset(coordinates: JQueryCoordinates): JQuery;\n    /**\n     * An object containing the properties top and left, which are integers indicating the new top and left coordinates for the elements.\n     *\n     * @param func A function to return the coordinates to set. Receives the index of the element in the collection as the first argument and the current coordinates as the second argument. The function should return an object with the new top and left properties.\n     */\n    offset(func: (index: number, coords: JQueryCoordinates) => JQueryCoordinates): JQuery;\n\n    /**\n     * Get the current computed height for the first element in the set of matched elements, including padding, border, and optionally margin. Returns an integer (without \"px\") representation of the value or null if called on an empty set of elements.\n     *\n     * @param includeMargin A Boolean indicating whether to include the element's margin in the calculation.\n     */\n    outerHeight(includeMargin?: boolean): number;\n\n    /**\n     * Sets the outer height on elements in the set of matched elements, including padding and border.\n     *\n     * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).\n     */\n    outerHeight(height: number|string): JQuery;\n\n    /**\n     * Get the current computed width for the first element in the set of matched elements, including padding and border.\n     *\n     * @param includeMargin A Boolean indicating whether to include the element's margin in the calculation.\n     */\n    outerWidth(includeMargin?: boolean): number;\n\n    /**\n     * Sets the outer width on elements in the set of matched elements, including padding and border.\n     *\n     * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).\n     */\n    outerWidth(width: number|string): JQuery;\n\n    /**\n     * Get the current coordinates of the first element in the set of matched elements, relative to the offset parent.\n     */\n    position(): JQueryCoordinates;\n\n    /**\n     * Get the current horizontal position of the scroll bar for the first element in the set of matched elements or set the horizontal position of the scroll bar for every matched element.\n     */\n    scrollLeft(): number;\n    /**\n     * Set the current horizontal position of the scroll bar for each of the set of matched elements.\n     *\n     * @param value An integer indicating the new position to set the scroll bar to.\n     */\n    scrollLeft(value: number): JQuery;\n\n    /**\n     * Get the current vertical position of the scroll bar for the first element in the set of matched elements or set the vertical position of the scroll bar for every matched element.\n     */\n    scrollTop(): number;\n    /**\n     * Set the current vertical position of the scroll bar for each of the set of matched elements.\n     *\n     * @param value An integer indicating the new position to set the scroll bar to.\n     */\n    scrollTop(value: number): JQuery;\n\n    /**\n     * Get the current computed width for the first element in the set of matched elements.\n     */\n    width(): number;\n    /**\n     * Set the CSS width of each element in the set of matched elements.\n     *\n     * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).\n     */\n    width(value: number|string): JQuery;\n    /**\n     * Set the CSS width of each element in the set of matched elements.\n     *\n     * @param func A function returning the width to set. Receives the index position of the element in the set and the old width as arguments. Within the function, this refers to the current element in the set.\n     */\n    width(func: (index: number, width: number) => number|string): JQuery;\n\n    /**\n     * Remove from the queue all items that have not yet been run.\n     *\n     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.\n     */\n    clearQueue(queueName?: string): JQuery;\n\n    /**\n     * Store arbitrary data associated with the matched elements.\n     *\n     * @param key A string naming the piece of data to set.\n     * @param value The new data value; it can be any Javascript type including Array or Object.\n     */\n    data(key: string, value: any): JQuery;\n    /**\n     * Return the value at the named data store for the first element in the jQuery collection, as set by data(name, value) or by an HTML5 data-* attribute.\n     *\n     * @param key Name of the data stored.\n     */\n    data(key: string): any;\n    /**\n     * Store arbitrary data associated with the matched elements.\n     *\n     * @param obj An object of key-value pairs of data to update.\n     */\n    data(obj: { [key: string]: any; }): JQuery;\n    /**\n     * Return the value at the named data store for the first element in the jQuery collection, as set by data(name, value) or by an HTML5 data-* attribute.\n     */\n    data(): any;\n\n    /**\n     * Execute the next function on the queue for the matched elements.\n     *\n     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.\n     */\n    dequeue(queueName?: string): JQuery;\n\n    /**\n     * Remove a previously-stored piece of data.\n     *\n     * @param name A string naming the piece of data to delete or space-separated string naming the pieces of data to delete.\n     */\n    removeData(name: string): JQuery;\n    /**\n     * Remove a previously-stored piece of data.\n     *\n     * @param list An array of strings naming the pieces of data to delete.\n     */\n    removeData(list: string[]): JQuery;\n    /**\n     * Remove all previously-stored piece of data.\n     */\n    removeData(): JQuery;\n\n    /**\n     * Return a Promise object to observe when all actions of a certain type bound to the collection, queued or not, have finished.\n     *\n     * @param type The type of queue that needs to be observed. (default: fx)\n     * @param target Object onto which the promise methods have to be attached\n     */\n    promise(type?: string, target?: Object): JQueryPromise<any>;\n\n    /**\n     * Perform a custom animation of a set of CSS properties.\n     *\n     * @param properties An object of CSS properties and values that the animation will move toward.\n     * @param duration A string or number determining how long the animation will run.\n     * @param complete A function to call once the animation is complete.\n     */\n    animate(properties: Object, duration?: string|number, complete?: Function): JQuery;\n    /**\n     * Perform a custom animation of a set of CSS properties.\n     *\n     * @param properties An object of CSS properties and values that the animation will move toward.\n     * @param duration A string or number determining how long the animation will run.\n     * @param easing A string indicating which easing function to use for the transition. (default: swing)\n     * @param complete A function to call once the animation is complete.\n     */\n    animate(properties: Object, duration?: string|number, easing?: string, complete?: Function): JQuery;\n    /**\n     * Perform a custom animation of a set of CSS properties.\n     *\n     * @param properties An object of CSS properties and values that the animation will move toward.\n     * @param options A map of additional options to pass to the method.\n     */\n    animate(properties: Object, options: JQueryAnimationOptions): JQuery;\n\n    /**\n     * Set a timer to delay execution of subsequent items in the queue.\n     *\n     * @param duration An integer indicating the number of milliseconds to delay execution of the next item in the queue.\n     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.\n     */\n    delay(duration: number, queueName?: string): JQuery;\n\n    /**\n     * Display the matched elements by fading them to opaque.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param complete A function to call once the animation is complete.\n     */\n    fadeIn(duration?: number|string, complete?: Function): JQuery;\n    /**\n     * Display the matched elements by fading them to opaque.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param easing A string indicating which easing function to use for the transition.\n     * @param complete A function to call once the animation is complete.\n     */\n    fadeIn(duration?: number|string, easing?: string, complete?: Function): JQuery;\n    /**\n     * Display the matched elements by fading them to opaque.\n     *\n     * @param options A map of additional options to pass to the method.\n     */\n    fadeIn(options: JQueryAnimationOptions): JQuery;\n\n    /**\n     * Hide the matched elements by fading them to transparent.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param complete A function to call once the animation is complete.\n     */\n    fadeOut(duration?: number|string, complete?: Function): JQuery;\n    /**\n     * Hide the matched elements by fading them to transparent.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param easing A string indicating which easing function to use for the transition.\n     * @param complete A function to call once the animation is complete.\n     */\n    fadeOut(duration?: number|string, easing?: string, complete?: Function): JQuery;\n    /**\n     * Hide the matched elements by fading them to transparent.\n     *\n     * @param options A map of additional options to pass to the method.\n     */\n    fadeOut(options: JQueryAnimationOptions): JQuery;\n\n    /**\n     * Adjust the opacity of the matched elements.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param opacity A number between 0 and 1 denoting the target opacity.\n     * @param complete A function to call once the animation is complete.\n     */\n    fadeTo(duration: string|number, opacity: number, complete?: Function): JQuery;\n    /**\n     * Adjust the opacity of the matched elements.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param opacity A number between 0 and 1 denoting the target opacity.\n     * @param easing A string indicating which easing function to use for the transition.\n     * @param complete A function to call once the animation is complete.\n     */\n    fadeTo(duration: string|number, opacity: number, easing?: string, complete?: Function): JQuery;\n\n    /**\n     * Display or hide the matched elements by animating their opacity.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param complete A function to call once the animation is complete.\n     */\n    fadeToggle(duration?: number|string, complete?: Function): JQuery;\n    /**\n     * Display or hide the matched elements by animating their opacity.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param easing A string indicating which easing function to use for the transition.\n     * @param complete A function to call once the animation is complete.\n     */\n    fadeToggle(duration?: number|string, easing?: string, complete?: Function): JQuery;\n    /**\n     * Display or hide the matched elements by animating their opacity.\n     *\n     * @param options A map of additional options to pass to the method.\n     */\n    fadeToggle(options: JQueryAnimationOptions): JQuery;\n\n    /**\n     * Stop the currently-running animation, remove all queued animations, and complete all animations for the matched elements.\n     *\n     * @param queue The name of the queue in which to stop animations.\n     */\n    finish(queue?: string): JQuery;\n\n    /**\n     * Hide the matched elements.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param complete A function to call once the animation is complete.\n     */\n    hide(duration?: number|string, complete?: Function): JQuery;\n    /**\n     * Hide the matched elements.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param easing A string indicating which easing function to use for the transition.\n     * @param complete A function to call once the animation is complete.\n     */\n    hide(duration?: number|string, easing?: string, complete?: Function): JQuery;\n    /**\n     * Hide the matched elements.\n     *\n     * @param options A map of additional options to pass to the method.\n     */\n    hide(options: JQueryAnimationOptions): JQuery;\n\n    /**\n     * Display the matched elements.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param complete A function to call once the animation is complete.\n     */\n    show(duration?: number|string, complete?: Function): JQuery;\n    /**\n     * Display the matched elements.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param easing A string indicating which easing function to use for the transition.\n     * @param complete A function to call once the animation is complete.\n     */\n    show(duration?: number|string, easing?: string, complete?: Function): JQuery;\n    /**\n     * Display the matched elements.\n     *\n     * @param options A map of additional options to pass to the method.\n     */\n    show(options: JQueryAnimationOptions): JQuery;\n\n    /**\n     * Display the matched elements with a sliding motion.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param complete A function to call once the animation is complete.\n     */\n    slideDown(duration?: number|string, complete?: Function): JQuery;\n    /**\n     * Display the matched elements with a sliding motion.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param easing A string indicating which easing function to use for the transition.\n     * @param complete A function to call once the animation is complete.\n     */\n    slideDown(duration?: number|string, easing?: string, complete?: Function): JQuery;\n    /**\n     * Display the matched elements with a sliding motion.\n     *\n     * @param options A map of additional options to pass to the method.\n     */\n    slideDown(options: JQueryAnimationOptions): JQuery;\n\n    /**\n     * Display or hide the matched elements with a sliding motion.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param complete A function to call once the animation is complete.\n     */\n    slideToggle(duration?: number|string, complete?: Function): JQuery;\n    /**\n     * Display or hide the matched elements with a sliding motion.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param easing A string indicating which easing function to use for the transition.\n     * @param complete A function to call once the animation is complete.\n     */\n    slideToggle(duration?: number|string, easing?: string, complete?: Function): JQuery;\n    /**\n     * Display or hide the matched elements with a sliding motion.\n     *\n     * @param options A map of additional options to pass to the method.\n     */\n    slideToggle(options: JQueryAnimationOptions): JQuery;\n\n    /**\n     * Hide the matched elements with a sliding motion.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param complete A function to call once the animation is complete.\n     */\n    slideUp(duration?: number|string, complete?: Function): JQuery;\n    /**\n     * Hide the matched elements with a sliding motion.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param easing A string indicating which easing function to use for the transition.\n     * @param complete A function to call once the animation is complete.\n     */\n    slideUp(duration?: number|string, easing?: string, complete?: Function): JQuery;\n    /**\n     * Hide the matched elements with a sliding motion.\n     *\n     * @param options A map of additional options to pass to the method.\n     */\n    slideUp(options: JQueryAnimationOptions): JQuery;\n\n    /**\n     * Stop the currently-running animation on the matched elements.\n     *\n     * @param clearQueue A Boolean indicating whether to remove queued animation as well. Defaults to false.\n     * @param jumpToEnd A Boolean indicating whether to complete the current animation immediately. Defaults to false.\n     */\n    stop(clearQueue?: boolean, jumpToEnd?: boolean): JQuery;\n    /**\n     * Stop the currently-running animation on the matched elements.\n     *\n     * @param queue The name of the queue in which to stop animations.\n     * @param clearQueue A Boolean indicating whether to remove queued animation as well. Defaults to false.\n     * @param jumpToEnd A Boolean indicating whether to complete the current animation immediately. Defaults to false.\n     */\n    stop(queue?: string, clearQueue?: boolean, jumpToEnd?: boolean): JQuery;\n\n    /**\n     * Display or hide the matched elements.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param complete A function to call once the animation is complete.\n     */\n    toggle(duration?: number|string, complete?: Function): JQuery;\n    /**\n     * Display or hide the matched elements.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param easing A string indicating which easing function to use for the transition.\n     * @param complete A function to call once the animation is complete.\n     */\n    toggle(duration?: number|string, easing?: string, complete?: Function): JQuery;\n    /**\n     * Display or hide the matched elements.\n     *\n     * @param options A map of additional options to pass to the method.\n     */\n    toggle(options: JQueryAnimationOptions): JQuery;\n    /**\n     * Display or hide the matched elements.\n     *\n     * @param showOrHide A Boolean indicating whether to show or hide the elements.\n     */\n    toggle(showOrHide: boolean): JQuery;\n\n    /**\n     * Attach a handler to an event for the elements.\n     * \n     * @param eventType A string containing one or more DOM event types, such as \"click\" or \"submit,\" or custom event names.\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    bind(eventType: string, eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Attach a handler to an event for the elements.\n     * \n     * @param eventType A string containing one or more DOM event types, such as \"click\" or \"submit,\" or custom event names.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    bind(eventType: string, handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Attach a handler to an event for the elements.\n     * \n     * @param eventType A string containing one or more DOM event types, such as \"click\" or \"submit,\" or custom event names.\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param preventBubble Setting the third argument to false will attach a function that prevents the default action from occurring and stops the event from bubbling. The default is true.\n     */\n    bind(eventType: string, eventData: any, preventBubble: boolean): JQuery;\n    /**\n     * Attach a handler to an event for the elements.\n     * \n     * @param eventType A string containing one or more DOM event types, such as \"click\" or \"submit,\" or custom event names.\n     * @param preventBubble Setting the third argument to false will attach a function that prevents the default action from occurring and stops the event from bubbling. The default is true.\n     */\n    bind(eventType: string, preventBubble: boolean): JQuery;\n    /**\n     * Attach a handler to an event for the elements.\n     * \n     * @param events An object containing one or more DOM event types and functions to execute for them.\n     */\n    bind(events: any): JQuery;\n\n    /**\n     * Trigger the \"blur\" event on an element\n     */\n    blur(): JQuery;\n    /**\n     * Bind an event handler to the \"blur\" JavaScript event\n     *\n     * @param handler A function to execute each time the event is triggered.\n     */\n    blur(handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"blur\" JavaScript event\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    blur(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"change\" event on an element.\n     */\n    change(): JQuery;\n    /**\n     * Bind an event handler to the \"change\" JavaScript event\n     *\n     * @param handler A function to execute each time the event is triggered.\n     */\n    change(handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"change\" JavaScript event\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    change(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"click\" event on an element.\n     */\n    click(): JQuery;\n    /**\n     * Bind an event handler to the \"click\" JavaScript event\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     */\n    click(handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"click\" JavaScript event\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    click(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"dblclick\" event on an element.\n     */\n    dblclick(): JQuery;\n    /**\n     * Bind an event handler to the \"dblclick\" JavaScript event\n     *\n     * @param handler A function to execute each time the event is triggered.\n     */\n    dblclick(handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"dblclick\" JavaScript event\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    dblclick(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;\n\n    delegate(selector: any, eventType: string, handler: (eventObject: JQueryEventObject) => any): JQuery;\n    delegate(selector: any, eventType: string, eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"focus\" event on an element.\n     */\n    focus(): JQuery;\n    /**\n     * Bind an event handler to the \"focus\" JavaScript event\n     *\n     * @param handler A function to execute each time the event is triggered.\n     */\n    focus(handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"focus\" JavaScript event\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    focus(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"focusin\" event on an element.\n     */\n    focusin(): JQuery;\n    /**\n     * Bind an event handler to the \"focusin\" JavaScript event\n     *\n     * @param handler A function to execute each time the event is triggered.\n     */\n    focusin(handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"focusin\" JavaScript event\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    focusin(eventData: Object, handler: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"focusout\" event on an element.\n     */\n    focusout(): JQuery;\n    /**\n     * Bind an event handler to the \"focusout\" JavaScript event\n     *\n     * @param handler A function to execute each time the event is triggered.\n     */\n    focusout(handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"focusout\" JavaScript event\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    focusout(eventData: Object, handler: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Bind two handlers to the matched elements, to be executed when the mouse pointer enters and leaves the elements.\n     *\n     * @param handlerIn A function to execute when the mouse pointer enters the element.\n     * @param handlerOut A function to execute when the mouse pointer leaves the element.\n     */\n    hover(handlerIn: (eventObject: JQueryEventObject) => any, handlerOut: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind a single handler to the matched elements, to be executed when the mouse pointer enters or leaves the elements.\n     *\n     * @param handlerInOut A function to execute when the mouse pointer enters or leaves the element.\n     */\n    hover(handlerInOut: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"keydown\" event on an element.\n     */\n    keydown(): JQuery;\n    /**\n     * Bind an event handler to the \"keydown\" JavaScript event\n     *\n     * @param handler A function to execute each time the event is triggered.\n     */\n    keydown(handler: (eventObject: JQueryKeyEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"keydown\" JavaScript event\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    keydown(eventData?: any, handler?: (eventObject: JQueryKeyEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"keypress\" event on an element.\n     */\n    keypress(): JQuery;\n    /**\n     * Bind an event handler to the \"keypress\" JavaScript event\n     *\n     * @param handler A function to execute each time the event is triggered.\n     */\n    keypress(handler: (eventObject: JQueryKeyEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"keypress\" JavaScript event\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    keypress(eventData?: any, handler?: (eventObject: JQueryKeyEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"keyup\" event on an element.\n     */\n    keyup(): JQuery;\n    /**\n     * Bind an event handler to the \"keyup\" JavaScript event\n     *\n     * @param handler A function to execute each time the event is triggered.\n     */\n    keyup(handler: (eventObject: JQueryKeyEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"keyup\" JavaScript event\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    keyup(eventData?: any, handler?: (eventObject: JQueryKeyEventObject) => any): JQuery;\n\n    /**\n     * Bind an event handler to the \"load\" JavaScript event.\n     *\n     * @param handler A function to execute when the event is triggered.\n     */\n    load(handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"load\" JavaScript event.\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute when the event is triggered.\n     */\n    load(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"mousedown\" event on an element.\n     */\n    mousedown(): JQuery;\n    /**\n     * Bind an event handler to the \"mousedown\" JavaScript event.\n     *\n     * @param handler A function to execute when the event is triggered.\n     */\n    mousedown(handler: (eventObject: JQueryMouseEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"mousedown\" JavaScript event.\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute when the event is triggered.\n     */\n    mousedown(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"mouseenter\" event on an element.\n     */\n    mouseenter(): JQuery;\n    /**\n     * Bind an event handler to be fired when the mouse enters an element.\n     *\n     * @param handler A function to execute when the event is triggered.\n     */\n    mouseenter(handler: (eventObject: JQueryMouseEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to be fired when the mouse enters an element.\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute when the event is triggered.\n     */\n    mouseenter(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"mouseleave\" event on an element.\n     */\n    mouseleave(): JQuery;\n    /**\n     * Bind an event handler to be fired when the mouse leaves an element.\n     *\n     * @param handler A function to execute when the event is triggered.\n     */\n    mouseleave(handler: (eventObject: JQueryMouseEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to be fired when the mouse leaves an element.\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute when the event is triggered.\n     */\n    mouseleave(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"mousemove\" event on an element.\n     */\n    mousemove(): JQuery;\n    /**\n     * Bind an event handler to the \"mousemove\" JavaScript event.\n     *\n     * @param handler A function to execute when the event is triggered.\n     */\n    mousemove(handler: (eventObject: JQueryMouseEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"mousemove\" JavaScript event.\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute when the event is triggered.\n     */\n    mousemove(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"mouseout\" event on an element.\n     */\n    mouseout(): JQuery;\n    /**\n     * Bind an event handler to the \"mouseout\" JavaScript event.\n     *\n     * @param handler A function to execute when the event is triggered.\n     */\n    mouseout(handler: (eventObject: JQueryMouseEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"mouseout\" JavaScript event.\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute when the event is triggered.\n     */\n    mouseout(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"mouseover\" event on an element.\n     */\n    mouseover(): JQuery;\n    /**\n     * Bind an event handler to the \"mouseover\" JavaScript event.\n     *\n     * @param handler A function to execute when the event is triggered.\n     */\n    mouseover(handler: (eventObject: JQueryMouseEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"mouseover\" JavaScript event.\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute when the event is triggered.\n     */\n    mouseover(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"mouseup\" event on an element.\n     */\n    mouseup(): JQuery;\n    /**\n     * Bind an event handler to the \"mouseup\" JavaScript event.\n     *\n     * @param handler A function to execute when the event is triggered.\n     */\n    mouseup(handler: (eventObject: JQueryMouseEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"mouseup\" JavaScript event.\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute when the event is triggered.\n     */\n    mouseup(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery;\n\n    /**\n     * Remove an event handler.\n     */\n    off(): JQuery;\n    /**\n     * Remove an event handler.\n     *\n     * @param events One or more space-separated event types and optional namespaces, or just namespaces, such as \"click\", \"keydown.myPlugin\", or \".myPlugin\".\n     * @param selector A selector which should match the one originally passed to .on() when attaching event handlers.\n     * @param handler A handler function previously attached for the event(s), or the special value false.\n     */\n    off(events: string, selector?: string, handler?: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Remove an event handler.\n     *\n     * @param events One or more space-separated event types and optional namespaces, or just namespaces, such as \"click\", \"keydown.myPlugin\", or \".myPlugin\".\n     * @param handler A handler function previously attached for the event(s), or the special value false.\n     */\n    off(events: string, handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Remove an event handler.\n     *\n     * @param events An object where the string keys represent one or more space-separated event types and optional namespaces, and the values represent handler functions previously attached for the event(s).\n     * @param selector A selector which should match the one originally passed to .on() when attaching event handlers.\n     */\n    off(events: { [key: string]: any; }, selector?: string): JQuery;\n\n    /**\n     * Attach an event handler function for one or more events to the selected elements.\n     *\n     * @param events One or more space-separated event types and optional namespaces, such as \"click\" or \"keydown.myPlugin\".\n     * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false. Rest parameter args is for optional parameters passed to jQuery.trigger(). Note that the actual parameters on the event handler function must be marked as optional (? syntax).\n     */\n    on(events: string, handler: (eventObject: JQueryEventObject, ...args: any[]) => any): JQuery;\n    /**\n     * Attach an event handler function for one or more events to the selected elements.\n     *\n     * @param events One or more space-separated event types and optional namespaces, such as \"click\" or \"keydown.myPlugin\".\n     * @param data Data to be passed to the handler in event.data when an event is triggered.\n     * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.\n    */\n    on(events: string, data : any, handler: (eventObject: JQueryEventObject, ...args: any[]) => any): JQuery;\n    /**\n     * Attach an event handler function for one or more events to the selected elements.\n     *\n     * @param events One or more space-separated event types and optional namespaces, such as \"click\" or \"keydown.myPlugin\".\n     * @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.\n     * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.\n     */\n    on(events: string, selector: string, handler: (eventObject: JQueryEventObject, ...eventData: any[]) => any): JQuery;\n    /**\n     * Attach an event handler function for one or more events to the selected elements.\n     *\n     * @param events One or more space-separated event types and optional namespaces, such as \"click\" or \"keydown.myPlugin\".\n     * @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.\n     * @param data Data to be passed to the handler in event.data when an event is triggered.\n     * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.\n     */\n    on(events: string, selector: string, data: any, handler: (eventObject: JQueryEventObject, ...eventData: any[]) => any): JQuery;\n    /**\n     * Attach an event handler function for one or more events to the selected elements.\n     *\n     * @param events An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).\n     * @param selector A selector string to filter the descendants of the selected elements that will call the handler. If the selector is null or omitted, the handler is always called when it reaches the selected element.\n     * @param data Data to be passed to the handler in event.data when an event occurs.\n     */\n    on(events: { [key: string]: any; }, selector?: string, data?: any): JQuery;\n    /**\n     * Attach an event handler function for one or more events to the selected elements.\n     *\n     * @param events An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).\n     * @param data Data to be passed to the handler in event.data when an event occurs.\n     */\n    on(events: { [key: string]: any; }, data?: any): JQuery;\n\n    /**\n     * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.\n     *\n     * @param events A string containing one or more JavaScript event types, such as \"click\" or \"submit,\" or custom event names.\n     * @param handler A function to execute at the time the event is triggered.\n     */\n    one(events: string, handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.\n     *\n     * @param events A string containing one or more JavaScript event types, such as \"click\" or \"submit,\" or custom event names.\n     * @param data An object containing data that will be passed to the event handler.\n     * @param handler A function to execute at the time the event is triggered.\n     */\n    one(events: string, data: Object, handler: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.\n     *\n     * @param events One or more space-separated event types and optional namespaces, such as \"click\" or \"keydown.myPlugin\".\n     * @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.\n     * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.\n     */\n    one(events: string, selector: string, handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.\n     *\n     * @param events One or more space-separated event types and optional namespaces, such as \"click\" or \"keydown.myPlugin\".\n     * @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.\n     * @param data Data to be passed to the handler in event.data when an event is triggered.\n     * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.\n     */\n    one(events: string, selector: string, data: any, handler: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.\n     *\n     * @param events An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).\n     * @param selector A selector string to filter the descendants of the selected elements that will call the handler. If the selector is null or omitted, the handler is always called when it reaches the selected element.\n     * @param data Data to be passed to the handler in event.data when an event occurs.\n     */\n    one(events: { [key: string]: any; }, selector?: string, data?: any): JQuery;\n\n    /**\n     * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.\n     *\n     * @param events An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).\n     * @param data Data to be passed to the handler in event.data when an event occurs.\n     */\n    one(events: { [key: string]: any; }, data?: any): JQuery;\n\n\n    /**\n     * Specify a function to execute when the DOM is fully loaded.\n     *\n     * @param handler A function to execute after the DOM is ready.\n     */\n    ready(handler: (jQueryAlias?: JQueryStatic) => any): JQuery;\n\n    /**\n     * Trigger the \"resize\" event on an element.\n     */\n    resize(): JQuery;\n    /**\n     * Bind an event handler to the \"resize\" JavaScript event.\n     *\n     * @param handler A function to execute each time the event is triggered.\n     */\n    resize(handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"resize\" JavaScript event.\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    resize(eventData: Object, handler: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"scroll\" event on an element.\n     */\n    scroll(): JQuery;\n    /**\n     * Bind an event handler to the \"scroll\" JavaScript event.\n     *\n     * @param handler A function to execute each time the event is triggered.\n     */\n    scroll(handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"scroll\" JavaScript event.\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    scroll(eventData: Object, handler: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"select\" event on an element.\n     */\n    select(): JQuery;\n    /**\n     * Bind an event handler to the \"select\" JavaScript event.\n     *\n     * @param handler A function to execute each time the event is triggered.\n     */\n    select(handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"select\" JavaScript event.\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    select(eventData: Object, handler: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"submit\" event on an element.\n     */\n    submit(): JQuery;\n    /**\n     * Bind an event handler to the \"submit\" JavaScript event\n     *\n     * @param handler A function to execute each time the event is triggered.\n     */\n    submit(handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"submit\" JavaScript event\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    submit(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Execute all handlers and behaviors attached to the matched elements for the given event type.\n     * \n     * @param eventType A string containing a JavaScript event type, such as click or submit.\n     * @param extraParameters Additional parameters to pass along to the event handler.\n     */\n    trigger(eventType: string, extraParameters?: any[]|Object): JQuery;\n    /**\n     * Execute all handlers and behaviors attached to the matched elements for the given event type.\n     * \n     * @param event A jQuery.Event object.\n     * @param extraParameters Additional parameters to pass along to the event handler.\n     */\n    trigger(event: JQueryEventObject, extraParameters?: any[]|Object): JQuery;\n\n    /**\n     * Execute all handlers attached to an element for an event.\n     * \n     * @param eventType A string containing a JavaScript event type, such as click or submit.\n     * @param extraParameters An array of additional parameters to pass along to the event handler.\n     */\n    triggerHandler(eventType: string, ...extraParameters: any[]): Object;\n\n    /**\n     * Execute all handlers attached to an element for an event.\n     * \n     * @param event A jQuery.Event object.\n     * @param extraParameters An array of additional parameters to pass along to the event handler.\n     */\n    triggerHandler(event: JQueryEventObject, ...extraParameters: any[]): Object;\n\n    /**\n     * Remove a previously-attached event handler from the elements.\n     * \n     * @param eventType A string containing a JavaScript event type, such as click or submit.\n     * @param handler The function that is to be no longer executed.\n     */\n    unbind(eventType?: string, handler?: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Remove a previously-attached event handler from the elements.\n     * \n     * @param eventType A string containing a JavaScript event type, such as click or submit.\n     * @param fls Unbinds the corresponding 'return false' function that was bound using .bind( eventType, false ).\n     */\n    unbind(eventType: string, fls: boolean): JQuery;\n    /**\n     * Remove a previously-attached event handler from the elements.\n     * \n     * @param evt A JavaScript event object as passed to an event handler.\n     */\n    unbind(evt: any): JQuery;\n\n    /**\n     * Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.\n     */\n    undelegate(): JQuery;\n    /**\n     * Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.\n     * \n     * @param selector A selector which will be used to filter the event results.\n     * @param eventType A string containing a JavaScript event type, such as \"click\" or \"keydown\"\n     * @param handler A function to execute at the time the event is triggered.\n     */\n    undelegate(selector: string, eventType: string, handler?: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.\n     * \n     * @param selector A selector which will be used to filter the event results.\n     * @param events An object of one or more event types and previously bound functions to unbind from them.\n     */\n    undelegate(selector: string, events: Object): JQuery;\n    /**\n     * Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.\n     * \n     * @param namespace A string containing a namespace to unbind all events from.\n     */\n    undelegate(namespace: string): JQuery;\n\n    /**\n     * Bind an event handler to the \"unload\" JavaScript event. (DEPRECATED from v1.8)\n     * \n     * @param handler A function to execute when the event is triggered.\n     */\n    unload(handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"unload\" JavaScript event. (DEPRECATED from v1.8)\n     * \n     * @param eventData A plain object of data that will be passed to the event handler.\n     * @param handler A function to execute when the event is triggered.\n     */\n    unload(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * The DOM node context originally passed to jQuery(); if none was passed then context will likely be the document. (DEPRECATED from v1.10)\n     */\n    context: Element;\n\n    jquery: string;\n\n    /**\n     * Bind an event handler to the \"error\" JavaScript event. (DEPRECATED from v1.8)\n     * \n     * @param handler A function to execute when the event is triggered.\n     */\n    error(handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"error\" JavaScript event. (DEPRECATED from v1.8)\n     * \n     * @param eventData A plain object of data that will be passed to the event handler.\n     * @param handler A function to execute when the event is triggered.\n     */\n    error(eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Add a collection of DOM elements onto the jQuery stack.\n     * \n     * @param elements An array of elements to push onto the stack and make into a new jQuery object.\n     */\n    pushStack(elements: any[]): JQuery;\n    /**\n     * Add a collection of DOM elements onto the jQuery stack.\n     * \n     * @param elements An array of elements to push onto the stack and make into a new jQuery object.\n     * @param name The name of a jQuery method that generated the array of elements.\n     * @param arguments The arguments that were passed in to the jQuery method (for serialization).\n     */\n    pushStack(elements: any[], name: string, arguments: any[]): JQuery;\n\n    /**\n     * Insert content, specified by the parameter, after each element in the set of matched elements.\n     * \n     * param content1 HTML string, DOM element, array of elements, or jQuery object to insert after each element in the set of matched elements.\n     * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert after each element in the set of matched elements.\n     */\n    after(content1: JQuery|any[]|Element|Text|string, ...content2: any[]): JQuery;\n    /**\n     * Insert content, specified by the parameter, after each element in the set of matched elements.\n     * \n     * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert after each element in the set of matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.\n     */\n    after(func: (index: number, html: string) => string|Element|JQuery): JQuery;\n\n    /**\n     * Insert content, specified by the parameter, to the end of each element in the set of matched elements.\n     * \n     * param content1 DOM element, array of elements, HTML string, or jQuery object to insert at the end of each element in the set of matched elements.\n     * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the end of each element in the set of matched elements.\n     */\n    append(content1: JQuery|any[]|Element|Text|string, ...content2: any[]): JQuery;\n    /**\n     * Insert content, specified by the parameter, to the end of each element in the set of matched elements.\n     * \n     * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert at the end of each element in the set of matched elements. Receives the index position of the element in the set and the old HTML value of the element as arguments. Within the function, this refers to the current element in the set.\n     */\n    append(func: (index: number, html: string) => string|Element|JQuery): JQuery;\n\n    /**\n     * Insert every element in the set of matched elements to the end of the target.\n     * \n     * @param target A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the end of the element(s) specified by this parameter.\n     */\n    appendTo(target: JQuery|any[]|Element|string): JQuery;\n\n    /**\n     * Insert content, specified by the parameter, before each element in the set of matched elements.\n     * \n     * param content1 HTML string, DOM element, array of elements, or jQuery object to insert before each element in the set of matched elements.\n     * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert before each element in the set of matched elements.\n     */\n    before(content1: JQuery|any[]|Element|Text|string, ...content2: any[]): JQuery;\n    /**\n     * Insert content, specified by the parameter, before each element in the set of matched elements.\n     * \n     * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert before each element in the set of matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.\n     */\n    before(func: (index: number, html: string) => string|Element|JQuery): JQuery;\n\n    /**\n     * Create a deep copy of the set of matched elements.\n     * \n     * param withDataAndEvents A Boolean indicating whether event handlers and data should be copied along with the elements. The default value is false.\n     * param deepWithDataAndEvents A Boolean indicating whether event handlers and data for all children of the cloned element should be copied. By default its value matches the first argument's value (which defaults to false).\n     */\n    clone(withDataAndEvents?: boolean, deepWithDataAndEvents?: boolean): JQuery;\n\n    /**\n     * Remove the set of matched elements from the DOM.\n     * \n     * param selector A selector expression that filters the set of matched elements to be removed.\n     */\n    detach(selector?: string): JQuery;\n\n    /**\n     * Remove all child nodes of the set of matched elements from the DOM.\n     */\n    empty(): JQuery;\n\n    /**\n     * Insert every element in the set of matched elements after the target.\n     * \n     * param target A selector, element, array of elements, HTML string, or jQuery object; the matched set of elements will be inserted after the element(s) specified by this parameter.\n     */\n    insertAfter(target: JQuery|any[]|Element|Text|string): JQuery;\n\n    /**\n     * Insert every element in the set of matched elements before the target.\n     * \n     * param target A selector, element, array of elements, HTML string, or jQuery object; the matched set of elements will be inserted before the element(s) specified by this parameter.\n     */\n    insertBefore(target: JQuery|any[]|Element|Text|string): JQuery;\n\n    /**\n     * Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.\n     * \n     * param content1 DOM element, array of elements, HTML string, or jQuery object to insert at the beginning of each element in the set of matched elements.\n     * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the beginning of each element in the set of matched elements.\n     */\n    prepend(content1: JQuery|any[]|Element|Text|string, ...content2: any[]): JQuery;\n    /**\n     * Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.\n     * \n     * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert at the beginning of each element in the set of matched elements. Receives the index position of the element in the set and the old HTML value of the element as arguments. Within the function, this refers to the current element in the set.\n     */\n    prepend(func: (index: number, html: string) => string|Element|JQuery): JQuery;\n\n    /**\n     * Insert every element in the set of matched elements to the beginning of the target.\n     * \n     * @param target A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the beginning of the element(s) specified by this parameter.\n     */\n    prependTo(target: JQuery|any[]|Element|string): JQuery;\n\n    /**\n     * Remove the set of matched elements from the DOM.\n     * \n     * @param selector A selector expression that filters the set of matched elements to be removed.\n     */\n    remove(selector?: string): JQuery;\n\n    /**\n     * Replace each target element with the set of matched elements.\n     * \n     * @param target A selector string, jQuery object, DOM element, or array of elements indicating which element(s) to replace.\n     */\n    replaceAll(target: JQuery|any[]|Element|string): JQuery;\n\n    /**\n     * Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.\n     * \n     * param newContent The content to insert. May be an HTML string, DOM element, array of DOM elements, or jQuery object.\n     */\n    replaceWith(newContent: JQuery|any[]|Element|Text|string): JQuery;\n    /**\n     * Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.\n     * \n     * param func A function that returns content with which to replace the set of matched elements.\n     */\n    replaceWith(func: () => Element|JQuery): JQuery;\n\n    /**\n     * Get the combined text contents of each element in the set of matched elements, including their descendants.\n     */\n    text(): string;\n    /**\n     * Set the content of each element in the set of matched elements to the specified text.\n     * \n     * @param text The text to set as the content of each matched element. When Number or Boolean is supplied, it will be converted to a String representation.\n     */\n    text(text: string|number|boolean): JQuery;\n    /**\n     * Set the content of each element in the set of matched elements to the specified text.\n     * \n     * @param func A function returning the text content to set. Receives the index position of the element in the set and the old text value as arguments.\n     */\n    text(func: (index: number, text: string) => string): JQuery;\n\n    /**\n     * Retrieve all the elements contained in the jQuery set, as an array.\n     */\n    toArray(): any[];\n\n    /**\n     * Remove the parents of the set of matched elements from the DOM, leaving the matched elements in their place.\n     */\n    unwrap(): JQuery;\n\n    /**\n     * Wrap an HTML structure around each element in the set of matched elements.\n     * \n     * @param wrappingElement A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements.\n     */\n    wrap(wrappingElement: JQuery|Element|string): JQuery;\n    /**\n     * Wrap an HTML structure around each element in the set of matched elements.\n     * \n     * @param func A callback function returning the HTML content or jQuery object to wrap around the matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.\n     */\n    wrap(func: (index: number) => string|JQuery): JQuery;\n\n    /**\n     * Wrap an HTML structure around all elements in the set of matched elements.\n     * \n     * @param wrappingElement A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements.\n     */\n    wrapAll(wrappingElement: JQuery|Element|string): JQuery;\n    wrapAll(func: (index: number) => string): JQuery;\n\n    /**\n     * Wrap an HTML structure around the content of each element in the set of matched elements.\n     * \n     * @param wrappingElement An HTML snippet, selector expression, jQuery object, or DOM element specifying the structure to wrap around the content of the matched elements.\n     */\n    wrapInner(wrappingElement: JQuery|Element|string): JQuery;\n    /**\n     * Wrap an HTML structure around the content of each element in the set of matched elements.\n     * \n     * @param func A callback function which generates a structure to wrap around the content of the matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.\n     */\n    wrapInner(func: (index: number) => string): JQuery;\n\n    /**\n     * Iterate over a jQuery object, executing a function for each matched element.\n     * \n     * @param func A function to execute for each matched element.\n     */\n    each(func: (index: number, elem: Element) => any): JQuery;\n\n    /**\n     * Retrieve one of the elements matched by the jQuery object.\n     * \n     * @param index A zero-based integer indicating which element to retrieve.\n     */\n    get(index: number): HTMLElement;\n    /**\n     * Retrieve the elements matched by the jQuery object.\n     */\n    get(): any[];\n\n    /**\n     * Search for a given element from among the matched elements.\n     */\n    index(): number;\n    /**\n     * Search for a given element from among the matched elements.\n     * \n     * @param selector A selector representing a jQuery collection in which to look for an element.\n     */\n    index(selector: string|JQuery|Element): number;\n\n    /**\n     * The number of elements in the jQuery object.\n     */\n    length: number;\n    /**\n     * A selector representing selector passed to jQuery(), if any, when creating the original set.\n     * version deprecated: 1.7, removed: 1.9\n     */\n    selector: string;\n    [index: string]: any;\n    [index: number]: HTMLElement;\n\n    /**\n     * Add elements to the set of matched elements.\n     * \n     * @param selector A string representing a selector expression to find additional elements to add to the set of matched elements.\n     * @param context The point in the document at which the selector should begin matching; similar to the context argument of the $(selector, context) method.\n     */\n    add(selector: string, context?: Element): JQuery;\n    /**\n     * Add elements to the set of matched elements.\n     * \n     * @param elements One or more elements to add to the set of matched elements.\n     */\n    add(...elements: Element[]): JQuery;\n    /**\n     * Add elements to the set of matched elements.\n     * \n     * @param html An HTML fragment to add to the set of matched elements.\n     */\n    add(html: string): JQuery;\n    /**\n     * Add elements to the set of matched elements.\n     * \n     * @param obj An existing jQuery object to add to the set of matched elements.\n     */\n    add(obj: JQuery): JQuery;\n\n    /**\n     * Get the children of each element in the set of matched elements, optionally filtered by a selector.\n     * \n     * @param selector A string containing a selector expression to match elements against.\n     */\n    children(selector?: string): JQuery;\n\n    /**\n     * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.\n     * \n     * @param selector A string containing a selector expression to match elements against.\n     */\n    closest(selector: string): JQuery;\n    /**\n     * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.\n     * \n     * @param selector A string containing a selector expression to match elements against.\n     * @param context A DOM element within which a matching element may be found. If no context is passed in then the context of the jQuery set will be used instead.\n     */\n    closest(selector: string, context?: Element): JQuery;\n    /**\n     * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.\n     * \n     * @param obj A jQuery object to match elements against.\n     */\n    closest(obj: JQuery): JQuery;\n    /**\n     * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.\n     * \n     * @param element An element to match elements against.\n     */\n    closest(element: Element): JQuery;\n\n    /**\n     * Get an array of all the elements and selectors matched against the current element up through the DOM tree.\n     * \n     * @param selectors An array or string containing a selector expression to match elements against (can also be a jQuery object).\n     * @param context A DOM element within which a matching element may be found. If no context is passed in then the context of the jQuery set will be used instead.\n     */\n    closest(selectors: any, context?: Element): any[];\n\n    /**\n     * Get the children of each element in the set of matched elements, including text and comment nodes.\n     */\n    contents(): JQuery;\n\n    /**\n     * End the most recent filtering operation in the current chain and return the set of matched elements to its previous state.\n     */\n    end(): JQuery;\n\n    /**\n     * Reduce the set of matched elements to the one at the specified index.\n     * \n     * @param index An integer indicating the 0-based position of the element. OR An integer indicating the position of the element, counting backwards from the last element in the set.\n     *  \n     */\n    eq(index: number): JQuery;\n\n    /**\n     * Reduce the set of matched elements to those that match the selector or pass the function's test.\n     * \n     * @param selector A string containing a selector expression to match the current set of elements against.\n     */\n    filter(selector: string): JQuery;\n    /**\n     * Reduce the set of matched elements to those that match the selector or pass the function's test.\n     * \n     * @param func A function used as a test for each element in the set. this is the current DOM element.\n     */\n    filter(func: (index: number, element: Element) => any): JQuery;\n    /**\n     * Reduce the set of matched elements to those that match the selector or pass the function's test.\n     * \n     * @param element An element to match the current set of elements against.\n     */\n    filter(element: Element): JQuery;\n    /**\n     * Reduce the set of matched elements to those that match the selector or pass the function's test.\n     * \n     * @param obj An existing jQuery object to match the current set of elements against.\n     */\n    filter(obj: JQuery): JQuery;\n\n    /**\n     * Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.\n     * \n     * @param selector A string containing a selector expression to match elements against.\n     */\n    find(selector: string): JQuery;\n    /**\n     * Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.\n     * \n     * @param element An element to match elements against.\n     */\n    find(element: Element): JQuery;\n    /**\n     * Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.\n     * \n     * @param obj A jQuery object to match elements against.\n     */\n    find(obj: JQuery): JQuery;\n\n    /**\n     * Reduce the set of matched elements to the first in the set.\n     */\n    first(): JQuery;\n\n    /**\n     * Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element.\n     * \n     * @param selector A string containing a selector expression to match elements against.\n     */\n    has(selector: string): JQuery;\n    /**\n     * Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element.\n     * \n     * @param contained A DOM element to match elements against.\n     */\n    has(contained: Element): JQuery;\n\n    /**\n     * Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.\n     * \n     * @param selector A string containing a selector expression to match elements against.\n     */\n    is(selector: string): boolean;\n    /**\n     * Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.\n     * \n     * @param func A function used as a test for the set of elements. It accepts one argument, index, which is the element's index in the jQuery collection.Within the function, this refers to the current DOM element.\n     */\n    is(func: (index: number, element: Element) => boolean): boolean;\n    /**\n     * Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.\n     * \n     * @param obj An existing jQuery object to match the current set of elements against.\n     */\n    is(obj: JQuery): boolean;\n    /**\n     * Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.\n     * \n     * @param elements One or more elements to match the current set of elements against.\n     */\n    is(elements: any): boolean;\n\n    /**\n     * Reduce the set of matched elements to the final one in the set.\n     */\n    last(): JQuery;\n\n    /**\n     * Pass each element in the current matched set through a function, producing a new jQuery object containing the return values.\n     * \n     * @param callback A function object that will be invoked for each element in the current set.\n     */\n    map(callback: (index: number, domElement: Element) => any): JQuery;\n\n    /**\n     * Get the immediately following sibling of each element in the set of matched elements. If a selector is provided, it retrieves the next sibling only if it matches that selector.\n     * \n     * @param selector A string containing a selector expression to match elements against.\n     */\n    next(selector?: string): JQuery;\n\n    /**\n     * Get all following siblings of each element in the set of matched elements, optionally filtered by a selector.\n     * \n     * @param selector A string containing a selector expression to match elements against.\n     */\n    nextAll(selector?: string): JQuery;\n\n    /**\n     * Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.\n     * \n     * @param selector A string containing a selector expression to indicate where to stop matching following sibling elements.\n     * @param filter A string containing a selector expression to match elements against.\n     */\n    nextUntil(selector?: string, filter?: string): JQuery;\n    /**\n     * Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.\n     * \n     * @param element A DOM node or jQuery object indicating where to stop matching following sibling elements.\n     * @param filter A string containing a selector expression to match elements against.\n     */\n    nextUntil(element?: Element, filter?: string): JQuery;\n    /**\n     * Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.\n     * \n     * @param obj A DOM node or jQuery object indicating where to stop matching following sibling elements.\n     * @param filter A string containing a selector expression to match elements against.\n     */\n    nextUntil(obj?: JQuery, filter?: string): JQuery;\n\n    /**\n     * Remove elements from the set of matched elements.\n     * \n     * @param selector A string containing a selector expression to match elements against.\n     */\n    not(selector: string): JQuery;\n    /**\n     * Remove elements from the set of matched elements.\n     * \n     * @param func A function used as a test for each element in the set. this is the current DOM element.\n     */\n    not(func: (index: number, element: Element) => boolean): JQuery;\n    /**\n     * Remove elements from the set of matched elements.\n     * \n     * @param elements One or more DOM elements to remove from the matched set.\n     */\n    not(elements: Element|Element[]): JQuery;\n    /**\n     * Remove elements from the set of matched elements.\n     * \n     * @param obj An existing jQuery object to match the current set of elements against.\n     */\n    not(obj: JQuery): JQuery;\n\n    /**\n     * Get the closest ancestor element that is positioned.\n     */\n    offsetParent(): JQuery;\n\n    /**\n     * Get the parent of each element in the current set of matched elements, optionally filtered by a selector.\n     * \n     * @param selector A string containing a selector expression to match elements against.\n     */\n    parent(selector?: string): JQuery;\n\n    /**\n     * Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector.\n     * \n     * @param selector A string containing a selector expression to match elements against.\n     */\n    parents(selector?: string): JQuery;\n\n    /**\n     * Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.\n     * \n     * @param selector A string containing a selector expression to indicate where to stop matching ancestor elements.\n     * @param filter A string containing a selector expression to match elements against.\n     */\n    parentsUntil(selector?: string, filter?: string): JQuery;\n    /**\n     * Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.\n     * \n     * @param element A DOM node or jQuery object indicating where to stop matching ancestor elements.\n     * @param filter A string containing a selector expression to match elements against.\n     */\n    parentsUntil(element?: Element, filter?: string): JQuery;\n    /**\n     * Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.\n     * \n     * @param obj A DOM node or jQuery object indicating where to stop matching ancestor elements.\n     * @param filter A string containing a selector expression to match elements against.\n     */\n    parentsUntil(obj?: JQuery, filter?: string): JQuery;\n\n    /**\n     * Get the immediately preceding sibling of each element in the set of matched elements, optionally filtered by a selector.\n     * \n     * @param selector A string containing a selector expression to match elements against.\n     */\n    prev(selector?: string): JQuery;\n\n    /**\n     * Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector.\n     * \n     * @param selector A string containing a selector expression to match elements against.\n     */\n    prevAll(selector?: string): JQuery;\n\n    /**\n     * Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.\n     * \n     * @param selector A string containing a selector expression to indicate where to stop matching preceding sibling elements.\n     * @param filter A string containing a selector expression to match elements against.\n     */\n    prevUntil(selector?: string, filter?: string): JQuery;\n    /**\n     * Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.\n     * \n     * @param element A DOM node or jQuery object indicating where to stop matching preceding sibling elements.\n     * @param filter A string containing a selector expression to match elements against.\n     */\n    prevUntil(element?: Element, filter?: string): JQuery;\n    /**\n     * Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.\n     * \n     * @param obj A DOM node or jQuery object indicating where to stop matching preceding sibling elements.\n     * @param filter A string containing a selector expression to match elements against.\n     */\n    prevUntil(obj?: JQuery, filter?: string): JQuery;\n\n    /**\n     * Get the siblings of each element in the set of matched elements, optionally filtered by a selector.\n     * \n     * @param selector A string containing a selector expression to match elements against.\n     */\n    siblings(selector?: string): JQuery;\n\n    /**\n     * Reduce the set of matched elements to a subset specified by a range of indices.\n     * \n     * @param start An integer indicating the 0-based position at which the elements begin to be selected. If negative, it indicates an offset from the end of the set.\n     * @param end An integer indicating the 0-based position at which the elements stop being selected. If negative, it indicates an offset from the end of the set. If omitted, the range continues until the end of the set.\n     */\n    slice(start: number, end?: number): JQuery;\n\n    /**\n     * Show the queue of functions to be executed on the matched elements.\n     * \n     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.\n     */\n    queue(queueName?: string): any[];\n    /**\n     * Manipulate the queue of functions to be executed, once for each matched element.\n     * \n     * @param newQueue An array of functions to replace the current queue contents.\n     */\n    queue(newQueue: Function[]): JQuery;\n    /**\n     * Manipulate the queue of functions to be executed, once for each matched element.\n     * \n     * @param callback The new function to add to the queue, with a function to call that will dequeue the next item.\n     */\n    queue(callback: Function): JQuery;\n    /**\n     * Manipulate the queue of functions to be executed, once for each matched element.\n     * \n     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.\n     * @param newQueue An array of functions to replace the current queue contents.\n     */\n    queue(queueName: string, newQueue: Function[]): JQuery;\n    /**\n     * Manipulate the queue of functions to be executed, once for each matched element.\n     * \n     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.\n     * @param callback The new function to add to the queue, with a function to call that will dequeue the next item.\n     */\n    queue(queueName: string, callback: Function): JQuery;\n}\ndeclare module \"jquery\" {\n    export = $;\n}\ndeclare var jQuery: JQueryStatic;\ndeclare var $: JQueryStatic;\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Scripts/version.json",
    "content": "{\"raw\":\"v1.4.8\",\"major\":1,\"minor\":4,\"patch\":8,\"prerelease\":[],\"build\":[],\"version\":\"1.4.8\",\"codeName\":\"ice-manipulation\",\"full\":\"1.4.8\",\"branch\":\"v1.4.x\",\"cdn\":{\"raw\":\"v1.4.7\",\"major\":1,\"minor\":4,\"patch\":7,\"prerelease\":[],\"build\":[],\"version\":\"1.4.7\",\"docsUrl\":\"http://code.angularjs.org/1.4.7/docs\"}}"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Startup.cs",
    "content": "﻿using Microsoft.Owin;\nusing Owin;\n\n[assembly: OwinStartupAttribute(typeof(Reinforced.Typings.Samples.Difficult.CodeGenerators.Startup))]\nnamespace Reinforced.Typings.Samples.Difficult.CodeGenerators\n{\n    public partial class Startup\n    {\n        public void Configuration(IAppBuilder app)\n        {\n            \n        }\n    }\n}\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Views/Home/Angular.cshtml",
    "content": "﻿@{\n    ViewBag.Title = \"Angular Demo\";\n}\n\n<div ng-app=\"app\" ng-controller=\"AngularDemoController as ctl\" class=\"mt-2\">\n    <div class=\"row\">\n        <div class=\"col-6\">\n            <h2>Simple</h2>\n            <p>\n                This method returns random value. <br />\n                Now random value is <b>{{ctl.RandomValue}}</b>\n            </p>\n            <p class=\"text-center\">\n                <button class=\"btn btn-primary\" id=\"btnSimpleInt\" ng-click=\"ctl.refreshRandomValue()\">Do that!</button>\n            </p>\n        </div>\n        <div class=\"col-6\">\n            <h2>Parametrized</h2>\n            <p>\n                Simple method that is called with random parameters and returns them concatenated. <br />\n                Now result is <b>{{ctl.simpleResult}}</b>\n            </p>\n            <form class=\"form-horizontal\" name=\"parametrizedForm\" novalidate>\n                <div class=\"form-group\">\n                    <label for=\"inputNum\" class=\"col-sm-4 control-label\">Parameter 'num'</label>\n                    <div class=\"col-sm-8\">\n                        <input type=\"number\" class=\"form-control\" id=\"inputNum\" ng-model=\"ctl.simpleNum\" ng-required=\"true\" placeholder=\"(number)\">\n                    </div>\n                </div>\n                <div class=\"form-group\">\n                    <label for=\"inputS\" class=\"col-sm-4 control-label\">Parameter 's'</label>\n                    <div class=\"col-sm-8\">\n                        <input type=\"text\" class=\"form-control\" id=\"inputS\" ng-model=\"ctl.simpleS\" ng-required=\"true\" placeholder=\"(string)\">\n                    </div>\n                </div>\n                <div class=\"form-group\">\n                    <div class=\"col-sm-offset-4 col-sm-8\">\n                        <div class=\"checkbox\">\n                            <label>\n                                <input type=\"checkbox\" ng-model=\"ctl.simpleBoolValue\"> Parameter 'boolValue' (boolean)\n                            </label>\n                        </div>\n                    </div>\n                </div>\n                <div class=\"form-group\">\n                    <div class=\"col-sm-12 text-center\">\n                        <button class=\"btn btn-primary\" id=\"btnMethodWithParameters\" ng-click=\"ctl.parametrizedMethod()\" ng-disabled=\"!parametrizedForm.$valid\" ng-model=\"button\">Invoke!</button>\n                    </div>\n                </div>\n            </form>\n        </div>\n\n    </div>\n    <div class=\"row\">\n        <div class=\"col-6\">\n            <h2>Returning objects</h2>\n            <p>\n                Method that returns complex JSONed object. <br />\n                <div ng-show=\"ctl.objectResult\">\n                    <b>Current time:</b> {{ctl.objectResult.CurrentTime}} <br />\n                    <b>Message:</b> {{ctl.objectResult.Message}} <br />\n                    <b>Success:</b> <span class=\"glyphicon glyphicon-ok\" ng-show=\"ctl.objectResult.Success\" ng-cloak></span>\n                    <span class=\"glyphicon glyphicon-remove\" ng-hide=\"ctl.objectResult.Success\" ng-cloak></span>\n                </div>\n            </p>\n            <p class=\"text-center\">\n                <button class=\"btn btn-primary\" id=\"btnReturningObject\" ng-click=\"ctl.retrieveComplex()\">Invoke!</button>\n            </p>\n        </div>\n        <div class=\"col-6\">\n            <h2>Parametrized objects</h2>\n            <p>\n                Returns JSONed object, invoked with parameters. Done simple.\n            </p>\n            <form class=\"form-horizontal\" name=\"parametrizedFormWo\" novalidate>\n                <div class=\"form-group\">\n                    <label for=\"inputS\" class=\"col-sm-4 control-label\">Echo</label>\n                    <div class=\"col-sm-8\">\n                        <input type=\"text\" class=\"form-control\" id=\"inputEcho\" ng-model=\"ctl.inputEcho\" ng-required=\"true\" placeholder=\"(string)\">\n                    </div>\n                </div>\n                <div class=\"form-group\">\n                    <div class=\"col-sm-12 text-center\">\n                        <button class=\"btn btn-primary\" ng-click=\"ctl.parametrizedMethodWithObject()\" ng-disabled=\"!parametrizedFormWo.$valid\" ng-model=\"button\">Invoke!</button>\n                    </div>\n                </div>\n            </form>\n            <p class=\"text-center\">\n                <div ng-show=\"ctl.echoResult\">\n                    <b>Current time:</b> {{ctl.echoResult.CurrentTime}},\n                    <b>Message:</b> {{ctl.echoResult.Message}} ,\n                    <b>Success:</b> <span class=\"glyphicon glyphicon-ok\" ng-show=\"ctl.echoResult.Success\" ng-cloak></span>\n                    <span class=\"glyphicon glyphicon-remove\" ng-hide=\"ctl.echoResult.Success\" ng-cloak></span>\n                </div>\n            </p>\n        </div>\n    </div>\n    <div class=\"row\">\n        <div class=\"col-6\">\n            <h2>Void</h2>\n            <p>\n                Invoke void method that does not return anything <br />\n                Void method was called <b>{{ctl.voidMethodCalledCount}}</b> times\n            </p>\n            <p class=\"text-center\">\n                <button class=\"btn btn-primary\" ng-click=\"ctl.voidMethod()\">Boom!</button>\n            </p>\n        </div>\n    </div>\n</div>\n\n@section Scripts\n{\n    <script src=\"@Url.Content(\"~/Scripts/ReinforcedTypings/AngularDemoController.js\")\"></script>\n}\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Views/Home/Index.cshtml",
    "content": "﻿\n@{\n    ViewBag.Title = \"Index\";\n}\n@functions\n{\n\n    private static MvcHtmlString RepoLink(string file, string text)\n    {\n        const string repoPath = \"https://github.com/reinforced/Reinforced.Typings/blob/master/Reinforced.Typings/\";\n        file = file.Replace(\"<\", \"&lt;\").Replace(\">\", \"&gt;\");\n        var link = string.Format(\"<code><a href='{0}{1}' target='_blank'>{2}</a></code>\", repoPath, file, text);\n        return MvcHtmlString.Create(link);\n    }\n\n    private static MvcHtmlString GeneratorLink(string generator)\n    {\n        return RepoLink(\"Generators/\" + generator + \".cs\", generator);\n    }\n\n    private static MvcHtmlString AstLink(string ast)\n    {\n        return RepoLink(\"Ast/\" + ast + \".cs\", ast);\n    }\n\n    private static MvcHtmlString CodeFile(string filePath, string id, string language)\n    {\n        const string baseRepoPath = \"https://raw.githubusercontent.com/reinforced/Reinforced.Typings/master/Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/\";\n        var fname = Path.GetFileName(filePath);\n        const string codeFileHtml = @\"\n            <div class=\"\"collapse well\"\" id=\"\"{0}\"\">\n                <h4><span class=\"\"glyphicon glyphicon-file\"\"></span> {3}</h4>\n                <pre class=\"\"language-{4}\"\" data-src=\"\"{1}{2}\"\"></pre>\n            </div>\";\n        var code = string.Format(codeFileHtml, id, baseRepoPath, filePath, fname, language);\n        return MvcHtmlString.Create(code);\n    }\n\n    private static MvcHtmlString CodeLink(string text, string id)\n    {\n        return MvcHtmlString.Create(string.Format(@\"<a href=\"\"#{0}\"\" data-toggle=\"\"collapse\"\" aria-expanded=\"\"false\"\">{1}</a>\", id, text));\n    }\n\n    private static MvcHtmlString C(string code)\n    {\n        code = code.Replace(\"<\", \"&lt;\").Replace(\">\", \"&gt;\");\n        return MvcHtmlString.Create(string.Format(\"<code>{0}</code>\", code));\n    }\n\n}\n<div class=\"row\">\n    <div class=\"col-md-12\">\n        <div class=\"text\">\n            <p class=\"text-justify tut-text\">\n                <h1>Generators export tutorial</h1>\n                We are here and going to understand how to generate glue code for controllers with Reinforced.Typings. <br />\n                Basically this sample is build to unleash power of Reinforced.Typings custom code generators.\n                Code generator is special class that inherits @RepoLink(\"Generators/TsCodeGeneratorBase.cs\", \"Reinforced.Typings.Generators.TsCodeGeneratorBase<,>\") type.\n                It has only one abstract method to implement - @C(\"GenerateNode\") method that must convert\n                C# reflection element (@C(\"MethodInfo\"), @C(\"Type\"), @C(\"MemberInfo\") etc...) to corresponding Reinforced.Typings AST node. <br />\n                Each Reinforced.Typings exporting attribute contains @C(\"CodeGeneratorType\") field that you can set to @C(\"typeof\") of @C(\"TsCodeGeneratorBase<,>\") inheritor.\n                At the same time, each fluent configurator has @C(\".WithCodeGenerator\") method that you can use to specify corresponding code generator for exported member. <br />\n                Anyway, it is not so easy to implement @C(\"TsCodeGeneratorBase<,>\") from scratch. Instead of it you can inherit code generators that are supplied along with Reinforced.Typings and\n                override their @C(\"GenerateNode\") method using @C(\"base.GenerateNode(...)\") call to obtain existing generated AST and make adjustments to it. That is exactly the same that we will do in current tutorials. <br />\n                Reinforced.Typings comes with following code generators:\n            </p>\n            <ul class=\"text-justify tut-text\">\n                <li>\n                    @GeneratorLink(\"ClassCodeGenerator\"): converts @C(\"System.Type\") to @AstLink(\"RtClass\") AST node representing TypeScript class\n                </li>\n                <li>\n                    @GeneratorLink(\"InterfaceCodeGenerator\"): converts @C(\"System.Type\") to @AstLink(\"RtInterface\") AST node representing TypeScript interface\n                </li>\n                <li>\n                    @GeneratorLink(\"EnumGenerator\"): converts @C(\"System.Type\") to @AstLink(\"RtEnum\") AST node representing TypeScript enumeration (enum values generation is incorparated inside of this generator)\n                </li>\n                <li>\n                    @GeneratorLink(\"PropertyCodeGenerator\"): converts @C(\"System.Type\") to @AstLink(\"RtField\") AST node representing TypeScript class or interface field\n                </li>\n                <li>\n                    @GeneratorLink(\"FieldCodeGenerator\"): converts @C(\"System.Type\") to @AstLink(\"RtField\") AST node representing TypeScript class or interface field\n                </li>\n                <li>\n                    @GeneratorLink(\"MethodCodeGenerator\"): converts @C(\"System.Type\") to @AstLink(\"RtFuncion\") AST node representing TypeScript class' or interface's method\n                </li>\n                <li>\n                    @GeneratorLink(\"ConstructorCodeGenerator\"): converts @C(\"System.Type\") to @AstLink(\"RtConstructor\") AST node representing TypeScript class' constructor\n                </li>\n            </ul>\n            <p class=\"text-justify tut-text\">\n                This sample contains 2 examples: one for generating middleware for jQuery and another - for AngularJS. Please keep in mind that you will need to instal typings for jQuery and AngularJS to successfully implement this tutorial.\n                Pick one of options below to start:\n            </p>\n\n        </div>\n    </div>\n</div>\n<div class=\"row\" id=\"docs\">\n    <div class=\"col-md-3 col-md-offset-3 text-center\">\n        <a class=\"btn btn-primary  btn-block\" role=\"button\" data-parent=\"#docs\" href=\"#jqueryDoc\" data-toggle=\"collapse\" aria-expanded=\"false\">jQuery</a>\n    </div>\n    <div class=\"col-md-3 text-center\">\n        <a class=\"btn btn-primary btn-block\" role=\"button\" data-parent=\"#docs\" href=\"#angularDoc\" data-toggle=\"collapse\" aria-expanded=\"false\">AngularJS</a>\n    </div>\n</div>\n<hr />\n<div>\n    <div class=\"row collapse text\" id=\"jqueryDoc\">\n        <div class=\"col-md-12\">\n            <h2 class=\"text-center\">jQuery Middleware export tutorial</h2>\n            <h3>Initial setup</h3>\n            <p class=\"text-justify tut-text\">\n                We have typical controller with several actions returning JSON/receiving parameters.\n                Also we have page containing simple @CodeLink(\"script (IndexPage.ts)\", \"indexjsscript\") behind it. We want to make Reinforced.Typings\n                generating @C(\"JQueryController\") TypeScript class for us that will contain all the methods from our controller with suitable names. This class must be re-generated\n                each rebuild, so if we change controller action's signarutre or name - then it will be immediately reflected in TypeScript. Also we want to export our generated TypeScript to different files\n                and provide JSDOC for it. So here we go.\n            </p>\n\n            @CodeFile(\"Scripts/ReinforcedTypings/IndexPage.ts\", \"indexjsscript\", \"js\")\n\n            <h3>Step 1 - Script for requests</h3>\n            <p class=\"text-justify tut-text\">\n                Initially let's write @CodeLink(\"common TypeScript class (query.ts)\", \"queryts\") that all our requests will pass through. Basically, it simply arranges MVC-friendly @C(\"jQuery.ajax\") parameters setup. Nothing special.\n            </p>\n\n            @CodeFile(\"Scripts/ReinforcedTypings/query.ts\", \"queryts\", \"js\")\n\n            <h3>Step 2 - Reinforced.Typings.settings.xml</h3>\n            <p class=\"text-justify tut-text\">\n                Next, lets proceed to our @C(\"Reinforced.Typings.settings.xml\") file and:\n            </p>\n            <ul class=\"text-justify tut-text\">\n                <li>Set @C(\"RtDivideTypesAmongFiles\") to @C(\"true\"): it will instruct Reinforced.Typings that we are exporting several types</li>\n                <li>Set @C(\"RtTargetDirectory\") to @C(\"$(ProjectDir)Scripts\\\\ReinforcedTypings\\\\Generated\"): it means that we want to have our generated code under @C(\"Scripts/ReinforcedTypings/Generated\") directory relatively to our project</li>\n                <li>Set @C(\"RtConfigurationMethod\") to @C(\"Reinforced.Typings.Samples.Difficult.CodeGenerators.ReinforcedTypings.Configuration.Configure\"): we will use fluent configuration since it is better for web projects to handle all the files in single place</li>\n            </ul>\n            <p class=\"text-justify tut-text\">\n                Now our @C(\"Reinforced.Typings.settings.xml\") must look @CodeLink(\"like that\", \"jquerysettings\")\n            </p>\n\n            @CodeFile(\"Reinforced.Typings.settings.xml\", \"jquerysettings\", \"html\")\n\n            <h3>Step 3 - Code generator</h3>\n            <p class=\"text-justify tut-text\">\n                Reinforced.Typings cannot dig into your methods code since there is no way to do that via reflection (and finally, RT is just special code generator, not translator).\n                So we will have to construct implementations for our methods manually. For simple methods you can use @C(\"Implementation\") property of @C(\"[TsFunction]\") attribute\n                (or fluent @C(\".Implement\") call on method configuration builder).Here we have something more complex, so we have to create our own code generator. <br />\n                We need to change generation of methods only, so we inherit @GeneratorLink(\"MethodCodeGenerator\") and implement generation. @CodeLink(\"Here is code generator source with comments\", \"jqgenerator\").\n            </p>\n            @CodeFile(\"ReinforcedTypings/jQuery/JQueryActionCallGenerator.cs\", \"jqgenerator\", \"csharp\")\n\n            <h3>Step 4 - Attribute</h3>\n            <p class=\"text-justify tut-text\">\n                Since MVC actions return @C(\"ActionResult\")s, we cannot simply get information about query result via reflection. But we can override Reinforced.Typings'\n                @C(\"[TsFunction]\") attribute. To kill two birds with one stone we also specify code generator in our attribute. @CodeLink(\"Here it is\", \"jqattrib\").\n                Then we arrange this attribute @CodeLink(\"above our controller's actions\", \"jqcontroller\"). Please pay attention how we specify return type of action\n            </p>\n            @CodeFile(\"ReinforcedTypings/jQuery/JQueryMethodAttribute.cs\", \"jqattrib\", \"csharp\")\n            @CodeFile(\"Controllers/JQueryController.cs\", \"jqcontroller\", \"csharp\")\n\n            <h3>Step 5 - Putting all together</h3>\n            <p class=\"text-justify tut-text\">\n                Now it is time to put everything together:\n            </p>\n            <ul class=\"text-justify tut-text\">\n                <li>Go to your @CodeLink(\"fluent configuration method\", \"jqfluent\") and export test model to @C(\"models.ts\") as interface, @C(\"JQueryController\") - to @C(\"JQueryController.ts\") as class </li>\n                <li>Arrange @C(\"[assembly:TsGlobal]\") attribute and enable documentation generation</li>\n                <li>Enable XMLDOC export for project as described <a href=\"https://github.com/reinforced/Reinforced.Typings/wiki/JSDOC-support\" target=\"_blank\">here</a> </li>\n                <li>Rebuild your project, go to @C(\"/Scripts/ReinforcedTypings/Generated\") and add generated @CodeLink(\"controller middleware\", \"jq-gen-controller\") and @CodeLink(\"file with model\", \"jq-gen-models\") to solution</li>\n                <li>Add @CodeLink(\"View\", \"jqview\") that is using your script</li>\n            </ul>\n            @CodeFile(\"ReinforcedTypings/Configuration.cs\", \"jqfluent\", \"csharp\")\n            @CodeFile(\"Scripts/ReinforcedTypings/Generated/JQueryController.ts\", \"jq-gen-controller\", \"js\")\n            @CodeFile(\"Scripts/ReinforcedTypings/Generated/models.ts\", \"jq-gen-models\", \"js\")\n\n            @CodeFile(\"Views/Home/JQuery.cshtml\", \"jqview\", \"cshtml\")\n\n            <p class=\"text-center tut-text\">\n                That's it. Now you can run your project, change, add and remove server methods and keep your scripts in sync with server.\n            </p>\n        </div>\n    </div>\n    <div class=\"row collapse\" id=\"angularDoc\">\n        <div class=\"col-md-12\">\n            <h2 class=\"text-center\">AngularJS Middleware export tutorial</h2>\n            <h3>Initial setup</h3>\n            <p class=\"text-justify tut-text\">\n                We have typical controller with several actions returning JSON/receiving parameters.\n                Also we have page with corresponding @CodeLink(\"AngularJS page controller (AngularDemoController.ts)\", \"pagecontroller\") behind it. We want to make Reinforced.Typings\n                generating  TypeScript AngularJS service for us that will contain all the methods from our controller with suitable names. This service must be re-generated\n                each rebuild, so if we change controller action's signarutre or name - then it will be immediately reflected in TypeScript. Also we want to export our generated TypeScript to different files.\n            </p>\n\n            @CodeFile(\"Scripts/ReinforcedTypings/AngularDemoController.ts\", \"pagecontroller\", \"js\")\n\n            <h3>Step 1 - Reinforced.Typings.settings.xml</h3>\n            <p class=\"text-justify tut-text\">\n                Next, lets proceed to our @C(\"Reinforced.Typings.settings.xml\") file and:\n            </p>\n            <ul class=\"text-justify tut-text\">\n                <li>Set @C(\"RtDivideTypesAmongFiles\") to @C(\"true\"): it will instruct Reinforced.Typings that we are exporting several types</li>\n                <li>Set @C(\"RtTargetDirectory\") to @C(\"$(ProjectDir)Scripts\\\\ReinforcedTypings\\\\Generated\"): it means that we want to have our generated code under @C(\"Scripts/ReinforcedTypings/Generated\") directory relatively to our project</li>\n                <li>Set @C(\"RtConfigurationMethod\") to @C(\"Reinforced.Typings.Samples.Difficult.CodeGenerators.ReinforcedTypings.Configuration.Configure\"): we will use fluent configuration since it is better for web projects to handle all the files in single place</li>\n            </ul>\n            <p class=\"text-justify tut-text\">\n                Now our @C(\"Reinforced.Typings.settings.xml\") must look @CodeLink(\"like that\", \"ngsettings\")\n            </p>\n\n            @CodeFile(\"Reinforced.Typings.settings.xml\", \"ngsettings\", \"html\")\n\n            <h3>Step 2 - AngularJS Service class generator</h3>\n            <p class=\"text-justify tut-text\">\n                We have to completele change class that Reinforced.Typings generates for our controller and make it look as AngularJS service. In order to do that we will create ours class code generator\n                by inheriting RT's default @GeneratorLink(\"ClassCodeGenerator\") and modifying its original export result (@AstLink(\"RtClass\") AST) . Particularly we will do the following:\n            </p>\n            <ul class=\"text-justify tut-text\">\n                <li>Add some JSDOC just to identify our class in resulting file</li>\n                <li>Add @C(\"$http\") to our class. We will add it as constructor parameter and the store in local field</li>\n                <li>We will also generate code for automatical registration of our service in AngularJS's container of application</li>\n            </ul>\n            <p class=\"text-justify tut-text\">\n                So, that is our @CodeLink(\"AngularJS service code generator source code\", \"nggenerator\")\n            </p>\n            @CodeFile(\"ReinforcedTypings/Angular/AngularControllerGenerator.cs\", \"nggenerator\", \"csharp\")\n\n            <h3>Step 3 - Method code generator</h3>\n            <p class=\"text-justify tut-text\">\n                Reinforced.Typings cannot dig into your methods code since there is no way to do that via reflection (and finally, RT is just special code generator, not translator).\n                We need to provide custom implemetations for our controller's service methods.\n                So we will have to construct implementations for our methods manually. For simple methods you can use @C(\"Implementation\") property of @C(\"[TsFunction]\") attribute\n                (or fluent @C(\".Implement\") call on method configuration builder).Here we have something more complex, so we have to create our own code generator. <br />\n                We need to change all generated method's bodies among controller class, so we inherit @GeneratorLink(\"MethodCodeGenerator\") and implement generation. \n                And again, we will change existing RT generation result:\n            </p>\n            <ul class=\"text-justify tut-text\">\n                <li>Change method body to construct JSON object and use private @C(\"http\") variable to send it to server by correct URL</li>\n                <li>Change method return type to AngularJS promise parametrized with original Action's return type</li>\n            </ul>\n            <p class=\"text-justify tut-text\">\n                So, that is our @CodeLink(\"service method code generator source code\", \"ngmethodgenerator\")\n            </p>\n            @CodeFile(\"ReinforcedTypings/Angular/AngularActionCallGenerator.cs\", \"ngmethodgenerator\", \"csharp\")\n\n            <h3>Step 4 - Attribute</h3>\n            <p class=\"text-justify tut-text\">\n                Since MVC actions return @C(\"ActionResult\")s, we cannot simply get information about query result via reflection. But we can override Reinforced.Typings'\n                @C(\"[TsFunction]\") attribute. To kill two birds with one stone we also specify code generator in our attribute. @CodeLink(\"Here it is\", \"ngattrib\").\n                Then we arrange this attribute @CodeLink(\"above our controller's actions\", \"ngcontroller\"). Please pay attention how we specify return type of action\n            </p>\n            \n            @CodeFile(\"ReinforcedTypings/Angular/AngularMethodAttribute.cs\", \"ngattrib\", \"csharp\")\n\n            @CodeFile(\"Controllers/AngularController.cs\", \"ngcontroller\", \"csharp\")\n\n            <h3>Step 5 - Putting all together</h3>\n            <p class=\"text-justify tut-text\">\n                Now it is time to put everything together:\n            </p>\n            <ul class=\"text-justify tut-text\">\n                <li>Go to your @CodeLink(\"fluent configuration method\", \"ngfluent\") and export test model to @C(\"models.ts\") as interface, @C(\"AngularController\") - to @C(\"AngularController.ts\") as class </li>\n                <li>Use @C(\".WithCodeGenerator\") call to instruct RT to use our class code generator on @C(\"AngularController\") </li>\n                <li>Arrange @C(\"[assembly:TsGlobal]\") attribute and enable documentation generation</li>\n                <li>Enable XMLDOC export for project as described <a href=\"https://github.com/reinforced/Reinforced.Typings/wiki/JSDOC-support\" target=\"_blank\">here</a> </li>\n                <li>Rebuild your project, go to @C(\"/Scripts/ReinforcedTypings/Generated\") and add generated @CodeLink(\"controller middleware\", \"ng-gen-controller\") and @CodeLink(\"file with model\", \"ng-gen-models\") to solution</li>\n                <li>Add @CodeLink(\"View\", \"angview\") that is using your script</li>\n            </ul>\n            @CodeFile(\"ReinforcedTypings/Configuration.cs\", \"ngfluent\", \"csharp\")\n            @CodeFile(\"Scripts/ReinforcedTypings/Generated/AngularController.ts\", \"ng-gen-controller\", \"js\")\n            @CodeFile(\"Scripts/ReinforcedTypings/Generated/models.ts\", \"ng-gen-models\", \"js\")\n\n            @CodeFile(\"Views/Home/Angular.cshtml\", \"angview\", \"cshtml\")\n\n            <p class=\"text-center tut-text\">\n                That's it. Now you can run your project, change, add and remove server methods and keep your scripts in sync with server.\n            </p>\n        </div>\n    </div>\n</div>\n\n@section Scripts\n{\n    <link type=\"text/css\" rel=\"stylesheet\" href=\"~/Content/prismjs/prism.css\" />\n    <link type=\"text/css\" rel=\"stylesheet\" href=\"~/Content/prismjs/cshtml.css\" />\n    <style type=\"text/css\">\n        pre[class*=\"language-\"] {\n            font-size: 14px !important;\n        }\n\n        .tut-text {\n            font-size: 16px;\n            line-height: 1.5;\n        }\n\n        footer {\n            margin-top: 30px;\n        }\n    </style>\n    <script src=\"@Url.Content(\"~/Content/prismjs/prism.js\")\"></script>\n    <script src=\"@Url.Content(\"~/Content/prismjs/cshtml.js\")\"></script>\n}\n\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Views/Home/JQuery.cshtml",
    "content": "﻿@{\n    ViewBag.Title = \"jQuery Demo\";\n}\n\n<div class=\"row\">\n    <div class=\"col-6 offset-3 mb-3\">\n        <h3>Result: <span id=\"loading\" style=\"display: inline\"></span></h3>  <br />\n        <div class=\"card\">\n            <div class=\"card-body\" id=\"result\">\n                Results will be displayed here\n            </div>\n        </div>\n    </div>\n</div>\n<div class=\"row\">\n    <div class=\"col-md-4\">\n        <h2>Simple</h2>\n        <p>\n            Invoking of simple method returning random integer value\n        </p>\n        <p class=\"text-center\">\n            <button class=\"btn btn-primary\" id=\"btnSimpleInt\">Do that!</button>\n        </p>\n    </div>\n    <div class=\"col-md-4\">\n        <h2>Parametrized</h2>\n        <p>\n            Simple method that is called with random parameters and returns them concatenated. <br />\n\n        </p>\n        <p class=\"text-center\">\n            <button class=\"btn btn-primary\" id=\"btnMethodWithParameters\">Go!</button>\n        </p>\n    </div>\n    <div class=\"col-md-4\">\n        <h2>Returning objects</h2>\n        <p>\n            Method that returns complex JSONed object. <br />\n\n        </p>\n        <p class=\"text-center\">\n            <button class=\"btn btn-primary\" id=\"btnReturningObject\">Invoke!</button>\n        </p>\n    </div>\n</div><div class=\"row\">\n    <div class=\"col-md-4\">\n        <h2>Parametrized objects</h2>\n        <p>\n            Returns JSONed object, invoked with parameters. Done simple.\n        </p>\n        <p class=\"text-center\">\n            <button class=\"btn btn-primary\" id=\"btnReturningObjectWithParameters\">Click!</button>\n        </p>\n    </div>\n\n    <div class=\"col-md-4\">\n        <h2>Void</h2>\n        <p>\n            Invoke void method that does not return anything\n        </p>\n        <p class=\"text-center\">\n            <button class=\"btn btn-primary\" id=\"btnVoidMethodWithParameters\">Boom!</button>\n        </p>\n    </div>\n</div>\n\n@section Scripts\n{\n    <script type=\"text/javascript\" src=\"/Scripts/ReinforcedTypings/IndexPage.js\"></script>\n    <script type=\"text/javascript\">\n        $(document).ready(function () {\n            var a = new Reinforced.Typings.Samples.Difficult.CodeGenerators.Pages.IndexPage();\n        })\n    </script>\n}\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Views/Shared/_Layout.cshtml",
    "content": "﻿<!DOCTYPE html>\n\n<html>\n<head>\n    <meta name=\"viewport\" content=\"width=device-width\" />\n    <title>Reinforced.Typings Test Application</title>\n    <link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css\" integrity=\"sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T\" crossorigin=\"anonymous\">\n    \n    <script src=\"https://code.jquery.com/jquery-3.4.1.min.js\" crossorigin=\"anonymous\"></script>\n    <script src=\"https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js\" integrity=\"sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1\" crossorigin=\"anonymous\"></script>\n    <script src=\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js\" integrity=\"sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM\" crossorigin=\"anonymous\"></script>\n    <script type=\"text/javascript\" src=\"/Scripts/ReinforcedTypings/query.js\"></script>\n    <script src=\"@Url.Content(\"~/Scripts/angular.min.js\")\"></script>\n    <script type=\"text/javascript\" src=\"/Scripts/ReinforcedTypings/app.js\"></script>\n    <script type=\"text/javascript\" src=\"/Scripts/ReinforcedTypings/GeneratedTypings.js\"></script>\n    @RenderSection(\"Scripts\", required: false)\n    \n</head>\n<body>\n    <div class=\"container\" id=\"bodyContainer\">\n       <nav class=\"navbar navbar-expand-lg navbar-light bg-light\">\n            <a class=\"navbar-brand\" href=\"#\">Reinforced.Typings</a>\n            <button class=\"navbar-toggler\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarSupportedContent\" aria-controls=\"navbarSupportedContent\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">\n                <span class=\"navbar-toggler-icon\"></span>\n            </button>\n\n            <div class=\"collapse navbar-collapse\" id=\"navbarSupportedContent\">\n                <ul class=\"navbar-nav mr-auto\">\n                    <li class=\"nav-item\">\n                        <a class=\"nav-link\" href=\"@Url.Action(\"Index\", \"Home\")\">Home</span></a>\n                    </li>\n                    <li class=\"nav-item\">\n                        <a class=\"nav-link\" href=\"@Url.Action(\"JQuery\", \"Home\")\">JQuery demo</span></a>\n                    </li>\n                    <li class=\"nav-item\">\n                        <a class=\"nav-link\" href=\"@Url.Action(\"Angular\", \"Home\")\">Angular.js demo</span></a>\n                    </li>\n                    \n                </ul>\n            </div>\n        </nav>\n        @RenderBody()\n    </div>\n</body>\n</html>\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Views/Web.config",
    "content": "﻿<?xml version=\"1.0\"?>\n\n<configuration>\n  <configSections>\n    <sectionGroup name=\"system.web.webPages.razor\" type=\"System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35\">\n      <section name=\"host\" type=\"System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35\" requirePermission=\"false\" />\n      <section name=\"pages\" type=\"System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35\" requirePermission=\"false\" />\n    </sectionGroup>\n  </configSections>\n\n  <system.web.webPages.razor>\n    <host factoryType=\"System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=5.2.2.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35\" />\n    <pages pageBaseType=\"System.Web.Mvc.WebViewPage\">\n      <namespaces>\n        <add namespace=\"System.Web.Mvc\" />\n        <add namespace=\"System.Web.Mvc.Ajax\" />\n        <add namespace=\"System.Web.Mvc.Html\" />\n        <add namespace=\"System.Web.Optimization\"/>\n        <add namespace=\"System.Web.Routing\" />\n        <add namespace=\"Reinforced.Typings.Samples.Difficult.CodeGenerators\" />\n      </namespaces>\n    </pages>\n  </system.web.webPages.razor>\n\n  <appSettings>\n    <add key=\"webpages:Enabled\" value=\"false\" />\n  </appSettings>\n\n  <system.webServer>\n    <handlers>\n      <remove name=\"BlockViewHandler\"/>\n      <add name=\"BlockViewHandler\" path=\"*\" verb=\"*\" preCondition=\"integratedMode\" type=\"System.Web.HttpNotFoundHandler\" />\n    </handlers>\n  </system.webServer>\n</configuration>\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Views/_ViewStart.cshtml",
    "content": "﻿@{\n    Layout = \"~/Views/Shared/_Layout.cshtml\";\n}\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Web.Debug.config",
    "content": "﻿<?xml version=\"1.0\"?>\n\n<!-- For more information on using Web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=301874 -->\n\n<configuration xmlns:xdt=\"http://schemas.microsoft.com/XML-Document-Transform\">\n  <!--\n    In the example below, the \"SetAttributes\" transform will change the value of\n    \"connectionString\" to use \"ReleaseSQLServer\" only when the \"Match\" locator\n    finds an attribute \"name\" that has a value of \"MyDB\".\n\n    <connectionStrings>\n      <add name=\"MyDB\"\n        connectionString=\"Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True\"\n        xdt:Transform=\"SetAttributes\" xdt:Locator=\"Match(name)\"/>\n    </connectionStrings>\n  -->\n  <system.web>\n    <!--\n      In the example below, the \"Replace\" transform will replace the entire\n      <customErrors> section of your Web.config file.\n      Note that because there is only one customErrors section under the\n      <system.web> node, there is no need to use the \"xdt:Locator\" attribute.\n\n      <customErrors defaultRedirect=\"GenericError.htm\"\n        mode=\"RemoteOnly\" xdt:Transform=\"Replace\">\n        <error statusCode=\"500\" redirect=\"InternalError.htm\"/>\n      </customErrors>\n    -->\n  </system.web>\n</configuration>\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Web.Release.config",
    "content": "﻿<?xml version=\"1.0\"?>\n\n<!-- For more information on using Web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=301874 -->\n\n<configuration xmlns:xdt=\"http://schemas.microsoft.com/XML-Document-Transform\">\n  <!--\n    In the example below, the \"SetAttributes\" transform will change the value of\n    \"connectionString\" to use \"ReleaseSQLServer\" only when the \"Match\" locator\n    finds an attribute \"name\" that has a value of \"MyDB\".\n\n    <connectionStrings>\n      <add name=\"MyDB\"\n        connectionString=\"Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True\"\n        xdt:Transform=\"SetAttributes\" xdt:Locator=\"Match(name)\"/>\n    </connectionStrings>\n  -->\n  <system.web>\n    <compilation xdt:Transform=\"RemoveAttributes(debug)\" />\n    <!--\n      In the example below, the \"Replace\" transform will replace the entire\n      <customErrors> section of your Web.config file.\n      Note that because there is only one customErrors section under the\n      <system.web> node, there is no need to use the \"xdt:Locator\" attribute.\n\n      <customErrors defaultRedirect=\"GenericError.htm\"\n        mode=\"RemoteOnly\" xdt:Transform=\"Replace\">\n        <error statusCode=\"500\" redirect=\"InternalError.htm\"/>\n      </customErrors>\n    -->\n  </system.web>\n</configuration>\n"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/Web.config",
    "content": "﻿<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!--\n  For more information on how to configure your ASP.NET application, please visit\n  http://go.microsoft.com/fwlink/?LinkId=301880\n  -->\n<configuration>\n  <configSections>\n    <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->\n    <section name=\"entityFramework\" type=\"System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\" requirePermission=\"false\" />\n  </configSections>\n  <connectionStrings>\n    <add name=\"DefaultConnection\" connectionString=\"Data Source=(LocalDb)\\v11.0;AttachDbFilename=|DataDirectory|\\aspnet-Reinforced.Typings.Samples.Difficult.CodeGenerators-20160119065449.mdf;Initial Catalog=aspnet-Reinforced.Typings.Samples.Difficult.CodeGenerators-20160119065449;Integrated Security=True\" providerName=\"System.Data.SqlClient\" />\n  </connectionStrings>\n  <appSettings>\n    <add key=\"webpages:Version\" value=\"3.0.0.0\" />\n    <add key=\"webpages:Enabled\" value=\"false\" />\n    <add key=\"ClientValidationEnabled\" value=\"true\" />\n    <add key=\"UnobtrusiveJavaScriptEnabled\" value=\"true\" />\n  </appSettings>\n  <system.web>\n    <authentication mode=\"None\" />\n    <compilation debug=\"true\" targetFramework=\"4.5\" />\n    <httpRuntime targetFramework=\"4.5\" />\n  </system.web>\n  <system.webServer>\n    <modules>\n      <remove name=\"FormsAuthentication\" />\n    </modules>\n  </system.webServer>\n  <runtime>\n    <assemblyBinding xmlns=\"urn:schemas-microsoft-com:asm.v1\">\n      <dependentAssembly>\n        <assemblyIdentity name=\"Microsoft.Owin\" publicKeyToken=\"31bf3856ad364e35\" />\n        <bindingRedirect oldVersion=\"0.0.0.0-3.0.0.0\" newVersion=\"3.0.0.0\" />\n      </dependentAssembly>\n      <dependentAssembly>\n        <assemblyIdentity name=\"Microsoft.Owin.Security.OAuth\" publicKeyToken=\"31bf3856ad364e35\" />\n        <bindingRedirect oldVersion=\"0.0.0.0-3.0.0.0\" newVersion=\"3.0.0.0\" />\n      </dependentAssembly>\n      <dependentAssembly>\n        <assemblyIdentity name=\"Microsoft.Owin.Security.Cookies\" publicKeyToken=\"31bf3856ad364e35\" />\n        <bindingRedirect oldVersion=\"0.0.0.0-3.0.0.0\" newVersion=\"3.0.0.0\" />\n      </dependentAssembly>\n      <dependentAssembly>\n        <assemblyIdentity name=\"Microsoft.Owin.Security\" publicKeyToken=\"31bf3856ad364e35\" />\n        <bindingRedirect oldVersion=\"0.0.0.0-3.0.0.0\" newVersion=\"3.0.0.0\" />\n      </dependentAssembly>\n      <dependentAssembly>\n        <assemblyIdentity name=\"Newtonsoft.Json\" culture=\"neutral\" publicKeyToken=\"30ad4fe6b2a6aeed\" />\n        <bindingRedirect oldVersion=\"0.0.0.0-6.0.0.0\" newVersion=\"6.0.0.0\" />\n      </dependentAssembly>\n      <dependentAssembly>\n        <assemblyIdentity name=\"System.Web.Helpers\" publicKeyToken=\"31bf3856ad364e35\" />\n        <bindingRedirect oldVersion=\"1.0.0.0-3.0.0.0\" newVersion=\"3.0.0.0\" />\n      </dependentAssembly>\n      <dependentAssembly>\n        <assemblyIdentity name=\"System.Web.Mvc\" publicKeyToken=\"31bf3856ad364e35\" />\n        <bindingRedirect oldVersion=\"1.0.0.0-5.2.2.0\" newVersion=\"5.2.2.0\" />\n      </dependentAssembly>\n      <dependentAssembly>\n        <assemblyIdentity name=\"System.Web.Optimization\" publicKeyToken=\"31bf3856ad364e35\" />\n        <bindingRedirect oldVersion=\"1.0.0.0-1.1.0.0\" newVersion=\"1.1.0.0\" />\n      </dependentAssembly>\n      <dependentAssembly>\n        <assemblyIdentity name=\"System.Web.WebPages\" publicKeyToken=\"31bf3856ad364e35\" />\n        <bindingRedirect oldVersion=\"1.0.0.0-3.0.0.0\" newVersion=\"3.0.0.0\" />\n      </dependentAssembly>\n      <dependentAssembly>\n        <assemblyIdentity name=\"WebGrease\" publicKeyToken=\"31bf3856ad364e35\" />\n        <bindingRedirect oldVersion=\"0.0.0.0-1.5.2.14234\" newVersion=\"1.5.2.14234\" />\n      </dependentAssembly>\n    </assemblyBinding>\n  </runtime>\n  <entityFramework>\n    <defaultConnectionFactory type=\"System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework\">\n      <parameters>\n        <parameter value=\"mssqllocaldb\" />\n      </parameters>\n    </defaultConnectionFactory>\n    <providers>\n      <provider invariantName=\"System.Data.SqlClient\" type=\"System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer\" />\n    </providers>\n  </entityFramework>\n</configuration>"
  },
  {
    "path": "Samples/Difficult/Reinforced.Typings.Samples.Difficult.CodeGenerators/packages.config",
    "content": "﻿<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<packages>\n  <package id=\"angularjs\" version=\"1.4.8\" targetFramework=\"net45\" />\n  <package id=\"angularjs.TypeScript.DefinitelyTyped\" version=\"5.2.1\" targetFramework=\"net45\" />\n  <package id=\"Antlr\" version=\"3.4.1.9004\" targetFramework=\"net45\" />\n  <package id=\"EntityFramework\" version=\"6.1.1\" targetFramework=\"net45\" />\n  <package id=\"es6-promise.TypeScript.DefinitelyTyped\" version=\"0.0.9\" targetFramework=\"net45\" />\n  <package id=\"jQuery\" version=\"1.10.2\" targetFramework=\"net45\" />\n  <package id=\"jquery.TypeScript.DefinitelyTyped\" version=\"2.8.8\" targetFramework=\"net45\" />\n  <package id=\"jQuery.Validation\" version=\"1.11.1\" targetFramework=\"net45\" />\n  <package id=\"Microsoft.AspNet.Identity.Core\" version=\"2.1.0\" targetFramework=\"net45\" />\n  <package id=\"Microsoft.AspNet.Identity.EntityFramework\" version=\"2.1.0\" targetFramework=\"net45\" />\n  <package id=\"Microsoft.AspNet.Identity.Owin\" version=\"2.1.0\" targetFramework=\"net45\" />\n  <package id=\"Microsoft.AspNet.Mvc\" version=\"5.2.2\" targetFramework=\"net45\" />\n  <package id=\"Microsoft.AspNet.Razor\" version=\"3.2.2\" targetFramework=\"net45\" />\n  <package id=\"Microsoft.AspNet.Web.Optimization\" version=\"1.1.3\" targetFramework=\"net45\" />\n  <package id=\"Microsoft.AspNet.WebPages\" version=\"3.2.2\" targetFramework=\"net45\" />\n  <package id=\"Microsoft.jQuery.Unobtrusive.Validation\" version=\"3.2.2\" targetFramework=\"net45\" />\n  <package id=\"Microsoft.Owin\" version=\"3.0.0\" targetFramework=\"net45\" />\n  <package id=\"Microsoft.Owin.Host.SystemWeb\" version=\"3.0.0\" targetFramework=\"net45\" />\n  <package id=\"Microsoft.Owin.Security\" version=\"3.0.0\" targetFramework=\"net45\" />\n  <package id=\"Microsoft.Owin.Security.Cookies\" version=\"3.0.0\" targetFramework=\"net45\" />\n  <package id=\"Microsoft.Owin.Security.Facebook\" version=\"3.0.0\" targetFramework=\"net45\" />\n  <package id=\"Microsoft.Owin.Security.Google\" version=\"3.0.0\" targetFramework=\"net45\" />\n  <package id=\"Microsoft.Owin.Security.MicrosoftAccount\" version=\"3.0.0\" targetFramework=\"net45\" />\n  <package id=\"Microsoft.Owin.Security.OAuth\" version=\"3.0.0\" targetFramework=\"net45\" />\n  <package id=\"Microsoft.Owin.Security.Twitter\" version=\"3.0.0\" targetFramework=\"net45\" />\n  <package id=\"Microsoft.Web.Infrastructure\" version=\"1.0.0.0\" targetFramework=\"net45\" />\n  <package id=\"Modernizr\" version=\"2.6.2\" targetFramework=\"net45\" />\n  <package id=\"Newtonsoft.Json\" version=\"6.0.4\" targetFramework=\"net45\" />\n  <package id=\"Owin\" version=\"1.0\" targetFramework=\"net45\" />\n  <package id=\"Reinforced.Typings\" version=\"1.3.5\" targetFramework=\"net45\" />\n  <package id=\"Respond\" version=\"1.2.0\" targetFramework=\"net45\" />\n  <package id=\"WebGrease\" version=\"1.5.2\" targetFramework=\"net45\" />\n</packages>"
  },
  {
    "path": "Samples/Reinforced.Typings.Samples.sln",
    "content": "﻿\nMicrosoft Visual Studio Solution File, Format Version 12.00\n# Visual Studio 2013\nVisualStudioVersion = 12.0.31101.0\nMinimumVisualStudioVersion = 10.0.40219.1\nProject(\"{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}\") = \"Reinforced.Typings.Samples.Simple.Quickstart\", \"Simple\\Reinforced.Typings.Samples.Simple.Quickstart\\Reinforced.Typings.Samples.Simple.Quickstart.csproj\", \"{ABEAA485-7FE0-49CA-8F83-065BD767C2D1}\"\nEndProject\nProject(\"{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}\") = \"Reinforced.Typings.Samples.Difficult.CodeGenerators\", \"Difficult\\Reinforced.Typings.Samples.Difficult.CodeGenerators\\Reinforced.Typings.Samples.Difficult.CodeGenerators.csproj\", \"{8014B424-7ADF-4FA3-8772-7271861B6CB3}\"\nEndProject\nGlobal\n\tGlobalSection(SolutionConfigurationPlatforms) = preSolution\n\t\tDebug|Any CPU = Debug|Any CPU\n\t\tRelease|Any CPU = Release|Any CPU\n\tEndGlobalSection\n\tGlobalSection(ProjectConfigurationPlatforms) = postSolution\n\t\t{ABEAA485-7FE0-49CA-8F83-065BD767C2D1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\n\t\t{ABEAA485-7FE0-49CA-8F83-065BD767C2D1}.Debug|Any CPU.Build.0 = Debug|Any CPU\n\t\t{ABEAA485-7FE0-49CA-8F83-065BD767C2D1}.Release|Any CPU.ActiveCfg = Release|Any CPU\n\t\t{ABEAA485-7FE0-49CA-8F83-065BD767C2D1}.Release|Any CPU.Build.0 = Release|Any CPU\n\t\t{8014B424-7ADF-4FA3-8772-7271861B6CB3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\n\t\t{8014B424-7ADF-4FA3-8772-7271861B6CB3}.Debug|Any CPU.Build.0 = Debug|Any CPU\n\t\t{8014B424-7ADF-4FA3-8772-7271861B6CB3}.Release|Any CPU.ActiveCfg = Release|Any CPU\n\t\t{8014B424-7ADF-4FA3-8772-7271861B6CB3}.Release|Any CPU.Build.0 = Release|Any CPU\n\tEndGlobalSection\n\tGlobalSection(SolutionProperties) = preSolution\n\t\tHideSolutionNode = FALSE\n\tEndGlobalSection\nEndGlobal\n"
  },
  {
    "path": "Samples/Simple/Reinforced.Typings.Samples.Simple.Quickstart/App_Start/RouteConfig.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Web;\nusing System.Web.Mvc;\nusing System.Web.Routing;\n\nnamespace Reinforced.Typings.Samples.Simple.Quickstart\n{\n    public class RouteConfig\n    {\n        public static void RegisterRoutes(RouteCollection routes)\n        {\n            routes.IgnoreRoute(\"{resource}.axd/{*pathInfo}\");\n\n            routes.MapRoute(\n                name: \"Default\",\n                url: \"{controller}/{action}/{id}\",\n                defaults: new { controller = \"Home\", action = \"Index\", id = UrlParameter.Optional }\n            );\n        }\n    }\n}\n"
  },
  {
    "path": "Samples/Simple/Reinforced.Typings.Samples.Simple.Quickstart/Controllers/HomeController.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Web;\nusing System.Web.Mvc;\nusing Reinforced.Typings.Samples.Simple.Quickstart.Models;\n\nnamespace Reinforced.Typings.Samples.Simple.Quickstart.Controllers\n{\n    public class HomeController : Controller\n    {\n        // GET: Home\n\n        public ActionResult Index()\n        {\n            return View();\n        }\n\n        public ActionResult GetOrder(int orderId)\n        {\n            var orderVm = new OrderViewModel()\n            {\n                //Address = \"88 Coleman Parkway\",\n                ClientName = \"Katherine Perkins\",\n                IsPaid = false,\n                ItemName = \"Exametazime\",\n                Quantity = 38,\n                Subtotal = 297.72\n            };\n\n            return Json(orderVm, JsonRequestBehavior.AllowGet);\n        }\n    }\n}"
  },
  {
    "path": "Samples/Simple/Reinforced.Typings.Samples.Simple.Quickstart/Global.asax",
    "content": "﻿<%@ Application Codebehind=\"Global.asax.cs\" Inherits=\"Reinforced.Typings.Samples.Simple.Quickstart.MvcApplication\" Language=\"C#\" %>\n"
  },
  {
    "path": "Samples/Simple/Reinforced.Typings.Samples.Simple.Quickstart/Global.asax.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Web;\nusing System.Web.Mvc;\nusing System.Web.Routing;\n\nnamespace Reinforced.Typings.Samples.Simple.Quickstart\n{\n    public class MvcApplication : System.Web.HttpApplication\n    {\n\n        protected void Application_Start()\n        {\n            AreaRegistration.RegisterAllAreas();\n            RouteConfig.RegisterRoutes(RouteTable.Routes);\n        }\n    }\n}\n"
  },
  {
    "path": "Samples/Simple/Reinforced.Typings.Samples.Simple.Quickstart/Models/OrderViewModel.cs",
    "content": "﻿using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Web;\n\nnamespace Reinforced.Typings.Samples.Simple.Quickstart.Models\n{\n    using Reinforced.Typings.Attributes;\n\n    [TsInterface]\n    public class OrderViewModel\n    {\n        public string ItemName { get; set; }\n        public int Quantity { get; set; }\n        public double Subtotal { get; set; }\n        public bool IsPaid { get; set; }\n        public string ClientName { get; set; }\n        public string Address { get; set; }\n    }\n}"
  },
  {
    "path": "Samples/Simple/Reinforced.Typings.Samples.Simple.Quickstart/Properties/AssemblyInfo.cs",
    "content": "﻿using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Information about an assembly is controlled through the following \n// set of attributes. Change these attribute values to modify the information\n// associated with an assembly.\n[assembly: AssemblyTitle(\"Reinforced.Typings.Samples.Simple.Quickstart\")]\n[assembly: AssemblyDescription(\"\")]\n[assembly: AssemblyConfiguration(\"\")]\n[assembly: AssemblyCompany(\"\")]\n[assembly: AssemblyProduct(\"Reinforced.Typings.Samples.Simple.Quickstart\")]\n[assembly: AssemblyCopyright(\"Copyright ©  2015\")]\n[assembly: AssemblyTrademark(\"\")]\n[assembly: AssemblyCulture(\"\")]\n\n// Setting ComVisible to false makes the types in this assembly not visible \n// to COM components.  If you need to access a type in this assembly from \n// COM, set the ComVisible attribute to true on that type.\n[assembly: ComVisible(false)]\n\n// The following GUID is for the ID of the typelib if this project is exposed to COM\n[assembly: Guid(\"2d8f2d97-c5a6-4ed7-a672-2bdda660eaed\")]\n\n// Version information for an assembly consists of the following four values:\n//\n//      Major Version\n//      Minor Version \n//      Build Number\n//      Revision\n//\n// You can specify all the values or you can default the Revision and Build Numbers \n// by using the '*' as shown below:\n[assembly: AssemblyVersion(\"1.0.0.0\")]\n[assembly: AssemblyFileVersion(\"1.0.0.0\")]\n"
  },
  {
    "path": "Samples/Simple/Reinforced.Typings.Samples.Simple.Quickstart/Reinforced.Typings.Samples.Simple.Quickstart.csproj",
    "content": "﻿<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"12.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\n  <Import Project=\"$(MSBuildExtensionsPath32)\\Microsoft\\VisualStudio\\v$(VisualStudioVersion)\\TypeScript\\Microsoft.TypeScript.Default.props\" Condition=\"Exists('$(MSBuildExtensionsPath32)\\Microsoft\\VisualStudio\\v$(VisualStudioVersion)\\TypeScript\\Microsoft.TypeScript.Default.props')\" />\n  <Import Project=\"$(MSBuildExtensionsPath)\\$(MSBuildToolsVersion)\\Microsoft.Common.props\" Condition=\"Exists('$(MSBuildExtensionsPath)\\$(MSBuildToolsVersion)\\Microsoft.Common.props')\" />\n  <PropertyGroup>\n    <Configuration Condition=\" '$(Configuration)' == '' \">Debug</Configuration>\n    <Platform Condition=\" '$(Platform)' == '' \">AnyCPU</Platform>\n    <ProductVersion>\n    </ProductVersion>\n    <SchemaVersion>2.0</SchemaVersion>\n    <ProjectGuid>{ABEAA485-7FE0-49CA-8F83-065BD767C2D1}</ProjectGuid>\n    <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>\n    <OutputType>Library</OutputType>\n    <AppDesignerFolder>Properties</AppDesignerFolder>\n    <RootNamespace>Reinforced.Typings.Samples.Simple.Quickstart</RootNamespace>\n    <AssemblyName>Reinforced.Typings.Samples.Simple.Quickstart</AssemblyName>\n    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>\n    <UseIISExpress>true</UseIISExpress>\n    <IISExpressSSLPort />\n    <IISExpressAnonymousAuthentication />\n    <IISExpressWindowsAuthentication />\n    <IISExpressUseClassicPipelineMode />\n    <TypeScriptToolsVersion>2.1</TypeScriptToolsVersion>\n    <NuGetPackageImportStamp>fdcd20c4</NuGetPackageImportStamp>\n    <UseGlobalApplicationHostFile />\n  </PropertyGroup>\n  <PropertyGroup Condition=\" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' \">\n    <DebugSymbols>true</DebugSymbols>\n    <DebugType>full</DebugType>\n    <Optimize>false</Optimize>\n    <OutputPath>bin\\</OutputPath>\n    <DefineConstants>DEBUG;TRACE</DefineConstants>\n    <ErrorReport>prompt</ErrorReport>\n    <WarningLevel>4</WarningLevel>\n    <DocumentationFile>bin\\Reinforced.Typings.Samples.Simple.Quickstart.XML</DocumentationFile>\n  </PropertyGroup>\n  <PropertyGroup Condition=\" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' \">\n    <DebugType>pdbonly</DebugType>\n    <Optimize>true</Optimize>\n    <OutputPath>bin\\</OutputPath>\n    <DefineConstants>TRACE</DefineConstants>\n    <ErrorReport>prompt</ErrorReport>\n    <WarningLevel>4</WarningLevel>\n  </PropertyGroup>\n  <ItemGroup>\n    <Reference Include=\"Microsoft.Build\" />\n    <Reference Include=\"Microsoft.Build.Framework\" />\n    <Reference Include=\"Microsoft.Build.Tasks.v4.0\" />\n    <Reference Include=\"Microsoft.Build.Utilities.v4.0\" />\n    <Reference Include=\"Microsoft.CSharp\" />\n    <Reference Include=\"Reinforced.Typings, Version=1.5.3.0, Culture=neutral, PublicKeyToken=e17b428d860a38ed, processorArchitecture=MSIL\">\n      <HintPath>..\\..\\packages\\Reinforced.Typings.1.5.3\\lib\\net45\\Reinforced.Typings.dll</HintPath>\n      <Private>True</Private>\n    </Reference>\n    <Reference Include=\"System.Web.DynamicData\" />\n    <Reference Include=\"System.Web.Entity\" />\n    <Reference Include=\"System.Web.ApplicationServices\" />\n    <Reference Include=\"System.ComponentModel.DataAnnotations\" />\n    <Reference Include=\"System\" />\n    <Reference Include=\"System.Data\" />\n    <Reference Include=\"System.Core\" />\n    <Reference Include=\"System.Data.DataSetExtensions\" />\n    <Reference Include=\"System.Web.Extensions\" />\n    <Reference Include=\"System.Xml.Linq\" />\n    <Reference Include=\"System.Drawing\" />\n    <Reference Include=\"System.Web\" />\n    <Reference Include=\"System.Xml\" />\n    <Reference Include=\"System.Configuration\" />\n    <Reference Include=\"System.Web.Services\" />\n    <Reference Include=\"System.EnterpriseServices\" />\n  </ItemGroup>\n  <ItemGroup>\n    <Reference Include=\"System.Web.Razor\">\n      <HintPath>..\\..\\packages\\Microsoft.AspNet.Razor.3.2.2\\lib\\net45\\System.Web.Razor.dll</HintPath>\n    </Reference>\n    <Reference Include=\"System.Web.Webpages\">\n      <HintPath>..\\..\\packages\\Microsoft.AspNet.Webpages.3.2.2\\lib\\net45\\System.Web.Webpages.dll</HintPath>\n    </Reference>\n    <Reference Include=\"System.Web.Webpages.Deployment\">\n      <HintPath>..\\..\\packages\\Microsoft.AspNet.Webpages.3.2.2\\lib\\net45\\System.Web.Webpages.Deployment.dll</HintPath>\n    </Reference>\n    <Reference Include=\"System.Web.Webpages.Razor\">\n      <HintPath>..\\..\\packages\\Microsoft.AspNet.Webpages.3.2.2\\lib\\net45\\System.Web.Webpages.Razor.dll</HintPath>\n    </Reference>\n    <Reference Include=\"System.Web.Helpers\">\n      <HintPath>..\\..\\packages\\Microsoft.AspNet.Webpages.3.2.2\\lib\\net45\\System.Web.Helpers.dll</HintPath>\n    </Reference>\n    <Reference Include=\"Microsoft.Web.Infrastructure\">\n      <HintPath>..\\..\\packages\\Microsoft.Web.Infrastructure.1.0.0.0\\lib\\net40\\Microsoft.Web.Infrastructure.dll</HintPath>\n    </Reference>\n    <Reference Include=\"System.Web.Mvc\">\n      <HintPath>..\\..\\packages\\Microsoft.AspNet.Mvc.5.2.2\\lib\\net45\\System.Web.Mvc.dll</HintPath>\n    </Reference>\n  </ItemGroup>\n  <ItemGroup>\n    <Content Include=\"Global.asax\" />\n    <None Include=\"Scripts\\jquery-2.1.4.intellisense.js\" />\n    <Content Include=\"Reinforced.Typings.settings.xml\">\n      <SubType>Designer</SubType>\n    </Content>\n    <Content Include=\"Scripts\\jquery-2.1.4.js\" />\n    <Content Include=\"Scripts\\jquery-2.1.4.min.js\" />\n    <Content Include=\"Web.config\" />\n    <Content Include=\"Scripts\\jquery-2.1.4.min.map\" />\n    <Content Include=\"Views\\Home\\Index.cshtml\" />\n  </ItemGroup>\n  <ItemGroup>\n    <Compile Include=\"App_Start\\RouteConfig.cs\" />\n    <Compile Include=\"Controllers\\HomeController.cs\" />\n    <Compile Include=\"Global.asax.cs\">\n      <DependentUpon>Global.asax</DependentUpon>\n    </Compile>\n    <Compile Include=\"Models\\OrderViewModel.cs\" />\n    <Compile Include=\"Properties\\AssemblyInfo.cs\" />\n  </ItemGroup>\n  <ItemGroup>\n    <Content Include=\"Views\\web.config\" />\n    <Content Include=\"packages.config\" />\n    <Content Include=\"Views\\Shared\\_Layout.cshtml\" />\n    <Content Include=\"Views\\_ViewStart.cshtml\" />\n    <None Include=\"Web.Debug.config\">\n      <DependentUpon>Web.config</DependentUpon>\n    </None>\n    <None Include=\"Web.Release.config\">\n      <DependentUpon>Web.config</DependentUpon>\n    </None>\n  </ItemGroup>\n  <ItemGroup />\n  <ItemGroup>\n    <TypeScriptCompile Include=\"Scripts\\app\\HomeIndex.ts\" />\n    <TypeScriptCompile Include=\"Scripts\\app\\Server.ts\" />\n    <TypeScriptCompile Include=\"Scripts\\typings\\jquery\\jquery.d.ts\" />\n  </ItemGroup>\n  <PropertyGroup>\n    <VisualStudioVersion Condition=\"'$(VisualStudioVersion)' == ''\">10.0</VisualStudioVersion>\n    <VSToolsPath Condition=\"'$(VSToolsPath)' == ''\">$(MSBuildExtensionsPath32)\\Microsoft\\VisualStudio\\v$(VisualStudioVersion)</VSToolsPath>\n  </PropertyGroup>\n  <Import Project=\"$(MSBuildBinPath)\\Microsoft.CSharp.targets\" />\n  <Import Project=\"$(MSBuildExtensionsPath32)\\Microsoft\\VisualStudio\\v$(VisualStudioVersion)\\TypeScript\\Microsoft.TypeScript.targets\" Condition=\"Exists('$(MSBuildExtensionsPath32)\\Microsoft\\VisualStudio\\v$(VisualStudioVersion)\\TypeScript\\Microsoft.TypeScript.targets')\" />\n  <Import Project=\"$(VSToolsPath)\\WebApplications\\Microsoft.WebApplication.targets\" Condition=\"'$(VSToolsPath)' != ''\" />\n  <Import Project=\"$(MSBuildExtensionsPath32)\\Microsoft\\VisualStudio\\v10.0\\WebApplications\\Microsoft.WebApplication.targets\" Condition=\"false\" />\n  <ProjectExtensions>\n    <VisualStudio>\n      <FlavorProperties GUID=\"{349c5851-65df-11da-9384-00065b846f21}\">\n        <WebProjectProperties>\n          <UseIIS>True</UseIIS>\n          <AutoAssignPort>True</AutoAssignPort>\n          <DevelopmentServerPort>52260</DevelopmentServerPort>\n          <DevelopmentServerVPath>/</DevelopmentServerVPath>\n          <IISUrl>http://localhost:52260/</IISUrl>\n          <NTLMAuthentication>False</NTLMAuthentication>\n          <UseCustomServer>False</UseCustomServer>\n          <CustomServerUrl>\n          </CustomServerUrl>\n          <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>\n        </WebProjectProperties>\n      </FlavorProperties>\n    </VisualStudio>\n  </ProjectExtensions>\n  <Import Project=\"..\\..\\packages\\Reinforced.Typings.1.5.3\\build\\Reinforced.Typings.targets\" Condition=\"Exists('..\\..\\packages\\Reinforced.Typings.1.5.3\\build\\Reinforced.Typings.targets')\" />\n  <Target Name=\"EnsureNuGetPackageBuildImports\" BeforeTargets=\"PrepareForBuild\">\n    <PropertyGroup>\n      <ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>\n    </PropertyGroup>\n    <Error Condition=\"!Exists('..\\..\\packages\\Reinforced.Typings.1.5.3\\build\\Reinforced.Typings.targets')\" Text=\"$([System.String]::Format('$(ErrorText)', '..\\..\\packages\\Reinforced.Typings.1.5.3\\build\\Reinforced.Typings.targets'))\" />\n  </Target>\n  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. \n       Other similar extension points exist, see Microsoft.Common.targets.\n  <Target Name=\"BeforeBuild\">\n  </Target>\n  <Target Name=\"AfterBuild\">\n  </Target>\n  -->\n</Project>"
  },
  {
    "path": "Samples/Simple/Reinforced.Typings.Samples.Simple.Quickstart/Reinforced.Typings.settings.xml",
    "content": "﻿<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"4.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\n\t<!-- \n\t\tHi! This is settings file for Reinforced.Typings.\n\t\tSince Reinforced.Typings is not a framework itself but build process extension,\n\t\ttherefore settings file is basically piece of MSBuild script.\n\t\tThis file is being imported to your .csproj during each build the same way\n\t\tas Reinforced.Typings.targets that is located in its package /build directory.\n\t\t\n\t\tReinforced.Typings has completely few parameters. So, here we go.\n\t-->\n\t\n\t<PropertyGroup>\n\t\n\t\t<!-- \n\t\t\tThis property points target file where to put generated sources. \n\t\t\tIt is not used if RtDivideTypesAmongFiles='true' specified.\n\t\t\tImportant! Do not forget to include generated file to solution.\n\t\t-->\n    <RtTargetFile>$(ProjectDir)Scripts\\app\\Server1.ts</RtTargetFile>\n\t\t\n\t\t<!--\n\t\t\tThis property sets RT configuration method for fluent configuration.\n\t\t\tIf you don't want to use attributes for some reason then here you can\n\t\t\tspecify full-qualified configuration method name (including namespace, \n\t\t\ttype and method name, e.g. My.Assembly.Configuration.ConfigureTypings) \n\t\t\tof method that consumes Reinforce.Typings.Fluent.ConfigurationBuilder type\n\t\t\tand is void (nothing returns). This method will be executed to build \n\t\t\ttypes exporting configuration in fluent manner.\n\t\t\tSurely you can continue using attributes. Also fluent configuration methods\n\t\t\tcould not provide a way to configure some specific things (generics parameters\n\t\t\toverride and classes' TsBaseParam). However in this case fluent configuration\n\t\t\twould be preferred. It means that if member configuration is supplied both \n\t\t\tin attributes and in fluent methods then configuration from fluent methods will\n\t\t\tbe used.\n\t\t-->\n\t\t<RtConfigurationMethod></RtConfigurationMethod>\n\t\t\n\t\t<!--\n\t\t\tBy default all of your typings will be located in single file specified by RtTargetFile.\n\t\t\tIt may be heavy for large projects because you will get single large file containing significant\n\t\t\tpart of TS sources. It could lead to various problems (e.g. monstrous SCM merges). \n\t\t\tSo here we have RtDivideTypesAmongFiles parameter that will make Reinforced.Typings \n\t\t\tgenerate TS sources in C#/Java/somewhat-OO-language-manner (class per file) when set to true.\n\t\t\t\n\t\t\tImportant! In case of using this setting, do not forget to add generated files to solution manually.\n\t\t-->\n\t\t<RtDivideTypesAmongFiles>true</RtDivideTypesAmongFiles>\n\t\t\n\t\t<!--\n\t\t\t... and if you use RtDivideTypesAmongFiles then please specify target directory\n\t\t\twhere to put all generated stuff. Reinforced.Typings will automatically create\n\t\t\tdirectories structure according to used namespaces.\n\t\t\tNote that in case of using RtDivideTypesAmongFiles, RtTargetFile parameter will \n\t\t\tNOT be used anymore.\n\t\t-->\n\t\t<RtTargetDirectory>$(ProjectDir)Scripts\\MyApplication</RtTargetDirectory>\n\t\t\n\t\t\n\t\t<!--\n\t\t\tDisables typescript compilation in solution. \n\t\t\tUse it when your TypeScripts are broken and you need to rebuild project and then regenerate typings \n\t\t\tto fix it, but TypeScript compilation fails and failing project build. This option will temporary \n\t\t\tdisable typescripts build.\n\t\t-->\n\t\t<RtBypassTypeScriptCompilation>false</RtBypassTypeScriptCompilation>\t\t\t\t\n\t\t\n\t\t<!--\n\t\t\tDisables Reinforced.Typings generation on build. Use it when it is necessary to temporary disable \n\t\t\ttypings generation.\n\t\t-->\n\t\t<RtDisable>false</RtDisable>\n\n\t\t<!--\n\t\t\tForces RT to use specified target framework.\n\t\t\tUse this parameter if your RT is experiencing some problems with identifying framework version to use.\n\t\t\tAvailable values: \n\t\t\t\tnet45, net461, netcoreapp1.0, netcoreapp1.1, netcoreapp2.0, netcoreapp2.1, netcoreapp2.2\n\t\t-->\n\t\t<!-- <RtForceTargetFramework>netcoreapp2.2</RtForceTargetFramework>\t-->\t\n\t\t\n\t</PropertyGroup>\n\t\n\t<!--\n\t\tIf you want Reinforced.Typings to lookup for attributed classes not only current\n\t\tproject's assembly but also another assembly then you can specify it in RtAdditionalAssembly\n\t\titem group. \n\t\t\n\t\tReinforced.Typings receives reference assemblies list from CoreCompile task so you\n\t\tcan specify here assemblies from your project's references (with or without .dll extension).\n\t\tIf desired assembly is not in references list of current project then you will have\n\t\tto specify full path to it.\n\t\n\t<ItemGroup>\n\t\t<RtAdditionalAssembly Include=\"My.Project.Assembly\"/>\n\t\t<RtAdditionalAssembly Include=\"My.Project.Assembly.dll\"/>\n\t\t<RtAdditionalAssembly Include=\"C:\\Full\\Path\\To\\Assembly\\My.Project.Assembly.dll\"/>\n\t\t<RtAdditionalAssembly Include=\"$(SolutionDir)\\AnotherProject\\bin\\Debug\\AnotherProject.dll\"/>\n\t</ItemGroup>\n\t-->\n</Project>\n"
  },
  {
    "path": "Samples/Simple/Reinforced.Typings.Samples.Simple.Quickstart/Scripts/MyApplication/.gitignore",
    "content": "*.ts\n"
  },
  {
    "path": "Samples/Simple/Reinforced.Typings.Samples.Simple.Quickstart/Scripts/app/HomeIndex.js",
    "content": "///<reference path=\"../typings/jquery/jquery.d.ts\"/>\nvar Reinforced;\n(function (Reinforced) {\n    var Typings;\n    (function (Typings) {\n        var Samples;\n        (function (Samples) {\n            var Simple;\n            (function (Simple) {\n                var Quickstart;\n                (function (Quickstart) {\n                    var HomeIndexPage = (function () {\n                        function HomeIndexPage() {\n                            $(document).ready(this.documentReady.bind(this));\n                        }\n                        HomeIndexPage.prototype.documentReady = function () {\n                            $('#btnRequest').click(this.onRequest.bind(this));\n                            $('#btnSend').click(this.onSend.bind(this));\n                        };\n                        HomeIndexPage.prototype.onRequest = function () {\n                            $.ajax({\n                                url: '/Home/GetOrder?orderId=10',\n                                success: this.handleResponse\n                            });\n                        };\n                        HomeIndexPage.prototype.handleResponse = function (data) {\n                            var text = data.ClientName + \", \" + data.Address + \" (\" + data.ItemName + \", \" + data.Quantity + \")\";\n                            $('#divInfo').text(text);\n                        };\n                        HomeIndexPage.prototype.onSend = function () {\n                        };\n                        return HomeIndexPage;\n                    }());\n                    Quickstart.HomeIndexPage = HomeIndexPage;\n                })(Quickstart = Simple.Quickstart || (Simple.Quickstart = {}));\n            })(Simple = Samples.Simple || (Samples.Simple = {}));\n        })(Samples = Typings.Samples || (Typings.Samples = {}));\n    })(Typings = Reinforced.Typings || (Reinforced.Typings = {}));\n})(Reinforced || (Reinforced = {}));\nwindow['homeIndexPage'] = new Reinforced.Typings.Samples.Simple.Quickstart.HomeIndexPage();\n//# sourceMappingURL=HomeIndex.js.map"
  },
  {
    "path": "Samples/Simple/Reinforced.Typings.Samples.Simple.Quickstart/Scripts/app/HomeIndex.ts",
    "content": "﻿///<reference path=\"../typings/jquery/jquery.d.ts\"/>\n\nmodule Reinforced.Typings.Samples.Simple.Quickstart {\n    import OrderViewModel = Reinforced.Typings.Samples.Simple.Quickstart.Models.IOrderViewModel;\n\n    export class HomeIndexPage{\n        constructor() {\n            $(document).ready(this.documentReady.bind(this));\n        }\n\n        private documentReady() {\n            $('#btnRequest').click(this.onRequest.bind(this));\n            $('#btnSend').click(this.onSend.bind(this));\n        }\n\n        private onRequest() {\n            $.ajax({\n                url: '/Home/GetOrder?orderId=10',\n                success:this.handleResponse\n            });\n        }\n\n        private handleResponse(data: OrderViewModel) {\n            var text = `${data.ClientName}, ${data.Address} (${data.ItemName}, ${data.Quantity})`;\n            $('#divInfo').text(text);\n        }\n\n        private onSend() {\n\n        }\n    }\n}\n\nwindow['homeIndexPage'] = new Reinforced.Typings.Samples.Simple.Quickstart.HomeIndexPage();"
  },
  {
    "path": "Samples/Simple/Reinforced.Typings.Samples.Simple.Quickstart/Scripts/app/Server.js",
    "content": "//     This code was generated by a Reinforced.Typings tool. \n//     Changes to this file may cause incorrect behavior and will be lost if\n//     the code is regenerated.\n//# sourceMappingURL=Server.js.map"
  },
  {
    "path": "Samples/Simple/Reinforced.Typings.Samples.Simple.Quickstart/Scripts/app/Server.ts",
    "content": "//     This code was generated by a Reinforced.Typings tool. \n//     Changes to this file may cause incorrect behavior and will be lost if\n//     the code is regenerated.\n\nmodule Reinforced.Typings.Samples.Simple.Quickstart.Models {\n\texport interface IOrderViewModel\n\t{\n\t\tItemName: string;\n\t\tQuantity: number;\n\t\tSubtotal: number;\n\t\tIsPaid: boolean;\n\t\tClientName: string;\n\t\tAddress: string;\n\t}\n}\n"
  },
  {
    "path": "Samples/Simple/Reinforced.Typings.Samples.Simple.Quickstart/Scripts/jquery-2.1.4.intellisense.js",
    "content": "intellisense.annotate(jQuery, {\n  'ajax': function() {\n    /// <signature>\n    ///   <summary>Perform an asynchronous HTTP (Ajax) request.</summary>\n    ///   <param name=\"url\" type=\"String\">A string containing the URL to which the request is sent.</param>\n    ///   <param name=\"settings\" type=\"PlainObject\">A set of key/value pairs that configure the Ajax request. All settings are optional. A default can be set for any option with $.ajaxSetup(). See jQuery.ajax( settings ) below for a complete list of all settings.</param>\n    ///   <returns type=\"jqXHR\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Perform an asynchronous HTTP (Ajax) request.</summary>\n    ///   <param name=\"settings\" type=\"PlainObject\">A set of key/value pairs that configure the Ajax request. All settings are optional. A default can be set for any option with $.ajaxSetup().</param>\n    ///   <returns type=\"jqXHR\" />\n    /// </signature>\n  },\n  'ajaxPrefilter': function() {\n    /// <signature>\n    ///   <summary>Handle custom Ajax options or modify existing options before each request is sent and before they are processed by $.ajax().</summary>\n    ///   <param name=\"dataTypes\" type=\"String\">An optional string containing one or more space-separated dataTypes</param>\n    ///   <param name=\"handler(options, originalOptions, jqXHR)\" type=\"Function\">A handler to set default values for future Ajax requests.</param>\n    /// </signature>\n  },\n  'ajaxSetup': function() {\n    /// <signature>\n    ///   <summary>Set default values for future Ajax requests. Its use is not recommended.</summary>\n    ///   <param name=\"options\" type=\"PlainObject\">A set of key/value pairs that configure the default Ajax request. All options are optional.</param>\n    /// </signature>\n  },\n  'ajaxTransport': function() {\n    /// <signature>\n    ///   <summary>Creates an object that handles the actual transmission of Ajax data.</summary>\n    ///   <param name=\"dataType\" type=\"String\">A string identifying the data type to use</param>\n    ///   <param name=\"handler(options, originalOptions, jqXHR)\" type=\"Function\">A handler to return the new transport object to use with the data type provided in the first argument.</param>\n    /// </signature>\n  },\n  'boxModel': function() {\n    /// <summary>Deprecated in jQuery 1.3 (see jQuery.support). States if the current page, in the user's browser, is being rendered using the W3C CSS Box Model.</summary>\n    /// <returns type=\"Boolean\" />\n  },\n  'browser': function() {\n    /// <summary>Contains flags for the useragent, read from navigator.userAgent. This property was removed in jQuery 1.9 and is available only through the jQuery.migrate plugin. Please try to use feature detection instead.</summary>\n    /// <returns type=\"PlainObject\" />\n  },\n  'browser.version': function() {\n    /// <summary>The version number of the rendering engine for the user's browser. This property was removed in jQuery 1.9 and is available only through the jQuery.migrate plugin.</summary>\n    /// <returns type=\"String\" />\n  },\n  'Callbacks': function() {\n    /// <signature>\n    ///   <summary>A multi-purpose callbacks list object that provides a powerful way to manage callback lists.</summary>\n    ///   <param name=\"flags\" type=\"String\">An optional list of space-separated flags that change how the callback list behaves.</param>\n    ///   <returns type=\"Callbacks\" />\n    /// </signature>\n  },\n  'contains': function() {\n    /// <signature>\n    ///   <summary>Check to see if a DOM element is a descendant of another DOM element.</summary>\n    ///   <param name=\"container\" type=\"Element\">The DOM element that may contain the other element.</param>\n    ///   <param name=\"contained\" type=\"Element\">The DOM element that may be contained by (a descendant of) the other element.</param>\n    ///   <returns type=\"Boolean\" />\n    /// </signature>\n  },\n  'cssHooks': function() {\n    /// <summary>Hook directly into jQuery to override how particular CSS properties are retrieved or set, normalize CSS property naming, or create custom properties.</summary>\n    /// <returns type=\"Object\" />\n  },\n  'data': function() {\n    /// <signature>\n    ///   <summary>Returns value at named data store for the element, as set by jQuery.data(element, name, value), or the full data store for the element.</summary>\n    ///   <param name=\"element\" type=\"Element\">The DOM element to query for the data.</param>\n    ///   <param name=\"key\" type=\"String\">Name of the data stored.</param>\n    ///   <returns type=\"Object\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Returns value at named data store for the element, as set by jQuery.data(element, name, value), or the full data store for the element.</summary>\n    ///   <param name=\"element\" type=\"Element\">The DOM element to query for the data.</param>\n    ///   <returns type=\"Object\" />\n    /// </signature>\n  },\n  'Deferred': function() {\n    /// <signature>\n    ///   <summary>A constructor function that returns a chainable utility object with methods to register multiple callbacks into callback queues, invoke callback queues, and relay the success or failure state of any synchronous or asynchronous function.</summary>\n    ///   <param name=\"beforeStart\" type=\"Function\">A function that is called just before the constructor returns.</param>\n    ///   <returns type=\"Deferred\" />\n    /// </signature>\n  },\n  'dequeue': function() {\n    /// <signature>\n    ///   <summary>Execute the next function on the queue for the matched element.</summary>\n    ///   <param name=\"element\" type=\"Element\">A DOM element from which to remove and execute a queued function.</param>\n    ///   <param name=\"queueName\" type=\"String\">A string containing the name of the queue. Defaults to fx, the standard effects queue.</param>\n    /// </signature>\n  },\n  'each': function() {\n    /// <signature>\n    ///   <summary>A generic iterator function, which can be used to seamlessly iterate over both objects and arrays. Arrays and array-like objects with a length property (such as a function's arguments object) are iterated by numeric index, from 0 to length-1. Other objects are iterated via their named properties.</summary>\n    ///   <param name=\"collection\" type=\"Object\">The object or array to iterate over.</param>\n    ///   <param name=\"callback(indexInArray, valueOfElement)\" type=\"Function\">The function that will be executed on every object.</param>\n    ///   <returns type=\"Object\" />\n    /// </signature>\n  },\n  'error': function() {\n    /// <signature>\n    ///   <summary>Takes a string and throws an exception containing it.</summary>\n    ///   <param name=\"message\" type=\"String\">The message to send out.</param>\n    /// </signature>\n  },\n  'extend': function() {\n    /// <signature>\n    ///   <summary>Merge the contents of two or more objects together into the first object.</summary>\n    ///   <param name=\"target\" type=\"Object\">An object that will receive the new properties if additional objects are passed in or that will extend the jQuery namespace if it is the sole argument.</param>\n    ///   <param name=\"object1\" type=\"Object\">An object containing additional properties to merge in.</param>\n    ///   <param name=\"objectN\" type=\"Object\">Additional objects containing properties to merge in.</param>\n    ///   <returns type=\"Object\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Merge the contents of two or more objects together into the first object.</summary>\n    ///   <param name=\"deep\" type=\"Boolean\">If true, the merge becomes recursive (aka. deep copy).</param>\n    ///   <param name=\"target\" type=\"Object\">The object to extend. It will receive the new properties.</param>\n    ///   <param name=\"object1\" type=\"Object\">An object containing additional properties to merge in.</param>\n    ///   <param name=\"objectN\" type=\"Object\">Additional objects containing properties to merge in.</param>\n    ///   <returns type=\"Object\" />\n    /// </signature>\n  },\n  'fn.extend': function() {\n    /// <signature>\n    ///   <summary>Merge the contents of an object onto the jQuery prototype to provide new jQuery instance methods.</summary>\n    ///   <param name=\"object\" type=\"Object\">An object to merge onto the jQuery prototype.</param>\n    ///   <returns type=\"Object\" />\n    /// </signature>\n  },\n  'get': function() {\n    /// <signature>\n    ///   <summary>Load data from the server using a HTTP GET request.</summary>\n    ///   <param name=\"url\" type=\"String\">A string containing the URL to which the request is sent.</param>\n    ///   <param name=\"data\" type=\"\">A plain object or string that is sent to the server with the request.</param>\n    ///   <param name=\"success(data, textStatus, jqXHR)\" type=\"Function\">A callback function that is executed if the request succeeds.</param>\n    ///   <param name=\"dataType\" type=\"String\">The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html).</param>\n    ///   <returns type=\"jqXHR\" />\n    /// </signature>\n  },\n  'getJSON': function() {\n    /// <signature>\n    ///   <summary>Load JSON-encoded data from the server using a GET HTTP request.</summary>\n    ///   <param name=\"url\" type=\"String\">A string containing the URL to which the request is sent.</param>\n    ///   <param name=\"data\" type=\"PlainObject\">A plain object or string that is sent to the server with the request.</param>\n    ///   <param name=\"success(data, textStatus, jqXHR)\" type=\"Function\">A callback function that is executed if the request succeeds.</param>\n    ///   <returns type=\"jqXHR\" />\n    /// </signature>\n  },\n  'getScript': function() {\n    /// <signature>\n    ///   <summary>Load a JavaScript file from the server using a GET HTTP request, then execute it.</summary>\n    ///   <param name=\"url\" type=\"String\">A string containing the URL to which the request is sent.</param>\n    ///   <param name=\"success(script, textStatus, jqXHR)\" type=\"Function\">A callback function that is executed if the request succeeds.</param>\n    ///   <returns type=\"jqXHR\" />\n    /// </signature>\n  },\n  'globalEval': function() {\n    /// <signature>\n    ///   <summary>Execute some JavaScript code globally.</summary>\n    ///   <param name=\"code\" type=\"String\">The JavaScript code to execute.</param>\n    /// </signature>\n  },\n  'grep': function() {\n    /// <signature>\n    ///   <summary>Finds the elements of an array which satisfy a filter function. The original array is not affected.</summary>\n    ///   <param name=\"array\" type=\"Array\">The array to search through.</param>\n    ///   <param name=\"function(elementOfArray, indexInArray)\" type=\"Function\">The function to process each item against.  The first argument to the function is the item, and the second argument is the index.  The function should return a Boolean value.  this will be the global window object.</param>\n    ///   <param name=\"invert\" type=\"Boolean\">If \"invert\" is false, or not provided, then the function returns an array consisting of all elements for which \"callback\" returns true.  If \"invert\" is true, then the function returns an array consisting of all elements for which \"callback\" returns false.</param>\n    ///   <returns type=\"Array\" />\n    /// </signature>\n  },\n  'hasData': function() {\n    /// <signature>\n    ///   <summary>Determine whether an element has any jQuery data associated with it.</summary>\n    ///   <param name=\"element\" type=\"Element\">A DOM element to be checked for data.</param>\n    ///   <returns type=\"Boolean\" />\n    /// </signature>\n  },\n  'holdReady': function() {\n    /// <signature>\n    ///   <summary>Holds or releases the execution of jQuery's ready event.</summary>\n    ///   <param name=\"hold\" type=\"Boolean\">Indicates whether the ready hold is being requested or released</param>\n    /// </signature>\n  },\n  'inArray': function() {\n    /// <signature>\n    ///   <summary>Search for a specified value within an array and return its index (or -1 if not found).</summary>\n    ///   <param name=\"value\" type=\"Anything\">The value to search for.</param>\n    ///   <param name=\"array\" type=\"Array\">An array through which to search.</param>\n    ///   <param name=\"fromIndex\" type=\"Number\">The index of the array at which to begin the search. The default is 0, which will search the whole array.</param>\n    ///   <returns type=\"Number\" />\n    /// </signature>\n  },\n  'isArray': function() {\n    /// <signature>\n    ///   <summary>Determine whether the argument is an array.</summary>\n    ///   <param name=\"obj\" type=\"Object\">Object to test whether or not it is an array.</param>\n    ///   <returns type=\"Boolean\" />\n    /// </signature>\n  },\n  'isEmptyObject': function() {\n    /// <signature>\n    ///   <summary>Check to see if an object is empty (contains no enumerable properties).</summary>\n    ///   <param name=\"object\" type=\"Object\">The object that will be checked to see if it's empty.</param>\n    ///   <returns type=\"Boolean\" />\n    /// </signature>\n  },\n  'isFunction': function() {\n    /// <signature>\n    ///   <summary>Determine if the argument passed is a Javascript function object.</summary>\n    ///   <param name=\"obj\" type=\"PlainObject\">Object to test whether or not it is a function.</param>\n    ///   <returns type=\"Boolean\" />\n    /// </signature>\n  },\n  'isNumeric': function() {\n    /// <signature>\n    ///   <summary>Determines whether its argument is a number.</summary>\n    ///   <param name=\"value\" type=\"PlainObject\">The value to be tested.</param>\n    ///   <returns type=\"Boolean\" />\n    /// </signature>\n  },\n  'isPlainObject': function() {\n    /// <signature>\n    ///   <summary>Check to see if an object is a plain object (created using \"{}\" or \"new Object\").</summary>\n    ///   <param name=\"object\" type=\"PlainObject\">The object that will be checked to see if it's a plain object.</param>\n    ///   <returns type=\"Boolean\" />\n    /// </signature>\n  },\n  'isWindow': function() {\n    /// <signature>\n    ///   <summary>Determine whether the argument is a window.</summary>\n    ///   <param name=\"obj\" type=\"PlainObject\">Object to test whether or not it is a window.</param>\n    ///   <returns type=\"Boolean\" />\n    /// </signature>\n  },\n  'isXMLDoc': function() {\n    /// <signature>\n    ///   <summary>Check to see if a DOM node is within an XML document (or is an XML document).</summary>\n    ///   <param name=\"node\" type=\"Element\">The DOM node that will be checked to see if it's in an XML document.</param>\n    ///   <returns type=\"Boolean\" />\n    /// </signature>\n  },\n  'makeArray': function() {\n    /// <signature>\n    ///   <summary>Convert an array-like object into a true JavaScript array.</summary>\n    ///   <param name=\"obj\" type=\"PlainObject\">Any object to turn into a native Array.</param>\n    ///   <returns type=\"Array\" />\n    /// </signature>\n  },\n  'map': function() {\n    /// <signature>\n    ///   <summary>Translate all items in an array or object to new array of items.</summary>\n    ///   <param name=\"array\" type=\"Array\">The Array to translate.</param>\n    ///   <param name=\"callback(elementOfArray, indexInArray)\" type=\"Function\">The function to process each item against.  The first argument to the function is the array item, the second argument is the index in array The function can return any value. Within the function, this refers to the global (window) object.</param>\n    ///   <returns type=\"Array\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Translate all items in an array or object to new array of items.</summary>\n    ///   <param name=\"arrayOrObject\" type=\"\">The Array or Object to translate.</param>\n    ///   <param name=\"callback( value, indexOrKey )\" type=\"Function\">The function to process each item against.  The first argument to the function is the value; the second argument is the index or key of the array or object property. The function can return any value to add to the array. A returned array will be flattened into the resulting array. Within the function, this refers to the global (window) object.</param>\n    ///   <returns type=\"Array\" />\n    /// </signature>\n  },\n  'merge': function() {\n    /// <signature>\n    ///   <summary>Merge the contents of two arrays together into the first array.</summary>\n    ///   <param name=\"first\" type=\"Array\">The first array to merge, the elements of second added.</param>\n    ///   <param name=\"second\" type=\"Array\">The second array to merge into the first, unaltered.</param>\n    ///   <returns type=\"Array\" />\n    /// </signature>\n  },\n  'noConflict': function() {\n    /// <signature>\n    ///   <summary>Relinquish jQuery's control of the $ variable.</summary>\n    ///   <param name=\"removeAll\" type=\"Boolean\">A Boolean indicating whether to remove all jQuery variables from the global scope (including jQuery itself).</param>\n    ///   <returns type=\"Object\" />\n    /// </signature>\n  },\n  'noop': function() {\n    /// <summary>An empty function.</summary>\n  },\n  'now': function() {\n    /// <summary>Return a number representing the current time.</summary>\n    /// <returns type=\"Number\" />\n  },\n  'param': function() {\n    /// <signature>\n    ///   <summary>Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request.</summary>\n    ///   <param name=\"obj\" type=\"\">An array or object to serialize.</param>\n    ///   <returns type=\"String\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request.</summary>\n    ///   <param name=\"obj\" type=\"\">An array or object to serialize.</param>\n    ///   <param name=\"traditional\" type=\"Boolean\">A Boolean indicating whether to perform a traditional \"shallow\" serialization.</param>\n    ///   <returns type=\"String\" />\n    /// </signature>\n  },\n  'parseHTML': function() {\n    /// <signature>\n    ///   <summary>Parses a string into an array of DOM nodes.</summary>\n    ///   <param name=\"data\" type=\"String\">HTML string to be parsed</param>\n    ///   <param name=\"context\" type=\"Element\">Document element to serve as the context in which the HTML fragment will be created</param>\n    ///   <param name=\"keepScripts\" type=\"Boolean\">A Boolean indicating whether to include scripts passed in the HTML string</param>\n    ///   <returns type=\"Array\" />\n    /// </signature>\n  },\n  'parseJSON': function() {\n    /// <signature>\n    ///   <summary>Takes a well-formed JSON string and returns the resulting JavaScript object.</summary>\n    ///   <param name=\"json\" type=\"String\">The JSON string to parse.</param>\n    ///   <returns type=\"Object\" />\n    /// </signature>\n  },\n  'parseXML': function() {\n    /// <signature>\n    ///   <summary>Parses a string into an XML document.</summary>\n    ///   <param name=\"data\" type=\"String\">a well-formed XML string to be parsed</param>\n    ///   <returns type=\"XMLDocument\" />\n    /// </signature>\n  },\n  'post': function() {\n    /// <signature>\n    ///   <summary>Load data from the server using a HTTP POST request.</summary>\n    ///   <param name=\"url\" type=\"String\">A string containing the URL to which the request is sent.</param>\n    ///   <param name=\"data\" type=\"\">A plain object or string that is sent to the server with the request.</param>\n    ///   <param name=\"success(data, textStatus, jqXHR)\" type=\"Function\">A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case.</param>\n    ///   <param name=\"dataType\" type=\"String\">The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html).</param>\n    ///   <returns type=\"jqXHR\" />\n    /// </signature>\n  },\n  'proxy': function() {\n    /// <signature>\n    ///   <summary>Takes a function and returns a new one that will always have a particular context.</summary>\n    ///   <param name=\"function\" type=\"Function\">The function whose context will be changed.</param>\n    ///   <param name=\"context\" type=\"PlainObject\">The object to which the context (this) of the function should be set.</param>\n    ///   <returns type=\"Function\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Takes a function and returns a new one that will always have a particular context.</summary>\n    ///   <param name=\"context\" type=\"PlainObject\">The object to which the context of the function should be set.</param>\n    ///   <param name=\"name\" type=\"String\">The name of the function whose context will be changed (should be a property of the context object).</param>\n    ///   <returns type=\"Function\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Takes a function and returns a new one that will always have a particular context.</summary>\n    ///   <param name=\"function\" type=\"Function\">The function whose context will be changed.</param>\n    ///   <param name=\"context\" type=\"PlainObject\">The object to which the context (this) of the function should be set.</param>\n    ///   <param name=\"additionalArguments\" type=\"Anything\">Any number of arguments to be passed to the function referenced in the function argument.</param>\n    ///   <returns type=\"Function\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Takes a function and returns a new one that will always have a particular context.</summary>\n    ///   <param name=\"context\" type=\"PlainObject\">The object to which the context of the function should be set.</param>\n    ///   <param name=\"name\" type=\"String\">The name of the function whose context will be changed (should be a property of the context object).</param>\n    ///   <param name=\"additionalArguments\" type=\"Anything\">Any number of arguments to be passed to the function named in the name argument.</param>\n    ///   <returns type=\"Function\" />\n    /// </signature>\n  },\n  'queue': function() {\n    /// <signature>\n    ///   <summary>Manipulate the queue of functions to be executed on the matched element.</summary>\n    ///   <param name=\"element\" type=\"Element\">A DOM element where the array of queued functions is attached.</param>\n    ///   <param name=\"queueName\" type=\"String\">A string containing the name of the queue. Defaults to fx, the standard effects queue.</param>\n    ///   <param name=\"newQueue\" type=\"Array\">An array of functions to replace the current queue contents.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Manipulate the queue of functions to be executed on the matched element.</summary>\n    ///   <param name=\"element\" type=\"Element\">A DOM element on which to add a queued function.</param>\n    ///   <param name=\"queueName\" type=\"String\">A string containing the name of the queue. Defaults to fx, the standard effects queue.</param>\n    ///   <param name=\"callback()\" type=\"Function\">The new function to add to the queue.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'removeData': function() {\n    /// <signature>\n    ///   <summary>Remove a previously-stored piece of data.</summary>\n    ///   <param name=\"element\" type=\"Element\">A DOM element from which to remove data.</param>\n    ///   <param name=\"name\" type=\"String\">A string naming the piece of data to remove.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'sub': function() {\n    /// <summary>Creates a new copy of jQuery whose properties and methods can be modified without affecting the original jQuery object.</summary>\n    /// <returns type=\"jQuery\" />\n  },\n  'support': function() {\n    /// <summary>A collection of properties that represent the presence of different browser features or bugs. Primarily intended for jQuery's internal use; specific properties may be removed when they are no longer needed internally to improve page startup performance.</summary>\n    /// <returns type=\"Object\" />\n  },\n  'trim': function() {\n    /// <signature>\n    ///   <summary>Remove the whitespace from the beginning and end of a string.</summary>\n    ///   <param name=\"str\" type=\"String\">The string to trim.</param>\n    ///   <returns type=\"String\" />\n    /// </signature>\n  },\n  'type': function() {\n    /// <signature>\n    ///   <summary>Determine the internal JavaScript [[Class]] of an object.</summary>\n    ///   <param name=\"obj\" type=\"PlainObject\">Object to get the internal JavaScript [[Class]] of.</param>\n    ///   <returns type=\"String\" />\n    /// </signature>\n  },\n  'unique': function() {\n    /// <signature>\n    ///   <summary>Sorts an array of DOM elements, in place, with the duplicates removed. Note that this only works on arrays of DOM elements, not strings or numbers.</summary>\n    ///   <param name=\"array\" type=\"Array\">The Array of DOM elements.</param>\n    ///   <returns type=\"Array\" />\n    /// </signature>\n  },\n  'when': function() {\n    /// <signature>\n    ///   <summary>Provides a way to execute callback functions based on one or more objects, usually Deferred objects that represent asynchronous events.</summary>\n    ///   <param name=\"deferreds\" type=\"Deferred\">One or more Deferred objects, or plain JavaScript objects.</param>\n    ///   <returns type=\"Promise\" />\n    /// </signature>\n  },\n});\n\nvar _1228819969 = jQuery.Callbacks;\njQuery.Callbacks = function(flags) {\nvar _object = _1228819969(flags);\nintellisense.annotate(_object, {\n  'add': function() {\n    /// <signature>\n    ///   <summary>Add a callback or a collection of callbacks to a callback list.</summary>\n    ///   <param name=\"callbacks\" type=\"\">A function, or array of functions, that are to be added to the callback list.</param>\n    ///   <returns type=\"Callbacks\" />\n    /// </signature>\n  },\n  'disable': function() {\n    /// <summary>Disable a callback list from doing anything more.</summary>\n    /// <returns type=\"Callbacks\" />\n  },\n  'disabled': function() {\n    /// <summary>Determine if the callbacks list has been disabled.</summary>\n    /// <returns type=\"Boolean\" />\n  },\n  'empty': function() {\n    /// <summary>Remove all of the callbacks from a list.</summary>\n    /// <returns type=\"Callbacks\" />\n  },\n  'fire': function() {\n    /// <signature>\n    ///   <summary>Call all of the callbacks with the given arguments</summary>\n    ///   <param name=\"arguments\" type=\"Anything\">The argument or list of arguments to pass back to the callback list.</param>\n    ///   <returns type=\"Callbacks\" />\n    /// </signature>\n  },\n  'fired': function() {\n    /// <summary>Determine if the callbacks have already been called at least once.</summary>\n    /// <returns type=\"Boolean\" />\n  },\n  'fireWith': function() {\n    /// <signature>\n    ///   <summary>Call all callbacks in a list with the given context and arguments.</summary>\n    ///   <param name=\"context\" type=\"\">A reference to the context in which the callbacks in the list should be fired.</param>\n    ///   <param name=\"args\" type=\"\">An argument, or array of arguments, to pass to the callbacks in the list.</param>\n    ///   <returns type=\"Callbacks\" />\n    /// </signature>\n  },\n  'has': function() {\n    /// <signature>\n    ///   <summary>Determine whether a supplied callback is in a list</summary>\n    ///   <param name=\"callback\" type=\"Function\">The callback to search for.</param>\n    ///   <returns type=\"Boolean\" />\n    /// </signature>\n  },\n  'lock': function() {\n    /// <summary>Lock a callback list in its current state.</summary>\n    /// <returns type=\"Callbacks\" />\n  },\n  'locked': function() {\n    /// <summary>Determine if the callbacks list has been locked.</summary>\n    /// <returns type=\"Boolean\" />\n  },\n  'remove': function() {\n    /// <signature>\n    ///   <summary>Remove a callback or a collection of callbacks from a callback list.</summary>\n    ///   <param name=\"callbacks\" type=\"\">A function, or array of functions, that are to be removed from the callback list.</param>\n    ///   <returns type=\"Callbacks\" />\n    /// </signature>\n  },\n});\n\nreturn _object;\n};\nintellisense.redirectDefinition(jQuery.Callbacks, _1228819969);\n\nvar _731531622 = jQuery.Deferred;\njQuery.Deferred = function(func) {\nvar _object = _731531622(func);\nintellisense.annotate(_object, {\n  'always': function() {\n    /// <signature>\n    ///   <summary>Add handlers to be called when the Deferred object is either resolved or rejected.</summary>\n    ///   <param name=\"alwaysCallbacks\" type=\"Function\">A function, or array of functions, that is called when the Deferred is resolved or rejected.</param>\n    ///   <param name=\"alwaysCallbacks\" type=\"Function\">Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected.</param>\n    ///   <returns type=\"Deferred\" />\n    /// </signature>\n  },\n  'done': function() {\n    /// <signature>\n    ///   <summary>Add handlers to be called when the Deferred object is resolved.</summary>\n    ///   <param name=\"doneCallbacks\" type=\"Function\">A function, or array of functions, that are called when the Deferred is resolved.</param>\n    ///   <param name=\"doneCallbacks\" type=\"Function\">Optional additional functions, or arrays of functions, that are called when the Deferred is resolved.</param>\n    ///   <returns type=\"Deferred\" />\n    /// </signature>\n  },\n  'fail': function() {\n    /// <signature>\n    ///   <summary>Add handlers to be called when the Deferred object is rejected.</summary>\n    ///   <param name=\"failCallbacks\" type=\"Function\">A function, or array of functions, that are called when the Deferred is rejected.</param>\n    ///   <param name=\"failCallbacks\" type=\"Function\">Optional additional functions, or arrays of functions, that are called when the Deferred is rejected.</param>\n    ///   <returns type=\"Deferred\" />\n    /// </signature>\n  },\n  'isRejected': function() {\n    /// <summary>Determine whether a Deferred object has been rejected.</summary>\n    /// <returns type=\"Boolean\" />\n  },\n  'isResolved': function() {\n    /// <summary>Determine whether a Deferred object has been resolved.</summary>\n    /// <returns type=\"Boolean\" />\n  },\n  'notify': function() {\n    /// <signature>\n    ///   <summary>Call the progressCallbacks on a Deferred object with the given args.</summary>\n    ///   <param name=\"args\" type=\"Object\">Optional arguments that are passed to the progressCallbacks.</param>\n    ///   <returns type=\"Deferred\" />\n    /// </signature>\n  },\n  'notifyWith': function() {\n    /// <signature>\n    ///   <summary>Call the progressCallbacks on a Deferred object with the given context and args.</summary>\n    ///   <param name=\"context\" type=\"Object\">Context passed to the progressCallbacks as the this object.</param>\n    ///   <param name=\"args\" type=\"Object\">Optional arguments that are passed to the progressCallbacks.</param>\n    ///   <returns type=\"Deferred\" />\n    /// </signature>\n  },\n  'pipe': function() {\n    /// <signature>\n    ///   <summary>Utility method to filter and/or chain Deferreds.</summary>\n    ///   <param name=\"doneFilter\" type=\"Function\">An optional function that is called when the Deferred is resolved.</param>\n    ///   <param name=\"failFilter\" type=\"Function\">An optional function that is called when the Deferred is rejected.</param>\n    ///   <returns type=\"Promise\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Utility method to filter and/or chain Deferreds.</summary>\n    ///   <param name=\"doneFilter\" type=\"Function\">An optional function that is called when the Deferred is resolved.</param>\n    ///   <param name=\"failFilter\" type=\"Function\">An optional function that is called when the Deferred is rejected.</param>\n    ///   <param name=\"progressFilter\" type=\"Function\">An optional function that is called when progress notifications are sent to the Deferred.</param>\n    ///   <returns type=\"Promise\" />\n    /// </signature>\n  },\n  'progress': function() {\n    /// <signature>\n    ///   <summary>Add handlers to be called when the Deferred object generates progress notifications.</summary>\n    ///   <param name=\"progressCallbacks\" type=\"\">A function, or array of functions, to be called when the Deferred generates progress notifications.</param>\n    ///   <returns type=\"Deferred\" />\n    /// </signature>\n  },\n  'promise': function() {\n    /// <signature>\n    ///   <summary>Return a Deferred's Promise object.</summary>\n    ///   <param name=\"target\" type=\"Object\">Object onto which the promise methods have to be attached</param>\n    ///   <returns type=\"Promise\" />\n    /// </signature>\n  },\n  'reject': function() {\n    /// <signature>\n    ///   <summary>Reject a Deferred object and call any failCallbacks with the given args.</summary>\n    ///   <param name=\"args\" type=\"Anything\">Optional arguments that are passed to the failCallbacks.</param>\n    ///   <returns type=\"Deferred\" />\n    /// </signature>\n  },\n  'rejectWith': function() {\n    /// <signature>\n    ///   <summary>Reject a Deferred object and call any failCallbacks with the given context and args.</summary>\n    ///   <param name=\"context\" type=\"Object\">Context passed to the failCallbacks as the this object.</param>\n    ///   <param name=\"args\" type=\"Array\">An optional array of arguments that are passed to the failCallbacks.</param>\n    ///   <returns type=\"Deferred\" />\n    /// </signature>\n  },\n  'resolve': function() {\n    /// <signature>\n    ///   <summary>Resolve a Deferred object and call any doneCallbacks with the given args.</summary>\n    ///   <param name=\"args\" type=\"Anything\">Optional arguments that are passed to the doneCallbacks.</param>\n    ///   <returns type=\"Deferred\" />\n    /// </signature>\n  },\n  'resolveWith': function() {\n    /// <signature>\n    ///   <summary>Resolve a Deferred object and call any doneCallbacks with the given context and args.</summary>\n    ///   <param name=\"context\" type=\"Object\">Context passed to the doneCallbacks as the this object.</param>\n    ///   <param name=\"args\" type=\"Array\">An optional array of arguments that are passed to the doneCallbacks.</param>\n    ///   <returns type=\"Deferred\" />\n    /// </signature>\n  },\n  'state': function() {\n    /// <summary>Determine the current state of a Deferred object.</summary>\n    /// <returns type=\"String\" />\n  },\n  'then': function() {\n    /// <signature>\n    ///   <summary>Add handlers to be called when the Deferred object is resolved, rejected, or still in progress.</summary>\n    ///   <param name=\"doneFilter\" type=\"Function\">A function that is called when the Deferred is resolved.</param>\n    ///   <param name=\"failFilter\" type=\"Function\">An optional function that is called when the Deferred is rejected.</param>\n    ///   <param name=\"progressFilter\" type=\"Function\">An optional function that is called when progress notifications are sent to the Deferred.</param>\n    ///   <returns type=\"Promise\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Add handlers to be called when the Deferred object is resolved, rejected, or still in progress.</summary>\n    ///   <param name=\"doneCallbacks\" type=\"Function\">A function, or array of functions, called when the Deferred is resolved.</param>\n    ///   <param name=\"failCallbacks\" type=\"Function\">A function, or array of functions, called when the Deferred is rejected.</param>\n    ///   <returns type=\"Promise\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Add handlers to be called when the Deferred object is resolved, rejected, or still in progress.</summary>\n    ///   <param name=\"doneCallbacks\" type=\"Function\">A function, or array of functions, called when the Deferred is resolved.</param>\n    ///   <param name=\"failCallbacks\" type=\"Function\">A function, or array of functions, called when the Deferred is rejected.</param>\n    ///   <param name=\"progressCallbacks\" type=\"Function\">A function, or array of functions, called when the Deferred notifies progress.</param>\n    ///   <returns type=\"Promise\" />\n    /// </signature>\n  },\n});\n\nreturn _object;\n};\nintellisense.redirectDefinition(jQuery.Callbacks, _731531622);\n\nintellisense.annotate(jQuery.Event.prototype, {\n  'currentTarget': function() {\n    /// <summary>The current DOM element within the event bubbling phase.</summary>\n    /// <returns type=\"Element\" />\n  },\n  'data': function() {\n    /// <summary>An optional object of data passed to an event method when the current executing handler is bound.</summary>\n    /// <returns type=\"Object\" />\n  },\n  'delegateTarget': function() {\n    /// <summary>The element where the currently-called jQuery event handler was attached.</summary>\n    /// <returns type=\"Element\" />\n  },\n  'isDefaultPrevented': function() {\n    /// <summary>Returns whether event.preventDefault() was ever called on this event object.</summary>\n    /// <returns type=\"Boolean\" />\n  },\n  'isImmediatePropagationStopped': function() {\n    /// <summary>Returns whether event.stopImmediatePropagation() was ever called on this event object.</summary>\n    /// <returns type=\"Boolean\" />\n  },\n  'isPropagationStopped': function() {\n    /// <summary>Returns whether event.stopPropagation() was ever called on this event object.</summary>\n    /// <returns type=\"Boolean\" />\n  },\n  'metaKey': function() {\n    /// <summary>Indicates whether the META key was pressed when the event fired.</summary>\n    /// <returns type=\"Boolean\" />\n  },\n  'namespace': function() {\n    /// <summary>The namespace specified when the event was triggered.</summary>\n    /// <returns type=\"String\" />\n  },\n  'pageX': function() {\n    /// <summary>The mouse position relative to the left edge of the document.</summary>\n    /// <returns type=\"Number\" />\n  },\n  'pageY': function() {\n    /// <summary>The mouse position relative to the top edge of the document.</summary>\n    /// <returns type=\"Number\" />\n  },\n  'preventDefault': function() {\n    /// <summary>If this method is called, the default action of the event will not be triggered.</summary>\n  },\n  'relatedTarget': function() {\n    /// <summary>The other DOM element involved in the event, if any.</summary>\n    /// <returns type=\"Element\" />\n  },\n  'result': function() {\n    /// <summary>The last value returned by an event handler that was triggered by this event, unless the value was undefined.</summary>\n    /// <returns type=\"Object\" />\n  },\n  'stopImmediatePropagation': function() {\n    /// <summary>Keeps the rest of the handlers from being executed and prevents the event from bubbling up the DOM tree.</summary>\n  },\n  'stopPropagation': function() {\n    /// <summary>Prevents the event from bubbling up the DOM tree, preventing any parent handlers from being notified of the event.</summary>\n  },\n  'target': function() {\n    /// <summary>The DOM element that initiated the event.</summary>\n    /// <returns type=\"Element\" />\n  },\n  'timeStamp': function() {\n    /// <summary>The difference in milliseconds between the time the browser created the event and January 1, 1970.</summary>\n    /// <returns type=\"Number\" />\n  },\n  'type': function() {\n    /// <summary>Describes the nature of the event.</summary>\n    /// <returns type=\"String\" />\n  },\n  'which': function() {\n    /// <summary>For key or mouse events, this property indicates the specific key or button that was pressed.</summary>\n    /// <returns type=\"Number\" />\n  },\n});\n\nintellisense.annotate(jQuery.fn, {\n  'add': function() {\n    /// <signature>\n    ///   <summary>Add elements to the set of matched elements.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string representing a selector expression to find additional elements to add to the set of matched elements.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Add elements to the set of matched elements.</summary>\n    ///   <param name=\"elements\" type=\"Array\">One or more elements to add to the set of matched elements.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Add elements to the set of matched elements.</summary>\n    ///   <param name=\"html\" type=\"htmlString\">An HTML fragment to add to the set of matched elements.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Add elements to the set of matched elements.</summary>\n    ///   <param name=\"jQuery object\" type=\"jQuery object \">An existing jQuery object to add to the set of matched elements.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Add elements to the set of matched elements.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string representing a selector expression to find additional elements to add to the set of matched elements.</param>\n    ///   <param name=\"context\" type=\"Element\">The point in the document at which the selector should begin matching; similar to the context argument of the $(selector, context) method.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'addBack': function() {\n    /// <signature>\n    ///   <summary>Add the previous set of elements on the stack to the current set, optionally filtered by a selector.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match the current set of elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'addClass': function() {\n    /// <signature>\n    ///   <summary>Adds the specified class(es) to each of the set of matched elements.</summary>\n    ///   <param name=\"className\" type=\"String\">One or more space-separated classes to be added to the class attribute of each matched element.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Adds the specified class(es) to each of the set of matched elements.</summary>\n    ///   <param name=\"function(index, currentClass)\" type=\"Function\">A function returning one or more space-separated class names to be added to the existing class name(s). Receives the index position of the element in the set and the existing class name(s) as arguments. Within the function, this refers to the current element in the set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'after': function() {\n    /// <signature>\n    ///   <summary>Insert content, specified by the parameter, after each element in the set of matched elements.</summary>\n    ///   <param name=\"content\" type=\"\">HTML string, DOM element, or jQuery object to insert after each element in the set of matched elements.</param>\n    ///   <param name=\"content\" type=\"\">One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert after each element in the set of matched elements.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Insert content, specified by the parameter, after each element in the set of matched elements.</summary>\n    ///   <param name=\"function(index)\" type=\"Function\">A function that returns an HTML string, DOM element(s), or jQuery object to insert after each element in the set of matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'ajaxComplete': function() {\n    /// <signature>\n    ///   <summary>Register a handler to be called when Ajax requests complete. This is an AjaxEvent.</summary>\n    ///   <param name=\"handler(event, XMLHttpRequest, ajaxOptions)\" type=\"Function\">The function to be invoked.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'ajaxError': function() {\n    /// <signature>\n    ///   <summary>Register a handler to be called when Ajax requests complete with an error. This is an Ajax Event.</summary>\n    ///   <param name=\"handler(event, jqXHR, ajaxSettings, thrownError)\" type=\"Function\">The function to be invoked.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'ajaxSend': function() {\n    /// <signature>\n    ///   <summary>Attach a function to be executed before an Ajax request is sent. This is an Ajax Event.</summary>\n    ///   <param name=\"handler(event, jqXHR, ajaxOptions)\" type=\"Function\">The function to be invoked.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'ajaxStart': function() {\n    /// <signature>\n    ///   <summary>Register a handler to be called when the first Ajax request begins. This is an Ajax Event.</summary>\n    ///   <param name=\"handler()\" type=\"Function\">The function to be invoked.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'ajaxStop': function() {\n    /// <signature>\n    ///   <summary>Register a handler to be called when all Ajax requests have completed. This is an Ajax Event.</summary>\n    ///   <param name=\"handler()\" type=\"Function\">The function to be invoked.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'ajaxSuccess': function() {\n    /// <signature>\n    ///   <summary>Attach a function to be executed whenever an Ajax request completes successfully. This is an Ajax Event.</summary>\n    ///   <param name=\"handler(event, XMLHttpRequest, ajaxOptions)\" type=\"Function\">The function to be invoked.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'all': function() {\n    /// <summary>Selects all elements.</summary>\n  },\n  'andSelf': function() {\n    /// <summary>Add the previous set of elements on the stack to the current set.</summary>\n    /// <returns type=\"jQuery\" />\n  },\n  'animate': function() {\n    /// <signature>\n    ///   <summary>Perform a custom animation of a set of CSS properties.</summary>\n    ///   <param name=\"properties\" type=\"PlainObject\">An object of CSS properties and values that the animation will move toward.</param>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"easing\" type=\"String\">A string indicating which easing function to use for the transition.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Perform a custom animation of a set of CSS properties.</summary>\n    ///   <param name=\"properties\" type=\"PlainObject\">An object of CSS properties and values that the animation will move toward.</param>\n    ///   <param name=\"options\" type=\"PlainObject\">A map of additional options to pass to the method.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'animated': function() {\n    /// <summary>Select all elements that are in the progress of an animation at the time the selector is run.</summary>\n  },\n  'append': function() {\n    /// <signature>\n    ///   <summary>Insert content, specified by the parameter, to the end of each element in the set of matched elements.</summary>\n    ///   <param name=\"content\" type=\"\">DOM element, HTML string, or jQuery object to insert at the end of each element in the set of matched elements.</param>\n    ///   <param name=\"content\" type=\"\">One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the end of each element in the set of matched elements.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Insert content, specified by the parameter, to the end of each element in the set of matched elements.</summary>\n    ///   <param name=\"function(index, html)\" type=\"Function\">A function that returns an HTML string, DOM element(s), or jQuery object to insert at the end of each element in the set of matched elements. Receives the index position of the element in the set and the old HTML value of the element as arguments. Within the function, this refers to the current element in the set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'appendTo': function() {\n    /// <signature>\n    ///   <summary>Insert every element in the set of matched elements to the end of the target.</summary>\n    ///   <param name=\"target\" type=\"\">A selector, element, HTML string, or jQuery object; the matched set of elements will be inserted at the end of the element(s) specified by this parameter.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'attr': function() {\n    /// <signature>\n    ///   <summary>Set one or more attributes for the set of matched elements.</summary>\n    ///   <param name=\"attributeName\" type=\"String\">The name of the attribute to set.</param>\n    ///   <param name=\"value\" type=\"\">A value to set for the attribute.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Set one or more attributes for the set of matched elements.</summary>\n    ///   <param name=\"attributes\" type=\"PlainObject\">An object of attribute-value pairs to set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Set one or more attributes for the set of matched elements.</summary>\n    ///   <param name=\"attributeName\" type=\"String\">The name of the attribute to set.</param>\n    ///   <param name=\"function(index, attr)\" type=\"Function\">A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old attribute value as arguments.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'attributeContains': function() {\n    /// <signature>\n    ///   <summary>Selects elements that have the specified attribute with a value containing the a given substring.</summary>\n    ///   <param name=\"attribute\" type=\"String\">An attribute name.</param>\n    ///   <param name=\"value\" type=\"String\">An attribute value. Can be either an unquoted single word or a quoted string.</param>\n    /// </signature>\n  },\n  'attributeContainsPrefix': function() {\n    /// <signature>\n    ///   <summary>Selects elements that have the specified attribute with a value either equal to a given string or starting with that string followed by a hyphen (-).</summary>\n    ///   <param name=\"attribute\" type=\"String\">An attribute name.</param>\n    ///   <param name=\"value\" type=\"String\">An attribute value. Can be either an unquoted single word or a quoted string.</param>\n    /// </signature>\n  },\n  'attributeContainsWord': function() {\n    /// <signature>\n    ///   <summary>Selects elements that have the specified attribute with a value containing a given word, delimited by spaces.</summary>\n    ///   <param name=\"attribute\" type=\"String\">An attribute name.</param>\n    ///   <param name=\"value\" type=\"String\">An attribute value. Can be either an unquoted single word or a quoted string.</param>\n    /// </signature>\n  },\n  'attributeEndsWith': function() {\n    /// <signature>\n    ///   <summary>Selects elements that have the specified attribute with a value ending exactly with a given string. The comparison is case sensitive.</summary>\n    ///   <param name=\"attribute\" type=\"String\">An attribute name.</param>\n    ///   <param name=\"value\" type=\"String\">An attribute value. Can be either an unquoted single word or a quoted string.</param>\n    /// </signature>\n  },\n  'attributeEquals': function() {\n    /// <signature>\n    ///   <summary>Selects elements that have the specified attribute with a value exactly equal to a certain value.</summary>\n    ///   <param name=\"attribute\" type=\"String\">An attribute name.</param>\n    ///   <param name=\"value\" type=\"String\">An attribute value. Can be either an unquoted single word or a quoted string.</param>\n    /// </signature>\n  },\n  'attributeHas': function() {\n    /// <signature>\n    ///   <summary>Selects elements that have the specified attribute, with any value.</summary>\n    ///   <param name=\"attribute\" type=\"String\">An attribute name.</param>\n    /// </signature>\n  },\n  'attributeMultiple': function() {\n    /// <signature>\n    ///   <summary>Matches elements that match all of the specified attribute filters.</summary>\n    ///   <param name=\"attributeFilter1\" type=\"String\">An attribute filter.</param>\n    ///   <param name=\"attributeFilter2\" type=\"String\">Another attribute filter, reducing the selection even more</param>\n    ///   <param name=\"attributeFilterN\" type=\"String\">As many more attribute filters as necessary</param>\n    /// </signature>\n  },\n  'attributeNotEqual': function() {\n    /// <signature>\n    ///   <summary>Select elements that either don't have the specified attribute, or do have the specified attribute but not with a certain value.</summary>\n    ///   <param name=\"attribute\" type=\"String\">An attribute name.</param>\n    ///   <param name=\"value\" type=\"String\">An attribute value. Can be either an unquoted single word or a quoted string.</param>\n    /// </signature>\n  },\n  'attributeStartsWith': function() {\n    /// <signature>\n    ///   <summary>Selects elements that have the specified attribute with a value beginning exactly with a given string.</summary>\n    ///   <param name=\"attribute\" type=\"String\">An attribute name.</param>\n    ///   <param name=\"value\" type=\"String\">An attribute value. Can be either an unquoted single word or a quoted string.</param>\n    /// </signature>\n  },\n  'before': function() {\n    /// <signature>\n    ///   <summary>Insert content, specified by the parameter, before each element in the set of matched elements.</summary>\n    ///   <param name=\"content\" type=\"\">HTML string, DOM element, or jQuery object to insert before each element in the set of matched elements.</param>\n    ///   <param name=\"content\" type=\"\">One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert before each element in the set of matched elements.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Insert content, specified by the parameter, before each element in the set of matched elements.</summary>\n    ///   <param name=\"function\" type=\"Function\">A function that returns an HTML string, DOM element(s), or jQuery object to insert before each element in the set of matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'bind': function() {\n    /// <signature>\n    ///   <summary>Attach a handler to an event for the elements.</summary>\n    ///   <param name=\"eventType\" type=\"String\">A string containing one or more DOM event types, such as \"click\" or \"submit,\" or custom event names.</param>\n    ///   <param name=\"eventData\" type=\"Object\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Attach a handler to an event for the elements.</summary>\n    ///   <param name=\"eventType\" type=\"String\">A string containing one or more DOM event types, such as \"click\" or \"submit,\" or custom event names.</param>\n    ///   <param name=\"eventData\" type=\"Object\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"preventBubble\" type=\"Boolean\">Setting the third argument to false will attach a function that prevents the default action from occurring and stops the event from bubbling. The default is true.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Attach a handler to an event for the elements.</summary>\n    ///   <param name=\"events\" type=\"Object\">An object containing one or more DOM event types and functions to execute for them.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'blur': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"blur\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"blur\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"Object\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'button': function() {\n    /// <summary>Selects all button elements and elements of type button.</summary>\n  },\n  'change': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"change\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"change\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"Object\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'checkbox': function() {\n    /// <summary>Selects all elements of type checkbox.</summary>\n  },\n  'checked': function() {\n    /// <summary>Matches all elements that are checked or selected.</summary>\n  },\n  'child': function() {\n    /// <signature>\n    ///   <summary>Selects all direct child elements specified by \"child\" of elements specified by \"parent\".</summary>\n    ///   <param name=\"parent\" type=\"String\">Any valid selector.</param>\n    ///   <param name=\"child\" type=\"String\">A selector to filter the child elements.</param>\n    /// </signature>\n  },\n  'children': function() {\n    /// <signature>\n    ///   <summary>Get the children of each element in the set of matched elements, optionally filtered by a selector.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'class': function() {\n    /// <signature>\n    ///   <summary>Selects all elements with the given class.</summary>\n    ///   <param name=\"class\" type=\"String\">A class to search for. An element can have multiple classes; only one of them must match.</param>\n    /// </signature>\n  },\n  'clearQueue': function() {\n    /// <signature>\n    ///   <summary>Remove from the queue all items that have not yet been run.</summary>\n    ///   <param name=\"queueName\" type=\"String\">A string containing the name of the queue. Defaults to fx, the standard effects queue.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'click': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"click\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"click\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"Object\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'clone': function() {\n    /// <signature>\n    ///   <summary>Create a deep copy of the set of matched elements.</summary>\n    ///   <param name=\"withDataAndEvents\" type=\"Boolean\">A Boolean indicating whether event handlers should be copied along with the elements. As of jQuery 1.4, element data will be copied as well.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Create a deep copy of the set of matched elements.</summary>\n    ///   <param name=\"withDataAndEvents\" type=\"Boolean\">A Boolean indicating whether event handlers and data should be copied along with the elements. The default value is false. *In jQuery 1.5.0 the default value was incorrectly true; it was changed back to false in 1.5.1 and up.</param>\n    ///   <param name=\"deepWithDataAndEvents\" type=\"Boolean\">A Boolean indicating whether event handlers and data for all children of the cloned element should be copied. By default its value matches the first argument's value (which defaults to false).</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'closest': function() {\n    /// <signature>\n    ///   <summary>For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <param name=\"context\" type=\"Element\">A DOM element within which a matching element may be found. If no context is passed in then the context of the jQuery set will be used instead.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.</summary>\n    ///   <param name=\"jQuery object\" type=\"jQuery\">A jQuery object to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.</summary>\n    ///   <param name=\"element\" type=\"Element\">An element to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'contains': function() {\n    /// <signature>\n    ///   <summary>Select all elements that contain the specified text.</summary>\n    ///   <param name=\"text\" type=\"String\">A string of text to look for. It's case sensitive.</param>\n    /// </signature>\n  },\n  'contents': function() {\n    /// <summary>Get the children of each element in the set of matched elements, including text and comment nodes.</summary>\n    /// <returns type=\"jQuery\" />\n  },\n  'context': function() {\n    /// <summary>The DOM node context originally passed to jQuery(); if none was passed then context will likely be the document.</summary>\n    /// <returns type=\"Element\" />\n  },\n  'css': function() {\n    /// <signature>\n    ///   <summary>Set one or more CSS properties for the set of matched elements.</summary>\n    ///   <param name=\"propertyName\" type=\"String\">A CSS property name.</param>\n    ///   <param name=\"value\" type=\"\">A value to set for the property.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Set one or more CSS properties for the set of matched elements.</summary>\n    ///   <param name=\"propertyName\" type=\"String\">A CSS property name.</param>\n    ///   <param name=\"function(index, value)\" type=\"Function\">A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as arguments.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Set one or more CSS properties for the set of matched elements.</summary>\n    ///   <param name=\"properties\" type=\"PlainObject\">An object of property-value pairs to set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'data': function() {\n    /// <signature>\n    ///   <summary>Store arbitrary data associated with the matched elements.</summary>\n    ///   <param name=\"key\" type=\"String\">A string naming the piece of data to set.</param>\n    ///   <param name=\"value\" type=\"Object\">The new data value; it can be any Javascript type including Array or Object.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Store arbitrary data associated with the matched elements.</summary>\n    ///   <param name=\"obj\" type=\"Object\">An object of key-value pairs of data to update.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'dblclick': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"dblclick\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"dblclick\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"Object\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'delay': function() {\n    /// <signature>\n    ///   <summary>Set a timer to delay execution of subsequent items in the queue.</summary>\n    ///   <param name=\"duration\" type=\"Number\">An integer indicating the number of milliseconds to delay execution of the next item in the queue.</param>\n    ///   <param name=\"queueName\" type=\"String\">A string containing the name of the queue. Defaults to fx, the standard effects queue.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'delegate': function() {\n    /// <signature>\n    ///   <summary>Attach a handler to one or more events for all elements that match the selector, now or in the future, based on a specific set of root elements.</summary>\n    ///   <param name=\"selector\" type=\"String\">A selector to filter the elements that trigger the event.</param>\n    ///   <param name=\"eventType\" type=\"String\">A string containing one or more space-separated JavaScript event types, such as \"click\" or \"keydown,\" or custom event names.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute at the time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Attach a handler to one or more events for all elements that match the selector, now or in the future, based on a specific set of root elements.</summary>\n    ///   <param name=\"selector\" type=\"String\">A selector to filter the elements that trigger the event.</param>\n    ///   <param name=\"eventType\" type=\"String\">A string containing one or more space-separated JavaScript event types, such as \"click\" or \"keydown,\" or custom event names.</param>\n    ///   <param name=\"eventData\" type=\"Object\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute at the time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Attach a handler to one or more events for all elements that match the selector, now or in the future, based on a specific set of root elements.</summary>\n    ///   <param name=\"selector\" type=\"String\">A selector to filter the elements that trigger the event.</param>\n    ///   <param name=\"events\" type=\"PlainObject\">A plain object of one or more event types and functions to execute for them.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'dequeue': function() {\n    /// <signature>\n    ///   <summary>Execute the next function on the queue for the matched elements.</summary>\n    ///   <param name=\"queueName\" type=\"String\">A string containing the name of the queue. Defaults to fx, the standard effects queue.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'descendant': function() {\n    /// <signature>\n    ///   <summary>Selects all elements that are descendants of a given ancestor.</summary>\n    ///   <param name=\"ancestor\" type=\"String\">Any valid selector.</param>\n    ///   <param name=\"descendant\" type=\"String\">A selector to filter the descendant elements.</param>\n    /// </signature>\n  },\n  'detach': function() {\n    /// <signature>\n    ///   <summary>Remove the set of matched elements from the DOM.</summary>\n    ///   <param name=\"selector\" type=\"String\">A selector expression that filters the set of matched elements to be removed.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'die': function() {\n    /// <signature>\n    ///   <summary>Remove event handlers previously attached using .live() from the elements.</summary>\n    ///   <param name=\"eventType\" type=\"String\">A string containing a JavaScript event type, such as click or keydown.</param>\n    ///   <param name=\"handler\" type=\"String\">The function that is no longer to be executed.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Remove event handlers previously attached using .live() from the elements.</summary>\n    ///   <param name=\"events\" type=\"PlainObject\">A plain object of one or more event types, such as click or keydown and their corresponding functions that are no longer to be executed.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'disabled': function() {\n    /// <summary>Selects all elements that are disabled.</summary>\n  },\n  'each': function() {\n    /// <signature>\n    ///   <summary>Iterate over a jQuery object, executing a function for each matched element.</summary>\n    ///   <param name=\"function(index, Element)\" type=\"Function\">A function to execute for each matched element.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'element': function() {\n    /// <signature>\n    ///   <summary>Selects all elements with the given tag name.</summary>\n    ///   <param name=\"element\" type=\"String\">An element to search for. Refers to the tagName of DOM nodes.</param>\n    /// </signature>\n  },\n  'empty': function() {\n    /// <summary>Select all elements that have no children (including text nodes).</summary>\n  },\n  'enabled': function() {\n    /// <summary>Selects all elements that are enabled.</summary>\n  },\n  'end': function() {\n    /// <summary>End the most recent filtering operation in the current chain and return the set of matched elements to its previous state.</summary>\n    /// <returns type=\"jQuery\" />\n  },\n  'eq': function() {\n    /// <signature>\n    ///   <summary>Select the element at index n within the matched set.</summary>\n    ///   <param name=\"index\" type=\"Number\">Zero-based index of the element to match.</param>\n    /// </signature>\n    /// <signature>\n    ///   <summary>Select the element at index n within the matched set.</summary>\n    ///   <param name=\"-index\" type=\"Number\">Zero-based index of the element to match, counting backwards from the last element.</param>\n    /// </signature>\n  },\n  'error': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"error\" JavaScript event.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute when the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"error\" JavaScript event.</summary>\n    ///   <param name=\"eventData\" type=\"Object\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'even': function() {\n    /// <summary>Selects even elements, zero-indexed.  See also odd.</summary>\n  },\n  'fadeIn': function() {\n    /// <signature>\n    ///   <summary>Display the matched elements by fading them to opaque.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Display the matched elements by fading them to opaque.</summary>\n    ///   <param name=\"options\" type=\"PlainObject\">A map of additional options to pass to the method.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Display the matched elements by fading them to opaque.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"easing\" type=\"String\">A string indicating which easing function to use for the transition.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'fadeOut': function() {\n    /// <signature>\n    ///   <summary>Hide the matched elements by fading them to transparent.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Hide the matched elements by fading them to transparent.</summary>\n    ///   <param name=\"options\" type=\"PlainObject\">A map of additional options to pass to the method.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Hide the matched elements by fading them to transparent.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"easing\" type=\"String\">A string indicating which easing function to use for the transition.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'fadeTo': function() {\n    /// <signature>\n    ///   <summary>Adjust the opacity of the matched elements.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"opacity\" type=\"Number\">A number between 0 and 1 denoting the target opacity.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Adjust the opacity of the matched elements.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"opacity\" type=\"Number\">A number between 0 and 1 denoting the target opacity.</param>\n    ///   <param name=\"easing\" type=\"String\">A string indicating which easing function to use for the transition.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'fadeToggle': function() {\n    /// <signature>\n    ///   <summary>Display or hide the matched elements by animating their opacity.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"easing\" type=\"String\">A string indicating which easing function to use for the transition.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Display or hide the matched elements by animating their opacity.</summary>\n    ///   <param name=\"options\" type=\"PlainObject\">A map of additional options to pass to the method.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'file': function() {\n    /// <summary>Selects all elements of type file.</summary>\n  },\n  'filter': function() {\n    /// <signature>\n    ///   <summary>Reduce the set of matched elements to those that match the selector or pass the function's test.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match the current set of elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Reduce the set of matched elements to those that match the selector or pass the function's test.</summary>\n    ///   <param name=\"function(index)\" type=\"Function\">A function used as a test for each element in the set. this is the current DOM element.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Reduce the set of matched elements to those that match the selector or pass the function's test.</summary>\n    ///   <param name=\"element\" type=\"Element\">An element to match the current set of elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Reduce the set of matched elements to those that match the selector or pass the function's test.</summary>\n    ///   <param name=\"jQuery object\" type=\"Object\">An existing jQuery object to match the current set of elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'find': function() {\n    /// <signature>\n    ///   <summary>Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.</summary>\n    ///   <param name=\"jQuery object\" type=\"Object\">A jQuery object to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.</summary>\n    ///   <param name=\"element\" type=\"Element\">An element to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'finish': function() {\n    /// <signature>\n    ///   <summary>Stop the currently-running animation, remove all queued animations, and complete all animations for the matched elements.</summary>\n    ///   <param name=\"queue\" type=\"String\">The name of the queue in which to stop animations.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'first': function() {\n    /// <summary>Selects the first matched element.</summary>\n  },\n  'first-child': function() {\n    /// <summary>Selects all elements that are the first child of their parent.</summary>\n  },\n  'first-of-type': function() {\n    /// <summary>Selects all elements that are the first among siblings of the same element name.</summary>\n  },\n  'focus': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"focus\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"focus\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"Object\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'focusin': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"focusin\" event.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"focusin\" event.</summary>\n    ///   <param name=\"eventData\" type=\"Object\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'focusout': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"focusout\" JavaScript event.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"focusout\" JavaScript event.</summary>\n    ///   <param name=\"eventData\" type=\"Object\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'get': function() {\n    /// <signature>\n    ///   <summary>Retrieve one of the DOM elements matched by the jQuery object.</summary>\n    ///   <param name=\"index\" type=\"Number\">A zero-based integer indicating which element to retrieve.</param>\n    ///   <returns type=\"Element\" />\n    /// </signature>\n  },\n  'gt': function() {\n    /// <signature>\n    ///   <summary>Select all elements at an index greater than index within the matched set.</summary>\n    ///   <param name=\"index\" type=\"Number\">Zero-based index.</param>\n    /// </signature>\n    /// <signature>\n    ///   <summary>Select all elements at an index greater than index within the matched set.</summary>\n    ///   <param name=\"-index\" type=\"Number\">Zero-based index, counting backwards from the last element.</param>\n    /// </signature>\n  },\n  'has': function() {\n    /// <signature>\n    ///   <summary>Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element.</summary>\n    ///   <param name=\"contained\" type=\"Element\">A DOM element to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'hasClass': function() {\n    /// <signature>\n    ///   <summary>Determine whether any of the matched elements are assigned the given class.</summary>\n    ///   <param name=\"className\" type=\"String\">The class name to search for.</param>\n    ///   <returns type=\"Boolean\" />\n    /// </signature>\n  },\n  'header': function() {\n    /// <summary>Selects all elements that are headers, like h1, h2, h3 and so on.</summary>\n  },\n  'height': function() {\n    /// <signature>\n    ///   <summary>Set the CSS height of every matched element.</summary>\n    ///   <param name=\"value\" type=\"\">An integer representing the number of pixels, or an integer with an optional unit of measure appended (as a string).</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Set the CSS height of every matched element.</summary>\n    ///   <param name=\"function(index, height)\" type=\"Function\">A function returning the height to set. Receives the index position of the element in the set and the old height as arguments. Within the function, this refers to the current element in the set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'hidden': function() {\n    /// <summary>Selects all elements that are hidden.</summary>\n  },\n  'hide': function() {\n    /// <signature>\n    ///   <summary>Hide the matched elements.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Hide the matched elements.</summary>\n    ///   <param name=\"options\" type=\"PlainObject\">A map of additional options to pass to the method.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Hide the matched elements.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"easing\" type=\"String\">A string indicating which easing function to use for the transition.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'hover': function() {\n    /// <signature>\n    ///   <summary>Bind two handlers to the matched elements, to be executed when the mouse pointer enters and leaves the elements.</summary>\n    ///   <param name=\"handlerIn(eventObject)\" type=\"Function\">A function to execute when the mouse pointer enters the element.</param>\n    ///   <param name=\"handlerOut(eventObject)\" type=\"Function\">A function to execute when the mouse pointer leaves the element.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'html': function() {\n    /// <signature>\n    ///   <summary>Set the HTML contents of each element in the set of matched elements.</summary>\n    ///   <param name=\"htmlString\" type=\"htmlString\">A string of HTML to set as the content of each matched element.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Set the HTML contents of each element in the set of matched elements.</summary>\n    ///   <param name=\"function(index, oldhtml)\" type=\"Function\">A function returning the HTML content to set. Receives the           index position of the element in the set and the old HTML value as arguments.           jQuery empties the element before calling the function;           use the oldhtml argument to reference the previous content.           Within the function, this refers to the current element in the set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'id': function() {\n    /// <signature>\n    ///   <summary>Selects a single element with the given id attribute.</summary>\n    ///   <param name=\"id\" type=\"String\">An ID to search for, specified via the id attribute of an element.</param>\n    /// </signature>\n  },\n  'image': function() {\n    /// <summary>Selects all elements of type image.</summary>\n  },\n  'index': function() {\n    /// <signature>\n    ///   <summary>Search for a given element from among the matched elements.</summary>\n    ///   <param name=\"selector\" type=\"String\">A selector representing a jQuery collection in which to look for an element.</param>\n    ///   <returns type=\"Number\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Search for a given element from among the matched elements.</summary>\n    ///   <param name=\"element\" type=\"\">The DOM element or first element within the jQuery object to look for.</param>\n    ///   <returns type=\"Number\" />\n    /// </signature>\n  },\n  'init': function() {\n    /// <signature>\n    ///   <summary>Accepts a string containing a CSS selector which is then used to match a set of elements.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression</param>\n    ///   <param name=\"context\" type=\"\">A DOM Element, Document, or jQuery to use as context</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Accepts a string containing a CSS selector which is then used to match a set of elements.</summary>\n    ///   <param name=\"element\" type=\"Element\">A DOM element to wrap in a jQuery object.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Accepts a string containing a CSS selector which is then used to match a set of elements.</summary>\n    ///   <param name=\"elementArray\" type=\"Array\">An array containing a set of DOM elements to wrap in a jQuery object.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Accepts a string containing a CSS selector which is then used to match a set of elements.</summary>\n    ///   <param name=\"object\" type=\"PlainObject\">A plain object to wrap in a jQuery object.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Accepts a string containing a CSS selector which is then used to match a set of elements.</summary>\n    ///   <param name=\"jQuery object\" type=\"PlainObject\">An existing jQuery object to clone.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'innerHeight': function() {\n    /// <summary>Get the current computed height for the first element in the set of matched elements, including padding but not border.</summary>\n    /// <returns type=\"Number\" />\n  },\n  'innerWidth': function() {\n    /// <summary>Get the current computed width for the first element in the set of matched elements, including padding but not border.</summary>\n    /// <returns type=\"Number\" />\n  },\n  'input': function() {\n    /// <summary>Selects all input, textarea, select and button elements.</summary>\n  },\n  'insertAfter': function() {\n    /// <signature>\n    ///   <summary>Insert every element in the set of matched elements after the target.</summary>\n    ///   <param name=\"target\" type=\"\">A selector, element, HTML string, or jQuery object; the matched set of elements will be inserted after the element(s) specified by this parameter.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'insertBefore': function() {\n    /// <signature>\n    ///   <summary>Insert every element in the set of matched elements before the target.</summary>\n    ///   <param name=\"target\" type=\"\">A selector, element, HTML string, or jQuery object; the matched set of elements will be inserted before the element(s) specified by this parameter.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'is': function() {\n    /// <signature>\n    ///   <summary>Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"Boolean\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.</summary>\n    ///   <param name=\"function(index)\" type=\"Function\">A function used as a test for the set of elements. It accepts one argument, index, which is the element's index in the jQuery collection.Within the function, this refers to the current DOM element.</param>\n    ///   <returns type=\"Boolean\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.</summary>\n    ///   <param name=\"jQuery object\" type=\"Object\">An existing jQuery object to match the current set of elements against.</param>\n    ///   <returns type=\"Boolean\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.</summary>\n    ///   <param name=\"element\" type=\"Element\">An element to match the current set of elements against.</param>\n    ///   <returns type=\"Boolean\" />\n    /// </signature>\n  },\n  'jquery': function() {\n    /// <summary>A string containing the jQuery version number.</summary>\n    /// <returns type=\"String\" />\n  },\n  'keydown': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"keydown\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"keydown\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'keypress': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"keypress\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"keypress\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'keyup': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"keyup\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"keyup\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'lang': function() {\n    /// <signature>\n    ///   <summary>Selects all elements of the specified language.</summary>\n    ///   <param name=\"language\" type=\"String\">A language code.</param>\n    /// </signature>\n  },\n  'last': function() {\n    /// <summary>Selects the last matched element.</summary>\n  },\n  'last-child': function() {\n    /// <summary>Selects all elements that are the last child of their parent.</summary>\n  },\n  'last-of-type': function() {\n    /// <summary>Selects all elements that are the last among siblings of the same element name.</summary>\n  },\n  'length': function() {\n    /// <summary>The number of elements in the jQuery object.</summary>\n    /// <returns type=\"Number\" />\n  },\n  'live': function() {\n    /// <signature>\n    ///   <summary>Attach an event handler for all elements which match the current selector, now and in the future.</summary>\n    ///   <param name=\"events\" type=\"String\">A string containing a JavaScript event type, such as \"click\" or \"keydown.\" As of jQuery 1.4 the string can contain multiple, space-separated event types or custom event names.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute at the time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Attach an event handler for all elements which match the current selector, now and in the future.</summary>\n    ///   <param name=\"events\" type=\"String\">A string containing a JavaScript event type, such as \"click\" or \"keydown.\" As of jQuery 1.4 the string can contain multiple, space-separated event types or custom event names.</param>\n    ///   <param name=\"data\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute at the time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Attach an event handler for all elements which match the current selector, now and in the future.</summary>\n    ///   <param name=\"events\" type=\"PlainObject\">A plain object of one or more JavaScript event types and functions to execute for them.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'load': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"load\" JavaScript event.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute when the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"load\" JavaScript event.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'lt': function() {\n    /// <signature>\n    ///   <summary>Select all elements at an index less than index within the matched set.</summary>\n    ///   <param name=\"index\" type=\"Number\">Zero-based index.</param>\n    /// </signature>\n    /// <signature>\n    ///   <summary>Select all elements at an index less than index within the matched set.</summary>\n    ///   <param name=\"-index\" type=\"Number\">Zero-based index, counting backwards from the last element.</param>\n    /// </signature>\n  },\n  'map': function() {\n    /// <signature>\n    ///   <summary>Pass each element in the current matched set through a function, producing a new jQuery object containing the return values.</summary>\n    ///   <param name=\"callback(index, domElement)\" type=\"Function\">A function object that will be invoked for each element in the current set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'mousedown': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"mousedown\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"mousedown\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'mouseenter': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to be fired when the mouse enters an element, or trigger that handler on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to be fired when the mouse enters an element, or trigger that handler on an element.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'mouseleave': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to be fired when the mouse leaves an element, or trigger that handler on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to be fired when the mouse leaves an element, or trigger that handler on an element.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'mousemove': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"mousemove\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"mousemove\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'mouseout': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"mouseout\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"mouseout\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'mouseover': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"mouseover\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"mouseover\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'mouseup': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"mouseup\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"mouseup\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'multiple': function() {\n    /// <signature>\n    ///   <summary>Selects the combined results of all the specified selectors.</summary>\n    ///   <param name=\"selector1\" type=\"String\">Any valid selector.</param>\n    ///   <param name=\"selector2\" type=\"String\">Another valid selector.</param>\n    ///   <param name=\"selectorN\" type=\"String\">As many more valid selectors as you like.</param>\n    /// </signature>\n  },\n  'next': function() {\n    /// <signature>\n    ///   <summary>Get the immediately following sibling of each element in the set of matched elements. If a selector is provided, it retrieves the next sibling only if it matches that selector.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'next adjacent': function() {\n    /// <signature>\n    ///   <summary>Selects all next elements matching \"next\" that are immediately preceded by a sibling \"prev\".</summary>\n    ///   <param name=\"prev\" type=\"String\">Any valid selector.</param>\n    ///   <param name=\"next\" type=\"String\">A selector to match the element that is next to the first selector.</param>\n    /// </signature>\n  },\n  'next siblings': function() {\n    /// <signature>\n    ///   <summary>Selects all sibling elements that follow after the \"prev\" element, have the same parent, and match the filtering \"siblings\" selector.</summary>\n    ///   <param name=\"prev\" type=\"String\">Any valid selector.</param>\n    ///   <param name=\"siblings\" type=\"String\">A selector to filter elements that are the following siblings of the first selector.</param>\n    /// </signature>\n  },\n  'nextAll': function() {\n    /// <signature>\n    ///   <summary>Get all following siblings of each element in the set of matched elements, optionally filtered by a selector.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'nextUntil': function() {\n    /// <signature>\n    ///   <summary>Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to indicate where to stop matching following sibling elements.</param>\n    ///   <param name=\"filter\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.</summary>\n    ///   <param name=\"element\" type=\"Element\">A DOM node or jQuery object indicating where to stop matching following sibling elements.</param>\n    ///   <param name=\"filter\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'not': function() {\n    /// <signature>\n    ///   <summary>Remove elements from the set of matched elements.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Remove elements from the set of matched elements.</summary>\n    ///   <param name=\"elements\" type=\"Array\">One or more DOM elements to remove from the matched set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Remove elements from the set of matched elements.</summary>\n    ///   <param name=\"function(index)\" type=\"Function\">A function used as a test for each element in the set. this is the current DOM element.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Remove elements from the set of matched elements.</summary>\n    ///   <param name=\"jQuery object\" type=\"PlainObject\">An existing jQuery object to match the current set of elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'nth-child': function() {\n    /// <signature>\n    ///   <summary>Selects all elements that are the nth-child of their parent.</summary>\n    ///   <param name=\"index\" type=\"String\">The index of each child to match, starting with 1, the string even or odd, or an equation ( eg. :nth-child(even), :nth-child(4n) )</param>\n    /// </signature>\n  },\n  'nth-last-child': function() {\n    /// <signature>\n    ///   <summary>Selects all elements that are the nth-child of their parent, counting from the last element to the first.</summary>\n    ///   <param name=\"index\" type=\"String\">The index of each child to match, starting with the last one (1), the string even or odd, or an equation ( eg. :nth-last-child(even), :nth-last-child(4n) )</param>\n    /// </signature>\n  },\n  'nth-last-of-type': function() {\n    /// <signature>\n    ///   <summary>Selects all elements that are the nth-child of their parent, counting from the last element to the first.</summary>\n    ///   <param name=\"index\" type=\"String\">The index of each child to match, starting with the last one (1), the string even or odd, or an equation ( eg. :nth-last-of-type(even), :nth-last-of-type(4n) )</param>\n    /// </signature>\n  },\n  'nth-of-type': function() {\n    /// <signature>\n    ///   <summary>Selects all elements that are the nth child of their parent in relation to siblings with the same element name.</summary>\n    ///   <param name=\"index\" type=\"String\">The index of each child to match, starting with 1, the string even or odd, or an equation ( eg. :nth-of-type(even), :nth-of-type(4n) )</param>\n    /// </signature>\n  },\n  'odd': function() {\n    /// <summary>Selects odd elements, zero-indexed.  See also even.</summary>\n  },\n  'off': function() {\n    /// <signature>\n    ///   <summary>Remove an event handler.</summary>\n    ///   <param name=\"events\" type=\"String\">One or more space-separated event types and optional namespaces, or just namespaces, such as \"click\", \"keydown.myPlugin\", or \".myPlugin\".</param>\n    ///   <param name=\"selector\" type=\"String\">A selector which should match the one originally passed to .on() when attaching event handlers.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A handler function previously attached for the event(s), or the special value false.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Remove an event handler.</summary>\n    ///   <param name=\"events\" type=\"PlainObject\">An object where the string keys represent one or more space-separated event types and optional namespaces, and the values represent handler functions previously attached for the event(s).</param>\n    ///   <param name=\"selector\" type=\"String\">A selector which should match the one originally passed to .on() when attaching event handlers.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'offset': function() {\n    /// <signature>\n    ///   <summary>Set the current coordinates of every element in the set of matched elements, relative to the document.</summary>\n    ///   <param name=\"coordinates\" type=\"PlainObject\">An object containing the properties top and left, which are integers indicating the new top and left coordinates for the elements.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Set the current coordinates of every element in the set of matched elements, relative to the document.</summary>\n    ///   <param name=\"function(index, coords)\" type=\"Function\">A function to return the coordinates to set. Receives the index of the element in the collection as the first argument and the current coordinates as the second argument. The function should return an object with the new top and left properties.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'offsetParent': function() {\n    /// <summary>Get the closest ancestor element that is positioned.</summary>\n    /// <returns type=\"jQuery\" />\n  },\n  'on': function() {\n    /// <signature>\n    ///   <summary>Attach an event handler function for one or more events to the selected elements.</summary>\n    ///   <param name=\"events\" type=\"String\">One or more space-separated event types and optional namespaces, such as \"click\" or \"keydown.myPlugin\".</param>\n    ///   <param name=\"selector\" type=\"String\">A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.</param>\n    ///   <param name=\"data\" type=\"Anything\">Data to be passed to the handler in event.data when an event is triggered.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Attach an event handler function for one or more events to the selected elements.</summary>\n    ///   <param name=\"events\" type=\"PlainObject\">An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).</param>\n    ///   <param name=\"selector\" type=\"String\">A selector string to filter the descendants of the selected elements that will call the handler. If the selector is null or omitted, the handler is always called when it reaches the selected element.</param>\n    ///   <param name=\"data\" type=\"Anything\">Data to be passed to the handler in event.data when an event occurs.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'one': function() {\n    /// <signature>\n    ///   <summary>Attach a handler to an event for the elements. The handler is executed at most once per element.</summary>\n    ///   <param name=\"events\" type=\"String\">A string containing one or more JavaScript event types, such as \"click\" or \"submit,\" or custom event names.</param>\n    ///   <param name=\"data\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute at the time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Attach a handler to an event for the elements. The handler is executed at most once per element.</summary>\n    ///   <param name=\"events\" type=\"String\">One or more space-separated event types and optional namespaces, such as \"click\" or \"keydown.myPlugin\".</param>\n    ///   <param name=\"selector\" type=\"String\">A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.</param>\n    ///   <param name=\"data\" type=\"Anything\">Data to be passed to the handler in event.data when an event is triggered.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Attach a handler to an event for the elements. The handler is executed at most once per element.</summary>\n    ///   <param name=\"events\" type=\"PlainObject\">An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).</param>\n    ///   <param name=\"selector\" type=\"String\">A selector string to filter the descendants of the selected elements that will call the handler. If the selector is null or omitted, the handler is always called when it reaches the selected element.</param>\n    ///   <param name=\"data\" type=\"Anything\">Data to be passed to the handler in event.data when an event occurs.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'only-child': function() {\n    /// <summary>Selects all elements that are the only child of their parent.</summary>\n  },\n  'only-of-type': function() {\n    /// <summary>Selects all elements that have no siblings with the same element name.</summary>\n  },\n  'outerHeight': function() {\n    /// <signature>\n    ///   <summary>Get the current computed height for the first element in the set of matched elements, including padding, border, and optionally margin. Returns an integer (without \"px\") representation of the value or null if called on an empty set of elements.</summary>\n    ///   <param name=\"includeMargin\" type=\"Boolean\">A Boolean indicating whether to include the element's margin in the calculation.</param>\n    ///   <returns type=\"Number\" />\n    /// </signature>\n  },\n  'outerWidth': function() {\n    /// <signature>\n    ///   <summary>Get the current computed width for the first element in the set of matched elements, including padding and border.</summary>\n    ///   <param name=\"includeMargin\" type=\"Boolean\">A Boolean indicating whether to include the element's margin in the calculation.</param>\n    ///   <returns type=\"Number\" />\n    /// </signature>\n  },\n  'parent': function() {\n    /// <signature>\n    ///   <summary>Get the parent of each element in the current set of matched elements, optionally filtered by a selector.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'parents': function() {\n    /// <signature>\n    ///   <summary>Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'parentsUntil': function() {\n    /// <signature>\n    ///   <summary>Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to indicate where to stop matching ancestor elements.</param>\n    ///   <param name=\"filter\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.</summary>\n    ///   <param name=\"element\" type=\"Element\">A DOM node or jQuery object indicating where to stop matching ancestor elements.</param>\n    ///   <param name=\"filter\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'password': function() {\n    /// <summary>Selects all elements of type password.</summary>\n  },\n  'position': function() {\n    /// <summary>Get the current coordinates of the first element in the set of matched elements, relative to the offset parent.</summary>\n    /// <returns type=\"Object\" />\n  },\n  'prepend': function() {\n    /// <signature>\n    ///   <summary>Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.</summary>\n    ///   <param name=\"content\" type=\"\">DOM element, array of elements, HTML string, or jQuery object to insert at the beginning of each element in the set of matched elements.</param>\n    ///   <param name=\"content\" type=\"\">One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the beginning of each element in the set of matched elements.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.</summary>\n    ///   <param name=\"function(index, html)\" type=\"Function\">A function that returns an HTML string, DOM element(s), or jQuery object to insert at the beginning of each element in the set of matched elements. Receives the index position of the element in the set and the old HTML value of the element as arguments. Within the function, this refers to the current element in the set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'prependTo': function() {\n    /// <signature>\n    ///   <summary>Insert every element in the set of matched elements to the beginning of the target.</summary>\n    ///   <param name=\"target\" type=\"\">A selector, element, HTML string, or jQuery object; the matched set of elements will be inserted at the beginning of the element(s) specified by this parameter.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'prev': function() {\n    /// <signature>\n    ///   <summary>Get the immediately preceding sibling of each element in the set of matched elements, optionally filtered by a selector.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'prevAll': function() {\n    /// <signature>\n    ///   <summary>Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'prevUntil': function() {\n    /// <signature>\n    ///   <summary>Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to indicate where to stop matching preceding sibling elements.</param>\n    ///   <param name=\"filter\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.</summary>\n    ///   <param name=\"element\" type=\"Element\">A DOM node or jQuery object indicating where to stop matching preceding sibling elements.</param>\n    ///   <param name=\"filter\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'promise': function() {\n    /// <signature>\n    ///   <summary>Return a Promise object to observe when all actions of a certain type bound to the collection, queued or not, have finished.</summary>\n    ///   <param name=\"type\" type=\"String\">The type of queue that needs to be observed.</param>\n    ///   <param name=\"target\" type=\"PlainObject\">Object onto which the promise methods have to be attached</param>\n    ///   <returns type=\"Promise\" />\n    /// </signature>\n  },\n  'prop': function() {\n    /// <signature>\n    ///   <summary>Set one or more properties for the set of matched elements.</summary>\n    ///   <param name=\"propertyName\" type=\"String\">The name of the property to set.</param>\n    ///   <param name=\"value\" type=\"\">A value to set for the property.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Set one or more properties for the set of matched elements.</summary>\n    ///   <param name=\"properties\" type=\"PlainObject\">An object of property-value pairs to set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Set one or more properties for the set of matched elements.</summary>\n    ///   <param name=\"propertyName\" type=\"String\">The name of the property to set.</param>\n    ///   <param name=\"function(index, oldPropertyValue)\" type=\"Function\">A function returning the value to set. Receives the index position of the element in the set and the old property value as arguments. Within the function, the keyword this refers to the current element.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'pushStack': function() {\n    /// <signature>\n    ///   <summary>Add a collection of DOM elements onto the jQuery stack.</summary>\n    ///   <param name=\"elements\" type=\"Array\">An array of elements to push onto the stack and make into a new jQuery object.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Add a collection of DOM elements onto the jQuery stack.</summary>\n    ///   <param name=\"elements\" type=\"Array\">An array of elements to push onto the stack and make into a new jQuery object.</param>\n    ///   <param name=\"name\" type=\"String\">The name of a jQuery method that generated the array of elements.</param>\n    ///   <param name=\"arguments\" type=\"Array\">The arguments that were passed in to the jQuery method (for serialization).</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'queue': function() {\n    /// <signature>\n    ///   <summary>Manipulate the queue of functions to be executed, once for each matched element.</summary>\n    ///   <param name=\"queueName\" type=\"String\">A string containing the name of the queue. Defaults to fx, the standard effects queue.</param>\n    ///   <param name=\"newQueue\" type=\"Array\">An array of functions to replace the current queue contents.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Manipulate the queue of functions to be executed, once for each matched element.</summary>\n    ///   <param name=\"queueName\" type=\"String\">A string containing the name of the queue. Defaults to fx, the standard effects queue.</param>\n    ///   <param name=\"callback( next )\" type=\"Function\">The new function to add to the queue, with a function to call that will dequeue the next item.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'radio': function() {\n    /// <summary>Selects all  elements of type radio.</summary>\n  },\n  'ready': function() {\n    /// <signature>\n    ///   <summary>Specify a function to execute when the DOM is fully loaded.</summary>\n    ///   <param name=\"handler\" type=\"Function\">A function to execute after the DOM is ready.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'remove': function() {\n    /// <signature>\n    ///   <summary>Remove the set of matched elements from the DOM.</summary>\n    ///   <param name=\"selector\" type=\"String\">A selector expression that filters the set of matched elements to be removed.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'removeAttr': function() {\n    /// <signature>\n    ///   <summary>Remove an attribute from each element in the set of matched elements.</summary>\n    ///   <param name=\"attributeName\" type=\"String\">An attribute to remove; as of version 1.7, it can be a space-separated list of attributes.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'removeClass': function() {\n    /// <signature>\n    ///   <summary>Remove a single class, multiple classes, or all classes from each element in the set of matched elements.</summary>\n    ///   <param name=\"className\" type=\"String\">One or more space-separated classes to be removed from the class attribute of each matched element.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Remove a single class, multiple classes, or all classes from each element in the set of matched elements.</summary>\n    ///   <param name=\"function(index, class)\" type=\"Function\">A function returning one or more space-separated class names to be removed. Receives the index position of the element in the set and the old class value as arguments.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'removeData': function() {\n    /// <signature>\n    ///   <summary>Remove a previously-stored piece of data.</summary>\n    ///   <param name=\"name\" type=\"String\">A string naming the piece of data to delete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Remove a previously-stored piece of data.</summary>\n    ///   <param name=\"list\" type=\"\">An array or space-separated string naming the pieces of data to delete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'removeProp': function() {\n    /// <signature>\n    ///   <summary>Remove a property for the set of matched elements.</summary>\n    ///   <param name=\"propertyName\" type=\"String\">The name of the property to remove.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'replaceAll': function() {\n    /// <signature>\n    ///   <summary>Replace each target element with the set of matched elements.</summary>\n    ///   <param name=\"target\" type=\"\">A selector string, jQuery object, or DOM element reference indicating which element(s) to replace.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'replaceWith': function() {\n    /// <signature>\n    ///   <summary>Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.</summary>\n    ///   <param name=\"newContent\" type=\"\">The content to insert. May be an HTML string, DOM element, or jQuery object.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.</summary>\n    ///   <param name=\"function\" type=\"Function\">A function that returns content with which to replace the set of matched elements.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'reset': function() {\n    /// <summary>Selects all elements of type reset.</summary>\n  },\n  'resize': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"resize\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"resize\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'root': function() {\n    /// <summary>Selects the element that is the root of the document.</summary>\n  },\n  'scroll': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"scroll\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"scroll\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'scrollLeft': function() {\n    /// <signature>\n    ///   <summary>Set the current horizontal position of the scroll bar for each of the set of matched elements.</summary>\n    ///   <param name=\"value\" type=\"Number\">An integer indicating the new position to set the scroll bar to.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'scrollTop': function() {\n    /// <signature>\n    ///   <summary>Set the current vertical position of the scroll bar for each of the set of matched elements.</summary>\n    ///   <param name=\"value\" type=\"Number\">An integer indicating the new position to set the scroll bar to.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'select': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"select\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"select\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'selected': function() {\n    /// <summary>Selects all elements that are selected.</summary>\n  },\n  'selector': function() {\n    /// <summary>A selector representing selector passed to jQuery(), if any, when creating the original set.</summary>\n    /// <returns type=\"String\" />\n  },\n  'serialize': function() {\n    /// <summary>Encode a set of form elements as a string for submission.</summary>\n    /// <returns type=\"String\" />\n  },\n  'serializeArray': function() {\n    /// <summary>Encode a set of form elements as an array of names and values.</summary>\n    /// <returns type=\"Array\" />\n  },\n  'show': function() {\n    /// <signature>\n    ///   <summary>Display the matched elements.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Display the matched elements.</summary>\n    ///   <param name=\"options\" type=\"PlainObject\">A map of additional options to pass to the method.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Display the matched elements.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"easing\" type=\"String\">A string indicating which easing function to use for the transition.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'siblings': function() {\n    /// <signature>\n    ///   <summary>Get the siblings of each element in the set of matched elements, optionally filtered by a selector.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression to match elements against.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'size': function() {\n    /// <summary>Return the number of elements in the jQuery object.</summary>\n    /// <returns type=\"Number\" />\n  },\n  'slice': function() {\n    /// <signature>\n    ///   <summary>Reduce the set of matched elements to a subset specified by a range of indices.</summary>\n    ///   <param name=\"start\" type=\"Number\">An integer indicating the 0-based position at which the elements begin to be selected. If negative, it indicates an offset from the end of the set.</param>\n    ///   <param name=\"end\" type=\"Number\">An integer indicating the 0-based position at which the elements stop being selected. If negative, it indicates an offset from the end of the set. If omitted, the range continues until the end of the set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'slideDown': function() {\n    /// <signature>\n    ///   <summary>Display the matched elements with a sliding motion.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Display the matched elements with a sliding motion.</summary>\n    ///   <param name=\"options\" type=\"PlainObject\">A map of additional options to pass to the method.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Display the matched elements with a sliding motion.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"easing\" type=\"String\">A string indicating which easing function to use for the transition.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'slideToggle': function() {\n    /// <signature>\n    ///   <summary>Display or hide the matched elements with a sliding motion.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Display or hide the matched elements with a sliding motion.</summary>\n    ///   <param name=\"options\" type=\"PlainObject\">A map of additional options to pass to the method.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Display or hide the matched elements with a sliding motion.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"easing\" type=\"String\">A string indicating which easing function to use for the transition.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'slideUp': function() {\n    /// <signature>\n    ///   <summary>Hide the matched elements with a sliding motion.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Hide the matched elements with a sliding motion.</summary>\n    ///   <param name=\"options\" type=\"PlainObject\">A map of additional options to pass to the method.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Hide the matched elements with a sliding motion.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"easing\" type=\"String\">A string indicating which easing function to use for the transition.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'stop': function() {\n    /// <signature>\n    ///   <summary>Stop the currently-running animation on the matched elements.</summary>\n    ///   <param name=\"clearQueue\" type=\"Boolean\">A Boolean indicating whether to remove queued animation as well. Defaults to false.</param>\n    ///   <param name=\"jumpToEnd\" type=\"Boolean\">A Boolean indicating whether to complete the current animation immediately. Defaults to false.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Stop the currently-running animation on the matched elements.</summary>\n    ///   <param name=\"queue\" type=\"String\">The name of the queue in which to stop animations.</param>\n    ///   <param name=\"clearQueue\" type=\"Boolean\">A Boolean indicating whether to remove queued animation as well. Defaults to false.</param>\n    ///   <param name=\"jumpToEnd\" type=\"Boolean\">A Boolean indicating whether to complete the current animation immediately. Defaults to false.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'submit': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"submit\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"submit\" JavaScript event, or trigger that event on an element.</summary>\n    ///   <param name=\"eventData\" type=\"PlainObject\">An object containing data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'target': function() {\n    /// <summary>Selects the target element indicated by the fragment identifier of the document's URI.</summary>\n  },\n  'text': function() {\n    /// <signature>\n    ///   <summary>Set the content of each element in the set of matched elements to the specified text.</summary>\n    ///   <param name=\"textString\" type=\"String\">A string of text to set as the content of each matched element.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Set the content of each element in the set of matched elements to the specified text.</summary>\n    ///   <param name=\"function(index, text)\" type=\"Function\">A function returning the text content to set. Receives the index position of the element in the set and the old text value as arguments.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'toArray': function() {\n    /// <summary>Retrieve all the DOM elements contained in the jQuery set, as an array.</summary>\n    /// <returns type=\"Array\" />\n  },\n  'toggle': function() {\n    /// <signature>\n    ///   <summary>Display or hide the matched elements.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Display or hide the matched elements.</summary>\n    ///   <param name=\"options\" type=\"PlainObject\">A map of additional options to pass to the method.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Display or hide the matched elements.</summary>\n    ///   <param name=\"duration\" type=\"\">A string or number determining how long the animation will run.</param>\n    ///   <param name=\"easing\" type=\"String\">A string indicating which easing function to use for the transition.</param>\n    ///   <param name=\"complete\" type=\"Function\">A function to call once the animation is complete.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Display or hide the matched elements.</summary>\n    ///   <param name=\"showOrHide\" type=\"Boolean\">A Boolean indicating whether to show or hide the elements.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'toggleClass': function() {\n    /// <signature>\n    ///   <summary>Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.</summary>\n    ///   <param name=\"className\" type=\"String\">One or more class names (separated by spaces) to be toggled for each element in the matched set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.</summary>\n    ///   <param name=\"className\" type=\"String\">One or more class names (separated by spaces) to be toggled for each element in the matched set.</param>\n    ///   <param name=\"switch\" type=\"Boolean\">A Boolean (not just truthy/falsy) value to determine whether the class should be added or removed.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.</summary>\n    ///   <param name=\"switch\" type=\"Boolean\">A boolean value to determine whether the class should be added or removed.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.</summary>\n    ///   <param name=\"function(index, class, switch)\" type=\"Function\">A function that returns class names to be toggled in the class attribute of each element in the matched set. Receives the index position of the element in the set, the old class value, and the switch as arguments.</param>\n    ///   <param name=\"switch\" type=\"Boolean\">A boolean value to determine whether the class should be added or removed.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'trigger': function() {\n    /// <signature>\n    ///   <summary>Execute all handlers and behaviors attached to the matched elements for the given event type.</summary>\n    ///   <param name=\"eventType\" type=\"String\">A string containing a JavaScript event type, such as click or submit.</param>\n    ///   <param name=\"extraParameters\" type=\"\">Additional parameters to pass along to the event handler.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Execute all handlers and behaviors attached to the matched elements for the given event type.</summary>\n    ///   <param name=\"event\" type=\"Event\">A jQuery.Event object.</param>\n    ///   <param name=\"extraParameters\" type=\"\">Additional parameters to pass along to the event handler.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'triggerHandler': function() {\n    /// <signature>\n    ///   <summary>Execute all handlers attached to an element for an event.</summary>\n    ///   <param name=\"eventType\" type=\"String\">A string containing a JavaScript event type, such as click or submit.</param>\n    ///   <param name=\"extraParameters\" type=\"Array\">An array of additional parameters to pass along to the event handler.</param>\n    ///   <returns type=\"Object\" />\n    /// </signature>\n  },\n  'unbind': function() {\n    /// <signature>\n    ///   <summary>Remove a previously-attached event handler from the elements.</summary>\n    ///   <param name=\"eventType\" type=\"String\">A string containing a JavaScript event type, such as click or submit.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">The function that is to be no longer executed.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Remove a previously-attached event handler from the elements.</summary>\n    ///   <param name=\"eventType\" type=\"String\">A string containing a JavaScript event type, such as click or submit.</param>\n    ///   <param name=\"false\" type=\"Boolean\">Unbinds the corresponding 'return false' function that was bound using .bind( eventType, false ).</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Remove a previously-attached event handler from the elements.</summary>\n    ///   <param name=\"event\" type=\"Object\">A JavaScript event object as passed to an event handler.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'undelegate': function() {\n    /// <signature>\n    ///   <summary>Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.</summary>\n    ///   <param name=\"selector\" type=\"String\">A selector which will be used to filter the event results.</param>\n    ///   <param name=\"eventType\" type=\"String\">A string containing a JavaScript event type, such as \"click\" or \"keydown\"</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.</summary>\n    ///   <param name=\"selector\" type=\"String\">A selector which will be used to filter the event results.</param>\n    ///   <param name=\"eventType\" type=\"String\">A string containing a JavaScript event type, such as \"click\" or \"keydown\"</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute at the time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.</summary>\n    ///   <param name=\"selector\" type=\"String\">A selector which will be used to filter the event results.</param>\n    ///   <param name=\"events\" type=\"PlainObject\">An object of one or more event types and previously bound functions to unbind from them.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.</summary>\n    ///   <param name=\"namespace\" type=\"String\">A string containing a namespace to unbind all events from.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'unload': function() {\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"unload\" JavaScript event.</summary>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute when the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Bind an event handler to the \"unload\" JavaScript event.</summary>\n    ///   <param name=\"eventData\" type=\"Object\">A plain object of data that will be passed to the event handler.</param>\n    ///   <param name=\"handler(eventObject)\" type=\"Function\">A function to execute each time the event is triggered.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'unwrap': function() {\n    /// <summary>Remove the parents of the set of matched elements from the DOM, leaving the matched elements in their place.</summary>\n    /// <returns type=\"jQuery\" />\n  },\n  'val': function() {\n    /// <signature>\n    ///   <summary>Set the value of each element in the set of matched elements.</summary>\n    ///   <param name=\"value\" type=\"\">A string of text or an array of strings corresponding to the value of each matched element to set as selected/checked.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Set the value of each element in the set of matched elements.</summary>\n    ///   <param name=\"function(index, value)\" type=\"Function\">A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as arguments.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'visible': function() {\n    /// <summary>Selects all elements that are visible.</summary>\n  },\n  'width': function() {\n    /// <signature>\n    ///   <summary>Set the CSS width of each element in the set of matched elements.</summary>\n    ///   <param name=\"value\" type=\"\">An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Set the CSS width of each element in the set of matched elements.</summary>\n    ///   <param name=\"function(index, width)\" type=\"Function\">A function returning the width to set. Receives the index position of the element in the set and the old width as arguments. Within the function, this refers to the current element in the set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'wrap': function() {\n    /// <signature>\n    ///   <summary>Wrap an HTML structure around each element in the set of matched elements.</summary>\n    ///   <param name=\"wrappingElement\" type=\"\">A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Wrap an HTML structure around each element in the set of matched elements.</summary>\n    ///   <param name=\"function(index)\" type=\"Function\">A callback function returning the HTML content or jQuery object to wrap around the matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'wrapAll': function() {\n    /// <signature>\n    ///   <summary>Wrap an HTML structure around all elements in the set of matched elements.</summary>\n    ///   <param name=\"wrappingElement\" type=\"\">A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n  'wrapInner': function() {\n    /// <signature>\n    ///   <summary>Wrap an HTML structure around the content of each element in the set of matched elements.</summary>\n    ///   <param name=\"wrappingElement\" type=\"String\">An HTML snippet, selector expression, jQuery object, or DOM element specifying the structure to wrap around the content of the matched elements.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Wrap an HTML structure around the content of each element in the set of matched elements.</summary>\n    ///   <param name=\"function(index)\" type=\"Function\">A callback function which generates a structure to wrap around the content of the matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n});\n\nintellisense.annotate(window, {\n  '$': function() {\n    /// <signature>\n    ///   <summary>Accepts a string containing a CSS selector which is then used to match a set of elements.</summary>\n    ///   <param name=\"selector\" type=\"String\">A string containing a selector expression</param>\n    ///   <param name=\"context\" type=\"\">A DOM Element, Document, or jQuery to use as context</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Accepts a string containing a CSS selector which is then used to match a set of elements.</summary>\n    ///   <param name=\"element\" type=\"Element\">A DOM element to wrap in a jQuery object.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Accepts a string containing a CSS selector which is then used to match a set of elements.</summary>\n    ///   <param name=\"elementArray\" type=\"Array\">An array containing a set of DOM elements to wrap in a jQuery object.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Accepts a string containing a CSS selector which is then used to match a set of elements.</summary>\n    ///   <param name=\"object\" type=\"PlainObject\">A plain object to wrap in a jQuery object.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n    /// <signature>\n    ///   <summary>Accepts a string containing a CSS selector which is then used to match a set of elements.</summary>\n    ///   <param name=\"jQuery object\" type=\"PlainObject\">An existing jQuery object to clone.</param>\n    ///   <returns type=\"jQuery\" />\n    /// </signature>\n  },\n});\n\n"
  },
  {
    "path": "Samples/Simple/Reinforced.Typings.Samples.Simple.Quickstart/Scripts/jquery-2.1.4.js",
    "content": "/*!\n * jQuery JavaScript Library v2.1.4\n * http://jquery.com/\n *\n * Includes Sizzle.js\n * http://sizzlejs.com/\n *\n * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors\n * Released under the MIT license\n * http://jquery.org/license\n *\n * Date: 2015-04-28T16:01Z\n */\n\n(function( global, factory ) {\n\n\tif ( typeof module === \"object\" && typeof module.exports === \"object\" ) {\n\t\t// For CommonJS and CommonJS-like environments where a proper `window`\n\t\t// is present, execute the factory and get jQuery.\n\t\t// For environments that do not have a `window` with a `document`\n\t\t// (such as Node.js), expose a factory as module.exports.\n\t\t// This accentuates the need for the creation of a real `window`.\n\t\t// e.g. var jQuery = require(\"jquery\")(window);\n\t\t// See ticket #14549 for more info.\n\t\tmodule.exports = global.document ?\n\t\t\tfactory( global, true ) :\n\t\t\tfunction( w ) {\n\t\t\t\tif ( !w.document ) {\n\t\t\t\t\tthrow new Error( \"jQuery requires a window with a document\" );\n\t\t\t\t}\n\t\t\t\treturn factory( w );\n\t\t\t};\n\t} else {\n\t\tfactory( global );\n\t}\n\n// Pass this if window is not defined yet\n}(typeof window !== \"undefined\" ? window : this, function( window, noGlobal ) {\n\n// Support: Firefox 18+\n// Can't be in strict mode, several libs including ASP.NET trace\n// the stack via arguments.caller.callee and Firefox dies if\n// you try to trace through \"use strict\" call chains. (#13335)\n//\n\nvar arr = [];\n\nvar slice = arr.slice;\n\nvar concat = arr.concat;\n\nvar push = arr.push;\n\nvar indexOf = arr.indexOf;\n\nvar class2type = {};\n\nvar toString = class2type.toString;\n\nvar hasOwn = class2type.hasOwnProperty;\n\nvar support = {};\n\n\n\nvar\n\t// Use the correct document accordingly with window argument (sandbox)\n\tdocument = window.document,\n\n\tversion = \"2.1.4\",\n\n\t// Define a local copy of jQuery\n\tjQuery = function( selector, context ) {\n\t\t// The jQuery object is actually just the init constructor 'enhanced'\n\t\t// Need init if jQuery is called (just allow error to be thrown if not included)\n\t\treturn new jQuery.fn.init( selector, context );\n\t},\n\n\t// Support: Android<4.1\n\t// Make sure we trim BOM and NBSP\n\trtrim = /^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g,\n\n\t// Matches dashed string for camelizing\n\trmsPrefix = /^-ms-/,\n\trdashAlpha = /-([\\da-z])/gi,\n\n\t// Used by jQuery.camelCase as callback to replace()\n\tfcamelCase = function( all, letter ) {\n\t\treturn letter.toUpperCase();\n\t};\n\njQuery.fn = jQuery.prototype = {\n\t// The current version of jQuery being used\n\tjquery: version,\n\n\tconstructor: jQuery,\n\n\t// Start with an empty selector\n\tselector: \"\",\n\n\t// The default length of a jQuery object is 0\n\tlength: 0,\n\n\ttoArray: function() {\n\t\treturn slice.call( this );\n\t},\n\n\t// Get the Nth element in the matched element set OR\n\t// Get the whole matched element set as a clean array\n\tget: function( num ) {\n\t\treturn num != null ?\n\n\t\t\t// Return just the one element from the set\n\t\t\t( num < 0 ? this[ num + this.length ] : this[ num ] ) :\n\n\t\t\t// Return all the elements in a clean array\n\t\t\tslice.call( this );\n\t},\n\n\t// Take an array of elements and push it onto the stack\n\t// (returning the new matched element set)\n\tpushStack: function( elems ) {\n\n\t\t// Build a new jQuery matched element set\n\t\tvar ret = jQuery.merge( this.constructor(), elems );\n\n\t\t// Add the old object onto the stack (as a reference)\n\t\tret.prevObject = this;\n\t\tret.context = this.context;\n\n\t\t// Return the newly-formed element set\n\t\treturn ret;\n\t},\n\n\t// Execute a callback for every element in the matched set.\n\t// (You can seed the arguments with an array of args, but this is\n\t// only used internally.)\n\teach: function( callback, args ) {\n\t\treturn jQuery.each( this, callback, args );\n\t},\n\n\tmap: function( callback ) {\n\t\treturn this.pushStack( jQuery.map(this, function( elem, i ) {\n\t\t\treturn callback.call( elem, i, elem );\n\t\t}));\n\t},\n\n\tslice: function() {\n\t\treturn this.pushStack( slice.apply( this, arguments ) );\n\t},\n\n\tfirst: function() {\n\t\treturn this.eq( 0 );\n\t},\n\n\tlast: function() {\n\t\treturn this.eq( -1 );\n\t},\n\n\teq: function( i ) {\n\t\tvar len = this.length,\n\t\t\tj = +i + ( i < 0 ? len : 0 );\n\t\treturn this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] );\n\t},\n\n\tend: function() {\n\t\treturn this.prevObject || this.constructor(null);\n\t},\n\n\t// For internal use only.\n\t// Behaves like an Array's method, not like a jQuery method.\n\tpush: push,\n\tsort: arr.sort,\n\tsplice: arr.splice\n};\n\njQuery.extend = jQuery.fn.extend = function() {\n\tvar options, name, src, copy, copyIsArray, clone,\n\t\ttarget = arguments[0] || {},\n\t\ti = 1,\n\t\tlength = arguments.length,\n\t\tdeep = false;\n\n\t// Handle a deep copy situation\n\tif ( typeof target === \"boolean\" ) {\n\t\tdeep = target;\n\n\t\t// Skip the boolean and the target\n\t\ttarget = arguments[ i ] || {};\n\t\ti++;\n\t}\n\n\t// Handle case when target is a string or something (possible in deep copy)\n\tif ( typeof target !== \"object\" && !jQuery.isFunction(target) ) {\n\t\ttarget = {};\n\t}\n\n\t// Extend jQuery itself if only one argument is passed\n\tif ( i === length ) {\n\t\ttarget = this;\n\t\ti--;\n\t}\n\n\tfor ( ; i < length; i++ ) {\n\t\t// Only deal with non-null/undefined values\n\t\tif ( (options = arguments[ i ]) != null ) {\n\t\t\t// Extend the base object\n\t\t\tfor ( name in options ) {\n\t\t\t\tsrc = target[ name ];\n\t\t\t\tcopy = options[ name ];\n\n\t\t\t\t// Prevent never-ending loop\n\t\t\t\tif ( target === copy ) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// Recurse if we're merging plain objects or arrays\n\t\t\t\tif ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) {\n\t\t\t\t\tif ( copyIsArray ) {\n\t\t\t\t\t\tcopyIsArray = false;\n\t\t\t\t\t\tclone = src && jQuery.isArray(src) ? src : [];\n\n\t\t\t\t\t} else {\n\t\t\t\t\t\tclone = src && jQuery.isPlainObject(src) ? src : {};\n\t\t\t\t\t}\n\n\t\t\t\t\t// Never move original objects, clone them\n\t\t\t\t\ttarget[ name ] = jQuery.extend( deep, clone, copy );\n\n\t\t\t\t// Don't bring in undefined values\n\t\t\t\t} else if ( copy !== undefined ) {\n\t\t\t\t\ttarget[ name ] = copy;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Return the modified object\n\treturn target;\n};\n\njQuery.extend({\n\t// Unique for each copy of jQuery on the page\n\texpando: \"jQuery\" + ( version + Math.random() ).replace( /\\D/g, \"\" ),\n\n\t// Assume jQuery is ready without the ready module\n\tisReady: true,\n\n\terror: function( msg ) {\n\t\tthrow new Error( msg );\n\t},\n\n\tnoop: function() {},\n\n\tisFunction: function( obj ) {\n\t\treturn jQuery.type(obj) === \"function\";\n\t},\n\n\tisArray: Array.isArray,\n\n\tisWindow: function( obj ) {\n\t\treturn obj != null && obj === obj.window;\n\t},\n\n\tisNumeric: function( obj ) {\n\t\t// parseFloat NaNs numeric-cast false positives (null|true|false|\"\")\n\t\t// ...but misinterprets leading-number strings, particularly hex literals (\"0x...\")\n\t\t// subtraction forces infinities to NaN\n\t\t// adding 1 corrects loss of precision from parseFloat (#15100)\n\t\treturn !jQuery.isArray( obj ) && (obj - parseFloat( obj ) + 1) >= 0;\n\t},\n\n\tisPlainObject: function( obj ) {\n\t\t// Not plain objects:\n\t\t// - Any object or value whose internal [[Class]] property is not \"[object Object]\"\n\t\t// - DOM nodes\n\t\t// - window\n\t\tif ( jQuery.type( obj ) !== \"object\" || obj.nodeType || jQuery.isWindow( obj ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tif ( obj.constructor &&\n\t\t\t\t!hasOwn.call( obj.constructor.prototype, \"isPrototypeOf\" ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// If the function hasn't returned already, we're confident that\n\t\t// |obj| is a plain object, created by {} or constructed with new Object\n\t\treturn true;\n\t},\n\n\tisEmptyObject: function( obj ) {\n\t\tvar name;\n\t\tfor ( name in obj ) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t},\n\n\ttype: function( obj ) {\n\t\tif ( obj == null ) {\n\t\t\treturn obj + \"\";\n\t\t}\n\t\t// Support: Android<4.0, iOS<6 (functionish RegExp)\n\t\treturn typeof obj === \"object\" || typeof obj === \"function\" ?\n\t\t\tclass2type[ toString.call(obj) ] || \"object\" :\n\t\t\ttypeof obj;\n\t},\n\n\t// Evaluates a script in a global context\n\tglobalEval: function( code ) {\n\t\tvar script,\n\t\t\tindirect = eval;\n\n\t\tcode = jQuery.trim( code );\n\n\t\tif ( code ) {\n\t\t\t// If the code includes a valid, prologue position\n\t\t\t// strict mode pragma, execute code by injecting a\n\t\t\t// script tag into the document.\n\t\t\tif ( code.indexOf(\"use strict\") === 1 ) {\n\t\t\t\tscript = document.createElement(\"script\");\n\t\t\t\tscript.text = code;\n\t\t\t\tdocument.head.appendChild( script ).parentNode.removeChild( script );\n\t\t\t} else {\n\t\t\t// Otherwise, avoid the DOM node creation, insertion\n\t\t\t// and removal by using an indirect global eval\n\t\t\t\tindirect( code );\n\t\t\t}\n\t\t}\n\t},\n\n\t// Convert dashed to camelCase; used by the css and data modules\n\t// Support: IE9-11+\n\t// Microsoft forgot to hump their vendor prefix (#9572)\n\tcamelCase: function( string ) {\n\t\treturn string.replace( rmsPrefix, \"ms-\" ).replace( rdashAlpha, fcamelCase );\n\t},\n\n\tnodeName: function( elem, name ) {\n\t\treturn elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();\n\t},\n\n\t// args is for internal usage only\n\teach: function( obj, callback, args ) {\n\t\tvar value,\n\t\t\ti = 0,\n\t\t\tlength = obj.length,\n\t\t\tisArray = isArraylike( obj );\n\n\t\tif ( args ) {\n\t\t\tif ( isArray ) {\n\t\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\t\tvalue = callback.apply( obj[ i ], args );\n\n\t\t\t\t\tif ( value === false ) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor ( i in obj ) {\n\t\t\t\t\tvalue = callback.apply( obj[ i ], args );\n\n\t\t\t\t\tif ( value === false ) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t// A special, fast, case for the most common use of each\n\t\t} else {\n\t\t\tif ( isArray ) {\n\t\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\t\tvalue = callback.call( obj[ i ], i, obj[ i ] );\n\n\t\t\t\t\tif ( value === false ) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor ( i in obj ) {\n\t\t\t\t\tvalue = callback.call( obj[ i ], i, obj[ i ] );\n\n\t\t\t\t\tif ( value === false ) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn obj;\n\t},\n\n\t// Support: Android<4.1\n\ttrim: function( text ) {\n\t\treturn text == null ?\n\t\t\t\"\" :\n\t\t\t( text + \"\" ).replace( rtrim, \"\" );\n\t},\n\n\t// results is for internal usage only\n\tmakeArray: function( arr, results ) {\n\t\tvar ret = results || [];\n\n\t\tif ( arr != null ) {\n\t\t\tif ( isArraylike( Object(arr) ) ) {\n\t\t\t\tjQuery.merge( ret,\n\t\t\t\t\ttypeof arr === \"string\" ?\n\t\t\t\t\t[ arr ] : arr\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tpush.call( ret, arr );\n\t\t\t}\n\t\t}\n\n\t\treturn ret;\n\t},\n\n\tinArray: function( elem, arr, i ) {\n\t\treturn arr == null ? -1 : indexOf.call( arr, elem, i );\n\t},\n\n\tmerge: function( first, second ) {\n\t\tvar len = +second.length,\n\t\t\tj = 0,\n\t\t\ti = first.length;\n\n\t\tfor ( ; j < len; j++ ) {\n\t\t\tfirst[ i++ ] = second[ j ];\n\t\t}\n\n\t\tfirst.length = i;\n\n\t\treturn first;\n\t},\n\n\tgrep: function( elems, callback, invert ) {\n\t\tvar callbackInverse,\n\t\t\tmatches = [],\n\t\t\ti = 0,\n\t\t\tlength = elems.length,\n\t\t\tcallbackExpect = !invert;\n\n\t\t// Go through the array, only saving the items\n\t\t// that pass the validator function\n\t\tfor ( ; i < length; i++ ) {\n\t\t\tcallbackInverse = !callback( elems[ i ], i );\n\t\t\tif ( callbackInverse !== callbackExpect ) {\n\t\t\t\tmatches.push( elems[ i ] );\n\t\t\t}\n\t\t}\n\n\t\treturn matches;\n\t},\n\n\t// arg is for internal usage only\n\tmap: function( elems, callback, arg ) {\n\t\tvar value,\n\t\t\ti = 0,\n\t\t\tlength = elems.length,\n\t\t\tisArray = isArraylike( elems ),\n\t\t\tret = [];\n\n\t\t// Go through the array, translating each of the items to their new values\n\t\tif ( isArray ) {\n\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\tvalue = callback( elems[ i ], i, arg );\n\n\t\t\t\tif ( value != null ) {\n\t\t\t\t\tret.push( value );\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Go through every key on the object,\n\t\t} else {\n\t\t\tfor ( i in elems ) {\n\t\t\t\tvalue = callback( elems[ i ], i, arg );\n\n\t\t\t\tif ( value != null ) {\n\t\t\t\t\tret.push( value );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Flatten any nested arrays\n\t\treturn concat.apply( [], ret );\n\t},\n\n\t// A global GUID counter for objects\n\tguid: 1,\n\n\t// Bind a function to a context, optionally partially applying any\n\t// arguments.\n\tproxy: function( fn, context ) {\n\t\tvar tmp, args, proxy;\n\n\t\tif ( typeof context === \"string\" ) {\n\t\t\ttmp = fn[ context ];\n\t\t\tcontext = fn;\n\t\t\tfn = tmp;\n\t\t}\n\n\t\t// Quick check to determine if target is callable, in the spec\n\t\t// this throws a TypeError, but we will just return undefined.\n\t\tif ( !jQuery.isFunction( fn ) ) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\t// Simulated bind\n\t\targs = slice.call( arguments, 2 );\n\t\tproxy = function() {\n\t\t\treturn fn.apply( context || this, args.concat( slice.call( arguments ) ) );\n\t\t};\n\n\t\t// Set the guid of unique handler to the same of original handler, so it can be removed\n\t\tproxy.guid = fn.guid = fn.guid || jQuery.guid++;\n\n\t\treturn proxy;\n\t},\n\n\tnow: Date.now,\n\n\t// jQuery.support is not used in Core but other projects attach their\n\t// properties to it so it needs to exist.\n\tsupport: support\n});\n\n// Populate the class2type map\njQuery.each(\"Boolean Number String Function Array Date RegExp Object Error\".split(\" \"), function(i, name) {\n\tclass2type[ \"[object \" + name + \"]\" ] = name.toLowerCase();\n});\n\nfunction isArraylike( obj ) {\n\n\t// Support: iOS 8.2 (not reproducible in simulator)\n\t// `in` check used to prevent JIT error (gh-2145)\n\t// hasOwn isn't used here due to false negatives\n\t// regarding Nodelist length in IE\n\tvar length = \"length\" in obj && obj.length,\n\t\ttype = jQuery.type( obj );\n\n\tif ( type === \"function\" || jQuery.isWindow( obj ) ) {\n\t\treturn false;\n\t}\n\n\tif ( obj.nodeType === 1 && length ) {\n\t\treturn true;\n\t}\n\n\treturn type === \"array\" || length === 0 ||\n\t\ttypeof length === \"number\" && length > 0 && ( length - 1 ) in obj;\n}\nvar Sizzle =\n/*!\n * Sizzle CSS Selector Engine v2.2.0-pre\n * http://sizzlejs.com/\n *\n * Copyright 2008, 2014 jQuery Foundation, Inc. and other contributors\n * Released under the MIT license\n * http://jquery.org/license\n *\n * Date: 2014-12-16\n */\n(function( window ) {\n\nvar i,\n\tsupport,\n\tExpr,\n\tgetText,\n\tisXML,\n\ttokenize,\n\tcompile,\n\tselect,\n\toutermostContext,\n\tsortInput,\n\thasDuplicate,\n\n\t// Local document vars\n\tsetDocument,\n\tdocument,\n\tdocElem,\n\tdocumentIsHTML,\n\trbuggyQSA,\n\trbuggyMatches,\n\tmatches,\n\tcontains,\n\n\t// Instance-specific data\n\texpando = \"sizzle\" + 1 * new Date(),\n\tpreferredDoc = window.document,\n\tdirruns = 0,\n\tdone = 0,\n\tclassCache = createCache(),\n\ttokenCache = createCache(),\n\tcompilerCache = createCache(),\n\tsortOrder = function( a, b ) {\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t}\n\t\treturn 0;\n\t},\n\n\t// General-purpose constants\n\tMAX_NEGATIVE = 1 << 31,\n\n\t// Instance methods\n\thasOwn = ({}).hasOwnProperty,\n\tarr = [],\n\tpop = arr.pop,\n\tpush_native = arr.push,\n\tpush = arr.push,\n\tslice = arr.slice,\n\t// Use a stripped-down indexOf as it's faster than native\n\t// http://jsperf.com/thor-indexof-vs-for/5\n\tindexOf = function( list, elem ) {\n\t\tvar i = 0,\n\t\t\tlen = list.length;\n\t\tfor ( ; i < len; i++ ) {\n\t\t\tif ( list[i] === elem ) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t},\n\n\tbooleans = \"checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped\",\n\n\t// Regular expressions\n\n\t// Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace\n\twhitespace = \"[\\\\x20\\\\t\\\\r\\\\n\\\\f]\",\n\t// http://www.w3.org/TR/css3-syntax/#characters\n\tcharacterEncoding = \"(?:\\\\\\\\.|[\\\\w-]|[^\\\\x00-\\\\xa0])+\",\n\n\t// Loosely modeled on CSS identifier characters\n\t// An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors\n\t// Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier\n\tidentifier = characterEncoding.replace( \"w\", \"w#\" ),\n\n\t// Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors\n\tattributes = \"\\\\[\" + whitespace + \"*(\" + characterEncoding + \")(?:\" + whitespace +\n\t\t// Operator (capture 2)\n\t\t\"*([*^$|!~]?=)\" + whitespace +\n\t\t// \"Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]\"\n\t\t\"*(?:'((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\"|(\" + identifier + \"))|)\" + whitespace +\n\t\t\"*\\\\]\",\n\n\tpseudos = \":(\" + characterEncoding + \")(?:\\\\((\" +\n\t\t// To reduce the number of selectors needing tokenize in the preFilter, prefer arguments:\n\t\t// 1. quoted (capture 3; capture 4 or capture 5)\n\t\t\"('((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\")|\" +\n\t\t// 2. simple (capture 6)\n\t\t\"((?:\\\\\\\\.|[^\\\\\\\\()[\\\\]]|\" + attributes + \")*)|\" +\n\t\t// 3. anything else (capture 2)\n\t\t\".*\" +\n\t\t\")\\\\)|)\",\n\n\t// Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter\n\trwhitespace = new RegExp( whitespace + \"+\", \"g\" ),\n\trtrim = new RegExp( \"^\" + whitespace + \"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)\" + whitespace + \"+$\", \"g\" ),\n\n\trcomma = new RegExp( \"^\" + whitespace + \"*,\" + whitespace + \"*\" ),\n\trcombinators = new RegExp( \"^\" + whitespace + \"*([>+~]|\" + whitespace + \")\" + whitespace + \"*\" ),\n\n\trattributeQuotes = new RegExp( \"=\" + whitespace + \"*([^\\\\]'\\\"]*?)\" + whitespace + \"*\\\\]\", \"g\" ),\n\n\trpseudo = new RegExp( pseudos ),\n\tridentifier = new RegExp( \"^\" + identifier + \"$\" ),\n\n\tmatchExpr = {\n\t\t\"ID\": new RegExp( \"^#(\" + characterEncoding + \")\" ),\n\t\t\"CLASS\": new RegExp( \"^\\\\.(\" + characterEncoding + \")\" ),\n\t\t\"TAG\": new RegExp( \"^(\" + characterEncoding.replace( \"w\", \"w*\" ) + \")\" ),\n\t\t\"ATTR\": new RegExp( \"^\" + attributes ),\n\t\t\"PSEUDO\": new RegExp( \"^\" + pseudos ),\n\t\t\"CHILD\": new RegExp( \"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\" + whitespace +\n\t\t\t\"*(even|odd|(([+-]|)(\\\\d*)n|)\" + whitespace + \"*(?:([+-]|)\" + whitespace +\n\t\t\t\"*(\\\\d+)|))\" + whitespace + \"*\\\\)|)\", \"i\" ),\n\t\t\"bool\": new RegExp( \"^(?:\" + booleans + \")$\", \"i\" ),\n\t\t// For use in libraries implementing .is()\n\t\t// We use this for POS matching in `select`\n\t\t\"needsContext\": new RegExp( \"^\" + whitespace + \"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\" +\n\t\t\twhitespace + \"*((?:-\\\\d)?\\\\d*)\" + whitespace + \"*\\\\)|)(?=[^-]|$)\", \"i\" )\n\t},\n\n\trinputs = /^(?:input|select|textarea|button)$/i,\n\trheader = /^h\\d$/i,\n\n\trnative = /^[^{]+\\{\\s*\\[native \\w/,\n\n\t// Easily-parseable/retrievable ID or TAG or CLASS selectors\n\trquickExpr = /^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,\n\n\trsibling = /[+~]/,\n\trescape = /'|\\\\/g,\n\n\t// CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters\n\trunescape = new RegExp( \"\\\\\\\\([\\\\da-f]{1,6}\" + whitespace + \"?|(\" + whitespace + \")|.)\", \"ig\" ),\n\tfunescape = function( _, escaped, escapedWhitespace ) {\n\t\tvar high = \"0x\" + escaped - 0x10000;\n\t\t// NaN means non-codepoint\n\t\t// Support: Firefox<24\n\t\t// Workaround erroneous numeric interpretation of +\"0x\"\n\t\treturn high !== high || escapedWhitespace ?\n\t\t\tescaped :\n\t\t\thigh < 0 ?\n\t\t\t\t// BMP codepoint\n\t\t\t\tString.fromCharCode( high + 0x10000 ) :\n\t\t\t\t// Supplemental Plane codepoint (surrogate pair)\n\t\t\t\tString.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 );\n\t},\n\n\t// Used for iframes\n\t// See setDocument()\n\t// Removing the function wrapper causes a \"Permission Denied\"\n\t// error in IE\n\tunloadHandler = function() {\n\t\tsetDocument();\n\t};\n\n// Optimize for push.apply( _, NodeList )\ntry {\n\tpush.apply(\n\t\t(arr = slice.call( preferredDoc.childNodes )),\n\t\tpreferredDoc.childNodes\n\t);\n\t// Support: Android<4.0\n\t// Detect silently failing push.apply\n\tarr[ preferredDoc.childNodes.length ].nodeType;\n} catch ( e ) {\n\tpush = { apply: arr.length ?\n\n\t\t// Leverage slice if possible\n\t\tfunction( target, els ) {\n\t\t\tpush_native.apply( target, slice.call(els) );\n\t\t} :\n\n\t\t// Support: IE<9\n\t\t// Otherwise append directly\n\t\tfunction( target, els ) {\n\t\t\tvar j = target.length,\n\t\t\t\ti = 0;\n\t\t\t// Can't trust NodeList.length\n\t\t\twhile ( (target[j++] = els[i++]) ) {}\n\t\t\ttarget.length = j - 1;\n\t\t}\n\t};\n}\n\nfunction Sizzle( selector, context, results, seed ) {\n\tvar match, elem, m, nodeType,\n\t\t// QSA vars\n\t\ti, groups, old, nid, newContext, newSelector;\n\n\tif ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) {\n\t\tsetDocument( context );\n\t}\n\n\tcontext = context || document;\n\tresults = results || [];\n\tnodeType = context.nodeType;\n\n\tif ( typeof selector !== \"string\" || !selector ||\n\t\tnodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) {\n\n\t\treturn results;\n\t}\n\n\tif ( !seed && documentIsHTML ) {\n\n\t\t// Try to shortcut find operations when possible (e.g., not under DocumentFragment)\n\t\tif ( nodeType !== 11 && (match = rquickExpr.exec( selector )) ) {\n\t\t\t// Speed-up: Sizzle(\"#ID\")\n\t\t\tif ( (m = match[1]) ) {\n\t\t\t\tif ( nodeType === 9 ) {\n\t\t\t\t\telem = context.getElementById( m );\n\t\t\t\t\t// Check parentNode to catch when Blackberry 4.6 returns\n\t\t\t\t\t// nodes that are no longer in the document (jQuery #6963)\n\t\t\t\t\tif ( elem && elem.parentNode ) {\n\t\t\t\t\t\t// Handle the case where IE, Opera, and Webkit return items\n\t\t\t\t\t\t// by name instead of ID\n\t\t\t\t\t\tif ( elem.id === m ) {\n\t\t\t\t\t\t\tresults.push( elem );\n\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn results;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t// Context is not a document\n\t\t\t\t\tif ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) &&\n\t\t\t\t\t\tcontains( context, elem ) && elem.id === m ) {\n\t\t\t\t\t\tresults.push( elem );\n\t\t\t\t\t\treturn results;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t// Speed-up: Sizzle(\"TAG\")\n\t\t\t} else if ( match[2] ) {\n\t\t\t\tpush.apply( results, context.getElementsByTagName( selector ) );\n\t\t\t\treturn results;\n\n\t\t\t// Speed-up: Sizzle(\".CLASS\")\n\t\t\t} else if ( (m = match[3]) && support.getElementsByClassName ) {\n\t\t\t\tpush.apply( results, context.getElementsByClassName( m ) );\n\t\t\t\treturn results;\n\t\t\t}\n\t\t}\n\n\t\t// QSA path\n\t\tif ( support.qsa && (!rbuggyQSA || !rbuggyQSA.test( selector )) ) {\n\t\t\tnid = old = expando;\n\t\t\tnewContext = context;\n\t\t\tnewSelector = nodeType !== 1 && selector;\n\n\t\t\t// qSA works strangely on Element-rooted queries\n\t\t\t// We can work around this by specifying an extra ID on the root\n\t\t\t// and working up from there (Thanks to Andrew Dupont for the technique)\n\t\t\t// IE 8 doesn't work on object elements\n\t\t\tif ( nodeType === 1 && context.nodeName.toLowerCase() !== \"object\" ) {\n\t\t\t\tgroups = tokenize( selector );\n\n\t\t\t\tif ( (old = context.getAttribute(\"id\")) ) {\n\t\t\t\t\tnid = old.replace( rescape, \"\\\\$&\" );\n\t\t\t\t} else {\n\t\t\t\t\tcontext.setAttribute( \"id\", nid );\n\t\t\t\t}\n\t\t\t\tnid = \"[id='\" + nid + \"'] \";\n\n\t\t\t\ti = groups.length;\n\t\t\t\twhile ( i-- ) {\n\t\t\t\t\tgroups[i] = nid + toSelector( groups[i] );\n\t\t\t\t}\n\t\t\t\tnewContext = rsibling.test( selector ) && testContext( context.parentNode ) || context;\n\t\t\t\tnewSelector = groups.join(\",\");\n\t\t\t}\n\n\t\t\tif ( newSelector ) {\n\t\t\t\ttry {\n\t\t\t\t\tpush.apply( results,\n\t\t\t\t\t\tnewContext.querySelectorAll( newSelector )\n\t\t\t\t\t);\n\t\t\t\t\treturn results;\n\t\t\t\t} catch(qsaError) {\n\t\t\t\t} finally {\n\t\t\t\t\tif ( !old ) {\n\t\t\t\t\t\tcontext.removeAttribute(\"id\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// All others\n\treturn select( selector.replace( rtrim, \"$1\" ), context, results, seed );\n}\n\n/**\n * Create key-value caches of limited size\n * @returns {Function(string, Object)} Returns the Object data after storing it on itself with\n *\tproperty name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)\n *\tdeleting the oldest entry\n */\nfunction createCache() {\n\tvar keys = [];\n\n\tfunction cache( key, value ) {\n\t\t// Use (key + \" \") to avoid collision with native prototype properties (see Issue #157)\n\t\tif ( keys.push( key + \" \" ) > Expr.cacheLength ) {\n\t\t\t// Only keep the most recent entries\n\t\t\tdelete cache[ keys.shift() ];\n\t\t}\n\t\treturn (cache[ key + \" \" ] = value);\n\t}\n\treturn cache;\n}\n\n/**\n * Mark a function for special use by Sizzle\n * @param {Function} fn The function to mark\n */\nfunction markFunction( fn ) {\n\tfn[ expando ] = true;\n\treturn fn;\n}\n\n/**\n * Support testing using an element\n * @param {Function} fn Passed the created div and expects a boolean result\n */\nfunction assert( fn ) {\n\tvar div = document.createElement(\"div\");\n\n\ttry {\n\t\treturn !!fn( div );\n\t} catch (e) {\n\t\treturn false;\n\t} finally {\n\t\t// Remove from its parent by default\n\t\tif ( div.parentNode ) {\n\t\t\tdiv.parentNode.removeChild( div );\n\t\t}\n\t\t// release memory in IE\n\t\tdiv = null;\n\t}\n}\n\n/**\n * Adds the same handler for all of the specified attrs\n * @param {String} attrs Pipe-separated list of attributes\n * @param {Function} handler The method that will be applied\n */\nfunction addHandle( attrs, handler ) {\n\tvar arr = attrs.split(\"|\"),\n\t\ti = attrs.length;\n\n\twhile ( i-- ) {\n\t\tExpr.attrHandle[ arr[i] ] = handler;\n\t}\n}\n\n/**\n * Checks document order of two siblings\n * @param {Element} a\n * @param {Element} b\n * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b\n */\nfunction siblingCheck( a, b ) {\n\tvar cur = b && a,\n\t\tdiff = cur && a.nodeType === 1 && b.nodeType === 1 &&\n\t\t\t( ~b.sourceIndex || MAX_NEGATIVE ) -\n\t\t\t( ~a.sourceIndex || MAX_NEGATIVE );\n\n\t// Use IE sourceIndex if available on both nodes\n\tif ( diff ) {\n\t\treturn diff;\n\t}\n\n\t// Check if b follows a\n\tif ( cur ) {\n\t\twhile ( (cur = cur.nextSibling) ) {\n\t\t\tif ( cur === b ) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t}\n\t}\n\n\treturn a ? 1 : -1;\n}\n\n/**\n * Returns a function to use in pseudos for input types\n * @param {String} type\n */\nfunction createInputPseudo( type ) {\n\treturn function( elem ) {\n\t\tvar name = elem.nodeName.toLowerCase();\n\t\treturn name === \"input\" && elem.type === type;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for buttons\n * @param {String} type\n */\nfunction createButtonPseudo( type ) {\n\treturn function( elem ) {\n\t\tvar name = elem.nodeName.toLowerCase();\n\t\treturn (name === \"input\" || name === \"button\") && elem.type === type;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for positionals\n * @param {Function} fn\n */\nfunction createPositionalPseudo( fn ) {\n\treturn markFunction(function( argument ) {\n\t\targument = +argument;\n\t\treturn markFunction(function( seed, matches ) {\n\t\t\tvar j,\n\t\t\t\tmatchIndexes = fn( [], seed.length, argument ),\n\t\t\t\ti = matchIndexes.length;\n\n\t\t\t// Match elements found at the specified indexes\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( seed[ (j = matchIndexes[i]) ] ) {\n\t\t\t\t\tseed[j] = !(matches[j] = seed[j]);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t});\n}\n\n/**\n * Checks a node for validity as a Sizzle context\n * @param {Element|Object=} context\n * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value\n */\nfunction testContext( context ) {\n\treturn context && typeof context.getElementsByTagName !== \"undefined\" && context;\n}\n\n// Expose support vars for convenience\nsupport = Sizzle.support = {};\n\n/**\n * Detects XML nodes\n * @param {Element|Object} elem An element or a document\n * @returns {Boolean} True iff elem is a non-HTML XML node\n */\nisXML = Sizzle.isXML = function( elem ) {\n\t// documentElement is verified for cases where it doesn't yet exist\n\t// (such as loading iframes in IE - #4833)\n\tvar documentElement = elem && (elem.ownerDocument || elem).documentElement;\n\treturn documentElement ? documentElement.nodeName !== \"HTML\" : false;\n};\n\n/**\n * Sets document-related variables once based on the current document\n * @param {Element|Object} [doc] An element or document object to use to set the document\n * @returns {Object} Returns the current document\n */\nsetDocument = Sizzle.setDocument = function( node ) {\n\tvar hasCompare, parent,\n\t\tdoc = node ? node.ownerDocument || node : preferredDoc;\n\n\t// If no document and documentElement is available, return\n\tif ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) {\n\t\treturn document;\n\t}\n\n\t// Set our document\n\tdocument = doc;\n\tdocElem = doc.documentElement;\n\tparent = doc.defaultView;\n\n\t// Support: IE>8\n\t// If iframe document is assigned to \"document\" variable and if iframe has been reloaded,\n\t// IE will throw \"permission denied\" error when accessing \"document\" variable, see jQuery #13936\n\t// IE6-8 do not support the defaultView property so parent will be undefined\n\tif ( parent && parent !== parent.top ) {\n\t\t// IE11 does not have attachEvent, so all must suffer\n\t\tif ( parent.addEventListener ) {\n\t\t\tparent.addEventListener( \"unload\", unloadHandler, false );\n\t\t} else if ( parent.attachEvent ) {\n\t\t\tparent.attachEvent( \"onunload\", unloadHandler );\n\t\t}\n\t}\n\n\t/* Support tests\n\t---------------------------------------------------------------------- */\n\tdocumentIsHTML = !isXML( doc );\n\n\t/* Attributes\n\t---------------------------------------------------------------------- */\n\n\t// Support: IE<8\n\t// Verify that getAttribute really returns attributes and not properties\n\t// (excepting IE8 booleans)\n\tsupport.attributes = assert(function( div ) {\n\t\tdiv.className = \"i\";\n\t\treturn !div.getAttribute(\"className\");\n\t});\n\n\t/* getElement(s)By*\n\t---------------------------------------------------------------------- */\n\n\t// Check if getElementsByTagName(\"*\") returns only elements\n\tsupport.getElementsByTagName = assert(function( div ) {\n\t\tdiv.appendChild( doc.createComment(\"\") );\n\t\treturn !div.getElementsByTagName(\"*\").length;\n\t});\n\n\t// Support: IE<9\n\tsupport.getElementsByClassName = rnative.test( doc.getElementsByClassName );\n\n\t// Support: IE<10\n\t// Check if getElementById returns elements by name\n\t// The broken getElementById methods don't pick up programatically-set names,\n\t// so use a roundabout getElementsByName test\n\tsupport.getById = assert(function( div ) {\n\t\tdocElem.appendChild( div ).id = expando;\n\t\treturn !doc.getElementsByName || !doc.getElementsByName( expando ).length;\n\t});\n\n\t// ID find and filter\n\tif ( support.getById ) {\n\t\tExpr.find[\"ID\"] = function( id, context ) {\n\t\t\tif ( typeof context.getElementById !== \"undefined\" && documentIsHTML ) {\n\t\t\t\tvar m = context.getElementById( id );\n\t\t\t\t// Check parentNode to catch when Blackberry 4.6 returns\n\t\t\t\t// nodes that are no longer in the document #6963\n\t\t\t\treturn m && m.parentNode ? [ m ] : [];\n\t\t\t}\n\t\t};\n\t\tExpr.filter[\"ID\"] = function( id ) {\n\t\t\tvar attrId = id.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\treturn elem.getAttribute(\"id\") === attrId;\n\t\t\t};\n\t\t};\n\t} else {\n\t\t// Support: IE6/7\n\t\t// getElementById is not reliable as a find shortcut\n\t\tdelete Expr.find[\"ID\"];\n\n\t\tExpr.filter[\"ID\"] =  function( id ) {\n\t\t\tvar attrId = id.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\tvar node = typeof elem.getAttributeNode !== \"undefined\" && elem.getAttributeNode(\"id\");\n\t\t\t\treturn node && node.value === attrId;\n\t\t\t};\n\t\t};\n\t}\n\n\t// Tag\n\tExpr.find[\"TAG\"] = support.getElementsByTagName ?\n\t\tfunction( tag, context ) {\n\t\t\tif ( typeof context.getElementsByTagName !== \"undefined\" ) {\n\t\t\t\treturn context.getElementsByTagName( tag );\n\n\t\t\t// DocumentFragment nodes don't have gEBTN\n\t\t\t} else if ( support.qsa ) {\n\t\t\t\treturn context.querySelectorAll( tag );\n\t\t\t}\n\t\t} :\n\n\t\tfunction( tag, context ) {\n\t\t\tvar elem,\n\t\t\t\ttmp = [],\n\t\t\t\ti = 0,\n\t\t\t\t// By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too\n\t\t\t\tresults = context.getElementsByTagName( tag );\n\n\t\t\t// Filter out possible comments\n\t\t\tif ( tag === \"*\" ) {\n\t\t\t\twhile ( (elem = results[i++]) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 ) {\n\t\t\t\t\t\ttmp.push( elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn tmp;\n\t\t\t}\n\t\t\treturn results;\n\t\t};\n\n\t// Class\n\tExpr.find[\"CLASS\"] = support.getElementsByClassName && function( className, context ) {\n\t\tif ( documentIsHTML ) {\n\t\t\treturn context.getElementsByClassName( className );\n\t\t}\n\t};\n\n\t/* QSA/matchesSelector\n\t---------------------------------------------------------------------- */\n\n\t// QSA and matchesSelector support\n\n\t// matchesSelector(:active) reports false when true (IE9/Opera 11.5)\n\trbuggyMatches = [];\n\n\t// qSa(:focus) reports false when true (Chrome 21)\n\t// We allow this because of a bug in IE8/9 that throws an error\n\t// whenever `document.activeElement` is accessed on an iframe\n\t// So, we allow :focus to pass through QSA all the time to avoid the IE error\n\t// See http://bugs.jquery.com/ticket/13378\n\trbuggyQSA = [];\n\n\tif ( (support.qsa = rnative.test( doc.querySelectorAll )) ) {\n\t\t// Build QSA regex\n\t\t// Regex strategy adopted from Diego Perini\n\t\tassert(function( div ) {\n\t\t\t// Select is set to empty string on purpose\n\t\t\t// This is to test IE's treatment of not explicitly\n\t\t\t// setting a boolean content attribute,\n\t\t\t// since its presence should be enough\n\t\t\t// http://bugs.jquery.com/ticket/12359\n\t\t\tdocElem.appendChild( div ).innerHTML = \"<a id='\" + expando + \"'></a>\" +\n\t\t\t\t\"<select id='\" + expando + \"-\\f]' msallowcapture=''>\" +\n\t\t\t\t\"<option selected=''></option></select>\";\n\n\t\t\t// Support: IE8, Opera 11-12.16\n\t\t\t// Nothing should be selected when empty strings follow ^= or $= or *=\n\t\t\t// The test attribute must be unknown in Opera but \"safe\" for WinRT\n\t\t\t// http://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section\n\t\t\tif ( div.querySelectorAll(\"[msallowcapture^='']\").length ) {\n\t\t\t\trbuggyQSA.push( \"[*^$]=\" + whitespace + \"*(?:''|\\\"\\\")\" );\n\t\t\t}\n\n\t\t\t// Support: IE8\n\t\t\t// Boolean attributes and \"value\" are not treated correctly\n\t\t\tif ( !div.querySelectorAll(\"[selected]\").length ) {\n\t\t\t\trbuggyQSA.push( \"\\\\[\" + whitespace + \"*(?:value|\" + booleans + \")\" );\n\t\t\t}\n\n\t\t\t// Support: Chrome<29, Android<4.2+, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.7+\n\t\t\tif ( !div.querySelectorAll( \"[id~=\" + expando + \"-]\" ).length ) {\n\t\t\t\trbuggyQSA.push(\"~=\");\n\t\t\t}\n\n\t\t\t// Webkit/Opera - :checked should return selected option elements\n\t\t\t// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked\n\t\t\t// IE8 throws error here and will not see later tests\n\t\t\tif ( !div.querySelectorAll(\":checked\").length ) {\n\t\t\t\trbuggyQSA.push(\":checked\");\n\t\t\t}\n\n\t\t\t// Support: Safari 8+, iOS 8+\n\t\t\t// https://bugs.webkit.org/show_bug.cgi?id=136851\n\t\t\t// In-page `selector#id sibing-combinator selector` fails\n\t\t\tif ( !div.querySelectorAll( \"a#\" + expando + \"+*\" ).length ) {\n\t\t\t\trbuggyQSA.push(\".#.+[+~]\");\n\t\t\t}\n\t\t});\n\n\t\tassert(function( div ) {\n\t\t\t// Support: Windows 8 Native Apps\n\t\t\t// The type and name attributes are restricted during .innerHTML assignment\n\t\t\tvar input = doc.createElement(\"input\");\n\t\t\tinput.setAttribute( \"type\", \"hidden\" );\n\t\t\tdiv.appendChild( input ).setAttribute( \"name\", \"D\" );\n\n\t\t\t// Support: IE8\n\t\t\t// Enforce case-sensitivity of name attribute\n\t\t\tif ( div.querySelectorAll(\"[name=d]\").length ) {\n\t\t\t\trbuggyQSA.push( \"name\" + whitespace + \"*[*^$|!~]?=\" );\n\t\t\t}\n\n\t\t\t// FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled)\n\t\t\t// IE8 throws error here and will not see later tests\n\t\t\tif ( !div.querySelectorAll(\":enabled\").length ) {\n\t\t\t\trbuggyQSA.push( \":enabled\", \":disabled\" );\n\t\t\t}\n\n\t\t\t// Opera 10-11 does not throw on post-comma invalid pseudos\n\t\t\tdiv.querySelectorAll(\"*,:x\");\n\t\t\trbuggyQSA.push(\",.*:\");\n\t\t});\n\t}\n\n\tif ( (support.matchesSelector = rnative.test( (matches = docElem.matches ||\n\t\tdocElem.webkitMatchesSelector ||\n\t\tdocElem.mozMatchesSelector ||\n\t\tdocElem.oMatchesSelector ||\n\t\tdocElem.msMatchesSelector) )) ) {\n\n\t\tassert(function( div ) {\n\t\t\t// Check to see if it's possible to do matchesSelector\n\t\t\t// on a disconnected node (IE 9)\n\t\t\tsupport.disconnectedMatch = matches.call( div, \"div\" );\n\n\t\t\t// This should fail with an exception\n\t\t\t// Gecko does not error, returns false instead\n\t\t\tmatches.call( div, \"[s!='']:x\" );\n\t\t\trbuggyMatches.push( \"!=\", pseudos );\n\t\t});\n\t}\n\n\trbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join(\"|\") );\n\trbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join(\"|\") );\n\n\t/* Contains\n\t---------------------------------------------------------------------- */\n\thasCompare = rnative.test( docElem.compareDocumentPosition );\n\n\t// Element contains another\n\t// Purposefully does not implement inclusive descendent\n\t// As in, an element does not contain itself\n\tcontains = hasCompare || rnative.test( docElem.contains ) ?\n\t\tfunction( a, b ) {\n\t\t\tvar adown = a.nodeType === 9 ? a.documentElement : a,\n\t\t\t\tbup = b && b.parentNode;\n\t\t\treturn a === bup || !!( bup && bup.nodeType === 1 && (\n\t\t\t\tadown.contains ?\n\t\t\t\t\tadown.contains( bup ) :\n\t\t\t\t\ta.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16\n\t\t\t));\n\t\t} :\n\t\tfunction( a, b ) {\n\t\t\tif ( b ) {\n\t\t\t\twhile ( (b = b.parentNode) ) {\n\t\t\t\t\tif ( b === a ) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n\n\t/* Sorting\n\t---------------------------------------------------------------------- */\n\n\t// Document order sorting\n\tsortOrder = hasCompare ?\n\tfunction( a, b ) {\n\n\t\t// Flag for duplicate removal\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t\treturn 0;\n\t\t}\n\n\t\t// Sort on method existence if only one input has compareDocumentPosition\n\t\tvar compare = !a.compareDocumentPosition - !b.compareDocumentPosition;\n\t\tif ( compare ) {\n\t\t\treturn compare;\n\t\t}\n\n\t\t// Calculate position if both inputs belong to the same document\n\t\tcompare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ?\n\t\t\ta.compareDocumentPosition( b ) :\n\n\t\t\t// Otherwise we know they are disconnected\n\t\t\t1;\n\n\t\t// Disconnected nodes\n\t\tif ( compare & 1 ||\n\t\t\t(!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) {\n\n\t\t\t// Choose the first element that is related to our preferred document\n\t\t\tif ( a === doc || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tif ( b === doc || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) {\n\t\t\t\treturn 1;\n\t\t\t}\n\n\t\t\t// Maintain original order\n\t\t\treturn sortInput ?\n\t\t\t\t( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) :\n\t\t\t\t0;\n\t\t}\n\n\t\treturn compare & 4 ? -1 : 1;\n\t} :\n\tfunction( a, b ) {\n\t\t// Exit early if the nodes are identical\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t\treturn 0;\n\t\t}\n\n\t\tvar cur,\n\t\t\ti = 0,\n\t\t\taup = a.parentNode,\n\t\t\tbup = b.parentNode,\n\t\t\tap = [ a ],\n\t\t\tbp = [ b ];\n\n\t\t// Parentless nodes are either documents or disconnected\n\t\tif ( !aup || !bup ) {\n\t\t\treturn a === doc ? -1 :\n\t\t\t\tb === doc ? 1 :\n\t\t\t\taup ? -1 :\n\t\t\t\tbup ? 1 :\n\t\t\t\tsortInput ?\n\t\t\t\t( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) :\n\t\t\t\t0;\n\n\t\t// If the nodes are siblings, we can do a quick check\n\t\t} else if ( aup === bup ) {\n\t\t\treturn siblingCheck( a, b );\n\t\t}\n\n\t\t// Otherwise we need full lists of their ancestors for comparison\n\t\tcur = a;\n\t\twhile ( (cur = cur.parentNode) ) {\n\t\t\tap.unshift( cur );\n\t\t}\n\t\tcur = b;\n\t\twhile ( (cur = cur.parentNode) ) {\n\t\t\tbp.unshift( cur );\n\t\t}\n\n\t\t// Walk down the tree looking for a discrepancy\n\t\twhile ( ap[i] === bp[i] ) {\n\t\t\ti++;\n\t\t}\n\n\t\treturn i ?\n\t\t\t// Do a sibling check if the nodes have a common ancestor\n\t\t\tsiblingCheck( ap[i], bp[i] ) :\n\n\t\t\t// Otherwise nodes in our document sort first\n\t\t\tap[i] === preferredDoc ? -1 :\n\t\t\tbp[i] === preferredDoc ? 1 :\n\t\t\t0;\n\t};\n\n\treturn doc;\n};\n\nSizzle.matches = function( expr, elements ) {\n\treturn Sizzle( expr, null, null, elements );\n};\n\nSizzle.matchesSelector = function( elem, expr ) {\n\t// Set document vars if needed\n\tif ( ( elem.ownerDocument || elem ) !== document ) {\n\t\tsetDocument( elem );\n\t}\n\n\t// Make sure that attribute selectors are quoted\n\texpr = expr.replace( rattributeQuotes, \"='$1']\" );\n\n\tif ( support.matchesSelector && documentIsHTML &&\n\t\t( !rbuggyMatches || !rbuggyMatches.test( expr ) ) &&\n\t\t( !rbuggyQSA     || !rbuggyQSA.test( expr ) ) ) {\n\n\t\ttry {\n\t\t\tvar ret = matches.call( elem, expr );\n\n\t\t\t// IE 9's matchesSelector returns false on disconnected nodes\n\t\t\tif ( ret || support.disconnectedMatch ||\n\t\t\t\t\t// As well, disconnected nodes are said to be in a document\n\t\t\t\t\t// fragment in IE 9\n\t\t\t\t\telem.document && elem.document.nodeType !== 11 ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\t\t} catch (e) {}\n\t}\n\n\treturn Sizzle( expr, document, null, [ elem ] ).length > 0;\n};\n\nSizzle.contains = function( context, elem ) {\n\t// Set document vars if needed\n\tif ( ( context.ownerDocument || context ) !== document ) {\n\t\tsetDocument( context );\n\t}\n\treturn contains( context, elem );\n};\n\nSizzle.attr = function( elem, name ) {\n\t// Set document vars if needed\n\tif ( ( elem.ownerDocument || elem ) !== document ) {\n\t\tsetDocument( elem );\n\t}\n\n\tvar fn = Expr.attrHandle[ name.toLowerCase() ],\n\t\t// Don't get fooled by Object.prototype properties (jQuery #13807)\n\t\tval = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ?\n\t\t\tfn( elem, name, !documentIsHTML ) :\n\t\t\tundefined;\n\n\treturn val !== undefined ?\n\t\tval :\n\t\tsupport.attributes || !documentIsHTML ?\n\t\t\telem.getAttribute( name ) :\n\t\t\t(val = elem.getAttributeNode(name)) && val.specified ?\n\t\t\t\tval.value :\n\t\t\t\tnull;\n};\n\nSizzle.error = function( msg ) {\n\tthrow new Error( \"Syntax error, unrecognized expression: \" + msg );\n};\n\n/**\n * Document sorting and removing duplicates\n * @param {ArrayLike} results\n */\nSizzle.uniqueSort = function( results ) {\n\tvar elem,\n\t\tduplicates = [],\n\t\tj = 0,\n\t\ti = 0;\n\n\t// Unless we *know* we can detect duplicates, assume their presence\n\thasDuplicate = !support.detectDuplicates;\n\tsortInput = !support.sortStable && results.slice( 0 );\n\tresults.sort( sortOrder );\n\n\tif ( hasDuplicate ) {\n\t\twhile ( (elem = results[i++]) ) {\n\t\t\tif ( elem === results[ i ] ) {\n\t\t\t\tj = duplicates.push( i );\n\t\t\t}\n\t\t}\n\t\twhile ( j-- ) {\n\t\t\tresults.splice( duplicates[ j ], 1 );\n\t\t}\n\t}\n\n\t// Clear input after sorting to release objects\n\t// See https://github.com/jquery/sizzle/pull/225\n\tsortInput = null;\n\n\treturn results;\n};\n\n/**\n * Utility function for retrieving the text value of an array of DOM nodes\n * @param {Array|Element} elem\n */\ngetText = Sizzle.getText = function( elem ) {\n\tvar node,\n\t\tret = \"\",\n\t\ti = 0,\n\t\tnodeType = elem.nodeType;\n\n\tif ( !nodeType ) {\n\t\t// If no nodeType, this is expected to be an array\n\t\twhile ( (node = elem[i++]) ) {\n\t\t\t// Do not traverse comment nodes\n\t\t\tret += getText( node );\n\t\t}\n\t} else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) {\n\t\t// Use textContent for elements\n\t\t// innerText usage removed for consistency of new lines (jQuery #11153)\n\t\tif ( typeof elem.textContent === \"string\" ) {\n\t\t\treturn elem.textContent;\n\t\t} else {\n\t\t\t// Traverse its children\n\t\t\tfor ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {\n\t\t\t\tret += getText( elem );\n\t\t\t}\n\t\t}\n\t} else if ( nodeType === 3 || nodeType === 4 ) {\n\t\treturn elem.nodeValue;\n\t}\n\t// Do not include comment or processing instruction nodes\n\n\treturn ret;\n};\n\nExpr = Sizzle.selectors = {\n\n\t// Can be adjusted by the user\n\tcacheLength: 50,\n\n\tcreatePseudo: markFunction,\n\n\tmatch: matchExpr,\n\n\tattrHandle: {},\n\n\tfind: {},\n\n\trelative: {\n\t\t\">\": { dir: \"parentNode\", first: true },\n\t\t\" \": { dir: \"parentNode\" },\n\t\t\"+\": { dir: \"previousSibling\", first: true },\n\t\t\"~\": { dir: \"previousSibling\" }\n\t},\n\n\tpreFilter: {\n\t\t\"ATTR\": function( match ) {\n\t\t\tmatch[1] = match[1].replace( runescape, funescape );\n\n\t\t\t// Move the given value to match[3] whether quoted or unquoted\n\t\t\tmatch[3] = ( match[3] || match[4] || match[5] || \"\" ).replace( runescape, funescape );\n\n\t\t\tif ( match[2] === \"~=\" ) {\n\t\t\t\tmatch[3] = \" \" + match[3] + \" \";\n\t\t\t}\n\n\t\t\treturn match.slice( 0, 4 );\n\t\t},\n\n\t\t\"CHILD\": function( match ) {\n\t\t\t/* matches from matchExpr[\"CHILD\"]\n\t\t\t\t1 type (only|nth|...)\n\t\t\t\t2 what (child|of-type)\n\t\t\t\t3 argument (even|odd|\\d*|\\d*n([+-]\\d+)?|...)\n\t\t\t\t4 xn-component of xn+y argument ([+-]?\\d*n|)\n\t\t\t\t5 sign of xn-component\n\t\t\t\t6 x of xn-component\n\t\t\t\t7 sign of y-component\n\t\t\t\t8 y of y-component\n\t\t\t*/\n\t\t\tmatch[1] = match[1].toLowerCase();\n\n\t\t\tif ( match[1].slice( 0, 3 ) === \"nth\" ) {\n\t\t\t\t// nth-* requires argument\n\t\t\t\tif ( !match[3] ) {\n\t\t\t\t\tSizzle.error( match[0] );\n\t\t\t\t}\n\n\t\t\t\t// numeric x and y parameters for Expr.filter.CHILD\n\t\t\t\t// remember that false/true cast respectively to 0/1\n\t\t\t\tmatch[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === \"even\" || match[3] === \"odd\" ) );\n\t\t\t\tmatch[5] = +( ( match[7] + match[8] ) || match[3] === \"odd\" );\n\n\t\t\t// other types prohibit arguments\n\t\t\t} else if ( match[3] ) {\n\t\t\t\tSizzle.error( match[0] );\n\t\t\t}\n\n\t\t\treturn match;\n\t\t},\n\n\t\t\"PSEUDO\": function( match ) {\n\t\t\tvar excess,\n\t\t\t\tunquoted = !match[6] && match[2];\n\n\t\t\tif ( matchExpr[\"CHILD\"].test( match[0] ) ) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\t// Accept quoted arguments as-is\n\t\t\tif ( match[3] ) {\n\t\t\t\tmatch[2] = match[4] || match[5] || \"\";\n\n\t\t\t// Strip excess characters from unquoted arguments\n\t\t\t} else if ( unquoted && rpseudo.test( unquoted ) &&\n\t\t\t\t// Get excess from tokenize (recursively)\n\t\t\t\t(excess = tokenize( unquoted, true )) &&\n\t\t\t\t// advance to the next closing parenthesis\n\t\t\t\t(excess = unquoted.indexOf( \")\", unquoted.length - excess ) - unquoted.length) ) {\n\n\t\t\t\t// excess is a negative index\n\t\t\t\tmatch[0] = match[0].slice( 0, excess );\n\t\t\t\tmatch[2] = unquoted.slice( 0, excess );\n\t\t\t}\n\n\t\t\t// Return only captures needed by the pseudo filter method (type and argument)\n\t\t\treturn match.slice( 0, 3 );\n\t\t}\n\t},\n\n\tfilter: {\n\n\t\t\"TAG\": function( nodeNameSelector ) {\n\t\t\tvar nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase();\n\t\t\treturn nodeNameSelector === \"*\" ?\n\t\t\t\tfunction() { return true; } :\n\t\t\t\tfunction( elem ) {\n\t\t\t\t\treturn elem.nodeName && elem.nodeName.toLowerCase() === nodeName;\n\t\t\t\t};\n\t\t},\n\n\t\t\"CLASS\": function( className ) {\n\t\t\tvar pattern = classCache[ className + \" \" ];\n\n\t\t\treturn pattern ||\n\t\t\t\t(pattern = new RegExp( \"(^|\" + whitespace + \")\" + className + \"(\" + whitespace + \"|$)\" )) &&\n\t\t\t\tclassCache( className, function( elem ) {\n\t\t\t\t\treturn pattern.test( typeof elem.className === \"string\" && elem.className || typeof elem.getAttribute !== \"undefined\" && elem.getAttribute(\"class\") || \"\" );\n\t\t\t\t});\n\t\t},\n\n\t\t\"ATTR\": function( name, operator, check ) {\n\t\t\treturn function( elem ) {\n\t\t\t\tvar result = Sizzle.attr( elem, name );\n\n\t\t\t\tif ( result == null ) {\n\t\t\t\t\treturn operator === \"!=\";\n\t\t\t\t}\n\t\t\t\tif ( !operator ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\tresult += \"\";\n\n\t\t\t\treturn operator === \"=\" ? result === check :\n\t\t\t\t\toperator === \"!=\" ? result !== check :\n\t\t\t\t\toperator === \"^=\" ? check && result.indexOf( check ) === 0 :\n\t\t\t\t\toperator === \"*=\" ? check && result.indexOf( check ) > -1 :\n\t\t\t\t\toperator === \"$=\" ? check && result.slice( -check.length ) === check :\n\t\t\t\t\toperator === \"~=\" ? ( \" \" + result.replace( rwhitespace, \" \" ) + \" \" ).indexOf( check ) > -1 :\n\t\t\t\t\toperator === \"|=\" ? result === check || result.slice( 0, check.length + 1 ) === check + \"-\" :\n\t\t\t\t\tfalse;\n\t\t\t};\n\t\t},\n\n\t\t\"CHILD\": function( type, what, argument, first, last ) {\n\t\t\tvar simple = type.slice( 0, 3 ) !== \"nth\",\n\t\t\t\tforward = type.slice( -4 ) !== \"last\",\n\t\t\t\tofType = what === \"of-type\";\n\n\t\t\treturn first === 1 && last === 0 ?\n\n\t\t\t\t// Shortcut for :nth-*(n)\n\t\t\t\tfunction( elem ) {\n\t\t\t\t\treturn !!elem.parentNode;\n\t\t\t\t} :\n\n\t\t\t\tfunction( elem, context, xml ) {\n\t\t\t\t\tvar cache, outerCache, node, diff, nodeIndex, start,\n\t\t\t\t\t\tdir = simple !== forward ? \"nextSibling\" : \"previousSibling\",\n\t\t\t\t\t\tparent = elem.parentNode,\n\t\t\t\t\t\tname = ofType && elem.nodeName.toLowerCase(),\n\t\t\t\t\t\tuseCache = !xml && !ofType;\n\n\t\t\t\t\tif ( parent ) {\n\n\t\t\t\t\t\t// :(first|last|only)-(child|of-type)\n\t\t\t\t\t\tif ( simple ) {\n\t\t\t\t\t\t\twhile ( dir ) {\n\t\t\t\t\t\t\t\tnode = elem;\n\t\t\t\t\t\t\t\twhile ( (node = node[ dir ]) ) {\n\t\t\t\t\t\t\t\t\tif ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) {\n\t\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t// Reverse direction for :only-* (if we haven't yet done so)\n\t\t\t\t\t\t\t\tstart = dir = type === \"only\" && !start && \"nextSibling\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tstart = [ forward ? parent.firstChild : parent.lastChild ];\n\n\t\t\t\t\t\t// non-xml :nth-child(...) stores cache data on `parent`\n\t\t\t\t\t\tif ( forward && useCache ) {\n\t\t\t\t\t\t\t// Seek `elem` from a previously-cached index\n\t\t\t\t\t\t\touterCache = parent[ expando ] || (parent[ expando ] = {});\n\t\t\t\t\t\t\tcache = outerCache[ type ] || [];\n\t\t\t\t\t\t\tnodeIndex = cache[0] === dirruns && cache[1];\n\t\t\t\t\t\t\tdiff = cache[0] === dirruns && cache[2];\n\t\t\t\t\t\t\tnode = nodeIndex && parent.childNodes[ nodeIndex ];\n\n\t\t\t\t\t\t\twhile ( (node = ++nodeIndex && node && node[ dir ] ||\n\n\t\t\t\t\t\t\t\t// Fallback to seeking `elem` from the start\n\t\t\t\t\t\t\t\t(diff = nodeIndex = 0) || start.pop()) ) {\n\n\t\t\t\t\t\t\t\t// When found, cache indexes on `parent` and break\n\t\t\t\t\t\t\t\tif ( node.nodeType === 1 && ++diff && node === elem ) {\n\t\t\t\t\t\t\t\t\touterCache[ type ] = [ dirruns, nodeIndex, diff ];\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Use previously-cached element index if available\n\t\t\t\t\t\t} else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) {\n\t\t\t\t\t\t\tdiff = cache[1];\n\n\t\t\t\t\t\t// xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...)\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// Use the same loop as above to seek `elem` from the start\n\t\t\t\t\t\t\twhile ( (node = ++nodeIndex && node && node[ dir ] ||\n\t\t\t\t\t\t\t\t(diff = nodeIndex = 0) || start.pop()) ) {\n\n\t\t\t\t\t\t\t\tif ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) {\n\t\t\t\t\t\t\t\t\t// Cache the index of each encountered element\n\t\t\t\t\t\t\t\t\tif ( useCache ) {\n\t\t\t\t\t\t\t\t\t\t(node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ];\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\tif ( node === elem ) {\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Incorporate the offset, then check against cycle size\n\t\t\t\t\t\tdiff -= last;\n\t\t\t\t\t\treturn diff === first || ( diff % first === 0 && diff / first >= 0 );\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t},\n\n\t\t\"PSEUDO\": function( pseudo, argument ) {\n\t\t\t// pseudo-class names are case-insensitive\n\t\t\t// http://www.w3.org/TR/selectors/#pseudo-classes\n\t\t\t// Prioritize by case sensitivity in case custom pseudos are added with uppercase letters\n\t\t\t// Remember that setFilters inherits from pseudos\n\t\t\tvar args,\n\t\t\t\tfn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] ||\n\t\t\t\t\tSizzle.error( \"unsupported pseudo: \" + pseudo );\n\n\t\t\t// The user may use createPseudo to indicate that\n\t\t\t// arguments are needed to create the filter function\n\t\t\t// just as Sizzle does\n\t\t\tif ( fn[ expando ] ) {\n\t\t\t\treturn fn( argument );\n\t\t\t}\n\n\t\t\t// But maintain support for old signatures\n\t\t\tif ( fn.length > 1 ) {\n\t\t\t\targs = [ pseudo, pseudo, \"\", argument ];\n\t\t\t\treturn Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ?\n\t\t\t\t\tmarkFunction(function( seed, matches ) {\n\t\t\t\t\t\tvar idx,\n\t\t\t\t\t\t\tmatched = fn( seed, argument ),\n\t\t\t\t\t\t\ti = matched.length;\n\t\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\t\tidx = indexOf( seed, matched[i] );\n\t\t\t\t\t\t\tseed[ idx ] = !( matches[ idx ] = matched[i] );\n\t\t\t\t\t\t}\n\t\t\t\t\t}) :\n\t\t\t\t\tfunction( elem ) {\n\t\t\t\t\t\treturn fn( elem, 0, args );\n\t\t\t\t\t};\n\t\t\t}\n\n\t\t\treturn fn;\n\t\t}\n\t},\n\n\tpseudos: {\n\t\t// Potentially complex pseudos\n\t\t\"not\": markFunction(function( selector ) {\n\t\t\t// Trim the selector passed to compile\n\t\t\t// to avoid treating leading and trailing\n\t\t\t// spaces as combinators\n\t\t\tvar input = [],\n\t\t\t\tresults = [],\n\t\t\t\tmatcher = compile( selector.replace( rtrim, \"$1\" ) );\n\n\t\t\treturn matcher[ expando ] ?\n\t\t\t\tmarkFunction(function( seed, matches, context, xml ) {\n\t\t\t\t\tvar elem,\n\t\t\t\t\t\tunmatched = matcher( seed, null, xml, [] ),\n\t\t\t\t\t\ti = seed.length;\n\n\t\t\t\t\t// Match elements unmatched by `matcher`\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tif ( (elem = unmatched[i]) ) {\n\t\t\t\t\t\t\tseed[i] = !(matches[i] = elem);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}) :\n\t\t\t\tfunction( elem, context, xml ) {\n\t\t\t\t\tinput[0] = elem;\n\t\t\t\t\tmatcher( input, null, xml, results );\n\t\t\t\t\t// Don't keep the element (issue #299)\n\t\t\t\t\tinput[0] = null;\n\t\t\t\t\treturn !results.pop();\n\t\t\t\t};\n\t\t}),\n\n\t\t\"has\": markFunction(function( selector ) {\n\t\t\treturn function( elem ) {\n\t\t\t\treturn Sizzle( selector, elem ).length > 0;\n\t\t\t};\n\t\t}),\n\n\t\t\"contains\": markFunction(function( text ) {\n\t\t\ttext = text.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\treturn ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1;\n\t\t\t};\n\t\t}),\n\n\t\t// \"Whether an element is represented by a :lang() selector\n\t\t// is based solely on the element's language value\n\t\t// being equal to the identifier C,\n\t\t// or beginning with the identifier C immediately followed by \"-\".\n\t\t// The matching of C against the element's language value is performed case-insensitively.\n\t\t// The identifier C does not have to be a valid language name.\"\n\t\t// http://www.w3.org/TR/selectors/#lang-pseudo\n\t\t\"lang\": markFunction( function( lang ) {\n\t\t\t// lang value must be a valid identifier\n\t\t\tif ( !ridentifier.test(lang || \"\") ) {\n\t\t\t\tSizzle.error( \"unsupported lang: \" + lang );\n\t\t\t}\n\t\t\tlang = lang.replace( runescape, funescape ).toLowerCase();\n\t\t\treturn function( elem ) {\n\t\t\t\tvar elemLang;\n\t\t\t\tdo {\n\t\t\t\t\tif ( (elemLang = documentIsHTML ?\n\t\t\t\t\t\telem.lang :\n\t\t\t\t\t\telem.getAttribute(\"xml:lang\") || elem.getAttribute(\"lang\")) ) {\n\n\t\t\t\t\t\telemLang = elemLang.toLowerCase();\n\t\t\t\t\t\treturn elemLang === lang || elemLang.indexOf( lang + \"-\" ) === 0;\n\t\t\t\t\t}\n\t\t\t\t} while ( (elem = elem.parentNode) && elem.nodeType === 1 );\n\t\t\t\treturn false;\n\t\t\t};\n\t\t}),\n\n\t\t// Miscellaneous\n\t\t\"target\": function( elem ) {\n\t\t\tvar hash = window.location && window.location.hash;\n\t\t\treturn hash && hash.slice( 1 ) === elem.id;\n\t\t},\n\n\t\t\"root\": function( elem ) {\n\t\t\treturn elem === docElem;\n\t\t},\n\n\t\t\"focus\": function( elem ) {\n\t\t\treturn elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex);\n\t\t},\n\n\t\t// Boolean properties\n\t\t\"enabled\": function( elem ) {\n\t\t\treturn elem.disabled === false;\n\t\t},\n\n\t\t\"disabled\": function( elem ) {\n\t\t\treturn elem.disabled === true;\n\t\t},\n\n\t\t\"checked\": function( elem ) {\n\t\t\t// In CSS3, :checked should return both checked and selected elements\n\t\t\t// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked\n\t\t\tvar nodeName = elem.nodeName.toLowerCase();\n\t\t\treturn (nodeName === \"input\" && !!elem.checked) || (nodeName === \"option\" && !!elem.selected);\n\t\t},\n\n\t\t\"selected\": function( elem ) {\n\t\t\t// Accessing this property makes selected-by-default\n\t\t\t// options in Safari work properly\n\t\t\tif ( elem.parentNode ) {\n\t\t\t\telem.parentNode.selectedIndex;\n\t\t\t}\n\n\t\t\treturn elem.selected === true;\n\t\t},\n\n\t\t// Contents\n\t\t\"empty\": function( elem ) {\n\t\t\t// http://www.w3.org/TR/selectors/#empty-pseudo\n\t\t\t// :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),\n\t\t\t//   but not by others (comment: 8; processing instruction: 7; etc.)\n\t\t\t// nodeType < 6 works because attributes (2) do not appear as children\n\t\t\tfor ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {\n\t\t\t\tif ( elem.nodeType < 6 ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t},\n\n\t\t\"parent\": function( elem ) {\n\t\t\treturn !Expr.pseudos[\"empty\"]( elem );\n\t\t},\n\n\t\t// Element/input types\n\t\t\"header\": function( elem ) {\n\t\t\treturn rheader.test( elem.nodeName );\n\t\t},\n\n\t\t\"input\": function( elem ) {\n\t\t\treturn rinputs.test( elem.nodeName );\n\t\t},\n\n\t\t\"button\": function( elem ) {\n\t\t\tvar name = elem.nodeName.toLowerCase();\n\t\t\treturn name === \"input\" && elem.type === \"button\" || name === \"button\";\n\t\t},\n\n\t\t\"text\": function( elem ) {\n\t\t\tvar attr;\n\t\t\treturn elem.nodeName.toLowerCase() === \"input\" &&\n\t\t\t\telem.type === \"text\" &&\n\n\t\t\t\t// Support: IE<8\n\t\t\t\t// New HTML5 attribute values (e.g., \"search\") appear with elem.type === \"text\"\n\t\t\t\t( (attr = elem.getAttribute(\"type\")) == null || attr.toLowerCase() === \"text\" );\n\t\t},\n\n\t\t// Position-in-collection\n\t\t\"first\": createPositionalPseudo(function() {\n\t\t\treturn [ 0 ];\n\t\t}),\n\n\t\t\"last\": createPositionalPseudo(function( matchIndexes, length ) {\n\t\t\treturn [ length - 1 ];\n\t\t}),\n\n\t\t\"eq\": createPositionalPseudo(function( matchIndexes, length, argument ) {\n\t\t\treturn [ argument < 0 ? argument + length : argument ];\n\t\t}),\n\n\t\t\"even\": createPositionalPseudo(function( matchIndexes, length ) {\n\t\t\tvar i = 0;\n\t\t\tfor ( ; i < length; i += 2 ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t}),\n\n\t\t\"odd\": createPositionalPseudo(function( matchIndexes, length ) {\n\t\t\tvar i = 1;\n\t\t\tfor ( ; i < length; i += 2 ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t}),\n\n\t\t\"lt\": createPositionalPseudo(function( matchIndexes, length, argument ) {\n\t\t\tvar i = argument < 0 ? argument + length : argument;\n\t\t\tfor ( ; --i >= 0; ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t}),\n\n\t\t\"gt\": createPositionalPseudo(function( matchIndexes, length, argument ) {\n\t\t\tvar i = argument < 0 ? argument + length : argument;\n\t\t\tfor ( ; ++i < length; ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t})\n\t}\n};\n\nExpr.pseudos[\"nth\"] = Expr.pseudos[\"eq\"];\n\n// Add button/input type pseudos\nfor ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) {\n\tExpr.pseudos[ i ] = createInputPseudo( i );\n}\nfor ( i in { submit: true, reset: true } ) {\n\tExpr.pseudos[ i ] = createButtonPseudo( i );\n}\n\n// Easy API for creating new setFilters\nfunction setFilters() {}\nsetFilters.prototype = Expr.filters = Expr.pseudos;\nExpr.setFilters = new setFilters();\n\ntokenize = Sizzle.tokenize = function( selector, parseOnly ) {\n\tvar matched, match, tokens, type,\n\t\tsoFar, groups, preFilters,\n\t\tcached = tokenCache[ selector + \" \" ];\n\n\tif ( cached ) {\n\t\treturn parseOnly ? 0 : cached.slice( 0 );\n\t}\n\n\tsoFar = selector;\n\tgroups = [];\n\tpreFilters = Expr.preFilter;\n\n\twhile ( soFar ) {\n\n\t\t// Comma and first run\n\t\tif ( !matched || (match = rcomma.exec( soFar )) ) {\n\t\t\tif ( match ) {\n\t\t\t\t// Don't consume trailing commas as valid\n\t\t\t\tsoFar = soFar.slice( match[0].length ) || soFar;\n\t\t\t}\n\t\t\tgroups.push( (tokens = []) );\n\t\t}\n\n\t\tmatched = false;\n\n\t\t// Combinators\n\t\tif ( (match = rcombinators.exec( soFar )) ) {\n\t\t\tmatched = match.shift();\n\t\t\ttokens.push({\n\t\t\t\tvalue: matched,\n\t\t\t\t// Cast descendant combinators to space\n\t\t\t\ttype: match[0].replace( rtrim, \" \" )\n\t\t\t});\n\t\t\tsoFar = soFar.slice( matched.length );\n\t\t}\n\n\t\t// Filters\n\t\tfor ( type in Expr.filter ) {\n\t\t\tif ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] ||\n\t\t\t\t(match = preFilters[ type ]( match ))) ) {\n\t\t\t\tmatched = match.shift();\n\t\t\t\ttokens.push({\n\t\t\t\t\tvalue: matched,\n\t\t\t\t\ttype: type,\n\t\t\t\t\tmatches: match\n\t\t\t\t});\n\t\t\t\tsoFar = soFar.slice( matched.length );\n\t\t\t}\n\t\t}\n\n\t\tif ( !matched ) {\n\t\t\tbreak;\n\t\t}\n\t}\n\n\t// Return the length of the invalid excess\n\t// if we're just parsing\n\t// Otherwise, throw an error or return tokens\n\treturn parseOnly ?\n\t\tsoFar.length :\n\t\tsoFar ?\n\t\t\tSizzle.error( selector ) :\n\t\t\t// Cache the tokens\n\t\t\ttokenCache( selector, groups ).slice( 0 );\n};\n\nfunction toSelector( tokens ) {\n\tvar i = 0,\n\t\tlen = tokens.length,\n\t\tselector = \"\";\n\tfor ( ; i < len; i++ ) {\n\t\tselector += tokens[i].value;\n\t}\n\treturn selector;\n}\n\nfunction addCombinator( matcher, combinator, base ) {\n\tvar dir = combinator.dir,\n\t\tcheckNonElements = base && dir === \"parentNode\",\n\t\tdoneName = done++;\n\n\treturn combinator.first ?\n\t\t// Check against closest ancestor/preceding element\n\t\tfunction( elem, context, xml ) {\n\t\t\twhile ( (elem = elem[ dir ]) ) {\n\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\treturn matcher( elem, context, xml );\n\t\t\t\t}\n\t\t\t}\n\t\t} :\n\n\t\t// Check against all ancestor/preceding elements\n\t\tfunction( elem, context, xml ) {\n\t\t\tvar oldCache, outerCache,\n\t\t\t\tnewCache = [ dirruns, doneName ];\n\n\t\t\t// We can't set arbitrary data on XML nodes, so they don't benefit from dir caching\n\t\t\tif ( xml ) {\n\t\t\t\twhile ( (elem = elem[ dir ]) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\t\tif ( matcher( elem, context, xml ) ) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\twhile ( (elem = elem[ dir ]) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\t\touterCache = elem[ expando ] || (elem[ expando ] = {});\n\t\t\t\t\t\tif ( (oldCache = outerCache[ dir ]) &&\n\t\t\t\t\t\t\toldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) {\n\n\t\t\t\t\t\t\t// Assign to newCache so results back-propagate to previous elements\n\t\t\t\t\t\t\treturn (newCache[ 2 ] = oldCache[ 2 ]);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// Reuse newcache so results back-propagate to previous elements\n\t\t\t\t\t\t\touterCache[ dir ] = newCache;\n\n\t\t\t\t\t\t\t// A match means we're done; a fail means we have to keep checking\n\t\t\t\t\t\t\tif ( (newCache[ 2 ] = matcher( elem, context, xml )) ) {\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t};\n}\n\nfunction elementMatcher( matchers ) {\n\treturn matchers.length > 1 ?\n\t\tfunction( elem, context, xml ) {\n\t\t\tvar i = matchers.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( !matchers[i]( elem, context, xml ) ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t} :\n\t\tmatchers[0];\n}\n\nfunction multipleContexts( selector, contexts, results ) {\n\tvar i = 0,\n\t\tlen = contexts.length;\n\tfor ( ; i < len; i++ ) {\n\t\tSizzle( selector, contexts[i], results );\n\t}\n\treturn results;\n}\n\nfunction condense( unmatched, map, filter, context, xml ) {\n\tvar elem,\n\t\tnewUnmatched = [],\n\t\ti = 0,\n\t\tlen = unmatched.length,\n\t\tmapped = map != null;\n\n\tfor ( ; i < len; i++ ) {\n\t\tif ( (elem = unmatched[i]) ) {\n\t\t\tif ( !filter || filter( elem, context, xml ) ) {\n\t\t\t\tnewUnmatched.push( elem );\n\t\t\t\tif ( mapped ) {\n\t\t\t\t\tmap.push( i );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn newUnmatched;\n}\n\nfunction setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {\n\tif ( postFilter && !postFilter[ expando ] ) {\n\t\tpostFilter = setMatcher( postFilter );\n\t}\n\tif ( postFinder && !postFinder[ expando ] ) {\n\t\tpostFinder = setMatcher( postFinder, postSelector );\n\t}\n\treturn markFunction(function( seed, results, context, xml ) {\n\t\tvar temp, i, elem,\n\t\t\tpreMap = [],\n\t\t\tpostMap = [],\n\t\t\tpreexisting = results.length,\n\n\t\t\t// Get initial elements from seed or context\n\t\t\telems = seed || multipleContexts( selector || \"*\", context.nodeType ? [ context ] : context, [] ),\n\n\t\t\t// Prefilter to get matcher input, preserving a map for seed-results synchronization\n\t\t\tmatcherIn = preFilter && ( seed || !selector ) ?\n\t\t\t\tcondense( elems, preMap, preFilter, context, xml ) :\n\t\t\t\telems,\n\n\t\t\tmatcherOut = matcher ?\n\t\t\t\t// If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results,\n\t\t\t\tpostFinder || ( seed ? preFilter : preexisting || postFilter ) ?\n\n\t\t\t\t\t// ...intermediate processing is necessary\n\t\t\t\t\t[] :\n\n\t\t\t\t\t// ...otherwise use results directly\n\t\t\t\t\tresults :\n\t\t\t\tmatcherIn;\n\n\t\t// Find primary matches\n\t\tif ( matcher ) {\n\t\t\tmatcher( matcherIn, matcherOut, context, xml );\n\t\t}\n\n\t\t// Apply postFilter\n\t\tif ( postFilter ) {\n\t\t\ttemp = condense( matcherOut, postMap );\n\t\t\tpostFilter( temp, [], context, xml );\n\n\t\t\t// Un-match failing elements by moving them back to matcherIn\n\t\t\ti = temp.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( (elem = temp[i]) ) {\n\t\t\t\t\tmatcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ( seed ) {\n\t\t\tif ( postFinder || preFilter ) {\n\t\t\t\tif ( postFinder ) {\n\t\t\t\t\t// Get the final matcherOut by condensing this intermediate into postFinder contexts\n\t\t\t\t\ttemp = [];\n\t\t\t\t\ti = matcherOut.length;\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tif ( (elem = matcherOut[i]) ) {\n\t\t\t\t\t\t\t// Restore matcherIn since elem is not yet a final match\n\t\t\t\t\t\t\ttemp.push( (matcherIn[i] = elem) );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tpostFinder( null, (matcherOut = []), temp, xml );\n\t\t\t\t}\n\n\t\t\t\t// Move matched elements from seed to results to keep them synchronized\n\t\t\t\ti = matcherOut.length;\n\t\t\t\twhile ( i-- ) {\n\t\t\t\t\tif ( (elem = matcherOut[i]) &&\n\t\t\t\t\t\t(temp = postFinder ? indexOf( seed, elem ) : preMap[i]) > -1 ) {\n\n\t\t\t\t\t\tseed[temp] = !(results[temp] = elem);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Add elements to results, through postFinder if defined\n\t\t} else {\n\t\t\tmatcherOut = condense(\n\t\t\t\tmatcherOut === results ?\n\t\t\t\t\tmatcherOut.splice( preexisting, matcherOut.length ) :\n\t\t\t\t\tmatcherOut\n\t\t\t);\n\t\t\tif ( postFinder ) {\n\t\t\t\tpostFinder( null, results, matcherOut, xml );\n\t\t\t} else {\n\t\t\t\tpush.apply( results, matcherOut );\n\t\t\t}\n\t\t}\n\t});\n}\n\nfunction matcherFromTokens( tokens ) {\n\tvar checkContext, matcher, j,\n\t\tlen = tokens.length,\n\t\tleadingRelative = Expr.relative[ tokens[0].type ],\n\t\timplicitRelative = leadingRelative || Expr.relative[\" \"],\n\t\ti = leadingRelative ? 1 : 0,\n\n\t\t// The foundational matcher ensures that elements are reachable from top-level context(s)\n\t\tmatchContext = addCombinator( function( elem ) {\n\t\t\treturn elem === checkContext;\n\t\t}, implicitRelative, true ),\n\t\tmatchAnyContext = addCombinator( function( elem ) {\n\t\t\treturn indexOf( checkContext, elem ) > -1;\n\t\t}, implicitRelative, true ),\n\t\tmatchers = [ function( elem, context, xml ) {\n\t\t\tvar ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || (\n\t\t\t\t(checkContext = context).nodeType ?\n\t\t\t\t\tmatchContext( elem, context, xml ) :\n\t\t\t\t\tmatchAnyContext( elem, context, xml ) );\n\t\t\t// Avoid hanging onto element (issue #299)\n\t\t\tcheckContext = null;\n\t\t\treturn ret;\n\t\t} ];\n\n\tfor ( ; i < len; i++ ) {\n\t\tif ( (matcher = Expr.relative[ tokens[i].type ]) ) {\n\t\t\tmatchers = [ addCombinator(elementMatcher( matchers ), matcher) ];\n\t\t} else {\n\t\t\tmatcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches );\n\n\t\t\t// Return special upon seeing a positional matcher\n\t\t\tif ( matcher[ expando ] ) {\n\t\t\t\t// Find the next relative operator (if any) for proper handling\n\t\t\t\tj = ++i;\n\t\t\t\tfor ( ; j < len; j++ ) {\n\t\t\t\t\tif ( Expr.relative[ tokens[j].type ] ) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn setMatcher(\n\t\t\t\t\ti > 1 && elementMatcher( matchers ),\n\t\t\t\t\ti > 1 && toSelector(\n\t\t\t\t\t\t// If the preceding token was a descendant combinator, insert an implicit any-element `*`\n\t\t\t\t\t\ttokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === \" \" ? \"*\" : \"\" })\n\t\t\t\t\t).replace( rtrim, \"$1\" ),\n\t\t\t\t\tmatcher,\n\t\t\t\t\ti < j && matcherFromTokens( tokens.slice( i, j ) ),\n\t\t\t\t\tj < len && matcherFromTokens( (tokens = tokens.slice( j )) ),\n\t\t\t\t\tj < len && toSelector( tokens )\n\t\t\t\t);\n\t\t\t}\n\t\t\tmatchers.push( matcher );\n\t\t}\n\t}\n\n\treturn elementMatcher( matchers );\n}\n\nfunction matcherFromGroupMatchers( elementMatchers, setMatchers ) {\n\tvar bySet = setMatchers.length > 0,\n\t\tbyElement = elementMatchers.length > 0,\n\t\tsuperMatcher = function( seed, context, xml, results, outermost ) {\n\t\t\tvar elem, j, matcher,\n\t\t\t\tmatchedCount = 0,\n\t\t\t\ti = \"0\",\n\t\t\t\tunmatched = seed && [],\n\t\t\t\tsetMatched = [],\n\t\t\t\tcontextBackup = outermostContext,\n\t\t\t\t// We must always have either seed elements or outermost context\n\t\t\t\telems = seed || byElement && Expr.find[\"TAG\"]( \"*\", outermost ),\n\t\t\t\t// Use integer dirruns iff this is the outermost matcher\n\t\t\t\tdirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1),\n\t\t\t\tlen = elems.length;\n\n\t\t\tif ( outermost ) {\n\t\t\t\toutermostContext = context !== document && context;\n\t\t\t}\n\n\t\t\t// Add elements passing elementMatchers directly to results\n\t\t\t// Keep `i` a string if there are no elements so `matchedCount` will be \"00\" below\n\t\t\t// Support: IE<9, Safari\n\t\t\t// Tolerate NodeList properties (IE: \"length\"; Safari: <number>) matching elements by id\n\t\t\tfor ( ; i !== len && (elem = elems[i]) != null; i++ ) {\n\t\t\t\tif ( byElement && elem ) {\n\t\t\t\t\tj = 0;\n\t\t\t\t\twhile ( (matcher = elementMatchers[j++]) ) {\n\t\t\t\t\t\tif ( matcher( elem, context, xml ) ) {\n\t\t\t\t\t\t\tresults.push( elem );\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ( outermost ) {\n\t\t\t\t\t\tdirruns = dirrunsUnique;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Track unmatched elements for set filters\n\t\t\t\tif ( bySet ) {\n\t\t\t\t\t// They will have gone through all possible matchers\n\t\t\t\t\tif ( (elem = !matcher && elem) ) {\n\t\t\t\t\t\tmatchedCount--;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Lengthen the array for every element, matched or not\n\t\t\t\t\tif ( seed ) {\n\t\t\t\t\t\tunmatched.push( elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Apply set filters to unmatched elements\n\t\t\tmatchedCount += i;\n\t\t\tif ( bySet && i !== matchedCount ) {\n\t\t\t\tj = 0;\n\t\t\t\twhile ( (matcher = setMatchers[j++]) ) {\n\t\t\t\t\tmatcher( unmatched, setMatched, context, xml );\n\t\t\t\t}\n\n\t\t\t\tif ( seed ) {\n\t\t\t\t\t// Reintegrate element matches to eliminate the need for sorting\n\t\t\t\t\tif ( matchedCount > 0 ) {\n\t\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\t\tif ( !(unmatched[i] || setMatched[i]) ) {\n\t\t\t\t\t\t\t\tsetMatched[i] = pop.call( results );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Discard index placeholder values to get only actual matches\n\t\t\t\t\tsetMatched = condense( setMatched );\n\t\t\t\t}\n\n\t\t\t\t// Add matches to results\n\t\t\t\tpush.apply( results, setMatched );\n\n\t\t\t\t// Seedless set matches succeeding multiple successful matchers stipulate sorting\n\t\t\t\tif ( outermost && !seed && setMatched.length > 0 &&\n\t\t\t\t\t( matchedCount + setMatchers.length ) > 1 ) {\n\n\t\t\t\t\tSizzle.uniqueSort( results );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Override manipulation of globals by nested matchers\n\t\t\tif ( outermost ) {\n\t\t\t\tdirruns = dirrunsUnique;\n\t\t\t\toutermostContext = contextBackup;\n\t\t\t}\n\n\t\t\treturn unmatched;\n\t\t};\n\n\treturn bySet ?\n\t\tmarkFunction( superMatcher ) :\n\t\tsuperMatcher;\n}\n\ncompile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) {\n\tvar i,\n\t\tsetMatchers = [],\n\t\telementMatchers = [],\n\t\tcached = compilerCache[ selector + \" \" ];\n\n\tif ( !cached ) {\n\t\t// Generate a function of recursive functions that can be used to check each element\n\t\tif ( !match ) {\n\t\t\tmatch = tokenize( selector );\n\t\t}\n\t\ti = match.length;\n\t\twhile ( i-- ) {\n\t\t\tcached = matcherFromTokens( match[i] );\n\t\t\tif ( cached[ expando ] ) {\n\t\t\t\tsetMatchers.push( cached );\n\t\t\t} else {\n\t\t\t\telementMatchers.push( cached );\n\t\t\t}\n\t\t}\n\n\t\t// Cache the compiled function\n\t\tcached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) );\n\n\t\t// Save selector and tokenization\n\t\tcached.selector = selector;\n\t}\n\treturn cached;\n};\n\n/**\n * A low-level selection function that works with Sizzle's compiled\n *  selector functions\n * @param {String|Function} selector A selector or a pre-compiled\n *  selector function built with Sizzle.compile\n * @param {Element} context\n * @param {Array} [results]\n * @param {Array} [seed] A set of elements to match against\n */\nselect = Sizzle.select = function( selector, context, results, seed ) {\n\tvar i, tokens, token, type, find,\n\t\tcompiled = typeof selector === \"function\" && selector,\n\t\tmatch = !seed && tokenize( (selector = compiled.selector || selector) );\n\n\tresults = results || [];\n\n\t// Try to minimize operations if there is no seed and only one group\n\tif ( match.length === 1 ) {\n\n\t\t// Take a shortcut and set the context if the root selector is an ID\n\t\ttokens = match[0] = match[0].slice( 0 );\n\t\tif ( tokens.length > 2 && (token = tokens[0]).type === \"ID\" &&\n\t\t\t\tsupport.getById && context.nodeType === 9 && documentIsHTML &&\n\t\t\t\tExpr.relative[ tokens[1].type ] ) {\n\n\t\t\tcontext = ( Expr.find[\"ID\"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0];\n\t\t\tif ( !context ) {\n\t\t\t\treturn results;\n\n\t\t\t// Precompiled matchers will still verify ancestry, so step up a level\n\t\t\t} else if ( compiled ) {\n\t\t\t\tcontext = context.parentNode;\n\t\t\t}\n\n\t\t\tselector = selector.slice( tokens.shift().value.length );\n\t\t}\n\n\t\t// Fetch a seed set for right-to-left matching\n\t\ti = matchExpr[\"needsContext\"].test( selector ) ? 0 : tokens.length;\n\t\twhile ( i-- ) {\n\t\t\ttoken = tokens[i];\n\n\t\t\t// Abort if we hit a combinator\n\t\t\tif ( Expr.relative[ (type = token.type) ] ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif ( (find = Expr.find[ type ]) ) {\n\t\t\t\t// Search, expanding context for leading sibling combinators\n\t\t\t\tif ( (seed = find(\n\t\t\t\t\ttoken.matches[0].replace( runescape, funescape ),\n\t\t\t\t\trsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context\n\t\t\t\t)) ) {\n\n\t\t\t\t\t// If seed is empty or no tokens remain, we can return early\n\t\t\t\t\ttokens.splice( i, 1 );\n\t\t\t\t\tselector = seed.length && toSelector( tokens );\n\t\t\t\t\tif ( !selector ) {\n\t\t\t\t\t\tpush.apply( results, seed );\n\t\t\t\t\t\treturn results;\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Compile and execute a filtering function if one is not provided\n\t// Provide `match` to avoid retokenization if we modified the selector above\n\t( compiled || compile( selector, match ) )(\n\t\tseed,\n\t\tcontext,\n\t\t!documentIsHTML,\n\t\tresults,\n\t\trsibling.test( selector ) && testContext( context.parentNode ) || context\n\t);\n\treturn results;\n};\n\n// One-time assignments\n\n// Sort stability\nsupport.sortStable = expando.split(\"\").sort( sortOrder ).join(\"\") === expando;\n\n// Support: Chrome 14-35+\n// Always assume duplicates if they aren't passed to the comparison function\nsupport.detectDuplicates = !!hasDuplicate;\n\n// Initialize against the default document\nsetDocument();\n\n// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27)\n// Detached nodes confoundingly follow *each other*\nsupport.sortDetached = assert(function( div1 ) {\n\t// Should return 1, but returns 4 (following)\n\treturn div1.compareDocumentPosition( document.createElement(\"div\") ) & 1;\n});\n\n// Support: IE<8\n// Prevent attribute/property \"interpolation\"\n// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx\nif ( !assert(function( div ) {\n\tdiv.innerHTML = \"<a href='#'></a>\";\n\treturn div.firstChild.getAttribute(\"href\") === \"#\" ;\n}) ) {\n\taddHandle( \"type|href|height|width\", function( elem, name, isXML ) {\n\t\tif ( !isXML ) {\n\t\t\treturn elem.getAttribute( name, name.toLowerCase() === \"type\" ? 1 : 2 );\n\t\t}\n\t});\n}\n\n// Support: IE<9\n// Use defaultValue in place of getAttribute(\"value\")\nif ( !support.attributes || !assert(function( div ) {\n\tdiv.innerHTML = \"<input/>\";\n\tdiv.firstChild.setAttribute( \"value\", \"\" );\n\treturn div.firstChild.getAttribute( \"value\" ) === \"\";\n}) ) {\n\taddHandle( \"value\", function( elem, name, isXML ) {\n\t\tif ( !isXML && elem.nodeName.toLowerCase() === \"input\" ) {\n\t\t\treturn elem.defaultValue;\n\t\t}\n\t});\n}\n\n// Support: IE<9\n// Use getAttributeNode to fetch booleans when getAttribute lies\nif ( !assert(function( div ) {\n\treturn div.getAttribute(\"disabled\") == null;\n}) ) {\n\taddHandle( booleans, function( elem, name, isXML ) {\n\t\tvar val;\n\t\tif ( !isXML ) {\n\t\t\treturn elem[ name ] === true ? name.toLowerCase() :\n\t\t\t\t\t(val = elem.getAttributeNode( name )) && val.specified ?\n\t\t\t\t\tval.value :\n\t\t\t\tnull;\n\t\t}\n\t});\n}\n\nreturn Sizzle;\n\n})( window );\n\n\n\njQuery.find = Sizzle;\njQuery.expr = Sizzle.selectors;\njQuery.expr[\":\"] = jQuery.expr.pseudos;\njQuery.unique = Sizzle.uniqueSort;\njQuery.text = Sizzle.getText;\njQuery.isXMLDoc = Sizzle.isXML;\njQuery.contains = Sizzle.contains;\n\n\n\nvar rneedsContext = jQuery.expr.match.needsContext;\n\nvar rsingleTag = (/^<(\\w+)\\s*\\/?>(?:<\\/\\1>|)$/);\n\n\n\nvar risSimple = /^.[^:#\\[\\.,]*$/;\n\n// Implement the identical functionality for filter and not\nfunction winnow( elements, qualifier, not ) {\n\tif ( jQuery.isFunction( qualifier ) ) {\n\t\treturn jQuery.grep( elements, function( elem, i ) {\n\t\t\t/* jshint -W018 */\n\t\t\treturn !!qualifier.call( elem, i, elem ) !== not;\n\t\t});\n\n\t}\n\n\tif ( qualifier.nodeType ) {\n\t\treturn jQuery.grep( elements, function( elem ) {\n\t\t\treturn ( elem === qualifier ) !== not;\n\t\t});\n\n\t}\n\n\tif ( typeof qualifier === \"string\" ) {\n\t\tif ( risSimple.test( qualifier ) ) {\n\t\t\treturn jQuery.filter( qualifier, elements, not );\n\t\t}\n\n\t\tqualifier = jQuery.filter( qualifier, elements );\n\t}\n\n\treturn jQuery.grep( elements, function( elem ) {\n\t\treturn ( indexOf.call( qualifier, elem ) >= 0 ) !== not;\n\t});\n}\n\njQuery.filter = function( expr, elems, not ) {\n\tvar elem = elems[ 0 ];\n\n\tif ( not ) {\n\t\texpr = \":not(\" + expr + \")\";\n\t}\n\n\treturn elems.length === 1 && elem.nodeType === 1 ?\n\t\tjQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] :\n\t\tjQuery.find.matches( expr, jQuery.grep( elems, function( elem ) {\n\t\t\treturn elem.nodeType === 1;\n\t\t}));\n};\n\njQuery.fn.extend({\n\tfind: function( selector ) {\n\t\tvar i,\n\t\t\tlen = this.length,\n\t\t\tret = [],\n\t\t\tself = this;\n\n\t\tif ( typeof selector !== \"string\" ) {\n\t\t\treturn this.pushStack( jQuery( selector ).filter(function() {\n\t\t\t\tfor ( i = 0; i < len; i++ ) {\n\t\t\t\t\tif ( jQuery.contains( self[ i ], this ) ) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}) );\n\t\t}\n\n\t\tfor ( i = 0; i < len; i++ ) {\n\t\t\tjQuery.find( selector, self[ i ], ret );\n\t\t}\n\n\t\t// Needed because $( selector, context ) becomes $( context ).find( selector )\n\t\tret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret );\n\t\tret.selector = this.selector ? this.selector + \" \" + selector : selector;\n\t\treturn ret;\n\t},\n\tfilter: function( selector ) {\n\t\treturn this.pushStack( winnow(this, selector || [], false) );\n\t},\n\tnot: function( selector ) {\n\t\treturn this.pushStack( winnow(this, selector || [], true) );\n\t},\n\tis: function( selector ) {\n\t\treturn !!winnow(\n\t\t\tthis,\n\n\t\t\t// If this is a positional/relative selector, check membership in the returned set\n\t\t\t// so $(\"p:first\").is(\"p:last\") won't return true for a doc with two \"p\".\n\t\t\ttypeof selector === \"string\" && rneedsContext.test( selector ) ?\n\t\t\t\tjQuery( selector ) :\n\t\t\t\tselector || [],\n\t\t\tfalse\n\t\t).length;\n\t}\n});\n\n\n// Initialize a jQuery object\n\n\n// A central reference to the root jQuery(document)\nvar rootjQuery,\n\n\t// A simple way to check for HTML strings\n\t// Prioritize #id over <tag> to avoid XSS via location.hash (#9521)\n\t// Strict HTML recognition (#11290: must start with <)\n\trquickExpr = /^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]*))$/,\n\n\tinit = jQuery.fn.init = function( selector, context ) {\n\t\tvar match, elem;\n\n\t\t// HANDLE: $(\"\"), $(null), $(undefined), $(false)\n\t\tif ( !selector ) {\n\t\t\treturn this;\n\t\t}\n\n\t\t// Handle HTML strings\n\t\tif ( typeof selector === \"string\" ) {\n\t\t\tif ( selector[0] === \"<\" && selector[ selector.length - 1 ] === \">\" && selector.length >= 3 ) {\n\t\t\t\t// Assume that strings that start and end with <> are HTML and skip the regex check\n\t\t\t\tmatch = [ null, selector, null ];\n\n\t\t\t} else {\n\t\t\t\tmatch = rquickExpr.exec( selector );\n\t\t\t}\n\n\t\t\t// Match html or make sure no context is specified for #id\n\t\t\tif ( match && (match[1] || !context) ) {\n\n\t\t\t\t// HANDLE: $(html) -> $(array)\n\t\t\t\tif ( match[1] ) {\n\t\t\t\t\tcontext = context instanceof jQuery ? context[0] : context;\n\n\t\t\t\t\t// Option to run scripts is true for back-compat\n\t\t\t\t\t// Intentionally let the error be thrown if parseHTML is not present\n\t\t\t\t\tjQuery.merge( this, jQuery.parseHTML(\n\t\t\t\t\t\tmatch[1],\n\t\t\t\t\t\tcontext && context.nodeType ? context.ownerDocument || context : document,\n\t\t\t\t\t\ttrue\n\t\t\t\t\t) );\n\n\t\t\t\t\t// HANDLE: $(html, props)\n\t\t\t\t\tif ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) {\n\t\t\t\t\t\tfor ( match in context ) {\n\t\t\t\t\t\t\t// Properties of context are called as methods if possible\n\t\t\t\t\t\t\tif ( jQuery.isFunction( this[ match ] ) ) {\n\t\t\t\t\t\t\t\tthis[ match ]( context[ match ] );\n\n\t\t\t\t\t\t\t// ...and otherwise set as attributes\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tthis.attr( match, context[ match ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn this;\n\n\t\t\t\t// HANDLE: $(#id)\n\t\t\t\t} else {\n\t\t\t\t\telem = document.getElementById( match[2] );\n\n\t\t\t\t\t// Support: Blackberry 4.6\n\t\t\t\t\t// gEBID returns nodes no longer in the document (#6963)\n\t\t\t\t\tif ( elem && elem.parentNode ) {\n\t\t\t\t\t\t// Inject the element directly into the jQuery object\n\t\t\t\t\t\tthis.length = 1;\n\t\t\t\t\t\tthis[0] = elem;\n\t\t\t\t\t}\n\n\t\t\t\t\tthis.context = document;\n\t\t\t\t\tthis.selector = selector;\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\n\t\t\t// HANDLE: $(expr, $(...))\n\t\t\t} else if ( !context || context.jquery ) {\n\t\t\t\treturn ( context || rootjQuery ).find( selector );\n\n\t\t\t// HANDLE: $(expr, context)\n\t\t\t// (which is just equivalent to: $(context).find(expr)\n\t\t\t} else {\n\t\t\t\treturn this.constructor( context ).find( selector );\n\t\t\t}\n\n\t\t// HANDLE: $(DOMElement)\n\t\t} else if ( selector.nodeType ) {\n\t\t\tthis.context = this[0] = selector;\n\t\t\tthis.length = 1;\n\t\t\treturn this;\n\n\t\t// HANDLE: $(function)\n\t\t// Shortcut for document ready\n\t\t} else if ( jQuery.isFunction( selector ) ) {\n\t\t\treturn typeof rootjQuery.ready !== \"undefined\" ?\n\t\t\t\trootjQuery.ready( selector ) :\n\t\t\t\t// Execute immediately if ready is not present\n\t\t\t\tselector( jQuery );\n\t\t}\n\n\t\tif ( selector.selector !== undefined ) {\n\t\t\tthis.selector = selector.selector;\n\t\t\tthis.context = selector.context;\n\t\t}\n\n\t\treturn jQuery.makeArray( selector, this );\n\t};\n\n// Give the init function the jQuery prototype for later instantiation\ninit.prototype = jQuery.fn;\n\n// Initialize central reference\nrootjQuery = jQuery( document );\n\n\nvar rparentsprev = /^(?:parents|prev(?:Until|All))/,\n\t// Methods guaranteed to produce a unique set when starting from a unique set\n\tguaranteedUnique = {\n\t\tchildren: true,\n\t\tcontents: true,\n\t\tnext: true,\n\t\tprev: true\n\t};\n\njQuery.extend({\n\tdir: function( elem, dir, until ) {\n\t\tvar matched = [],\n\t\t\ttruncate = until !== undefined;\n\n\t\twhile ( (elem = elem[ dir ]) && elem.nodeType !== 9 ) {\n\t\t\tif ( elem.nodeType === 1 ) {\n\t\t\t\tif ( truncate && jQuery( elem ).is( until ) ) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tmatched.push( elem );\n\t\t\t}\n\t\t}\n\t\treturn matched;\n\t},\n\n\tsibling: function( n, elem ) {\n\t\tvar matched = [];\n\n\t\tfor ( ; n; n = n.nextSibling ) {\n\t\t\tif ( n.nodeType === 1 && n !== elem ) {\n\t\t\t\tmatched.push( n );\n\t\t\t}\n\t\t}\n\n\t\treturn matched;\n\t}\n});\n\njQuery.fn.extend({\n\thas: function( target ) {\n\t\tvar targets = jQuery( target, this ),\n\t\t\tl = targets.length;\n\n\t\treturn this.filter(function() {\n\t\t\tvar i = 0;\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tif ( jQuery.contains( this, targets[i] ) ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t},\n\n\tclosest: function( selectors, context ) {\n\t\tvar cur,\n\t\t\ti = 0,\n\t\t\tl = this.length,\n\t\t\tmatched = [],\n\t\t\tpos = rneedsContext.test( selectors ) || typeof selectors !== \"string\" ?\n\t\t\t\tjQuery( selectors, context || this.context ) :\n\t\t\t\t0;\n\n\t\tfor ( ; i < l; i++ ) {\n\t\t\tfor ( cur = this[i]; cur && cur !== context; cur = cur.parentNode ) {\n\t\t\t\t// Always skip document fragments\n\t\t\t\tif ( cur.nodeType < 11 && (pos ?\n\t\t\t\t\tpos.index(cur) > -1 :\n\n\t\t\t\t\t// Don't pass non-elements to Sizzle\n\t\t\t\t\tcur.nodeType === 1 &&\n\t\t\t\t\t\tjQuery.find.matchesSelector(cur, selectors)) ) {\n\n\t\t\t\t\tmatched.push( cur );\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this.pushStack( matched.length > 1 ? jQuery.unique( matched ) : matched );\n\t},\n\n\t// Determine the position of an element within the set\n\tindex: function( elem ) {\n\n\t\t// No argument, return index in parent\n\t\tif ( !elem ) {\n\t\t\treturn ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1;\n\t\t}\n\n\t\t// Index in selector\n\t\tif ( typeof elem === \"string\" ) {\n\t\t\treturn indexOf.call( jQuery( elem ), this[ 0 ] );\n\t\t}\n\n\t\t// Locate the position of the desired element\n\t\treturn indexOf.call( this,\n\n\t\t\t// If it receives a jQuery object, the first element is used\n\t\t\telem.jquery ? elem[ 0 ] : elem\n\t\t);\n\t},\n\n\tadd: function( selector, context ) {\n\t\treturn this.pushStack(\n\t\t\tjQuery.unique(\n\t\t\t\tjQuery.merge( this.get(), jQuery( selector, context ) )\n\t\t\t)\n\t\t);\n\t},\n\n\taddBack: function( selector ) {\n\t\treturn this.add( selector == null ?\n\t\t\tthis.prevObject : this.prevObject.filter(selector)\n\t\t);\n\t}\n});\n\nfunction sibling( cur, dir ) {\n\twhile ( (cur = cur[dir]) && cur.nodeType !== 1 ) {}\n\treturn cur;\n}\n\njQuery.each({\n\tparent: function( elem ) {\n\t\tvar parent = elem.parentNode;\n\t\treturn parent && parent.nodeType !== 11 ? parent : null;\n\t},\n\tparents: function( elem ) {\n\t\treturn jQuery.dir( elem, \"parentNode\" );\n\t},\n\tparentsUntil: function( elem, i, until ) {\n\t\treturn jQuery.dir( elem, \"parentNode\", until );\n\t},\n\tnext: function( elem ) {\n\t\treturn sibling( elem, \"nextSibling\" );\n\t},\n\tprev: function( elem ) {\n\t\treturn sibling( elem, \"previousSibling\" );\n\t},\n\tnextAll: function( elem ) {\n\t\treturn jQuery.dir( elem, \"nextSibling\" );\n\t},\n\tprevAll: function( elem ) {\n\t\treturn jQuery.dir( elem, \"previousSibling\" );\n\t},\n\tnextUntil: function( elem, i, until ) {\n\t\treturn jQuery.dir( elem, \"nextSibling\", until );\n\t},\n\tprevUntil: function( elem, i, until ) {\n\t\treturn jQuery.dir( elem, \"previousSibling\", until );\n\t},\n\tsiblings: function( elem ) {\n\t\treturn jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem );\n\t},\n\tchildren: function( elem ) {\n\t\treturn jQuery.sibling( elem.firstChild );\n\t},\n\tcontents: function( elem ) {\n\t\treturn elem.contentDocument || jQuery.merge( [], elem.childNodes );\n\t}\n}, function( name, fn ) {\n\tjQuery.fn[ name ] = function( until, selector ) {\n\t\tvar matched = jQuery.map( this, fn, until );\n\n\t\tif ( name.slice( -5 ) !== \"Until\" ) {\n\t\t\tselector = until;\n\t\t}\n\n\t\tif ( selector && typeof selector === \"string\" ) {\n\t\t\tmatched = jQuery.filter( selector, matched );\n\t\t}\n\n\t\tif ( this.length > 1 ) {\n\t\t\t// Remove duplicates\n\t\t\tif ( !guaranteedUnique[ name ] ) {\n\t\t\t\tjQuery.unique( matched );\n\t\t\t}\n\n\t\t\t// Reverse order for parents* and prev-derivatives\n\t\t\tif ( rparentsprev.test( name ) ) {\n\t\t\t\tmatched.reverse();\n\t\t\t}\n\t\t}\n\n\t\treturn this.pushStack( matched );\n\t};\n});\nvar rnotwhite = (/\\S+/g);\n\n\n\n// String to Object options format cache\nvar optionsCache = {};\n\n// Convert String-formatted options into Object-formatted ones and store in cache\nfunction createOptions( options ) {\n\tvar object = optionsCache[ options ] = {};\n\tjQuery.each( options.match( rnotwhite ) || [], function( _, flag ) {\n\t\tobject[ flag ] = true;\n\t});\n\treturn object;\n}\n\n/*\n * Create a callback list using the following parameters:\n *\n *\toptions: an optional list of space-separated options that will change how\n *\t\t\tthe callback list behaves or a more traditional option object\n *\n * By default a callback list will act like an event callback list and can be\n * \"fired\" multiple times.\n *\n * Possible options:\n *\n *\tonce:\t\t\twill ensure the callback list can only be fired once (like a Deferred)\n *\n *\tmemory:\t\t\twill keep track of previous values and will call any callback added\n *\t\t\t\t\tafter the list has been fired right away with the latest \"memorized\"\n *\t\t\t\t\tvalues (like a Deferred)\n *\n *\tunique:\t\t\twill ensure a callback can only be added once (no duplicate in the list)\n *\n *\tstopOnFalse:\tinterrupt callings when a callback returns false\n *\n */\njQuery.Callbacks = function( options ) {\n\n\t// Convert options from String-formatted to Object-formatted if needed\n\t// (we check in cache first)\n\toptions = typeof options === \"string\" ?\n\t\t( optionsCache[ options ] || createOptions( options ) ) :\n\t\tjQuery.extend( {}, options );\n\n\tvar // Last fire value (for non-forgettable lists)\n\t\tmemory,\n\t\t// Flag to know if list was already fired\n\t\tfired,\n\t\t// Flag to know if list is currently firing\n\t\tfiring,\n\t\t// First callback to fire (used internally by add and fireWith)\n\t\tfiringStart,\n\t\t// End of the loop when firing\n\t\tfiringLength,\n\t\t// Index of currently firing callback (modified by remove if needed)\n\t\tfiringIndex,\n\t\t// Actual callback list\n\t\tlist = [],\n\t\t// Stack of fire calls for repeatable lists\n\t\tstack = !options.once && [],\n\t\t// Fire callbacks\n\t\tfire = function( data ) {\n\t\t\tmemory = options.memory && data;\n\t\t\tfired = true;\n\t\t\tfiringIndex = firingStart || 0;\n\t\t\tfiringStart = 0;\n\t\t\tfiringLength = list.length;\n\t\t\tfiring = true;\n\t\t\tfor ( ; list && firingIndex < firingLength; firingIndex++ ) {\n\t\t\t\tif ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) {\n\t\t\t\t\tmemory = false; // To prevent further calls using add\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tfiring = false;\n\t\t\tif ( list ) {\n\t\t\t\tif ( stack ) {\n\t\t\t\t\tif ( stack.length ) {\n\t\t\t\t\t\tfire( stack.shift() );\n\t\t\t\t\t}\n\t\t\t\t} else if ( memory ) {\n\t\t\t\t\tlist = [];\n\t\t\t\t} else {\n\t\t\t\t\tself.disable();\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t// Actual Callbacks object\n\t\tself = {\n\t\t\t// Add a callback or a collection of callbacks to the list\n\t\t\tadd: function() {\n\t\t\t\tif ( list ) {\n\t\t\t\t\t// First, we save the current length\n\t\t\t\t\tvar start = list.length;\n\t\t\t\t\t(function add( args ) {\n\t\t\t\t\t\tjQuery.each( args, function( _, arg ) {\n\t\t\t\t\t\t\tvar type = jQuery.type( arg );\n\t\t\t\t\t\t\tif ( type === \"function\" ) {\n\t\t\t\t\t\t\t\tif ( !options.unique || !self.has( arg ) ) {\n\t\t\t\t\t\t\t\t\tlist.push( arg );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if ( arg && arg.length && type !== \"string\" ) {\n\t\t\t\t\t\t\t\t// Inspect recursively\n\t\t\t\t\t\t\t\tadd( arg );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t})( arguments );\n\t\t\t\t\t// Do we need to add the callbacks to the\n\t\t\t\t\t// current firing batch?\n\t\t\t\t\tif ( firing ) {\n\t\t\t\t\t\tfiringLength = list.length;\n\t\t\t\t\t// With memory, if we're not firing then\n\t\t\t\t\t// we should call right away\n\t\t\t\t\t} else if ( memory ) {\n\t\t\t\t\t\tfiringStart = start;\n\t\t\t\t\t\tfire( memory );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\t// Remove a callback from the list\n\t\t\tremove: function() {\n\t\t\t\tif ( list ) {\n\t\t\t\t\tjQuery.each( arguments, function( _, arg ) {\n\t\t\t\t\t\tvar index;\n\t\t\t\t\t\twhile ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) {\n\t\t\t\t\t\t\tlist.splice( index, 1 );\n\t\t\t\t\t\t\t// Handle firing indexes\n\t\t\t\t\t\t\tif ( firing ) {\n\t\t\t\t\t\t\t\tif ( index <= firingLength ) {\n\t\t\t\t\t\t\t\t\tfiringLength--;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif ( index <= firingIndex ) {\n\t\t\t\t\t\t\t\t\tfiringIndex--;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\t// Check if a given callback is in the list.\n\t\t\t// If no argument is given, return whether or not list has callbacks attached.\n\t\t\thas: function( fn ) {\n\t\t\t\treturn fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length );\n\t\t\t},\n\t\t\t// Remove all callbacks from the list\n\t\t\tempty: function() {\n\t\t\t\tlist = [];\n\t\t\t\tfiringLength = 0;\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\t// Have the list do nothing anymore\n\t\t\tdisable: function() {\n\t\t\t\tlist = stack = memory = undefined;\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\t// Is it disabled?\n\t\t\tdisabled: function() {\n\t\t\t\treturn !list;\n\t\t\t},\n\t\t\t// Lock the list in its current state\n\t\t\tlock: function() {\n\t\t\t\tstack = undefined;\n\t\t\t\tif ( !memory ) {\n\t\t\t\t\tself.disable();\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\t// Is it locked?\n\t\t\tlocked: function() {\n\t\t\t\treturn !stack;\n\t\t\t},\n\t\t\t// Call all callbacks with the given context and arguments\n\t\t\tfireWith: function( context, args ) {\n\t\t\t\tif ( list && ( !fired || stack ) ) {\n\t\t\t\t\targs = args || [];\n\t\t\t\t\targs = [ context, args.slice ? args.slice() : args ];\n\t\t\t\t\tif ( firing ) {\n\t\t\t\t\t\tstack.push( args );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tfire( args );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\t// Call all the callbacks with the given arguments\n\t\t\tfire: function() {\n\t\t\t\tself.fireWith( this, arguments );\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\t// To know if the callbacks have already been called at least once\n\t\t\tfired: function() {\n\t\t\t\treturn !!fired;\n\t\t\t}\n\t\t};\n\n\treturn self;\n};\n\n\njQuery.extend({\n\n\tDeferred: function( func ) {\n\t\tvar tuples = [\n\t\t\t\t// action, add listener, listener list, final state\n\t\t\t\t[ \"resolve\", \"done\", jQuery.Callbacks(\"once memory\"), \"resolved\" ],\n\t\t\t\t[ \"reject\", \"fail\", jQuery.Callbacks(\"once memory\"), \"rejected\" ],\n\t\t\t\t[ \"notify\", \"progress\", jQuery.Callbacks(\"memory\") ]\n\t\t\t],\n\t\t\tstate = \"pending\",\n\t\t\tpromise = {\n\t\t\t\tstate: function() {\n\t\t\t\t\treturn state;\n\t\t\t\t},\n\t\t\t\talways: function() {\n\t\t\t\t\tdeferred.done( arguments ).fail( arguments );\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\t\t\t\tthen: function( /* fnDone, fnFail, fnProgress */ ) {\n\t\t\t\t\tvar fns = arguments;\n\t\t\t\t\treturn jQuery.Deferred(function( newDefer ) {\n\t\t\t\t\t\tjQuery.each( tuples, function( i, tuple ) {\n\t\t\t\t\t\t\tvar fn = jQuery.isFunction( fns[ i ] ) && fns[ i ];\n\t\t\t\t\t\t\t// deferred[ done | fail | progress ] for forwarding actions to newDefer\n\t\t\t\t\t\t\tdeferred[ tuple[1] ](function() {\n\t\t\t\t\t\t\t\tvar returned = fn && fn.apply( this, arguments );\n\t\t\t\t\t\t\t\tif ( returned && jQuery.isFunction( returned.promise ) ) {\n\t\t\t\t\t\t\t\t\treturned.promise()\n\t\t\t\t\t\t\t\t\t\t.done( newDefer.resolve )\n\t\t\t\t\t\t\t\t\t\t.fail( newDefer.reject )\n\t\t\t\t\t\t\t\t\t\t.progress( newDefer.notify );\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tnewDefer[ tuple[ 0 ] + \"With\" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t});\n\t\t\t\t\t\tfns = null;\n\t\t\t\t\t}).promise();\n\t\t\t\t},\n\t\t\t\t// Get a promise for this deferred\n\t\t\t\t// If obj is provided, the promise aspect is added to the object\n\t\t\t\tpromise: function( obj ) {\n\t\t\t\t\treturn obj != null ? jQuery.extend( obj, promise ) : promise;\n\t\t\t\t}\n\t\t\t},\n\t\t\tdeferred = {};\n\n\t\t// Keep pipe for back-compat\n\t\tpromise.pipe = promise.then;\n\n\t\t// Add list-specific methods\n\t\tjQuery.each( tuples, function( i, tuple ) {\n\t\t\tvar list = tuple[ 2 ],\n\t\t\t\tstateString = tuple[ 3 ];\n\n\t\t\t// promise[ done | fail | progress ] = list.add\n\t\t\tpromise[ tuple[1] ] = list.add;\n\n\t\t\t// Handle state\n\t\t\tif ( stateString ) {\n\t\t\t\tlist.add(function() {\n\t\t\t\t\t// state = [ resolved | rejected ]\n\t\t\t\t\tstate = stateString;\n\n\t\t\t\t// [ reject_list | resolve_list ].disable; progress_list.lock\n\t\t\t\t}, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock );\n\t\t\t}\n\n\t\t\t// deferred[ resolve | reject | notify ]\n\t\t\tdeferred[ tuple[0] ] = function() {\n\t\t\t\tdeferred[ tuple[0] + \"With\" ]( this === deferred ? promise : this, arguments );\n\t\t\t\treturn this;\n\t\t\t};\n\t\t\tdeferred[ tuple[0] + \"With\" ] = list.fireWith;\n\t\t});\n\n\t\t// Make the deferred a promise\n\t\tpromise.promise( deferred );\n\n\t\t// Call given func if any\n\t\tif ( func ) {\n\t\t\tfunc.call( deferred, deferred );\n\t\t}\n\n\t\t// All done!\n\t\treturn deferred;\n\t},\n\n\t// Deferred helper\n\twhen: function( subordinate /* , ..., subordinateN */ ) {\n\t\tvar i = 0,\n\t\t\tresolveValues = slice.call( arguments ),\n\t\t\tlength = resolveValues.length,\n\n\t\t\t// the count of uncompleted subordinates\n\t\t\tremaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0,\n\n\t\t\t// the master Deferred. If resolveValues consist of only a single Deferred, just use that.\n\t\t\tdeferred = remaining === 1 ? subordinate : jQuery.Deferred(),\n\n\t\t\t// Update function for both resolve and progress values\n\t\t\tupdateFunc = function( i, contexts, values ) {\n\t\t\t\treturn function( value ) {\n\t\t\t\t\tcontexts[ i ] = this;\n\t\t\t\t\tvalues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;\n\t\t\t\t\tif ( values === progressValues ) {\n\t\t\t\t\t\tdeferred.notifyWith( contexts, values );\n\t\t\t\t\t} else if ( !( --remaining ) ) {\n\t\t\t\t\t\tdeferred.resolveWith( contexts, values );\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t},\n\n\t\t\tprogressValues, progressContexts, resolveContexts;\n\n\t\t// Add listeners to Deferred subordinates; treat others as resolved\n\t\tif ( length > 1 ) {\n\t\t\tprogressValues = new Array( length );\n\t\t\tprogressContexts = new Array( length );\n\t\t\tresolveContexts = new Array( length );\n\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\tif ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) {\n\t\t\t\t\tresolveValues[ i ].promise()\n\t\t\t\t\t\t.done( updateFunc( i, resolveContexts, resolveValues ) )\n\t\t\t\t\t\t.fail( deferred.reject )\n\t\t\t\t\t\t.progress( updateFunc( i, progressContexts, progressValues ) );\n\t\t\t\t} else {\n\t\t\t\t\t--remaining;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// If we're not waiting on anything, resolve the master\n\t\tif ( !remaining ) {\n\t\t\tdeferred.resolveWith( resolveContexts, resolveValues );\n\t\t}\n\n\t\treturn deferred.promise();\n\t}\n});\n\n\n// The deferred used on DOM ready\nvar readyList;\n\njQuery.fn.ready = function( fn ) {\n\t// Add the callback\n\tjQuery.ready.promise().done( fn );\n\n\treturn this;\n};\n\njQuery.extend({\n\t// Is the DOM ready to be used? Set to true once it occurs.\n\tisReady: false,\n\n\t// A counter to track how many items to wait for before\n\t// the ready event fires. See #6781\n\treadyWait: 1,\n\n\t// Hold (or release) the ready event\n\tholdReady: function( hold ) {\n\t\tif ( hold ) {\n\t\t\tjQuery.readyWait++;\n\t\t} else {\n\t\t\tjQuery.ready( true );\n\t\t}\n\t},\n\n\t// Handle when the DOM is ready\n\tready: function( wait ) {\n\n\t\t// Abort if there are pending holds or we're already ready\n\t\tif ( wait === true ? --jQuery.readyWait : jQuery.isReady ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Remember that the DOM is ready\n\t\tjQuery.isReady = true;\n\n\t\t// If a normal DOM Ready event fired, decrement, and wait if need be\n\t\tif ( wait !== true && --jQuery.readyWait > 0 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// If there are functions bound, to execute\n\t\treadyList.resolveWith( document, [ jQuery ] );\n\n\t\t// Trigger any bound ready events\n\t\tif ( jQuery.fn.triggerHandler ) {\n\t\t\tjQuery( document ).triggerHandler( \"ready\" );\n\t\t\tjQuery( document ).off( \"ready\" );\n\t\t}\n\t}\n});\n\n/**\n * The ready event handler and self cleanup method\n */\nfunction completed() {\n\tdocument.removeEventListener( \"DOMContentLoaded\", completed, false );\n\twindow.removeEventListener( \"load\", completed, false );\n\tjQuery.ready();\n}\n\njQuery.ready.promise = function( obj ) {\n\tif ( !readyList ) {\n\n\t\treadyList = jQuery.Deferred();\n\n\t\t// Catch cases where $(document).ready() is called after the browser event has already occurred.\n\t\t// We once tried to use readyState \"interactive\" here, but it caused issues like the one\n\t\t// discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15\n\t\tif ( document.readyState === \"complete\" ) {\n\t\t\t// Handle it asynchronously to allow scripts the opportunity to delay ready\n\t\t\tsetTimeout( jQuery.ready );\n\n\t\t} else {\n\n\t\t\t// Use the handy event callback\n\t\t\tdocument.addEventListener( \"DOMContentLoaded\", completed, false );\n\n\t\t\t// A fallback to window.onload, that will always work\n\t\t\twindow.addEventListener( \"load\", completed, false );\n\t\t}\n\t}\n\treturn readyList.promise( obj );\n};\n\n// Kick off the DOM ready check even if the user does not\njQuery.ready.promise();\n\n\n\n\n// Multifunctional method to get and set values of a collection\n// The value/s can optionally be executed if it's a function\nvar access = jQuery.access = function( elems, fn, key, value, chainable, emptyGet, raw ) {\n\tvar i = 0,\n\t\tlen = elems.length,\n\t\tbulk = key == null;\n\n\t// Sets many values\n\tif ( jQuery.type( key ) === \"object\" ) {\n\t\tchainable = true;\n\t\tfor ( i in key ) {\n\t\t\tjQuery.access( elems, fn, i, key[i], true, emptyGet, raw );\n\t\t}\n\n\t// Sets one value\n\t} else if ( value !== undefined ) {\n\t\tchainable = true;\n\n\t\tif ( !jQuery.isFunction( value ) ) {\n\t\t\traw = true;\n\t\t}\n\n\t\tif ( bulk ) {\n\t\t\t// Bulk operations run against the entire set\n\t\t\tif ( raw ) {\n\t\t\t\tfn.call( elems, value );\n\t\t\t\tfn = null;\n\n\t\t\t// ...except when executing function values\n\t\t\t} else {\n\t\t\t\tbulk = fn;\n\t\t\t\tfn = function( elem, key, value ) {\n\t\t\t\t\treturn bulk.call( jQuery( elem ), value );\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\n\t\tif ( fn ) {\n\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\tfn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) );\n\t\t\t}\n\t\t}\n\t}\n\n\treturn chainable ?\n\t\telems :\n\n\t\t// Gets\n\t\tbulk ?\n\t\t\tfn.call( elems ) :\n\t\t\tlen ? fn( elems[0], key ) : emptyGet;\n};\n\n\n/**\n * Determines whether an object can have data\n */\njQuery.acceptData = function( owner ) {\n\t// Accepts only:\n\t//  - Node\n\t//    - Node.ELEMENT_NODE\n\t//    - Node.DOCUMENT_NODE\n\t//  - Object\n\t//    - Any\n\t/* jshint -W018 */\n\treturn owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType );\n};\n\n\nfunction Data() {\n\t// Support: Android<4,\n\t// Old WebKit does not have Object.preventExtensions/freeze method,\n\t// return new empty object instead with no [[set]] accessor\n\tObject.defineProperty( this.cache = {}, 0, {\n\t\tget: function() {\n\t\t\treturn {};\n\t\t}\n\t});\n\n\tthis.expando = jQuery.expando + Data.uid++;\n}\n\nData.uid = 1;\nData.accepts = jQuery.acceptData;\n\nData.prototype = {\n\tkey: function( owner ) {\n\t\t// We can accept data for non-element nodes in modern browsers,\n\t\t// but we should not, see #8335.\n\t\t// Always return the key for a frozen object.\n\t\tif ( !Data.accepts( owner ) ) {\n\t\t\treturn 0;\n\t\t}\n\n\t\tvar descriptor = {},\n\t\t\t// Check if the owner object already has a cache key\n\t\t\tunlock = owner[ this.expando ];\n\n\t\t// If not, create one\n\t\tif ( !unlock ) {\n\t\t\tunlock = Data.uid++;\n\n\t\t\t// Secure it in a non-enumerable, non-writable property\n\t\t\ttry {\n\t\t\t\tdescriptor[ this.expando ] = { value: unlock };\n\t\t\t\tObject.defineProperties( owner, descriptor );\n\n\t\t\t// Support: Android<4\n\t\t\t// Fallback to a less secure definition\n\t\t\t} catch ( e ) {\n\t\t\t\tdescriptor[ this.expando ] = unlock;\n\t\t\t\tjQuery.extend( owner, descriptor );\n\t\t\t}\n\t\t}\n\n\t\t// Ensure the cache object\n\t\tif ( !this.cache[ unlock ] ) {\n\t\t\tthis.cache[ unlock ] = {};\n\t\t}\n\n\t\treturn unlock;\n\t},\n\tset: function( owner, data, value ) {\n\t\tvar prop,\n\t\t\t// There may be an unlock assigned to this node,\n\t\t\t// if there is no entry for this \"owner\", create one inline\n\t\t\t// and set the unlock as though an owner entry had always existed\n\t\t\tunlock = this.key( owner ),\n\t\t\tcache = this.cache[ unlock ];\n\n\t\t// Handle: [ owner, key, value ] args\n\t\tif ( typeof data === \"string\" ) {\n\t\t\tcache[ data ] = value;\n\n\t\t// Handle: [ owner, { properties } ] args\n\t\t} else {\n\t\t\t// Fresh assignments by object are shallow copied\n\t\t\tif ( jQuery.isEmptyObject( cache ) ) {\n\t\t\t\tjQuery.extend( this.cache[ unlock ], data );\n\t\t\t// Otherwise, copy the properties one-by-one to the cache object\n\t\t\t} else {\n\t\t\t\tfor ( prop in data ) {\n\t\t\t\t\tcache[ prop ] = data[ prop ];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn cache;\n\t},\n\tget: function( owner, key ) {\n\t\t// Either a valid cache is found, or will be created.\n\t\t// New caches will be created and the unlock returned,\n\t\t// allowing direct access to the newly created\n\t\t// empty data object. A valid owner object must be provided.\n\t\tvar cache = this.cache[ this.key( owner ) ];\n\n\t\treturn key === undefined ?\n\t\t\tcache : cache[ key ];\n\t},\n\taccess: function( owner, key, value ) {\n\t\tvar stored;\n\t\t// In cases where either:\n\t\t//\n\t\t//   1. No key was specified\n\t\t//   2. A string key was specified, but no value provided\n\t\t//\n\t\t// Take the \"read\" path and allow the get method to determine\n\t\t// which value to return, respectively either:\n\t\t//\n\t\t//   1. The entire cache object\n\t\t//   2. The data stored at the key\n\t\t//\n\t\tif ( key === undefined ||\n\t\t\t\t((key && typeof key === \"string\") && value === undefined) ) {\n\n\t\t\tstored = this.get( owner, key );\n\n\t\t\treturn stored !== undefined ?\n\t\t\t\tstored : this.get( owner, jQuery.camelCase(key) );\n\t\t}\n\n\t\t// [*]When the key is not a string, or both a key and value\n\t\t// are specified, set or extend (existing objects) with either:\n\t\t//\n\t\t//   1. An object of properties\n\t\t//   2. A key and value\n\t\t//\n\t\tthis.set( owner, key, value );\n\n\t\t// Since the \"set\" path can have two possible entry points\n\t\t// return the expected data based on which path was taken[*]\n\t\treturn value !== undefined ? value : key;\n\t},\n\tremove: function( owner, key ) {\n\t\tvar i, name, camel,\n\t\t\tunlock = this.key( owner ),\n\t\t\tcache = this.cache[ unlock ];\n\n\t\tif ( key === undefined ) {\n\t\t\tthis.cache[ unlock ] = {};\n\n\t\t} else {\n\t\t\t// Support array or space separated string of keys\n\t\t\tif ( jQuery.isArray( key ) ) {\n\t\t\t\t// If \"name\" is an array of keys...\n\t\t\t\t// When data is initially created, via (\"key\", \"val\") signature,\n\t\t\t\t// keys will be converted to camelCase.\n\t\t\t\t// Since there is no way to tell _how_ a key was added, remove\n\t\t\t\t// both plain key and camelCase key. #12786\n\t\t\t\t// This will only penalize the array argument path.\n\t\t\t\tname = key.concat( key.map( jQuery.camelCase ) );\n\t\t\t} else {\n\t\t\t\tcamel = jQuery.camelCase( key );\n\t\t\t\t// Try the string as a key before any manipulation\n\t\t\t\tif ( key in cache ) {\n\t\t\t\t\tname = [ key, camel ];\n\t\t\t\t} else {\n\t\t\t\t\t// If a key with the spaces exists, use it.\n\t\t\t\t\t// Otherwise, create an array by matching non-whitespace\n\t\t\t\t\tname = camel;\n\t\t\t\t\tname = name in cache ?\n\t\t\t\t\t\t[ name ] : ( name.match( rnotwhite ) || [] );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\ti = name.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\tdelete cache[ name[ i ] ];\n\t\t\t}\n\t\t}\n\t},\n\thasData: function( owner ) {\n\t\treturn !jQuery.isEmptyObject(\n\t\t\tthis.cache[ owner[ this.expando ] ] || {}\n\t\t);\n\t},\n\tdiscard: function( owner ) {\n\t\tif ( owner[ this.expando ] ) {\n\t\t\tdelete this.cache[ owner[ this.expando ] ];\n\t\t}\n\t}\n};\nvar data_priv = new Data();\n\nvar data_user = new Data();\n\n\n\n//\tImplementation Summary\n//\n//\t1. Enforce API surface and semantic compatibility with 1.9.x branch\n//\t2. Improve the module's maintainability by reducing the storage\n//\t\tpaths to a single mechanism.\n//\t3. Use the same single mechanism to support \"private\" and \"user\" data.\n//\t4. _Never_ expose \"private\" data to user code (TODO: Drop _data, _removeData)\n//\t5. Avoid exposing implementation details on user objects (eg. expando properties)\n//\t6. Provide a clear path for implementation upgrade to WeakMap in 2014\n\nvar rbrace = /^(?:\\{[\\w\\W]*\\}|\\[[\\w\\W]*\\])$/,\n\trmultiDash = /([A-Z])/g;\n\nfunction dataAttr( elem, key, data ) {\n\tvar name;\n\n\t// If nothing was found internally, try to fetch any\n\t// data from the HTML5 data-* attribute\n\tif ( data === undefined && elem.nodeType === 1 ) {\n\t\tname = \"data-\" + key.replace( rmultiDash, \"-$1\" ).toLowerCase();\n\t\tdata = elem.getAttribute( name );\n\n\t\tif ( typeof data === \"string\" ) {\n\t\t\ttry {\n\t\t\t\tdata = data === \"true\" ? true :\n\t\t\t\t\tdata === \"false\" ? false :\n\t\t\t\t\tdata === \"null\" ? null :\n\t\t\t\t\t// Only convert to a number if it doesn't change the string\n\t\t\t\t\t+data + \"\" === data ? +data :\n\t\t\t\t\trbrace.test( data ) ? jQuery.parseJSON( data ) :\n\t\t\t\t\tdata;\n\t\t\t} catch( e ) {}\n\n\t\t\t// Make sure we set the data so it isn't changed later\n\t\t\tdata_user.set( elem, key, data );\n\t\t} else {\n\t\t\tdata = undefined;\n\t\t}\n\t}\n\treturn data;\n}\n\njQuery.extend({\n\thasData: function( elem ) {\n\t\treturn data_user.hasData( elem ) || data_priv.hasData( elem );\n\t},\n\n\tdata: function( elem, name, data ) {\n\t\treturn data_user.access( elem, name, data );\n\t},\n\n\tremoveData: function( elem, name ) {\n\t\tdata_user.remove( elem, name );\n\t},\n\n\t// TODO: Now that all calls to _data and _removeData have been replaced\n\t// with direct calls to data_priv methods, these can be deprecated.\n\t_data: function( elem, name, data ) {\n\t\treturn data_priv.access( elem, name, data );\n\t},\n\n\t_removeData: function( elem, name ) {\n\t\tdata_priv.remove( elem, name );\n\t}\n});\n\njQuery.fn.extend({\n\tdata: function( key, value ) {\n\t\tvar i, name, data,\n\t\t\telem = this[ 0 ],\n\t\t\tattrs = elem && elem.attributes;\n\n\t\t// Gets all values\n\t\tif ( key === undefined ) {\n\t\t\tif ( this.length ) {\n\t\t\t\tdata = data_user.get( elem );\n\n\t\t\t\tif ( elem.nodeType === 1 && !data_priv.get( elem, \"hasDataAttrs\" ) ) {\n\t\t\t\t\ti = attrs.length;\n\t\t\t\t\twhile ( i-- ) {\n\n\t\t\t\t\t\t// Support: IE11+\n\t\t\t\t\t\t// The attrs elements can be null (#14894)\n\t\t\t\t\t\tif ( attrs[ i ] ) {\n\t\t\t\t\t\t\tname = attrs[ i ].name;\n\t\t\t\t\t\t\tif ( name.indexOf( \"data-\" ) === 0 ) {\n\t\t\t\t\t\t\t\tname = jQuery.camelCase( name.slice(5) );\n\t\t\t\t\t\t\t\tdataAttr( elem, name, data[ name ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tdata_priv.set( elem, \"hasDataAttrs\", true );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn data;\n\t\t}\n\n\t\t// Sets multiple values\n\t\tif ( typeof key === \"object\" ) {\n\t\t\treturn this.each(function() {\n\t\t\t\tdata_user.set( this, key );\n\t\t\t});\n\t\t}\n\n\t\treturn access( this, function( value ) {\n\t\t\tvar data,\n\t\t\t\tcamelKey = jQuery.camelCase( key );\n\n\t\t\t// The calling jQuery object (element matches) is not empty\n\t\t\t// (and therefore has an element appears at this[ 0 ]) and the\n\t\t\t// `value` parameter was not undefined. An empty jQuery object\n\t\t\t// will result in `undefined` for elem = this[ 0 ] which will\n\t\t\t// throw an exception if an attempt to read a data cache is made.\n\t\t\tif ( elem && value === undefined ) {\n\t\t\t\t// Attempt to get data from the cache\n\t\t\t\t// with the key as-is\n\t\t\t\tdata = data_user.get( elem, key );\n\t\t\t\tif ( data !== undefined ) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\n\t\t\t\t// Attempt to get data from the cache\n\t\t\t\t// with the key camelized\n\t\t\t\tdata = data_user.get( elem, camelKey );\n\t\t\t\tif ( data !== undefined ) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\n\t\t\t\t// Attempt to \"discover\" the data in\n\t\t\t\t// HTML5 custom data-* attrs\n\t\t\t\tdata = dataAttr( elem, camelKey, undefined );\n\t\t\t\tif ( data !== undefined ) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\n\t\t\t\t// We tried really hard, but the data doesn't exist.\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Set the data...\n\t\t\tthis.each(function() {\n\t\t\t\t// First, attempt to store a copy or reference of any\n\t\t\t\t// data that might've been store with a camelCased key.\n\t\t\t\tvar data = data_user.get( this, camelKey );\n\n\t\t\t\t// For HTML5 data-* attribute interop, we have to\n\t\t\t\t// store property names with dashes in a camelCase form.\n\t\t\t\t// This might not apply to all properties...*\n\t\t\t\tdata_user.set( this, camelKey, value );\n\n\t\t\t\t// *... In the case of properties that might _actually_\n\t\t\t\t// have dashes, we need to also store a copy of that\n\t\t\t\t// unchanged property.\n\t\t\t\tif ( key.indexOf(\"-\") !== -1 && data !== undefined ) {\n\t\t\t\t\tdata_user.set( this, key, value );\n\t\t\t\t}\n\t\t\t});\n\t\t}, null, value, arguments.length > 1, null, true );\n\t},\n\n\tremoveData: function( key ) {\n\t\treturn this.each(function() {\n\t\t\tdata_user.remove( this, key );\n\t\t});\n\t}\n});\n\n\njQuery.extend({\n\tqueue: function( elem, type, data ) {\n\t\tvar queue;\n\n\t\tif ( elem ) {\n\t\t\ttype = ( type || \"fx\" ) + \"queue\";\n\t\t\tqueue = data_priv.get( elem, type );\n\n\t\t\t// Speed up dequeue by getting out quickly if this is just a lookup\n\t\t\tif ( data ) {\n\t\t\t\tif ( !queue || jQuery.isArray( data ) ) {\n\t\t\t\t\tqueue = data_priv.access( elem, type, jQuery.makeArray(data) );\n\t\t\t\t} else {\n\t\t\t\t\tqueue.push( data );\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn queue || [];\n\t\t}\n\t},\n\n\tdequeue: function( elem, type ) {\n\t\ttype = type || \"fx\";\n\n\t\tvar queue = jQuery.queue( elem, type ),\n\t\t\tstartLength = queue.length,\n\t\t\tfn = queue.shift(),\n\t\t\thooks = jQuery._queueHooks( elem, type ),\n\t\t\tnext = function() {\n\t\t\t\tjQuery.dequeue( elem, type );\n\t\t\t};\n\n\t\t// If the fx queue is dequeued, always remove the progress sentinel\n\t\tif ( fn === \"inprogress\" ) {\n\t\t\tfn = queue.shift();\n\t\t\tstartLength--;\n\t\t}\n\n\t\tif ( fn ) {\n\n\t\t\t// Add a progress sentinel to prevent the fx queue from being\n\t\t\t// automatically dequeued\n\t\t\tif ( type === \"fx\" ) {\n\t\t\t\tqueue.unshift( \"inprogress\" );\n\t\t\t}\n\n\t\t\t// Clear up the last queue stop function\n\t\t\tdelete hooks.stop;\n\t\t\tfn.call( elem, next, hooks );\n\t\t}\n\n\t\tif ( !startLength && hooks ) {\n\t\t\thooks.empty.fire();\n\t\t}\n\t},\n\n\t// Not public - generate a queueHooks object, or return the current one\n\t_queueHooks: function( elem, type ) {\n\t\tvar key = type + \"queueHooks\";\n\t\treturn data_priv.get( elem, key ) || data_priv.access( elem, key, {\n\t\t\tempty: jQuery.Callbacks(\"once memory\").add(function() {\n\t\t\t\tdata_priv.remove( elem, [ type + \"queue\", key ] );\n\t\t\t})\n\t\t});\n\t}\n});\n\njQuery.fn.extend({\n\tqueue: function( type, data ) {\n\t\tvar setter = 2;\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tdata = type;\n\t\t\ttype = \"fx\";\n\t\t\tsetter--;\n\t\t}\n\n\t\tif ( arguments.length < setter ) {\n\t\t\treturn jQuery.queue( this[0], type );\n\t\t}\n\n\t\treturn data === undefined ?\n\t\t\tthis :\n\t\t\tthis.each(function() {\n\t\t\t\tvar queue = jQuery.queue( this, type, data );\n\n\t\t\t\t// Ensure a hooks for this queue\n\t\t\t\tjQuery._queueHooks( this, type );\n\n\t\t\t\tif ( type === \"fx\" && queue[0] !== \"inprogress\" ) {\n\t\t\t\t\tjQuery.dequeue( this, type );\n\t\t\t\t}\n\t\t\t});\n\t},\n\tdequeue: function( type ) {\n\t\treturn this.each(function() {\n\t\t\tjQuery.dequeue( this, type );\n\t\t});\n\t},\n\tclearQueue: function( type ) {\n\t\treturn this.queue( type || \"fx\", [] );\n\t},\n\t// Get a promise resolved when queues of a certain type\n\t// are emptied (fx is the type by default)\n\tpromise: function( type, obj ) {\n\t\tvar tmp,\n\t\t\tcount = 1,\n\t\t\tdefer = jQuery.Deferred(),\n\t\t\telements = this,\n\t\t\ti = this.length,\n\t\t\tresolve = function() {\n\t\t\t\tif ( !( --count ) ) {\n\t\t\t\t\tdefer.resolveWith( elements, [ elements ] );\n\t\t\t\t}\n\t\t\t};\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tobj = type;\n\t\t\ttype = undefined;\n\t\t}\n\t\ttype = type || \"fx\";\n\n\t\twhile ( i-- ) {\n\t\t\ttmp = data_priv.get( elements[ i ], type + \"queueHooks\" );\n\t\t\tif ( tmp && tmp.empty ) {\n\t\t\t\tcount++;\n\t\t\t\ttmp.empty.add( resolve );\n\t\t\t}\n\t\t}\n\t\tresolve();\n\t\treturn defer.promise( obj );\n\t}\n});\nvar pnum = (/[+-]?(?:\\d*\\.|)\\d+(?:[eE][+-]?\\d+|)/).source;\n\nvar cssExpand = [ \"Top\", \"Right\", \"Bottom\", \"Left\" ];\n\nvar isHidden = function( elem, el ) {\n\t\t// isHidden might be called from jQuery#filter function;\n\t\t// in that case, element will be second argument\n\t\telem = el || elem;\n\t\treturn jQuery.css( elem, \"display\" ) === \"none\" || !jQuery.contains( elem.ownerDocument, elem );\n\t};\n\nvar rcheckableType = (/^(?:checkbox|radio)$/i);\n\n\n\n(function() {\n\tvar fragment = document.createDocumentFragment(),\n\t\tdiv = fragment.appendChild( document.createElement( \"div\" ) ),\n\t\tinput = document.createElement( \"input\" );\n\n\t// Support: Safari<=5.1\n\t// Check state lost if the name is set (#11217)\n\t// Support: Windows Web Apps (WWA)\n\t// `name` and `type` must use .setAttribute for WWA (#14901)\n\tinput.setAttribute( \"type\", \"radio\" );\n\tinput.setAttribute( \"checked\", \"checked\" );\n\tinput.setAttribute( \"name\", \"t\" );\n\n\tdiv.appendChild( input );\n\n\t// Support: Safari<=5.1, Android<4.2\n\t// Older WebKit doesn't clone checked state correctly in fragments\n\tsupport.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked;\n\n\t// Support: IE<=11+\n\t// Make sure textarea (and checkbox) defaultValue is properly cloned\n\tdiv.innerHTML = \"<textarea>x</textarea>\";\n\tsupport.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue;\n})();\nvar strundefined = typeof undefined;\n\n\n\nsupport.focusinBubbles = \"onfocusin\" in window;\n\n\nvar\n\trkeyEvent = /^key/,\n\trmouseEvent = /^(?:mouse|pointer|contextmenu)|click/,\n\trfocusMorph = /^(?:focusinfocus|focusoutblur)$/,\n\trtypenamespace = /^([^.]*)(?:\\.(.+)|)$/;\n\nfunction returnTrue() {\n\treturn true;\n}\n\nfunction returnFalse() {\n\treturn false;\n}\n\nfunction safeActiveElement() {\n\ttry {\n\t\treturn document.activeElement;\n\t} catch ( err ) { }\n}\n\n/*\n * Helper functions for managing events -- not part of the public interface.\n * Props to Dean Edwards' addEvent library for many of the ideas.\n */\njQuery.event = {\n\n\tglobal: {},\n\n\tadd: function( elem, types, handler, data, selector ) {\n\n\t\tvar handleObjIn, eventHandle, tmp,\n\t\t\tevents, t, handleObj,\n\t\t\tspecial, handlers, type, namespaces, origType,\n\t\t\telemData = data_priv.get( elem );\n\n\t\t// Don't attach events to noData or text/comment nodes (but allow plain objects)\n\t\tif ( !elemData ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Caller can pass in an object of custom data in lieu of the handler\n\t\tif ( handler.handler ) {\n\t\t\thandleObjIn = handler;\n\t\t\thandler = handleObjIn.handler;\n\t\t\tselector = handleObjIn.selector;\n\t\t}\n\n\t\t// Make sure that the handler has a unique ID, used to find/remove it later\n\t\tif ( !handler.guid ) {\n\t\t\thandler.guid = jQuery.guid++;\n\t\t}\n\n\t\t// Init the element's event structure and main handler, if this is the first\n\t\tif ( !(events = elemData.events) ) {\n\t\t\tevents = elemData.events = {};\n\t\t}\n\t\tif ( !(eventHandle = elemData.handle) ) {\n\t\t\teventHandle = elemData.handle = function( e ) {\n\t\t\t\t// Discard the second event of a jQuery.event.trigger() and\n\t\t\t\t// when an event is called after a page has unloaded\n\t\t\t\treturn typeof jQuery !== strundefined && jQuery.event.triggered !== e.type ?\n\t\t\t\t\tjQuery.event.dispatch.apply( elem, arguments ) : undefined;\n\t\t\t};\n\t\t}\n\n\t\t// Handle multiple events separated by a space\n\t\ttypes = ( types || \"\" ).match( rnotwhite ) || [ \"\" ];\n\t\tt = types.length;\n\t\twhile ( t-- ) {\n\t\t\ttmp = rtypenamespace.exec( types[t] ) || [];\n\t\t\ttype = origType = tmp[1];\n\t\t\tnamespaces = ( tmp[2] || \"\" ).split( \".\" ).sort();\n\n\t\t\t// There *must* be a type, no attaching namespace-only handlers\n\t\t\tif ( !type ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// If event changes its type, use the special event handlers for the changed type\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\n\t\t\t// If selector defined, determine special event api type, otherwise given type\n\t\t\ttype = ( selector ? special.delegateType : special.bindType ) || type;\n\n\t\t\t// Update special based on newly reset type\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\n\t\t\t// handleObj is passed to all event handlers\n\t\t\thandleObj = jQuery.extend({\n\t\t\t\ttype: type,\n\t\t\t\torigType: origType,\n\t\t\t\tdata: data,\n\t\t\t\thandler: handler,\n\t\t\t\tguid: handler.guid,\n\t\t\t\tselector: selector,\n\t\t\t\tneedsContext: selector && jQuery.expr.match.needsContext.test( selector ),\n\t\t\t\tnamespace: namespaces.join(\".\")\n\t\t\t}, handleObjIn );\n\n\t\t\t// Init the event handler queue if we're the first\n\t\t\tif ( !(handlers = events[ type ]) ) {\n\t\t\t\thandlers = events[ type ] = [];\n\t\t\t\thandlers.delegateCount = 0;\n\n\t\t\t\t// Only use addEventListener if the special events handler returns false\n\t\t\t\tif ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) {\n\t\t\t\t\tif ( elem.addEventListener ) {\n\t\t\t\t\t\telem.addEventListener( type, eventHandle, false );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( special.add ) {\n\t\t\t\tspecial.add.call( elem, handleObj );\n\n\t\t\t\tif ( !handleObj.handler.guid ) {\n\t\t\t\t\thandleObj.handler.guid = handler.guid;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Add to the element's handler list, delegates in front\n\t\t\tif ( selector ) {\n\t\t\t\thandlers.splice( handlers.delegateCount++, 0, handleObj );\n\t\t\t} else {\n\t\t\t\thandlers.push( handleObj );\n\t\t\t}\n\n\t\t\t// Keep track of which events have ever been used, for event optimization\n\t\t\tjQuery.event.global[ type ] = true;\n\t\t}\n\n\t},\n\n\t// Detach an event or set of events from an element\n\tremove: function( elem, types, handler, selector, mappedTypes ) {\n\n\t\tvar j, origCount, tmp,\n\t\t\tevents, t, handleObj,\n\t\t\tspecial, handlers, type, namespaces, origType,\n\t\t\telemData = data_priv.hasData( elem ) && data_priv.get( elem );\n\n\t\tif ( !elemData || !(events = elemData.events) ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Once for each type.namespace in types; type may be omitted\n\t\ttypes = ( types || \"\" ).match( rnotwhite ) || [ \"\" ];\n\t\tt = types.length;\n\t\twhile ( t-- ) {\n\t\t\ttmp = rtypenamespace.exec( types[t] ) || [];\n\t\t\ttype = origType = tmp[1];\n\t\t\tnamespaces = ( tmp[2] || \"\" ).split( \".\" ).sort();\n\n\t\t\t// Unbind all events (on this namespace, if provided) for the element\n\t\t\tif ( !type ) {\n\t\t\t\tfor ( type in events ) {\n\t\t\t\t\tjQuery.event.remove( elem, type + types[ t ], handler, selector, true );\n\t\t\t\t}\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\t\t\ttype = ( selector ? special.delegateType : special.bindType ) || type;\n\t\t\thandlers = events[ type ] || [];\n\t\t\ttmp = tmp[2] && new RegExp( \"(^|\\\\.)\" + namespaces.join(\"\\\\.(?:.*\\\\.|)\") + \"(\\\\.|$)\" );\n\n\t\t\t// Remove matching events\n\t\t\torigCount = j = handlers.length;\n\t\t\twhile ( j-- ) {\n\t\t\t\thandleObj = handlers[ j ];\n\n\t\t\t\tif ( ( mappedTypes || origType === handleObj.origType ) &&\n\t\t\t\t\t( !handler || handler.guid === handleObj.guid ) &&\n\t\t\t\t\t( !tmp || tmp.test( handleObj.namespace ) ) &&\n\t\t\t\t\t( !selector || selector === handleObj.selector || selector === \"**\" && handleObj.selector ) ) {\n\t\t\t\t\thandlers.splice( j, 1 );\n\n\t\t\t\t\tif ( handleObj.selector ) {\n\t\t\t\t\t\thandlers.delegateCount--;\n\t\t\t\t\t}\n\t\t\t\t\tif ( special.remove ) {\n\t\t\t\t\t\tspecial.remove.call( elem, handleObj );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Remove generic event handler if we removed something and no more handlers exist\n\t\t\t// (avoids potential for endless recursion during removal of special event handlers)\n\t\t\tif ( origCount && !handlers.length ) {\n\t\t\t\tif ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) {\n\t\t\t\t\tjQuery.removeEvent( elem, type, elemData.handle );\n\t\t\t\t}\n\n\t\t\t\tdelete events[ type ];\n\t\t\t}\n\t\t}\n\n\t\t// Remove the expando if it's no longer used\n\t\tif ( jQuery.isEmptyObject( events ) ) {\n\t\t\tdelete elemData.handle;\n\t\t\tdata_priv.remove( elem, \"events\" );\n\t\t}\n\t},\n\n\ttrigger: function( event, data, elem, onlyHandlers ) {\n\n\t\tvar i, cur, tmp, bubbleType, ontype, handle, special,\n\t\t\teventPath = [ elem || document ],\n\t\t\ttype = hasOwn.call( event, \"type\" ) ? event.type : event,\n\t\t\tnamespaces = hasOwn.call( event, \"namespace\" ) ? event.namespace.split(\".\") : [];\n\n\t\tcur = tmp = elem = elem || document;\n\n\t\t// Don't do events on text and comment nodes\n\t\tif ( elem.nodeType === 3 || elem.nodeType === 8 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// focus/blur morphs to focusin/out; ensure we're not firing them right now\n\t\tif ( rfocusMorph.test( type + jQuery.event.triggered ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( type.indexOf(\".\") >= 0 ) {\n\t\t\t// Namespaced trigger; create a regexp to match event type in handle()\n\t\t\tnamespaces = type.split(\".\");\n\t\t\ttype = namespaces.shift();\n\t\t\tnamespaces.sort();\n\t\t}\n\t\tontype = type.indexOf(\":\") < 0 && \"on\" + type;\n\n\t\t// Caller can pass in a jQuery.Event object, Object, or just an event type string\n\t\tevent = event[ jQuery.expando ] ?\n\t\t\tevent :\n\t\t\tnew jQuery.Event( type, typeof event === \"object\" && event );\n\n\t\t// Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true)\n\t\tevent.isTrigger = onlyHandlers ? 2 : 3;\n\t\tevent.namespace = namespaces.join(\".\");\n\t\tevent.namespace_re = event.namespace ?\n\t\t\tnew RegExp( \"(^|\\\\.)\" + namespaces.join(\"\\\\.(?:.*\\\\.|)\") + \"(\\\\.|$)\" ) :\n\t\t\tnull;\n\n\t\t// Clean up the event in case it is being reused\n\t\tevent.result = undefined;\n\t\tif ( !event.target ) {\n\t\t\tevent.target = elem;\n\t\t}\n\n\t\t// Clone any incoming data and prepend the event, creating the handler arg list\n\t\tdata = data == null ?\n\t\t\t[ event ] :\n\t\t\tjQuery.makeArray( data, [ event ] );\n\n\t\t// Allow special events to draw outside the lines\n\t\tspecial = jQuery.event.special[ type ] || {};\n\t\tif ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Determine event propagation path in advance, per W3C events spec (#9951)\n\t\t// Bubble up to document, then to window; watch for a global ownerDocument var (#9724)\n\t\tif ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) {\n\n\t\t\tbubbleType = special.delegateType || type;\n\t\t\tif ( !rfocusMorph.test( bubbleType + type ) ) {\n\t\t\t\tcur = cur.parentNode;\n\t\t\t}\n\t\t\tfor ( ; cur; cur = cur.parentNode ) {\n\t\t\t\teventPath.push( cur );\n\t\t\t\ttmp = cur;\n\t\t\t}\n\n\t\t\t// Only add window if we got to document (e.g., not plain obj or detached DOM)\n\t\t\tif ( tmp === (elem.ownerDocument || document) ) {\n\t\t\t\teventPath.push( tmp.defaultView || tmp.parentWindow || window );\n\t\t\t}\n\t\t}\n\n\t\t// Fire handlers on the event path\n\t\ti = 0;\n\t\twhile ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) {\n\n\t\t\tevent.type = i > 1 ?\n\t\t\t\tbubbleType :\n\t\t\t\tspecial.bindType || type;\n\n\t\t\t// jQuery handler\n\t\t\thandle = ( data_priv.get( cur, \"events\" ) || {} )[ event.type ] && data_priv.get( cur, \"handle\" );\n\t\t\tif ( handle ) {\n\t\t\t\thandle.apply( cur, data );\n\t\t\t}\n\n\t\t\t// Native handler\n\t\t\thandle = ontype && cur[ ontype ];\n\t\t\tif ( handle && handle.apply && jQuery.acceptData( cur ) ) {\n\t\t\t\tevent.result = handle.apply( cur, data );\n\t\t\t\tif ( event.result === false ) {\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tevent.type = type;\n\n\t\t// If nobody prevented the default action, do it now\n\t\tif ( !onlyHandlers && !event.isDefaultPrevented() ) {\n\n\t\t\tif ( (!special._default || special._default.apply( eventPath.pop(), data ) === false) &&\n\t\t\t\tjQuery.acceptData( elem ) ) {\n\n\t\t\t\t// Call a native DOM method on the target with the same name name as the event.\n\t\t\t\t// Don't do default actions on window, that's where global variables be (#6170)\n\t\t\t\tif ( ontype && jQuery.isFunction( elem[ type ] ) && !jQuery.isWindow( elem ) ) {\n\n\t\t\t\t\t// Don't re-trigger an onFOO event when we call its FOO() method\n\t\t\t\t\ttmp = elem[ ontype ];\n\n\t\t\t\t\tif ( tmp ) {\n\t\t\t\t\t\telem[ ontype ] = null;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Prevent re-triggering of the same event, since we already bubbled it above\n\t\t\t\t\tjQuery.event.triggered = type;\n\t\t\t\t\telem[ type ]();\n\t\t\t\t\tjQuery.event.triggered = undefined;\n\n\t\t\t\t\tif ( tmp ) {\n\t\t\t\t\t\telem[ ontype ] = tmp;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn event.result;\n\t},\n\n\tdispatch: function( event ) {\n\n\t\t// Make a writable jQuery.Event from the native event object\n\t\tevent = jQuery.event.fix( event );\n\n\t\tvar i, j, ret, matched, handleObj,\n\t\t\thandlerQueue = [],\n\t\t\targs = slice.call( arguments ),\n\t\t\thandlers = ( data_priv.get( this, \"events\" ) || {} )[ event.type ] || [],\n\t\t\tspecial = jQuery.event.special[ event.type ] || {};\n\n\t\t// Use the fix-ed jQuery.Event rather than the (read-only) native event\n\t\targs[0] = event;\n\t\tevent.delegateTarget = this;\n\n\t\t// Call the preDispatch hook for the mapped type, and let it bail if desired\n\t\tif ( special.preDispatch && special.preDispatch.call( this, event ) === false ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Determine handlers\n\t\thandlerQueue = jQuery.event.handlers.call( this, event, handlers );\n\n\t\t// Run delegates first; they may want to stop propagation beneath us\n\t\ti = 0;\n\t\twhile ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) {\n\t\t\tevent.currentTarget = matched.elem;\n\n\t\t\tj = 0;\n\t\t\twhile ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) {\n\n\t\t\t\t// Triggered event must either 1) have no namespace, or 2) have namespace(s)\n\t\t\t\t// a subset or equal to those in the bound event (both can have no namespace).\n\t\t\t\tif ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) {\n\n\t\t\t\t\tevent.handleObj = handleObj;\n\t\t\t\t\tevent.data = handleObj.data;\n\n\t\t\t\t\tret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler )\n\t\t\t\t\t\t\t.apply( matched.elem, args );\n\n\t\t\t\t\tif ( ret !== undefined ) {\n\t\t\t\t\t\tif ( (event.result = ret) === false ) {\n\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Call the postDispatch hook for the mapped type\n\t\tif ( special.postDispatch ) {\n\t\t\tspecial.postDispatch.call( this, event );\n\t\t}\n\n\t\treturn event.result;\n\t},\n\n\thandlers: function( event, handlers ) {\n\t\tvar i, matches, sel, handleObj,\n\t\t\thandlerQueue = [],\n\t\t\tdelegateCount = handlers.delegateCount,\n\t\t\tcur = event.target;\n\n\t\t// Find delegate handlers\n\t\t// Black-hole SVG <use> instance trees (#13180)\n\t\t// Avoid non-left-click bubbling in Firefox (#3861)\n\t\tif ( delegateCount && cur.nodeType && (!event.button || event.type !== \"click\") ) {\n\n\t\t\tfor ( ; cur !== this; cur = cur.parentNode || this ) {\n\n\t\t\t\t// Don't process clicks on disabled elements (#6911, #8165, #11382, #11764)\n\t\t\t\tif ( cur.disabled !== true || event.type !== \"click\" ) {\n\t\t\t\t\tmatches = [];\n\t\t\t\t\tfor ( i = 0; i < delegateCount; i++ ) {\n\t\t\t\t\t\thandleObj = handlers[ i ];\n\n\t\t\t\t\t\t// Don't conflict with Object.prototype properties (#13203)\n\t\t\t\t\t\tsel = handleObj.selector + \" \";\n\n\t\t\t\t\t\tif ( matches[ sel ] === undefined ) {\n\t\t\t\t\t\t\tmatches[ sel ] = handleObj.needsContext ?\n\t\t\t\t\t\t\t\tjQuery( sel, this ).index( cur ) >= 0 :\n\t\t\t\t\t\t\t\tjQuery.find( sel, this, null, [ cur ] ).length;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif ( matches[ sel ] ) {\n\t\t\t\t\t\t\tmatches.push( handleObj );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ( matches.length ) {\n\t\t\t\t\t\thandlerQueue.push({ elem: cur, handlers: matches });\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Add the remaining (directly-bound) handlers\n\t\tif ( delegateCount < handlers.length ) {\n\t\t\thandlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) });\n\t\t}\n\n\t\treturn handlerQueue;\n\t},\n\n\t// Includes some event props shared by KeyEvent and MouseEvent\n\tprops: \"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which\".split(\" \"),\n\n\tfixHooks: {},\n\n\tkeyHooks: {\n\t\tprops: \"char charCode key keyCode\".split(\" \"),\n\t\tfilter: function( event, original ) {\n\n\t\t\t// Add which for key events\n\t\t\tif ( event.which == null ) {\n\t\t\t\tevent.which = original.charCode != null ? original.charCode : original.keyCode;\n\t\t\t}\n\n\t\t\treturn event;\n\t\t}\n\t},\n\n\tmouseHooks: {\n\t\tprops: \"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement\".split(\" \"),\n\t\tfilter: function( event, original ) {\n\t\t\tvar eventDoc, doc, body,\n\t\t\t\tbutton = original.button;\n\n\t\t\t// Calculate pageX/Y if missing and clientX/Y available\n\t\t\tif ( event.pageX == null && original.clientX != null ) {\n\t\t\t\teventDoc = event.target.ownerDocument || document;\n\t\t\t\tdoc = eventDoc.documentElement;\n\t\t\t\tbody = eventDoc.body;\n\n\t\t\t\tevent.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 );\n\t\t\t\tevent.pageY = original.clientY + ( doc && doc.scrollTop  || body && body.scrollTop  || 0 ) - ( doc && doc.clientTop  || body && body.clientTop  || 0 );\n\t\t\t}\n\n\t\t\t// Add which for click: 1 === left; 2 === middle; 3 === right\n\t\t\t// Note: button is not normalized, so don't use it\n\t\t\tif ( !event.which && button !== undefined ) {\n\t\t\t\tevent.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) );\n\t\t\t}\n\n\t\t\treturn event;\n\t\t}\n\t},\n\n\tfix: function( event ) {\n\t\tif ( event[ jQuery.expando ] ) {\n\t\t\treturn event;\n\t\t}\n\n\t\t// Create a writable copy of the event object and normalize some properties\n\t\tvar i, prop, copy,\n\t\t\ttype = event.type,\n\t\t\toriginalEvent = event,\n\t\t\tfixHook = this.fixHooks[ type ];\n\n\t\tif ( !fixHook ) {\n\t\t\tthis.fixHooks[ type ] = fixHook =\n\t\t\t\trmouseEvent.test( type ) ? this.mouseHooks :\n\t\t\t\trkeyEvent.test( type ) ? this.keyHooks :\n\t\t\t\t{};\n\t\t}\n\t\tcopy = fixHook.props ? this.props.concat( fixHook.props ) : this.props;\n\n\t\tevent = new jQuery.Event( originalEvent );\n\n\t\ti = copy.length;\n\t\twhile ( i-- ) {\n\t\t\tprop = copy[ i ];\n\t\t\tevent[ prop ] = originalEvent[ prop ];\n\t\t}\n\n\t\t// Support: Cordova 2.5 (WebKit) (#13255)\n\t\t// All events should have a target; Cordova deviceready doesn't\n\t\tif ( !event.target ) {\n\t\t\tevent.target = document;\n\t\t}\n\n\t\t// Support: Safari 6.0+, Chrome<28\n\t\t// Target should not be a text node (#504, #13143)\n\t\tif ( event.target.nodeType === 3 ) {\n\t\t\tevent.target = event.target.parentNode;\n\t\t}\n\n\t\treturn fixHook.filter ? fixHook.filter( event, originalEvent ) : event;\n\t},\n\n\tspecial: {\n\t\tload: {\n\t\t\t// Prevent triggered image.load events from bubbling to window.load\n\t\t\tnoBubble: true\n\t\t},\n\t\tfocus: {\n\t\t\t// Fire native event if possible so blur/focus sequence is correct\n\t\t\ttrigger: function() {\n\t\t\t\tif ( this !== safeActiveElement() && this.focus ) {\n\t\t\t\t\tthis.focus();\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t},\n\t\t\tdelegateType: \"focusin\"\n\t\t},\n\t\tblur: {\n\t\t\ttrigger: function() {\n\t\t\t\tif ( this === safeActiveElement() && this.blur ) {\n\t\t\t\t\tthis.blur();\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t},\n\t\t\tdelegateType: \"focusout\"\n\t\t},\n\t\tclick: {\n\t\t\t// For checkbox, fire native event so checked state will be right\n\t\t\ttrigger: function() {\n\t\t\t\tif ( this.type === \"checkbox\" && this.click && jQuery.nodeName( this, \"input\" ) ) {\n\t\t\t\t\tthis.click();\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t},\n\n\t\t\t// For cross-browser consistency, don't fire native .click() on links\n\t\t\t_default: function( event ) {\n\t\t\t\treturn jQuery.nodeName( event.target, \"a\" );\n\t\t\t}\n\t\t},\n\n\t\tbeforeunload: {\n\t\t\tpostDispatch: function( event ) {\n\n\t\t\t\t// Support: Firefox 20+\n\t\t\t\t// Firefox doesn't alert if the returnValue field is not set.\n\t\t\t\tif ( event.result !== undefined && event.originalEvent ) {\n\t\t\t\t\tevent.originalEvent.returnValue = event.result;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\tsimulate: function( type, elem, event, bubble ) {\n\t\t// Piggyback on a donor event to simulate a different one.\n\t\t// Fake originalEvent to avoid donor's stopPropagation, but if the\n\t\t// simulated event prevents default then we do the same on the donor.\n\t\tvar e = jQuery.extend(\n\t\t\tnew jQuery.Event(),\n\t\t\tevent,\n\t\t\t{\n\t\t\t\ttype: type,\n\t\t\t\tisSimulated: true,\n\t\t\t\toriginalEvent: {}\n\t\t\t}\n\t\t);\n\t\tif ( bubble ) {\n\t\t\tjQuery.event.trigger( e, null, elem );\n\t\t} else {\n\t\t\tjQuery.event.dispatch.call( elem, e );\n\t\t}\n\t\tif ( e.isDefaultPrevented() ) {\n\t\t\tevent.preventDefault();\n\t\t}\n\t}\n};\n\njQuery.removeEvent = function( elem, type, handle ) {\n\tif ( elem.removeEventListener ) {\n\t\telem.removeEventListener( type, handle, false );\n\t}\n};\n\njQuery.Event = function( src, props ) {\n\t// Allow instantiation without the 'new' keyword\n\tif ( !(this instanceof jQuery.Event) ) {\n\t\treturn new jQuery.Event( src, props );\n\t}\n\n\t// Event object\n\tif ( src && src.type ) {\n\t\tthis.originalEvent = src;\n\t\tthis.type = src.type;\n\n\t\t// Events bubbling up the document may have been marked as prevented\n\t\t// by a handler lower down the tree; reflect the correct value.\n\t\tthis.isDefaultPrevented = src.defaultPrevented ||\n\t\t\t\tsrc.defaultPrevented === undefined &&\n\t\t\t\t// Support: Android<4.0\n\t\t\t\tsrc.returnValue === false ?\n\t\t\treturnTrue :\n\t\t\treturnFalse;\n\n\t// Event type\n\t} else {\n\t\tthis.type = src;\n\t}\n\n\t// Put explicitly provided properties onto the event object\n\tif ( props ) {\n\t\tjQuery.extend( this, props );\n\t}\n\n\t// Create a timestamp if incoming event doesn't have one\n\tthis.timeStamp = src && src.timeStamp || jQuery.now();\n\n\t// Mark it as fixed\n\tthis[ jQuery.expando ] = true;\n};\n\n// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding\n// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html\njQuery.Event.prototype = {\n\tisDefaultPrevented: returnFalse,\n\tisPropagationStopped: returnFalse,\n\tisImmediatePropagationStopped: returnFalse,\n\n\tpreventDefault: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isDefaultPrevented = returnTrue;\n\n\t\tif ( e && e.preventDefault ) {\n\t\t\te.preventDefault();\n\t\t}\n\t},\n\tstopPropagation: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isPropagationStopped = returnTrue;\n\n\t\tif ( e && e.stopPropagation ) {\n\t\t\te.stopPropagation();\n\t\t}\n\t},\n\tstopImmediatePropagation: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isImmediatePropagationStopped = returnTrue;\n\n\t\tif ( e && e.stopImmediatePropagation ) {\n\t\t\te.stopImmediatePropagation();\n\t\t}\n\n\t\tthis.stopPropagation();\n\t}\n};\n\n// Create mouseenter/leave events using mouseover/out and event-time checks\n// Support: Chrome 15+\njQuery.each({\n\tmouseenter: \"mouseover\",\n\tmouseleave: \"mouseout\",\n\tpointerenter: \"pointerover\",\n\tpointerleave: \"pointerout\"\n}, function( orig, fix ) {\n\tjQuery.event.special[ orig ] = {\n\t\tdelegateType: fix,\n\t\tbindType: fix,\n\n\t\thandle: function( event ) {\n\t\t\tvar ret,\n\t\t\t\ttarget = this,\n\t\t\t\trelated = event.relatedTarget,\n\t\t\t\thandleObj = event.handleObj;\n\n\t\t\t// For mousenter/leave call the handler if related is outside the target.\n\t\t\t// NB: No relatedTarget if the mouse left/entered the browser window\n\t\t\tif ( !related || (related !== target && !jQuery.contains( target, related )) ) {\n\t\t\t\tevent.type = handleObj.origType;\n\t\t\t\tret = handleObj.handler.apply( this, arguments );\n\t\t\t\tevent.type = fix;\n\t\t\t}\n\t\t\treturn ret;\n\t\t}\n\t};\n});\n\n// Support: Firefox, Chrome, Safari\n// Create \"bubbling\" focus and blur events\nif ( !support.focusinBubbles ) {\n\tjQuery.each({ focus: \"focusin\", blur: \"focusout\" }, function( orig, fix ) {\n\n\t\t// Attach a single capturing handler on the document while someone wants focusin/focusout\n\t\tvar handler = function( event ) {\n\t\t\t\tjQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true );\n\t\t\t};\n\n\t\tjQuery.event.special[ fix ] = {\n\t\t\tsetup: function() {\n\t\t\t\tvar doc = this.ownerDocument || this,\n\t\t\t\t\tattaches = data_priv.access( doc, fix );\n\n\t\t\t\tif ( !attaches ) {\n\t\t\t\t\tdoc.addEventListener( orig, handler, true );\n\t\t\t\t}\n\t\t\t\tdata_priv.access( doc, fix, ( attaches || 0 ) + 1 );\n\t\t\t},\n\t\t\tteardown: function() {\n\t\t\t\tvar doc = this.ownerDocument || this,\n\t\t\t\t\tattaches = data_priv.access( doc, fix ) - 1;\n\n\t\t\t\tif ( !attaches ) {\n\t\t\t\t\tdoc.removeEventListener( orig, handler, true );\n\t\t\t\t\tdata_priv.remove( doc, fix );\n\n\t\t\t\t} else {\n\t\t\t\t\tdata_priv.access( doc, fix, attaches );\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t});\n}\n\njQuery.fn.extend({\n\n\ton: function( types, selector, data, fn, /*INTERNAL*/ one ) {\n\t\tvar origFn, type;\n\n\t\t// Types can be a map of types/handlers\n\t\tif ( typeof types === \"object\" ) {\n\t\t\t// ( types-Object, selector, data )\n\t\t\tif ( typeof selector !== \"string\" ) {\n\t\t\t\t// ( types-Object, data )\n\t\t\t\tdata = data || selector;\n\t\t\t\tselector = undefined;\n\t\t\t}\n\t\t\tfor ( type in types ) {\n\t\t\t\tthis.on( type, selector, data, types[ type ], one );\n\t\t\t}\n\t\t\treturn this;\n\t\t}\n\n\t\tif ( data == null && fn == null ) {\n\t\t\t// ( types, fn )\n\t\t\tfn = selector;\n\t\t\tdata = selector = undefined;\n\t\t} else if ( fn == null ) {\n\t\t\tif ( typeof selector === \"string\" ) {\n\t\t\t\t// ( types, selector, fn )\n\t\t\t\tfn = data;\n\t\t\t\tdata = undefined;\n\t\t\t} else {\n\t\t\t\t// ( types, data, fn )\n\t\t\t\tfn = data;\n\t\t\t\tdata = selector;\n\t\t\t\tselector = undefined;\n\t\t\t}\n\t\t}\n\t\tif ( fn === false ) {\n\t\t\tfn = returnFalse;\n\t\t} else if ( !fn ) {\n\t\t\treturn this;\n\t\t}\n\n\t\tif ( one === 1 ) {\n\t\t\torigFn = fn;\n\t\t\tfn = function( event ) {\n\t\t\t\t// Can use an empty set, since event contains the info\n\t\t\t\tjQuery().off( event );\n\t\t\t\treturn origFn.apply( this, arguments );\n\t\t\t};\n\t\t\t// Use same guid so caller can remove using origFn\n\t\t\tfn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ );\n\t\t}\n\t\treturn this.each( function() {\n\t\t\tjQuery.event.add( this, types, fn, data, selector );\n\t\t});\n\t},\n\tone: function( types, selector, data, fn ) {\n\t\treturn this.on( types, selector, data, fn, 1 );\n\t},\n\toff: function( types, selector, fn ) {\n\t\tvar handleObj, type;\n\t\tif ( types && types.preventDefault && types.handleObj ) {\n\t\t\t// ( event )  dispatched jQuery.Event\n\t\t\thandleObj = types.handleObj;\n\t\t\tjQuery( types.delegateTarget ).off(\n\t\t\t\thandleObj.namespace ? handleObj.origType + \".\" + handleObj.namespace : handleObj.origType,\n\t\t\t\thandleObj.selector,\n\t\t\t\thandleObj.handler\n\t\t\t);\n\t\t\treturn this;\n\t\t}\n\t\tif ( typeof types === \"object\" ) {\n\t\t\t// ( types-object [, selector] )\n\t\t\tfor ( type in types ) {\n\t\t\t\tthis.off( type, selector, types[ type ] );\n\t\t\t}\n\t\t\treturn this;\n\t\t}\n\t\tif ( selector === false || typeof selector === \"function\" ) {\n\t\t\t// ( types [, fn] )\n\t\t\tfn = selector;\n\t\t\tselector = undefined;\n\t\t}\n\t\tif ( fn === false ) {\n\t\t\tfn = returnFalse;\n\t\t}\n\t\treturn this.each(function() {\n\t\t\tjQuery.event.remove( this, types, fn, selector );\n\t\t});\n\t},\n\n\ttrigger: function( type, data ) {\n\t\treturn this.each(function() {\n\t\t\tjQuery.event.trigger( type, data, this );\n\t\t});\n\t},\n\ttriggerHandler: function( type, data ) {\n\t\tvar elem = this[0];\n\t\tif ( elem ) {\n\t\t\treturn jQuery.event.trigger( type, data, elem, true );\n\t\t}\n\t}\n});\n\n\nvar\n\trxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\\w:]+)[^>]*)\\/>/gi,\n\trtagName = /<([\\w:]+)/,\n\trhtml = /<|&#?\\w+;/,\n\trnoInnerhtml = /<(?:script|style|link)/i,\n\t// checked=\"checked\" or checked\n\trchecked = /checked\\s*(?:[^=]|=\\s*.checked.)/i,\n\trscriptType = /^$|\\/(?:java|ecma)script/i,\n\trscriptTypeMasked = /^true\\/(.*)/,\n\trcleanScript = /^\\s*<!(?:\\[CDATA\\[|--)|(?:\\]\\]|--)>\\s*$/g,\n\n\t// We have to close these tags to support XHTML (#13200)\n\twrapMap = {\n\n\t\t// Support: IE9\n\t\toption: [ 1, \"<select multiple='multiple'>\", \"</select>\" ],\n\n\t\tthead: [ 1, \"<table>\", \"</table>\" ],\n\t\tcol: [ 2, \"<table><colgroup>\", \"</colgroup></table>\" ],\n\t\ttr: [ 2, \"<table><tbody>\", \"</tbody></table>\" ],\n\t\ttd: [ 3, \"<table><tbody><tr>\", \"</tr></tbody></table>\" ],\n\n\t\t_default: [ 0, \"\", \"\" ]\n\t};\n\n// Support: IE9\nwrapMap.optgroup = wrapMap.option;\n\nwrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;\nwrapMap.th = wrapMap.td;\n\n// Support: 1.x compatibility\n// Manipulating tables requires a tbody\nfunction manipulationTarget( elem, content ) {\n\treturn jQuery.nodeName( elem, \"table\" ) &&\n\t\tjQuery.nodeName( content.nodeType !== 11 ? content : content.firstChild, \"tr\" ) ?\n\n\t\telem.getElementsByTagName(\"tbody\")[0] ||\n\t\t\telem.appendChild( elem.ownerDocument.createElement(\"tbody\") ) :\n\t\telem;\n}\n\n// Replace/restore the type attribute of script elements for safe DOM manipulation\nfunction disableScript( elem ) {\n\telem.type = (elem.getAttribute(\"type\") !== null) + \"/\" + elem.type;\n\treturn elem;\n}\nfunction restoreScript( elem ) {\n\tvar match = rscriptTypeMasked.exec( elem.type );\n\n\tif ( match ) {\n\t\telem.type = match[ 1 ];\n\t} else {\n\t\telem.removeAttribute(\"type\");\n\t}\n\n\treturn elem;\n}\n\n// Mark scripts as having already been evaluated\nfunction setGlobalEval( elems, refElements ) {\n\tvar i = 0,\n\t\tl = elems.length;\n\n\tfor ( ; i < l; i++ ) {\n\t\tdata_priv.set(\n\t\t\telems[ i ], \"globalEval\", !refElements || data_priv.get( refElements[ i ], \"globalEval\" )\n\t\t);\n\t}\n}\n\nfunction cloneCopyEvent( src, dest ) {\n\tvar i, l, type, pdataOld, pdataCur, udataOld, udataCur, events;\n\n\tif ( dest.nodeType !== 1 ) {\n\t\treturn;\n\t}\n\n\t// 1. Copy private data: events, handlers, etc.\n\tif ( data_priv.hasData( src ) ) {\n\t\tpdataOld = data_priv.access( src );\n\t\tpdataCur = data_priv.set( dest, pdataOld );\n\t\tevents = pdataOld.events;\n\n\t\tif ( events ) {\n\t\t\tdelete pdataCur.handle;\n\t\t\tpdataCur.events = {};\n\n\t\t\tfor ( type in events ) {\n\t\t\t\tfor ( i = 0, l = events[ type ].length; i < l; i++ ) {\n\t\t\t\t\tjQuery.event.add( dest, type, events[ type ][ i ] );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// 2. Copy user data\n\tif ( data_user.hasData( src ) ) {\n\t\tudataOld = data_user.access( src );\n\t\tudataCur = jQuery.extend( {}, udataOld );\n\n\t\tdata_user.set( dest, udataCur );\n\t}\n}\n\nfunction getAll( context, tag ) {\n\tvar ret = context.getElementsByTagName ? context.getElementsByTagName( tag || \"*\" ) :\n\t\t\tcontext.querySelectorAll ? context.querySelectorAll( tag || \"*\" ) :\n\t\t\t[];\n\n\treturn tag === undefined || tag && jQuery.nodeName( context, tag ) ?\n\t\tjQuery.merge( [ context ], ret ) :\n\t\tret;\n}\n\n// Fix IE bugs, see support tests\nfunction fixInput( src, dest ) {\n\tvar nodeName = dest.nodeName.toLowerCase();\n\n\t// Fails to persist the checked state of a cloned checkbox or radio button.\n\tif ( nodeName === \"input\" && rcheckableType.test( src.type ) ) {\n\t\tdest.checked = src.checked;\n\n\t// Fails to return the selected option to the default selected state when cloning options\n\t} else if ( nodeName === \"input\" || nodeName === \"textarea\" ) {\n\t\tdest.defaultValue = src.defaultValue;\n\t}\n}\n\njQuery.extend({\n\tclone: function( elem, dataAndEvents, deepDataAndEvents ) {\n\t\tvar i, l, srcElements, destElements,\n\t\t\tclone = elem.cloneNode( true ),\n\t\t\tinPage = jQuery.contains( elem.ownerDocument, elem );\n\n\t\t// Fix IE cloning issues\n\t\tif ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) &&\n\t\t\t\t!jQuery.isXMLDoc( elem ) ) {\n\n\t\t\t// We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2\n\t\t\tdestElements = getAll( clone );\n\t\t\tsrcElements = getAll( elem );\n\n\t\t\tfor ( i = 0, l = srcElements.length; i < l; i++ ) {\n\t\t\t\tfixInput( srcElements[ i ], destElements[ i ] );\n\t\t\t}\n\t\t}\n\n\t\t// Copy the events from the original to the clone\n\t\tif ( dataAndEvents ) {\n\t\t\tif ( deepDataAndEvents ) {\n\t\t\t\tsrcElements = srcElements || getAll( elem );\n\t\t\t\tdestElements = destElements || getAll( clone );\n\n\t\t\t\tfor ( i = 0, l = srcElements.length; i < l; i++ ) {\n\t\t\t\t\tcloneCopyEvent( srcElements[ i ], destElements[ i ] );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tcloneCopyEvent( elem, clone );\n\t\t\t}\n\t\t}\n\n\t\t// Preserve script evaluation history\n\t\tdestElements = getAll( clone, \"script\" );\n\t\tif ( destElements.length > 0 ) {\n\t\t\tsetGlobalEval( destElements, !inPage && getAll( elem, \"script\" ) );\n\t\t}\n\n\t\t// Return the cloned set\n\t\treturn clone;\n\t},\n\n\tbuildFragment: function( elems, context, scripts, selection ) {\n\t\tvar elem, tmp, tag, wrap, contains, j,\n\t\t\tfragment = context.createDocumentFragment(),\n\t\t\tnodes = [],\n\t\t\ti = 0,\n\t\t\tl = elems.length;\n\n\t\tfor ( ; i < l; i++ ) {\n\t\t\telem = elems[ i ];\n\n\t\t\tif ( elem || elem === 0 ) {\n\n\t\t\t\t// Add nodes directly\n\t\t\t\tif ( jQuery.type( elem ) === \"object\" ) {\n\t\t\t\t\t// Support: QtWebKit, PhantomJS\n\t\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\t\tjQuery.merge( nodes, elem.nodeType ? [ elem ] : elem );\n\n\t\t\t\t// Convert non-html into a text node\n\t\t\t\t} else if ( !rhtml.test( elem ) ) {\n\t\t\t\t\tnodes.push( context.createTextNode( elem ) );\n\n\t\t\t\t// Convert html into DOM nodes\n\t\t\t\t} else {\n\t\t\t\t\ttmp = tmp || fragment.appendChild( context.createElement(\"div\") );\n\n\t\t\t\t\t// Deserialize a standard representation\n\t\t\t\t\ttag = ( rtagName.exec( elem ) || [ \"\", \"\" ] )[ 1 ].toLowerCase();\n\t\t\t\t\twrap = wrapMap[ tag ] || wrapMap._default;\n\t\t\t\t\ttmp.innerHTML = wrap[ 1 ] + elem.replace( rxhtmlTag, \"<$1></$2>\" ) + wrap[ 2 ];\n\n\t\t\t\t\t// Descend through wrappers to the right content\n\t\t\t\t\tj = wrap[ 0 ];\n\t\t\t\t\twhile ( j-- ) {\n\t\t\t\t\t\ttmp = tmp.lastChild;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Support: QtWebKit, PhantomJS\n\t\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\t\tjQuery.merge( nodes, tmp.childNodes );\n\n\t\t\t\t\t// Remember the top-level container\n\t\t\t\t\ttmp = fragment.firstChild;\n\n\t\t\t\t\t// Ensure the created nodes are orphaned (#12392)\n\t\t\t\t\ttmp.textContent = \"\";\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Remove wrapper from fragment\n\t\tfragment.textContent = \"\";\n\n\t\ti = 0;\n\t\twhile ( (elem = nodes[ i++ ]) ) {\n\n\t\t\t// #4087 - If origin and destination elements are the same, and this is\n\t\t\t// that element, do not do anything\n\t\t\tif ( selection && jQuery.inArray( elem, selection ) !== -1 ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tcontains = jQuery.contains( elem.ownerDocument, elem );\n\n\t\t\t// Append to fragment\n\t\t\ttmp = getAll( fragment.appendChild( elem ), \"script\" );\n\n\t\t\t// Preserve script evaluation history\n\t\t\tif ( contains ) {\n\t\t\t\tsetGlobalEval( tmp );\n\t\t\t}\n\n\t\t\t// Capture executables\n\t\t\tif ( scripts ) {\n\t\t\t\tj = 0;\n\t\t\t\twhile ( (elem = tmp[ j++ ]) ) {\n\t\t\t\t\tif ( rscriptType.test( elem.type || \"\" ) ) {\n\t\t\t\t\t\tscripts.push( elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn fragment;\n\t},\n\n\tcleanData: function( elems ) {\n\t\tvar data, elem, type, key,\n\t\t\tspecial = jQuery.event.special,\n\t\t\ti = 0;\n\n\t\tfor ( ; (elem = elems[ i ]) !== undefined; i++ ) {\n\t\t\tif ( jQuery.acceptData( elem ) ) {\n\t\t\t\tkey = elem[ data_priv.expando ];\n\n\t\t\t\tif ( key && (data = data_priv.cache[ key ]) ) {\n\t\t\t\t\tif ( data.events ) {\n\t\t\t\t\t\tfor ( type in data.events ) {\n\t\t\t\t\t\t\tif ( special[ type ] ) {\n\t\t\t\t\t\t\t\tjQuery.event.remove( elem, type );\n\n\t\t\t\t\t\t\t// This is a shortcut to avoid jQuery.event.remove's overhead\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tjQuery.removeEvent( elem, type, data.handle );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ( data_priv.cache[ key ] ) {\n\t\t\t\t\t\t// Discard any remaining `private` data\n\t\t\t\t\t\tdelete data_priv.cache[ key ];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t// Discard any remaining `user` data\n\t\t\tdelete data_user.cache[ elem[ data_user.expando ] ];\n\t\t}\n\t}\n});\n\njQuery.fn.extend({\n\ttext: function( value ) {\n\t\treturn access( this, function( value ) {\n\t\t\treturn value === undefined ?\n\t\t\t\tjQuery.text( this ) :\n\t\t\t\tthis.empty().each(function() {\n\t\t\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\t\t\tthis.textContent = value;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t}, null, value, arguments.length );\n\t},\n\n\tappend: function() {\n\t\treturn this.domManip( arguments, function( elem ) {\n\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\tvar target = manipulationTarget( this, elem );\n\t\t\t\ttarget.appendChild( elem );\n\t\t\t}\n\t\t});\n\t},\n\n\tprepend: function() {\n\t\treturn this.domManip( arguments, function( elem ) {\n\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\tvar target = manipulationTarget( this, elem );\n\t\t\t\ttarget.insertBefore( elem, target.firstChild );\n\t\t\t}\n\t\t});\n\t},\n\n\tbefore: function() {\n\t\treturn this.domManip( arguments, function( elem ) {\n\t\t\tif ( this.parentNode ) {\n\t\t\t\tthis.parentNode.insertBefore( elem, this );\n\t\t\t}\n\t\t});\n\t},\n\n\tafter: function() {\n\t\treturn this.domManip( arguments, function( elem ) {\n\t\t\tif ( this.parentNode ) {\n\t\t\t\tthis.parentNode.insertBefore( elem, this.nextSibling );\n\t\t\t}\n\t\t});\n\t},\n\n\tremove: function( selector, keepData /* Internal Use Only */ ) {\n\t\tvar elem,\n\t\t\telems = selector ? jQuery.filter( selector, this ) : this,\n\t\t\ti = 0;\n\n\t\tfor ( ; (elem = elems[i]) != null; i++ ) {\n\t\t\tif ( !keepData && elem.nodeType === 1 ) {\n\t\t\t\tjQuery.cleanData( getAll( elem ) );\n\t\t\t}\n\n\t\t\tif ( elem.parentNode ) {\n\t\t\t\tif ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) {\n\t\t\t\t\tsetGlobalEval( getAll( elem, \"script\" ) );\n\t\t\t\t}\n\t\t\t\telem.parentNode.removeChild( elem );\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\tempty: function() {\n\t\tvar elem,\n\t\t\ti = 0;\n\n\t\tfor ( ; (elem = this[i]) != null; i++ ) {\n\t\t\tif ( elem.nodeType === 1 ) {\n\n\t\t\t\t// Prevent memory leaks\n\t\t\t\tjQuery.cleanData( getAll( elem, false ) );\n\n\t\t\t\t// Remove any remaining nodes\n\t\t\t\telem.textContent = \"\";\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\tclone: function( dataAndEvents, deepDataAndEvents ) {\n\t\tdataAndEvents = dataAndEvents == null ? false : dataAndEvents;\n\t\tdeepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;\n\n\t\treturn this.map(function() {\n\t\t\treturn jQuery.clone( this, dataAndEvents, deepDataAndEvents );\n\t\t});\n\t},\n\n\thtml: function( value ) {\n\t\treturn access( this, function( value ) {\n\t\t\tvar elem = this[ 0 ] || {},\n\t\t\t\ti = 0,\n\t\t\t\tl = this.length;\n\n\t\t\tif ( value === undefined && elem.nodeType === 1 ) {\n\t\t\t\treturn elem.innerHTML;\n\t\t\t}\n\n\t\t\t// See if we can take a shortcut and just use innerHTML\n\t\t\tif ( typeof value === \"string\" && !rnoInnerhtml.test( value ) &&\n\t\t\t\t!wrapMap[ ( rtagName.exec( value ) || [ \"\", \"\" ] )[ 1 ].toLowerCase() ] ) {\n\n\t\t\t\tvalue = value.replace( rxhtmlTag, \"<$1></$2>\" );\n\n\t\t\t\ttry {\n\t\t\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\t\t\telem = this[ i ] || {};\n\n\t\t\t\t\t\t// Remove element nodes and prevent memory leaks\n\t\t\t\t\t\tif ( elem.nodeType === 1 ) {\n\t\t\t\t\t\t\tjQuery.cleanData( getAll( elem, false ) );\n\t\t\t\t\t\t\telem.innerHTML = value;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\telem = 0;\n\n\t\t\t\t// If using innerHTML throws an exception, use the fallback method\n\t\t\t\t} catch( e ) {}\n\t\t\t}\n\n\t\t\tif ( elem ) {\n\t\t\t\tthis.empty().append( value );\n\t\t\t}\n\t\t}, null, value, arguments.length );\n\t},\n\n\treplaceWith: function() {\n\t\tvar arg = arguments[ 0 ];\n\n\t\t// Make the changes, replacing each context element with the new content\n\t\tthis.domManip( arguments, function( elem ) {\n\t\t\targ = this.parentNode;\n\n\t\t\tjQuery.cleanData( getAll( this ) );\n\n\t\t\tif ( arg ) {\n\t\t\t\targ.replaceChild( elem, this );\n\t\t\t}\n\t\t});\n\n\t\t// Force removal if there was no new content (e.g., from empty arguments)\n\t\treturn arg && (arg.length || arg.nodeType) ? this : this.remove();\n\t},\n\n\tdetach: function( selector ) {\n\t\treturn this.remove( selector, true );\n\t},\n\n\tdomManip: function( args, callback ) {\n\n\t\t// Flatten any nested arrays\n\t\targs = concat.apply( [], args );\n\n\t\tvar fragment, first, scripts, hasScripts, node, doc,\n\t\t\ti = 0,\n\t\t\tl = this.length,\n\t\t\tset = this,\n\t\t\tiNoClone = l - 1,\n\t\t\tvalue = args[ 0 ],\n\t\t\tisFunction = jQuery.isFunction( value );\n\n\t\t// We can't cloneNode fragments that contain checked, in WebKit\n\t\tif ( isFunction ||\n\t\t\t\t( l > 1 && typeof value === \"string\" &&\n\t\t\t\t\t!support.checkClone && rchecked.test( value ) ) ) {\n\t\t\treturn this.each(function( index ) {\n\t\t\t\tvar self = set.eq( index );\n\t\t\t\tif ( isFunction ) {\n\t\t\t\t\targs[ 0 ] = value.call( this, index, self.html() );\n\t\t\t\t}\n\t\t\t\tself.domManip( args, callback );\n\t\t\t});\n\t\t}\n\n\t\tif ( l ) {\n\t\t\tfragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, this );\n\t\t\tfirst = fragment.firstChild;\n\n\t\t\tif ( fragment.childNodes.length === 1 ) {\n\t\t\t\tfragment = first;\n\t\t\t}\n\n\t\t\tif ( first ) {\n\t\t\t\tscripts = jQuery.map( getAll( fragment, \"script\" ), disableScript );\n\t\t\t\thasScripts = scripts.length;\n\n\t\t\t\t// Use the original fragment for the last item instead of the first because it can end up\n\t\t\t\t// being emptied incorrectly in certain situations (#8070).\n\t\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\t\tnode = fragment;\n\n\t\t\t\t\tif ( i !== iNoClone ) {\n\t\t\t\t\t\tnode = jQuery.clone( node, true, true );\n\n\t\t\t\t\t\t// Keep references to cloned scripts for later restoration\n\t\t\t\t\t\tif ( hasScripts ) {\n\t\t\t\t\t\t\t// Support: QtWebKit\n\t\t\t\t\t\t\t// jQuery.merge because push.apply(_, arraylike) throws\n\t\t\t\t\t\t\tjQuery.merge( scripts, getAll( node, \"script\" ) );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tcallback.call( this[ i ], node, i );\n\t\t\t\t}\n\n\t\t\t\tif ( hasScripts ) {\n\t\t\t\t\tdoc = scripts[ scripts.length - 1 ].ownerDocument;\n\n\t\t\t\t\t// Reenable scripts\n\t\t\t\t\tjQuery.map( scripts, restoreScript );\n\n\t\t\t\t\t// Evaluate executable scripts on first document insertion\n\t\t\t\t\tfor ( i = 0; i < hasScripts; i++ ) {\n\t\t\t\t\t\tnode = scripts[ i ];\n\t\t\t\t\t\tif ( rscriptType.test( node.type || \"\" ) &&\n\t\t\t\t\t\t\t!data_priv.access( node, \"globalEval\" ) && jQuery.contains( doc, node ) ) {\n\n\t\t\t\t\t\t\tif ( node.src ) {\n\t\t\t\t\t\t\t\t// Optional AJAX dependency, but won't run scripts if not present\n\t\t\t\t\t\t\t\tif ( jQuery._evalUrl ) {\n\t\t\t\t\t\t\t\t\tjQuery._evalUrl( node.src );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tjQuery.globalEval( node.textContent.replace( rcleanScript, \"\" ) );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t}\n});\n\njQuery.each({\n\tappendTo: \"append\",\n\tprependTo: \"prepend\",\n\tinsertBefore: \"before\",\n\tinsertAfter: \"after\",\n\treplaceAll: \"replaceWith\"\n}, function( name, original ) {\n\tjQuery.fn[ name ] = function( selector ) {\n\t\tvar elems,\n\t\t\tret = [],\n\t\t\tinsert = jQuery( selector ),\n\t\t\tlast = insert.length - 1,\n\t\t\ti = 0;\n\n\t\tfor ( ; i <= last; i++ ) {\n\t\t\telems = i === last ? this : this.clone( true );\n\t\t\tjQuery( insert[ i ] )[ original ]( elems );\n\n\t\t\t// Support: QtWebKit\n\t\t\t// .get() because push.apply(_, arraylike) throws\n\t\t\tpush.apply( ret, elems.get() );\n\t\t}\n\n\t\treturn this.pushStack( ret );\n\t};\n});\n\n\nvar iframe,\n\telemdisplay = {};\n\n/**\n * Retrieve the actual display of a element\n * @param {String} name nodeName of the element\n * @param {Object} doc Document object\n */\n// Called only from within defaultDisplay\nfunction actualDisplay( name, doc ) {\n\tvar style,\n\t\telem = jQuery( doc.createElement( name ) ).appendTo( doc.body ),\n\n\t\t// getDefaultComputedStyle might be reliably used only on attached element\n\t\tdisplay = window.getDefaultComputedStyle && ( style = window.getDefaultComputedStyle( elem[ 0 ] ) ) ?\n\n\t\t\t// Use of this method is a temporary fix (more like optimization) until something better comes along,\n\t\t\t// since it was removed from specification and supported only in FF\n\t\t\tstyle.display : jQuery.css( elem[ 0 ], \"display\" );\n\n\t// We don't have any data stored on the element,\n\t// so use \"detach\" method as fast way to get rid of the element\n\telem.detach();\n\n\treturn display;\n}\n\n/**\n * Try to determine the default display value of an element\n * @param {String} nodeName\n */\nfunction defaultDisplay( nodeName ) {\n\tvar doc = document,\n\t\tdisplay = elemdisplay[ nodeName ];\n\n\tif ( !display ) {\n\t\tdisplay = actualDisplay( nodeName, doc );\n\n\t\t// If the simple way fails, read from inside an iframe\n\t\tif ( display === \"none\" || !display ) {\n\n\t\t\t// Use the already-created iframe if possible\n\t\t\tiframe = (iframe || jQuery( \"<iframe frameborder='0' width='0' height='0'/>\" )).appendTo( doc.documentElement );\n\n\t\t\t// Always write a new HTML skeleton so Webkit and Firefox don't choke on reuse\n\t\t\tdoc = iframe[ 0 ].contentDocument;\n\n\t\t\t// Support: IE\n\t\t\tdoc.write();\n\t\t\tdoc.close();\n\n\t\t\tdisplay = actualDisplay( nodeName, doc );\n\t\t\tiframe.detach();\n\t\t}\n\n\t\t// Store the correct default display\n\t\telemdisplay[ nodeName ] = display;\n\t}\n\n\treturn display;\n}\nvar rmargin = (/^margin/);\n\nvar rnumnonpx = new RegExp( \"^(\" + pnum + \")(?!px)[a-z%]+$\", \"i\" );\n\nvar getStyles = function( elem ) {\n\t\t// Support: IE<=11+, Firefox<=30+ (#15098, #14150)\n\t\t// IE throws on elements created in popups\n\t\t// FF meanwhile throws on frame elements through \"defaultView.getComputedStyle\"\n\t\tif ( elem.ownerDocument.defaultView.opener ) {\n\t\t\treturn elem.ownerDocument.defaultView.getComputedStyle( elem, null );\n\t\t}\n\n\t\treturn window.getComputedStyle( elem, null );\n\t};\n\n\n\nfunction curCSS( elem, name, computed ) {\n\tvar width, minWidth, maxWidth, ret,\n\t\tstyle = elem.style;\n\n\tcomputed = computed || getStyles( elem );\n\n\t// Support: IE9\n\t// getPropertyValue is only needed for .css('filter') (#12537)\n\tif ( computed ) {\n\t\tret = computed.getPropertyValue( name ) || computed[ name ];\n\t}\n\n\tif ( computed ) {\n\n\t\tif ( ret === \"\" && !jQuery.contains( elem.ownerDocument, elem ) ) {\n\t\t\tret = jQuery.style( elem, name );\n\t\t}\n\n\t\t// Support: iOS < 6\n\t\t// A tribute to the \"awesome hack by Dean Edwards\"\n\t\t// iOS < 6 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels\n\t\t// this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values\n\t\tif ( rnumnonpx.test( ret ) && rmargin.test( name ) ) {\n\n\t\t\t// Remember the original values\n\t\t\twidth = style.width;\n\t\t\tminWidth = style.minWidth;\n\t\t\tmaxWidth = style.maxWidth;\n\n\t\t\t// Put in the new values to get a computed value out\n\t\t\tstyle.minWidth = style.maxWidth = style.width = ret;\n\t\t\tret = computed.width;\n\n\t\t\t// Revert the changed values\n\t\t\tstyle.width = width;\n\t\t\tstyle.minWidth = minWidth;\n\t\t\tstyle.maxWidth = maxWidth;\n\t\t}\n\t}\n\n\treturn ret !== undefined ?\n\t\t// Support: IE\n\t\t// IE returns zIndex value as an integer.\n\t\tret + \"\" :\n\t\tret;\n}\n\n\nfunction addGetHookIf( conditionFn, hookFn ) {\n\t// Define the hook, we'll check on the first run if it's really needed.\n\treturn {\n\t\tget: function() {\n\t\t\tif ( conditionFn() ) {\n\t\t\t\t// Hook not needed (or it's not possible to use it due\n\t\t\t\t// to missing dependency), remove it.\n\t\t\t\tdelete this.get;\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Hook needed; redefine it so that the support test is not executed again.\n\t\t\treturn (this.get = hookFn).apply( this, arguments );\n\t\t}\n\t};\n}\n\n\n(function() {\n\tvar pixelPositionVal, boxSizingReliableVal,\n\t\tdocElem = document.documentElement,\n\t\tcontainer = document.createElement( \"div\" ),\n\t\tdiv = document.createElement( \"div\" );\n\n\tif ( !div.style ) {\n\t\treturn;\n\t}\n\n\t// Support: IE9-11+\n\t// Style of cloned element affects source element cloned (#8908)\n\tdiv.style.backgroundClip = \"content-box\";\n\tdiv.cloneNode( true ).style.backgroundClip = \"\";\n\tsupport.clearCloneStyle = div.style.backgroundClip === \"content-box\";\n\n\tcontainer.style.cssText = \"border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;\" +\n\t\t\"position:absolute\";\n\tcontainer.appendChild( div );\n\n\t// Executing both pixelPosition & boxSizingReliable tests require only one layout\n\t// so they're executed at the same time to save the second computation.\n\tfunction computePixelPositionAndBoxSizingReliable() {\n\t\tdiv.style.cssText =\n\t\t\t// Support: Firefox<29, Android 2.3\n\t\t\t// Vendor-prefix box-sizing\n\t\t\t\"-webkit-box-sizing:border-box;-moz-box-sizing:border-box;\" +\n\t\t\t\"box-sizing:border-box;display:block;margin-top:1%;top:1%;\" +\n\t\t\t\"border:1px;padding:1px;width:4px;position:absolute\";\n\t\tdiv.innerHTML = \"\";\n\t\tdocElem.appendChild( container );\n\n\t\tvar divStyle = window.getComputedStyle( div, null );\n\t\tpixelPositionVal = divStyle.top !== \"1%\";\n\t\tboxSizingReliableVal = divStyle.width === \"4px\";\n\n\t\tdocElem.removeChild( container );\n\t}\n\n\t// Support: node.js jsdom\n\t// Don't assume that getComputedStyle is a property of the global object\n\tif ( window.getComputedStyle ) {\n\t\tjQuery.extend( support, {\n\t\t\tpixelPosition: function() {\n\n\t\t\t\t// This test is executed only once but we still do memoizing\n\t\t\t\t// since we can use the boxSizingReliable pre-computing.\n\t\t\t\t// No need to check if the test was already performed, though.\n\t\t\t\tcomputePixelPositionAndBoxSizingReliable();\n\t\t\t\treturn pixelPositionVal;\n\t\t\t},\n\t\t\tboxSizingReliable: function() {\n\t\t\t\tif ( boxSizingReliableVal == null ) {\n\t\t\t\t\tcomputePixelPositionAndBoxSizingReliable();\n\t\t\t\t}\n\t\t\t\treturn boxSizingReliableVal;\n\t\t\t},\n\t\t\treliableMarginRight: function() {\n\n\t\t\t\t// Support: Android 2.3\n\t\t\t\t// Check if div with explicit width and no margin-right incorrectly\n\t\t\t\t// gets computed margin-right based on width of container. (#3333)\n\t\t\t\t// WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right\n\t\t\t\t// This support function is only executed once so no memoizing is needed.\n\t\t\t\tvar ret,\n\t\t\t\t\tmarginDiv = div.appendChild( document.createElement( \"div\" ) );\n\n\t\t\t\t// Reset CSS: box-sizing; display; margin; border; padding\n\t\t\t\tmarginDiv.style.cssText = div.style.cssText =\n\t\t\t\t\t// Support: Firefox<29, Android 2.3\n\t\t\t\t\t// Vendor-prefix box-sizing\n\t\t\t\t\t\"-webkit-box-sizing:content-box;-moz-box-sizing:content-box;\" +\n\t\t\t\t\t\"box-sizing:content-box;display:block;margin:0;border:0;padding:0\";\n\t\t\t\tmarginDiv.style.marginRight = marginDiv.style.width = \"0\";\n\t\t\t\tdiv.style.width = \"1px\";\n\t\t\t\tdocElem.appendChild( container );\n\n\t\t\t\tret = !parseFloat( window.getComputedStyle( marginDiv, null ).marginRight );\n\n\t\t\t\tdocElem.removeChild( container );\n\t\t\t\tdiv.removeChild( marginDiv );\n\n\t\t\t\treturn ret;\n\t\t\t}\n\t\t});\n\t}\n})();\n\n\n// A method for quickly swapping in/out CSS properties to get correct calculations.\njQuery.swap = function( elem, options, callback, args ) {\n\tvar ret, name,\n\t\told = {};\n\n\t// Remember the old values, and insert the new ones\n\tfor ( name in options ) {\n\t\told[ name ] = elem.style[ name ];\n\t\telem.style[ name ] = options[ name ];\n\t}\n\n\tret = callback.apply( elem, args || [] );\n\n\t// Revert the old values\n\tfor ( name in options ) {\n\t\telem.style[ name ] = old[ name ];\n\t}\n\n\treturn ret;\n};\n\n\nvar\n\t// Swappable if display is none or starts with table except \"table\", \"table-cell\", or \"table-caption\"\n\t// See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display\n\trdisplayswap = /^(none|table(?!-c[ea]).+)/,\n\trnumsplit = new RegExp( \"^(\" + pnum + \")(.*)$\", \"i\" ),\n\trrelNum = new RegExp( \"^([+-])=(\" + pnum + \")\", \"i\" ),\n\n\tcssShow = { position: \"absolute\", visibility: \"hidden\", display: \"block\" },\n\tcssNormalTransform = {\n\t\tletterSpacing: \"0\",\n\t\tfontWeight: \"400\"\n\t},\n\n\tcssPrefixes = [ \"Webkit\", \"O\", \"Moz\", \"ms\" ];\n\n// Return a css property mapped to a potentially vendor prefixed property\nfunction vendorPropName( style, name ) {\n\n\t// Shortcut for names that are not vendor prefixed\n\tif ( name in style ) {\n\t\treturn name;\n\t}\n\n\t// Check for vendor prefixed names\n\tvar capName = name[0].toUpperCase() + name.slice(1),\n\t\torigName = name,\n\t\ti = cssPrefixes.length;\n\n\twhile ( i-- ) {\n\t\tname = cssPrefixes[ i ] + capName;\n\t\tif ( name in style ) {\n\t\t\treturn name;\n\t\t}\n\t}\n\n\treturn origName;\n}\n\nfunction setPositiveNumber( elem, value, subtract ) {\n\tvar matches = rnumsplit.exec( value );\n\treturn matches ?\n\t\t// Guard against undefined \"subtract\", e.g., when used as in cssHooks\n\t\tMath.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || \"px\" ) :\n\t\tvalue;\n}\n\nfunction augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {\n\tvar i = extra === ( isBorderBox ? \"border\" : \"content\" ) ?\n\t\t// If we already have the right measurement, avoid augmentation\n\t\t4 :\n\t\t// Otherwise initialize for horizontal or vertical properties\n\t\tname === \"width\" ? 1 : 0,\n\n\t\tval = 0;\n\n\tfor ( ; i < 4; i += 2 ) {\n\t\t// Both box models exclude margin, so add it if we want it\n\t\tif ( extra === \"margin\" ) {\n\t\t\tval += jQuery.css( elem, extra + cssExpand[ i ], true, styles );\n\t\t}\n\n\t\tif ( isBorderBox ) {\n\t\t\t// border-box includes padding, so remove it if we want content\n\t\t\tif ( extra === \"content\" ) {\n\t\t\t\tval -= jQuery.css( elem, \"padding\" + cssExpand[ i ], true, styles );\n\t\t\t}\n\n\t\t\t// At this point, extra isn't border nor margin, so remove border\n\t\t\tif ( extra !== \"margin\" ) {\n\t\t\t\tval -= jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\t\t\t}\n\t\t} else {\n\t\t\t// At this point, extra isn't content, so add padding\n\t\t\tval += jQuery.css( elem, \"padding\" + cssExpand[ i ], true, styles );\n\n\t\t\t// At this point, extra isn't content nor padding, so add border\n\t\t\tif ( extra !== \"padding\" ) {\n\t\t\t\tval += jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\t\t\t}\n\t\t}\n\t}\n\n\treturn val;\n}\n\nfunction getWidthOrHeight( elem, name, extra ) {\n\n\t// Start with offset property, which is equivalent to the border-box value\n\tvar valueIsBorderBox = true,\n\t\tval = name === \"width\" ? elem.offsetWidth : elem.offsetHeight,\n\t\tstyles = getStyles( elem ),\n\t\tisBorderBox = jQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\";\n\n\t// Some non-html elements return undefined for offsetWidth, so check for null/undefined\n\t// svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285\n\t// MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668\n\tif ( val <= 0 || val == null ) {\n\t\t// Fall back to computed then uncomputed css if necessary\n\t\tval = curCSS( elem, name, styles );\n\t\tif ( val < 0 || val == null ) {\n\t\t\tval = elem.style[ name ];\n\t\t}\n\n\t\t// Computed unit is not pixels. Stop here and return.\n\t\tif ( rnumnonpx.test(val) ) {\n\t\t\treturn val;\n\t\t}\n\n\t\t// Check for style in case a browser which returns unreliable values\n\t\t// for getComputedStyle silently falls back to the reliable elem.style\n\t\tvalueIsBorderBox = isBorderBox &&\n\t\t\t( support.boxSizingReliable() || val === elem.style[ name ] );\n\n\t\t// Normalize \"\", auto, and prepare for extra\n\t\tval = parseFloat( val ) || 0;\n\t}\n\n\t// Use the active box-sizing model to add/subtract irrelevant styles\n\treturn ( val +\n\t\taugmentWidthOrHeight(\n\t\t\telem,\n\t\t\tname,\n\t\t\textra || ( isBorderBox ? \"border\" : \"content\" ),\n\t\t\tvalueIsBorderBox,\n\t\t\tstyles\n\t\t)\n\t) + \"px\";\n}\n\nfunction showHide( elements, show ) {\n\tvar display, elem, hidden,\n\t\tvalues = [],\n\t\tindex = 0,\n\t\tlength = elements.length;\n\n\tfor ( ; index < length; index++ ) {\n\t\telem = elements[ index ];\n\t\tif ( !elem.style ) {\n\t\t\tcontinue;\n\t\t}\n\n\t\tvalues[ index ] = data_priv.get( elem, \"olddisplay\" );\n\t\tdisplay = elem.style.display;\n\t\tif ( show ) {\n\t\t\t// Reset the inline display of this element to learn if it is\n\t\t\t// being hidden by cascaded rules or not\n\t\t\tif ( !values[ index ] && display === \"none\" ) {\n\t\t\t\telem.style.display = \"\";\n\t\t\t}\n\n\t\t\t// Set elements which have been overridden with display: none\n\t\t\t// in a stylesheet to whatever the default browser style is\n\t\t\t// for such an element\n\t\t\tif ( elem.style.display === \"\" && isHidden( elem ) ) {\n\t\t\t\tvalues[ index ] = data_priv.access( elem, \"olddisplay\", defaultDisplay(elem.nodeName) );\n\t\t\t}\n\t\t} else {\n\t\t\thidden = isHidden( elem );\n\n\t\t\tif ( display !== \"none\" || !hidden ) {\n\t\t\t\tdata_priv.set( elem, \"olddisplay\", hidden ? display : jQuery.css( elem, \"display\" ) );\n\t\t\t}\n\t\t}\n\t}\n\n\t// Set the display of most of the elements in a second loop\n\t// to avoid the constant reflow\n\tfor ( index = 0; index < length; index++ ) {\n\t\telem = elements[ index ];\n\t\tif ( !elem.style ) {\n\t\t\tcontinue;\n\t\t}\n\t\tif ( !show || elem.style.display === \"none\" || elem.style.display === \"\" ) {\n\t\t\telem.style.display = show ? values[ index ] || \"\" : \"none\";\n\t\t}\n\t}\n\n\treturn elements;\n}\n\njQuery.extend({\n\n\t// Add in style property hooks for overriding the default\n\t// behavior of getting and setting a style property\n\tcssHooks: {\n\t\topacity: {\n\t\t\tget: function( elem, computed ) {\n\t\t\t\tif ( computed ) {\n\n\t\t\t\t\t// We should always get a number back from opacity\n\t\t\t\t\tvar ret = curCSS( elem, \"opacity\" );\n\t\t\t\t\treturn ret === \"\" ? \"1\" : ret;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\t// Don't automatically add \"px\" to these possibly-unitless properties\n\tcssNumber: {\n\t\t\"columnCount\": true,\n\t\t\"fillOpacity\": true,\n\t\t\"flexGrow\": true,\n\t\t\"flexShrink\": true,\n\t\t\"fontWeight\": true,\n\t\t\"lineHeight\": true,\n\t\t\"opacity\": true,\n\t\t\"order\": true,\n\t\t\"orphans\": true,\n\t\t\"widows\": true,\n\t\t\"zIndex\": true,\n\t\t\"zoom\": true\n\t},\n\n\t// Add in properties whose names you wish to fix before\n\t// setting or getting the value\n\tcssProps: {\n\t\t\"float\": \"cssFloat\"\n\t},\n\n\t// Get and set the style property on a DOM Node\n\tstyle: function( elem, name, value, extra ) {\n\n\t\t// Don't set styles on text and comment nodes\n\t\tif ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Make sure that we're working with the right name\n\t\tvar ret, type, hooks,\n\t\t\torigName = jQuery.camelCase( name ),\n\t\t\tstyle = elem.style;\n\n\t\tname = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( style, origName ) );\n\n\t\t// Gets hook for the prefixed version, then unprefixed version\n\t\thooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];\n\n\t\t// Check if we're setting a value\n\t\tif ( value !== undefined ) {\n\t\t\ttype = typeof value;\n\n\t\t\t// Convert \"+=\" or \"-=\" to relative numbers (#7345)\n\t\t\tif ( type === \"string\" && (ret = rrelNum.exec( value )) ) {\n\t\t\t\tvalue = ( ret[1] + 1 ) * ret[2] + parseFloat( jQuery.css( elem, name ) );\n\t\t\t\t// Fixes bug #9237\n\t\t\t\ttype = \"number\";\n\t\t\t}\n\n\t\t\t// Make sure that null and NaN values aren't set (#7116)\n\t\t\tif ( value == null || value !== value ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// If a number, add 'px' to the (except for certain CSS properties)\n\t\t\tif ( type === \"number\" && !jQuery.cssNumber[ origName ] ) {\n\t\t\t\tvalue += \"px\";\n\t\t\t}\n\n\t\t\t// Support: IE9-11+\n\t\t\t// background-* props affect original clone's values\n\t\t\tif ( !support.clearCloneStyle && value === \"\" && name.indexOf( \"background\" ) === 0 ) {\n\t\t\t\tstyle[ name ] = \"inherit\";\n\t\t\t}\n\n\t\t\t// If a hook was provided, use that value, otherwise just set the specified value\n\t\t\tif ( !hooks || !(\"set\" in hooks) || (value = hooks.set( elem, value, extra )) !== undefined ) {\n\t\t\t\tstyle[ name ] = value;\n\t\t\t}\n\n\t\t} else {\n\t\t\t// If a hook was provided get the non-computed value from there\n\t\t\tif ( hooks && \"get\" in hooks && (ret = hooks.get( elem, false, extra )) !== undefined ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\t// Otherwise just get the value from the style object\n\t\t\treturn style[ name ];\n\t\t}\n\t},\n\n\tcss: function( elem, name, extra, styles ) {\n\t\tvar val, num, hooks,\n\t\t\torigName = jQuery.camelCase( name );\n\n\t\t// Make sure that we're working with the right name\n\t\tname = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( elem.style, origName ) );\n\n\t\t// Try prefixed name followed by the unprefixed name\n\t\thooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];\n\n\t\t// If a hook was provided get the computed value from there\n\t\tif ( hooks && \"get\" in hooks ) {\n\t\t\tval = hooks.get( elem, true, extra );\n\t\t}\n\n\t\t// Otherwise, if a way to get the computed value exists, use that\n\t\tif ( val === undefined ) {\n\t\t\tval = curCSS( elem, name, styles );\n\t\t}\n\n\t\t// Convert \"normal\" to computed value\n\t\tif ( val === \"normal\" && name in cssNormalTransform ) {\n\t\t\tval = cssNormalTransform[ name ];\n\t\t}\n\n\t\t// Make numeric if forced or a qualifier was provided and val looks numeric\n\t\tif ( extra === \"\" || extra ) {\n\t\t\tnum = parseFloat( val );\n\t\t\treturn extra === true || jQuery.isNumeric( num ) ? num || 0 : val;\n\t\t}\n\t\treturn val;\n\t}\n});\n\njQuery.each([ \"height\", \"width\" ], function( i, name ) {\n\tjQuery.cssHooks[ name ] = {\n\t\tget: function( elem, computed, extra ) {\n\t\t\tif ( computed ) {\n\n\t\t\t\t// Certain elements can have dimension info if we invisibly show them\n\t\t\t\t// but it must have a current display style that would benefit\n\t\t\t\treturn rdisplayswap.test( jQuery.css( elem, \"display\" ) ) && elem.offsetWidth === 0 ?\n\t\t\t\t\tjQuery.swap( elem, cssShow, function() {\n\t\t\t\t\t\treturn getWidthOrHeight( elem, name, extra );\n\t\t\t\t\t}) :\n\t\t\t\t\tgetWidthOrHeight( elem, name, extra );\n\t\t\t}\n\t\t},\n\n\t\tset: function( elem, value, extra ) {\n\t\t\tvar styles = extra && getStyles( elem );\n\t\t\treturn setPositiveNumber( elem, value, extra ?\n\t\t\t\taugmentWidthOrHeight(\n\t\t\t\t\telem,\n\t\t\t\t\tname,\n\t\t\t\t\textra,\n\t\t\t\t\tjQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\",\n\t\t\t\t\tstyles\n\t\t\t\t) : 0\n\t\t\t);\n\t\t}\n\t};\n});\n\n// Support: Android 2.3\njQuery.cssHooks.marginRight = addGetHookIf( support.reliableMarginRight,\n\tfunction( elem, computed ) {\n\t\tif ( computed ) {\n\t\t\treturn jQuery.swap( elem, { \"display\": \"inline-block\" },\n\t\t\t\tcurCSS, [ elem, \"marginRight\" ] );\n\t\t}\n\t}\n);\n\n// These hooks are used by animate to expand properties\njQuery.each({\n\tmargin: \"\",\n\tpadding: \"\",\n\tborder: \"Width\"\n}, function( prefix, suffix ) {\n\tjQuery.cssHooks[ prefix + suffix ] = {\n\t\texpand: function( value ) {\n\t\t\tvar i = 0,\n\t\t\t\texpanded = {},\n\n\t\t\t\t// Assumes a single number if not a string\n\t\t\t\tparts = typeof value === \"string\" ? value.split(\" \") : [ value ];\n\n\t\t\tfor ( ; i < 4; i++ ) {\n\t\t\t\texpanded[ prefix + cssExpand[ i ] + suffix ] =\n\t\t\t\t\tparts[ i ] || parts[ i - 2 ] || parts[ 0 ];\n\t\t\t}\n\n\t\t\treturn expanded;\n\t\t}\n\t};\n\n\tif ( !rmargin.test( prefix ) ) {\n\t\tjQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber;\n\t}\n});\n\njQuery.fn.extend({\n\tcss: function( name, value ) {\n\t\treturn access( this, function( elem, name, value ) {\n\t\t\tvar styles, len,\n\t\t\t\tmap = {},\n\t\t\t\ti = 0;\n\n\t\t\tif ( jQuery.isArray( name ) ) {\n\t\t\t\tstyles = getStyles( elem );\n\t\t\t\tlen = name.length;\n\n\t\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\t\tmap[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles );\n\t\t\t\t}\n\n\t\t\t\treturn map;\n\t\t\t}\n\n\t\t\treturn value !== undefined ?\n\t\t\t\tjQuery.style( elem, name, value ) :\n\t\t\t\tjQuery.css( elem, name );\n\t\t}, name, value, arguments.length > 1 );\n\t},\n\tshow: function() {\n\t\treturn showHide( this, true );\n\t},\n\thide: function() {\n\t\treturn showHide( this );\n\t},\n\ttoggle: function( state ) {\n\t\tif ( typeof state === \"boolean\" ) {\n\t\t\treturn state ? this.show() : this.hide();\n\t\t}\n\n\t\treturn this.each(function() {\n\t\t\tif ( isHidden( this ) ) {\n\t\t\t\tjQuery( this ).show();\n\t\t\t} else {\n\t\t\t\tjQuery( this ).hide();\n\t\t\t}\n\t\t});\n\t}\n});\n\n\nfunction Tween( elem, options, prop, end, easing ) {\n\treturn new Tween.prototype.init( elem, options, prop, end, easing );\n}\njQuery.Tween = Tween;\n\nTween.prototype = {\n\tconstructor: Tween,\n\tinit: function( elem, options, prop, end, easing, unit ) {\n\t\tthis.elem = elem;\n\t\tthis.prop = prop;\n\t\tthis.easing = easing || \"swing\";\n\t\tthis.options = options;\n\t\tthis.start = this.now = this.cur();\n\t\tthis.end = end;\n\t\tthis.unit = unit || ( jQuery.cssNumber[ prop ] ? \"\" : \"px\" );\n\t},\n\tcur: function() {\n\t\tvar hooks = Tween.propHooks[ this.prop ];\n\n\t\treturn hooks && hooks.get ?\n\t\t\thooks.get( this ) :\n\t\t\tTween.propHooks._default.get( this );\n\t},\n\trun: function( percent ) {\n\t\tvar eased,\n\t\t\thooks = Tween.propHooks[ this.prop ];\n\n\t\tif ( this.options.duration ) {\n\t\t\tthis.pos = eased = jQuery.easing[ this.easing ](\n\t\t\t\tpercent, this.options.duration * percent, 0, 1, this.options.duration\n\t\t\t);\n\t\t} else {\n\t\t\tthis.pos = eased = percent;\n\t\t}\n\t\tthis.now = ( this.end - this.start ) * eased + this.start;\n\n\t\tif ( this.options.step ) {\n\t\t\tthis.options.step.call( this.elem, this.now, this );\n\t\t}\n\n\t\tif ( hooks && hooks.set ) {\n\t\t\thooks.set( this );\n\t\t} else {\n\t\t\tTween.propHooks._default.set( this );\n\t\t}\n\t\treturn this;\n\t}\n};\n\nTween.prototype.init.prototype = Tween.prototype;\n\nTween.propHooks = {\n\t_default: {\n\t\tget: function( tween ) {\n\t\t\tvar result;\n\n\t\t\tif ( tween.elem[ tween.prop ] != null &&\n\t\t\t\t(!tween.elem.style || tween.elem.style[ tween.prop ] == null) ) {\n\t\t\t\treturn tween.elem[ tween.prop ];\n\t\t\t}\n\n\t\t\t// Passing an empty string as a 3rd parameter to .css will automatically\n\t\t\t// attempt a parseFloat and fallback to a string if the parse fails.\n\t\t\t// Simple values such as \"10px\" are parsed to Float;\n\t\t\t// complex values such as \"rotate(1rad)\" are returned as-is.\n\t\t\tresult = jQuery.css( tween.elem, tween.prop, \"\" );\n\t\t\t// Empty strings, null, undefined and \"auto\" are converted to 0.\n\t\t\treturn !result || result === \"auto\" ? 0 : result;\n\t\t},\n\t\tset: function( tween ) {\n\t\t\t// Use step hook for back compat.\n\t\t\t// Use cssHook if its there.\n\t\t\t// Use .style if available and use plain properties where available.\n\t\t\tif ( jQuery.fx.step[ tween.prop ] ) {\n\t\t\t\tjQuery.fx.step[ tween.prop ]( tween );\n\t\t\t} else if ( tween.elem.style && ( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null || jQuery.cssHooks[ tween.prop ] ) ) {\n\t\t\t\tjQuery.style( tween.elem, tween.prop, tween.now + tween.unit );\n\t\t\t} else {\n\t\t\t\ttween.elem[ tween.prop ] = tween.now;\n\t\t\t}\n\t\t}\n\t}\n};\n\n// Support: IE9\n// Panic based approach to setting things on disconnected nodes\nTween.propHooks.scrollTop = Tween.propHooks.scrollLeft = {\n\tset: function( tween ) {\n\t\tif ( tween.elem.nodeType && tween.elem.parentNode ) {\n\t\t\ttween.elem[ tween.prop ] = tween.now;\n\t\t}\n\t}\n};\n\njQuery.easing = {\n\tlinear: function( p ) {\n\t\treturn p;\n\t},\n\tswing: function( p ) {\n\t\treturn 0.5 - Math.cos( p * Math.PI ) / 2;\n\t}\n};\n\njQuery.fx = Tween.prototype.init;\n\n// Back Compat <1.8 extension point\njQuery.fx.step = {};\n\n\n\n\nvar\n\tfxNow, timerId,\n\trfxtypes = /^(?:toggle|show|hide)$/,\n\trfxnum = new RegExp( \"^(?:([+-])=|)(\" + pnum + \")([a-z%]*)$\", \"i\" ),\n\trrun = /queueHooks$/,\n\tanimationPrefilters = [ defaultPrefilter ],\n\ttweeners = {\n\t\t\"*\": [ function( prop, value ) {\n\t\t\tvar tween = this.createTween( prop, value ),\n\t\t\t\ttarget = tween.cur(),\n\t\t\t\tparts = rfxnum.exec( value ),\n\t\t\t\tunit = parts && parts[ 3 ] || ( jQuery.cssNumber[ prop ] ? \"\" : \"px\" ),\n\n\t\t\t\t// Starting value computation is required for potential unit mismatches\n\t\t\t\tstart = ( jQuery.cssNumber[ prop ] || unit !== \"px\" && +target ) &&\n\t\t\t\t\trfxnum.exec( jQuery.css( tween.elem, prop ) ),\n\t\t\t\tscale = 1,\n\t\t\t\tmaxIterations = 20;\n\n\t\t\tif ( start && start[ 3 ] !== unit ) {\n\t\t\t\t// Trust units reported by jQuery.css\n\t\t\t\tunit = unit || start[ 3 ];\n\n\t\t\t\t// Make sure we update the tween properties later on\n\t\t\t\tparts = parts || [];\n\n\t\t\t\t// Iteratively approximate from a nonzero starting point\n\t\t\t\tstart = +target || 1;\n\n\t\t\t\tdo {\n\t\t\t\t\t// If previous iteration zeroed out, double until we get *something*.\n\t\t\t\t\t// Use string for doubling so we don't accidentally see scale as unchanged below\n\t\t\t\t\tscale = scale || \".5\";\n\n\t\t\t\t\t// Adjust and apply\n\t\t\t\t\tstart = start / scale;\n\t\t\t\t\tjQuery.style( tween.elem, prop, start + unit );\n\n\t\t\t\t// Update scale, tolerating zero or NaN from tween.cur(),\n\t\t\t\t// break the loop if scale is unchanged or perfect, or if we've just had enough\n\t\t\t\t} while ( scale !== (scale = tween.cur() / target) && scale !== 1 && --maxIterations );\n\t\t\t}\n\n\t\t\t// Update tween properties\n\t\t\tif ( parts ) {\n\t\t\t\tstart = tween.start = +start || +target || 0;\n\t\t\t\ttween.unit = unit;\n\t\t\t\t// If a +=/-= token was provided, we're doing a relative animation\n\t\t\t\ttween.end = parts[ 1 ] ?\n\t\t\t\t\tstart + ( parts[ 1 ] + 1 ) * parts[ 2 ] :\n\t\t\t\t\t+parts[ 2 ];\n\t\t\t}\n\n\t\t\treturn tween;\n\t\t} ]\n\t};\n\n// Animations created synchronously will run synchronously\nfunction createFxNow() {\n\tsetTimeout(function() {\n\t\tfxNow = undefined;\n\t});\n\treturn ( fxNow = jQuery.now() );\n}\n\n// Generate parameters to create a standard animation\nfunction genFx( type, includeWidth ) {\n\tvar which,\n\t\ti = 0,\n\t\tattrs = { height: type };\n\n\t// If we include width, step value is 1 to do all cssExpand values,\n\t// otherwise step value is 2 to skip over Left and Right\n\tincludeWidth = includeWidth ? 1 : 0;\n\tfor ( ; i < 4 ; i += 2 - includeWidth ) {\n\t\twhich = cssExpand[ i ];\n\t\tattrs[ \"margin\" + which ] = attrs[ \"padding\" + which ] = type;\n\t}\n\n\tif ( includeWidth ) {\n\t\tattrs.opacity = attrs.width = type;\n\t}\n\n\treturn attrs;\n}\n\nfunction createTween( value, prop, animation ) {\n\tvar tween,\n\t\tcollection = ( tweeners[ prop ] || [] ).concat( tweeners[ \"*\" ] ),\n\t\tindex = 0,\n\t\tlength = collection.length;\n\tfor ( ; index < length; index++ ) {\n\t\tif ( (tween = collection[ index ].call( animation, prop, value )) ) {\n\n\t\t\t// We're done with this property\n\t\t\treturn tween;\n\t\t}\n\t}\n}\n\nfunction defaultPrefilter( elem, props, opts ) {\n\t/* jshint validthis: true */\n\tvar prop, value, toggle, tween, hooks, oldfire, display, checkDisplay,\n\t\tanim = this,\n\t\torig = {},\n\t\tstyle = elem.style,\n\t\thidden = elem.nodeType && isHidden( elem ),\n\t\tdataShow = data_priv.get( elem, \"fxshow\" );\n\n\t// Handle queue: false promises\n\tif ( !opts.queue ) {\n\t\thooks = jQuery._queueHooks( elem, \"fx\" );\n\t\tif ( hooks.unqueued == null ) {\n\t\t\thooks.unqueued = 0;\n\t\t\toldfire = hooks.empty.fire;\n\t\t\thooks.empty.fire = function() {\n\t\t\t\tif ( !hooks.unqueued ) {\n\t\t\t\t\toldfire();\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t\thooks.unqueued++;\n\n\t\tanim.always(function() {\n\t\t\t// Ensure the complete handler is called before this completes\n\t\t\tanim.always(function() {\n\t\t\t\thooks.unqueued--;\n\t\t\t\tif ( !jQuery.queue( elem, \"fx\" ).length ) {\n\t\t\t\t\thooks.empty.fire();\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n\n\t// Height/width overflow pass\n\tif ( elem.nodeType === 1 && ( \"height\" in props || \"width\" in props ) ) {\n\t\t// Make sure that nothing sneaks out\n\t\t// Record all 3 overflow attributes because IE9-10 do not\n\t\t// change the overflow attribute when overflowX and\n\t\t// overflowY are set to the same value\n\t\topts.overflow = [ style.overflow, style.overflowX, style.overflowY ];\n\n\t\t// Set display property to inline-block for height/width\n\t\t// animations on inline elements that are having width/height animated\n\t\tdisplay = jQuery.css( elem, \"display\" );\n\n\t\t// Test default display if display is currently \"none\"\n\t\tcheckDisplay = display === \"none\" ?\n\t\t\tdata_priv.get( elem, \"olddisplay\" ) || defaultDisplay( elem.nodeName ) : display;\n\n\t\tif ( checkDisplay === \"inline\" && jQuery.css( elem, \"float\" ) === \"none\" ) {\n\t\t\tstyle.display = \"inline-block\";\n\t\t}\n\t}\n\n\tif ( opts.overflow ) {\n\t\tstyle.overflow = \"hidden\";\n\t\tanim.always(function() {\n\t\t\tstyle.overflow = opts.overflow[ 0 ];\n\t\t\tstyle.overflowX = opts.overflow[ 1 ];\n\t\t\tstyle.overflowY = opts.overflow[ 2 ];\n\t\t});\n\t}\n\n\t// show/hide pass\n\tfor ( prop in props ) {\n\t\tvalue = props[ prop ];\n\t\tif ( rfxtypes.exec( value ) ) {\n\t\t\tdelete props[ prop ];\n\t\t\ttoggle = toggle || value === \"toggle\";\n\t\t\tif ( value === ( hidden ? \"hide\" : \"show\" ) ) {\n\n\t\t\t\t// If there is dataShow left over from a stopped hide or show and we are going to proceed with show, we should pretend to be hidden\n\t\t\t\tif ( value === \"show\" && dataShow && dataShow[ prop ] !== undefined ) {\n\t\t\t\t\thidden = true;\n\t\t\t\t} else {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t\torig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop );\n\n\t\t// Any non-fx value stops us from restoring the original display value\n\t\t} else {\n\t\t\tdisplay = undefined;\n\t\t}\n\t}\n\n\tif ( !jQuery.isEmptyObject( orig ) ) {\n\t\tif ( dataShow ) {\n\t\t\tif ( \"hidden\" in dataShow ) {\n\t\t\t\thidden = dataShow.hidden;\n\t\t\t}\n\t\t} else {\n\t\t\tdataShow = data_priv.access( elem, \"fxshow\", {} );\n\t\t}\n\n\t\t// Store state if its toggle - enables .stop().toggle() to \"reverse\"\n\t\tif ( toggle ) {\n\t\t\tdataShow.hidden = !hidden;\n\t\t}\n\t\tif ( hidden ) {\n\t\t\tjQuery( elem ).show();\n\t\t} else {\n\t\t\tanim.done(function() {\n\t\t\t\tjQuery( elem ).hide();\n\t\t\t});\n\t\t}\n\t\tanim.done(function() {\n\t\t\tvar prop;\n\n\t\t\tdata_priv.remove( elem, \"fxshow\" );\n\t\t\tfor ( prop in orig ) {\n\t\t\t\tjQuery.style( elem, prop, orig[ prop ] );\n\t\t\t}\n\t\t});\n\t\tfor ( prop in orig ) {\n\t\t\ttween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim );\n\n\t\t\tif ( !( prop in dataShow ) ) {\n\t\t\t\tdataShow[ prop ] = tween.start;\n\t\t\t\tif ( hidden ) {\n\t\t\t\t\ttween.end = tween.start;\n\t\t\t\t\ttween.start = prop === \"width\" || prop === \"height\" ? 1 : 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t// If this is a noop like .hide().hide(), restore an overwritten display value\n\t} else if ( (display === \"none\" ? defaultDisplay( elem.nodeName ) : display) === \"inline\" ) {\n\t\tstyle.display = display;\n\t}\n}\n\nfunction propFilter( props, specialEasing ) {\n\tvar index, name, easing, value, hooks;\n\n\t// camelCase, specialEasing and expand cssHook pass\n\tfor ( index in props ) {\n\t\tname = jQuery.camelCase( index );\n\t\teasing = specialEasing[ name ];\n\t\tvalue = props[ index ];\n\t\tif ( jQuery.isArray( value ) ) {\n\t\t\teasing = value[ 1 ];\n\t\t\tvalue = props[ index ] = value[ 0 ];\n\t\t}\n\n\t\tif ( index !== name ) {\n\t\t\tprops[ name ] = value;\n\t\t\tdelete props[ index ];\n\t\t}\n\n\t\thooks = jQuery.cssHooks[ name ];\n\t\tif ( hooks && \"expand\" in hooks ) {\n\t\t\tvalue = hooks.expand( value );\n\t\t\tdelete props[ name ];\n\n\t\t\t// Not quite $.extend, this won't overwrite existing keys.\n\t\t\t// Reusing 'index' because we have the correct \"name\"\n\t\t\tfor ( index in value ) {\n\t\t\t\tif ( !( index in props ) ) {\n\t\t\t\t\tprops[ index ] = value[ index ];\n\t\t\t\t\tspecialEasing[ index ] = easing;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tspecialEasing[ name ] = easing;\n\t\t}\n\t}\n}\n\nfunction Animation( elem, properties, options ) {\n\tvar result,\n\t\tstopped,\n\t\tindex = 0,\n\t\tlength = animationPrefilters.length,\n\t\tdeferred = jQuery.Deferred().always( function() {\n\t\t\t// Don't match elem in the :animated selector\n\t\t\tdelete tick.elem;\n\t\t}),\n\t\ttick = function() {\n\t\t\tif ( stopped ) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tvar currentTime = fxNow || createFxNow(),\n\t\t\t\tremaining = Math.max( 0, animation.startTime + animation.duration - currentTime ),\n\t\t\t\t// Support: Android 2.3\n\t\t\t\t// Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497)\n\t\t\t\ttemp = remaining / animation.duration || 0,\n\t\t\t\tpercent = 1 - temp,\n\t\t\t\tindex = 0,\n\t\t\t\tlength = animation.tweens.length;\n\n\t\t\tfor ( ; index < length ; index++ ) {\n\t\t\t\tanimation.tweens[ index ].run( percent );\n\t\t\t}\n\n\t\t\tdeferred.notifyWith( elem, [ animation, percent, remaining ]);\n\n\t\t\tif ( percent < 1 && length ) {\n\t\t\t\treturn remaining;\n\t\t\t} else {\n\t\t\t\tdeferred.resolveWith( elem, [ animation ] );\n\t\t\t\treturn false;\n\t\t\t}\n\t\t},\n\t\tanimation = deferred.promise({\n\t\t\telem: elem,\n\t\t\tprops: jQuery.extend( {}, properties ),\n\t\t\topts: jQuery.extend( true, { specialEasing: {} }, options ),\n\t\t\toriginalProperties: properties,\n\t\t\toriginalOptions: options,\n\t\t\tstartTime: fxNow || createFxNow(),\n\t\t\tduration: options.duration,\n\t\t\ttweens: [],\n\t\t\tcreateTween: function( prop, end ) {\n\t\t\t\tvar tween = jQuery.Tween( elem, animation.opts, prop, end,\n\t\t\t\t\t\tanimation.opts.specialEasing[ prop ] || animation.opts.easing );\n\t\t\t\tanimation.tweens.push( tween );\n\t\t\t\treturn tween;\n\t\t\t},\n\t\t\tstop: function( gotoEnd ) {\n\t\t\t\tvar index = 0,\n\t\t\t\t\t// If we are going to the end, we want to run all the tweens\n\t\t\t\t\t// otherwise we skip this part\n\t\t\t\t\tlength = gotoEnd ? animation.tweens.length : 0;\n\t\t\t\tif ( stopped ) {\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t\tstopped = true;\n\t\t\t\tfor ( ; index < length ; index++ ) {\n\t\t\t\t\tanimation.tweens[ index ].run( 1 );\n\t\t\t\t}\n\n\t\t\t\t// Resolve when we played the last frame; otherwise, reject\n\t\t\t\tif ( gotoEnd ) {\n\t\t\t\t\tdeferred.resolveWith( elem, [ animation, gotoEnd ] );\n\t\t\t\t} else {\n\t\t\t\t\tdeferred.rejectWith( elem, [ animation, gotoEnd ] );\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t}\n\t\t}),\n\t\tprops = animation.props;\n\n\tpropFilter( props, animation.opts.specialEasing );\n\n\tfor ( ; index < length ; index++ ) {\n\t\tresult = animationPrefilters[ index ].call( animation, elem, props, animation.opts );\n\t\tif ( result ) {\n\t\t\treturn result;\n\t\t}\n\t}\n\n\tjQuery.map( props, createTween, animation );\n\n\tif ( jQuery.isFunction( animation.opts.start ) ) {\n\t\tanimation.opts.start.call( elem, animation );\n\t}\n\n\tjQuery.fx.timer(\n\t\tjQuery.extend( tick, {\n\t\t\telem: elem,\n\t\t\tanim: animation,\n\t\t\tqueue: animation.opts.queue\n\t\t})\n\t);\n\n\t// attach callbacks from options\n\treturn animation.progress( animation.opts.progress )\n\t\t.done( animation.opts.done, animation.opts.complete )\n\t\t.fail( animation.opts.fail )\n\t\t.always( animation.opts.always );\n}\n\njQuery.Animation = jQuery.extend( Animation, {\n\n\ttweener: function( props, callback ) {\n\t\tif ( jQuery.isFunction( props ) ) {\n\t\t\tcallback = props;\n\t\t\tprops = [ \"*\" ];\n\t\t} else {\n\t\t\tprops = props.split(\" \");\n\t\t}\n\n\t\tvar prop,\n\t\t\tindex = 0,\n\t\t\tlength = props.length;\n\n\t\tfor ( ; index < length ; index++ ) {\n\t\t\tprop = props[ index ];\n\t\t\ttweeners[ prop ] = tweeners[ prop ] || [];\n\t\t\ttweeners[ prop ].unshift( callback );\n\t\t}\n\t},\n\n\tprefilter: function( callback, prepend ) {\n\t\tif ( prepend ) {\n\t\t\tanimationPrefilters.unshift( callback );\n\t\t} else {\n\t\t\tanimationPrefilters.push( callback );\n\t\t}\n\t}\n});\n\njQuery.speed = function( speed, easing, fn ) {\n\tvar opt = speed && typeof speed === \"object\" ? jQuery.extend( {}, speed ) : {\n\t\tcomplete: fn || !fn && easing ||\n\t\t\tjQuery.isFunction( speed ) && speed,\n\t\tduration: speed,\n\t\teasing: fn && easing || easing && !jQuery.isFunction( easing ) && easing\n\t};\n\n\topt.duration = jQuery.fx.off ? 0 : typeof opt.duration === \"number\" ? opt.duration :\n\t\topt.duration in jQuery.fx.speeds ? jQuery.fx.speeds[ opt.duration ] : jQuery.fx.speeds._default;\n\n\t// Normalize opt.queue - true/undefined/null -> \"fx\"\n\tif ( opt.queue == null || opt.queue === true ) {\n\t\topt.queue = \"fx\";\n\t}\n\n\t// Queueing\n\topt.old = opt.complete;\n\n\topt.complete = function() {\n\t\tif ( jQuery.isFunction( opt.old ) ) {\n\t\t\topt.old.call( this );\n\t\t}\n\n\t\tif ( opt.queue ) {\n\t\t\tjQuery.dequeue( this, opt.queue );\n\t\t}\n\t};\n\n\treturn opt;\n};\n\njQuery.fn.extend({\n\tfadeTo: function( speed, to, easing, callback ) {\n\n\t\t// Show any hidden elements after setting opacity to 0\n\t\treturn this.filter( isHidden ).css( \"opacity\", 0 ).show()\n\n\t\t\t// Animate to the value specified\n\t\t\t.end().animate({ opacity: to }, speed, easing, callback );\n\t},\n\tanimate: function( prop, speed, easing, callback ) {\n\t\tvar empty = jQuery.isEmptyObject( prop ),\n\t\t\toptall = jQuery.speed( speed, easing, callback ),\n\t\t\tdoAnimation = function() {\n\t\t\t\t// Operate on a copy of prop so per-property easing won't be lost\n\t\t\t\tvar anim = Animation( this, jQuery.extend( {}, prop ), optall );\n\n\t\t\t\t// Empty animations, or finishing resolves immediately\n\t\t\t\tif ( empty || data_priv.get( this, \"finish\" ) ) {\n\t\t\t\t\tanim.stop( true );\n\t\t\t\t}\n\t\t\t};\n\t\t\tdoAnimation.finish = doAnimation;\n\n\t\treturn empty || optall.queue === false ?\n\t\t\tthis.each( doAnimation ) :\n\t\t\tthis.queue( optall.queue, doAnimation );\n\t},\n\tstop: function( type, clearQueue, gotoEnd ) {\n\t\tvar stopQueue = function( hooks ) {\n\t\t\tvar stop = hooks.stop;\n\t\t\tdelete hooks.stop;\n\t\t\tstop( gotoEnd );\n\t\t};\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tgotoEnd = clearQueue;\n\t\t\tclearQueue = type;\n\t\t\ttype = undefined;\n\t\t}\n\t\tif ( clearQueue && type !== false ) {\n\t\t\tthis.queue( type || \"fx\", [] );\n\t\t}\n\n\t\treturn this.each(function() {\n\t\t\tvar dequeue = true,\n\t\t\t\tindex = type != null && type + \"queueHooks\",\n\t\t\t\ttimers = jQuery.timers,\n\t\t\t\tdata = data_priv.get( this );\n\n\t\t\tif ( index ) {\n\t\t\t\tif ( data[ index ] && data[ index ].stop ) {\n\t\t\t\t\tstopQueue( data[ index ] );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor ( index in data ) {\n\t\t\t\t\tif ( data[ index ] && data[ index ].stop && rrun.test( index ) ) {\n\t\t\t\t\t\tstopQueue( data[ index ] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor ( index = timers.length; index--; ) {\n\t\t\t\tif ( timers[ index ].elem === this && (type == null || timers[ index ].queue === type) ) {\n\t\t\t\t\ttimers[ index ].anim.stop( gotoEnd );\n\t\t\t\t\tdequeue = false;\n\t\t\t\t\ttimers.splice( index, 1 );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Start the next in the queue if the last step wasn't forced.\n\t\t\t// Timers currently will call their complete callbacks, which\n\t\t\t// will dequeue but only if they were gotoEnd.\n\t\t\tif ( dequeue || !gotoEnd ) {\n\t\t\t\tjQuery.dequeue( this, type );\n\t\t\t}\n\t\t});\n\t},\n\tfinish: function( type ) {\n\t\tif ( type !== false ) {\n\t\t\ttype = type || \"fx\";\n\t\t}\n\t\treturn this.each(function() {\n\t\t\tvar index,\n\t\t\t\tdata = data_priv.get( this ),\n\t\t\t\tqueue = data[ type + \"queue\" ],\n\t\t\t\thooks = data[ type + \"queueHooks\" ],\n\t\t\t\ttimers = jQuery.timers,\n\t\t\t\tlength = queue ? queue.length : 0;\n\n\t\t\t// Enable finishing flag on private data\n\t\t\tdata.finish = true;\n\n\t\t\t// Empty the queue first\n\t\t\tjQuery.queue( this, type, [] );\n\n\t\t\tif ( hooks && hooks.stop ) {\n\t\t\t\thooks.stop.call( this, true );\n\t\t\t}\n\n\t\t\t// Look for any active animations, and finish them\n\t\t\tfor ( index = timers.length; index--; ) {\n\t\t\t\tif ( timers[ index ].elem === this && timers[ index ].queue === type ) {\n\t\t\t\t\ttimers[ index ].anim.stop( true );\n\t\t\t\t\ttimers.splice( index, 1 );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Look for any animations in the old queue and finish them\n\t\t\tfor ( index = 0; index < length; index++ ) {\n\t\t\t\tif ( queue[ index ] && queue[ index ].finish ) {\n\t\t\t\t\tqueue[ index ].finish.call( this );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Turn off finishing flag\n\t\t\tdelete data.finish;\n\t\t});\n\t}\n});\n\njQuery.each([ \"toggle\", \"show\", \"hide\" ], function( i, name ) {\n\tvar cssFn = jQuery.fn[ name ];\n\tjQuery.fn[ name ] = function( speed, easing, callback ) {\n\t\treturn speed == null || typeof speed === \"boolean\" ?\n\t\t\tcssFn.apply( this, arguments ) :\n\t\t\tthis.animate( genFx( name, true ), speed, easing, callback );\n\t};\n});\n\n// Generate shortcuts for custom animations\njQuery.each({\n\tslideDown: genFx(\"show\"),\n\tslideUp: genFx(\"hide\"),\n\tslideToggle: genFx(\"toggle\"),\n\tfadeIn: { opacity: \"show\" },\n\tfadeOut: { opacity: \"hide\" },\n\tfadeToggle: { opacity: \"toggle\" }\n}, function( name, props ) {\n\tjQuery.fn[ name ] = function( speed, easing, callback ) {\n\t\treturn this.animate( props, speed, easing, callback );\n\t};\n});\n\njQuery.timers = [];\njQuery.fx.tick = function() {\n\tvar timer,\n\t\ti = 0,\n\t\ttimers = jQuery.timers;\n\n\tfxNow = jQuery.now();\n\n\tfor ( ; i < timers.length; i++ ) {\n\t\ttimer = timers[ i ];\n\t\t// Checks the timer has not already been removed\n\t\tif ( !timer() && timers[ i ] === timer ) {\n\t\t\ttimers.splice( i--, 1 );\n\t\t}\n\t}\n\n\tif ( !timers.length ) {\n\t\tjQuery.fx.stop();\n\t}\n\tfxNow = undefined;\n};\n\njQuery.fx.timer = function( timer ) {\n\tjQuery.timers.push( timer );\n\tif ( timer() ) {\n\t\tjQuery.fx.start();\n\t} else {\n\t\tjQuery.timers.pop();\n\t}\n};\n\njQuery.fx.interval = 13;\n\njQuery.fx.start = function() {\n\tif ( !timerId ) {\n\t\ttimerId = setInterval( jQuery.fx.tick, jQuery.fx.interval );\n\t}\n};\n\njQuery.fx.stop = function() {\n\tclearInterval( timerId );\n\ttimerId = null;\n};\n\njQuery.fx.speeds = {\n\tslow: 600,\n\tfast: 200,\n\t// Default speed\n\t_default: 400\n};\n\n\n// Based off of the plugin by Clint Helfers, with permission.\n// http://blindsignals.com/index.php/2009/07/jquery-delay/\njQuery.fn.delay = function( time, type ) {\n\ttime = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;\n\ttype = type || \"fx\";\n\n\treturn this.queue( type, function( next, hooks ) {\n\t\tvar timeout = setTimeout( next, time );\n\t\thooks.stop = function() {\n\t\t\tclearTimeout( timeout );\n\t\t};\n\t});\n};\n\n\n(function() {\n\tvar input = document.createElement( \"input\" ),\n\t\tselect = document.createElement( \"select\" ),\n\t\topt = select.appendChild( document.createElement( \"option\" ) );\n\n\tinput.type = \"checkbox\";\n\n\t// Support: iOS<=5.1, Android<=4.2+\n\t// Default value for a checkbox should be \"on\"\n\tsupport.checkOn = input.value !== \"\";\n\n\t// Support: IE<=11+\n\t// Must access selectedIndex to make default options select\n\tsupport.optSelected = opt.selected;\n\n\t// Support: Android<=2.3\n\t// Options inside disabled selects are incorrectly marked as disabled\n\tselect.disabled = true;\n\tsupport.optDisabled = !opt.disabled;\n\n\t// Support: IE<=11+\n\t// An input loses its value after becoming a radio\n\tinput = document.createElement( \"input\" );\n\tinput.value = \"t\";\n\tinput.type = \"radio\";\n\tsupport.radioValue = input.value === \"t\";\n})();\n\n\nvar nodeHook, boolHook,\n\tattrHandle = jQuery.expr.attrHandle;\n\njQuery.fn.extend({\n\tattr: function( name, value ) {\n\t\treturn access( this, jQuery.attr, name, value, arguments.length > 1 );\n\t},\n\n\tremoveAttr: function( name ) {\n\t\treturn this.each(function() {\n\t\t\tjQuery.removeAttr( this, name );\n\t\t});\n\t}\n});\n\njQuery.extend({\n\tattr: function( elem, name, value ) {\n\t\tvar hooks, ret,\n\t\t\tnType = elem.nodeType;\n\n\t\t// don't get/set attributes on text, comment and attribute nodes\n\t\tif ( !elem || nType === 3 || nType === 8 || nType === 2 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Fallback to prop when attributes are not supported\n\t\tif ( typeof elem.getAttribute === strundefined ) {\n\t\t\treturn jQuery.prop( elem, name, value );\n\t\t}\n\n\t\t// All attributes are lowercase\n\t\t// Grab necessary hook if one is defined\n\t\tif ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {\n\t\t\tname = name.toLowerCase();\n\t\t\thooks = jQuery.attrHooks[ name ] ||\n\t\t\t\t( jQuery.expr.match.bool.test( name ) ? boolHook : nodeHook );\n\t\t}\n\n\t\tif ( value !== undefined ) {\n\n\t\t\tif ( value === null ) {\n\t\t\t\tjQuery.removeAttr( elem, name );\n\n\t\t\t} else if ( hooks && \"set\" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) {\n\t\t\t\treturn ret;\n\n\t\t\t} else {\n\t\t\t\telem.setAttribute( name, value + \"\" );\n\t\t\t\treturn value;\n\t\t\t}\n\n\t\t} else if ( hooks && \"get\" in hooks && (ret = hooks.get( elem, name )) !== null ) {\n\t\t\treturn ret;\n\n\t\t} else {\n\t\t\tret = jQuery.find.attr( elem, name );\n\n\t\t\t// Non-existent attributes return null, we normalize to undefined\n\t\t\treturn ret == null ?\n\t\t\t\tundefined :\n\t\t\t\tret;\n\t\t}\n\t},\n\n\tremoveAttr: function( elem, value ) {\n\t\tvar name, propName,\n\t\t\ti = 0,\n\t\t\tattrNames = value && value.match( rnotwhite );\n\n\t\tif ( attrNames && elem.nodeType === 1 ) {\n\t\t\twhile ( (name = attrNames[i++]) ) {\n\t\t\t\tpropName = jQuery.propFix[ name ] || name;\n\n\t\t\t\t// Boolean attributes get special treatment (#10870)\n\t\t\t\tif ( jQuery.expr.match.bool.test( name ) ) {\n\t\t\t\t\t// Set corresponding property to false\n\t\t\t\t\telem[ propName ] = false;\n\t\t\t\t}\n\n\t\t\t\telem.removeAttribute( name );\n\t\t\t}\n\t\t}\n\t},\n\n\tattrHooks: {\n\t\ttype: {\n\t\t\tset: function( elem, value ) {\n\t\t\t\tif ( !support.radioValue && value === \"radio\" &&\n\t\t\t\t\tjQuery.nodeName( elem, \"input\" ) ) {\n\t\t\t\t\tvar val = elem.value;\n\t\t\t\t\telem.setAttribute( \"type\", value );\n\t\t\t\t\tif ( val ) {\n\t\t\t\t\t\telem.value = val;\n\t\t\t\t\t}\n\t\t\t\t\treturn value;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n});\n\n// Hooks for boolean attributes\nboolHook = {\n\tset: function( elem, value, name ) {\n\t\tif ( value === false ) {\n\t\t\t// Remove boolean attributes when set to false\n\t\t\tjQuery.removeAttr( elem, name );\n\t\t} else {\n\t\t\telem.setAttribute( name, name );\n\t\t}\n\t\treturn name;\n\t}\n};\njQuery.each( jQuery.expr.match.bool.source.match( /\\w+/g ), function( i, name ) {\n\tvar getter = attrHandle[ name ] || jQuery.find.attr;\n\n\tattrHandle[ name ] = function( elem, name, isXML ) {\n\t\tvar ret, handle;\n\t\tif ( !isXML ) {\n\t\t\t// Avoid an infinite loop by temporarily removing this function from the getter\n\t\t\thandle = attrHandle[ name ];\n\t\t\tattrHandle[ name ] = ret;\n\t\t\tret = getter( elem, name, isXML ) != null ?\n\t\t\t\tname.toLowerCase() :\n\t\t\t\tnull;\n\t\t\tattrHandle[ name ] = handle;\n\t\t}\n\t\treturn ret;\n\t};\n});\n\n\n\n\nvar rfocusable = /^(?:input|select|textarea|button)$/i;\n\njQuery.fn.extend({\n\tprop: function( name, value ) {\n\t\treturn access( this, jQuery.prop, name, value, arguments.length > 1 );\n\t},\n\n\tremoveProp: function( name ) {\n\t\treturn this.each(function() {\n\t\t\tdelete this[ jQuery.propFix[ name ] || name ];\n\t\t});\n\t}\n});\n\njQuery.extend({\n\tpropFix: {\n\t\t\"for\": \"htmlFor\",\n\t\t\"class\": \"className\"\n\t},\n\n\tprop: function( elem, name, value ) {\n\t\tvar ret, hooks, notxml,\n\t\t\tnType = elem.nodeType;\n\n\t\t// Don't get/set properties on text, comment and attribute nodes\n\t\tif ( !elem || nType === 3 || nType === 8 || nType === 2 ) {\n\t\t\treturn;\n\t\t}\n\n\t\tnotxml = nType !== 1 || !jQuery.isXMLDoc( elem );\n\n\t\tif ( notxml ) {\n\t\t\t// Fix name and attach hooks\n\t\t\tname = jQuery.propFix[ name ] || name;\n\t\t\thooks = jQuery.propHooks[ name ];\n\t\t}\n\n\t\tif ( value !== undefined ) {\n\t\t\treturn hooks && \"set\" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ?\n\t\t\t\tret :\n\t\t\t\t( elem[ name ] = value );\n\n\t\t} else {\n\t\t\treturn hooks && \"get\" in hooks && (ret = hooks.get( elem, name )) !== null ?\n\t\t\t\tret :\n\t\t\t\telem[ name ];\n\t\t}\n\t},\n\n\tpropHooks: {\n\t\ttabIndex: {\n\t\t\tget: function( elem ) {\n\t\t\t\treturn elem.hasAttribute( \"tabindex\" ) || rfocusable.test( elem.nodeName ) || elem.href ?\n\t\t\t\t\telem.tabIndex :\n\t\t\t\t\t-1;\n\t\t\t}\n\t\t}\n\t}\n});\n\nif ( !support.optSelected ) {\n\tjQuery.propHooks.selected = {\n\t\tget: function( elem ) {\n\t\t\tvar parent = elem.parentNode;\n\t\t\tif ( parent && parent.parentNode ) {\n\t\t\t\tparent.parentNode.selectedIndex;\n\t\t\t}\n\t\t\treturn null;\n\t\t}\n\t};\n}\n\njQuery.each([\n\t\"tabIndex\",\n\t\"readOnly\",\n\t\"maxLength\",\n\t\"cellSpacing\",\n\t\"cellPadding\",\n\t\"rowSpan\",\n\t\"colSpan\",\n\t\"useMap\",\n\t\"frameBorder\",\n\t\"contentEditable\"\n], function() {\n\tjQuery.propFix[ this.toLowerCase() ] = this;\n});\n\n\n\n\nvar rclass = /[\\t\\r\\n\\f]/g;\n\njQuery.fn.extend({\n\taddClass: function( value ) {\n\t\tvar classes, elem, cur, clazz, j, finalValue,\n\t\t\tproceed = typeof value === \"string\" && value,\n\t\t\ti = 0,\n\t\t\tlen = this.length;\n\n\t\tif ( jQuery.isFunction( value ) ) {\n\t\t\treturn this.each(function( j ) {\n\t\t\t\tjQuery( this ).addClass( value.call( this, j, this.className ) );\n\t\t\t});\n\t\t}\n\n\t\tif ( proceed ) {\n\t\t\t// The disjunction here is for better compressibility (see removeClass)\n\t\t\tclasses = ( value || \"\" ).match( rnotwhite ) || [];\n\n\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\telem = this[ i ];\n\t\t\t\tcur = elem.nodeType === 1 && ( elem.className ?\n\t\t\t\t\t( \" \" + elem.className + \" \" ).replace( rclass, \" \" ) :\n\t\t\t\t\t\" \"\n\t\t\t\t);\n\n\t\t\t\tif ( cur ) {\n\t\t\t\t\tj = 0;\n\t\t\t\t\twhile ( (clazz = classes[j++]) ) {\n\t\t\t\t\t\tif ( cur.indexOf( \" \" + clazz + \" \" ) < 0 ) {\n\t\t\t\t\t\t\tcur += clazz + \" \";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// only assign if different to avoid unneeded rendering.\n\t\t\t\t\tfinalValue = jQuery.trim( cur );\n\t\t\t\t\tif ( elem.className !== finalValue ) {\n\t\t\t\t\t\telem.className = finalValue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\tremoveClass: function( value ) {\n\t\tvar classes, elem, cur, clazz, j, finalValue,\n\t\t\tproceed = arguments.length === 0 || typeof value === \"string\" && value,\n\t\t\ti = 0,\n\t\t\tlen = this.length;\n\n\t\tif ( jQuery.isFunction( value ) ) {\n\t\t\treturn this.each(function( j ) {\n\t\t\t\tjQuery( this ).removeClass( value.call( this, j, this.className ) );\n\t\t\t});\n\t\t}\n\t\tif ( proceed ) {\n\t\t\tclasses = ( value || \"\" ).match( rnotwhite ) || [];\n\n\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\telem = this[ i ];\n\t\t\t\t// This expression is here for better compressibility (see addClass)\n\t\t\t\tcur = elem.nodeType === 1 && ( elem.className ?\n\t\t\t\t\t( \" \" + elem.className + \" \" ).replace( rclass, \" \" ) :\n\t\t\t\t\t\"\"\n\t\t\t\t);\n\n\t\t\t\tif ( cur ) {\n\t\t\t\t\tj = 0;\n\t\t\t\t\twhile ( (clazz = classes[j++]) ) {\n\t\t\t\t\t\t// Remove *all* instances\n\t\t\t\t\t\twhile ( cur.indexOf( \" \" + clazz + \" \" ) >= 0 ) {\n\t\t\t\t\t\t\tcur = cur.replace( \" \" + clazz + \" \", \" \" );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Only assign if different to avoid unneeded rendering.\n\t\t\t\t\tfinalValue = value ? jQuery.trim( cur ) : \"\";\n\t\t\t\t\tif ( elem.className !== finalValue ) {\n\t\t\t\t\t\telem.className = finalValue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\ttoggleClass: function( value, stateVal ) {\n\t\tvar type = typeof value;\n\n\t\tif ( typeof stateVal === \"boolean\" && type === \"string\" ) {\n\t\t\treturn stateVal ? this.addClass( value ) : this.removeClass( value );\n\t\t}\n\n\t\tif ( jQuery.isFunction( value ) ) {\n\t\t\treturn this.each(function( i ) {\n\t\t\t\tjQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal );\n\t\t\t});\n\t\t}\n\n\t\treturn this.each(function() {\n\t\t\tif ( type === \"string\" ) {\n\t\t\t\t// Toggle individual class names\n\t\t\t\tvar className,\n\t\t\t\t\ti = 0,\n\t\t\t\t\tself = jQuery( this ),\n\t\t\t\t\tclassNames = value.match( rnotwhite ) || [];\n\n\t\t\t\twhile ( (className = classNames[ i++ ]) ) {\n\t\t\t\t\t// Check each className given, space separated list\n\t\t\t\t\tif ( self.hasClass( className ) ) {\n\t\t\t\t\t\tself.removeClass( className );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tself.addClass( className );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t// Toggle whole class name\n\t\t\t} else if ( type === strundefined || type === \"boolean\" ) {\n\t\t\t\tif ( this.className ) {\n\t\t\t\t\t// store className if set\n\t\t\t\t\tdata_priv.set( this, \"__className__\", this.className );\n\t\t\t\t}\n\n\t\t\t\t// If the element has a class name or if we're passed `false`,\n\t\t\t\t// then remove the whole classname (if there was one, the above saved it).\n\t\t\t\t// Otherwise bring back whatever was previously saved (if anything),\n\t\t\t\t// falling back to the empty string if nothing was stored.\n\t\t\t\tthis.className = this.className || value === false ? \"\" : data_priv.get( this, \"__className__\" ) || \"\";\n\t\t\t}\n\t\t});\n\t},\n\n\thasClass: function( selector ) {\n\t\tvar className = \" \" + selector + \" \",\n\t\t\ti = 0,\n\t\t\tl = this.length;\n\t\tfor ( ; i < l; i++ ) {\n\t\t\tif ( this[i].nodeType === 1 && (\" \" + this[i].className + \" \").replace(rclass, \" \").indexOf( className ) >= 0 ) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n});\n\n\n\n\nvar rreturn = /\\r/g;\n\njQuery.fn.extend({\n\tval: function( value ) {\n\t\tvar hooks, ret, isFunction,\n\t\t\telem = this[0];\n\n\t\tif ( !arguments.length ) {\n\t\t\tif ( elem ) {\n\t\t\t\thooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ];\n\n\t\t\t\tif ( hooks && \"get\" in hooks && (ret = hooks.get( elem, \"value\" )) !== undefined ) {\n\t\t\t\t\treturn ret;\n\t\t\t\t}\n\n\t\t\t\tret = elem.value;\n\n\t\t\t\treturn typeof ret === \"string\" ?\n\t\t\t\t\t// Handle most common string cases\n\t\t\t\t\tret.replace(rreturn, \"\") :\n\t\t\t\t\t// Handle cases where value is null/undef or number\n\t\t\t\t\tret == null ? \"\" : ret;\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tisFunction = jQuery.isFunction( value );\n\n\t\treturn this.each(function( i ) {\n\t\t\tvar val;\n\n\t\t\tif ( this.nodeType !== 1 ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( isFunction ) {\n\t\t\t\tval = value.call( this, i, jQuery( this ).val() );\n\t\t\t} else {\n\t\t\t\tval = value;\n\t\t\t}\n\n\t\t\t// Treat null/undefined as \"\"; convert numbers to string\n\t\t\tif ( val == null ) {\n\t\t\t\tval = \"\";\n\n\t\t\t} else if ( typeof val === \"number\" ) {\n\t\t\t\tval += \"\";\n\n\t\t\t} else if ( jQuery.isArray( val ) ) {\n\t\t\t\tval = jQuery.map( val, function( value ) {\n\t\t\t\t\treturn value == null ? \"\" : value + \"\";\n\t\t\t\t});\n\t\t\t}\n\n\t\t\thooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ];\n\n\t\t\t// If set returns undefined, fall back to normal setting\n\t\t\tif ( !hooks || !(\"set\" in hooks) || hooks.set( this, val, \"value\" ) === undefined ) {\n\t\t\t\tthis.value = val;\n\t\t\t}\n\t\t});\n\t}\n});\n\njQuery.extend({\n\tvalHooks: {\n\t\toption: {\n\t\t\tget: function( elem ) {\n\t\t\t\tvar val = jQuery.find.attr( elem, \"value\" );\n\t\t\t\treturn val != null ?\n\t\t\t\t\tval :\n\t\t\t\t\t// Support: IE10-11+\n\t\t\t\t\t// option.text throws exceptions (#14686, #14858)\n\t\t\t\t\tjQuery.trim( jQuery.text( elem ) );\n\t\t\t}\n\t\t},\n\t\tselect: {\n\t\t\tget: function( elem ) {\n\t\t\t\tvar value, option,\n\t\t\t\t\toptions = elem.options,\n\t\t\t\t\tindex = elem.selectedIndex,\n\t\t\t\t\tone = elem.type === \"select-one\" || index < 0,\n\t\t\t\t\tvalues = one ? null : [],\n\t\t\t\t\tmax = one ? index + 1 : options.length,\n\t\t\t\t\ti = index < 0 ?\n\t\t\t\t\t\tmax :\n\t\t\t\t\t\tone ? index : 0;\n\n\t\t\t\t// Loop through all the selected options\n\t\t\t\tfor ( ; i < max; i++ ) {\n\t\t\t\t\toption = options[ i ];\n\n\t\t\t\t\t// IE6-9 doesn't update selected after form reset (#2551)\n\t\t\t\t\tif ( ( option.selected || i === index ) &&\n\t\t\t\t\t\t\t// Don't return options that are disabled or in a disabled optgroup\n\t\t\t\t\t\t\t( support.optDisabled ? !option.disabled : option.getAttribute( \"disabled\" ) === null ) &&\n\t\t\t\t\t\t\t( !option.parentNode.disabled || !jQuery.nodeName( option.parentNode, \"optgroup\" ) ) ) {\n\n\t\t\t\t\t\t// Get the specific value for the option\n\t\t\t\t\t\tvalue = jQuery( option ).val();\n\n\t\t\t\t\t\t// We don't need an array for one selects\n\t\t\t\t\t\tif ( one ) {\n\t\t\t\t\t\t\treturn value;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Multi-Selects return an array\n\t\t\t\t\t\tvalues.push( value );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn values;\n\t\t\t},\n\n\t\t\tset: function( elem, value ) {\n\t\t\t\tvar optionSet, option,\n\t\t\t\t\toptions = elem.options,\n\t\t\t\t\tvalues = jQuery.makeArray( value ),\n\t\t\t\t\ti = options.length;\n\n\t\t\t\twhile ( i-- ) {\n\t\t\t\t\toption = options[ i ];\n\t\t\t\t\tif ( (option.selected = jQuery.inArray( option.value, values ) >= 0) ) {\n\t\t\t\t\t\toptionSet = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Force browsers to behave consistently when non-matching value is set\n\t\t\t\tif ( !optionSet ) {\n\t\t\t\t\telem.selectedIndex = -1;\n\t\t\t\t}\n\t\t\t\treturn values;\n\t\t\t}\n\t\t}\n\t}\n});\n\n// Radios and checkboxes getter/setter\njQuery.each([ \"radio\", \"checkbox\" ], function() {\n\tjQuery.valHooks[ this ] = {\n\t\tset: function( elem, value ) {\n\t\t\tif ( jQuery.isArray( value ) ) {\n\t\t\t\treturn ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 );\n\t\t\t}\n\t\t}\n\t};\n\tif ( !support.checkOn ) {\n\t\tjQuery.valHooks[ this ].get = function( elem ) {\n\t\t\treturn elem.getAttribute(\"value\") === null ? \"on\" : elem.value;\n\t\t};\n\t}\n});\n\n\n\n\n// Return jQuery for attributes-only inclusion\n\n\njQuery.each( (\"blur focus focusin focusout load resize scroll unload click dblclick \" +\n\t\"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave \" +\n\t\"change select submit keydown keypress keyup error contextmenu\").split(\" \"), function( i, name ) {\n\n\t// Handle event binding\n\tjQuery.fn[ name ] = function( data, fn ) {\n\t\treturn arguments.length > 0 ?\n\t\t\tthis.on( name, null, data, fn ) :\n\t\t\tthis.trigger( name );\n\t};\n});\n\njQuery.fn.extend({\n\thover: function( fnOver, fnOut ) {\n\t\treturn this.mouseenter( fnOver ).mouseleave( fnOut || fnOver );\n\t},\n\n\tbind: function( types, data, fn ) {\n\t\treturn this.on( types, null, data, fn );\n\t},\n\tunbind: function( types, fn ) {\n\t\treturn this.off( types, null, fn );\n\t},\n\n\tdelegate: function( selector, types, data, fn ) {\n\t\treturn this.on( types, selector, data, fn );\n\t},\n\tundelegate: function( selector, types, fn ) {\n\t\t// ( namespace ) or ( selector, types [, fn] )\n\t\treturn arguments.length === 1 ? this.off( selector, \"**\" ) : this.off( types, selector || \"**\", fn );\n\t}\n});\n\n\nvar nonce = jQuery.now();\n\nvar rquery = (/\\?/);\n\n\n\n// Support: Android 2.3\n// Workaround failure to string-cast null input\njQuery.parseJSON = function( data ) {\n\treturn JSON.parse( data + \"\" );\n};\n\n\n// Cross-browser xml parsing\njQuery.parseXML = function( data ) {\n\tvar xml, tmp;\n\tif ( !data || typeof data !== \"string\" ) {\n\t\treturn null;\n\t}\n\n\t// Support: IE9\n\ttry {\n\t\ttmp = new DOMParser();\n\t\txml = tmp.parseFromString( data, \"text/xml\" );\n\t} catch ( e ) {\n\t\txml = undefined;\n\t}\n\n\tif ( !xml || xml.getElementsByTagName( \"parsererror\" ).length ) {\n\t\tjQuery.error( \"Invalid XML: \" + data );\n\t}\n\treturn xml;\n};\n\n\nvar\n\trhash = /#.*$/,\n\trts = /([?&])_=[^&]*/,\n\trheaders = /^(.*?):[ \\t]*([^\\r\\n]*)$/mg,\n\t// #7653, #8125, #8152: local protocol detection\n\trlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,\n\trnoContent = /^(?:GET|HEAD)$/,\n\trprotocol = /^\\/\\//,\n\trurl = /^([\\w.+-]+:)(?:\\/\\/(?:[^\\/?#]*@|)([^\\/?#:]*)(?::(\\d+)|)|)/,\n\n\t/* Prefilters\n\t * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)\n\t * 2) These are called:\n\t *    - BEFORE asking for a transport\n\t *    - AFTER param serialization (s.data is a string if s.processData is true)\n\t * 3) key is the dataType\n\t * 4) the catchall symbol \"*\" can be used\n\t * 5) execution will start with transport dataType and THEN continue down to \"*\" if needed\n\t */\n\tprefilters = {},\n\n\t/* Transports bindings\n\t * 1) key is the dataType\n\t * 2) the catchall symbol \"*\" can be used\n\t * 3) selection will start with transport dataType and THEN go to \"*\" if needed\n\t */\n\ttransports = {},\n\n\t// Avoid comment-prolog char sequence (#10098); must appease lint and evade compression\n\tallTypes = \"*/\".concat( \"*\" ),\n\n\t// Document location\n\tajaxLocation = window.location.href,\n\n\t// Segment location into parts\n\tajaxLocParts = rurl.exec( ajaxLocation.toLowerCase() ) || [];\n\n// Base \"constructor\" for jQuery.ajaxPrefilter and jQuery.ajaxTransport\nfunction addToPrefiltersOrTransports( structure ) {\n\n\t// dataTypeExpression is optional and defaults to \"*\"\n\treturn function( dataTypeExpression, func ) {\n\n\t\tif ( typeof dataTypeExpression !== \"string\" ) {\n\t\t\tfunc = dataTypeExpression;\n\t\t\tdataTypeExpression = \"*\";\n\t\t}\n\n\t\tvar dataType,\n\t\t\ti = 0,\n\t\t\tdataTypes = dataTypeExpression.toLowerCase().match( rnotwhite ) || [];\n\n\t\tif ( jQuery.isFunction( func ) ) {\n\t\t\t// For each dataType in the dataTypeExpression\n\t\t\twhile ( (dataType = dataTypes[i++]) ) {\n\t\t\t\t// Prepend if requested\n\t\t\t\tif ( dataType[0] === \"+\" ) {\n\t\t\t\t\tdataType = dataType.slice( 1 ) || \"*\";\n\t\t\t\t\t(structure[ dataType ] = structure[ dataType ] || []).unshift( func );\n\n\t\t\t\t// Otherwise append\n\t\t\t\t} else {\n\t\t\t\t\t(structure[ dataType ] = structure[ dataType ] || []).push( func );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n}\n\n// Base inspection function for prefilters and transports\nfunction inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) {\n\n\tvar inspected = {},\n\t\tseekingTransport = ( structure === transports );\n\n\tfunction inspect( dataType ) {\n\t\tvar selected;\n\t\tinspected[ dataType ] = true;\n\t\tjQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) {\n\t\t\tvar dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR );\n\t\t\tif ( typeof dataTypeOrTransport === \"string\" && !seekingTransport && !inspected[ dataTypeOrTransport ] ) {\n\t\t\t\toptions.dataTypes.unshift( dataTypeOrTransport );\n\t\t\t\tinspect( dataTypeOrTransport );\n\t\t\t\treturn false;\n\t\t\t} else if ( seekingTransport ) {\n\t\t\t\treturn !( selected = dataTypeOrTransport );\n\t\t\t}\n\t\t});\n\t\treturn selected;\n\t}\n\n\treturn inspect( options.dataTypes[ 0 ] ) || !inspected[ \"*\" ] && inspect( \"*\" );\n}\n\n// A special extend for ajax options\n// that takes \"flat\" options (not to be deep extended)\n// Fixes #9887\nfunction ajaxExtend( target, src ) {\n\tvar key, deep,\n\t\tflatOptions = jQuery.ajaxSettings.flatOptions || {};\n\n\tfor ( key in src ) {\n\t\tif ( src[ key ] !== undefined ) {\n\t\t\t( flatOptions[ key ] ? target : ( deep || (deep = {}) ) )[ key ] = src[ key ];\n\t\t}\n\t}\n\tif ( deep ) {\n\t\tjQuery.extend( true, target, deep );\n\t}\n\n\treturn target;\n}\n\n/* Handles responses to an ajax request:\n * - finds the right dataType (mediates between content-type and expected dataType)\n * - returns the corresponding response\n */\nfunction ajaxHandleResponses( s, jqXHR, responses ) {\n\n\tvar ct, type, finalDataType, firstDataType,\n\t\tcontents = s.contents,\n\t\tdataTypes = s.dataTypes;\n\n\t// Remove auto dataType and get content-type in the process\n\twhile ( dataTypes[ 0 ] === \"*\" ) {\n\t\tdataTypes.shift();\n\t\tif ( ct === undefined ) {\n\t\t\tct = s.mimeType || jqXHR.getResponseHeader(\"Content-Type\");\n\t\t}\n\t}\n\n\t// Check if we're dealing with a known content-type\n\tif ( ct ) {\n\t\tfor ( type in contents ) {\n\t\t\tif ( contents[ type ] && contents[ type ].test( ct ) ) {\n\t\t\t\tdataTypes.unshift( type );\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Check to see if we have a response for the expected dataType\n\tif ( dataTypes[ 0 ] in responses ) {\n\t\tfinalDataType = dataTypes[ 0 ];\n\t} else {\n\t\t// Try convertible dataTypes\n\t\tfor ( type in responses ) {\n\t\t\tif ( !dataTypes[ 0 ] || s.converters[ type + \" \" + dataTypes[0] ] ) {\n\t\t\t\tfinalDataType = type;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif ( !firstDataType ) {\n\t\t\t\tfirstDataType = type;\n\t\t\t}\n\t\t}\n\t\t// Or just use first one\n\t\tfinalDataType = finalDataType || firstDataType;\n\t}\n\n\t// If we found a dataType\n\t// We add the dataType to the list if needed\n\t// and return the corresponding response\n\tif ( finalDataType ) {\n\t\tif ( finalDataType !== dataTypes[ 0 ] ) {\n\t\t\tdataTypes.unshift( finalDataType );\n\t\t}\n\t\treturn responses[ finalDataType ];\n\t}\n}\n\n/* Chain conversions given the request and the original response\n * Also sets the responseXXX fields on the jqXHR instance\n */\nfunction ajaxConvert( s, response, jqXHR, isSuccess ) {\n\tvar conv2, current, conv, tmp, prev,\n\t\tconverters = {},\n\t\t// Work with a copy of dataTypes in case we need to modify it for conversion\n\t\tdataTypes = s.dataTypes.slice();\n\n\t// Create converters map with lowercased keys\n\tif ( dataTypes[ 1 ] ) {\n\t\tfor ( conv in s.converters ) {\n\t\t\tconverters[ conv.toLowerCase() ] = s.converters[ conv ];\n\t\t}\n\t}\n\n\tcurrent = dataTypes.shift();\n\n\t// Convert to each sequential dataType\n\twhile ( current ) {\n\n\t\tif ( s.responseFields[ current ] ) {\n\t\t\tjqXHR[ s.responseFields[ current ] ] = response;\n\t\t}\n\n\t\t// Apply the dataFilter if provided\n\t\tif ( !prev && isSuccess && s.dataFilter ) {\n\t\t\tresponse = s.dataFilter( response, s.dataType );\n\t\t}\n\n\t\tprev = current;\n\t\tcurrent = dataTypes.shift();\n\n\t\tif ( current ) {\n\n\t\t// There's only work to do if current dataType is non-auto\n\t\t\tif ( current === \"*\" ) {\n\n\t\t\t\tcurrent = prev;\n\n\t\t\t// Convert response if prev dataType is non-auto and differs from current\n\t\t\t} else if ( prev !== \"*\" && prev !== current ) {\n\n\t\t\t\t// Seek a direct converter\n\t\t\t\tconv = converters[ prev + \" \" + current ] || converters[ \"* \" + current ];\n\n\t\t\t\t// If none found, seek a pair\n\t\t\t\tif ( !conv ) {\n\t\t\t\t\tfor ( conv2 in converters ) {\n\n\t\t\t\t\t\t// If conv2 outputs current\n\t\t\t\t\t\ttmp = conv2.split( \" \" );\n\t\t\t\t\t\tif ( tmp[ 1 ] === current ) {\n\n\t\t\t\t\t\t\t// If prev can be converted to accepted input\n\t\t\t\t\t\t\tconv = converters[ prev + \" \" + tmp[ 0 ] ] ||\n\t\t\t\t\t\t\t\tconverters[ \"* \" + tmp[ 0 ] ];\n\t\t\t\t\t\t\tif ( conv ) {\n\t\t\t\t\t\t\t\t// Condense equivalence converters\n\t\t\t\t\t\t\t\tif ( conv === true ) {\n\t\t\t\t\t\t\t\t\tconv = converters[ conv2 ];\n\n\t\t\t\t\t\t\t\t// Otherwise, insert the intermediate dataType\n\t\t\t\t\t\t\t\t} else if ( converters[ conv2 ] !== true ) {\n\t\t\t\t\t\t\t\t\tcurrent = tmp[ 0 ];\n\t\t\t\t\t\t\t\t\tdataTypes.unshift( tmp[ 1 ] );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Apply converter (if not an equivalence)\n\t\t\t\tif ( conv !== true ) {\n\n\t\t\t\t\t// Unless errors are allowed to bubble, catch and return them\n\t\t\t\t\tif ( conv && s[ \"throws\" ] ) {\n\t\t\t\t\t\tresponse = conv( response );\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tresponse = conv( response );\n\t\t\t\t\t\t} catch ( e ) {\n\t\t\t\t\t\t\treturn { state: \"parsererror\", error: conv ? e : \"No conversion from \" + prev + \" to \" + current };\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn { state: \"success\", data: response };\n}\n\njQuery.extend({\n\n\t// Counter for holding the number of active queries\n\tactive: 0,\n\n\t// Last-Modified header cache for next request\n\tlastModified: {},\n\tetag: {},\n\n\tajaxSettings: {\n\t\turl: ajaxLocation,\n\t\ttype: \"GET\",\n\t\tisLocal: rlocalProtocol.test( ajaxLocParts[ 1 ] ),\n\t\tglobal: true,\n\t\tprocessData: true,\n\t\tasync: true,\n\t\tcontentType: \"application/x-www-form-urlencoded; charset=UTF-8\",\n\t\t/*\n\t\ttimeout: 0,\n\t\tdata: null,\n\t\tdataType: null,\n\t\tusername: null,\n\t\tpassword: null,\n\t\tcache: null,\n\t\tthrows: false,\n\t\ttraditional: false,\n\t\theaders: {},\n\t\t*/\n\n\t\taccepts: {\n\t\t\t\"*\": allTypes,\n\t\t\ttext: \"text/plain\",\n\t\t\thtml: \"text/html\",\n\t\t\txml: \"application/xml, text/xml\",\n\t\t\tjson: \"application/json, text/javascript\"\n\t\t},\n\n\t\tcontents: {\n\t\t\txml: /xml/,\n\t\t\thtml: /html/,\n\t\t\tjson: /json/\n\t\t},\n\n\t\tresponseFields: {\n\t\t\txml: \"responseXML\",\n\t\t\ttext: \"responseText\",\n\t\t\tjson: \"responseJSON\"\n\t\t},\n\n\t\t// Data converters\n\t\t// Keys separate source (or catchall \"*\") and destination types with a single space\n\t\tconverters: {\n\n\t\t\t// Convert anything to text\n\t\t\t\"* text\": String,\n\n\t\t\t// Text to html (true = no transformation)\n\t\t\t\"text html\": true,\n\n\t\t\t// Evaluate text as a json expression\n\t\t\t\"text json\": jQuery.parseJSON,\n\n\t\t\t// Parse text as xml\n\t\t\t\"text xml\": jQuery.parseXML\n\t\t},\n\n\t\t// For options that shouldn't be deep extended:\n\t\t// you can add your own custom options here if\n\t\t// and when you create one that shouldn't be\n\t\t// deep extended (see ajaxExtend)\n\t\tflatOptions: {\n\t\t\turl: true,\n\t\t\tcontext: true\n\t\t}\n\t},\n\n\t// Creates a full fledged settings object into target\n\t// with both ajaxSettings and settings fields.\n\t// If target is omitted, writes into ajaxSettings.\n\tajaxSetup: function( target, settings ) {\n\t\treturn settings ?\n\n\t\t\t// Building a settings object\n\t\t\tajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) :\n\n\t\t\t// Extending ajaxSettings\n\t\t\tajaxExtend( jQuery.ajaxSettings, target );\n\t},\n\n\tajaxPrefilter: addToPrefiltersOrTransports( prefilters ),\n\tajaxTransport: addToPrefiltersOrTransports( transports ),\n\n\t// Main method\n\tajax: function( url, options ) {\n\n\t\t// If url is an object, simulate pre-1.5 signature\n\t\tif ( typeof url === \"object\" ) {\n\t\t\toptions = url;\n\t\t\turl = undefined;\n\t\t}\n\n\t\t// Force options to be an object\n\t\toptions = options || {};\n\n\t\tvar transport,\n\t\t\t// URL without anti-cache param\n\t\t\tcacheURL,\n\t\t\t// Response headers\n\t\t\tresponseHeadersString,\n\t\t\tresponseHeaders,\n\t\t\t// timeout handle\n\t\t\ttimeoutTimer,\n\t\t\t// Cross-domain detection vars\n\t\t\tparts,\n\t\t\t// To know if global events are to be dispatched\n\t\t\tfireGlobals,\n\t\t\t// Loop variable\n\t\t\ti,\n\t\t\t// Create the final options object\n\t\t\ts = jQuery.ajaxSetup( {}, options ),\n\t\t\t// Callbacks context\n\t\t\tcallbackContext = s.context || s,\n\t\t\t// Context for global events is callbackContext if it is a DOM node or jQuery collection\n\t\t\tglobalEventContext = s.context && ( callbackContext.nodeType || callbackContext.jquery ) ?\n\t\t\t\tjQuery( callbackContext ) :\n\t\t\t\tjQuery.event,\n\t\t\t// Deferreds\n\t\t\tdeferred = jQuery.Deferred(),\n\t\t\tcompleteDeferred = jQuery.Callbacks(\"once memory\"),\n\t\t\t// Status-dependent callbacks\n\t\t\tstatusCode = s.statusCode || {},\n\t\t\t// Headers (they are sent all at once)\n\t\t\trequestHeaders = {},\n\t\t\trequestHeadersNames = {},\n\t\t\t// The jqXHR state\n\t\t\tstate = 0,\n\t\t\t// Default abort message\n\t\t\tstrAbort = \"canceled\",\n\t\t\t// Fake xhr\n\t\t\tjqXHR = {\n\t\t\t\treadyState: 0,\n\n\t\t\t\t// Builds headers hashtable if needed\n\t\t\t\tgetResponseHeader: function( key ) {\n\t\t\t\t\tvar match;\n\t\t\t\t\tif ( state === 2 ) {\n\t\t\t\t\t\tif ( !responseHeaders ) {\n\t\t\t\t\t\t\tresponseHeaders = {};\n\t\t\t\t\t\t\twhile ( (match = rheaders.exec( responseHeadersString )) ) {\n\t\t\t\t\t\t\t\tresponseHeaders[ match[1].toLowerCase() ] = match[ 2 ];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tmatch = responseHeaders[ key.toLowerCase() ];\n\t\t\t\t\t}\n\t\t\t\t\treturn match == null ? null : match;\n\t\t\t\t},\n\n\t\t\t\t// Raw string\n\t\t\t\tgetAllResponseHeaders: function() {\n\t\t\t\t\treturn state === 2 ? responseHeadersString : null;\n\t\t\t\t},\n\n\t\t\t\t// Caches the header\n\t\t\t\tsetRequestHeader: function( name, value ) {\n\t\t\t\t\tvar lname = name.toLowerCase();\n\t\t\t\t\tif ( !state ) {\n\t\t\t\t\t\tname = requestHeadersNames[ lname ] = requestHeadersNames[ lname ] || name;\n\t\t\t\t\t\trequestHeaders[ name ] = value;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Overrides response content-type header\n\t\t\t\toverrideMimeType: function( type ) {\n\t\t\t\t\tif ( !state ) {\n\t\t\t\t\t\ts.mimeType = type;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Status-dependent callbacks\n\t\t\t\tstatusCode: function( map ) {\n\t\t\t\t\tvar code;\n\t\t\t\t\tif ( map ) {\n\t\t\t\t\t\tif ( state < 2 ) {\n\t\t\t\t\t\t\tfor ( code in map ) {\n\t\t\t\t\t\t\t\t// Lazy-add the new callback in a way that preserves old ones\n\t\t\t\t\t\t\t\tstatusCode[ code ] = [ statusCode[ code ], map[ code ] ];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// Execute the appropriate callbacks\n\t\t\t\t\t\t\tjqXHR.always( map[ jqXHR.status ] );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Cancel the request\n\t\t\t\tabort: function( statusText ) {\n\t\t\t\t\tvar finalText = statusText || strAbort;\n\t\t\t\t\tif ( transport ) {\n\t\t\t\t\t\ttransport.abort( finalText );\n\t\t\t\t\t}\n\t\t\t\t\tdone( 0, finalText );\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t};\n\n\t\t// Attach deferreds\n\t\tdeferred.promise( jqXHR ).complete = completeDeferred.add;\n\t\tjqXHR.success = jqXHR.done;\n\t\tjqXHR.error = jqXHR.fail;\n\n\t\t// Remove hash character (#7531: and string promotion)\n\t\t// Add protocol if not provided (prefilters might expect it)\n\t\t// Handle falsy url in the settings object (#10093: consistency with old signature)\n\t\t// We also use the url parameter if available\n\t\ts.url = ( ( url || s.url || ajaxLocation ) + \"\" ).replace( rhash, \"\" )\n\t\t\t.replace( rprotocol, ajaxLocParts[ 1 ] + \"//\" );\n\n\t\t// Alias method option to type as per ticket #12004\n\t\ts.type = options.method || options.type || s.method || s.type;\n\n\t\t// Extract dataTypes list\n\t\ts.dataTypes = jQuery.trim( s.dataType || \"*\" ).toLowerCase().match( rnotwhite ) || [ \"\" ];\n\n\t\t// A cross-domain request is in order when we have a protocol:host:port mismatch\n\t\tif ( s.crossDomain == null ) {\n\t\t\tparts = rurl.exec( s.url.toLowerCase() );\n\t\t\ts.crossDomain = !!( parts &&\n\t\t\t\t( parts[ 1 ] !== ajaxLocParts[ 1 ] || parts[ 2 ] !== ajaxLocParts[ 2 ] ||\n\t\t\t\t\t( parts[ 3 ] || ( parts[ 1 ] === \"http:\" ? \"80\" : \"443\" ) ) !==\n\t\t\t\t\t\t( ajaxLocParts[ 3 ] || ( ajaxLocParts[ 1 ] === \"http:\" ? \"80\" : \"443\" ) ) )\n\t\t\t);\n\t\t}\n\n\t\t// Convert data if not already a string\n\t\tif ( s.data && s.processData && typeof s.data !== \"string\" ) {\n\t\t\ts.data = jQuery.param( s.data, s.traditional );\n\t\t}\n\n\t\t// Apply prefilters\n\t\tinspectPrefiltersOrTransports( prefilters, s, options, jqXHR );\n\n\t\t// If request was aborted inside a prefilter, stop there\n\t\tif ( state === 2 ) {\n\t\t\treturn jqXHR;\n\t\t}\n\n\t\t// We can fire global events as of now if asked to\n\t\t// Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118)\n\t\tfireGlobals = jQuery.event && s.global;\n\n\t\t// Watch for a new set of requests\n\t\tif ( fireGlobals && jQuery.active++ === 0 ) {\n\t\t\tjQuery.event.trigger(\"ajaxStart\");\n\t\t}\n\n\t\t// Uppercase the type\n\t\ts.type = s.type.toUpperCase();\n\n\t\t// Determine if request has content\n\t\ts.hasContent = !rnoContent.test( s.type );\n\n\t\t// Save the URL in case we're toying with the If-Modified-Since\n\t\t// and/or If-None-Match header later on\n\t\tcacheURL = s.url;\n\n\t\t// More options handling for requests with no content\n\t\tif ( !s.hasContent ) {\n\n\t\t\t// If data is available, append data to url\n\t\t\tif ( s.data ) {\n\t\t\t\tcacheURL = ( s.url += ( rquery.test( cacheURL ) ? \"&\" : \"?\" ) + s.data );\n\t\t\t\t// #9682: remove data so that it's not used in an eventual retry\n\t\t\t\tdelete s.data;\n\t\t\t}\n\n\t\t\t// Add anti-cache in url if needed\n\t\t\tif ( s.cache === false ) {\n\t\t\t\ts.url = rts.test( cacheURL ) ?\n\n\t\t\t\t\t// If there is already a '_' parameter, set its value\n\t\t\t\t\tcacheURL.replace( rts, \"$1_=\" + nonce++ ) :\n\n\t\t\t\t\t// Otherwise add one to the end\n\t\t\t\t\tcacheURL + ( rquery.test( cacheURL ) ? \"&\" : \"?\" ) + \"_=\" + nonce++;\n\t\t\t}\n\t\t}\n\n\t\t// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n\t\tif ( s.ifModified ) {\n\t\t\tif ( jQuery.lastModified[ cacheURL ] ) {\n\t\t\t\tjqXHR.setRequestHeader( \"If-Modified-Since\", jQuery.lastModified[ cacheURL ] );\n\t\t\t}\n\t\t\tif ( jQuery.etag[ cacheURL ] ) {\n\t\t\t\tjqXHR.setRequestHeader( \"If-None-Match\", jQuery.etag[ cacheURL ] );\n\t\t\t}\n\t\t}\n\n\t\t// Set the correct header, if data is being sent\n\t\tif ( s.data && s.hasContent && s.contentType !== false || options.contentType ) {\n\t\t\tjqXHR.setRequestHeader( \"Content-Type\", s.contentType );\n\t\t}\n\n\t\t// Set the Accepts header for the server, depending on the dataType\n\t\tjqXHR.setRequestHeader(\n\t\t\t\"Accept\",\n\t\t\ts.dataTypes[ 0 ] && s.accepts[ s.dataTypes[0] ] ?\n\t\t\t\ts.accepts[ s.dataTypes[0] ] + ( s.dataTypes[ 0 ] !== \"*\" ? \", \" + allTypes + \"; q=0.01\" : \"\" ) :\n\t\t\t\ts.accepts[ \"*\" ]\n\t\t);\n\n\t\t// Check for headers option\n\t\tfor ( i in s.headers ) {\n\t\t\tjqXHR.setRequestHeader( i, s.headers[ i ] );\n\t\t}\n\n\t\t// Allow custom headers/mimetypes and early abort\n\t\tif ( s.beforeSend && ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || state === 2 ) ) {\n\t\t\t// Abort if not done already and return\n\t\t\treturn jqXHR.abort();\n\t\t}\n\n\t\t// Aborting is no longer a cancellation\n\t\tstrAbort = \"abort\";\n\n\t\t// Install callbacks on deferreds\n\t\tfor ( i in { success: 1, error: 1, complete: 1 } ) {\n\t\t\tjqXHR[ i ]( s[ i ] );\n\t\t}\n\n\t\t// Get transport\n\t\ttransport = inspectPrefiltersOrTransports( transports, s, options, jqXHR );\n\n\t\t// If no transport, we auto-abort\n\t\tif ( !transport ) {\n\t\t\tdone( -1, \"No Transport\" );\n\t\t} else {\n\t\t\tjqXHR.readyState = 1;\n\n\t\t\t// Send global event\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( \"ajaxSend\", [ jqXHR, s ] );\n\t\t\t}\n\t\t\t// Timeout\n\t\t\tif ( s.async && s.timeout > 0 ) {\n\t\t\t\ttimeoutTimer = setTimeout(function() {\n\t\t\t\t\tjqXHR.abort(\"timeout\");\n\t\t\t\t}, s.timeout );\n\t\t\t}\n\n\t\t\ttry {\n\t\t\t\tstate = 1;\n\t\t\t\ttransport.send( requestHeaders, done );\n\t\t\t} catch ( e ) {\n\t\t\t\t// Propagate exception as error if not done\n\t\t\t\tif ( state < 2 ) {\n\t\t\t\t\tdone( -1, e );\n\t\t\t\t// Simply rethrow otherwise\n\t\t\t\t} else {\n\t\t\t\t\tthrow e;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Callback for when everything is done\n\t\tfunction done( status, nativeStatusText, responses, headers ) {\n\t\t\tvar isSuccess, success, error, response, modified,\n\t\t\t\tstatusText = nativeStatusText;\n\n\t\t\t// Called once\n\t\t\tif ( state === 2 ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// State is \"done\" now\n\t\t\tstate = 2;\n\n\t\t\t// Clear timeout if it exists\n\t\t\tif ( timeoutTimer ) {\n\t\t\t\tclearTimeout( timeoutTimer );\n\t\t\t}\n\n\t\t\t// Dereference transport for early garbage collection\n\t\t\t// (no matter how long the jqXHR object will be used)\n\t\t\ttransport = undefined;\n\n\t\t\t// Cache response headers\n\t\t\tresponseHeadersString = headers || \"\";\n\n\t\t\t// Set readyState\n\t\t\tjqXHR.readyState = status > 0 ? 4 : 0;\n\n\t\t\t// Determine if successful\n\t\t\tisSuccess = status >= 200 && status < 300 || status === 304;\n\n\t\t\t// Get response data\n\t\t\tif ( responses ) {\n\t\t\t\tresponse = ajaxHandleResponses( s, jqXHR, responses );\n\t\t\t}\n\n\t\t\t// Convert no matter what (that way responseXXX fields are always set)\n\t\t\tresponse = ajaxConvert( s, response, jqXHR, isSuccess );\n\n\t\t\t// If successful, handle type chaining\n\t\t\tif ( isSuccess ) {\n\n\t\t\t\t// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n\t\t\t\tif ( s.ifModified ) {\n\t\t\t\t\tmodified = jqXHR.getResponseHeader(\"Last-Modified\");\n\t\t\t\t\tif ( modified ) {\n\t\t\t\t\t\tjQuery.lastModified[ cacheURL ] = modified;\n\t\t\t\t\t}\n\t\t\t\t\tmodified = jqXHR.getResponseHeader(\"etag\");\n\t\t\t\t\tif ( modified ) {\n\t\t\t\t\t\tjQuery.etag[ cacheURL ] = modified;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// if no content\n\t\t\t\tif ( status === 204 || s.type === \"HEAD\" ) {\n\t\t\t\t\tstatusText = \"nocontent\";\n\n\t\t\t\t// if not modified\n\t\t\t\t} else if ( status === 304 ) {\n\t\t\t\t\tstatusText = \"notmodified\";\n\n\t\t\t\t// If we have data, let's convert it\n\t\t\t\t} else {\n\t\t\t\t\tstatusText = response.state;\n\t\t\t\t\tsuccess = response.data;\n\t\t\t\t\terror = response.error;\n\t\t\t\t\tisSuccess = !error;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// Extract error from statusText and normalize for non-aborts\n\t\t\t\terror = statusText;\n\t\t\t\tif ( status || !statusText ) {\n\t\t\t\t\tstatusText = \"error\";\n\t\t\t\t\tif ( status < 0 ) {\n\t\t\t\t\t\tstatus = 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Set data for the fake xhr object\n\t\t\tjqXHR.status = status;\n\t\t\tjqXHR.statusText = ( nativeStatusText || statusText ) + \"\";\n\n\t\t\t// Success/Error\n\t\t\tif ( isSuccess ) {\n\t\t\t\tdeferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );\n\t\t\t} else {\n\t\t\t\tdeferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] );\n\t\t\t}\n\n\t\t\t// Status-dependent callbacks\n\t\t\tjqXHR.statusCode( statusCode );\n\t\t\tstatusCode = undefined;\n\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( isSuccess ? \"ajaxSuccess\" : \"ajaxError\",\n\t\t\t\t\t[ jqXHR, s, isSuccess ? success : error ] );\n\t\t\t}\n\n\t\t\t// Complete\n\t\t\tcompleteDeferred.fireWith( callbackContext, [ jqXHR, statusText ] );\n\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( \"ajaxComplete\", [ jqXHR, s ] );\n\t\t\t\t// Handle the global AJAX counter\n\t\t\t\tif ( !( --jQuery.active ) ) {\n\t\t\t\t\tjQuery.event.trigger(\"ajaxStop\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn jqXHR;\n\t},\n\n\tgetJSON: function( url, data, callback ) {\n\t\treturn jQuery.get( url, data, callback, \"json\" );\n\t},\n\n\tgetScript: function( url, callback ) {\n\t\treturn jQuery.get( url, undefined, callback, \"script\" );\n\t}\n});\n\njQuery.each( [ \"get\", \"post\" ], function( i, method ) {\n\tjQuery[ method ] = function( url, data, callback, type ) {\n\t\t// Shift arguments if data argument was omitted\n\t\tif ( jQuery.isFunction( data ) ) {\n\t\t\ttype = type || callback;\n\t\t\tcallback = data;\n\t\t\tdata = undefined;\n\t\t}\n\n\t\treturn jQuery.ajax({\n\t\t\turl: url,\n\t\t\ttype: method,\n\t\t\tdataType: type,\n\t\t\tdata: data,\n\t\t\tsuccess: callback\n\t\t});\n\t};\n});\n\n\njQuery._evalUrl = function( url ) {\n\treturn jQuery.ajax({\n\t\turl: url,\n\t\ttype: \"GET\",\n\t\tdataType: \"script\",\n\t\tasync: false,\n\t\tglobal: false,\n\t\t\"throws\": true\n\t});\n};\n\n\njQuery.fn.extend({\n\twrapAll: function( html ) {\n\t\tvar wrap;\n\n\t\tif ( jQuery.isFunction( html ) ) {\n\t\t\treturn this.each(function( i ) {\n\t\t\t\tjQuery( this ).wrapAll( html.call(this, i) );\n\t\t\t});\n\t\t}\n\n\t\tif ( this[ 0 ] ) {\n\n\t\t\t// The elements to wrap the target around\n\t\t\twrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true );\n\n\t\t\tif ( this[ 0 ].parentNode ) {\n\t\t\t\twrap.insertBefore( this[ 0 ] );\n\t\t\t}\n\n\t\t\twrap.map(function() {\n\t\t\t\tvar elem = this;\n\n\t\t\t\twhile ( elem.firstElementChild ) {\n\t\t\t\t\telem = elem.firstElementChild;\n\t\t\t\t}\n\n\t\t\t\treturn elem;\n\t\t\t}).append( this );\n\t\t}\n\n\t\treturn this;\n\t},\n\n\twrapInner: function( html ) {\n\t\tif ( jQuery.isFunction( html ) ) {\n\t\t\treturn this.each(function( i ) {\n\t\t\t\tjQuery( this ).wrapInner( html.call(this, i) );\n\t\t\t});\n\t\t}\n\n\t\treturn this.each(function() {\n\t\t\tvar self = jQuery( this ),\n\t\t\t\tcontents = self.contents();\n\n\t\t\tif ( contents.length ) {\n\t\t\t\tcontents.wrapAll( html );\n\n\t\t\t} else {\n\t\t\t\tself.append( html );\n\t\t\t}\n\t\t});\n\t},\n\n\twrap: function( html ) {\n\t\tvar isFunction = jQuery.isFunction( html );\n\n\t\treturn this.each(function( i ) {\n\t\t\tjQuery( this ).wrapAll( isFunction ? html.call(this, i) : html );\n\t\t});\n\t},\n\n\tunwrap: function() {\n\t\treturn this.parent().each(function() {\n\t\t\tif ( !jQuery.nodeName( this, \"body\" ) ) {\n\t\t\t\tjQuery( this ).replaceWith( this.childNodes );\n\t\t\t}\n\t\t}).end();\n\t}\n});\n\n\njQuery.expr.filters.hidden = function( elem ) {\n\t// Support: Opera <= 12.12\n\t// Opera reports offsetWidths and offsetHeights less than zero on some elements\n\treturn elem.offsetWidth <= 0 && elem.offsetHeight <= 0;\n};\njQuery.expr.filters.visible = function( elem ) {\n\treturn !jQuery.expr.filters.hidden( elem );\n};\n\n\n\n\nvar r20 = /%20/g,\n\trbracket = /\\[\\]$/,\n\trCRLF = /\\r?\\n/g,\n\trsubmitterTypes = /^(?:submit|button|image|reset|file)$/i,\n\trsubmittable = /^(?:input|select|textarea|keygen)/i;\n\nfunction buildParams( prefix, obj, traditional, add ) {\n\tvar name;\n\n\tif ( jQuery.isArray( obj ) ) {\n\t\t// Serialize array item.\n\t\tjQuery.each( obj, function( i, v ) {\n\t\t\tif ( traditional || rbracket.test( prefix ) ) {\n\t\t\t\t// Treat each array item as a scalar.\n\t\t\t\tadd( prefix, v );\n\n\t\t\t} else {\n\t\t\t\t// Item is non-scalar (array or object), encode its numeric index.\n\t\t\t\tbuildParams( prefix + \"[\" + ( typeof v === \"object\" ? i : \"\" ) + \"]\", v, traditional, add );\n\t\t\t}\n\t\t});\n\n\t} else if ( !traditional && jQuery.type( obj ) === \"object\" ) {\n\t\t// Serialize object item.\n\t\tfor ( name in obj ) {\n\t\t\tbuildParams( prefix + \"[\" + name + \"]\", obj[ name ], traditional, add );\n\t\t}\n\n\t} else {\n\t\t// Serialize scalar item.\n\t\tadd( prefix, obj );\n\t}\n}\n\n// Serialize an array of form elements or a set of\n// key/values into a query string\njQuery.param = function( a, traditional ) {\n\tvar prefix,\n\t\ts = [],\n\t\tadd = function( key, value ) {\n\t\t\t// If value is a function, invoke it and return its value\n\t\t\tvalue = jQuery.isFunction( value ) ? value() : ( value == null ? \"\" : value );\n\t\t\ts[ s.length ] = encodeURIComponent( key ) + \"=\" + encodeURIComponent( value );\n\t\t};\n\n\t// Set traditional to true for jQuery <= 1.3.2 behavior.\n\tif ( traditional === undefined ) {\n\t\ttraditional = jQuery.ajaxSettings && jQuery.ajaxSettings.traditional;\n\t}\n\n\t// If an array was passed in, assume that it is an array of form elements.\n\tif ( jQuery.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) {\n\t\t// Serialize the form elements\n\t\tjQuery.each( a, function() {\n\t\t\tadd( this.name, this.value );\n\t\t});\n\n\t} else {\n\t\t// If traditional, encode the \"old\" way (the way 1.3.2 or older\n\t\t// did it), otherwise encode params recursively.\n\t\tfor ( prefix in a ) {\n\t\t\tbuildParams( prefix, a[ prefix ], traditional, add );\n\t\t}\n\t}\n\n\t// Return the resulting serialization\n\treturn s.join( \"&\" ).replace( r20, \"+\" );\n};\n\njQuery.fn.extend({\n\tserialize: function() {\n\t\treturn jQuery.param( this.serializeArray() );\n\t},\n\tserializeArray: function() {\n\t\treturn this.map(function() {\n\t\t\t// Can add propHook for \"elements\" to filter or add form elements\n\t\t\tvar elements = jQuery.prop( this, \"elements\" );\n\t\t\treturn elements ? jQuery.makeArray( elements ) : this;\n\t\t})\n\t\t.filter(function() {\n\t\t\tvar type = this.type;\n\n\t\t\t// Use .is( \":disabled\" ) so that fieldset[disabled] works\n\t\t\treturn this.name && !jQuery( this ).is( \":disabled\" ) &&\n\t\t\t\trsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) &&\n\t\t\t\t( this.checked || !rcheckableType.test( type ) );\n\t\t})\n\t\t.map(function( i, elem ) {\n\t\t\tvar val = jQuery( this ).val();\n\n\t\t\treturn val == null ?\n\t\t\t\tnull :\n\t\t\t\tjQuery.isArray( val ) ?\n\t\t\t\t\tjQuery.map( val, function( val ) {\n\t\t\t\t\t\treturn { name: elem.name, value: val.replace( rCRLF, \"\\r\\n\" ) };\n\t\t\t\t\t}) :\n\t\t\t\t\t{ name: elem.name, value: val.replace( rCRLF, \"\\r\\n\" ) };\n\t\t}).get();\n\t}\n});\n\n\njQuery.ajaxSettings.xhr = function() {\n\ttry {\n\t\treturn new XMLHttpRequest();\n\t} catch( e ) {}\n};\n\nvar xhrId = 0,\n\txhrCallbacks = {},\n\txhrSuccessStatus = {\n\t\t// file protocol always yields status code 0, assume 200\n\t\t0: 200,\n\t\t// Support: IE9\n\t\t// #1450: sometimes IE returns 1223 when it should be 204\n\t\t1223: 204\n\t},\n\txhrSupported = jQuery.ajaxSettings.xhr();\n\n// Support: IE9\n// Open requests must be manually aborted on unload (#5280)\n// See https://support.microsoft.com/kb/2856746 for more info\nif ( window.attachEvent ) {\n\twindow.attachEvent( \"onunload\", function() {\n\t\tfor ( var key in xhrCallbacks ) {\n\t\t\txhrCallbacks[ key ]();\n\t\t}\n\t});\n}\n\nsupport.cors = !!xhrSupported && ( \"withCredentials\" in xhrSupported );\nsupport.ajax = xhrSupported = !!xhrSupported;\n\njQuery.ajaxTransport(function( options ) {\n\tvar callback;\n\n\t// Cross domain only allowed if supported through XMLHttpRequest\n\tif ( support.cors || xhrSupported && !options.crossDomain ) {\n\t\treturn {\n\t\t\tsend: function( headers, complete ) {\n\t\t\t\tvar i,\n\t\t\t\t\txhr = options.xhr(),\n\t\t\t\t\tid = ++xhrId;\n\n\t\t\t\txhr.open( options.type, options.url, options.async, options.username, options.password );\n\n\t\t\t\t// Apply custom fields if provided\n\t\t\t\tif ( options.xhrFields ) {\n\t\t\t\t\tfor ( i in options.xhrFields ) {\n\t\t\t\t\t\txhr[ i ] = options.xhrFields[ i ];\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Override mime type if needed\n\t\t\t\tif ( options.mimeType && xhr.overrideMimeType ) {\n\t\t\t\t\txhr.overrideMimeType( options.mimeType );\n\t\t\t\t}\n\n\t\t\t\t// X-Requested-With header\n\t\t\t\t// For cross-domain requests, seeing as conditions for a preflight are\n\t\t\t\t// akin to a jigsaw puzzle, we simply never set it to be sure.\n\t\t\t\t// (it can always be set on a per-request basis or even using ajaxSetup)\n\t\t\t\t// For same-domain requests, won't change header if already provided.\n\t\t\t\tif ( !options.crossDomain && !headers[\"X-Requested-With\"] ) {\n\t\t\t\t\theaders[\"X-Requested-With\"] = \"XMLHttpRequest\";\n\t\t\t\t}\n\n\t\t\t\t// Set headers\n\t\t\t\tfor ( i in headers ) {\n\t\t\t\t\txhr.setRequestHeader( i, headers[ i ] );\n\t\t\t\t}\n\n\t\t\t\t// Callback\n\t\t\t\tcallback = function( type ) {\n\t\t\t\t\treturn function() {\n\t\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\t\tdelete xhrCallbacks[ id ];\n\t\t\t\t\t\t\tcallback = xhr.onload = xhr.onerror = null;\n\n\t\t\t\t\t\t\tif ( type === \"abort\" ) {\n\t\t\t\t\t\t\t\txhr.abort();\n\t\t\t\t\t\t\t} else if ( type === \"error\" ) {\n\t\t\t\t\t\t\t\tcomplete(\n\t\t\t\t\t\t\t\t\t// file: protocol always yields status 0; see #8605, #14207\n\t\t\t\t\t\t\t\t\txhr.status,\n\t\t\t\t\t\t\t\t\txhr.statusText\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tcomplete(\n\t\t\t\t\t\t\t\t\txhrSuccessStatus[ xhr.status ] || xhr.status,\n\t\t\t\t\t\t\t\t\txhr.statusText,\n\t\t\t\t\t\t\t\t\t// Support: IE9\n\t\t\t\t\t\t\t\t\t// Accessing binary-data responseText throws an exception\n\t\t\t\t\t\t\t\t\t// (#11426)\n\t\t\t\t\t\t\t\t\ttypeof xhr.responseText === \"string\" ? {\n\t\t\t\t\t\t\t\t\t\ttext: xhr.responseText\n\t\t\t\t\t\t\t\t\t} : undefined,\n\t\t\t\t\t\t\t\t\txhr.getAllResponseHeaders()\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t};\n\n\t\t\t\t// Listen to events\n\t\t\t\txhr.onload = callback();\n\t\t\t\txhr.onerror = callback(\"error\");\n\n\t\t\t\t// Create the abort callback\n\t\t\t\tcallback = xhrCallbacks[ id ] = callback(\"abort\");\n\n\t\t\t\ttry {\n\t\t\t\t\t// Do send the request (this may raise an exception)\n\t\t\t\t\txhr.send( options.hasContent && options.data || null );\n\t\t\t\t} catch ( e ) {\n\t\t\t\t\t// #14683: Only rethrow if this hasn't been notified as an error yet\n\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\tthrow e;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tabort: function() {\n\t\t\t\tif ( callback ) {\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}\n});\n\n\n\n\n// Install script dataType\njQuery.ajaxSetup({\n\taccepts: {\n\t\tscript: \"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript\"\n\t},\n\tcontents: {\n\t\tscript: /(?:java|ecma)script/\n\t},\n\tconverters: {\n\t\t\"text script\": function( text ) {\n\t\t\tjQuery.globalEval( text );\n\t\t\treturn text;\n\t\t}\n\t}\n});\n\n// Handle cache's special case and crossDomain\njQuery.ajaxPrefilter( \"script\", function( s ) {\n\tif ( s.cache === undefined ) {\n\t\ts.cache = false;\n\t}\n\tif ( s.crossDomain ) {\n\t\ts.type = \"GET\";\n\t}\n});\n\n// Bind script tag hack transport\njQuery.ajaxTransport( \"script\", function( s ) {\n\t// This transport only deals with cross domain requests\n\tif ( s.crossDomain ) {\n\t\tvar script, callback;\n\t\treturn {\n\t\t\tsend: function( _, complete ) {\n\t\t\t\tscript = jQuery(\"<script>\").prop({\n\t\t\t\t\tasync: true,\n\t\t\t\t\tcharset: s.scriptCharset,\n\t\t\t\t\tsrc: s.url\n\t\t\t\t}).on(\n\t\t\t\t\t\"load error\",\n\t\t\t\t\tcallback = function( evt ) {\n\t\t\t\t\t\tscript.remove();\n\t\t\t\t\t\tcallback = null;\n\t\t\t\t\t\tif ( evt ) {\n\t\t\t\t\t\t\tcomplete( evt.type === \"error\" ? 404 : 200, evt.type );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tdocument.head.appendChild( script[ 0 ] );\n\t\t\t},\n\t\t\tabort: function() {\n\t\t\t\tif ( callback ) {\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}\n});\n\n\n\n\nvar oldCallbacks = [],\n\trjsonp = /(=)\\?(?=&|$)|\\?\\?/;\n\n// Default jsonp settings\njQuery.ajaxSetup({\n\tjsonp: \"callback\",\n\tjsonpCallback: function() {\n\t\tvar callback = oldCallbacks.pop() || ( jQuery.expando + \"_\" + ( nonce++ ) );\n\t\tthis[ callback ] = true;\n\t\treturn callback;\n\t}\n});\n\n// Detect, normalize options and install callbacks for jsonp requests\njQuery.ajaxPrefilter( \"json jsonp\", function( s, originalSettings, jqXHR ) {\n\n\tvar callbackName, overwritten, responseContainer,\n\t\tjsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ?\n\t\t\t\"url\" :\n\t\t\ttypeof s.data === \"string\" && !( s.contentType || \"\" ).indexOf(\"application/x-www-form-urlencoded\") && rjsonp.test( s.data ) && \"data\"\n\t\t);\n\n\t// Handle iff the expected data type is \"jsonp\" or we have a parameter to set\n\tif ( jsonProp || s.dataTypes[ 0 ] === \"jsonp\" ) {\n\n\t\t// Get callback name, remembering preexisting value associated with it\n\t\tcallbackName = s.jsonpCallback = jQuery.isFunction( s.jsonpCallback ) ?\n\t\t\ts.jsonpCallback() :\n\t\t\ts.jsonpCallback;\n\n\t\t// Insert callback into url or form data\n\t\tif ( jsonProp ) {\n\t\t\ts[ jsonProp ] = s[ jsonProp ].replace( rjsonp, \"$1\" + callbackName );\n\t\t} else if ( s.jsonp !== false ) {\n\t\t\ts.url += ( rquery.test( s.url ) ? \"&\" : \"?\" ) + s.jsonp + \"=\" + callbackName;\n\t\t}\n\n\t\t// Use data converter to retrieve json after script execution\n\t\ts.converters[\"script json\"] = function() {\n\t\t\tif ( !responseContainer ) {\n\t\t\t\tjQuery.error( callbackName + \" was not called\" );\n\t\t\t}\n\t\t\treturn responseContainer[ 0 ];\n\t\t};\n\n\t\t// force json dataType\n\t\ts.dataTypes[ 0 ] = \"json\";\n\n\t\t// Install callback\n\t\toverwritten = window[ callbackName ];\n\t\twindow[ callbackName ] = function() {\n\t\t\tresponseContainer = arguments;\n\t\t};\n\n\t\t// Clean-up function (fires after converters)\n\t\tjqXHR.always(function() {\n\t\t\t// Restore preexisting value\n\t\t\twindow[ callbackName ] = overwritten;\n\n\t\t\t// Save back as free\n\t\t\tif ( s[ callbackName ] ) {\n\t\t\t\t// make sure that re-using the options doesn't screw things around\n\t\t\t\ts.jsonpCallback = originalSettings.jsonpCallback;\n\n\t\t\t\t// save the callback name for future use\n\t\t\t\toldCallbacks.push( callbackName );\n\t\t\t}\n\n\t\t\t// Call if it was a function and we have a response\n\t\t\tif ( responseContainer && jQuery.isFunction( overwritten ) ) {\n\t\t\t\toverwritten( responseContainer[ 0 ] );\n\t\t\t}\n\n\t\t\tresponseContainer = overwritten = undefined;\n\t\t});\n\n\t\t// Delegate to script\n\t\treturn \"script\";\n\t}\n});\n\n\n\n\n// data: string of html\n// context (optional): If specified, the fragment will be created in this context, defaults to document\n// keepScripts (optional): If true, will include scripts passed in the html string\njQuery.parseHTML = function( data, context, keepScripts ) {\n\tif ( !data || typeof data !== \"string\" ) {\n\t\treturn null;\n\t}\n\tif ( typeof context === \"boolean\" ) {\n\t\tkeepScripts = context;\n\t\tcontext = false;\n\t}\n\tcontext = context || document;\n\n\tvar parsed = rsingleTag.exec( data ),\n\t\tscripts = !keepScripts && [];\n\n\t// Single tag\n\tif ( parsed ) {\n\t\treturn [ context.createElement( parsed[1] ) ];\n\t}\n\n\tparsed = jQuery.buildFragment( [ data ], context, scripts );\n\n\tif ( scripts && scripts.length ) {\n\t\tjQuery( scripts ).remove();\n\t}\n\n\treturn jQuery.merge( [], parsed.childNodes );\n};\n\n\n// Keep a copy of the old load method\nvar _load = jQuery.fn.load;\n\n/**\n * Load a url into a page\n */\njQuery.fn.load = function( url, params, callback ) {\n\tif ( typeof url !== \"string\" && _load ) {\n\t\treturn _load.apply( this, arguments );\n\t}\n\n\tvar selector, type, response,\n\t\tself = this,\n\t\toff = url.indexOf(\" \");\n\n\tif ( off >= 0 ) {\n\t\tselector = jQuery.trim( url.slice( off ) );\n\t\turl = url.slice( 0, off );\n\t}\n\n\t// If it's a function\n\tif ( jQuery.isFunction( params ) ) {\n\n\t\t// We assume that it's the callback\n\t\tcallback = params;\n\t\tparams = undefined;\n\n\t// Otherwise, build a param string\n\t} else if ( params && typeof params === \"object\" ) {\n\t\ttype = \"POST\";\n\t}\n\n\t// If we have elements to modify, make the request\n\tif ( self.length > 0 ) {\n\t\tjQuery.ajax({\n\t\t\turl: url,\n\n\t\t\t// if \"type\" variable is undefined, then \"GET\" method will be used\n\t\t\ttype: type,\n\t\t\tdataType: \"html\",\n\t\t\tdata: params\n\t\t}).done(function( responseText ) {\n\n\t\t\t// Save response for use in complete callback\n\t\t\tresponse = arguments;\n\n\t\t\tself.html( selector ?\n\n\t\t\t\t// If a selector was specified, locate the right elements in a dummy div\n\t\t\t\t// Exclude scripts to avoid IE 'Permission Denied' errors\n\t\t\t\tjQuery(\"<div>\").append( jQuery.parseHTML( responseText ) ).find( selector ) :\n\n\t\t\t\t// Otherwise use the full result\n\t\t\t\tresponseText );\n\n\t\t}).complete( callback && function( jqXHR, status ) {\n\t\t\tself.each( callback, response || [ jqXHR.responseText, status, jqXHR ] );\n\t\t});\n\t}\n\n\treturn this;\n};\n\n\n\n\n// Attach a bunch of functions for handling common AJAX events\njQuery.each( [ \"ajaxStart\", \"ajaxStop\", \"ajaxComplete\", \"ajaxError\", \"ajaxSuccess\", \"ajaxSend\" ], function( i, type ) {\n\tjQuery.fn[ type ] = function( fn ) {\n\t\treturn this.on( type, fn );\n\t};\n});\n\n\n\n\njQuery.expr.filters.animated = function( elem ) {\n\treturn jQuery.grep(jQuery.timers, function( fn ) {\n\t\treturn elem === fn.elem;\n\t}).length;\n};\n\n\n\n\nvar docElem = window.document.documentElement;\n\n/**\n * Gets a window from an element\n */\nfunction getWindow( elem ) {\n\treturn jQuery.isWindow( elem ) ? elem : elem.nodeType === 9 && elem.defaultView;\n}\n\njQuery.offset = {\n\tsetOffset: function( elem, options, i ) {\n\t\tvar curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition,\n\t\t\tposition = jQuery.css( elem, \"position\" ),\n\t\t\tcurElem = jQuery( elem ),\n\t\t\tprops = {};\n\n\t\t// Set position first, in-case top/left are set even on static elem\n\t\tif ( position === \"static\" ) {\n\t\t\telem.style.position = \"relative\";\n\t\t}\n\n\t\tcurOffset = curElem.offset();\n\t\tcurCSSTop = jQuery.css( elem, \"top\" );\n\t\tcurCSSLeft = jQuery.css( elem, \"left\" );\n\t\tcalculatePosition = ( position === \"absolute\" || position === \"fixed\" ) &&\n\t\t\t( curCSSTop + curCSSLeft ).indexOf(\"auto\") > -1;\n\n\t\t// Need to be able to calculate position if either\n\t\t// top or left is auto and position is either absolute or fixed\n\t\tif ( calculatePosition ) {\n\t\t\tcurPosition = curElem.position();\n\t\t\tcurTop = curPosition.top;\n\t\t\tcurLeft = curPosition.left;\n\n\t\t} else {\n\t\t\tcurTop = parseFloat( curCSSTop ) || 0;\n\t\t\tcurLeft = parseFloat( curCSSLeft ) || 0;\n\t\t}\n\n\t\tif ( jQuery.isFunction( options ) ) {\n\t\t\toptions = options.call( elem, i, curOffset );\n\t\t}\n\n\t\tif ( options.top != null ) {\n\t\t\tprops.top = ( options.top - curOffset.top ) + curTop;\n\t\t}\n\t\tif ( options.left != null ) {\n\t\t\tprops.left = ( options.left - curOffset.left ) + curLeft;\n\t\t}\n\n\t\tif ( \"using\" in options ) {\n\t\t\toptions.using.call( elem, props );\n\n\t\t} else {\n\t\t\tcurElem.css( props );\n\t\t}\n\t}\n};\n\njQuery.fn.extend({\n\toffset: function( options ) {\n\t\tif ( arguments.length ) {\n\t\t\treturn options === undefined ?\n\t\t\t\tthis :\n\t\t\t\tthis.each(function( i ) {\n\t\t\t\t\tjQuery.offset.setOffset( this, options, i );\n\t\t\t\t});\n\t\t}\n\n\t\tvar docElem, win,\n\t\t\telem = this[ 0 ],\n\t\t\tbox = { top: 0, left: 0 },\n\t\t\tdoc = elem && elem.ownerDocument;\n\n\t\tif ( !doc ) {\n\t\t\treturn;\n\t\t}\n\n\t\tdocElem = doc.documentElement;\n\n\t\t// Make sure it's not a disconnected DOM node\n\t\tif ( !jQuery.contains( docElem, elem ) ) {\n\t\t\treturn box;\n\t\t}\n\n\t\t// Support: BlackBerry 5, iOS 3 (original iPhone)\n\t\t// If we don't have gBCR, just use 0,0 rather than error\n\t\tif ( typeof elem.getBoundingClientRect !== strundefined ) {\n\t\t\tbox = elem.getBoundingClientRect();\n\t\t}\n\t\twin = getWindow( doc );\n\t\treturn {\n\t\t\ttop: box.top + win.pageYOffset - docElem.clientTop,\n\t\t\tleft: box.left + win.pageXOffset - docElem.clientLeft\n\t\t};\n\t},\n\n\tposition: function() {\n\t\tif ( !this[ 0 ] ) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar offsetParent, offset,\n\t\t\telem = this[ 0 ],\n\t\t\tparentOffset = { top: 0, left: 0 };\n\n\t\t// Fixed elements are offset from window (parentOffset = {top:0, left: 0}, because it is its only offset parent\n\t\tif ( jQuery.css( elem, \"position\" ) === \"fixed\" ) {\n\t\t\t// Assume getBoundingClientRect is there when computed position is fixed\n\t\t\toffset = elem.getBoundingClientRect();\n\n\t\t} else {\n\t\t\t// Get *real* offsetParent\n\t\t\toffsetParent = this.offsetParent();\n\n\t\t\t// Get correct offsets\n\t\t\toffset = this.offset();\n\t\t\tif ( !jQuery.nodeName( offsetParent[ 0 ], \"html\" ) ) {\n\t\t\t\tparentOffset = offsetParent.offset();\n\t\t\t}\n\n\t\t\t// Add offsetParent borders\n\t\t\tparentOffset.top += jQuery.css( offsetParent[ 0 ], \"borderTopWidth\", true );\n\t\t\tparentOffset.left += jQuery.css( offsetParent[ 0 ], \"borderLeftWidth\", true );\n\t\t}\n\n\t\t// Subtract parent offsets and element margins\n\t\treturn {\n\t\t\ttop: offset.top - parentOffset.top - jQuery.css( elem, \"marginTop\", true ),\n\t\t\tleft: offset.left - parentOffset.left - jQuery.css( elem, \"marginLeft\", true )\n\t\t};\n\t},\n\n\toffsetParent: function() {\n\t\treturn this.map(function() {\n\t\t\tvar offsetParent = this.offsetParent || docElem;\n\n\t\t\twhile ( offsetParent && ( !jQuery.nodeName( offsetParent, \"html\" ) && jQuery.css( offsetParent, \"position\" ) === \"static\" ) ) {\n\t\t\t\toffsetParent = offsetParent.offsetParent;\n\t\t\t}\n\n\t\t\treturn offsetParent || docElem;\n\t\t});\n\t}\n});\n\n// Create scrollLeft and scrollTop methods\njQuery.each( { scrollLeft: \"pageXOffset\", scrollTop: \"pageYOffset\" }, function( method, prop ) {\n\tvar top = \"pageYOffset\" === prop;\n\n\tjQuery.fn[ method ] = function( val ) {\n\t\treturn access( this, function( elem, method, val ) {\n\t\t\tvar win = getWindow( elem );\n\n\t\t\tif ( val === undefined ) {\n\t\t\t\treturn win ? win[ prop ] : elem[ method ];\n\t\t\t}\n\n\t\t\tif ( win ) {\n\t\t\t\twin.scrollTo(\n\t\t\t\t\t!top ? val : window.pageXOffset,\n\t\t\t\t\ttop ? val : window.pageYOffset\n\t\t\t\t);\n\n\t\t\t} else {\n\t\t\t\telem[ method ] = val;\n\t\t\t}\n\t\t}, method, val, arguments.length, null );\n\t};\n});\n\n// Support: Safari<7+, Chrome<37+\n// Add the top/left cssHooks using jQuery.fn.position\n// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084\n// Blink bug: https://code.google.com/p/chromium/issues/detail?id=229280\n// getComputedStyle returns percent when specified for top/left/bottom/right;\n// rather than make the css module depend on the offset module, just check for it here\njQuery.each( [ \"top\", \"left\" ], function( i, prop ) {\n\tjQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition,\n\t\tfunction( elem, computed ) {\n\t\t\tif ( computed ) {\n\t\t\t\tcomputed = curCSS( elem, prop );\n\t\t\t\t// If curCSS returns percentage, fallback to offset\n\t\t\t\treturn rnumnonpx.test( computed ) ?\n\t\t\t\t\tjQuery( elem ).position()[ prop ] + \"px\" :\n\t\t\t\t\tcomputed;\n\t\t\t}\n\t\t}\n\t);\n});\n\n\n// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods\njQuery.each( { Height: \"height\", Width: \"width\" }, function( name, type ) {\n\tjQuery.each( { padding: \"inner\" + name, content: type, \"\": \"outer\" + name }, function( defaultExtra, funcName ) {\n\t\t// Margin is only for outerHeight, outerWidth\n\t\tjQuery.fn[ funcName ] = function( margin, value ) {\n\t\t\tvar chainable = arguments.length && ( defaultExtra || typeof margin !== \"boolean\" ),\n\t\t\t\textra = defaultExtra || ( margin === true || value === true ? \"margin\" : \"border\" );\n\n\t\t\treturn access( this, function( elem, type, value ) {\n\t\t\t\tvar doc;\n\n\t\t\t\tif ( jQuery.isWindow( elem ) ) {\n\t\t\t\t\t// As of 5/8/2012 this will yield incorrect results for Mobile Safari, but there\n\t\t\t\t\t// isn't a whole lot we can do. See pull request at this URL for discussion:\n\t\t\t\t\t// https://github.com/jquery/jquery/pull/764\n\t\t\t\t\treturn elem.document.documentElement[ \"client\" + name ];\n\t\t\t\t}\n\n\t\t\t\t// Get document width or height\n\t\t\t\tif ( elem.nodeType === 9 ) {\n\t\t\t\t\tdoc = elem.documentElement;\n\n\t\t\t\t\t// Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height],\n\t\t\t\t\t// whichever is greatest\n\t\t\t\t\treturn Math.max(\n\t\t\t\t\t\telem.body[ \"scroll\" + name ], doc[ \"scroll\" + name ],\n\t\t\t\t\t\telem.body[ \"offset\" + name ], doc[ \"offset\" + name ],\n\t\t\t\t\t\tdoc[ \"client\" + name ]\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\treturn value === undefined ?\n\t\t\t\t\t// Get width or height on the element, requesting but not forcing parseFloat\n\t\t\t\t\tjQuery.css( elem, type, extra ) :\n\n\t\t\t\t\t// Set width or height on the element\n\t\t\t\t\tjQuery.style( elem, type, value, extra );\n\t\t\t}, type, chainable ? margin : undefined, chainable, null );\n\t\t};\n\t});\n});\n\n\n// The number of elements contained in the matched element set\njQuery.fn.size = function() {\n\treturn this.length;\n};\n\njQuery.fn.andSelf = jQuery.fn.addBack;\n\n\n\n\n// Register as a named AMD module, since jQuery can be concatenated with other\n// files that may use define, but not via a proper concatenation script that\n// understands anonymous AMD modules. A named AMD is safest and most robust\n// way to register. Lowercase jquery is used because AMD module names are\n// derived from file names, and jQuery is normally delivered in a lowercase\n// file name. Do this after creating the global so that if an AMD module wants\n// to call noConflict to hide this version of jQuery, it will work.\n\n// Note that for maximum portability, libraries that are not jQuery should\n// declare themselves as anonymous modules, and avoid setting a global if an\n// AMD loader is present. jQuery is a special case. For more information, see\n// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon\n\nif ( typeof define === \"function\" && define.amd ) {\n\tdefine( \"jquery\", [], function() {\n\t\treturn jQuery;\n\t});\n}\n\n\n\n\nvar\n\t// Map over jQuery in case of overwrite\n\t_jQuery = window.jQuery,\n\n\t// Map over the $ in case of overwrite\n\t_$ = window.$;\n\njQuery.noConflict = function( deep ) {\n\tif ( window.$ === jQuery ) {\n\t\twindow.$ = _$;\n\t}\n\n\tif ( deep && window.jQuery === jQuery ) {\n\t\twindow.jQuery = _jQuery;\n\t}\n\n\treturn jQuery;\n};\n\n// Expose jQuery and $ identifiers, even in AMD\n// (#7102#comment:10, https://github.com/jquery/jquery/pull/557)\n// and CommonJS for browser emulators (#13566)\nif ( typeof noGlobal === strundefined ) {\n\twindow.jQuery = window.$ = jQuery;\n}\n\n\n\n\nreturn jQuery;\n\n}));\n"
  },
  {
    "path": "Samples/Simple/Reinforced.Typings.Samples.Simple.Quickstart/Scripts/typings/jquery/jquery.d.ts",
    "content": "// Type definitions for jQuery 1.10.x / 2.0.x\n// Project: http://jquery.com/\n// Definitions by: Boris Yankov <https://github.com/borisyankov/>, Christian Hoffmeister <https://github.com/choffmeister>, Steve Fenton <https://github.com/Steve-Fenton>, Diullei Gomes <https://github.com/Diullei>, Tass Iliopoulos <https://github.com/tasoili>, Jason Swearingen <https://github.com/jasons-novaleaf>, Sean Hill <https://github.com/seanski>, Guus Goossens <https://github.com/Guuz>, Kelly Summerlin <https://github.com/ksummerlin>, Basarat Ali Syed <https://github.com/basarat>, Nicholas Wolverson <https://github.com/nwolverson>, Derek Cicerone <https://github.com/derekcicerone>, Andrew Gaspar <https://github.com/AndrewGaspar>, James Harrison Fisher <https://github.com/jameshfisher>, Seikichi Kondo <https://github.com/seikichi>, Benjamin Jackman <https://github.com/benjaminjackman>, Poul Sorensen <https://github.com/s093294>, Josh Strobl <https://github.com/JoshStrobl>, John Reilly <https://github.com/johnnyreilly/>, Dick van den Brink <https://github.com/DickvdBrink>\n// Definitions: https://github.com/borisyankov/DefinitelyTyped\n\n/* *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n/**\n * Interface for the AJAX setting that will configure the AJAX request\n */\ninterface JQueryAjaxSettings {\n    /**\n     * The content type sent in the request header that tells the server what kind of response it will accept in return. If the accepts setting needs modification, it is recommended to do so once in the $.ajaxSetup() method.\n     */\n    accepts?: any;\n    /**\n     * By default, all requests are sent asynchronously (i.e. this is set to true by default). If you need synchronous requests, set this option to false. Cross-domain requests and dataType: \"jsonp\" requests do not support synchronous operation. Note that synchronous requests may temporarily lock the browser, disabling any actions while the request is active. As of jQuery 1.8, the use of async: false with jqXHR ($.Deferred) is deprecated; you must use the success/error/complete callback options instead of the corresponding methods of the jqXHR object such as jqXHR.done() or the deprecated jqXHR.success().\n     */\n    async?: boolean;\n    /**\n     * A pre-request callback function that can be used to modify the jqXHR (in jQuery 1.4.x, XMLHTTPRequest) object before it is sent. Use this to set custom headers, etc. The jqXHR and settings objects are passed as arguments. This is an Ajax Event. Returning false in the beforeSend function will cancel the request. As of jQuery 1.5, the beforeSend option will be called regardless of the type of request.\n     */\n    beforeSend? (jqXHR: JQueryXHR, settings: JQueryAjaxSettings): any;\n    /**\n     * If set to false, it will force requested pages not to be cached by the browser. Note: Setting cache to false will only work correctly with HEAD and GET requests. It works by appending \"_={timestamp}\" to the GET parameters. The parameter is not needed for other types of requests, except in IE8 when a POST is made to a URL that has already been requested by a GET.\n     */\n    cache?: boolean;\n    /**\n     * A function to be called when the request finishes (after success and error callbacks are executed). The function gets passed two arguments: The jqXHR (in jQuery 1.4.x, XMLHTTPRequest) object and a string categorizing the status of the request (\"success\", \"notmodified\", \"error\", \"timeout\", \"abort\", or \"parsererror\"). As of jQuery 1.5, the complete setting can accept an array of functions. Each function will be called in turn. This is an Ajax Event.\n     */\n    complete? (jqXHR: JQueryXHR, textStatus: string): any;\n    /**\n     * An object of string/regular-expression pairs that determine how jQuery will parse the response, given its content type. (version added: 1.5)\n     */\n    contents?: { [key: string]: any; };\n    //According to jQuery.ajax source code, ajax's option actually allows contentType to set to \"false\"\n    // https://github.com/borisyankov/DefinitelyTyped/issues/742\n    /**\n     * When sending data to the server, use this content type. Default is \"application/x-www-form-urlencoded; charset=UTF-8\", which is fine for most cases. If you explicitly pass in a content-type to $.ajax(), then it is always sent to the server (even if no data is sent). The W3C XMLHttpRequest specification dictates that the charset is always UTF-8; specifying another charset will not force the browser to change the encoding.\n     */\n    contentType?: any;\n    /**\n     * This object will be made the context of all Ajax-related callbacks. By default, the context is an object that represents the ajax settings used in the call ($.ajaxSettings merged with the settings passed to $.ajax).\n     */\n    context?: any;\n    /**\n     * An object containing dataType-to-dataType converters. Each converter's value is a function that returns the transformed value of the response. (version added: 1.5)\n     */\n    converters?: { [key: string]: any; };\n    /**\n     * If you wish to force a crossDomain request (such as JSONP) on the same domain, set the value of crossDomain to true. This allows, for example, server-side redirection to another domain. (version added: 1.5)\n     */\n    crossDomain?: boolean;\n    /**\n     * Data to be sent to the server. It is converted to a query string, if not already a string. It's appended to the url for GET-requests. See processData option to prevent this automatic processing. Object must be Key/Value pairs. If value is an Array, jQuery serializes multiple values with same key based on the value of the traditional setting (described below).\n     */\n    data?: any;\n    /**\n     * A function to be used to handle the raw response data of XMLHttpRequest.This is a pre-filtering function to sanitize the response. You should return the sanitized data. The function accepts two arguments: The raw data returned from the server and the 'dataType' parameter.\n     */\n    dataFilter? (data: any, ty: any): any;\n    /**\n     * The type of data that you're expecting back from the server. If none is specified, jQuery will try to infer it based on the MIME type of the response (an XML MIME type will yield XML, in 1.4 JSON will yield a JavaScript object, in 1.4 script will execute the script, and anything else will be returned as a string). \n     */\n    dataType?: string;\n    /**\n     * A function to be called if the request fails. The function receives three arguments: The jqXHR (in jQuery 1.4.x, XMLHttpRequest) object, a string describing the type of error that occurred and an optional exception object, if one occurred. Possible values for the second argument (besides null) are \"timeout\", \"error\", \"abort\", and \"parsererror\". When an HTTP error occurs, errorThrown receives the textual portion of the HTTP status, such as \"Not Found\" or \"Internal Server Error.\" As of jQuery 1.5, the error setting can accept an array of functions. Each function will be called in turn. Note: This handler is not called for cross-domain script and cross-domain JSONP requests. This is an Ajax Event.\n     */\n    error? (jqXHR: JQueryXHR, textStatus: string, errorThrown: string): any;\n    /**\n     * Whether to trigger global Ajax event handlers for this request. The default is true. Set to false to prevent the global handlers like ajaxStart or ajaxStop from being triggered. This can be used to control various Ajax Events.\n     */\n    global?: boolean;\n    /**\n     * An object of additional header key/value pairs to send along with requests using the XMLHttpRequest transport. The header X-Requested-With: XMLHttpRequest is always added, but its default XMLHttpRequest value can be changed here. Values in the headers setting can also be overwritten from within the beforeSend function. (version added: 1.5)\n     */\n    headers?: { [key: string]: any; };\n    /**\n     * Allow the request to be successful only if the response has changed since the last request. This is done by checking the Last-Modified header. Default value is false, ignoring the header. In jQuery 1.4 this technique also checks the 'etag' specified by the server to catch unmodified data.\n     */\n    ifModified?: boolean;\n    /**\n     * Allow the current environment to be recognized as \"local,\" (e.g. the filesystem), even if jQuery does not recognize it as such by default. The following protocols are currently recognized as local: file, *-extension, and widget. If the isLocal setting needs modification, it is recommended to do so once in the $.ajaxSetup() method. (version added: 1.5.1)\n     */\n    isLocal?: boolean;\n    /**\n     * Override the callback function name in a jsonp request. This value will be used instead of 'callback' in the 'callback=?' part of the query string in the url. So {jsonp:'onJSONPLoad'} would result in 'onJSONPLoad=?' passed to the server. As of jQuery 1.5, setting the jsonp option to false prevents jQuery from adding the \"?callback\" string to the URL or attempting to use \"=?\" for transformation. In this case, you should also explicitly set the jsonpCallback setting. For example, { jsonp: false, jsonpCallback: \"callbackName\" }\n     */\n    jsonp?: any;\n    /**\n     * Specify the callback function name for a JSONP request. This value will be used instead of the random name automatically generated by jQuery. It is preferable to let jQuery generate a unique name as it'll make it easier to manage the requests and provide callbacks and error handling. You may want to specify the callback when you want to enable better browser caching of GET requests. As of jQuery 1.5, you can also use a function for this setting, in which case the value of jsonpCallback is set to the return value of that function.\n     */\n    jsonpCallback?: any;\n    /**\n     * The HTTP method to use for the request (e.g. \"POST\", \"GET\", \"PUT\"). (version added: 1.9.0)\n     */\n    method?: string;\n    /**\n     * A mime type to override the XHR mime type. (version added: 1.5.1)\n     */\n    mimeType?: string;\n    /**\n     * A password to be used with XMLHttpRequest in response to an HTTP access authentication request.\n     */\n    password?: string;\n    /**\n     * By default, data passed in to the data option as an object (technically, anything other than a string) will be processed and transformed into a query string, fitting to the default content-type \"application/x-www-form-urlencoded\". If you want to send a DOMDocument, or other non-processed data, set this option to false.\n     */\n    processData?: boolean;\n    /**\n     * Only applies when the \"script\" transport is used (e.g., cross-domain requests with \"jsonp\" or \"script\" dataType and \"GET\" type). Sets the charset attribute on the script tag used in the request. Used when the character set on the local page is not the same as the one on the remote script.\n     */\n    scriptCharset?: string;\n    /**\n     * An object of numeric HTTP codes and functions to be called when the response has the corresponding code. f the request is successful, the status code functions take the same parameters as the success callback; if it results in an error (including 3xx redirect), they take the same parameters as the error callback. (version added: 1.5)\n     */\n    statusCode?: { [key: string]: any; };\n    /**\n     * A function to be called if the request succeeds. The function gets passed three arguments: The data returned from the server, formatted according to the dataType parameter; a string describing the status; and the jqXHR (in jQuery 1.4.x, XMLHttpRequest) object. As of jQuery 1.5, the success setting can accept an array of functions. Each function will be called in turn. This is an Ajax Event.\n     */\n    success? (data: any, textStatus: string, jqXHR: JQueryXHR): any;\n    /**\n     * Set a timeout (in milliseconds) for the request. This will override any global timeout set with $.ajaxSetup(). The timeout period starts at the point the $.ajax call is made; if several other requests are in progress and the browser has no connections available, it is possible for a request to time out before it can be sent. In jQuery 1.4.x and below, the XMLHttpRequest object will be in an invalid state if the request times out; accessing any object members may throw an exception. In Firefox 3.0+ only, script and JSONP requests cannot be cancelled by a timeout; the script will run even if it arrives after the timeout period.\n     */\n    timeout?: number;\n    /**\n     * Set this to true if you wish to use the traditional style of param serialization.\n     */\n    traditional?: boolean;\n    /**\n     * The type of request to make (\"POST\" or \"GET\"), default is \"GET\". Note: Other HTTP request methods, such as PUT and DELETE, can also be used here, but they are not supported by all browsers.\n     */\n    type?: string;\n    /**\n     * A string containing the URL to which the request is sent.\n     */\n    url?: string;\n    /**\n     * A username to be used with XMLHttpRequest in response to an HTTP access authentication request.\n     */\n    username?: string;\n    /**\n     * Callback for creating the XMLHttpRequest object. Defaults to the ActiveXObject when available (IE), the XMLHttpRequest otherwise. Override to provide your own implementation for XMLHttpRequest or enhancements to the factory.\n     */\n    xhr?: any;\n    /**\n     * An object of fieldName-fieldValue pairs to set on the native XHR object. For example, you can use it to set withCredentials to true for cross-domain requests if needed. In jQuery 1.5, the withCredentials property was not propagated to the native XHR and thus CORS requests requiring it would ignore this flag. For this reason, we recommend using jQuery 1.5.1+ should you require the use of it. (version added: 1.5.1)\n     */\n    xhrFields?: { [key: string]: any; };\n}\n\n/**\n * Interface for the jqXHR object\n */\ninterface JQueryXHR extends XMLHttpRequest, JQueryPromise<any> {\n    /**\n     * The .overrideMimeType() method may be used in the beforeSend() callback function, for example, to modify the response content-type header. As of jQuery 1.5.1, the jqXHR object also contains the overrideMimeType() method (it was available in jQuery 1.4.x, as well, but was temporarily removed in jQuery 1.5). \n     */\n    overrideMimeType(mimeType: string): any;\n    /**\n     * Cancel the request. \n     *\n     * @param statusText A string passed as the textStatus parameter for the done callback. Default value: \"canceled\"\n     */\n    abort(statusText?: string): void;\n    /**\n     * Incorporates the functionality of the .done() and .fail() methods, allowing (as of jQuery 1.8) the underlying Promise to be manipulated. Refer to deferred.then() for implementation details.\n     */\n    then(doneCallback: (data: any, textStatus: string, jqXHR: JQueryXHR) => void, failCallback?: (jqXHR: JQueryXHR, textStatus: string, errorThrown: any) => void): JQueryPromise<any>;\n    /**\n     * Property containing the parsed response if the response Content-Type is json\n     */\n    responseJSON?: any;\n    /**\n     * A function to be called if the request fails.\n     */\n    error(xhr: JQueryXHR, textStatus: string, errorThrown: string): void;\n}\n\n/**\n * Interface for the JQuery callback\n */\ninterface JQueryCallback {\n    /**\n     * Add a callback or a collection of callbacks to a callback list.\n     * \n     * @param callbacks A function, or array of functions, that are to be added to the callback list.\n     */\n    add(callbacks: Function): JQueryCallback;\n    /**\n     * Add a callback or a collection of callbacks to a callback list.\n     * \n     * @param callbacks A function, or array of functions, that are to be added to the callback list.\n     */\n    add(callbacks: Function[]): JQueryCallback;\n\n    /**\n     * Disable a callback list from doing anything more.\n     */\n    disable(): JQueryCallback;\n\n    /**\n     * Determine if the callbacks list has been disabled.\n     */\n    disabled(): boolean;\n\n    /**\n     * Remove all of the callbacks from a list.\n     */\n    empty(): JQueryCallback;\n\n    /**\n     * Call all of the callbacks with the given arguments\n     * \n     * @param arguments The argument or list of arguments to pass back to the callback list.\n     */\n    fire(...arguments: any[]): JQueryCallback;\n\n    /**\n     * Determine if the callbacks have already been called at least once.\n     */\n    fired(): boolean;\n\n    /**\n     * Call all callbacks in a list with the given context and arguments.\n     * \n     * @param context A reference to the context in which the callbacks in the list should be fired.\n     * @param arguments An argument, or array of arguments, to pass to the callbacks in the list.\n     */\n    fireWith(context?: any, ...args: any[]): JQueryCallback;\n\n    /**\n     * Determine whether a supplied callback is in a list\n     * \n     * @param callback The callback to search for.\n     */\n    has(callback: Function): boolean;\n\n    /**\n     * Lock a callback list in its current state.\n     */\n    lock(): JQueryCallback;\n\n    /**\n     * Determine if the callbacks list has been locked.\n     */\n    locked(): boolean;\n\n    /**\n     * Remove a callback or a collection of callbacks from a callback list.\n     * \n     * @param callbacks A function, or array of functions, that are to be removed from the callback list.\n     */\n    remove(callbacks: Function): JQueryCallback;\n    /**\n     * Remove a callback or a collection of callbacks from a callback list.\n     * \n     * @param callbacks A function, or array of functions, that are to be removed from the callback list.\n     */\n    remove(callbacks: Function[]): JQueryCallback;\n}\n\n/**\n * Allows jQuery Promises to interop with non-jQuery promises\n */\ninterface JQueryGenericPromise<T> {\n    /**\n     * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress.\n     * \n     * @param doneFilter A function that is called when the Deferred is resolved.\n     * @param failFilter An optional function that is called when the Deferred is rejected.\n     */\n    then<U>(doneFilter: (value?: T, ...values: any[]) => U|JQueryPromise<U>, failFilter?: (...reasons: any[]) => any, progressFilter?: (...progression: any[]) => any): JQueryPromise<U>;\n\n    /**\n     * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress.\n     * \n     * @param doneFilter A function that is called when the Deferred is resolved.\n     * @param failFilter An optional function that is called when the Deferred is rejected.\n     */\n    then(doneFilter: (value?: T, ...values: any[]) => void, failFilter?: (...reasons: any[]) => any, progressFilter?: (...progression: any[]) => any): JQueryPromise<void>;\n}\n\n/**\n * Interface for the JQuery promise/deferred callbacks\n */\ninterface JQueryPromiseCallback<T> {\n    (value?: T, ...args: any[]): void;\n}\n\ninterface JQueryPromiseOperator<T, U> {\n    (callback1: JQueryPromiseCallback<T>|JQueryPromiseCallback<T>[], ...callbacksN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryPromise<U>;\n}\n\n/**\n * Interface for the JQuery promise, part of callbacks\n */\ninterface JQueryPromise<T> extends JQueryGenericPromise<T> {\n    /**\n     * Determine the current state of a Deferred object.\n     */\n    state(): string;\n    /**\n     * Add handlers to be called when the Deferred object is either resolved or rejected.\n     * \n     * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected.\n     * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected.\n     */\n    always(alwaysCallback1?: JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[], ...alwaysCallbacksN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryPromise<T>;\n    /**\n     * Add handlers to be called when the Deferred object is resolved.\n     * \n     * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved.\n     * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved.\n     */\n    done(doneCallback1?: JQueryPromiseCallback<T>|JQueryPromiseCallback<T>[], ...doneCallbackN: Array<JQueryPromiseCallback<T>|JQueryPromiseCallback<T>[]>): JQueryPromise<T>;\n    /**\n     * Add handlers to be called when the Deferred object is rejected.\n     * \n     * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected.\n     * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected.\n     */\n    fail(failCallback1?: JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[], ...failCallbacksN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryPromise<T>;\n    /**\n     * Add handlers to be called when the Deferred object generates progress notifications.\n     * \n     * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications.\n     */\n    progress(progressCallback1?: JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[], ...progressCallbackN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryPromise<T>;\n\n    // Deprecated - given no typings\n    pipe(doneFilter?: (x: any) => any, failFilter?: (x: any) => any, progressFilter?: (x: any) => any): JQueryPromise<any>;\n}\n\n/**\n * Interface for the JQuery deferred, part of callbacks\n */\ninterface JQueryDeferred<T> extends JQueryGenericPromise<T> {\n    /**\n     * Determine the current state of a Deferred object.\n     */\n    state(): string;\n    /**\n     * Add handlers to be called when the Deferred object is either resolved or rejected.\n     * \n     * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected.\n     * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected.\n     */\n    always(alwaysCallback1?: JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[], ...alwaysCallbacksN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryDeferred<T>;\n    /**\n     * Add handlers to be called when the Deferred object is resolved.\n     * \n     * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved.\n     * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved.\n     */\n    done(doneCallback1?: JQueryPromiseCallback<T>|JQueryPromiseCallback<T>[], ...doneCallbackN: Array<JQueryPromiseCallback<T>|JQueryPromiseCallback<T>[]>): JQueryDeferred<T>;\n    /**\n     * Add handlers to be called when the Deferred object is rejected.\n     * \n     * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected.\n     * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected.\n     */\n    fail(failCallback1?: JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[], ...failCallbacksN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryDeferred<T>;\n    /**\n     * Add handlers to be called when the Deferred object generates progress notifications.\n     * \n     * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications.\n     */\n    progress(progressCallback1?: JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[], ...progressCallbackN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryDeferred<T>;\n\n    /**\n     * Call the progressCallbacks on a Deferred object with the given args.\n     * \n     * @param args Optional arguments that are passed to the progressCallbacks.\n     */\n    notify(value?: any, ...args: any[]): JQueryDeferred<T>;\n\n    /**\n     * Call the progressCallbacks on a Deferred object with the given context and args.\n     * \n     * @param context Context passed to the progressCallbacks as the this object.\n     * @param args Optional arguments that are passed to the progressCallbacks.\n     */\n    notifyWith(context: any, value?: any, ...args: any[]): JQueryDeferred<T>;\n\n    /**\n     * Reject a Deferred object and call any failCallbacks with the given args.\n     * \n     * @param args Optional arguments that are passed to the failCallbacks.\n     */\n    reject(value?: any, ...args: any[]): JQueryDeferred<T>;\n    /**\n     * Reject a Deferred object and call any failCallbacks with the given context and args.\n     * \n     * @param context Context passed to the failCallbacks as the this object.\n     * @param args An optional array of arguments that are passed to the failCallbacks.\n     */\n    rejectWith(context: any, value?: any, ...args: any[]): JQueryDeferred<T>;\n\n    /**\n     * Resolve a Deferred object and call any doneCallbacks with the given args.\n     * \n     * @param value First argument passed to doneCallbacks.\n     * @param args Optional subsequent arguments that are passed to the doneCallbacks.\n     */\n    resolve(value?: T, ...args: any[]): JQueryDeferred<T>;\n\n    /**\n     * Resolve a Deferred object and call any doneCallbacks with the given context and args.\n     * \n     * @param context Context passed to the doneCallbacks as the this object.\n     * @param args An optional array of arguments that are passed to the doneCallbacks.\n     */\n    resolveWith(context: any, value?: T, ...args: any[]): JQueryDeferred<T>;\n\n    /**\n     * Return a Deferred's Promise object.\n     * \n     * @param target Object onto which the promise methods have to be attached\n     */\n    promise(target?: any): JQueryPromise<T>;\n\n    // Deprecated - given no typings\n    pipe(doneFilter?: (x: any) => any, failFilter?: (x: any) => any, progressFilter?: (x: any) => any): JQueryPromise<any>;\n}\n\n/**\n * Interface of the JQuery extension of the W3C event object\n */\ninterface BaseJQueryEventObject extends Event {\n    data: any;\n    delegateTarget: Element;\n    isDefaultPrevented(): boolean;\n    isImmediatePropagationStopped(): boolean;\n    isPropagationStopped(): boolean;\n    namespace: string;\n    originalEvent: Event;\n    preventDefault(): any;\n    relatedTarget: Element;\n    result: any;\n    stopImmediatePropagation(): void;\n    stopPropagation(): void;\n    target: Element;\n    pageX: number;\n    pageY: number;\n    which: number;\n    metaKey: boolean;\n}\n\ninterface JQueryInputEventObject extends BaseJQueryEventObject {\n    altKey: boolean;\n    ctrlKey: boolean;\n    metaKey: boolean;\n    shiftKey: boolean;\n}\n\ninterface JQueryMouseEventObject extends JQueryInputEventObject {\n    button: number;\n    clientX: number;\n    clientY: number;\n    offsetX: number;\n    offsetY: number;\n    pageX: number;\n    pageY: number;\n    screenX: number;\n    screenY: number;\n}\n\ninterface JQueryKeyEventObject extends JQueryInputEventObject {\n    char: any;\n    charCode: number;\n    key: any;\n    keyCode: number;\n}\n\ninterface JQueryEventObject extends BaseJQueryEventObject, JQueryInputEventObject, JQueryMouseEventObject, JQueryKeyEventObject{\n}\n\n/*\n    Collection of properties of the current browser\n*/\n\ninterface JQuerySupport {\n    ajax?: boolean;\n    boxModel?: boolean;\n    changeBubbles?: boolean;\n    checkClone?: boolean;\n    checkOn?: boolean;\n    cors?: boolean;\n    cssFloat?: boolean;\n    hrefNormalized?: boolean;\n    htmlSerialize?: boolean;\n    leadingWhitespace?: boolean;\n    noCloneChecked?: boolean;\n    noCloneEvent?: boolean;\n    opacity?: boolean;\n    optDisabled?: boolean;\n    optSelected?: boolean;\n    scriptEval? (): boolean;\n    style?: boolean;\n    submitBubbles?: boolean;\n    tbody?: boolean;\n}\n\ninterface JQueryParam {\n    /**\n     * Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request.\n     * \n     * @param obj An array or object to serialize.\n     */\n    (obj: any): string;\n\n    /**\n     * Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request.\n     * \n     * @param obj An array or object to serialize.\n     * @param traditional A Boolean indicating whether to perform a traditional \"shallow\" serialization.\n     */\n    (obj: any, traditional: boolean): string;\n}\n\n/**\n * The interface used to construct jQuery events (with $.Event). It is\n * defined separately instead of inline in JQueryStatic to allow\n * overriding the construction function with specific strings\n * returning specific event objects.\n */\ninterface JQueryEventConstructor {\n    (name: string, eventProperties?: any): JQueryEventObject;\n    new (name: string, eventProperties?: any): JQueryEventObject;\n}\n\n/**\n * The interface used to specify coordinates.\n */\ninterface JQueryCoordinates {\n    left: number;\n    top: number;\n}\n\n/**\n * Elements in the array returned by serializeArray()\n */\ninterface JQuerySerializeArrayElement {\n    name: string;\n    value: string;\n}\n\ninterface JQueryAnimationOptions { \n    /**\n     * A string or number determining how long the animation will run.\n     */\n    duration?: any; \n    /**\n     * A string indicating which easing function to use for the transition.\n     */\n    easing?: string; \n    /**\n     * A function to call once the animation is complete.\n     */\n    complete?: Function; \n    /**\n     * A function to be called for each animated property of each animated element. This function provides an opportunity to modify the Tween object to change the value of the property before it is set.\n     */\n    step?: (now: number, tween: any) => any; \n    /**\n     * A function to be called after each step of the animation, only once per animated element regardless of the number of animated properties. (version added: 1.8)\n     */\n    progress?: (animation: JQueryPromise<any>, progress: number, remainingMs: number) => any; \n    /**\n     * A function to call when the animation begins. (version added: 1.8)\n     */\n    start?: (animation: JQueryPromise<any>) => any; \n    /**\n     * A function to be called when the animation completes (its Promise object is resolved). (version added: 1.8)\n     */\n    done?: (animation: JQueryPromise<any>, jumpedToEnd: boolean) => any; \n    /**\n     * A function to be called when the animation fails to complete (its Promise object is rejected). (version added: 1.8)\n     */\n    fail?: (animation: JQueryPromise<any>, jumpedToEnd: boolean) => any; \n    /**\n     * A function to be called when the animation completes or stops without completing (its Promise object is either resolved or rejected). (version added: 1.8)\n     */\n    always?: (animation: JQueryPromise<any>, jumpedToEnd: boolean) => any; \n    /**\n     * A Boolean indicating whether to place the animation in the effects queue. If false, the animation will begin immediately. As of jQuery 1.7, the queue option can also accept a string, in which case the animation is added to the queue represented by that string. When a custom queue name is used the animation does not automatically start; you must call .dequeue(\"queuename\") to start it.\n     */\n    queue?: any; \n    /**\n     * A map of one or more of the CSS properties defined by the properties argument and their corresponding easing functions. (version added: 1.4)\n     */\n    specialEasing?: Object;\n}\n\n/**\n * Static members of jQuery (those on $ and jQuery themselves)\n */\ninterface JQueryStatic {\n\n    /**\n     * Perform an asynchronous HTTP (Ajax) request.\n     *\n     * @param settings A set of key/value pairs that configure the Ajax request. All settings are optional. A default can be set for any option with $.ajaxSetup().\n     */\n    ajax(settings: JQueryAjaxSettings): JQueryXHR;\n    /**\n     * Perform an asynchronous HTTP (Ajax) request.\n     *\n     * @param url A string containing the URL to which the request is sent.\n     * @param settings A set of key/value pairs that configure the Ajax request. All settings are optional. A default can be set for any option with $.ajaxSetup().\n     */\n    ajax(url: string, settings?: JQueryAjaxSettings): JQueryXHR;\n\n    /**\n     * Handle custom Ajax options or modify existing options before each request is sent and before they are processed by $.ajax().\n     *\n     * @param dataTypes An optional string containing one or more space-separated dataTypes\n     * @param handler A handler to set default values for future Ajax requests.\n     */\n    ajaxPrefilter(dataTypes: string, handler: (opts: any, originalOpts: JQueryAjaxSettings, jqXHR: JQueryXHR) => any): void;\n    /**\n     * Handle custom Ajax options or modify existing options before each request is sent and before they are processed by $.ajax().\n     *\n     * @param handler A handler to set default values for future Ajax requests.\n     */\n    ajaxPrefilter(handler: (opts: any, originalOpts: JQueryAjaxSettings, jqXHR: JQueryXHR) => any): void;\n\n    ajaxSettings: JQueryAjaxSettings;\n\n     /**\n      * Set default values for future Ajax requests. Its use is not recommended.\n      *\n      * @param options A set of key/value pairs that configure the default Ajax request. All options are optional.\n      */\n    ajaxSetup(options: JQueryAjaxSettings): void;\n\n    /**\n     * Load data from the server using a HTTP GET request.\n     *\n     * @param url A string containing the URL to which the request is sent.\n     * @param success A callback function that is executed if the request succeeds.\n     * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html).\n     */\n    get(url: string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR;\n    /**\n     * Load data from the server using a HTTP GET request.\n     *\n     * @param url A string containing the URL to which the request is sent.\n     * @param data A plain object or string that is sent to the server with the request.\n     * @param success A callback function that is executed if the request succeeds.\n     * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html).\n     */\n    get(url: string, data?: Object|string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR;\n    /**\n     * Load JSON-encoded data from the server using a GET HTTP request.\n     *\n     * @param url A string containing the URL to which the request is sent.\n     * @param success A callback function that is executed if the request succeeds.\n     */\n    getJSON(url: string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any): JQueryXHR;\n    /**\n     * Load JSON-encoded data from the server using a GET HTTP request.\n     *\n     * @param url A string containing the URL to which the request is sent.\n     * @param data A plain object or string that is sent to the server with the request.\n     * @param success A callback function that is executed if the request succeeds.\n     */\n    getJSON(url: string, data?: Object|string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any): JQueryXHR;\n    /**\n     * Load a JavaScript file from the server using a GET HTTP request, then execute it.\n     *\n     * @param url A string containing the URL to which the request is sent.\n     * @param success A callback function that is executed if the request succeeds.\n     */\n    getScript(url: string, success?: (script: string, textStatus: string, jqXHR: JQueryXHR) => any): JQueryXHR;\n\n    /**\n     * Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request.\n     */\n    param: JQueryParam;\n\n    /**\n     * Load data from the server using a HTTP POST request.\n     *\n     * @param url A string containing the URL to which the request is sent.\n     * @param success A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case.\n     * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html).\n     */\n    post(url: string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR;\n    /**\n     * Load data from the server using a HTTP POST request.\n     *\n     * @param url A string containing the URL to which the request is sent.\n     * @param data A plain object or string that is sent to the server with the request.\n     * @param success A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case.\n     * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html).\n     */\n    post(url: string, data?: Object|string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR;\n\n    /**\n     * A multi-purpose callbacks list object that provides a powerful way to manage callback lists.\n     *\n     * @param flags An optional list of space-separated flags that change how the callback list behaves.\n     */\n    Callbacks(flags?: string): JQueryCallback;\n\n    /**\n     * Holds or releases the execution of jQuery's ready event.\n     *\n     * @param hold Indicates whether the ready hold is being requested or released\n     */\n    holdReady(hold: boolean): void;\n\n    /**\n     * Accepts a string containing a CSS selector which is then used to match a set of elements.\n     *\n     * @param selector A string containing a selector expression\n     * @param context A DOM Element, Document, or jQuery to use as context\n     */\n    (selector: string, context?: Element|JQuery): JQuery;\n\n    /**\n     * Accepts a string containing a CSS selector which is then used to match a set of elements.\n     *\n     * @param element A DOM element to wrap in a jQuery object.\n     */\n    (element: Element): JQuery;\n\n    /**\n     * Accepts a string containing a CSS selector which is then used to match a set of elements.\n     *\n     * @param elementArray An array containing a set of DOM elements to wrap in a jQuery object.\n     */\n    (elementArray: Element[]): JQuery;\n\n    /**\n     * Binds a function to be executed when the DOM has finished loading.\n     *\n     * @param callback A function to execute after the DOM is ready.\n     */\n    (callback: (jQueryAlias?: JQueryStatic) => any): JQuery;\n\n    /**\n     * Accepts a string containing a CSS selector which is then used to match a set of elements.\n     *\n     * @param object A plain object to wrap in a jQuery object.\n     */\n    (object: {}): JQuery;\n\n    /**\n     * Accepts a string containing a CSS selector which is then used to match a set of elements.\n     *\n     * @param object An existing jQuery object to clone.\n     */\n    (object: JQuery): JQuery;\n\n    /**\n     * Specify a function to execute when the DOM is fully loaded.\n     */\n    (): JQuery;\n\n    /**\n     * Creates DOM elements on the fly from the provided string of raw HTML.\n     *\n     * @param html A string of HTML to create on the fly. Note that this parses HTML, not XML.\n     * @param ownerDocument A document in which the new elements will be created.\n     */\n    (html: string, ownerDocument?: Document): JQuery;\n\n    /**\n     * Creates DOM elements on the fly from the provided string of raw HTML.\n     *\n     * @param html A string defining a single, standalone, HTML element (e.g. <div/> or <div></div>).\n     * @param attributes An object of attributes, events, and methods to call on the newly-created element.\n     */\n    (html: string, attributes: Object): JQuery;\n\n    /**\n     * Relinquish jQuery's control of the $ variable.\n     *\n     * @param removeAll A Boolean indicating whether to remove all jQuery variables from the global scope (including jQuery itself).\n     */\n    noConflict(removeAll?: boolean): Object;\n\n    /**\n     * Provides a way to execute callback functions based on one or more objects, usually Deferred objects that represent asynchronous events.\n     *\n     * @param deferreds One or more Deferred objects, or plain JavaScript objects.\n     */\n    when<T>(...deferreds: Array<T|JQueryPromise<T>/* as JQueryDeferred<T> */>): JQueryPromise<T>;\n\n    /**\n     * Hook directly into jQuery to override how particular CSS properties are retrieved or set, normalize CSS property naming, or create custom properties.\n     */\n    cssHooks: { [key: string]: any; };\n    cssNumber: any;\n\n    /**\n     * Store arbitrary data associated with the specified element. Returns the value that was set.\n     *\n     * @param element The DOM element to associate with the data.\n     * @param key A string naming the piece of data to set.\n     * @param value The new data value.\n     */\n    data<T>(element: Element, key: string, value: T): T;\n    /**\n     * Returns value at named data store for the element, as set by jQuery.data(element, name, value), or the full data store for the element.\n     *\n     * @param element The DOM element to associate with the data.\n     * @param key A string naming the piece of data to set.\n     */\n    data(element: Element, key: string): any;\n    /**\n     * Returns value at named data store for the element, as set by jQuery.data(element, name, value), or the full data store for the element.\n     *\n     * @param element The DOM element to associate with the data.\n     */\n    data(element: Element): any;\n\n    /**\n     * Execute the next function on the queue for the matched element.\n     *\n     * @param element A DOM element from which to remove and execute a queued function.\n     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.\n     */\n    dequeue(element: Element, queueName?: string): void;\n\n    /**\n     * Determine whether an element has any jQuery data associated with it.\n     *\n     * @param element A DOM element to be checked for data.\n     */\n    hasData(element: Element): boolean;\n\n    /**\n     * Show the queue of functions to be executed on the matched element.\n     *\n     * @param element A DOM element to inspect for an attached queue.\n     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.\n     */\n    queue(element: Element, queueName?: string): any[];\n    /**\n     * Manipulate the queue of functions to be executed on the matched element.\n     *\n     * @param element A DOM element where the array of queued functions is attached.\n     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.\n     * @param newQueue An array of functions to replace the current queue contents.\n     */\n    queue(element: Element, queueName: string, newQueue: Function[]): JQuery;\n    /**\n     * Manipulate the queue of functions to be executed on the matched element.\n     *\n     * @param element A DOM element on which to add a queued function.\n     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.\n     * @param callback The new function to add to the queue.\n     */\n    queue(element: Element, queueName: string, callback: Function): JQuery;\n\n    /**\n     * Remove a previously-stored piece of data.\n     *\n     * @param element A DOM element from which to remove data.\n     * @param name A string naming the piece of data to remove.\n     */\n    removeData(element: Element, name?: string): JQuery;\n\n    /**\n     * A constructor function that returns a chainable utility object with methods to register multiple callbacks into callback queues, invoke callback queues, and relay the success or failure state of any synchronous or asynchronous function.\n     *\n     * @param beforeStart A function that is called just before the constructor returns.\n     */\n    Deferred<T>(beforeStart?: (deferred: JQueryDeferred<T>) => any): JQueryDeferred<T>;\n\n    /**\n     * Effects\n     */\n    fx: {\n        tick: () => void;\n        /**\n         * The rate (in milliseconds) at which animations fire.\n         */\n        interval: number;\n        stop: () => void;\n        speeds: { slow: number; fast: number; };\n        /**\n         * Globally disable all animations.\n         */\n        off: boolean;\n        step: any;\n    };\n\n    /**\n     * Takes a function and returns a new one that will always have a particular context.\n     *\n     * @param fnction The function whose context will be changed.\n     * @param context The object to which the context (this) of the function should be set.\n     * @param additionalArguments Any number of arguments to be passed to the function referenced in the function argument.\n     */\n    proxy(fnction: (...args: any[]) => any, context: Object, ...additionalArguments: any[]): any;\n    /**\n     * Takes a function and returns a new one that will always have a particular context.\n     *\n     * @param context The object to which the context (this) of the function should be set.\n     * @param name The name of the function whose context will be changed (should be a property of the context object).\n     * @param additionalArguments Any number of arguments to be passed to the function named in the name argument.\n     */\n    proxy(context: Object, name: string, ...additionalArguments: any[]): any;\n\n    Event: JQueryEventConstructor;\n\n    /**\n     * Takes a string and throws an exception containing it.\n     *\n     * @param message The message to send out.\n     */\n    error(message: any): JQuery;\n\n    expr: any;\n    fn: any;  //TODO: Decide how we want to type this\n\n    isReady: boolean;\n\n    // Properties\n    support: JQuerySupport;\n\n    /**\n     * Check to see if a DOM element is a descendant of another DOM element.\n     * \n     * @param container The DOM element that may contain the other element.\n     * @param contained The DOM element that may be contained by (a descendant of) the other element.\n     */\n    contains(container: Element, contained: Element): boolean;\n\n    /**\n     * A generic iterator function, which can be used to seamlessly iterate over both objects and arrays. Arrays and array-like objects with a length property (such as a function's arguments object) are iterated by numeric index, from 0 to length-1. Other objects are iterated via their named properties.\n     * \n     * @param collection The object or array to iterate over.\n     * @param callback The function that will be executed on every object.\n     */\n    each<T>(\n        collection: T[],\n        callback: (indexInArray: number, valueOfElement: T) => any\n        ): any;\n\n    /**\n     * A generic iterator function, which can be used to seamlessly iterate over both objects and arrays. Arrays and array-like objects with a length property (such as a function's arguments object) are iterated by numeric index, from 0 to length-1. Other objects are iterated via their named properties.\n     * \n     * @param collection The object or array to iterate over.\n     * @param callback The function that will be executed on every object.\n     */\n    each(\n        collection: any,\n        callback: (indexInArray: any, valueOfElement: any) => any\n        ): any;\n\n    /**\n     * Merge the contents of two or more objects together into the first object.\n     *\n     * @param target An object that will receive the new properties if additional objects are passed in or that will extend the jQuery namespace if it is the sole argument.\n     * @param object1 An object containing additional properties to merge in.\n     * @param objectN Additional objects containing properties to merge in.\n     */\n    extend(target: any, object1?: any, ...objectN: any[]): any;\n    /**\n     * Merge the contents of two or more objects together into the first object.\n     *\n     * @param deep If true, the merge becomes recursive (aka. deep copy).\n     * @param target The object to extend. It will receive the new properties.\n     * @param object1 An object containing additional properties to merge in.\n     * @param objectN Additional objects containing properties to merge in.\n     */\n    extend(deep: boolean, target: any, object1?: any, ...objectN: any[]): any;\n\n    /**\n     * Execute some JavaScript code globally.\n     *\n     * @param code The JavaScript code to execute.\n     */\n    globalEval(code: string): any;\n\n    /**\n     * Finds the elements of an array which satisfy a filter function. The original array is not affected.\n     *\n     * @param array The array to search through.\n     * @param func The function to process each item against. The first argument to the function is the item, and the second argument is the index. The function should return a Boolean value.  this will be the global window object.\n     * @param invert If \"invert\" is false, or not provided, then the function returns an array consisting of all elements for which \"callback\" returns true. If \"invert\" is true, then the function returns an array consisting of all elements for which \"callback\" returns false.\n     */\n    grep<T>(array: T[], func: (elementOfArray: T, indexInArray: number) => boolean, invert?: boolean): T[];\n\n    /**\n     * Search for a specified value within an array and return its index (or -1 if not found).\n     *\n     * @param value The value to search for.\n     * @param array An array through which to search.\n     * @param fromIndex he index of the array at which to begin the search. The default is 0, which will search the whole array.\n     */\n    inArray<T>(value: T, array: T[], fromIndex?: number): number;\n\n    /**\n     * Determine whether the argument is an array.\n     *\n     * @param obj Object to test whether or not it is an array.\n     */\n    isArray(obj: any): boolean;\n    /**\n     * Check to see if an object is empty (contains no enumerable properties).\n     *\n     * @param obj The object that will be checked to see if it's empty.\n     */\n    isEmptyObject(obj: any): boolean;\n    /**\n     * Determine if the argument passed is a Javascript function object.\n     *\n     * @param obj Object to test whether or not it is a function.\n     */\n    isFunction(obj: any): boolean;\n    /**\n     * Determines whether its argument is a number.\n     *\n     * @param obj The value to be tested.\n     */\n    isNumeric(value: any): boolean;\n    /**\n     * Check to see if an object is a plain object (created using \"{}\" or \"new Object\").\n     *\n     * @param obj The object that will be checked to see if it's a plain object.\n     */\n    isPlainObject(obj: any): boolean;\n    /**\n     * Determine whether the argument is a window.\n     *\n     * @param obj Object to test whether or not it is a window.\n     */\n    isWindow(obj: any): boolean;\n    /**\n     * Check to see if a DOM node is within an XML document (or is an XML document).\n     *\n     * @param node he DOM node that will be checked to see if it's in an XML document.\n     */\n    isXMLDoc(node: Node): boolean;\n\n    /**\n     * Convert an array-like object into a true JavaScript array.\n     * \n     * @param obj Any object to turn into a native Array.\n     */\n    makeArray(obj: any): any[];\n\n    /**\n     * Translate all items in an array or object to new array of items.\n     * \n     * @param array The Array to translate.\n     * @param callback The function to process each item against. The first argument to the function is the array item, the second argument is the index in array The function can return any value. Within the function, this refers to the global (window) object.\n     */\n    map<T, U>(array: T[], callback: (elementOfArray: T, indexInArray: number) => U): U[];\n    /**\n     * Translate all items in an array or object to new array of items.\n     * \n     * @param arrayOrObject The Array or Object to translate.\n     * @param callback The function to process each item against. The first argument to the function is the value; the second argument is the index or key of the array or object property. The function can return any value to add to the array. A returned array will be flattened into the resulting array. Within the function, this refers to the global (window) object.\n     */\n    map(arrayOrObject: any, callback: (value: any, indexOrKey: any) => any): any;\n\n    /**\n     * Merge the contents of two arrays together into the first array.\n     * \n     * @param first The first array to merge, the elements of second added.\n     * @param second The second array to merge into the first, unaltered.\n     */\n    merge<T>(first: T[], second: T[]): T[];\n\n    /**\n     * An empty function.\n     */\n    noop(): any;\n\n    /**\n     * Return a number representing the current time.\n     */\n    now(): number;\n\n    /**\n     * Takes a well-formed JSON string and returns the resulting JavaScript object.\n     * \n     * @param json The JSON string to parse.\n     */\n    parseJSON(json: string): any;\n\n    /**\n     * Parses a string into an XML document.\n     *\n     * @param data a well-formed XML string to be parsed\n     */\n    parseXML(data: string): XMLDocument;\n\n    /**\n     * Remove the whitespace from the beginning and end of a string.\n     * \n     * @param str Remove the whitespace from the beginning and end of a string.\n     */\n    trim(str: string): string;\n\n    /**\n     * Determine the internal JavaScript [[Class]] of an object.\n     * \n     * @param obj Object to get the internal JavaScript [[Class]] of.\n     */\n    type(obj: any): string;\n\n    /**\n     * Sorts an array of DOM elements, in place, with the duplicates removed. Note that this only works on arrays of DOM elements, not strings or numbers.\n     * \n     * @param array The Array of DOM elements.\n     */\n    unique(array: Element[]): Element[];\n\n    /**\n     * Parses a string into an array of DOM nodes.\n     *\n     * @param data HTML string to be parsed\n     * @param context DOM element to serve as the context in which the HTML fragment will be created\n     * @param keepScripts A Boolean indicating whether to include scripts passed in the HTML string\n     */\n    parseHTML(data: string, context?: HTMLElement, keepScripts?: boolean): any[];\n\n    /**\n     * Parses a string into an array of DOM nodes.\n     *\n     * @param data HTML string to be parsed\n     * @param context DOM element to serve as the context in which the HTML fragment will be created\n     * @param keepScripts A Boolean indicating whether to include scripts passed in the HTML string\n     */\n    parseHTML(data: string, context?: Document, keepScripts?: boolean): any[];\n}\n\n/**\n * The jQuery instance members\n */\ninterface JQuery {\n    /**\n     * Register a handler to be called when Ajax requests complete. This is an AjaxEvent.\n     *\n     * @param handler The function to be invoked.\n     */\n    ajaxComplete(handler: (event: JQueryEventObject, XMLHttpRequest: XMLHttpRequest, ajaxOptions: any) => any): JQuery;\n    /**\n     * Register a handler to be called when Ajax requests complete with an error. This is an Ajax Event.\n     *\n     * @param handler The function to be invoked.\n     */\n    ajaxError(handler: (event: JQueryEventObject, jqXHR: JQueryXHR, ajaxSettings: JQueryAjaxSettings, thrownError: any) => any): JQuery;\n    /**\n     * Attach a function to be executed before an Ajax request is sent. This is an Ajax Event.\n     *\n     * @param handler The function to be invoked.\n     */\n    ajaxSend(handler: (event: JQueryEventObject, jqXHR: JQueryXHR, ajaxOptions: JQueryAjaxSettings) => any): JQuery;\n    /**\n     * Register a handler to be called when the first Ajax request begins. This is an Ajax Event.\n     *\n     * @param handler The function to be invoked.\n     */\n    ajaxStart(handler: () => any): JQuery;\n    /**\n     * Register a handler to be called when all Ajax requests have completed. This is an Ajax Event.\n     *\n     * @param handler The function to be invoked.\n     */\n    ajaxStop(handler: () => any): JQuery;\n    /**\n     * Attach a function to be executed whenever an Ajax request completes successfully. This is an Ajax Event.\n     *\n     * @param handler The function to be invoked.\n     */\n    ajaxSuccess(handler: (event: JQueryEventObject, XMLHttpRequest: XMLHttpRequest, ajaxOptions: JQueryAjaxSettings) => any): JQuery;\n\n    /**\n     * Load data from the server and place the returned HTML into the matched element.\n     *\n     * @param url A string containing the URL to which the request is sent.\n     * @param data A plain object or string that is sent to the server with the request.\n     * @param complete A callback function that is executed when the request completes.\n     */\n    load(url: string, data?: string|Object, complete?: (responseText: string, textStatus: string, XMLHttpRequest: XMLHttpRequest) => any): JQuery;\n\n    /**\n     * Encode a set of form elements as a string for submission.\n     */\n    serialize(): string;\n    /**\n     * Encode a set of form elements as an array of names and values.\n     */\n    serializeArray(): JQuerySerializeArrayElement[];\n\n    /**\n     * Adds the specified class(es) to each of the set of matched elements.\n     *\n     * @param className One or more space-separated classes to be added to the class attribute of each matched element.\n     */\n    addClass(className: string): JQuery;\n    /**\n     * Adds the specified class(es) to each of the set of matched elements.\n     *\n     * @param function A function returning one or more space-separated class names to be added to the existing class name(s). Receives the index position of the element in the set and the existing class name(s) as arguments. Within the function, this refers to the current element in the set.\n     */\n    addClass(func: (index: number, className: string) => string): JQuery;\n\n    /**\n     * Add the previous set of elements on the stack to the current set, optionally filtered by a selector.\n     */\n    addBack(selector?: string): JQuery;\n\n    /**\n     * Get the value of an attribute for the first element in the set of matched elements.\n     *\n     * @param attributeName The name of the attribute to get.\n     */\n    attr(attributeName: string): string;\n    /**\n     * Set one or more attributes for the set of matched elements.\n     *\n     * @param attributeName The name of the attribute to set.\n     * @param value A value to set for the attribute.\n     */\n    attr(attributeName: string, value: string|number): JQuery;\n    /**\n     * Set one or more attributes for the set of matched elements.\n     *\n     * @param attributeName The name of the attribute to set.\n     * @param func A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old attribute value as arguments.\n     */\n    attr(attributeName: string, func: (index: number, attr: string) => string|number): JQuery;\n    /**\n     * Set one or more attributes for the set of matched elements.\n     *\n     * @param attributes An object of attribute-value pairs to set.\n     */\n    attr(attributes: Object): JQuery;\n    \n    /**\n     * Determine whether any of the matched elements are assigned the given class.\n     *\n     * @param className The class name to search for.\n     */\n    hasClass(className: string): boolean;\n\n    /**\n     * Get the HTML contents of the first element in the set of matched elements.\n     */\n    html(): string;\n    /**\n     * Set the HTML contents of each element in the set of matched elements.\n     *\n     * @param htmlString A string of HTML to set as the content of each matched element.\n     */\n    html(htmlString: string): JQuery;\n    /**\n     * Set the HTML contents of each element in the set of matched elements.\n     *\n     * @param func A function returning the HTML content to set. Receives the index position of the element in the set and the old HTML value as arguments. jQuery empties the element before calling the function; use the oldhtml argument to reference the previous content. Within the function, this refers to the current element in the set.\n     */\n    html(func: (index: number, oldhtml: string) => string): JQuery;\n    /**\n     * Set the HTML contents of each element in the set of matched elements.\n     *\n     * @param func A function returning the HTML content to set. Receives the index position of the element in the set and the old HTML value as arguments. jQuery empties the element before calling the function; use the oldhtml argument to reference the previous content. Within the function, this refers to the current element in the set.\n     */\n\n    /**\n     * Get the value of a property for the first element in the set of matched elements.\n     *\n     * @param propertyName The name of the property to get.\n     */\n    prop(propertyName: string): any;\n    /**\n     * Set one or more properties for the set of matched elements.\n     *\n     * @param propertyName The name of the property to set.\n     * @param value A value to set for the property.\n     */\n    prop(propertyName: string, value: string|number|boolean): JQuery;\n    /**\n     * Set one or more properties for the set of matched elements.\n     *\n     * @param properties An object of property-value pairs to set.\n     */\n    prop(properties: Object): JQuery;\n    /**\n     * Set one or more properties for the set of matched elements.\n     *\n     * @param propertyName The name of the property to set.\n     * @param func A function returning the value to set. Receives the index position of the element in the set and the old property value as arguments. Within the function, the keyword this refers to the current element.\n     */\n    prop(propertyName: string, func: (index: number, oldPropertyValue: any) => any): JQuery;\n\n    /**\n     * Remove an attribute from each element in the set of matched elements.\n     *\n     * @param attributeName An attribute to remove; as of version 1.7, it can be a space-separated list of attributes.\n     */\n    removeAttr(attributeName: string): JQuery;\n\n    /**\n     * Remove a single class, multiple classes, or all classes from each element in the set of matched elements.\n     *\n     * @param className One or more space-separated classes to be removed from the class attribute of each matched element.\n     */\n    removeClass(className?: string): JQuery;\n    /**\n     * Remove a single class, multiple classes, or all classes from each element in the set of matched elements.\n     *\n     * @param function A function returning one or more space-separated class names to be removed. Receives the index position of the element in the set and the old class value as arguments.\n     */\n    removeClass(func: (index: number, className: string) => string): JQuery;\n\n    /**\n     * Remove a property for the set of matched elements.\n     *\n     * @param propertyName The name of the property to remove.\n     */\n    removeProp(propertyName: string): JQuery;\n\n    /**\n     * Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.\n     *\n     * @param className One or more class names (separated by spaces) to be toggled for each element in the matched set.\n     * @param swtch A Boolean (not just truthy/falsy) value to determine whether the class should be added or removed.\n     */\n    toggleClass(className: string, swtch?: boolean): JQuery;\n    /**\n     * Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.\n     *\n     * @param swtch A boolean value to determine whether the class should be added or removed.\n     */\n    toggleClass(swtch?: boolean): JQuery;\n    /**\n     * Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.\n     *\n     * @param func A function that returns class names to be toggled in the class attribute of each element in the matched set. Receives the index position of the element in the set, the old class value, and the switch as arguments.\n     * @param swtch A boolean value to determine whether the class should be added or removed.\n     */\n    toggleClass(func: (index: number, className: string, swtch: boolean) => string, swtch?: boolean): JQuery;\n\n    /**\n     * Get the current value of the first element in the set of matched elements.\n     */\n    val(): any;\n    /**\n     * Set the value of each element in the set of matched elements.\n     *\n     * @param value A string of text or an array of strings corresponding to the value of each matched element to set as selected/checked.\n     */\n    val(value: string|string[]): JQuery;\n    /**\n     * Set the value of each element in the set of matched elements.\n     *\n     * @param func A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as arguments.\n     */\n    val(func: (index: number, value: string) => string): JQuery;\n\n\n    /**\n     * Get the value of style properties for the first element in the set of matched elements.\n     *\n     * @param propertyName A CSS property.\n     */\n    css(propertyName: string): string;\n    /**\n     * Set one or more CSS properties for the set of matched elements.\n     *\n     * @param propertyName A CSS property name.\n     * @param value A value to set for the property.\n     */\n    css(propertyName: string, value: string|number): JQuery;\n    /**\n     * Set one or more CSS properties for the set of matched elements.\n     *\n     * @param propertyName A CSS property name.\n     * @param value A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as arguments.\n     */\n    css(propertyName: string, value: (index: number, value: string) => string|number): JQuery;\n    /**\n     * Set one or more CSS properties for the set of matched elements.\n     *\n     * @param properties An object of property-value pairs to set.\n     */\n    css(properties: Object): JQuery;\n\n    /**\n     * Get the current computed height for the first element in the set of matched elements.\n     */\n    height(): number;\n    /**\n     * Set the CSS height of every matched element.\n     *\n     * @param value An integer representing the number of pixels, or an integer with an optional unit of measure appended (as a string).\n     */\n    height(value: number|string): JQuery;\n    /**\n     * Set the CSS height of every matched element.\n     *\n     * @param func A function returning the height to set. Receives the index position of the element in the set and the old height as arguments. Within the function, this refers to the current element in the set.\n     */\n    height(func: (index: number, height: number) => number|string): JQuery;\n\n    /**\n     * Get the current computed height for the first element in the set of matched elements, including padding but not border.\n     */\n    innerHeight(): number;\n\n    /**\n     * Sets the inner height on elements in the set of matched elements, including padding but not border.\n     *\n     * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).\n     */\n    innerHeight(height: number|string): JQuery;\n    \n    /**\n     * Get the current computed width for the first element in the set of matched elements, including padding but not border.\n     */\n    innerWidth(): number;\n\n    /**\n     * Sets the inner width on elements in the set of matched elements, including padding but not border.\n     *\n     * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).\n     */\n    innerWidth(width: number|string): JQuery;\n    \n    /**\n     * Get the current coordinates of the first element in the set of matched elements, relative to the document.\n     */\n    offset(): JQueryCoordinates;\n    /**\n     * An object containing the properties top and left, which are integers indicating the new top and left coordinates for the elements.\n     *\n     * @param coordinates An object containing the properties top and left, which are integers indicating the new top and left coordinates for the elements.\n     */\n    offset(coordinates: JQueryCoordinates): JQuery;\n    /**\n     * An object containing the properties top and left, which are integers indicating the new top and left coordinates for the elements.\n     *\n     * @param func A function to return the coordinates to set. Receives the index of the element in the collection as the first argument and the current coordinates as the second argument. The function should return an object with the new top and left properties.\n     */\n    offset(func: (index: number, coords: JQueryCoordinates) => JQueryCoordinates): JQuery;\n\n    /**\n     * Get the current computed height for the first element in the set of matched elements, including padding, border, and optionally margin. Returns an integer (without \"px\") representation of the value or null if called on an empty set of elements.\n     *\n     * @param includeMargin A Boolean indicating whether to include the element's margin in the calculation.\n     */\n    outerHeight(includeMargin?: boolean): number;\n\n    /**\n     * Sets the outer height on elements in the set of matched elements, including padding and border.\n     *\n     * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).\n     */\n    outerHeight(height: number|string): JQuery;\n\n    /**\n     * Get the current computed width for the first element in the set of matched elements, including padding and border.\n     *\n     * @param includeMargin A Boolean indicating whether to include the element's margin in the calculation.\n     */\n    outerWidth(includeMargin?: boolean): number;\n\n    /**\n     * Sets the outer width on elements in the set of matched elements, including padding and border.\n     *\n     * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).\n     */\n    outerWidth(width: number|string): JQuery;\n\n    /**\n     * Get the current coordinates of the first element in the set of matched elements, relative to the offset parent.\n     */\n    position(): JQueryCoordinates;\n\n    /**\n     * Get the current horizontal position of the scroll bar for the first element in the set of matched elements or set the horizontal position of the scroll bar for every matched element.\n     */\n    scrollLeft(): number;\n    /**\n     * Set the current horizontal position of the scroll bar for each of the set of matched elements.\n     *\n     * @param value An integer indicating the new position to set the scroll bar to.\n     */\n    scrollLeft(value: number): JQuery;\n\n    /**\n     * Get the current vertical position of the scroll bar for the first element in the set of matched elements or set the vertical position of the scroll bar for every matched element.\n     */\n    scrollTop(): number;\n    /**\n     * Set the current vertical position of the scroll bar for each of the set of matched elements.\n     *\n     * @param value An integer indicating the new position to set the scroll bar to.\n     */\n    scrollTop(value: number): JQuery;\n\n    /**\n     * Get the current computed width for the first element in the set of matched elements.\n     */\n    width(): number;\n    /**\n     * Set the CSS width of each element in the set of matched elements.\n     *\n     * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).\n     */\n    width(value: number|string): JQuery;\n    /**\n     * Set the CSS width of each element in the set of matched elements.\n     *\n     * @param func A function returning the width to set. Receives the index position of the element in the set and the old width as arguments. Within the function, this refers to the current element in the set.\n     */\n    width(func: (index: number, width: number) => number|string): JQuery;\n\n    /**\n     * Remove from the queue all items that have not yet been run.\n     *\n     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.\n     */\n    clearQueue(queueName?: string): JQuery;\n\n    /**\n     * Store arbitrary data associated with the matched elements.\n     *\n     * @param key A string naming the piece of data to set.\n     * @param value The new data value; it can be any Javascript type including Array or Object.\n     */\n    data(key: string, value: any): JQuery;\n    /**\n     * Return the value at the named data store for the first element in the jQuery collection, as set by data(name, value) or by an HTML5 data-* attribute.\n     *\n     * @param key Name of the data stored.\n     */\n    data(key: string): any;\n    /**\n     * Store arbitrary data associated with the matched elements.\n     *\n     * @param obj An object of key-value pairs of data to update.\n     */\n    data(obj: { [key: string]: any; }): JQuery;\n    /**\n     * Return the value at the named data store for the first element in the jQuery collection, as set by data(name, value) or by an HTML5 data-* attribute.\n     */\n    data(): any;\n\n    /**\n     * Execute the next function on the queue for the matched elements.\n     *\n     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.\n     */\n    dequeue(queueName?: string): JQuery;\n\n    /**\n     * Remove a previously-stored piece of data.\n     *\n     * @param name A string naming the piece of data to delete or space-separated string naming the pieces of data to delete.\n     */\n    removeData(name: string): JQuery;\n    /**\n     * Remove a previously-stored piece of data.\n     *\n     * @param list An array of strings naming the pieces of data to delete.\n     */\n    removeData(list: string[]): JQuery;\n\n    /**\n     * Return a Promise object to observe when all actions of a certain type bound to the collection, queued or not, have finished.\n     *\n     * @param type The type of queue that needs to be observed. (default: fx)\n     * @param target Object onto which the promise methods have to be attached\n     */\n    promise(type?: string, target?: Object): JQueryPromise<any>;\n\n    /**\n     * Perform a custom animation of a set of CSS properties.\n     *\n     * @param properties An object of CSS properties and values that the animation will move toward.\n     * @param duration A string or number determining how long the animation will run.\n     * @param complete A function to call once the animation is complete.\n     */\n    animate(properties: Object, duration?: string|number, complete?: Function): JQuery;\n    /**\n     * Perform a custom animation of a set of CSS properties.\n     *\n     * @param properties An object of CSS properties and values that the animation will move toward.\n     * @param duration A string or number determining how long the animation will run.\n     * @param easing A string indicating which easing function to use for the transition. (default: swing)\n     * @param complete A function to call once the animation is complete.\n     */\n    animate(properties: Object, duration?: string|number, easing?: string, complete?: Function): JQuery;\n    /**\n     * Perform a custom animation of a set of CSS properties.\n     *\n     * @param properties An object of CSS properties and values that the animation will move toward.\n     * @param options A map of additional options to pass to the method.\n     */\n    animate(properties: Object, options: JQueryAnimationOptions): JQuery;\n\n    /**\n     * Set a timer to delay execution of subsequent items in the queue.\n     *\n     * @param duration An integer indicating the number of milliseconds to delay execution of the next item in the queue.\n     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.\n     */\n    delay(duration: number, queueName?: string): JQuery;\n\n    /**\n     * Display the matched elements by fading them to opaque.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param complete A function to call once the animation is complete.\n     */\n    fadeIn(duration?: number|string, complete?: Function): JQuery;\n    /**\n     * Display the matched elements by fading them to opaque.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param easing A string indicating which easing function to use for the transition.\n     * @param complete A function to call once the animation is complete.\n     */\n    fadeIn(duration?: number|string, easing?: string, complete?: Function): JQuery;\n    /**\n     * Display the matched elements by fading them to opaque.\n     *\n     * @param options A map of additional options to pass to the method.\n     */\n    fadeIn(options: JQueryAnimationOptions): JQuery;\n\n    /**\n     * Hide the matched elements by fading them to transparent.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param complete A function to call once the animation is complete.\n     */\n    fadeOut(duration?: number|string, complete?: Function): JQuery;\n    /**\n     * Hide the matched elements by fading them to transparent.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param easing A string indicating which easing function to use for the transition.\n     * @param complete A function to call once the animation is complete.\n     */\n    fadeOut(duration?: number|string, easing?: string, complete?: Function): JQuery;\n    /**\n     * Hide the matched elements by fading them to transparent.\n     *\n     * @param options A map of additional options to pass to the method.\n     */\n    fadeOut(options: JQueryAnimationOptions): JQuery;\n\n    /**\n     * Adjust the opacity of the matched elements.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param opacity A number between 0 and 1 denoting the target opacity.\n     * @param complete A function to call once the animation is complete.\n     */\n    fadeTo(duration: string|number, opacity: number, complete?: Function): JQuery;\n    /**\n     * Adjust the opacity of the matched elements.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param opacity A number between 0 and 1 denoting the target opacity.\n     * @param easing A string indicating which easing function to use for the transition.\n     * @param complete A function to call once the animation is complete.\n     */\n    fadeTo(duration: string|number, opacity: number, easing?: string, complete?: Function): JQuery;\n\n    /**\n     * Display or hide the matched elements by animating their opacity.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param complete A function to call once the animation is complete.\n     */\n    fadeToggle(duration?: number|string, complete?: Function): JQuery;\n    /**\n     * Display or hide the matched elements by animating their opacity.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param easing A string indicating which easing function to use for the transition.\n     * @param complete A function to call once the animation is complete.\n     */\n    fadeToggle(duration?: number|string, easing?: string, complete?: Function): JQuery;\n    /**\n     * Display or hide the matched elements by animating their opacity.\n     *\n     * @param options A map of additional options to pass to the method.\n     */\n    fadeToggle(options: JQueryAnimationOptions): JQuery;\n\n    /**\n     * Stop the currently-running animation, remove all queued animations, and complete all animations for the matched elements.\n     *\n     * @param queue The name of the queue in which to stop animations.\n     */\n    finish(queue?: string): JQuery;\n\n    /**\n     * Hide the matched elements.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param complete A function to call once the animation is complete.\n     */\n    hide(duration?: number|string, complete?: Function): JQuery;\n    /**\n     * Hide the matched elements.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param easing A string indicating which easing function to use for the transition.\n     * @param complete A function to call once the animation is complete.\n     */\n    hide(duration?: number|string, easing?: string, complete?: Function): JQuery;\n    /**\n     * Hide the matched elements.\n     *\n     * @param options A map of additional options to pass to the method.\n     */\n    hide(options: JQueryAnimationOptions): JQuery;\n\n    /**\n     * Display the matched elements.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param complete A function to call once the animation is complete.\n     */\n    show(duration?: number|string, complete?: Function): JQuery;\n    /**\n     * Display the matched elements.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param easing A string indicating which easing function to use for the transition.\n     * @param complete A function to call once the animation is complete.\n     */\n    show(duration?: number|string, easing?: string, complete?: Function): JQuery;\n    /**\n     * Display the matched elements.\n     *\n     * @param options A map of additional options to pass to the method.\n     */\n    show(options: JQueryAnimationOptions): JQuery;\n\n    /**\n     * Display the matched elements with a sliding motion.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param complete A function to call once the animation is complete.\n     */\n    slideDown(duration?: number|string, complete?: Function): JQuery;\n    /**\n     * Display the matched elements with a sliding motion.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param easing A string indicating which easing function to use for the transition.\n     * @param complete A function to call once the animation is complete.\n     */\n    slideDown(duration?: number|string, easing?: string, complete?: Function): JQuery;\n    /**\n     * Display the matched elements with a sliding motion.\n     *\n     * @param options A map of additional options to pass to the method.\n     */\n    slideDown(options: JQueryAnimationOptions): JQuery;\n\n    /**\n     * Display or hide the matched elements with a sliding motion.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param complete A function to call once the animation is complete.\n     */\n    slideToggle(duration?: number|string, complete?: Function): JQuery;\n    /**\n     * Display or hide the matched elements with a sliding motion.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param easing A string indicating which easing function to use for the transition.\n     * @param complete A function to call once the animation is complete.\n     */\n    slideToggle(duration?: number|string, easing?: string, complete?: Function): JQuery;\n    /**\n     * Display or hide the matched elements with a sliding motion.\n     *\n     * @param options A map of additional options to pass to the method.\n     */\n    slideToggle(options: JQueryAnimationOptions): JQuery;\n\n    /**\n     * Hide the matched elements with a sliding motion.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param complete A function to call once the animation is complete.\n     */\n    slideUp(duration?: number|string, complete?: Function): JQuery;\n    /**\n     * Hide the matched elements with a sliding motion.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param easing A string indicating which easing function to use for the transition.\n     * @param complete A function to call once the animation is complete.\n     */\n    slideUp(duration?: number|string, easing?: string, complete?: Function): JQuery;\n    /**\n     * Hide the matched elements with a sliding motion.\n     *\n     * @param options A map of additional options to pass to the method.\n     */\n    slideUp(options: JQueryAnimationOptions): JQuery;\n\n    /**\n     * Stop the currently-running animation on the matched elements.\n     *\n     * @param clearQueue A Boolean indicating whether to remove queued animation as well. Defaults to false.\n     * @param jumpToEnd A Boolean indicating whether to complete the current animation immediately. Defaults to false.\n     */\n    stop(clearQueue?: boolean, jumpToEnd?: boolean): JQuery;\n    /**\n     * Stop the currently-running animation on the matched elements.\n     *\n     * @param queue The name of the queue in which to stop animations.\n     * @param clearQueue A Boolean indicating whether to remove queued animation as well. Defaults to false.\n     * @param jumpToEnd A Boolean indicating whether to complete the current animation immediately. Defaults to false.\n     */\n    stop(queue?: string, clearQueue?: boolean, jumpToEnd?: boolean): JQuery;\n\n    /**\n     * Display or hide the matched elements.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param complete A function to call once the animation is complete.\n     */\n    toggle(duration?: number|string, complete?: Function): JQuery;\n    /**\n     * Display or hide the matched elements.\n     *\n     * @param duration A string or number determining how long the animation will run.\n     * @param easing A string indicating which easing function to use for the transition.\n     * @param complete A function to call once the animation is complete.\n     */\n    toggle(duration?: number|string, easing?: string, complete?: Function): JQuery;\n    /**\n     * Display or hide the matched elements.\n     *\n     * @param options A map of additional options to pass to the method.\n     */\n    toggle(options: JQueryAnimationOptions): JQuery;\n    /**\n     * Display or hide the matched elements.\n     *\n     * @param showOrHide A Boolean indicating whether to show or hide the elements.\n     */\n    toggle(showOrHide: boolean): JQuery;\n\n    /**\n     * Attach a handler to an event for the elements.\n     * \n     * @param eventType A string containing one or more DOM event types, such as \"click\" or \"submit,\" or custom event names.\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    bind(eventType: string, eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Attach a handler to an event for the elements.\n     * \n     * @param eventType A string containing one or more DOM event types, such as \"click\" or \"submit,\" or custom event names.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    bind(eventType: string, handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Attach a handler to an event for the elements.\n     * \n     * @param eventType A string containing one or more DOM event types, such as \"click\" or \"submit,\" or custom event names.\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param preventBubble Setting the third argument to false will attach a function that prevents the default action from occurring and stops the event from bubbling. The default is true.\n     */\n    bind(eventType: string, eventData: any, preventBubble: boolean): JQuery;\n    /**\n     * Attach a handler to an event for the elements.\n     * \n     * @param eventType A string containing one or more DOM event types, such as \"click\" or \"submit,\" or custom event names.\n     * @param preventBubble Setting the third argument to false will attach a function that prevents the default action from occurring and stops the event from bubbling. The default is true.\n     */\n    bind(eventType: string, preventBubble: boolean): JQuery;\n    /**\n     * Attach a handler to an event for the elements.\n     * \n     * @param events An object containing one or more DOM event types and functions to execute for them.\n     */\n    bind(events: any): JQuery;\n\n    /**\n     * Trigger the \"blur\" event on an element\n     */\n    blur(): JQuery;\n    /**\n     * Bind an event handler to the \"blur\" JavaScript event\n     *\n     * @param handler A function to execute each time the event is triggered.\n     */\n    blur(handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"blur\" JavaScript event\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    blur(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"change\" event on an element.\n     */\n    change(): JQuery;\n    /**\n     * Bind an event handler to the \"change\" JavaScript event\n     *\n     * @param handler A function to execute each time the event is triggered.\n     */\n    change(handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"change\" JavaScript event\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    change(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"click\" event on an element.\n     */\n    click(): JQuery;\n    /**\n     * Bind an event handler to the \"click\" JavaScript event\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     */\n    click(handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"click\" JavaScript event\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    click(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"dblclick\" event on an element.\n     */\n    dblclick(): JQuery;\n    /**\n     * Bind an event handler to the \"dblclick\" JavaScript event\n     *\n     * @param handler A function to execute each time the event is triggered.\n     */\n    dblclick(handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"dblclick\" JavaScript event\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    dblclick(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;\n\n    delegate(selector: any, eventType: string, handler: (eventObject: JQueryEventObject) => any): JQuery;\n    delegate(selector: any, eventType: string, eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"focus\" event on an element.\n     */\n    focus(): JQuery;\n    /**\n     * Bind an event handler to the \"focus\" JavaScript event\n     *\n     * @param handler A function to execute each time the event is triggered.\n     */\n    focus(handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"focus\" JavaScript event\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    focus(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Bind an event handler to the \"focusin\" JavaScript event\n     *\n     * @param handler A function to execute each time the event is triggered.\n     */\n    focusin(handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"focusin\" JavaScript event\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    focusin(eventData: Object, handler: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Bind an event handler to the \"focusout\" JavaScript event\n     *\n     * @param handler A function to execute each time the event is triggered.\n     */\n    focusout(handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"focusout\" JavaScript event\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    focusout(eventData: Object, handler: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Bind two handlers to the matched elements, to be executed when the mouse pointer enters and leaves the elements.\n     *\n     * @param handlerIn A function to execute when the mouse pointer enters the element.\n     * @param handlerOut A function to execute when the mouse pointer leaves the element.\n     */\n    hover(handlerIn: (eventObject: JQueryEventObject) => any, handlerOut: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind a single handler to the matched elements, to be executed when the mouse pointer enters or leaves the elements.\n     *\n     * @param handlerInOut A function to execute when the mouse pointer enters or leaves the element.\n     */\n    hover(handlerInOut: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"keydown\" event on an element.\n     */\n    keydown(): JQuery;\n    /**\n     * Bind an event handler to the \"keydown\" JavaScript event\n     *\n     * @param handler A function to execute each time the event is triggered.\n     */\n    keydown(handler: (eventObject: JQueryKeyEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"keydown\" JavaScript event\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    keydown(eventData?: any, handler?: (eventObject: JQueryKeyEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"keypress\" event on an element.\n     */\n    keypress(): JQuery;\n    /**\n     * Bind an event handler to the \"keypress\" JavaScript event\n     *\n     * @param handler A function to execute each time the event is triggered.\n     */\n    keypress(handler: (eventObject: JQueryKeyEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"keypress\" JavaScript event\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    keypress(eventData?: any, handler?: (eventObject: JQueryKeyEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"keyup\" event on an element.\n     */\n    keyup(): JQuery;\n    /**\n     * Bind an event handler to the \"keyup\" JavaScript event\n     *\n     * @param handler A function to execute each time the event is triggered.\n     */\n    keyup(handler: (eventObject: JQueryKeyEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"keyup\" JavaScript event\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    keyup(eventData?: any, handler?: (eventObject: JQueryKeyEventObject) => any): JQuery;\n\n    /**\n     * Bind an event handler to the \"load\" JavaScript event.\n     *\n     * @param handler A function to execute when the event is triggered.\n     */\n    load(handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"load\" JavaScript event.\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute when the event is triggered.\n     */\n    load(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"mousedown\" event on an element.\n     */\n    mousedown(): JQuery;\n    /**\n     * Bind an event handler to the \"mousedown\" JavaScript event.\n     *\n     * @param handler A function to execute when the event is triggered.\n     */\n    mousedown(handler: (eventObject: JQueryMouseEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"mousedown\" JavaScript event.\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute when the event is triggered.\n     */\n    mousedown(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"mouseenter\" event on an element.\n     */\n    mouseenter(): JQuery;\n    /**\n     * Bind an event handler to be fired when the mouse enters an element.\n     *\n     * @param handler A function to execute when the event is triggered.\n     */\n    mouseenter(handler: (eventObject: JQueryMouseEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to be fired when the mouse enters an element.\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute when the event is triggered.\n     */\n    mouseenter(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"mouseleave\" event on an element.\n     */\n    mouseleave(): JQuery;\n    /**\n     * Bind an event handler to be fired when the mouse leaves an element.\n     *\n     * @param handler A function to execute when the event is triggered.\n     */\n    mouseleave(handler: (eventObject: JQueryMouseEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to be fired when the mouse leaves an element.\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute when the event is triggered.\n     */\n    mouseleave(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"mousemove\" event on an element.\n     */\n    mousemove(): JQuery;\n    /**\n     * Bind an event handler to the \"mousemove\" JavaScript event.\n     *\n     * @param handler A function to execute when the event is triggered.\n     */\n    mousemove(handler: (eventObject: JQueryMouseEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"mousemove\" JavaScript event.\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute when the event is triggered.\n     */\n    mousemove(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"mouseout\" event on an element.\n     */\n    mouseout(): JQuery;\n    /**\n     * Bind an event handler to the \"mouseout\" JavaScript event.\n     *\n     * @param handler A function to execute when the event is triggered.\n     */\n    mouseout(handler: (eventObject: JQueryMouseEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"mouseout\" JavaScript event.\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute when the event is triggered.\n     */\n    mouseout(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"mouseover\" event on an element.\n     */\n    mouseover(): JQuery;\n    /**\n     * Bind an event handler to the \"mouseover\" JavaScript event.\n     *\n     * @param handler A function to execute when the event is triggered.\n     */\n    mouseover(handler: (eventObject: JQueryMouseEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"mouseover\" JavaScript event.\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute when the event is triggered.\n     */\n    mouseover(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"mouseup\" event on an element.\n     */\n    mouseup(): JQuery;\n    /**\n     * Bind an event handler to the \"mouseup\" JavaScript event.\n     *\n     * @param handler A function to execute when the event is triggered.\n     */\n    mouseup(handler: (eventObject: JQueryMouseEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"mouseup\" JavaScript event.\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute when the event is triggered.\n     */\n    mouseup(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery;\n\n    /**\n     * Remove an event handler.\n     */\n    off(): JQuery;\n    /**\n     * Remove an event handler.\n     *\n     * @param events One or more space-separated event types and optional namespaces, or just namespaces, such as \"click\", \"keydown.myPlugin\", or \".myPlugin\".\n     * @param selector A selector which should match the one originally passed to .on() when attaching event handlers.\n     * @param handler A handler function previously attached for the event(s), or the special value false.\n     */\n    off(events: string, selector?: string, handler?: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Remove an event handler.\n     *\n     * @param events One or more space-separated event types and optional namespaces, or just namespaces, such as \"click\", \"keydown.myPlugin\", or \".myPlugin\".\n     * @param handler A handler function previously attached for the event(s), or the special value false.\n     */\n    off(events: string, handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Remove an event handler.\n     *\n     * @param events An object where the string keys represent one or more space-separated event types and optional namespaces, and the values represent handler functions previously attached for the event(s).\n     * @param selector A selector which should match the one originally passed to .on() when attaching event handlers.\n     */\n    off(events: { [key: string]: any; }, selector?: string): JQuery;\n\n    /**\n     * Attach an event handler function for one or more events to the selected elements.\n     *\n     * @param events One or more space-separated event types and optional namespaces, such as \"click\" or \"keydown.myPlugin\".\n     * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false. Rest parameter args is for optional parameters passed to jQuery.trigger(). Note that the actual parameters on the event handler function must be marked as optional (? syntax).\n     */\n    on(events: string, handler: (eventObject: JQueryEventObject, ...args: any[]) => any): JQuery;\n    /**\n     * Attach an event handler function for one or more events to the selected elements.\n     *\n     * @param events One or more space-separated event types and optional namespaces, such as \"click\" or \"keydown.myPlugin\".\n     * @param data Data to be passed to the handler in event.data when an event is triggered.\n     * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.\n    */\n    on(events: string, data : any, handler: (eventObject: JQueryEventObject, ...args: any[]) => any): JQuery;\n    /**\n     * Attach an event handler function for one or more events to the selected elements.\n     *\n     * @param events One or more space-separated event types and optional namespaces, such as \"click\" or \"keydown.myPlugin\".\n     * @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.\n     * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.\n     */\n    on(events: string, selector: string, handler: (eventObject: JQueryEventObject, ...eventData: any[]) => any): JQuery;\n    /**\n     * Attach an event handler function for one or more events to the selected elements.\n     *\n     * @param events One or more space-separated event types and optional namespaces, such as \"click\" or \"keydown.myPlugin\".\n     * @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.\n     * @param data Data to be passed to the handler in event.data when an event is triggered.\n     * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.\n     */\n    on(events: string, selector: string, data: any, handler: (eventObject: JQueryEventObject, ...eventData: any[]) => any): JQuery;\n    /**\n     * Attach an event handler function for one or more events to the selected elements.\n     *\n     * @param events An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).\n     * @param selector A selector string to filter the descendants of the selected elements that will call the handler. If the selector is null or omitted, the handler is always called when it reaches the selected element.\n     * @param data Data to be passed to the handler in event.data when an event occurs.\n     */\n    on(events: { [key: string]: any; }, selector?: string, data?: any): JQuery;\n    /**\n     * Attach an event handler function for one or more events to the selected elements.\n     *\n     * @param events An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).\n     * @param data Data to be passed to the handler in event.data when an event occurs.\n     */\n    on(events: { [key: string]: any; }, data?: any): JQuery;\n\n    /**\n     * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.\n     *\n     * @param events A string containing one or more JavaScript event types, such as \"click\" or \"submit,\" or custom event names.\n     * @param handler A function to execute at the time the event is triggered.\n     */\n    one(events: string, handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.\n     *\n     * @param events A string containing one or more JavaScript event types, such as \"click\" or \"submit,\" or custom event names.\n     * @param data An object containing data that will be passed to the event handler.\n     * @param handler A function to execute at the time the event is triggered.\n     */\n    one(events: string, data: Object, handler: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.\n     *\n     * @param events One or more space-separated event types and optional namespaces, such as \"click\" or \"keydown.myPlugin\".\n     * @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.\n     * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.\n     */\n    one(events: string, selector: string, handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.\n     *\n     * @param events One or more space-separated event types and optional namespaces, such as \"click\" or \"keydown.myPlugin\".\n     * @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.\n     * @param data Data to be passed to the handler in event.data when an event is triggered.\n     * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.\n     */\n    one(events: string, selector: string, data: any, handler: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.\n     *\n     * @param events An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).\n     * @param selector A selector string to filter the descendants of the selected elements that will call the handler. If the selector is null or omitted, the handler is always called when it reaches the selected element.\n     * @param data Data to be passed to the handler in event.data when an event occurs.\n     */\n    one(events: { [key: string]: any; }, selector?: string, data?: any): JQuery;\n\n    /**\n     * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.\n     *\n     * @param events An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).\n     * @param data Data to be passed to the handler in event.data when an event occurs.\n     */\n    one(events: { [key: string]: any; }, data?: any): JQuery;\n\n\n    /**\n     * Specify a function to execute when the DOM is fully loaded.\n     *\n     * @param handler A function to execute after the DOM is ready.\n     */\n    ready(handler: (jQueryAlias?: JQueryStatic) => any): JQuery;\n\n    /**\n     * Trigger the \"resize\" event on an element.\n     */\n    resize(): JQuery;\n    /**\n     * Bind an event handler to the \"resize\" JavaScript event.\n     *\n     * @param handler A function to execute each time the event is triggered.\n     */\n    resize(handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"resize\" JavaScript event.\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    resize(eventData: Object, handler: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"scroll\" event on an element.\n     */\n    scroll(): JQuery;\n    /**\n     * Bind an event handler to the \"scroll\" JavaScript event.\n     *\n     * @param handler A function to execute each time the event is triggered.\n     */\n    scroll(handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"scroll\" JavaScript event.\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    scroll(eventData: Object, handler: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"select\" event on an element.\n     */\n    select(): JQuery;\n    /**\n     * Bind an event handler to the \"select\" JavaScript event.\n     *\n     * @param handler A function to execute each time the event is triggered.\n     */\n    select(handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"select\" JavaScript event.\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    select(eventData: Object, handler: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Trigger the \"submit\" event on an element.\n     */\n    submit(): JQuery;\n    /**\n     * Bind an event handler to the \"submit\" JavaScript event\n     *\n     * @param handler A function to execute each time the event is triggered.\n     */\n    submit(handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"submit\" JavaScript event\n     *\n     * @param eventData An object containing data that will be passed to the event handler.\n     * @param handler A function to execute each time the event is triggered.\n     */\n    submit(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Execute all handlers and behaviors attached to the matched elements for the given event type.\n     * \n     * @param eventType A string containing a JavaScript event type, such as click or submit.\n     * @param extraParameters Additional parameters to pass along to the event handler.\n     */\n    trigger(eventType: string, extraParameters?: any[]|Object): JQuery;\n    /**\n     * Execute all handlers and behaviors attached to the matched elements for the given event type.\n     * \n     * @param event A jQuery.Event object.\n     * @param extraParameters Additional parameters to pass along to the event handler.\n     */\n    trigger(event: JQueryEventObject, extraParameters?: any[]|Object): JQuery;\n\n    /**\n     * Execute all handlers attached to an element for an event.\n     * \n     * @param eventType A string containing a JavaScript event type, such as click or submit.\n     * @param extraParameters An array of additional parameters to pass along to the event handler.\n     */\n    triggerHandler(eventType: string, ...extraParameters: any[]): Object;\n\n    /**\n     * Execute all handlers attached to an element for an event.\n     * \n     * @param event A jQuery.Event object.\n     * @param extraParameters An array of additional parameters to pass along to the event handler.\n     */\n    triggerHandler(event: JQueryEventObject, ...extraParameters: any[]): Object;\n\n    /**\n     * Remove a previously-attached event handler from the elements.\n     * \n     * @param eventType A string containing a JavaScript event type, such as click or submit.\n     * @param handler The function that is to be no longer executed.\n     */\n    unbind(eventType?: string, handler?: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Remove a previously-attached event handler from the elements.\n     * \n     * @param eventType A string containing a JavaScript event type, such as click or submit.\n     * @param fls Unbinds the corresponding 'return false' function that was bound using .bind( eventType, false ).\n     */\n    unbind(eventType: string, fls: boolean): JQuery;\n    /**\n     * Remove a previously-attached event handler from the elements.\n     * \n     * @param evt A JavaScript event object as passed to an event handler.\n     */\n    unbind(evt: any): JQuery;\n\n    /**\n     * Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.\n     */\n    undelegate(): JQuery;\n    /**\n     * Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.\n     * \n     * @param selector A selector which will be used to filter the event results.\n     * @param eventType A string containing a JavaScript event type, such as \"click\" or \"keydown\"\n     * @param handler A function to execute at the time the event is triggered.\n     */\n    undelegate(selector: string, eventType: string, handler?: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.\n     * \n     * @param selector A selector which will be used to filter the event results.\n     * @param events An object of one or more event types and previously bound functions to unbind from them.\n     */\n    undelegate(selector: string, events: Object): JQuery;\n    /**\n     * Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.\n     * \n     * @param namespace A string containing a namespace to unbind all events from.\n     */\n    undelegate(namespace: string): JQuery;\n\n    /**\n     * Bind an event handler to the \"unload\" JavaScript event. (DEPRECATED from v1.8)\n     * \n     * @param handler A function to execute when the event is triggered.\n     */\n    unload(handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"unload\" JavaScript event. (DEPRECATED from v1.8)\n     * \n     * @param eventData A plain object of data that will be passed to the event handler.\n     * @param handler A function to execute when the event is triggered.\n     */\n    unload(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * The DOM node context originally passed to jQuery(); if none was passed then context will likely be the document. (DEPRECATED from v1.10)\n     */\n    context: Element;\n\n    jquery: string;\n\n    /**\n     * Bind an event handler to the \"error\" JavaScript event. (DEPRECATED from v1.8)\n     * \n     * @param handler A function to execute when the event is triggered.\n     */\n    error(handler: (eventObject: JQueryEventObject) => any): JQuery;\n    /**\n     * Bind an event handler to the \"error\" JavaScript event. (DEPRECATED from v1.8)\n     * \n     * @param eventData A plain object of data that will be passed to the event handler.\n     * @param handler A function to execute when the event is triggered.\n     */\n    error(eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;\n\n    /**\n     * Add a collection of DOM elements onto the jQuery stack.\n     * \n     * @param elements An array of elements to push onto the stack and make into a new jQuery object.\n     */\n    pushStack(elements: any[]): JQuery;\n    /**\n     * Add a collection of DOM elements onto the jQuery stack.\n     * \n     * @param elements An array of elements to push onto the stack and make into a new jQuery object.\n     * @param name The name of a jQuery method that generated the array of elements.\n     * @param arguments The arguments that were passed in to the jQuery method (for serialization).\n     */\n    pushStack(elements: any[], name: string, arguments: any[]): JQuery;\n\n    /**\n     * Insert content, specified by the parameter, after each element in the set of matched elements.\n     * \n     * param content1 HTML string, DOM element, array of elements, or jQuery object to insert after each element in the set of matched elements.\n     * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert after each element in the set of matched elements.\n     */\n    after(content1: JQuery|any[]|Element|Text|string, ...content2: any[]): JQuery;\n    /**\n     * Insert content, specified by the parameter, after each element in the set of matched elements.\n     * \n     * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert after each element in the set of matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.\n     */\n    after(func: (index: number, html: string) => string|Element|JQuery): JQuery;\n\n    /**\n     * Insert content, specified by the parameter, to the end of each element in the set of matched elements.\n     * \n     * param content1 DOM element, array of elements, HTML string, or jQuery object to insert at the end of each element in the set of matched elements.\n     * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the end of each element in the set of matched elements.\n     */\n    append(content1: JQuery|any[]|Element|Text|string, ...content2: any[]): JQuery;\n    /**\n     * Insert content, specified by the parameter, to the end of each element in the set of matched elements.\n     * \n     * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert at the end of each element in the set of matched elements. Receives the index position of the element in the set and the old HTML value of the element as arguments. Within the function, this refers to the current element in the set.\n     */\n    append(func: (index: number, html: string) => string|Element|JQuery): JQuery;\n\n    /**\n     * Insert every element in the set of matched elements to the end of the target.\n     * \n     * @param target A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the end of the element(s) specified by this parameter.\n     */\n    appendTo(target: JQuery|any[]|Element|string): JQuery;\n\n    /**\n     * Insert content, specified by the parameter, before each element in the set of matched elements.\n     * \n     * param content1 HTML string, DOM element, array of elements, or jQuery object to insert before each element in the set of matched elements.\n     * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert before each element in the set of matched elements.\n     */\n    before(content1: JQuery|any[]|Element|Text|string, ...content2: any[]): JQuery;\n    /**\n     * Insert content, specified by the parameter, before each element in the set of matched elements.\n     * \n     * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert before each element in the set of matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.\n     */\n    before(func: (index: number, html: string) => string|Element|JQuery): JQuery;\n\n    /**\n     * Create a deep copy of the set of matched elements.\n     * \n     * param withDataAndEvents A Boolean indicating whether event handlers and data should be copied along with the elements. The default value is false.\n     * param deepWithDataAndEvents A Boolean indicating whether event handlers and data for all children of the cloned element should be copied. By default its value matches the first argument's value (which defaults to false).\n     */\n    clone(withDataAndEvents?: boolean, deepWithDataAndEvents?: boolean): JQuery;\n\n    /**\n     * Remove the set of matched elements from the DOM.\n     * \n     * param selector A selector expression that filters the set of matched elements to be removed.\n     */\n    detach(selector?: string): JQuery;\n\n    /**\n     * Remove all child nodes of the set of matched elements from the DOM.\n     */\n    empty(): JQuery;\n\n    /**\n     * Insert every element in the set of matched elements after the target.\n     * \n     * param target A selector, element, array of elements, HTML string, or jQuery object; the matched set of elements will be inserted after the element(s) specified by this parameter.\n     */\n    insertAfter(target: JQuery|any[]|Element|Text|string): JQuery;\n\n    /**\n     * Insert every element in the set of matched elements before the target.\n     * \n     * param target A selector, element, array of elements, HTML string, or jQuery object; the matched set of elements will be inserted before the element(s) specified by this parameter.\n     */\n    insertBefore(target: JQuery|any[]|Element|Text|string): JQuery;\n\n    /**\n     * Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.\n     * \n     * param content1 DOM element, array of elements, HTML string, or jQuery object to insert at the beginning of each element in the set of matched elements.\n     * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the beginning of each element in the set of matched elements.\n     */\n    prepend(content1: JQuery|any[]|Element|Text|string, ...content2: any[]): JQuery;\n    /**\n     * Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.\n     * \n     * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert at the beginning of each element in the set of matched elements. Receives the index position of the element in the set and the old HTML value of the element as arguments. Within the function, this refers to the current element in the set.\n     */\n    prepend(func: (index: number, html: string) => string|Element|JQuery): JQuery;\n\n    /**\n     * Insert every element in the set of matched elements to the beginning of the target.\n     * \n     * @param target A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the beginning of the element(s) specified by this parameter.\n     */\n    prependTo(target: JQuery|any[]|Element|string): JQuery;\n\n    /**\n     * Remove the set of matched elements from the DOM.\n     * \n     * @param selector A selector expression that filters the set of matched elements to be removed.\n     */\n    remove(selector?: string): JQuery;\n\n    /**\n     * Replace each target element with the set of matched elements.\n     * \n     * @param target A selector string, jQuery object, DOM element, or array of elements indicating which element(s) to replace.\n     */\n    replaceAll(target: JQuery|any[]|Element|string): JQuery;\n\n    /**\n     * Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.\n     * \n     * param newContent The content to insert. May be an HTML string, DOM element, array of DOM elements, or jQuery object.\n     */\n    replaceWith(newContent: JQuery|any[]|Element|Text|string): JQuery;\n    /**\n     * Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.\n     * \n     * param func A function that returns content with which to replace the set of matched elements.\n     */\n    replaceWith(func: () => Element|JQuery): JQuery;\n\n    /**\n     * Get the combined text contents of each element in the set of matched elements, including their descendants.\n     */\n    text(): string;\n    /**\n     * Set the content of each element in the set of matched elements to the specified text.\n     * \n     * @param text The text to set as the content of each matched element. When Number or Boolean is supplied, it will be converted to a String representation.\n     */\n    text(text: string|number|boolean): JQuery;\n    /**\n     * Set the content of each element in the set of matched elements to the specified text.\n     * \n     * @param func A function returning the text content to set. Receives the index position of the element in the set and the old text value as arguments.\n     */\n    text(func: (index: number, text: string) => string): JQuery;\n\n    /**\n     * Retrieve all the elements contained in the jQuery set, as an array.\n     */\n    toArray(): any[];\n\n    /**\n     * Remove the parents of the set of matched elements from the DOM, leaving the matched elements in their place.\n     */\n    unwrap(): JQuery;\n\n    /**\n     * Wrap an HTML structure around each element in the set of matched elements.\n     * \n     * @param wrappingElement A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements.\n     */\n    wrap(wrappingElement: JQuery|Element|string): JQuery;\n    /**\n     * Wrap an HTML structure around each element in the set of matched elements.\n     * \n     * @param func A callback function returning the HTML content or jQuery object to wrap around the matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.\n     */\n    wrap(func: (index: number) => string|JQuery): JQuery;\n\n    /**\n     * Wrap an HTML structure around all elements in the set of matched elements.\n     * \n     * @param wrappingElement A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements.\n     */\n    wrapAll(wrappingElement: JQuery|Element|string): JQuery;\n    wrapAll(func: (index: number) => string): JQuery;\n\n    /**\n     * Wrap an HTML structure around the content of each element in the set of matched elements.\n     * \n     * @param wrappingElement An HTML snippet, selector expression, jQuery object, or DOM element specifying the structure to wrap around the content of the matched elements.\n     */\n    wrapInner(wrappingElement: JQuery|Element|string): JQuery;\n    /**\n     * Wrap an HTML structure around the content of each element in the set of matched elements.\n     * \n     * @param func A callback function which generates a structure to wrap around the content of the matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.\n     */\n    wrapInner(func: (index: number) => string): JQuery;\n\n    /**\n     * Iterate over a jQuery object, executing a function for each matched element.\n     * \n     * @param func A function to execute for each matched element.\n     */\n    each(func: (index: number, elem: Element) => any): JQuery;\n\n    /**\n     * Retrieve one of the elements matched by the jQuery object.\n     * \n     * @param index A zero-based integer indicating which element to retrieve.\n     */\n    get(index: number): HTMLElement;\n    /**\n     * Retrieve the elements matched by the jQuery object.\n     */\n    get(): any[];\n\n    /**\n     * Search for a given element from among the matched elements.\n     */\n    index(): number;\n    /**\n     * Search for a given element from among the matched elements.\n     * \n     * @param selector A selector representing a jQuery collection in which to look for an element.\n     */\n    index(selector: string|JQuery|Element): number;\n\n    /**\n     * The number of elements in the jQuery object.\n     */\n    length: number;\n    /**\n     * A selector representing selector passed to jQuery(), if any, when creating the original set.\n     * version deprecated: 1.7, removed: 1.9\n     */\n    selector: string;\n    [index: string]: any;\n    [index: number]: HTMLElement;\n\n    /**\n     * Add elements to the set of matched elements.\n     * \n     * @param selector A string representing a selector expression to find additional elements to add to the set of matched elements.\n     * @param context The point in the document at which the selector should begin matching; similar to the context argument of the $(selector, context) method.\n     */\n    add(selector: string, context?: Element): JQuery;\n    /**\n     * Add elements to the set of matched elements.\n     * \n     * @param elements One or more elements to add to the set of matched elements.\n     */\n    add(...elements: Element[]): JQuery;\n    /**\n     * Add elements to the set of matched elements.\n     * \n     * @param html An HTML fragment to add to the set of matched elements.\n     */\n    add(html: string): JQuery;\n    /**\n     * Add elements to the set of matched elements.\n     * \n     * @param obj An existing jQuery object to add to the set of matched elements.\n     */\n    add(obj: JQuery): JQuery;\n\n    /**\n     * Get the children of each element in the set of matched elements, optionally filtered by a selector.\n     * \n     * @param selector A string containing a selector expression to match elements against.\n     */\n    children(selector?: string): JQuery;\n\n    /**\n     * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.\n     * \n     * @param selector A string containing a selector expression to match elements against.\n     */\n    closest(selector: string): JQuery;\n    /**\n     * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.\n     * \n     * @param selector A string containing a selector expression to match elements against.\n     * @param context A DOM element within which a matching element may be found. If no context is passed in then the context of the jQuery set will be used instead.\n     */\n    closest(selector: string, context?: Element): JQuery;\n    /**\n     * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.\n     * \n     * @param obj A jQuery object to match elements against.\n     */\n    closest(obj: JQuery): JQuery;\n    /**\n     * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.\n     * \n     * @param element An element to match elements against.\n     */\n    closest(element: Element): JQuery;\n\n    /**\n     * Get an array of all the elements and selectors matched against the current element up through the DOM tree.\n     * \n     * @param selectors An array or string containing a selector expression to match elements against (can also be a jQuery object).\n     * @param context A DOM element within which a matching element may be found. If no context is passed in then the context of the jQuery set will be used instead.\n     */\n    closest(selectors: any, context?: Element): any[];\n\n    /**\n     * Get the children of each element in the set of matched elements, including text and comment nodes.\n     */\n    contents(): JQuery;\n\n    /**\n     * End the most recent filtering operation in the current chain and return the set of matched elements to its previous state.\n     */\n    end(): JQuery;\n\n    /**\n     * Reduce the set of matched elements to the one at the specified index.\n     * \n     * @param index An integer indicating the 0-based position of the element. OR An integer indicating the position of the element, counting backwards from the last element in the set.\n     *  \n     */\n    eq(index: number): JQuery;\n\n    /**\n     * Reduce the set of matched elements to those that match the selector or pass the function's test.\n     * \n     * @param selector A string containing a selector expression to match the current set of elements against.\n     */\n    filter(selector: string): JQuery;\n    /**\n     * Reduce the set of matched elements to those that match the selector or pass the function's test.\n     * \n     * @param func A function used as a test for each element in the set. this is the current DOM element.\n     */\n    filter(func: (index: number, element: Element) => any): JQuery;\n    /**\n     * Reduce the set of matched elements to those that match the selector or pass the function's test.\n     * \n     * @param element An element to match the current set of elements against.\n     */\n    filter(element: Element): JQuery;\n    /**\n     * Reduce the set of matched elements to those that match the selector or pass the function's test.\n     * \n     * @param obj An existing jQuery object to match the current set of elements against.\n     */\n    filter(obj: JQuery): JQuery;\n\n    /**\n     * Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.\n     * \n     * @param selector A string containing a selector expression to match elements against.\n     */\n    find(selector: string): JQuery;\n    /**\n     * Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.\n     * \n     * @param element An element to match elements against.\n     */\n    find(element: Element): JQuery;\n    /**\n     * Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.\n     * \n     * @param obj A jQuery object to match elements against.\n     */\n    find(obj: JQuery): JQuery;\n\n    /**\n     * Reduce the set of matched elements to the first in the set.\n     */\n    first(): JQuery;\n\n    /**\n     * Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element.\n     * \n     * @param selector A string containing a selector expression to match elements against.\n     */\n    has(selector: string): JQuery;\n    /**\n     * Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element.\n     * \n     * @param contained A DOM element to match elements against.\n     */\n    has(contained: Element): JQuery;\n\n    /**\n     * Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.\n     * \n     * @param selector A string containing a selector expression to match elements against.\n     */\n    is(selector: string): boolean;\n    /**\n     * Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.\n     * \n     * @param func A function used as a test for the set of elements. It accepts one argument, index, which is the element's index in the jQuery collection.Within the function, this refers to the current DOM element.\n     */\n    is(func: (index: number, element: Element) => boolean): boolean;\n    /**\n     * Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.\n     * \n     * @param obj An existing jQuery object to match the current set of elements against.\n     */\n    is(obj: JQuery): boolean;\n    /**\n     * Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.\n     * \n     * @param elements One or more elements to match the current set of elements against.\n     */\n    is(elements: any): boolean;\n\n    /**\n     * Reduce the set of matched elements to the final one in the set.\n     */\n    last(): JQuery;\n\n    /**\n     * Pass each element in the current matched set through a function, producing a new jQuery object containing the return values.\n     * \n     * @param callback A function object that will be invoked for each element in the current set.\n     */\n    map(callback: (index: number, domElement: Element) => any): JQuery;\n\n    /**\n     * Get the immediately following sibling of each element in the set of matched elements. If a selector is provided, it retrieves the next sibling only if it matches that selector.\n     * \n     * @param selector A string containing a selector expression to match elements against.\n     */\n    next(selector?: string): JQuery;\n\n    /**\n     * Get all following siblings of each element in the set of matched elements, optionally filtered by a selector.\n     * \n     * @param selector A string containing a selector expression to match elements against.\n     */\n    nextAll(selector?: string): JQuery;\n\n    /**\n     * Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.\n     * \n     * @param selector A string containing a selector expression to indicate where to stop matching following sibling elements.\n     * @param filter A string containing a selector expression to match elements against.\n     */\n    nextUntil(selector?: string, filter?: string): JQuery;\n    /**\n     * Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.\n     * \n     * @param element A DOM node or jQuery object indicating where to stop matching following sibling elements.\n     * @param filter A string containing a selector expression to match elements against.\n     */\n    nextUntil(element?: Element, filter?: string): JQuery;\n    /**\n     * Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.\n     * \n     * @param obj A DOM node or jQuery object indicating where to stop matching following sibling elements.\n     * @param filter A string containing a selector expression to match elements against.\n     */\n    nextUntil(obj?: JQuery, filter?: string): JQuery;\n\n    /**\n     * Remove elements from the set of matched elements.\n     * \n     * @param selector A string containing a selector expression to match elements against.\n     */\n    not(selector: string): JQuery;\n    /**\n     * Remove elements from the set of matched elements.\n     * \n     * @param func A function used as a test for each element in the set. this is the current DOM element.\n     */\n    not(func: (index: number, element: Element) => boolean): JQuery;\n    /**\n     * Remove elements from the set of matched elements.\n     * \n     * @param elements One or more DOM elements to remove from the matched set.\n     */\n    not(...elements: Element[]): JQuery;\n    /**\n     * Remove elements from the set of matched elements.\n     * \n     * @param obj An existing jQuery object to match the current set of elements against.\n     */\n    not(obj: JQuery): JQuery;\n\n    /**\n     * Get the closest ancestor element that is positioned.\n     */\n    offsetParent(): JQuery;\n\n    /**\n     * Get the parent of each element in the current set of matched elements, optionally filtered by a selector.\n     * \n     * @param selector A string containing a selector expression to match elements against.\n     */\n    parent(selector?: string): JQuery;\n\n    /**\n     * Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector.\n     * \n     * @param selector A string containing a selector expression to match elements against.\n     */\n    parents(selector?: string): JQuery;\n\n    /**\n     * Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.\n     * \n     * @param selector A string containing a selector expression to indicate where to stop matching ancestor elements.\n     * @param filter A string containing a selector expression to match elements against.\n     */\n    parentsUntil(selector?: string, filter?: string): JQuery;\n    /**\n     * Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.\n     * \n     * @param element A DOM node or jQuery object indicating where to stop matching ancestor elements.\n     * @param filter A string containing a selector expression to match elements against.\n     */\n    parentsUntil(element?: Element, filter?: string): JQuery;\n    /**\n     * Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.\n     * \n     * @param obj A DOM node or jQuery object indicating where to stop matching ancestor elements.\n     * @param filter A string containing a selector expression to match elements against.\n     */\n    parentsUntil(obj?: JQuery, filter?: string): JQuery;\n\n    /**\n     * Get the immediately preceding sibling of each element in the set of matched elements, optionally filtered by a selector.\n     * \n     * @param selector A string containing a selector expression to match elements against.\n     */\n    prev(selector?: string): JQuery;\n\n    /**\n     * Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector.\n     * \n     * @param selector A string containing a selector expression to match elements against.\n     */\n    prevAll(selector?: string): JQuery;\n\n    /**\n     * Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.\n     * \n     * @param selector A string containing a selector expression to indicate where to stop matching preceding sibling elements.\n     * @param filter A string containing a selector expression to match elements against.\n     */\n    prevUntil(selector?: string, filter?: string): JQuery;\n    /**\n     * Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.\n     * \n     * @param element A DOM node or jQuery object indicating where to stop matching preceding sibling elements.\n     * @param filter A string containing a selector expression to match elements against.\n     */\n    prevUntil(element?: Element, filter?: string): JQuery;\n    /**\n     * Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.\n     * \n     * @param obj A DOM node or jQuery object indicating where to stop matching preceding sibling elements.\n     * @param filter A string containing a selector expression to match elements against.\n     */\n    prevUntil(obj?: JQuery, filter?: string): JQuery;\n\n    /**\n     * Get the siblings of each element in the set of matched elements, optionally filtered by a selector.\n     * \n     * @param selector A string containing a selector expression to match elements against.\n     */\n    siblings(selector?: string): JQuery;\n\n    /**\n     * Reduce the set of matched elements to a subset specified by a range of indices.\n     * \n     * @param start An integer indicating the 0-based position at which the elements begin to be selected. If negative, it indicates an offset from the end of the set.\n     * @param end An integer indicating the 0-based position at which the elements stop being selected. If negative, it indicates an offset from the end of the set. If omitted, the range continues until the end of the set.\n     */\n    slice(start: number, end?: number): JQuery;\n\n    /**\n     * Show the queue of functions to be executed on the matched elements.\n     * \n     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.\n     */\n    queue(queueName?: string): any[];\n    /**\n     * Manipulate the queue of functions to be executed, once for each matched element.\n     * \n     * @param newQueue An array of functions to replace the current queue contents.\n     */\n    queue(newQueue: Function[]): JQuery;\n    /**\n     * Manipulate the queue of functions to be executed, once for each matched element.\n     * \n     * @param callback The new function to add to the queue, with a function to call that will dequeue the next item.\n     */\n    queue(callback: Function): JQuery;\n    /**\n     * Manipulate the queue of functions to be executed, once for each matched element.\n     * \n     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.\n     * @param newQueue An array of functions to replace the current queue contents.\n     */\n    queue(queueName: string, newQueue: Function[]): JQuery;\n    /**\n     * Manipulate the queue of functions to be executed, once for each matched element.\n     * \n     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.\n     * @param callback The new function to add to the queue, with a function to call that will dequeue the next item.\n     */\n    queue(queueName: string, callback: Function): JQuery;\n}\ndeclare module \"jquery\" {\n    export = $;\n}\ndeclare var jQuery: JQueryStatic;\ndeclare var $: JQueryStatic;\n"
  },
  {
    "path": "Samples/Simple/Reinforced.Typings.Samples.Simple.Quickstart/Views/Home/Index.cshtml",
    "content": "﻿<div id=\"divInfo\"></div>\n<button id=\"btnRequest\">Request product info</button>\n<button id=\"btnSend\">Send product info</button>\n\n@section Scripts{\n    <script type=\"text/javascript\" src=\"@Url.Content(\"~/Scripts/app/HomeIndex.js\")\"></script>\n}"
  },
  {
    "path": "Samples/Simple/Reinforced.Typings.Samples.Simple.Quickstart/Views/Shared/_Layout.cshtml",
    "content": "﻿<!DOCTYPE html>\n\n<html>\n<head>\n    <meta name=\"viewport\" content=\"width=device-width\" />\n    <title>Reinforced.Typings Test Application</title>\n    <script type=\"text/javascript\" src=\"@Url.Content(\"~/Scripts/jquery-2.1.4.min.js\")\"></script>\n    @RenderSection(\"Scripts\", required: false)\n</head>\n<body>\n<div>\n    @RenderBody()\n</div>\n</body>\n</html>\n"
  },
  {
    "path": "Samples/Simple/Reinforced.Typings.Samples.Simple.Quickstart/Views/_ViewStart.cshtml",
    "content": "﻿@{\n    Layout = \"~/Views/Shared/_Layout.cshtml\";\n}\n"
  },
  {
    "path": "Samples/Simple/Reinforced.Typings.Samples.Simple.Quickstart/Views/web.config",
    "content": "﻿<?xml version=\"1.0\"?>\n\n<configuration>\n  <configSections>\n    <sectionGroup name=\"system.web.webPages.razor\" type=\"System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35\">\n      <section name=\"host\" type=\"System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35\" requirePermission=\"false\" />\n      <section name=\"pages\" type=\"System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35\" requirePermission=\"false\" />\n    </sectionGroup>\n  </configSections>\n\n  <system.web.webPages.razor>\n    <host factoryType=\"System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=5.2.2.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35\" />\n    <pages pageBaseType=\"System.Web.Mvc.WebViewPage\">\n      <namespaces>\n        <add namespace=\"System.Web.Mvc\" />\n        <add namespace=\"System.Web.Mvc.Ajax\" />\n        <add namespace=\"System.Web.Mvc.Html\" />\n        <add namespace=\"System.Web.Routing\" />\n        <add namespace=\"Reinforced.Typings.Samples.Simple.Quickstart\" />\n      </namespaces>\n    </pages>\n  </system.web.webPages.razor>\n\n  <appSettings>\n    <add key=\"webpages:Enabled\" value=\"false\" />\n  </appSettings>\n\n  <system.webServer>\n    <handlers>\n      <remove name=\"BlockViewHandler\"/>\n      <add name=\"BlockViewHandler\" path=\"*\" verb=\"*\" preCondition=\"integratedMode\" type=\"System.Web.HttpNotFoundHandler\" />\n    </handlers>\n  </system.webServer>\n</configuration>\n"
  },
  {
    "path": "Samples/Simple/Reinforced.Typings.Samples.Simple.Quickstart/Web.Debug.config",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n\n<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->\n\n<configuration xmlns:xdt=\"http://schemas.microsoft.com/XML-Document-Transform\">\n  <!--\n    In the example below, the \"SetAttributes\" transform will change the value of \n    \"connectionString\" to use \"ReleaseSQLServer\" only when the \"Match\" locator \n    finds an attribute \"name\" that has a value of \"MyDB\".\n    \n    <connectionStrings>\n      <add name=\"MyDB\" \n        connectionString=\"Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True\" \n        xdt:Transform=\"SetAttributes\" xdt:Locator=\"Match(name)\"/>\n    </connectionStrings>\n  -->\n  <system.web>\n    <!--\n      In the example below, the \"Replace\" transform will replace the entire \n      <customErrors> section of your web.config file.\n      Note that because there is only one customErrors section under the \n      <system.web> node, there is no need to use the \"xdt:Locator\" attribute.\n      \n      <customErrors defaultRedirect=\"GenericError.htm\"\n        mode=\"RemoteOnly\" xdt:Transform=\"Replace\">\n        <error statusCode=\"500\" redirect=\"InternalError.htm\"/>\n      </customErrors>\n    -->\n  </system.web>\n</configuration>"
  },
  {
    "path": "Samples/Simple/Reinforced.Typings.Samples.Simple.Quickstart/Web.Release.config",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n\n<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->\n\n<configuration xmlns:xdt=\"http://schemas.microsoft.com/XML-Document-Transform\">\n  <!--\n    In the example below, the \"SetAttributes\" transform will change the value of \n    \"connectionString\" to use \"ReleaseSQLServer\" only when the \"Match\" locator \n    finds an attribute \"name\" that has a value of \"MyDB\".\n    \n    <connectionStrings>\n      <add name=\"MyDB\" \n        connectionString=\"Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True\" \n        xdt:Transform=\"SetAttributes\" xdt:Locator=\"Match(name)\"/>\n    </connectionStrings>\n  -->\n  <system.web>\n    <compilation xdt:Transform=\"RemoveAttributes(debug)\" />\n    <!--\n      In the example below, the \"Replace\" transform will replace the entire \n      <customErrors> section of your web.config file.\n      Note that because there is only one customErrors section under the \n      <system.web> node, there is no need to use the \"xdt:Locator\" attribute.\n      \n      <customErrors defaultRedirect=\"GenericError.htm\"\n        mode=\"RemoteOnly\" xdt:Transform=\"Replace\">\n        <error statusCode=\"500\" redirect=\"InternalError.htm\"/>\n      </customErrors>\n    -->\n  </system.web>\n</configuration>"
  },
  {
    "path": "Samples/Simple/Reinforced.Typings.Samples.Simple.Quickstart/Web.config",
    "content": "﻿<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!--\n  For more information on how to configure your ASP.NET application, please visit\n  http://go.microsoft.com/fwlink/?LinkId=301880\n  -->\n<configuration>\n  <appSettings>\n    <add key=\"webpages:Version\" value=\"3.0.0.0\"/>\n    <add key=\"webpages:Enabled\" value=\"false\"/>\n    <add key=\"ClientValidationEnabled\" value=\"true\"/>\n    <add key=\"UnobtrusiveJavaScriptEnabled\" value=\"true\"/>\n  </appSettings>\n  <system.web>\n    <compilation debug=\"true\" targetFramework=\"4.5\"/>\n    <httpRuntime targetFramework=\"4.5\"/>\n  </system.web>\n  <runtime>\n    <assemblyBinding xmlns=\"urn:schemas-microsoft-com:asm.v1\">\n      <dependentAssembly>\n        <assemblyIdentity name=\"Microsoft.Owin\" publicKeyToken=\"31bf3856ad364e35\"/>\n        <bindingRedirect oldVersion=\"1.0.0.0-3.0.0.0\" newVersion=\"3.0.0.0\"/>\n      </dependentAssembly>\n      <dependentAssembly>\n        <assemblyIdentity name=\"Microsoft.Owin.Security.OAuth\" publicKeyToken=\"31bf3856ad364e35\"/>\n        <bindingRedirect oldVersion=\"1.0.0.0-3.0.0.0\" newVersion=\"3.0.0.0\"/>\n      </dependentAssembly>\n      <dependentAssembly>\n        <assemblyIdentity name=\"Microsoft.Owin.Security.Cookies\" publicKeyToken=\"31bf3856ad364e35\"/>\n        <bindingRedirect oldVersion=\"1.0.0.0-3.0.0.0\" newVersion=\"3.0.0.0\"/>\n      </dependentAssembly>\n      <dependentAssembly>\n        <assemblyIdentity name=\"Microsoft.Owin.Security\" publicKeyToken=\"31bf3856ad364e35\"/>\n        <bindingRedirect oldVersion=\"1.0.0.0-3.0.0.0\" newVersion=\"3.0.0.0\"/>\n      </dependentAssembly>\n      <dependentAssembly>\n        <assemblyIdentity name=\"Newtonsoft.Json\" culture=\"neutral\" publicKeyToken=\"30ad4fe6b2a6aeed\"/>\n        <bindingRedirect oldVersion=\"0.0.0.0-6.0.0.0\" newVersion=\"6.0.0.0\"/>\n      </dependentAssembly>\n      <dependentAssembly>\n        <assemblyIdentity name=\"System.Web.Optimization\" publicKeyToken=\"31bf3856ad364e35\"/>\n        <bindingRedirect oldVersion=\"1.0.0.0-1.1.0.0\" newVersion=\"1.1.0.0\"/>\n      </dependentAssembly>\n      <dependentAssembly>\n        <assemblyIdentity name=\"WebGrease\" publicKeyToken=\"31bf3856ad364e35\"/>\n        <bindingRedirect oldVersion=\"1.0.0.0-1.5.2.14234\" newVersion=\"1.5.2.14234\"/>\n      </dependentAssembly>\n      <dependentAssembly>\n        <assemblyIdentity name=\"System.Web.Helpers\" publicKeyToken=\"31bf3856ad364e35\"/>\n        <bindingRedirect oldVersion=\"1.0.0.0-3.0.0.0\" newVersion=\"3.0.0.0\"/>\n      </dependentAssembly>\n      <dependentAssembly>\n        <assemblyIdentity name=\"System.Web.WebPages\" publicKeyToken=\"31bf3856ad364e35\"/>\n        <bindingRedirect oldVersion=\"1.0.0.0-3.0.0.0\" newVersion=\"3.0.0.0\"/>\n      </dependentAssembly>\n      <dependentAssembly>\n        <assemblyIdentity name=\"System.Web.Mvc\" publicKeyToken=\"31bf3856ad364e35\"/>\n        <bindingRedirect oldVersion=\"1.0.0.0-5.2.2.0\" newVersion=\"5.2.2.0\"/>\n      </dependentAssembly>\n    </assemblyBinding>\n  </runtime>\n</configuration>\n"
  },
  {
    "path": "Samples/Simple/Reinforced.Typings.Samples.Simple.Quickstart/packages.config",
    "content": "﻿<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<packages>\n  <package id=\"jQuery\" version=\"2.1.4\" targetFramework=\"net45\" />\n  <package id=\"jquery.TypeScript.DefinitelyTyped\" version=\"2.2.8\" targetFramework=\"net45\" />\n  <package id=\"Microsoft.AspNet.Mvc\" version=\"5.2.2\" targetFramework=\"net45\" />\n  <package id=\"Microsoft.AspNet.Razor\" version=\"3.2.2\" targetFramework=\"net45\" />\n  <package id=\"Microsoft.AspNet.WebPages\" version=\"3.2.2\" targetFramework=\"net45\" />\n  <package id=\"Microsoft.Web.Infrastructure\" version=\"1.0.0.0\" targetFramework=\"net45\" />\n  <package id=\"Reinforced.Typings\" version=\"1.5.3\" targetFramework=\"net45\" />\n</packages>"
  },
  {
    "path": "TestFluentAssembly/Properties/AssemblyInfo.cs",
    "content": "﻿using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Information about an assembly is controlled through the following \n// set of attributes. Change these attribute values to modify the information\n// associated with an assembly.\n[assembly: AssemblyTitle(\"TestFluentAssembly\")]\n[assembly: AssemblyDescription(\"\")]\n[assembly: AssemblyConfiguration(\"\")]\n[assembly: AssemblyCompany(\"\")]\n[assembly: AssemblyProduct(\"TestFluentAssembly\")]\n[assembly: AssemblyCopyright(\"Copyright ©  2017\")]\n[assembly: AssemblyTrademark(\"\")]\n[assembly: AssemblyCulture(\"\")]\n\n// Setting ComVisible to false makes the types in this assembly not visible \n// to COM components.  If you need to access a type in this assembly from \n// COM, set the ComVisible attribute to true on that type.\n[assembly: ComVisible(false)]\n\n// The following GUID is for the ID of the typelib if this project is exposed to COM\n[assembly: Guid(\"e7e010d2-1ce5-4877-aba7-36ea8ec62118\")]\n\n// Version information for an assembly consists of the following four values:\n//\n//      Major Version\n//      Minor Version \n//      Build Number\n//      Revision\n//\n// You can specify all the values or you can default the Build and Revision Numbers \n// by using the '*' as shown below:\n// [assembly: AssemblyVersion(\"1.0.*\")]\n[assembly: AssemblyVersion(\"1.0.0.0\")]\n[assembly: AssemblyFileVersion(\"1.0.0.0\")]\n"
  },
  {
    "path": "TestFluentAssembly/TestFluentAssembly.Dev.csproj",
    "content": "<Project Sdk=\"Microsoft.NET.Sdk\">\n\n  <PropertyGroup>\n    <TargetFramework>net5.0</TargetFramework>\n    <AssemblyName>TestFluentAssembly</AssemblyName>\n  </PropertyGroup>\n\n  <ItemGroup>\n    <Compile Remove=\"Properties\\**\" />\n    <EmbeddedResource Remove=\"Properties\\**\" />\n    <None Remove=\"Properties\\**\" />\n  </ItemGroup>\n\n</Project>\n"
  },
  {
    "path": "TestFluentAssembly/TestFluentAssembly.NETCore.csproj",
    "content": "<Project Sdk=\"Microsoft.NET.Sdk\">\n  <PropertyGroup>\n    <Configuration Condition=\" '$(Configuration)' == '' \">Debug</Configuration>\n    <Platform Condition=\" '$(Platform)' == '' \">AnyCPU</Platform>\n    <ProjectGuid>{E7E010D2-1CE5-4877-ABA7-36EA8EC62118}</ProjectGuid>\n    <OutputType>Library</OutputType>\n    <AppDesignerFolder>Properties</AppDesignerFolder>\n    <RootNamespace>TestFluentAssembly</RootNamespace>\n    <AssemblyName>TestFluentAssembly</AssemblyName>\n    <TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp2.1;netcoreapp3.1;netcoreapp2.2</TargetFrameworks>\n    <FileAlignment>512</FileAlignment>\n  </PropertyGroup>\n  <PropertyGroup Condition=\" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' \">\n    <DebugSymbols>true</DebugSymbols>\n    <DebugType>full</DebugType>\n    <Optimize>false</Optimize>\n    <OutputPath>bin\\Debug\\</OutputPath>\n    <DefineConstants>DEBUG;TRACE</DefineConstants>\n    <ErrorReport>prompt</ErrorReport>\n    <WarningLevel>4</WarningLevel>\n  </PropertyGroup>\n  <PropertyGroup Condition=\" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' \">\n    <DebugType>pdbonly</DebugType>\n    <Optimize>true</Optimize>\n    <OutputPath>bin\\Release\\</OutputPath>\n    <DefineConstants>TRACE</DefineConstants>\n    <ErrorReport>prompt</ErrorReport>\n    <WarningLevel>4</WarningLevel>\n  </PropertyGroup>\n  <ItemGroup>\n    <Compile Remove=\"Properties\\AssemblyInfo.cs\" />\n  </ItemGroup>\n</Project>"
  },
  {
    "path": "TestFluentAssembly/TestFluentAssembly.csproj",
    "content": "﻿<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"14.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\n  <Import Project=\"$(MSBuildExtensionsPath)\\$(MSBuildToolsVersion)\\Microsoft.Common.props\" Condition=\"Exists('$(MSBuildExtensionsPath)\\$(MSBuildToolsVersion)\\Microsoft.Common.props')\" />\n  <PropertyGroup>\n    <Configuration Condition=\" '$(Configuration)' == '' \">Debug</Configuration>\n    <Platform Condition=\" '$(Platform)' == '' \">AnyCPU</Platform>\n    <ProjectGuid>{E7E010D2-1CE5-4877-ABA7-36EA8EC62118}</ProjectGuid>\n    <OutputType>Library</OutputType>\n    <AppDesignerFolder>Properties</AppDesignerFolder>\n    <RootNamespace>TestFluentAssembly</RootNamespace>\n    <AssemblyName>TestFluentAssembly</AssemblyName>\n    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>\n    <FileAlignment>512</FileAlignment>\n    <TargetFrameworkProfile />\n  </PropertyGroup>\n  <PropertyGroup Condition=\" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' \">\n    <DebugSymbols>true</DebugSymbols>\n    <DebugType>full</DebugType>\n    <Optimize>false</Optimize>\n    <OutputPath>bin\\Debug\\</OutputPath>\n    <DefineConstants>DEBUG;TRACE</DefineConstants>\n    <ErrorReport>prompt</ErrorReport>\n    <WarningLevel>4</WarningLevel>\n  </PropertyGroup>\n  <PropertyGroup Condition=\" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' \">\n    <DebugType>pdbonly</DebugType>\n    <Optimize>true</Optimize>\n    <OutputPath>bin\\Release\\</OutputPath>\n    <DefineConstants>TRACE</DefineConstants>\n    <ErrorReport>prompt</ErrorReport>\n    <WarningLevel>4</WarningLevel>\n  </PropertyGroup>\n  <ItemGroup>\n    <Reference Include=\"System\" />\n    <Reference Include=\"System.Core\" />\n    <Reference Include=\"System.Xml.Linq\" />\n    <Reference Include=\"System.Data.DataSetExtensions\" />\n    <Reference Include=\"Microsoft.CSharp\" />\n    <Reference Include=\"System.Data\" />\n    <Reference Include=\"System.Net.Http\" />\n    <Reference Include=\"System.Xml\" />\n  </ItemGroup>\n  <ItemGroup>\n    <Compile Include=\"Properties\\AssemblyInfo.cs\" />\n    <Compile Include=\"TwoInterfaces.cs\" />\n  </ItemGroup>\n  <Import Project=\"$(MSBuildToolsPath)\\Microsoft.CSharp.targets\" />\n  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. \n       Other similar extension points exist, see Microsoft.Common.targets.\n  <Target Name=\"BeforeBuild\">\n  </Target>\n  <Target Name=\"AfterBuild\">\n  </Target>\n  -->\n</Project>"
  },
  {
    "path": "TestFluentAssembly/TwoInterfaces.cs",
    "content": "﻿using System.IO;\n\nnamespace TestFluentAssembly.TwoInterfaces\n{\n    public interface IInterface1\n    {\n        IInterface2 Iface2 { get; }\n    }\n\n    public interface IInterface2\n    {\n\n    }\n}\n"
  },
  {
    "path": "cake/.config/dotnet-tools.json",
    "content": "{\r\n  \"version\": 1,\r\n  \"isRoot\": true,\r\n  \"tools\": {\r\n    \"cake.tool\": {\r\n      \"version\": \"5.0.0\",\r\n      \"commands\": [\r\n        \"dotnet-cake\"\r\n      ],\r\n      \"rollForward\": false\r\n    }\r\n  }\r\n}"
  },
  {
    "path": "cake/.gitignore",
    "content": "tools/"
  },
  {
    "path": "cake/build.cake",
    "content": "#addin nuget:https://api.nuget.org/v3/index.json?package=Cake.FileHelpers&version=5.0.0\r\n#tool nuget:?package=NuGet.CommandLine&version=6.4.0\r\n\r\nvar target = Argument(\"target\", \"Build\");\r\nconst string version = \"1.6.7\";\r\n\r\nTask(\"Clean\")\r\n  .Does(() =>\r\n{\r\n  CleanDirectories(\"../Reinforced.Typings*/**/bin\");\r\n  CleanDirectories(\"../Reinforced.Typings*/**/obj\");\r\n\r\n  Information(\"Clean completed\");\r\n});\r\n\r\nconst string packageRoot = \"../package\";\r\nconst string licenseRoot = \"../package/license\";\r\nconst string toolsPath = \"../package/tools\";\r\nconst string contentPath = \"../package/content\";\r\nconst string buildPath = \"../package/build\";\r\nconst string multiTargetPath = \"../package/buildMultiTargeting\";\r\nconst string libPath = \"../package/lib\";\r\nconst string RELEASE = \"Release\";\r\nconst string NETCORE22 = \"netcoreapp2.2\";\r\nconst string NETCORE21 = \"netcoreapp2.1\";\r\nconst string NETSTANDARD16 = \"netstandard1.6\";\r\nconst string NETSTANDARD15 = \"netstandard1.5\";\r\nconst string NETSTANDARD20 = \"netstandard2.0\";\r\nconst string NETCORE31 = \"netcoreapp3.1\";\r\nconst string NETCORE30 = \"netcoreapp3.0\";\r\nconst string NETCORE20 = \"netcoreapp2.0\";\r\nconst string NETCORE10 = \"netcoreapp1.0\";\r\nconst string NETCORE11 = \"netcoreapp1.1\";\r\nconst string NET461 = \"net461\";\r\nconst string NET46 = \"net46\";\r\nconst string NET45 = \"net45\";\r\nconst string NET50 = \"net5.0\";\r\nconst string NET60 = \"net6.0\";\r\nconst string NET70 = \"net7.0\";\r\nconst string NET80 = \"net8.0\";\r\nconst string NET90 = \"net9.0\";\r\nconst string NET100 = \"net10.0\";\r\n\r\nvar cliFrameworks = new[] { NETCORE10, NETCORE11, NET45, NET461,NETCORE20,NETCORE21,NETCORE22,NETCORE30,NETCORE31, NET50, NET60, NET70, NET80, NET90, NET100 };\r\nvar rtFrameworks = new[]  { NETCORE10, NETCORE11, NETSTANDARD15,NETSTANDARD20,NETCORE20,NETCORE21,NETCORE22,NETCORE30,NETCORE31,NET45, NET461, NET50, NET60, NET70, NET80, NET90, NET100};\r\nvar taskFrameworks = new[] { NET46, NETSTANDARD20 };\r\n\r\nvar netCore = new HashSet<string>(new[]{NETSTANDARD15,NETSTANDARD20,NETCORE10,NETCORE11,NETCORE20,NETCORE21,NETCORE22,NETCORE30,NETCORE31,NET50,NET60,NET70,NET80,NET90,NET100});\r\nvar netCoreApp = new HashSet<string>(new[]{NETCORE20,NETCORE21,NETCORE22,NETCORE30,NETCORE31,NET50,NET60,NET70,NET80,NET90,NET100});\r\n\r\nconst string CliNetCoreProject = \"../Reinforced.Typings.Cli/Reinforced.Typings.Cli.NETCore.csproj\";\r\nconst string RtNetCoreProject = \"../Reinforced.Typings/Reinforced.Typings.NETCore.csproj\";\r\nconst string IntegrateProject = \"../Reinforced.Typings.Integrate/Reinforced.Typings.Integrate.NETCore.csproj\";\r\nconst string tfParameter = \"TargetFrameworks\";\r\nstring tfRgx = $\"<{tfParameter}>[a-zA-Z0-9;.]*</{tfParameter}>\"; \r\nconst string tfSingleParameter = \"TargetFramework\";\r\nstring tfsRgx = $\"<{tfSingleParameter}>[a-zA-Z0-9;.]*</{tfSingleParameter}>\"; \r\n\r\nTask(\"Reset\")\r\n  .IsDependentOn(\"UpdateVersions\")\r\n  .Description(\"Resets target frameworks\")\r\n  .Does(() =>\r\n{\r\n\tvar fw = NET461;\r\n\tReplaceRegexInFiles(CliNetCoreProject,tfRgx,$\"<{tfParameter}>{fw}</{tfParameter}>\");       \r\n    ReplaceRegexInFiles(RtNetCoreProject,tfRgx,$\"<{tfParameter}>{fw}</{tfParameter}>\"); \r\n    ReplaceRegexInFiles(CliNetCoreProject,tfsRgx,$\"<{tfSingleParameter}>{fw}</{tfSingleParameter}>\");       \r\n    ReplaceRegexInFiles(RtNetCoreProject,tfsRgx,$\"<{tfSingleParameter}>{fw}</{tfSingleParameter}>\"); \r\n});\r\n\r\nTask(\"PackageClean\")\r\n  .Description(\"Cleaning temporary package folder\")\r\n  .Does(() =>\r\n{\r\n  CleanDirectory(packageRoot); EnsureDirectoryExists(packageRoot);\r\n  CleanDirectory(licenseRoot); EnsureDirectoryExists(licenseRoot);\r\n  CleanDirectory(toolsPath); EnsureDirectoryExists(toolsPath);\r\n  CleanDirectory(contentPath); EnsureDirectoryExists(contentPath);\r\n  CleanDirectory(buildPath); EnsureDirectoryExists(buildPath);\r\n  CleanDirectory(multiTargetPath); EnsureDirectoryExists(multiTargetPath);\r\n  CleanDirectory(libPath); EnsureDirectoryExists(libPath);\r\n});\r\n\r\nTask(\"UpdateVersions\")\r\n.Description(\"Updating assembly/file versions\")\r\n.Does(()=>{\r\n // Update versions\r\n  foreach(var p in new[]{CliNetCoreProject,RtNetCoreProject,IntegrateProject}){\r\n    foreach(var par in new[]{\"AssemblyVersion\",\"FileVersion\",\"InformationalVersion\"}){\r\n      var rgx = $\"<{par}>[0-9.]*</{par}>\";\r\n      ReplaceRegexInFiles(p,rgx,$\"<{par}>{version}</{par}>\");\r\n    }    \r\n  }\r\n});\r\n\r\nTask(\"BuildIntegrate\")\r\n.Description(\"Building RT's integration MSBuild task\")\r\n.Does(()=>{\r\n  foreach(var fw in taskFrameworks){\r\n\t  DotNetMSBuildSettings mbs = null;\r\n          \r\n      if (netCore.Contains(fw)){\r\n\t\tvar ac = \"NETCORE;\" + fw.ToUpperInvariant().Replace(\".\",\"_\");\r\n\t\tif (netCoreApp.Contains(fw)) ac += \";NETCORE_APP\";\r\n        mbs = new DotNetMSBuildSettings()\r\n          .WithProperty(\"RtAdditionalConstants\",ac)\r\n          .WithProperty(\"RtNetCore\",\"True\");\r\n      }\r\n    DotNetPublish(IntegrateProject, new DotNetPublishSettings\r\n    {\r\n      Verbosity = DotNetVerbosity.Quiet,\r\n      Configuration = RELEASE,\t  \r\n      MSBuildSettings = mbs,\r\n      OutputDirectory = System.IO.Path.Combine(buildPath, fw),      \r\n      Framework = fw\r\n    });    \r\n    \r\n  }  \r\n  \r\n});\r\n\r\nTask(\"Build\")\r\n  .IsDependentOn(\"Clean\")\r\n  .IsDependentOn(\"PackageClean\")\r\n  .IsDependentOn(\"UpdateVersions\")\r\n  .IsDependentOn(\"BuildIntegrate\")\r\n  .Does(() =>\r\n{\r\n  // Build various versions of CLI tool\r\n  foreach(var fw in cliFrameworks){\r\n      Information(\"---------\");\r\n      Information(\"Building CLI for {0}\",fw);\r\n      Information(\"---------\");\r\n\r\n      ReplaceRegexInFiles(CliNetCoreProject,tfRgx,$\"<{tfParameter}>{fw}</{tfParameter}>\");       \r\n      ReplaceRegexInFiles(RtNetCoreProject,tfRgx,$\"<{tfParameter}>{fw}</{tfParameter}>\"); \r\n      ReplaceRegexInFiles(CliNetCoreProject,tfsRgx,$\"<{tfSingleParameter}>{fw}</{tfSingleParameter}>\");       \r\n      ReplaceRegexInFiles(RtNetCoreProject,tfsRgx,$\"<{tfSingleParameter}>{fw}</{tfSingleParameter}>\"); \r\n\r\n      DotNetMSBuildSettings mbs = null;\r\n          \r\n      if (netCore.Contains(fw)){\r\n\t\tvar ac = \"NETCORE;\" + fw.ToUpperInvariant().Replace(\".\",\"_\");\r\n\t\tif (netCoreApp.Contains(fw)) ac += \";NETCORE_APP\";\r\n        mbs = new DotNetMSBuildSettings()\r\n          .WithProperty(\"RtAdditionalConstants\",ac)\r\n          .WithProperty(\"RtNetCore\",\"True\");\r\n      }\r\n      DotNetPublish(CliNetCoreProject, new DotNetPublishSettings {  \r\n        Configuration = RELEASE, \r\n        MSBuildSettings = mbs,\r\n        Framework = fw,\r\n        Verbosity = DotNetVerbosity.Quiet,\r\n        OutputDirectory = System.IO.Path.Combine(toolsPath, fw)        \r\n      });\r\n  }\r\n\r\n\r\n  // Build various versions of lib\r\n  foreach(var fw in rtFrameworks){\r\n      Information(\"---------\");\r\n      Information(\"Building lib for {0}\",fw);\r\n      Information(\"---------\");\r\n\r\n      ReplaceRegexInFiles(RtNetCoreProject,tfRgx,$\"<{tfParameter}>{fw}</{tfParameter}>\");  \r\n      ReplaceRegexInFiles(RtNetCoreProject,tfsRgx,$\"<{tfSingleParameter}>{fw}</{tfSingleParameter}>\"); \r\n      \r\n      var mbs = new DotNetMSBuildSettings()\r\n          .WithProperty(\"DocumentationFile\",$@\"bin\\Release\\{fw}\\Reinforced.Typings.xml\");\r\n\r\n      if (netCore.Contains(fw)){\r\n\t\tvar ac = \"NETCORE;\" + fw.ToUpperInvariant().Replace(\".\",\"_\");\r\n\t\tif (netCoreApp.Contains(fw)) ac += \";NETCORE_APP\";\r\n        mbs = mbs\r\n          .WithProperty(\"RtAdditionalConstants\",ac)\r\n          .WithProperty(\"RtNetCore\",\"True\");\r\n      }\r\n     DotNetPublish(RtNetCoreProject, new DotNetPublishSettings {  \r\n        Configuration = RELEASE,\r\n        MSBuildSettings = mbs,    \r\n        Framework = fw,\r\n        Verbosity = DotNetVerbosity.Quiet,\r\n        OutputDirectory = System.IO.Path.Combine(libPath, fw)\r\n      });\r\n  }\r\n\r\n  \r\n  \r\n  Information(\"---------\");\r\n  Information(\"Copying build stuff\");\r\n  Information(\"---------\");\r\n\r\n  // Copy build stuff\r\n  CopyFileToDirectory(\"../stuff/Reinforced.Typings.settings.xml\", contentPath);\r\n  CopyFileToDirectory(\"../stuff/Reinforced.Typings.targets\", buildPath);\r\n  CopyFileToDirectory(\"../stuff/Reinforced.Typings.Multi.targets\", multiTargetPath);\r\n\r\n  Information(\"---------\");\r\n  Information(\"Writing readme\");\r\n  Information(\"---------\");\r\n  \r\n  CopyFileToDirectory(\"../stuff/license.txt\", licenseRoot);\r\n\r\n  // Copy readme with actual version of Reinforced.Typings.settings.xml\r\n  CopyFileToDirectory(\"../stuff/readme.txt\", packageRoot);\r\n  CopyFileToDirectory(\"../icon.png\", packageRoot);\r\n  using(var tr = System.IO.File.OpenRead(\"../stuff/Reinforced.Typings.settings.xml\"))\r\n  using(var tw = new System.IO.FileStream(System.IO.Path.Combine(packageRoot,\"readme.txt\"),FileMode.Append))\r\n  {\r\n    tr.CopyTo(tw);\r\n  }\r\n\r\n  Information(\"---------\");\r\n  Information(\"Updating nuspec\");\r\n  Information(\"---------\");\r\n  // Copy nuspec\r\n  CopyFileToDirectory(\"../stuff/Reinforced.Typings.nuspec\", packageRoot);\r\n  \r\n  var rn = string.Empty;\r\n  if (System.IO.File.Exists(System.IO.Path.Combine(\"../stuff/relnotes\", version) + \".md\")){\r\n        rn = System.IO.File.ReadAllText(System.IO.Path.Combine(\"../stuff/relnotes\", version) + \".md\");\r\n  }\r\n\r\n  Information(\"---------\");\r\n  Information(\"Packaging\");\r\n  Information(\"---------\");  \r\n\r\n  NuGetPack(\"../package/Reinforced.Typings.nuspec\",new NuGetPackSettings(){\r\n    ReleaseNotes = new List<string>() { rn },\r\n    Version = version,\r\n    OutputDirectory = \"../\"\r\n  });  \r\n  Information(\"Build complete\");\r\n});\r\n\r\nRunTarget(target);"
  },
  {
    "path": "stuff/Reinforced.Typings.Multi.targets",
    "content": "<Project xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\n    <Import Project=\"..\\build\\Reinforced.Typings.targets\" />\n</Project>"
  },
  {
    "path": "stuff/Reinforced.Typings.nuspec",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<package>\r\n    <metadata minClientVersion=\"2.12\">\r\n        <id>Reinforced.Typings</id>        \r\n        <title>Reinforced.Typings</title>\r\n        <authors>Pavel B. Novikov and contributors</authors>\r\n        <owners>Pavel B. Novikov</owners>\r\n        <projectUrl>https://github.com/reinforced/Reinforced.Typings</projectUrl>\r\n        <iconUrl>https://raw.githubusercontent.com/reinforced/Reinforced.Typings/master/icon.png</iconUrl>\r\n\t\t<icon>icon.png</icon>\r\n        <requireLicenseAcceptance>false</requireLicenseAcceptance>\r\n        <description>Reinforced.Typings is automated, reflection-based glue code generator for TypeScript. It is MSBuild-integrated and can generate MVC/WebAPI services glue code, JSDOC and architecture mockups from your assemblies.</description>\r\n        <summary>Automated, reflection-based glue code generator for TypeScript</summary>\r\n        <copyright>© 2023 Pavel B. Novikov</copyright>\r\n        <language>en-US</language>\t\t\r\n        <tags>mvc web typescript</tags>\r\n\t\t<license type=\"expression\">MIT</license>\t\r\n        <dependencies>\r\n          <group targetFramework=\"net45\" />\r\n\t\t  <group targetFramework=\"net461\" />\r\n          <group targetFramework=\"netstandard1.5\">\r\n            <dependency id=\"System.Runtime.Loader\" version=\"4.3.0\" exclude=\"Build,Analyzers\" />\r\n            <dependency id=\"NETStandard.Library\" version=\"1.6.1\" exclude=\"Build,Analyzers\" />\r\n            <dependency id=\"System.Xml.XmlSerializer\" version=\"4.3.0\" exclude=\"Build,Analyzers\" />                 \r\n          </group>\r\n          <group targetFramework=\"netcoreapp1.0\">\r\n            <dependency id=\"Microsoft.NETCore.App\" version=\"1.0.5\" exclude=\"Build,Analyzers\" />\r\n            <dependency id=\"System.Xml.XmlSerializer\" version=\"4.3.0\" exclude=\"Build,Analyzers\" />\r\n            <dependency id=\"System.Runtime.Loader\" version=\"4.3.0\" exclude=\"Build,Analyzers\" />\r\n          </group>  \r\n\t\t\t<group targetFramework=\"netcoreapp1.1\">\r\n            <dependency id=\"Microsoft.NETCore.App\" version=\"1.0.5\" exclude=\"Build,Analyzers\" />\r\n            <dependency id=\"System.Xml.XmlSerializer\" version=\"4.3.0\" exclude=\"Build,Analyzers\" />\r\n            <dependency id=\"System.Runtime.Loader\" version=\"4.3.0\" exclude=\"Build,Analyzers\" />\r\n          </group>  \t\t  \r\n          <group targetFramework=\"netcoreapp2.0\">\r\n            <dependency id=\"System.Runtime.Loader\" version=\"4.3.0\" exclude=\"Build,Analyzers\" />\r\n            <dependency id=\"Microsoft.NETCore.App\" version=\"2.0.0\" exclude=\"Build,Analyzers\" />\r\n            <dependency id=\"System.Xml.XmlSerializer\" version=\"4.3.0\" exclude=\"Build,Analyzers\" />\r\n          </group>\r\n\t\t  <group targetFramework=\"netcoreapp2.1\">\r\n            <dependency id=\"System.Runtime.Loader\" version=\"4.3.0\" exclude=\"Build,Analyzers\" />\r\n            <dependency id=\"Microsoft.NETCore.App\" version=\"2.0.0\" exclude=\"Build,Analyzers\" />\r\n            <dependency id=\"System.Xml.XmlSerializer\" version=\"4.3.0\" exclude=\"Build,Analyzers\" />\r\n          </group>\r\n\t\t  <group targetFramework=\"netcoreapp2.2\">\r\n            <dependency id=\"System.Runtime.Loader\" version=\"4.3.0\" exclude=\"Build,Analyzers\" />\r\n            <dependency id=\"Microsoft.NETCore.App\" version=\"2.0.0\" exclude=\"Build,Analyzers\" />\r\n            <dependency id=\"System.Xml.XmlSerializer\" version=\"4.3.0\" exclude=\"Build,Analyzers\" />\r\n          </group>\r\n          <group targetFramework=\"netstandard2.0\">\r\n            <dependency id=\"System.Runtime.Loader\" version=\"4.3.0\" exclude=\"Build,Analyzers\" />\r\n            <dependency id=\"System.Xml.XmlSerializer\" version=\"4.3.0\" exclude=\"Build,Analyzers\" />            \r\n          </group>\r\n          <group targetFramework=\"netcoreapp3.0\">\r\n\t\t\t<dependency id=\"System.Runtime.Loader\" version=\"4.3.0\" exclude=\"Build,Analyzers\" />\r\n            <dependency id=\"System.Xml.XmlSerializer\" version=\"4.3.0\" exclude=\"Build,Analyzers\" />  \r\n\t\t  </group>\r\n\t\t  <group targetFramework=\"netcoreapp3.1\">\r\n\t\t\t<dependency id=\"System.Runtime.Loader\" version=\"4.3.0\" exclude=\"Build,Analyzers\" />\r\n            <dependency id=\"System.Xml.XmlSerializer\" version=\"4.3.0\" exclude=\"Build,Analyzers\" />  \r\n\t\t  </group>          \r\n\t\t  <group targetFramework=\"net5.0\" />\r\n\t\t  <group targetFramework=\"net6.0\" />\r\n\t\t  <group targetFramework=\"net7.0\" />\r\n\t\t  <group targetFramework=\"net8.0\" />\r\n\t\t  <group targetFramework=\"net9.0\" />\r\n\t\t  <group targetFramework=\"net10.0\" />\r\n        </dependencies>\r\n        <frameworkAssemblies>\r\n            <frameworkAssembly assemblyName=\"Microsoft.Build\" targetFramework=\".NETFramework4.5\" />\r\n            <frameworkAssembly assemblyName=\"Microsoft.Build.Framework\" targetFramework=\".NETFramework4.5\" />\r\n            <frameworkAssembly assemblyName=\"Microsoft.Build.Tasks.v4.0\" targetFramework=\".NETFramework4.5\" />\r\n            <frameworkAssembly assemblyName=\"Microsoft.Build.Utilities.v4.0\" targetFramework=\".NETFramework4.5\" />\r\n        </frameworkAssemblies>        \r\n    </metadata>    \r\n\t<files>        \r\n        <file src=\"readme.txt\" target=\"\" />\r\n\t\t<file src=\"icon.png\" target=\"\" />\r\n\t\t<file src=\"lib\\**\" target=\"lib\" />\r\n\t\t<file src=\"tools\\**\" target=\"tools\" />        \r\n\t\t<file src=\"build\\**\" target=\"build\" />\r\n\t</files>\r\n</package>\r\n"
  },
  {
    "path": "stuff/Reinforced.Typings.settings.xml",
    "content": "﻿<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"4.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\n\t<!-- \n\t\tHi! This is settings file for Reinforced.Typings.\n\t\tSince Reinforced.Typings is not a framework itself but build process extension,\n\t\ttherefore settings file is basically piece of MSBuild script.\n\t\tThis file is being imported to your .csproj during each build the same way\n\t\tas Reinforced.Typings.targets that is located in its package /build directory.\n\t\t\n\t\tReinforced.Typings has completely few parameters. So, here we go.\n\t-->\n\t\n\t<PropertyGroup>\n\t\n\t\t<!-- \n\t\t\tThis property points target file where to put generated sources. \n\t\t\tIt is not used if RtDivideTypesAmongFiles='true' specified.\n\t\t\tImportant! Do not forget to include generated file to solution.\n\t\t-->\n\t\t<RtTargetFile>$(ProjectDir)Scripts\\project.ts</RtTargetFile>\n\t\t\n\t\t<!--\n\t\t\tThis property sets RT configuration method for fluent configuration.\n\t\t\tIf you dont want to use attributes for some reason then here you can\n\t\t\tspecify full-qualified configuration method name (including namespace, \n\t\t\ttype and method name, e.g. My.Assembly.Configuration.ConfigureTypings) \n\t\t\tof method that consumes Reinforce.Typings.Fluent.ConfigurationBuilder type\n\t\t\tand is void (nothing returns). This method will be executed to build \n\t\t\ttypes exporting configuration in fluent manner.\n\t\t\tSurely you can continue using attributes. Also fluent configuration methods\n\t\t\tcould not provide a way to configure some specific things (generics parameters\n\t\t\toverride and classes' TsBaseParam). However in this case fluent configuration\n\t\t\twould be preferred. It means that if member configuration is supplied both \n\t\t\tin attributes and in fluent methods then configuration from fluent methods will\n\t\t\tbe used.\n\t\t-->\n\t\t<RtConfigurationMethod></RtConfigurationMethod>\n\t\t\n\t\t<!--\n\t\t\tBy default all of your typings will be located in single file specified by RtTargetFile.\n\t\t\tIt may be heavy for large projects because you will get single large file containing signinficant\n\t\t\tpart of TS sources. It could lead to various problems (e.g. monstrous SCM merges). \n\t\t\tSo here we have RtDivideTypesAmongFiles parameter that will make Reinforced.Typings \n\t\t\tgenerate TS sources in C#/Java/somewhat-OO-language-manner (class per file) when set to true.\n\t\t\t\n\t\t\tImportant! In case of using this setting, do not forget to add generated files to solution manually.\n\t\t-->\n\t\t<RtDivideTypesAmongFiles>false</RtDivideTypesAmongFiles>\n\t\t\n\t\t<!--\n\t\t\t... and if you use RtDivideTypesAmongFiles then please specify target directory\n\t\t\twhere to put all generated stuff. Reinforced.Typings will automatically create\n\t\t\tdirectories structure according to used namespaces.\n\t\t\tNote that in case of using RtDivideTypesAmongFiles, RtTargetFile parameter will \n\t\t\tNOT be used anymore.\n\t\t-->\n\t\t<RtTargetDirectory>$(ProjectDir)Scripts\\MyApplication</RtTargetDirectory>\n\t\t\n\t\t\n\t\t<!--\n\t\t\tDisables typescript compilation in solution. \n\t\t\tUse it when your TypeScripts are broken and you need to rebuild project and then regenerate typings \n\t\t\tto fix it, but TypeScript compilation fails and failing project build. This option will temporary \n\t\t\tdisable typescripts build.\n\t\t-->\n\t\t<RtBypassTypeScriptCompilation>false</RtBypassTypeScriptCompilation>\t\t\t\t\n\t\t\n\t\t<!--\n\t\t\tDisables Reinforced.Typings generation on build. Use it when it is necessary to temporary disable \n\t\t\ttypings generation.\n\t\t-->\n\t\t<RtDisable>false</RtDisable>\n\n\t\t<!--\n\t\t\tForces RT to use specified target framework.\n\t\t\tUse this parameter if your RT is experiencing some problems with identifying framework version to use.\n\t\t\tAvailable values: \n\t\t\t\tnet45, net461, netcoreapp1.0, netcoreapp1.1, netcoreapp2.0, netcoreapp2.1, netcoreapp2.2\n\t\t-->\n\t\t<!-- <RtForceTargetFramework>netcoreapp2.2</RtForceTargetFramework>\t-->\t\n\t\t\n\t\t<!--\n\t\t\tWarnings to suppress during export process. \n\t\t\tSemicolon-separated values. All non-numbers will be discarder during parsing, so it\n\t\t\tcan be specified in any convenient format. E.g: RTW001;2;3.\n\t\t\tHm... seems that I know what to put here by default...\n\t\t-->\n\t\t<RtSuppress>RTW0013;RTW0014</RtSuppress>\n\t</PropertyGroup>\n\t\n\t<!--\n\t\tIf you want Reinforced.Typings to lookup for attributed classes not only current\n\t\tproject's assembly but also another assembly then you can specify it in RtAdditionalAssembly\n\t\titem group. \n\t\t\n\t\tReinforced.Typings receives reference assemblies list from CoreCompile task so you\n\t\tcan specify here assemblies from your project's references (with or without .dll extension).\n\t\tIf desired assembly is not in references list of current project then you will have\n\t\tto specify full path to it.\n\t\n\t<ItemGroup>\n\t\t<RtAdditionalAssembly Include=\"My.Project.Assembly\"/>\n\t\t<RtAdditionalAssembly Include=\"My.Project.Assembly.dll\"/>\n\t\t<RtAdditionalAssembly Include=\"C:\\Full\\Path\\To\\Assembly\\My.Project.Assembly.dll\"/>\n\t\t<RtAdditionalAssembly Include=\"$(SolutionDir)\\AnotherProject\\bin\\Debug\\AnotherProject.dll\"/>\n\t</ItemGroup>\n\t-->\n</Project>"
  },
  {
    "path": "stuff/Reinforced.Typings.targets",
    "content": "<Project DefaultTargets=\"Build\" xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\n\t<PropertyGroup Condition=\"'$(RtSettingsXml)' == ''\">\n\t\t<RtSettingsXml Condition=\"HasTrailingSlash('$(ProjectDir)')\">$(ProjectDir)Reinforced.Typings.settings.xml</RtSettingsXml>\n\t\t<RtSettingsXml Condition=\"!HasTrailingSlash('$(ProjectDir)')\">$(ProjectDir)\\Reinforced.Typings.settings.xml</RtSettingsXml>\n\t</PropertyGroup>\n\n    <PropertyGroup>\n\t\t<RtTargetsPath Condition=\" '$(MSBuildRuntimeType)' == 'Core'\">netstandard2.0</RtTargetsPath>\n\t\t<RtTargetsPath Condition=\" '$(MSBuildRuntimeType)' != 'Core'\">net46</RtTargetsPath>\n\t</PropertyGroup>\n    \n\t<PropertyGroup Condition=\"Exists($(RtSettingsXml))\" >\n\t\t<TargetsTriggeredByCompilation>\n\t\t\t$(TargetsTriggeredByCompilation);ReinforcedTypingsGenerate;\n\t\t</TargetsTriggeredByCompilation>\t\t\n\n\t\t<BuildDependsOn>\n\t\t\tConditionallyDisableTypeScriptCompilation;\n\t\t\tConditionallyShowDisabledWarning;\n\t\t\t$(BuildDependsOn);\n\t\t</BuildDependsOn>\n\t</PropertyGroup>\n\t<ImportGroup Condition=\"Exists($(RtSettingsXml))\"> \n\t\t<Import Project=\"$(RtSettingsXml)\" />\n\t</ImportGroup>\n    \n    \n\t<UsingTask TaskName=\"Reinforced.Typings.Integrate.RtCli\" AssemblyFile=\"$(RtTargetsPath)\\Reinforced.Typings.Integrate.dll\" />\n\t<UsingTask TaskName=\"Reinforced.Typings.Integrate.RemoveTypescriptStep\" AssemblyFile=\"$(RtTargetsPath)\\Reinforced.Typings.Integrate.dll\" />\n\t\n\t<Target Name=\"ConditionallyDisableTypeScriptCompilation\" Condition=\"'$(RtBypassTypeScriptcompilation)' != 'false'\">\n\t\t<Message \n\t\t\tText=\"TypeScript sources will not be built before project compile because it is disabled in Reinforced.Typings.settings.xml or an overriding property setting.\"/>\n\t\t<RemoveTypeScriptStep Original=\"$(CompileDependsOn)\">\n\t\t\t<Output PropertyName=\"CompileDependsOn\" TaskParameter=\"Fixed\"/>\n\t\t</RemoveTypeScriptStep>\n\t\t<RemoveTypeScriptStep Original=\"$(PublishPipelineCollectFilesCore)\">\n\t\t\t<Output PropertyName=\"PublishPipelineCollectFilesCore\" TaskParameter=\"Fixed\"/>\n\t\t</RemoveTypeScriptStep>\n\t\t<RemoveTypeScriptStep Original=\"$(BuiltProjectOutputGroupDependsOn)\">\n\t\t\t<Output PropertyName=\"BuiltProjectOutputGroupDependsOn\" TaskParameter=\"Fixed\"/>\n\t\t</RemoveTypeScriptStep>\t\t\n\t</Target>\n\t<Target Name=\"ConditionallyShowDisabledWarning\" Condition=\"'$(RtDisable)' != 'false'\">\n\t\t<Message\n\t\t\tText=\"Reinforced.Typings will not run because it is disabled in Reinforced.Typings.settings.xml or an overriding property setting.\"/>\n\t</Target>\n    <Target Name=\"ReinforcedTypingsGenerate\" Condition=\"'$(BuildingProject)' != 'false' And '$(RtDisable)' == 'false'\">\t     \n\t\t<RtCli \n            BuildDirectory=\"$(MSBuildThisFileDirectory)\"\n\t\t\tTargetFramework=\"$(TargetFramework)\"\n\t\t\tRtForceTargetFramework=\"$(RtForceTargetFramework)\"\n\t\t\tSourceAssembly=\"@(IntermediateAssembly)\"\n\t\t\tReferences=\"@(ReferencePath)\"\n\t\t\tAdditionalSourceAssemblies=\"@(RtAdditionalAssembly)\" \n\t\t\tProjectRoot=\"$(ProjectDir)\"\n\t\t\t\n\t\t\tTargetFile=\"$(RtTargetFile)\" \t\n\t\t\tHierarchical=\"$(RtDivideTypesAmongFiles)\"\t\t\t\n\t\t\tTargetDirectory=\"$(RtTargetDirectory)\"\n\t\t\tDocumentationFilePath=\"$(MSBuildProjectDirectory)\\$(DocumentationFile)\"\t\t\t\n\t\t\tConfigurationMethod=\"$(RtConfigurationMethod)\"\n\t\t\tSuppressedWarnings=\"$(RtSuppress)\"\n\t\t/>\n\t\t<MSBuild Projects=\"$(MSBuildProjectFullPath)\" Properties=\"INeedThis=JustToRebuildTypescripts;BuildingProject=true\" Targets=\"CompileTypeScript\" Condition=\"'$(TypeScriptTarget)' != '' AND '@(ConfigFiles)' == ''\" />\n\t\t<MSBuild Projects=\"$(MSBuildProjectFullPath)\" Properties=\"INeedThis=JustToRebuildTypescripts;BuildingProject=true\" Targets=\"CompileTypeScriptWithTSConfig\" Condition=\"'$(TypeScriptTarget)' != '' AND '@(ConfigFiles)' != ''\" />\n\t</Target>\n</Project>"
  },
  {
    "path": "stuff/license.txt",
    "content": "The MIT License (MIT)\n\nCopyright (c) 2019 Reinforced Opensource Products Family and Pavel B. Novikov personally\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
  },
  {
    "path": "stuff/readme.txt",
    "content": "Hello and welcome!\r\n\r\n\tYou have just installed Reinforced.Typings NuGet package. \r\nIt will help you to generate TypeScript definitions for your \r\nserver-side C# code without pain.\r\n\r\n\tReinforced.Typings can participate build process and \r\ngenerate TypeScript every time you Build/Rebuild your project. \r\nTo activate this feature, your project must contain \r\nReinforced.Typings.settings.xml file in the root.\r\n\r\n\tIf Reinforced.Typings.settings.xml is already in place, \r\nyou're all set! Readme can be closed, you may continue your work.\r\n\r\nIf it is not, then you have to create one manually. Simply:\r\n\t1) Go to you project root \r\n\t2) Create file named Reinforced.Typings.settings.xml there\r\n\t3) Copypaste default content into it\r\n\r\nThat's it! Have fun and wish you happy development time.\r\n\r\nOh, default content for Reinforced.Typings.settings.xml is following:\r\n\r\n"
  },
  {
    "path": "stuff/relnotes/1.4.96.md",
    "content": "- .NET Core 2.2 support\n- Moved builds to Cake\n- #92 Setting changes are not respected within Visual Studio until restart - fixed\n- For better flexibility added RtForceTargetFramework configuration setting"
  },
  {
    "path": "stuff/relnotes/1.4.97.md",
    "content": "- MSBuild behavior fixes"
  },
  {
    "path": "stuff/relnotes/1.5.1.md",
    "content": "- MacOS/Linux fixes"
  },
  {
    "path": "stuff/relnotes/1.5.2.md",
    "content": "- Documentation lookup bugfixes\n- Visitor overrides"
  },
  {
    "path": "stuff/relnotes/1.5.3.md",
    "content": "- fix bug #125\n- fix bug #119\n- fix bug #114"
  },
  {
    "path": "stuff/relnotes/1.5.4.md",
    "content": "- .NET Core 3.0 Support\n- Bugfixes"
  },
  {
    "path": "stuff/relnotes/1.5.6.md",
    "content": "- Support for .NET Core 3.1"
  },
  {
    "path": "stuff/relnotes/1.5.7.md",
    "content": "- Assembly Regex (partial fix for .net framework 3.1.1 and upcoming versions)"
  },
  {
    "path": "stuff/relnotes/1.5.8.md",
    "content": "- PR #178\n- PR #177\n- PR #176\n- PR #164\n- Fix typo in \"RtFuncion\"\n- AutoAsync feature\n"
  },
  {
    "path": "stuff/relnotes/1.5.9.md",
    "content": "- PR #188 - Support of .NET 5\n- PR #187 - Support of C#8 nullables\n- PR #183 - RtAsync and more efficiend promists handling\n- build fixes\n"
  },
  {
    "path": "stuff/relnotes/1.5.md",
    "content": "- MSBuild behavior fixes\n- ReferenceProcessor\n- ReorderMembers\n- ThirdParty attribute\n- Fluent configuration refactoring\n- Constructors generation\n- ForceNullable behavior revised\n- Lots of bugfixes"
  },
  {
    "path": "stuff/relnotes/1.6.0.md",
    "content": "- PR #222 - Support of .NET 6\n- Fixed unit tests\n- Equality comparers for AST nodes\n- Warnings suppression (RtSuppress in settings.xml)\n"
  },
  {
    "path": "stuff/relnotes/1.6.1.md",
    "content": "- Warnings suppression quickfix"
  },
  {
    "path": "stuff/relnotes/1.6.2.md",
    "content": "- .NET 7 Support"
  },
  {
    "path": "stuff/relnotes/1.6.3.md",
    "content": "- .NET 8 Support"
  },
  {
    "path": "stuff/relnotes/1.6.4.md",
    "content": "- .NET 9 Support"
  },
  {
    "path": "stuff/relnotes/1.6.5.md",
    "content": "- Fix for malformed package of .NET 9 Support"
  },
  {
    "path": "stuff/relnotes/1.6.6.md",
    "content": "- .NET 10 Support"
  },
  {
    "path": "stuff/relnotes/1.6.7.md",
    "content": "- .NET 10 Support"
  }
]